@openrig/cli 0.7.16 → 0.7.17
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 +9 -9
- package/daemon/assets/onboarding/02-self-and-competent-action.md +5 -41
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +22 -6
- package/daemon/assets/skills/rigs/SKILL.md +68 -29
- package/daemon/assets/skills/rigs/references/installing-for-someone.md +47 -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 +87 -33
- package/daemon/context-packs/reference/getting-started.md +8 -8
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/whats-new.md +193 -6
- 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-software-factory/references/worked-example.md +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +2 -0
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
- 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/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +36 -3
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +4 -2
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/openshell-driver.d.ts +1 -0
- package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -1
- package/daemon/dist/adapters/openshell-driver.js +3 -0
- package/daemon/dist/adapters/openshell-driver.js.map +1 -1
- package/daemon/dist/adapters/openshell-podman-observer.d.ts +9 -7
- package/daemon/dist/adapters/openshell-podman-observer.d.ts.map +1 -1
- package/daemon/dist/adapters/openshell-podman-observer.js +20 -3
- package/daemon/dist/adapters/openshell-podman-observer.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts +38 -4
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +244 -30
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +3 -0
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +1 -1
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +4 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts +6 -0
- package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts.map +1 -0
- package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js +10 -0
- package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js.map +1 -0
- package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts +3 -0
- package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts.map +1 -0
- package/daemon/dist/db/migrations/170_rig_delivery_drains.js +21 -0
- package/daemon/dist/db/migrations/170_rig_delivery_drains.js.map +1 -0
- package/daemon/dist/domain/codex-thread-id.d.ts +13 -0
- package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
- package/daemon/dist/domain/codex-thread-id.js +132 -9
- package/daemon/dist/domain/codex-thread-id.js.map +1 -1
- package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
- package/daemon/dist/domain/connection-contract.js +2 -1
- package/daemon/dist/domain/connection-contract.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts +11 -2
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +33 -13
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +5 -0
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +66 -4
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/environment-lifecycle.d.ts +15 -0
- package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -1
- package/daemon/dist/domain/environment-lifecycle.js +22 -4
- package/daemon/dist/domain/environment-lifecycle.js.map +1 -1
- package/daemon/dist/domain/expected-conversation.d.ts.map +1 -1
- package/daemon/dist/domain/expected-conversation.js +26 -11
- package/daemon/dist/domain/expected-conversation.js.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +10 -3
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +3 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.js +14 -4
- package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
- package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
- package/daemon/dist/domain/health-diagnosis.js +4 -0
- package/daemon/dist/domain/health-diagnosis.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 +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/native-model-picker.d.ts +2 -0
- package/daemon/dist/domain/native-model-picker.d.ts.map +1 -1
- package/daemon/dist/domain/native-model-picker.js +8 -2
- package/daemon/dist/domain/native-model-picker.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +78 -11
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-connector.js +5 -3
- package/daemon/dist/domain/network/network-connector.js.map +1 -1
- package/daemon/dist/domain/network/network-installations.d.ts +5 -4
- package/daemon/dist/domain/network/network-installations.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-installations.js +42 -11
- package/daemon/dist/domain/network/network-installations.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +3 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +4 -3
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/occupant-invalidator.d.ts +4 -1
- package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
- package/daemon/dist/domain/occupant-invalidator.js +10 -2
- package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
- package/daemon/dist/domain/operation-correlation.d.ts +1 -1
- package/daemon/dist/domain/operation-correlation.d.ts.map +1 -1
- package/daemon/dist/domain/operation-correlation.js +1 -1
- package/daemon/dist/domain/operation-correlation.js.map +1 -1
- package/daemon/dist/domain/queue-erasure.d.ts +7 -1
- package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
- package/daemon/dist/domain/queue-erasure.js +226 -20
- package/daemon/dist/domain/queue-erasure.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +19 -2
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +59 -15
- 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 +49 -21
- 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 -24
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.d.ts +13 -0
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +122 -9
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +4 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +95 -33
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/restore-preconditions.d.ts +2 -0
- package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
- package/daemon/dist/domain/restore-preconditions.js +2 -0
- package/daemon/dist/domain/restore-preconditions.js.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.js +4 -1
- package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
- package/daemon/dist/domain/rig-delivery-drain.d.ts +46 -0
- package/daemon/dist/domain/rig-delivery-drain.d.ts.map +1 -0
- package/daemon/dist/domain/rig-delivery-drain.js +128 -0
- package/daemon/dist/domain/rig-delivery-drain.js.map +1 -0
- package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.js +4 -1
- package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +20 -3
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +71 -11
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +16 -1
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +6 -1
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts +3 -2
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +16 -4
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/session-name.d.ts +13 -0
- package/daemon/dist/domain/session-name.d.ts.map +1 -1
- package/daemon/dist/domain/session-name.js +77 -0
- package/daemon/dist/domain/session-name.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +7 -1
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +7 -4
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +27 -7
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/shared-history-selection.d.ts +1 -0
- package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
- package/daemon/dist/domain/shared-history-selection.js +3 -1
- package/daemon/dist/domain/shared-history-selection.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 +19 -12
- package/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +3 -2
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +9 -1
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +6 -0
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts +4 -0
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +28 -1
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.d.ts +3 -2
- package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.js +6 -4
- package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
- package/daemon/dist/domain/workflow-projector.d.ts +48 -0
- package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +160 -90
- package/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.d.ts +7 -1
- package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.js +51 -13
- package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.d.ts +4 -2
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +46 -22
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +34 -4
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/restore-check.d.ts.map +1 -1
- package/daemon/dist/routes/restore-check.js +17 -0
- package/daemon/dist/routes/restore-check.js.map +1 -1
- package/daemon/dist/routes/rig-delivery-drain.d.ts +3 -0
- package/daemon/dist/routes/rig-delivery-drain.d.ts.map +1 -0
- package/daemon/dist/routes/rig-delivery-drain.js +46 -0
- package/daemon/dist/routes/rig-delivery-drain.js.map +1 -0
- package/daemon/dist/routes/startup.d.ts.map +1 -1
- package/daemon/dist/routes/startup.js +120 -28
- package/daemon/dist/routes/startup.js.map +1 -1
- package/daemon/dist/routes/up.js +2 -0
- package/daemon/dist/routes/up.js.map +1 -1
- package/daemon/dist/routes/workflow.js +1 -1
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +2 -0
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +6 -0
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +3 -2
- package/daemon/docs/reference/daemon-http-clients.md +68 -0
- package/daemon/docs/reference/getting-started.md +8 -8
- package/daemon/docs/reference/hosted-members.md +4 -2
- package/daemon/docs/reference/network-connector.md +4 -3
- package/daemon/docs/reference/queue-erasure.md +16 -1
- package/daemon/docs/reference/quickstart.md +2 -2
- package/daemon/docs/reference/whats-new.md +193 -6
- package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +1 -1
- package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +2 -0
- package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +78 -18
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +9 -6
- package/dist/build-info.js +3 -3
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +2 -0
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/down.d.ts.map +1 -1
- package/dist/commands/down.js +5 -1
- package/dist/commands/down.js.map +1 -1
- package/dist/commands/environment.js +1 -1
- package/dist/commands/environment.js.map +1 -1
- package/dist/commands/network.d.ts +2 -0
- package/dist/commands/network.d.ts.map +1 -1
- package/dist/commands/network.js +14 -1
- package/dist/commands/network.js.map +1 -1
- package/dist/commands/queue.d.ts +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +43 -10
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/restore.d.ts.map +1 -1
- package/dist/commands/restore.js +6 -1
- package/dist/commands/restore.js.map +1 -1
- package/dist/commands/seat.js +3 -3
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +5 -3
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +7 -0
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +6 -4
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.d.ts +3 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +5 -0
- package/dist/config-store.js.map +1 -1
- package/dist/lib/bundle-check.d.ts.map +1 -1
- package/dist/lib/bundle-check.js +33 -3
- package/dist/lib/bundle-check.js.map +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +48 -9
- package/dist/mcp-server.js.map +1 -1
- package/dist/person-registration-offer.d.ts.map +1 -1
- package/dist/person-registration-offer.js +2 -1
- package/dist/person-registration-offer.js.map +1 -1
- package/package.json +2 -2
- package/tui/dist/config/config-model.js +1 -1
- package/tui/dist/config/config-model.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +3 -1
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +4 -2
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +31 -1
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +106 -15
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/types.d.ts +2 -0
- package/tui/dist/types.d.ts.map +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ It's the open-source system behind my AI civilization experiments.
|
|
|
14
14
|
|
|
15
15
|

