Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T04:53:43Z
- Changes: 2 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-07 04:53:43 +00:00
1 parent b4edd37359
commit 2bcfa8d64e
2 files changed
+37 -2

No files matched your search

+13 -2
View File
@@ -282,10 +282,17 @@ export const doctorCommand: Command = {
type: 'boolean',
default: false
},
{
name: 'install',
short: 'i',
description: 'Auto-install missing dependencies (Claude Code CLI)',
type: 'boolean',
default: false
},
{
name: 'component',
short: 'c',
description: 'Check specific component (node, config, daemon, memory, api, git, mcp)',
description: 'Check specific component (node, config, daemon, memory, api, git, mcp, claude)',
type: 'string'
},
{
@@ -299,10 +306,12 @@ export const doctorCommand: Command = {
examples: [
{ command: 'claude-flow doctor', description: 'Run full health check' },
{ command: 'claude-flow doctor --fix', description: 'Show fixes for issues' },
{ command: 'claude-flow doctor -c daemon', description: 'Check specific component' }
{ command: 'claude-flow doctor --install', description: 'Auto-install missing dependencies' },
{ command: 'claude-flow doctor -c claude', description: 'Check Claude Code CLI only' }
],
action: async (ctx: CommandContext): Promise<CommandResult> => {
const showFix = ctx.flags.fix as boolean;
const autoInstall = ctx.flags.install as boolean;
const component = ctx.flags.component as string;
const verbose = ctx.flags.verbose as boolean;
@@ -315,6 +324,7 @@ export const doctorCommand: Command = {
const allChecks: (() => Promise<HealthCheck>)[] = [
checkNodeVersion,
checkNpmVersion,
checkClaudeCode,
checkGit,
checkGitRepo,
checkConfigFile,
@@ -329,6 +339,7 @@ export const doctorCommand: Command = {
const componentMap: Record<string, () => Promise<HealthCheck>> = {
'node': checkNodeVersion,
'npm': checkNpmVersion,
'claude': checkClaudeCode,
'config': checkConfigFile,
'daemon': checkDaemonStatus,
'memory': checkMemoryDatabase,
@@ -0,0 +1,24 @@
/**
* Import test to identify memory issue
*/
console.log('Starting imports...');
console.log('1. Importing chunking...');
const chunking = await import('../dist/chunking.js');
console.log(' chunking ok');
console.log('2. Importing normalization...');
const normalization = await import('../dist/normalization.js');
console.log(' normalization ok');
console.log('3. Importing hyperbolic...');
const hyperbolic = await import('../dist/hyperbolic.js');
console.log(' hyperbolic ok');
console.log('4. Importing embedding-service...');
const embedding = await import('../dist/embedding-service.js');
console.log(' embedding-service ok');
console.log('All imports complete!');
process.exit(0);