@openrig/cli 0.7.25 → 0.7.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/daemon/assets/claude-hook-bridge.d.cts +9 -2
- package/daemon/assets/claude-permission-policies.cjs +18 -1
- package/daemon/assets/claude-permission-policies.d.cts +1 -0
- package/daemon/assets/claude-team-permissions.cjs +22 -1
- package/daemon/assets/guidance/openrig-context-entry.md +4 -5
- package/daemon/assets/guidance/openrig-start.md +3 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/README.md +5 -3
- package/daemon/assets/plugins/openrig/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +15 -5
- package/daemon/assets/plugins/openrig-codex/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-codex/skills/working-with-an-openrig-team/SKILL.md +15 -5
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +23 -6
- package/daemon/assets/plugins/openrig-core/skills/session-compaction-and-restore/SKILL.md +5 -2
- package/daemon/assets/skills/rigs/SKILL.md +90 -33
- package/daemon/assets/skills/rigs/references/installing-for-someone.md +1 -1
- package/daemon/context-packs/help/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +82 -20
- package/daemon/context-packs/reference/getting-started.md +63 -11
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +40 -14
- package/daemon/context-packs/reference/whats-new.md +102 -12
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/SKILL.md +9 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +15 -5
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/SKILL.md +23 -6
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
- package/daemon/context-packs/skills/session-compaction-and-restore/SKILL.md +5 -2
- package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
- package/daemon/context-packs/world-example/manifest.yaml +1 -1
- package/daemon/context-packs/world-public/manifest.yaml +1 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +10 -4
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +2 -0
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +24 -6
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +3 -1
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +9 -0
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/pi-session-cwd.d.ts +26 -0
- package/daemon/dist/adapters/pi-session-cwd.d.ts.map +1 -0
- package/daemon/dist/adapters/pi-session-cwd.js +89 -0
- package/daemon/dist/adapters/pi-session-cwd.js.map +1 -0
- package/daemon/dist/adapters/shell-quote.d.ts +2 -0
- package/daemon/dist/adapters/shell-quote.d.ts.map +1 -1
- package/daemon/dist/adapters/shell-quote.js +43 -0
- package/daemon/dist/adapters/shell-quote.js.map +1 -1
- package/daemon/dist/adapters/tmux-credential-env.d.ts +15 -2
- package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-credential-env.js +82 -2
- package/daemon/dist/adapters/tmux-credential-env.js.map +1 -1
- package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-exec.js +2 -6
- package/daemon/dist/adapters/tmux-exec.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +5 -3
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/bind-plan-surface.d.ts +3 -0
- package/daemon/dist/bind-plan-surface.d.ts.map +1 -0
- package/daemon/dist/bind-plan-surface.js +5 -0
- package/daemon/dist/bind-plan-surface.js.map +1 -0
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/migrations/202_network_requester_questions.d.ts +4 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.js +10 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.js.map +1 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts +3 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js +22 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js.map +1 -0
- package/daemon/dist/domain/agent-activity-store.d.ts +4 -0
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +16 -0
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/agent-images/agent-image-destination.d.ts +15 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.d.ts.map +1 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.js +79 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.js.map +1 -0
- package/daemon/dist/domain/agent-images/agent-image-library-service.d.ts.map +1 -1
- package/daemon/dist/domain/agent-images/agent-image-library-service.js +9 -1
- package/daemon/dist/domain/agent-images/agent-image-library-service.js.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts +4 -3
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +55 -11
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/bundle-content-routing.d.ts +7 -0
- package/daemon/dist/domain/bundle-content-routing.d.ts.map +1 -1
- package/daemon/dist/domain/bundle-content-routing.js +20 -15
- package/daemon/dist/domain/bundle-content-routing.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +3 -3
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.d.ts +19 -2
- package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.js +143 -3
- package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.d.ts +22 -5
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +41 -5
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts +3 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.js +8 -7
- package/daemon/dist/domain/claude-permission-rules.js.map +1 -1
- package/daemon/dist/domain/claude-seat-token.d.ts +23 -1
- package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -1
- package/daemon/dist/domain/claude-seat-token.js +49 -7
- package/daemon/dist/domain/claude-seat-token.js.map +1 -1
- package/daemon/dist/domain/codex-auth.d.ts +34 -0
- package/daemon/dist/domain/codex-auth.d.ts.map +1 -1
- package/daemon/dist/domain/codex-auth.js +212 -0
- package/daemon/dist/domain/codex-auth.js.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.d.ts +9 -0
- package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.js +14 -2
- package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.js +4 -2
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
- package/daemon/dist/domain/crash-cart-detect.d.ts +7 -0
- package/daemon/dist/domain/crash-cart-detect.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-detect.js +10 -5
- package/daemon/dist/domain/crash-cart-detect.js.map +1 -1
- package/daemon/dist/domain/crash-cart-discovery.d.ts +9 -16
- package/daemon/dist/domain/crash-cart-discovery.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-discovery.js +22 -40
- package/daemon/dist/domain/crash-cart-discovery.js.map +1 -1
- package/daemon/dist/domain/crash-cart-emit.d.ts +1 -1
- package/daemon/dist/domain/crash-cart-emit.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-emit.js +4 -0
- package/daemon/dist/domain/crash-cart-emit.js.map +1 -1
- package/daemon/dist/domain/cwd-resolution.d.ts +12 -1
- package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
- package/daemon/dist/domain/cwd-resolution.js +39 -2
- package/daemon/dist/domain/cwd-resolution.js.map +1 -1
- package/daemon/dist/domain/draft-held-reoffer.d.ts +17 -1
- package/daemon/dist/domain/draft-held-reoffer.d.ts.map +1 -1
- package/daemon/dist/domain/draft-held-reoffer.js +76 -0
- package/daemon/dist/domain/draft-held-reoffer.js.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +9 -3
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.d.ts +6 -2
- package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.js +29 -3
- package/daemon/dist/domain/managed-restore-read-access.js.map +1 -1
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts +8 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts.map +1 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.js +17 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.js.map +1 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts +12 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts.map +1 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.js +19 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.js.map +1 -0
- package/daemon/dist/domain/network/hub-client.d.ts +14 -4
- package/daemon/dist/domain/network/hub-client.d.ts.map +1 -1
- package/daemon/dist/domain/network/hub-client.js +26 -9
- package/daemon/dist/domain/network/hub-client.js.map +1 -1
- package/daemon/dist/domain/network/network-connector.d.ts +2 -0
- package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-connector.js +162 -16
- package/daemon/dist/domain/network/network-connector.js.map +1 -1
- package/daemon/dist/domain/network/network-requests.d.ts +4 -1
- package/daemon/dist/domain/network/network-requests.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-requests.js +141 -14
- package/daemon/dist/domain/network/network-requests.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +13 -0
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/outbox-handler.d.ts +9 -0
- package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
- package/daemon/dist/domain/outbox-handler.js +23 -5
- package/daemon/dist/domain/outbox-handler.js.map +1 -1
- package/daemon/dist/domain/permission-account.d.ts.map +1 -1
- package/daemon/dist/domain/permission-account.js +4 -0
- package/daemon/dist/domain/permission-account.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +6 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts +2 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.js.map +1 -1
- package/daemon/dist/domain/profile-resolver.d.ts +2 -0
- package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +10 -4
- package/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/daemon/dist/domain/provider/assignment-apply.d.ts.map +1 -1
- package/daemon/dist/domain/provider/assignment-apply.js +2 -1
- package/daemon/dist/domain/provider/assignment-apply.js.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.js +11 -3
- package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service.d.ts +4 -3
- package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +26 -7
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +159 -37
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +1826 -1821
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts +9 -0
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts +6 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +29 -12
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +4 -0
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts +2 -0
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +38 -2
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +4 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +32 -13
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +3 -0
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +25 -7
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts +5 -0
- package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +13 -0
- package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +18 -0
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +28 -1
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts +28 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts.map +1 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.js +123 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.js.map +1 -0
- package/daemon/dist/domain/seat-pool-executor.d.ts +5 -1
- package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-executor.js +695 -95
- package/daemon/dist/domain/seat-pool-executor.js.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.d.ts +68 -3
- package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.js +60 -8
- package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.d.ts +4 -1
- package/daemon/dist/domain/seat-pool-spec.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.js +14 -2
- package/daemon/dist/domain/seat-pool-spec.js.map +1 -1
- package/daemon/dist/domain/seat-reaper-eligibility.d.ts.map +1 -1
- package/daemon/dist/domain/seat-reaper-eligibility.js +5 -2
- package/daemon/dist/domain/seat-reaper-eligibility.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +2 -3
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +3 -43
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-startup-text.d.ts +159 -0
- package/daemon/dist/domain/seat-startup-text.d.ts.map +1 -0
- package/daemon/dist/domain/seat-startup-text.js +200 -0
- package/daemon/dist/domain/seat-startup-text.js.map +1 -0
- package/daemon/dist/domain/seat-status-service.d.ts +3 -0
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +1 -0
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +8 -20
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +93 -26
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts +3 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +10 -0
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts +2 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js +54 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js.map +1 -0
- package/daemon/dist/domain/terminal/tile-attach.d.ts +4 -4
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +14 -8
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +19 -1
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +1 -2
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.d.ts +4 -0
- package/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.js +14 -0
- package/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
- package/daemon/dist/domain/workspace/project-registration.d.ts +5 -1
- package/daemon/dist/domain/workspace/project-registration.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/project-registration.js +11 -7
- package/daemon/dist/domain/workspace/project-registration.js.map +1 -1
- package/daemon/dist/rig-lookup-surface.d.ts +2 -0
- package/daemon/dist/rig-lookup-surface.d.ts.map +1 -0
- package/daemon/dist/rig-lookup-surface.js +5 -0
- package/daemon/dist/rig-lookup-surface.js.map +1 -0
- package/daemon/dist/routes/network.d.ts.map +1 -1
- package/daemon/dist/routes/network.js +19 -1
- package/daemon/dist/routes/network.js.map +1 -1
- package/daemon/dist/routes/queue.js +1 -1
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/rigspec.d.ts.map +1 -1
- package/daemon/dist/routes/rigspec.js +4 -0
- package/daemon/dist/routes/rigspec.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +8 -0
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/terminal-ws.d.ts +0 -5
- package/daemon/dist/routes/terminal-ws.d.ts.map +1 -1
- package/daemon/dist/routes/terminal-ws.js +0 -6
- package/daemon/dist/routes/terminal-ws.js.map +1 -1
- package/daemon/dist/routes/transport.js +1 -1
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/server.d.ts +1 -1
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +3 -6
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +33 -35
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +18 -0
- package/daemon/docs/reference/agent-state-taxonomy.md +8 -0
- package/daemon/docs/reference/daemon-http-clients.md +4 -0
- package/daemon/docs/reference/getting-started.md +63 -11
- package/daemon/docs/reference/hosted-members.md +1 -1
- package/daemon/docs/reference/network-connector.md +66 -1
- package/daemon/docs/reference/quickstart.md +4 -4
- package/daemon/docs/reference/rig-bundle.md +25 -0
- package/daemon/docs/reference/rig-spec.md +40 -14
- package/daemon/docs/reference/seat-delivery.md +11 -2
- package/daemon/docs/reference/seat-pools.md +119 -14
- package/daemon/docs/reference/seat-scaling.md +2 -1
- package/daemon/docs/reference/whats-new.md +102 -12
- package/daemon/specs/agents/development/implementer/guidance/role.md +11 -0
- package/daemon/specs/agents/development/qa/guidance/role.md +5 -0
- package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +9 -1
- package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +15 -5
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +8 -3
- package/dist/build-info.js +3 -3
- package/dist/cli-error.d.ts +2 -0
- package/dist/cli-error.d.ts.map +1 -1
- package/dist/cli-error.js +25 -8
- package/dist/cli-error.js.map +1 -1
- package/dist/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +13 -0
- package/dist/client.js.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +52 -1
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/crash-cart.d.ts.map +1 -1
- package/dist/commands/crash-cart.js +65 -17
- package/dist/commands/crash-cart.js.map +1 -1
- package/dist/commands/daemon.d.ts +7 -20
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +83 -50
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/doctor.d.ts +26 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +143 -1
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +4 -2
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/network.d.ts +4 -0
- package/dist/commands/network.d.ts.map +1 -1
- package/dist/commands/network.js +78 -10
- package/dist/commands/network.js.map +1 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +12 -4
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/ps.d.ts +8 -0
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +19 -3
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue-transfer.d.ts.map +1 -1
- package/dist/commands/queue-transfer.js +12 -6
- package/dist/commands/queue-transfer.js.map +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +5 -4
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +74 -6
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/setup.d.ts +34 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +105 -17
- package/dist/commands/setup.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +46 -2
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +381 -174
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/daemon-start-lock.d.ts +28 -0
- package/dist/daemon-start-lock.d.ts.map +1 -1
- package/dist/daemon-start-lock.js +107 -13
- package/dist/daemon-start-lock.js.map +1 -1
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +65 -1
- package/dist/mcp-server.js.map +1 -1
- package/dist/process-liveness.d.ts +21 -0
- package/dist/process-liveness.d.ts.map +1 -0
- package/dist/process-liveness.js +43 -0
- package/dist/process-liveness.js.map +1 -0
- package/dist/remote-host-ops.d.ts +1 -1
- package/dist/remote-host-ops.d.ts.map +1 -1
- package/dist/remote-host-ops.js +3 -14
- package/dist/remote-host-ops.js.map +1 -1
- package/dist/system-preflight.d.ts +9 -0
- package/dist/system-preflight.d.ts.map +1 -1
- package/dist/system-preflight.js +22 -7
- package/dist/system-preflight.js.map +1 -1
- package/package.json +4 -2
|
@@ -58,6 +58,10 @@ plan never asks for both; an earlier drain's unconfirmed stop can still be tried
|
|
|
58
58
|
read again before each move: when a re-apply has changed it since the evaluation planned (any value, cleared or
|
|
59
59
|
unreadable), that move and the rest are skipped with `pool_block_changed`, and the next evaluation plans against the
|
|
60
60
|
block as it is then.
|
|
61
|
+
- **How long a row has waited.** A row waits from its creation, its latest reroute, or its latest return to pending
|
|
62
|
+
when a handover (`rig handover`, `rig seat handover`) or a fresh launch (`rig seat launch --fresh`) releases the
|
|
63
|
+
retiring occupant's claims, whichever is latest. A released row therefore waits `dispatch_after_s` again and goes
|
|
64
|
+
behind rows that have waited longer; its creation time and history do not change.
|
|
61
65
|
- **Rows left with a drained agent.** A pending row addressed to a `drained` pool agent, under any of its names, is
|
|
62
66
|
moved to a free pool agent the same way, whatever its tags.
|
|
63
67
|
- **Adding agents.** The job keeps the pool at a target: the larger of `min` and the demand, capped at `max` (0 under
|
|
@@ -68,10 +72,10 @@ plan never asks for both; an earlier drain's unconfirmed stop can still be tried
|
|
|
68
72
|
`cooldown_s` after the latest drain. Each agent added first brings back the lowest-numbered eligible `drained` slot
|
|
69
73
|
(see *Bringing a drained agent back*), and that counts as one add; only when no eligible slot is left is a new
|
|
70
74
|
number taken. Each new agent is named `<member>-s<n>`, added the same way as `rig add`, and launched right away:
|
|
71
|
-
- it takes the model member's launch settings as the rig export writes them, without `pool`, `id`, `label`, `cwd
|
|
72
|
-
and `
|
|
73
|
-
conversation. Its member `startup` files resolve from the model's launch
|
|
74
|
-
them out because that root is not the rig's stored root;
|
|
75
|
+
- it takes the model member's launch settings as the rig export writes them, without `pool`, `id`, `label`, `cwd`,
|
|
76
|
+
`session_source`, `compaction_strategy`, `mechanic` and `cold_start`, and its launch additions are copied from the
|
|
77
|
+
model; it starts without the model's conversation. Its member `startup` files resolve from the model's launch
|
|
78
|
+
root, also when the rig export leaves them out because that root is not the rig's stored root;
|
|
75
79
|
- it is never kept alive, whatever the model or its agent spec says about `keep_alive`;
|
|
76
80
|
- it works in the model's folder or, with `cwd_template`, in the template's folder with `{rig}` (the rig's name)
|
|
77
81
|
and `{slot}` (the agent's member id, such as `impl-s1`) filled in; the daemon only creates that folder;
|
|
@@ -97,7 +101,8 @@ plan never asks for both; an earlier drain's unconfirmed stop can still be tried
|
|
|
97
101
|
| `running` | The agent's latest session runs (or is idle) with its startup `ready`, and the add's call, if it returned, launched it. | `live`; from there it serves and drains like any other agent, and above `max` it receives no row. |
|
|
98
102
|
| `no_node` | No node was created, with the add's code (for example `preflight_failed`). | Removed, which frees its number. |
|
|
99
103
|
| `not_running` | The node exists but does not run: its latest session `exited`, or its executor is confirmed stopped (`probe_absent`), in `attempt.observed`; with the launch's error when the add's call returned. | `drained`, with a reuse hold (JSON `{ code, observed, error? }`: the launch's status or code, or `not_running` when the call never returned; what was observed; the launch's error, if any): never tried again, and it takes no room under `max`. Reported in `slots` every evaluation. |
|
|
100
|
-
| `
|
|
104
|
+
| `attention_required` or `left_attached` | Unless the agent's latest session `exited` or its executor is confirmed stopped (`not_running` above): the add's call returned `attention_required` or `left_attached` (whatever else the session reads, a session recorded or not), or returned anything else but a launch (a failure) while the agent's latest session runs (or is idle); or the call is not known (after a daemon restart) or returned a launch, and the agent's latest session runs with a startup that needs attention or failed. `left_attached` is reported as such; anything else as `attention_required`, with the launch's status or code in `code` when it is another one (for example `failed`). | `live` and held, with a reuse hold (JSON `{ code, error? }`): it takes room under `max`, but it is not free, receives no row and is never drained by the pool. Reported in `slots` every evaluation, until a later change on its node ends the hold (see *A held slot and a later change*). |
|
|
105
|
+
| `unknown` | Anything else (startup not ready, or no session yet), with what was read. | Stays `adding` and issued, read again every evaluation until it settles; never issued again, never stopped, and no other free agent is drained because of it. |
|
|
101
106
|
|
|
102
107
|
- after a daemon restart, an attempt that no process runs any more is settled by the next evaluation: a reservation
|
|
103
108
|
that was never issued is cancelled (`cancelled: not issued`), and an issued add is read again by replaying its
|
|
@@ -186,9 +191,45 @@ plan never asks for both; an earlier drain's unconfirmed stop can still be tried
|
|
|
186
191
|
`no_matching_nodes` or `selection_changed`) is reported `refused` with its code, and the slot goes back to
|
|
187
192
|
`drained` with that code and the snapshot as its reuse hold: the same snapshot is never sent again. A comeback that
|
|
188
193
|
is held or refused keeps the drain's time, so it does not restart the `cooldown_s`;
|
|
194
|
+
- just before its issue, under the same lease, the comeback is checked as an add is: the job, the holds and the stored
|
|
195
|
+
block again, and a new plan with the reservation counted. A stopped job, a `rig.stopped`, a lower `max`, `drain:
|
|
196
|
+
true`, any other change to the block, or surplus that reaches the reservation cancels it: nothing is launched, the
|
|
197
|
+
slot is `drained` again with no reuse hold (so it stays eligible), and the notes report it under `add.cancelled` as
|
|
198
|
+
`cancelled: not issued`, with the cause in `code`;
|
|
189
199
|
- right before its launch, the comeback reads the job and the rig again: with the job stopped or the rig down, it is
|
|
190
200
|
never launched, the slot is `drained` again with no reuse hold, and the comeback is reported `refused` with the
|
|
191
201
|
code `held`;
|
|
202
|
+
- a launch on the slot's node that does not run is never repeated. It is reported in `attempt.status`, never as a
|
|
203
|
+
stop, and the slot keeps a reuse hold (JSON `{ code, snapshotId, error? }`, the code being the launch's status for
|
|
204
|
+
the node), unless the node's latest session reads ready when the call returns (an agent someone recovered by hand
|
|
205
|
+
meanwhile): then the slot is `live` with no hold, reported `running` with the code `later_session`:
|
|
206
|
+
|
|
207
|
+
| Launch status for the node | `attempt.status` | The slot |
|
|
208
|
+
| --- | --- | --- |
|
|
209
|
+
| `awaiting-decision`, or `failed` with no session of the node running afterwards | `not_running`, with the status in `code` and the launch's error in `message` (for a pod-aware agent with no runtime adapter, the error names `rig seat launch <seat> --fresh`) | `drained` and held: it takes no room, and the other eligible slots or a new number go on within `max`. A rolled-back launch leaves the node's earlier session and binding as they were. |
|
|
210
|
+
| `attention_required`, `left_attached`, or `failed` while a session of the node still runs | `attention_required` (with `failed` in `code` for a failure) or `left_attached` | `live` and held: it takes room, but it is not free, receives no row and is never drained by the pool. |
|
|
211
|
+
|
|
212
|
+
The ready read covers every status in this table, the launch's own session included: a session that reads ready is
|
|
213
|
+
the pool's test of a usable agent, as with `already_running` below, so a `left_attached` call or a `failed` launch
|
|
214
|
+
whose own session reads ready also makes the slot `live` with no hold, reported `running` with `later_session`.
|
|
215
|
+
|
|
216
|
+
A launch that finds a live session already on the node (one the pool did not start and that is not proven to be an
|
|
217
|
+
agent: the node is in `alreadyRunning`, nothing was launched) is reported `already_running`, and the slot is `live`
|
|
218
|
+
with no hold. It takes room like any agent and is free only once idle at its prompt. Neither a hold nor this records a
|
|
219
|
+
new event per evaluation;
|
|
220
|
+
- a comeback whose launch call returned something else (another refusal, or an error) stays `adding` and issued with
|
|
221
|
+
what it returned, is reported `in flight` with that code, and `unknown` in every later evaluation; it is never
|
|
222
|
+
launched again;
|
|
223
|
+
- after a daemon restart, a comeback no process runs any more is read again from the `restore.subset_completed` that
|
|
224
|
+
its launch records before it returns: the newest one after what it was issued on, for its snapshot, that names its
|
|
225
|
+
node settles it by the table above (or `running`, while its session reads ready). The node's current state comes
|
|
226
|
+
first: when its latest session reads ready (an agent someone recovered by hand before that read), the slot is `live`
|
|
227
|
+
with no hold, whatever the event recorded; otherwise an `awaiting-decision` hold (its launch rolled back) is measured
|
|
228
|
+
from the session the comeback was issued on, so a session someone started since is a later change. Without such an event
|
|
229
|
+
(a launch that found the agent already running records none), a latest session that reads ready, the one it was
|
|
230
|
+
issued on included, makes the slot `live` with no hold, and a session on the node newer than the one it was issued
|
|
231
|
+
on settles it as a later change does (see *A held slot and a later change*). With neither, it stays `adding` and
|
|
232
|
+
issued, reported `unknown`: it takes room and is never launched again;
|
|
192
233
|
- a comeback that runs is reported `running`, with the `snapshotSelection` it was launched from (`mode:
|
|
193
234
|
"explicit"`), and the slot is `live` again. It comes back with its own stored settings, never the model's: the
|
|
194
235
|
model, effort, Codex profile and permission posture follow the slot's latest saved choices, as in any restore.
|
|
@@ -200,7 +241,9 @@ plan never asks for both; an earlier drain's unconfirmed stop can still be tried
|
|
|
200
241
|
naming the fields that differ (`cwd` is compared only without `cwd_template`, when the slot took the model's
|
|
201
242
|
folder). The warning compares the slot's stored settings: a `cwd` set after the capture is compared at its new
|
|
202
243
|
value while the agent comes back in the captured folder;
|
|
203
|
-
- every evaluation reports a slot's reuse hold with the slot
|
|
244
|
+
- every evaluation reports a slot's reuse hold with the slot;
|
|
245
|
+
- a held `live` slot takes room under `max` like any agent: when held `live` agents take all the room under `max`,
|
|
246
|
+
the pool adds nothing and moves no row until a later change on one of them ends its hold.
|
|
204
247
|
- **After `pool: {}`.** Clearing the block on re-apply leaves the job running: it drains the free agents with the
|
|
205
248
|
block it was last ensured with (`context.pool`), leaves busy agents `live` until they are free, and ends
|
|
206
249
|
(`terminal`) once every agent is `drained` and the block is still absent. A `live` agent positively gone (its latest
|
|
@@ -221,6 +264,72 @@ plan never asks for both; an earlier drain's unconfirmed stop can still be tried
|
|
|
221
264
|
it returns. So a job stopped during an evaluation records nothing; the executor's own check only stops the moves
|
|
222
265
|
and adds left in that evaluation.
|
|
223
266
|
|
|
267
|
+
### A held slot and a later change
|
|
268
|
+
|
|
269
|
+
A reuse hold on a `drained` or a `live` slot is kept across evaluations, daemon restarts, and `rig down` then `rig up`
|
|
270
|
+
(a `drained` slot stays down there, as any drained pool agent; a held `live` slot is restored as any member). The pool
|
|
271
|
+
never launches that slot again. With the hold, the slot records what the hold is measured from: the node's latest session
|
|
272
|
+
then (its id, status and startup status; a session a launch rolled back, `superseded`, is never taken as the latest) and
|
|
273
|
+
the rig's latest event. Each evaluation reads every held slot again before it plans, under the model's custody lease, and
|
|
274
|
+
only a later change on the slot's node ends the hold. That read runs only while the job is active, the pool is not held
|
|
275
|
+
(`rig.stopped`), its block is readable and the custody lease is granted; otherwise the holds stay as they are, and a
|
|
276
|
+
recovered session ends its hold at the first evaluation that reads it. The evaluation reports what changed under `laterChanges` (the slot,
|
|
277
|
+
the session, how it read, and the slot's phase and hold after it):
|
|
278
|
+
|
|
279
|
+
- a restore since the hold that launched the node (a `rig up`, or `rig launch --seats`) and did not run gives the slot
|
|
280
|
+
that outcome, as a comeback's launch would (`read: restore`), unless the node's latest session reads ready;
|
|
281
|
+
- otherwise a session newer than the recorded one (someone's `rig seat launch --fresh`, a `rig launch --snapshot-id`, a
|
|
282
|
+
resume by hand) is a change, and so is, for a held `live` slot, a new status or startup status on the recorded session
|
|
283
|
+
(as `rig seat continue` gives when it reruns startup) or its executor confirmed stopped. For a held `drained` slot,
|
|
284
|
+
the recorded session counts only when it is resumed (it reads ready or needing attention); marked down or detached,
|
|
285
|
+
it is no change. A `restore.outcome_reconciled` alone changes nothing.
|
|
286
|
+
|
|
287
|
+
The node's latest session then decides:
|
|
288
|
+
|
|
289
|
+
| The latest session | `read` | The slot |
|
|
290
|
+
| --- | --- | --- |
|
|
291
|
+
| Runs (or is idle) with startup `ready`, and its executor is not confirmed stopped | `ready` | `live`, with no hold: it serves, and drains, like any agent. If that leaves the pool above what it wants, surplus drains free agents, newest first. |
|
|
292
|
+
| Exited, or its executor is confirmed stopped (for a held `live` slot, also when the node has no session row) | `absent` | `drained` and eligible, with no hold; except a hold that awaits a decision (`awaiting-decision`) while no session since the recorded one reached `ready`: the slot stays held, now measured from that session. A held `live` slot that becomes `drained` this way, also after a later session put it back in `adding`, counts as a drain step from then for `cooldown_s`. |
|
|
293
|
+
| Runs (or is idle) with a startup that needs attention or failed | `attention` | `live` and held (`attention_required`, or `failed`): it takes room, is not free and receives no row. |
|
|
294
|
+
| Anything else (for example a startup still pending) | `unknown` | Back in `adding`, its last attempt issued again and reported `unknown`, with the hold it had: it counts as an unknown result (it takes room and no other free agent is drained because of it), nothing is launched, and every evaluation reads it again by the node's latest session (and by a restore since then), until it reads one of the rows above. |
|
|
295
|
+
|
|
296
|
+
The change writes no event, and nothing is stopped. After `pool: {}`, a held `live` slot keeps the job running until a
|
|
297
|
+
later change ends its hold: the pool never drains it.
|
|
298
|
+
|
|
299
|
+
### The dispatch guard
|
|
300
|
+
|
|
301
|
+
A `dispatch_guard` in the pool block is a check the operator runs before each move: for example, to keep a row whose
|
|
302
|
+
work another seat already took in another system from going to a free agent. It is opt-in: without it, nothing changes.
|
|
303
|
+
`dispatch_tag` stays the coarse alternative.
|
|
304
|
+
|
|
305
|
+
- **What runs.** The block's list, run as a command with its arguments, never through a shell, with
|
|
306
|
+
`--qitem=<id> --from=<session> --to=<session>` added after them: the row, where it waits (as stored) and the agent it
|
|
307
|
+
would go to, in the `=` form, so a value that starts with `-` can't read as one of the command's own options. It gets
|
|
308
|
+
no stdin and the daemon's environment without the credential keys it keeps out of every agent's tmux server (the
|
|
309
|
+
bearer, terminal, relay, hook and run grant tokens). The pool block, the guard's list included, is in the job's
|
|
310
|
+
record that `rig watchdog status <job>` shows: never put a secret in it. A list item with a NUL byte can't be
|
|
311
|
+
started, so every move is a guard error.
|
|
312
|
+
- **When.** Once per planned move, under the model's custody lease, after the move's job and block checks (a block
|
|
313
|
+
changed since the plan is never guarded with its old command) and before the re-checks that come just before the
|
|
314
|
+
move. Those stay as they are, with the job and the block read again after the guard: while the guard runs, a row
|
|
315
|
+
claimed or rerouted, or an agent no longer free, is skipped, and a block changed or a job stopped ends the
|
|
316
|
+
evaluation's moves, as without a guard. The guards of one evaluation run one after the other, and the model's custody
|
|
317
|
+
lease is held for up to the 2-second timeout on each guarded move.
|
|
318
|
+
- **Exit 0** lets the move go.
|
|
319
|
+
- **Exit 75** (`EX_TEMPFAIL`) vetoes it: that move alone is skipped, named in the notes' `skipped` with the code
|
|
320
|
+
`guard_refused` and the first line of the guard's stdout as `message`, if any. The row stays pending where it was,
|
|
321
|
+
with its history and its waiting time unchanged: nothing is written to it. The next evaluation plans it again, with no
|
|
322
|
+
cooldown, requeue or priority change. The other moves of the evaluation go on. A vetoed row keeps its place, and
|
|
323
|
+
with it the free agent it was planned to, so while the veto lasts, rows behind it can wait on that agent: close or
|
|
324
|
+
claim a vetoed row promptly.
|
|
325
|
+
- **Anything else** is a guard error, and the move goes ahead: the command can't be started, it runs past its timeout
|
|
326
|
+
(2 seconds, after which it is killed with its process group), it is killed by a signal, or it exits with another code.
|
|
327
|
+
A broken guard never freezes a pool. The notes name each one in `guardErrors`, with the row, `from`, `to`, the code
|
|
328
|
+
`guard_error` and what happened (for example `exited 1: <the first line of its stderr>` or `timed out after 2000 ms`).
|
|
329
|
+
Those notes are in the job's recent history, `evaluationNotes` of `rig watchdog status <job> --json`: a mistyped
|
|
330
|
+
guard path never vetoes, so look there for it.
|
|
331
|
+
A dedicated veto code keeps an ordinary crash (exit 1, or a shell's `set -e`) from reading as a veto.
|
|
332
|
+
|
|
224
333
|
### When the model node is deleted
|
|
225
334
|
|
|
226
335
|
Deleting a model node removes its slot rows but leaves its agent nodes and sessions as ordinary members of the rig,
|
|
@@ -230,11 +339,7 @@ gone, its job moves, drains, adds and brings back nothing and reports `held: mod
|
|
|
230
339
|
|
|
231
340
|
## What the job does not do yet
|
|
232
341
|
|
|
233
|
-
An add whose
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
session or fails): it stays in flight with its outcome kept. One a daemon restart cut off before its launch stays in
|
|
238
|
-
flight, with no outcome. Nothing yet clears a reuse hold: an add that settled
|
|
239
|
-
`not_running` holds new numbers until its node is deleted, which removes its slot row. An add, or a comeback whose launch
|
|
240
|
-
had already started, that settles running after `rig down` keeps running.
|
|
342
|
+
An add whose node was created but has no session when the daemon restarts stays `unknown`: nothing launches it again,
|
|
343
|
+
and deleting that node removes its slot row, which frees its number. The pool does no live terminal probe of its own: a
|
|
344
|
+
session "present" is one whose executor is not confirmed stopped. An add, or a comeback whose launch had already started,
|
|
345
|
+
that settles running after `rig down` keeps running.
|
|
@@ -80,7 +80,8 @@ lists carry the same six keys):
|
|
|
80
80
|
|
|
81
81
|
A fresh install is unchanged: `enabled` is off, so the reaper performs no probe and
|
|
82
82
|
writes no state. A rig is only managed once it is named in `opt_in_rigs` **and**
|
|
83
|
-
`enabled` is on
|
|
83
|
+
`enabled` is on, and a seat is only stopped once `observe` is off as well: with
|
|
84
|
+
`observe` on, the default, the reaper only logs `would-reap-observe`.
|
|
84
85
|
|
|
85
86
|
## Receipts
|
|
86
87
|
|
|
@@ -1,9 +1,99 @@
|
|
|
1
|
-
# What changed in OpenRig 0.7.
|
|
1
|
+
# What changed in OpenRig 0.7.26
|
|
2
|
+
|
|
3
|
+
This note is for an agent on an install that was just upgraded to 0.7.26.
|
|
4
|
+
OpenRig 0.7.26 is a patch with two aims: a person's first OpenRig team gets to its first useful result in their own Claude Code or Codex conversation, and a busy daemon keeps answering. The openrig plugin can bring team questions and results into your own Claude Code conversation; in Codex, your agent can read results sent to your conversation's address. Some questions and results still fail to reach you; see Known issues. A new Claude Code seat that runs Claude's activity hooks no longer reads ready while its startup prompt sits unsent, and the daemon no longer stays stalled while native runners read their receipts.
|
|
5
|
+
|
|
6
|
+
## Before you upgrade
|
|
7
|
+
|
|
8
|
+
Run the upgrade in the environment that owns your daemon, keeping the same `OPENRIG_HOME` (legacy `RIGGED_HOME`) if you set it. Stop the daemon, back up its database, install the patch, then restart it. Your agents keep running; do not use `rig down` for this upgrade.
|
|
9
|
+
|
|
10
|
+
If the daemon was started with `--db`, or with `OPENRIG_DB` (legacy `RIGGED_DB`) set differently from this shell, replace the `DB=` line below with that actual database path. Pass the same `--db "$DB"` to every `rig daemon start`, including recovery; `rig config get db.path` reads this shell's configuration, not the running daemon's launch arguments or environment.
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
DB="$(rig config get db.path)" &&
|
|
14
|
+
STOP="$(rig daemon stop)" && printf '%s\n' "$STOP" &&
|
|
15
|
+
{ printf '%s\n' "$STOP" | grep -qx 'Daemon stopped' || { echo "The stop wasn't confirmed clean; see below before continuing." >&2; false; }; } &&
|
|
16
|
+
BACKUP="$DB.before-0.7.26-$(date -u +%Y%m%dT%H%M%SZ)" &&
|
|
17
|
+
{ [ ! -e "$BACKUP" ] || { echo "$BACKUP already exists; keep it and run again." >&2; false; }; } &&
|
|
18
|
+
cp "$DB" "$BACKUP" &&
|
|
19
|
+
{ [ ! -e "$DB-wal" ] || cp "$DB-wal" "$BACKUP-wal"; } &&
|
|
20
|
+
npm install -g @openrig/cli@0.7.26 &&
|
|
21
|
+
rig daemon start --db "$DB"
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
A failure stops the following commands; fix it before continuing. Back up and install only after `rig daemon stop` prints `Daemon stopped`. If it reports no recorded target or doesn't confirm the stop, make sure the daemon is running on its original home and database, then run the whole block again; `daemon-shutdown.json`, `daemon.log` and `rig context get help` explain an unconfirmed stop.
|
|
25
|
+
|
|
26
|
+
This release adds two database migrations, which apply at the first start. Both only add: `202_network_requester_questions` adds three columns for network requests, and `203_outbox_runner_receipts_index` adds two indexes, built once at that start (well under a second on a large outbox). Keep the backup, because downgrading a migrated database is not established. Bundled `openrig` is 0.7.26; `openrig-core` is 0.1.42.
|
|
27
|
+
|
|
28
|
+
The default scoped launch no longer inherits the daemon's Slack tokens or its notification target. Host bearer variables named by a readable, parseable `hosts.yaml` are excluded too. Opting into `terminal.inherit_tmux_environment` skips that scoped environment, so credential variables already held by tmux can still reach a seat. If a seat runs cross-host `rig` commands (`--host`, `rig ps --nodes` across hosts, the plugin's MCP server) on a bearer variable it got from the daemon, point that host's entry in `hosts.yaml` at a `bearer_file` readable by the process sending the command, before you upgrade. Don't put the token itself in the seat's `env:`: spec values travel with exports and bundles. ([#4076](https://github.com/mvschwarz/openrig/pull/4076), [#4093](https://github.com/mvschwarz/openrig/pull/4093))
|
|
29
|
+
|
|
30
|
+
## Your first team, from your own conversation
|
|
31
|
+
|
|
32
|
+
The `rigs` skill walks a first user's journey in order. Its one background wait keeps running beside the plugin's hooks; after the person says yes, their Claude Code installs the plugin itself, and a Codex conversation is given `codex resume <id>` to trust its hooks. The team's lead hands work over as tasks, the operator asks you through your conversation's own route, and the team's guidance has a new task carry its own route instead of picking up another task's. ([#4098](https://github.com/mvschwarz/openrig/pull/4098), [#4108](https://github.com/mvschwarz/openrig/pull/4108))
|
|
33
|
+
|
|
34
|
+
`rig doctor` checks whether `rig` can be found the way apps started outside a terminal find it (a desktop app, for one) and gives the exact line to add to your shell profile; `rig setup` lists that warning at its end. Work sent to your conversation's own address reads as `conversation`, waiting for the conversation to read it, not "No live seat by this name". `rig setup --router-line yes|no` saves just that answer, and setup explains when its default bind adds this machine's Tailscale address. ([#4097](https://github.com/mvschwarz/openrig/pull/4097), [#4119](https://github.com/mvschwarz/openrig/pull/4119), [#4094](https://github.com/mvschwarz/openrig/pull/4094))
|
|
35
|
+
|
|
36
|
+
A new Claude Code seat that runs Claude's activity hooks counts its startup prompt as sent only when Claude reports taking it; otherwise it presses Enter again only while the exact prompt is still staged, or says the submission is unverified. ([#4096](https://github.com/mvschwarz/openrig/pull/4096), [#4100](https://github.com/mvschwarz/openrig/pull/4100))
|
|
37
|
+
|
|
38
|
+
## A busy daemon keeps answering
|
|
39
|
+
|
|
40
|
+
Native runners' receipt reads use an index, so the daemon keeps answering other requests while runners read them. A large backlog of receipts for running runners can still hold it for several seconds when it first arrives. A `--json` command whose request to the daemon fails says which failure it was. The watchdog and parked-owner passes, and the reads of many Codex homes, let other requests run in between; queue reads that need only a row's existence or state skip the waiting work, and the stuck-work sweep loads the people registry once per pass. `rig queue list` and `rig queue show` are faster again: most of 0.7.25's slowdown is gone, though some reads are still slightly slower than on 0.7.24. ([#4106](https://github.com/mvschwarz/openrig/pull/4106), [#4065](https://github.com/mvschwarz/openrig/pull/4065), [#4083](https://github.com/mvschwarz/openrig/pull/4083), [#4115](https://github.com/mvschwarz/openrig/pull/4115), [#4092](https://github.com/mvschwarz/openrig/pull/4092), [#4080](https://github.com/mvschwarz/openrig/pull/4080))
|
|
41
|
+
|
|
42
|
+
## Seats, permissions and restore
|
|
43
|
+
|
|
44
|
+
A Claude seat in a managed restore no longer stops at a Read prompt for its work and topology files (`SPEC.md`, `NOTES.md`, `PROGRESS.md`, `LEARNED.md`, its recap and restore maps) once it's launched on 0.7.26 (see Known issues for a seat already running), and the team permission hook no longer asks about read-only forms such as `rig compact --state`, `--plan` and `--dry-run`. A Claude seat's permission rules can include `ask` beside `allow` and `deny`, kept on every kind of launch; a relaunch that keeps the conversation sends the seat's recorded rules, and a rule you cleared stays cleared. `rig seat set-startup-text <seat>` shows, previews and changes one seat's saved startup text without relaunching it. ([#4104](https://github.com/mvschwarz/openrig/pull/4104), [#4073](https://github.com/mvschwarz/openrig/pull/4073), [#3848](https://github.com/mvschwarz/openrig/pull/3848))
|
|
45
|
+
|
|
46
|
+
A handoff to a seat where a person is typing no longer arrives about a minute after they press Enter, and a draft-aware Claude seat submits managed compaction requests instead of leaving them pasted. A compaction notice shows one attempt count. A Pi seat moved with `rig seat set-cwd` resumes the same conversation in its new folder. A community harness seat whose agent has exited reads `agent not verified` in `rig ps --nodes` and `rig seat status`. With automatic idle stop on, an open "Team seats and edges recorded" notice no longer holds a seat's idle timer. A seat's Herdr tile waits for its tmux session after a reboot, and `rig export` keeps a member's `compaction_strategy`, `mechanic` and `cold_start`. After `rig provider switch --token-file`, `tokenApplied` says whether the token was applied as Claude started (`null` when OpenRig can't tell), and the help says what each value means. ([#4041](https://github.com/mvschwarz/openrig/pull/4041), [#4086](https://github.com/mvschwarz/openrig/pull/4086), [#4103](https://github.com/mvschwarz/openrig/pull/4103), [#3902](https://github.com/mvschwarz/openrig/pull/3902), [#4067](https://github.com/mvschwarz/openrig/pull/4067), [#4078](https://github.com/mvschwarz/openrig/pull/4078), [#4088](https://github.com/mvschwarz/openrig/pull/4088), [#4116](https://github.com/mvschwarz/openrig/pull/4116), [#4107](https://github.com/mvschwarz/openrig/pull/4107), [#4105](https://github.com/mvschwarz/openrig/pull/4105), [#4120](https://github.com/mvschwarz/openrig/pull/4120))
|
|
47
|
+
|
|
48
|
+
## Daemon start, projects and accounts
|
|
49
|
+
|
|
50
|
+
If `rig daemon start` ran out of its readiness wait while the daemon was still starting, the next `rig daemon start` finishes that start instead of refusing. `rig crash-cart` keeps a live or uncertain start reading unverified, and `rig daemon status` agrees with it after a start a reboot interrupted. A member's `cwd` in a rig spec or bundle can name a registered project (`cwd: "${project:demo}/services/api"`). `rig auth sign-out` removes one person's Codex login files from one Codex home; it's local cleanup and doesn't revoke anything at OpenAI. ([#4081](https://github.com/mvschwarz/openrig/pull/4081), [#4090](https://github.com/mvschwarz/openrig/pull/4090), [#4077](https://github.com/mvschwarz/openrig/pull/4077), [#3954](https://github.com/mvschwarz/openrig/pull/3954), [#4091](https://github.com/mvschwarz/openrig/pull/4091))
|
|
51
|
+
|
|
52
|
+
Experimental and unsupported, as before: smaller `rig network` and seat-pool pieces; nothing arms a pool yet. ([#4066](https://github.com/mvschwarz/openrig/pull/4066), [#4068](https://github.com/mvschwarz/openrig/pull/4068), [#4079](https://github.com/mvschwarz/openrig/pull/4079), [#3963](https://github.com/mvschwarz/openrig/pull/3963), [#4069](https://github.com/mvschwarz/openrig/pull/4069), [#4070](https://github.com/mvschwarz/openrig/pull/4070), [#4071](https://github.com/mvschwarz/openrig/pull/4071))
|
|
53
|
+
|
|
54
|
+
Also: help and docs corrections, a package without Python caches that declares a dependency it was missing, and steadier tests. ([#4074](https://github.com/mvschwarz/openrig/pull/4074), [#4082](https://github.com/mvschwarz/openrig/pull/4082), [#4112](https://github.com/mvschwarz/openrig/pull/4112), [#4113](https://github.com/mvschwarz/openrig/pull/4113), [#4056](https://github.com/mvschwarz/openrig/pull/4056), [#3889](https://github.com/mvschwarz/openrig/pull/3889), [#4110](https://github.com/mvschwarz/openrig/pull/4110), [#4087](https://github.com/mvschwarz/openrig/pull/4087), [#3890](https://github.com/mvschwarz/openrig/pull/3890), [#3891](https://github.com/mvschwarz/openrig/pull/3891), [#4102](https://github.com/mvschwarz/openrig/pull/4102))
|
|
55
|
+
|
|
56
|
+
## Behaviour that changed
|
|
57
|
+
|
|
58
|
+
- The default scoped launch no longer inherits the daemon's Slack tokens, its notification target, or host bearer variables named by a readable, parseable `hosts.yaml`; see "Before you upgrade". ([#4076](https://github.com/mvschwarz/openrig/pull/4076))
|
|
59
|
+
- A `--json` command whose request to the daemon fails prints one coded error, `{"ok":false,"error":{…}}`. When the daemon is already known to be stopped, `rig ps --json` now prints that error on stdout, where it printed nothing; most other commands print the reason on stderr and exit 1. ([#4106](https://github.com/mvschwarz/openrig/pull/4106))
|
|
60
|
+
- An older OpenRig refuses to launch a seat whose rules include `ask`; before downgrading, record that seat's rules without `ask`. ([#4073](https://github.com/mvschwarz/openrig/pull/4073))
|
|
61
|
+
- Installing an agent image refuses a name that would put its folder outside the chosen library root. ([#4040](https://github.com/mvschwarz/openrig/pull/4040))
|
|
62
|
+
- With the web UI turned off, the daemon still accepts terminal WebSocket connections, under the usual terminal token and origin rules. ([#4075](https://github.com/mvschwarz/openrig/pull/4075))
|
|
63
|
+
|
|
64
|
+
Correction to 0.7.24's notes: after `rig provider switch --token-file`, OpenRig shows the token's label and whether it was applied. Claude doesn't report which account a token belongs to, so that account isn't verified.
|
|
65
|
+
|
|
66
|
+
## Known issues
|
|
67
|
+
|
|
68
|
+
- A Claude seat already running when you upgraded gets the new restore Read grants at its next ordinary launch. Until then, and after a restart that keeps its conversation or a provider switch, it can still stop at a Read prompt for its own files during a managed restore; answer the prompt.
|
|
69
|
+
- If you upgrade from 0.7.24, each seat may get the "Team seats and edges recorded" notice once more at the first start after the upgrade. It's information only.
|
|
70
|
+
- A message typed to a Claude Code seat can occasionally stay unsent in its input box while `rig send` reports it sent. With `transport.draft_delivery: refuse`, later messages to that seat are then refused as if a person were drafting there. Look with `rig capture <seat>` and press Enter in that pane.
|
|
71
|
+
- A Codex seat whose permissions turn network off can't reach the OpenRig daemon from its sandbox, so each `rig` call that needs the daemon waits at a Codex approval in that seat's terminal, and after the first, those approvals may not reach your conversation. Answer them in that terminal (`rig ps --nodes` shows the waiting seat), or give the seat network access with its writes still limited to the project.
|
|
72
|
+
- A daemon that systemd or launchd runs directly, rather than through `rig daemon start`, isn't seen by `rig daemon stop` or `rig crash-cart`, and a `rig daemon start` beside an enabled unit can fail on the port the unit holds. Run one or the other, not both.
|
|
73
|
+
- A new Claude Code seat without Claude's activity hooks can occasionally show ready before its startup prompt is submitted. If work doesn't start, submit the staged prompt in the seat's terminal.
|
|
74
|
+
- A Claude Code seat that runs several `rig` commands in one Bash call, or builds one from shell variables, can stop at an approval prompt; seats are reminded to run one plain `rig` command per call.
|
|
75
|
+
- Delivery to your own conversation, a team's questions included, isn't guaranteed. A team seat can send its result to the operator or another seat instead, including after a message tells it your conversation's address has no session. A seat's permission prompt can reach no one when its work has no return route to your conversation—for example, after work passes between team seats, after a seat hands its work on, or when OpenRig's stuck-work sweep assigns recovery work. This native permission-question route supports Claude Code team seats, not Codex team seats. In your own Codex conversation, the openrig plugin's hooks must be loaded and trusted. If something seems late, ask your agent to list the tasks at its conversation's address and check the team's progress.
|
|
76
|
+
- In Claude Desktop's plain chat, the agent may not mention a team question that's waiting for you. In one test, a question had been pending for about five minutes, and the reply to the person's next, unrelated message didn't bring it up, though OpenRig's MCP server tells the agent to list its open items at the start of every turn. We don't yet know whether Desktop's chat passes those instructions to the model.
|
|
77
|
+
- A `rig send` while Claude's `AskUserQuestion` dialog is open can become its answer.
|
|
78
|
+
- After a daemon crash, a message the plugin's hook bridge handed back for typing can still read `sending`. It's never sent again; check with `rig capture <seat>` and send it again if it didn't arrive.
|
|
79
|
+
- The tmux outage record is in memory, so a restart during a loss records it again.
|
|
80
|
+
- Only one earlier restore packet is kept aside while a new one builds.
|
|
81
|
+
- After `rig seat restart --keep-conversation`, a Codex seat runs without OpenRig's startup guidance; the restart plan says so.
|
|
82
|
+
- When a Codex seat's `config.toml` or `hooks.json` is a symbolic link, its hooks may need review again, and with a linked `config.toml` OpenRig can miss a setting that turns its hooks off. Review hook prompts yourself.
|
|
83
|
+
- A fresh handover to a community harness that declares `first_input` hasn't been run with Hermes itself, and a very large restore packet hasn't been measured; check the successor's pane after such a handover.
|
|
84
|
+
- A community harness seat whose agent exited to its shell still reads `run` as its lifecycle, and a send to it is refused. `rig ps --nodes` and `rig seat status` now add `agent not verified` once its startup is over and OpenRig's identity check has seen the shell. `rig capture <seat>` shows the pane.
|
|
85
|
+
- A percent `context-usage-threshold` doesn't fire for a Pi seat; use a token threshold.
|
|
86
|
+
|
|
87
|
+
## Credits
|
|
88
|
+
|
|
89
|
+
Thanks to Dery Ferdika, Evgeny Zotov, Faried Safeyeddine, Mike Schwarz, NIKHIL, Shravan Sumanthanan, billbenetti and dajiaohuang, and to bobbiejaxn for diagnosing the busy-daemon stall ([#4101](https://github.com/mvschwarz/openrig/issues/4101)).
|
|
90
|
+
|
|
91
|
+
## What changed in OpenRig 0.7.25
|
|
2
92
|
|
|
3
93
|
This note is for an agent on an install that was just upgraded to 0.7.25.
|
|
4
94
|
OpenRig 0.7.25 is a patch for people who work with their OpenRig team from a Claude Code or Codex conversation that is not an OpenRig seat. The team's questions reach that conversation more reliably, and results return automatically to Claude Code conversations using the OpenRig plugin. A message held while a person drafts in a seat is typed once their input is clear. Recovery also says more plainly what a seat needs.
|
|
5
95
|
|
|
6
|
-
|
|
96
|
+
### Before you upgrade
|
|
7
97
|
|
|
8
98
|
Run the upgrade in the environment that owns your daemon, keeping the same `OPENRIG_HOME` (legacy `RIGGED_HOME`) if you set it. Stop the daemon, back up its database, install the patch, then restart it. Your agents keep running; do not use `rig down` for this upgrade.
|
|
9
99
|
|
|
@@ -25,42 +115,42 @@ A failure stops the following commands; fix it before continuing. Back up and in
|
|
|
25
115
|
|
|
26
116
|
This release adds ten database migrations, which apply at the first start. Nine only add tables, columns or indexes: `187_provider_account_refs`, `188_provider_account_assignments`, `191_queue_transfer_activation`, `191_seat_reap_state`, `197_session_agent_activity_hooks`, `200_context_configured_budget`, `200_seat_cold_start_standby_stop`, `201_queue_transitions_archive_actor_index` and `201_roster_event_index`. The tenth, `200_sessions_earlier_handover_origin`, records sessions that a handover started before 0.7.9 as launched by OpenRig, so `rig seat stop` and `rig seat restart` work on them. Keep the backup, because downgrading a migrated database is not established. Bundled `openrig` is 0.7.25; `openrig-core` is 0.1.41. A Codex seat left running across the upgrade keeps its OpenRig hooks when the daemon updates `openrig-core` beneath it.
|
|
27
117
|
|
|
28
|
-
|
|
118
|
+
### Working with your team from your own conversation
|
|
29
119
|
|
|
30
120
|
Claude Code's waiter and the plugin's MCP server find `rig` on a login shell's PATH, and the no-`rig` notice says how to put `rig`'s folder on PATH in your login profile. A Codex conversation gets its wakes, and the wake keeps delivering after a large backlog and over a long session. A conversation whose MCP entry names no seat answers its team's questions as the address its own request was issued, and one whose entry names a seat still hears its own questions. A chat app using `rig mcp serve --front-door` checks the team every turn and says what a scheduled check needs. The stuck-work sweep no longer reports your conversation as an undelivered address, an answer to a question from a rig the daemon doesn't know closes it, and agents read the `rigs` skill in parts when a read comes back shortened. ([#4032](https://github.com/mvschwarz/openrig/pull/4032), [#4064](https://github.com/mvschwarz/openrig/pull/4064), [#4029](https://github.com/mvschwarz/openrig/pull/4029), [#3971](https://github.com/mvschwarz/openrig/pull/3971), [#4059](https://github.com/mvschwarz/openrig/pull/4059), [#3992](https://github.com/mvschwarz/openrig/pull/3992), [#4063](https://github.com/mvschwarz/openrig/pull/4063), [#3976](https://github.com/mvschwarz/openrig/pull/3976), [#3972](https://github.com/mvschwarz/openrig/pull/3972), [#4025](https://github.com/mvschwarz/openrig/pull/4025))
|
|
31
121
|
|
|
32
122
|
Permission questions: a later question stays open when an earlier identical call finishes, a receiving agent judges a person's conditional answer and asks back only when it can't tell, and `rig seat status` says who a Claude Code seat's own prompts are asked of. ([#3990](https://github.com/mvschwarz/openrig/pull/3990), [#3992](https://github.com/mvschwarz/openrig/pull/3992))
|
|
33
123
|
|
|
34
|
-
|
|
124
|
+
### Held messages and delivery
|
|
35
125
|
|
|
36
126
|
A message held because a person was drafting in a seat's input is typed once the input is clear: once, in order behind earlier held messages from the same sender. A delivery drain or a pending restore still holds it. A message only queued for the hook bridge survives a daemon restart and is delivered once. Sends recognize a wrapped Claude clear hint, and a held message's summary names an empty composer's paste hold. ([#3991](https://github.com/mvschwarz/openrig/pull/3991), [#3898](https://github.com/mvschwarz/openrig/pull/3898), [#3988](https://github.com/mvschwarz/openrig/pull/3988))
|
|
37
127
|
|
|
38
|
-
|
|
128
|
+
### Seats, restore and recovery
|
|
39
129
|
|
|
40
130
|
A Codex seat waiting at Codex's "Hooks need review" menu reads as needing input in `rig ps`, `rig seat status` and activity, and its alert gives the command to attach to its terminal; nothing is approved for you. A resumed Claude seat waiting for sign-in reads as needing sign-in, not as a failed resume, and a failed Claude resume suggests updating Claude Code before a fresh start. `rig seat restart --keep-conversation` no longer refuses because OpenRig's own guidance changed, and a Codex seat whose filesystem envelope grants the project can commit there.
|
|
41
131
|
|
|
42
132
|
Community presets can declare their own activity hooks (`activity_hooks`), a fresh handover to one that declares `first_input` passes its restore packet as the first input, Hermes gets its first startup turn through a query file, and a community seat's fresh launch finds its harness past a newer session that lost it. A never-launched Claude seat keeps its chosen account, a seat joined with `rig attach` reads as attached, managed Claude restores read packaged role guidance, a fork handover's Claude is proven ready by its own session, and compaction recovery notices reach an agent able to act, or say no one could. ([#4052](https://github.com/mvschwarz/openrig/pull/4052), [#4045](https://github.com/mvschwarz/openrig/pull/4045), [#4035](https://github.com/mvschwarz/openrig/pull/4035), [#4009](https://github.com/mvschwarz/openrig/pull/4009), [#4031](https://github.com/mvschwarz/openrig/pull/4031), [#3962](https://github.com/mvschwarz/openrig/pull/3962), [#4051](https://github.com/mvschwarz/openrig/pull/4051), [#4044](https://github.com/mvschwarz/openrig/pull/4044), [#4053](https://github.com/mvschwarz/openrig/pull/4053), [#4036](https://github.com/mvschwarz/openrig/pull/4036), [#4011](https://github.com/mvschwarz/openrig/pull/4011), [#4042](https://github.com/mvschwarz/openrig/pull/4042), [#3996](https://github.com/mvschwarz/openrig/pull/3996), [#3995](https://github.com/mvschwarz/openrig/pull/3995), [#4008](https://github.com/mvschwarz/openrig/pull/4008), [#4034](https://github.com/mvschwarz/openrig/pull/4034), [#4054](https://github.com/mvschwarz/openrig/pull/4054))
|
|
43
133
|
|
|
44
|
-
|
|
134
|
+
### Lighter daemon reads
|
|
45
135
|
|
|
46
136
|
`/api/health` reads only the context samples added since its last read. Execution-view projections yield between rows and use indexed lookups for recent meaningful transitions. The roster read behind snapshots is indexed. ([#3993](https://github.com/mvschwarz/openrig/pull/3993), [#4062](https://github.com/mvschwarz/openrig/pull/4062), [#4037](https://github.com/mvschwarz/openrig/pull/4037))
|
|
47
137
|
|
|
48
|
-
|
|
138
|
+
### Accounts, queue and views
|
|
49
139
|
|
|
50
|
-
`rig provider account add` names a Claude or Codex account by label, and `rig provider assign <rig>` moves a whole rig's seats of one provider to it through a plan you read first (`--apply --plan <digest>` carries it out); `rig queue transfer` activates staged transfers through the daemon.
|
|
140
|
+
`rig provider account add` names a Claude or Codex account by label, and `rig provider assign <rig>` moves a whole rig's seats of one provider to it through a plan you read first (`--apply --plan <digest>` carries it out); `rig queue transfer` activates staged transfers through the daemon. With `policies.seat_scale.enabled` on, a rig listed in `policies.seat_scale.opt_in_rigs`, and `policies.seat_scale.observe` off (it's on by default and only logs what it would stop), the daemon can stop a provably idle seat in that rig; it's off unless you enable it. A seat's usage shows beside its configured context budget, the TUI's Feed lets you dismiss an informational update, and `rig scope slice set` and `rig scope mission set` write the fields the execution view reads. `rig terminal open <view> --provider herdr-app` reaches a herdr-app window on another machine. Queue and view fixes: the held view leaves out finished rows, `rig queue handoff-and-complete` records a resolution, model catalogs and kernel status read truly, and reminders say what held them. ([#3679](https://github.com/mvschwarz/openrig/pull/3679), [#3917](https://github.com/mvschwarz/openrig/pull/3917), [#3836](https://github.com/mvschwarz/openrig/pull/3836), [#4017](https://github.com/mvschwarz/openrig/pull/4017), [#3994](https://github.com/mvschwarz/openrig/pull/3994), [#3984](https://github.com/mvschwarz/openrig/pull/3984), [#3956](https://github.com/mvschwarz/openrig/pull/3956), [#4014](https://github.com/mvschwarz/openrig/pull/4014), [#4013](https://github.com/mvschwarz/openrig/pull/4013), [#4015](https://github.com/mvschwarz/openrig/pull/4015), [#4012](https://github.com/mvschwarz/openrig/pull/4012), [#4004](https://github.com/mvschwarz/openrig/pull/4004), [#4048](https://github.com/mvschwarz/openrig/pull/4048), [#4046](https://github.com/mvschwarz/openrig/pull/4046))
|
|
51
141
|
|
|
52
142
|
Experimental and unsupported, as before: the seat pool brings a drained agent back on its node from the right snapshot, but nothing arms a pool yet. ([#3949](https://github.com/mvschwarz/openrig/pull/3949))
|
|
53
143
|
|
|
54
144
|
Also: fixes to `rig daemon stop` and `rig daemon start --port 0`, `rig import` without a mode, checks a sandbox refused, older Git, and seat skills under another umask; migrations are found in their folder, and the docs cover 0.7.24's flags. ([#3957](https://github.com/mvschwarz/openrig/pull/3957), [#4027](https://github.com/mvschwarz/openrig/pull/4027), [#4021](https://github.com/mvschwarz/openrig/pull/4021), [#4028](https://github.com/mvschwarz/openrig/pull/4028), [#4049](https://github.com/mvschwarz/openrig/pull/4049), [#4058](https://github.com/mvschwarz/openrig/pull/4058), [#3845](https://github.com/mvschwarz/openrig/pull/3845), [#3985](https://github.com/mvschwarz/openrig/pull/3985), [#3986](https://github.com/mvschwarz/openrig/pull/3986), [#4043](https://github.com/mvschwarz/openrig/pull/4043), [#3979](https://github.com/mvschwarz/openrig/pull/3979), [#4022](https://github.com/mvschwarz/openrig/pull/4022))
|
|
55
145
|
|
|
56
|
-
|
|
146
|
+
### Behaviour that changed
|
|
57
147
|
|
|
58
148
|
- A team Claude Code seat's own permission prompt no longer falls back to the default person. It asks the person chosen for the seat (`rig seat set-permissions-to`), else the conversation that handed the seat its running work; with neither, no one is asked, and the prompt stays in the seat's terminal with its usual alert. A runner's permission request still goes to the default person. ([#3992](https://github.com/mvschwarz/openrig/pull/3992))
|
|
59
149
|
- A receiving agent named in `agents.operator_session` settles the permission requests you answered without a terminal prompt for each, as before 0.7.24. ([#3983](https://github.com/mvschwarz/openrig/pull/3983))
|
|
60
150
|
- The notice a new agent gets when its team is recorded waits in its queue without waking the agent or reaching its terminal, and `rig ps`, the seat pool and the parked-owner check don't count it as work. ([#4023](https://github.com/mvschwarz/openrig/pull/4023))
|
|
61
151
|
- The parked-owner check reminds the same owner at most once an hour by default; the interval is configurable. ([#4033](https://github.com/mvschwarz/openrig/pull/4033))
|
|
62
152
|
|
|
63
|
-
|
|
153
|
+
### Known issues
|
|
64
154
|
|
|
65
155
|
- An ordinary message the plugin's hook bridge handed back for typing can still read `sending` after a daemon crash. It's never sent again; if it didn't arrive, check the seat with `rig capture <seat>` and send it again.
|
|
66
156
|
- A fresh handover to a community harness that declares `first_input` hasn't been run with Hermes itself, and a very large restore packet hasn't been measured.
|
|
@@ -80,7 +170,7 @@ Also: fixes to `rig daemon stop` and `rig daemon start --port 0`, `rig import` w
|
|
|
80
170
|
- If you upgrade from 0.7.24, each seat may get the "Team seats and edges recorded" notice once more at the first start after the upgrade. It's information only.
|
|
81
171
|
- A new Claude Code seat can occasionally show ready before its startup prompt is submitted. If work does not start, open the seat's terminal and submit the staged startup prompt; draft-aware delivery may hold messages until the input clears.
|
|
82
172
|
|
|
83
|
-
|
|
173
|
+
### Credits
|
|
84
174
|
|
|
85
175
|
Thanks to Danny Keane, Dery Ferdika, Edward Bowie, Evgeny Zotov, Mike Schwarz, Roberto Campos, billbenetti, w4rc0n and ziadeh.
|
|
86
176
|
|
|
@@ -139,7 +229,7 @@ Experimental and unsupported, as before: `rig network peers` and `rig network re
|
|
|
139
229
|
|
|
140
230
|
### Terminal, Slack and tools
|
|
141
231
|
|
|
142
|
-
- Terminal: a Herdr tile gives its seat's size back however it closes, and focusing a tile fits its own seat to it. `rig terminal open <view> --provider orca` opens seats in an existing Orca workspace on macOS (opt-in). The daemon writes its Rex tile status as its own record, so an agent's own report in that pane stays. ([#3974](https://github.com/mvschwarz/openrig/pull/3974), [#3975](https://github.com/mvschwarz/openrig/pull/3975), [#3543](https://github.com/mvschwarz/openrig/pull/3543), [#3748](https://github.com/mvschwarz/openrig/pull/3748))
|
|
232
|
+
- Terminal: a Herdr tile gives its seat's size back however it closes, and focusing a tile fits its own seat to it. `rig terminal open <view> --provider orca` opens seats in an existing Orca workspace on macOS (experimental, opt-in). The daemon writes its Rex tile status as its own record, so an agent's own report in that pane stays. ([#3974](https://github.com/mvschwarz/openrig/pull/3974), [#3975](https://github.com/mvschwarz/openrig/pull/3975), [#3543](https://github.com/mvschwarz/openrig/pull/3543), [#3748](https://github.com/mvschwarz/openrig/pull/3748))
|
|
143
233
|
- Slack attaches a scoped grant's evidence file only from that grant's shared roots, and records where each inbound attachment came from beside it. ([#3952](https://github.com/mvschwarz/openrig/pull/3952), [#3914](https://github.com/mvschwarz/openrig/pull/3914))
|
|
144
234
|
- Docs: the ACP page shows how to add OpenRig as an agent in T3 Code and in Zed, and the packaged capability map teaches what 0.7.19 to 0.7.23 added. ([#3978](https://github.com/mvschwarz/openrig/pull/3978), [#3943](https://github.com/mvschwarz/openrig/pull/3943))
|
|
145
235
|
- Daemon routes read one host's attention (`?host=<id>`) and reader actions in pages, and a compaction trigger with `earlyAck: true` returns a Claude seat's admitted attempt ID. ([#3811](https://github.com/mvschwarz/openrig/pull/3811), [#3838](https://github.com/mvschwarz/openrig/pull/3838), [#3912](https://github.com/mvschwarz/openrig/pull/3912))
|
|
@@ -21,3 +21,14 @@ exact candidate/evidence and uncertainty. Pre-edit approval and independent QA
|
|
|
21
21
|
are required only when selected; do not ask an idle QA seat to authorize each
|
|
22
22
|
increment. When a selected check finds a defect, repair it and recheck the affected
|
|
23
23
|
outcome without adding a generic second review ladder.
|
|
24
|
+
|
|
25
|
+
Give review or any other work to a teammate as a queue row: `rig queue handoff`
|
|
26
|
+
of the row you hold, which keeps its return route, or `rig queue create` with the
|
|
27
|
+
work. A new row takes the route only when the rows you hold name one route;
|
|
28
|
+
otherwise pass `--return-route <that address>` (`rig queue show <your row> --full`
|
|
29
|
+
names it). A row with no return route ends with a reply paragraph naming the
|
|
30
|
+
person's seat instead: copy that paragraph into the new row, as it asks, and pass
|
|
31
|
+
`--return-route <that seat>`. Without it, the new row takes the route of another row
|
|
32
|
+
you hold, which can belong to someone else. Then the teammate's questions and
|
|
33
|
+
prompts reach the person. Don't
|
|
34
|
+
steer a teammate with sends into its terminal.
|
|
@@ -13,6 +13,11 @@ your profile are capabilities, not a mandatory reading list. No composition mean
|
|
|
13
13
|
light Part A. Role names and idle seats add no gates. Explicit rigor and authored
|
|
14
14
|
wave boundaries retain their named checks.
|
|
15
15
|
|
|
16
|
+
Your work comes to you as a queue row. If your queue holds only OpenRig's
|
|
17
|
+
information-only notice that the team was recorded, wait for a row assigned to
|
|
18
|
+
you rather than starting a review on your own: work that isn't a row carries no
|
|
19
|
+
return route, so the person never sees the prompts it raises.
|
|
20
|
+
|
|
16
21
|
## Working contract
|
|
17
22
|
|
|
18
23
|
Read the relevant diff and exercise the public journey. Compare promised and
|
|
@@ -53,7 +53,15 @@ The registry requires a hosts array, unique non-empty ids and a supported
|
|
|
53
53
|
transport. SSH needs a non-empty target; user and notes are optional. HTTP needs
|
|
54
54
|
a URL and accepts at most one of bearer_env or bearer_file. Omitting both is
|
|
55
55
|
valid for a tokenless target. A configured but unavailable bearer is a permission
|
|
56
|
-
failure, not anonymous fallback.
|
|
56
|
+
failure, not anonymous fallback. The default scoped launch filters the bearer
|
|
57
|
+
variables named by a readable, parseable `hosts.yaml` from inherited values. If
|
|
58
|
+
the registry can't be read or parsed, its bearer variables aren't excluded by
|
|
59
|
+
this filter. With `terminal.inherit_tmux_environment` on, OpenRig skips the
|
|
60
|
+
scoped environment, so credential variables already in tmux's environment can
|
|
61
|
+
reach a seat. For a seat that runs cross-host `rig` commands, point that host's
|
|
62
|
+
entry at a `bearer_file` readable by the process sending the command. Don't put
|
|
63
|
+
the token itself in the seat's `env:`: spec values travel with exports and
|
|
64
|
+
bundles. Host ids also have reserved-name validation;
|
|
57
65
|
use the actual validator's error rather than inventing an alias that collides.
|
|
58
66
|
|
|
59
67
|
## Address the intended operation
|
|
@@ -38,7 +38,8 @@ behave; this skill is the loop around them.
|
|
|
38
38
|
because your seat has no terminal and `rig send` can't reach it:
|
|
39
39
|
|
|
40
40
|
> To ask me anything, create a queue item to `<your seat>` (`rig queue create --destination <your seat> ...`), then
|
|
41
|
-
> block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you.
|
|
41
|
+
> block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. If
|
|
42
|
+
> the block is refused because I've already answered, read my answer on that item and carry on. I
|
|
42
43
|
> check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
|
|
43
44
|
> permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
|
|
44
45
|
> doing and any escalation's id, unless a question about that prompt is already open at my seat. Whoever sent the
|
|
@@ -49,12 +50,19 @@ behave; this skill is the loop around them.
|
|
|
49
50
|
> stays a no. If they gave no answer, or their words don't clearly
|
|
50
51
|
> pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything, and
|
|
51
52
|
> never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
|
|
52
|
-
> unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item.
|
|
53
|
-
>
|
|
54
|
-
>
|
|
53
|
+
> unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. Commit
|
|
54
|
+
> only as an author the person gave you, one they approved when you proposed it, or the one the repository already
|
|
55
|
+
> has (`git config user.name` and `user.email`); if there's none, ask me, and never choose one without their say.
|
|
56
|
+
> When you finish, put the outcome in this item's resolution, with what
|
|
57
|
+
> the latest review found, and any file in its evidence ref.
|
|
55
58
|
- With an address of this chat's own (`returnRoute` in the result), with or without a seat, end the body with the result
|
|
56
59
|
route instead:
|
|
57
60
|
|
|
61
|
+
> Commit only as an author the person gave you, one they approved when you proposed it, or the one the repository
|
|
62
|
+
> already has (`git config user.name` and `user.email`); if there's none, ask the person with a task to this item's
|
|
63
|
+
> return route and block this item on it (`rig queue block <this id> --on <question id>`), so their answer wakes
|
|
64
|
+
> you (if the block is refused because they've already answered, read their answer on that task and carry on), and
|
|
65
|
+
> never choose one without their say.
|
|
58
66
|
> When you finish, send the result as a task to this item's return route (`rig queue show <this id>` names it):
|
|
59
67
|
> `rig queue create --destination <that address> --summary "<the result in a line>" --body-file <file>`. Then
|
|
60
68
|
> close this item with the result. A close by itself doesn't reach the person's chat, and the task does. If you
|
|
@@ -95,7 +103,9 @@ task, without anyone asking you to check.
|
|
|
95
103
|
- A Codex whose `codex queue` has no `--resume` (Codex 0.171.0 has it) gets the tasks at this chat's next turn, not
|
|
96
104
|
while it's idle. The hooks say so once in the chat: tell the person in plain words.
|
|
97
105
|
- The hooks read only the addresses recorded under this chat's key, from OpenRig's own record, and check them for new
|
|
98
|
-
tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat.
|
|
106
|
+
tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat. In
|
|
107
|
+
Claude Code they check for up to two hours after each turn, so while work you handed over is open, keep the
|
|
108
|
+
background wait the rigs skill gives running alongside them, and start it again whenever it ends.
|
|
99
109
|
- Each one says it came from OpenRig's hook bridge and names its sender as OpenRig recorded it. It's a task like any
|
|
100
110
|
other: show it to the person and record their words, as below.
|
|
101
111
|
- A wake comes only when your turn ends, so while the team works, end your turn rather than watching its seats
|
|
@@ -52,6 +52,9 @@ source and its reply paragraph do); otherwise the
|
|
|
52
52
|
registered human channel. A terminal attachment, the shared TUI included, is not
|
|
53
53
|
a person's address. When you finish work that has a `returnRoute` yourself, send the result there
|
|
54
54
|
as a task before you close it: a close by itself doesn't reach that conversation.
|
|
55
|
+
When the team's work needs something only the person can give (a choice that's theirs to make,
|
|
56
|
+
such as a commit identity), ask them with a question row to that return address before you hold the
|
|
57
|
+
work, and say what's waiting on them. Don't hold it silently or decide it for them.
|
|
55
58
|
|
|
56
59
|
A registered person who writes to you (a row from their `<id>@external` address,
|
|
57
60
|
however it reached you) is one of the people you work for. Answer them where
|
|
@@ -445,9 +448,11 @@ configurations, as below; do not take the pin from a cached page summary.
|
|
|
445
448
|
with the prompt's own text and choices verbatim, the seat, what it was doing
|
|
446
449
|
and the escalation's id, and block the escalation on it
|
|
447
450
|
(`rig queue block <escalation id> --on <task id>`) so their answer wakes
|
|
448
|
-
you
|
|
449
|
-
|
|
450
|
-
|
|
451
|
+
you (if the block is refused because they've already answered, read their
|
|
452
|
+
answer on that task and carry on). Pass on their recorded words as below,
|
|
453
|
+
starting the `--reason` with `task <id>:`, then close the escalation with the
|
|
454
|
+
key you sent and what the seat did. Never leave it on the shared TUI or wait
|
|
455
|
+
in this pane for someone
|
|
451
456
|
who answers elsewhere. If you hold no route (no return address, nobody
|
|
452
457
|
registered, nobody talking to you here), say so plainly here and on the
|
|
453
458
|
escalation; don't name a recipient you haven't reached.
|
package/dist/build-info.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// GENERATED by scripts/build-package.sh — the packaged build-identity stamp.
|
|
2
2
|
export const BUILD_INFO = {
|
|
3
|
-
semver: "0.7.
|
|
4
|
-
commit: "
|
|
3
|
+
semver: "0.7.26",
|
|
4
|
+
commit: "78e8058bfdddd90b08f3f292d4c00fa43351142b",
|
|
5
5
|
dirty: false,
|
|
6
|
-
builtAt: "2026-11-
|
|
6
|
+
builtAt: "2026-11-29T08:09:28Z",
|
|
7
7
|
};
|
|
8
8
|
export function stampFields(info = BUILD_INFO) {
|
|
9
9
|
if (!info.commit) return {};
|
package/dist/cli-error.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ export interface RunProgramIo {
|
|
|
32
32
|
* error thrown inside an action, so a human run would otherwise be SILENT).
|
|
33
33
|
* Returns true when it handled `e`. A bad/slow response is NEVER rendered with
|
|
34
34
|
* daemon-not-running language — the request was delivered; the outcome is unknown.
|
|
35
|
+
* JSON also carries a stable `code` and the `outcome` (#4101), so a script can tell a daemon that didn't answer in
|
|
36
|
+
* time from one it couldn't reach, and neither from an empty result; the prose and the exit status are unchanged.
|
|
35
37
|
*/
|
|
36
38
|
export declare function renderDaemonTransportError(e: unknown, io: {
|
|
37
39
|
out: (l: string) => void;
|
package/dist/cli-error.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-error.d.ts","sourceRoot":"","sources":["../src/cli-error.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMzC;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMpD;AAED,wFAAwF;AACxF,wBAAgB,OAAO,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAO7E;AAED,mGAAmG;AACnG,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAShE;AAQD,yFAAyF;AACzF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAQ1D;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAIpG;AAED,4FAA4F;AAC5F,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAMxD;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B;AAED
|
|
1
|
+
{"version":3,"file":"cli-error.d.ts","sourceRoot":"","sources":["../src/cli-error.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMzC;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMpD;AAED,wFAAwF;AACxF,wBAAgB,OAAO,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAO7E;AAED,mGAAmG;AACnG,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAShE;AAQD,yFAAyF;AACzF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAQ1D;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAIpG;AAED,4FAA4F;AAC5F,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAMxD;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B;AAED;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,CAAC,EAAE,OAAO,EACV,EAAE,EAAE;IAAE,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GACxE,OAAO,CA4DT;AAED;;mFAEmF;AACnF,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,UAAQ,GAAG,OAAO,CAE5E;AAED;;;GAGG;AACH,wBAAsB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAE,YAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAgDzG"}
|