@openrig/cli 0.7.1 → 0.7.2
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/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/skills/delegating-work/SKILL.md +1 -1
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +90 -9
- package/daemon/assets/skills/rigs/SKILL.md +40 -9
- package/daemon/context-packs/help/help.md +6 -0
- 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 +70 -15
- package/daemon/context-packs/reference/acp-agents.md +77 -0
- package/daemon/context-packs/reference/getting-started.md +82 -10
- package/daemon/context-packs/reference/manifest.yaml +6 -3
- package/daemon/context-packs/reference/rig-spec.md +93 -3
- package/daemon/context-packs/reference/whats-new.md +262 -149
- 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/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/SKILL.md +17 -5
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- 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/delegating-work/SKILL.md +1 -1
- 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 +90 -9
- 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/LICENSE.txt +201 -0
- package/daemon/context-packs/skills/process/agent-browser/OPENRIG.md +13 -29
- package/daemon/context-packs/skills/process/agent-browser/SKILL.md +7 -7
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/LICENSE.txt +201 -0
- package/daemon/context-packs/skills/process/dogfood/SKILL.md +6 -2
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/LICENSE.txt +21 -0
- package/daemon/context-packs/skills/process/systematic-debugging/SKILL.md +6 -2
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/test-driven-development/LICENSE.txt +21 -0
- package/daemon/context-packs/skills/process/test-driven-development/SKILL.md +5 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/verification-before-completion/LICENSE.txt +21 -0
- package/daemon/context-packs/skills/process/verification-before-completion/SKILL.md +5 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +3 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- 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 +4 -0
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +46 -17
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +8 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +29 -10
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts +10 -4
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +59 -14
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +44 -12
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +445 -88
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +4 -0
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +38 -7
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/compose-services-adapter.d.ts +16 -0
- package/daemon/dist/adapters/compose-services-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/compose-services-adapter.js +46 -2
- package/daemon/dist/adapters/compose-services-adapter.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +13 -2
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +22 -15
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/tmux-server.d.ts +3 -0
- package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-server.js +11 -2
- package/daemon/dist/adapters/tmux-server.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +38 -0
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +157 -14
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/adapters/yolo-mode.d.ts +7 -0
- package/daemon/dist/adapters/yolo-mode.d.ts.map +1 -1
- package/daemon/dist/adapters/yolo-mode.js +8 -0
- package/daemon/dist/adapters/yolo-mode.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/codex-auth-surface.d.ts +2 -0
- package/daemon/dist/codex-auth-surface.d.ts.map +1 -0
- package/daemon/dist/codex-auth-surface.js +2 -0
- package/daemon/dist/codex-auth-surface.js.map +1 -0
- package/daemon/dist/daemon-db-path.d.ts.map +1 -1
- package/daemon/dist/daemon-db-path.js +45 -12
- package/daemon/dist/daemon-db-path.js.map +1 -1
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +12 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/132_seat_runtime_switches.d.ts +10 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.d.ts.map +1 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.js +46 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.js.map +1 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.d.ts +8 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.js +25 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.js.map +1 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.d.ts +3 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.d.ts.map +1 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.js +21 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.js.map +1 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.d.ts +9 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.d.ts.map +1 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.js +11 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.js.map +1 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.d.ts +3 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.d.ts.map +1 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.js +8 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.js.map +1 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.d.ts +3 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.js +5 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.js.map +1 -0
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +15 -0
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/claim-service.js +1 -1
- package/daemon/dist/domain/claim-service.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +24 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +70 -16
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-credential-precedence.d.ts +33 -0
- package/daemon/dist/domain/claude-credential-precedence.d.ts.map +1 -0
- package/daemon/dist/domain/claude-credential-precedence.js +62 -0
- package/daemon/dist/domain/claude-credential-precedence.js.map +1 -0
- package/daemon/dist/domain/claude-managed-launch.d.ts +43 -4
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +129 -27
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts +10 -0
- package/daemon/dist/domain/claude-permission-rules.d.ts.map +1 -0
- package/daemon/dist/domain/claude-permission-rules.js +41 -0
- package/daemon/dist/domain/claude-permission-rules.js.map +1 -0
- package/daemon/dist/domain/claude-seat-token.d.ts +30 -0
- package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -0
- package/daemon/dist/domain/claude-seat-token.js +78 -0
- package/daemon/dist/domain/claude-seat-token.js.map +1 -0
- package/daemon/dist/domain/codex-auth.d.ts +148 -0
- package/daemon/dist/domain/codex-auth.d.ts.map +1 -0
- package/daemon/dist/domain/codex-auth.js +506 -0
- package/daemon/dist/domain/codex-auth.js.map +1 -0
- package/daemon/dist/domain/codex-daemon-support.d.ts +2 -1
- package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
- package/daemon/dist/domain/codex-daemon-support.js +3 -2
- package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
- package/daemon/dist/domain/codex-git-add-dirs.d.ts +1 -1
- package/daemon/dist/domain/codex-git-add-dirs.d.ts.map +1 -1
- package/daemon/dist/domain/codex-network-default.d.ts +2 -1
- package/daemon/dist/domain/codex-network-default.d.ts.map +1 -1
- package/daemon/dist/domain/codex-network-default.js +3 -2
- package/daemon/dist/domain/codex-network-default.js.map +1 -1
- package/daemon/dist/domain/codex-team-workspace.d.ts +5 -0
- package/daemon/dist/domain/codex-team-workspace.d.ts.map +1 -1
- package/daemon/dist/domain/codex-team-workspace.js +37 -0
- package/daemon/dist/domain/codex-team-workspace.js.map +1 -1
- package/daemon/dist/domain/community-harness-first-input.d.ts +7 -0
- package/daemon/dist/domain/community-harness-first-input.d.ts.map +1 -0
- package/daemon/dist/domain/community-harness-first-input.js +16 -0
- package/daemon/dist/domain/community-harness-first-input.js.map +1 -0
- package/daemon/dist/domain/community-harness-presets.d.ts +2 -0
- package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-presets.js +4 -2
- package/daemon/dist/domain/community-harness-presets.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts +6 -0
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -0
- package/daemon/dist/domain/compaction-restore-notice.js +27 -0
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -0
- package/daemon/dist/domain/context-packs/seat-recap-store.d.ts +14 -0
- package/daemon/dist/domain/context-packs/seat-recap-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/seat-recap-store.js +57 -1
- package/daemon/dist/domain/context-packs/seat-recap-store.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +6 -1
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +15 -4
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +26 -13
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/daemon/dist/domain/execution-view.js +5 -2
- package/daemon/dist/domain/execution-view.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 +3 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +1 -0
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +6 -5
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts +3 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.js +11 -9
- package/daemon/dist/domain/gateway/slack/message.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 +4 -0
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.d.ts +20 -0
- package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -0
- package/daemon/dist/domain/managed-restore-read-access.js +77 -0
- package/daemon/dist/domain/managed-restore-read-access.js.map +1 -0
- package/daemon/dist/domain/markdown-address.d.ts.map +1 -1
- package/daemon/dist/domain/markdown-address.js +21 -2
- package/daemon/dist/domain/markdown-address.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +3 -3
- 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 +11 -8
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.js +18 -1
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.js.map +1 -1
- package/daemon/dist/domain/native-permission-store.d.ts +7 -2
- package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
- package/daemon/dist/domain/native-permission-store.js +13 -8
- package/daemon/dist/domain/native-permission-store.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts +2 -0
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +162 -35
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +4 -0
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +18 -0
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +11 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +41 -6
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/parent-session-env.d.ts +1 -1
- package/daemon/dist/domain/parent-session-env.d.ts.map +1 -1
- package/daemon/dist/domain/parent-session-env.js +3 -1
- package/daemon/dist/domain/parent-session-env.js.map +1 -1
- package/daemon/dist/domain/parked-query.d.ts +3 -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-account.d.ts +3 -0
- package/daemon/dist/domain/permission-account.d.ts.map +1 -1
- package/daemon/dist/domain/permission-account.js +17 -3
- package/daemon/dist/domain/permission-account.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +8 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +15 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/proof/judgments.d.ts +7 -4
- package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
- package/daemon/dist/domain/proof/judgments.js +12 -8
- package/daemon/dist/domain/proof/judgments.js.map +1 -1
- package/daemon/dist/domain/proof/source-watch.d.ts +6 -1
- package/daemon/dist/domain/proof/source-watch.d.ts.map +1 -1
- package/daemon/dist/domain/proof/source-watch.js +241 -35
- package/daemon/dist/domain/proof/source-watch.js.map +1 -1
- package/daemon/dist/domain/provider/claude-auth-status-reader.d.ts +12 -0
- package/daemon/dist/domain/provider/claude-auth-status-reader.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-auth-status-reader.js +4 -4
- package/daemon/dist/domain/provider/claude-auth-status-reader.js.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts +32 -0
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -0
- package/daemon/dist/domain/provider/claude-seat-switch.js +136 -0
- package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -0
- package/daemon/dist/domain/provider/claude-token-usage.d.ts +34 -0
- package/daemon/dist/domain/provider/claude-token-usage.d.ts.map +1 -0
- package/daemon/dist/domain/provider/claude-token-usage.js +168 -0
- package/daemon/dist/domain/provider/claude-token-usage.js.map +1 -0
- package/daemon/dist/domain/provider/provider-account-readings.d.ts +7 -6
- package/daemon/dist/domain/provider/provider-account-readings.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-account-readings.js +31 -10
- package/daemon/dist/domain/provider/provider-account-readings.js.map +1 -1
- package/daemon/dist/domain/provider/provider-collect.d.ts +3 -0
- package/daemon/dist/domain/provider/provider-collect.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-collect.js +3 -2
- package/daemon/dist/domain/provider/provider-collect.js.map +1 -1
- package/daemon/dist/domain/provider/provider-seat-accounts.d.ts +1 -1
- package/daemon/dist/domain/provider/provider-seat-accounts.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-seat-accounts.js +29 -2
- package/daemon/dist/domain/provider/provider-seat-accounts.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.d.ts +38 -4
- package/daemon/dist/domain/provider/provider-service-impl.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.js +147 -5
- package/daemon/dist/domain/provider/provider-service-impl.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service.d.ts +109 -4
- package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.d.ts +3 -0
- package/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.js +7 -2
- package/daemon/dist/domain/provider/provider-signals.js.map +1 -1
- package/daemon/dist/domain/provider/provider-types.d.ts +61 -5
- package/daemon/dist/domain/provider/provider-types.d.ts.map +1 -1
- package/daemon/dist/domain/provider/reactive-tap.d.ts +4 -0
- package/daemon/dist/domain/provider/reactive-tap.d.ts.map +1 -1
- package/daemon/dist/domain/provider/reactive-tap.js +3 -0
- package/daemon/dist/domain/provider/reactive-tap.js.map +1 -1
- package/daemon/dist/domain/provider/usage-across-hosts.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-across-hosts.js +8 -2
- package/daemon/dist/domain/provider/usage-across-hosts.js.map +1 -1
- package/daemon/dist/domain/provider/usage-windows.d.ts +2 -0
- package/daemon/dist/domain/provider/usage-windows.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-windows.js +4 -0
- package/daemon/dist/domain/provider/usage-windows.js.map +1 -1
- package/daemon/dist/domain/queue-owner.d.ts +9 -0
- package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
- package/daemon/dist/domain/queue-owner.js +28 -0
- package/daemon/dist/domain/queue-owner.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +18 -3
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +94 -10
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-retention.d.ts +1 -1
- package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
- package/daemon/dist/domain/queue-retention.js +6 -1
- package/daemon/dist/domain/queue-retention.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +14 -3
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +50 -8
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +90 -28
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts +3 -0
- package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.js +5 -1
- package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +26 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +117 -11
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.d.ts +11 -2
- package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.js +32 -14
- package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
- package/daemon/dist/domain/resume-token-capture.d.ts +5 -1
- package/daemon/dist/domain/resume-token-capture.d.ts.map +1 -1
- package/daemon/dist/domain/resume-token-capture.js +3 -1
- package/daemon/dist/domain/resume-token-capture.js.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.js +1 -0
- package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +19 -2
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +247 -2
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +3 -1
- package/daemon/dist/domain/rig-teardown.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 +7 -0
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +41 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +174 -13
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +24 -1
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/running-name-guard.d.ts.map +1 -1
- package/daemon/dist/domain/running-name-guard.js +2 -1
- package/daemon/dist/domain/running-name-guard.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +17 -1
- 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 +77 -0
- package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -0
- package/daemon/dist/domain/runtime-switch-materials.js +253 -0
- package/daemon/dist/domain/runtime-switch-materials.js.map +1 -0
- package/daemon/dist/domain/scope/scope-approve.d.ts +1 -1
- package/daemon/dist/domain/seat-activity-service.d.ts +4 -0
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +17 -0
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts +8 -2
- package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +31 -2
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +2 -2
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts +5 -0
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +8 -4
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +19 -3
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +59 -13
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +9 -2
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +27 -7
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-dir.d.ts +17 -0
- package/daemon/dist/domain/seat-runtime-dir.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-dir.js +27 -0
- package/daemon/dist/domain/seat-runtime-dir.js.map +1 -0
- package/daemon/dist/domain/seat-runtime-home.d.ts +42 -0
- package/daemon/dist/domain/seat-runtime-home.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-home.js +89 -0
- package/daemon/dist/domain/seat-runtime-home.js.map +1 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts +220 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-switch-service.js +593 -0
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -0
- package/daemon/dist/domain/seat-skills-pointer.d.ts +5 -0
- package/daemon/dist/domain/seat-skills-pointer.d.ts.map +1 -0
- package/daemon/dist/domain/seat-skills-pointer.js +15 -0
- package/daemon/dist/domain/seat-skills-pointer.js.map +1 -0
- package/daemon/dist/domain/seat-status-service.d.ts +31 -0
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +44 -0
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.d.ts +3 -0
- package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.js +6 -0
- package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
- package/daemon/dist/domain/service-orchestrator.d.ts +7 -0
- package/daemon/dist/domain/service-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/service-orchestrator.js +4 -0
- package/daemon/dist/domain/service-orchestrator.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +19 -1
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +227 -47
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
- package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-capture.js +4 -1
- package/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/daemon/dist/domain/snapshot-repository.d.ts +4 -3
- package/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-repository.js +6 -5
- package/daemon/dist/domain/snapshot-repository.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +3 -0
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +58 -16
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts +1 -0
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +1 -0
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/stream-reader-actions.d.ts +49 -0
- package/daemon/dist/domain/stream-reader-actions.d.ts.map +1 -0
- package/daemon/dist/domain/stream-reader-actions.js +104 -0
- package/daemon/dist/domain/stream-reader-actions.js.map +1 -0
- package/daemon/dist/domain/successor-session-launcher.d.ts +35 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +58 -3
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts +6 -28
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.js +16 -66
- package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
- package/daemon/dist/domain/terminal/rex-adapter.d.ts +42 -0
- package/daemon/dist/domain/terminal/rex-adapter.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rex-adapter.js +228 -0
- package/daemon/dist/domain/terminal/rex-adapter.js.map +1 -0
- package/daemon/dist/domain/terminal/rex-layout.d.ts +26 -0
- package/daemon/dist/domain/terminal/rex-layout.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rex-layout.js +21 -0
- package/daemon/dist/domain/terminal/rex-layout.js.map +1 -0
- package/daemon/dist/domain/terminal/rex-transport.d.ts +43 -0
- package/daemon/dist/domain/terminal/rex-transport.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rex-transport.js +176 -0
- package/daemon/dist/domain/terminal/rex-transport.js.map +1 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +11 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.d.ts +2 -2
- package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.js +10 -11
- package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.d.ts +2 -0
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/tile-attach.js +42 -0
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -0
- package/daemon/dist/domain/terminal/tile-layout.d.ts +32 -0
- package/daemon/dist/domain/terminal/tile-layout.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/tile-layout.js +36 -0
- package/daemon/dist/domain/terminal/tile-layout.js.map +1 -0
- package/daemon/dist/domain/terminal/view-composer.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/view-composer.js +11 -7
- package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +61 -0
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/wake-recovery.d.ts +16 -0
- package/daemon/dist/domain/wake-recovery.d.ts.map +1 -0
- package/daemon/dist/domain/wake-recovery.js +31 -0
- package/daemon/dist/domain/wake-recovery.js.map +1 -0
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +5 -1
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/lib/pane-envelope.d.ts +5 -0
- package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
- package/daemon/dist/lib/pane-envelope.js +8 -1
- package/daemon/dist/lib/pane-envelope.js.map +1 -1
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +12 -0
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/agent-images.d.ts.map +1 -1
- package/daemon/dist/routes/agent-images.js +9 -0
- package/daemon/dist/routes/agent-images.js.map +1 -1
- package/daemon/dist/routes/context-packs.d.ts.map +1 -1
- package/daemon/dist/routes/context-packs.js +22 -0
- package/daemon/dist/routes/context-packs.js.map +1 -1
- package/daemon/dist/routes/mission-control.js +2 -2
- package/daemon/dist/routes/mission-control.js.map +1 -1
- package/daemon/dist/routes/provider.d.ts.map +1 -1
- package/daemon/dist/routes/provider.js +83 -3
- package/daemon/dist/routes/provider.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +102 -10
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/require-sender-identity.d.ts +10 -8
- package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
- package/daemon/dist/routes/require-sender-identity.js +13 -11
- package/daemon/dist/routes/require-sender-identity.js.map +1 -1
- package/daemon/dist/routes/rigs.js +2 -0
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/runtime-switch-custody.d.ts +21 -0
- package/daemon/dist/routes/runtime-switch-custody.d.ts.map +1 -0
- package/daemon/dist/routes/runtime-switch-custody.js +55 -0
- package/daemon/dist/routes/runtime-switch-custody.js.map +1 -0
- package/daemon/dist/routes/scope-approve.js +2 -2
- package/daemon/dist/routes/scope-approve.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +90 -7
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.d.ts.map +1 -1
- package/daemon/dist/routes/sessions.js +9 -0
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/startup.js +15 -5
- package/daemon/dist/routes/startup.js.map +1 -1
- package/daemon/dist/routes/stream.d.ts.map +1 -1
- package/daemon/dist/routes/stream.js +25 -2
- package/daemon/dist/routes/stream.js.map +1 -1
- package/daemon/dist/routes/transport.d.ts.map +1 -1
- package/daemon/dist/routes/transport.js +31 -3
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/seat-recap-store-surface.d.ts +1 -1
- package/daemon/dist/seat-recap-store-surface.d.ts.map +1 -1
- package/daemon/dist/seat-recap-store-surface.js +1 -1
- package/daemon/dist/seat-recap-store-surface.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 +1 -0
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts +5 -0
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +106 -28
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.js +5 -0
- package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
- package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +2 -2
- package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +7 -0
- package/daemon/docs/reference/community-harness-examples/openclaw/openclaw-gateway.yaml +15 -0
- package/daemon/docs/reference/community-harness-examples/openclaw/openclaw.yaml +5 -2
- package/daemon/docs/reference/community-harness-examples/openclaw/openrig-openclaw-launch +56 -24
- package/daemon/docs/reference/community-harness-presets.md +33 -18
- package/daemon/docs/reference/getting-started.md +82 -10
- package/daemon/docs/reference/health-diagnosis.md +13 -0
- package/daemon/docs/reference/help.md +6 -0
- package/daemon/docs/reference/keeping-a-watch.md +21 -0
- package/daemon/docs/reference/project-workspace.md +18 -0
- package/daemon/docs/reference/publishing-a-rig-bundle.md +11 -0
- package/daemon/docs/reference/quickstart.md +1 -1
- package/daemon/docs/reference/rig-spec.md +93 -3
- package/daemon/docs/reference/sdlc-conventions.md +3 -1
- package/daemon/docs/reference/seat-delivery.md +16 -5
- package/daemon/docs/reference/slack-app-setup.md +1 -1
- package/daemon/docs/reference/terminal-sessions.md +51 -0
- package/daemon/docs/reference/whats-new.md +262 -149
- package/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md +17 -5
- package/daemon/specs/agents/shared/skills/process/agent-browser/LICENSE.txt +201 -0
- package/daemon/specs/agents/shared/skills/process/agent-browser/OPENRIG.md +13 -29
- package/daemon/specs/agents/shared/skills/process/agent-browser/SKILL.md +7 -7
- package/daemon/specs/agents/shared/skills/process/dogfood/LICENSE.txt +201 -0
- package/daemon/specs/agents/shared/skills/process/dogfood/SKILL.md +6 -2
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/LICENSE.txt +21 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/SKILL.md +6 -2
- package/daemon/specs/agents/shared/skills/process/test-driven-development/LICENSE.txt +21 -0
- package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +5 -1
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/LICENSE.txt +21 -0
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +5 -1
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +18 -1
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +3 -0
- package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +3 -2
- package/dist/build-info.js +3 -3
- package/dist/client.d.ts +8 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +16 -1
- package/dist/client.js.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +2 -1
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/capture.d.ts.map +1 -1
- package/dist/commands/capture.js +8 -0
- package/dist/commands/capture.js.map +1 -1
- package/dist/commands/chatroom.d.ts.map +1 -1
- package/dist/commands/chatroom.js +6 -0
- package/dist/commands/chatroom.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +29 -23
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/down.d.ts.map +1 -1
- package/dist/commands/down.js +6 -2
- package/dist/commands/down.js.map +1 -1
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/commands/env.js +3 -0
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +47 -0
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/health.js +1 -1
- package/dist/commands/health.js.map +1 -1
- package/dist/commands/launch.js +1 -1
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/project.d.ts.map +1 -1
- package/dist/commands/project.js +6 -1
- package/dist/commands/project.js.map +1 -1
- package/dist/commands/proof.d.ts.map +1 -1
- package/dist/commands/proof.js +33 -2
- package/dist/commands/proof.js.map +1 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +172 -24
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +154 -30
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +5 -2
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +212 -5
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/skill.d.ts.map +1 -1
- package/dist/commands/skill.js +21 -0
- package/dist/commands/skill.js.map +1 -1
- package/dist/commands/stream-outcome.d.ts +586 -1
- package/dist/commands/stream-outcome.d.ts.map +1 -1
- package/dist/commands/stream-outcome.js +38 -1
- package/dist/commands/stream-outcome.js.map +1 -1
- package/dist/commands/stream.d.ts.map +1 -1
- package/dist/commands/stream.js +22 -0
- package/dist/commands/stream.js.map +1 -1
- package/dist/commands/terminal.d.ts +4 -0
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +7 -5
- package/dist/commands/terminal.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +7 -1
- package/dist/commands/up.js.map +1 -1
- package/dist/lib/codex-auth.d.ts +1 -147
- package/dist/lib/codex-auth.d.ts.map +1 -1
- package/dist/lib/codex-auth.js +2 -505
- package/dist/lib/codex-auth.js.map +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +52 -1
- package/dist/mcp-server.js.map +1 -1
- package/dist/terminal-window-rex.d.ts +6 -0
- package/dist/terminal-window-rex.d.ts.map +1 -0
- package/dist/terminal-window-rex.js +129 -0
- package/dist/terminal-window-rex.js.map +1 -0
- package/dist/terminal-window.d.ts +2 -0
- package/dist/terminal-window.d.ts.map +1 -1
- package/dist/terminal-window.js +19 -7
- package/dist/terminal-window.js.map +1 -1
- package/package.json +1 -1
- package/tui/dist/commands/registry.js +1 -1
- package/tui/dist/commands/registry.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +4 -3
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +5 -4
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +4 -1
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/live.d.ts.map +1 -1
- package/tui/dist/live.js +6 -4
- package/tui/dist/live.js.map +1 -1
- package/tui/dist/terminals/open-window.d.ts +9 -5
- package/tui/dist/terminals/open-window.d.ts.map +1 -1
- package/tui/dist/terminals/open-window.js +29 -12
- package/tui/dist/terminals/open-window.js.map +1 -1
- package/tui/dist/terminals/terminal-model.d.ts +2 -1
- package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
- package/tui/dist/terminals/terminal-model.js +5 -4
- package/tui/dist/terminals/terminal-model.js.map +1 -1
- package/tui/dist/usage/usage-model.d.ts.map +1 -1
- package/tui/dist/usage/usage-model.js +5 -3
- package/tui/dist/usage/usage-model.js.map +1 -1
- package/ui/dist/assets/{index-Blg-p32B.js → index-DLP1ipGq.js} +1 -1
- package/ui/dist/index.html +1 -1
package/README.md
CHANGED
|
@@ -26,9 +26,9 @@ use:
|
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
28
|
# Claude Code
|
|
29
|
-
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
29
|
+
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.2/skills/rigs --skill rigs --agent claude-code
|
|
30
30
|
# Codex
|
|
31
|
-
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
31
|
+
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.2/skills/rigs --skill rigs --agent codex
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Then type `/rigs` in Claude Code, or `$rigs` in Codex, and say what you want built. The skill has your agent tell
|
|
@@ -68,11 +68,11 @@ Requires Node.js 22 or 24 and tmux, on macOS or Linux, and one working Claude Co
|
|
|
68
68
|
|
|
69
69
|
### Install it yourself
|
|
70
70
|
|
|
71
|
-
This runs OpenRig's install script from the `v0.7.
|
|
71
|
+
This runs OpenRig's install script from the `v0.7.2` release. It checks Node.js and npm, installs the latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check, then runs `rig setup --dry-run` and `rig setup`. The first line prints that plan and changes nothing:
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
75
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
74
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.2/scripts/install.sh | sh -s -- --dry-run
|
|
75
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.2/scripts/install.sh | sh
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
If a provider isn't signed in yet, the last step reports `FAILED [4/4]`, and `rig setup` lists the sign-in under "Some steps need attention". If the only remaining failures are provider sign-ins, the install steps finished; sign in to each selected provider as below and continue.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: delegating-work
|
|
3
|
-
description: "Use when you have a task and must decide WHO does it — yourself, a spawned subagent, or another agent in the topology that already holds the context — or how to brief the agent you hand it to, which depends on the model it runs. The rule: how much would a blank slate have to read in to do this correctly? A lot → route to a context-holding agent; a little → subagent; unsure → a real agent or yourself. NOT the mechanics of fanning out (that's dispatching-parallel-agents / subagent-driven-development) — this is the who/whether decision, and the failure mode that makes teams abandon subagents."
|
|
3
|
+
description: "Use when you have a task and must decide WHO does it — yourself, a spawned subagent, or another agent in the topology that already holds the context — or how to brief the agent you hand it to, which depends on the model it runs. The rule: how much would a blank slate have to read in to do this correctly? A lot → route to a context-holding agent; a little → subagent; unsure → a real agent or yourself. NOT the mechanics of fanning out (that's dispatching-parallel-agents / subagent-driven-development) — this is the who/whether decision, and the failure mode that makes teams abandon subagents. Also use it to decide how far to trust a delegated result."
|
|
4
4
|
metadata:
|
|
5
5
|
openrig:
|
|
6
6
|
stage: field-captured
|
|
@@ -94,10 +94,23 @@ rig queue handoff <qitem-id> \
|
|
|
94
94
|
|
|
95
95
|
A queue write (`create`, `claim`, `update`, `handoff`, `handoff-and-complete`) answers with the row it wrote; a
|
|
96
96
|
handoff answers with the closed row and its successor. When that answer shows what you need to establish, use it.
|
|
97
|
-
Read back (`rig queue show <id> --full --json`, or `rig queue transitions <id>`) when it doesn't, for example:
|
|
98
97
|
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
`create` also prints `Queue create request ID: <id> (not proof of persistence)` on stderr *before* it sends the write,
|
|
99
|
+
so an interrupted create can be reconciled. That ID names a request, not a row. The row is the `qitemId` on stdout
|
|
100
|
+
when the command exits 0. A non-zero exit means no row was confirmed, even when stdout carries a `qitemId`: an
|
|
101
|
+
indeterminate answer repeats the request ID so you can reconcile by it. Don't merge stderr into stdout and keep the
|
|
102
|
+
first `qitem-…` you find there; a refused create prints its request ID first, too.
|
|
103
|
+
|
|
104
|
+
Read back (`rig queue show <id> --full --json`, or `rig queue transitions <id>`) when the answer doesn't show what you
|
|
105
|
+
need, for example:
|
|
106
|
+
|
|
107
|
+
- the outcome was INDETERMINATE (a transport failure, or a 502 `remote_queue_write_failed` that may have reached the
|
|
108
|
+
other host), or the write warned `qitem_body_not_saved` (an existing row came back). Reconcile by the original ID
|
|
109
|
+
before any retry. A 502 whose `failureClass` is `unknown-host`, `unsupported-transport` or `registry` isn't
|
|
110
|
+
indeterminate: the daemon refused before contacting any host and wrote nothing (`create` says "No row was
|
|
111
|
+
created"). `unsupported-transport` means that host entry is SSH-declared. Use the http entry for the same machine
|
|
112
|
+
from `rig host list`; if there isn't one, add it with that machine's daemon URL (`rig host add --id <id>
|
|
113
|
+
--transport http --url <daemon-url>`), asking whoever runs that host for the URL;
|
|
101
114
|
- the output was compact or truncated and the field you need isn't in it (the compact receipt shows `bodyBytes`, not
|
|
102
115
|
the body, and its footer names what it left out);
|
|
103
116
|
- you need a transition note, a closure or blocker detail, or a successor that the output you saw omits;
|
|
@@ -984,6 +997,68 @@ rig auth seats … --runtime codex # seat -> profile registry (metadata
|
|
|
984
997
|
|
|
985
998
|
**Hard secret boundary:** no token value is ever printed, logged, queued, streamed, or committed; status/validate report presence/mode/login-state only; seat labels are metadata, not live-account proof. MVP is `--runtime codex`; other runtimes use the same surface with a different `--runtime`, never a parallel command.
|
|
986
999
|
|
|
1000
|
+
### Give a seat its own Claude or Codex account
|
|
1001
|
+
|
|
1002
|
+
A runtime's login lives in its home: Claude Code's in its config dir (`CLAUDE_CONFIG_DIR`, default `~/.claude`), Codex's
|
|
1003
|
+
in `CODEX_HOME` (default `~/.codex`). A seat that names its own home in `env:` runs on that home's login.
|
|
1004
|
+
|
|
1005
|
+
1. **Prepare the home once, natively,** in a terminal: `CLAUDE_CONFIG_DIR=/abs/path claude`, then `/login`; or
|
|
1006
|
+
`CODEX_HOME=/abs/path codex login`. The person signs in; never copy credential files between homes.
|
|
1007
|
+
2. **Name it in the member's `env:`** in `rig.yaml`, not with `rig up --env`, which leaves these two out
|
|
1008
|
+
(`CLAUDE_CONFIG_DIR: /abs/path` or `CODEX_HOME: /abs/path`), or in
|
|
1009
|
+
the rig's `env:` for every seat of that runtime. The member's value wins. It must be an absolute path: any other
|
|
1010
|
+
value is reported and ignored, and the seat keeps the daemon's home.
|
|
1011
|
+
3. **It takes effect at the seat's next launch** (a fresh launch, restore or handover); a running seat keeps the home
|
|
1012
|
+
it started with. A conversation saved under the old home doesn't resume from the new one.
|
|
1013
|
+
4. **Check it:** `rig seat status <seat>` shows the home and where it came from, and `rig provider status` lists it as
|
|
1014
|
+
the seat's configured account. Both say what's configured, not which login a running session holds.
|
|
1015
|
+
|
|
1016
|
+
Seats may share a home. OpenRig writes its own settings (Codex hooks, managed `config.toml` and plugin; Claude's
|
|
1017
|
+
first-run trust settings) into the seat's home.
|
|
1018
|
+
|
|
1019
|
+
### Move one Codex seat to another login
|
|
1020
|
+
|
|
1021
|
+
For a Codex seat on Linux. The login must already be saved in the Codex home the seat runs on (`rig seat status <seat>`
|
|
1022
|
+
shows it). Other operating systems, and moving a seat to another home, aren't supported by this command yet: say so instead
|
|
1023
|
+
of improvising. A Claude seat moves differently; see the next section.
|
|
1024
|
+
|
|
1025
|
+
1. **Save each login once, in that home:** `CODEX_HOME=<home> codex login` (the person signs in), then
|
|
1026
|
+
`CODEX_HOME=<home> rig auth save <name>`. `rig auth list --codex-home <home>` lists them.
|
|
1027
|
+
2. **Check:** `rig provider precheck --seat <seat> --to-account <name>` shows the home, what the seat is doing, and every
|
|
1028
|
+
peer on that home. A refusal says what's missing, and nothing changes.
|
|
1029
|
+
3. **Move:** `rig provider switch --seat <seat> --to-account <name>`. It saves the home's current login as
|
|
1030
|
+
`before-switch-<time>`, activates the chosen one, and restarts the seat in place on the same conversation. If the
|
|
1031
|
+
current login can't be saved first, nothing changes. Peers on the home aren't restarted. Each keeps its current login
|
|
1032
|
+
only until its next token refresh, when Codex stops it with "signed in to another account". Run the printed
|
|
1033
|
+
`rig seat restart <peer> --keep-conversation --reason "..."` for each to move it too. Don't sign in again in that home: that replaces
|
|
1034
|
+
the login you just switched to.
|
|
1035
|
+
4. **Confirm:** after the seat completes a real tool-using turn, run the printed
|
|
1036
|
+
`rig seat restart <seat> --keep-conversation --verify --expect-account <its Account line>`. Until then the move is
|
|
1037
|
+
unconfirmed. An uncertain restart is reported; never restart it a second time.
|
|
1038
|
+
|
|
1039
|
+
### Move one Claude seat to its own subscription token
|
|
1040
|
+
|
|
1041
|
+
The seat keeps its config dir and gets its own `CLAUDE_CODE_OAUTH_TOKEN`, read from a file as Claude starts. OpenRig keeps only
|
|
1042
|
+
the file's path and your label, never the token.
|
|
1043
|
+
|
|
1044
|
+
1. **Prepare the token once:** the person runs `claude setup-token`, which prints a one-year subscription token, and saves it to a
|
|
1045
|
+
file only their user can read (`chmod 600`). Never paste the token into a message, a row or a command line.
|
|
1046
|
+
2. **Check:** `rig provider precheck --seat <seat> --to-account <label> --token-file <absolute path>`. It refuses, changing
|
|
1047
|
+
nothing, if the file wouldn't apply, the seat isn't running, or something Claude Code ranks above the token is set (a cloud
|
|
1048
|
+
provider, `ANTHROPIC_AUTH_TOKEN`, `ANTHROPIC_API_KEY`, an `apiKeyHelper`). It names each one and how to remove it for that
|
|
1049
|
+
seat. When the token applies, the launch unsets those names for Claude's process, so the pane shell's own exports can't
|
|
1050
|
+
outrank it. Managed settings can't be read; the seat's `/status` shows what it actually uses.
|
|
1051
|
+
3. **Move:** `rig provider switch --seat <seat> --to-account <label> --token-file <absolute path>`. It takes a snapshot that
|
|
1052
|
+
resumes the seat's conversation, sets the reference, and relaunches the seat from that snapshot in its own pane: the pane
|
|
1053
|
+
and its scrollback stay, but work in flight when Claude ended doesn't carry over. Seats sharing the config dir keep their
|
|
1054
|
+
own login. `--stored-login` moves the seat back; if the seat still receives a `CLAUDE_CODE_OAUTH_TOKEN`, Claude uses that
|
|
1055
|
+
instead of the stored login, and the report names it.
|
|
1056
|
+
4. **Confirm:** after the seat completes a real tool-using turn, its `/status` shows token auth, with no account email. The
|
|
1057
|
+
label is yours, not an account Claude observed: say so. A token session can't use claude.ai connectors or Remote Control.
|
|
1058
|
+
The token is in Claude's environment, so the tools, hooks and MCP servers it starts inherit it; don't have it print its
|
|
1059
|
+
environment. A relaunch that didn't resume reads unknown, with its recovery command; never run the switch again for it.
|
|
1060
|
+
`rig seat status <seat>` shows the reference, and says when its file won't apply at the next launch.
|
|
1061
|
+
|
|
987
1062
|
### Manage subscriptions across a fleet (when the person asks you to)
|
|
988
1063
|
|
|
989
1064
|
**This applies only when the person has asked you to manage their subscriptions.** Otherwise, don't take this job on. Installing or upgrading OpenRig appoints no agent, launches no bundle and starts no
|
|
@@ -1009,7 +1084,8 @@ and there's no threshold to obey.
|
|
|
1009
1084
|
- **The Observatory is optional:** it can show readings, but you don't need it to rotate.
|
|
1010
1085
|
|
|
1011
1086
|
**The unit is a Codex home, with every seat on it.** Moving some seats on a shared home to a different account, and
|
|
1012
|
-
moving Claude seats, aren't supported moves yet: say so instead of improvising.
|
|
1087
|
+
moving Claude seats, aren't supported moves yet: say so instead of improvising. A Codex seat with a home of its own
|
|
1088
|
+
moves alone, with `rig provider switch --seat` (above).
|
|
1013
1089
|
|
|
1014
1090
|
0. **Load the person's account policy.**
|
|
1015
1091
|
- It's the context pack named `account-policy`: check `rig context list` for it, then read it with
|
|
@@ -1548,20 +1624,24 @@ rig mcp token list [--json]
|
|
|
1548
1624
|
rig mcp token revoke <name>
|
|
1549
1625
|
```
|
|
1550
1626
|
|
|
1551
|
-
The
|
|
1627
|
+
The 36 shipped tools fall into three groups. Over stdio, and over HTTP with no grants, every tool is offered. An HTTP
|
|
1552
1628
|
grant offers the work tools; the workspace tools with `--workspace` or `--owner`; and the owner tools only with
|
|
1553
1629
|
`--owner`, which offers every tool.
|
|
1554
|
-
- **Work (
|
|
1630
|
+
- **Work (19):** orientation, communication and the durable work loop.
|
|
1555
1631
|
- `rig_whoami`: the seat the server acts as (rig, pod, peers, edges) and the `caller`: authenticated (an HTTP
|
|
1556
1632
|
credential, with its principal) or declared (`OPENRIG_SESSION_NAME` where the server was configured, which nothing
|
|
1557
1633
|
verifies).
|
|
1558
1634
|
- `rig_status`, `rig_ps`, `rig_rig_nodes`, and `rig_team`: a rig's lead (its one `delegates_to` root, the seat to
|
|
1559
1635
|
delegate to) and each seat's role, delegation and activity.
|
|
1560
1636
|
- `rig_send`, `rig_capture`, `rig_chatroom_send`, `rig_chatroom_watch`.
|
|
1561
|
-
- `rig_queue_create`, `rig_queue_show`, `rig_queue_list`, `rig_queue_claim`, `rig_queue_update
|
|
1637
|
+
- `rig_queue_create`, `rig_queue_show`, `rig_queue_list`, `rig_queue_claim`, `rig_queue_update`,
|
|
1638
|
+
`rig_queue_handoff`, `rig_queue_unclaim`:
|
|
1562
1639
|
- `revises` on create asks for a linked revision of an earlier item;
|
|
1563
1640
|
- show names a handed-off item's successor;
|
|
1564
|
-
- `handedOffFrom` on list follows a handoff
|
|
1641
|
+
- `handedOffFrom` on list follows a handoff;
|
|
1642
|
+
- handoff passes an item this seat holds on to the next seat in one step, as `rig queue handoff` does: the new item
|
|
1643
|
+
carries the work's lineage;
|
|
1644
|
+
- unclaim puts back a claimed item this seat won't finish.
|
|
1565
1645
|
- `rig_artifact_read`: a finished item's artifact (its `evidenceRef`) or a named file, through the daemon's shared
|
|
1566
1646
|
roots (`OPENRIG_FILES_ALLOWLIST`), in windows (`offset`, `nextOffset`). Outside those roots it answers unavailable
|
|
1567
1647
|
rather than reading a local path.
|
|
@@ -1623,7 +1703,8 @@ use the `rig` CLI instead, the same way.
|
|
|
1623
1703
|
assignee records it, and `rig_artifact_read` reads an artifact it names. A call that times out has an unknown
|
|
1624
1704
|
outcome: check `rig_queue_show` with the same id before you retry, and retry only with that id.
|
|
1625
1705
|
5. **Take work** with `rig_queue_list` (`owned: true`), `rig_queue_claim` and `rig_queue_update`. Close with the
|
|
1626
|
-
answer in `note`.
|
|
1706
|
+
answer in `note`. To pass it to the next seat, use `rig_queue_handoff`; to put back one you won't finish, use
|
|
1707
|
+
`rig_queue_unclaim`.
|
|
1627
1708
|
|
|
1628
1709
|
Limits today:
|
|
1629
1710
|
- **OpenRig can't wake this agent itself.** `rig send` to an attached external node is refused, and a task's nudge to
|
|
@@ -24,6 +24,22 @@ seats run with an operational default: Codex with `-s danger-full-access -a neve
|
|
|
24
24
|
tools, web fetches and operational commands, including reads under the home folder, allowed without asking. Say so
|
|
25
25
|
before you start OpenRig ([the full list](https://github.com/mvschwarz/openrig#what-openrig-changes-on-your-machine)).
|
|
26
26
|
|
|
27
|
+
**If they want changes kept inside their project:** before setup or the first daemon/kernel start, name the selected
|
|
28
|
+
Codex config path (`CODEX_HOME/config.toml`, default `~/.codex/config.toml`) and explain the independent writes.
|
|
29
|
+
Setup adds `~/.tmux.conf`; Codex seat startup adds workspace trust and any declared config fragments, including MCP,
|
|
30
|
+
even when setup was skipped or `runtime.codex.hooks_enabled` is false. That setting controls hooks, not all config
|
|
31
|
+
writes. These settings can reach their other sessions using the same Codex home. Reuse a yes that already covered
|
|
32
|
+
these writes; an explicit project-only request doesn't cover them. If they decline, don't launch that same path or
|
|
33
|
+
remove the writes afterwards as a substitute for consent. Explain that setup has no project-only mode. A git worktree
|
|
34
|
+
or project `.codex/config.toml` doesn't redirect these writes. An existing separate `CODEX_HOME` isolates Codex's
|
|
35
|
+
config, login and session state together; it needs its own working sign-in and doesn't relocate `~/.tmux.conf`.
|
|
36
|
+
Carry the person's scope constraint to the operator.
|
|
37
|
+
|
|
38
|
+
**Codex individual approvals:** explain before installation that even reads may ask repeatedly during setup and
|
|
39
|
+
follow-up, separately from the team's permissions. Use plain, separate commands so each request is readable.
|
|
40
|
+
The one optional six-command approval offer below still applies; don't enable general network access or broaden
|
|
41
|
+
other permission settings to avoid prompts.
|
|
42
|
+
|
|
27
43
|
When you give the person a file or a command to run in their own terminal, use a path that exists on their side. A
|
|
28
44
|
file a sandboxed agent writes under `/tmp` may not exist in the person's terminal (seen with Codex), so put files the
|
|
29
45
|
person needs in their project or home folder and name that path.
|
|
@@ -59,12 +75,14 @@ person needs in their project or home folder and name that path.
|
|
|
59
75
|
itself, using herdr when installed or plain tmux otherwise:
|
|
60
76
|
- **Inside Herdr** (you run in a Herdr pane): it switches the person's Herdr to an `openrig kernel` space, reusing a live
|
|
61
77
|
one. No new window and no macOS prompt; their own spaces stay in the sidebar.
|
|
78
|
+
- **Inside Rex** (you run in a Rex block, or in a tmux started in one): it opens an `openrig kernel` session on the same Rex server and asks the
|
|
79
|
+
Rex app to switch to it. No new window and no macOS prompt. Opening it again adds a numbered session.
|
|
62
80
|
- **In Terminal or Ghostty:** a new tab or window the size of theirs.
|
|
63
81
|
- **From Claude Desktop, iTerm or VS Code on a Mac:** a new Ghostty window when supported, otherwise Terminal. Only
|
|
64
82
|
here, tell the person before running it that **Allow is fine** if macOS asks to control that app.
|
|
65
|
-
`echo $TERM_PROGRAM $__CFBundleIdentifier` tells you where you run. `herdr`, `Apple_Terminal` or
|
|
66
|
-
`tmux` with `com.apple.Terminal
|
|
67
|
-
with anything else (iTerm, VS Code) can prompt, so say Allow is fine first.
|
|
83
|
+
`echo $TERM_PROGRAM $__CFBundleIdentifier $REX_BLOCK` tells you where you run. `herdr`, `rex`, `Apple_Terminal` or
|
|
84
|
+
`ghostty`, or `tmux` with `com.apple.Terminal`, `com.mitchellh.ghostty` or a `REX_BLOCK` value, mean no macOS
|
|
85
|
+
prompt, so don't mention one. `tmux` with anything else (iTerm, VS Code) can prompt, so say Allow is fine first.
|
|
68
86
|
- **Layout:** under 120 columns the operator fills the first page; from 120, the dashboard and operator share it. The
|
|
69
87
|
advisor has its own tab or tmux window.
|
|
70
88
|
|
|
@@ -74,8 +92,8 @@ person needs in their project or home folder and name that path.
|
|
|
74
92
|
open, point them to it rather than opening another. Only if the window cannot open, `rig tui --shared` is the
|
|
75
93
|
dashboard-only fallback; explain the failure and help with the chosen fallback. Herdr is visible only in a terminal
|
|
76
94
|
the person can see; switching the shared TUI to `:terminals` does not open one. No and headless/SSH use are valid
|
|
77
|
-
background outcomes. Provider-only `--provider herdr` or `--provider
|
|
78
|
-
not the first desktop window.
|
|
95
|
+
background outcomes. Provider-only `--provider herdr`, `--provider cmux` or `--provider rex` is for a provider that's
|
|
96
|
+
already running, not the first desktop window, and each such open adds a new workspace.
|
|
79
97
|
- **If the window can't open, or over headless SSH:** say plainly that no visible terminal was opened, and ask the
|
|
80
98
|
person to open a new terminal window or tab on the daemon's host. Over SSH, that's a new SSH session to it with the
|
|
81
99
|
known account. If you only know an HTTP daemon address, ask for the SSH details rather than inventing them. Then
|
|
@@ -121,11 +139,13 @@ person needs in their project or home folder and name that path.
|
|
|
121
139
|
said. Find the `operator.agent` row in `rig ps --nodes --rig kernel --json`, take its `canonicalSessionName`
|
|
122
140
|
(never the logical ID or a guessed name) and send:
|
|
123
141
|
`rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>. Branch: <branch>.'`
|
|
142
|
+
If the person stays here, replace "The person will answer in your pane" with "The person stays with me; send me your questions and
|
|
143
|
+
results to relay." Carry their constraints and any declined permission choices in either handoff.
|
|
124
144
|
Or the person types the goal and folder in the operator's pane. If they give you a goal later, forward it the same
|
|
125
145
|
way. The operator helps them pick a team that fits their logins, starts it (`rig up`) only on their yes to the plan it
|
|
126
146
|
shows, and gives the goal to the team's lead. Before that yes, it says what launching into their folder changes for their own agent there; relay
|
|
127
147
|
that with the question. Show them where the operator answers, and don't build the project yourself.
|
|
128
|
-
- **Relay the operator's questions
|
|
148
|
+
- **Relay the operator's questions** unless the person declined the Codex offer below and explicitly chose the operator route: the operator asks in its own pane, and the person may not be looking there.
|
|
129
149
|
After each step you hand it, read its screen with `rig capture <canonicalSessionName>`. When it asks the person
|
|
130
150
|
something (start this team? which folder? which option?), ask them here in the operator's words and send their
|
|
131
151
|
answer back with `rig send`, or tell them to answer in the operator's pane. Unlike a prompt or a menu, a question
|
|
@@ -160,9 +180,18 @@ offer, so the person sees the real file, not a placeholder:
|
|
|
160
180
|
> `rig queue`, `rig status` and `rig whoami`, each with whatever follows it? They would run outside Codex's sandbox, in every Codex
|
|
161
181
|
> project and session you run on this computer, and `rig send` and `rig queue` can message your agents and change their task records, not
|
|
162
182
|
> only read them. I'd add one file, `/home/you/.codex/rules/openrig.rules` (the resolved path). Codex reads it when it starts, so it
|
|
163
|
-
> applies from your next Codex session
|
|
164
|
-
|
|
165
|
-
|
|
183
|
+
> applies from your next Codex session; it won't remove prompts in this one. Keeping individual approvals means even status checks
|
|
184
|
+
> and reading an agent's screen may ask each time. You can also talk directly to the operator once it is ready,
|
|
185
|
+
> without changing this Codex session's permissions. To undo the rules, ask me to remove the OpenRig rules this added and keep your other rules.
|
|
186
|
+
|
|
187
|
+
- **No, or no answer:** write nothing and keep their sandbox, network and approval settings. If they decline, honor that choice;
|
|
188
|
+
don't keep offering remembered approval or turn on general network access to avoid the prompts. Offer to continue directly with
|
|
189
|
+
the ready operator, or stay here with individual approvals. If they already chose either route, don't ask again.
|
|
190
|
+
- **If they choose the operator:** use the handoff above once, carrying their goal, folder, branch and declined permission choices,
|
|
191
|
+
then point them to its ready conversation. Over headless SSH, use the exact connection/attachment command above. Once they are
|
|
192
|
+
talking to the operator, it follows the team's work and reports the result there; stop this installer's repeated capture/status/queue
|
|
193
|
+
polling. Don't stop, restart or reconfigure either session. If they prefer to stay here, continue relaying with the approvals they chose;
|
|
194
|
+
don't claim those prompts are gone. The rules offer is optional, not a condition of using OpenRig.
|
|
166
195
|
- **Yes:** the agent applies it the way OpenRig's existing permission steps already describe (`applying-a-permission-policy`, in the
|
|
167
196
|
installed OpenRig skills): read the existing rules first, keep any stricter rule, change no sandbox or approval setting, and record what
|
|
168
197
|
it added. The file is created only if it doesn't exist; if it does, the agent changes nothing and says what's there. A new file holds
|
|
@@ -177,6 +206,8 @@ offer, so the person sees the real file, not a placeholder:
|
|
|
177
206
|
|
|
178
207
|
## 3. Follow the work to its result
|
|
179
208
|
|
|
209
|
+
Follow these steps by default. Only when the person declined the Codex offer above and explicitly chose the operator route does the operator own this follow-through.
|
|
210
|
+
|
|
180
211
|
- **Find the team's task:** the operator gives the goal to the team's lead as a queue task: `dev-build@starter`, or
|
|
181
212
|
`orch-lead` in `workshop` and `factory` (for starter and factory, `rig specs preview <name> --kind rig` says what
|
|
182
213
|
each seat does; for a running team, `rig ps --nodes --rig <rig>`). Find it with
|
|
@@ -120,6 +120,12 @@ unknown outcome, check `rig seat status <seat>` before trying again. For a rig w
|
|
|
120
120
|
`--non-interruptive` on `rig up` or `rig bundle install` avoids Claude's warning and Codex's notices in the first
|
|
121
121
|
place; see `non-interruptive-mode.md` beside this file.
|
|
122
122
|
|
|
123
|
+
Codex's initial sign-in chooser and API-key entry are recognised as `login_required`, so startup reports the
|
|
124
|
+
sign-in step instead of waiting for a generic readiness timeout. Finish that step in the seat's terminal, then use
|
|
125
|
+
the continuation command above. A quoted or dismissed login screen is not a current login gate; other layouts
|
|
126
|
+
keep their existing readiness handling. Claude's persistent "Not logged in" footer alone is not a login refusal, because a
|
|
127
|
+
configured gateway may authenticate its requests.
|
|
128
|
+
|
|
123
129
|
### You can't tell which instance or configuration is involved
|
|
124
130
|
|
|
125
131
|
Read [instance layout](instance-layout.md) (`rig context get reference/instance-layout.md`) and
|
|
@@ -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.2"
|
|
4
4
|
taxonomy: world
|
|
5
5
|
purpose: "What an agent does when its user says OpenRig isn't working: diagnose, fix within permissions, verify, and escalate to OpenRig support."
|
|
6
6
|
files:
|
|
@@ -11,7 +11,7 @@ not know exists.** So the point of what follows is not skill. It is recognition:
|
|
|
11
11
|
lands, something rhymes, and you go check instead of building.
|
|
12
12
|
|
|
13
13
|
Ninety top-level verbs ship (capability canon refreshed through
|
|
14
|
-
`capability-delta-v0.7.
|
|
14
|
+
`capability-delta-v0.7.2`). 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`.
|
|
@@ -48,7 +48,8 @@ one command away. Your memory of the fleet is a claim about the past.
|
|
|
48
48
|
- **`rig discover`** — what is running on this box that OpenRig is *not* managing.
|
|
49
49
|
- **`rig queue whoami`** — what the daemon thinks you are holding. Not what you remember holding.
|
|
50
50
|
When the seat's typed rows name exactly one work node, its JSON also carries `currentWork` with
|
|
51
|
-
the mission, slice, and path the refocus hook uses.
|
|
51
|
+
the mission, slice, and path the refocus hook uses. A project-tagged row is resolved against its
|
|
52
|
+
catalogued project.
|
|
52
53
|
- **`rig seat status <seat>`** — what the system already believes about a seat's handover state,
|
|
53
54
|
and whether the thing you did an hour ago actually landed. Before a relaunch, it shows what the
|
|
54
55
|
seat's next fresh managed launch will ask for, labelled planned rather than observed: the native
|
|
@@ -173,7 +174,12 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
173
174
|
place). **`rig stream read`** then returns the calling seat's next bounded page (at most 20 items
|
|
174
175
|
and 64 KiB, with `more`, `unread` and any `gap`); `--reader <session>` names the seat from outside
|
|
175
176
|
one. `rig stream subscriptions` lists readers with their unread counts, and `rig stream
|
|
176
|
-
unsubscribe <seat>` stops one.
|
|
177
|
+
unsubscribe <seat>` stops one. A subscription is read on request: nothing is pushed to a reader
|
|
178
|
+
or wakes it.
|
|
179
|
+
- **`rig stream act <id>`** — say what you did about a stream item, with exactly one of `--work
|
|
180
|
+
<qitem>` (the queue row you opened or joined for it), `--decline "<reason>"` or `--duplicate
|
|
181
|
+
<qitem|stream id>`. Actions are append-only, and the poster's `rig stream show` lists each
|
|
182
|
+
reader's current action. A reader who links different work from someone else is told about theirs.
|
|
177
183
|
- **`rig acp run <row> --cwd <dir> -- <command>`** — hand one queue row's task to an outside agent
|
|
178
184
|
that speaks ACP (for example `openclaw acp`) as a single turn. The row's notes get the agent and
|
|
179
185
|
session, progress, each permission request and its answer, and the outcome (completed, stopped,
|
|
@@ -198,9 +204,10 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
198
204
|
`env -u TMUX <tmuxAttachCommand>`. Inspect the result and visible content, or
|
|
199
205
|
say what cannot be verified. On a desktop, do not finish by printing a command for the person to
|
|
200
206
|
type. Only if the window cannot open, `rig tui --shared` is the dashboard-only fallback; explain
|
|
201
|
-
the failure.
|
|
202
|
-
|
|
203
|
-
|
|
207
|
+
the failure. In the window's `--json` output, `reusedWorkspace` with no new tiles means an
|
|
208
|
+
existing view was reused, which is success. `--provider herdr` or `--provider cmux` opens the
|
|
209
|
+
view in a provider that is already running, without opening a window; each such open adds a new
|
|
210
|
+
workspace, so to come back to a view, focus its open space.
|
|
204
211
|
Add `--session <name>` to select a Herdr session for that request; `--session default`
|
|
205
212
|
explicitly selects its default session. `rig terminal status --session <name>` inspects
|
|
206
213
|
the same endpoint. Omitting the flag keeps the daemon's configured endpoint. Herdr tiles come
|
|
@@ -281,7 +288,9 @@ your context, your compaction and your replacement — and it is the only thing
|
|
|
281
288
|
successor it can't verify; use `handoff` instead.
|
|
282
289
|
- **`rig queue block` / `resolve`** — park a row on a real blocker so it stays **yours and
|
|
283
290
|
visible**, with a plain-language summary and a pointer to what a human must judge; `resolve`
|
|
284
|
-
writes their decision onto the durable record and wakes the owner.
|
|
291
|
+
writes their decision onto the durable record and wakes the owner. `resolve <id> --decision
|
|
292
|
+
"<evidence>"` also releases a row parked on a typed blocker (`external:`, `fold:` or `auth:`) and
|
|
293
|
+
records the evidence as the wait's resolution, not as a person's decision. **Closing it would be a lie
|
|
285
294
|
and sitting on it silently is indistinguishable from a crash.** `--wake-after <duration>` arms
|
|
286
295
|
one wake for this park episode; a new park supersedes it and every exit route retires it. A wake
|
|
287
296
|
the typing guard holds back (`retained`) doesn't use the timer up: it's tried again at each
|
|
@@ -297,7 +306,11 @@ your context, your compaction and your replacement — and it is the only thing
|
|
|
297
306
|
person. `rig config set queue.wake_human_rung explicit-only` (default `always`) keeps that post
|
|
298
307
|
for rows addressed to a person (an `@external` address or a registered human); the rest stop at
|
|
299
308
|
`rig view show escalations`. A seat stuck at a prompt only a person can clear still reaches one,
|
|
300
|
-
and an unreadable human registry posts everything.
|
|
309
|
+
and an unreadable human registry posts everything. A seat held at a choice prompt that no hook
|
|
310
|
+
announces (a usage-limit dialog, say) escalates once the refusal has held for one retry interval
|
|
311
|
+
(`queue.wake_retry_interval_seconds`, 300 seconds by default). Choice-prompt alerts follow this
|
|
312
|
+
setting and reach a person one at a time per machine; later ones wait as rows while the first
|
|
313
|
+
seat stays blocked.
|
|
301
314
|
- **`rig queue inbox-drop` / `inbox-pending` / `inbox-absorb` / `inbox-deny`** — put something in
|
|
302
315
|
front of a seat that it can *refuse*. Mail, not assignment.
|
|
303
316
|
- **`rig queue outbox-record` / `outbox-list`** — what you dispatched, in a record that survives
|
|
@@ -479,8 +492,10 @@ not have to tear one down to change it, and you rarely have to start from nothin
|
|
|
479
492
|
(not tested by OpenRig). A preset can declare how its app reports the conversation each launch
|
|
480
493
|
made (`launch_result`), reopens one on resume (`resume`) or lets OpenRig name it
|
|
481
494
|
(`names_conversation`); without those it stays launch-only. A conversation
|
|
482
|
-
that's gone reads `missing`, never quietly replaced.
|
|
483
|
-
|
|
495
|
+
that's gone reads `missing`, never quietly replaced. A preset's `first_input: true` hands the
|
|
496
|
+
harness its first startup text through a private file named by `OPENRIG_FIRST_INPUT`. Examples for
|
|
497
|
+
Cursor, Hermes and OpenClaw are in `docs/reference/community-harness-examples/`; OpenClaw's local
|
|
498
|
+
and Gateway-client examples each resume a named conversation.
|
|
484
499
|
- **`rig down`** — stop a rig's seats and take it out of the running set. It ends the agents'
|
|
485
500
|
sessions and any work in progress; don't run it on a live team unless the person asked. In
|
|
486
501
|
human mode it first prints one line with each agent's last known activity, or “unknown”: a
|
|
@@ -668,10 +683,24 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
668
683
|
managed compaction, can use the saved directory before then; that's guidance, not a guard), and
|
|
669
684
|
before any `rig down`/`rig up` or fork handover. In-place Codex restart isn't adoption. `rig seat status` shows the
|
|
670
685
|
saved `launch_cwd`. Old-directory files are left.
|
|
686
|
+
- **`rig seat set-runtime <seat> --runtime <claude-code|codex> --reason <text>`** — move a live seat
|
|
687
|
+
to the other runtime, successor first. `--dry-run` shows the target's settings, what is cleared
|
|
688
|
+
and the costs. The successor starts beside the current occupant, reads a handover (the seat's
|
|
689
|
+
recap, its open rows, the predecessor's screen) and confirms with `--confirm <switch-id> --note
|
|
690
|
+
<text>`; only then does the seat move, keeping its address, edges, rows and claims. Without a
|
|
691
|
+
confirmation within `--confirm-timeout` (180 seconds by default) nothing changes, and `--recover`
|
|
692
|
+
finishes an interrupted switch. It starts a new conversation and isn't written back to the team
|
|
693
|
+
file. A message sent during a switch is held and must be sent again, and Claude launch additions
|
|
694
|
+
such as an agent file aren't applied to the switched seat. It was tested with stubs, not real
|
|
695
|
+
accounts, before 0.7.2.
|
|
671
696
|
- **`rig seat set-permissions <seat> --mode <mode> --reason <text>`** — select one seat's native
|
|
672
697
|
permission mode for its future managed launches; it relaunches nothing, and `inherit` clears the
|
|
673
698
|
selection. `rig seat status` reports the selection, but a status read does not prove the
|
|
674
|
-
running process enforces it.
|
|
699
|
+
running process enforces it. `--rules <file>` (JSON allow and deny lists) instead gives one Claude
|
|
700
|
+
seat its own tool rules, audited, from its next managed launch or resume, even in a shared folder;
|
|
701
|
+
`claude_permissions: { allow: [...], deny: [...] }` on the member declares them. They're native tool
|
|
702
|
+
rules, not OS isolation, an allow list doesn't withdraw broader inherited grants, and member denies
|
|
703
|
+
aren't claimed to hold in bypass mode.
|
|
675
704
|
- **`rig seat set-effort <seat> --effort <level> --reason <text>`** (or `--clear`) — save one seat's
|
|
676
705
|
reasoning effort for its next launch, restore, handover or in-place Codex restart without
|
|
677
706
|
touching its spec or its peers; nothing restarts. **`rig seat effort <seat>`** reports what was
|
|
@@ -718,7 +747,9 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
718
747
|
`policies.claude_compaction.preparation_root` (an absolute path) puts restore maps where seats
|
|
719
748
|
may write. A daemon restart picks a managed compaction up where it stopped: an owed restore step
|
|
720
749
|
resumes, a `/compact` that may have been sent is never sent again, and `rig compact --state`
|
|
721
|
-
shows anything stranded or owed.
|
|
750
|
+
shows anything stranded or owed. `rig seat status` shows an owed restore stage and its last
|
|
751
|
+
delivery result, and repeated delivery failures open one queue item for the seat's orchestrator, or a
|
|
752
|
+
person when it has none.
|
|
722
753
|
- **Codex seats get `openrig-core` too: its refocus after a compaction and its skills, with no
|
|
723
754
|
first-launch review stop.** OpenRig installs the plugin into Codex on boot and on a fresh launch.
|
|
724
755
|
On a first install, with no existing registration or cache, it trusts the plugin's six hooks by
|
|
@@ -939,6 +970,9 @@ reaching them is ordinary work rather than an escalation.
|
|
|
939
970
|
|
|
940
971
|
- **`rig host add` / `rename` / `doctor`** — make another machine reachable as one pasted address,
|
|
941
972
|
see which host you are acting on, and check a registered host is *actually* usable end to end.
|
|
973
|
+
- **A cross-host queue write that times out reads INDETERMINATE, not failed.** The CLI waits 15
|
|
974
|
+
seconds for the daemon's answer, and `rig queue create` with no answer reads the row back once by
|
|
975
|
+
its ID. Reconcile by that ID before any retry; don't send the write twice.
|
|
942
976
|
- **Which machines exist and how each is reached is a declared registry** — read the entry rather
|
|
943
977
|
than guessing a hostname, because entries do not all use the same transport.
|
|
944
978
|
- **`rig file copy`** — move a file between hosts without hand-rolling `scp` and guessing the
|
|
@@ -1092,6 +1126,26 @@ your circumstances is configuration, and the ones that are not, another agent ca
|
|
|
1092
1126
|
before telling anyone an account has room. An agent that moves a Codex home between subscriptions files
|
|
1093
1127
|
what it did with `rig provider moves report` (a queue item to whoever asked, checked and never a move itself), and
|
|
1094
1128
|
`rig provider moves` reads the reports back.
|
|
1129
|
+
- **A seat's own Claude or Codex account** — sign a home in once natively (`CLAUDE_CONFIG_DIR=<home>
|
|
1130
|
+
claude`, then `/login`, or `CODEX_HOME=<home> codex login`), then declare that absolute path as
|
|
1131
|
+
`CLAUDE_CONFIG_DIR` or `CODEX_HOME` in the member's or rig's `env:`. Launch, resume, restore,
|
|
1132
|
+
handover, OpenRig's managed Codex config and hooks, usage limits and status follow it; `rig seat
|
|
1133
|
+
status` and `rig provider status` show the home and where it came from, and a relative value is
|
|
1134
|
+
ignored and shown. `rig up --env` leaves both names out. A conversation saved under an earlier home
|
|
1135
|
+
doesn't resume in the new one, and live usage refresh still reads only the daemon's own logins.
|
|
1136
|
+
- **`rig provider precheck --seat <seat> --to-account <name>`**, then **`rig provider switch --seat
|
|
1137
|
+
<seat> --to-account <name>`** — move one Codex seat (Linux only) to a login saved in its Codex home
|
|
1138
|
+
(`rig auth save`), on the same conversation: it saves the outgoing login, activates the chosen one,
|
|
1139
|
+
restarts the seat in place and prints a restart command for every peer on that home. For a Claude
|
|
1140
|
+
seat, `--to-account <label> --token-file <absolute path>` moves it to its own subscription token
|
|
1141
|
+
(from `claude setup-token`, in a file only the user can read); OpenRig keeps the path and label,
|
|
1142
|
+
never the token, and `--stored-login` moves it back. These seat account and runtime moves were
|
|
1143
|
+
tested with stubs, not real accounts, before 0.7.2: check a moved seat's account and conversation
|
|
1144
|
+
yourself after the first move.
|
|
1145
|
+
- **`rig provider status --refresh --provider claude --claude-token-file <absolute path>
|
|
1146
|
+
--credential-label <label>`** — read a labelled Claude token's usage on demand. Each refresh spends
|
|
1147
|
+
one model turn; status and the TUI show only the cached reading, and the label is yours, not an
|
|
1148
|
+
account Claude reported.
|
|
1095
1149
|
- **Codex configuration fragments** — a `codex_config_fragment` must open with a table header and
|
|
1096
1150
|
never overrides a user-declared table; see `docs/reference/agent-spec.md`.
|
|
1097
1151
|
- **`rig env`** — the real services behind a rig: are they up, what are they saying, how do you
|
|
@@ -1169,9 +1223,10 @@ your circumstances is configuration, and the ones that are not, another agent ca
|
|
|
1169
1223
|
behaviour from the web UI. The TUI plus Slack are the human surface; the CLI plus terminal are the agent surface.
|
|
1170
1224
|
- **`rig mcp serve`** — how an agent that speaks MCP rather than shell drives OpenRig, and which
|
|
1171
1225
|
operations are exposed that way. Relevant the moment a tool you are integrating cannot run a
|
|
1172
|
-
shell command.
|
|
1173
|
-
`rig_queue_claim`, `rig_queue_update`) act as the seat
|
|
1174
|
-
agent with no shell can hand work to the team
|
|
1226
|
+
shell command. Its queue tools (`rig_queue_create`, `rig_queue_show`, `rig_queue_list`,
|
|
1227
|
+
`rig_queue_claim`, `rig_queue_update`, `rig_queue_handoff`, `rig_queue_unclaim`) act as the seat
|
|
1228
|
+
named by `OPENRIG_SESSION_NAME`, so an agent with no shell can hand work to the team, read the
|
|
1229
|
+
closing note as its answer, and pass on or put back work it holds. Nothing
|
|
1175
1230
|
wakes such an agent; it sees new work when it checks. Its tools cover the whole delegation loop:
|
|
1176
1231
|
find its seat, team and lead (`rig_whoami`, `rig_team`), hand work on and follow the handoff's
|
|
1177
1232
|
successor, find finished work and read its artifact, decide inside a person's decision room,
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Handing work to an ACP agent
|
|
2
|
+
|
|
3
|
+
`rig acp run` gives one queue row's task to an agent that speaks the
|
|
4
|
+
[Agent Client Protocol](https://agentclientprotocol.com) (ACP), such as OpenClaw's `openclaw acp`, and records what
|
|
5
|
+
happened on that same row. The seat that runs it is the row's custodian; the agent is recorded as the executor.
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
rig acp run <qitemId> --cwd <work folder> -- <the agent's ACP command> [args...]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
The row's notes get, in order:
|
|
12
|
+
- **the binding:** the agent's name and version, the ACP protocol version, whether it can load sessions, and the session;
|
|
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
|
+
- **each permission request and its answer** (below);
|
|
15
|
+
- **the outcome:** `completed`, `stopped` (for example `max_tokens`), `cancelled`, `failed` or `unknown`, with the
|
|
16
|
+
agent's output;
|
|
17
|
+
- **what happened to the agent's processes** after the run ended.
|
|
18
|
+
|
|
19
|
+
The outcome is the agent's report, not a judgment of the work. The row stays open and yours: read the result, then
|
|
20
|
+
close it or hand it on with your own resolution, as you would any other.
|
|
21
|
+
|
|
22
|
+
## When the agent asks permission
|
|
23
|
+
|
|
24
|
+
OpenRig holds no permission policy of its own. The agent's own settings decide what it asks, and an owner decides
|
|
25
|
+
the answer. Each request becomes a queue row to `--permissions-to` (this seat by default), listing the action, its
|
|
26
|
+
target, the options the agent offered and the run, session and request it belongs to. Answer on that row with the
|
|
27
|
+
option's id:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
rig queue update <permission row> --state done --closure-reason no-follow-on --resolution allow-once
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Answer on the permission row itself; don't hand it off, because the run waits on that row. The answer goes back to
|
|
34
|
+
that one request, once. The turn waits for it; there's no deadline. An answer that isn't one
|
|
35
|
+
of the offered options is noted and the question is asked again. If the turn is cancelled first, the permission row
|
|
36
|
+
is closed as stale and nothing is sent. Whoever answers can follow their own written policy; that choice is theirs.
|
|
37
|
+
|
|
38
|
+
## Cancel, detach and stop
|
|
39
|
+
|
|
40
|
+
These are different things, and the row keeps them apart:
|
|
41
|
+
- **Cancel** (Ctrl-C, or `rig acp cancel <runId>` from another terminal) asks the agent to stop its turn. The row
|
|
42
|
+
records when it was requested and when the agent acknowledged it. Whether the model provider stopped work, and what
|
|
43
|
+
it cost, stays **unknown** unless you check the provider's own usage.
|
|
44
|
+
- **Detach** (a second Ctrl-C, or the run ending normally) closes the agent's connection. That doesn't stop
|
|
45
|
+
the agent's runtime.
|
|
46
|
+
- **Stop:** when the run ends, it reports whether any process carrying the run's environment marker remains:
|
|
47
|
+
`settled` (none), `incomplete` (with their process ids) or `unknown` (the process table couldn't be read). Only
|
|
48
|
+
processes that inherited the marker are seen, so one the agent started with a cleared environment, or through a
|
|
49
|
+
service manager, isn't. It never touches a process it didn't launch. To stop what's left, use the runtime's
|
|
50
|
+
own stop command, through `rig acp stop <runId> -- <that command>` so the result lands on the row.
|
|
51
|
+
|
|
52
|
+
A gateway the agent connects to but didn't start, such as OpenClaw's Gateway, isn't a process of the run. Leave a
|
|
53
|
+
shared one running; stop your own with its own command.
|
|
54
|
+
|
|
55
|
+
## Reading the outcome
|
|
56
|
+
|
|
57
|
+
- `completed`: the agent ended its turn with output.
|
|
58
|
+
- `unknown`: the turn ended, but nothing shows the work happened. That covers an `end_turn` with no output and no or
|
|
59
|
+
zero usage (an agent can end a turn this way after its provider refused the request), an `end_turn` whose text
|
|
60
|
+
reports an interruption (OpenClaw's `[OpenClaw interruption]`), and a connection that closed before the turn ended.
|
|
61
|
+
Check the agent's own log before you treat it as done.
|
|
62
|
+
- `failed`: the agent returned an error. The row keeps its original code, message and data.
|
|
63
|
+
- `cancelled`, `stopped`: as above.
|
|
64
|
+
|
|
65
|
+
## Notes for specific agents
|
|
66
|
+
|
|
67
|
+
- **OpenClaw:** `openclaw acp` is a bridge to a running OpenClaw Gateway, so start the Gateway first, then run, for
|
|
68
|
+
example, `rig acp run <row> -- openclaw acp --url ws://127.0.0.1:18789 --token-file <file>`. Its permission requests
|
|
69
|
+
come from the Gateway's exec approvals.
|
|
70
|
+
- **Continuing a session:** `--load-session <id>` continues an earlier session when the agent advertises loading. If it
|
|
71
|
+
doesn't, or the load fails, the run reports that and starts nothing new.
|
|
72
|
+
|
|
73
|
+
## Limits
|
|
74
|
+
|
|
75
|
+
- One run is one turn for one row.
|
|
76
|
+
- 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; OpenRig doesn't measure it.
|