@chankov/agent-fleet 1.0.3 → 2.0.0
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/README.md +82 -77
- package/.pi/harnesses/agent-hub/capability-packs.ts +4 -4
- package/.pi/harnesses/agent-hub/commands/agent-model-thinking.ts +10 -0
- package/.pi/harnesses/agent-hub/commands/agent-model.ts +10 -0
- package/.pi/harnesses/agent-hub/commands/agent-models-substitute.ts +10 -0
- package/.pi/harnesses/agent-hub/commands/agents-add.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/agents-drop.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/agents-history.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/agents-kill.ts +10 -0
- package/.pi/harnesses/agent-hub/commands/agents-list.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/agents-restart.ts +10 -0
- package/.pi/harnesses/agent-hub/commands/agents-save.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/agents-team.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/compound.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/coms.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/context-command.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/context.ts +39 -0
- package/.pi/harnesses/agent-hub/commands/dispatch-policy.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/handoff.ts +10 -0
- package/.pi/harnesses/agent-hub/commands/hub-report.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/models.ts +10 -0
- package/.pi/harnesses/agent-hub/commands/watchdog.ts +9 -0
- package/.pi/harnesses/agent-hub/commands/work-mode.ts +29 -0
- package/.pi/harnesses/agent-hub/commands/zoom.ts +10 -0
- package/.pi/harnesses/agent-hub/config/agents.ts +171 -0
- package/.pi/harnesses/agent-hub/config/overrides.ts +118 -0
- package/.pi/harnesses/agent-hub/context/agent-state.ts +30 -0
- package/.pi/harnesses/agent-hub/context/assertions-artifacts.ts +211 -0
- package/.pi/harnesses/agent-hub/context/budgets.ts +208 -0
- package/.pi/harnesses/agent-hub/context/hub-state.ts +40 -0
- package/.pi/harnesses/agent-hub/delegate.ts +14 -3
- package/.pi/harnesses/agent-hub/dispatch-coms.ts +232 -0
- package/.pi/harnesses/agent-hub/dispatch-core.ts +27 -0
- package/.pi/harnesses/agent-hub/dispatch-native-complete.ts +135 -0
- package/.pi/harnesses/agent-hub/dispatch-native-prepare.ts +153 -0
- package/.pi/harnesses/agent-hub/dispatch-native-spawn.ts +191 -0
- package/.pi/harnesses/agent-hub/dispatch-native-types.ts +207 -0
- package/.pi/harnesses/agent-hub/dispatch-native.ts +184 -0
- package/.pi/harnesses/agent-hub/dispatch-observability.ts +220 -0
- package/.pi/harnesses/agent-hub/drift-watchdog.js +3 -3
- package/.pi/harnesses/agent-hub/footer.ts +3 -9
- package/.pi/harnesses/agent-hub/helpers.ts +2 -2
- package/.pi/harnesses/agent-hub/index.ts +1327 -9476
- package/.pi/harnesses/agent-hub/input/completions.ts +76 -0
- package/.pi/harnesses/agent-hub/input/shortcuts.ts +47 -0
- package/.pi/harnesses/agent-hub/lifecycle/context-pressure.ts +123 -0
- package/.pi/harnesses/agent-hub/lifecycle/monitor-session.ts +104 -0
- package/.pi/harnesses/agent-hub/lifecycle/session-orchestration.ts +139 -0
- package/.pi/harnesses/agent-hub/lifecycle/turn-handlers.ts +95 -0
- package/.pi/harnesses/agent-hub/package.json +1 -1
- package/.pi/harnesses/agent-hub/policy/models.ts +126 -0
- package/.pi/harnesses/agent-hub/policy/roster.ts +79 -0
- package/.pi/harnesses/agent-hub/policy/work-mode.ts +118 -0
- package/.pi/harnesses/agent-hub/presentation.ts +48 -0
- package/.pi/harnesses/agent-hub/prompts/context.ts +46 -0
- package/.pi/harnesses/agent-hub/prompts/fragments.ts +115 -0
- package/.pi/harnesses/agent-hub/prompts/session-start.ts +88 -0
- package/.pi/harnesses/agent-hub/prompts/system-prompt.ts +110 -0
- package/.pi/harnesses/agent-hub/research/controls.ts +75 -0
- package/.pi/harnesses/agent-hub/research/runtime.ts +184 -0
- package/.pi/harnesses/agent-hub/research/spawn-run.ts +146 -0
- package/.pi/harnesses/agent-hub/session-start.ts +42 -0
- package/.pi/harnesses/agent-hub/spawn.ts +25 -3
- package/.pi/harnesses/agent-hub/timeline.ts +54 -0
- package/.pi/harnesses/agent-hub/tools/action-executors.ts +146 -0
- package/.pi/harnesses/agent-hub/tools/coms-tools.ts +139 -0
- package/.pi/harnesses/agent-hub/tools/context.ts +132 -0
- package/.pi/harnesses/agent-hub/tools/dispatch-agent.ts +79 -0
- package/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +200 -0
- package/.pi/harnesses/agent-hub/tools/execution-orchestration.ts +22 -0
- package/.pi/harnesses/agent-hub/tools/fleet-tools.ts +202 -0
- package/.pi/harnesses/agent-hub/tools/herdr-executors.ts +82 -0
- package/.pi/harnesses/agent-hub/tools/set-task-tier.ts +29 -0
- package/.pi/harnesses/agent-hub/tools/spawn-research.ts +62 -0
- package/.pi/harnesses/agent-hub/tools/team-adjust.ts +29 -0
- package/.pi/harnesses/agent-hub/tools/verification-contract.ts +77 -0
- package/.pi/harnesses/agent-hub/types.ts +60 -0
- package/.pi/harnesses/agent-hub/ui/context-budget.ts +86 -0
- package/.pi/harnesses/agent-hub/ui/detail-panel.ts +175 -0
- package/.pi/harnesses/agent-hub/ui/fleet-dashboard.ts +130 -0
- package/.pi/harnesses/agent-hub/ui/grid.ts +306 -0
- package/.pi/harnesses/agent-hub/ui/history-store.ts +137 -0
- package/.pi/harnesses/agent-hub/ui/history.ts +234 -0
- package/.pi/harnesses/agent-hub/ui/pool.ts +103 -0
- package/.pi/harnesses/agent-hub/ui/zoom.ts +204 -0
- package/.pi/harnesses/agent-hub/work-mode-controls.ts +56 -0
- package/.pi/harnesses/agent-hub/work-mode.ts +167 -0
- package/.pi/harnesses/coms/index.ts +139 -1630
- package/.pi/harnesses/coms/package.json +1 -1
- package/.pi/harnesses/damage-control-continue/package.json +1 -1
- package/.pi/harnesses/lib/coms-core-io.ts +385 -0
- package/.pi/harnesses/lib/coms-core.ts +577 -0
- package/.pi/harnesses/lib/context-budget-hub-prompt.ts +3 -5
- package/.pi/harnesses/lib/fleet-dashboard-ops.ts +2 -2
- package/.pi/harnesses/lib/fleet-detail-view.ts +95 -16
- package/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
- package/.pi/prompts/af-plan.md +6 -5
- package/.versions/1.0.4/.pi/agents/dispatch-policy.yaml +32 -0
- package/.versions/1.0.4/.pi/agents/model-profiles.yaml +27 -0
- package/.versions/1.0.4/.pi/agents/peers.yaml +142 -0
- package/.versions/1.0.4/.pi/agents/teams.yaml +41 -0
- package/.versions/1.0.4/.pi/damage-control-rules.yaml +297 -0
- package/.versions/1.0.4/.pi/extensions/agent-fleet-update-check/README.md +57 -0
- package/.versions/1.0.4/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
- package/.versions/1.0.4/.pi/extensions/agent-fleet-update-check/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/btw/README.md +120 -0
- package/.versions/1.0.4/.pi/extensions/btw/index.ts +914 -0
- package/.versions/1.0.4/.pi/extensions/btw/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/btw/state.js +179 -0
- package/.versions/1.0.4/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
- package/.versions/1.0.4/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
- package/.versions/1.0.4/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/compact-and-continue/README.md +42 -0
- package/.versions/1.0.4/.pi/extensions/compact-and-continue/index.ts +120 -0
- package/.versions/1.0.4/.pi/extensions/compact-and-continue/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/mcp-bridge/README.md +46 -0
- package/.versions/1.0.4/.pi/extensions/mcp-bridge/index.ts +206 -0
- package/.versions/1.0.4/.pi/extensions/mcp-bridge/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/package-lock.json +1175 -0
- package/.versions/1.0.4/.pi/extensions/package.json +9 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/README.md +205 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/config.ts +198 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/index.ts +248 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/package.json +6 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/providers.ts +214 -0
- package/.versions/1.0.4/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/README.md +1170 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/access-approval.ts +135 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/artifacts.js +146 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/assertion-ledger.js +58 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/backend-policy.js +174 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/budget-continuation.ts +73 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/capability-packs.ts +180 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/context-window.js +106 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/delegate.ts +446 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/docs-lane.js +122 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/drift-watchdog.js +218 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/external-blocker.js +85 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/footer.ts +36 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/helpers.ts +266 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/hub-state-audit.js +59 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/index.ts +10171 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/package.json +7 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/research-retention.js +34 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/return-contract.js +293 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/return-extract.js +75 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/review-findings.js +102 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/run-budget.js +537 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/run-namespace.js +87 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/scope-gate.js +103 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/session-health.js +110 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/spawn.ts +388 -0
- package/.versions/1.0.4/.pi/harnesses/agent-hub/version.ts +42 -0
- package/.versions/1.0.4/.pi/harnesses/ask-user-remote/README.md +53 -0
- package/.versions/1.0.4/.pi/harnesses/ask-user-remote/index.ts +532 -0
- package/.versions/1.0.4/.pi/harnesses/ask-user-remote/race-core.js +106 -0
- package/.versions/1.0.4/.pi/harnesses/coms/README.md +100 -0
- package/.versions/1.0.4/.pi/harnesses/coms/index.ts +1767 -0
- package/.versions/1.0.4/.pi/harnesses/coms/package.json +7 -0
- package/.versions/1.0.4/.pi/harnesses/coms/version.ts +42 -0
- package/.versions/1.0.4/.pi/harnesses/damage-control-continue/README.md +124 -0
- package/.versions/1.0.4/.pi/harnesses/damage-control-continue/index.ts +536 -0
- package/.versions/1.0.4/.pi/harnesses/damage-control-continue/package.json +7 -0
- package/.versions/1.0.4/.pi/harnesses/damage-control-continue/version.ts +42 -0
- package/.versions/1.0.4/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
- package/.versions/1.0.4/.pi/harnesses/lib/context-budget-child-prompt.ts +179 -0
- package/.versions/1.0.4/.pi/harnesses/lib/context-budget-hub-prompt.ts +116 -0
- package/.versions/1.0.4/.pi/harnesses/lib/context-budget-view.ts +107 -0
- package/.versions/1.0.4/.pi/harnesses/lib/context-budget.ts +114 -0
- package/.versions/1.0.4/.pi/harnesses/lib/damage-control-shared.ts +197 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-dashboard-ops.ts +155 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-dashboard-view.ts +142 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-detail-view.ts +247 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-overlay.ts +26 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-panel.ts +34 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-read-model.ts +131 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-selection.ts +24 -0
- package/.versions/1.0.4/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
- package/.versions/1.0.4/.pi/harnesses/lib/herdr-client.ts +472 -0
- package/.versions/1.0.4/.pi/harnesses/lib/herdr-presence.ts +399 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
- package/.versions/1.0.4/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
- package/.versions/1.0.4/.pi/harnesses/lib/spawned-peers.js +190 -0
- package/.versions/1.0.4/.pi/harnesses/package-lock.json +2039 -0
- package/.versions/1.0.4/.pi/harnesses/package.json +10 -0
- package/.versions/1.0.4/.pi/prompts/af-build.md +24 -0
- package/.versions/1.0.4/.pi/prompts/af-code-simplify.md +22 -0
- package/.versions/1.0.4/.pi/prompts/af-plan.md +17 -0
- package/.versions/1.0.4/.pi/prompts/af-review.md +16 -0
- package/.versions/1.0.4/.pi/prompts/af-set-hermes-telegram.md +15 -0
- package/.versions/1.0.4/.pi/prompts/af-set-hermes-watchdog.md +6 -0
- package/.versions/1.0.4/.pi/prompts/af-ship.md +17 -0
- package/.versions/1.0.4/.pi/prompts/af-spec.md +15 -0
- package/.versions/1.0.4/.pi/prompts/af-test.md +19 -0
- package/.versions/1.0.4/.pi/skills/bowser/SKILL.md +145 -0
- package/.versions/1.0.4/.version +1 -0
- package/.versions/1.0.4/agents/architect.md +25 -0
- package/.versions/1.0.4/agents/bowser.md +28 -0
- package/.versions/1.0.4/agents/builder.md +56 -0
- package/.versions/1.0.4/agents/code-reviewer.md +209 -0
- package/.versions/1.0.4/agents/deep-researcher.md +33 -0
- package/.versions/1.0.4/agents/documenter.md +19 -0
- package/.versions/1.0.4/agents/orchestrator.md +21 -0
- package/.versions/1.0.4/agents/plan-reviewer.md +84 -0
- package/.versions/1.0.4/agents/planner.md +71 -0
- package/.versions/1.0.4/agents/releaser.md +25 -0
- package/.versions/1.0.4/agents/researcher.md +29 -0
- package/.versions/1.0.4/agents/security-auditor.md +168 -0
- package/.versions/1.0.4/agents/test-engineer.md +154 -0
- package/.versions/1.0.4/agents/web-debugger.md +44 -0
- package/.versions/1.0.4/agents/web-performance-auditor.md +194 -0
- package/.versions/1.0.4/bin/catalog/harness-runtime-closure.json +38 -0
- package/.versions/1.0.4/codex/CONDUCTOR.md +148 -0
- package/.versions/1.0.4/docs/ARCHITECTURE.md +375 -0
- package/.versions/1.0.4/docs/agent-fleet-setup.md +468 -0
- package/.versions/1.0.4/docs/claude-code-coms-bridge.md +128 -0
- package/.versions/1.0.4/docs/codex-remote-conductor.md +170 -0
- package/.versions/1.0.4/docs/coms-hermes-bridge.md +189 -0
- package/.versions/1.0.4/docs/getting-started.md +98 -0
- package/.versions/1.0.4/docs/npm-install.md +292 -0
- package/.versions/1.0.4/docs/pi-extensions.md +441 -0
- package/.versions/1.0.4/docs/pi-setup.md +74 -0
- package/.versions/1.0.4/docs/skill-anatomy.md +150 -0
- package/.versions/1.0.4/hermes/README.md +347 -0
- package/.versions/1.0.4/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
- package/.versions/1.0.4/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
- package/.versions/1.0.4/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
- package/.versions/1.0.4/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
- package/.versions/1.0.4/hermes/gates/gate-o-capability.md +8 -0
- package/.versions/1.0.4/hermes/gates/gate-o-validator-fixtures.json +1 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +770 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
- package/.versions/1.0.4/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
- package/.versions/1.0.4/hermes/skills/hub-conductor/SKILL.md +84 -0
- package/.versions/1.0.4/hermes/skills/hub-liaison/SKILL.md +84 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/SKILL.md +76 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/manifest.json +1 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
- package/.versions/1.0.4/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
- package/.versions/1.0.4/hermes/watchdog-tests/__init__.py +0 -0
- package/.versions/1.0.4/hooks/coms-stop-hook.mjs +84 -0
- package/.versions/1.0.4/install-manifest.json +2745 -0
- package/.versions/1.0.4/justfile +272 -0
- package/.versions/1.0.4/manifest-meta.json +882 -0
- package/.versions/1.0.4/references/accessibility-checklist.md +160 -0
- package/.versions/1.0.4/references/definition-of-done.md +67 -0
- package/.versions/1.0.4/references/fleet-coordination-patterns.md +151 -0
- package/.versions/1.0.4/references/observability-checklist.md +91 -0
- package/.versions/1.0.4/references/orchestration-patterns.md +370 -0
- package/.versions/1.0.4/references/performance-checklist.md +153 -0
- package/.versions/1.0.4/references/prompting-patterns.md +380 -0
- package/.versions/1.0.4/references/security-checklist.md +179 -0
- package/.versions/1.0.4/references/testing-patterns.md +236 -0
- package/.versions/1.0.4/scripts/codex-conductor.ts +41 -0
- package/.versions/1.0.4/scripts/codex-remote-control.ts +167 -0
- package/.versions/1.0.4/scripts/coms-claude-bridge.ts +411 -0
- package/.versions/1.0.4/scripts/coms-cli.ts +484 -0
- package/.versions/1.0.4/scripts/coms-hermes-bridge.ts +413 -0
- package/.versions/1.0.4/scripts/fleet.ts +185 -0
- package/.versions/1.0.4/scripts/hermes-monitor-capability-runner.ts +25 -0
- package/.versions/1.0.4/scripts/hermes-monitor-scenario.ts +474 -0
- package/.versions/1.0.4/scripts/hermes-watchdog-capability-probe.ts +45 -0
- package/.versions/1.0.4/scripts/install-hermes-plugin.sh +180 -0
- package/.versions/1.0.4/scripts/lib/claude-bridge-core.ts +210 -0
- package/.versions/1.0.4/scripts/lib/codex-conductor.ts +88 -0
- package/.versions/1.0.4/scripts/lib/codex-remote-control.ts +480 -0
- package/.versions/1.0.4/scripts/lib/coms-envelope.ts +582 -0
- package/.versions/1.0.4/scripts/lib/fake-herdr-server.ts +88 -0
- package/.versions/1.0.4/scripts/lib/fleet-command.ts +266 -0
- package/.versions/1.0.4/scripts/lib/herdr-layout.ts +281 -0
- package/.versions/1.0.4/scripts/lib/hermes-bridge-core.ts +241 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-events.ts +1 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-herdr.ts +2 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-model.ts +3 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-registry.ts +2 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-socket.ts +2 -0
- package/.versions/1.0.4/scripts/lib/hermes-monitor-store.ts +2 -0
- package/.versions/1.0.4/scripts/lib/monitor-env.ts +146 -0
- package/.versions/1.0.4/scripts/lib/peer-launch.ts +318 -0
- package/.versions/1.0.4/scripts/lib/persona-banner.ts +62 -0
- package/.versions/1.0.4/scripts/lib/spawn-stagger.ts +101 -0
- package/.versions/1.0.4/scripts/lib/team-project.ts +213 -0
- package/.versions/1.0.4/scripts/lib/team-snapshot.ts +147 -0
- package/.versions/1.0.4/scripts/peer-banner.ts +40 -0
- package/.versions/1.0.4/scripts/peer-launch.ts +259 -0
- package/.versions/1.0.4/scripts/team-snapshot.ts +237 -0
- package/.versions/1.0.4/scripts/team-up.ts +406 -0
- package/.versions/1.0.4/skills/_internal/grilling.md +59 -0
- package/.versions/1.0.4/skills/browser-testing-with-devtools/SKILL.md +351 -0
- package/.versions/1.0.4/skills/code-review-and-quality/SKILL.md +381 -0
- package/.versions/1.0.4/skills/compound-learning/SKILL.md +137 -0
- package/.versions/1.0.4/skills/context-engineering/SKILL.md +291 -0
- package/.versions/1.0.4/skills/deprecation-and-migration/SKILL.md +206 -0
- package/.versions/1.0.4/skills/designing-agents/SKILL.md +394 -0
- package/.versions/1.0.4/skills/designing-agents/pi-harness-authoring.md +222 -0
- package/.versions/1.0.4/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/1.0.4/skills/git-workflow-and-versioning/SKILL.md +316 -0
- package/.versions/1.0.4/skills/idea-refine/SKILL.md +182 -0
- package/.versions/1.0.4/skills/idea-refine/examples.md +238 -0
- package/.versions/1.0.4/skills/idea-refine/frameworks.md +99 -0
- package/.versions/1.0.4/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/1.0.4/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/1.0.4/skills/incremental-implementation/SKILL.md +298 -0
- package/.versions/1.0.4/skills/interview-me/SKILL.md +226 -0
- package/.versions/1.0.4/skills/orchestration-verification/SKILL.md +181 -0
- package/.versions/1.0.4/skills/peer-coms/SKILL.md +90 -0
- package/.versions/1.0.4/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/1.0.4/skills/planning-and-task-breakdown/SKILL.md +263 -0
- package/.versions/1.0.4/skills/security-and-hardening/SKILL.md +461 -0
- package/.versions/1.0.4/skills/spec-driven-development/SKILL.md +256 -0
- package/.versions/1.0.4/skills/using-agent-skills/SKILL.md +197 -0
- package/.versions/1.0.4/systemd/user/agent-fleet-codex-remote-control.service.in +23 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/LICENSE +21 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/README.md +11 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
- package/.versions/1.0.4/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
- package/.versions/2.0.0/.pi/agents/dispatch-policy.yaml +32 -0
- package/.versions/2.0.0/.pi/agents/model-profiles.yaml +27 -0
- package/.versions/2.0.0/.pi/agents/peers.yaml +142 -0
- package/.versions/2.0.0/.pi/agents/teams.yaml +41 -0
- package/.versions/2.0.0/.pi/damage-control-rules.yaml +297 -0
- package/.versions/2.0.0/.pi/extensions/agent-fleet-update-check/README.md +57 -0
- package/.versions/2.0.0/.pi/extensions/agent-fleet-update-check/index.ts +161 -0
- package/.versions/2.0.0/.pi/extensions/agent-fleet-update-check/package.json +6 -0
- package/.versions/2.0.0/.pi/extensions/btw/README.md +120 -0
- package/.versions/2.0.0/.pi/extensions/btw/index.ts +914 -0
- package/.versions/2.0.0/.pi/extensions/btw/package.json +6 -0
- package/.versions/2.0.0/.pi/extensions/btw/state.js +179 -0
- package/.versions/2.0.0/.pi/extensions/chrome-devtools-mcp/README.md +55 -0
- package/.versions/2.0.0/.pi/extensions/chrome-devtools-mcp/index.ts +93 -0
- package/.versions/2.0.0/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
- package/.versions/2.0.0/.pi/extensions/compact-and-continue/README.md +42 -0
- package/.versions/2.0.0/.pi/extensions/compact-and-continue/index.ts +120 -0
- package/.versions/2.0.0/.pi/extensions/compact-and-continue/package.json +6 -0
- package/.versions/2.0.0/.pi/extensions/mcp-bridge/README.md +46 -0
- package/.versions/2.0.0/.pi/extensions/mcp-bridge/index.ts +206 -0
- package/.versions/2.0.0/.pi/extensions/mcp-bridge/package.json +6 -0
- package/.versions/2.0.0/.pi/extensions/package-lock.json +1175 -0
- package/.versions/2.0.0/.pi/extensions/package.json +9 -0
- package/.versions/2.0.0/.pi/extensions/pi-voice-stt/README.md +205 -0
- package/.versions/2.0.0/.pi/extensions/pi-voice-stt/config.ts +198 -0
- package/.versions/2.0.0/.pi/extensions/pi-voice-stt/examples/stt.json +35 -0
- package/.versions/2.0.0/.pi/extensions/pi-voice-stt/index.ts +248 -0
- package/.versions/2.0.0/.pi/extensions/pi-voice-stt/package.json +6 -0
- package/.versions/2.0.0/.pi/extensions/pi-voice-stt/providers.ts +214 -0
- package/.versions/2.0.0/.pi/extensions/pi-voice-stt/recorder.ts +158 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/README.md +1161 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/access-approval.ts +135 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/artifacts.js +146 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/assertion-ledger.js +58 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/backend-policy.js +174 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/budget-continuation.ts +73 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/capability-confirmation.ts +47 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/capability-packs.ts +180 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agent-model-thinking.ts +10 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agent-model.ts +10 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agent-models-substitute.ts +10 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agents-add.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agents-drop.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agents-history.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agents-kill.ts +10 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agents-list.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agents-restart.ts +10 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agents-save.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/agents-team.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/compound.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/coms.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/context-command.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/context.ts +39 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/dispatch-policy.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/handoff.ts +10 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/hub-report.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/models.ts +10 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/watchdog.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/work-mode.ts +29 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/commands/zoom.ts +10 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/config/agents.ts +171 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/config/overrides.ts +118 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/context/agent-state.ts +30 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/context/assertions-artifacts.ts +211 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/context/budgets.ts +208 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/context/hub-state.ts +40 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/context-budget-snapshot.ts +105 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/context-pressure.ts +191 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/context-window.js +106 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/delegate.ts +446 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/dispatch-coms.ts +232 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/dispatch-core.ts +27 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/dispatch-native-complete.ts +135 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/dispatch-native-prepare.ts +153 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/dispatch-native-spawn.ts +191 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/dispatch-native-types.ts +207 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/dispatch-native.ts +184 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/dispatch-observability.ts +220 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/docs-lane.js +122 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/drift-watchdog.js +218 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/evidence-rules.js +96 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/external-blocker.js +85 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/fixtures/registration-surface.json +53 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/footer.ts +30 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/helpers.ts +266 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/hub-state-audit.js +59 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/index.ts +1850 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/input/completions.ts +76 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/input/shortcuts.ts +47 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/lifecycle/context-pressure.ts +123 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/lifecycle/monitor-session.ts +104 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/lifecycle/session-orchestration.ts +139 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/lifecycle/turn-handlers.ts +95 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/monitor-control.ts +9 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/monitor-invoke-journal.ts +131 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/monitor-invoke.ts +92 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/monitor-lifecycle.ts +13 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/monitor-publisher.ts +59 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/monitor-recovery.ts +3 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/monitor-runtime.ts +3 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/monitor-session-bridge.ts +266 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/package.json +7 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/peer-spawn-plan.ts +116 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/policy/models.ts +126 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/policy/roster.ts +79 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/policy/work-mode.ts +118 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/presentation.ts +48 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/prompts/context.ts +46 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/prompts/fragments.ts +115 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/prompts/session-start.ts +88 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/prompts/system-prompt.ts +110 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/provider-semaphore.js +138 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/research/controls.ts +75 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/research/runtime.ts +184 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/research/spawn-run.ts +146 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/research-retention.js +34 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/research-watchdog.ts +40 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/return-contract.js +293 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/return-extract.js +75 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/review-findings.js +102 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/run-budget.js +537 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/run-namespace.js +87 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/safety-routing.ts +22 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/scope-gate.js +103 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/session-health.js +110 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/session-start.ts +42 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/spawn.ts +388 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/timeline.ts +54 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/action-executors.ts +146 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/coms-tools.ts +139 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/context.ts +132 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/dispatch-agent.ts +79 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/dispatch-execution.ts +200 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/execution-orchestration.ts +22 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/fleet-tools.ts +202 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/herdr-executors.ts +82 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/set-task-tier.ts +29 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/spawn-research.ts +62 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/team-adjust.ts +29 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/tools/verification-contract.ts +77 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/types.ts +60 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/ui/context-budget.ts +86 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/ui/detail-panel.ts +175 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/ui/fleet-dashboard.ts +130 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/ui/grid.ts +306 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/ui/history-store.ts +137 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/ui/history.ts +234 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/ui/pool.ts +103 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/ui/zoom.ts +204 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/version.ts +42 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/work-mode-controls.ts +56 -0
- package/.versions/2.0.0/.pi/harnesses/agent-hub/work-mode.ts +167 -0
- package/.versions/2.0.0/.pi/harnesses/ask-user-remote/README.md +53 -0
- package/.versions/2.0.0/.pi/harnesses/ask-user-remote/index.ts +532 -0
- package/.versions/2.0.0/.pi/harnesses/ask-user-remote/race-core.js +106 -0
- package/.versions/2.0.0/.pi/harnesses/coms/README.md +100 -0
- package/.versions/2.0.0/.pi/harnesses/coms/index.ts +276 -0
- package/.versions/2.0.0/.pi/harnesses/coms/package.json +7 -0
- package/.versions/2.0.0/.pi/harnesses/coms/version.ts +42 -0
- package/.versions/2.0.0/.pi/harnesses/damage-control-continue/README.md +124 -0
- package/.versions/2.0.0/.pi/harnesses/damage-control-continue/index.ts +536 -0
- package/.versions/2.0.0/.pi/harnesses/damage-control-continue/package.json +7 -0
- package/.versions/2.0.0/.pi/harnesses/damage-control-continue/version.ts +42 -0
- package/.versions/2.0.0/.pi/harnesses/lib/coms-core-io.ts +385 -0
- package/.versions/2.0.0/.pi/harnesses/lib/coms-core.ts +577 -0
- package/.versions/2.0.0/.pi/harnesses/lib/coms-registry-entry.ts +94 -0
- package/.versions/2.0.0/.pi/harnesses/lib/context-budget-child-prompt.ts +179 -0
- package/.versions/2.0.0/.pi/harnesses/lib/context-budget-hub-prompt.ts +114 -0
- package/.versions/2.0.0/.pi/harnesses/lib/context-budget-view.ts +107 -0
- package/.versions/2.0.0/.pi/harnesses/lib/context-budget.ts +114 -0
- package/.versions/2.0.0/.pi/harnesses/lib/damage-control-shared.ts +197 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fixtures/context-budget-profiles.json +11 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fixtures/hub-prompt-operator.legacy.txt +73 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fixtures/hub-prompt-orchestrator.legacy.txt +73 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fleet-dashboard-ops.ts +155 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fleet-dashboard-view.ts +142 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fleet-detail-view.ts +247 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fleet-overlay.ts +26 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fleet-panel.ts +34 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fleet-read-model.ts +131 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fleet-selection.ts +24 -0
- package/.versions/2.0.0/.pi/harnesses/lib/fleet-transcript-store.ts +244 -0
- package/.versions/2.0.0/.pi/harnesses/lib/herdr-client.ts +472 -0
- package/.versions/2.0.0/.pi/harnesses/lib/herdr-presence.ts +399 -0
- package/.versions/2.0.0/.pi/harnesses/lib/hermes-monitor-events.ts +136 -0
- package/.versions/2.0.0/.pi/harnesses/lib/hermes-monitor-herdr.ts +28 -0
- package/.versions/2.0.0/.pi/harnesses/lib/hermes-monitor-model.ts +18 -0
- package/.versions/2.0.0/.pi/harnesses/lib/hermes-monitor-registry.ts +6 -0
- package/.versions/2.0.0/.pi/harnesses/lib/hermes-monitor-socket.ts +163 -0
- package/.versions/2.0.0/.pi/harnesses/lib/hermes-monitor-store.ts +31 -0
- package/.versions/2.0.0/.pi/harnesses/lib/spawned-peers.js +190 -0
- package/.versions/2.0.0/.pi/harnesses/package-lock.json +2039 -0
- package/.versions/2.0.0/.pi/harnesses/package.json +10 -0
- package/.versions/2.0.0/.pi/prompts/af-build.md +24 -0
- package/.versions/2.0.0/.pi/prompts/af-code-simplify.md +22 -0
- package/.versions/2.0.0/.pi/prompts/af-plan.md +17 -0
- package/.versions/2.0.0/.pi/prompts/af-review.md +16 -0
- package/.versions/2.0.0/.pi/prompts/af-set-hermes-telegram.md +15 -0
- package/.versions/2.0.0/.pi/prompts/af-set-hermes-watchdog.md +6 -0
- package/.versions/2.0.0/.pi/prompts/af-ship.md +17 -0
- package/.versions/2.0.0/.pi/prompts/af-spec.md +15 -0
- package/.versions/2.0.0/.pi/prompts/af-test.md +19 -0
- package/.versions/2.0.0/.pi/skills/bowser/SKILL.md +145 -0
- package/.versions/2.0.0/.version +1 -0
- package/.versions/2.0.0/agents/architect.md +25 -0
- package/.versions/2.0.0/agents/bowser.md +28 -0
- package/.versions/2.0.0/agents/builder.md +56 -0
- package/.versions/2.0.0/agents/code-reviewer.md +209 -0
- package/.versions/2.0.0/agents/deep-researcher.md +33 -0
- package/.versions/2.0.0/agents/documenter.md +19 -0
- package/.versions/2.0.0/agents/orchestrator.md +23 -0
- package/.versions/2.0.0/agents/plan-reviewer.md +84 -0
- package/.versions/2.0.0/agents/planner.md +71 -0
- package/.versions/2.0.0/agents/releaser.md +25 -0
- package/.versions/2.0.0/agents/researcher.md +29 -0
- package/.versions/2.0.0/agents/security-auditor.md +168 -0
- package/.versions/2.0.0/agents/test-engineer.md +154 -0
- package/.versions/2.0.0/agents/web-debugger.md +44 -0
- package/.versions/2.0.0/agents/web-performance-auditor.md +194 -0
- package/.versions/2.0.0/bin/catalog/harness-runtime-closure.json +38 -0
- package/.versions/2.0.0/codex/CONDUCTOR.md +148 -0
- package/.versions/2.0.0/docs/ARCHITECTURE.md +404 -0
- package/.versions/2.0.0/docs/agent-fleet-setup.md +468 -0
- package/.versions/2.0.0/docs/claude-code-coms-bridge.md +128 -0
- package/.versions/2.0.0/docs/codex-remote-conductor.md +170 -0
- package/.versions/2.0.0/docs/coms-hermes-bridge.md +189 -0
- package/.versions/2.0.0/docs/getting-started.md +98 -0
- package/.versions/2.0.0/docs/npm-install.md +292 -0
- package/.versions/2.0.0/docs/pi-extensions.md +439 -0
- package/.versions/2.0.0/docs/pi-setup.md +74 -0
- package/.versions/2.0.0/docs/skill-anatomy.md +150 -0
- package/.versions/2.0.0/hermes/README.md +347 -0
- package/.versions/2.0.0/hermes/desktop-plugins/agent-fleet-herdr/plugin.js +1291 -0
- package/.versions/2.0.0/hermes/desktop-plugins/agent-fleet-herdr/presentation.js +672 -0
- package/.versions/2.0.0/hermes/desktop-plugins/agent-fleet-monitor/plugin.js +19 -0
- package/.versions/2.0.0/hermes/desktop-plugins/agent-fleet-monitor/state.js +10 -0
- package/.versions/2.0.0/hermes/gates/gate-o-capability.md +8 -0
- package/.versions/2.0.0/hermes/gates/gate-o-validator-fixtures.json +1 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/dashboard/activity.py +770 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/dashboard/coms_registry.py +134 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/dashboard/coms_send.py +350 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/dashboard/herdr_source.py +193 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/dashboard/manifest.json +4 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/dashboard/plugin_api.py +444 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/dashboard/sessions.py +205 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/dashboard/tasks.py +300 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/dashboard/watch.py +819 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-herdr/plugin.yaml +8 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-monitor/dashboard/adapter.py +139 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-monitor/dashboard/manifest.json +11 -0
- package/.versions/2.0.0/hermes/plugins/agent-fleet-monitor/dashboard/plugin_api.py +50 -0
- package/.versions/2.0.0/hermes/skills/hub-conductor/SKILL.md +84 -0
- package/.versions/2.0.0/hermes/skills/hub-liaison/SKILL.md +84 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/SKILL.md +76 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/manifest.json +1 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/scripts/watchdog.py +249 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/scripts/watchdog_actions.py +124 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/scripts/watchdog_contract.py +76 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/scripts/watchdog_delivery.py +10 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/scripts/watchdog_engine.py +128 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/scripts/watchdog_judgment.py +41 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/scripts/watchdog_recovery.py +103 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/scripts/watchdog_state.py +163 -0
- package/.versions/2.0.0/hermes/skills/hub-watchdog/scripts/watchdog_transport.py +138 -0
- package/.versions/2.0.0/hermes/watchdog-tests/__init__.py +0 -0
- package/.versions/2.0.0/hooks/coms-stop-hook.mjs +84 -0
- package/.versions/2.0.0/install-manifest.json +2745 -0
- package/.versions/2.0.0/justfile +272 -0
- package/.versions/2.0.0/manifest-meta.json +882 -0
- package/.versions/2.0.0/references/accessibility-checklist.md +160 -0
- package/.versions/2.0.0/references/definition-of-done.md +67 -0
- package/.versions/2.0.0/references/fleet-coordination-patterns.md +151 -0
- package/.versions/2.0.0/references/observability-checklist.md +91 -0
- package/.versions/2.0.0/references/orchestration-patterns.md +370 -0
- package/.versions/2.0.0/references/performance-checklist.md +153 -0
- package/.versions/2.0.0/references/prompting-patterns.md +380 -0
- package/.versions/2.0.0/references/security-checklist.md +179 -0
- package/.versions/2.0.0/references/testing-patterns.md +236 -0
- package/.versions/2.0.0/scripts/codex-conductor.ts +41 -0
- package/.versions/2.0.0/scripts/codex-remote-control.ts +167 -0
- package/.versions/2.0.0/scripts/coms-claude-bridge.ts +411 -0
- package/.versions/2.0.0/scripts/coms-cli.ts +484 -0
- package/.versions/2.0.0/scripts/coms-hermes-bridge.ts +413 -0
- package/.versions/2.0.0/scripts/fleet.ts +185 -0
- package/.versions/2.0.0/scripts/hermes-monitor-capability-runner.ts +25 -0
- package/.versions/2.0.0/scripts/hermes-monitor-scenario.ts +474 -0
- package/.versions/2.0.0/scripts/hermes-watchdog-capability-probe.ts +45 -0
- package/.versions/2.0.0/scripts/install-hermes-plugin.sh +180 -0
- package/.versions/2.0.0/scripts/lib/claude-bridge-core.ts +210 -0
- package/.versions/2.0.0/scripts/lib/codex-conductor.ts +88 -0
- package/.versions/2.0.0/scripts/lib/codex-remote-control.ts +480 -0
- package/.versions/2.0.0/scripts/lib/coms-envelope.ts +582 -0
- package/.versions/2.0.0/scripts/lib/fake-herdr-server.ts +88 -0
- package/.versions/2.0.0/scripts/lib/fleet-command.ts +270 -0
- package/.versions/2.0.0/scripts/lib/herdr-layout.ts +281 -0
- package/.versions/2.0.0/scripts/lib/hermes-bridge-core.ts +241 -0
- package/.versions/2.0.0/scripts/lib/hermes-monitor-events.ts +1 -0
- package/.versions/2.0.0/scripts/lib/hermes-monitor-herdr.ts +2 -0
- package/.versions/2.0.0/scripts/lib/hermes-monitor-model.ts +3 -0
- package/.versions/2.0.0/scripts/lib/hermes-monitor-registry.ts +2 -0
- package/.versions/2.0.0/scripts/lib/hermes-monitor-socket.ts +2 -0
- package/.versions/2.0.0/scripts/lib/hermes-monitor-store.ts +2 -0
- package/.versions/2.0.0/scripts/lib/monitor-env.ts +146 -0
- package/.versions/2.0.0/scripts/lib/peer-launch.ts +318 -0
- package/.versions/2.0.0/scripts/lib/persona-banner.ts +62 -0
- package/.versions/2.0.0/scripts/lib/spawn-stagger.ts +101 -0
- package/.versions/2.0.0/scripts/lib/team-project.ts +213 -0
- package/.versions/2.0.0/scripts/lib/team-snapshot.ts +147 -0
- package/.versions/2.0.0/scripts/peer-banner.ts +40 -0
- package/.versions/2.0.0/scripts/peer-launch.ts +259 -0
- package/.versions/2.0.0/scripts/team-snapshot.ts +237 -0
- package/.versions/2.0.0/scripts/team-up.ts +406 -0
- package/.versions/2.0.0/skills/_internal/grilling.md +59 -0
- package/.versions/2.0.0/skills/browser-testing-with-devtools/SKILL.md +351 -0
- package/.versions/2.0.0/skills/code-review-and-quality/SKILL.md +381 -0
- package/.versions/2.0.0/skills/compound-learning/SKILL.md +137 -0
- package/.versions/2.0.0/skills/context-engineering/SKILL.md +291 -0
- package/.versions/2.0.0/skills/deprecation-and-migration/SKILL.md +206 -0
- package/.versions/2.0.0/skills/designing-agents/SKILL.md +394 -0
- package/.versions/2.0.0/skills/designing-agents/pi-harness-authoring.md +222 -0
- package/.versions/2.0.0/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/2.0.0/skills/git-workflow-and-versioning/SKILL.md +316 -0
- package/.versions/2.0.0/skills/idea-refine/SKILL.md +182 -0
- package/.versions/2.0.0/skills/idea-refine/examples.md +238 -0
- package/.versions/2.0.0/skills/idea-refine/frameworks.md +99 -0
- package/.versions/2.0.0/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/2.0.0/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/2.0.0/skills/incremental-implementation/SKILL.md +298 -0
- package/.versions/2.0.0/skills/interview-me/SKILL.md +226 -0
- package/.versions/2.0.0/skills/orchestration-verification/SKILL.md +181 -0
- package/.versions/2.0.0/skills/peer-coms/SKILL.md +90 -0
- package/.versions/2.0.0/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/2.0.0/skills/planning-and-task-breakdown/SKILL.md +263 -0
- package/.versions/2.0.0/skills/security-and-hardening/SKILL.md +461 -0
- package/.versions/2.0.0/skills/spec-driven-development/SKILL.md +256 -0
- package/.versions/2.0.0/skills/using-agent-skills/SKILL.md +197 -0
- package/.versions/2.0.0/systemd/user/agent-fleet-codex-remote-control.service.in +23 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/LICENSE +21 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/README.md +11 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/api-and-interface-design/SKILL.md +294 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/browser-testing-with-devtools/SKILL.md +317 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/ci-cd-and-automation/SKILL.md +390 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/code-review-and-quality/SKILL.md +396 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/code-simplification/SKILL.md +331 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/context-engineering/SKILL.md +289 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/debugging-and-error-recovery/SKILL.md +300 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/deprecation-and-migration/SKILL.md +247 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/documentation-and-adrs/SKILL.md +278 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/doubt-driven-development/SKILL.md +243 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/frontend-ui-engineering/SKILL.md +328 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/git-workflow-and-versioning/SKILL.md +355 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/idea-refine/SKILL.md +178 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/idea-refine/examples.md +238 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/idea-refine/frameworks.md +99 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/idea-refine/refinement-criteria.md +113 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/incremental-implementation/SKILL.md +249 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/interview-me/SKILL.md +225 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/observability-and-instrumentation/SKILL.md +203 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/performance-optimization/SKILL.md +350 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/planning-and-task-breakdown/SKILL.md +234 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/security-and-hardening/SKILL.md +467 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/shipping-and-launch/SKILL.md +310 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/source-driven-development/SKILL.md +194 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/spec-driven-development/SKILL.md +206 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/test-driven-development/SKILL.md +383 -0
- package/.versions/2.0.0/vendor/agent-skills-upstream/skills/using-agent-skills/SKILL.md +191 -0
- package/CHANGELOG.md +40 -0
- package/README.md +5 -5
- package/agents/builder.md +1 -0
- package/agents/orchestrator.md +3 -1
- package/agents/planner.md +1 -1
- package/bin/lib/overrides.js +2 -0
- package/bin/lib/validate-overrides.js +1 -1
- package/docs/ARCHITECTURE.md +42 -13
- package/docs/MIGRATION-agent-fleet.md +4 -4
- package/docs/agent-fleet-setup.md +15 -15
- package/docs/npm-install.md +1 -1
- package/docs/pi-extensions.md +16 -18
- package/install-manifest.json +3 -3
- package/justfile +2 -2
- package/package.json +3 -2
- package/scripts/fleet.ts +10 -10
- package/scripts/lib/fleet-command.ts +15 -11
- package/scripts/lib/team-project.ts +2 -2
- package/scripts/team-up.ts +10 -10
- package/skills/_internal/grilling.md +53 -5
- package/skills/idea-refine/SKILL.md +2 -2
- package/skills/incremental-implementation/SKILL.md +12 -1
- package/skills/planning-and-task-breakdown/SKILL.md +14 -5
- package/skills/spec-driven-development/SKILL.md +10 -11
- package/skills/using-agent-skills/SKILL.md +13 -15
- /package/{.pi → .versions/1.0.4/.pi}/harnesses/agent-hub/execution-profile.ts +0 -0
- /package/{.pi → .versions/1.0.4/.pi}/harnesses/agent-hub/posture.ts +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# agent-hub
|
|
2
2
|
|
|
3
3
|
The unified Agent Fleet runtime for pi, with [`coms`](../coms/README.md) **embedded**. Bare
|
|
4
|
-
`just fleet` loads Fleet Core and starts `agent-hub` in **operator**
|
|
4
|
+
`just fleet` loads Fleet Core and starts `agent-hub` in **operator** work mode with direct coding
|
|
5
5
|
and orchestration tools, but no standing native roster. The same live session can switch to
|
|
6
|
-
**orchestrator**
|
|
6
|
+
**orchestrator** work mode, which removes direct coding tools and drives native specialists under
|
|
7
7
|
the Verification Contract. Fleet Core loads first: [`damage-control-continue`](../damage-control-continue/README.md),
|
|
8
8
|
[`ask-user-remote`](../ask-user-remote/README.md), STT, Compact & Continue, BTW, and the update
|
|
9
|
-
checker. Both
|
|
9
|
+
checker. Both work modes can adjust the native roster, run research, collaborate with Pi/Claude
|
|
10
10
|
peers, and hand the session to a visible coms peer.
|
|
11
11
|
|
|
12
12
|
> Consolidates the retired `agent-team` dispatcher into this harness and embeds the ported `coms`
|
|
@@ -17,34 +17,33 @@ peers, and hand the session to a visible coms peer.
|
|
|
17
17
|
|
|
18
18
|
**Optional phone control:** `just fleet --agents <roster> --peers <preset> --project <name>` can supply the live peers for the experimental [Codex Android conductor](../../../docs/codex-remote-conductor.md). Configure Codex for the same project; do not also launch `just fleet conductor codex <team>` for the same peers. Hermes remains the inbound `ask_user` route, while Codex performs only human-confirmed, approval-gated outbound delegation.
|
|
19
19
|
|
|
20
|
-
##
|
|
20
|
+
## Work Mode, roster, and topology
|
|
21
21
|
|
|
22
22
|
These are independent runtime axes:
|
|
23
23
|
|
|
24
|
-
- **
|
|
25
|
-
restarting or losing session state
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
- **Work Mode** — `/af-work-mode operator|orchestrator` switches prompt and active tools without
|
|
25
|
+
restarting or losing session state; `/af-work-mode` without an argument and **Alt+M** open the
|
|
26
|
+
two-option picker. Operator keeps `read`, `bash`, `edit`, `write`, approved extension tools, and
|
|
27
|
+
orchestration. Orchestrator withholds direct coding tools but keeps dispatch, research, assertions,
|
|
28
|
+
roster controls, `ask_user`, ready coms, and ready Herdr tools. In orchestrator work mode, raw
|
|
29
|
+
Herdr panes are auxiliary-process orchestration—not a route around delegation for reading,
|
|
30
|
+
editing, testing, or implementing code.
|
|
31
31
|
- **Native roster** — local headless Pi specialists from `.pi/agents/teams.yaml`. Bare Fleet starts
|
|
32
32
|
empty; select one with `--agents frontend` or add one live with `/af-agents-add code-reviewer`.
|
|
33
33
|
- **Peer topology** — separate long-lived Pi or Claude Code processes from `peers.yaml`, connected
|
|
34
34
|
by coms and optionally placed in sibling Herdr panes. `--peers frontend` selects a standing
|
|
35
35
|
preset; `--herdr` creates a Hub-only workspace through the empty `base` preset.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
the **task tier**, not a session execution mode.
|
|
36
|
+
Orchestrator still requires a native roster. Budgets, nested delegation, and Verification Contract
|
|
37
|
+
rigor follow the **task tier**, not Work Mode.
|
|
39
38
|
|
|
40
|
-
All Hub slash commands, including `/af-handoff`, are registered in both
|
|
39
|
+
All Hub slash commands, including `/af-handoff`, are registered in both work modes. A command whose
|
|
41
40
|
runtime capability is unavailable refuses with remediation rather than disappearing. `--no-coms`
|
|
42
41
|
disables only embedded coms; direct operator work and native dispatch remain available.
|
|
43
42
|
|
|
44
43
|
### Automatic capability surfaces
|
|
45
44
|
|
|
46
|
-
Capability packs load **automatically** from the current request,
|
|
47
|
-
and runtime state; there is no activation command. `core` is always present. Orchestrator
|
|
45
|
+
Capability packs load **automatically** from the current request, work mode, task tier, pending work,
|
|
46
|
+
and runtime state; there is no activation command. `core` is always present. Orchestrator work mode
|
|
48
47
|
always includes `fleet`; explicit delegation/research, acceptance work, an existing coms peer, a
|
|
49
48
|
Herdr pane/watcher request, and explicit or imminent compaction respectively add `fleet`,
|
|
50
49
|
`verification`, `peer`, `workspace`, and `compaction`. A ready coms or Herdr runtime is only
|
|
@@ -55,7 +54,7 @@ and records its reason in the state capsule and `/af-context`. Before that pack'
|
|
|
55
54
|
the Hub asks one focused `ask_user` confirmation. Confirming promotes it for the task; reject or
|
|
56
55
|
cancel removes it and leaves no message, child, or pane behind. Active task packs persist through
|
|
57
56
|
follow-up turns so a workflow does not lose tools. They shrink only through
|
|
58
|
-
`set_task_tier(new_task: true)` (apart from mandatory
|
|
57
|
+
`set_task_tier(new_task: true)` (apart from mandatory work mode and pending-operation leases), never
|
|
59
58
|
merely because the next message sounds different.
|
|
60
59
|
|
|
61
60
|
`/af-context` separates stable replacement-prompt cost from the volatile state capsule and active
|
|
@@ -94,20 +93,19 @@ fallback, or switch to a model with a larger context window:
|
|
|
94
93
|
|
|
95
94
|
A resumed orchestrator session can also require roster recovery. The Hub persists only the selected
|
|
96
95
|
team name and resolves it again against the current `.pi/agents/teams.yaml` and persona files. If the
|
|
97
|
-
team is missing, renamed, empty, or stale, the Hub preserves orchestrator
|
|
96
|
+
team is missing, renamed, empty, or stale, the Hub preserves orchestrator work mode, keeps direct coding
|
|
98
97
|
tools unavailable, and blocks model input rather than inventing a roster or silently downgrading.
|
|
99
98
|
Recover with one of these explicit choices:
|
|
100
99
|
|
|
101
100
|
```text
|
|
102
101
|
/af-agents-team # select a currently valid team in the live session
|
|
103
|
-
/af-
|
|
104
|
-
/af-work-mode operator # restore direct tools
|
|
102
|
+
/af-work-mode operator # explicitly leave delegate-only work mode and restore direct tools
|
|
105
103
|
just fleet --agents <name> # restart through the public Fleet CLI
|
|
106
|
-
just fleet --
|
|
104
|
+
just fleet --work-mode operator # restart explicitly as an operator
|
|
107
105
|
```
|
|
108
106
|
|
|
109
|
-
For a direct Pi launch, the roster flag is `--agent-team <name>` and the
|
|
110
|
-
`--
|
|
107
|
+
For a direct Pi launch, the roster flag is `--agent-team <name>` and the work mode flag is
|
|
108
|
+
`--work-mode operator`; explicit startup flags take precedence over persisted selections. Fix stale
|
|
111
109
|
team/persona declarations before selecting them.
|
|
112
110
|
|
|
113
111
|
The Pi session JSONL under `~/.pi/agent/sessions/` is the authoritative append-only conversation and
|
|
@@ -147,18 +145,22 @@ Every borrowed idea from another harness passes one test before it lands: *does
|
|
|
147
145
|
`agent-hub` is the supported home for the former standalone dispatcher features:
|
|
148
146
|
|
|
149
147
|
- **Dispatcher grid** — a live dashboard of the active, dynamically adjustable native roster from `.pi/agents/teams.yaml`.
|
|
150
|
-
- **Context budget** — `/af-context` opens a separate read-only full-screen diagnostic in either
|
|
148
|
+
- **Context budget** — `/af-context` opens a separate read-only full-screen diagnostic in either work mode. It shows provider totals and cache fields beside named, metadata-only estimates; `loaded-excluded` Pi inputs are discovered but contribute zero to the replacement Hub prompt. Each specialist, research helper, delegate, and peer remains a separate context plane with its own model window. Component token estimates are heuristic/provider-scaled, never exact claims; unavailable peer/provider detail is labelled explicitly and raw prompts, schemas, and conversation text are never retained or displayed.
|
|
151
149
|
- **Specialist delegation** — `dispatch_agent` sends writable tasks to configured specialists.
|
|
152
|
-
- **Research helpers** — `spawn_research`
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
- **Research helpers** — the dispatcher invokes `spawn_research` automatically for read-only
|
|
151
|
+
investigation; specialists can trigger the separate automatic `NEEDS_RESEARCH:` pipe described
|
|
152
|
+
below. Managed research children use a replacement read-only prompt with `--no-skills` and
|
|
153
|
+
`--no-context-files`; managed specialists receive a selected context manifest (persona, applicable
|
|
154
|
+
policy paths, and named skill paths) rather than inherited global skill/context loading. Two
|
|
155
|
+
`kind: research` personas ship by default: `researcher` (`gpt-5.6-luna`, low thinking) for simple
|
|
156
|
+
reads and `deep-researcher` (`grok-4.6`, medium thinking) for hard, cross-cutting investigation.
|
|
157
|
+
The dispatcher routes by persona; each persona's model + thinking level is shown in its catalog.
|
|
156
158
|
Finished helpers are **auto-pruned** so the research row doesn't grow without bound: auto-research
|
|
157
|
-
pipe helpers disappear as soon as they finish (their findings persist as `findings/*.md` files
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
pipe helpers disappear as soon as they finish (their findings persist as `findings/*.md` files),
|
|
160
|
+
while durable helpers keep only the `research-keep` most recently finished (default 4) for
|
|
161
|
+
dashboard inspection or a fresh `/af-agents-restart rN`; older cards and session files are dropped
|
|
162
|
+
oldest-first. Set `research-keep: <n>|all` in the overrides file to change the cap. Running helpers
|
|
163
|
+
are never pruned and `rN` handles are never reused.
|
|
162
164
|
- **Human handoff path** — `ask_user` is exposed by the `ask-user-remote` wrapper (capturing stock
|
|
163
165
|
`pi-ask-user` and optionally racing a `user-remote` bridge), so specialists can bubble decisions
|
|
164
166
|
back through the dispatcher.
|
|
@@ -228,14 +230,13 @@ Every borrowed idea from another harness passes one test before it lands: *does
|
|
|
228
230
|
- **Agent controls** — `/af-zoom` inspects a live agent timeline; `/af-agents-history` replays the run as a
|
|
229
231
|
timeline (orchestrator turns, dispatches, research helpers) with per-agent durations, parallel-run
|
|
230
232
|
markers, and a grand total; kill/restart controls manage running child agents; per-agent `model:`
|
|
231
|
-
fields select models from team config. The `agents-*` commands address **both target kinds** —
|
|
233
|
+
fields select models from team config. The retained `agents-*` commands address **both target kinds** —
|
|
232
234
|
team specialists by persona name, research helpers by `rN` handle (mirroring `/af-zoom`):
|
|
233
235
|
`/af-agents-kill <name|rN|all>` SIGTERMs a specialist (keeping its standing card), while on a
|
|
234
236
|
research helper it kills **and removes** the card + session — helpers are disposable by design
|
|
235
237
|
(`all` clears every helper); `/af-agents-restart <name|rN>` re-runs the last task fresh (a research
|
|
236
|
-
helper must be finished first)
|
|
237
|
-
|
|
238
|
-
`/af-research-cont` of `/af-agents-cont`.
|
|
238
|
+
helper must be finished first). Research spawning and follow-up reconnaissance are automated through
|
|
239
|
+
`spawn_research` and `NEEDS_RESEARCH:`; there are no dedicated research lifecycle slash commands.
|
|
239
240
|
Restartable team specialists at or above 70% context render
|
|
240
241
|
their context percentage with a warning marker/color in dashboard and compact views, and their next
|
|
241
242
|
`dispatch_agent` result adds a `/af-agents-restart <persona>` hint. Research helpers are not warned,
|
|
@@ -267,8 +268,8 @@ Every borrowed idea from another harness passes one test before it lands: *does
|
|
|
267
268
|
`.ai/agent-fleet-overrides.md` replace a persona's default model / candidate list.
|
|
268
269
|
Research personas (`researcher` / `deep-researcher`, `kind: research`) are switchable the same
|
|
269
270
|
way — `/af-agent-model <persona>` and `/af-agent-model-thinking <persona>` accept them alongside team
|
|
270
|
-
members. Since research helpers are spawned fresh
|
|
271
|
-
|
|
271
|
+
members. Since research helpers are spawned fresh through `spawn_research`, the switch lands on
|
|
272
|
+
their next spawn (there is no running instance to `/af-agents-restart`).
|
|
272
273
|
`/af-agent-models-substitute [<source> <target>]` saves a runtime source → target mapping for
|
|
273
274
|
the current session. With no arguments it opens the same two-step visual picker as `m` in Fleet
|
|
274
275
|
Dashboard: first choose a source from every model configured across persona defaults, candidates,
|
|
@@ -332,8 +333,6 @@ Every borrowed idea from another harness passes one test before it lands: *does
|
|
|
332
333
|
delegated.
|
|
333
334
|
- `test-engineer` — `coverage-scout`+`conventions` (spark) inventory gaps and test patterns;
|
|
334
335
|
test writing is never delegated.
|
|
335
|
-
- **Dispatcher persona gate** — optional `persona-gate: on` can require an orchestrator persona at
|
|
336
|
-
session start; by default the dispatcher starts without the gate.
|
|
337
336
|
- **Default damage-control guardrails** — `just fleet` and `just fleet --no-coms` load the
|
|
338
337
|
`damage-control-continue` harness before `agent-hub`, so dispatcher tool calls are checked against
|
|
339
338
|
`.pi/damage-control-rules.yaml` and a blocked call feeds back instead of aborting the turn. A
|
|
@@ -381,9 +380,9 @@ are hidden, and the coms pool widget collapses too, so an idle session collapses
|
|
|
381
380
|
and footer. **`Alt+Shift+A`** toggles that widget on or off; the footer reports
|
|
382
381
|
`Alt+A fleet · Alt+M Operator · Alt+Shift+A widget:compact|off`.
|
|
383
382
|
|
|
384
|
-
###
|
|
383
|
+
### Work Mode picker
|
|
385
384
|
|
|
386
|
-
Press **`Alt+M`** or run **`/af-work-mode`**
|
|
385
|
+
Press **`Alt+M`** or run **`/af-work-mode`** to open the work mode picker:
|
|
387
386
|
**operator** (direct tools) or **orchestrator** (delegate-only). Arrow keys move, Enter applies,
|
|
388
387
|
and Esc cancels with no change. Orchestrator requires a native roster. On macOS, the outer
|
|
389
388
|
terminal must send Option as Meta or Alt+M will not reach the Hub.
|
|
@@ -406,17 +405,31 @@ and visible token totals. Finished/idle/stale rows are hidden by default.
|
|
|
406
405
|
its previous task fresh; it is refused for peer/delegate rows, running research, and rows with no previous task.
|
|
407
406
|
- **`q`** or **Esc** closes the dashboard.
|
|
408
407
|
|
|
409
|
-
The detail view streams the selected local agent's text, thinking,
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
408
|
+
The detail view streams the selected local agent's assistant text, provider-emitted thinking, tool
|
|
409
|
+
arguments, and tool results (including success/error and duration). Normal events request an immediate
|
|
410
|
+
render; a 2-second ticker recovers missed file notifications and advances elapsed time. Use **`v`** to
|
|
411
|
+
switch between scan-friendly **Compact** rows and wrapped **Verbose** output. The choice is preserved
|
|
412
|
+
while drilling into other rows in the same open dashboard.
|
|
413
|
+
|
|
414
|
+
Use **`↑`/`↓`**, **`PgUp`/`PgDn`**, and **Home**/**End** to navigate. Manual movement pauses tail-follow;
|
|
415
|
+
**End** restores it. **Enter** expands a selected tool row in Compact mode and **Ctrl+C** copies the
|
|
416
|
+
selected entry. **`m`** replaces the log area with a full-screen picker containing every model currently
|
|
417
|
+
reported by Pi's available-model registry. Use **`↑`/`↓`**, **`PgUp`/`PgDn`**, or **Home**/**End**, then
|
|
418
|
+
**Enter** to apply; **Esc** cancels back to the logs.
|
|
419
|
+
|
|
420
|
+
Each local run also writes an append-only transcript under `.pi/agent-sessions/transcripts/`. The
|
|
421
|
+
directory/file permissions are owner-only (0700/0600 where the platform supports them), large events
|
|
422
|
+
are chunked, and the live in-memory window is bounded. Common authorization headers, API keys, access
|
|
423
|
+
tokens, passwords, provider tokens, and private-key blocks become `[REDACTED]` **before both persistence
|
|
424
|
+
and display**. This is pattern-based protection, so operators should still avoid deliberately printing
|
|
425
|
+
unknown secret formats.
|
|
426
|
+
|
|
427
|
+
“Thinking” means only text explicitly emitted by the provider/runtime; hidden model reasoning is not
|
|
428
|
+
available, and personas with thinking disabled have no thinking rows. Model switching works for local
|
|
429
|
+
specialists, retained research helpers, and nested delegate roles. It applies on the next dispatch or
|
|
430
|
+
continuation and never interrupts a running child. A coms-backed specialist stores the choice for native
|
|
431
|
+
fallback runs; external coms peers control their own model, have no picker, and have no local transcript.
|
|
432
|
+
**Esc**/**`q`** returns to the dashboard. **`/af-zoom <name|rN>`** opens this same detail view directly.
|
|
420
433
|
|
|
421
434
|
### Version footer
|
|
422
435
|
|
|
@@ -516,9 +529,9 @@ The same section also tunes research-helper retention:
|
|
|
516
529
|
research-keep: 8
|
|
517
530
|
```
|
|
518
531
|
|
|
519
|
-
`research-keep:` caps how many **finished**
|
|
520
|
-
(LRU by finish time, default 4; `all` disables the cap).
|
|
521
|
-
always pruned as soon as they finish, regardless of this key.
|
|
532
|
+
`research-keep:` caps how many **finished** durable/persona research helpers remain available
|
|
533
|
+
for dashboard inspection or fresh restart (LRU by finish time, default 4; `all` disables the cap).
|
|
534
|
+
Auto-research pipe helpers are always pruned as soon as they finish, regardless of this key.
|
|
522
535
|
|
|
523
536
|
### Bounded local-disk searches
|
|
524
537
|
|
|
@@ -785,11 +798,11 @@ drives the cards — not post-hoc:
|
|
|
785
798
|
partial output preserved) and the dispatch result instructs: re-dispatch ONCE with a
|
|
786
799
|
corrected, narrowed task — never the same task unchanged.
|
|
787
800
|
|
|
788
|
-
Enablement is dynamic. In **operator**
|
|
801
|
+
Enablement is dynamic. In **operator** work mode, precedence is the `watchdog: true|false`
|
|
789
802
|
param on a single `dispatch_agent` call → a per-agent override (`/af-watchdog builder
|
|
790
803
|
on|off|clear`) → the hub-wide setting (`/af-watchdog on|off|auto`, default `auto`, project
|
|
791
804
|
default via the `watchdog:` overrides key): `on`/`auto` arm and `off` disarms. In
|
|
792
|
-
**orchestrator**
|
|
805
|
+
**orchestrator** work mode, hub `auto`/`on` auto-arms; dispatch `watchdog: false` cannot
|
|
793
806
|
disarm it. Opt out with hub `/af-watchdog off` (or override `watchdog: off`), or a per-agent
|
|
794
807
|
`off`. Read-only research helpers are not monitored — they already run under the per-tool
|
|
795
808
|
watchdog + turn deadline and cannot write.
|
|
@@ -874,9 +887,7 @@ pool-scope boundary is enforced identically.
|
|
|
874
887
|
Each session registers a coms identity at start-up, resolved in this precedence order:
|
|
875
888
|
|
|
876
889
|
1. **CLI flags** — `--name`, `--purpose`, `--project`, `--color`, `--explicit`
|
|
877
|
-
2. **
|
|
878
|
-
selected `kind: orchestrator` persona (see [persona sync](#persona--coms-purpose-sync))
|
|
879
|
-
3. **Defaults** — auto-generated name `hub-<id>`, purpose `agent-hub dispatcher`, project
|
|
890
|
+
2. **Defaults** — auto-generated name `hub-<id>`, purpose `agent-hub dispatcher`, project
|
|
880
891
|
`default`, a deterministic color derived from the session id
|
|
881
892
|
|
|
882
893
|
Names are de-duplicated per project (`resolveUniqueName`), so two hubs that both want `architect`
|
|
@@ -1004,13 +1015,10 @@ A live "pool" widget lists connected peers with name, model, and live context us
|
|
|
1004
1015
|
ping cycle; a keepalive cycle re-writes this session's own registry entry (and self-heals it if an
|
|
1005
1016
|
external prune removed it). Both timers are `unref`'d so they never hold the process open.
|
|
1006
1017
|
|
|
1007
|
-
###
|
|
1018
|
+
### Purpose
|
|
1008
1019
|
|
|
1009
|
-
The
|
|
1010
|
-
|
|
1011
|
-
selected `kind: orchestrator` persona to `"<Name> — <description>"` and re-writes the live registry
|
|
1012
|
-
entry — **unless** `--purpose` was passed explicitly (an explicit flag always wins). Switching or
|
|
1013
|
-
resetting the persona via `/af-persona` re-syncs.
|
|
1020
|
+
The coms identity `purpose` is the `--purpose` CLI flag when set, otherwise the default
|
|
1021
|
+
`agent-hub dispatcher`. There is no runtime dispatcher-persona picker.
|
|
1014
1022
|
|
|
1015
1023
|
### Graceful degradation
|
|
1016
1024
|
|
|
@@ -1022,16 +1030,13 @@ Orchestration, research helpers, and the grid keep working.
|
|
|
1022
1030
|
### Tool surface
|
|
1023
1031
|
|
|
1024
1032
|
`setActiveTools` always preserves the orchestration surface and adds runtime-ready capabilities.
|
|
1025
|
-
Operator
|
|
1033
|
+
Operator work mode also preserves the baseline direct/extension tools; orchestrator work mode does not.
|
|
1026
1034
|
Coms tools are active only when coms is ready, Herdr tools only in a live Herdr pane, and `ask_user`
|
|
1027
|
-
only when registered.
|
|
1035
|
+
only when registered. Work mode switching recomputes this list live without touching session state.
|
|
1028
1036
|
|
|
1029
1037
|
`set_assertions` / `update_assertion` / `get_assertions` are the always-on Verification Contract ledger tools (see
|
|
1030
|
-
[What it does](#what-it-does)); like `dispatch_agent` / `spawn_research` they
|
|
1031
|
-
orchestration surface
|
|
1032
|
-
|
|
1033
|
-
The dispatcher persona is **flavor-only** (decision G4 / 9) — it enriches the role but never narrows
|
|
1034
|
-
this tool set, so coms and dispatch stay available regardless of the chosen persona.
|
|
1038
|
+
[What it does](#what-it-does)); like `dispatch_agent` / `spawn_research` they stay on the
|
|
1039
|
+
orchestration surface in both work modes.
|
|
1035
1040
|
|
|
1036
1041
|
## Optional Hermes local monitor transport
|
|
1037
1042
|
|
|
@@ -1085,7 +1090,7 @@ lease or socket loss and must never persist or log the token.
|
|
|
1085
1090
|
```bash
|
|
1086
1091
|
# Unified Fleet interface (Fleet Core + Agent Hub are loaded together)
|
|
1087
1092
|
just fleet
|
|
1088
|
-
just fleet --
|
|
1093
|
+
just fleet --work-mode operator --agents frontend --project myrepo
|
|
1089
1094
|
just fleet --agents frontend --peers frontend --project myrepo
|
|
1090
1095
|
|
|
1091
1096
|
# equivalent direct guarded launch
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WorkMode } from "./work-mode.ts";
|
|
2
2
|
import type { CapabilityConfirmationState } from "./capability-confirmation.ts";
|
|
3
3
|
|
|
4
4
|
export const CAPABILITY_PACKS = ["core", "fleet", "verification", "peer", "workspace", "compaction"] as const;
|
|
@@ -12,7 +12,7 @@ export interface PendingOperation {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export interface CapabilityResolutionInput {
|
|
15
|
-
|
|
15
|
+
workMode: WorkMode;
|
|
16
16
|
userText: string;
|
|
17
17
|
taskTier?: TaskTier;
|
|
18
18
|
taskPacks: readonly CapabilityPack[];
|
|
@@ -29,7 +29,7 @@ export interface CapabilityResolutionInput {
|
|
|
29
29
|
export type CapabilityReason =
|
|
30
30
|
| "core"
|
|
31
31
|
| "inactive"
|
|
32
|
-
| "
|
|
32
|
+
| "work-mode-required"
|
|
33
33
|
| "explicit-fleet"
|
|
34
34
|
| "explicit-verification"
|
|
35
35
|
| "tier-verification"
|
|
@@ -157,7 +157,7 @@ export function resolveCapabilityPacks(input: CapabilityResolutionInput): Capabi
|
|
|
157
157
|
}
|
|
158
158
|
for (const operation of input.pendingOperations) activate(operation.pack, "pending-operation");
|
|
159
159
|
|
|
160
|
-
if (input.
|
|
160
|
+
if (input.workMode === "orchestrator") activate("fleet", "work-mode-required");
|
|
161
161
|
if (intent.fleet) activate("fleet", "explicit-fleet");
|
|
162
162
|
if (intent.verification) activate("verification", "explicit-verification");
|
|
163
163
|
if (input.taskTier === "feature" || input.taskTier === "project") activate("verification", "tier-verification");
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentModelThinking(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agent-model-thinking", {
|
|
6
|
+
description: "Switch a persona's thinking level from pi's --thinking levels: /af-agent-model-thinking <persona>",
|
|
7
|
+
getArgumentCompletions: prefix => commandCtx.getAgentModelThinkingCompletions(prefix),
|
|
8
|
+
handler: async (args, ctx) => commandCtx.handleAgentModelThinking(args, ctx),
|
|
9
|
+
});
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentModel(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agent-model", {
|
|
6
|
+
description: "Switch a persona's or sub-role's model from its declared candidates: /af-agent-model <persona>[.<role>]",
|
|
7
|
+
getArgumentCompletions: prefix => commandCtx.getAgentModelCompletions(prefix),
|
|
8
|
+
handler: async (args, ctx) => commandCtx.handleAgentModel(args, ctx),
|
|
9
|
+
});
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentModelsSubstitute(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agent-models-substitute", {
|
|
6
|
+
description: "Save a session-wide model substitution: /af-agent-models-substitute [<source> <target>]",
|
|
7
|
+
getArgumentCompletions: prefix => commandCtx.getSubstituteCompletions(prefix),
|
|
8
|
+
handler: async (args, ctx) => commandCtx.handleAgentModelsSubstitute(args, ctx),
|
|
9
|
+
});
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentsAdd(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agents-add", {
|
|
6
|
+
description: "Add persona(s) to the active team without switching teams: /af-agents-add <name> [<name>…]",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleAgentsAdd(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentsDrop(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agents-drop", {
|
|
6
|
+
description: "Drop persona(s) from the active team: /af-agents-drop <name> [<name>…]",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleAgentsDrop(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentsHistory(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agents-history", {
|
|
6
|
+
description: "Timeline of agent execution — orchestrator turns, dispatches, research helpers, durations, and a grand total",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleAgentsHistory(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentsKill(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agents-kill", {
|
|
6
|
+
description: "Kill a running specialist, or kill & remove research helper(s): /af-agents-kill <name|rN|all>",
|
|
7
|
+
getArgumentCompletions: commandCtx.getAgentsKillCompletions,
|
|
8
|
+
handler: async (args, ctx) => commandCtx.handleAgentsKill(args, ctx),
|
|
9
|
+
});
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentsList(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agents-list", {
|
|
6
|
+
description: "Open Fleet Dashboard",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleAgentsList(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentsRestart(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agents-restart", {
|
|
6
|
+
description: "Kill and re-run a specialist's (or re-run a finished research helper's) last task fresh: /af-agents-restart <name|rN>",
|
|
7
|
+
getArgumentCompletions: commandCtx.getSubagentTargetCompletions,
|
|
8
|
+
handler: async (args, ctx) => commandCtx.handleAgentsRestart(args, ctx),
|
|
9
|
+
});
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentsSave(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agents-save", {
|
|
6
|
+
description: "Persist the CURRENT roster as a named team in .pi/agents/teams.yaml: /af-agents-save <team-name>",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleAgentsSave(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerAgentsTeam(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-agents-team", {
|
|
6
|
+
description: "Select a team to work with",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleAgentsTeam(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerCompound(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-compound", {
|
|
6
|
+
description: "Capture this session's lessons into the project's rules/docs via the documenter: /af-compound [focus]",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleCompound(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerComs(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-coms", {
|
|
6
|
+
description: "Force-refresh the coms pool widget (or filter with --all / --project <name>)",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleComs(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerContextCommand(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-context", {
|
|
6
|
+
description: "Open a read-only full-screen context budget diagnostic",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleContext(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ExtensionContext } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { AutocompleteItem } from "@mariozechner/pi-tui";
|
|
3
|
+
import type { WorkMode } from "../work-mode.ts";
|
|
4
|
+
|
|
5
|
+
/** Dependencies command registrars receive from the hub composition root. */
|
|
6
|
+
export interface CommandContext {
|
|
7
|
+
setWidgetContext(ctx: ExtensionContext): void;
|
|
8
|
+
applyWorkModeSelection(next: WorkMode, ctx: ExtensionContext): Promise<void>;
|
|
9
|
+
getWorkModeStatusText(): string;
|
|
10
|
+
openWorkModePicker(ctx: ExtensionContext): Promise<void>;
|
|
11
|
+
handleAgentsTeam(args: string, ctx: ExtensionContext): Promise<void>;
|
|
12
|
+
handleAgentsList(args: string, ctx: ExtensionContext): Promise<void>;
|
|
13
|
+
handleAgentsHistory(args: string, ctx: ExtensionContext): Promise<void>;
|
|
14
|
+
handleAgentsAdd(args: string, ctx: ExtensionContext): Promise<void>;
|
|
15
|
+
handleAgentsDrop(args: string, ctx: ExtensionContext): Promise<void>;
|
|
16
|
+
handleAgentsSave(args: string, ctx: ExtensionContext): Promise<void>;
|
|
17
|
+
handleAgentsKill(args: string, ctx: ExtensionContext): Promise<void>;
|
|
18
|
+
handleAgentsRestart(args: string, ctx: ExtensionContext): Promise<void>;
|
|
19
|
+
handleContext(args: string, ctx: ExtensionContext): Promise<void>;
|
|
20
|
+
handleHubReport(args: string, ctx: ExtensionContext): Promise<void>;
|
|
21
|
+
handleZoom(args: string, ctx: ExtensionContext): Promise<void>;
|
|
22
|
+
handleDispatchPolicy(args: string, ctx: ExtensionContext): Promise<void>;
|
|
23
|
+
handleAgentModel(args: string, ctx: ExtensionContext): Promise<void>;
|
|
24
|
+
handleAgentModelThinking(args: string, ctx: ExtensionContext): Promise<void>;
|
|
25
|
+
handleModels(args: string, ctx: ExtensionContext): Promise<void>;
|
|
26
|
+
handleAgentModelsSubstitute(args: string, ctx: ExtensionContext): Promise<void>;
|
|
27
|
+
handleWatchdog(args: string, ctx: ExtensionContext): Promise<void>;
|
|
28
|
+
handleComs(args: string, ctx: ExtensionContext): Promise<void>;
|
|
29
|
+
handleHandoff(args: string, ctx: ExtensionContext): Promise<void>;
|
|
30
|
+
handleCompound(args: string, ctx: ExtensionContext): Promise<void>;
|
|
31
|
+
getAgentsKillCompletions(prefix: string): AutocompleteItem[] | null;
|
|
32
|
+
getZoomCompletions(prefix: string): AutocompleteItem[] | null;
|
|
33
|
+
getAgentModelCompletions(prefix: string): AutocompleteItem[] | null;
|
|
34
|
+
getAgentModelThinkingCompletions(prefix: string): AutocompleteItem[] | null;
|
|
35
|
+
getModelProfileCompletions(prefix: string): AutocompleteItem[] | null;
|
|
36
|
+
getSubstituteCompletions(prefix: string): AutocompleteItem[] | null;
|
|
37
|
+
getComsPeerCompletions(prefix: string): AutocompleteItem[] | null;
|
|
38
|
+
getSubagentTargetCompletions(prefix: string): AutocompleteItem[] | null;
|
|
39
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerDispatchPolicy(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-dispatch-policy", {
|
|
6
|
+
description: "Show dispatch backend routing (dispatch-policy.yaml) for the active team",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleDispatchPolicy(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerHandoff(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-handoff", {
|
|
6
|
+
description: "Hand the session off to a coms peer (the dispatcher composes a self-contained brief): /af-handoff <peer>",
|
|
7
|
+
getArgumentCompletions: prefix => commandCtx.getComsPeerCompletions(prefix),
|
|
8
|
+
handler: async (args, ctx) => commandCtx.handleHandoff(args, ctx),
|
|
9
|
+
});
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerHubReport(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-hub-report", {
|
|
6
|
+
description: "Per-turn cost report: dispatches, research, tokens, recycles, drift stops (last turn + session totals)",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleHubReport(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerModels(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-models", {
|
|
6
|
+
description: "Apply a model profile to the team: /af-models [profile]",
|
|
7
|
+
getArgumentCompletions: prefix => commandCtx.getModelProfileCompletions(prefix),
|
|
8
|
+
handler: async (args, ctx) => commandCtx.handleModels(args, ctx),
|
|
9
|
+
});
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
|
+
import type { CommandContext } from "./context.ts";
|
|
3
|
+
|
|
4
|
+
export function registerWatchdog(pi: ExtensionAPI, commandCtx: CommandContext): void {
|
|
5
|
+
pi.registerCommand("af-watchdog", {
|
|
6
|
+
description: "Drift watchdog: /af-watchdog [on|off|auto] hub-wide, /af-watchdog <agent> [on|off|clear] per agent, no args to show",
|
|
7
|
+
handler: async (args, ctx) => commandCtx.handleWatchdog(args, ctx),
|
|
8
|
+
});
|
|
9
|
+
}
|