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

rUv13c9eb27fb03
diff --git a/v3/@claude-flow/plugins/examples/plugin-creator/index.ts b/v3/@claude-flow/plugins/examples/plugin-creator/index.ts
index eb2cf88cba..38d9d5fe48 100644
--- a/v3/@claude-flow/plugins/examples/plugin-creator/index.ts
+++ b/v3/@claude-flow/plugins/examples/plugin-creator/index.ts
@@ -594,16 +594,16 @@ export const pluginCreatorPlugin = new PluginBuilder('plugin-creator', '1.0.0')
])
.withHooks([
// Hook: Log plugin creation
- new HookBuilder(HookEvent.PostToolCall)
+ new HookBuilder(HookEvent.PostToolUse)
.withName('plugin-creator-logger')
.withDescription('Log plugin creation events')
.withPriority(HookPriority.Low)
- .when((ctx) => {
+ .withHandler(async (ctx) => {
const data = ctx.data as { toolName?: string } | undefined;
- return data?.toolName === 'create-plugin';
- })
- .handle(async (ctx) => {
- console.log('[Plugin Creator] Plugin created:', ctx.data);
+ // Only log if this is from the create-plugin tool
+ if (data?.toolName === 'create-plugin') {
+ console.log('[Plugin Creator] Plugin created:', ctx.data);
+ }
return { success: true };
})
.build(),