@openrig/cli 0.7.25 → 0.7.26
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 +7 -7
- package/daemon/assets/claude-hook-bridge.d.cts +9 -2
- package/daemon/assets/claude-permission-policies.cjs +18 -1
- package/daemon/assets/claude-permission-policies.d.cts +1 -0
- package/daemon/assets/claude-team-permissions.cjs +22 -1
- package/daemon/assets/guidance/openrig-context-entry.md +4 -5
- package/daemon/assets/guidance/openrig-start.md +3 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/README.md +5 -3
- package/daemon/assets/plugins/openrig/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +15 -5
- package/daemon/assets/plugins/openrig-codex/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-codex/skills/working-with-an-openrig-team/SKILL.md +15 -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/openrig-user/SKILL.md +23 -6
- package/daemon/assets/plugins/openrig-core/skills/session-compaction-and-restore/SKILL.md +5 -2
- package/daemon/assets/skills/rigs/SKILL.md +90 -33
- package/daemon/assets/skills/rigs/references/installing-for-someone.md +1 -1
- 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 +82 -20
- package/daemon/context-packs/reference/getting-started.md +63 -11
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +40 -14
- package/daemon/context-packs/reference/whats-new.md +102 -12
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/SKILL.md +9 -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/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/core/working-with-an-openrig-team/SKILL.md +15 -5
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +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 +23 -6
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/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/SKILL.md +5 -2
- 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.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +10 -4
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +2 -0
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +24 -6
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +3 -1
- 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 +9 -0
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/pi-session-cwd.d.ts +26 -0
- package/daemon/dist/adapters/pi-session-cwd.d.ts.map +1 -0
- package/daemon/dist/adapters/pi-session-cwd.js +89 -0
- package/daemon/dist/adapters/pi-session-cwd.js.map +1 -0
- package/daemon/dist/adapters/shell-quote.d.ts +2 -0
- package/daemon/dist/adapters/shell-quote.d.ts.map +1 -1
- package/daemon/dist/adapters/shell-quote.js +43 -0
- package/daemon/dist/adapters/shell-quote.js.map +1 -1
- package/daemon/dist/adapters/tmux-credential-env.d.ts +15 -2
- package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-credential-env.js +82 -2
- package/daemon/dist/adapters/tmux-credential-env.js.map +1 -1
- package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-exec.js +2 -6
- package/daemon/dist/adapters/tmux-exec.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +5 -3
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/bind-plan-surface.d.ts +3 -0
- package/daemon/dist/bind-plan-surface.d.ts.map +1 -0
- package/daemon/dist/bind-plan-surface.js +5 -0
- package/daemon/dist/bind-plan-surface.js.map +1 -0
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/migrations/202_network_requester_questions.d.ts +4 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.js +10 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.js.map +1 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts +3 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js +22 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js.map +1 -0
- package/daemon/dist/domain/agent-activity-store.d.ts +4 -0
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +16 -0
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/agent-images/agent-image-destination.d.ts +15 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.d.ts.map +1 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.js +79 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.js.map +1 -0
- package/daemon/dist/domain/agent-images/agent-image-library-service.d.ts.map +1 -1
- package/daemon/dist/domain/agent-images/agent-image-library-service.js +9 -1
- package/daemon/dist/domain/agent-images/agent-image-library-service.js.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts +4 -3
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +55 -11
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/bundle-content-routing.d.ts +7 -0
- package/daemon/dist/domain/bundle-content-routing.d.ts.map +1 -1
- package/daemon/dist/domain/bundle-content-routing.js +20 -15
- package/daemon/dist/domain/bundle-content-routing.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +3 -3
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.d.ts +19 -2
- package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.js +143 -3
- package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.d.ts +22 -5
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +41 -5
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts +3 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.js +8 -7
- package/daemon/dist/domain/claude-permission-rules.js.map +1 -1
- package/daemon/dist/domain/claude-seat-token.d.ts +23 -1
- package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -1
- package/daemon/dist/domain/claude-seat-token.js +49 -7
- package/daemon/dist/domain/claude-seat-token.js.map +1 -1
- package/daemon/dist/domain/codex-auth.d.ts +34 -0
- package/daemon/dist/domain/codex-auth.d.ts.map +1 -1
- package/daemon/dist/domain/codex-auth.js +212 -0
- package/daemon/dist/domain/codex-auth.js.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.d.ts +9 -0
- package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.js +14 -2
- package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.js +4 -2
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
- package/daemon/dist/domain/crash-cart-detect.d.ts +7 -0
- package/daemon/dist/domain/crash-cart-detect.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-detect.js +10 -5
- package/daemon/dist/domain/crash-cart-detect.js.map +1 -1
- package/daemon/dist/domain/crash-cart-discovery.d.ts +9 -16
- package/daemon/dist/domain/crash-cart-discovery.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-discovery.js +22 -40
- package/daemon/dist/domain/crash-cart-discovery.js.map +1 -1
- package/daemon/dist/domain/crash-cart-emit.d.ts +1 -1
- package/daemon/dist/domain/crash-cart-emit.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-emit.js +4 -0
- package/daemon/dist/domain/crash-cart-emit.js.map +1 -1
- package/daemon/dist/domain/cwd-resolution.d.ts +12 -1
- package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
- package/daemon/dist/domain/cwd-resolution.js +39 -2
- package/daemon/dist/domain/cwd-resolution.js.map +1 -1
- package/daemon/dist/domain/draft-held-reoffer.d.ts +17 -1
- package/daemon/dist/domain/draft-held-reoffer.d.ts.map +1 -1
- package/daemon/dist/domain/draft-held-reoffer.js +76 -0
- package/daemon/dist/domain/draft-held-reoffer.js.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +9 -3
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.d.ts +6 -2
- package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.js +29 -3
- package/daemon/dist/domain/managed-restore-read-access.js.map +1 -1
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts +8 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts.map +1 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.js +17 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.js.map +1 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts +12 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts.map +1 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.js +19 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.js.map +1 -0
- package/daemon/dist/domain/network/hub-client.d.ts +14 -4
- package/daemon/dist/domain/network/hub-client.d.ts.map +1 -1
- package/daemon/dist/domain/network/hub-client.js +26 -9
- package/daemon/dist/domain/network/hub-client.js.map +1 -1
- package/daemon/dist/domain/network/network-connector.d.ts +2 -0
- package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-connector.js +162 -16
- package/daemon/dist/domain/network/network-connector.js.map +1 -1
- package/daemon/dist/domain/network/network-requests.d.ts +4 -1
- package/daemon/dist/domain/network/network-requests.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-requests.js +141 -14
- package/daemon/dist/domain/network/network-requests.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +13 -0
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/outbox-handler.d.ts +9 -0
- package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
- package/daemon/dist/domain/outbox-handler.js +23 -5
- package/daemon/dist/domain/outbox-handler.js.map +1 -1
- package/daemon/dist/domain/permission-account.d.ts.map +1 -1
- package/daemon/dist/domain/permission-account.js +4 -0
- package/daemon/dist/domain/permission-account.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +6 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts +2 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.js.map +1 -1
- package/daemon/dist/domain/profile-resolver.d.ts +2 -0
- package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +10 -4
- package/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/daemon/dist/domain/provider/assignment-apply.d.ts.map +1 -1
- package/daemon/dist/domain/provider/assignment-apply.js +2 -1
- package/daemon/dist/domain/provider/assignment-apply.js.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.js +11 -3
- package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service.d.ts +4 -3
- package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +26 -7
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +159 -37
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +1826 -1821
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts +9 -0
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts +6 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +29 -12
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +4 -0
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts +2 -0
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +38 -2
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +4 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +32 -13
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +3 -0
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +25 -7
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts +5 -0
- package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +13 -0
- package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +18 -0
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +28 -1
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts +28 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts.map +1 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.js +123 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.js.map +1 -0
- package/daemon/dist/domain/seat-pool-executor.d.ts +5 -1
- package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-executor.js +695 -95
- package/daemon/dist/domain/seat-pool-executor.js.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.d.ts +68 -3
- package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.js +60 -8
- package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.d.ts +4 -1
- package/daemon/dist/domain/seat-pool-spec.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.js +14 -2
- package/daemon/dist/domain/seat-pool-spec.js.map +1 -1
- package/daemon/dist/domain/seat-reaper-eligibility.d.ts.map +1 -1
- package/daemon/dist/domain/seat-reaper-eligibility.js +5 -2
- package/daemon/dist/domain/seat-reaper-eligibility.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +2 -3
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +3 -43
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-startup-text.d.ts +159 -0
- package/daemon/dist/domain/seat-startup-text.d.ts.map +1 -0
- package/daemon/dist/domain/seat-startup-text.js +200 -0
- package/daemon/dist/domain/seat-startup-text.js.map +1 -0
- package/daemon/dist/domain/seat-status-service.d.ts +3 -0
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +1 -0
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +8 -20
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +93 -26
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts +3 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +10 -0
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts +2 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js +54 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js.map +1 -0
- package/daemon/dist/domain/terminal/tile-attach.d.ts +4 -4
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +14 -8
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +19 -1
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +1 -2
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.d.ts +4 -0
- package/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.js +14 -0
- package/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
- package/daemon/dist/domain/workspace/project-registration.d.ts +5 -1
- package/daemon/dist/domain/workspace/project-registration.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/project-registration.js +11 -7
- package/daemon/dist/domain/workspace/project-registration.js.map +1 -1
- package/daemon/dist/rig-lookup-surface.d.ts +2 -0
- package/daemon/dist/rig-lookup-surface.d.ts.map +1 -0
- package/daemon/dist/rig-lookup-surface.js +5 -0
- package/daemon/dist/rig-lookup-surface.js.map +1 -0
- package/daemon/dist/routes/network.d.ts.map +1 -1
- package/daemon/dist/routes/network.js +19 -1
- package/daemon/dist/routes/network.js.map +1 -1
- package/daemon/dist/routes/queue.js +1 -1
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/rigspec.d.ts.map +1 -1
- package/daemon/dist/routes/rigspec.js +4 -0
- package/daemon/dist/routes/rigspec.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +8 -0
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/terminal-ws.d.ts +0 -5
- package/daemon/dist/routes/terminal-ws.d.ts.map +1 -1
- package/daemon/dist/routes/terminal-ws.js +0 -6
- package/daemon/dist/routes/terminal-ws.js.map +1 -1
- package/daemon/dist/routes/transport.js +1 -1
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/server.d.ts +1 -1
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +3 -6
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +33 -35
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +18 -0
- package/daemon/docs/reference/agent-state-taxonomy.md +8 -0
- package/daemon/docs/reference/daemon-http-clients.md +4 -0
- package/daemon/docs/reference/getting-started.md +63 -11
- package/daemon/docs/reference/hosted-members.md +1 -1
- package/daemon/docs/reference/network-connector.md +66 -1
- package/daemon/docs/reference/quickstart.md +4 -4
- package/daemon/docs/reference/rig-bundle.md +25 -0
- package/daemon/docs/reference/rig-spec.md +40 -14
- package/daemon/docs/reference/seat-delivery.md +11 -2
- package/daemon/docs/reference/seat-pools.md +119 -14
- package/daemon/docs/reference/seat-scaling.md +2 -1
- package/daemon/docs/reference/whats-new.md +102 -12
- package/daemon/specs/agents/development/implementer/guidance/role.md +11 -0
- package/daemon/specs/agents/development/qa/guidance/role.md +5 -0
- package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +9 -1
- package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +15 -5
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +8 -3
- package/dist/build-info.js +3 -3
- package/dist/cli-error.d.ts +2 -0
- package/dist/cli-error.d.ts.map +1 -1
- package/dist/cli-error.js +25 -8
- package/dist/cli-error.js.map +1 -1
- package/dist/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +13 -0
- package/dist/client.js.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +52 -1
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/crash-cart.d.ts.map +1 -1
- package/dist/commands/crash-cart.js +65 -17
- package/dist/commands/crash-cart.js.map +1 -1
- package/dist/commands/daemon.d.ts +7 -20
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +83 -50
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/doctor.d.ts +26 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +143 -1
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +4 -2
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/network.d.ts +4 -0
- package/dist/commands/network.d.ts.map +1 -1
- package/dist/commands/network.js +78 -10
- package/dist/commands/network.js.map +1 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +12 -4
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/ps.d.ts +8 -0
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +19 -3
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue-transfer.d.ts.map +1 -1
- package/dist/commands/queue-transfer.js +12 -6
- package/dist/commands/queue-transfer.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +5 -4
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +74 -6
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/setup.d.ts +34 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +105 -17
- package/dist/commands/setup.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +46 -2
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +381 -174
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/daemon-start-lock.d.ts +28 -0
- package/dist/daemon-start-lock.d.ts.map +1 -1
- package/dist/daemon-start-lock.js +107 -13
- package/dist/daemon-start-lock.js.map +1 -1
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +65 -1
- package/dist/mcp-server.js.map +1 -1
- package/dist/process-liveness.d.ts +21 -0
- package/dist/process-liveness.d.ts.map +1 -0
- package/dist/process-liveness.js +43 -0
- package/dist/process-liveness.js.map +1 -0
- package/dist/remote-host-ops.d.ts +1 -1
- package/dist/remote-host-ops.d.ts.map +1 -1
- package/dist/remote-host-ops.js +3 -14
- package/dist/remote-host-ops.js.map +1 -1
- package/dist/system-preflight.d.ts +9 -0
- package/dist/system-preflight.d.ts.map +1 -1
- package/dist/system-preflight.js +22 -7
- package/dist/system-preflight.js.map +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -26,14 +26,14 @@ 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.26/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.26/skills/rigs --skill rigs --agent codex
|
|
32
32
|
# OMP (Oh My Pi): the pi target installs to .agents/skills, which OMP reads
|
|
33
|
-
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
33
|
+
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.26/skills/rigs --skill rigs --agent pi
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
**OMP:** this pin installs the shared skill only. The `v0.7.
|
|
36
|
+
**OMP:** this pin installs the shared skill only. The `v0.7.26` skill includes OMP attachment guidance (`rig attach --self … --runtime omp`),
|
|
37
37
|
but complete setup from OMP has not been verified. OMP isn't a kernel provider; Claude Code or Codex must still be
|
|
38
38
|
signed in.
|
|
39
39
|
|
|
@@ -76,11 +76,11 @@ Setting up Node.js on Linux, on a Mac where you aren't an administrator, or on W
|
|
|
76
76
|
|
|
77
77
|
### Install it yourself
|
|
78
78
|
|
|
79
|
-
This runs OpenRig's install script from the `v0.7.
|
|
79
|
+
This runs OpenRig's install script from the `v0.7.26` 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:
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
83
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
82
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.26/scripts/install.sh | sh -s -- --dry-run
|
|
83
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.26/scripts/install.sh | sh
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
If the last step isn't ready, the installer reports `INSTALLED, SETUP NOT COMPLETE` and points to the details from `rig setup` above. Follow that output and any reported Fix, then rerun `rig setup`; the CLI does not need reinstalling. If the only remaining failures are provider sign-ins, sign in to each selected provider as below and continue.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
// The declarations TypeScript callers use (the conversation key, recorded by the CLI and the MCP server
|
|
2
|
-
// is plain CommonJS so the openrig plugin can ship
|
|
1
|
+
// The declarations TypeScript callers use (the conversation key, recorded by the CLI and the MCP server; the plugin's `rig`
|
|
2
|
+
// lookup, which `rig doctor` checks a login shell with); the script itself is plain CommonJS so the openrig plugin can ship
|
|
3
|
+
// and run a copy of it.
|
|
3
4
|
export const CONVERSATION_KEY_TAG_PREFIX: string;
|
|
4
5
|
export function conversationKey(opts?: { pid?: number; env?: NodeJS.ProcessEnv; read?: (pid: number) => { pid: number; ppid: number; start: string; names: string[] } | null }): string | null;
|
|
5
6
|
export function conversationKeyTag(key: string): string;
|
|
7
|
+
export function findRig(opts?: { env?: NodeJS.ProcessEnv; projectDir?: string }): string | null;
|
|
8
|
+
export function loginShellPath(opts?: {
|
|
9
|
+
env?: NodeJS.ProcessEnv;
|
|
10
|
+
spawnSync?: (file: string, args: string[], options: { env?: NodeJS.ProcessEnv; encoding: "utf8"; timeout: number; stdio: unknown }) =>
|
|
11
|
+
{ error?: unknown; status: number | null; stdout?: string | null };
|
|
12
|
+
}): string | null;
|
|
@@ -42,5 +42,22 @@ const TEAM_CLAUDE_ASK = [
|
|
|
42
42
|
// permission requests a person answered, so seat decide-permission doesn't ask there. claude-team-permissions.cjs
|
|
43
43
|
// reads the setting through the seat's own rig, and only when a command names decide-permission.
|
|
44
44
|
const RECEIVING_AGENT_NO_ASK = ["Bash(rig seat decide-permission:*)"];
|
|
45
|
+
// The read-only forms of asked lifecycle commands: with its `read` flag the command shows a plan or a state, and starts,
|
|
46
|
+
// stops, removes or replaces nothing and records no permission choice (each from the command's own help and source), so
|
|
47
|
+
// it runs like --help. Every other form still asks. `destroy --state` destroys state, so it isn't one. `flags` are that
|
|
48
|
+
// command's options that take no value. The argument walk skips values of all other options, including a value that
|
|
49
|
+
// looks like the read flag (`--reason --plan`), and accepts joined values (`--reason=why --plan`).
|
|
50
|
+
const LIFECYCLE_READ_FLAGS = {
|
|
51
|
+
"up": { read: "--plan", flags: ["--non-interruptive", "--no-non-interruptive", "--yes", "--existing", "--json"] },
|
|
52
|
+
"launch": { read: "--plan", flags: ["--json"] },
|
|
53
|
+
"bootstrap": { read: "--plan", flags: ["--yes", "--skip-version-check", "--force", "--json"] },
|
|
54
|
+
"bundle install": { read: "--plan", flags: ["--non-interruptive", "--no-non-interruptive", "--yes", "--skip-version-check", "--force", "--json"] },
|
|
55
|
+
"handover": { read: "--dry-run", flags: ["--recover", "--json"] },
|
|
56
|
+
"seat handover": { read: "--dry-run", flags: ["--recover", "--json"] },
|
|
57
|
+
"seat launch": { read: "--plan", flags: ["--fresh", "--stop", "--json"] },
|
|
58
|
+
"seat restart": { read: "--plan", flags: ["--keep-conversation", "--verify", "--json"] },
|
|
59
|
+
"setup": { read: "--dry-run", flags: ["--json", "--full", "--no-herdr", "--ghostty", "--no-ghostty"] },
|
|
60
|
+
"compact": { read: "--state", flags: ["--json", "--skip-map", "--cancel"] },
|
|
61
|
+
};
|
|
45
62
|
|
|
46
|
-
module.exports = { KERNEL_CLAUDE_ALLOW, TEAM_CLAUDE_ALLOW, TEAM_CLAUDE_ASK, RECEIVING_AGENT_NO_ASK };
|
|
63
|
+
module.exports = { KERNEL_CLAUDE_ALLOW, TEAM_CLAUDE_ALLOW, TEAM_CLAUDE_ASK, RECEIVING_AGENT_NO_ASK, LIFECYCLE_READ_FLAGS };
|
|
@@ -207,6 +207,27 @@ function helpOnly(tokens, prefixLength) {
|
|
|
207
207
|
&& args.slice(0, help).every(t => !t.value.startsWith("-"));
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
+
// A lifecycle command's read-only form (LIFECYCLE_READ_FLAGS): its read flag among literal arguments, before any `--`,
|
|
211
|
+
// with no `--` before the subcommand, and not where an option before it could take it as a value. It only shows a plan
|
|
212
|
+
// or a state, so, like help, it doesn't ask.
|
|
213
|
+
function readOnly(tokens, prefix, prefixLength) {
|
|
214
|
+
const form = require("./claude-permission-policies.cjs").LIFECYCLE_READ_FLAGS[prefix.slice(1).join(" ")];
|
|
215
|
+
if (!form || tokens.slice(1, prefixLength).some(t => t.value === "--")) return false;
|
|
216
|
+
const args = tokens.slice(prefixLength);
|
|
217
|
+
if (!args.every(t => t.literal)) return false;
|
|
218
|
+
const end = args.findIndex(t => t.value === "--");
|
|
219
|
+
const scan = end === -1 ? args : args.slice(0, end);
|
|
220
|
+
for (let i = 0; i < scan.length; i++) {
|
|
221
|
+
const value = scan[i].value;
|
|
222
|
+
if (value === form.read) return true;
|
|
223
|
+
// A joined value is already consumed. A declared boolean consumes nothing;
|
|
224
|
+
// other options take the next word, even when that word looks like a flag.
|
|
225
|
+
// A lone `-` is an operand, as commander reads it (an option is longer than one character).
|
|
226
|
+
if (value.length > 1 && value.startsWith("-") && !value.includes("=") && !form.flags.includes(value)) i++;
|
|
227
|
+
}
|
|
228
|
+
return false;
|
|
229
|
+
}
|
|
230
|
+
|
|
210
231
|
function decide(command, policy, depth = 0) {
|
|
211
232
|
if (depth > 4) return undefined;
|
|
212
233
|
const { main, expanding } = splitHeredocs(command);
|
|
@@ -232,7 +253,7 @@ function decide(command, policy, depth = 0) {
|
|
|
232
253
|
const tokens = normalize(command.slice(i));
|
|
233
254
|
for (const prefix of asks) {
|
|
234
255
|
const end = prefixEnd(tokens, prefix);
|
|
235
|
-
if (end !== undefined && !helpOnly(tokens, end)) return "ask";
|
|
256
|
+
if (end !== undefined && !helpOnly(tokens, end) && !readOnly(tokens, prefix, end)) return "ask";
|
|
236
257
|
}
|
|
237
258
|
}
|
|
238
259
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# Finding your skills and context
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
- **
|
|
6
|
-
- **
|
|
7
|
-
- **Your work:** `rig context work-install` lists what your project declares: its intent, context files and skills.
|
|
3
|
+
- **Claude Code Bash:** one plain `rig` command per call; row text via `--body-file`. See `openrig-user` for the method and why compound commands can prompt.
|
|
4
|
+
- **Skills:** `openrig-skills` routes tasks; `rig skill loadout --seat self` lists your seat's skills.
|
|
5
|
+
- **Help:** `rig context get help` for OpenRig problems; `rig context list` lists available context.
|
|
6
|
+
- **Your work:** `rig context work-install` lists declared project intent, context and skills.
|
|
8
7
|
- **Asking another team:** if `rig whoami` names a network binding, `rig network peers` lists whom you can ask and `rig network request` sends a request (experimental and unsupported, at your own risk). `rig network request --help` says how to be woken when its answer lands.
|
|
9
8
|
- **What your rig and seat have learned:** `LEARNED.md` in `$(rig config get topology.root)/rigs/<rig>/` for the rig, and in its `seats/<seat>/` for your seat (`rig whoami --json` names both).
|
|
@@ -188,8 +188,10 @@ The app starts one `openrig` server, `rig mcp serve --front-door`, from the root
|
|
|
188
188
|
## What it doesn't do
|
|
189
189
|
|
|
190
190
|
- It adds no panel to the app. Where its hooks don't run (apps other than Claude Code and Codex), nothing wakes your
|
|
191
|
-
chat when the team asks or finishes
|
|
191
|
+
chat when the team asks or finishes. While work it handed over is open, your agent checks on that work at the start
|
|
192
|
+
of each of its turns, and an app's scheduled task can check between your messages (your agent says what that needs).
|
|
192
193
|
- Everyone using the app on this machine acts as the seat it names.
|
|
193
194
|
- It reaches a team on this machine.
|
|
194
|
-
- **Outside Claude Code and Codex,** until you give the app a seat, it hands the team work
|
|
195
|
-
with
|
|
195
|
+
- **Outside Claude Code and Codex,** until you give the app a seat, it hands the team work as an unknown sender. A task
|
|
196
|
+
it creates with `returnRoute` `auto` gets an address of the conversation's own, and it can answer the team's questions
|
|
197
|
+
about that task; anything else needs a seat (see "No seat" above).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "openrig",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.26",
|
|
5
5
|
"description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Mike Schwarz",
|
|
@@ -38,7 +38,8 @@ behave; this skill is the loop around them.
|
|
|
38
38
|
because your seat has no terminal and `rig send` can't reach it:
|
|
39
39
|
|
|
40
40
|
> To ask me anything, create a queue item to `<your seat>` (`rig queue create --destination <your seat> ...`), then
|
|
41
|
-
> block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you.
|
|
41
|
+
> block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. If
|
|
42
|
+
> the block is refused because I've already answered, read my answer on that item and carry on. I
|
|
42
43
|
> check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
|
|
43
44
|
> permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
|
|
44
45
|
> doing and any escalation's id, unless a question about that prompt is already open at my seat. Whoever sent the
|
|
@@ -49,12 +50,19 @@ behave; this skill is the loop around them.
|
|
|
49
50
|
> stays a no. If they gave no answer, or their words don't clearly
|
|
50
51
|
> pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything, and
|
|
51
52
|
> never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
|
|
52
|
-
> unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item.
|
|
53
|
-
>
|
|
54
|
-
>
|
|
53
|
+
> unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. Commit
|
|
54
|
+
> only as an author the person gave you, one they approved when you proposed it, or the one the repository already
|
|
55
|
+
> has (`git config user.name` and `user.email`); if there's none, ask me, and never choose one without their say.
|
|
56
|
+
> When you finish, put the outcome in this item's resolution, with what
|
|
57
|
+
> the latest review found, and any file in its evidence ref.
|
|
55
58
|
- With an address of this chat's own (`returnRoute` in the result), with or without a seat, end the body with the result
|
|
56
59
|
route instead:
|
|
57
60
|
|
|
61
|
+
> Commit only as an author the person gave you, one they approved when you proposed it, or the one the repository
|
|
62
|
+
> already has (`git config user.name` and `user.email`); if there's none, ask the person with a task to this item's
|
|
63
|
+
> return route and block this item on it (`rig queue block <this id> --on <question id>`), so their answer wakes
|
|
64
|
+
> you (if the block is refused because they've already answered, read their answer on that task and carry on), and
|
|
65
|
+
> never choose one without their say.
|
|
58
66
|
> When you finish, send the result as a task to this item's return route (`rig queue show <this id>` names it):
|
|
59
67
|
> `rig queue create --destination <that address> --summary "<the result in a line>" --body-file <file>`. Then
|
|
60
68
|
> close this item with the result. A close by itself doesn't reach the person's chat, and the task does. If you
|
|
@@ -95,7 +103,9 @@ task, without anyone asking you to check.
|
|
|
95
103
|
- A Codex whose `codex queue` has no `--resume` (Codex 0.171.0 has it) gets the tasks at this chat's next turn, not
|
|
96
104
|
while it's idle. The hooks say so once in the chat: tell the person in plain words.
|
|
97
105
|
- The hooks read only the addresses recorded under this chat's key, from OpenRig's own record, and check them for new
|
|
98
|
-
tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat.
|
|
106
|
+
tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat. In
|
|
107
|
+
Claude Code they check for up to two hours after each turn, so while work you handed over is open, keep the
|
|
108
|
+
background wait the rigs skill gives running alongside them, and start it again whenever it ends.
|
|
99
109
|
- Each one says it came from OpenRig's hook bridge and names its sender as OpenRig recorded it. It's a task like any
|
|
100
110
|
other: show it to the person and record their words, as below.
|
|
101
111
|
- A wake comes only when your turn ends, so while the team works, end your turn rather than watching its seats
|
|
@@ -38,7 +38,8 @@ behave; this skill is the loop around them.
|
|
|
38
38
|
because your seat has no terminal and `rig send` can't reach it:
|
|
39
39
|
|
|
40
40
|
> To ask me anything, create a queue item to `<your seat>` (`rig queue create --destination <your seat> ...`), then
|
|
41
|
-
> block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you.
|
|
41
|
+
> block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. If
|
|
42
|
+
> the block is refused because I've already answered, read my answer on that item and carry on. I
|
|
42
43
|
> check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
|
|
43
44
|
> permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
|
|
44
45
|
> doing and any escalation's id, unless a question about that prompt is already open at my seat. Whoever sent the
|
|
@@ -49,12 +50,19 @@ behave; this skill is the loop around them.
|
|
|
49
50
|
> stays a no. If they gave no answer, or their words don't clearly
|
|
50
51
|
> pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything, and
|
|
51
52
|
> never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
|
|
52
|
-
> unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item.
|
|
53
|
-
>
|
|
54
|
-
>
|
|
53
|
+
> unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. Commit
|
|
54
|
+
> only as an author the person gave you, one they approved when you proposed it, or the one the repository already
|
|
55
|
+
> has (`git config user.name` and `user.email`); if there's none, ask me, and never choose one without their say.
|
|
56
|
+
> When you finish, put the outcome in this item's resolution, with what
|
|
57
|
+
> the latest review found, and any file in its evidence ref.
|
|
55
58
|
- With an address of this chat's own (`returnRoute` in the result), with or without a seat, end the body with the result
|
|
56
59
|
route instead:
|
|
57
60
|
|
|
61
|
+
> Commit only as an author the person gave you, one they approved when you proposed it, or the one the repository
|
|
62
|
+
> already has (`git config user.name` and `user.email`); if there's none, ask the person with a task to this item's
|
|
63
|
+
> return route and block this item on it (`rig queue block <this id> --on <question id>`), so their answer wakes
|
|
64
|
+
> you (if the block is refused because they've already answered, read their answer on that task and carry on), and
|
|
65
|
+
> never choose one without their say.
|
|
58
66
|
> When you finish, send the result as a task to this item's return route (`rig queue show <this id>` names it):
|
|
59
67
|
> `rig queue create --destination <that address> --summary "<the result in a line>" --body-file <file>`. Then
|
|
60
68
|
> close this item with the result. A close by itself doesn't reach the person's chat, and the task does. If you
|
|
@@ -95,7 +103,9 @@ task, without anyone asking you to check.
|
|
|
95
103
|
- A Codex whose `codex queue` has no `--resume` (Codex 0.171.0 has it) gets the tasks at this chat's next turn, not
|
|
96
104
|
while it's idle. The hooks say so once in the chat: tell the person in plain words.
|
|
97
105
|
- The hooks read only the addresses recorded under this chat's key, from OpenRig's own record, and check them for new
|
|
98
|
-
tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat.
|
|
106
|
+
tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat. In
|
|
107
|
+
Claude Code they check for up to two hours after each turn, so while work you handed over is open, keep the
|
|
108
|
+
background wait the rigs skill gives running alongside them, and start it again whenever it ends.
|
|
99
109
|
- Each one says it came from OpenRig's hook bridge and names its sender as OpenRig recorded it. It's a task like any
|
|
100
110
|
other: show it to the person and record their words, as below.
|
|
101
111
|
- A wake comes only when your turn ends, so while the team works, end your turn rather than watching its seats
|
|
@@ -29,6 +29,14 @@ constraint-induced circumvention: under goal pressure, agents build shadow trans
|
|
|
29
29
|
credentials, and weaker proof instead of the direct authorized path. Keep only explicitly stated
|
|
30
30
|
external or irreversible boundaries — public push / PR / publish, and destruction of canonical data.
|
|
31
31
|
|
|
32
|
+
## Running `rig` in Claude Code's Bash tool
|
|
33
|
+
|
|
34
|
+
Run one plain `rig` command per Bash tool call, without shell variable assignments, command
|
|
35
|
+
substitutions (`$(...)`) or loops. Put queue-row text in a file and pass `--body-file` with its
|
|
36
|
+
literal absolute path. A compound command can stop at a permission prompt even when `Bash(rig:*)`
|
|
37
|
+
is allowed, with nobody at the seat to answer. Prepare the file in a separate tool call, then run
|
|
38
|
+
the `rig` command by itself. The send and queue examples below show this shape.
|
|
39
|
+
|
|
32
40
|
## Coordination primitives — when to use which
|
|
33
41
|
|
|
34
42
|
Three coordination surfaces, used together for forward-momentum work. Internalize this
|
|
@@ -1033,9 +1041,10 @@ first-run trust settings) into the seat's home.
|
|
|
1033
1041
|
|
|
1034
1042
|
### Move one Codex seat to another login
|
|
1035
1043
|
|
|
1036
|
-
For a Codex seat on Linux. The login must already be saved in the Codex home the seat runs on (`rig seat status
|
|
1037
|
-
shows it)
|
|
1038
|
-
of improvising.
|
|
1044
|
+
For a Codex seat on Linux or macOS. The login must already be saved in the Codex home the seat runs on (`rig seat status
|
|
1045
|
+
<seat>` shows it), and the seat stays on that home. Other operating systems aren't supported by this command yet: say so
|
|
1046
|
+
instead of improvising. Moving a seat to another home is a different change (`--account-home <path>` starts a fresh
|
|
1047
|
+
successor there with a handover). A Claude seat moves differently; see the next section.
|
|
1039
1048
|
|
|
1040
1049
|
1. **Save each login once, in that home:** `CODEX_HOME=<home> codex login` (the person signs in), then
|
|
1041
1050
|
`CODEX_HOME=<home> rig auth save <name>`. `rig auth list --codex-home <home>` lists them.
|
|
@@ -1067,9 +1076,17 @@ the file's path and your label, never the token.
|
|
|
1067
1076
|
resumes the seat's conversation, sets the reference, and relaunches the seat from that snapshot in its own pane: the pane
|
|
1068
1077
|
and its scrollback stay, but work in flight when Claude ended doesn't carry over. Seats sharing the config dir keep their
|
|
1069
1078
|
own login. `--stored-login` moves the seat back; if the seat still receives a `CLAUDE_CODE_OAUTH_TOKEN`, Claude uses that
|
|
1070
|
-
instead of the stored login
|
|
1071
|
-
|
|
1072
|
-
|
|
1079
|
+
instead of the stored login. The report names one the switch's check finds (the daemon's environment, the seat's `env:` or
|
|
1080
|
+
its settings files); one the pane shell exports isn't checked or named.
|
|
1081
|
+
4. **Confirm:** read the switch report first. When the launch couldn't apply the token file, it says the token didn't take
|
|
1082
|
+
effect (`tokenApplied: false` in `--json`), and the seat runs on whatever credential it would otherwise receive (its
|
|
1083
|
+
stored login, a token the daemon gives every seat, or one in the seat's `env:`), which may be another account: fix the
|
|
1084
|
+
file, then relaunch the seat or switch it again. When OpenRig couldn't tell whether the token took effect, the report
|
|
1085
|
+
says so and why (`tokenApplied: null`). That doesn't mean the token failed: check the seat's pane (`rig capture <seat>`),
|
|
1086
|
+
where OpenRig's notice says when it didn't take effect. After the seat completes a real
|
|
1087
|
+
tool-using turn, its `/status` shows the auth method; a token from the daemon reads as token auth too, so `/status` alone
|
|
1088
|
+
can't show that the selected file applied. Claude doesn't report which account a token belongs to (`claude auth status` says only that a token is set), so the label is yours, not
|
|
1089
|
+
an account Claude observed: say so. A token session can't use claude.ai connectors or Remote Control.
|
|
1073
1090
|
The token is in Claude's environment, so the tools, hooks and MCP servers it starts inherit it; don't have it print its
|
|
1074
1091
|
environment. A relaunch that didn't resume reads unknown, with its recovery command; never run the switch again for it.
|
|
1075
1092
|
`rig seat status <seat>` shows the reference, and says when its file won't apply at the next launch.
|
|
@@ -74,8 +74,11 @@ The outcomes above ride on three DISTINCT mechanisms; keep them separate:
|
|
|
74
74
|
OpenRig path EDITS provider-owned native **session / auth / transcript** files to
|
|
75
75
|
inject context. Context enters ONLY through sanctioned channels: the hook
|
|
76
76
|
`additionalContext`, a normal user message via `rig send`, or Codex resume tokens.
|
|
77
|
-
Precise nuance: OpenRig *does* write `~/.codex/config.toml
|
|
78
|
-
|
|
77
|
+
Precise nuance: OpenRig *does* write `~/.codex/config.toml`: it installs OpenRig
|
|
78
|
+
activity **hooks** and `[features]`, marks each Codex seat's workspace trusted at
|
|
79
|
+
seat startup (`trust_level = "trusted"` for the workspace path, replacing a value
|
|
80
|
+
already there), and can add selected MCP or config resources. It never writes
|
|
81
|
+
session or auth state. So the
|
|
79
82
|
rule is "never edits native session/auth/transcript files," NOT "never touches any
|
|
80
83
|
provider-owned file."
|
|
81
84
|
|