@openrig/cli 0.7.9 → 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/openshell/guest.py +3 -2
- 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/claude.json +11 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +39 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/permission-stop-descriptor.cjs +221 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +16 -2
- 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 +39 -4
- package/daemon/assets/skills/rigs/SKILL.md +10 -3
- 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 +122 -17
- package/daemon/context-packs/reference/acp-agents.md +176 -2
- package/daemon/context-packs/reference/getting-started.md +23 -4
- package/daemon/context-packs/reference/manifest.yaml +4 -1
- package/daemon/context-packs/reference/rig-spec.md +64 -7
- package/daemon/context-packs/reference/tmux-servers.md +214 -0
- package/daemon/context-packs/reference/whats-new.md +484 -76
- 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 +39 -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 +53 -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 +3 -1
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +8 -4
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +6 -0
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +49 -19
- 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 +25 -20
- 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 +21 -1
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +184 -14
- 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-activity-store.d.ts +14 -0
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +33 -0
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
- package/daemon/dist/domain/agent-manifest.js +47 -9
- package/daemon/dist/domain/agent-manifest.js.map +1 -1
- package/daemon/dist/domain/agent-resolver.d.ts +8 -0
- package/daemon/dist/domain/agent-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/agent-resolver.js +6 -1
- package/daemon/dist/domain/agent-resolver.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +55 -3
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +339 -31
- 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/compaction-restore-notice.d.ts +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.js +2 -1
- package/daemon/dist/domain/compaction-restore-notice.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 +88 -2
- 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 +91 -50
- 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/inbound.d.ts +4 -0
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +14 -2
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- 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 +225 -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/native-resume-probe.d.ts +5 -0
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +5 -0
- package/daemon/dist/domain/native-resume-probe.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/permission-stop-observation.d.ts +50 -0
- package/daemon/dist/domain/permission-stop-observation.d.ts.map +1 -0
- package/daemon/dist/domain/permission-stop-observation.js +163 -0
- package/daemon/dist/domain/permission-stop-observation.js.map +1 -0
- 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/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +3 -0
- package/daemon/dist/domain/profile-resolver.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 +19 -0
- package/daemon/dist/domain/queue-recovery.d.ts.map +1 -1
- package/daemon/dist/domain/queue-recovery.js +80 -2
- package/daemon/dist/domain/queue-recovery.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +81 -10
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +381 -48
- 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 +586 -157
- 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-check-service.d.ts +1 -0
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +7 -2
- package/daemon/dist/domain/restore-check-service.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 +20 -2
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +76 -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 +13 -1
- 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 +3 -0
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +30 -8
- 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 +22 -2
- 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 +75 -11
- 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 +9 -2
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +17 -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 +33 -4
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +225 -37
- 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/spec-validation-service.d.ts +1 -0
- package/daemon/dist/domain/spec-validation-service.d.ts.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 +4 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach.js +131 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach.js.map +1 -0
- package/daemon/dist/domain/terminal/herdr-follow-view.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-follow-view.js +47 -17
- 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 +105 -41
- 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 +8 -1
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +20 -50
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
- package/daemon/dist/domain/terminal/view-composer.js +1 -1
- package/daemon/dist/domain/terminal/view-composer.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 +52 -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/middleware/auth-bearer-token.d.ts +2 -0
- package/daemon/dist/middleware/auth-bearer-token.d.ts.map +1 -1
- package/daemon/dist/middleware/auth-bearer-token.js +12 -8
- package/daemon/dist/middleware/auth-bearer-token.js.map +1 -1
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +59 -4
- 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 +3 -1
- 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 +8 -5
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.js +1 -1
- package/daemon/dist/routes/sessions.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/terminal.js +2 -2
- package/daemon/dist/routes/terminal.js.map +1 -1
- package/daemon/dist/routes/transport.js +1 -1
- package/daemon/dist/routes/transport.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 +74 -17
- 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 +176 -2
- package/daemon/docs/reference/agent-spec.md +73 -6
- package/daemon/docs/reference/agent-startup-guide.md +28 -0
- package/daemon/docs/reference/agent-state-taxonomy.md +7 -0
- package/daemon/docs/reference/author-contracts.md +1 -1
- package/daemon/docs/reference/community-harness-examples/dsh/dsh.yaml +2 -2
- 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 +23 -4
- package/daemon/docs/reference/harness-runner-contract.md +20 -3
- 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 +64 -7
- package/daemon/docs/reference/seat-delivery.md +83 -0
- package/daemon/docs/reference/slack-app-setup.md +1 -2
- package/daemon/docs/reference/telemetry.md +64 -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 +484 -76
- 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/connector.d.ts +27 -1
- package/dist/acp/connector.d.ts.map +1 -1
- package/dist/acp/connector.js +38 -5
- package/dist/acp/connector.js.map +1 -1
- 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/acp/run-processes.d.ts +3 -2
- package/dist/acp/run-processes.d.ts.map +1 -1
- package/dist/acp/run-processes.js +4 -3
- package/dist/acp/run-processes.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 +16 -0
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/acp.js +191 -4
- package/dist/commands/acp.js.map +1 -1
- package/dist/commands/agent.d.ts.map +1 -1
- package/dist/commands/agent.js +3 -0
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/attach.js +1 -1
- package/dist/commands/attach.js.map +1 -1
- package/dist/commands/broadcast.js +4 -0
- package/dist/commands/broadcast.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 +42 -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 +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +97 -7
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/exec.d.ts +102 -0
- package/dist/commands/exec.d.ts.map +1 -0
- package/dist/commands/exec.js +562 -0
- package/dist/commands/exec.js.map +1 -0
- 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/roster.d.ts +1 -1
- package/dist/commands/roster.d.ts.map +1 -1
- package/dist/commands/roster.js +14 -2
- package/dist/commands/roster.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +48 -5
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +7 -11
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/slack.d.ts.map +1 -1
- package/dist/commands/slack.js +2 -0
- package/dist/commands/slack.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 +9 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +57 -3
- package/dist/config-store.js.map +1 -1
- package/dist/cross-host-target.d.ts +2 -0
- package/dist/cross-host-target.d.ts.map +1 -1
- package/dist/cross-host-target.js +1 -1
- package/dist/cross-host-target.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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lazy-program.d.ts.map +1 -1
- package/dist/lazy-program.js +1 -0
- package/dist/lazy-program.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 +19 -5
- 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
|
@@ -53,9 +53,16 @@ person needs in their project or home folder and name that path.
|
|
|
53
53
|
network access, such as Codex's default one. Re-run that one command with network access before you tell the person
|
|
54
54
|
to sign in again or fix anything.
|
|
55
55
|
- **Install:** `npm install -g @openrig/cli`, then `rig setup --providers codex` (or `claude`, or `both`: the harness
|
|
56
|
-
the person uses).
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
the person uses). If the global install fails because npm's global prefix isn't writable (often a system Node with
|
|
57
|
+
prefix `/usr`), first point npm's prefix at a folder the person owns whose `bin` is on their login PATH, for example
|
|
58
|
+
`npm config set prefix ~/.local` when `~/.local/bin` is on it; say first that this changes their npm settings, and
|
|
59
|
+
their shell profile if `~/.local/bin` isn't on the login PATH. If they use a Node version manager such as nvm,
|
|
60
|
+
install with its Node instead; nvm refuses an npm `prefix` setting. Install inside the project only if neither is
|
|
61
|
+
possible: Codex seats can then report `rig: command not found`. Setting and checking the login PATH: "Before you
|
|
62
|
+
start" in https://github.com/mvschwarz/openrig/blob/main/docs/reference/getting-started.md#before-you-start. Setup
|
|
63
|
+
checks Node, tmux and the logins. It installs tmux (with Homebrew, when present) or the chosen harness (with npm) if
|
|
64
|
+
either is missing, installs Herdr for the OpenRig view unless they decline it (`--no-herdr`), and adds an OpenRig
|
|
65
|
+
block to `~/.tmux.conf`, so say all of that first. It doesn't start the daemon. Then `rig doctor`.
|
|
59
66
|
- **Then go on to step 2:** say it's installed and ask what they want worked on, and in which repository. A plain
|
|
60
67
|
"install OpenRig" includes this. Stop here only if they say not to start a team.
|
|
61
68
|
- **If something fails:** `rig context get help` is the help guide for the installed version. If `rig` itself won't
|
|
@@ -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:
|
|
@@ -10,8 +10,8 @@ already does it, or two verbs crossed already answer it. **You cannot look up a
|
|
|
10
10
|
not know exists.** So the point of what follows is not skill. It is recognition: that when a task
|
|
11
11
|
lands, something rhymes, and you go check instead of building.
|
|
12
12
|
|
|
13
|
-
Ninety-
|
|
14
|
-
`capability-delta-v0.7.
|
|
13
|
+
Ninety-two top-level verbs ship (capability canon refreshed through
|
|
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`.
|
|
@@ -56,7 +56,12 @@ one command away. Your memory of the fleet is a claim about the past.
|
|
|
56
56
|
and whether the thing you did an hour ago actually landed. Before a relaunch, it shows what the
|
|
57
57
|
seat's next fresh managed launch will ask for, labelled planned rather than observed: the native
|
|
58
58
|
permission argument, where each part comes from, what OpenRig adds and the commands that change
|
|
59
|
-
it, plus the seat's terminal policy.
|
|
59
|
+
it, plus the seat's terminal policy. **When a Claude seat seems stuck on a permission prompt, read
|
|
60
|
+
this before capturing panes:** with openrig-core 0.1.26's `PermissionRequest` hook it shows the
|
|
61
|
+
latest observed permission request (time, actor and a fixed command descriptor that hides the
|
|
62
|
+
arguments) and Claude's bounded suggested rules, which can contain paths, patterns or sensitive
|
|
63
|
+
values. It's evidence, not an applied permission: it applies and approves nothing, and it's held
|
|
64
|
+
in memory for five minutes and lost on a daemon restart (`docs/reference/seat-delivery.md`).
|
|
60
65
|
- **`rig view list` / `rig view show <lens>`** — named lenses over coordination state: use
|
|
61
66
|
`view show escalations` for owner attention, `view show pickup` for claimed-row state, and
|
|
62
67
|
`view show execution` for done/now/next and current authored planning guidance with its
|
|
@@ -96,7 +101,9 @@ one command away. Your memory of the fleet is a claim about the past.
|
|
|
96
101
|
With no evidence that reads unknown, never idle.
|
|
97
102
|
- **`rig telemetry events` / `transitions` / `tenures <node-id>`** — past events, queue
|
|
98
103
|
transitions and a seat's occupants, one bounded page at a time with gaps reported. Reach for it
|
|
99
|
-
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`.
|
|
100
107
|
- **Check the exit code.** Many commands used to print nothing and exit 0 when a daemon read
|
|
101
108
|
failed; now they exit 1 or 2. Empty output from a failed read is not empty state.
|
|
102
109
|
|
|
@@ -127,6 +134,12 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
127
134
|
`caller_cancelled` and never types later. **`--urgent`** marks a message urgent, as does a row
|
|
128
135
|
at priority `urgent` or `critical`: its wake starts `Urgent (marked by …):`, and it gets through a
|
|
129
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.
|
|
130
143
|
- **`rig send --raw`** — send exact text or keystrokes without the From/To envelope;
|
|
131
144
|
the interactive-prompt guard still applies. To deliberately drive an interactive prompt,
|
|
132
145
|
**`--dangerously-interact --reason "<why>"`** is the explicit override and implies raw text.
|
|
@@ -141,8 +154,9 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
141
154
|
holds only a suggestion, or typed text beside one. Don't use it to type over a half-written box:
|
|
142
155
|
to reach a seat with something that can't wait, use `--urgent` where its typing-guard level lets
|
|
143
156
|
urgent input through.
|
|
144
|
-
A send to a pane in tmux
|
|
145
|
-
|
|
157
|
+
A send or wake to a pane in a tmux mode leaves every mode first and delivers, including a
|
|
158
|
+
chooser, customize or clock mode a person has open; a pane that can't leave is refused with
|
|
159
|
+
`pane_in_mode`, and the refusal names why. With `transport.verify_input_box` on (off by default),
|
|
146
160
|
`--verify` to Claude Code or Codex reads verified only when the text was seen in the input box
|
|
147
161
|
and the box was empty after Enter; it only reports.
|
|
148
162
|
- **`rig broadcast`** — one fact to everyone at once, rather than relaying it N times and getting
|
|
@@ -200,13 +214,44 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
200
214
|
judge and close. Each permission request is a row to `--permissions-to` (default: you). The guide
|
|
201
215
|
is `docs/reference/acp-agents.md` in the source repo, and `docs/reference/a2a-agents.md` covers
|
|
202
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.
|
|
226
|
+
- **`rig exec run <row> --harness claude|codex`** — a finite task for Claude Code or Codex without
|
|
227
|
+
building a seat: the same single turn through that harness's ACP adapter, run by a detached
|
|
228
|
+
connector that outlives the command, so closing the terminal or leaving `--wait` doesn't stop it.
|
|
229
|
+
Install the adapters first (`@agentclientprotocol/claude-agent-acp` 0.101.0 and
|
|
230
|
+
`@agentclientprotocol/codex-acp` 2.5.0); `rig exec harnesses` shows the versions found, and
|
|
231
|
+
`--plan` starts nothing. **The row stays the custody record:** it gets the same notes as `rig acp
|
|
232
|
+
run`, each permission request is a row to `--permissions-to`, and the outcome is the agent's
|
|
233
|
+
report, so accepting the work stays with the row's custodian. One run per row: running it again
|
|
234
|
+
returns that run, and `--again` starts another turn once it has ended. `rig exec status
|
|
235
|
+
<runId|row>` reads it; a connector that died without an outcome reads `interrupted`, outcome
|
|
236
|
+
unknown. **`rig exec cancel <runId>`** (not `rig acp cancel`) asks the agent to stop its turn;
|
|
237
|
+
the acknowledgement isn't a settled shutdown and says nothing about further spend. It hasn't run
|
|
238
|
+
with a real adapter yet, and concurrent runs, long tasks and recovery across a reboot aren't
|
|
239
|
+
covered. `rig acp run` stays the synchronous form, in your terminal, for any ACP agent.
|
|
203
240
|
- **`rig terminal open <view>`** — open a desktop terminal with live agent tiles; a window is the
|
|
204
241
|
default. **Opening `rig terminal open saved:kernel --window` is the step after install or start**:
|
|
205
242
|
say you're opening it, run it on the daemon's desktop, then tell the person where it opened. Don't
|
|
206
243
|
wait for a phrase like “show me my agents”; the same command brings their agents back later. No
|
|
207
244
|
YAML, herdr when installed or plain tmux. The layout follows the terminal's width: on a narrow
|
|
208
245
|
one the operator gets the first tab; on a wide one the dashboard and operator sit side by side
|
|
209
|
-
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
|
|
210
255
|
opens a focused `openrig kernel` space. It opens where the caller is: Terminal gets a window and
|
|
211
256
|
Ghostty a tab; from Claude Desktop, iTerm or VS Code on a Mac it opens a new Ghostty or Terminal
|
|
212
257
|
window, and only then say that clicking macOS's Allow is fine. Herdr is visible only in a
|
|
@@ -326,6 +371,10 @@ your context, your compaction and your replacement — and it is the only thing
|
|
|
326
371
|
everything.
|
|
327
372
|
- **`rig queue show`** — what a row *actually says*. The header is not the body. On a closed row,
|
|
328
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`.
|
|
329
378
|
- **`rig queue claim` / `unclaim`** — is this mine and running, or still pending where two agents
|
|
330
379
|
might double-work it. Put it down honestly when it is not yours.
|
|
331
380
|
- **`rig queue update`** — record what happened in a form the rest of the system can act on. A
|
|
@@ -446,7 +495,9 @@ relay is a reason to inspect the available routing, not to surrender judgment to
|
|
|
446
495
|
inspect `rig gateway human list --json`; when several people are registered, choose a default
|
|
447
496
|
with `rig gateway default <id>`, or name one in `workspace.operator_seat_name`, which is read first.
|
|
448
497
|
- **`rig workflow show` / `trace`** — what this instance is, and every step, actor and exit that
|
|
449
|
-
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.
|
|
450
501
|
- **`rig workflow revise <instance>`** — compare the bound graph with current authored
|
|
451
502
|
inputs before changing a progressed run. Ordinary show and TUI inspection distinguish
|
|
452
503
|
source-only edits (such as a catalog address) from executable changes. Preview names
|
|
@@ -558,6 +609,14 @@ not have to tear one down to change it, and you rarely have to start from nothin
|
|
|
558
609
|
selects only the tmux server: home, credentials, filesystem and network stay shared.
|
|
559
610
|
**`rig up <spec> --name <rig>`** runs one spec as another rig under that name; the rig keeps the
|
|
560
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.
|
|
561
620
|
- **A Claude member can bring its own setup** in the rig spec: `agent_file`,
|
|
562
621
|
`append_system_prompt_file`, `plugin_dirs` and `advisor` (an Advisor model). They're copied into
|
|
563
622
|
that seat's own storage, never the project, so one seat in a shared repository can have its own
|
|
@@ -698,6 +757,9 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
698
757
|
Stop distinguishes process/listener exit from a clean asynchronous drain: inspect the matching
|
|
699
758
|
`daemon-shutdown.json` and log when completion is incomplete or unverified. No target is a
|
|
700
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.
|
|
701
763
|
Startup brings back a kernel that this start found down (what a reboot leaves). A kernel that
|
|
702
764
|
was already down before this start stays down: `rig start` and `rig daemon start
|
|
703
765
|
--wait-for-kernel` say so, and `rig up kernel --existing` brings it back.
|
|
@@ -790,6 +852,10 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
790
852
|
ID is verified.
|
|
791
853
|
Managed Codex launches turn off Codex's startup update check, so no update notice stops them;
|
|
792
854
|
updating Codex is the operator's job.
|
|
855
|
+
Managed Codex seats run tool commands in a non-login shell, so plain `rig` works however OpenRig
|
|
856
|
+
was installed (with a Codex that supports `allow_login_shell`); setup that lives only in login or
|
|
857
|
+
rc files, and shell functions and aliases, may be missing there. `rig config set
|
|
858
|
+
launch.codex_login_shell true` defers to Codex's own setting at each seat's next launch.
|
|
793
859
|
- **`rig seat set-model` / `stop` / `clean`** — persist the model for later managed resumes, stop
|
|
794
860
|
exactly one live seat (ending its session and any work in progress), or clear a dead seat's
|
|
795
861
|
stale binding. A stop is recorded, so the rig doesn't read `degraded` for that seat, and a rig
|
|
@@ -875,9 +941,17 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
875
941
|
kept short enough to run as a command and is sent only to an idle seat; its own result reads
|
|
876
942
|
`submitted, unconfirmed` (it reached the seat, not proof compaction ran), `uncertain` (not
|
|
877
943
|
replayed) or `not sent`, so confirm by effect. Before each paste (preparation prompt, `/compact`,
|
|
878
|
-
restore
|
|
879
|
-
|
|
880
|
-
|
|
944
|
+
then the turn boundary, restore request and audit) it checks the input box, so a draft needs no
|
|
945
|
+
typing guard to protect it. Typed, unreadable or changed input holds the preparation prompt and
|
|
946
|
+
`/compact`. After `/compact`, a box that reads typed still holds the step, so a typed draft left
|
|
947
|
+
there holds the restore until it's cleared or you take over; but after two idle polls in a row
|
|
948
|
+
that can't read the box, the next poll sends the step, recorded as delivered over a box OpenRig
|
|
949
|
+
couldn't read (never as empty), so a draft OpenRig can't recognise there may receive the restore
|
|
950
|
+
text. The step after a `/compact` whose result was lost, and a seat whose draft-aware delivery or
|
|
951
|
+
typing guard holds OpenRig's input, still hold. To take over a held restore, run `rig compact
|
|
952
|
+
<seat> --cancel`, then send a restore request naming the newest restore map, the restore marker
|
|
953
|
+
and its packet; a step already being pasted can still land. The check is a read just before the
|
|
954
|
+
paste, not a lock. An idle Claude seat under the installed-update notice still reads idle, so it needs no
|
|
881
955
|
hand compaction for that. Claude seats that select `openrig-core` load its
|
|
882
956
|
hooks; a seat can give a slow refocus more time with `OPENRIG_REFOCUS_BUDGET_MS` (4500 to 52000).
|
|
883
957
|
The refocus work packet stays off by default for Claude Code and Codex;
|
|
@@ -886,10 +960,19 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
886
960
|
may write. A daemon restart picks a managed compaction up where it stopped: an owed restore step
|
|
887
961
|
resumes, a `/compact` that may have been sent is never sent again, and `rig compact --state`
|
|
888
962
|
shows anything stranded or owed. A map finished during automatic preparation stays armed for the next idle moment
|
|
889
|
-
through the next retry interval; `--state` shows `idleDeadlineAt`.
|
|
890
|
-
|
|
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.
|
|
891
973
|
`rig seat status` shows an owed restore stage and its last
|
|
892
|
-
delivery result,
|
|
974
|
+
delivery result, including a step that went in over an unreadable box, and repeated delivery
|
|
975
|
+
failures open one queue item for the seat's orchestrator, or a
|
|
893
976
|
person when it has none.
|
|
894
977
|
- **Codex seats get `openrig-core` too: its refocus after a compaction and its skills, with no
|
|
895
978
|
first-launch review stop.** OpenRig installs the plugin into Codex on boot and on a fresh launch.
|
|
@@ -1057,6 +1140,14 @@ working arrangement becomes something someone else can instantiate.
|
|
|
1057
1140
|
baseline, and at launch the runner says whether the seat has a stored sign-in or provider key
|
|
1058
1141
|
(advisory; launch continues). A provider key reaches a Pi seat only when its name is in
|
|
1059
1142
|
`recovery.provider_auth_env_allowlist`; `MINIMAX_API_KEY` serves `minimax/<id>` models.
|
|
1143
|
+
- **`rig agent validate <agent.yaml>`** — check an agent spec before you relaunch from it; that it
|
|
1144
|
+
launched doesn't make it right. It and every launch (`rig up`, a restore, a first-start retry)
|
|
1145
|
+
print `agent spec advisory` lines, which never make a spec invalid: an unknown key under a
|
|
1146
|
+
profile's `uses`, or a single value where `uses.<category>` takes a list. That single value is
|
|
1147
|
+
read as a one-item list and resolves like one, so **a member whose profile selects a resource
|
|
1148
|
+
that isn't available fails that member's resolution** ("not found in resource pool"), as the
|
|
1149
|
+
list form does; it isn't only a warning. A native resume that continues a saved conversation
|
|
1150
|
+
shows no advisories.
|
|
1060
1151
|
- **`rig context trace --pod <pod>`** — walk the context chain through instance → rig → pod → seat
|
|
1061
1152
|
when the pod altitude matters.
|
|
1062
1153
|
- **`rig specs show` / `preview` / `add` / `sync` / `rename` / `remove`** — where a spec lives,
|
|
@@ -1149,6 +1240,11 @@ reaching them is ordinary work rather than an escalation.
|
|
|
1149
1240
|
person can settle an ask that was asked of someone else, recorded as themselves beside the person
|
|
1150
1241
|
asked. The first committed answer wins; a later one gets 409 `qitem_already_terminal` and records
|
|
1151
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.
|
|
1152
1248
|
- **`rig gateway channel add <id> --display-name <name> --binding
|
|
1153
1249
|
slack:<connectorRef>:<secretsRef>:<channelId>`** — a Slack shared channel as one participant,
|
|
1154
1250
|
`<id>@external` (Slack only). Anyone writing there reaches the team, registered or not. Each row
|
|
@@ -1332,8 +1428,11 @@ your circumstances is configuration, and the ones that are not, another agent ca
|
|
|
1332
1428
|
stop them without killing the rig.
|
|
1333
1429
|
- **`rig environment`** — not `rig env`: places a worker seat in an NVIDIA OpenShell sandbox and returns
|
|
1334
1430
|
verified result files (`setup`, `create` or `attach`, `export`; reference in the packaged
|
|
1335
|
-
`daemon/assets/openshell/README.md`). In 0.7.8's release testing the worker never became usable
|
|
1336
|
-
|
|
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.
|
|
1337
1436
|
- **`rig setup`** — what OpenRig would change about this machine, shown before it touches anything.
|
|
1338
1437
|
It installs herdr by default on macOS and Linux (`--no-herdr` declines; if the install fails,
|
|
1339
1438
|
views fall back to plain tmux) and on a Mac offers Ghostty once (`--ghostty` / `--no-ghostty`).
|
|
@@ -1424,6 +1523,12 @@ your circumstances is configuration, and the ones that are not, another agent ca
|
|
|
1424
1523
|
get a standard challenge; the key and its grant still decide what a caller may do. The rows a
|
|
1425
1524
|
granted caller's actions write record whose grant acted: attribution, not authentication.
|
|
1426
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.
|
|
1427
1532
|
**An assistant connected this way can be a hosted member of a rig:** mark its roster entry
|
|
1428
1533
|
`"hosted": true` and `rig_team` lists it with its declared capabilities and caveat, activity
|
|
1429
1534
|
`unknown`. The server's instructions teach it the loop: its inbox, claiming, closing or handing
|
|
@@ -1521,6 +1626,6 @@ deliberate writing.
|
|
|
1521
1626
|
|
|
1522
1627
|
**`rig --help`**, then `rig <verb> --help`.
|
|
1523
1628
|
|
|
1524
|
-
Ninety-
|
|
1629
|
+
Ninety-two verbs ship, and this page named most of them once. **You will not remember which — you
|
|
1525
1630
|
are meant to remember only that the list is long enough to be worth reading before you build
|
|
1526
1631
|
anything.** The question is never *how do I write this*; it is **does this already exist**.
|
|
@@ -13,7 +13,8 @@ The row's notes get, in order:
|
|
|
13
13
|
- **progress,** about once a minute (tool calls so far, output so far); the full transcript is in the run's log file, named on the row;
|
|
14
14
|
- **each permission request and its answer** (below);
|
|
15
15
|
- **the outcome:** `completed`, `stopped` (for example `max_tokens`), `cancelled`, `failed` or `unknown`, with the
|
|
16
|
-
agent's output
|
|
16
|
+
agent's output and the tokens and cost it reported, each labelled with where it came from (unknown when it reported
|
|
17
|
+
none);
|
|
17
18
|
- **what happened to the agent's processes** after the run ended.
|
|
18
19
|
|
|
19
20
|
The outcome is the agent's report, not a judgment of the work. The row stays open and yours: read the result, then
|
|
@@ -62,6 +63,78 @@ shared one running; stop your own with its own command.
|
|
|
62
63
|
- `failed`: the agent returned an error. The row keeps its original code, message and data.
|
|
63
64
|
- `cancelled`, `stopped`: as above.
|
|
64
65
|
|
|
66
|
+
## Claude Code and Codex, through their ACP adapters
|
|
67
|
+
|
|
68
|
+
Both have maintained ACP adapters. What follows was checked on 2026-11-06 with OpenRig 0.7.8: one small file task per
|
|
69
|
+
case, with `claude-haiku-5-5` and with `gpt-6.1-sol` at low effort. Other models weren't checked.
|
|
70
|
+
|
|
71
|
+
Install the adapters once; running them through `npx` adds about 10 seconds a turn:
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
npm install --prefix <dir> @agentclientprotocol/claude-agent-acp@0.101.0 @agentclientprotocol/codex-acp@2.5.0
|
|
75
|
+
export PATH="<dir>/node_modules/.bin:$PATH"
|
|
76
|
+
|
|
77
|
+
rig acp run <row> --cwd <work folder> -- env CLAUDE_CODE_EXECUTABLE=<your claude> ANTHROPIC_MODEL=<model> claude-agent-acp
|
|
78
|
+
rig acp run <row> --cwd <work folder> -- codex-acp
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Which versions run.** The binding note on the row names the adapter and its version.
|
|
82
|
+
- `claude-agent-acp` 0.101.0 runs Claude Code through the Claude Agent SDK 0.3.318. With `CLAUDE_CODE_EXECUTABLE` set,
|
|
83
|
+
it runs that `claude`, with that `claude`'s own login; the check ran Claude Code 2.1.310 this way. Without it, an npm
|
|
84
|
+
install runs the Claude binary from the SDK's platform package (Claude Code 2.1.318, by the SDK's package metadata),
|
|
85
|
+
which wasn't checked. Installing with `--omit=optional` leaves that binary out, and then, without
|
|
86
|
+
`CLAUDE_CODE_EXECUTABLE`, the adapter refuses to start; it never falls back to a `claude` on PATH. The adapter also
|
|
87
|
+
loads your Claude configuration, skills included.
|
|
88
|
+
- `codex-acp` 2.5.0 depends on `@openai/codex` `^0.165.0`, and 0.165.0 was the only release in that range when this
|
|
89
|
+
was checked. A later install can resolve a newer 0.165 release; `npm ls @openai/codex` in `<dir>` shows yours. It uses
|
|
90
|
+
the machine's existing Codex login.
|
|
91
|
+
- `@zed-industries/claude-code-acp` and `@zed-industries/codex-acp` are deprecated on npm in favour of these. The zed
|
|
92
|
+
`codex-acp` 0.16.0's Codex was too old for the model in the check.
|
|
93
|
+
|
|
94
|
+
**Permissions.** Each agent keeps its own permission mode, and OpenRig adds no restriction. In the check, neither
|
|
95
|
+
asked anything for file writes or shell commands: Claude started in `auto` mode and Codex in `workspace-write`. To
|
|
96
|
+
have the agent ask, so that each request becomes a permission row:
|
|
97
|
+
- **Claude:** give it a dedicated `CLAUDE_CONFIG_DIR` whose settings set `permissions.defaultMode` to `"default"`.
|
|
98
|
+
- **Codex:** set `INITIAL_AGENT_MODE=read-only` in its environment. Approval and sandbox keys in `CODEX_CONFIG` didn't
|
|
99
|
+
make it ask.
|
|
100
|
+
|
|
101
|
+
These are the settings the check used to make the agents ask. Whether to use them is the caller's choice; they're not a
|
|
102
|
+
recommended default. Send permission rows to a seat that can be woken: a row to a `terminal` seat sets off the stuck
|
|
103
|
+
sweep.
|
|
104
|
+
|
|
105
|
+
**Answers differ between the two.**
|
|
106
|
+
- **Claude** offers `allow-once`, `allow-with-updates` (allow always) and `reject`. `reject` refuses that one action,
|
|
107
|
+
and the turn carries on.
|
|
108
|
+
- **Codex** offers `allow_once`, `accept_execpolicy_amendment` (allow always) and `cancel`. Its only refusal, `cancel`,
|
|
109
|
+
ends the whole turn, and the outcome is `cancelled`.
|
|
110
|
+
|
|
111
|
+
**Continuing, and a session that doesn't exist.**
|
|
112
|
+
- **Continuing:** `--load-session` continued an earlier session on a second row with both adapters.
|
|
113
|
+
- **A made-up session id:** both refused it and started nothing, but they report it differently. Claude returns
|
|
114
|
+
`-32002 Resource not found`, and Codex returns `-32603 Internal error` with "no rollout found" in its data. The row
|
|
115
|
+
shows `failed` with the agent's own error. Neither code by itself means a missing session, so read the message.
|
|
116
|
+
|
|
117
|
+
**A completed turn isn't finished work.** In the check, Claude was asked to run a command and wait for it. It moved the
|
|
118
|
+
command into a background task, said it would report when it finished, and ended the turn `completed`. The task died
|
|
119
|
+
with the adapter, and its file never appeared. Check the work itself before you close the row. Beyond this one case,
|
|
120
|
+
long and background work weren't checked.
|
|
121
|
+
|
|
122
|
+
**Cancel.** `rig acp cancel` was acknowledged in 20-30 ms for both, sent while the agent waited on a permission
|
|
123
|
+
answer; a cancel mid-generation or mid-tool wasn't timed. Straight after, Claude's run reported `incomplete`
|
|
124
|
+
with one process still running, which was gone a few seconds later; Codex's reported `settled`. An acknowledgement
|
|
125
|
+
isn't a finished shutdown, and it says nothing about further spend.
|
|
126
|
+
|
|
127
|
+
**Usage and cost.** Claude's adapter reports token usage and a cost in USD; Codex's reports tokens only. Both are in
|
|
128
|
+
the run's log file, not on the row.
|
|
129
|
+
|
|
130
|
+
**Not checked:**
|
|
131
|
+
- long or multi-tool tasks, and background work;
|
|
132
|
+
- concurrent runs;
|
|
133
|
+
- `rig acp stop` with a real stop command;
|
|
134
|
+
- an adapter that crashes mid-turn;
|
|
135
|
+
- continuing after a daemon restart;
|
|
136
|
+
- MCP servers.
|
|
137
|
+
|
|
65
138
|
## Notes for specific agents
|
|
66
139
|
|
|
67
140
|
- **OpenClaw:** `openclaw acp` is a bridge to a running OpenClaw Gateway, so start the Gateway first, then run, for
|
|
@@ -70,8 +143,109 @@ shared one running; stop your own with its own command.
|
|
|
70
143
|
- **Continuing a session:** `--load-session <id>` continues an earlier session when the agent advertises loading. If it
|
|
71
144
|
doesn't, or the load fails, the run reports that and starts nothing new.
|
|
72
145
|
|
|
146
|
+
## Running it in the background: `rig exec`
|
|
147
|
+
|
|
148
|
+
`rig exec` runs the same single turn on a named harness, `claude` or `codex`, through that harness's ACP adapter, in a
|
|
149
|
+
connector that outlives the command:
|
|
150
|
+
|
|
151
|
+
```sh
|
|
152
|
+
rig exec harnesses # the adapter and native versions installed here, and how each differs
|
|
153
|
+
rig exec run <row> --harness claude --plan # what would run, with versions; starts nothing
|
|
154
|
+
rig exec run <row> --harness claude [--wait] # start it; --wait waits here for the outcome
|
|
155
|
+
rig exec status <runId|row> # state, outcome, usage and cost, and what still runs
|
|
156
|
+
rig exec cancel <runId>
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
- **The connector owns the run.** Closing the terminal, or leaving `--wait` with Ctrl-C, doesn't stop it. Its record
|
|
160
|
+
in `$OPENRIG_HOME/acp/runs/` holds its process and its state: `requested`, `started`, `finished` or `interrupted`.
|
|
161
|
+
The row gets the same notes as with `rig acp run`.
|
|
162
|
+
- **One run per row.** Running it again returns the row's run, still going or ended, instead of sending the task
|
|
163
|
+
twice. `--again` starts another turn once that run has ended.
|
|
164
|
+
- **Interrupted.** A run whose connector died without recording an outcome reads `interrupted`, outcome unknown, with
|
|
165
|
+
one note on the row, the next time `status`, `run` or `--wait` looks at it. Whether any of the agent's processes
|
|
166
|
+
remain is said there too.
|
|
167
|
+
- **Missing.** With `--load-session`, a session reads `missing` only on the adapter's own evidence: for Claude,
|
|
168
|
+
`-32002` naming that session; for Codex, its "no rollout found for thread id" error for that session. Any other error
|
|
169
|
+
reads `failed`, with the agent's code and message, and no new session is started either way.
|
|
170
|
+
- **The outcome is the agent's report.** `finished` with `completed` means the turn ended; accepting the work stays
|
|
171
|
+
with you, on the row. `--wait` exits 0 for `completed`, 2 for any other outcome, and 3 when you stop waiting.
|
|
172
|
+
Without `--wait`, a run that has already ended exits the same way, and one still going exits 0. Either way the code
|
|
173
|
+
follows the row's run, including one another caller started.
|
|
174
|
+
- **Permissions:** the agent keeps its own mode, and `rig exec` adds no policy; your environment passes through.
|
|
175
|
+
`rig exec harnesses` lists what each harness reads.
|
|
176
|
+
|
|
177
|
+
`rig acp run` is unchanged: it stays in your terminal for the length of the turn.
|
|
178
|
+
|
|
73
179
|
## Limits
|
|
74
180
|
|
|
75
181
|
- One run is one turn for one row.
|
|
76
182
|
- The client offers the agent no file-system or terminal methods; the agent works in its own environment.
|
|
77
|
-
- Spend is whatever the agent's provider charges
|
|
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
|
|
@@ -270,6 +270,17 @@ opt in with
|
|
|
270
270
|
`rig config set terminal.inherit_tmux_environment true`. Setup points out this option
|
|
271
271
|
when it detects custom tmux configuration; it never enables it automatically. The setting
|
|
272
272
|
applies to future launches and successors, not running agents or your personal tmux server.
|
|
273
|
+
|
|
274
|
+
Managed Codex seats run tool commands in a non-login shell: OpenRig passes Codex
|
|
275
|
+
`-c allow_login_shell=false`. Tool commands inherit the environment their pane's shell set up,
|
|
276
|
+
OpenRig's command folder included, so plain `rig` works however OpenRig was installed.
|
|
277
|
+
Inherited setup isn't re-run for each command. Setup that lives only in login or rc files, such as
|
|
278
|
+
lines in `~/.bashrc` that your login file doesn't source, or a tmux `default-command` that doesn't
|
|
279
|
+
start a login shell, may be missing from tool commands, and so may shell functions and aliases.
|
|
280
|
+
To defer to Codex's own setting instead, run `rig config set launch.codex_login_shell true`. That
|
|
281
|
+
omits OpenRig's override rather than forcing login shells, and a login file that sets `PATH`
|
|
282
|
+
outright can then hide `rig`. It applies at each seat's next launch; a restart in place keeps
|
|
283
|
+
the running choice.
|
|
273
284
|
If the scoped environment cannot be prepared, launch keeps its previous environment and
|
|
274
285
|
reports a warning in fresh launch results and the daemon log. For handovers, check
|
|
275
286
|
that log for this warning. This is not a promise that shell startup cannot add or override values.
|
|
@@ -871,6 +882,7 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
|
|
|
871
882
|
| --- | --- |
|
|
872
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. |
|
|
873
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). |
|
|
874
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. |
|
|
875
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. |
|
|
876
888
|
| Daemon is healthy, kernel is still starting | Read `rig status` and `rig ps --nodes --rig kernel`; kernel readiness is separate. |
|
|
@@ -1150,8 +1162,15 @@ rig up ./openrig-specs/rigs/launch/starter/rig.yaml --cwd .
|
|
|
1150
1162
|
|
|
1151
1163
|
OpenRig's `permission_policy: builtin:yolo` setting selects
|
|
1152
1164
|
`-s danger-full-access -a never` on fresh, resume and fork launches, replacing
|
|
1153
|
-
the named-profile argument.
|
|
1154
|
-
|
|
1165
|
+
the named-profile argument. That drops the whole profile, not only its sandbox
|
|
1166
|
+
and approval settings. To keep a named profile with full access, put full access
|
|
1167
|
+
in the profile itself and leave `permission_policy` absent, as in the recipe
|
|
1168
|
+
above. To keep it with a workspace-write or read-only posture that OpenRig
|
|
1169
|
+
records, use the member's `codex_permissions` (see
|
|
1170
|
+
[per-member Codex permissions](rig-spec.md#per-member-codex-permissions)):
|
|
1171
|
+
OpenRig passes `-p` and adds that envelope's flags, and for that seat the
|
|
1172
|
+
envelope replaces a policy posture such as `builtin:yolo`. Full access isn't an
|
|
1173
|
+
envelope. The legacy
|
|
1155
1174
|
environment-only `OPENRIG_YOLO=1` path remains sandbox-only when no resolved
|
|
1156
1175
|
policy is present. A standalone `codex --yolo` command is not an OpenRig setting.
|
|
1157
1176
|
At full access, Codex can show its full-access and GPT-5.1 migration notices at
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Reference guides the help pack and command help link to, loaded one file or section at a time by address
|
|
2
2
|
# (rig context get reference/<file>#<section>). Each file is a symlink to docs/reference/.
|
|
3
3
|
name: reference
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.11"
|
|
5
5
|
taxonomy: world
|
|
6
6
|
purpose: "Version-matched reference guides the help guide and command help link to. Load a single file or section by address; don't load the whole pack."
|
|
7
7
|
files:
|
|
@@ -17,6 +17,9 @@ files:
|
|
|
17
17
|
- path: rig-spec.md
|
|
18
18
|
role: reference
|
|
19
19
|
summary: "The rig specification format."
|
|
20
|
+
- path: tmux-servers.md
|
|
21
|
+
role: reference
|
|
22
|
+
summary: "Choosing the daemon's tmux server, and moving an existing team onto tmux control mode (linked from rig doctor and the daemon's log)."
|
|
20
23
|
- path: whats-new.md
|
|
21
24
|
role: reference
|
|
22
25
|
summary: "What changed in the installed version, for an agent on an upgraded install."
|