@openrig/cli 0.7.12 → 0.7.13
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/.claude-plugin/icon.png +0 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +2 -2
- package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +4 -2
- package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/plugin.json +2 -2
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +2 -2
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +5 -3
- package/daemon/assets/plugins/openrig-core/README.md +6 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +125 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +24 -1
- package/daemon/assets/skills/rigs/SKILL.md +7 -3
- package/daemon/context-packs/help/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +28 -7
- package/daemon/context-packs/reference/getting-started.md +25 -13
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +14 -0
- package/daemon/context-packs/reference/tmux-servers.md +4 -1
- package/daemon/context-packs/reference/whats-new.md +164 -179
- 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/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/SKILL.md +5 -0
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/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/pi-runner.d.ts +49 -1
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +343 -28
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/tmux-server.d.ts +9 -1
- package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-server.js +36 -4
- package/daemon/dist/adapters/tmux-server.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/connection-contract-surface.d.ts +2 -0
- package/daemon/dist/connection-contract-surface.d.ts.map +1 -0
- package/daemon/dist/connection-contract-surface.js +4 -0
- package/daemon/dist/connection-contract-surface.js.map +1 -0
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +6 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/160_network_bindings.d.ts +7 -0
- package/daemon/dist/db/migrations/160_network_bindings.d.ts.map +1 -0
- package/daemon/dist/db/migrations/160_network_bindings.js +26 -0
- package/daemon/dist/db/migrations/160_network_bindings.js.map +1 -0
- package/daemon/dist/db/migrations/161_network_receipts.d.ts +8 -0
- package/daemon/dist/db/migrations/161_network_receipts.d.ts.map +1 -0
- package/daemon/dist/db/migrations/161_network_receipts.js +25 -0
- package/daemon/dist/db/migrations/161_network_receipts.js.map +1 -0
- package/daemon/dist/db/migrations/162_session_address_read_indexes.d.ts +5 -0
- package/daemon/dist/db/migrations/162_session_address_read_indexes.d.ts.map +1 -0
- package/daemon/dist/db/migrations/162_session_address_read_indexes.js +12 -0
- package/daemon/dist/db/migrations/162_session_address_read_indexes.js.map +1 -0
- package/daemon/dist/domain/agent-activity-store.d.ts +8 -0
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +14 -0
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +5 -0
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/connection-contract.d.ts +111 -0
- package/daemon/dist/domain/connection-contract.d.ts.map +1 -0
- package/daemon/dist/domain/connection-contract.js +113 -0
- package/daemon/dist/domain/connection-contract.js.map +1 -0
- package/daemon/dist/domain/execution-view.js +2 -2
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/install-engine.d.ts +5 -0
- package/daemon/dist/domain/install-engine.d.ts.map +1 -1
- package/daemon/dist/domain/install-engine.js +28 -26
- package/daemon/dist/domain/install-engine.js.map +1 -1
- package/daemon/dist/domain/install-verifier.d.ts +5 -1
- package/daemon/dist/domain/install-verifier.d.ts.map +1 -1
- package/daemon/dist/domain/install-verifier.js +12 -1
- package/daemon/dist/domain/install-verifier.js.map +1 -1
- package/daemon/dist/domain/managed-block-records.d.ts +9 -3
- package/daemon/dist/domain/managed-block-records.d.ts.map +1 -1
- package/daemon/dist/domain/managed-block-records.js +43 -8
- package/daemon/dist/domain/managed-block-records.js.map +1 -1
- package/daemon/dist/domain/managed-blocks.d.ts +40 -3
- package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
- package/daemon/dist/domain/managed-blocks.js +151 -39
- package/daemon/dist/domain/managed-blocks.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js +3 -2
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/network/hub-client.d.ts +40 -0
- package/daemon/dist/domain/network/hub-client.d.ts.map +1 -0
- package/daemon/dist/domain/network/hub-client.js +102 -0
- package/daemon/dist/domain/network/hub-client.js.map +1 -0
- package/daemon/dist/domain/network/network-bindings.d.ts +74 -0
- package/daemon/dist/domain/network/network-bindings.d.ts.map +1 -0
- package/daemon/dist/domain/network/network-bindings.js +235 -0
- package/daemon/dist/domain/network/network-bindings.js.map +1 -0
- package/daemon/dist/domain/network/network-connector.d.ts +77 -0
- package/daemon/dist/domain/network/network-connector.d.ts.map +1 -0
- package/daemon/dist/domain/network/network-connector.js +380 -0
- package/daemon/dist/domain/network/network-connector.js.map +1 -0
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +6 -5
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/package-install-service.d.ts +1 -0
- package/daemon/dist/domain/package-install-service.d.ts.map +1 -1
- package/daemon/dist/domain/package-install-service.js +2 -1
- package/daemon/dist/domain/package-install-service.js.map +1 -1
- package/daemon/dist/domain/plugin-vendor-service.d.ts +9 -0
- package/daemon/dist/domain/plugin-vendor-service.d.ts.map +1 -1
- package/daemon/dist/domain/plugin-vendor-service.js +50 -8
- package/daemon/dist/domain/plugin-vendor-service.js.map +1 -1
- package/daemon/dist/domain/proof/judgments.d.ts +12 -13
- package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
- package/daemon/dist/domain/proof/judgments.js +14 -0
- package/daemon/dist/domain/proof/judgments.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 +45 -22
- package/daemon/dist/domain/proof/source-watch.js.map +1 -1
- package/daemon/dist/domain/provider/claude-usage-reader.d.ts +3 -3
- package/daemon/dist/domain/provider/claude-usage-reader.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-usage-reader.js +16 -5
- package/daemon/dist/domain/provider/claude-usage-reader.js.map +1 -1
- package/daemon/dist/domain/provider/codex-limit-banner.d.ts.map +1 -1
- package/daemon/dist/domain/provider/codex-limit-banner.js +2 -1
- package/daemon/dist/domain/provider/codex-limit-banner.js.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.d.ts +6 -0
- package/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.js +9 -3
- package/daemon/dist/domain/provider/provider-signals.js.map +1 -1
- package/daemon/dist/domain/provider/reactive-tap.d.ts.map +1 -1
- package/daemon/dist/domain/provider/reactive-tap.js +6 -0
- package/daemon/dist/domain/provider/reactive-tap.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +16 -1
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +55 -2
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +75 -20
- 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 +45 -27
- 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 +6 -0
- package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/daemon/dist/domain/receiver-context.d.ts +9 -0
- package/daemon/dist/domain/receiver-context.d.ts.map +1 -0
- package/daemon/dist/domain/receiver-context.js +24 -0
- package/daemon/dist/domain/receiver-context.js.map +1 -0
- package/daemon/dist/domain/reconciler.d.ts +15 -6
- package/daemon/dist/domain/reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/reconciler.js +26 -26
- package/daemon/dist/domain/reconciler.js.map +1 -1
- package/daemon/dist/domain/restore-guidance.d.ts +6 -4
- package/daemon/dist/domain/restore-guidance.d.ts.map +1 -1
- package/daemon/dist/domain/restore-guidance.js +38 -27
- package/daemon/dist/domain/restore-guidance.js.map +1 -1
- package/daemon/dist/domain/rosters.d.ts +11 -0
- package/daemon/dist/domain/rosters.d.ts.map +1 -1
- package/daemon/dist/domain/rosters.js +24 -1
- package/daemon/dist/domain/rosters.js.map +1 -1
- package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/runner-permissions.js +9 -2
- package/daemon/dist/domain/runner-permissions.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.d.ts +9 -1
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +55 -7
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts +4 -0
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +18 -2
- package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +13 -8
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +46 -26
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.js +7 -4
- package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +16 -5
- 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 +7 -4
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.d.ts +5 -2
- package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.js +60 -16
- package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
- package/daemon/dist/domain/slow-op-recorder.d.ts +0 -3
- package/daemon/dist/domain/slow-op-recorder.d.ts.map +1 -1
- package/daemon/dist/domain/slow-op-recorder.js +5 -34
- package/daemon/dist/domain/slow-op-recorder.js.map +1 -1
- package/daemon/dist/domain/spec-library-workflow-scanner.d.ts +2 -0
- package/daemon/dist/domain/spec-library-workflow-scanner.d.ts.map +1 -1
- package/daemon/dist/domain/spec-library-workflow-scanner.js +22 -13
- package/daemon/dist/domain/spec-library-workflow-scanner.js.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts +5 -0
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +11 -6
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/tmux-option-defaults.d.ts +4 -4
- package/daemon/dist/domain/tmux-option-defaults.d.ts.map +1 -1
- package/daemon/dist/domain/tmux-option-defaults.js +25 -12
- package/daemon/dist/domain/tmux-option-defaults.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +3 -0
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/watchdog-delivery-receipts.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-delivery-receipts.js +8 -3
- package/daemon/dist/domain/watchdog-delivery-receipts.js.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.d.ts +8 -0
- package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.js +34 -10
- package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +2 -0
- package/daemon/dist/index.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/hosts.d.ts.map +1 -1
- package/daemon/dist/routes/hosts.js +8 -33
- package/daemon/dist/routes/hosts.js.map +1 -1
- package/daemon/dist/routes/network.d.ts +9 -0
- package/daemon/dist/routes/network.d.ts.map +1 -0
- package/daemon/dist/routes/network.js +58 -0
- package/daemon/dist/routes/network.js.map +1 -0
- package/daemon/dist/routes/packages.js +3 -1
- package/daemon/dist/routes/packages.js.map +1 -1
- package/daemon/dist/routes/proof.d.ts.map +1 -1
- package/daemon/dist/routes/proof.js +6 -4
- package/daemon/dist/routes/proof.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +4 -0
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/slices.d.ts +1 -0
- package/daemon/dist/routes/slices.d.ts.map +1 -1
- package/daemon/dist/routes/slices.js +66 -16
- package/daemon/dist/routes/slices.js.map +1 -1
- package/daemon/dist/routes/spec-library.d.ts.map +1 -1
- package/daemon/dist/routes/spec-library.js +7 -3
- package/daemon/dist/routes/spec-library.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 +5 -0
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +16 -26
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +21 -13
- package/daemon/docs/reference/claude-status-line.md +25 -9
- package/daemon/docs/reference/getting-started.md +25 -13
- package/daemon/docs/reference/herdr-app.md +3 -2
- package/daemon/docs/reference/hosted-members.md +32 -2
- package/daemon/docs/reference/keeping-a-watch.md +28 -0
- package/daemon/docs/reference/network-connector.md +114 -0
- package/daemon/docs/reference/quickstart.md +4 -4
- package/daemon/docs/reference/rig-spec.md +14 -0
- package/daemon/docs/reference/rosters.md +5 -0
- package/daemon/docs/reference/tmux-servers.md +4 -1
- package/daemon/docs/reference/whats-new.md +164 -179
- package/daemon/specs/agents/shared/skills/core/watchdog/SKILL.md +5 -0
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +42 -16
- package/dist/build-info.js +3 -3
- package/dist/commands/daemon.d.ts +8 -2
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +46 -4
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/host.d.ts +4 -10
- package/dist/commands/host.d.ts.map +1 -1
- package/dist/commands/host.js +7 -34
- package/dist/commands/host.js.map +1 -1
- package/dist/commands/network.d.ts +12 -0
- package/dist/commands/network.d.ts.map +1 -0
- package/dist/commands/network.js +95 -0
- package/dist/commands/network.js.map +1 -0
- package/dist/commands/package.d.ts.map +1 -1
- package/dist/commands/package.js +5 -0
- package/dist/commands/package.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +7 -0
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/roster.d.ts +17 -0
- package/dist/commands/roster.d.ts.map +1 -1
- package/dist/commands/roster.js +47 -2
- package/dist/commands/roster.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +4 -3
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/watchdog.d.ts.map +1 -1
- package/dist/commands/watchdog.js +22 -2
- package/dist/commands/watchdog.js.map +1 -1
- package/dist/cross-host-executor.d.ts.map +1 -1
- package/dist/cross-host-executor.js +6 -1
- package/dist/cross-host-executor.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +11 -0
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +61 -9
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/daemon-reachability.js +1 -1
- package/dist/daemon-reachability.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lazy-program.d.ts.map +1 -1
- package/dist/lazy-program.js +1 -0
- package/dist/lazy-program.js.map +1 -1
- package/package.json +1 -1
- package/tui/dist/attention/attention-model.d.ts.map +1 -1
- package/tui/dist/attention/attention-model.js +10 -5
- package/tui/dist/attention/attention-model.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +8 -4
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/navigator.js +1 -1
- package/tui/dist/navigator.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +44 -29
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/state.js +2 -2
- package/tui/dist/state.js.map +1 -1
- package/tui/dist/stylize.d.ts.map +1 -1
- package/tui/dist/stylize.js +4 -0
- package/tui/dist/stylize.js.map +1 -1
- package/tui/dist/topology/host-label.d.ts +2 -0
- package/tui/dist/topology/host-label.d.ts.map +1 -1
- package/tui/dist/topology/host-label.js +7 -1
- package/tui/dist/topology/host-label.js.map +1 -1
- package/tui/dist/types.d.ts +2 -1
- package/tui/dist/types.d.ts.map +1 -1
|
@@ -13,7 +13,9 @@ provider usage stop updating, and Claude resume-token capture at adoption or
|
|
|
13
13
|
handover loses its current session evidence. An earlier sidecar can remain and
|
|
14
14
|
contain an older session ID; without one, context and capture report
|
|
15
15
|
`missing_sidecar`, and provider usage reports `no_statusline_cache_yet` unless an
|
|
16
|
-
earlier cache remains.
|
|
16
|
+
earlier cache remains. A cache that exists but cannot be read reports
|
|
17
|
+
`claude_statusline_cache_unreadable`; a readable cache that carried no rate
|
|
18
|
+
limits reports `claude_statusline_cache_had_no_windows`.
|
|
17
19
|
|
|
18
20
|
## Feed both commands the same input
|
|
19
21
|
|
|
@@ -84,11 +86,23 @@ so its rate-limit hook is attributed to that seat too. This is appropriate when
|
|
|
84
86
|
the helper uses the same login, since the quota belongs to the account. A
|
|
85
87
|
helper on a different login is attributed the same way, so its rate limit can
|
|
86
88
|
hold pending handoffs to every seat in that seat's Claude pool for one retry
|
|
87
|
-
interval, even when the seat's own login still has room.
|
|
88
|
-
not
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
interval, even when the seat's own login still has room. A reset time the
|
|
90
|
+
helper's message states is not used: OpenRig keeps a stated reset only when the
|
|
91
|
+
hook's Claude `session_id` is the seat's own resume token, so a helper never
|
|
92
|
+
holds the pool past that one interval.
|
|
93
|
+
|
|
94
|
+
The event carries no usage percentage or account identity. When the seat's own
|
|
95
|
+
Claude states when the limit resets (for example `resets Nov 10, 4pm
|
|
96
|
+
(America/Sao_Paulo)`, `resets in 2h 30m`, or the older `usage limit
|
|
97
|
+
reached|<epoch>`), the hook relay reads that time on the seat's machine and
|
|
98
|
+
forwards only the resulting timestamp (`resetsAt`), never the message text. It
|
|
99
|
+
reads the reset only after the typed `rate_limit` failure; the text never
|
|
100
|
+
decides that a seat is limited. A reset it can't read completely (an unknown or
|
|
101
|
+
truncated time zone, an unsupported unit, a date that doesn't exist such as Feb
|
|
102
|
+
30) or that is in the past or more than eight days away gives no reset. The
|
|
103
|
+
daemon applies the same eight-day bound to any sender.
|
|
104
|
+
|
|
105
|
+
The event marks the Claude provider pool as limited and preserves a current
|
|
92
106
|
`agentActivity.reason` of `usage_limit` over a cached idle reading. It does not
|
|
93
107
|
count as a request for human input; a newer permission prompt still takes
|
|
94
108
|
precedence in the seat's activity display. Conflicting seat windows retain the
|
|
@@ -99,13 +113,15 @@ Pending work handled by the wake ladder uses the existing local Claude pool
|
|
|
99
113
|
declare different Claude config directories. If reset windows conflict within
|
|
100
114
|
a proposed shared pool, only the seats reporting exhaustion are held; another
|
|
101
115
|
seat's pending handoffs can still retry. An exhausted status line window with
|
|
102
|
-
a known reset supplies the timer
|
|
116
|
+
a known reset supplies the timer, and so does a reset the seat's own typed
|
|
117
|
+
failure stated (`provider-reset`). Otherwise a typed failure uses
|
|
103
118
|
`queue.wake_retry_interval_seconds` (default 300) from the event time, plus the
|
|
104
119
|
existing wake jitter, and records `config-fallback`. That is a retry time, not a
|
|
105
120
|
claim that the provider's quota will reset then. The timer releases the shared
|
|
106
121
|
blocker once and retains the existing durable wake delivery behavior.
|
|
107
122
|
|
|
108
123
|
Authentication, billing and overloaded errors are not classified as usage
|
|
109
|
-
limits. Claude limit banners are not scraped, and older
|
|
110
|
-
that do not emit this hook still depend on status line
|
|
124
|
+
limits. Claude limit banners are not scraped from the terminal, and older
|
|
125
|
+
runtimes or failures that do not emit this hook still depend on status line
|
|
126
|
+
data. Without either
|
|
111
127
|
source, provider usage remains unknown.
|
|
@@ -180,20 +180,22 @@ user.
|
|
|
180
180
|
|
|
181
181
|
**Agents:** if you're setting OpenRig up for someone, load the `rigs` skill and follow it. It carries the install, the
|
|
182
182
|
OpenRig view and the handoff to the operator as one procedure. From 0.6.7, OpenRig installs it as `rigs` in
|
|
183
|
-
`~/.claude/skills` and `~/.agents/skills` when the daemon starts.
|
|
184
|
-
|
|
185
|
-
`rig --version` prints the version and a commit, for example `0.6.11 (379f0a0d)`; the tag is `v0.6.11`.
|
|
186
|
-
The skill is in the repository from v0.6.6; on an older install, use the v0.6.6 tag or upgrade first.
|
|
187
|
-
Choose the command for the agent doing the setup:
|
|
183
|
+
`~/.claude/skills` and `~/.agents/skills` when the daemon starts. For a new install, add it with the command for the
|
|
184
|
+
agent doing the setup. Both use this release's tag:
|
|
188
185
|
|
|
189
186
|
```sh
|
|
190
187
|
# Claude Code
|
|
191
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree
|
|
188
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.13/skills/rigs" --skill rigs --agent claude-code
|
|
192
189
|
|
|
193
190
|
# Codex
|
|
194
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree
|
|
191
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.13/skills/rigs" --skill rigs --agent codex
|
|
195
192
|
```
|
|
196
193
|
|
|
194
|
+
If OpenRig is already installed, use the release tag matching your installed `rig --version` instead: replace the tag
|
|
195
|
+
after `tree/` with it, including its `v` prefix. `rig --version` prints the version and a commit, for example
|
|
196
|
+
`0.6.11 (379f0a0d)`; the tag is `v0.6.11`. The skill is in the repository from v0.6.6; on an older install, use the
|
|
197
|
+
v0.6.6 tag or upgrade first.
|
|
198
|
+
|
|
197
199
|
These are the pinned, per-agent forms used on the [rigs pages](https://openrig.dev/rigs).
|
|
198
200
|
You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
|
|
199
201
|
|
|
@@ -201,11 +203,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
|
|
|
201
203
|
script will do and changes nothing:
|
|
202
204
|
|
|
203
205
|
```sh
|
|
204
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
206
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.13/scripts/install.sh | sh -s -- --dry-run
|
|
205
207
|
```
|
|
206
208
|
|
|
207
209
|
The same command without `--dry-run`,
|
|
208
|
-
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
210
|
+
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.13/scripts/install.sh | sh`, installs the
|
|
209
211
|
latest published `@openrig/cli` with `npm install -g`,
|
|
210
212
|
runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
|
|
211
213
|
Codex and may install a missing one, as described below. A failed step prints
|
|
@@ -342,9 +344,16 @@ startup reconcile leaves when every kernel terminal is gone, for example after a
|
|
|
342
344
|
reboot. It does not detect a reboot as such. It uses the same restore as
|
|
343
345
|
`rig up kernel --existing`, and `rig status` reports it as `Kernel: booting`
|
|
344
346
|
until the seats are ready. A kernel stopped with `rig down kernel`, including
|
|
345
|
-
one whose seats were already detached, stays down on later starts
|
|
346
|
-
with
|
|
347
|
-
`rig up kernel --existing
|
|
347
|
+
one whose seats were already detached, stays down on later starts; start it again
|
|
348
|
+
with `rig up kernel --existing`. A seat you stopped or unclaimed also stays down.
|
|
349
|
+
While the kernel's other seats are running, `rig up kernel --existing` refuses
|
|
350
|
+
(it restores only a kernel with no live session), so start one stopped seat with
|
|
351
|
+
`rig launch kernel <logical id>` (`--plan` first). It restores that seat from the
|
|
352
|
+
kernel's latest restore-usable snapshot and resumes its saved conversation; a seat
|
|
353
|
+
it can't resume is reported as waiting for a decision, not as started.
|
|
354
|
+
`rig seat launch <seat> --fresh --reason "…"` instead starts a new conversation
|
|
355
|
+
with no continuity source: use it only when you want a fresh occupant, since the
|
|
356
|
+
seat's earlier conversation isn't carried.
|
|
348
357
|
When the tmux server is gone, an explicit `rig down` of any rig can start an
|
|
349
358
|
empty server and probe again. It records the stop and clears eligible bindings
|
|
350
359
|
only after confirming the sessions are absent. This can leave an empty tmux
|
|
@@ -866,6 +875,9 @@ What it costs:
|
|
|
866
875
|
## Stop your teams
|
|
867
876
|
|
|
868
877
|
`rig down <rig-name>` ends that rig's agent sessions and work in progress.
|
|
878
|
+
A terminal OpenRig didn't start, such as a seat joined with `rig attach --self`,
|
|
879
|
+
is left running: `rig down` names it with the commands to stop it by hand, and
|
|
880
|
+
exits 2.
|
|
869
881
|
Read `rig ps --nodes --rig <rig-name>` first so you can see who will stop;
|
|
870
882
|
`rig down` also prints the rig's recorded agent sessions and their activity
|
|
871
883
|
before stopping them.
|
|
@@ -895,7 +907,7 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
|
|
|
895
907
|
| --- | --- |
|
|
896
908
|
| Tool missing or login fails | Use the specific setup/auth hint; recheck that executable in the launch shell. Do not send work to an unready seat. |
|
|
897
909
|
| "Startup attention" or "Startup details" names a prompt | Answer the login, trust or bypass prompt in that seat's terminal, then run the `rig seat continue <seat>` it shows. |
|
|
898
|
-
| A restored seat still counts as needing attention after its prompt was answered |
|
|
910
|
+
| A restored seat still counts as needing attention after its prompt was answered | After a full restore of a Claude or Codex seat, the daemon clears this by itself once the seat reads running or idle and passes its check. If it still counts, check its `restoreOutcome` in `rig ps --nodes --json` (the RESTORE column): when it is `attention_required`, run `rig seat clear-attention <seat>`, which says which check failed; answering the prompt again or running `rig seat continue` doesn't change it. For a partial restore, submit any startup text left in the input box without sending it again, and wait for the agent to respond before clearing attention. See [After a restored seat's prompt](agent-startup-guide.md#after-a-restored-seats-prompt). |
|
|
899
911
|
| "Readiness timeout after 30s — harness did not become interactive" | The harness took longer than the readiness window. Raise it for the next launch with `rig config set runtime.readiness_timeout_seconds <1-600>`, then relaunch that seat. |
|
|
900
912
|
| "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. |
|
|
901
913
|
| Daemon is healthy, kernel is still starting | Read `rig status` and `rig ps --nodes --rig kernel`; kernel readiness is separate. |
|
|
@@ -79,8 +79,9 @@ Other layouts and other herdr-app windows don't show Rig views. Each window (app
|
|
|
79
79
|
- Entering a view again (a click in the strip, or herdr-app restarting with it shown) returns the keyboard to the cell
|
|
80
80
|
you were last in there, else the first live cell.
|
|
81
81
|
- **Your tabs** gives the keyboard back to your own pane.
|
|
82
|
-
- OpenRig's own rewrites (another view
|
|
83
|
-
a view or in your tabs
|
|
82
|
+
- Apart from an open, OpenRig's own rewrites (another view closing, a cell ending) leave the keyboard where it is,
|
|
83
|
+
whether you are in a view or in your tabs, with one exception: when the cell you were last in ends while its view is
|
|
84
|
+
shown, the keyboard goes to that view's first live cell, if one is left.
|
|
84
85
|
- Once the view is shown, an interactive cell for a local seat attaches its tile to the seat with plain tmux, as a
|
|
85
86
|
writable tile does ([terminal sessions](terminal-sessions.md#replacing-a-seats-session)). Until then it only shows
|
|
86
87
|
the seat, and anything typed in it is dropped. A cell for a seat on another host is its ssh attachment from the
|
|
@@ -78,14 +78,17 @@ entry. The entry holds secret names, never values:
|
|
|
78
78
|
- It's a pointer, not the row's body: the member reads the row under its grant.
|
|
79
79
|
- A receiver should tolerate a repeated `qitem_id`. A ring accepted just before the daemon stops, before it's recorded,
|
|
80
80
|
is rung again on recovery, the same at-least-once window a terminal wake has.
|
|
81
|
-
- It waits up to 10 seconds and doesn't follow redirects.
|
|
81
|
+
- It waits up to 10 seconds and doesn't follow redirects. A ring with no answer by then may still have reached the
|
|
82
|
+
trigger, so it reads unknown, not failed, and durable recovery doesn't repeat that recorded wake (other recovery paths
|
|
83
|
+
can still ring it again). The member sees the work when it next checks its rows.
|
|
82
84
|
- **What the trigger should do:** start a run that lists the member's rows (`rig_queue_list` with `owned`) and claims its work.
|
|
83
85
|
|
|
84
86
|
## What the record says, and doesn't
|
|
85
87
|
|
|
86
88
|
These facts stay separate on the row:
|
|
87
89
|
- **Wake:** with a trigger, the row's wake result is `wake-accepted:webhook (<url_ref>) answered <status>` when the trigger took the
|
|
88
|
-
ring, or `failed:webhook …`. Accepted means the tool's trigger
|
|
90
|
+
ring, `indeterminate:webhook …` when it didn't answer in time, or `failed:webhook …`. Accepted means the tool's trigger
|
|
91
|
+
answered, not that the member read the row.
|
|
89
92
|
- With no trigger, the result is `unroutable`. The member finds work by reading its own inbox and picks a row up by claiming
|
|
90
93
|
it, so a row gets no finding of its own. Work it leaves unclaimed past the stuck sweep's unclaimed age
|
|
91
94
|
(`queue.stuck_sweep_unclaimed_age_minutes`, 60 by default) is listed in one standing notice per member. The notice goes to
|
|
@@ -109,6 +112,33 @@ OpenRig doesn't observe a hosted member between its calls, so it never reads idl
|
|
|
109
112
|
- `lastWake`: its latest ring and the result, among its 50 most recent rows.
|
|
110
113
|
- `rig roster show` and `find` show the last call; the last ring is in `rig_team`.
|
|
111
114
|
|
|
115
|
+
### Check-in status
|
|
116
|
+
|
|
117
|
+
A connected assistant (a roster member marked `hosted: true`) checks in each time it reads its own pending inbox (through the queue list, as the MCP list tool does
|
|
118
|
+
when it lists the member's own work). Other calls it makes don't count yet. Its status compares its last check-in with
|
|
119
|
+
what its roster entry states: a cadence (`check_in_minutes`), or that it checks in when a person asks it
|
|
120
|
+
(`check_in_on_request: true`):
|
|
121
|
+
|
|
122
|
+
| Status | Meaning |
|
|
123
|
+
|---|---|
|
|
124
|
+
| `checking-in` | its last check-in is no older than twice its stated cadence |
|
|
125
|
+
| `check-in-overdue` | its last check-in is older than that: its schedule may be off or waiting for an approval |
|
|
126
|
+
| `no-check-in-yet` | no check-in recorded for it on this daemon, whatever its entry states |
|
|
127
|
+
| `on-request` | its entry says it checks in when a person asks it |
|
|
128
|
+
| `disconnected` | reserved for a recorded revocation or removal of its connection. Nothing records one yet, so a revoked assistant reads overdue (or unknown, with no cadence) |
|
|
129
|
+
| `unknown` | its entry states neither, its statement can't be used, or its check-ins couldn't be read; the reason says which, and its last check-in is shown. OpenRig assumes no cadence, so this never reads idle or overdue |
|
|
130
|
+
|
|
131
|
+
Each place it's shown gives the evidence with it, for example `overdue: last check-in 2026-11-12T13:05:00Z, expected
|
|
132
|
+
every 60 min; its schedule may be off or waiting for an approval`.
|
|
133
|
+
|
|
134
|
+
A stated cadence is its person's statement: neither reading proves the assistant's own schedule ran, or that it picked
|
|
135
|
+
anything up. It's a status only. Work addressed to a member that isn't checking in still queues and is rung as before, a check-in
|
|
136
|
+
isn't pickup (pickup is its claim), and no check-in doesn't mean it's idle, failed or safe. `GET /api/queue/hosted-members`
|
|
137
|
+
gives this daemon's host id and each member on this host with its status, last check-in and stated cadence (with the
|
|
138
|
+
reason when it's unknown); `rig roster show` and `find` show it as `Check-in:`, for a team with or without terminal seats.
|
|
139
|
+
When the member has unclaimed work, the standing notice described above states the same status in its `check-ins:`
|
|
140
|
+
line; when that notice is filed doesn't change.
|
|
141
|
+
|
|
112
142
|
## Revoke
|
|
113
143
|
|
|
114
144
|
`rig mcp token revoke grok` refuses its next request. The rows it worked, and their answers, stay.
|
|
@@ -296,3 +296,31 @@ Unknown: not said yet.
|
|
|
296
296
|
delivery guarantee.
|
|
297
297
|
- **Transcript bytes as "usage".** `context-usage-threshold` measures an agent's transcript, not an account's
|
|
298
298
|
allowance. For an allowance, see "A usage warning" above.
|
|
299
|
+
|
|
300
|
+
## Recurring reminders for agents
|
|
301
|
+
|
|
302
|
+
An agent-to-agent reminder can repeat until stopped. This is separate from
|
|
303
|
+
[a person's one-shot watch](#setting-a-watch), which uses `rig queue block --wake-after`.
|
|
304
|
+
|
|
305
|
+
Save this as `periodic-reminder.yaml`, replacing the example session names with your own:
|
|
306
|
+
|
|
307
|
+
```yaml
|
|
308
|
+
policy: periodic-reminder
|
|
309
|
+
target:
|
|
310
|
+
session: worker@my-team
|
|
311
|
+
message: "Finish the current action, then check the pending work."
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
Register it with all five required flags:
|
|
315
|
+
|
|
316
|
+
```bash
|
|
317
|
+
rig watchdog register --spec periodic-reminder.yaml --policy periodic-reminder \
|
|
318
|
+
--target-session worker@my-team --interval-seconds 600 \
|
|
319
|
+
--registered-by coordinator@my-team
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
At registration, `--policy` selects the policy; the YAML `policy` field is not the
|
|
323
|
+
selector. YAML `target.session` takes precedence over `--target-session`, so keep them
|
|
324
|
+
aligned. If YAML omits the target, the CLI target is the fallback. Put a non-empty
|
|
325
|
+
`message` in YAML: `--message` is a shortcut only for `context-usage-threshold`.
|
|
326
|
+
The first reminder is due after the interval; this example repeats every 600 seconds.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Network connector: a local seat as a hub participant
|
|
2
|
+
|
|
3
|
+
Source of truth: `packages/daemon/src/domain/network/` (`network-bindings.ts`, `network-connector.ts`, `hub-client.ts`),
|
|
4
|
+
`packages/daemon/src/routes/network.ts`, `packages/cli/src/commands/network.ts`.
|
|
5
|
+
|
|
6
|
+
A hub is another OpenRig queue that its participants reach over MCP, such as a daemon served by `rig mcp serve --http`
|
|
7
|
+
with one grant per participant. The network connector puts one selected local seat on a hub as one of its participants.
|
|
8
|
+
The connector opens no port: your daemon makes every connection outward, and the hub never connects to your machine. Work the hub
|
|
9
|
+
sends that participant runs on your seat, under your accounts, and the result goes back to the hub item.
|
|
10
|
+
|
|
11
|
+
## Connect
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
rig network connect <seat> --hub <url> --as <participant> --token-file <path>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
- `<participant>` is the participant's address in the hub (`member@rig`), and the token file holds its bearer.
|
|
18
|
+
- The binding follows the seat's node, so a relaunched or renamed seat keeps it.
|
|
19
|
+
- The token is stored at `<OpenRig home>/network-secrets/<binding>/credential.json` (a 0700 folder and a 0600 file). It
|
|
20
|
+
is never returned by the API or shown in status. A token in the hub URL is refused.
|
|
21
|
+
- A plain-http hub URL needs `--allow-http` (see Limits).
|
|
22
|
+
- One active binding per local seat, and one per hub participant.
|
|
23
|
+
- On a daemon with an operator bearer configured, `connect` and `disconnect` send `OPENRIG_AUTH_BEARER_TOKEN`, as the
|
|
24
|
+
`rig host` writes do.
|
|
25
|
+
|
|
26
|
+
## What the connector does
|
|
27
|
+
|
|
28
|
+
The daemon runs the connector for every active binding. It normally polls every 30 seconds
|
|
29
|
+
(`OPENRIG_NETWORK_POLL_SECONDS`, at least 5); a failing hub, backoff or a backlog can delay it. Each binding's pass has
|
|
30
|
+
a deadline of 60 seconds, so one slow hub doesn't hold the others. With no active binding it makes no network call.
|
|
31
|
+
|
|
32
|
+
1. It lists the participant's own items on the hub, claims each pending one, and creates a local queue item for the
|
|
33
|
+
seat's current address. The local item comes from OpenRig itself, and it says where the work came from first: its
|
|
34
|
+
summary starts "From <requester> via network hub", and its body opens with the requester, the hub and the hub item,
|
|
35
|
+
before the requester's own words.
|
|
36
|
+
2. It reports each stage on the hub item, kept apart:
|
|
37
|
+
- **Queued:** the hub claim means the connector holds the item. The note says "Not picked up yet."
|
|
38
|
+
- **Picked up:** once the seat claims the local item.
|
|
39
|
+
- **The result:** once the local item closes, following any local handoffs to the item that finished. The hub item
|
|
40
|
+
closes the way its queue closes one: done with the resolution and the closure reason (`no-follow-on`, `canceled`
|
|
41
|
+
or `denied`), or failed when the local item failed. A close with no resolution sends the closer's own note on that
|
|
42
|
+
close, or "Closed without a stated result." No other note on the item is sent.
|
|
43
|
+
|
|
44
|
+
To answer, close the local item with your result:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
rig queue update <local item> --state done --closure-reason no-follow-on --resolution "<your answer>"
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Retries, restarts and unknown outcomes
|
|
51
|
+
|
|
52
|
+
- Each hub item maps to one local item, under an id derived from the seat's node, the hub, the participant and the hub
|
|
53
|
+
item. A lost answer, a retry, a daemon restart, or disconnecting and connecting the same seat to the same hub and
|
|
54
|
+
participant again lands on that same item, so it isn't queued twice. A new binding reports what the earlier one
|
|
55
|
+
took.
|
|
56
|
+
- If the local record of an item is gone, or it was handed on without one successor here, the hub item says its outcome
|
|
57
|
+
is unknown, and it is never run again.
|
|
58
|
+
- If someone else closed the hub item first (its requester canceled it, say), the local result stays here, the connector
|
|
59
|
+
doesn't count it as delivered, and `rig network status` (and its `--json`) shows it under the binding as closed
|
|
60
|
+
elsewhere. The connector checks the hub item just before closing it. It does not write over a close it has already
|
|
61
|
+
seen, and reads the item back after a close attempt. A hub item someone there handed on counts as closed elsewhere
|
|
62
|
+
too.
|
|
63
|
+
- The derived id makes the queue item unique, not the work's outside effects. Anything your agent did outside OpenRig
|
|
64
|
+
before a crash is neither undone nor deduplicated.
|
|
65
|
+
|
|
66
|
+
## Status
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
rig network status [--json]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Each binding shows its seat, participant, hub, state, and its last contact or last error. `--json` adds the
|
|
73
|
+
connector's view: each binding's next pass, backoff and last pass.
|
|
74
|
+
|
|
75
|
+
## When things go wrong
|
|
76
|
+
|
|
77
|
+
- **The seat has no session:** its hub items stay pending and unclaimed, and the last error says why. They're taken
|
|
78
|
+
once the seat has a session again. A stopped seat still has its session, so it still takes items; they wait for it.
|
|
79
|
+
- **The hub can't be reached, or a pass runs past its deadline:** the binding stays active, the error is recorded, and
|
|
80
|
+
retries back off, doubling up to 5 minutes. A failure on this machine is recorded as local, not as the hub's.
|
|
81
|
+
- **The hub refuses the credential** (HTTP 401): the binding is marked revoked and its credential removed. No new work
|
|
82
|
+
comes in; local items and results stay.
|
|
83
|
+
|
|
84
|
+
## Disconnect
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
rig network disconnect <binding-or-seat> [--reason "<why>"]
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
The binding ends here, so no new work comes in through it, and its credential is removed. Local items and results
|
|
91
|
+
stay. The hub still lists the participant until it's removed there too.
|
|
92
|
+
|
|
93
|
+
If the credential can't be removed, the binding still ends, and the error names the
|
|
94
|
+
`rig network disconnect <binding id>` to run again. The daemon also removes credentials whose binding isn't active
|
|
95
|
+
each time it starts.
|
|
96
|
+
|
|
97
|
+
## Limits
|
|
98
|
+
|
|
99
|
+
- The connector polls, so new work normally waits up to one interval before it reaches the seat, and longer when the
|
|
100
|
+
hub fails or a backlog builds.
|
|
101
|
+
- If someone else closes a hub item between the connector's check and its close, the hub may keep either outcome, or
|
|
102
|
+
combine the later state with the earlier resolution. The connector counts its result as delivered only when the
|
|
103
|
+
readback matches its state, closure reason and resolution; otherwise a closed item is reported as closed elsewhere.
|
|
104
|
+
An atomic close-if-open needs the hub to offer a conditional close.
|
|
105
|
+
- After a disconnect or a revocation, work already taken keeps running here, but its pickup and result no longer reach
|
|
106
|
+
the hub item, which stays at its last reported stage.
|
|
107
|
+
- **Plain http needs your choice.** `rig network connect` refuses an `http:` hub URL until you add `--allow-http`, because
|
|
108
|
+
the participant's token and its work then cross the network unencrypted, where they can be read. Use the hub's
|
|
109
|
+
`https:` URL where it has one. The choice is recorded on that binding, so the connector doesn't ask again, and
|
|
110
|
+
`rig network status` (and its `--json`) marks the binding unencrypted. OpenRig doesn't judge the address: a private or
|
|
111
|
+
tailnet address doesn't prove the connection is protected.
|
|
112
|
+
- **Redirects:** the connector follows a hub's redirect only within its own origin, or to its `https:` form on the same
|
|
113
|
+
host. Any other redirect stops the connection with its target named, and the token isn't sent there. Connect the
|
|
114
|
+
binding to the hub's own URL.
|
|
@@ -12,13 +12,13 @@ In your project folder, add OpenRig's `rigs` skill to the agent you use:
|
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
14
|
# Claude Code
|
|
15
|
-
npx skills add https://github.com/mvschwarz/openrig/tree
|
|
15
|
+
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.13/skills/rigs --skill rigs --agent claude-code
|
|
16
16
|
# Codex
|
|
17
|
-
npx skills add https://github.com/mvschwarz/openrig/tree
|
|
17
|
+
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.13/skills/rigs --skill rigs --agent codex
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
that matches `rig --version
|
|
20
|
+
These use this release's tag, for a new install. If OpenRig is already installed, replace the tag after `tree/` with
|
|
21
|
+
the one that matches `rig --version` (`v` and its version number), 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.
|
|
24
24
|
|
|
@@ -1088,6 +1088,20 @@ and returns `edge_not_found` (HTTP 404, exit 1), so a repeated removal reports n
|
|
|
1088
1088
|
Rig names resolve only among unarchived rigs, and an ambiguous name requires an
|
|
1089
1089
|
explicit ID. These commands target the local daemon, as `rig add` does.
|
|
1090
1090
|
|
|
1091
|
+
Managed Claude compaction also uses the delegation parent for two diagnostic notices: repeated
|
|
1092
|
+
unsent preparation attempts and repeated restore-delivery failures. If the seat has no recorded
|
|
1093
|
+
parent session (including when it is outside the recorded topology), these notices go to the
|
|
1094
|
+
configured registered human operator, or the default registered person when no operator is set.
|
|
1095
|
+
If no registered person can be selected, OpenRig creates no notice rather than inventing a
|
|
1096
|
+
destination: `rig compact <seat> --state` reports a restore-delivery notice failure, while a
|
|
1097
|
+
preparation notice is tried again on later polls. A parent is the source of a `delegates_to` edge
|
|
1098
|
+
to the seat; declare one when an agent should receive these notices. With multiple parents, the
|
|
1099
|
+
parent session with the latest creation time is selected; `escalates_to` is not used for these
|
|
1100
|
+
notices. The restore-delivery notice to a person omits local paths and
|
|
1101
|
+
points to `rig compact <seat> --state` on the host; the preparation notice includes its state-file
|
|
1102
|
+
evidence reference and attempt details. Treat these notices and any chat relay accordingly. Existing
|
|
1103
|
+
notices retain their destination when the topology changes.
|
|
1104
|
+
|
|
1091
1105
|
A `delegates_to` edge also decides routing. A seat's stuck-row findings and recovery go to its most
|
|
1092
1106
|
recently started parent. A person's top-level Slack message in the rig's mapped channel goes to the rig's
|
|
1093
1107
|
representative, its one delegation root, unless that channel names an `inbound` seat; with no single root it
|
|
@@ -92,3 +92,8 @@ A member marked `"hosted": true` is a hosted member: a tool outside the terminal
|
|
|
92
92
|
`show` and `find` say it's hosted rather than unmatched. See [Hosted members](hosted-members.md).
|
|
93
93
|
Its entry can declare `wake.webhook`, the secret names for a trigger OpenRig rings when work lands for it
|
|
94
94
|
(see [Ring it when work lands](hosted-members.md#ring-it-when-work-lands)).
|
|
95
|
+
It can also declare `check_in_minutes`, how often it's expected to check its queue (a positive whole number of minutes;
|
|
96
|
+
an hourly schedule is `60`), or `check_in_on_request: true` when it checks in only when a person asks it. That's what
|
|
97
|
+
its person set up, not something OpenRig observes. With neither, its check-in status reads unknown: OpenRig doesn't
|
|
98
|
+
assume a cadence. A value that can't be used doesn't stop the roster loading: that member's check-in
|
|
99
|
+
status reads unknown, with the reason. See [Check-in status](hosted-members.md#check-in-status).
|
|
@@ -109,7 +109,10 @@ To move a team that runs on an older server:
|
|
|
109
109
|
shares your default server, which runs the new version only after every session
|
|
110
110
|
on it, yours included, has ended.
|
|
111
111
|
3. Stop each rig deliberately with `rig down <rig>`. Its seats' sessions end, and a
|
|
112
|
-
turn in progress stops. Queue rows, rigs and seats stay as they are.
|
|
112
|
+
turn in progress stops. Queue rows, rigs and seats stay as they are. A session
|
|
113
|
+
OpenRig didn't start, such as a seat joined with `rig attach --self`, is left
|
|
114
|
+
running and `rig down` exits 2; stop it with the commands it prints, or it stays on
|
|
115
|
+
the old server.
|
|
113
116
|
4. Restart the daemon with `OPENRIG_TMUX_CONTROL=1` in its environment.
|
|
114
117
|
`rig terminal status --json` should show `migrationPending: false`. If it's still
|
|
115
118
|
`true`, `blockingSessions` names the sessions still on the old server.
|