@openrig/cli 0.7.5 → 0.7.7
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/hooks/claude.json +11 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +5 -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 +30 -3
- package/daemon/context-packs/reference/getting-started.md +37 -3
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +142 -3
- package/daemon/context-packs/reference/whats-new.md +162 -164
- 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/SKILL.md +0 -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/SKILL.md +0 -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/SKILL.md +2 -2
- 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/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/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/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 +1 -0
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +41 -10
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +20 -4
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +5 -2
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +2 -0
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +37 -14
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.d.ts +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.js +3 -1
- package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +6 -5
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +15 -11
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +4 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/141_node_account_home.d.ts +3 -0
- package/daemon/dist/db/migrations/141_node_account_home.d.ts.map +1 -0
- package/daemon/dist/db/migrations/141_node_account_home.js +6 -0
- package/daemon/dist/db/migrations/141_node_account_home.js.map +1 -0
- package/daemon/dist/db/migrations/141_session_agent_runner.d.ts +3 -0
- package/daemon/dist/db/migrations/141_session_agent_runner.d.ts.map +1 -0
- package/daemon/dist/db/migrations/141_session_agent_runner.js +11 -0
- package/daemon/dist/db/migrations/141_session_agent_runner.js.map +1 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts +7 -2
- package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
- package/daemon/dist/domain/activity-taxonomy.js +10 -2
- package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
- package/daemon/dist/domain/agent-activity-store.d.ts +6 -3
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +18 -10
- package/daemon/dist/domain/agent-activity-store.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.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +3 -2
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-credential-precedence.d.ts +8 -0
- package/daemon/dist/domain/claude-credential-precedence.d.ts.map +1 -1
- package/daemon/dist/domain/claude-credential-precedence.js +49 -4
- package/daemon/dist/domain/claude-credential-precedence.js.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.d.ts +24 -3
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +92 -29
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/claude-seat-token.d.ts +14 -2
- package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -1
- package/daemon/dist/domain/claude-seat-token.js +54 -7
- package/daemon/dist/domain/claude-seat-token.js.map +1 -1
- package/daemon/dist/domain/codex-rebuild-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/codex-rebuild-permissions.js +6 -4
- package/daemon/dist/domain/codex-rebuild-permissions.js.map +1 -1
- package/daemon/dist/domain/community-harness-presets.d.ts +5 -0
- package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-presets.js +9 -2
- package/daemon/dist/domain/community-harness-presets.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/config.d.ts +7 -0
- package/daemon/dist/domain/gateway/slack/config.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/config.js +5 -0
- package/daemon/dist/domain/gateway/slack/config.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +4 -0
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +11 -3
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +8 -15
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts +5 -1
- package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-api.js +7 -1
- package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +3 -0
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.js +12 -5
- package/daemon/dist/domain/gateway/slack/slack-delivery.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 +19 -5
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/markdown-address.d.ts.map +1 -1
- package/daemon/dist/domain/markdown-address.js +14 -1
- package/daemon/dist/domain/markdown-address.js.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
- package/daemon/dist/domain/native-process-arguments.d.ts +7 -0
- package/daemon/dist/domain/native-process-arguments.d.ts.map +1 -0
- package/daemon/dist/domain/native-process-arguments.js +188 -0
- package/daemon/dist/domain/native-process-arguments.js.map +1 -0
- package/daemon/dist/domain/native-process-lineage.d.ts +8 -0
- package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-lineage.js +104 -30
- package/daemon/dist/domain/native-process-lineage.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +3 -3
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +38 -28
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +6 -4
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/pane-cutover.d.ts +1 -1
- package/daemon/dist/domain/pane-cutover.d.ts.map +1 -1
- package/daemon/dist/domain/pane-cutover.js +3 -3
- package/daemon/dist/domain/pane-cutover.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/process-table.d.ts +2 -0
- package/daemon/dist/domain/process-table.d.ts.map +1 -1
- package/daemon/dist/domain/process-table.js +3 -0
- package/daemon/dist/domain/process-table.js.map +1 -1
- package/daemon/dist/domain/proof/source-watch.d.ts +1 -1
- package/daemon/dist/domain/proof/source-watch.d.ts.map +1 -1
- package/daemon/dist/domain/proof/source-watch.js +14 -1
- package/daemon/dist/domain/proof/source-watch.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 +19 -9
- package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.js +3 -0
- package/daemon/dist/domain/provider/provider-service-impl.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service.d.ts +6 -0
- package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-types.d.ts +3 -2
- package/daemon/dist/domain/provider/provider-types.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +2 -2
- package/daemon/dist/domain/ps-projection.js +6 -6
- package/daemon/dist/domain/ps-projection.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +13 -2
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +84 -21
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +2 -2
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +20 -11
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transition-log.d.ts +14 -0
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +53 -0
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +18 -7
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/reply-to-choice.d.ts +3 -0
- package/daemon/dist/domain/reply-to-choice.d.ts.map +1 -1
- package/daemon/dist/domain/reply-to-choice.js +12 -0
- package/daemon/dist/domain/reply-to-choice.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +7 -2
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +69 -22
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.js +20 -35
- package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +3 -1
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +25 -5
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +4 -0
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +4 -0
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +4 -1
- 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 +29 -1
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +11 -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-activity-service.d.ts +8 -1
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +92 -35
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +2 -2
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +13 -1
- package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts +4 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +21 -8
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +19 -11
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +66 -13
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-home.d.ts +7 -3
- package/daemon/dist/domain/seat-runtime-home.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-home.js +32 -3
- package/daemon/dist/domain/seat-runtime-home.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts +13 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.js +48 -6
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
- package/daemon/dist/domain/seat-status-service.d.ts +4 -2
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +5 -3
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +7 -2
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +19 -2
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +2 -0
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +15 -1
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +12 -2
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-proof.d.ts +3 -1
- package/daemon/dist/domain/startup-proof.d.ts.map +1 -1
- package/daemon/dist/domain/startup-proof.js +7 -2
- package/daemon/dist/domain/startup-proof.js.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.js +2 -2
- package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-follow-view.d.ts +1 -1
- package/daemon/dist/domain/terminal/herdr-follow-view.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-follow-view.js +35 -18
- package/daemon/dist/domain/terminal/herdr-follow-view.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-sessions.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-sessions.js +6 -5
- package/daemon/dist/domain/terminal/herdr-sessions.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-transport.d.ts +3 -2
- package/daemon/dist/domain/terminal/herdr-transport.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-transport.js +10 -6
- package/daemon/dist/domain/terminal/herdr-transport.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-viewer.d.ts +16 -1
- package/daemon/dist/domain/terminal/herdr-viewer.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-viewer.js +52 -26
- package/daemon/dist/domain/terminal/herdr-viewer.js.map +1 -1
- package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts +28 -0
- package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/scope-task-terminal-view.js +268 -0
- package/daemon/dist/domain/terminal/scope-task-terminal-view.js.map +1 -0
- package/daemon/dist/domain/terminal/task-terminal-view.d.ts +10 -1
- package/daemon/dist/domain/terminal/task-terminal-view.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/task-terminal-view.js +6 -1
- package/daemon/dist/domain/terminal/task-terminal-view.js.map +1 -1
- package/daemon/dist/domain/terminal/terminal-following.js +3 -3
- package/daemon/dist/domain/terminal/terminal-following.js.map +1 -1
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +1 -1
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.d.ts +9 -0
- package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.js +43 -9
- package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +35 -2
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js +5 -0
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +1 -1
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +75 -7
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/compaction.js +4 -0
- package/daemon/dist/routes/compaction.js.map +1 -1
- package/daemon/dist/routes/provider.d.ts +1 -0
- package/daemon/dist/routes/provider.d.ts.map +1 -1
- package/daemon/dist/routes/provider.js +49 -10
- package/daemon/dist/routes/provider.js.map +1 -1
- package/daemon/dist/routes/rigs.js +3 -97
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts +4 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +8 -2
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.js +4 -3
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/slices.d.ts.map +1 -1
- package/daemon/dist/routes/slices.js +1 -0
- package/daemon/dist/routes/slices.js.map +1 -1
- package/daemon/dist/routes/terminal.d.ts.map +1 -1
- package/daemon/dist/routes/terminal.js +5 -3
- package/daemon/dist/routes/terminal.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +26 -9
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-state-taxonomy.md +21 -1
- package/daemon/docs/reference/author-contracts.md +74 -0
- package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +1 -0
- package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +6 -0
- package/daemon/docs/reference/community-harness-examples/hermes/hermes.yaml +1 -0
- package/daemon/docs/reference/community-harness-examples/hermes/openrig-hermes-launch +15 -0
- package/daemon/docs/reference/community-harness-presets.md +78 -3
- package/daemon/docs/reference/execution-platform-contract.md +138 -0
- package/daemon/docs/reference/getting-started.md +37 -3
- package/daemon/docs/reference/harness-runner-contract.md +242 -0
- package/daemon/docs/reference/quickstart.md +1 -1
- package/daemon/docs/reference/rig-spec.md +142 -3
- package/daemon/docs/reference/slack-app-setup.md +8 -0
- package/daemon/docs/reference/terminal-sessions.md +106 -5
- package/daemon/docs/reference/whats-new.md +162 -164
- package/daemon/specs/agents/shared/skills/core/openrig-architect/SKILL.md +0 -1
- package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +0 -1
- package/daemon/specs/agents/shared/skills/core/rig-lifecycle/SKILL.md +2 -2
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +11 -2
- package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +2 -1
- package/dist/build-info.js +3 -3
- package/dist/client.js +3 -3
- package/dist/client.js.map +1 -1
- package/dist/commands/chatroom.d.ts +7 -0
- package/dist/commands/chatroom.d.ts.map +1 -1
- package/dist/commands/chatroom.js +21 -4
- package/dist/commands/chatroom.js.map +1 -1
- package/dist/commands/crash-cart.d.ts +6 -0
- package/dist/commands/crash-cart.d.ts.map +1 -1
- package/dist/commands/crash-cart.js +10 -5
- package/dist/commands/crash-cart.js.map +1 -1
- package/dist/commands/edge.d.ts.map +1 -1
- package/dist/commands/edge.js +8 -4
- package/dist/commands/edge.js.map +1 -1
- package/dist/commands/host.d.ts +8 -0
- package/dist/commands/host.d.ts.map +1 -1
- package/dist/commands/host.js +57 -6
- package/dist/commands/host.js.map +1 -1
- package/dist/commands/provider.d.ts +1 -0
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +146 -7
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +40 -11
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/seat.d.ts +1 -0
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +61 -9
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/send.js +2 -2
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/slack.d.ts.map +1 -1
- package/dist/commands/slack.js +2 -0
- package/dist/commands/slack.js.map +1 -1
- package/dist/commands/startup-proof.d.ts.map +1 -1
- package/dist/commands/startup-proof.js +4 -1
- package/dist/commands/startup-proof.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +3 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/terminal.js +2 -2
- package/dist/commands/terminal.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +29 -4
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/lib/account-home-switch.d.ts +6 -0
- package/dist/lib/account-home-switch.d.ts.map +1 -0
- package/dist/lib/account-home-switch.js +8 -0
- package/dist/lib/account-home-switch.js.map +1 -0
- package/dist/lib/scope/scope-fs.d.ts.map +1 -1
- package/dist/lib/scope/scope-fs.js +13 -4
- package/dist/lib/scope/scope-fs.js.map +1 -1
- package/dist/openrig-compat.d.ts +9 -1
- package/dist/openrig-compat.d.ts.map +1 -1
- package/dist/openrig-compat.js +19 -3
- package/dist/openrig-compat.js.map +1 -1
- package/dist/terminal-window.d.ts.map +1 -1
- package/dist/terminal-window.js +1 -3
- package/dist/terminal-window.js.map +1 -1
- package/package.json +1 -1
- package/tui/dist/attention/attention-model.js +9 -7
- package/tui/dist/attention/attention-model.js.map +1 -1
- package/tui/dist/config/config-model.d.ts.map +1 -1
- package/tui/dist/config/config-model.js +2 -2
- package/tui/dist/config/config-model.js.map +1 -1
- package/tui/dist/health/health-model.d.ts.map +1 -1
- package/tui/dist/health/health-model.js +2 -2
- package/tui/dist/health/health-model.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +11 -9
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/stylize.js +1 -1
- package/tui/dist/stylize.js.map +1 -1
- package/ui/dist/assets/{index-ozBodLrS.js → index-CMBgYrS7.js} +81 -81
- 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.7/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.7/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.7` 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.7/scripts/install.sh | sh -s -- --dry-run
|
|
75
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.7/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.
|
|
@@ -81,6 +81,17 @@
|
|
|
81
81
|
]
|
|
82
82
|
}
|
|
83
83
|
],
|
|
84
|
+
"PostToolBatch": [
|
|
85
|
+
{
|
|
86
|
+
"hooks": [
|
|
87
|
+
{
|
|
88
|
+
"type": "command",
|
|
89
|
+
"command": "\"${OPENRIG_NODE:-node}\" \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/activity-relay.cjs\" --from-plugin",
|
|
90
|
+
"timeout": 5
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
],
|
|
84
95
|
"Stop": [
|
|
85
96
|
{
|
|
86
97
|
"hooks": [
|
|
@@ -84,6 +84,11 @@ function buildOpenRigPayload(providerPayload, env = process.env, now = () => new
|
|
|
84
84
|
generation,
|
|
85
85
|
hookEvent,
|
|
86
86
|
subtype,
|
|
87
|
+
// Claude's main session omits agent_id; subagents and in-process teammates carry it.
|
|
88
|
+
// Keep that distinction for permission completion, without forwarding tool inputs/results.
|
|
89
|
+
...(runtime === "claude-code" && (hookEvent === "Notification" || hookEvent === "PostToolBatch")
|
|
90
|
+
&& (providerPayload.agent_id == null || firstString(providerPayload.agent_id))
|
|
91
|
+
? { hookAgentId: firstString(providerPayload.agent_id) } : {}),
|
|
87
92
|
turnId: firstString(providerPayload.turn_id, providerPayload.turnId),
|
|
88
93
|
occurredAt: now().toISOString(),
|
|
89
94
|
relayRoute: argv.includes("--from-plugin") ? "plugin" : "managed",
|
|
@@ -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.7"
|
|
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.6`). 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`.
|
|
@@ -34,6 +34,8 @@ one command away. Your memory of the fleet is a claim about the past.
|
|
|
34
34
|
filters to running and **hides detached, exited and attention states** — which are exactly the
|
|
35
35
|
cells you were scanning for. A seat whose tmux session is confirmed gone reads `detached`
|
|
36
36
|
(activity reason `session_missing`), and `rig ps --nodes` says to restore or relaunch it.
|
|
37
|
+
A verified exited process in a retained pane reads `pane_exited`, instead of running and ready;
|
|
38
|
+
outstanding work uses the existing recovery-finding route. An unknown observation is not an exit.
|
|
37
39
|
`rig ps --nodes` also shows the model each seat was last seen using (`modelObservation`, with its
|
|
38
40
|
source and time), or unknown; it never shows the configured model in its place. A Claude seat at
|
|
39
41
|
Claude Code's MCP-server approval menu reads as needing input (`mcp_gate`), a Codex seat at its
|
|
@@ -227,6 +229,15 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
227
229
|
The exercised journey used shell stand-ins, not native agents, and active render cost remains
|
|
228
230
|
unmeasured. See `reference/terminal-sessions.md` for controls and limits. Preview and open
|
|
229
231
|
responses carry `viewDescriptor` (`kind`, `name`); membership grants no input authority.
|
|
232
|
+
**`rig terminal open slice:<name-or-id> --follow --provider herdr`** follows owners of the
|
|
233
|
+
slice's exact-tagged pending, in-progress and blocked rows, with every obligation listed.
|
|
234
|
+
Associate rows with `rig queue create --slice <name-or-id>`; handoffs inherit tags unless replaced.
|
|
235
|
+
New slice views default to four automatic tiles (`--max-tiles` overrides it). Known empty slices
|
|
236
|
+
stay following; incomplete reads keep prior viewers, and draft/focus protection still applies.
|
|
237
|
+
A join refused before a pane split can join on a later refresh, with the original hold reason retained.
|
|
238
|
+
An attach that ran and then exited to a shell is not restarted automatically; the whole slice view
|
|
239
|
+
can hold until that tile is resolved. No tested workaround is offered for that case.
|
|
240
|
+
Slice following targets the Linux Herdr 0.9.5 / protocol 22 path. Mission following is not included.
|
|
230
241
|
An unconfirmed pane is reported as `pane_unconfirmed`, not counted as opened. Inspect before
|
|
231
242
|
retrying: an unconfirmed result does not prove that nothing opened.
|
|
232
243
|
Add `--session <name>` to select a Herdr session for that request; `--session default`
|
|
@@ -262,8 +273,10 @@ unseen — which makes messages the one delivery channel that never gets skipped
|
|
|
262
273
|
beats a rig match; the rest use the default channel). After a change, invite the app to each
|
|
263
274
|
channel, run `rig slack verify`, and restart the daemon (`rig daemon stop`, then `start`).
|
|
264
275
|
Disabling and enabling Slack instead marks alerts still waiting as already posted, so they're
|
|
265
|
-
never posted.
|
|
276
|
+
never posted. By default, an emoji reaction on a message posted for an ask reaches the asking seat
|
|
266
277
|
as a task tagged `human-reaction`: a signal to interpret, not an answer, and the ask stays open.
|
|
278
|
+
`rig slack setup --reactions off` disables that routing; the default is `route`, and regenerating
|
|
279
|
+
the app manifest preserves the setting.
|
|
267
280
|
It needs the `reactions:read` scope and the `reaction_added` event (reinstall the app);
|
|
268
281
|
`rig slack verify` warns when the scope is missing. A long ask is posted in numbered thread parts; one that
|
|
269
282
|
still can't be posted comes back to the asking seat as a `slack-undeliverable` task. Replies
|
|
@@ -517,6 +530,10 @@ not have to tear one down to change it, and you rarely have to start from nothin
|
|
|
517
530
|
`append_system_prompt_file`, `plugin_dirs` and `advisor` (an Advisor model). They're copied into
|
|
518
531
|
that seat's own storage, never the project, so one seat in a shared repository can have its own
|
|
519
532
|
persona, prompt or plugins. A bundle's before-install view lists them.
|
|
533
|
+
- **A new Claude member can name a prepared subscription token** with
|
|
534
|
+
`claude_token: {label: name, file: /abs/token}` beside its `env.CLAUDE_CONFIG_DIR`; the seat stores
|
|
535
|
+
the file reference and reads it at launch. A missing/unreadable token uses the existing fallback
|
|
536
|
+
notice, so verify the account actually used.
|
|
520
537
|
- **`rig community-harness list`**: list installed community-harness presets and declared limits
|
|
521
538
|
(not tested by OpenRig). A preset can declare how its app reports the conversation each launch
|
|
522
539
|
made (`launch_result`), reopens one on resume (`resume`) or lets OpenRig name it
|
|
@@ -524,7 +541,10 @@ not have to tear one down to change it, and you rarely have to start from nothin
|
|
|
524
541
|
that's gone reads `missing`, never quietly replaced. A preset's `first_input: true` hands the
|
|
525
542
|
harness its first startup text through a private file named by `OPENRIG_FIRST_INPUT`. Examples for
|
|
526
543
|
Cursor, Hermes and OpenClaw are in `docs/reference/community-harness-examples/`; OpenClaw's local
|
|
527
|
-
and Gateway-client examples each resume a named conversation.
|
|
544
|
+
and Gateway-client examples each resume a named conversation. A preset can declare `runner: true`
|
|
545
|
+
(with `launch_result: true`) so activity follows its runner reports, recorded per launch.
|
|
546
|
+
`passes_model: true` sends the declared model as `OPENRIG_MODEL`; it does not establish the
|
|
547
|
+
effective model. Cursor and Hermes examples leave model passing off pending native qualification.
|
|
528
548
|
`docs/reference/community-harness-presets.md` is the contract: what a community harness gets from
|
|
529
549
|
OpenRig and what it doesn't (no turn-cancel verb, no approvals reaching OpenRig), how to write
|
|
530
550
|
one, and how promotion is judged. Whether processes a harness starts outside its pane survive
|
|
@@ -1223,6 +1243,13 @@ your circumstances is configuration, and the ones that are not, another agent ca
|
|
|
1223
1243
|
never the token, and `--stored-login` moves it back. These seat account and runtime moves were
|
|
1224
1244
|
tested with stubs, not real accounts, before 0.7.2: check a moved seat's account and conversation
|
|
1225
1245
|
yourself after the first move.
|
|
1246
|
+
- **Move to an existing account home** with `rig provider switch --seat <seat> --to-account <name>
|
|
1247
|
+
--account-home <dir>` (preview with `--dry-run`). It starts a fresh conversation with a handover
|
|
1248
|
+
and retains the seat's address and work. `--clear-account-home` returns to configured defaults.
|
|
1249
|
+
- **Claude subscription/API-key switching resumes the same conversation and interrupts work:**
|
|
1250
|
+
`rig provider switch --seat <seat> --to-account api --api-key-file <abs>`; return with
|
|
1251
|
+
`--to-account plan --token-file <abs>`. The API-key path remains unqualified; verify the resulting
|
|
1252
|
+
account and conversation. Do not combine API-key and account-home selectors.
|
|
1226
1253
|
- **`rig provider status --refresh --provider claude --claude-token-file <absolute path>
|
|
1227
1254
|
--credential-label <label>`** — read a labelled Claude token's usage on demand. Each refresh spends
|
|
1228
1255
|
one model turn; status and the TUI show only the cached reading, and the label is yours, not an
|
|
@@ -191,11 +191,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
|
|
|
191
191
|
script will do and changes nothing:
|
|
192
192
|
|
|
193
193
|
```sh
|
|
194
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
194
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.7/scripts/install.sh | sh -s -- --dry-run
|
|
195
195
|
```
|
|
196
196
|
|
|
197
197
|
The same command without `--dry-run`,
|
|
198
|
-
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
198
|
+
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.7/scripts/install.sh | sh`, installs the
|
|
199
199
|
latest published `@openrig/cli` with `npm install -g`,
|
|
200
200
|
runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
|
|
201
201
|
Codex and may install a missing one, as described below. A failed step prints
|
|
@@ -848,13 +848,47 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
|
|
|
848
848
|
| "Claude resume did not finish within Ns; Claude may still be starting, so the launch was kept" | A restored Claude seat was not interactive when the wait ended. Its pane and resume token are kept. Look at the pane; once Claude is up, run `rig seat clear-attention <seat>`. The wait is about `runtime.readiness_timeout_seconds` in total for each seat (default 30 s), counting the first 3.2 s, and the time adds up seat by seat in a restore. Raising the setting for slow fresh launches lengthens it. If `rig up` or `rig launch` times out at 120 s, that is not a rollback: check `rig ps` before running it again. |
|
|
849
849
|
| Daemon is healthy, kernel is still starting | Read `rig status` and `rig ps --nodes --rig kernel`; kernel readiness is separate. |
|
|
850
850
|
| Kernel seats fail within a second of the first start, and tmux reports "server exited unexpectedly" | Check that your tmux can capture a pane, then start the failed seats again; see the tmux check below this table. |
|
|
851
|
-
| Shared terminal is absent |
|
|
851
|
+
| Shared terminal is absent | Check the kernel's `operator.human` terminal separately from its agents; recover only that seat as described below. Standalone `rig tui` remains available while resolving it. |
|
|
852
852
|
| Viewing terminal was closed | Open the conversations again with `rig terminal open saved:kernel --window`; `rig tui --shared` is only the dashboard fallback if that window cannot open. Do not relaunch the team. |
|
|
853
853
|
| Daemon restarted but tmux survived | Re-read `rig status` and the existing queue; a daemon restart is not a fresh project. |
|
|
854
854
|
| Host reboot lost tmux sessions | Starting the daemon restores the kernel by itself when that start finds all of its seats lost; a kernel that was already down before the reboot stays down, and `rig start` names `rig up kernel --existing`. Check `rig status`, and if it reports the restore failed, run `rig up kernel --existing`. For other rigs, open `rig`, start the daemon if needed (press **S** if it opens on the work views), and select the existing rig and seats. Resume is the default; a fresh conversation needs a separate decision. |
|
|
855
855
|
| Launch reports no usable snapshot | Inspect the existing rig and retained project files, then follow the same-seat recovery below. |
|
|
856
856
|
| Work is waiting on a prompt or decision | Read the row, transition and named prompt; preserve the obligation until the missing decision arrives. |
|
|
857
857
|
|
|
858
|
+
**When the shared kernel dashboard is missing.** The dashboard runs in the
|
|
859
|
+
kernel's `operator.human` terminal seat. Restoring the operator, advisor and
|
|
860
|
+
queue worker does not also restore an unselected terminal. Read
|
|
861
|
+
`rig ps --nodes --rig kernel --json` and use the terminal's registered
|
|
862
|
+
`canonicalSessionName` for the `operator.human` row. Replace `<dashboard-session>`
|
|
863
|
+
in the commands below with that name. Check the actual pane with
|
|
864
|
+
`rig capture "<dashboard-session>"`: a persisted running row alone does not prove
|
|
865
|
+
that its tmux session is alive.
|
|
866
|
+
A daemon or transport error is not proof that the terminal is absent.
|
|
867
|
+
|
|
868
|
+
- If only the viewing window closed and the TUI is still running, reopen it
|
|
869
|
+
with `rig terminal open saved:kernel --window`.
|
|
870
|
+
- If the TUI exited but its terminal shell remains, run `rig tui` once in that
|
|
871
|
+
existing pane. A fresh seat is unnecessary.
|
|
872
|
+
- If the terminal session itself is absent, start only that existing seat:
|
|
873
|
+
|
|
874
|
+
```sh
|
|
875
|
+
rig seat launch "<dashboard-session>" --fresh --reason "recover missing shared kernel dashboard"
|
|
876
|
+
```
|
|
877
|
+
|
|
878
|
+
The terminal has no agent conversation to resume. Its fresh-start action
|
|
879
|
+
runs `rig tui` after the shell is ready; sibling agent sessions stay
|
|
880
|
+
unchanged. This command intentionally omits `--stop`, so it refuses to
|
|
881
|
+
replace a live occupant. Check the result before repeating it, then run
|
|
882
|
+
`rig capture "<dashboard-session>"` to confirm the TUI and
|
|
883
|
+
`rig ps --nodes --rig kernel --full` to check the seats. Once the dashboard
|
|
884
|
+
is running, open its view with `rig terminal open saved:kernel --window`.
|
|
885
|
+
|
|
886
|
+
Opening `saved:kernel` places a view of existing sessions; it cannot create a
|
|
887
|
+
missing terminal. Whole-kernel recovery is for the all-seats-lost case in the
|
|
888
|
+
table, and `rig up kernel --existing` refuses a kernel with live sessions.
|
|
889
|
+
A retained `excluded_from_subset` reason may come from an earlier subset
|
|
890
|
+
restore; inspect its event before attributing it to the latest reboot.
|
|
891
|
+
|
|
858
892
|
**When the kernel's seats all fail at the first start.** A report on Oracle Linux 10
|
|
859
893
|
([#980](https://github.com/mvschwarz/openrig/issues/980)) traced this to the distribution's packaged tmux, whose
|
|
860
894
|
`tmux -V` prints `next-3.4`: its server exited on every `capture-pane -p`, also outside OpenRig. `rig setup` (its tmux
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Reference guides the help pack and command help link to, loaded one file or section at a time by address
|
|
2
2
|
# (rig context get reference/<file>#<section>). Each file is a symlink to docs/reference/.
|
|
3
3
|
name: reference
|
|
4
|
-
version: "0.7.
|
|
4
|
+
version: "0.7.7"
|
|
5
5
|
taxonomy: world
|
|
6
6
|
purpose: "Version-matched reference guides the help guide and command help link to. Load a single file or section by address; don't load the whole pack."
|
|
7
7
|
files:
|
|
@@ -511,9 +511,9 @@ pods:
|
|
|
511
511
|
**Where the declared names reach, by runtime.** Declared values are handed to the seat's terminal as tmux environment, so most seats take them as given:
|
|
512
512
|
|
|
513
513
|
- Plain Claude Code (no permission mode selected), Codex and terminal seats take a spec `HOME`, `PATH` or `CLAUDE_CONFIG_DIR` as given.
|
|
514
|
-
- The cleared environment (`env -i`) belongs only to a managed Claude launch, which is the one used when a permission mode is selected for the seat (for example `permission_policy: builtin:auto`). It forwards the declared names through the cleared environment, except `PATH`, `HOME` and `CLAUDE_CONFIG_DIR`, which OpenRig sets for that launch itself, and `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN`, for which it sets its own renderer setting. A spec value for any of those four is not forwarded as such; an absolute `CLAUDE_CONFIG_DIR` becomes the config dir OpenRig sets (see "A seat's own account" below). A seat that selected the shipped `openrig-core` plugin also has `CLAUDE_CODE_PLUGIN_DIRS` (the vendored plugin, added after a list the seat declares itself) among its declared names, so it is forwarded like the others and the plugin's hooks load in a seat with a permission mode as in one without; a seat that didn't select the plugin has no such name added. Beyond the declared names, the launch also forwards, by name and only when the seat's terminal has them set, the terminal and locale variables (`TERM`, `COLORTERM`, `TERM_PROGRAM`, `TERM_PROGRAM_VERSION`, `LANG` and the `LC_*` names) and the person's editor and display session: `EDITOR`, `VISUAL`, `DISPLAY`, `XAUTHORITY` and `WAYLAND_DISPLAY`. They let Claude's external-editor action open the person's editor and let image paste reach the clipboard, without a value in a spec. `WAYLAND_DISPLAY` is passed as an absolute path: an absolute value is kept, and a relative one is joined to the terminal's `XDG_RUNTIME_DIR`; if the terminal has no `XDG_RUNTIME_DIR` for it, the name is left out. The runtime directory and its `disabled:` bus address (see "The runtime directory, on Linux" above) are forwarded together, and the runtime directory is also forwarded beside a declared `DBUS_SESSION_BUS_ADDRESS`. A terminal's own `XDG_RUNTIME_DIR` or `DBUS_SESSION_BUS_ADDRESS`, from a shell startup file or tmux's `update-environment`, is not, because D-Bus clients look for the session bus at `$XDG_RUNTIME_DIR/bus` when no address is set; declare it in `env:` to forward it. `XDG_SESSION_TYPE
|
|
514
|
+
- The cleared environment (`env -i`) belongs only to a managed Claude launch, which is the one used when a permission mode is selected for the seat (for example `permission_policy: builtin:auto`). It forwards the declared names through the cleared environment, except `PATH`, `HOME` and `CLAUDE_CONFIG_DIR`, which OpenRig sets for that launch itself, and `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN`, for which it sets its own renderer setting. A spec value for any of those four is not forwarded as such; an absolute `CLAUDE_CONFIG_DIR` becomes the config dir OpenRig sets (see "A seat's own account" below). A seat that selected the shipped `openrig-core` plugin also has `CLAUDE_CODE_PLUGIN_DIRS` (the vendored plugin, added after a list the seat declares itself) among its declared names, so it is forwarded like the others and the plugin's hooks load in a seat with a permission mode as in one without; a seat that didn't select the plugin has no such name added. Beyond the declared names, the launch also forwards, by name and only when the seat's terminal has them set, the terminal and locale variables (`TERM`, `COLORTERM`, `TERM_PROGRAM`, `TERM_PROGRAM_VERSION`, `LANG` and the `LC_*` names) and the person's editor and display session: `EDITOR`, `VISUAL`, `DISPLAY`, `XAUTHORITY` and `WAYLAND_DISPLAY`. They let Claude's external-editor action open the person's editor and let image paste reach the clipboard, without a value in a spec. `WAYLAND_DISPLAY` is passed as an absolute path: an absolute value is kept, and a relative one is joined to the terminal's `XDG_RUNTIME_DIR`; if the terminal has no `XDG_RUNTIME_DIR` for it, the name is left out. The runtime directory and its `disabled:` bus address (see "The runtime directory, on Linux" above) are forwarded together, and the runtime directory is also forwarded beside a declared `DBUS_SESSION_BUS_ADDRESS`. A terminal's own `XDG_RUNTIME_DIR` or `DBUS_SESSION_BUS_ADDRESS`, from a shell startup file or tmux's `update-environment`, is not, because D-Bus clients look for the session bus at `$XDG_RUNTIME_DIR/bus` when no address is set; declare it in `env:` to forward it. `XDG_SESSION_TYPE` and `XDG_CURRENT_DESKTOP` are not forwarded. The SSH agent socket (`SSH_AUTH_SOCK`) is forwarded when OpenRig itself was started with one, so git over SSH works in the seat; a socket only the seat's terminal has stays out. To check, run `ssh-add -l` inside the seat. If it can't reach an SSH agent, start the OpenRig daemon from a terminal where `ssh-add -l` works. A running seat picks the names up at its next managed Claude launch, not before: `rig seat launch <seat> --fresh --stop --reason "<why>"` for that seat alone (a new conversation), or a restore of the whole rig (`rig down <rig>`, then `rig up <rig> --existing`, which resumes each conversation but restarts every seat in the rig), or a handover. A seat that is up keeps the environment it started with.
|
|
515
515
|
- Codex seats run OpenRig's own Codex executable whatever a spec `PATH` says. They use the seat's own `CODEX_HOME` when its `env:` declares an absolute one, else the daemon's when the daemon has one.
|
|
516
|
-
- On Pi and OMP seats the values reach the terminal. The agent process gets only what the runner passes on, so a spec or one-off value reaches it only for the names the runner always passes: `PATH`, `HOME`, `USER`, `LOGNAME`, `TERM`, `LANG`, `LC_ALL`, `SHELL` and `TMPDIR`. Pi's agent process receives the runner's `HOME`, so a spec or one-off `HOME` value that reaches the runner is passed to Pi; OMP's agent process gets its seat state directory (`$OPENRIG_HOME/state/omp/<seat>`, see Oh My Pi below) as `HOME`, so a `HOME` value does not reach it. The selected provider's variables are passed separately, as described under each runtime.
|
|
516
|
+
- On Pi and OMP seats the values reach the terminal. The agent process gets only what the runner passes on, so a spec or one-off value reaches it only for the names the runner always passes: `PATH`, `HOME`, `USER`, `LOGNAME`, `SSH_AUTH_SOCK`, `TERM`, `LANG`, `LC_ALL`, `SHELL` and `TMPDIR`. Pi's agent process receives the runner's `HOME`, so a spec or one-off `HOME` value that reaches the runner is passed to Pi; OMP's agent process gets its seat state directory (`$OPENRIG_HOME/state/omp/<seat>`, see Oh My Pi below) as `HOME`, so a `HOME` value does not reach it. The selected provider's variables are passed separately, as described under each runtime.
|
|
517
517
|
|
|
518
518
|
**A seat's own account.** Claude Code keeps its login in its config dir and Codex in its home, so a seat whose `env:`
|
|
519
519
|
declares an absolute `CLAUDE_CONFIG_DIR` (Claude Code) or `CODEX_HOME` (Codex) runs on whatever login that directory
|
|
@@ -526,6 +526,105 @@ only the stored `env:`. Seats may share a home. Live usage refresh (`rig provide
|
|
|
526
526
|
daemon's own logins; reading each seat's home would need a native reader per home. OpenRig doesn't copy logins or conversation history between homes, so a conversation saved under a seat's earlier home
|
|
527
527
|
doesn't resume after the seat moves to another one. The `openrig-user` skill has the setup steps.
|
|
528
528
|
|
|
529
|
+
**A seat's own subscription token.** A Claude member can start on a prepared subscription token from its first launch,
|
|
530
|
+
with no conversation to switch first. Name the token file beside its config dir:
|
|
531
|
+
|
|
532
|
+
```yaml
|
|
533
|
+
- id: dev
|
|
534
|
+
runtime: claude-code
|
|
535
|
+
env:
|
|
536
|
+
CLAUDE_CONFIG_DIR: /abs/claude-dev
|
|
537
|
+
claude_token: { label: dev-sub, file: /abs/tokens/dev.token }
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
The label and the absolute path are stored on the seat when the rig is created, as `rig provider switch --seat <seat>
|
|
541
|
+
--to-account <label> --token-file <path>` stores them. Its launches run the same token step, which reads the file as
|
|
542
|
+
Claude starts; a launch path that can't run it (a pane shell other than a POSIX one, for example) starts without it and
|
|
543
|
+
warns. The file's contents never pass through OpenRig: validation doesn't read it, and they don't reach the spec, the
|
|
544
|
+
seat's record or the launch command. A missing, empty or unreadable file doesn't refuse the spec; the seat starts on its
|
|
545
|
+
config dir's stored login (or a token the daemon gives every seat) and says so. A launch also warns when a setting Claude
|
|
546
|
+
Code ranks above the token would be used instead: an `apiKeyHelper`, or an outranking `env` entry in the user, project
|
|
547
|
+
or local settings. Managed settings aren't inspected. `rig export` writes the seat's current reference, except for a seat
|
|
548
|
+
with an account home or an API-key selection (select those again after import), so a later switch shows there, and `rig provider switch --stored-login` removes it. Only
|
|
549
|
+
`claude-code` members and legacy flat nodes accept it, and there's no rig-level default.
|
|
550
|
+
|
|
551
|
+
**Switching to an isolated account home.** A running Codex or Claude Code seat can change its native account home
|
|
552
|
+
while staying in its rig:
|
|
553
|
+
|
|
554
|
+
```sh
|
|
555
|
+
rig provider switch --seat dev-impl@my-rig --to-account api-account \
|
|
556
|
+
--account-home /home/me/accounts/codex-api --model gpt-5.5 --reason "Use the API budget" --dry-run
|
|
557
|
+
rig seat set-runtime dev-impl@my-rig --runtime claude-code \
|
|
558
|
+
--account-home /home/me/accounts/claude-api --model claude-sonnet-4-6 --reason "Codex limit"
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
The directory must already exist and contain the runtime's login or API settings. You choose the account and budget;
|
|
562
|
+
OpenRig does not choose or create credentials. `--account-home` sets `CODEX_HOME` for Codex or `CLAUDE_CONFIG_DIR` for
|
|
563
|
+
Claude Code before the successor starts.
|
|
564
|
+
|
|
565
|
+
This switch starts a fresh conversation with a handover, even when the runtime stays the same. The existing
|
|
566
|
+
subscription-login switch preserves the conversation. Once the successor confirms, OpenRig commits its home, runtime,
|
|
567
|
+
model, profile and permission selection together. The seat keeps its address, edges, queue rows and claims. If OpenRig
|
|
568
|
+
refuses the switch before cutover, the predecessor's configuration stays unchanged.
|
|
569
|
+
|
|
570
|
+
For a Claude plan authenticated with `setup-token`, supply the token file with the home:
|
|
571
|
+
|
|
572
|
+
```sh
|
|
573
|
+
rig provider switch --seat dev-impl@my-rig --to-account claude-plan \
|
|
574
|
+
--account-home /home/me/accounts/claude-plan --token-file /home/me/credentials/claude-plan-token \
|
|
575
|
+
--reason "The plan reset"
|
|
576
|
+
# Across runtimes, use set-runtime with --account-home, --token-file and --account-label.
|
|
577
|
+
```
|
|
578
|
+
|
|
579
|
+
To return to the seat's configured login:
|
|
580
|
+
|
|
581
|
+
```sh
|
|
582
|
+
rig provider switch --seat dev-impl@my-rig --clear-account-home --reason "The plan reset" --dry-run
|
|
583
|
+
rig provider switch --seat dev-impl@my-rig --clear-account-home --reason "The plan reset"
|
|
584
|
+
# Across runtimes: rig seat set-runtime dev-impl@my-rig --runtime claude-code --clear-account-home --reason "Return to configured login"
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
Clearing the selection also starts a successor with a fresh conversation and a handover. OpenRig removes the saved
|
|
588
|
+
account-home override and its token reference only after the successor confirms. The successor starts with the member's
|
|
589
|
+
or rig's configured home, falling back to the daemon's selection and then the native default, as an ordinary launch does.
|
|
590
|
+
If there was no account-home override, OpenRig preserves any unrelated legacy per-seat token. Clear uses the current
|
|
591
|
+
configuration; it does not remember a prior login or restore old credentials. Use clear on its own, without
|
|
592
|
+
`--to-account`, `--stored-login`, `--account-home` or a new token reference.
|
|
593
|
+
|
|
594
|
+
**Anthropic profile limitation.** An active or default profile in Anthropic's configuration directory can override a
|
|
595
|
+
stored Claude login. `CLAUDE_CONFIG_DIR` does not isolate that directory, and OpenRig does not change `ANTHROPIC_CONFIG_DIR`
|
|
596
|
+
or rewrite global profiles. Check or deselect the profile before using a stored-login account home, and verify the
|
|
597
|
+
running account privately.
|
|
598
|
+
|
|
599
|
+
An isolated Claude launch removes `ANTHROPIC_PROFILE`, `ANTHROPIC_FEDERATION_RULE_ID` and `ANTHROPIC_ORGANIZATION_ID`
|
|
600
|
+
from its inherited environment. It also refuses profile selectors in the selected home's or project's settings `env`
|
|
601
|
+
blocks. An explicit subscription token takes precedence over these selectors, including in the legacy
|
|
602
|
+
subscription-token switch.
|
|
603
|
+
|
|
604
|
+
OpenRig receives only the token's label and file path. The launch reads the token; if the required file is unusable, no agent
|
|
605
|
+
starts. Selecting an API home without `--token-file` clears an older seat token reference when the selection commits.
|
|
606
|
+
The home's API helper can stay in its user settings. For a selected plan token, OpenRig refuses a home whose API helper
|
|
607
|
+
or credential environment would take precedence over that token. Both modes refuse project credential overrides.
|
|
608
|
+
OpenRig leaves those settings unchanged.
|
|
609
|
+
|
|
610
|
+
The selected home persists across managed launches and restores. These launches exclude inherited Claude/OpenAI
|
|
611
|
+
credentials and routing variables so credentials from the daemon or shell cannot override the selected home. OpenRig
|
|
612
|
+
refuses to launch if it cannot read the saved selection or the shell cannot enforce isolation. Launches without a home
|
|
613
|
+
selection and existing subscription-login switches keep their behavior. A Claude seat using account-home mode must
|
|
614
|
+
use that mode for later account changes too.
|
|
615
|
+
|
|
616
|
+
User-managed provider settings can still affect authentication. After a real tool turn, check which account and billing
|
|
617
|
+
identity the runtime used. Do not print tokens or the process environment. The configured home alone cannot verify the
|
|
618
|
+
running account.
|
|
619
|
+
|
|
620
|
+
Before downgrading to a version without account-home switching, stop the managed seats. Select their accounts using
|
|
621
|
+
that version's supported setup before resuming. Older versions ignore the saved selection and may launch with inherited
|
|
622
|
+
or default credentials. Rolling back the binary alone does not preserve the selected billing account.
|
|
623
|
+
|
|
624
|
+
OpenRig leaves the imported team file unchanged. Exporting and reimporting a team does not preserve account-home
|
|
625
|
+
isolation, so configure it explicitly for each new rig. If a switch is interrupted, inspect it with `rig seat status`
|
|
626
|
+
and follow the printed recovery command. Wait until the outcome is known before starting another switch.
|
|
627
|
+
|
|
529
628
|
**Do not put secrets in `env:` or `--env`.** The values are not secret, and nothing here encrypts or hides them (see #306):
|
|
530
629
|
|
|
531
630
|
- Spec values are stored in OpenRig's database and in rig snapshots, and `rig export` and bundles copy them, so a secret put there by mistake travels with the rig.
|
|
@@ -534,6 +633,45 @@ doesn't resume after the seat moves to another one. The `openrig-user` skill has
|
|
|
534
633
|
|
|
535
634
|
Use `env:` for settings only. Credentials belong in the provider's own login or a secret store the seat reads at run time.
|
|
536
635
|
|
|
636
|
+
### Switching credentials while keeping the conversation
|
|
637
|
+
|
|
638
|
+
`rig provider switch` resumes a running seat in its existing home and pane. For Claude Code,
|
|
639
|
+
select an API-key file, a subscription-token file, or the home's stored login:
|
|
640
|
+
|
|
641
|
+
```sh
|
|
642
|
+
rig provider precheck --seat dev-a@my-rig --to-account api-budget --api-key-file /secure/claude-api-key
|
|
643
|
+
rig provider switch --seat dev-a@my-rig --to-account api-budget --api-key-file /secure/claude-api-key
|
|
644
|
+
rig provider switch --seat dev-a@my-rig --to-account plan --token-file /secure/claude-plan-token
|
|
645
|
+
rig provider switch --seat dev-a@my-rig --stored-login
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
The API-key file must be private (0600 or 0400), nonempty, and at most 8192 bytes, containing
|
|
649
|
+
one key with optional surrounding whitespace. Only the reference is stored. The child reads the
|
|
650
|
+
key at launch; key bytes never enter command arguments, snapshots or switch reports. Classic
|
|
651
|
+
launches require a supported POSIX pane shell. Missing/invalid API-key files prevent launch.
|
|
652
|
+
Settings that could override the key cause a refusal; OpenRig does not edit those settings.
|
|
653
|
+
Native managed settings and a signed-in Claude gateway cannot be ruled out; Claude may require API-key approval before its
|
|
654
|
+
first turn. Check `/status` after a real tool turn to confirm the authentication method.
|
|
655
|
+
|
|
656
|
+
For Codex, a saved native API-key login is selected with the existing `--to-account <name>`
|
|
657
|
+
path, exactly like a saved subscription login. Prepare it using native `codex login --with-api-key`
|
|
658
|
+
with the key on stdin, then `rig auth save --codex-home <home> <name>`; never put a key in argv.
|
|
659
|
+
Use the seat's existing home. Preparing a login replaces that home's active credentials, so do it
|
|
660
|
+
before running seats there, or prepare/import a native auth profile separately. Switches preserve
|
|
661
|
+
an outgoing credential copy and report peers sharing the home. A native keyring or administrator
|
|
662
|
+
policy can override `auth.json`; the report remains unverified until native account verification.
|
|
663
|
+
|
|
664
|
+
Select or clear an account home in a separate operation: `--api-key-file` cannot be combined with
|
|
665
|
+
`--account-home` or `--clear-account-home`. A credential switch inside an already selected home
|
|
666
|
+
keeps that home.
|
|
667
|
+
|
|
668
|
+
Both paths retain the conversation and launch settings, interrupt in-flight work, and report
|
|
669
|
+
uncertain restarts without retrying. They do not move account homes or start a fresh conversation.
|
|
670
|
+
The caller chooses subscription-first order and configures/enforces the API budget; this command
|
|
671
|
+
neither selects accounts automatically nor imposes a spending limit. Downgrade only after switching
|
|
672
|
+
API-key Claude seats back to subscription credentials: older OpenRig versions cannot read the new
|
|
673
|
+
credential kind correctly.
|
|
674
|
+
|
|
537
675
|
### Choosing the Claude instruction file
|
|
538
676
|
|
|
539
677
|
OpenRig writes its instructions for Claude Code members into managed blocks in
|
|
@@ -597,6 +735,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
|
|
|
597
735
|
| `profile` | string | yes | — | Profile name from the referenced AgentSpec. Use `default` for the default profile. Exception: `none` for terminal nodes. |
|
|
598
736
|
| `codex_config_profile` | string | no | — | Codex-only native profile passed as `-p <name>`; letters, numbers, `_`, `.`, `-`. Separate from the AgentSpec `profile`. With the normal launch mode, this replaces OpenRig's explicit workspace-write sandbox flag. A full-bypass policy instead emits danger-full-access and omits this profile argument. |
|
|
599
737
|
| `codex_permissions` | mapping | no | — | Codex-only sandbox and approval envelope, emitted as explicit flags on every managed launch and resume; see [per-member Codex permissions](#per-member-codex-permissions). |
|
|
738
|
+
| `claude_token` | mapping | no | — | Claude-only `{ label, file }`: the seat's own subscription token file, by absolute path, used from its first launch; see "A seat's own subscription token" under [launch environment](#launch-environment). |
|
|
600
739
|
| `runtime` | string | yes | — | Agent runtime. Current supported values: `claude-code`, `codex`, `pi`, `omp`, `terminal`, `stub`. `stub` is a deterministic test harness, not an agent: a Node runner in the seat's tmux pane goes through the normal launch, skill projection, startup-file and readiness path, follows `<cwd>/.openrig/stub/script.json` when present, and calls no model. See "What a stub can and cannot prove" in `docs/as-built/test-layers.md`. |
|
|
601
740
|
| `cwd` | string | yes | — | Working directory for the agent. A relative path resolves against the rig root (the directory containing the rig spec). If that path exists as written, it is used. Otherwise a leading `~` or `~/` expands to the home directory (`~user` does not) and `$VAR` / `${VAR}` expand from the daemon host's environment; a relative result still resolves against the rig root. A reference to an unset variable stays as written, so the cwd is that literal path and works only if it exists. Use `"."` for the rig root itself. Can be overridden at launch time with `rig up --cwd`. A cwd inside the OpenRig installation fails preflight unless `--cwd` is given. Editing this declaration does not update an existing seat; use [`rig seat set-cwd`](agent-startup-guide.md#change-an-existing-seats-working-directory) to save its future launch directory. |
|
|
602
741
|
| `label` | string | no | — | Human-readable member name. Shown in UI when present. |
|
|
@@ -653,7 +792,7 @@ own defaults/settings apply. Other runtimes ignore this field.
|
|
|
653
792
|
- **State:** Each seat uses `$OPENRIG_HOME/state/pi/<session>/agent` as its Pi agent directory, with `sessions/` beside it, instead of your default `~/.pi/agent`. The runner sets `PI_CODING_AGENT_DIR` to that directory. `<session>` is the seat's session name, unchanged; for a pod member it is `{podId}-{memberId}@{rigName}`. `$OPENRIG_HOME` defaults to `~/.openrig`. OpenRig creates these directories at launch and does not copy anything from `~/.pi/agent`.
|
|
654
793
|
- **Thinking level:** A Pi seat's effort (the choice saved with `rig seat set-effort`, else the spec's `effort`) is sent to Pi as `--thinking <level>` on every managed launch and resume: fresh launch, successor and restore. Pi accepts `off`, `minimal`, `low`, `medium`, `high`, `xhigh` and `max`; OpenRig passes the value as written and does not translate it, so Codex's `none` is not mapped to `off`. Only a value of the shape `set-effort` accepts (a letter, then up to 31 letters, digits, `-` or `_`) is sent; any other spec value, such as one with a space or one that starts with `--`, is left out, and `rig seat effort` says so. An unfamiliar level gets an advisory (a warning from `set-effort`), never a refusal, and Pi itself ignores an unknown level with a warning and keeps the level it would use without the flag: a model suffix, the resumed session's level, or its default. With no effort resolved, no flag is sent. The effort wins over a model suffix, and the model string is never changed. `rig seat effort` reports the level sent at launch and, on Pi 0.99.0 or later, the `thinkingLevel` Pi records on this launch's latest successful assistant turn (error and aborted turns are skipped); that is the session's level after Pi's own cap, not proof the provider applied it, and it is shown apart from the level sent when they differ. On older Pi it is NOT VERIFIED. Without an effort, you can still set the level as a model suffix, for example `model: openrouter/x-ai/grok-4:high`. Pi first looks for a model whose id is the whole pin, and uses it when there is one, suffix included. Only when there is none does Pi read the suffix as the level and record the model without it. Any other suffix, such as OpenRouter's `:free`, stays part of the model id. The model-divergence check reads the pin literally when the seat's `models.json` defines a model with that exact id; otherwise it accepts the model with or without the suffix. If the seat's `models.json` can't be read, a pin with a suffix stays unchecked, with the usual warning, when the recorded model matches the whole pin or the pin without its suffix. A record that matches neither is reported.
|
|
655
794
|
- **Custom models:** Pi reads `models.json` from its agent directory, so a seat reads `$OPENRIG_HOME/state/pi/<session>/agent/models.json`, not `~/.pi/agent/models.json`. Custom provider and model definitions for a seat go in that file. A seat that uses only providers Pi already includes does not need one. OpenRig does not create or write `models.json`.
|
|
656
|
-
- **Credentials:** The Pi process receives only `PATH`, `HOME`, `USER`, `LOGNAME`, `TERM`, `LANG`, `LC_ALL`, `SHELL`, `TMPDIR`, a fixed set of OpenRig seat and instance variables, `PI_CODING_AGENT_DIR`, `PI_CODING_AGENT_SESSION_DIR`, and at most one provider key. That key is `OPENROUTER_API_KEY`, `ZAI_API_KEY`, `KIMI_API_KEY` or `MINIMAX_API_KEY`, passed only when it is set in the seat's environment and the seat's `model` is written as `openrouter/<id>`, `zai/<id>`, `kimi-coding/<id>` or `minimax/<id>`. Naming that variable in `recovery.provider_auth_env_allowlist` (empty by default) makes the daemon add it, when set in the daemon's environment, to the seat's launch environment. No other variable reaches Pi, including other providers' keys and a custom provider's own key variable.
|
|
795
|
+
- **Credentials:** The Pi process receives only `PATH`, `HOME`, `USER`, `LOGNAME`, `SSH_AUTH_SOCK`, `TERM`, `LANG`, `LC_ALL`, `SHELL`, `TMPDIR`, a fixed set of OpenRig seat and instance variables, `PI_CODING_AGENT_DIR`, `PI_CODING_AGENT_SESSION_DIR`, and at most one provider key. That key is `OPENROUTER_API_KEY`, `ZAI_API_KEY`, `KIMI_API_KEY` or `MINIMAX_API_KEY`, passed only when it is set in the seat's environment and the seat's `model` is written as `openrouter/<id>`, `zai/<id>`, `kimi-coding/<id>` or `minimax/<id>`. Naming that variable in `recovery.provider_auth_env_allowlist` (empty by default) makes the daemon add it, when set in the daemon's environment, to the seat's launch environment. No other variable reaches Pi, including other providers' keys and a custom provider's own key variable.
|
|
657
796
|
|
|
658
797
|
- **Extension dialogs:** The RPC runner shows extension `select`, `confirm`, `input` and `editor` requests in the pane and cancels them because the managed pane cannot answer them. The seat needs attention through the end of the turn, until a new agent run starts. Review the cancelled request and send an instruction the extension can complete without a dialog. Extension `notify` text is shown without raising attention or sending a response.
|
|
659
798
|
|