@openrig/cli 0.7.10 → 0.7.11
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/README.md +5 -5
- package/daemon/assets/claude-permission-policies.cjs +41 -0
- package/daemon/assets/claude-permission-policies.d.cts +3 -0
- package/daemon/assets/claude-team-permissions.cjs +13 -3
- package/daemon/assets/openshell/README.md +1 -1
- package/daemon/assets/pi-account-lock.cjs +39 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/marketplace.json +15 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +32 -0
- package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +39 -0
- package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +6 -0
- package/daemon/assets/plugins/openrig/LICENSE +200 -0
- package/daemon/assets/plugins/openrig/README.md +106 -0
- package/daemon/assets/plugins/openrig/assets/logo.svg +1 -0
- package/daemon/assets/plugins/openrig/mcp.json +10 -0
- package/daemon/assets/plugins/openrig/plugin.json +14 -0
- package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +90 -0
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +20 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +7 -0
- package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +1 -0
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +24 -8
- package/daemon/assets/plugins/openrig-core/skills/refocusing/SKILL.md +5 -0
- package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +26 -4
- package/daemon/context-packs/help/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +72 -9
- package/daemon/context-packs/reference/acp-agents.md +68 -0
- package/daemon/context-packs/reference/getting-started.md +3 -2
- package/daemon/context-packs/reference/manifest.yaml +4 -1
- package/daemon/context-packs/reference/rig-spec.md +63 -6
- package/daemon/context-packs/reference/tmux-servers.md +214 -0
- package/daemon/context-packs/reference/whats-new.md +271 -21
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/SKILL.md +7 -0
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/SKILL.md +1 -0
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +90 -0
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +10 -0
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/SKILL.md +24 -8
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/SKILL.md +5 -0
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +26 -4
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
- package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
- package/daemon/context-packs/world-example/manifest.yaml +1 -1
- package/daemon/context-packs/world-public/manifest.yaml +1 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts +3 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +41 -12
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +17 -3
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +6 -2
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +2 -0
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +36 -11
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts +2 -4
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +10 -41
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/openshell-podman-observer.d.ts.map +1 -1
- package/daemon/dist/adapters/openshell-podman-observer.js +5 -3
- package/daemon/dist/adapters/openshell-podman-observer.js.map +1 -1
- package/daemon/dist/adapters/pi-resume.d.ts +4 -1
- package/daemon/dist/adapters/pi-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-resume.js +38 -9
- package/daemon/dist/adapters/pi-resume.js.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.d.ts +4 -0
- package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.js +7 -0
- package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts +5 -0
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +79 -8
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts +6 -0
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.js +58 -23
- package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/tmux-control.d.ts +32 -1
- package/daemon/dist/adapters/tmux-control.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-control.js +149 -9
- package/daemon/dist/adapters/tmux-control.js.map +1 -1
- package/daemon/dist/adapters/tmux-server.d.ts +9 -0
- package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-server.js +12 -0
- package/daemon/dist/adapters/tmux-server.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +18 -0
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +164 -12
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +10 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/150_node_launch_wrapper.d.ts +3 -0
- package/daemon/dist/db/migrations/150_node_launch_wrapper.d.ts.map +1 -0
- package/daemon/dist/db/migrations/150_node_launch_wrapper.js +5 -0
- package/daemon/dist/db/migrations/150_node_launch_wrapper.js.map +1 -0
- package/daemon/dist/db/migrations/151_pi_account_switches.d.ts +4 -0
- package/daemon/dist/db/migrations/151_pi_account_switches.d.ts.map +1 -0
- package/daemon/dist/db/migrations/151_pi_account_switches.js +44 -0
- package/daemon/dist/db/migrations/151_pi_account_switches.js.map +1 -0
- package/daemon/dist/db/migrations/152_workflow_instance_spec.d.ts +8 -0
- package/daemon/dist/db/migrations/152_workflow_instance_spec.d.ts.map +1 -0
- package/daemon/dist/db/migrations/152_workflow_instance_spec.js +13 -0
- package/daemon/dist/db/migrations/152_workflow_instance_spec.js.map +1 -0
- package/daemon/dist/db/migrations/153_events_retention_marks.d.ts +7 -0
- package/daemon/dist/db/migrations/153_events_retention_marks.d.ts.map +1 -0
- package/daemon/dist/db/migrations/153_events_retention_marks.js +17 -0
- package/daemon/dist/db/migrations/153_events_retention_marks.js.map +1 -0
- package/daemon/dist/db/migrations/154_workflow_instance_root_objective.d.ts +7 -0
- package/daemon/dist/db/migrations/154_workflow_instance_root_objective.d.ts.map +1 -0
- package/daemon/dist/db/migrations/154_workflow_instance_root_objective.js +11 -0
- package/daemon/dist/db/migrations/154_workflow_instance_root_objective.js.map +1 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts +9 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
- package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
- package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
- package/daemon/dist/domain/agent-manifest.js +11 -1
- package/daemon/dist/domain/agent-manifest.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +43 -3
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +306 -22
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.d.ts +2 -0
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +12 -2
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/context-monitor.d.ts.map +1 -1
- package/daemon/dist/domain/context-monitor.js +3 -0
- package/daemon/dist/domain/context-monitor.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +10 -1
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/desired-claude-activity-hooks.d.ts +4 -3
- package/daemon/dist/domain/desired-claude-activity-hooks.d.ts.map +1 -1
- package/daemon/dist/domain/desired-claude-activity-hooks.js +49 -15
- package/daemon/dist/domain/desired-claude-activity-hooks.js.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.js +5 -1
- package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
- package/daemon/dist/domain/event-bus.d.ts +31 -0
- package/daemon/dist/domain/event-bus.d.ts.map +1 -1
- package/daemon/dist/domain/event-bus.js +87 -1
- package/daemon/dist/domain/event-bus.js.map +1 -1
- package/daemon/dist/domain/execution-view.d.ts +9 -0
- package/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/daemon/dist/domain/execution-view.js +13 -0
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/gateway/connections-projection.d.ts +13 -1
- package/daemon/dist/domain/gateway/connections-projection.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/connections-projection.js +38 -10
- package/daemon/dist/domain/gateway/connections-projection.js.map +1 -1
- package/daemon/dist/domain/gateway/dispatcher.d.ts +2 -0
- package/daemon/dist/domain/gateway/dispatcher.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/dispatcher.js +14 -1
- package/daemon/dist/domain/gateway/dispatcher.js.map +1 -1
- package/daemon/dist/domain/gateway/gateway-subsystem.d.ts +2 -0
- package/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/gateway-subsystem.js +1 -0
- package/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
- package/daemon/dist/domain/gateway/human-readiness.d.ts +7 -0
- package/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-readiness.js +45 -0
- package/daemon/dist/domain/gateway/human-readiness.js.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.d.ts +23 -3
- package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.js +66 -34
- package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.js +8 -2
- package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
- package/daemon/dist/domain/gateway/relay-config.d.ts +80 -0
- package/daemon/dist/domain/gateway/relay-config.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/relay-config.js +290 -0
- package/daemon/dist/domain/gateway/relay-config.js.map +1 -0
- package/daemon/dist/domain/gateway/relay-inbound.d.ts +74 -0
- package/daemon/dist/domain/gateway/relay-inbound.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/relay-inbound.js +739 -0
- package/daemon/dist/domain/gateway/relay-inbound.js.map +1 -0
- package/daemon/dist/domain/gateway/relay-outbound.d.ts +215 -0
- package/daemon/dist/domain/gateway/relay-outbound.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/relay-outbound.js +770 -0
- package/daemon/dist/domain/gateway/relay-outbound.js.map +1 -0
- package/daemon/dist/domain/gateway/slack/open-asks.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/open-asks.js +14 -1
- package/daemon/dist/domain/gateway/slack/open-asks.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +224 -32
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/hosts/pairing-ask.d.ts +10 -0
- package/daemon/dist/domain/hosts/pairing-ask.d.ts.map +1 -0
- package/daemon/dist/domain/hosts/pairing-ask.js +9 -0
- package/daemon/dist/domain/hosts/pairing-ask.js.map +1 -0
- package/daemon/dist/domain/launch-wrapper.d.ts +28 -0
- package/daemon/dist/domain/launch-wrapper.d.ts.map +1 -0
- package/daemon/dist/domain/launch-wrapper.js +93 -0
- package/daemon/dist/domain/launch-wrapper.js.map +1 -0
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js +85 -28
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.js +14 -3
- package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
- package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-lineage.js +32 -9
- package/daemon/dist/domain/native-process-lineage.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +7 -0
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +9 -2
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/outbox-handler.d.ts +53 -3
- package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
- package/daemon/dist/domain/outbox-handler.js +101 -6
- package/daemon/dist/domain/outbox-handler.js.map +1 -1
- package/daemon/dist/domain/parent-session-env.d.ts +2 -1
- package/daemon/dist/domain/parent-session-env.d.ts.map +1 -1
- package/daemon/dist/domain/parent-session-env.js +9 -1
- package/daemon/dist/domain/parent-session-env.js.map +1 -1
- package/daemon/dist/domain/parked-query.d.ts +6 -0
- package/daemon/dist/domain/parked-query.d.ts.map +1 -1
- package/daemon/dist/domain/parked-query.js +1 -0
- package/daemon/dist/domain/parked-query.js.map +1 -1
- package/daemon/dist/domain/pi-account-state.d.ts +6 -0
- package/daemon/dist/domain/pi-account-state.d.ts.map +1 -0
- package/daemon/dist/domain/pi-account-state.js +14 -0
- package/daemon/dist/domain/pi-account-state.js.map +1 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +6 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +10 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/policies/quiet-release.d.ts.map +1 -1
- package/daemon/dist/domain/policies/quiet-release.js +6 -3
- package/daemon/dist/domain/policies/quiet-release.js.map +1 -1
- package/daemon/dist/domain/projection-planner.d.ts +4 -1
- package/daemon/dist/domain/projection-planner.d.ts.map +1 -1
- package/daemon/dist/domain/projection-planner.js +3 -0
- package/daemon/dist/domain/projection-planner.js.map +1 -1
- package/daemon/dist/domain/queue-pickup.d.ts +20 -1
- package/daemon/dist/domain/queue-pickup.d.ts.map +1 -1
- package/daemon/dist/domain/queue-pickup.js +38 -6
- package/daemon/dist/domain/queue-pickup.js.map +1 -1
- package/daemon/dist/domain/queue-recovery.d.ts +14 -0
- package/daemon/dist/domain/queue-recovery.d.ts.map +1 -1
- package/daemon/dist/domain/queue-recovery.js +33 -1
- package/daemon/dist/domain/queue-recovery.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +76 -10
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +351 -44
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-retention.d.ts +68 -0
- package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
- package/daemon/dist/domain/queue-retention.js +133 -0
- package/daemon/dist/domain/queue-retention.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +22 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +577 -158
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transition-log.d.ts +49 -1
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +216 -3
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +7 -2
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/quiet-hold-custody.d.ts.map +1 -1
- package/daemon/dist/domain/quiet-hold-custody.js +7 -3
- package/daemon/dist/domain/quiet-hold-custody.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +13 -2
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +63 -26
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +3 -0
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +46 -1
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +4 -0
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +5 -0
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +17 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +68 -20
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +10 -0
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +26 -1
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +1 -0
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/runtime-switch-materials.d.ts +1 -1
- package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-switch-materials.js +2 -2
- package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
- package/daemon/dist/domain/seat-activity-service.d.ts +38 -1
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +59 -1
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts +13 -0
- package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +45 -1
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.d.ts +1 -0
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +38 -11
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts +10 -0
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +62 -15
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +7 -3
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +2 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +19 -1
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-home.d.ts +4 -1
- package/daemon/dist/domain/seat-runtime-home.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-home.js +6 -4
- package/daemon/dist/domain/seat-runtime-home.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.js +73 -10
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
- package/daemon/dist/domain/seat-skill-storage.d.ts +57 -4
- package/daemon/dist/domain/seat-skill-storage.d.ts.map +1 -1
- package/daemon/dist/domain/seat-skill-storage.js +338 -8
- package/daemon/dist/domain/seat-skill-storage.js.map +1 -1
- package/daemon/dist/domain/seat-status-service.d.ts +2 -2
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +3 -2
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/self-attach-service.d.ts.map +1 -1
- package/daemon/dist/domain/self-attach-service.js +11 -4
- package/daemon/dist/domain/self-attach-service.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +25 -2
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +199 -30
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/skill-catalog.d.ts +37 -0
- package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
- package/daemon/dist/domain/skill-catalog.js +152 -3
- package/daemon/dist/domain/skill-catalog.js.map +1 -1
- package/daemon/dist/domain/slices/slice-detail-projector.d.ts +1 -1
- package/daemon/dist/domain/slices/slice-detail-projector.d.ts.map +1 -1
- package/daemon/dist/domain/slices/slice-detail-projector.js +11 -13
- package/daemon/dist/domain/slices/slice-detail-projector.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +7 -1
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts +1 -0
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +1 -0
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/terminal/earlier-tile-attach-0711.d.ts +2 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0711.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0711.js +146 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0711.js.map +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach.d.ts +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/earlier-tile-attach.js +42 -1
- package/daemon/dist/domain/terminal/earlier-tile-attach.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-follow-view.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-follow-view.js +43 -19
- package/daemon/dist/domain/terminal/herdr-follow-view.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-viewer.d.ts +7 -4
- package/daemon/dist/domain/terminal/herdr-viewer.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-viewer.js +101 -47
- package/daemon/dist/domain/terminal/herdr-viewer.js.map +1 -1
- package/daemon/dist/domain/terminal/terminal-following.js +3 -3
- package/daemon/dist/domain/terminal/terminal-following.js.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.js +16 -1
- package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.d.ts +6 -3
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +11 -46
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
- package/daemon/dist/domain/tmux-server-selection.d.ts.map +1 -1
- package/daemon/dist/domain/tmux-server-selection.js +8 -2
- package/daemon/dist/domain/tmux-server-selection.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +18 -1
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +48 -0
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/view-event-bridge.js +1 -1
- package/daemon/dist/domain/view-event-bridge.js.map +1 -1
- package/daemon/dist/domain/view-projector.d.ts +4 -1
- package/daemon/dist/domain/view-projector.d.ts.map +1 -1
- package/daemon/dist/domain/view-projector.js +9 -4
- package/daemon/dist/domain/view-projector.js.map +1 -1
- package/daemon/dist/domain/wake-recovery.d.ts.map +1 -1
- package/daemon/dist/domain/wake-recovery.js +9 -2
- package/daemon/dist/domain/wake-recovery.js.map +1 -1
- package/daemon/dist/domain/workflow-exception-escalation.d.ts +3 -2
- package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-exception-escalation.js +1 -1
- package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.d.ts +8 -1
- package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.js +21 -3
- package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.js +2 -1
- package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.d.ts +4 -1
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +20 -7
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.d.ts +24 -4
- package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.js +87 -7
- package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
- package/daemon/dist/domain/workflow-spec-unregister.d.ts +36 -0
- package/daemon/dist/domain/workflow-spec-unregister.d.ts.map +1 -0
- package/daemon/dist/domain/workflow-spec-unregister.js +105 -0
- package/daemon/dist/domain/workflow-spec-unregister.js.map +1 -0
- package/daemon/dist/domain/workflow-types.d.ts +14 -0
- package/daemon/dist/domain/workflow-types.d.ts.map +1 -1
- package/daemon/dist/index.d.ts +2 -1
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +23 -5
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/learned-host-bindings-surface.d.ts +2 -0
- package/daemon/dist/learned-host-bindings-surface.d.ts.map +1 -0
- package/daemon/dist/learned-host-bindings-surface.js +4 -0
- package/daemon/dist/learned-host-bindings-surface.js.map +1 -0
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +37 -2
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/adapters.d.ts.map +1 -1
- package/daemon/dist/routes/adapters.js +4 -0
- package/daemon/dist/routes/adapters.js.map +1 -1
- package/daemon/dist/routes/compaction.js +2 -0
- package/daemon/dist/routes/compaction.js.map +1 -1
- package/daemon/dist/routes/events.js +4 -0
- package/daemon/dist/routes/events.js.map +1 -1
- package/daemon/dist/routes/gateway.d.ts +3 -0
- package/daemon/dist/routes/gateway.d.ts.map +1 -1
- package/daemon/dist/routes/gateway.js +58 -8
- package/daemon/dist/routes/gateway.js.map +1 -1
- package/daemon/dist/routes/hosts.d.ts.map +1 -1
- package/daemon/dist/routes/hosts.js +298 -35
- package/daemon/dist/routes/hosts.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +10 -3
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +4 -3
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/terminal-ws.d.ts +1 -0
- package/daemon/dist/routes/terminal-ws.d.ts.map +1 -1
- package/daemon/dist/routes/terminal-ws.js +1 -1
- package/daemon/dist/routes/terminal-ws.js.map +1 -1
- package/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/daemon/dist/routes/workflow.js +24 -0
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/server.d.ts +2 -0
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +7 -2
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +65 -15
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.d.ts +18 -13
- package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.js +113 -76
- package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
- package/daemon/dist/terminal/window-pin.d.ts +3 -3
- package/daemon/dist/terminal/window-pin.d.ts.map +1 -1
- package/daemon/dist/terminal/window-pin.js +2 -2
- package/daemon/dist/terminal/window-pin.js.map +1 -1
- package/daemon/docs/reference/acp-agents.md +68 -0
- package/daemon/docs/reference/agent-spec.md +53 -1
- package/daemon/docs/reference/agent-startup-guide.md +28 -0
- package/daemon/docs/reference/agent-state-taxonomy.md +7 -0
- package/daemon/docs/reference/daemon-http-clients.md +16 -7
- package/daemon/docs/reference/gateway-participants.md +4 -1
- package/daemon/docs/reference/gateway-relay.md +239 -0
- package/daemon/docs/reference/getting-started.md +3 -2
- package/daemon/docs/reference/hosted-members.md +38 -1
- package/daemon/docs/reference/project-workspace.md +4 -0
- package/daemon/docs/reference/quickstart.md +1 -1
- package/daemon/docs/reference/reconstructions.md +90 -0
- package/daemon/docs/reference/rig-spec.md +63 -6
- package/daemon/docs/reference/seat-delivery.md +20 -0
- package/daemon/docs/reference/terminal-sessions.md +88 -26
- package/daemon/docs/reference/tmux-servers.md +48 -0
- package/daemon/docs/reference/whats-new.md +271 -21
- package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +7 -0
- package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +1 -0
- package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +90 -0
- package/dist/acp/agent-server.d.ts +126 -0
- package/dist/acp/agent-server.d.ts.map +1 -0
- package/dist/acp/agent-server.js +449 -0
- package/dist/acp/agent-server.js.map +1 -0
- package/dist/acp/json-rpc-stdio.d.ts +24 -10
- package/dist/acp/json-rpc-stdio.d.ts.map +1 -1
- package/dist/acp/json-rpc-stdio.js +58 -36
- package/dist/acp/json-rpc-stdio.js.map +1 -1
- package/dist/bin-wrapper.d.ts.map +1 -1
- package/dist/bin-wrapper.js +3 -1
- package/dist/bin-wrapper.js.map +1 -1
- package/dist/build-info.js +3 -3
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +7 -0
- package/dist/client.js.map +1 -1
- package/dist/commands/acp.d.ts +14 -0
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/acp.js +189 -2
- package/dist/commands/acp.js.map +1 -1
- package/dist/commands/attach.js +1 -1
- package/dist/commands/attach.js.map +1 -1
- package/dist/commands/capture.js +6 -6
- package/dist/commands/capture.js.map +1 -1
- package/dist/commands/compact.d.ts.map +1 -1
- package/dist/commands/compact.js +14 -2
- package/dist/commands/compact.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +35 -6
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context-reconstruction.d.ts +5 -0
- package/dist/commands/context-reconstruction.d.ts.map +1 -0
- package/dist/commands/context-reconstruction.js +69 -0
- package/dist/commands/context-reconstruction.js.map +1 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +2 -0
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +5 -2
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +61 -0
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/gateway.d.ts.map +1 -1
- package/dist/commands/gateway.js +15 -7
- package/dist/commands/gateway.js.map +1 -1
- package/dist/commands/host.d.ts.map +1 -1
- package/dist/commands/host.js +59 -12
- package/dist/commands/host.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +29 -5
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +4 -1
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/ps.d.ts +2 -0
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +3 -1
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue.d.ts +3 -0
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +203 -67
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +15 -3
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/stream.d.ts.map +1 -1
- package/dist/commands/stream.js +24 -1
- package/dist/commands/stream.js.map +1 -1
- package/dist/commands/terminal.js +1 -1
- package/dist/commands/workflow-render.d.ts +4 -0
- package/dist/commands/workflow-render.d.ts.map +1 -1
- package/dist/commands/workflow-render.js +7 -0
- package/dist/commands/workflow-render.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +69 -1
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.d.ts +8 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +52 -1
- package/dist/config-store.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +2 -0
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +38 -5
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/daemon-reachability.d.ts +1 -1
- package/dist/daemon-reachability.d.ts.map +1 -1
- package/dist/daemon-reachability.js +4 -2
- package/dist/daemon-reachability.js.map +1 -1
- package/dist/lib/reconstruction-reader.d.ts +122 -0
- package/dist/lib/reconstruction-reader.d.ts.map +1 -0
- package/dist/lib/reconstruction-reader.js +481 -0
- package/dist/lib/reconstruction-reader.js.map +1 -0
- package/dist/lib/work-install.d.ts +28 -0
- package/dist/lib/work-install.d.ts.map +1 -1
- package/dist/lib/work-install.js +80 -20
- package/dist/lib/work-install.js.map +1 -1
- package/dist/mcp-http.d.ts +7 -0
- package/dist/mcp-http.d.ts.map +1 -1
- package/dist/mcp-http.js +30 -6
- package/dist/mcp-http.js.map +1 -1
- package/dist/mcp-server.d.ts +33 -3
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +443 -52
- package/dist/mcp-server.js.map +1 -1
- package/dist/queue-artifact.d.ts +57 -0
- package/dist/queue-artifact.d.ts.map +1 -0
- package/dist/queue-artifact.js +70 -0
- package/dist/queue-artifact.js.map +1 -0
- package/dist/queue-receipt.d.ts.map +1 -1
- package/dist/queue-receipt.js +4 -3
- package/dist/queue-receipt.js.map +1 -1
- package/dist/system-preflight.d.ts.map +1 -1
- package/dist/system-preflight.js +15 -7
- package/dist/system-preflight.js.map +1 -1
- package/dist/terminal-window.d.ts.map +1 -1
- package/dist/terminal-window.js +13 -10
- package/dist/terminal-window.js.map +1 -1
- package/package.json +1 -1
- package/tui/dist/attention/attention-model.d.ts +2 -1
- package/tui/dist/attention/attention-model.d.ts.map +1 -1
- package/tui/dist/attention/attention-model.js +18 -4
- package/tui/dist/attention/attention-model.js.map +1 -1
- package/tui/dist/config/config-model.d.ts.map +1 -1
- package/tui/dist/config/config-model.js +2 -1
- package/tui/dist/config/config-model.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +7 -0
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +15 -4
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/demo-data.js +2 -2
- package/tui/dist/demo-data.js.map +1 -1
- package/tui/dist/main.js +5 -1
- package/tui/dist/main.js.map +1 -1
- package/ui/dist/assets/index-BOYrLyfQ.js +623 -0
- package/ui/dist/assets/index-DqSRu4OY.css +32 -0
- package/ui/dist/index.html +2 -2
- package/ui/dist/assets/index-BFOs3ejL.css +0 -32
- package/ui/dist/assets/index-CdkFwtld.js +0 -623
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: working-with-an-openrig-team
|
|
3
|
+
description: >-
|
|
4
|
+
Use when you are a person's coding agent in an app such as Claude Code, Codex, Cursor or VS Code, connected through the
|
|
5
|
+
OpenRig MCP server, and the person wants their OpenRig team to do some work, wants to know how that work is going,
|
|
6
|
+
has a question from the team to answer, or wants to read what the team returned.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Working with an OpenRig team from your app
|
|
10
|
+
|
|
11
|
+
The person runs a team of agents with OpenRig: each agent has its own terminal, and they keep working after this chat ends.
|
|
12
|
+
You aren't one of those terminals. You're the person's front door to the team: you hand it work, follow that work, bring
|
|
13
|
+
the team's questions to the person, and bring back what it produced. The MCP server's own instructions say how its tools
|
|
14
|
+
behave; this skill is the loop around them.
|
|
15
|
+
|
|
16
|
+
## Check the connection first
|
|
17
|
+
|
|
18
|
+
- Call `rig_whoami`. It names the seat this connection acts as. Every item you create is recorded as coming from that seat,
|
|
19
|
+
and the team's questions about your work come back to it.
|
|
20
|
+
- If it has no seat, you can still hand the team work. It goes as the unknown sender `rig_whoami` names, with no return
|
|
21
|
+
address, so tell the person the `qitemId` and follow it with `rig_queue_show`. Receiving the team's questions and
|
|
22
|
+
replies, recording the person's answers and listing your own work need a seat: offer to set one (the last section).
|
|
23
|
+
- Call `rig_team` with the rig's name: it shows the team's seats, what each is for, and its lead. Work goes to the lead
|
|
24
|
+
unless the person names a seat.
|
|
25
|
+
- If `lead` is null (its `leadNote` says why), and the team has exactly one seat, send work there. Otherwise, ask the person
|
|
26
|
+
which seat should take it.
|
|
27
|
+
|
|
28
|
+
## Hand the team work
|
|
29
|
+
|
|
30
|
+
- Use `rig_queue_create` with `destination` (the lead, or the seat the person chose) and `body`. Write the body for a
|
|
31
|
+
capable colleague: the goal, why it matters, what done looks like, and where to look. Add a one-line `summary`.
|
|
32
|
+
- Tell the person the `qitemId` it returns. It's how both of you find this work again.
|
|
33
|
+
- If the call times out, check `rig_queue_show` with that same `qitemId` before trying again. If you retry, pass the same id
|
|
34
|
+
as `qitemId`. Never retry with a new one: that creates the work twice.
|
|
35
|
+
|
|
36
|
+
## Follow it
|
|
37
|
+
|
|
38
|
+
- `rig_queue_show` with the `qitemId` gives its state, its current owner and its transitions.
|
|
39
|
+
- When a seat hands the work on, the item names the next one. Follow the chain to the newest item before you report.
|
|
40
|
+
- Report what the record says. An accepted or claimed item isn't finished work, and a quiet one isn't stuck: say what you
|
|
41
|
+
saw and when it last changed.
|
|
42
|
+
- Nothing wakes this chat when the team finishes. Check again when the person asks, or when they come back.
|
|
43
|
+
|
|
44
|
+
## The team's questions
|
|
45
|
+
|
|
46
|
+
- Questions about your work come to your seat: `rig_queue_list` with `owned` lists them.
|
|
47
|
+
- Show the person the question and the team's draft, in their own words where the item gives them. Then ask for an answer.
|
|
48
|
+
- Record only what the person actually tells you. Claim the item (`rig_queue_claim`), then close it with
|
|
49
|
+
`rig_queue_update`: `state` `done`, `closureReason` `no-follow-on`, and exactly what the person typed in `resolution`,
|
|
50
|
+
nothing else: no label such as "The person's answer:", no quotation marks, and no notes, paths or summaries of your own.
|
|
51
|
+
If the person isn't there to answer, leave the item open and tell them it's waiting. Never choose an answer for them.
|
|
52
|
+
- Some questions go to the person directly, outside your seat. Those wait for them where they already answer the team,
|
|
53
|
+
such as the OpenRig TUI or Slack. You can mention that they're waiting; answering them isn't yours.
|
|
54
|
+
|
|
55
|
+
## Read the result
|
|
56
|
+
|
|
57
|
+
- When the item is `done`, its `resolution` is the answer, and its transitions hold the notes the team recorded.
|
|
58
|
+
- If it names an `evidenceRef`, read it with `rig_artifact_read`, passing the item's `qitemId`, not the path. The tool
|
|
59
|
+
reads the item's `evidenceRef` within the shared roots this connection may read. For another file in a shared root,
|
|
60
|
+
pass the root's name and `path`. If the connection can't read it, give the person the path.
|
|
61
|
+
- To ask for changes, create a new item with `revises` set to the earlier `qitemId`, so the revision stays with the
|
|
62
|
+
original work.
|
|
63
|
+
|
|
64
|
+
## Come back later
|
|
65
|
+
|
|
66
|
+
- `rig_queue_list` with `mine` lists what this seat sent or owns. Add `all` to include finished work, or `since` to see
|
|
67
|
+
what changed after a time.
|
|
68
|
+
- A new chat with the same seat reaches the same work. Items outlive conversations.
|
|
69
|
+
|
|
70
|
+
## Set it up (once, with the person)
|
|
71
|
+
|
|
72
|
+
1. OpenRig runs on this machine with a team: `rig ps` lists the person's rigs.
|
|
73
|
+
2. Pick an address for this app on one of those rigs, for example `cursor@my-team`. It's an address the queue takes items
|
|
74
|
+
for; nothing is launched for it. To tell the team what it's for, the person can add it to a roster as a hosted member
|
|
75
|
+
(`docs/reference/hosted-members.md` in the OpenRig package).
|
|
76
|
+
3. Connect the app to that address, then start a new session so the MCP server starts with it:
|
|
77
|
+
- **Claude Code:** set it as the plugin's OpenRig seat in the plugin's settings.
|
|
78
|
+
- **Codex:** run `codex mcp add openrig --env OPENRIG_SESSION_NAME=<address> -- rig mcp serve --front-door`. Codex
|
|
79
|
+
does not forward every shell environment variable to MCP servers by default, so if the team's OpenRig home isn't the
|
|
80
|
+
default, add `--env OPENRIG_HOME=<that home>` too.
|
|
81
|
+
- **Another app:** add an MCP server that runs `rig mcp serve --front-door` with `OPENRIG_SESSION_NAME` set to the
|
|
82
|
+
address, and turn the plugin's `openrig` server off, so the app runs one. In VS Code, give yours another name, such
|
|
83
|
+
as `openrig-seat`; in Cursor, disable **openrig · Plugin**. Starting the app from a shell with the variable set lasts
|
|
84
|
+
only for that launch.
|
|
85
|
+
|
|
86
|
+
## What this doesn't do
|
|
87
|
+
|
|
88
|
+
- It doesn't add a panel to the app, and nothing wakes this chat when the team finishes.
|
|
89
|
+
- Anyone using this app on this machine acts as the seat the plugin names.
|
|
90
|
+
- It reaches a team on this machine. A team hosted elsewhere needs that host's own connection.
|
|
@@ -46,6 +46,24 @@ function firstString(...values) {
|
|
|
46
46
|
return null;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
// #2702: the conversation this event belongs to. A harness started inside a seat (a Codex helper a Claude seat runs, or
|
|
50
|
+
// a Claude a Codex seat runs) inherits the seat's environment and so posts as the seat; the daemon tells it apart by
|
|
51
|
+
// whether the transcript is the seat's runtime's own. Whether the runtime sent transcript_path is kept apart from its
|
|
52
|
+
// value, as on session identity (#1524). claudeHook is whether CLAUDE_PROJECT_DIR is set: the marker Claude Code gives
|
|
53
|
+
// its hook commands, and also the LSP, status line and MCP processes it starts. Neither Codex nor OpenRig sets it, so
|
|
54
|
+
// it's evidence that a Claude Code process ran this, not proof. Only whether it is set is sent.
|
|
55
|
+
// A Claude permission request's report keeps its fixed field list (below).
|
|
56
|
+
function conversationFields(providerPayload, env) {
|
|
57
|
+
const sessionId = firstString(providerPayload.session_id, providerPayload.sessionId);
|
|
58
|
+
const transcriptPathPresent = Object.prototype.hasOwnProperty.call(providerPayload, "transcript_path");
|
|
59
|
+
return {
|
|
60
|
+
...(sessionId ? { sessionId } : {}),
|
|
61
|
+
transcriptPathPresent,
|
|
62
|
+
...(transcriptPathPresent ? { transcriptPath: providerPayload.transcript_path } : {}),
|
|
63
|
+
claudeHook: firstString(env.CLAUDE_PROJECT_DIR) !== null,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
49
67
|
// The route this run reports by, so the daemon can count one event once per route: "plugin" for the plugin's hook
|
|
50
68
|
// (started with --from-plugin), "managed" for the settings or managed hook copy.
|
|
51
69
|
function buildOpenRigPayload(providerPayload, env = process.env, now = () => new Date(), argv = process.argv) {
|
|
@@ -111,6 +129,7 @@ function buildOpenRigPayload(providerPayload, env = process.env, now = () => new
|
|
|
111
129
|
turnId: firstString(providerPayload.turn_id, providerPayload.turnId),
|
|
112
130
|
occurredAt: now().toISOString(),
|
|
113
131
|
relayRoute: argv.includes("--from-plugin") ? "plugin" : "managed",
|
|
132
|
+
...conversationFields(providerPayload, env),
|
|
114
133
|
};
|
|
115
134
|
}
|
|
116
135
|
|
|
@@ -219,6 +238,7 @@ function buildSessionIdentityPayload(providerPayload, env = process.env, now = (
|
|
|
219
238
|
sessionId,
|
|
220
239
|
transcriptPathPresent,
|
|
221
240
|
...(transcriptPathPresent ? { transcriptPath: providerPayload.transcript_path } : {}),
|
|
241
|
+
claudeHook: firstString(env.CLAUDE_PROJECT_DIR) !== null,
|
|
222
242
|
occurredAt: now().toISOString(),
|
|
223
243
|
};
|
|
224
244
|
}
|
|
@@ -287,6 +287,13 @@ function renderTrace() {
|
|
|
287
287
|
}
|
|
288
288
|
// With an explicit start, the evidence supplies only held and next work.
|
|
289
289
|
if (explicitStart && evidence) args.push("--work-candidates", "-");
|
|
290
|
+
// Catalogued project roots the daemon knows, so work in a project outside workspace.root
|
|
291
|
+
// traces to its own root instead of failing as "outside configured root" (#2693).
|
|
292
|
+
if (trees !== "topology") {
|
|
293
|
+
for (const workRoot of whoami?.answer?.workRoots ?? []) {
|
|
294
|
+
if (typeof workRoot === "string" && workRoot) args.push("--work-root", workRoot);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
290
297
|
const env = traceEnv(trees);
|
|
291
298
|
const timeout = lookupTimeout(contentReserveMs());
|
|
292
299
|
const result = timeout <= MIN_LOOKUP_MS
|
|
@@ -87,6 +87,7 @@ These ship in the OpenRig repo and reach a seat when its profile selects them. T
|
|
|
87
87
|
- **watchdog** — monitoring or recovering a seat (health, restore, stuck state).
|
|
88
88
|
- **session-source-fork** — forking a session's source/context.
|
|
89
89
|
- **context-engineering** — designing context systems. Provisional and non-normative: current OpenRig skills, explicit rulings, and measured practice outrank it on any conflict.
|
|
90
|
+
- **working-with-an-openrig-team** — a person's own agent in an app (Claude Code, Codex, Cursor, VS Code) works with their team through `rig mcp serve`: hand work over, follow it, answer the team's questions, read results. The `openrig` app plugin loads it; a seat helping someone connect an app can open it with `rig context get skills/core/working-with-an-openrig-team/SKILL.md`.
|
|
90
91
|
|
|
91
92
|
Pod handbooks (load when you're in that pod):
|
|
92
93
|
- **orchestration-team** — you're orchestrating a rig: dispatching, monitoring, keeping the loop moving.
|
|
@@ -101,6 +101,10 @@ when the command exits 0. A non-zero exit means no row was confirmed, even when
|
|
|
101
101
|
indeterminate answer repeats the request ID so you can reconcile by it. Don't merge stderr into stdout and keep the
|
|
102
102
|
first `qitem-…` you find there; a refused create prints its request ID first, too.
|
|
103
103
|
|
|
104
|
+
A timed-out write can still land late. To retry a `create` or `rig stream emit` safely, repeat it unchanged with the
|
|
105
|
+
same `--id` (create's request ID, or the emit's own), since the daemon keeps one row or item per ID; an emit sent
|
|
106
|
+
without `--id` has no ID to reuse, so look for it with `rig stream list --source <seat>` before emitting again.
|
|
107
|
+
|
|
104
108
|
Read back (`rig queue show <id> --full --json`, or `rig queue transitions <id>`) when the answer doesn't show what you
|
|
105
109
|
need, for example:
|
|
106
110
|
|
|
@@ -1624,10 +1628,11 @@ rig mcp token list [--json]
|
|
|
1624
1628
|
rig mcp token revoke <name>
|
|
1625
1629
|
```
|
|
1626
1630
|
|
|
1627
|
-
The
|
|
1628
|
-
grant offers the work tools; the workspace tools with `--workspace` or `--owner`; and the owner tools only
|
|
1629
|
-
`--owner`, which offers every tool.
|
|
1630
|
-
|
|
1631
|
+
The 39 shipped tools fall into four groups. Over stdio, and over HTTP with no grants, every tool but the person tools is
|
|
1632
|
+
offered. An HTTP grant offers the work tools; the workspace tools with `--workspace` or `--owner`; and the owner tools only
|
|
1633
|
+
with `--owner`, which offers every tool but the person tools. Only a grant service's grant that names its person offers
|
|
1634
|
+
the person tools.
|
|
1635
|
+
- **Work (20):** orientation, communication and the durable work loop.
|
|
1631
1636
|
- `rig_whoami`: the seat the server acts as (rig, pod, peers, edges) and the `caller`: authenticated (an HTTP
|
|
1632
1637
|
credential, with its principal) or declared (`OPENRIG_SESSION_NAME` where the server was configured, which nothing
|
|
1633
1638
|
verifies).
|
|
@@ -1645,8 +1650,12 @@ grant offers the work tools; the workspace tools with `--workspace` or `--owner`
|
|
|
1645
1650
|
- `rig_artifact_read`: a finished item's artifact (its `evidenceRef`) or a named file, through the daemon's shared
|
|
1646
1651
|
roots (`OPENRIG_FILES_ALLOWLIST`), in windows (`offset`, `nextOffset`). Outside those roots it answers unavailable
|
|
1647
1652
|
rather than reading a local path.
|
|
1653
|
+
- `rig_environment_export`: copies a bound worker's JSON artifact to the host, checks its bytes, schema and context, and
|
|
1654
|
+
adds a receipt to its existing work. It doesn't close the work, stop compute or restore native history, and it needs
|
|
1655
|
+
an authenticated HTTP work connection.
|
|
1648
1656
|
- `rig_human_decision_room`, then `rig_queue_decide`: on your own pending ask to a person, read the decision room of
|
|
1649
|
-
the mode they have on, and record a decision you made for them inside it.
|
|
1657
|
+
the mode they have on, and record a decision you made for them inside it. Only the person tools record a person's own
|
|
1658
|
+
answer, and only for the person a grant names.
|
|
1650
1659
|
- **Workspace (4):** `rig_slices`, `rig_mission`, `rig_context_pack`, and `rig_context_get` (one context file or
|
|
1651
1660
|
section, as `rig context get` reads it).
|
|
1652
1661
|
- **Owner (13):** `rig_up`, `rig_down`, `rig_snapshot_create`, `rig_snapshot_list`, `rig_discover`, `rig_bind`,
|
|
@@ -1654,16 +1663,23 @@ grant offers the work tools; the workspace tools with `--workspace` or `--owner`
|
|
|
1654
1663
|
of event metadata), and:
|
|
1655
1664
|
- `rig_restore`, which starts a restore and returns its attempt;
|
|
1656
1665
|
- `rig_restore_status`, that attempt's receipt.
|
|
1666
|
+
- **Person (2):** `rig_question_list` and `rig_question_answer`, offered only on a grant service's grant that names the
|
|
1667
|
+
person who owns the connection (`person.entity_id`, with the `question` pair). They list the team's questions waiting on
|
|
1668
|
+
that person, as Steering shows them, and record that person's own answer, given through the connection: `answer` for an
|
|
1669
|
+
ask, which returns their words to the asker, and `resolve` for a park. `docs/reference/hosted-members.md` has the
|
|
1670
|
+
contract.
|
|
1657
1671
|
|
|
1658
1672
|
**Results:**
|
|
1659
1673
|
- A structured result comes beside the text from the queue tools, `rig_whoami`, `rig_team`, the four workspace tools,
|
|
1660
|
-
`rig_artifact_read`, `rig_human_decision_room` and
|
|
1674
|
+
`rig_artifact_read`, `rig_human_decision_room`, `rig_restore_status` and the person tools. The other tools answer in
|
|
1675
|
+
text.
|
|
1661
1676
|
- Every failure carries the same structured shape: `ok: false`, a `code` and a `message`.
|
|
1662
1677
|
|
|
1663
1678
|
**Identity:**
|
|
1664
1679
|
- **Over stdio, and over HTTP with no grants:** the server acts as one seat, the `OPENRIG_SESSION_NAME` in its
|
|
1665
|
-
environment. Every request carries that identity, so no tool call names a sender. Without it,
|
|
1666
|
-
|
|
1680
|
+
environment. Every request carries that identity, so no tool call names a sender. Without it, messages, new tasks and
|
|
1681
|
+
chat go through as an unknown sender (`unknown-mcp-` and eight hex digits, one per `rig mcp serve` process) with a
|
|
1682
|
+
note at the top, and claim, update, hand off, unclaim and decide are refused with `actor_required`.
|
|
1667
1683
|
- **Over HTTP with grants:** each caller acts as its own grant's seat.
|
|
1668
1684
|
|
|
1669
1685
|
### Over HTTP: an assistant that can't start a local process
|
|
@@ -52,6 +52,11 @@ the complete node and notes bodies. The script resolves `topology.root` and `wor
|
|
|
52
52
|
`rig config get`. When a known current node must be supplied, pass `--work-start` or
|
|
53
53
|
`--topology-start` with its literal absolute path in the same plain command. Do not
|
|
54
54
|
substitute the project root for a mission or slice node and claim that mission was traced.
|
|
55
|
+
A catalogued project's root can sit outside `workspace.root`. The refocus hook passes the daemon's
|
|
56
|
+
catalogued project roots as `--work-root`, and the work trace ascends to the deepest known root that
|
|
57
|
+
contains the node. Run by hand, pass the project root with `--work-root` (repeatable) or
|
|
58
|
+
`OPENRIG_REFOCUS_WORK_ROOT`. Don't point `OPENRIG_WORKSPACE_ROOT` at the project instead: the CLI reads
|
|
59
|
+
that variable as `workspace.root` too.
|
|
55
60
|
|
|
56
61
|
The trace walks the topology and work trees. For the project's own declared context (intent, context files,
|
|
57
62
|
skills), `rig context work-install` lists it; read what the next action needs.
|
|
@@ -42,6 +42,25 @@ def configured_root(key, env_key):
|
|
|
42
42
|
return Path(value).expanduser().resolve() if value else None
|
|
43
43
|
|
|
44
44
|
|
|
45
|
+
def extra_work_roots(cli_roots):
|
|
46
|
+
"""Roots beyond workspace.root that the work trace may ascend to: a catalogued project
|
|
47
|
+
can live outside workspace.root (#2693). Refocus-only, unlike OPENRIG_WORKSPACE_ROOT,
|
|
48
|
+
which the CLI config store also reads as workspace.root."""
|
|
49
|
+
values = list(cli_roots or [])
|
|
50
|
+
values += [part for part in (os.environ.get("OPENRIG_REFOCUS_WORK_ROOT") or "").split(os.pathsep) if part]
|
|
51
|
+
return [Path(value).expanduser().resolve() for value in values]
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def work_root_for(start, root, extra_roots):
|
|
55
|
+
"""The deepest known root that contains start; workspace.root when none does, so a node
|
|
56
|
+
outside every known root still reports the same gap."""
|
|
57
|
+
if start is None or not extra_roots:
|
|
58
|
+
return root
|
|
59
|
+
start = Path(start).expanduser().resolve()
|
|
60
|
+
containing = [candidate for candidate in (root, *extra_roots) if under_root(start, candidate)]
|
|
61
|
+
return max(containing, key=lambda candidate: len(candidate.parts)) if containing else root
|
|
62
|
+
|
|
63
|
+
|
|
45
64
|
def under_root(path, root):
|
|
46
65
|
try:
|
|
47
66
|
path.relative_to(root)
|
|
@@ -385,7 +404,7 @@ def render_held_and_next(evidence):
|
|
|
385
404
|
return "\n".join(output)
|
|
386
405
|
|
|
387
406
|
|
|
388
|
-
def render_candidates(evidence, root, depth, failures):
|
|
407
|
+
def render_candidates(evidence, root, depth, failures, extra_roots=()):
|
|
389
408
|
"""The work section from labelled queue evidence. One direct, resolved tag is shown as the
|
|
390
409
|
work with its source; anything less certain lists every candidate and asks the agent."""
|
|
391
410
|
candidates = evidence.get("candidates") or []
|
|
@@ -396,7 +415,8 @@ def render_candidates(evidence, root, depth, failures):
|
|
|
396
415
|
notes = [f"WORK FROM QUEUE EVIDENCE — {only.get('source')}. If this is stale, say what you are actually doing."]
|
|
397
416
|
if not only.get("slice"):
|
|
398
417
|
notes.append("no slice named")
|
|
399
|
-
|
|
418
|
+
start = Path(only["workNodePath"])
|
|
419
|
+
traced = render_work(start, work_root_for(start, root, extra_roots), depth, failures, packet=True)
|
|
400
420
|
head, _, rest = traced.partition("\n")
|
|
401
421
|
return "\n".join([head, *notes, rest])
|
|
402
422
|
|
|
@@ -503,6 +523,7 @@ def main():
|
|
|
503
523
|
parser.add_argument("--depth", choices=("light", "full"), default=os.environ.get("OPENRIG_REFOCUS_DEPTH", "light"))
|
|
504
524
|
parser.add_argument("--topology-start")
|
|
505
525
|
parser.add_argument("--work-start")
|
|
526
|
+
parser.add_argument("--work-root", action="append", default=[], help="an extra root the work trace may ascend to, for a catalogued project outside workspace.root; repeatable (also OPENRIG_REFOCUS_WORK_ROOT, separated by the OS path separator)")
|
|
506
527
|
parser.add_argument("--work-basis", help="the daemon's reason no current work node was named")
|
|
507
528
|
parser.add_argument("--work-unknown", help="why the current work node could not be read")
|
|
508
529
|
parser.add_argument("--unresolved-work-advisory", action="store_true", help="show unresolved typed work as an advisory with broad orientation")
|
|
@@ -534,6 +555,7 @@ def main():
|
|
|
534
555
|
else:
|
|
535
556
|
# Precedence: an explicit start wins; then the hook's daemon answer (basis or unknown);
|
|
536
557
|
# only a standalone run with neither falls back to inferring from the working directory.
|
|
558
|
+
extra_roots = extra_work_roots(args.work_root)
|
|
537
559
|
explicit = args.work_start or os.environ.get("OPENRIG_REFOCUS_WORK_NODE")
|
|
538
560
|
evidence = None
|
|
539
561
|
if args.work_candidates:
|
|
@@ -541,9 +563,9 @@ def main():
|
|
|
541
563
|
if error:
|
|
542
564
|
sections.append(gap(f"## WORK TRACE\nTRACE GAP — {error}"))
|
|
543
565
|
if explicit:
|
|
544
|
-
sections.append(render_work(Path(explicit), root, args.depth, failures, packet=args.packet))
|
|
566
|
+
sections.append(render_work(Path(explicit), work_root_for(explicit, root, extra_roots), args.depth, failures, packet=args.packet))
|
|
545
567
|
elif evidence is not None:
|
|
546
|
-
sections.append(render_candidates(evidence, root, args.depth, failures))
|
|
568
|
+
sections.append(render_candidates(evidence, root, args.depth, failures, extra_roots))
|
|
547
569
|
elif args.work_candidates:
|
|
548
570
|
pass # the unreadable-evidence gap above is the answer; never fall back to the root
|
|
549
571
|
elif args.work_basis == NO_CURRENT_BATON_BASIS:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent help: the single troubleshooting and escalation guide (docs/reference/help.md).
|
|
2
2
|
name: help
|
|
3
|
-
version: "0.7.
|
|
3
|
+
version: "0.7.11"
|
|
4
4
|
taxonomy: world
|
|
5
5
|
purpose: "What an agent does when its user says OpenRig isn't working: diagnose, fix within permissions, verify, and escalate to OpenRig support."
|
|
6
6
|
files:
|
|
@@ -11,7 +11,7 @@ not know exists.** So the point of what follows is not skill. It is recognition:
|
|
|
11
11
|
lands, something rhymes, and you go check instead of building.
|
|
12
12
|
|
|
13
13
|
Ninety-two top-level verbs ship (capability canon refreshed through
|
|
14
|
-
`capability-delta-v0.7.
|
|
14
|
+
`capability-delta-v0.7.11`). This marker describes the pack's teaching, not publication or live
|
|
15
15
|
adoption. Read this once for shape, and let it make you suspicious that a thing already exists.
|
|
16
16
|
What changed in the installed version, and what to do about it, is one read away:
|
|
17
17
|
`rig context get reference/whats-new.md`.
|
|
@@ -101,7 +101,9 @@ one command away. Your memory of the fleet is a claim about the past.
|
|
|
101
101
|
With no evidence that reads unknown, never idle.
|
|
102
102
|
- **`rig telemetry events` / `transitions` / `tenures <node-id>`** — past events, queue
|
|
103
103
|
transitions and a seat's occupants, one bounded page at a time with gaps reported. Reach for it
|
|
104
|
-
before querying the database yourself.
|
|
104
|
+
before querying the database yourself. If `retention.events_days` is set (default `0` keeps
|
|
105
|
+
everything), the history-only event types (views, snapshots, watchdog firings, queue events) older
|
|
106
|
+
than that are pruned, and an older window reports them as a `retained_sequence_gap`.
|
|
105
107
|
- **Check the exit code.** Many commands used to print nothing and exit 0 when a daemon read
|
|
106
108
|
failed; now they exit 1 or 2. Empty output from a failed read is not empty state.
|
|
107
109
|
|
|
@@ -132,6 +134,12 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
132
134
|
`caller_cancelled` and never types later. **`--urgent`** marks a message urgent, as does a row
|
|
133
135
|
at priority `urgent` or `critical`: its wake starts `Urgent (marked by …):`, and it gets through a
|
|
134
136
|
seat whose typing guard lets only urgent input type (`openrig-urgent` or `urgent-only`, below).
|
|
137
|
+
**A seat whose prompt holds a person's typed draft gets the message joined to it** by default
|
|
138
|
+
(`transport.draft_delivery` `deliver`): the message is pasted at the cursor and the combined input
|
|
139
|
+
submitted as one prompt, and the result says when it joined a draft OpenRig saw. Tell the person.
|
|
140
|
+
`rig config set transport.draft_delivery refuse` brings back the refusal (`prompt_draft`) from the
|
|
141
|
+
next send. Menus, permission prompts, a seat's typing guard, managed compaction and
|
|
142
|
+
`--wait-for-idle` refuse or wait under either value. Draft detection isn't complete.
|
|
135
143
|
- **`rig send --raw`** — send exact text or keystrokes without the From/To envelope;
|
|
136
144
|
the interactive-prompt guard still applies. To deliberately drive an interactive prompt,
|
|
137
145
|
**`--dangerously-interact --reason "<why>"`** is the explicit override and implies raw text.
|
|
@@ -206,6 +214,15 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
206
214
|
judge and close. Each permission request is a row to `--permissions-to` (default: you). The guide
|
|
207
215
|
is `docs/reference/acp-agents.md` in the source repo, and `docs/reference/a2a-agents.md` covers
|
|
208
216
|
A2A agents.
|
|
217
|
+
- **`rig acp serve --to <member@rig>`** — the other direction: the team as an agent inside an ACP
|
|
218
|
+
app that launches a custom agent over stdio (Zed's `agent_servers`, T3 Code). A prompt becomes a
|
|
219
|
+
queue row, each row the work reaches shows as a step, and the closing resolution is the reply.
|
|
220
|
+
The team's questions reach the app as a permission request or a one-choice form, and the choice
|
|
221
|
+
is recorded as the person's answer; one left unanswered there stays open in the TUI and Slack.
|
|
222
|
+
`acp.to` sets the default receiver. Nothing runs until an app starts it, and it uses the daemon
|
|
223
|
+
`rig` uses (`OPENRIG_URL` can name another). The `@openrig/acp` launcher runs the matching
|
|
224
|
+
CLI's `rig acp serve` for the ACP registry's `npx` launch. A cancel stops waiting; the work
|
|
225
|
+
carries on. It's been checked in T3 Code and with a scripted client.
|
|
209
226
|
- **`rig exec run <row> --harness claude|codex`** — a finite task for Claude Code or Codex without
|
|
210
227
|
building a seat: the same single turn through that harness's ACP adapter, run by a detached
|
|
211
228
|
connector that outlives the command, so closing the terminal or leaving `--wait` doesn't stop it.
|
|
@@ -226,7 +243,15 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
226
243
|
wait for a phrase like “show me my agents”; the same command brings their agents back later. No
|
|
227
244
|
YAML, herdr when installed or plain tmux. The layout follows the terminal's width: on a narrow
|
|
228
245
|
one the operator gets the first tab; on a wide one the dashboard and operator sit side by side
|
|
229
|
-
and the advisor gets its own tab. A `kernel` view the person saved still wins.
|
|
246
|
+
and the advisor gets its own tab. A `kernel` view the person saved still wins.
|
|
247
|
+
Writable tiles attach as in 0.7.10: the screen in use sizes the seat and text reflows on resize.
|
|
248
|
+
Read-only tiles show without attaching or resizing it. Fixed web geometry is opt-in through
|
|
249
|
+
`terminal.fixed_geometry` (off by default). Enter or Ctrl-C during the first attach can close
|
|
250
|
+
the viewer; the agent keeps running, so reopen it. Kept writable 0.7.8, 0.7.9 or pre-reflow
|
|
251
|
+
0.7.11 tiles need a manual refresh: close only their owned viewer and reopen with
|
|
252
|
+
`rig terminal open`; for `--follow`, use `--no-follow` first, then open a fresh view.
|
|
253
|
+
The agent and conversation are preserved; this is not an automatic migration.
|
|
254
|
+
Inside herdr it
|
|
230
255
|
opens a focused `openrig kernel` space. It opens where the caller is: Terminal gets a window and
|
|
231
256
|
Ghostty a tab; from Claude Desktop, iTerm or VS Code on a Mac it opens a new Ghostty or Terminal
|
|
232
257
|
window, and only then say that clicking macOS's Allow is fine. Herdr is visible only in a
|
|
@@ -346,6 +371,10 @@ your context, your compaction and your replacement — and it is the only thing
|
|
|
346
371
|
everything.
|
|
347
372
|
- **`rig queue show`** — what a row *actually says*. The header is not the body. On a closed row,
|
|
348
373
|
`--full` adds `closingTransition`: how it ended, who closed it and the closing note.
|
|
374
|
+
`rig queue show`, `list`, `transitions`, `update` and `block` take `--host <id>` for a row on
|
|
375
|
+
another host, as `create` and `handoff` do; `claim` doesn't, since only the destination seat
|
|
376
|
+
claims, on its own host. `rig queue artifact <qitemId>` (and MCP `rig_artifact_read`) returns the
|
|
377
|
+
exact commit pair from an `openrig.code-result/v1` manifest set as the row's `evidenceRef`.
|
|
349
378
|
- **`rig queue claim` / `unclaim`** — is this mine and running, or still pending where two agents
|
|
350
379
|
might double-work it. Put it down honestly when it is not yours.
|
|
351
380
|
- **`rig queue update`** — record what happened in a form the rest of the system can act on. A
|
|
@@ -466,7 +495,9 @@ relay is a reason to inspect the available routing, not to surrender judgment to
|
|
|
466
495
|
inspect `rig gateway human list --json`; when several people are registered, choose a default
|
|
467
496
|
with `rig gateway default <id>`, or name one in `workspace.operator_seat_name`, which is read first.
|
|
468
497
|
- **`rig workflow show` / `trace`** — what this instance is, and every step, actor and exit that
|
|
469
|
-
got it here.
|
|
498
|
+
got it here. `trace --full` returns the whole trail, and `show`, `trace` and `status` print the run's
|
|
499
|
+
`objective:`. **`rig workflow unregister <name>[@<version>]`** (or `--prune-missing`) removes
|
|
500
|
+
registered versions; a running instance keeps the spec it started with.
|
|
470
501
|
- **`rig workflow revise <instance>`** — compare the bound graph with current authored
|
|
471
502
|
inputs before changing a progressed run. Ordinary show and TUI inspection distinguish
|
|
472
503
|
source-only edits (such as a catalog address) from executable changes. Preview names
|
|
@@ -578,6 +609,14 @@ not have to tear one down to change it, and you rarely have to start from nothin
|
|
|
578
609
|
selects only the tmux server: home, credentials, filesystem and network stay shared.
|
|
579
610
|
**`rig up <spec> --name <rig>`** runs one spec as another rig under that name; the rig keeps the
|
|
580
611
|
name for `--existing`, snapshots and restore, and the spec file isn't changed.
|
|
612
|
+
- **`launch_wrapper`** on a local Claude Code, Pi or Codex member is an argv prefix whose launcher
|
|
613
|
+
prepares the environment and execs the agent; a wrapped seat never starts unwrapped. It hasn't
|
|
614
|
+
run with zsh or with a real installed Claude.
|
|
615
|
+
- **A person can work with the team from their own Claude Code or Codex** through the `openrig`
|
|
616
|
+
plugin, shipped beside openrig-core (its README in the installed package has the install
|
|
617
|
+
steps): hand it work, follow it, answer the team's questions in their own words, and read the
|
|
618
|
+
result. VS Code, Copilot CLI and Cursor load it with no seat: give the app its own
|
|
619
|
+
`rig mcp serve --front-door` server with `OPENRIG_SESSION_NAME` set and turn the plugin's off.
|
|
581
620
|
- **A Claude member can bring its own setup** in the rig spec: `agent_file`,
|
|
582
621
|
`append_system_prompt_file`, `plugin_dirs` and `advisor` (an Advisor model). They're copied into
|
|
583
622
|
that seat's own storage, never the project, so one seat in a shared repository can have its own
|
|
@@ -718,6 +757,9 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
718
757
|
Stop distinguishes process/listener exit from a clean asynchronous drain: inspect the matching
|
|
719
758
|
`daemon-shutdown.json` and log when completion is incomplete or unverified. No target is a
|
|
720
759
|
distinct no-op, and a timeout never proves down. Use command help for exact limits and recovery.
|
|
760
|
+
On Linux, when the daemon runs as a systemd user service, the seats' tmux server starts in its
|
|
761
|
+
own user scope, so stopping or restarting the daemon's unit keeps the seats; otherwise it starts
|
|
762
|
+
as before, with one log line giving the reason.
|
|
721
763
|
Startup brings back a kernel that this start found down (what a reboot leaves). A kernel that
|
|
722
764
|
was already down before this start stays down: `rig start` and `rig daemon start
|
|
723
765
|
--wait-for-kernel` say so, and `rig up kernel --existing` brings it back.
|
|
@@ -918,8 +960,16 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
918
960
|
may write. A daemon restart picks a managed compaction up where it stopped: an owed restore step
|
|
919
961
|
resumes, a `/compact` that may have been sent is never sent again, and `rig compact --state`
|
|
920
962
|
shows anything stranded or owed. A map finished during automatic preparation stays armed for the next idle moment
|
|
921
|
-
through the next retry interval; `--state` shows `idleDeadlineAt`.
|
|
922
|
-
|
|
963
|
+
through the next retry interval; `--state` shows `idleDeadlineAt`. If its `/compact` is refused before input (a
|
|
964
|
+
draft in the box, a pane in a tmux mode) or the seat never goes idle in that time, the automatic attempt is held:
|
|
965
|
+
`--state` shows `prepared`, `preparedAt` and `preparedReason`, and `/compact` goes in at the next idle moment with an
|
|
966
|
+
empty box, with the same map and no new preparation prompt. A held attempt stops on a fresh sample below the threshold
|
|
967
|
+
or from another conversation (`below_threshold_while_prepared`), once usage has risen 15 points since its request or
|
|
968
|
+
two hours after its map was ready (`prepared_map_stale`), or when its map no longer reads ready
|
|
969
|
+
(`preparation_incomplete`). After an attempt
|
|
970
|
+
stops with its request delivered, the next automatic request for the same conversation waits for an idle seat, also
|
|
971
|
+
across a daemon restart, for up to the restart-recovery window (6 hours by default) after that attempt stopped. Manual expiry reads
|
|
972
|
+
`map_complete_seat_never_idle` when the map is finished; in either mode, `preparation_incomplete` when it is not.
|
|
923
973
|
`rig seat status` shows an owed restore stage and its last
|
|
924
974
|
delivery result, including a step that went in over an unreadable box, and repeated delivery
|
|
925
975
|
failures open one queue item for the seat's orchestrator, or a
|
|
@@ -1190,6 +1240,11 @@ reaching them is ordinary work rather than an escalation.
|
|
|
1190
1240
|
person can settle an ask that was asked of someone else, recorded as themselves beside the person
|
|
1191
1241
|
asked. The first committed answer wins; a later one gets 409 `qitem_already_terminal` and records
|
|
1192
1242
|
nothing. A park addressed to a registered person can be resolved.
|
|
1243
|
+
Denying or dropping a host pairing request in Steering now gives the requesting machine no access; in 0.7.9 and 0.7.10, that action could return the daemon access token. ([#2884](https://github.com/mvschwarz/openrig/pull/2884))
|
|
1244
|
+
**Pairing answers now reach the target's kernel operator.** On a 0.7.11 target with a receiving kernel operator, typed words and Approve or Deny choices in the TUI, Steering or Slack are replies for that agent to read. Receiving a reply neither grants nor denies access. The operator acts on clear intent with `rig host approve <code>` or `rig host deny <code>` and asks back when the answer is unclear. The commands also work from a plain terminal on the target; they use its operator bearer (`OPENRIG_AUTH_BEARER_TOKEN`, or `--bearer <token>`). ([#2900](https://github.com/mvschwarz/openrig/pull/2900))
|
|
1245
|
+
**An Approve click on an operator-owned request waits for the operator to act.** A stopped operator keeps ownership; the answer waits in its queue. A stopped or unknown running state is named with the terminal route, without claiming the answer was read. If there is no operator, it cannot receive answers, or OpenRig cannot determine one, the request names that case and uses the agent-free path: Approve and Deny decide directly, and replies lead to another ask rather than denial. File-only replies and the literal `[file reply]` have no words stored on the agent-free ask; they still do not deny it.
|
|
1246
|
+
**TUI answers use the daemon's operator bearer when configured.** Ordinary terminal calls keep their separate terminal credential. A missing or wrong action credential leaves the answer unrecorded and shows what to set; this does not weaken the daemon's authentication.
|
|
1247
|
+
**Receipt, clarification and outcome are separate steps.** Receipts, agent-free re-asks and outcomes inferred from clicks or closes need the requesting machine to keep polling. An explicit `rig host approve` or `rig host deny` attempts its outcome update directly. An expiry timer closes the ask even if polling stopped; an unanswered expired ask gets no further update. Requests and decisions live in daemon memory, so a restart drops an open request. Approval still must be collected before expiry. This target-side change does not change older targets.
|
|
1193
1248
|
- **`rig gateway channel add <id> --display-name <name> --binding
|
|
1194
1249
|
slack:<connectorRef>:<secretsRef>:<channelId>`** — a Slack shared channel as one participant,
|
|
1195
1250
|
`<id>@external` (Slack only). Anyone writing there reaches the team, registered or not. Each row
|
|
@@ -1373,9 +1428,11 @@ your circumstances is configuration, and the ones that are not, another agent ca
|
|
|
1373
1428
|
stop them without killing the rig.
|
|
1374
1429
|
- **`rig environment`** — not `rig env`: places a worker seat in an NVIDIA OpenShell sandbox and returns
|
|
1375
1430
|
verified result files (`setup`, `create` or `attach`, `export`; reference in the packaged
|
|
1376
|
-
`daemon/assets/openshell/README.md`). In 0.7.8's release testing the worker never became usable
|
|
1377
|
-
0.7.
|
|
1378
|
-
|
|
1431
|
+
`daemon/assets/openshell/README.md`). In 0.7.8's release testing the worker never became usable.
|
|
1432
|
+
In 0.7.11, on OpenShell 0.1.6, the maintained cleanup works for a custom image, and recreate
|
|
1433
|
+
and an exact resume passed in native testing; a restored guest still receives its startup text
|
|
1434
|
+
again, and the worker isn't end to end. Read the installed version's release notes before
|
|
1435
|
+
relying on it.
|
|
1379
1436
|
- **`rig setup`** — what OpenRig would change about this machine, shown before it touches anything.
|
|
1380
1437
|
It installs herdr by default on macOS and Linux (`--no-herdr` declines; if the install fails,
|
|
1381
1438
|
views fall back to plain tmux) and on a Mac offers Ghostty once (`--ghostty` / `--no-ghostty`).
|
|
@@ -1466,6 +1523,12 @@ your circumstances is configuration, and the ones that are not, another agent ca
|
|
|
1466
1523
|
get a standard challenge; the key and its grant still decide what a caller may do. The rows a
|
|
1467
1524
|
granted caller's actions write record whose grant acted: attribution, not authentication.
|
|
1468
1525
|
Clients on MCP protocol revision 2026-07-28 and on the 2025 revisions share the same endpoint.
|
|
1526
|
+
With a grant service (experimental and off by default; you serve it to the internet behind
|
|
1527
|
+
your own tunnel), `--task-destination <member@rig>` names where a caller's `rig_queue_create`
|
|
1528
|
+
goes when it gives no destination, and a seat's name alone resolves within the grant's team. A
|
|
1529
|
+
grant that names a person adds `rig_question_list` and `rig_question_answer`, so that person
|
|
1530
|
+
answers the team's questions from their assistant, recorded as their answer through that
|
|
1531
|
+
connection.
|
|
1469
1532
|
**An assistant connected this way can be a hosted member of a rig:** mark its roster entry
|
|
1470
1533
|
`"hosted": true` and `rig_team` lists it with its declared capabilities and caveat, activity
|
|
1471
1534
|
`unknown`. The server's instructions teach it the loop: its inbox, claiming, closing or handing
|
|
@@ -181,3 +181,71 @@ rig exec cancel <runId>
|
|
|
181
181
|
- One run is one turn for one row.
|
|
182
182
|
- The client offers the agent no file-system or terminal methods; the agent works in its own environment.
|
|
183
183
|
- Spend is whatever the agent's provider charges. OpenRig doesn't measure it; it records only what the agent reports.
|
|
184
|
+
|
|
185
|
+
## OpenRig as an agent in ACP apps
|
|
186
|
+
|
|
187
|
+
The other direction: `rig acp serve`. An app that speaks ACP and can launch a custom agent command can offer your OpenRig team as its agent. The app starts
|
|
188
|
+
`rig acp serve` and talks to it on stdin and stdout:
|
|
189
|
+
|
|
190
|
+
```sh
|
|
191
|
+
rig acp serve --to <member@rig>
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Without `--to`, the receiver is this machine's `acp.to` setting: `rig config set acp.to <member@rig>`, set once. An
|
|
195
|
+
app that starts the agent from the ACP registry passes no arguments, so that's how it reaches your team.
|
|
196
|
+
|
|
197
|
+
- **A prompt** becomes a queue row from you to `--to`, the seat that takes your team's new work. The row's body is your
|
|
198
|
+
prompt, plus a line saying which app sent it and that its closing resolution is your answer.
|
|
199
|
+
- **Progress:** each row the work reaches shows in the app as a step (`Sent to …`, then `Handed to …` at each handoff),
|
|
200
|
+
with the row's notes as they're written, each with the seat that wrote it. The step's title also shows its latest
|
|
201
|
+
note, for apps that show steps collapsed.
|
|
202
|
+
- **The reply** is the closing resolution, with who closed the row and how (`done`, `done (canceled)`, `denied`, …). The
|
|
203
|
+
turn ending says only that the turn ended: read the reply for how the work ended.
|
|
204
|
+
- **A follow-up** in the same session goes to `--to` as a new row whose body names the earlier rows and their states,
|
|
205
|
+
and the app first shows any earlier row that's still open.
|
|
206
|
+
- **A question the team asks you** while a turn is open comes to the app with the ask's own choices, when its row is
|
|
207
|
+
tagged for that chat (`acp-session:<id>`; the task's row tells the team how). An app that takes forms (it
|
|
208
|
+
advertises ACP elicitation's form mode, as T3 Code does) gets a one-choice form with each choice by its label; any
|
|
209
|
+
other app gets a permission request with one option per choice, as Zed shows them. An untagged
|
|
210
|
+
question from a seat the work reached is named in the chat with where to answer it, because it could be another
|
|
211
|
+
chat's. Your choice is recorded as your answer, as a click in Slack would be, and the seat that asked gets it.
|
|
212
|
+
Dismissing it, or cancelling the turn, records nothing: the question stays open in the TUI and Slack, and no further
|
|
213
|
+
question opens after a cancel. A question that ends unanswered here (dismissed, cancelled, closed with the work, or
|
|
214
|
+
one the app couldn't show) is named in the chat as still open, as well as on its card. A question that wants an
|
|
215
|
+
answer in words is shown with where to answer it.
|
|
216
|
+
- **Sessions are kept in the queue:** the app can list your earlier sessions (`session/list`) and reopen one
|
|
217
|
+
(`session/load`). Reopening replays each prompt, its work, the questions the team asked you during it with your
|
|
218
|
+
answers, and the reply, as they stand now. Nothing is asked again on reopening: a question still open comes up in
|
|
219
|
+
your next prompt's turn, and a new prompt continues the session.
|
|
220
|
+
- **Cancel** stops `rig acp serve` waiting. The team's work carries on, and the reply says so.
|
|
221
|
+
- **Work handed to a seat on another machine** can't be followed from here; the reply says where it went.
|
|
222
|
+
|
|
223
|
+
**Who you are:** `--as <address>`, else `OPENRIG_SESSION_NAME`, else this machine's default person: the only
|
|
224
|
+
registered person, or the one chosen with `rig gateway default <id>` when there are several (the address is
|
|
225
|
+
`<id>@external`). The app's sign-in step, "OpenRig on this machine", checks
|
|
226
|
+
that the daemon answers and that you resolve to an address; until then, signing in and new sessions fail with the
|
|
227
|
+
reason and the fix. The agent talks to the same daemon as `rig` on this computer: the local one, so start it first
|
|
228
|
+
(`rig daemon start`), unless `OPENRIG_URL` names another.
|
|
229
|
+
The team's questions reach you only as a registered person: an `<id>@external` address needs
|
|
230
|
+
`rig gateway human add <id> --display-name "<your name>" --delivery-class <A|B|C|D>` first. Until then, the app says
|
|
231
|
+
so at your first prompt, and your work is still sent.
|
|
232
|
+
|
|
233
|
+
**In Zed**, add the agent to `settings.json`:
|
|
234
|
+
|
|
235
|
+
```json
|
|
236
|
+
"agent_servers": {
|
|
237
|
+
"OpenRig": { "type": "custom", "command": "rig", "args": ["acp", "serve", "--to", "lead@my-team"] }
|
|
238
|
+
}
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
Other apps take the same command and arguments wherever they configure a custom ACP agent.
|
|
242
|
+
|
|
243
|
+
**Limits:**
|
|
244
|
+
- One receiver per agent command (or the `acp.to` setting); the app has no team picker.
|
|
245
|
+
- Questions show only while a turn is open; one asked while no turn is open waits in your usual places (the TUI, Slack).
|
|
246
|
+
- An app that shows a permission request's options only as fixed buttons, such as Approve and Decline, and doesn't
|
|
247
|
+
take forms, can't show the choices: answer those questions in the TUI or Slack.
|
|
248
|
+
- Prompts are text. Links and embedded text files are passed on as written; images and audio aren't accepted.
|
|
249
|
+
- Progress is read every 2 seconds while a turn is open (`--poll-seconds`).
|
|
250
|
+
- Sessions are found among the 2,000 newest rows you've sent, and a reopened session's questions among the 2,000 newest
|
|
251
|
+
sent to you, so a caller with a lot of traffic, such as a busy seat, can't list or fully reopen its oldest sessions.
|
|
@@ -201,11 +201,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
|
|
|
201
201
|
script will do and changes nothing:
|
|
202
202
|
|
|
203
203
|
```sh
|
|
204
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
204
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.11/scripts/install.sh | sh -s -- --dry-run
|
|
205
205
|
```
|
|
206
206
|
|
|
207
207
|
The same command without `--dry-run`,
|
|
208
|
-
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
208
|
+
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.11/scripts/install.sh | sh`, installs the
|
|
209
209
|
latest published `@openrig/cli` with `npm install -g`,
|
|
210
210
|
runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
|
|
211
211
|
Codex and may install a missing one, as described below. A failed step prints
|
|
@@ -882,6 +882,7 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
|
|
|
882
882
|
| --- | --- |
|
|
883
883
|
| Tool missing or login fails | Use the specific setup/auth hint; recheck that executable in the launch shell. Do not send work to an unready seat. |
|
|
884
884
|
| "Startup attention" or "Startup details" names a prompt | Answer the login, trust or bypass prompt in that seat's terminal, then run the `rig seat continue <seat>` it shows. |
|
|
885
|
+
| A restored seat still counts as needing attention after its prompt was answered | Its restore outcome is still `attention_required`, and answering the prompt or running `rig seat continue` doesn't change it. Once the agent is up in its pane, run `rig seat clear-attention <seat>`; see [After a restored seat's prompt](agent-startup-guide.md#after-a-restored-seats-prompt). |
|
|
885
886
|
| "Readiness timeout after 30s — harness did not become interactive" | The harness took longer than the readiness window. Raise it for the next launch with `rig config set runtime.readiness_timeout_seconds <1-600>`, then relaunch that seat. |
|
|
886
887
|
| "Claude resume did not finish within Ns; Claude may still be starting, so the launch was kept" | A restored Claude seat was not interactive when the wait ended. Its pane and resume token are kept. Look at the pane; once Claude is up, run `rig seat clear-attention <seat>`. The wait is about `runtime.readiness_timeout_seconds` in total for each seat (default 30 s), counting the first 3.2 s, and the time adds up seat by seat in a restore. Raising the setting for slow fresh launches lengthens it. If `rig up` or `rig launch` times out at 120 s, that is not a rollback: check `rig ps` before running it again. |
|
|
887
888
|
| Daemon is healthy, kernel is still starting | Read `rig status` and `rig ps --nodes --rig kernel`; kernel readiness is separate. |
|