@openrig/cli 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.md +1 -1
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +90 -9
- package/daemon/assets/skills/rigs/SKILL.md +40 -9
- package/daemon/context-packs/help/help.md +6 -0
- package/daemon/context-packs/help/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +70 -15
- package/daemon/context-packs/reference/acp-agents.md +77 -0
- package/daemon/context-packs/reference/getting-started.md +82 -10
- package/daemon/context-packs/reference/manifest.yaml +6 -3
- package/daemon/context-packs/reference/rig-spec.md +93 -3
- package/daemon/context-packs/reference/whats-new.md +262 -149
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-herdr/SKILL.md +17 -5
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/SKILL.md +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/SKILL.md +90 -9
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/LICENSE.txt +201 -0
- package/daemon/context-packs/skills/process/agent-browser/OPENRIG.md +13 -29
- package/daemon/context-packs/skills/process/agent-browser/SKILL.md +7 -7
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/LICENSE.txt +201 -0
- package/daemon/context-packs/skills/process/dogfood/SKILL.md +6 -2
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/LICENSE.txt +21 -0
- package/daemon/context-packs/skills/process/systematic-debugging/SKILL.md +6 -2
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/test-driven-development/LICENSE.txt +21 -0
- package/daemon/context-packs/skills/process/test-driven-development/SKILL.md +5 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/verification-before-completion/LICENSE.txt +21 -0
- package/daemon/context-packs/skills/process/verification-before-completion/SKILL.md +5 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +3 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
- package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
- package/daemon/context-packs/world-example/manifest.yaml +1 -1
- package/daemon/context-packs/world-public/manifest.yaml +1 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts +4 -0
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +46 -17
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +8 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +29 -10
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts +10 -4
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +59 -14
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +44 -12
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +445 -88
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +4 -0
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +38 -7
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/compose-services-adapter.d.ts +16 -0
- package/daemon/dist/adapters/compose-services-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/compose-services-adapter.js +46 -2
- package/daemon/dist/adapters/compose-services-adapter.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +13 -2
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +22 -15
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/tmux-server.d.ts +3 -0
- package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-server.js +11 -2
- package/daemon/dist/adapters/tmux-server.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +38 -0
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +157 -14
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/adapters/yolo-mode.d.ts +7 -0
- package/daemon/dist/adapters/yolo-mode.d.ts.map +1 -1
- package/daemon/dist/adapters/yolo-mode.js +8 -0
- package/daemon/dist/adapters/yolo-mode.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/codex-auth-surface.d.ts +2 -0
- package/daemon/dist/codex-auth-surface.d.ts.map +1 -0
- package/daemon/dist/codex-auth-surface.js +2 -0
- package/daemon/dist/codex-auth-surface.js.map +1 -0
- package/daemon/dist/daemon-db-path.d.ts.map +1 -1
- package/daemon/dist/daemon-db-path.js +45 -12
- package/daemon/dist/daemon-db-path.js.map +1 -1
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +12 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/132_seat_runtime_switches.d.ts +10 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.d.ts.map +1 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.js +46 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.js.map +1 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.d.ts +8 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.js +25 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.js.map +1 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.d.ts +3 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.d.ts.map +1 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.js +21 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.js.map +1 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.d.ts +9 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.d.ts.map +1 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.js +11 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.js.map +1 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.d.ts +3 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.d.ts.map +1 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.js +8 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.js.map +1 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.d.ts +3 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.js +5 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.js.map +1 -0
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +15 -0
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/claim-service.js +1 -1
- package/daemon/dist/domain/claim-service.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +24 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +70 -16
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-credential-precedence.d.ts +33 -0
- package/daemon/dist/domain/claude-credential-precedence.d.ts.map +1 -0
- package/daemon/dist/domain/claude-credential-precedence.js +62 -0
- package/daemon/dist/domain/claude-credential-precedence.js.map +1 -0
- package/daemon/dist/domain/claude-managed-launch.d.ts +43 -4
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +129 -27
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts +10 -0
- package/daemon/dist/domain/claude-permission-rules.d.ts.map +1 -0
- package/daemon/dist/domain/claude-permission-rules.js +41 -0
- package/daemon/dist/domain/claude-permission-rules.js.map +1 -0
- package/daemon/dist/domain/claude-seat-token.d.ts +30 -0
- package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -0
- package/daemon/dist/domain/claude-seat-token.js +78 -0
- package/daemon/dist/domain/claude-seat-token.js.map +1 -0
- package/daemon/dist/domain/codex-auth.d.ts +148 -0
- package/daemon/dist/domain/codex-auth.d.ts.map +1 -0
- package/daemon/dist/domain/codex-auth.js +506 -0
- package/daemon/dist/domain/codex-auth.js.map +1 -0
- package/daemon/dist/domain/codex-daemon-support.d.ts +2 -1
- package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
- package/daemon/dist/domain/codex-daemon-support.js +3 -2
- package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
- package/daemon/dist/domain/codex-git-add-dirs.d.ts +1 -1
- package/daemon/dist/domain/codex-git-add-dirs.d.ts.map +1 -1
- package/daemon/dist/domain/codex-network-default.d.ts +2 -1
- package/daemon/dist/domain/codex-network-default.d.ts.map +1 -1
- package/daemon/dist/domain/codex-network-default.js +3 -2
- package/daemon/dist/domain/codex-network-default.js.map +1 -1
- package/daemon/dist/domain/codex-team-workspace.d.ts +5 -0
- package/daemon/dist/domain/codex-team-workspace.d.ts.map +1 -1
- package/daemon/dist/domain/codex-team-workspace.js +37 -0
- package/daemon/dist/domain/codex-team-workspace.js.map +1 -1
- package/daemon/dist/domain/community-harness-first-input.d.ts +7 -0
- package/daemon/dist/domain/community-harness-first-input.d.ts.map +1 -0
- package/daemon/dist/domain/community-harness-first-input.js +16 -0
- package/daemon/dist/domain/community-harness-first-input.js.map +1 -0
- package/daemon/dist/domain/community-harness-presets.d.ts +2 -0
- package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-presets.js +4 -2
- package/daemon/dist/domain/community-harness-presets.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts +6 -0
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -0
- package/daemon/dist/domain/compaction-restore-notice.js +27 -0
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -0
- package/daemon/dist/domain/context-packs/seat-recap-store.d.ts +14 -0
- package/daemon/dist/domain/context-packs/seat-recap-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/seat-recap-store.js +57 -1
- package/daemon/dist/domain/context-packs/seat-recap-store.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +6 -1
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +15 -4
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +26 -13
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/daemon/dist/domain/execution-view.js +5 -2
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.js +3 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +1 -0
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +6 -5
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts +3 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.js +11 -9
- package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +4 -0
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.d.ts +20 -0
- package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -0
- package/daemon/dist/domain/managed-restore-read-access.js +77 -0
- package/daemon/dist/domain/managed-restore-read-access.js.map +1 -0
- package/daemon/dist/domain/markdown-address.d.ts.map +1 -1
- package/daemon/dist/domain/markdown-address.js +21 -2
- package/daemon/dist/domain/markdown-address.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +3 -3
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js +11 -8
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.js +18 -1
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.js.map +1 -1
- package/daemon/dist/domain/native-permission-store.d.ts +7 -2
- package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
- package/daemon/dist/domain/native-permission-store.js +13 -8
- package/daemon/dist/domain/native-permission-store.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts +2 -0
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +162 -35
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +4 -0
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +18 -0
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +11 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +41 -6
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/parent-session-env.d.ts +1 -1
- package/daemon/dist/domain/parent-session-env.d.ts.map +1 -1
- package/daemon/dist/domain/parent-session-env.js +3 -1
- package/daemon/dist/domain/parent-session-env.js.map +1 -1
- package/daemon/dist/domain/parked-query.d.ts +3 -0
- package/daemon/dist/domain/parked-query.d.ts.map +1 -1
- package/daemon/dist/domain/parked-query.js +1 -0
- package/daemon/dist/domain/parked-query.js.map +1 -1
- package/daemon/dist/domain/permission-account.d.ts +3 -0
- package/daemon/dist/domain/permission-account.d.ts.map +1 -1
- package/daemon/dist/domain/permission-account.js +17 -3
- package/daemon/dist/domain/permission-account.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +8 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +15 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/proof/judgments.d.ts +7 -4
- package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
- package/daemon/dist/domain/proof/judgments.js +12 -8
- package/daemon/dist/domain/proof/judgments.js.map +1 -1
- package/daemon/dist/domain/proof/source-watch.d.ts +6 -1
- package/daemon/dist/domain/proof/source-watch.d.ts.map +1 -1
- package/daemon/dist/domain/proof/source-watch.js +241 -35
- package/daemon/dist/domain/proof/source-watch.js.map +1 -1
- package/daemon/dist/domain/provider/claude-auth-status-reader.d.ts +12 -0
- package/daemon/dist/domain/provider/claude-auth-status-reader.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-auth-status-reader.js +4 -4
- package/daemon/dist/domain/provider/claude-auth-status-reader.js.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts +32 -0
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -0
- package/daemon/dist/domain/provider/claude-seat-switch.js +136 -0
- package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -0
- package/daemon/dist/domain/provider/claude-token-usage.d.ts +34 -0
- package/daemon/dist/domain/provider/claude-token-usage.d.ts.map +1 -0
- package/daemon/dist/domain/provider/claude-token-usage.js +168 -0
- package/daemon/dist/domain/provider/claude-token-usage.js.map +1 -0
- package/daemon/dist/domain/provider/provider-account-readings.d.ts +7 -6
- package/daemon/dist/domain/provider/provider-account-readings.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-account-readings.js +31 -10
- package/daemon/dist/domain/provider/provider-account-readings.js.map +1 -1
- package/daemon/dist/domain/provider/provider-collect.d.ts +3 -0
- package/daemon/dist/domain/provider/provider-collect.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-collect.js +3 -2
- package/daemon/dist/domain/provider/provider-collect.js.map +1 -1
- package/daemon/dist/domain/provider/provider-seat-accounts.d.ts +1 -1
- package/daemon/dist/domain/provider/provider-seat-accounts.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-seat-accounts.js +29 -2
- package/daemon/dist/domain/provider/provider-seat-accounts.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.d.ts +38 -4
- package/daemon/dist/domain/provider/provider-service-impl.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.js +147 -5
- package/daemon/dist/domain/provider/provider-service-impl.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service.d.ts +109 -4
- package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.d.ts +3 -0
- package/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.js +7 -2
- package/daemon/dist/domain/provider/provider-signals.js.map +1 -1
- package/daemon/dist/domain/provider/provider-types.d.ts +61 -5
- package/daemon/dist/domain/provider/provider-types.d.ts.map +1 -1
- package/daemon/dist/domain/provider/reactive-tap.d.ts +4 -0
- package/daemon/dist/domain/provider/reactive-tap.d.ts.map +1 -1
- package/daemon/dist/domain/provider/reactive-tap.js +3 -0
- package/daemon/dist/domain/provider/reactive-tap.js.map +1 -1
- package/daemon/dist/domain/provider/usage-across-hosts.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-across-hosts.js +8 -2
- package/daemon/dist/domain/provider/usage-across-hosts.js.map +1 -1
- package/daemon/dist/domain/provider/usage-windows.d.ts +2 -0
- package/daemon/dist/domain/provider/usage-windows.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-windows.js +4 -0
- package/daemon/dist/domain/provider/usage-windows.js.map +1 -1
- package/daemon/dist/domain/queue-owner.d.ts +9 -0
- package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
- package/daemon/dist/domain/queue-owner.js +28 -0
- package/daemon/dist/domain/queue-owner.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +18 -3
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +94 -10
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-retention.d.ts +1 -1
- package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
- package/daemon/dist/domain/queue-retention.js +6 -1
- package/daemon/dist/domain/queue-retention.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +14 -3
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +50 -8
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +90 -28
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts +3 -0
- package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.js +5 -1
- package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +26 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +117 -11
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.d.ts +11 -2
- package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.js +32 -14
- package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
- package/daemon/dist/domain/resume-token-capture.d.ts +5 -1
- package/daemon/dist/domain/resume-token-capture.d.ts.map +1 -1
- package/daemon/dist/domain/resume-token-capture.js +3 -1
- package/daemon/dist/domain/resume-token-capture.js.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.js +1 -0
- package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +19 -2
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +247 -2
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +3 -1
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +4 -0
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +7 -0
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +41 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +174 -13
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +24 -1
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/running-name-guard.d.ts.map +1 -1
- package/daemon/dist/domain/running-name-guard.js +2 -1
- package/daemon/dist/domain/running-name-guard.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +17 -1
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/runtime-switch-materials.d.ts +77 -0
- package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -0
- package/daemon/dist/domain/runtime-switch-materials.js +253 -0
- package/daemon/dist/domain/runtime-switch-materials.js.map +1 -0
- package/daemon/dist/domain/scope/scope-approve.d.ts +1 -1
- package/daemon/dist/domain/seat-activity-service.d.ts +4 -0
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +17 -0
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts +8 -2
- package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +31 -2
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +2 -2
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts +5 -0
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +8 -4
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +19 -3
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +59 -13
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +9 -2
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +27 -7
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-dir.d.ts +17 -0
- package/daemon/dist/domain/seat-runtime-dir.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-dir.js +27 -0
- package/daemon/dist/domain/seat-runtime-dir.js.map +1 -0
- package/daemon/dist/domain/seat-runtime-home.d.ts +42 -0
- package/daemon/dist/domain/seat-runtime-home.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-home.js +89 -0
- package/daemon/dist/domain/seat-runtime-home.js.map +1 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts +220 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-switch-service.js +593 -0
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -0
- package/daemon/dist/domain/seat-skills-pointer.d.ts +5 -0
- package/daemon/dist/domain/seat-skills-pointer.d.ts.map +1 -0
- package/daemon/dist/domain/seat-skills-pointer.js +15 -0
- package/daemon/dist/domain/seat-skills-pointer.js.map +1 -0
- package/daemon/dist/domain/seat-status-service.d.ts +31 -0
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +44 -0
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.d.ts +3 -0
- package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.js +6 -0
- package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
- package/daemon/dist/domain/service-orchestrator.d.ts +7 -0
- package/daemon/dist/domain/service-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/service-orchestrator.js +4 -0
- package/daemon/dist/domain/service-orchestrator.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +19 -1
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +227 -47
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
- package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-capture.js +4 -1
- package/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/daemon/dist/domain/snapshot-repository.d.ts +4 -3
- package/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-repository.js +6 -5
- package/daemon/dist/domain/snapshot-repository.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +3 -0
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +58 -16
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts +1 -0
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +1 -0
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/stream-reader-actions.d.ts +49 -0
- package/daemon/dist/domain/stream-reader-actions.d.ts.map +1 -0
- package/daemon/dist/domain/stream-reader-actions.js +104 -0
- package/daemon/dist/domain/stream-reader-actions.js.map +1 -0
- package/daemon/dist/domain/successor-session-launcher.d.ts +35 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +58 -3
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts +6 -28
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.js +16 -66
- package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
- package/daemon/dist/domain/terminal/rex-adapter.d.ts +42 -0
- package/daemon/dist/domain/terminal/rex-adapter.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rex-adapter.js +228 -0
- package/daemon/dist/domain/terminal/rex-adapter.js.map +1 -0
- package/daemon/dist/domain/terminal/rex-layout.d.ts +26 -0
- package/daemon/dist/domain/terminal/rex-layout.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rex-layout.js +21 -0
- package/daemon/dist/domain/terminal/rex-layout.js.map +1 -0
- package/daemon/dist/domain/terminal/rex-transport.d.ts +43 -0
- package/daemon/dist/domain/terminal/rex-transport.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rex-transport.js +176 -0
- package/daemon/dist/domain/terminal/rex-transport.js.map +1 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +11 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.d.ts +2 -2
- package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.js +10 -11
- package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.d.ts +2 -0
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/tile-attach.js +42 -0
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -0
- package/daemon/dist/domain/terminal/tile-layout.d.ts +32 -0
- package/daemon/dist/domain/terminal/tile-layout.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/tile-layout.js +36 -0
- package/daemon/dist/domain/terminal/tile-layout.js.map +1 -0
- package/daemon/dist/domain/terminal/view-composer.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/view-composer.js +11 -7
- package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +61 -0
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/wake-recovery.d.ts +16 -0
- package/daemon/dist/domain/wake-recovery.d.ts.map +1 -0
- package/daemon/dist/domain/wake-recovery.js +31 -0
- package/daemon/dist/domain/wake-recovery.js.map +1 -0
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +5 -1
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/lib/pane-envelope.d.ts +5 -0
- package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
- package/daemon/dist/lib/pane-envelope.js +8 -1
- package/daemon/dist/lib/pane-envelope.js.map +1 -1
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +12 -0
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/agent-images.d.ts.map +1 -1
- package/daemon/dist/routes/agent-images.js +9 -0
- package/daemon/dist/routes/agent-images.js.map +1 -1
- package/daemon/dist/routes/context-packs.d.ts.map +1 -1
- package/daemon/dist/routes/context-packs.js +22 -0
- package/daemon/dist/routes/context-packs.js.map +1 -1
- package/daemon/dist/routes/mission-control.js +2 -2
- package/daemon/dist/routes/mission-control.js.map +1 -1
- package/daemon/dist/routes/provider.d.ts.map +1 -1
- package/daemon/dist/routes/provider.js +83 -3
- package/daemon/dist/routes/provider.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +102 -10
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/require-sender-identity.d.ts +10 -8
- package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
- package/daemon/dist/routes/require-sender-identity.js +13 -11
- package/daemon/dist/routes/require-sender-identity.js.map +1 -1
- package/daemon/dist/routes/rigs.js +2 -0
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/runtime-switch-custody.d.ts +21 -0
- package/daemon/dist/routes/runtime-switch-custody.d.ts.map +1 -0
- package/daemon/dist/routes/runtime-switch-custody.js +55 -0
- package/daemon/dist/routes/runtime-switch-custody.js.map +1 -0
- package/daemon/dist/routes/scope-approve.js +2 -2
- package/daemon/dist/routes/scope-approve.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +90 -7
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.d.ts.map +1 -1
- package/daemon/dist/routes/sessions.js +9 -0
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/startup.js +15 -5
- package/daemon/dist/routes/startup.js.map +1 -1
- package/daemon/dist/routes/stream.d.ts.map +1 -1
- package/daemon/dist/routes/stream.js +25 -2
- package/daemon/dist/routes/stream.js.map +1 -1
- package/daemon/dist/routes/transport.d.ts.map +1 -1
- package/daemon/dist/routes/transport.js +31 -3
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/seat-recap-store-surface.d.ts +1 -1
- package/daemon/dist/seat-recap-store-surface.d.ts.map +1 -1
- package/daemon/dist/seat-recap-store-surface.js +1 -1
- package/daemon/dist/seat-recap-store-surface.js.map +1 -1
- package/daemon/dist/server.d.ts +2 -0
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +1 -0
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts +5 -0
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +106 -28
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.js +5 -0
- package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
- package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +2 -2
- package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +7 -0
- package/daemon/docs/reference/community-harness-examples/openclaw/openclaw-gateway.yaml +15 -0
- package/daemon/docs/reference/community-harness-examples/openclaw/openclaw.yaml +5 -2
- package/daemon/docs/reference/community-harness-examples/openclaw/openrig-openclaw-launch +56 -24
- package/daemon/docs/reference/community-harness-presets.md +33 -18
- package/daemon/docs/reference/getting-started.md +82 -10
- package/daemon/docs/reference/health-diagnosis.md +13 -0
- package/daemon/docs/reference/help.md +6 -0
- package/daemon/docs/reference/keeping-a-watch.md +21 -0
- package/daemon/docs/reference/project-workspace.md +18 -0
- package/daemon/docs/reference/publishing-a-rig-bundle.md +11 -0
- package/daemon/docs/reference/quickstart.md +1 -1
- package/daemon/docs/reference/rig-spec.md +93 -3
- package/daemon/docs/reference/sdlc-conventions.md +3 -1
- package/daemon/docs/reference/seat-delivery.md +16 -5
- package/daemon/docs/reference/slack-app-setup.md +1 -1
- package/daemon/docs/reference/terminal-sessions.md +51 -0
- package/daemon/docs/reference/whats-new.md +262 -149
- package/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md +17 -5
- package/daemon/specs/agents/shared/skills/process/agent-browser/LICENSE.txt +201 -0
- package/daemon/specs/agents/shared/skills/process/agent-browser/OPENRIG.md +13 -29
- package/daemon/specs/agents/shared/skills/process/agent-browser/SKILL.md +7 -7
- package/daemon/specs/agents/shared/skills/process/dogfood/LICENSE.txt +201 -0
- package/daemon/specs/agents/shared/skills/process/dogfood/SKILL.md +6 -2
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/LICENSE.txt +21 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/SKILL.md +6 -2
- package/daemon/specs/agents/shared/skills/process/test-driven-development/LICENSE.txt +21 -0
- package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +5 -1
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/LICENSE.txt +21 -0
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +5 -1
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +18 -1
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +3 -0
- package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +3 -2
- package/dist/build-info.js +3 -3
- package/dist/client.d.ts +8 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +16 -1
- package/dist/client.js.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +2 -1
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/capture.d.ts.map +1 -1
- package/dist/commands/capture.js +8 -0
- package/dist/commands/capture.js.map +1 -1
- package/dist/commands/chatroom.d.ts.map +1 -1
- package/dist/commands/chatroom.js +6 -0
- package/dist/commands/chatroom.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +29 -23
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/down.d.ts.map +1 -1
- package/dist/commands/down.js +6 -2
- package/dist/commands/down.js.map +1 -1
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/commands/env.js +3 -0
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +47 -0
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/health.js +1 -1
- package/dist/commands/health.js.map +1 -1
- package/dist/commands/launch.js +1 -1
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/project.d.ts.map +1 -1
- package/dist/commands/project.js +6 -1
- package/dist/commands/project.js.map +1 -1
- package/dist/commands/proof.d.ts.map +1 -1
- package/dist/commands/proof.js +33 -2
- package/dist/commands/proof.js.map +1 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +172 -24
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +154 -30
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +5 -2
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +212 -5
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/skill.d.ts.map +1 -1
- package/dist/commands/skill.js +21 -0
- package/dist/commands/skill.js.map +1 -1
- package/dist/commands/stream-outcome.d.ts +586 -1
- package/dist/commands/stream-outcome.d.ts.map +1 -1
- package/dist/commands/stream-outcome.js +38 -1
- package/dist/commands/stream-outcome.js.map +1 -1
- package/dist/commands/stream.d.ts.map +1 -1
- package/dist/commands/stream.js +22 -0
- package/dist/commands/stream.js.map +1 -1
- package/dist/commands/terminal.d.ts +4 -0
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +7 -5
- package/dist/commands/terminal.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +7 -1
- package/dist/commands/up.js.map +1 -1
- package/dist/lib/codex-auth.d.ts +1 -147
- package/dist/lib/codex-auth.d.ts.map +1 -1
- package/dist/lib/codex-auth.js +2 -505
- package/dist/lib/codex-auth.js.map +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +52 -1
- package/dist/mcp-server.js.map +1 -1
- package/dist/terminal-window-rex.d.ts +6 -0
- package/dist/terminal-window-rex.d.ts.map +1 -0
- package/dist/terminal-window-rex.js +129 -0
- package/dist/terminal-window-rex.js.map +1 -0
- package/dist/terminal-window.d.ts +2 -0
- package/dist/terminal-window.d.ts.map +1 -1
- package/dist/terminal-window.js +19 -7
- package/dist/terminal-window.js.map +1 -1
- package/package.json +1 -1
- package/tui/dist/commands/registry.js +1 -1
- package/tui/dist/commands/registry.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +4 -3
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +5 -4
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +4 -1
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/live.d.ts.map +1 -1
- package/tui/dist/live.js +6 -4
- package/tui/dist/live.js.map +1 -1
- package/tui/dist/terminals/open-window.d.ts +9 -5
- package/tui/dist/terminals/open-window.d.ts.map +1 -1
- package/tui/dist/terminals/open-window.js +29 -12
- package/tui/dist/terminals/open-window.js.map +1 -1
- package/tui/dist/terminals/terminal-model.d.ts +2 -1
- package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
- package/tui/dist/terminals/terminal-model.js +5 -4
- package/tui/dist/terminals/terminal-model.js.map +1 -1
- package/tui/dist/usage/usage-model.d.ts.map +1 -1
- package/tui/dist/usage/usage-model.js +5 -3
- package/tui/dist/usage/usage-model.js.map +1 -1
- package/ui/dist/assets/{index-Blg-p32B.js → index-DLP1ipGq.js} +1 -1
- package/ui/dist/index.html +1 -1
|
@@ -34,6 +34,13 @@ chat_store() {
|
|
|
34
34
|
printf '%s/chats/%s/%s/store.db' "$CURSOR_CONFIG_DIR" "$sum" "$1"
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
# Preserve the file's exact bytes, including trailing newlines. A read error stops before the harness starts.
|
|
38
|
+
if [ -n "${OPENRIG_FIRST_INPUT:-}" ]; then
|
|
39
|
+
first_input=$(cat "$OPENRIG_FIRST_INPUT" && printf '.')
|
|
40
|
+
first_input=${first_input%.}
|
|
41
|
+
set -- "$@" "$first_input"
|
|
42
|
+
fi
|
|
43
|
+
|
|
37
44
|
if [ -n "${OPENRIG_RESUME_REF:-}" ]; then
|
|
38
45
|
id="$OPENRIG_RESUME_REF"
|
|
39
46
|
plain_id "$id" || { echo "openrig-cursor-launch: refusing an unusual chat id" >&2; exit 2; }
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# The Gateway must already run. Configure its route and authentication in this seat's OPENCLAW_CONFIG_PATH.
|
|
2
|
+
format: 1
|
|
3
|
+
name: openclaw-gateway
|
|
4
|
+
command: openrig-openclaw-launch --gateway
|
|
5
|
+
maintainer: Your name or team
|
|
6
|
+
limits:
|
|
7
|
+
- connects to an existing Gateway; this launcher never starts or stops that service
|
|
8
|
+
- stopping the TUI closes its client; an accepted turn may keep running on the Gateway
|
|
9
|
+
- uses only agent main; automatic session resets must stay off
|
|
10
|
+
- typing /new changes the native key while the seat keeps the name OpenRig gave it
|
|
11
|
+
- no guidance, skills or startup files are placed
|
|
12
|
+
- needs-input and approval prompts are read from the screen only
|
|
13
|
+
names_conversation: true
|
|
14
|
+
resume: true
|
|
15
|
+
first_input: true
|
|
@@ -4,10 +4,13 @@ name: openclaw
|
|
|
4
4
|
command: openrig-openclaw-launch
|
|
5
5
|
maintainer: Your name or team
|
|
6
6
|
limits:
|
|
7
|
-
-
|
|
8
|
-
-
|
|
7
|
+
- runs locally in the pane (openclaw tui --local), using only agent main, with no Gateway; Gateway-attached use isn't covered
|
|
8
|
+
- Finish the current local turn before stopping; an interrupted local turn may retain native recovery work and refuse the next request. This launcher does not repair or retry it.
|
|
9
|
+
- local resume may run a native database integrity check; check that the TUI has finished startup before sending work
|
|
9
10
|
- automatic session resets (session.reset) must stay off, or a key can start a new conversation
|
|
10
11
|
- typing /new in the pane moves the chat to a fresh session key; the seat still holds the name OpenRig gave it
|
|
11
12
|
- no guidance, skills or startup files are placed
|
|
12
13
|
- needs-input and approval prompts are read from the screen only
|
|
13
14
|
names_conversation: true
|
|
15
|
+
resume: true
|
|
16
|
+
first_input: true
|
|
@@ -1,38 +1,70 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# don't, so a gone conversation isn't quietly recreated under its old key.
|
|
7
|
-
# It runs `openclaw chat` (the TUI with --local): the agent runs in the seat's own pane, with no Gateway. Arguments after
|
|
8
|
-
# the launcher's name go to every launch and resume alike.
|
|
2
|
+
# Reference launcher for OpenClaw 2026.10.6 (fe06181), not installed by OpenRig.
|
|
3
|
+
# Each seat owns its client state and uses the main agent. OpenRig's opaque name maps to its full native key.
|
|
4
|
+
# --gateway selects an existing Gateway configured for this client; the default is an embedded local agent.
|
|
5
|
+
# Resume checks that exact key at its owner; an unavailable lookup is not a missing conversation.
|
|
9
6
|
set -eu
|
|
10
7
|
|
|
11
8
|
openclaw="${OPENRIG_OPENCLAW:-openclaw}"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# Its provider settings and credentials come from that folder's config or the environment, not the person's ~/.openclaw.
|
|
9
|
+
mode=local
|
|
10
|
+
if [ "${1:-}" = --gateway ]; then mode=gateway; shift; fi
|
|
15
11
|
OPENCLAW_STATE_DIR="${OPENRIG_HOME:-$HOME/.openrig}/state/openclaw/${OPENRIG_NODE_ID:-${OPENRIG_SESSION_NAME:-default}}"
|
|
16
12
|
export OPENCLAW_STATE_DIR
|
|
17
13
|
mkdir -p "$OPENCLAW_STATE_DIR"
|
|
18
14
|
|
|
15
|
+
name="${OPENRIG_RESUME_REF:-${OPENRIG_CONVERSATION:-}}"
|
|
16
|
+
if [ -z "$name" ]; then
|
|
17
|
+
echo "openrig-openclaw-launch: OpenRig passed no conversation name; is names_conversation set in the preset?" >&2
|
|
18
|
+
exit 2
|
|
19
|
+
fi
|
|
20
|
+
case "$name" in
|
|
21
|
+
agent:main:*) key="$name" ;;
|
|
22
|
+
agent:*) echo "openrig-openclaw-launch: this example supports only the main OpenClaw agent" >&2; exit 2 ;;
|
|
23
|
+
*) key="agent:main:$name" ;;
|
|
24
|
+
esac
|
|
25
|
+
|
|
26
|
+
# Preserve the file's exact bytes, including trailing newlines. A read error stops before the harness starts.
|
|
27
|
+
if [ -n "${OPENRIG_FIRST_INPUT:-}" ]; then
|
|
28
|
+
first_input=$(cat "$OPENRIG_FIRST_INPUT" && printf '.')
|
|
29
|
+
first_input=${first_input%.}
|
|
30
|
+
set -- "$@" --message "$first_input"
|
|
31
|
+
fi
|
|
32
|
+
|
|
19
33
|
if [ -n "${OPENRIG_RESUME_REF:-}" ]; then
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
34
|
+
if [ "$mode" = gateway ]; then
|
|
35
|
+
params=$(KEY="$key" node -e 'process.stdout.write(JSON.stringify({ key: process.env.KEY, agentId: "main" }))')
|
|
36
|
+
if listing=$("$openclaw" gateway call sessions.describe --params "$params" --json); then listed=true; else listed=false; fi
|
|
37
|
+
else
|
|
38
|
+
if listing=$("$openclaw" sessions --agent main --json --limit all); then listed=true; else listed=false; fi
|
|
39
|
+
fi
|
|
40
|
+
if [ "$listed" = false ]; then
|
|
41
|
+
echo "openrig-openclaw-launch: this seat's OpenClaw sessions couldn't be listed; not starting" >&2
|
|
42
|
+
exit 4
|
|
43
|
+
fi
|
|
44
|
+
if printf '%s' "$listing" | KEY="$key" MODE="$mode" node -e '
|
|
23
45
|
let raw = ""; process.stdin.on("data", (chunk) => { raw += chunk; });
|
|
24
46
|
process.stdin.on("end", () => {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
47
|
+
try {
|
|
48
|
+
const data = JSON.parse(raw);
|
|
49
|
+
if (process.env.MODE === "gateway") {
|
|
50
|
+
if (data.session === null) process.exit(3);
|
|
51
|
+
process.exit(data.session?.key === process.env.KEY ? 0 : 4);
|
|
52
|
+
}
|
|
53
|
+
const { sessions } = data;
|
|
54
|
+
if (!Array.isArray(sessions)) process.exit(4);
|
|
55
|
+
process.exit(sessions.some((s) => s?.agentId === "main" && s.key === process.env.KEY) ? 0 : 3);
|
|
56
|
+
} catch { process.exit(4); }
|
|
28
57
|
});'; then
|
|
29
|
-
|
|
30
|
-
|
|
58
|
+
:
|
|
59
|
+
else
|
|
60
|
+
result=$?
|
|
61
|
+
if [ "$result" -eq 3 ]; then
|
|
62
|
+
echo "openrig-openclaw-launch: this seat's OpenClaw sessions don't list \"$key\"; not starting a new one under that key" >&2
|
|
63
|
+
else
|
|
64
|
+
echo "openrig-openclaw-launch: this seat's OpenClaw sessions couldn't be listed; not starting" >&2
|
|
65
|
+
fi
|
|
66
|
+
exit "$result"
|
|
31
67
|
fi
|
|
32
|
-
exec "$openclaw" chat --session "$key" "$@"
|
|
33
|
-
fi
|
|
34
|
-
if [ -n "${OPENRIG_CONVERSATION:-}" ]; then
|
|
35
|
-
exec "$openclaw" chat --session "$OPENRIG_CONVERSATION" "$@"
|
|
36
68
|
fi
|
|
37
|
-
|
|
38
|
-
|
|
69
|
+
if [ "$mode" = gateway ]; then exec "$openclaw" tui --session "$key" "$@"; fi
|
|
70
|
+
exec "$openclaw" tui --local --session "$key" "$@"
|
|
@@ -20,6 +20,7 @@ launch_result: true # optional: the launcher reports the conversatio
|
|
|
20
20
|
# names_conversation: true # optional, instead of launch_result: OpenRig names the conversation (below)
|
|
21
21
|
resume: true # optional, needs one of those two; declare it only once your harness's resume is checked
|
|
22
22
|
startup_assisted: true # optional: startup submission needs a person's check (below)
|
|
23
|
+
first_input: true # optional: launcher takes the first turn from OPENRIG_FIRST_INPUT (below)
|
|
23
24
|
```
|
|
24
25
|
|
|
25
26
|
- **`command`** is a single program and its arguments. Shell syntax such as `|`, `&&`, `;`, redirections or `$(…)`
|
|
@@ -32,11 +33,15 @@ startup_assisted: true # optional: startup submission needs a person's
|
|
|
32
33
|
|
|
33
34
|
### Assisted startup
|
|
34
35
|
|
|
35
|
-
Set `startup_assisted: true` when
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
Set `startup_assisted: true` when startup submission needs a person's check. The seat may start its first turn
|
|
37
|
+
automatically, including from input passed at launch with `first_input: true`. This declaration requires a check after
|
|
38
|
+
the submission attempt; it does not hold the agent back. Without `first_input`, OpenRig pastes the startup text and
|
|
39
|
+
presses Enter once.
|
|
40
|
+
|
|
41
|
+
After attempting startup input, OpenRig reports **attention required**: check the pane and submit any text still in the
|
|
42
|
+
composer. OpenRig does not resend the identity prompt. Once the seat responds, use the reported
|
|
43
|
+
`rig seat clear-attention <session> --reason "Startup submission checked; seat responded"` command to acknowledge the
|
|
44
|
+
check. A launch with no startup text needs no such check. Other presets keep their existing behavior.
|
|
40
45
|
|
|
41
46
|
## Reporting the conversation a launch created (`launch_result: true`)
|
|
42
47
|
|
|
@@ -142,17 +147,16 @@ Copy them and maintain them as your own.
|
|
|
142
147
|
|
|
143
148
|
[`community-harness-examples/openclaw/`](community-harness-examples/openclaw/) has a preset and a small launcher for
|
|
144
149
|
OpenClaw's CLI.
|
|
145
|
-
- **
|
|
146
|
-
|
|
147
|
-
- **Its resume check:**
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
- **
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
- **The preset:** it declares `names_conversation` but not `resume`, until both have been checked with a real OpenClaw.
|
|
150
|
+
- **Choose the mode:** `openclaw.yaml` runs an embedded agent with `tui --local`. `openclaw-gateway.yaml` runs a TUI client of an existing Gateway. Configure that client's Gateway route and authentication through `OPENCLAW_CONFIG_PATH`; the launcher never starts or stops the Gateway.
|
|
151
|
+
- **The conversation:** both examples use only agent `main`, mapping OpenRig's name to the full native key `agent:main:<OpenRig name>`. Each seat has its own client state folder.
|
|
152
|
+
- **Its resume check:** local mode checks `sessions --agent main --json --limit all`; Gateway mode calls the selected Gateway's `sessions.describe`. Both require the exact canonical key. An unavailable lookup stops the launch; a confirmed missing key is never recreated. A client's local cache cannot authorize Gateway resume.
|
|
153
|
+
- **Stopping:** a Gateway client's pane closing detaches it. The Gateway and an accepted turn can keep running; stopping that service is separate. Local mode runs its embedded agent in the pane.
|
|
154
|
+
- **Local interruption:** Finish the current local turn before stopping; an interrupted local turn may retain native recovery work and refuse the next request. This launcher does not repair or retry it.
|
|
155
|
+
- **Local startup after resume:** OpenClaw may run its database integrity check during startup. A reported resumed process does not confirm readiness for the next request; check that the TUI has finished starting before sending work.
|
|
156
|
+
- **Resets must stay off:** automatic session resets can create a new conversation under the same key. Typing `/new` also moves to a fresh key while the seat keeps the name OpenRig gave it.
|
|
157
|
+
- **The presets:** both declare `names_conversation`, `resume` and `first_input`. The launcher passes the generated first startup text through OpenClaw's `--message` option. OpenRig labels the saved name as passed, not observed by its adapter.
|
|
154
158
|
|
|
155
|
-
Copy
|
|
159
|
+
Copy the launcher and the preset for your mode, and maintain them as your own.
|
|
156
160
|
|
|
157
161
|
**Not supported for community harnesses:** restarting a seat in place (`rig seat restart` is for Codex seats) and
|
|
158
162
|
switching harness on a running seat. Each says so before anything changes.
|
|
@@ -167,13 +171,24 @@ CLI.
|
|
|
167
171
|
- **The preset:** it declares `launch_result` and `resume`. Cursor's `--resume` with an id it doesn't hold starts a new,
|
|
168
172
|
empty chat without saying so, so on a resume the launcher first checks that the chat's store exists. When it doesn't, the
|
|
169
173
|
launcher reports `error: "missing"` and starts nothing.
|
|
170
|
-
- **
|
|
171
|
-
|
|
174
|
+
- **First input at launch:** the preset declares `first_input: true` and `startup_assisted: false`. The launcher passes
|
|
175
|
+
the generated startup text as Cursor's positional first prompt. This route and same-chat resume were checked with
|
|
176
|
+
Cursor Agent 2026.10.22-27dcf5f. Later tool approvals use Cursor's native prompts; startup submission does not answer them.
|
|
172
177
|
- **Sender names come from the sending session.** A command run from an unattached operator shell can arrive as
|
|
173
178
|
`<unknown sender>`; that doesn't mean the receiving Cursor seat lost its identity.
|
|
174
179
|
|
|
175
180
|
Copy both and maintain them as your own.
|
|
176
181
|
|
|
177
182
|
The launcher is the contributor's code, in the contributor's package. OpenRig runs no code from a preset and loads no
|
|
178
|
-
module into its daemon. A preset that sets `launch_result`, `names_conversation` or `
|
|
183
|
+
module into its daemon. A preset that sets `launch_result`, `names_conversation`, `startup_assisted` or `first_input` is refused by an older
|
|
179
184
|
OpenRig that doesn't know the field.
|
|
185
|
+
|
|
186
|
+
## Pass the first startup input at launch
|
|
187
|
+
|
|
188
|
+
A format-1 preset may set `first_input: true` (a boolean, default false). OpenRig composes the same initial identity turn it would otherwise paste, including the first merged text file, durable-obligation guidance and any selected orientation challenge. Before launch it writes that text to a per-attempt 0600 file under its own `state/first-input/` folder and passes the path as `OPENRIG_FIRST_INPUT`. The typed launch command carries the path, not the text; an argument-based launcher still puts the text in the native harness’s argv.
|
|
189
|
+
|
|
190
|
+
The contributor-owned launcher reads the file and uses its harness’s supported initial-prompt route: the Cursor example passes one positional prompt; OpenClaw uses `--message`. Core knows neither flag. If no initial identity turn is due (an ordinary resume, for example), the variable is absent and the launcher starts without a first message. Later startup files and actions use their existing delivery paths; they are not folded into the launch file.
|
|
191
|
+
|
|
192
|
+
OpenRig records `node.startup_first_input_passed` with the path and `submission: unconfirmed`. This says the input was passed at launch, not that the native harness submitted or read it. An uncertain launch is not permission to replay it. Readiness remains process-only. `startup_assisted` is independent: when declared, startup still requires a person’s acknowledgement, including when the first input was passed at launch.
|
|
193
|
+
|
|
194
|
+
Presets without `first_input` and built-in runtimes keep their existing behavior. Older OpenRig versions reject this new field as unknown. The private input file remains for diagnostics; it can contain private startup context. A launcher that turns its contents into one argument is subject to the platform’s argument-size limit; the launcher must report a launch error rather than silently truncate the turn. The examples’ argument transport is covered with stand-ins; native unattended startup still requires qualification with the installed harness.
|
|
@@ -39,6 +39,12 @@ The `rigs` skill is the procedure: follow it in order. This page is what it look
|
|
|
39
39
|
|
|
40
40
|
## Before you start
|
|
41
41
|
|
|
42
|
+
Setup and launch are separate: declining `rig setup` avoids its `~/.tmux.conf` change, but starting Codex seats can
|
|
43
|
+
still write workspace trust and selected MCP/config fragments. `runtime.codex.hooks_enabled=false` controls hooks;
|
|
44
|
+
it isn't a no-global-config option. Setup has no project-only mode. Trusted project `.codex/config.toml` settings
|
|
45
|
+
don't redirect OpenRig's home-config writes. A separate selected `CODEX_HOME` keeps Codex config, login and sessions
|
|
46
|
+
together in that home; it needs its own working sign-in and doesn't relocate `~/.tmux.conf`.
|
|
47
|
+
|
|
42
48
|
> **What OpenRig changes on your machine**
|
|
43
49
|
> - **Install:** `@openrig/cli` goes in globally with npm.
|
|
44
50
|
> - **Setup:** `rig setup` adds an OpenRig block to `~/.tmux.conf`. It can install tmux (with Homebrew on macOS), and
|
|
@@ -46,7 +52,8 @@ The `rigs` skill is the procedure: follow it in order. This page is what it look
|
|
|
46
52
|
> Claude Code and Codex and may install a missing one; `rig setup --providers claude` (or `codex`) limits it to
|
|
47
53
|
> yours.
|
|
48
54
|
> - **Starting OpenRig, for the coding agent you use** (paths are the usual defaults):
|
|
49
|
-
> - Codex: hooks
|
|
55
|
+
> - Codex: hooks, workspace trust and team-selected config fragments (including MCP) in the selected
|
|
56
|
+
> `CODEX_HOME/config.toml`, default `~/.codex/config.toml`. These affect other Codex sessions using that home.
|
|
50
57
|
> - Claude Code: workspace trust in `~/.claude.json`, and activity hooks in the project's
|
|
51
58
|
> `.claude/settings.local.json`, plus a status line unless you already have your own.
|
|
52
59
|
> - Discovery skills go in `~/.claude/skills` and `~/.agents/skills`.
|
|
@@ -184,11 +191,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
|
|
|
184
191
|
script will do and changes nothing:
|
|
185
192
|
|
|
186
193
|
```sh
|
|
187
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
194
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.2/scripts/install.sh | sh -s -- --dry-run
|
|
188
195
|
```
|
|
189
196
|
|
|
190
197
|
The same command without `--dry-run`,
|
|
191
|
-
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
198
|
+
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.2/scripts/install.sh | sh`, installs the
|
|
192
199
|
latest published `@openrig/cli` with `npm install -g`,
|
|
193
200
|
runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
|
|
194
201
|
Codex and may install a missing one, as described below. A failed step prints
|
|
@@ -255,6 +262,9 @@ applies to future launches and successors, not running agents or your personal t
|
|
|
255
262
|
If the scoped environment cannot be prepared, launch keeps its previous environment and
|
|
256
263
|
reports a warning in fresh launch results and the daemon log. For handovers, check
|
|
257
264
|
that log for this warning. This is not a promise that shell startup cannot add or override values.
|
|
265
|
+
On Linux, a seat also gets the daemon's `XDG_RUNTIME_DIR`, so tools whose sockets live there work in seats,
|
|
266
|
+
with `DBUS_SESSION_BUS_ADDRESS=disabled:` so its D-Bus clients don't find your session bus on their own. A seat's
|
|
267
|
+
own `env:` value for either name wins. See "The runtime directory, on Linux" in the rig spec reference.
|
|
258
268
|
|
|
259
269
|
|
|
260
270
|
## Start the kernel and check its state
|
|
@@ -384,13 +394,14 @@ caller's Herdr endpoint must match the daemon's endpoint; a mismatch is reported
|
|
|
384
394
|
without opening a window or putting the view in another session.
|
|
385
395
|
|
|
386
396
|
The shared TUI (`rig tui --shared`) runs in the daemon's tmux server, so its own environment never
|
|
387
|
-
carries the Herdr you are looking at; the markers are on the tmux client attached to it. When you
|
|
397
|
+
carries the Herdr or Rex you are looking at; the markers are on the tmux client attached to it. When you
|
|
388
398
|
open a terminal view from it on Linux, the TUI passes the markers of the client that was active last
|
|
389
|
-
(normally the one that pressed the key) to the command, which then opens the view in that Herdr
|
|
399
|
+
(normally the one that pressed the key) to the command, which then opens the view in that Herdr, or as
|
|
400
|
+
a new session on that Rex server. The
|
|
390
401
|
chosen client may belong to a different viewer: tmux only counts keys a client types, so a key sent
|
|
391
402
|
by an agent (`send-keys`) or by a control-mode client doesn't count as any client's activity, and the
|
|
392
|
-
view opens in the Herdr of the interactive client that typed last, however long ago. With no client
|
|
393
|
-
attached, more than one client active in the same second, or a client that
|
|
403
|
+
view opens in the Herdr or Rex of the interactive client that typed last, however long ago. With no client
|
|
404
|
+
attached, more than one client active in the same second, or a client that is in neither or can't be
|
|
394
405
|
read, nothing is passed and the result is what it was before. Other platforms, and every other way of
|
|
395
406
|
running `rig terminal open`, keep the previous result too.
|
|
396
407
|
|
|
@@ -683,9 +694,13 @@ Herdr, use `rig terminal open starter --provider herdr`; for the shared
|
|
|
683
694
|
dashboard together with the kernel conversations, use the
|
|
684
695
|
[saved first view](#open-the-kernel-conversations). The equivalent
|
|
685
696
|
cmux provider is also available. Read the opened/absent/degraded result: a
|
|
686
|
-
partial terminal view is not a healthy team.
|
|
687
|
-
|
|
688
|
-
want to preserve it.
|
|
697
|
+
partial terminal view is not a healthy team. Each `--provider herdr` open adds
|
|
698
|
+
a new workspace, numbered when the name is taken; return to the one already open
|
|
699
|
+
when you want to preserve it. From inside Herdr, `rig terminal open <view> --window`
|
|
700
|
+
focuses a matching space instead of adding one. Herdr's own status for a seat can
|
|
701
|
+
read idle or unknown while OpenRig shows it waiting (`needs-input`); use OpenRig's
|
|
702
|
+
view or the Feed to find waiting seats. This is terminal integration, not native
|
|
703
|
+
plugin enrollment.
|
|
689
704
|
|
|
690
705
|
For team views with interactive panes, the open result distinguishes the dashboard
|
|
691
706
|
overview from the team's lead conversation and asks whether you can see the team.
|
|
@@ -735,6 +750,56 @@ with `rig grow` and no YAML, or optionally author a custom rig. It covers
|
|
|
735
750
|
new-seat context/work ownership, concurrency costs and saving the expanded spec.
|
|
736
751
|
This guide remains the short first-use path.
|
|
737
752
|
|
|
753
|
+
## Move a seat to the other runtime
|
|
754
|
+
|
|
755
|
+
When a provider reaches its usage limit, or a seat would do better on the other
|
|
756
|
+
runtime, move that one seat instead of rebuilding the team. Ask your operator
|
|
757
|
+
agent, or run it yourself:
|
|
758
|
+
|
|
759
|
+
```bash
|
|
760
|
+
rig seat set-runtime dev-review@starter --runtime claude-code --reason "Codex limit" --dry-run
|
|
761
|
+
rig seat set-runtime dev-review@starter --runtime claude-code --reason "Codex limit"
|
|
762
|
+
```
|
|
763
|
+
|
|
764
|
+
The dry run shows the target's settings and where each comes from (an explicit
|
|
765
|
+
option, the seat's agent spec for the target runtime, or the runtime's own
|
|
766
|
+
default), what is cleared, and the costs below. Nothing changes until you run it
|
|
767
|
+
without `--dry-run`.
|
|
768
|
+
|
|
769
|
+
The new runtime takes over before the old one stops. Its successor starts beside
|
|
770
|
+
the current occupant, reads a handover (the seat's recap, its open rows and the
|
|
771
|
+
predecessor's screen), and confirms it with `rig seat set-runtime <seat>
|
|
772
|
+
--confirm <switch-id> --note "<what it will do first>"`. Only then does the seat
|
|
773
|
+
move: same address, connections and queue rows, with in-progress claims moved
|
|
774
|
+
to the successor. If the successor doesn't confirm within 180 seconds
|
|
775
|
+
(`--confirm-timeout`), nothing changes and the current occupant keeps the seat.
|
|
776
|
+
A seat can switch itself. `rig seat status <seat>` shows an open or interrupted
|
|
777
|
+
switch, and `rig seat set-runtime <seat> --recover` finishes one from its record.
|
|
778
|
+
|
|
779
|
+
What it costs:
|
|
780
|
+
|
|
781
|
+
- **A new conversation.** Native history isn't converted; only the handover
|
|
782
|
+
carries over.
|
|
783
|
+
- **The same address, a different terminal.** The seat's pane and scrollback
|
|
784
|
+
change.
|
|
785
|
+
- **The team file isn't rewritten.** The database and `rig export` show the new
|
|
786
|
+
runtime; the YAML you imported keeps the old one, so a later converge against
|
|
787
|
+
it reports a deferred `change_runtime`. Export the rig, or edit the member's
|
|
788
|
+
`runtime:`, to keep them in step.
|
|
789
|
+
- **Source settings are cleared, not mapped.** The model, effort, Codex profile
|
|
790
|
+
and an explicit native permission choice don't carry over, and neither does a
|
|
791
|
+
model or effort the agent spec declares for the source runtime. Member and rig
|
|
792
|
+
permission policy are kept.
|
|
793
|
+
- **Two processes until cutover.** The successor runs on the target's account
|
|
794
|
+
while the switch is open.
|
|
795
|
+
- **Messages are held during the switch.** A `rig send` to the seat while it
|
|
796
|
+
switches isn't typed; it says the seat is switching and until when. Send it
|
|
797
|
+
again afterwards to reach whoever holds the seat.
|
|
798
|
+
- **Leftover files after a failed switch.** The target runtime's prepared seat
|
|
799
|
+
storage and projections can remain.
|
|
800
|
+
- **Codex and Claude Code, single-pane seats.** Startup slash commands aren't
|
|
801
|
+
run by a switch; the dry run lists them.
|
|
802
|
+
|
|
738
803
|
## Stop your teams
|
|
739
804
|
|
|
740
805
|
`rig down <rig-name>` ends that rig's agent sessions and work in progress.
|
|
@@ -1058,6 +1123,10 @@ absolute working directory, then uses that exact path for discovery and launch.
|
|
|
1058
1123
|
It does not use interactive shell aliases or a shell's modified PATH. Relative
|
|
1059
1124
|
PATH entries and a relative `CLAUDE_CONFIG_DIR` resolve from the seat directory.
|
|
1060
1125
|
|
|
1126
|
+
In `plan` mode Claude Code answers with Sonnet when the seat's model is the alias
|
|
1127
|
+
`haiku` (a full Haiku model id, set with `rig seat set-model`, keeps Haiku), and the
|
|
1128
|
+
launch result and `rig seat status` say so for that pairing.
|
|
1129
|
+
|
|
1061
1130
|
For these explicit native modes, fresh, resume, fork and legacy restore use the
|
|
1062
1131
|
same managed environment: PATH, HOME, `CLAUDE_CONFIG_DIR` (default HOME/.claude)
|
|
1063
1132
|
and the configured classic-renderer setting. Other shell customizations are
|
|
@@ -1182,6 +1251,9 @@ using the selected database. To stop before opening that database instead, run
|
|
|
1182
1251
|
`rig config set daemon.db_conflict stop` (set it to `warn` for the default).
|
|
1183
1252
|
The check requires an open-file holder, a matching `daemon.json`, and a listener
|
|
1184
1253
|
reporting the same PID; missing or inconclusive evidence does not stop startup.
|
|
1254
|
+
When the check can't run (`lsof` is missing, fails or times out, or a recorded daemon's
|
|
1255
|
+
listener doesn't answer), startup warns that ownership is unknown rather than reporting
|
|
1256
|
+
no conflict, in either setting.
|
|
1185
1257
|
Selecting a database outside `OPENRIG_HOME` alone only warns; a confirmed live-daemon
|
|
1186
1258
|
conflict there still stops when `daemon.db_conflict` is `stop`.
|
|
1187
1259
|
|
|
@@ -390,6 +390,19 @@ ID reads retain them while the source can still project them. A recurrence after
|
|
|
390
390
|
clear receives a new episode ID. This is an on-demand projection, not a history
|
|
391
391
|
store; a detail 404 does not prove resolution.
|
|
392
392
|
|
|
393
|
+
In the TUI, the instance Table and the rig/pod Table and Overview load canonical
|
|
394
|
+
findings for their health summaries. These summaries previously could show `Not assessed`
|
|
395
|
+
even when the daemon served findings because they did not request the projection.
|
|
396
|
+
Once the topology drill is resolved, these pages use the existing bounded
|
|
397
|
+
`GET /api/health?limit=200` read; pod summaries continue to cover their rig.
|
|
398
|
+
Other topology views using focused reads keep this projection lazy; the Health
|
|
399
|
+
tab requests it explicitly.
|
|
400
|
+
This findings read is separate from the control-plane `GET /healthz` read.
|
|
401
|
+
|
|
402
|
+
If `GET /api/health?limit=200` fails, including HTTP 503, the summary shows
|
|
403
|
+
`Unknown · Unavailable`. A projection that was not requested remains
|
|
404
|
+
`Unknown · Not assessed`, and a loaded empty result is not a healthy verdict.
|
|
405
|
+
|
|
393
406
|
Lists default to 100 and cap at 200, with `total` and `truncated` explicit.
|
|
394
407
|
Ceremony findings take precedence before the cap so context pressure cannot
|
|
395
408
|
hide the primary signal. Narrow a truncated query; do not certify the unseen
|
|
@@ -120,6 +120,12 @@ unknown outcome, check `rig seat status <seat>` before trying again. For a rig w
|
|
|
120
120
|
`--non-interruptive` on `rig up` or `rig bundle install` avoids Claude's warning and Codex's notices in the first
|
|
121
121
|
place; see `non-interruptive-mode.md` beside this file.
|
|
122
122
|
|
|
123
|
+
Codex's initial sign-in chooser and API-key entry are recognised as `login_required`, so startup reports the
|
|
124
|
+
sign-in step instead of waiting for a generic readiness timeout. Finish that step in the seat's terminal, then use
|
|
125
|
+
the continuation command above. A quoted or dismissed login screen is not a current login gate; other layouts
|
|
126
|
+
keep their existing readiness handling. Claude's persistent "Not logged in" footer alone is not a login refusal, because a
|
|
127
|
+
configured gateway may authenticate its requests.
|
|
128
|
+
|
|
123
129
|
### You can't tell which instance or configuration is involved
|
|
124
130
|
|
|
125
131
|
Read [instance layout](instance-layout.md) (`rig context get reference/instance-layout.md`) and
|
|
@@ -165,6 +165,27 @@ says so. Use it rather than the single-machine `rig provider status --json`: one
|
|
|
165
165
|
machines appears once, with each machine's own observation beside it, so you can't count it twice. If it answers that
|
|
166
166
|
usage windows are off, tell the person that before setting the watch, as you would an unreachable channel.
|
|
167
167
|
|
|
168
|
+
For a Claude login supplied by `CLAUDE_CODE_OAUTH_TOKEN`, an explicit one-credential read is available:
|
|
169
|
+
|
|
170
|
+
```sh
|
|
171
|
+
rig provider status --refresh --provider claude --claude-token-file /absolute/private/personal.token --credential-label Personal
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
The file must be readable by the daemon, regular, at most 8 KiB, and contain only the token. Ownership by the daemon user and mode 0600 or
|
|
175
|
+
0400 are recommended; different ownership, broader permissions and symlinks produce warnings, not refusals. Provision it through your existing credential
|
|
176
|
+
custody; never put token values in arguments, seat environment settings, evidence or a queue item. The path is on the selected daemon's
|
|
177
|
+
machine. Repeat the command for another labelled file when you want to compare subscriptions. This option does not fan out with
|
|
178
|
+
`--all-hosts` or `--hosts`.
|
|
179
|
+
|
|
180
|
+
**Each token refresh spends one model turn.** Status and TUI reads show the cached result and never probe. A timeout or refusal does not
|
|
181
|
+
prove no allowance was spent. The probe uses a temporary home/config/work directory and a single Haiku turn, with CLI flags requesting no tools, hooks or MCP. Unsupported CLI flags or missing events are reported as failures/unknown, not as free capacity. The event format is evidenced on
|
|
182
|
+
Claude Code 2.1.310; other versions may report different fields. These are credential labels you supplied, not provider-verified account
|
|
183
|
+
names, and do not prove a running seat uses that credential. The ordinary status-line sample/account join remains unproven.
|
|
184
|
+
|
|
185
|
+
Only actually reported window percentages and resets are measurements. A rejected window can have an unknown percentage; overage rejection
|
|
186
|
+
is separate from subscription rejection. Readings and their times survive daemon restart, marked historical until refreshed. Files with
|
|
187
|
+
different references/labels stay separate; equal resets or matching labels on another host never establish one allowance or extra room.
|
|
188
|
+
|
|
168
189
|
**Never put `--refresh` in the timer's check.** `rig provider status --all-hosts --refresh` starts a native read of the
|
|
169
190
|
accounts on every machine. Run it only when the person asks for a fresh reading now.
|
|
170
191
|
|
|
@@ -108,6 +108,24 @@ ownership receipt. A later seat start with no project-world input preserves it;
|
|
|
108
108
|
an explicit install whose `install.skills` is empty clears it. This keeps
|
|
109
109
|
"project not supplied" distinct from "project deliberately selects no skills."
|
|
110
110
|
|
|
111
|
+
Before refreshing a skill copy, don't take `rig skill audit` as the answer. The
|
|
112
|
+
audit reports declared provenance, date freshness (its `stale` is a verified date
|
|
113
|
+
past 90 days or one with no evidence source) and copy hashes. It doesn't say
|
|
114
|
+
whether a copy is safe to refresh, and two copies with different hashes aren't
|
|
115
|
+
evidence of a deliberate fork. For a managed copy in a working folder, the
|
|
116
|
+
read-only check is `rig skill loadout --runtime <claude-code|codex> --cwd
|
|
117
|
+
<target> --project-root <project> --json`, without `--apply`. It reports
|
|
118
|
+
`current`; `stale`, still OpenRig's last projection, so `--apply` can refresh it;
|
|
119
|
+
`conflicting`; `shadowed`; or `missing`. Read the detail of `conflicting` and
|
|
120
|
+
`shadowed`: `conflicting` can mean the bytes differ or that the target couldn't
|
|
121
|
+
be inspected, which leaves any difference unknown, and a confirmed difference
|
|
122
|
+
doesn't prove a deliberate local edit. A seat's own skills, kept outside the
|
|
123
|
+
project (0.7.1 and later), are listed with where they're stored by
|
|
124
|
+
`rig skill loadout --seat <session|self> --json`; that read doesn't classify
|
|
125
|
+
them. A global or untracked copy has no install
|
|
126
|
+
record, so its origin stays unknown: ask the skill's owner, and don't move global
|
|
127
|
+
skills into a project just to get one.
|
|
128
|
+
|
|
111
129
|
## Work-install project selection
|
|
112
130
|
|
|
113
131
|
`rig context work-install` picks one project from the catalog at
|
|
@@ -28,6 +28,17 @@ Two rules matter most for strangers:
|
|
|
28
28
|
manifest and consumers show a notice; anyone with the bundle could read those files.
|
|
29
29
|
Unrecorded login files and other sensitive paths still fail. See [harness login files](rig-bundle.md#harness-login-files).
|
|
30
30
|
|
|
31
|
+
To start from a running team, use `rig export <team> -o ./my-team/rig.yaml` after creating `my-team`.
|
|
32
|
+
Export keeps the rig's name, including an old `starter` name; choose a descriptive `name` in `rig.yaml`
|
|
33
|
+
before sharing. `rig bundle create --name` names the archive, not the installed rig.
|
|
34
|
+
For a local daemon, export copies the declared culture file from its recorded rig root and keeps any
|
|
35
|
+
existing destination file. Check that file before sharing. A missing, inaccessible or remote source is
|
|
36
|
+
reported for manual copying. If the daemon is reached through a localhost tunnel, copy the culture from
|
|
37
|
+
that host and check it yourself. Agent refs outside the folder are reported as nonportable: copy those agents and their
|
|
38
|
+
imports into the folder and use `local:` refs, or let `rig bundle create --rig-root <original-root>` vendor
|
|
39
|
+
agents into an archive. To include an existing README, declare `docs: [{ path: README.md }]` in `rig.yaml`;
|
|
40
|
+
export does not invent a README or its contents. Check the folder after these edits.
|
|
41
|
+
|
|
31
42
|
Two optional files sit beside `rig.yaml`:
|
|
32
43
|
- **`bundle.yaml`** declares what people need before installing: setup steps (`preconditions`, shown before install
|
|
33
44
|
and never run), the oldest OpenRig that works (`compatibility.min_cli_version`), and skills shared by several
|
|
@@ -17,7 +17,7 @@ npx skills add https://github.com/mvschwarz/openrig/tree/<release-tag>/skills/ri
|
|
|
17
17
|
npx skills add https://github.com/mvschwarz/openrig/tree/<release-tag>/skills/rigs --skill rigs --agent codex
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
For a new install, use the latest release's tag, for example `v0.7.
|
|
20
|
+
For a new install, use the latest release's tag, for example `v0.7.2`. If OpenRig is already installed, use the tag
|
|
21
21
|
that matches `rig --version`, or upgrade first. If the command fails with `npx: command not found`, Node.js isn't
|
|
22
22
|
installed or isn't on your PATH yet (see [What you need](#what-you-need)). Then type `/rigs` in Claude Code, or `$rigs` in Codex, and say what
|
|
23
23
|
you want built.
|