🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Checkpoint: File edits
rUva52eddaa2c54
diff --git a/v3/@claude-flow/cli/src/init/statusline-generator.ts b/v3/@claude-flow/cli/src/init/statusline-generator.tsindex 8562771b5e..aaeb7e007d 100644--- a/v3/@claude-flow/cli/src/init/statusline-generator.ts+++ b/v3/@claude-flow/cli/src/init/statusline-generator.ts@@ -86,8 +86,18 @@ function getUserInfo() {const claudeConfigPath = path.join(homedir, '.claude.json');if (fs.existsSync(claudeConfigPath)) {const claudeConfig = JSON.parse(fs.readFileSync(claudeConfigPath, 'utf-8'));- // Get model from lastModelUsage (most recent model used)- const lastModelUsage = claudeConfig.projects?.[process.cwd()]?.lastModelUsage || claudeConfig.lastModelUsage;+ // Try to find lastModelUsage - check current dir and parent dirs+ let lastModelUsage = null;+ const cwd = process.cwd();+ if (claudeConfig.projects) {+ // Try exact match first, then check if cwd starts with any project path+ for (const [projectPath, projectConfig] of Object.entries(claudeConfig.projects)) {+ if (cwd === projectPath || cwd.startsWith(projectPath + '/')) {+ lastModelUsage = projectConfig.lastModelUsage;+ break;+ }+ }+ }if (lastModelUsage) {const modelIds = Object.keys(lastModelUsage);if (modelIds.length > 0) {