@chankov/agent-fleet 2.0.6 → 2.0.7
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/.pi/harnesses/agent-hub/package.json +1 -1
- package/.pi/harnesses/coms/package.json +1 -1
- package/.pi/harnesses/damage-control-continue/README.md +11 -0
- package/.pi/harnesses/damage-control-continue/index.ts +5 -0
- package/.pi/harnesses/damage-control-continue/package.json +1 -1
- package/.pi/harnesses/lib/update-check.ts +222 -0
- package/.versions/2.0.7/.pi/agents/dispatch-policy.yaml +32 -0
- package/.versions/2.0.7/.pi/agents/model-profiles.yaml +83 -0
- package/.versions/2.0.7/.pi/agents/peers.yaml +145 -0
- package/.versions/2.0.7/.pi/agents/teams.yaml +41 -0
- package/.versions/2.0.7/.pi/agents/voices.yaml +13 -0
- package/.versions/2.0.7/.pi/damage-control-rules.yaml +297 -0
- package/.versions/2.0.7/.pi/extensions/btw/README.md +120 -0
- package/.versions/2.0.7/.pi/extensions/btw/index.ts +914 -0
- package/{.pi/extensions/agent-fleet-update-check → .versions/2.0.7/.pi/extensions/btw}/package.json +1 -1
- package/.versions/2.0.7/.pi/extensions/btw/state.js +179 -0
- package/.versions/2.0.7/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
- package/.versions/2.0.7/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
- package/.versions/2.0.7/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
- package/.versions/2.0.7/.pi/extensions/compact-and-continue/README.md +42 -0
- package/.versions/2.0.7/.pi/extensions/compact-and-continue/index.ts +120 -0
- package/.versions/2.0.7/.pi/extensions/compact-and-continue/package.json +6 -0
- package/.versions/2.0.7/.pi/extensions/mcp-bridge/README.md +46 -0
- package/.versions/2.0.7/.pi/extensions/mcp-bridge/index.ts +206 -0
- package/.versions/2.0.7/.pi/extensions/mcp-bridge/package.json +6 -0
- package/.versions/2.0.7/.pi/extensions/package-lock.json +1175 -0
- package/.versions/2.0.7/.pi/extensions/package.json +9 -0
- package/.versions/2.0.7/.pi/extensions/pi-voice-stt/README.md +205 -0
- package/.versions/2.0.7/.pi/extensions/pi-voice-stt/config.ts +198 -0
- package/.versions/2.0.7/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
- package/.versions/2.0.7/.pi/extensions/pi-voice-stt/index.ts +248 -0
- package/.versions/2.0.7/.pi/extensions/pi-voice-stt/package.json +6 -0
- package/.versions/2.0.7/.pi/extensions/pi-voice-stt/providers.ts +214 -0
- package/.versions/2.0.7/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/README.md +1203 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/acceptance.ts +62 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/access-approval.ts +135 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/artifacts.js +146 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/assertion-ledger.js +58 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/backend-policy.js +174 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/budget-continuation.ts +13 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/budget-recovery.ts +97 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/capability-packs.ts +180 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agent-model-thinking.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agent-model.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agent-models-substitute.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agents-add.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agents-drop.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agents-history.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agents-kill.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agents-list.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agents-restart.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agents-save.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/agents-team.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/budget-continue.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/compound.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/coms.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/context-command.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/context.ts +43 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/debate.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/dispatch-policy.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/handoff.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/hub-report.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/models.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/poll.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/retry.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/watchdog.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/work-mode.ts +29 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/commands/zoom.ts +10 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/config/agents.ts +173 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/config/model-profiles.ts +216 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/config/overrides.ts +153 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/context/agent-state.ts +30 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/context/assertions-artifacts.ts +213 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/context/budgets.ts +202 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/context/hub-state.ts +40 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/context-window.js +106 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/debate-command.ts +176 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/delegate.ts +446 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/dispatch-coms.ts +237 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/dispatch-core.ts +27 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/dispatch-native-complete.ts +154 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/dispatch-native-prepare.ts +156 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/dispatch-native-spawn.ts +193 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/dispatch-native-types.ts +230 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/dispatch-native.ts +213 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/dispatch-observability.ts +225 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/docs-lane.js +122 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/drift-watchdog.js +218 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/execution-evidence.ts +80 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/external-blocker.js +85 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/fixtures/registration-surface.json +57 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/footer.ts +30 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/helpers.ts +266 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/hub-state-audit.js +64 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/index.ts +2151 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/input/completions.ts +76 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/input/shortcuts.ts +18 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/lifecycle/context-pressure.ts +123 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/lifecycle/monitor-session.ts +104 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/lifecycle/session-orchestration.ts +143 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/lifecycle/turn-handlers.ts +74 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/no-progress.ts +76 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/package.json +7 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/policy/models.ts +153 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/policy/profile-activation.ts +62 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/policy/profile-runtime.ts +120 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/policy/roster.ts +94 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/policy/work-mode.ts +119 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/poll-command.ts +176 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/presentation.ts +48 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/prompts/context.ts +47 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/prompts/fragments.ts +115 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/prompts/session-start.ts +90 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/prompts/system-prompt.ts +112 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/research/controls.ts +74 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/research/runtime.ts +192 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/research/spawn-run.ts +156 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/return-contract.js +293 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/return-extract.js +75 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/review-findings.js +102 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/run-budget.js +537 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/run-namespace.js +87 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/scope-gate.js +123 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/session-health.js +110 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/session-start.ts +42 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/spawn.ts +404 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/timeline.ts +54 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/action-executors.ts +149 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/coms-tools.ts +139 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/context.ts +134 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/dispatch-agent.ts +82 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +273 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/execution-orchestration.ts +22 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/fleet-tools.ts +202 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/herdr-executors.ts +86 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/set-task-tier.ts +29 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/spawn-research.ts +62 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/team-adjust.ts +29 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/tools/verification-contract.ts +77 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/types.ts +63 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/activity-dots.ts +16 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/context-budget.ts +86 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/detail-panel.ts +178 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/fleet-dashboard.ts +125 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/grid.ts +42 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/history-store.ts +137 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/history.ts +234 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/pool.ts +103 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/running-strip.ts +139 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/ui/zoom.ts +204 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/version.ts +42 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/work-mode-controls.ts +56 -0
- package/.versions/2.0.7/.pi/harnesses/agent-hub/work-mode.ts +167 -0
- package/.versions/2.0.7/.pi/harnesses/ask-user-remote/README.md +59 -0
- package/.versions/2.0.7/.pi/harnesses/ask-user-remote/index.ts +558 -0
- package/.versions/2.0.7/.pi/harnesses/ask-user-remote/questions.ts +161 -0
- package/.versions/2.0.7/.pi/harnesses/ask-user-remote/race-core.js +124 -0
- package/.versions/2.0.7/.pi/harnesses/ask-user-remote/runtime-ask.ts +43 -0
- package/.versions/2.0.7/.pi/harnesses/coms/README.md +100 -0
- package/.versions/2.0.7/.pi/harnesses/coms/index.ts +282 -0
- package/.versions/2.0.7/.pi/harnesses/coms/package.json +7 -0
- package/.versions/2.0.7/.pi/harnesses/coms/version.ts +42 -0
- package/.versions/2.0.7/.pi/harnesses/damage-control-continue/README.md +135 -0
- package/.versions/2.0.7/.pi/harnesses/damage-control-continue/index.ts +541 -0
- package/.versions/2.0.7/.pi/harnesses/damage-control-continue/package.json +7 -0
- package/.versions/2.0.7/.pi/harnesses/damage-control-continue/version.ts +42 -0
- package/.versions/2.0.7/.pi/harnesses/lib/coms-core-io.ts +385 -0
- package/.versions/2.0.7/.pi/harnesses/lib/coms-core.ts +577 -0
- package/.versions/2.0.7/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
- package/.versions/2.0.7/.pi/harnesses/lib/context-budget-child-prompt.ts +180 -0
- package/.versions/2.0.7/.pi/harnesses/lib/context-budget-hub-prompt.ts +114 -0
- package/.versions/2.0.7/.pi/harnesses/lib/context-budget-view.ts +107 -0
- package/.versions/2.0.7/.pi/harnesses/lib/context-budget.ts +114 -0
- package/.versions/2.0.7/.pi/harnesses/lib/damage-control-shared.ts +197 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fleet-dashboard-ops.ts +161 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fleet-dashboard-view.ts +148 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fleet-detail-view.ts +247 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fleet-overlay.ts +26 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fleet-panel.ts +34 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fleet-read-model.ts +131 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fleet-selection.ts +24 -0
- package/.versions/2.0.7/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
- package/.versions/2.0.7/.pi/harnesses/lib/herdr-client.ts +472 -0
- package/.versions/2.0.7/.pi/harnesses/lib/herdr-presence.ts +399 -0
- package/.versions/2.0.7/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
- package/.versions/2.0.7/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
- package/.versions/2.0.7/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
- package/.versions/2.0.7/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
- package/.versions/2.0.7/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
- package/.versions/2.0.7/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
- package/.versions/2.0.7/.pi/harnesses/lib/spawned-peers.js +190 -0
- package/.versions/2.0.7/.pi/harnesses/lib/update-check.ts +222 -0
- package/.versions/2.0.7/.pi/harnesses/package-lock.json +2039 -0
- package/.versions/2.0.7/.pi/harnesses/package.json +10 -0
- package/.versions/2.0.7/.pi/prompts/af-build.md +24 -0
- package/.versions/2.0.7/.pi/prompts/af-code-simplify.md +22 -0
- package/.versions/2.0.7/.pi/prompts/af-plan.md +17 -0
- package/.versions/2.0.7/.pi/prompts/af-review.md +16 -0
- package/.versions/2.0.7/.pi/prompts/af-set-hermes-telegram.md +15 -0
- package/.versions/2.0.7/.pi/prompts/af-set-hermes-watchdog.md +6 -0
- package/.versions/2.0.7/.pi/prompts/af-ship.md +17 -0
- package/.versions/2.0.7/.pi/prompts/af-spec.md +15 -0
- package/.versions/2.0.7/.pi/prompts/af-test.md +19 -0
- package/.versions/2.0.7/.pi/skills/bowser/SKILL.md +145 -0
- package/.versions/2.0.7/.version +1 -0
- package/.versions/2.0.7/agents/architect.md +25 -0
- package/.versions/2.0.7/agents/bowser.md +28 -0
- package/.versions/2.0.7/agents/builder.md +56 -0
- package/.versions/2.0.7/agents/code-reviewer.md +210 -0
- package/.versions/2.0.7/agents/deep-researcher.md +33 -0
- package/.versions/2.0.7/agents/documenter.md +23 -0
- package/.versions/2.0.7/agents/orchestrator.md +23 -0
- package/.versions/2.0.7/agents/plan-reviewer.md +84 -0
- package/.versions/2.0.7/agents/planner.md +106 -0
- package/.versions/2.0.7/agents/releaser.md +25 -0
- package/.versions/2.0.7/agents/researcher.md +31 -0
- package/.versions/2.0.7/agents/security-auditor.md +168 -0
- package/.versions/2.0.7/agents/test-engineer.md +154 -0
- package/.versions/2.0.7/agents/web-debugger.md +44 -0
- package/.versions/2.0.7/agents/web-performance-auditor.md +194 -0
- package/.versions/2.0.7/bin/catalog/harness-runtime-closure.json +31 -0
- package/.versions/2.0.7/codex/fleet-session-client/SKILL.md +34 -0
- package/.versions/2.0.7/codex/fleet-session-client.zip +0 -0
- package/.versions/2.0.7/docs/ARCHITECTURE.md +407 -0
- package/.versions/2.0.7/docs/agent-fleet-setup.md +561 -0
- package/.versions/2.0.7/docs/claude-code-coms-bridge.md +133 -0
- package/.versions/2.0.7/docs/codex-session-bridge.md +219 -0
- package/.versions/2.0.7/docs/coms-hermes-bridge.md +188 -0
- package/.versions/2.0.7/docs/getting-started.md +126 -0
- package/.versions/2.0.7/docs/npm-install.md +327 -0
- package/.versions/2.0.7/docs/pi-extensions.md +446 -0
- package/.versions/2.0.7/docs/pi-setup.md +76 -0
- package/.versions/2.0.7/docs/skill-anatomy.md +150 -0
- package/.versions/2.0.7/hermes/README.md +347 -0
- package/.versions/2.0.7/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
- package/.versions/2.0.7/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
- package/.versions/2.0.7/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
- package/.versions/2.0.7/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
- package/.versions/2.0.7/hermes/gates/gate-o-capability.md +8 -0
- package/.versions/2.0.7/hermes/gates/gate-o-validator-fixtures.json +1 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +773 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
- package/.versions/2.0.7/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
- package/.versions/2.0.7/hermes/skills/hub-conductor/SKILL.md +84 -0
- package/.versions/2.0.7/hermes/skills/hub-liaison/SKILL.md +84 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/SKILL.md +76 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/manifest.json +1 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
- package/.versions/2.0.7/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
- package/.versions/2.0.7/hermes/watchdog-tests/__init__.py +0 -0
- package/.versions/2.0.7/hooks/coms-stop-hook.mjs +84 -0
- package/.versions/2.0.7/install-manifest.json +2886 -0
- package/.versions/2.0.7/justfile +247 -0
- package/.versions/2.0.7/manifest-meta.json +958 -0
- package/.versions/2.0.7/references/accessibility-checklist.md +160 -0
- package/.versions/2.0.7/references/communication-contract.md +26 -0
- package/.versions/2.0.7/references/definition-of-done.md +67 -0
- package/.versions/2.0.7/references/fleet-coordination-patterns.md +171 -0
- package/.versions/2.0.7/references/observability-checklist.md +91 -0
- package/.versions/2.0.7/references/orchestration-patterns.md +370 -0
- package/.versions/2.0.7/references/performance-checklist.md +153 -0
- package/.versions/2.0.7/references/prompting-patterns.md +380 -0
- package/.versions/2.0.7/references/security-checklist.md +179 -0
- package/.versions/2.0.7/references/testing-patterns.md +236 -0
- package/.versions/2.0.7/references/workflow-authoring.md +304 -0
- package/.versions/2.0.7/scripts/claude-code-preflight.ts +70 -0
- package/.versions/2.0.7/scripts/coms-claude-bridge.ts +411 -0
- package/.versions/2.0.7/scripts/coms-cli.ts +425 -0
- package/.versions/2.0.7/scripts/coms-hermes-bridge.ts +413 -0
- package/.versions/2.0.7/scripts/fleet-codex-client.ts +69 -0
- package/.versions/2.0.7/scripts/fleet-codex-read.py +146 -0
- package/.versions/2.0.7/scripts/fleet.ts +216 -0
- package/.versions/2.0.7/scripts/flow.ts +137 -0
- package/.versions/2.0.7/scripts/hermes-monitor-capability-runner.ts +25 -0
- package/.versions/2.0.7/scripts/hermes-monitor-scenario.ts +474 -0
- package/.versions/2.0.7/scripts/hermes-watchdog-capability-probe.ts +45 -0
- package/.versions/2.0.7/scripts/install-hermes-plugin.sh +180 -0
- package/.versions/2.0.7/scripts/lib/claude-bridge-core.ts +210 -0
- package/.versions/2.0.7/scripts/lib/coms-envelope.ts +582 -0
- package/.versions/2.0.7/scripts/lib/fake-herdr-server.ts +88 -0
- package/.versions/2.0.7/scripts/lib/fleet-codex-catalog.ts +63 -0
- package/.versions/2.0.7/scripts/lib/fleet-codex-operations.ts +190 -0
- package/.versions/2.0.7/scripts/lib/fleet-codex-session.ts +166 -0
- package/.versions/2.0.7/scripts/lib/fleet-codex-transport.ts +124 -0
- package/.versions/2.0.7/scripts/lib/fleet-command.ts +252 -0
- package/.versions/2.0.7/scripts/lib/flow-command.ts +93 -0
- package/.versions/2.0.7/scripts/lib/flow-maintenance.ts +230 -0
- package/.versions/2.0.7/scripts/lib/herdr-layout.ts +281 -0
- package/.versions/2.0.7/scripts/lib/hermes-bridge-core.ts +241 -0
- package/.versions/2.0.7/scripts/lib/hermes-monitor-events.ts +1 -0
- package/.versions/2.0.7/scripts/lib/hermes-monitor-herdr.ts +2 -0
- package/.versions/2.0.7/scripts/lib/hermes-monitor-model.ts +3 -0
- package/.versions/2.0.7/scripts/lib/hermes-monitor-registry.ts +2 -0
- package/.versions/2.0.7/scripts/lib/hermes-monitor-socket.ts +2 -0
- package/.versions/2.0.7/scripts/lib/hermes-monitor-store.ts +2 -0
- package/.versions/2.0.7/scripts/lib/monitor-env.ts +146 -0
- package/.versions/2.0.7/scripts/lib/peer-launch.ts +318 -0
- package/.versions/2.0.7/scripts/lib/persona-banner.ts +62 -0
- package/.versions/2.0.7/scripts/lib/runtime-dependencies.js +124 -0
- package/.versions/2.0.7/scripts/lib/spawn-stagger.ts +101 -0
- package/.versions/2.0.7/scripts/lib/team-project.ts +178 -0
- package/.versions/2.0.7/scripts/lib/team-snapshot.ts +147 -0
- package/.versions/2.0.7/scripts/package-lock.json +35 -0
- package/.versions/2.0.7/scripts/package.json +9 -0
- package/.versions/2.0.7/scripts/peer-banner.ts +40 -0
- package/.versions/2.0.7/scripts/peer-launch.ts +285 -0
- package/.versions/2.0.7/scripts/team-snapshot.ts +237 -0
- package/.versions/2.0.7/scripts/team-up.ts +378 -0
- package/.versions/2.0.7/scripts/workflows/lib/agent-phase.ts +133 -0
- package/.versions/2.0.7/scripts/workflows/lib/changes.ts +61 -0
- package/.versions/2.0.7/scripts/workflows/lib/debate.ts +149 -0
- package/.versions/2.0.7/scripts/workflows/lib/env.ts +34 -0
- package/.versions/2.0.7/scripts/workflows/lib/envelopes.ts +169 -0
- package/.versions/2.0.7/scripts/workflows/lib/gates.ts +81 -0
- package/.versions/2.0.7/scripts/workflows/lib/git.ts +96 -0
- package/.versions/2.0.7/scripts/workflows/lib/merge.ts +95 -0
- package/.versions/2.0.7/scripts/workflows/lib/model-profile.ts +22 -0
- package/.versions/2.0.7/scripts/workflows/lib/model-visibility.ts +92 -0
- package/.versions/2.0.7/scripts/workflows/lib/permissions.ts +130 -0
- package/.versions/2.0.7/scripts/workflows/lib/personas.ts +57 -0
- package/.versions/2.0.7/scripts/workflows/lib/poll.ts +86 -0
- package/.versions/2.0.7/scripts/workflows/lib/quality.ts +64 -0
- package/.versions/2.0.7/scripts/workflows/lib/run.ts +108 -0
- package/.versions/2.0.7/scripts/workflows/lib/trace.ts +34 -0
- package/.versions/2.0.7/scripts/workflows/lib/voices.ts +128 -0
- package/.versions/2.0.7/scripts/workflows/lib/writer-lease.ts +112 -0
- package/.versions/2.0.7/scripts/workflows/tsconfig.json +22 -0
- package/.versions/2.0.7/scripts/workflows/wf-build-test.ts +61 -0
- package/.versions/2.0.7/scripts/workflows/wf-debate.ts +87 -0
- package/.versions/2.0.7/scripts/workflows/wf-document.ts +50 -0
- package/.versions/2.0.7/scripts/workflows/wf-poll.ts +95 -0
- package/.versions/2.0.7/scripts/workflows/wf-quality.ts +20 -0
- package/.versions/2.0.7/scripts/workflows/wf-scout.ts +38 -0
- package/.versions/2.0.7/skills/_internal/grilling.md +59 -0
- package/.versions/2.0.7/skills/browser-testing-with-devtools/SKILL.md +351 -0
- package/.versions/2.0.7/skills/code-review-and-quality/SKILL.md +381 -0
- package/.versions/2.0.7/skills/compound-learning/SKILL.md +137 -0
- package/.versions/2.0.7/skills/context-engineering/SKILL.md +291 -0
- package/.versions/2.0.7/skills/deprecation-and-migration/SKILL.md +206 -0
- package/.versions/2.0.7/skills/designing-agents/SKILL.md +394 -0
- package/.versions/2.0.7/skills/designing-agents/pi-harness-authoring.md +222 -0
- package/.versions/2.0.7/skills/drafting-workflows/SKILL.md +143 -0
- package/.versions/2.0.7/skills/drafting-workflows/scripts/make-workflow.ts +177 -0
- package/.versions/2.0.7/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/2.0.7/skills/git-workflow-and-versioning/SKILL.md +316 -0
- package/.versions/2.0.7/skills/idea-refine/SKILL.md +182 -0
- package/.versions/2.0.7/skills/idea-refine/examples.md +238 -0
- package/.versions/2.0.7/skills/idea-refine/frameworks.md +99 -0
- package/.versions/2.0.7/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/2.0.7/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/2.0.7/skills/incremental-implementation/SKILL.md +298 -0
- package/.versions/2.0.7/skills/interview-me/SKILL.md +226 -0
- package/.versions/2.0.7/skills/orchestration-verification/SKILL.md +181 -0
- package/.versions/2.0.7/skills/peer-coms/SKILL.md +90 -0
- package/.versions/2.0.7/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/2.0.7/skills/planning-and-task-breakdown/SKILL.md +265 -0
- package/.versions/2.0.7/skills/security-and-hardening/SKILL.md +461 -0
- package/.versions/2.0.7/skills/spec-driven-development/SKILL.md +256 -0
- package/.versions/2.0.7/skills/using-agent-skills/SKILL.md +197 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/LICENSE +21 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/README.md +11 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
- package/.versions/2.0.7/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
- package/CHANGELOG.md +8 -0
- package/README.md +14 -7
- package/bin/cli.js +149 -78
- package/bin/lib/apply.js +53 -62
- package/bin/lib/features.js +2 -2
- package/bin/lib/public-plan.js +17 -0
- package/bin/lib/purge.js +9 -3
- package/bin/lib/reconcile.js +4 -10
- package/bin/lib/repair-desired.js +73 -0
- package/bin/lib/stt-wizard.js +25 -11
- package/bin/lib/transaction.js +118 -108
- package/bin/lib/tui.js +70 -65
- package/bin/lib/update-notifier.js +2 -2
- package/bin/lib/workspace-safety.js +72 -0
- package/docs/npm-install.md +41 -15
- package/docs/pi-extensions.md +3 -3
- package/docs/pi-setup.md +2 -2
- package/install-manifest.json +1 -39
- package/justfile +3 -3
- package/manifest-meta.json +2 -20
- package/package.json +2 -2
- package/scripts/fleet.ts +1 -1
- package/.pi/extensions/agent-fleet-update-check/README.md +0 -57
- package/.pi/extensions/agent-fleet-update-check/index.ts +0 -161
package/docs/pi-setup.md
CHANGED
|
@@ -42,8 +42,8 @@ and environment files. See [npm-install.md](npm-install.md) for `--migrate`,
|
|
|
42
42
|
## Runtime closure
|
|
43
43
|
|
|
44
44
|
`just fleet` is the guarded Fleet Core launcher. It explicitly loads
|
|
45
|
-
`damage-control-continue
|
|
46
|
-
|
|
45
|
+
`damage-control-continue` (which runs the shared package update check once per
|
|
46
|
+
session), `ask-user-remote`, compact-and-continue, and BTW. Voice is not a Default Core dependency. `just fleet hub`
|
|
47
47
|
adds agent-hub; `just fleet peer` adds coms; `just fleet team` uses Herdr.
|
|
48
48
|
|
|
49
49
|
```bash
|
package/install-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
|
-
"packageVersion": "2.0.
|
|
3
|
+
"packageVersion": "2.0.7",
|
|
4
4
|
"groups": [
|
|
5
5
|
{
|
|
6
6
|
"id": "skills",
|
|
@@ -135,7 +135,6 @@
|
|
|
135
135
|
"persona:builder",
|
|
136
136
|
"persona:code-reviewer",
|
|
137
137
|
"persona:test-engineer",
|
|
138
|
-
"pi-extension:agent-fleet-update-check",
|
|
139
138
|
"pi-extension:btw",
|
|
140
139
|
"pi-extension:compact-and-continue",
|
|
141
140
|
"pi-harness:agent-hub",
|
|
@@ -260,7 +259,6 @@
|
|
|
260
259
|
"pi-harness:damage-control-continue",
|
|
261
260
|
"pi-harness:ask-user-remote",
|
|
262
261
|
"pi-harness:coms",
|
|
263
|
-
"pi-extension:agent-fleet-update-check",
|
|
264
262
|
"pi-extension:compact-and-continue",
|
|
265
263
|
"pi-extension:btw"
|
|
266
264
|
]
|
|
@@ -721,7 +719,6 @@
|
|
|
721
719
|
"cwd": "."
|
|
722
720
|
},
|
|
723
721
|
"parents": [
|
|
724
|
-
"pi-extension:agent-fleet-update-check",
|
|
725
722
|
"pi-extension:btw",
|
|
726
723
|
"pi-extension:chrome-devtools-mcp",
|
|
727
724
|
"pi-extension:compact-and-continue",
|
|
@@ -752,7 +749,6 @@
|
|
|
752
749
|
}
|
|
753
750
|
},
|
|
754
751
|
"parents": [
|
|
755
|
-
"pi-extension:agent-fleet-update-check",
|
|
756
752
|
"pi-extension:btw",
|
|
757
753
|
"pi-extension:chrome-devtools-mcp",
|
|
758
754
|
"pi-extension:compact-and-continue",
|
|
@@ -1561,38 +1557,6 @@
|
|
|
1561
1557
|
"reference:performance-checklist"
|
|
1562
1558
|
]
|
|
1563
1559
|
},
|
|
1564
|
-
{
|
|
1565
|
-
"id": "pi-extension:agent-fleet-update-check",
|
|
1566
|
-
"kind": "pi-extension",
|
|
1567
|
-
"group": "pi-extensions",
|
|
1568
|
-
"subcategory": "extension",
|
|
1569
|
-
"title": "agent-fleet-update-check",
|
|
1570
|
-
"summary": "",
|
|
1571
|
-
"recommended": true,
|
|
1572
|
-
"stability": "stable",
|
|
1573
|
-
"consent": "file",
|
|
1574
|
-
"platform": "any",
|
|
1575
|
-
"agents": {
|
|
1576
|
-
"pi": {
|
|
1577
|
-
"source": [
|
|
1578
|
-
".pi/extensions/agent-fleet-update-check"
|
|
1579
|
-
],
|
|
1580
|
-
"sourceMode": "first",
|
|
1581
|
-
"target": ".pi/extensions/agent-fleet-update-check",
|
|
1582
|
-
"strategy": "copy-tree"
|
|
1583
|
-
}
|
|
1584
|
-
},
|
|
1585
|
-
"companions": [
|
|
1586
|
-
"companion:pi-extension-deps",
|
|
1587
|
-
"companion:pi-extension-manifests"
|
|
1588
|
-
],
|
|
1589
|
-
"pinnedBy": [
|
|
1590
|
-
"pi-harness:agent-hub",
|
|
1591
|
-
"pi-harness:ask-user-remote",
|
|
1592
|
-
"pi-harness:coms",
|
|
1593
|
-
"pi-harness:damage-control-continue"
|
|
1594
|
-
]
|
|
1595
|
-
},
|
|
1596
1560
|
{
|
|
1597
1561
|
"id": "pi-extension:btw",
|
|
1598
1562
|
"kind": "pi-extension",
|
|
@@ -1800,7 +1764,6 @@
|
|
|
1800
1764
|
"companion:pi-harness-manifests"
|
|
1801
1765
|
],
|
|
1802
1766
|
"requires": [
|
|
1803
|
-
"pi-extension:agent-fleet-update-check",
|
|
1804
1767
|
"pi-extension:btw",
|
|
1805
1768
|
"pi-extension:compact-and-continue",
|
|
1806
1769
|
"pi-harness:damage-control-continue"
|
|
@@ -1877,7 +1840,6 @@
|
|
|
1877
1840
|
"companion:pi-harness-manifests"
|
|
1878
1841
|
],
|
|
1879
1842
|
"requires": [
|
|
1880
|
-
"pi-extension:agent-fleet-update-check",
|
|
1881
1843
|
"pi-extension:btw",
|
|
1882
1844
|
"pi-extension:compact-and-continue",
|
|
1883
1845
|
"pi-harness:ask-user-remote"
|
package/justfile
CHANGED
|
@@ -31,16 +31,16 @@ node_ts := "node --experimental-strip-types --preserve-symlinks --preserve-symli
|
|
|
31
31
|
# Fleet Core is the invariant Pi runtime used by every new `just fleet` mode and
|
|
32
32
|
# every Pi peer spawned into Herdr. `--no-extensions` makes the baseline
|
|
33
33
|
# deterministic; these modules are then loaded explicitly:
|
|
34
|
-
# • damage-control-continue — fail-closed safety with actionable feedback
|
|
34
|
+
# • damage-control-continue — fail-closed safety with actionable feedback;
|
|
35
|
+
# also runs the shared Fleet Core update check once per session
|
|
35
36
|
# • ask-user-remote — stock local ask_user, optionally raced with Hermes
|
|
36
37
|
# • compact-and-continue — request_compaction at explicit workflow checkpoints
|
|
37
38
|
# • btw — /btw and Alt+' side sessions
|
|
38
|
-
# • update check — bounded, non-blocking package update notification
|
|
39
39
|
# `--browser` additionally loads chrome-devtools-mcp; `--voice` explicitly loads
|
|
40
40
|
# pi-voice-stt only after the voice feature has installed it. `--all-extensions` removes
|
|
41
41
|
# `--no-extensions`, so project/global auto-discovered extensions also load; use
|
|
42
42
|
# it only when a session intentionally needs extensions outside Fleet Core.
|
|
43
|
-
fleet_core_extensions := "-e .pi/harnesses/damage-control-continue/index.ts -e .pi/harnesses/ask-user-remote/index.ts -e .pi/extensions/compact-and-continue/index.ts -e .pi/extensions/btw/index.ts
|
|
43
|
+
fleet_core_extensions := "-e .pi/harnesses/damage-control-continue/index.ts -e .pi/harnesses/ask-user-remote/index.ts -e .pi/extensions/compact-and-continue/index.ts -e .pi/extensions/btw/index.ts"
|
|
44
44
|
fleet_browser_extension := "-e .pi/extensions/chrome-devtools-mcp/index.ts"
|
|
45
45
|
fleet_voice_extension := "-e .pi/extensions/pi-voice-stt/index.ts"
|
|
46
46
|
|
package/manifest-meta.json
CHANGED
|
@@ -155,7 +155,6 @@
|
|
|
155
155
|
"pi-harness:damage-control-continue",
|
|
156
156
|
"pi-harness:ask-user-remote",
|
|
157
157
|
"pi-harness:coms",
|
|
158
|
-
"pi-extension:agent-fleet-update-check",
|
|
159
158
|
"pi-extension:compact-and-continue",
|
|
160
159
|
"pi-extension:btw"
|
|
161
160
|
]
|
|
@@ -207,8 +206,7 @@
|
|
|
207
206
|
"command:plan",
|
|
208
207
|
"command:build",
|
|
209
208
|
"command:test",
|
|
210
|
-
"command:review"
|
|
211
|
-
"pi-extension:agent-fleet-update-check"
|
|
209
|
+
"command:review"
|
|
212
210
|
],
|
|
213
211
|
"subcategory": {
|
|
214
212
|
"skill:spec-driven-development": "define",
|
|
@@ -256,7 +254,6 @@
|
|
|
256
254
|
"pi-extension:mcp-bridge": "extension",
|
|
257
255
|
"pi-extension:chrome-devtools-mcp": "extension",
|
|
258
256
|
"pi-extension:compact-and-continue": "extension",
|
|
259
|
-
"pi-extension:agent-fleet-update-check": "extension",
|
|
260
257
|
"pi-extension:btw": "extension",
|
|
261
258
|
"pi-extension:pi-voice-stt": "extension",
|
|
262
259
|
"pi-runtime-skill:bowser": "runtime-skill",
|
|
@@ -400,7 +397,7 @@
|
|
|
400
397
|
"external:playwright-cli"
|
|
401
398
|
]
|
|
402
399
|
},
|
|
403
|
-
"_fleet_core_comment": "Fleet Core is the set the justfile's `fleet_core_extensions` loads into every pi session and every Herdr peer: two harnesses (damage-control-continue, ask-user-remote) plus
|
|
400
|
+
"_fleet_core_comment": "Fleet Core is the set the justfile's `fleet_core_extensions` loads into every pi session and every Herdr peer: two harnesses (damage-control-continue, ask-user-remote) plus compact-and-continue and btw. The package update check is not a standalone extension; damage-control-continue runs `.pi/harnesses/lib/update-check.ts` once per session. The launcher set is encoded twice on purpose — `requires`, so installing any harness pulls the whole set, and `pinnedBy`, so uninstall refuses to break a harness by taking a member out from under it. Keep it in step with the `fleet_core_extensions` line in the justfile; bin/test/damage-control-unification.test.js asserts the two agree.",
|
|
404
401
|
"pi-extension:mcp-bridge": {
|
|
405
402
|
"companions": [
|
|
406
403
|
"companion:pi-extension-manifests",
|
|
@@ -425,18 +422,6 @@
|
|
|
425
422
|
"pi-harness:damage-control-continue"
|
|
426
423
|
]
|
|
427
424
|
},
|
|
428
|
-
"pi-extension:agent-fleet-update-check": {
|
|
429
|
-
"companions": [
|
|
430
|
-
"companion:pi-extension-manifests",
|
|
431
|
-
"companion:pi-extension-deps"
|
|
432
|
-
],
|
|
433
|
-
"pinnedBy": [
|
|
434
|
-
"pi-harness:agent-hub",
|
|
435
|
-
"pi-harness:ask-user-remote",
|
|
436
|
-
"pi-harness:coms",
|
|
437
|
-
"pi-harness:damage-control-continue"
|
|
438
|
-
]
|
|
439
|
-
},
|
|
440
425
|
"pi-extension:btw": {
|
|
441
426
|
"companions": [
|
|
442
427
|
"companion:pi-harness-lib",
|
|
@@ -483,7 +468,6 @@
|
|
|
483
468
|
],
|
|
484
469
|
"requires": [
|
|
485
470
|
"pi-harness:ask-user-remote",
|
|
486
|
-
"pi-extension:agent-fleet-update-check",
|
|
487
471
|
"pi-extension:btw",
|
|
488
472
|
"pi-extension:compact-and-continue"
|
|
489
473
|
],
|
|
@@ -502,7 +486,6 @@
|
|
|
502
486
|
],
|
|
503
487
|
"requires": [
|
|
504
488
|
"pi-harness:damage-control-continue",
|
|
505
|
-
"pi-extension:agent-fleet-update-check",
|
|
506
489
|
"pi-extension:btw",
|
|
507
490
|
"pi-extension:compact-and-continue"
|
|
508
491
|
],
|
|
@@ -880,7 +863,6 @@
|
|
|
880
863
|
"persona:builder",
|
|
881
864
|
"persona:code-reviewer",
|
|
882
865
|
"persona:test-engineer",
|
|
883
|
-
"pi-extension:agent-fleet-update-check",
|
|
884
866
|
"pi-extension:btw",
|
|
885
867
|
"pi-extension:compact-and-continue",
|
|
886
868
|
"pi-harness:agent-hub",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chankov/agent-fleet",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "Multi-agent fleet orchestration for coding agents. Pi as the primary runtime, Herdr as the workspace control plane, coms as the peer data plane, and Hermes for remote control — plus skills, personas, harnesses, and a guided setup CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"access": "public"
|
|
116
116
|
},
|
|
117
117
|
"scripts": {
|
|
118
|
-
"test": "npm run typecheck:workflows && node bin/cli.js --version && node bin/cli.js --help && node --test --test-concurrency=4 \"bin/test/*.test.js\" scripts/agent-hub-helpers.test.mjs scripts/agent-hub-spawn.test.mjs scripts/agent-hub-delegate.test.mjs scripts/agent-hub-research.test.mjs .pi/harnesses/lib/herdr-client.test.ts .pi/harnesses/lib/herdr-presence.test.ts .pi/harnesses/lib/coms-registry-entry.test.ts .pi/harnesses/lib/coms-core.test.ts .pi/harnesses/lib/fleet-overlay.test.ts .pi/harnesses/lib/fleet-selection.test.ts .pi/harnesses/lib/fleet-panel.test.ts .pi/harnesses/lib/context-budget.test.ts .pi/harnesses/lib/context-budget-view.test.ts .pi/harnesses/lib/context-budget-hub-prompt.test.ts .pi/harnesses/lib/context-budget-child-prompt.test.ts .pi/harnesses/agent-hub/prompts/system-prompt.test.ts .pi/harnesses/agent-hub/prompts/session-start.test.ts .pi/harnesses/agent-hub/session-start.test.ts .pi/harnesses/agent-hub/context-budget-snapshot.test.ts .pi/harnesses/agent-hub/context-budget.integration.test.ts .pi/harnesses/agent-hub/context-pressure.test.ts .pi/harnesses/agent-hub/capability-packs.test.ts .pi/harnesses/agent-hub/capability-confirmation.test.ts .pi/harnesses/agent-hub/capability-matrix.test.ts .pi/harnesses/lib/fleet-read-model.test.ts .pi/harnesses/lib/fleet-dashboard-view.test.ts .pi/harnesses/lib/fleet-dashboard-ops.test.ts .pi/harnesses/lib/fleet-detail-view.test.ts .pi/harnesses/lib/fleet-transcript-store.test.ts .pi/harnesses/agent-hub/fleet-dashboard.integration.test.ts scripts/coms-cli.test.ts scripts/fleet-codex-client.test.ts scripts/fleet-codex-transport.test.ts scripts/fleet-codex-questions.test.ts scripts/lib/fleet-command.test.ts scripts/lib/flow-command.test.ts scripts/lib/flow-maintenance.test.ts scripts/workflows/lib/env.test.ts scripts/workflows/lib/git.test.ts scripts/workflows/lib/run.test.ts scripts/workflows/lib/quality.test.ts scripts/workflows/lib/changes.test.ts scripts/workflows/lib/gates.test.ts scripts/workflows/lib/permissions.test.ts scripts/workflows/lib/envelopes.test.ts scripts/workflows/lib/agent-phase.test.ts scripts/workflows/lib/envelopes-triad.test.ts scripts/workflows/lib/voices.test.ts scripts/workflows/lib/model-visibility.test.ts scripts/workflows/lib/poll.test.ts scripts/workflows/lib/merge.test.ts scripts/workflows/lib/debate.test.ts scripts/workflows/lib/writer-lease.test.ts scripts/workflows/wf-scout.test.ts scripts/workflows/wf-build-test.test.ts scripts/workflows/wf-document.test.ts scripts/workflows/wf-poll.test.ts scripts/workflows/wf-debate.test.ts skills/drafting-workflows/scripts/make-workflow.test.ts scripts/lib/team-project.test.ts scripts/lib/herdr-layout.test.ts scripts/lib/peer-launch.test.ts scripts/lib/spawn-stagger.test.ts scripts/lib/monitor-env.test.ts scripts/lib/fleet-extras.test.ts scripts/lib/team-snapshot.test.ts scripts/team-snapshot.command.test.ts scripts/lib/coms-envelope.test.ts scripts/lib/claude-bridge-core.test.ts scripts/lib/hermes-bridge-core.test.ts scripts/coms-hermes-bridge.test.ts .pi/harnesses/ask-user-remote/race-core.test.js .pi/harnesses/ask-user-remote/questions.test.ts .pi/harnesses/ask-user-remote/index.test.ts .pi/harnesses/agent-hub/extension-loader.test.ts .pi/harnesses/agent-hub/registration-surface.test.ts .pi/harnesses/agent-hub/poll-command.test.ts .pi/harnesses/agent-hub/debate-command.test.ts .pi/harnesses/agent-hub/delegate-thinking.test.ts .pi/harnesses/agent-hub/backend-routing.integration.test.ts .pi/harnesses/agent-hub/dispatch-core.test.ts .pi/extensions/btw/state.test.js .pi/extensions/btw/index.test.ts .pi/harnesses/agent-hub/work-mode.test.ts .pi/harnesses/agent-hub/work-mode-controls.test.ts .pi/harnesses/agent-hub/work-mode-integration.test.ts .pi/harnesses/agent-hub/footer.test.ts .pi/harnesses/agent-hub/view-default.test.ts .pi/harnesses/agent-hub/overlay-migration.test.ts .pi/harnesses/agent-hub/safety-routing.test.ts .pi/harnesses/agent-hub/approval-routing.integration.test.ts .pi/harnesses/agent-hub/run-budget.test.js .pi/harnesses/agent-hub/budget-continuation.test.ts .pi/harnesses/agent-hub/budget-continuation.integration.test.ts .pi/harnesses/agent-hub/budget-recovery.test.ts .pi/harnesses/agent-hub/evidence-retention.test.ts .pi/harnesses/agent-hub/no-progress.test.ts .pi/harnesses/agent-hub/acceptance.test.ts .pi/harnesses/agent-hub/tools/dispatch-execution.test.ts .pi/harnesses/agent-hub/context/budgets.test.ts .pi/harnesses/agent-hub/lifecycle/lifecycle.test.ts .pi/harnesses/ask-user-remote/runtime-ask.test.ts .pi/harnesses/agent-hub/hub-state-audit.test.js .pi/harnesses/agent-hub/docs-lane.test.js .pi/harnesses/agent-hub/external-blocker.test.js .pi/harnesses/agent-hub/run-namespace.test.js .pi/harnesses/agent-hub/review-findings.test.js .pi/harnesses/agent-hub/assertion-ledger.test.js .pi/harnesses/agent-hub/provider-semaphore.test.js .pi/harnesses/lib/spawned-peers.test.js .pi/harnesses/agent-hub/context-window.test.js .pi/harnesses/agent-hub/drift-watchdog.test.js .pi/harnesses/agent-hub/session-health.test.js .pi/harnesses/agent-hub/return-contract.test.js .pi/harnesses/agent-hub/return-extract.test.js .pi/harnesses/agent-hub/backend-policy.test.js .pi/harnesses/agent-hub/artifacts.test.js .pi/harnesses/agent-hub/scope-gate.test.js .pi/harnesses/agent-hub/evidence-rules.test.js .pi/harnesses/agent-hub/research/runtime.test.ts .pi/harnesses/agent-hub/research/controls.test.ts .pi/harnesses/agent-hub/ui/running-strip.test.ts .pi/harnesses/agent-hub/ui/grid.test.ts .pi/harnesses/agent-hub/ui/fleet-dashboard.test.ts .pi/harnesses/agent-hub/input/presentation.test.ts .pi/harnesses/agent-hub/config/overrides.test.ts .pi/harnesses/lib/damage-control-shared.test.ts .pi/harnesses/damage-control-continue/herdr-rules.test.js .pi/harnesses/damage-control-continue/exemptions.test.js scripts/lib/hermes-monitor-model.test.ts scripts/lib/hermes-monitor-events.test.ts scripts/lib/hermes-monitor-store.test.ts scripts/lib/hermes-monitor-retention.integration.test.ts scripts/lib/hermes-monitor-registry.test.ts scripts/lib/hermes-monitor-socket.test.ts scripts/lib/hermes-monitor-data-path.test.ts scripts/lib/hermes-monitor-slice7-9-backend.test.ts scripts/lib/hermes-monitor-control-socket.test.ts scripts/lib/hermes-monitor-e2e.test.ts scripts/lib/hermes-monitor-plugin-handshake.test.ts scripts/hermes-monitor-capability-runner.test.ts scripts/hermes-monitor-scenario.test.ts scripts/hermes-watchdog-capability-probe.test.ts .pi/harnesses/agent-hub/monitor-invoke.test.ts .pi/harnesses/agent-hub/monitor-invoke-journal.test.ts .pi/harnesses/agent-hub/monitor-control.test.ts .pi/harnesses/agent-hub/monitor-live-bridge-gaps.test.ts .pi/harnesses/agent-hub/monitor-review-live-wiring.red.test.ts .pi/harnesses/agent-hub/monitor-runtime.test.ts .pi/harnesses/agent-hub/monitor-bridge-runtime.test.ts .pi/harnesses/agent-hub/monitor-reconcile.test.ts .pi/harnesses/agent-hub/monitor-recovery.test.ts .pi/harnesses/agent-hub/monitor-lifecycle-lease.test.ts .pi/harnesses/agent-hub/monitor-session-bridge-race.test.ts .pi/harnesses/agent-hub/monitor-session-bridge.test.ts .pi/harnesses/agent-hub/monitor-cancel-race.test.ts .pi/harnesses/agent-hub/monitor-wait-only.test.ts .pi/harnesses/agent-hub/monitor-publisher.test.ts .pi/harnesses/agent-hub/monitor-index.integration.test.ts .pi/harnesses/agent-hub/monitor-coms-turn.test.ts hermes/desktop-plugins/agent-fleet-herdr/presentation.test.js .pi/harnesses/agent-hub/config/model-profiles.test.ts .pi/harnesses/agent-hub/policy/models.test.ts .pi/harnesses/agent-hub/policy/profile-activation.test.ts .pi/harnesses/agent-hub/profile-execution.test.ts scripts/docs-links.test.mjs && npm run test:watchdog-py",
|
|
118
|
+
"test": "npm run typecheck:workflows && node bin/cli.js --version && node bin/cli.js --help && node --test --test-concurrency=4 --test-timeout=120000 \"bin/test/*.test.js\" scripts/agent-hub-helpers.test.mjs scripts/agent-hub-spawn.test.mjs scripts/agent-hub-delegate.test.mjs scripts/agent-hub-research.test.mjs .pi/harnesses/lib/herdr-client.test.ts .pi/harnesses/lib/herdr-presence.test.ts .pi/harnesses/lib/coms-registry-entry.test.ts .pi/harnesses/lib/coms-core.test.ts .pi/harnesses/lib/fleet-overlay.test.ts .pi/harnesses/lib/fleet-selection.test.ts .pi/harnesses/lib/fleet-panel.test.ts .pi/harnesses/lib/context-budget.test.ts .pi/harnesses/lib/context-budget-view.test.ts .pi/harnesses/lib/context-budget-hub-prompt.test.ts .pi/harnesses/lib/context-budget-child-prompt.test.ts .pi/harnesses/agent-hub/prompts/system-prompt.test.ts .pi/harnesses/agent-hub/prompts/session-start.test.ts .pi/harnesses/agent-hub/session-start.test.ts .pi/harnesses/agent-hub/context-budget-snapshot.test.ts .pi/harnesses/agent-hub/context-budget.integration.test.ts .pi/harnesses/agent-hub/context-pressure.test.ts .pi/harnesses/agent-hub/capability-packs.test.ts .pi/harnesses/agent-hub/capability-confirmation.test.ts .pi/harnesses/agent-hub/capability-matrix.test.ts .pi/harnesses/lib/fleet-read-model.test.ts .pi/harnesses/lib/fleet-dashboard-view.test.ts .pi/harnesses/lib/fleet-dashboard-ops.test.ts .pi/harnesses/lib/fleet-detail-view.test.ts .pi/harnesses/lib/fleet-transcript-store.test.ts .pi/harnesses/agent-hub/fleet-dashboard.integration.test.ts scripts/coms-cli.test.ts scripts/fleet-codex-client.test.ts scripts/fleet-codex-transport.test.ts scripts/fleet-codex-questions.test.ts scripts/lib/fleet-command.test.ts scripts/lib/flow-command.test.ts scripts/lib/flow-maintenance.test.ts scripts/workflows/lib/env.test.ts scripts/workflows/lib/git.test.ts scripts/workflows/lib/run.test.ts scripts/workflows/lib/quality.test.ts scripts/workflows/lib/changes.test.ts scripts/workflows/lib/gates.test.ts scripts/workflows/lib/permissions.test.ts scripts/workflows/lib/envelopes.test.ts scripts/workflows/lib/agent-phase.test.ts scripts/workflows/lib/envelopes-triad.test.ts scripts/workflows/lib/voices.test.ts scripts/workflows/lib/model-visibility.test.ts scripts/workflows/lib/poll.test.ts scripts/workflows/lib/merge.test.ts scripts/workflows/lib/debate.test.ts scripts/workflows/lib/writer-lease.test.ts scripts/workflows/wf-scout.test.ts scripts/workflows/wf-build-test.test.ts scripts/workflows/wf-document.test.ts scripts/workflows/wf-poll.test.ts scripts/workflows/wf-debate.test.ts skills/drafting-workflows/scripts/make-workflow.test.ts scripts/lib/team-project.test.ts scripts/lib/herdr-layout.test.ts scripts/lib/peer-launch.test.ts scripts/lib/spawn-stagger.test.ts scripts/lib/monitor-env.test.ts scripts/lib/fleet-extras.test.ts scripts/lib/team-snapshot.test.ts scripts/team-snapshot.command.test.ts scripts/lib/coms-envelope.test.ts scripts/lib/claude-bridge-core.test.ts scripts/lib/hermes-bridge-core.test.ts scripts/coms-hermes-bridge.test.ts .pi/harnesses/ask-user-remote/race-core.test.js .pi/harnesses/ask-user-remote/questions.test.ts .pi/harnesses/ask-user-remote/index.test.ts .pi/harnesses/agent-hub/extension-loader.test.ts .pi/harnesses/agent-hub/registration-surface.test.ts .pi/harnesses/agent-hub/poll-command.test.ts .pi/harnesses/agent-hub/debate-command.test.ts .pi/harnesses/agent-hub/delegate-thinking.test.ts .pi/harnesses/agent-hub/backend-routing.integration.test.ts .pi/harnesses/agent-hub/dispatch-core.test.ts .pi/extensions/btw/state.test.js .pi/extensions/btw/index.test.ts .pi/harnesses/agent-hub/work-mode.test.ts .pi/harnesses/agent-hub/work-mode-controls.test.ts .pi/harnesses/agent-hub/work-mode-integration.test.ts .pi/harnesses/agent-hub/footer.test.ts .pi/harnesses/agent-hub/view-default.test.ts .pi/harnesses/agent-hub/overlay-migration.test.ts .pi/harnesses/agent-hub/safety-routing.test.ts .pi/harnesses/agent-hub/approval-routing.integration.test.ts .pi/harnesses/agent-hub/run-budget.test.js .pi/harnesses/agent-hub/budget-continuation.test.ts .pi/harnesses/agent-hub/budget-continuation.integration.test.ts .pi/harnesses/agent-hub/budget-recovery.test.ts .pi/harnesses/agent-hub/evidence-retention.test.ts .pi/harnesses/agent-hub/no-progress.test.ts .pi/harnesses/agent-hub/acceptance.test.ts .pi/harnesses/agent-hub/tools/dispatch-execution.test.ts .pi/harnesses/agent-hub/context/budgets.test.ts .pi/harnesses/agent-hub/lifecycle/lifecycle.test.ts .pi/harnesses/ask-user-remote/runtime-ask.test.ts .pi/harnesses/agent-hub/hub-state-audit.test.js .pi/harnesses/agent-hub/docs-lane.test.js .pi/harnesses/agent-hub/external-blocker.test.js .pi/harnesses/agent-hub/run-namespace.test.js .pi/harnesses/agent-hub/review-findings.test.js .pi/harnesses/agent-hub/assertion-ledger.test.js .pi/harnesses/agent-hub/provider-semaphore.test.js .pi/harnesses/lib/spawned-peers.test.js .pi/harnesses/agent-hub/context-window.test.js .pi/harnesses/agent-hub/drift-watchdog.test.js .pi/harnesses/agent-hub/session-health.test.js .pi/harnesses/agent-hub/return-contract.test.js .pi/harnesses/agent-hub/return-extract.test.js .pi/harnesses/agent-hub/backend-policy.test.js .pi/harnesses/agent-hub/artifacts.test.js .pi/harnesses/agent-hub/scope-gate.test.js .pi/harnesses/agent-hub/evidence-rules.test.js .pi/harnesses/agent-hub/research/runtime.test.ts .pi/harnesses/agent-hub/research/controls.test.ts .pi/harnesses/agent-hub/ui/running-strip.test.ts .pi/harnesses/agent-hub/ui/grid.test.ts .pi/harnesses/agent-hub/ui/fleet-dashboard.test.ts .pi/harnesses/agent-hub/input/presentation.test.ts .pi/harnesses/agent-hub/config/overrides.test.ts .pi/harnesses/lib/damage-control-shared.test.ts .pi/harnesses/lib/update-check.test.ts .pi/harnesses/damage-control-continue/herdr-rules.test.js .pi/harnesses/damage-control-continue/exemptions.test.js scripts/lib/hermes-monitor-model.test.ts scripts/lib/hermes-monitor-events.test.ts scripts/lib/hermes-monitor-store.test.ts scripts/lib/hermes-monitor-retention.integration.test.ts scripts/lib/hermes-monitor-registry.test.ts scripts/lib/hermes-monitor-socket.test.ts scripts/lib/hermes-monitor-data-path.test.ts scripts/lib/hermes-monitor-slice7-9-backend.test.ts scripts/lib/hermes-monitor-control-socket.test.ts scripts/lib/hermes-monitor-e2e.test.ts scripts/lib/hermes-monitor-plugin-handshake.test.ts scripts/hermes-monitor-capability-runner.test.ts scripts/hermes-monitor-scenario.test.ts scripts/hermes-watchdog-capability-probe.test.ts .pi/harnesses/agent-hub/monitor-invoke.test.ts .pi/harnesses/agent-hub/monitor-invoke-journal.test.ts .pi/harnesses/agent-hub/monitor-control.test.ts .pi/harnesses/agent-hub/monitor-live-bridge-gaps.test.ts .pi/harnesses/agent-hub/monitor-review-live-wiring.red.test.ts .pi/harnesses/agent-hub/monitor-runtime.test.ts .pi/harnesses/agent-hub/monitor-bridge-runtime.test.ts .pi/harnesses/agent-hub/monitor-reconcile.test.ts .pi/harnesses/agent-hub/monitor-recovery.test.ts .pi/harnesses/agent-hub/monitor-lifecycle-lease.test.ts .pi/harnesses/agent-hub/monitor-session-bridge-race.test.ts .pi/harnesses/agent-hub/monitor-session-bridge.test.ts .pi/harnesses/agent-hub/monitor-cancel-race.test.ts .pi/harnesses/agent-hub/monitor-wait-only.test.ts .pi/harnesses/agent-hub/monitor-publisher.test.ts .pi/harnesses/agent-hub/monitor-index.integration.test.ts .pi/harnesses/agent-hub/monitor-coms-turn.test.ts hermes/desktop-plugins/agent-fleet-herdr/presentation.test.js .pi/harnesses/agent-hub/config/model-profiles.test.ts .pi/harnesses/agent-hub/policy/models.test.ts .pi/harnesses/agent-hub/policy/profile-activation.test.ts .pi/harnesses/agent-hub/profile-execution.test.ts scripts/docs-links.test.mjs && npm run test:watchdog-py",
|
|
119
119
|
"typecheck:workflows": "tsc -p scripts/workflows/tsconfig.json --noEmit",
|
|
120
120
|
"test:watchdog-py": "PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s hermes/watchdog-tests -p 'test_*.py'",
|
|
121
121
|
"pack:dry": "npm pack --dry-run",
|
package/scripts/fleet.ts
CHANGED
|
@@ -51,7 +51,7 @@ DETERMINISTIC FLOWS
|
|
|
51
51
|
|
|
52
52
|
FLEET CORE — loaded in every Pi mode
|
|
53
53
|
Damage Control Continue · local/remote ask_user · Compact & Continue
|
|
54
|
-
BTW side sessions · update
|
|
54
|
+
BTW side sessions · update check via damage-control-continue (voice is opt-in with --voice)
|
|
55
55
|
|
|
56
56
|
UNIFIED HUB
|
|
57
57
|
just fleet [--work-mode operator|orchestrator] [--agents <roster>]
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# agent-fleet-update-check
|
|
2
|
-
|
|
3
|
-
A pi extension that surfaces an "update available" banner once per session when `@chankov/agent-fleet` has a newer published version than the one recorded in `.ai/agent-fleet-setup.md`.
|
|
4
|
-
|
|
5
|
-
## What it does
|
|
6
|
-
|
|
7
|
-
On the first `agent_start` event of a pi session, the extension:
|
|
8
|
-
|
|
9
|
-
1. Reads `version:` from `.ai/agent-fleet-setup.md` in the current working directory. If the record is missing (the deterministic lifecycle has not yet run), the check is skipped.
|
|
10
|
-
2. Reads the cached latest version from `$XDG_CACHE_HOME/agent-fleet/latest-version.json` (falling back to `~/.cache/agent-fleet/`).
|
|
11
|
-
3. If the cache is older than 24 hours or absent, fetches the latest version from the npm registry with a 3-second timeout.
|
|
12
|
-
4. If the published version is greater than the recorded version, emits an `info`-level notification via `ctx.ui.notify`.
|
|
13
|
-
|
|
14
|
-
The check runs **once per session** and is bounded to a single network call. It shares its cache file with the CLI update-notifier so the two never double-fetch.
|
|
15
|
-
|
|
16
|
-
## When the banner fires
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
agent-fleet update available: 0.1.0 → 0.2.0. Run "npx @chankov/agent-fleet@latest setup" to reconcile the workspace.
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
The banner appears in pi's UI notification area — the same surface used by other extensions for non-fatal status. It does not block, prompt, or modify any file. The user decides when to act on it.
|
|
23
|
-
|
|
24
|
-
## When the banner does NOT fire
|
|
25
|
-
|
|
26
|
-
- The workspace has no `.ai/agent-fleet-setup.md` install record.
|
|
27
|
-
- The published version equals or is older than the recorded version.
|
|
28
|
-
- The cache shows the published version is current (≤24h since last fetch).
|
|
29
|
-
- The registry is unreachable, returns non-200, or times out.
|
|
30
|
-
- `AGENT_SKILLS_NO_UPDATE_CHECK=1`, `NO_UPDATE_NOTIFIER=1`, or `CI=true` is set in the environment.
|
|
31
|
-
|
|
32
|
-
Every error path silently aborts. Update checks must never disrupt a session.
|
|
33
|
-
|
|
34
|
-
## Install
|
|
35
|
-
|
|
36
|
-
Included by the deterministic Default/Full lifecycle selections when requested by their features, and available directly:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
npx @chankov/agent-fleet install --agent pi --items pi-extension:agent-fleet-update-check --yes
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
No runtime deps beyond pi's own `@mariozechner/pi-coding-agent` types and Node built-ins (`fs`, `os`, `path`, `https`).
|
|
43
|
-
|
|
44
|
-
## Opt-out
|
|
45
|
-
|
|
46
|
-
The check honours three environment variables (any of them disables it):
|
|
47
|
-
|
|
48
|
-
- `AGENT_SKILLS_NO_UPDATE_CHECK=1` — agent-fleet-specific opt-out
|
|
49
|
-
- `NO_UPDATE_NOTIFIER=1` — the conventional opt-out used by many CLI tools
|
|
50
|
-
- `CI=true` — auto-disabled in CI so the banner never spams build logs
|
|
51
|
-
|
|
52
|
-
## Behavior notes
|
|
53
|
-
|
|
54
|
-
- The check runs once per pi session; restarting pi triggers a new check.
|
|
55
|
-
- The cache file is shared with the CLI (`agent-fleet check-update`) so both update paths benefit from a single fetch per 24h window.
|
|
56
|
-
- If the install record is *pre-versioning* (no `version:` line), the check is skipped — there's no recorded baseline to compare against. Run `npx @chankov/agent-fleet setup` once to stamp the current version.
|
|
57
|
-
- The extension only reads; it never writes the install record itself.
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
// agent-fleet-update-check — pi extension that surfaces an "update available"
|
|
2
|
-
// banner once per session when @chankov/agent-fleet has a newer published
|
|
3
|
-
// version than the one recorded in .ai/agent-fleet-setup.md.
|
|
4
|
-
//
|
|
5
|
-
// Design constraints:
|
|
6
|
-
// - Never blocks pi startup. The check runs once on the first agent_start
|
|
7
|
-
// event with a soft 3s timeout.
|
|
8
|
-
// - Shares the same XDG cache file as the CLI (~/.cache/agent-fleet/
|
|
9
|
-
// latest-version.json) so the CLI and pi don't double-fetch.
|
|
10
|
-
// - Honors AGENT_SKILLS_NO_UPDATE_CHECK / NO_UPDATE_NOTIFIER / CI opt-outs.
|
|
11
|
-
// - Network errors, missing record files, and missing node-fetch all fall
|
|
12
|
-
// through to "do nothing" — never an error notification.
|
|
13
|
-
|
|
14
|
-
import type { ExtensionAPI, ExtensionContext } from '@mariozechner/pi-coding-agent';
|
|
15
|
-
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
16
|
-
import { homedir } from 'node:os';
|
|
17
|
-
import { join } from 'node:path';
|
|
18
|
-
import { request } from 'node:https';
|
|
19
|
-
|
|
20
|
-
const PACKAGE_NAME = '@chankov/agent-fleet';
|
|
21
|
-
const REGISTRY = 'https://registry.npmjs.org';
|
|
22
|
-
const CACHE_TTL_MS = 24 * 60 * 60 * 1000;
|
|
23
|
-
const FETCH_TIMEOUT_MS = 3000;
|
|
24
|
-
|
|
25
|
-
const CACHE_DIR = join(
|
|
26
|
-
process.env.XDG_CACHE_HOME || join(homedir(), '.cache'),
|
|
27
|
-
'agent-fleet',
|
|
28
|
-
);
|
|
29
|
-
const CACHE_FILE = join(CACHE_DIR, 'latest-version.json');
|
|
30
|
-
|
|
31
|
-
interface CachePayload {
|
|
32
|
-
latest: string;
|
|
33
|
-
checkedAt: number;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export default function updateCheckExtension(pi: ExtensionAPI) {
|
|
37
|
-
let checked = false;
|
|
38
|
-
|
|
39
|
-
pi.on('agent_start', async (_event, ctx) => {
|
|
40
|
-
if (checked) return;
|
|
41
|
-
checked = true;
|
|
42
|
-
|
|
43
|
-
try {
|
|
44
|
-
await runCheck(ctx);
|
|
45
|
-
} catch {
|
|
46
|
-
// Update checks must never disrupt a session — swallow everything.
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
async function runCheck(ctx: ExtensionContext): Promise<void> {
|
|
52
|
-
if (isDisabled()) return;
|
|
53
|
-
|
|
54
|
-
const recorded = readRecordedVersion();
|
|
55
|
-
if (!recorded) return; // workspace was never set up via /setup — nothing to compare
|
|
56
|
-
|
|
57
|
-
let latest = readCacheFresh();
|
|
58
|
-
if (!latest) {
|
|
59
|
-
latest = await fetchLatest(FETCH_TIMEOUT_MS);
|
|
60
|
-
if (latest) writeCache({ latest, checkedAt: Date.now() });
|
|
61
|
-
}
|
|
62
|
-
if (!latest) return;
|
|
63
|
-
|
|
64
|
-
if (!isGreater(latest, recorded)) return;
|
|
65
|
-
|
|
66
|
-
ctx.ui.notify(
|
|
67
|
-
`agent-fleet update available: ${recorded} → ${latest}. ` +
|
|
68
|
-
`Run "npx ${PACKAGE_NAME}@latest update" then /setup to apply.`,
|
|
69
|
-
'info',
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// ── Helpers ──────────────────────────────────────────────────────────────
|
|
74
|
-
|
|
75
|
-
function isDisabled(): boolean {
|
|
76
|
-
return process.env.AGENT_SKILLS_NO_UPDATE_CHECK === '1'
|
|
77
|
-
|| process.env.NO_UPDATE_NOTIFIER === '1'
|
|
78
|
-
|| process.env.CI === 'true';
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function readRecordedVersion(): string | null {
|
|
82
|
-
// pi runs from the workspace root; the install record lives at .ai/...
|
|
83
|
-
const recordPath = join(process.cwd(), '.ai', 'agent-fleet-setup.md');
|
|
84
|
-
if (!existsSync(recordPath)) return null;
|
|
85
|
-
try {
|
|
86
|
-
const text = readFileSync(recordPath, 'utf8');
|
|
87
|
-
const m = text.match(/^version:\s*([^\s#]+)/m);
|
|
88
|
-
return m ? m[1].trim() : null;
|
|
89
|
-
} catch {
|
|
90
|
-
return null;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
function readCacheFresh(): string | null {
|
|
95
|
-
try {
|
|
96
|
-
if (!existsSync(CACHE_FILE)) return null;
|
|
97
|
-
const payload = JSON.parse(readFileSync(CACHE_FILE, 'utf8')) as CachePayload;
|
|
98
|
-
if (Date.now() - payload.checkedAt >= CACHE_TTL_MS) return null;
|
|
99
|
-
return payload.latest;
|
|
100
|
-
} catch {
|
|
101
|
-
return null;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
function writeCache(payload: CachePayload): void {
|
|
106
|
-
try {
|
|
107
|
-
mkdirSync(CACHE_DIR, { recursive: true });
|
|
108
|
-
writeFileSync(CACHE_FILE, JSON.stringify(payload, null, 2), 'utf8');
|
|
109
|
-
} catch {
|
|
110
|
-
// Cache write failed — fine, we'll re-fetch next session.
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
function fetchLatest(timeoutMs: number): Promise<string | null> {
|
|
115
|
-
return new Promise((resolve) => {
|
|
116
|
-
const url = `${REGISTRY}/${encodeURIComponent(PACKAGE_NAME).replace('%40', '@')}/latest`;
|
|
117
|
-
const req = request(
|
|
118
|
-
url,
|
|
119
|
-
{ method: 'GET', headers: { accept: 'application/json' } },
|
|
120
|
-
(res) => {
|
|
121
|
-
if (res.statusCode !== 200) {
|
|
122
|
-
res.resume();
|
|
123
|
-
resolve(null);
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
let body = '';
|
|
127
|
-
res.setEncoding('utf8');
|
|
128
|
-
res.on('data', (chunk) => { body += chunk; });
|
|
129
|
-
res.on('end', () => {
|
|
130
|
-
try {
|
|
131
|
-
const parsed = JSON.parse(body);
|
|
132
|
-
resolve(typeof parsed.version === 'string' ? parsed.version : null);
|
|
133
|
-
} catch {
|
|
134
|
-
resolve(null);
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
},
|
|
138
|
-
);
|
|
139
|
-
req.on('error', () => resolve(null));
|
|
140
|
-
req.setTimeout(timeoutMs, () => {
|
|
141
|
-
req.destroy();
|
|
142
|
-
resolve(null);
|
|
143
|
-
});
|
|
144
|
-
req.end();
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
function isGreater(a: string, b: string): boolean {
|
|
149
|
-
const [aMain, aPre = ''] = a.split('-', 2);
|
|
150
|
-
const [bMain, bPre = ''] = b.split('-', 2);
|
|
151
|
-
const aParts = aMain.split('.').map(Number);
|
|
152
|
-
const bParts = bMain.split('.').map(Number);
|
|
153
|
-
for (let i = 0; i < 3; i++) {
|
|
154
|
-
const ai = aParts[i] ?? 0;
|
|
155
|
-
const bi = bParts[i] ?? 0;
|
|
156
|
-
if (ai !== bi) return ai > bi;
|
|
157
|
-
}
|
|
158
|
-
if (!aPre && bPre) return true;
|
|
159
|
-
if (aPre && !bPre) return false;
|
|
160
|
-
return aPre > bPre;
|
|
161
|
-
}
|