Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

Checkpoint: File edits

rUv00a9a40b8ec6
diff --git a/v3/@claude-flow/cli/src/init/helpers-generator.ts b/v3/@claude-flow/cli/src/init/helpers-generator.ts
index dc523e022d..288f08b055 100644
--- a/v3/@claude-flow/cli/src/init/helpers-generator.ts
+++ b/v3/@claude-flow/cli/src/init/helpers-generator.ts
@@ -445,7 +445,7 @@ export function generateHookHandler(): string {
'',
" 'post-edit': () => {",
' if (session && session.metric) {',
- " session.metric('edits');",
+ " try { session.metric('edits'); } catch (e) { /* no active session */ }",
' }',
' if (intelligence && intelligence.recordEdit) {',
' try {',