claude-flow-novice 1.6.4 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/parse-epic.js +180 -0
- package/.claude/settings.local.json +2 -1
- package/.claude-flow-novice/dist/mcp/mcp-server-novice.js +37 -2
- package/.claude-flow-novice/dist/mcp/transports/base.js +5 -0
- package/.claude-flow-novice/dist/mcp/transports/base.js.map +1 -0
- package/.claude-flow-novice/dist/mcp/transports/http.js +414 -0
- package/.claude-flow-novice/dist/mcp/transports/http.js.map +1 -0
- package/.claude-flow-novice/dist/mcp/transports/stdio.js +217 -0
- package/.claude-flow-novice/dist/mcp/transports/stdio.js.map +1 -0
- package/.claude-flow-novice/dist/src/cli/commands/parse-epic.js +129 -0
- package/.claude-flow-novice/dist/src/cli/commands/parse-epic.js.map +1 -0
- package/.claude-flow-novice/dist/src/cli/index.js +3 -0
- package/.claude-flow-novice/dist/src/cli/index.js.map +1 -1
- package/.claude-flow-novice/dist/src/cli/utils/epic-parser.js +266 -0
- package/.claude-flow-novice/dist/src/cli/utils/epic-parser.js.map +1 -0
- package/.claude-flow-novice/dist/src/communication/message-bus.js +105 -2
- package/.claude-flow-novice/dist/src/communication/message-bus.js.map +1 -1
- package/.claude-flow-novice/dist/src/coordination/adapters/v1-coordinator-adapter.js +1 -1
- package/.claude-flow-novice/dist/src/coordination/adapters/v1-coordinator-adapter.js.map +1 -1
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/cache/artifact-cache-optimizer.js +632 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/cache/artifact-cache-optimizer.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/cache/index.js +11 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/cache/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/checkpoints/checkpoint-compressor.js +318 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/checkpoints/checkpoint-compressor.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/completion-detector.js +234 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/completion-detector.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/hierarchical-detector.js +347 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/hierarchical-detector.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/index.js +13 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/lamport-clock.js +173 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/lamport-clock.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/mesh-detector.js +526 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/mesh-detector.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/sdk-completion-detector.js +443 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/sdk-completion-detector.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/swarm-shutdown.js +366 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/completion/swarm-shutdown.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinator-factory.js +287 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinator-factory.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/cascading-shutdown.example.js +364 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/cascading-shutdown.example.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/cascading-shutdown.js +492 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/cascading-shutdown.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/hierarchical-coordinator.js +786 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/hierarchical-coordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/index.js +16 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/parent-child-manager.js +342 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/parent-child-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/swarm-coordinator-v2.js +601 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/coordinators/swarm-coordinator-v2.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/agent-state.js +9 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/agent-state.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/dead-letter-queue.js +413 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/dead-letter-queue.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/dependency-graph.js +471 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/dependency-graph.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/dependency-node.js +379 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/dependency-node.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/dependency-resolver.js +335 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/dependency-resolver.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/help-request-metrics.js +211 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/help-request-metrics.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/index.js +33 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/message-broker.js +920 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/message-broker.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/message-router.js +385 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/message-router.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/message.js +138 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/message.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/resource-manager-safe.js +478 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/resource-manager-safe.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/state-machine-config.js +358 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/state-machine-config.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/state-machine.js +588 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/state-machine.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/state-transition.js +153 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/state-transition.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/task-scheduler.js +360 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/task-scheduler.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/topic-manager.js +337 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/core/topic-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/deadlock/deadlock-detector.js +424 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/deadlock/deadlock-detector.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/deadlock/index.js +9 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/deadlock/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/deadlock/resource-manager.js +669 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/deadlock/resource-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/artifact-storage.js +451 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/artifact-storage.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/cycle-detector.js +271 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/cycle-detector.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/dependency-graph.js +335 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/dependency-graph.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/dependency-manager.js +439 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/dependency-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/dependency-request.js +92 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/dependency-request.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/index.js +21 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/topological-sort.js +223 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/dependency/topological-sort.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/help-coordinator.js +436 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/help-coordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/help-matcher.js +278 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/help-matcher.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/help-request-handler.js +317 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/help-request-handler.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/help-request.js +273 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/help-request.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/index.js +15 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/waiting-agent-pool.js +512 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/help-system/waiting-agent-pool.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/index.js +67 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/help-deadlock-integration.js +557 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/help-deadlock-integration.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/index.js +14 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/message-bus-completion-integration.example.js +212 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/message-bus-completion-integration.example.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/message-bus-completion-integration.js +552 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/message-bus-completion-integration.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/state-machine-integration.js +635 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/integration/state-machine-integration.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/interfaces/IArtifactStorage.js +28 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/interfaces/IArtifactStorage.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/interfaces/ICoordinator.js +9 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/interfaces/ICoordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/interfaces/ISessionStore.js +25 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/interfaces/ISessionStore.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/interfaces/index.js +14 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/interfaces/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/artifact-adapter.js +308 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/artifact-adapter.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/completion-storage.js +439 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/completion-storage.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/dependency-graph-storage.js +540 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/dependency-graph-storage.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/dependency-storage.js +367 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/dependency-storage.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/index.js +14 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/message-storage.js +518 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/message-storage.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/state-storage.js +377 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/memory/state-storage.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channel.js +371 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channel.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/dependency-channel.js +355 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/dependency-channel.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/help-channel.js +424 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/help-channel.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/index.js +16 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/state-channel.js +295 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/state-channel.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/task-channel.js +411 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/channels/task-channel.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/index.js +14 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/message-bus.js +387 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/message-bus.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/message-persistence.js +589 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/message-persistence.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/message-router.js +444 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/messaging/message-router.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/artifact-storage.js +560 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/artifact-storage.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/background-orchestrator.js +335 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/background-orchestrator.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/bash-output-monitor.js +104 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/bash-output-monitor.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/checkpoint-manager.js +847 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/checkpoint-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/help-coordinator.js +470 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/help-coordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/hierarchical-background-integration.js +450 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/hierarchical-background-integration.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/index.js +13 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/message-bus-integration.js +625 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/message-bus-integration.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/multi-level-control.js +545 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/multi-level-control.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/query-controller.js +740 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/query-controller.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/query-message-integration.js +415 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/query-message-integration.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/session-pool-optimizer.js +615 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/session-pool-optimizer.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/state-machine-integration.js +547 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/state-machine-integration.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/state-sdk-integration.js +342 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/sdk/state-sdk-integration.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/security/payload-validator.js +259 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/security/payload-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/truth/framework-registry.js +273 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/truth/framework-registry.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/truth/index.js +8 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/truth/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/truth/truth-config-manager.js +310 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/truth/truth-config-manager.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/truth/truth-validator.js +218 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/truth/truth-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/types/sdk.js +9 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/types/sdk.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/utils/index.js +6 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/utils/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/utils/priority-queue.js +145 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/utils/priority-queue.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/utils/sdk-helpers.js +122 -0
- package/.claude-flow-novice/dist/src/coordination/archives/v2-sdk-typescript/v2/utils/sdk-helpers.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/config-translator.js +17 -43
- package/.claude-flow-novice/dist/src/coordination/config-translator.js.map +1 -1
- package/.claude-flow-novice/dist/src/coordination/coordination-toggle.js +34 -76
- package/.claude-flow-novice/dist/src/coordination/coordination-toggle.js.map +1 -1
- package/.claude-flow-novice/dist/src/coordination/shared/core/agent-state.js +172 -0
- package/.claude-flow-novice/dist/src/coordination/shared/core/agent-state.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/core/index.js +7 -0
- package/.claude-flow-novice/dist/src/coordination/shared/core/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/index.js +19 -0
- package/.claude-flow-novice/dist/src/coordination/shared/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/interfaces/ICoordinator.js +24 -0
- package/.claude-flow-novice/dist/src/coordination/shared/interfaces/ICoordinator.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/interfaces/index.js +7 -0
- package/.claude-flow-novice/dist/src/coordination/shared/interfaces/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/message-broker.js +920 -0
- package/.claude-flow-novice/dist/src/coordination/shared/message-broker.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/message.js +138 -0
- package/.claude-flow-novice/dist/src/coordination/shared/message.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/security/payload-validator.js +259 -0
- package/.claude-flow-novice/dist/src/coordination/shared/security/payload-validator.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/transparency/index.js +17 -0
- package/.claude-flow-novice/dist/src/coordination/shared/transparency/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/transparency/interfaces/transparency-system.js +19 -0
- package/.claude-flow-novice/dist/src/coordination/shared/transparency/interfaces/transparency-system.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/transparency/transparency-integration.js +357 -0
- package/.claude-flow-novice/dist/src/coordination/shared/transparency/transparency-integration.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/transparency/transparency-system.js +679 -0
- package/.claude-flow-novice/dist/src/coordination/shared/transparency/transparency-system.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/types/index.js +7 -0
- package/.claude-flow-novice/dist/src/coordination/shared/types/index.js.map +1 -0
- package/.claude-flow-novice/dist/src/coordination/shared/types/sdk.js +10 -0
- package/.claude-flow-novice/dist/src/coordination/shared/types/sdk.js.map +1 -0
- package/.claude-flow-novice/dist/src/feature-flags/core/FeatureFlagManager.js +52 -2
- package/.claude-flow-novice/dist/src/feature-flags/core/FeatureFlagManager.js.map +1 -1
- package/.claude-flow-novice/dist/src/mcp/mcp-server-novice.js +37 -2
- package/.claude-flow-novice/dist/src/mcp/session-manager.js +3 -1
- package/.claude-flow-novice/dist/src/mcp/session-manager.js.map +1 -1
- package/.claude-flow-novice/dist/src/providers/provider-manager.js +36 -3
- package/.claude-flow-novice/dist/src/providers/provider-manager.js.map +1 -1
- package/.claude-flow-novice/dist/src/utils/markdown-sanitizer.js +65 -41
- package/.claude-flow-novice/dist/src/utils/markdown-sanitizer.js.map +1 -1
- package/.claude-flow-novice/dist/src/web/api/server.js +1 -1
- package/.claude-flow-novice/dist/src/web/api/server.js.map +1 -1
- package/.claude-flow-novice/dist/src/workflows/progressive-rollout-manager.js +30 -0
- package/.claude-flow-novice/dist/src/workflows/progressive-rollout-manager.js.map +1 -1
- package/.claude-flow-novice/metrics.db-shm +0 -0
- package/.claude-flow-novice/metrics.db-wal +0 -0
- package/package.json +2 -2
- package/scripts/monitoring/alert-monitor.sh +220 -0
- package/scripts/monitoring/view-alerts.sh +307 -0
- package/scripts/test-zai-api.cjs +2 -2
- package/src/slash-commands/parse-epic.js +1 -1
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message Bus + Completion Detection Integration - Usage Example
|
|
3
|
+
*
|
|
4
|
+
* Demonstrates event-driven swarm completion with zero polling overhead.
|
|
5
|
+
*
|
|
6
|
+
* @module coordination/v2/integration/message-bus-completion-integration.example
|
|
7
|
+
*/ import { MessageBusCompletionIntegration, IntegrationEvent } from './message-bus-completion-integration.js';
|
|
8
|
+
import { AgentState } from '../../shared/core/agent-state.js';
|
|
9
|
+
import { MessagePriority } from '../core/message.js';
|
|
10
|
+
/**
|
|
11
|
+
* Example: Event-driven swarm completion with automatic shutdown
|
|
12
|
+
*/ async function example_eventDrivenCompletion(messageBus, stateMachine, completionDetector, swarmShutdown) {
|
|
13
|
+
console.log('=== Event-Driven Swarm Completion Example ===\n');
|
|
14
|
+
// 1. Create integration instance
|
|
15
|
+
const integration = new MessageBusCompletionIntegration(messageBus, completionDetector, stateMachine, swarmShutdown, {
|
|
16
|
+
autoDetectCompletion: true,
|
|
17
|
+
autoShutdownOnCompletion: true,
|
|
18
|
+
publishStateEvents: true,
|
|
19
|
+
publishCompletionEvents: true,
|
|
20
|
+
enableLogging: true,
|
|
21
|
+
completionCheckDebounceMs: 500
|
|
22
|
+
});
|
|
23
|
+
// 2. Subscribe to integration events
|
|
24
|
+
integration.on(IntegrationEvent.STATE_TRANSITION, (event)=>{
|
|
25
|
+
console.log(`[Integration] State transition: ${event.agentId} → ${event.transition}`);
|
|
26
|
+
});
|
|
27
|
+
integration.on(IntegrationEvent.COMPLETION_DETECTED, (event)=>{
|
|
28
|
+
console.log(`[Integration] Swarm completion detected: ${event.swarmId}`);
|
|
29
|
+
console.log(` Completed: ${event.completedCount}/${event.totalCount} agents`);
|
|
30
|
+
});
|
|
31
|
+
integration.on(IntegrationEvent.SHUTDOWN_INITIATED, (event)=>{
|
|
32
|
+
console.log(`[Integration] Shutdown initiated: ${event.agentCount} agents`);
|
|
33
|
+
});
|
|
34
|
+
integration.on(IntegrationEvent.SHUTDOWN_COMPLETED, (event)=>{
|
|
35
|
+
console.log(`[Integration] Shutdown completed: ${event.success ? 'SUCCESS' : 'FAILED'}`);
|
|
36
|
+
console.log(` Total latency: ${event.totalLatencyMs}ms`);
|
|
37
|
+
});
|
|
38
|
+
// 3. Subscribe to message bus events
|
|
39
|
+
messageBus.subscribe('agent.state.transition', async (message)=>{
|
|
40
|
+
console.log(`[MessageBus] State event: ${message.payload.agentId} ${message.payload.fromState} → ${message.payload.toState}`);
|
|
41
|
+
});
|
|
42
|
+
messageBus.subscribe('completion.detected', async (message)=>{
|
|
43
|
+
console.log(`[MessageBus] Completion event: ${message.payload.swarmId}`);
|
|
44
|
+
});
|
|
45
|
+
messageBus.subscribe('shutdown.*', async (message)=>{
|
|
46
|
+
console.log(`[MessageBus] Shutdown event: ${message.topic}`);
|
|
47
|
+
});
|
|
48
|
+
// 4. Start integration (wire event handlers)
|
|
49
|
+
integration.start();
|
|
50
|
+
console.log('Integration started\n');
|
|
51
|
+
// 5. Register agents
|
|
52
|
+
const swarmId = 'swarm-example';
|
|
53
|
+
const agentIds = [
|
|
54
|
+
'agent-1',
|
|
55
|
+
'agent-2',
|
|
56
|
+
'agent-3'
|
|
57
|
+
];
|
|
58
|
+
for (const agentId of agentIds){
|
|
59
|
+
await stateMachine.registerAgent(agentId, swarmId, AgentState.IDLE);
|
|
60
|
+
}
|
|
61
|
+
// 6. Simulate agent lifecycle (transitions trigger completion checks)
|
|
62
|
+
for (const agentId of agentIds){
|
|
63
|
+
await stateMachine.transition(agentId, AgentState.WORKING);
|
|
64
|
+
await new Promise((resolve)=>setTimeout(resolve, 100)); // Simulate work
|
|
65
|
+
}
|
|
66
|
+
// 7. Transition all agents to COMPLETED
|
|
67
|
+
// Integration automatically detects completion and initiates shutdown
|
|
68
|
+
for (const agentId of agentIds){
|
|
69
|
+
await stateMachine.transition(agentId, AgentState.COMPLETED);
|
|
70
|
+
}
|
|
71
|
+
// 8. Wait for debounced completion check + shutdown
|
|
72
|
+
await new Promise((resolve)=>setTimeout(resolve, 1500));
|
|
73
|
+
// 9. Get metrics
|
|
74
|
+
const metrics = integration.getMetrics();
|
|
75
|
+
console.log('\n=== Integration Metrics ===');
|
|
76
|
+
console.log(`State transitions: ${metrics.totalStateTransitions}`);
|
|
77
|
+
console.log(`Completion checks: ${metrics.totalCompletionChecks}`);
|
|
78
|
+
console.log(`Completions detected: ${metrics.totalCompletionsDetected}`);
|
|
79
|
+
console.log(`Shutdowns initiated: ${metrics.totalShutdownsInitiated}`);
|
|
80
|
+
console.log(`Events published: ${metrics.totalEventsPublished}`);
|
|
81
|
+
console.log(`Avg completion latency: ${metrics.avgCompletionLatencyMs.toFixed(2)}ms`);
|
|
82
|
+
// 10. Cleanup
|
|
83
|
+
await integration.cleanup();
|
|
84
|
+
console.log('\nIntegration cleanup complete');
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Example: Manual completion checks with message bus events
|
|
88
|
+
*/ async function example_manualCompletionChecks(messageBus, stateMachine, completionDetector, swarmShutdown) {
|
|
89
|
+
console.log('=== Manual Completion Checks Example ===\n');
|
|
90
|
+
// 1. Create integration with auto-detection disabled
|
|
91
|
+
const integration = new MessageBusCompletionIntegration(messageBus, completionDetector, stateMachine, swarmShutdown, {
|
|
92
|
+
autoDetectCompletion: false,
|
|
93
|
+
autoShutdownOnCompletion: false,
|
|
94
|
+
publishStateEvents: true,
|
|
95
|
+
publishCompletionEvents: true,
|
|
96
|
+
enableLogging: false
|
|
97
|
+
});
|
|
98
|
+
integration.start();
|
|
99
|
+
// 2. Listen for completion events and manually trigger shutdown
|
|
100
|
+
integration.on(IntegrationEvent.COMPLETION_DETECTED, async (event)=>{
|
|
101
|
+
console.log(`Completion detected for ${event.swarmId}`);
|
|
102
|
+
console.log('Manually initiating shutdown...');
|
|
103
|
+
// Manual shutdown trigger
|
|
104
|
+
const agentIds = [
|
|
105
|
+
'agent-1',
|
|
106
|
+
'agent-2'
|
|
107
|
+
];
|
|
108
|
+
await swarmShutdown.shutdownSwarm(agentIds, 'Manual shutdown after completion');
|
|
109
|
+
});
|
|
110
|
+
// 3. Register and transition agents
|
|
111
|
+
const swarmId = 'swarm-manual';
|
|
112
|
+
await stateMachine.registerAgent('agent-1', swarmId, AgentState.IDLE);
|
|
113
|
+
await stateMachine.registerAgent('agent-2', swarmId, AgentState.IDLE);
|
|
114
|
+
await stateMachine.transition('agent-1', AgentState.WORKING);
|
|
115
|
+
await stateMachine.transition('agent-2', AgentState.WORKING);
|
|
116
|
+
// 4. Manually check completion
|
|
117
|
+
const result = await completionDetector.detectCompletion(swarmId);
|
|
118
|
+
console.log(`Manual completion check: ${result.completed ? 'COMPLETE' : 'INCOMPLETE'}`);
|
|
119
|
+
// 5. Complete agents
|
|
120
|
+
await stateMachine.transition('agent-1', AgentState.COMPLETED);
|
|
121
|
+
await stateMachine.transition('agent-2', AgentState.COMPLETED);
|
|
122
|
+
// 6. Manually check again
|
|
123
|
+
const finalResult = await completionDetector.detectCompletion(swarmId);
|
|
124
|
+
console.log(`Final completion check: ${finalResult.completed ? 'COMPLETE' : 'INCOMPLETE'}`);
|
|
125
|
+
await integration.cleanup();
|
|
126
|
+
console.log('Integration cleanup complete\n');
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Example: Help system integration with message bus
|
|
130
|
+
*/ async function example_helpSystemIntegration(messageBus, stateMachine, completionDetector, swarmShutdown) {
|
|
131
|
+
console.log('=== Help System Integration Example ===\n');
|
|
132
|
+
const integration = new MessageBusCompletionIntegration(messageBus, completionDetector, stateMachine, swarmShutdown, {
|
|
133
|
+
publishStateEvents: true,
|
|
134
|
+
enableLogging: false
|
|
135
|
+
});
|
|
136
|
+
// Subscribe to help events
|
|
137
|
+
messageBus.subscribe('help.requested', async (message)=>{
|
|
138
|
+
console.log(`Help requested: ${message.payload.requestingAgentId} → ${message.payload.helperAgentId}`);
|
|
139
|
+
});
|
|
140
|
+
messageBus.subscribe('help.completed', async (message)=>{
|
|
141
|
+
console.log(`Help completed for: ${message.payload.helperAgentId}`);
|
|
142
|
+
console.log(` Recovery latency: ${message.payload.recoveryLatencyMs}ms`);
|
|
143
|
+
});
|
|
144
|
+
integration.start();
|
|
145
|
+
// Register agents
|
|
146
|
+
await stateMachine.registerAgent('agent-waiting', 'swarm-help', AgentState.IDLE);
|
|
147
|
+
await stateMachine.registerAgent('agent-helper', 'swarm-help', AgentState.WORKING);
|
|
148
|
+
// Transition to WAITING (triggers help request eligibility)
|
|
149
|
+
await stateMachine.transition('agent-waiting', AgentState.WAITING);
|
|
150
|
+
// Request help (state machine emits help:requested event)
|
|
151
|
+
const helpResult = await stateMachine.requestHelp('agent-waiting', 'agent-helper', 'Need assistance with complex task');
|
|
152
|
+
console.log(`Help request created: ${helpResult.requestId}`);
|
|
153
|
+
console.log(`Checkpoint created: ${helpResult.checkpointId}`);
|
|
154
|
+
// Complete help (restores helper from checkpoint)
|
|
155
|
+
await new Promise((resolve)=>setTimeout(resolve, 100)); // Simulate help work
|
|
156
|
+
const completionResult = await stateMachine.completeHelp(helpResult.requestId);
|
|
157
|
+
console.log(`Help completion success: ${completionResult.success}`);
|
|
158
|
+
console.log(`Recovery latency: ${completionResult.recoveryLatencyMs}ms`);
|
|
159
|
+
await integration.cleanup();
|
|
160
|
+
console.log('Integration cleanup complete\n');
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Example: Custom message routing with completion events
|
|
164
|
+
*/ async function example_customMessageRouting(messageBus, stateMachine, completionDetector, swarmShutdown) {
|
|
165
|
+
console.log('=== Custom Message Routing Example ===\n');
|
|
166
|
+
const integration = new MessageBusCompletionIntegration(messageBus, completionDetector, stateMachine, swarmShutdown, {
|
|
167
|
+
publishStateEvents: true,
|
|
168
|
+
publishCompletionEvents: true
|
|
169
|
+
});
|
|
170
|
+
// Custom routing logic based on state transitions
|
|
171
|
+
messageBus.subscribe('agent.state.transition', async (message)=>{
|
|
172
|
+
const { agentId, toState } = message.payload;
|
|
173
|
+
// Route to different channels based on state
|
|
174
|
+
if (toState === AgentState.COMPLETED) {
|
|
175
|
+
// Publish to completion notification channel
|
|
176
|
+
messageBus.publish({
|
|
177
|
+
topic: 'notifications.agent.completed',
|
|
178
|
+
payload: {
|
|
179
|
+
agentId,
|
|
180
|
+
timestamp: Date.now()
|
|
181
|
+
},
|
|
182
|
+
priority: MessagePriority.NORMAL
|
|
183
|
+
});
|
|
184
|
+
} else if (toState === AgentState.ERROR) {
|
|
185
|
+
// Publish to error channel with high priority
|
|
186
|
+
messageBus.publish({
|
|
187
|
+
topic: 'notifications.agent.error',
|
|
188
|
+
payload: {
|
|
189
|
+
agentId,
|
|
190
|
+
timestamp: Date.now()
|
|
191
|
+
},
|
|
192
|
+
priority: MessagePriority.CRITICAL
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
// Subscribe to custom notification channels
|
|
197
|
+
messageBus.subscribe('notifications.*', async (message)=>{
|
|
198
|
+
console.log(`Notification: ${message.topic} - ${JSON.stringify(message.payload)}`);
|
|
199
|
+
});
|
|
200
|
+
integration.start();
|
|
201
|
+
// Simulate agent lifecycle
|
|
202
|
+
await stateMachine.registerAgent('agent-custom', 'swarm-custom', AgentState.IDLE);
|
|
203
|
+
await stateMachine.transition('agent-custom', AgentState.WORKING);
|
|
204
|
+
await stateMachine.transition('agent-custom', AgentState.COMPLETED);
|
|
205
|
+
await new Promise((resolve)=>setTimeout(resolve, 500));
|
|
206
|
+
await integration.cleanup();
|
|
207
|
+
console.log('Custom routing example complete\n');
|
|
208
|
+
}
|
|
209
|
+
// Export examples for documentation
|
|
210
|
+
export { example_eventDrivenCompletion, example_manualCompletionChecks, example_helpSystemIntegration, example_customMessageRouting };
|
|
211
|
+
|
|
212
|
+
//# sourceMappingURL=message-bus-completion-integration.example.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../src/coordination/archives/v2-sdk-typescript/v2/integration/message-bus-completion-integration.example.ts"],"names":["MessageBusCompletionIntegration","IntegrationEvent","AgentState","MessagePriority","example_eventDrivenCompletion","messageBus","stateMachine","completionDetector","swarmShutdown","console","log","integration","autoDetectCompletion","autoShutdownOnCompletion","publishStateEvents","publishCompletionEvents","enableLogging","completionCheckDebounceMs","on","STATE_TRANSITION","event","agentId","transition","COMPLETION_DETECTED","swarmId","completedCount","totalCount","SHUTDOWN_INITIATED","agentCount","SHUTDOWN_COMPLETED","success","totalLatencyMs","subscribe","message","payload","fromState","toState","topic","start","agentIds","registerAgent","IDLE","WORKING","Promise","resolve","setTimeout","COMPLETED","metrics","getMetrics","totalStateTransitions","totalCompletionChecks","totalCompletionsDetected","totalShutdownsInitiated","totalEventsPublished","avgCompletionLatencyMs","toFixed","cleanup","example_manualCompletionChecks","shutdownSwarm","result","detectCompletion","completed","finalResult","example_helpSystemIntegration","requestingAgentId","helperAgentId","recoveryLatencyMs","WAITING","helpResult","requestHelp","requestId","checkpointId","completionResult","completeHelp","example_customMessageRouting","publish","timestamp","Date","now","priority","NORMAL","ERROR","CRITICAL","JSON","stringify"],"mappings":"AAAA;;;;;;CAMC,GAMD,SAASA,+BAA+B,EAAEC,gBAAgB,QAAQ,0CAA0C;AAC5G,SAASC,UAAU,QAAQ,mCAAmC;AAC9D,SAASC,eAAe,QAAQ,qBAAqB;AAKrD;;CAEC,GACD,eAAeC,8BACbC,UAAsB,EACtBC,YAA0B,EAC1BC,kBAAkD,EAClDC,aAA4B;IAE5BC,QAAQC,GAAG,CAAC;IAEZ,iCAAiC;IACjC,MAAMC,cAAc,IAAIX,gCACtBK,YACAE,oBACAD,cACAE,eACA;QACEI,sBAAsB;QACtBC,0BAA0B;QAC1BC,oBAAoB;QACpBC,yBAAyB;QACzBC,eAAe;QACfC,2BAA2B;IAC7B;IAGF,qCAAqC;IACrCN,YAAYO,EAAE,CAACjB,iBAAiBkB,gBAAgB,EAAE,CAACC;QACjDX,QAAQC,GAAG,CAAC,CAAC,gCAAgC,EAAEU,MAAMC,OAAO,CAAC,GAAG,EAAED,MAAME,UAAU,EAAE;IACtF;IAEAX,YAAYO,EAAE,CAACjB,iBAAiBsB,mBAAmB,EAAE,CAACH;QACpDX,QAAQC,GAAG,CAAC,CAAC,yCAAyC,EAAEU,MAAMI,OAAO,EAAE;QACvEf,QAAQC,GAAG,CAAC,CAAC,aAAa,EAAEU,MAAMK,cAAc,CAAC,CAAC,EAAEL,MAAMM,UAAU,CAAC,OAAO,CAAC;IAC/E;IAEAf,YAAYO,EAAE,CAACjB,iBAAiB0B,kBAAkB,EAAE,CAACP;QACnDX,QAAQC,GAAG,CAAC,CAAC,kCAAkC,EAAEU,MAAMQ,UAAU,CAAC,OAAO,CAAC;IAC5E;IAEAjB,YAAYO,EAAE,CAAC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