|
|
16
16
|
|
|
17
|
-
**Start here:** [the guided first-use path](docs/reference/quickstart.md): install, talk to
|
|
17
|
+
**Start here:** [the guided first-use path](docs/reference/quickstart.md): install, talk to OpenRig's operator, then choose a team for your first useful change.
|
|
18
18
|
|
|
19
19
|
Not setting this up today? Get the next walkthrough and occasional OpenRig updates → https://openrig.dev/follow
|
|
20
20
|
|
|
@@ -26,9 +26,9 @@ use:
|
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
28
|
# Claude Code
|
|
29
|
-
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
29
|
+
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.17/skills/rigs --skill rigs --agent claude-code
|
|
30
30
|
# Codex
|
|
31
|
-
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
31
|
+
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.17/skills/rigs --skill rigs --agent codex
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Then type `/rigs` in Claude Code, or `$rigs` in Codex, and say what you want built. The skill has your agent tell
|
|
@@ -42,7 +42,7 @@ Already have OpenRig? Use the tag that matches `rig --version`, or upgrade first
|
|
|
42
42
|
|
|
43
43
|
Prefer to type the commands yourself? [Install it yourself ↓](#install-it-yourself)
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
Setting up Node.js on Linux, on a Mac where you aren't an administrator, or on Windows (WSL2)? See [Before you start](docs/reference/getting-started.md#before-you-start).
|
|
46
46
|
|
|
47
47
|
> **What OpenRig changes on your machine**
|
|
48
48
|
> - **Install:** `@openrig/cli` goes in globally with npm.
|
|
@@ -68,11 +68,11 @@ Requires Node.js 22 or 24 and tmux, on macOS or Linux, and one working Claude Co
|
|
|
68
68
|
|
|
69
69
|
### Install it yourself
|
|
70
70
|
|
|
71
|
-
This runs OpenRig's install script from the `v0.7.
|
|
71
|
+
This runs OpenRig's install script from the `v0.7.17` release. It checks Node.js and npm, installs the latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check, then runs `rig setup --dry-run` and `rig setup`. The first line prints that plan and changes nothing:
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
75
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
74
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.17/scripts/install.sh | sh -s -- --dry-run
|
|
75
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.17/scripts/install.sh | sh
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
If the last step isn't ready, the installer reports `INSTALLED, SETUP NOT COMPLETE` and points to the details from `rig setup` above. Follow that output and any reported Fix, then rerun `rig setup`; the CLI does not need reinstalling. If the only remaining failures are provider sign-ins, sign in to each selected provider as below and continue.
|
|
@@ -367,7 +367,7 @@ Hono HTTP daemon
|
|
|
367
367
|
SQLite + tmux + runtime adapters
|
|
368
368
|
```
|
|
369
369
|
|
|
370
|
-
- **CLI**: Commands for both humans and agents to launch teams, inspect state, send messages, track
|
|
370
|
+
- **CLI**: Commands for both humans and agents to launch teams, inspect state, send messages, track tasks in the queue, and manage context.
|
|
371
371
|
- **TUI**: Topology explorer, table and graph views, seat details, Specs, Projects, Terminals, Feed, and System. Navigate with the keyboard, mouse, or command bar.
|
|
372
372
|
- **MCP**: Tools so agents can manage their own topology (`rig_up`, `rig_ps`, `rig_send`, `rig_chatroom_send`, etc.)
|
|
373
373
|
- **Runtimes**: Native Claude Code and Codex sessions, terminal nodes, and Pi and Oh My Pi via RPC runners.
|
|
@@ -521,7 +521,7 @@ OpenRig is open source and self-hosted, with Claude Code and Codex in the same t
|
|
|
521
521
|
- **Docs**: [openrig.dev/docs](https://openrig.dev/docs) ([documentation index for agents](https://openrig.dev/llms.txt))
|
|
522
522
|
- **What's new**: [openrig.dev/whats-new](https://openrig.dev/whats-new) (every release, in plain words)
|
|
523
523
|
- **Features**: [openrig.dev/features](https://openrig.dev/features)
|
|
524
|
-
- **Integrations**: [openrig.dev/integrations](https://openrig.dev/integrations) (
|
|
524
|
+
- **Integrations**: [openrig.dev/integrations](https://openrig.dev/integrations) (coding agents, chat agents and the tools around them, with setup and test status)
|
|
525
525
|
- **Blog**: [openrig.dev/blog](https://openrig.dev/blog) · [Why I Built OpenRig](https://esoteric.run/blog/why-i-built-openrig)
|
|
526
526
|
- **Open Specification**: [openrig.dev/specs](https://openrig.dev/specs)
|
|
527
527
|
- **Videos**: [youtube.com/@openrig](https://www.youtube.com/@openrig)
|
|
@@ -44,47 +44,11 @@ than printing a summary and disappearing.
|
|
|
44
44
|
|
|
45
45
|
## When you are installing OpenRig for someone
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
while agents finish starting; report their actual state and use the guide's existing recovery routes when needed.
|
|
53
|
-
Right after OpenRig is installed or started, and whenever the person wants to see their agents or OpenRig again,
|
|
54
|
-
open the OpenRig TUI and operator for them: say so, then run `rig terminal open saved:kernel --window --json` on the
|
|
55
|
-
daemon's desktop. Don't wait for particular words. The command opens a new terminal tab/window using
|
|
56
|
-
installed herdr, otherwise plain tmux; inside Herdr it opens a space there. It preserves existing conversations. The default view
|
|
57
|
-
needs no YAML edit. Below 120 measured columns (or unknown width), show the operator alone first; from 120,
|
|
58
|
-
show dashboard and operator equally side by side. The advisor always has a separate tab or tmux window.
|
|
59
|
-
This applies to Claude-only, Codex-only and mixed kernels.
|
|
60
|
-
Keep the queue worker off the first view and accessible through the TUI. Reuse existing conversations and accounts.
|
|
61
|
-
Inspect the result and visible content using authorized desktop tools, or report that visibility is unconfirmed.
|
|
62
|
-
Herdr is visible only inside a terminal the person can see. Creating a workspace or switching the shared TUI
|
|
63
|
-
to `:terminals` does not open that terminal. A window request or CLI success alone is not visual proof. On a
|
|
64
|
-
desktop, do not finish by showing a table or suggesting a command instead of opening the requested view.
|
|
65
|
-
Only if the window cannot open, `rig tui --shared` is the named dashboard-only fallback, not the operator's
|
|
66
|
-
conversation. Explain the failure and help with the chosen fallback; do not attach in your own terminal.
|
|
67
|
-
Over headless SSH, explain that no visible terminal opened; tell the person to open a new terminal window or
|
|
68
|
-
tab and give one complete connection and attachment command using the current Herdr endpoint, as in the guide.
|
|
69
|
-
No, SSH and headless use are valid background outcomes. If the person chooses a manual operator attachment after
|
|
70
|
-
a failure, find the `operator.agent` row with
|
|
71
|
-
`rig ps --nodes --rig kernel --json --fields logicalId,canonicalSessionName,tmuxAttachCommand`. Give `env -u TMUX` followed by
|
|
72
|
-
that row's `tmuxAttachCommand`, exactly as listed (it names the daemon's tmux server when that isn't the default
|
|
73
|
-
one), for a new terminal on the same host and user (over SSH, connect there first). Ctrl-b, then d detaches without stopping it.
|
|
74
|
-
Ask the person's goal and project folder, then hand them to the ready operator; do not implement the project yourself.
|
|
75
|
-
Find the `operator.agent` row with `rig ps --nodes --rig kernel --json` and use its `canonicalSessionName` with
|
|
76
|
-
`rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>.'`,
|
|
77
|
-
or have the person type the goal and folder in the operator's pane. Show where the operator answers and let it
|
|
78
|
-
help them choose a team before any starter launch.
|
|
79
|
-
If the person gives you a goal later, forward it, the folder and constraints with `rig send`; leave implementation
|
|
80
|
-
with the operator's team instead of taking over the work yourself.
|
|
81
|
-
Installation is complete when the operator is ready and the person is talking to it, not merely when the daemon is
|
|
82
|
-
healthy. If they choose to talk later, leave the exact connection step and say that the handoff is still pending.
|
|
83
|
-
|
|
84
|
-
Read `rig context get reference/getting-started.md#open-the-kernel-conversations` for the commands and manual
|
|
85
|
-
path. Without a working daemon, the same guide is `daemon/docs/reference/getting-started.md` in the installed
|
|
86
|
-
`@openrig/cli` package. Confirm what actually opened; on a headless host or unavailable display, say so and give the
|
|
87
|
-
person the exact connection/attach step. Opening a terminal is not permission to start or reset seats or provision accounts.
|
|
47
|
+
Use the `rigs` skill and read its `references/installing-for-someone.md` before you start the daemon or open anything for the
|
|
48
|
+
person. It holds the whole installation, startup and operator-handoff procedure, and a seat's startup text does not repeat it.
|
|
49
|
+
If the skill or that reference is missing (an older install), read the getting-started guide's "Start the kernel and check its state" and
|
|
50
|
+
"Open the kernel conversations" sections: `rig context get reference/getting-started.md`, or, without a working daemon,
|
|
51
|
+
`daemon/docs/reference/getting-started.md` in the installed `@openrig/cli` package.
|
|
88
52
|
|
|
89
53
|
## When you need more
|
|
90
54
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "openrig",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.17",
|
|
5
5
|
"description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Mike Schwarz",
|
|
@@ -33,9 +33,19 @@ behave; this skill is the loop around them.
|
|
|
33
33
|
|
|
34
34
|
> To ask me anything, create a queue item to `<your seat>` (`rig queue create --destination <your seat> ...`), then
|
|
35
35
|
> block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
|
|
36
|
-
> check it
|
|
37
|
-
>
|
|
38
|
-
>
|
|
36
|
+
> check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
|
|
37
|
+
> permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
|
|
38
|
+
> doing and any escalation's id, unless a question about that prompt is already open at my seat. Whoever sent the
|
|
39
|
+
> question passes on the answer, and no one else does. Capture that seat again first (a changed prompt needs a new
|
|
40
|
+
> answer), then `rig send <seat> "<key>" --dangerously-interact --reason 'task <question id>: <their answer>'` with
|
|
41
|
+
> the key the prompt shows for their choice (for Escape, `$'\e'` in place of `"<key>"`, never the word). Keep the
|
|
42
|
+
> reason in single quotes so the shell runs nothing in their words, and write each `'` in them as `'\''`. A no
|
|
43
|
+
> stays a no. If they gave no answer, or their words don't clearly
|
|
44
|
+
> pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything, and
|
|
45
|
+
> never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
|
|
46
|
+
> unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
|
|
47
|
+
> you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
|
|
48
|
+
> evidence ref.
|
|
39
49
|
- Tell the person the `qitemId` it returns. It's how both of you find this work again.
|
|
40
50
|
- If the call times out, check `rig_queue_show` with that same `qitemId` before trying again. If you retry, pass the same id
|
|
41
51
|
as `qitemId`. Never retry with a new one: that creates the work twice.
|
|
@@ -46,7 +56,10 @@ behave; this skill is the loop around them.
|
|
|
46
56
|
- When a seat hands the work on, the item names the next one. Follow the chain to the newest item before you report.
|
|
47
57
|
- Report what the record says. An accepted or claimed item isn't finished work, and a quiet one isn't stuck: say what you
|
|
48
58
|
saw and when it last changed.
|
|
49
|
-
-
|
|
59
|
+
- Before you say the work is done, find the newest review of it on the chain and tell the person its outcome. Work a
|
|
60
|
+
review sent back with something to fix isn't done, even if a commit exists: say what the review asked for.
|
|
61
|
+
- Nothing wakes this chat when the team asks or finishes. While its work is open, check each time the person talks to
|
|
62
|
+
you, and when they come back.
|
|
50
63
|
|
|
51
64
|
## The team's questions
|
|
52
65
|
|
|
@@ -56,8 +69,11 @@ behave; this skill is the loop around them.
|
|
|
56
69
|
`rig_queue_update`: `state` `done`, `closureReason` `no-follow-on`, and exactly what the person typed in `resolution`,
|
|
57
70
|
nothing else: no label such as "The person's answer:", no quotation marks, and no notes, paths or summaries of your own.
|
|
58
71
|
If the person isn't there to answer, leave the item open and tell them it's waiting. Never choose an answer for them.
|
|
59
|
-
-
|
|
60
|
-
|
|
72
|
+
- A question can be a seat's permission prompt that the operator or a team seat sent you: show it with the seat, the
|
|
73
|
+
exact action and the choices it offers, and record the person's words the same way. The agent that sent it passes
|
|
74
|
+
their answer to the seat.
|
|
75
|
+
- Some questions go to a registered person directly, outside your seat. Those wait for them where they already answer
|
|
76
|
+
the team, such as the OpenRig TUI or Slack. You can mention that they're waiting; answering them isn't yours.
|
|
61
77
|
|
|
62
78
|
## Read the result
|
|
63
79
|
|
|
@@ -72,6 +72,10 @@ person needs in their project or home folder and name that path.
|
|
|
72
72
|
|
|
73
73
|
## 2. Open OpenRig and give its operator the goal
|
|
74
74
|
|
|
75
|
+
A seat's startup text points an installing agent here. [references/installing-for-someone.md](references/installing-for-someone.md)
|
|
76
|
+
adds what this step does not spell out (starting the daemon and kernel, what counts as ready and as finished) and relays the same
|
|
77
|
+
commands; if the two ever differ, this step is right.
|
|
78
|
+
|
|
75
79
|
- **Start OpenRig:** `rig daemon status`, and `rig daemon start` if it isn't running. `rig preflight` and `rig doctor`
|
|
76
80
|
don't start it. Starting it also starts OpenRig's own team, the kernel, whose operator sets up the person's team.
|
|
77
81
|
Keep it. If its output says no person is registered, make the offer it names before you go on, and register only on
|
|
@@ -103,7 +107,8 @@ person needs in their project or home folder and name that path.
|
|
|
103
107
|
dashboard-only fallback; explain the failure and help with the chosen fallback. Herdr is visible only in a terminal
|
|
104
108
|
the person can see; switching the shared TUI to `:terminals` does not open one. No and headless/SSH use are valid
|
|
105
109
|
background outcomes. Provider-only `--provider herdr`, `--provider cmux` or `--provider rex` is for a provider that's
|
|
106
|
-
already running, not the first desktop window
|
|
110
|
+
already running, not the first desktop window. Each `cmux` or `rex` open adds a new workspace; `herdr` focuses one
|
|
111
|
+
that still shows the view live, else adds one. `--provider herdr-app` opens
|
|
107
112
|
the view in the herdr-app window you run it in (it adds OpenRig's mods there first). Inside a herdr-app
|
|
108
113
|
terminal, plain `rig terminal open <view>` does the same when that window is answering. `--window` always asks for a
|
|
109
114
|
new desktop window.
|
|
@@ -156,11 +161,13 @@ person needs in their project or home folder and name that path.
|
|
|
156
161
|
name someone else), and don't offer again.
|
|
157
162
|
- Several people with no default: ask which should get requests nobody is named for (`rig gateway default <id>`),
|
|
158
163
|
or leave it. Never pick one yourself.
|
|
159
|
-
- Nobody is registered: offer it in a sentence or two. OpenRig
|
|
160
|
-
|
|
164
|
+
- Nobody is registered: offer it in a sentence or two. Registering gives OpenRig its own way to reach them with
|
|
165
|
+
questions no agent is bringing them, such as a team seat's permission prompt or another machine asking to pair. If
|
|
166
|
+
they stay with you, you bring them the team's questions and its result here either way ("If the person stays with
|
|
167
|
+
you" below). Ask the name to use (their login name is only a suggestion). On yes, run
|
|
161
168
|
`rig gateway human add <id> --display-name "<name>" --delivery-class B --default`: they're reached in the TUI's Feed
|
|
162
|
-
and Steering, and Slack can be added later. On no or not now, register nothing and say that questions
|
|
163
|
-
can't reach
|
|
169
|
+
and Steering, and Slack can be added later. On no or not now, register nothing and say that questions no agent
|
|
170
|
+
brings them, such as pairing, can't reach them until someone is registered, with that command for later.
|
|
164
171
|
- Never pass `--default` over an existing default, or `--replace`, unless they ask. Their own words decide: a
|
|
165
172
|
different name, Slack now, or not now.
|
|
166
173
|
- An agent reads their answers: the kernel operator, or the agent chosen in `agents.operator_session`. If the kernel
|
|
@@ -168,15 +175,19 @@ person needs in their project or home folder and name that path.
|
|
|
168
175
|
<seat>@<rig>`), on their yes only.
|
|
169
176
|
- A machine they'll pair with needs its own person: registering here doesn't give that machine one.
|
|
170
177
|
- **Give the operator the goal:** ask what they want worked on, in which repository and on which branch, unless they've
|
|
171
|
-
said.
|
|
172
|
-
(
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
+
said. Hand it over by where the person will answer the team, from what they've already told you:
|
|
179
|
+
- **They stay here** (they said so, or they can't use the operator's pane): hand the goal over as a task from your
|
|
180
|
+
own address ("If the person stays with you" below), giving the operator your return address for the team's questions and
|
|
181
|
+
result. A seat's prompt may still not reach this conversation. Don't tell the operator they'll answer in its pane.
|
|
182
|
+
- **They'll talk to the operator in its pane:** find the `operator.agent` row in `rig ps --nodes --rig kernel --json`,
|
|
183
|
+
take its `canonicalSessionName` (never the logical ID or a guessed name) and send:
|
|
184
|
+
`rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>. Branch: <branch>.'`
|
|
185
|
+
- Ask where they want to answer only when it's genuinely unclear, and only once.
|
|
186
|
+
|
|
187
|
+
Carry their constraints, which logins they have (an installed provider that isn't signed in doesn't count), and any
|
|
188
|
+
permission choice they made, chosen or declined, in either handoff.
|
|
178
189
|
Or the person types the goal and folder in the operator's pane. If they give you a goal later, forward it the same
|
|
179
|
-
way. The operator helps them pick a team that fits their logins, starts it (`rig up`) only on their yes to the plan it
|
|
190
|
+
way, by the route they chose. The operator helps them pick a team that fits their logins, starts it (`rig up`) only on their yes to the plan it
|
|
180
191
|
shows, and gives the goal to the team's lead. Before that yes, it says what launching into their folder changes for their own agent there; relay
|
|
181
192
|
that with the question. Show them where the operator answers, and don't build the project yourself.
|
|
182
193
|
- **If you start a team yourself** instead of through the operator, do its fit check first. A built-in team can need a
|
|
@@ -186,8 +197,9 @@ person needs in their project or home folder and name that path.
|
|
|
186
197
|
or you can't tell, say so before launching and let them choose: the operator adapts the team to the logins they have,
|
|
187
198
|
or they sign in first.
|
|
188
199
|
- **If the person stays with you** (unless they declined the Codex offer below and explicitly chose the operator
|
|
189
|
-
route), you're their front door to the team: you hand it the goal, bring its questions to them
|
|
190
|
-
it produced, through the task queue rather
|
|
200
|
+
route), you're their front door to the team: you hand it the goal, bring its questions to them, its seats' permission
|
|
201
|
+
prompts included, and bring back what it produced and what its latest review found, through the task queue rather
|
|
202
|
+
than the operator's screen.
|
|
191
203
|
- **Your return address:** if this session joined the team (above), it's the `OPENRIG_SESSION_NAME` that
|
|
192
204
|
`rig attach` printed. Otherwise agree one with the person on the kernel's rig, such as `claude-app@kernel` or
|
|
193
205
|
`codex-app@kernel`. It's an address the queue takes tasks for; nothing is launched for it and no file is written.
|
|
@@ -204,9 +216,19 @@ person needs in their project or home folder and name that path.
|
|
|
204
216
|
|
|
205
217
|
> To ask me anything, create a queue item to `<address>` (`rig queue create --destination <address> ...`), then
|
|
206
218
|
> block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
|
|
207
|
-
> check it
|
|
208
|
-
>
|
|
209
|
-
>
|
|
219
|
+
> check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
|
|
220
|
+
> permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
|
|
221
|
+
> doing and any escalation's id, unless a question about that prompt is already open at my address. Whoever sent
|
|
222
|
+
> the question passes on the answer, and no one else does. Capture that seat again first (a changed prompt needs a
|
|
223
|
+
> new answer), then `rig send <seat> "<key>" --dangerously-interact --reason 'task <question id>: <their answer>'`
|
|
224
|
+
> with the key the prompt shows for their choice (for Escape, `$'\e'` in place of `"<key>"`, never the word). Keep
|
|
225
|
+
> the reason in single quotes so the shell runs nothing in their words, and write each `'` in them as `'\''`. A no
|
|
226
|
+
> stays a no. If they gave no answer, or their words don't
|
|
227
|
+
> clearly pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything,
|
|
228
|
+
> and never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
|
|
229
|
+
> unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
|
|
230
|
+
> you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
|
|
231
|
+
> evidence ref.
|
|
210
232
|
|
|
211
233
|
Then run
|
|
212
234
|
`OPENRIG_SESSION_NAME=<address> rig queue create --destination <canonicalSessionName> --summary "<the goal in a sentence>" --body-file <file> --verify`.
|
|
@@ -220,6 +242,9 @@ person needs in their project or home folder and name that path.
|
|
|
220
242
|
Add no label, quotation marks or notes of your own, and don't turn their words into a yes or a no: the agent that
|
|
221
243
|
asked decides what they mean. You speak as yourself, never as the person. If they aren't there to answer, leave
|
|
222
244
|
it open and tell them it's waiting; never answer for them.
|
|
245
|
+
A question can be a seat's permission prompt that the operator or a team seat sent you: show it with the seat,
|
|
246
|
+
the exact action and the choices it offers, and record their words the same way. The agent that sent it passes
|
|
247
|
+
their answer to the seat, so don't send that prompt's answer yourself as well.
|
|
223
248
|
- **A question only on the operator's screen:** if the operator asks in its pane and nothing reached your address,
|
|
224
249
|
read it with `rig capture <canonicalSessionName>`, show the person, and send their words as a new task to the
|
|
225
250
|
operator that names your task's ID, not as keys typed into its pane.
|
|
@@ -232,7 +257,8 @@ person needs in their project or home folder and name that path.
|
|
|
232
257
|
`rig send <destination> "task <id> is yours"`); `failed` (the wake didn't land, and the task is still
|
|
233
258
|
owed: wake it the same way); `indeterminate` or `still-pending` (unknown, neither failed nor delivered: check
|
|
234
259
|
before you wake it again). A pending task with no wake isn't lost or done.
|
|
235
|
-
- **Nothing wakes this chat** when the team asks or finishes:
|
|
260
|
+
- **Nothing wakes this chat** when the team asks or finishes: while its work is open, check your address each time
|
|
261
|
+
the person talks to you, and when they come back.
|
|
236
262
|
- **If the operator answers with a model error,** such as "… not supported when using Codex with a ChatGPT account", its
|
|
237
263
|
Codex sign-in works but that account can't run the model. OpenRig put the operator on Codex because the sign-in
|
|
238
264
|
passed. Tell the person which model failed. If Claude Code is signed in, offer to move the operator to it; on their
|
|
@@ -242,28 +268,38 @@ person needs in their project or home folder and name that path.
|
|
|
242
268
|
seat a model their account can run with `rig seat set-model`, then start it again with
|
|
243
269
|
`rig seat launch <seat> --fresh --stop --reason "…"` and check the model it reports. Either way the operator starts a
|
|
244
270
|
new conversation without your handoff, so send it again: the goal, folder, branch, constraints and permission choices.
|
|
245
|
-
- **Installation is finished** when the operator is ready and the person is talking to it
|
|
271
|
+
- **Installation is finished** when the operator is ready and the person is talking to it or, when they stay with you,
|
|
272
|
+
once the goal has reached it as a task from your address (read its wake outcome); a healthy daemon alone isn't
|
|
246
273
|
that. If they'd rather talk later, keep that choice, leave them the exact connection step and say the handoff to the
|
|
247
274
|
operator is still pending.
|
|
248
275
|
- **See what's running:** `rig ps`, then `rig ps --nodes --rig <rig>` for a team's agents. If a team is already
|
|
249
276
|
running in that repository, tell the operator.
|
|
250
277
|
- **Check it's ready before you say so:** `rig ps --nodes --rig <rig>`. If an agent is stopped at a prompt or a menu,
|
|
251
278
|
read it with `rig capture <seat>@<rig>`.
|
|
252
|
-
- **
|
|
253
|
-
the operator started it, and whether or not they joined. This is
|
|
279
|
+
- **Bring seat permission prompts to the person here, as questions, for as long as the team works,** whether you or
|
|
280
|
+
the operator started it, and whether or not they joined. This is your default responsibility, not a fallback. A permission prompt
|
|
254
281
|
is the person's to answer: they decide, which doesn't mean they type it into the seat's pane, so don't decline to
|
|
255
282
|
relay it. After each step you hand off, and before you report progress, check `rig ps --nodes --rig <rig>` for a
|
|
256
283
|
seat stopped at a prompt, and repeat that check while you wait for a seat's result, so a prompt that appears after
|
|
257
284
|
your last check still reaches them. Show the person each one, with any others waiting, one line each (seat,
|
|
258
|
-
exact action, the choices offered), and the whole prompt when they ask.
|
|
259
|
-
|
|
285
|
+
exact action, the choices offered), and the whole prompt when they ask. If a question about that prompt is already
|
|
286
|
+
open at your address (the operator or a team seat sent it), use that one: record their words on it, and its sender
|
|
287
|
+
passes them on, not you. Once you've recorded them, that prompt stays its sender's to answer even while the seat
|
|
288
|
+
still shows it: don't ask about it again or send anything for it unless the prompt changes or the sender asks you
|
|
289
|
+
again. For a commit, also say whether the team's review has run; they may be expecting one. Before sending their choice, capture that
|
|
260
290
|
seat again: if its prompt changed, don't reuse the answer. Then send exactly the choice they made for that prompt:
|
|
261
|
-
`rig send <seat>@<rig> "<key>" --dangerously-interact --reason
|
|
262
|
-
the
|
|
263
|
-
|
|
291
|
+
`rig send <seat>@<rig> "<key>" --dangerously-interact --reason 'task <id>: <their choice, in their words>'`, with
|
|
292
|
+
the goal's task ID (leave out `task <id>:` when there's no task), where `<key>` is the digit or letter that capture
|
|
293
|
+
shows for their choice, never their words: the text is typed as keys, and a letter can pick a menu's shortcut. Keep
|
|
294
|
+
the reason in single quotes, so the shell runs nothing in their words and the record keeps them as they wrote them;
|
|
295
|
+
write each `'` in them as `'\''`. If
|
|
296
|
+
the screen shows no key for their choice, ask them. If they give no answer, or their words don't clearly pick one
|
|
297
|
+
choice (a condition the action doesn't plainly meet, say), ask them again before sending anything; a no stays a
|
|
298
|
+
no. When their choice is Escape,
|
|
264
299
|
send the key itself, written with bash or zsh quoting:
|
|
265
|
-
`rig send <seat>@<rig> $'\e' --dangerously-interact --reason
|
|
266
|
-
no Enter added.
|
|
300
|
+
`rig send <seat>@<rig> $'\e' --dangerously-interact --reason 'task <id>: <their choice, in their words>'`. It's sent
|
|
301
|
+
once, with no Enter added. Then capture the seat and check the effect before sending anything more; never send or
|
|
302
|
+
resend an answer while its effect is unknown. Never answer a prompt on your own and record it as theirs,
|
|
267
303
|
even one that only reads: ask them, and send their answer. A yes to one prompt isn't a
|
|
268
304
|
yes to the next, and never pick a "don't ask again" choice they didn't pick. If they've told you outright to decide a
|
|
269
305
|
kind of future prompt (say, "approve prompts that only write inside my project"), you may decide each one: read its
|
|
@@ -332,6 +368,9 @@ Follow these steps by default. Only when the person declined the Codex offer abo
|
|
|
332
368
|
and report what the record says; `rig capture <seat>@<rig>` only shows what an agent is doing right now. Then read
|
|
333
369
|
what it produced and tell the person what the team actually did (the branch, commit, review or PR text), not just
|
|
334
370
|
that you sent it.
|
|
371
|
+
- **Read the latest review before you say it's done:** find the newest review of that work on the chain and tell the
|
|
372
|
+
person its outcome. Work a review sent back with something to fix isn't done, even if a commit exists: say what
|
|
373
|
+
the review asked for, and follow the work until a later review clears it or the person decides.
|
|
335
374
|
- **Give the team more work:** write the goal to a file: what to change, in which repository and branch, what done
|
|
336
375
|
looks like, and that the result comes back to you (the branch or commit, the review, any PR text), ending with the
|
|
337
376
|
reply paragraph above. Then
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Installing OpenRig for someone
|
|
2
|
+
|
|
3
|
+
The agent that installed OpenRig for a person follows step 2 of the `rigs` skill. This note adds what that step does not spell out
|
|
4
|
+
(starting the daemon and kernel, what counts as ready and as finished) and relays the same commands; if the two ever differ, step 2 is
|
|
5
|
+
right. A seat's startup text carries only a pointer to it.
|
|
6
|
+
|
|
7
|
+
After setup and a working selected login, use `rig daemon start` if stopped. On a fresh instance it also starts the
|
|
8
|
+
kernel, including the operator and advisor. They are part of installation; choosing a project team comes later.
|
|
9
|
+
Keep the kernel for a normal install. `rig daemon start --no-kernel` is for automation or an explicit request to
|
|
10
|
+
omit its startup, including the operator that helps the person start a team.
|
|
11
|
+
Read `rig status` and `rig ps --nodes --rig kernel`: started is not ready. The view may open
|
|
12
|
+
while agents finish starting; report their actual state and use the guide's existing recovery routes when needed.
|
|
13
|
+
Right after OpenRig is installed or started, and whenever the person wants to see their agents or OpenRig again,
|
|
14
|
+
open the OpenRig TUI and operator for them: say so, then run `rig terminal open saved:kernel --window --json` on the
|
|
15
|
+
daemon's desktop. Don't wait for particular words. The command opens a new terminal tab/window using
|
|
16
|
+
installed herdr, otherwise plain tmux; inside Herdr it opens a space there. It preserves existing conversations. The default view
|
|
17
|
+
needs no YAML edit. Below 120 measured columns (or unknown width), show the operator alone first; from 120,
|
|
18
|
+
show dashboard and operator equally side by side. The advisor always has a separate tab or tmux window.
|
|
19
|
+
This applies to Claude-only, Codex-only and mixed kernels.
|
|
20
|
+
Keep the queue worker off the first view and accessible through the TUI. Reuse existing conversations and accounts.
|
|
21
|
+
Inspect the result and visible content using authorized desktop tools, or report that visibility is unconfirmed.
|
|
22
|
+
Herdr is visible only inside a terminal the person can see. Creating a workspace or switching the shared TUI
|
|
23
|
+
to `:terminals` does not open that terminal. A window request or CLI success alone is not visual proof. On a
|
|
24
|
+
desktop, do not finish by showing a table or suggesting a command instead of opening the requested view.
|
|
25
|
+
Only if the window cannot open, `rig tui --shared` is the named dashboard-only fallback, not the operator's
|
|
26
|
+
conversation. Explain the failure and help with the chosen fallback; do not attach in your own terminal.
|
|
27
|
+
Over headless SSH, explain that no visible terminal opened; ask the person to open a new terminal window or tab on the
|
|
28
|
+
daemon's host (over SSH, a new SSH session to it) and relay the command OpenRig printed, exactly, rather than composing one.
|
|
29
|
+
No, SSH and headless use are valid background outcomes. If OpenRig printed no command, find the `operator.agent` row with
|
|
30
|
+
`rig ps --nodes --rig kernel --json --fields logicalId,canonicalSessionName,tmuxAttachCommand`. Give `env -u TMUX` followed by
|
|
31
|
+
that row's `tmuxAttachCommand`, exactly as listed (it names the daemon's tmux server when that isn't the default
|
|
32
|
+
one), for a new terminal on the same host and user (over SSH, connect there first). Ctrl-b, then d detaches without stopping it.
|
|
33
|
+
Ask the person's goal, project folder and branch unless they've said, then hand them to the ready operator; do not implement the project yourself.
|
|
34
|
+
Find the `operator.agent` row with `rig ps --nodes --rig kernel --json` and use its `canonicalSessionName` with
|
|
35
|
+
`rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>. Branch: <branch>.'`,
|
|
36
|
+
or have the person type the goal and folder in the operator's pane. (If the person stays with you, the skill's step 2 hands the goal over
|
|
37
|
+
as a queue task from your own address instead.) Show where the operator answers and let it
|
|
38
|
+
help them choose a team before any starter launch.
|
|
39
|
+
If the person gives you a goal later, forward it, the folder and constraints the same way, by the route they chose;
|
|
40
|
+
leave implementation with the operator's team instead of taking over the work yourself.
|
|
41
|
+
Installation is complete when the operator is ready and the person is talking to it or, when they stay with you, once
|
|
42
|
+
the goal has reached it as a task from your address, not merely when the daemon is healthy. If they choose to talk later, leave the exact connection step and say that the handoff is still pending.
|
|
43
|
+
|
|
44
|
+
Read `rig context get reference/getting-started.md#open-the-kernel-conversations` for the commands and manual
|
|
45
|
+
path. Without a working daemon, the same guide is `daemon/docs/reference/getting-started.md` in the installed
|
|
46
|
+
`@openrig/cli` package. Confirm what actually opened; on a headless host or unavailable display, say so and give the
|
|
47
|
+
person the exact connection/attach step. Opening a terminal is not permission to start or reset seats or provision accounts.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent help: the single troubleshooting and escalation guide (docs/reference/help.md).
|
|
2
2
|
name: help
|
|
3
|
-
version: "0.7.
|
|
3
|
+
version: "0.7.17"
|
|
4
4
|
taxonomy: world
|
|
5
5
|
purpose: "What an agent does when its user says OpenRig isn't working: diagnose, fix within permissions, verify, and escalate to OpenRig support."
|
|
6
6
|
files:
|