@wjarka/cezarion 0.17.0-pr848.3486 → 0.18.0-dev.5793
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/bin.js +2 -0
- package/cez.js +2 -0
- package/cezarion.js +2 -0
- package/dist/cez.js +2 -0
- package/dist/cezarion.js +2 -0
- package/dist/hsq.js +2 -0
- package/dist/index.js +1 -781
- package/dist/server/app-type.d.ts +1 -6
- package/dist/server/app-type.js +1 -2
- package/hsq.js +2 -0
- package/package.json +20 -59
- package/web/dist/assets/activity-motion-0wHCeUs7.css +1 -0
- package/web/dist/assets/activity-motion-2nE59DAT.js +2 -0
- package/web/dist/assets/activity-route-R9lPc2jy.js +1 -0
- package/web/dist/assets/agent-accounts-f1cxwgfz.js +18 -0
- package/web/dist/assets/alert-dialog-Dj464rjk.js +1 -0
- package/web/dist/assets/arrow-right-Dh_Lx3um.js +1 -0
- package/web/dist/assets/button-CHUAMTHK.js +3 -0
- package/web/dist/assets/centered-state-DGyy0SuA.js +1 -0
- package/web/dist/assets/cez-idle-EVoUsgU3.js +1 -0
- package/web/dist/assets/commit-diff-panel-BJyNYmCY.js +1 -0
- package/web/dist/assets/control-locations-C9II3kPz.js +1 -0
- package/web/dist/assets/design-icons-DmYTv2r1.js +1 -0
- package/web/dist/assets/diff-D_9MtICR.js +3 -0
- package/web/dist/assets/diff-controls-BR2uqhwG.js +1 -0
- package/web/dist/assets/diff-view-xRPxXHXl.js +11 -0
- package/web/dist/assets/dropdown-menu-DhrBcVgr.js +1 -0
- package/web/dist/assets/es2015-D345RR4o.js +41 -0
- package/web/dist/assets/file-preview-D08Kq15E.js +2 -0
- package/web/dist/assets/git-toolbar-D9taioU5.js +1 -0
- package/web/dist/assets/github-bv_pBGc5.js +1 -0
- package/web/dist/assets/github-sidebar-model-B0Ufci5S.js +1 -0
- package/web/dist/assets/global-activity-route-QxTPDyx-.js +1 -0
- package/web/dist/assets/hourglass-B0lPAJvT.js +1 -0
- package/web/dist/assets/{image-preview-C_t9q45f.js → image-preview-Cq1vDiEo.js} +1 -1
- package/web/dist/assets/index-B18AqW0Z.css +1 -0
- package/web/dist/assets/index-DgU3yYUl.js +14 -0
- package/web/dist/assets/index.global-D3Ga_D3Y.js +1 -0
- package/web/dist/assets/live-protocol-BVn0UA_g.js +64 -0
- package/web/dist/assets/live-refetch-BdnmTJ_8.js +1 -0
- package/web/dist/assets/{live-worker-BizfZSoh.ts → live-worker-BWdeGzQX.ts} +2 -1
- package/web/dist/assets/loader-circle-CZkGEdoI.js +1 -0
- package/web/dist/assets/markdown-D7DUNWcJ.js +6 -0
- package/web/dist/assets/mermaid.min-3O9YjB2l.js +1 -0
- package/web/dist/assets/message-square-B-MD-8rD.js +1 -0
- package/web/dist/assets/{nav-row-styles-AoIhhIwf.js → nav-row-styles-BZUUavOF.js} +1 -1
- package/web/dist/assets/popover-DRcRI46x.js +1 -0
- package/web/dist/assets/preview-pane-connected-cD-MTiVN.js +3 -0
- package/web/dist/assets/project-router-MMOk9VbW.js +1 -0
- package/web/dist/assets/project-scope-context-B3M-u8R0.js +4 -0
- package/web/dist/assets/queries-DORTKwyN.js +1 -0
- package/web/dist/assets/repo-git-E_4Ighvg.js +1 -0
- package/web/dist/assets/report-reader-XVNQsXB4.js +1 -0
- package/web/dist/assets/report-title-D4Mbu2Er.js +1 -0
- package/web/dist/assets/reports-B7QAzibP.css +1 -0
- package/web/dist/assets/reports-B_PVTBzP.js +1 -0
- package/web/dist/assets/run-header-wm0gSs6X.js +2 -0
- package/web/dist/assets/skill-empty-hint-YDmkqgo-.js +1 -0
- package/web/dist/assets/skills-D2RLxUIc.js +1 -0
- package/web/dist/assets/skills-DFBiAuJG.js +1 -0
- package/web/dist/assets/skills-workflows-C21NystW.css +1 -0
- package/web/dist/assets/sortable.esm-zp_qkYGV.js +5 -0
- package/web/dist/assets/tab-link-BvoGfK8S.js +1 -0
- package/web/dist/assets/task-changes-DNtkfFzQ.js +1 -0
- package/web/dist/assets/task-commits-CivO-OrN.js +1 -0
- package/web/dist/assets/task-files-dczkxV_G.js +1 -0
- package/web/dist/assets/task-github-item-DKV4yrcf.js +1 -0
- package/web/dist/assets/task-thread-DIaTTGEF.js +9 -0
- package/web/dist/assets/textarea-DlVUfdWG.js +1 -0
- package/web/dist/assets/thread-state-DIozHuHb.js +4 -0
- package/web/dist/assets/toaster-B1MyeHiE.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-D58ayxI4.js +1 -0
- package/web/dist/assets/useInfiniteQuery-BbYMWe23.js +1 -0
- package/web/dist/assets/useQuery-CqqnAJvu.js +1 -0
- package/web/dist/assets/workflows-YMEsGXeB.js +7 -0
- package/web/dist/assets/ws-BtSVmivO.js +1 -0
- package/web/dist/assets/zoomable-image-5pOUaPEg.js +1 -0
- package/web/dist/index.html +31 -15
- package/web/dist/live-worker.js +2 -2
- package/LICENSE +0 -22
- package/README.md +0 -1745
- package/dist/agent-config/account-identity.d.ts +0 -28
- package/dist/agent-config/account-identity.js +0 -131
- package/dist/agent-config/account-identity.js.map +0 -1
- package/dist/agent-config/catalog.d.ts +0 -70
- package/dist/agent-config/catalog.js +0 -383
- package/dist/agent-config/catalog.js.map +0 -1
- package/dist/agent-config/files.d.ts +0 -42
- package/dist/agent-config/files.js +0 -115
- package/dist/agent-config/files.js.map +0 -1
- package/dist/agent-config/model-settings/claude.d.ts +0 -2
- package/dist/agent-config/model-settings/claude.js +0 -11
- package/dist/agent-config/model-settings/claude.js.map +0 -1
- package/dist/agent-config/model-settings/codex.d.ts +0 -2
- package/dist/agent-config/model-settings/codex.js +0 -16
- package/dist/agent-config/model-settings/codex.js.map +0 -1
- package/dist/agent-config/model-settings/opencode.d.ts +0 -2
- package/dist/agent-config/model-settings/opencode.js +0 -8
- package/dist/agent-config/model-settings/opencode.js.map +0 -1
- package/dist/agent-config/model-settings/pi.d.ts +0 -2
- package/dist/agent-config/model-settings/pi.js +0 -38
- package/dist/agent-config/model-settings/pi.js.map +0 -1
- package/dist/agent-config/model-settings/shared.d.ts +0 -12
- package/dist/agent-config/model-settings/shared.js +0 -100
- package/dist/agent-config/model-settings/shared.js.map +0 -1
- package/dist/agent-config/model-settings/types.d.ts +0 -9
- package/dist/agent-config/model-settings/types.js +0 -2
- package/dist/agent-config/model-settings/types.js.map +0 -1
- package/dist/agent-config/models.d.ts +0 -9
- package/dist/agent-config/models.js +0 -40
- package/dist/agent-config/models.js.map +0 -1
- package/dist/agent-config/seed.d.ts +0 -15
- package/dist/agent-config/seed.js +0 -94
- package/dist/agent-config/seed.js.map +0 -1
- package/dist/agent-config/service.d.ts +0 -44
- package/dist/agent-config/service.js +0 -72
- package/dist/agent-config/service.js.map +0 -1
- package/dist/agent-config/validate.d.ts +0 -18
- package/dist/agent-config/validate.js +0 -82
- package/dist/agent-config/validate.js.map +0 -1
- package/dist/application-update/bin-recovery.d.ts +0 -5
- package/dist/application-update/bin-recovery.js +0 -96
- package/dist/application-update/bin-recovery.js.map +0 -1
- package/dist/application-update/discovery.d.ts +0 -22
- package/dist/application-update/discovery.js +0 -91
- package/dist/application-update/discovery.js.map +0 -1
- package/dist/application-update/helper.d.ts +0 -57
- package/dist/application-update/helper.js +0 -369
- package/dist/application-update/helper.js.map +0 -1
- package/dist/application-update/launcher.d.ts +0 -12
- package/dist/application-update/launcher.js +0 -59
- package/dist/application-update/launcher.js.map +0 -1
- package/dist/application-update/lock.d.ts +0 -4
- package/dist/application-update/lock.js +0 -70
- package/dist/application-update/lock.js.map +0 -1
- package/dist/application-update/npm-process.d.ts +0 -17
- package/dist/application-update/npm-process.js +0 -133
- package/dist/application-update/npm-process.js.map +0 -1
- package/dist/application-update/service.d.ts +0 -69
- package/dist/application-update/service.js +0 -456
- package/dist/application-update/service.js.map +0 -1
- package/dist/archive-on-merge-setting.d.ts +0 -15
- package/dist/archive-on-merge-setting.js +0 -14
- package/dist/archive-on-merge-setting.js.map +0 -1
- package/dist/artifacts/cli.d.ts +0 -9
- package/dist/artifacts/cli.js +0 -59
- package/dist/artifacts/cli.js.map +0 -1
- package/dist/artifacts/lifecycle.d.ts +0 -4
- package/dist/artifacts/lifecycle.js +0 -42
- package/dist/artifacts/lifecycle.js.map +0 -1
- package/dist/artifacts/resolve.d.ts +0 -18
- package/dist/artifacts/resolve.js +0 -103
- package/dist/artifacts/resolve.js.map +0 -1
- package/dist/artifacts/store.d.ts +0 -8
- package/dist/artifacts/store.js +0 -323
- package/dist/artifacts/store.js.map +0 -1
- package/dist/automations/automation-cli.d.ts +0 -59
- package/dist/automations/automation-cli.js +0 -509
- package/dist/automations/automation-cli.js.map +0 -1
- package/dist/automations/builtin-skill.d.ts +0 -7
- package/dist/automations/builtin-skill.js +0 -14
- package/dist/automations/builtin-skill.js.map +0 -1
- package/dist/automations/coordinator.d.ts +0 -33
- package/dist/automations/coordinator.js +0 -86
- package/dist/automations/coordinator.js.map +0 -1
- package/dist/automations/github-baseline.d.ts +0 -3
- package/dist/automations/github-baseline.js +0 -17
- package/dist/automations/github-baseline.js.map +0 -1
- package/dist/automations/github-poller.d.ts +0 -93
- package/dist/automations/github-poller.js +0 -303
- package/dist/automations/github-poller.js.map +0 -1
- package/dist/automations/prompts.d.ts +0 -12
- package/dist/automations/prompts.js +0 -160
- package/dist/automations/prompts.js.map +0 -1
- package/dist/automations/schedule-runner.d.ts +0 -149
- package/dist/automations/schedule-runner.js +0 -513
- package/dist/automations/schedule-runner.js.map +0 -1
- package/dist/automations/scheduler.d.ts +0 -87
- package/dist/automations/scheduler.js +0 -434
- package/dist/automations/scheduler.js.map +0 -1
- package/dist/automations/service.d.ts +0 -777
- package/dist/automations/service.js +0 -444
- package/dist/automations/service.js.map +0 -1
- package/dist/automations/store.d.ts +0 -160
- package/dist/automations/store.js +0 -738
- package/dist/automations/store.js.map +0 -1
- package/dist/automations/task-template.d.ts +0 -59
- package/dist/automations/task-template.js +0 -273
- package/dist/automations/task-template.js.map +0 -1
- package/dist/automations/tool-adapter.d.ts +0 -6
- package/dist/automations/tool-adapter.js +0 -108
- package/dist/automations/tool-adapter.js.map +0 -1
- package/dist/automations/types.d.ts +0 -1
- package/dist/automations/types.js +0 -2
- package/dist/automations/types.js.map +0 -1
- package/dist/autosave-cleanup.d.ts +0 -26
- package/dist/autosave-cleanup.js +0 -87
- package/dist/autosave-cleanup.js.map +0 -1
- package/dist/autosave-git.d.ts +0 -21
- package/dist/autosave-git.js +0 -204
- package/dist/autosave-git.js.map +0 -1
- package/dist/autosave-group.d.ts +0 -8
- package/dist/autosave-group.js +0 -61
- package/dist/autosave-group.js.map +0 -1
- package/dist/autosave-holders.d.ts +0 -34
- package/dist/autosave-holders.js +0 -204
- package/dist/autosave-holders.js.map +0 -1
- package/dist/autosave-windows.d.ts +0 -25
- package/dist/autosave-windows.js +0 -156
- package/dist/autosave-windows.js.map +0 -1
- package/dist/ci-wait/client.d.ts +0 -28
- package/dist/ci-wait/client.js +0 -105
- package/dist/ci-wait/client.js.map +0 -1
- package/dist/ci-wait/controller.d.ts +0 -780
- package/dist/ci-wait/controller.js +0 -334
- package/dist/ci-wait/controller.js.map +0 -1
- package/dist/ci-wait/errors.d.ts +0 -27
- package/dist/ci-wait/errors.js +0 -253
- package/dist/ci-wait/errors.js.map +0 -1
- package/dist/ci-wait/github.d.ts +0 -87
- package/dist/ci-wait/github.js +0 -278
- package/dist/ci-wait/github.js.map +0 -1
- package/dist/ci-wait/injection.d.ts +0 -3
- package/dist/ci-wait/injection.js +0 -26
- package/dist/ci-wait/injection.js.map +0 -1
- package/dist/ci-wait/mcp.d.ts +0 -3
- package/dist/ci-wait/mcp.js +0 -30
- package/dist/ci-wait/mcp.js.map +0 -1
- package/dist/ci-wait/resources.d.ts +0 -7
- package/dist/ci-wait/resources.js +0 -32
- package/dist/ci-wait/resources.js.map +0 -1
- package/dist/ci-wait/supervisor.d.ts +0 -29
- package/dist/ci-wait/supervisor.js +0 -260
- package/dist/ci-wait/supervisor.js.map +0 -1
- package/dist/ci-wait/tools.d.ts +0 -830
- package/dist/ci-wait/tools.js +0 -209
- package/dist/ci-wait/tools.js.map +0 -1
- package/dist/config.d.ts +0 -68
- package/dist/config.js +0 -209
- package/dist/config.js.map +0 -1
- package/dist/contract/active-provider.d.ts +0 -12
- package/dist/contract/agent-config.d.ts +0 -160
- package/dist/contract/agent-profiles.d.ts +0 -369
- package/dist/contract/application-update.d.ts +0 -32
- package/dist/contract/artifacts.d.ts +0 -83
- package/dist/contract/ask-schema.d.ts +0 -50
- package/dist/contract/ask.d.ts +0 -9
- package/dist/contract/attachments.d.ts +0 -35
- package/dist/contract/attention.d.ts +0 -91
- package/dist/contract/automation-requests.d.ts +0 -308
- package/dist/contract/automation-schedule.d.ts +0 -89
- package/dist/contract/automation-storage.d.ts +0 -512
- package/dist/contract/automations.d.ts +0 -1542
- package/dist/contract/ci-wait.d.ts +0 -222
- package/dist/contract/config-requests.d.ts +0 -36
- package/dist/contract/conversations.d.ts +0 -401
- package/dist/contract/defined.d.ts +0 -8
- package/dist/contract/delegation.d.ts +0 -2165
- package/dist/contract/discovery.d.ts +0 -228
- package/dist/contract/effort.d.ts +0 -18
- package/dist/contract/events.d.ts +0 -303
- package/dist/contract/github-requests.d.ts +0 -26
- package/dist/contract/github.d.ts +0 -732
- package/dist/contract/handoff.d.ts +0 -43
- package/dist/contract/health.d.ts +0 -124
- package/dist/contract/image-path.d.ts +0 -6
- package/dist/contract/index.d.ts +0 -59
- package/dist/contract/index.js +0 -6035
- package/dist/contract/live-coordination.d.ts +0 -158
- package/dist/contract/live-limits.d.ts +0 -8
- package/dist/contract/live.d.ts +0 -123
- package/dist/contract/pending-ask.d.ts +0 -58
- package/dist/contract/permissions.d.ts +0 -54
- package/dist/contract/preview.d.ts +0 -560
- package/dist/contract/project-limits.d.ts +0 -33
- package/dist/contract/projects.d.ts +0 -716
- package/dist/contract/provider-requests.d.ts +0 -77
- package/dist/contract/query-requests.d.ts +0 -52
- package/dist/contract/repo-requests.d.ts +0 -12
- package/dist/contract/repo.d.ts +0 -515
- package/dist/contract/run-labels.d.ts +0 -8
- package/dist/contract/run-limits.d.ts +0 -8
- package/dist/contract/run-predicates.d.ts +0 -32
- package/dist/contract/run-requests.d.ts +0 -33
- package/dist/contract/run-search.d.ts +0 -193
- package/dist/contract/runs.d.ts +0 -5711
- package/dist/contract/scheduled-tasks.d.ts +0 -187
- package/dist/contract/skills.d.ts +0 -56
- package/dist/contract/team-skill-ref.d.ts +0 -10
- package/dist/contract/tool-display.d.ts +0 -25
- package/dist/contract/ui-state-requests.d.ts +0 -60
- package/dist/contract/version.d.ts +0 -3
- package/dist/contract/voice.d.ts +0 -213
- package/dist/contract/waits.d.ts +0 -1367
- package/dist/contract/workflow-file.d.ts +0 -37
- package/dist/contract/workflow-requests.d.ts +0 -7
- package/dist/contract/workflows.d.ts +0 -250
- package/dist/contract/workspace.d.ts +0 -631
- package/dist/contract/zoned-time.d.ts +0 -26
- package/dist/core/agent-env.d.ts +0 -30
- package/dist/core/agent-env.js +0 -400
- package/dist/core/agent-env.js.map +0 -1
- package/dist/core/agent-model-policy.d.ts +0 -10
- package/dist/core/agent-model-policy.js +0 -36
- package/dist/core/agent-model-policy.js.map +0 -1
- package/dist/core/agent-profiles.d.ts +0 -50
- package/dist/core/agent-profiles.js +0 -105
- package/dist/core/agent-profiles.js.map +0 -1
- package/dist/core/agent-runner.d.ts +0 -394
- package/dist/core/agent-runner.js +0 -96
- package/dist/core/agent-runner.js.map +0 -1
- package/dist/core/ask.d.ts +0 -79
- package/dist/core/ask.js +0 -232
- package/dist/core/ask.js.map +0 -1
- package/dist/core/backend-detect.d.ts +0 -17
- package/dist/core/backend-detect.js +0 -209
- package/dist/core/backend-detect.js.map +0 -1
- package/dist/core/claude-cli-runner.d.ts +0 -72
- package/dist/core/claude-cli-runner.js +0 -910
- package/dist/core/claude-cli-runner.js.map +0 -1
- package/dist/core/claude-model-catalog.d.ts +0 -16
- package/dist/core/claude-model-catalog.js +0 -198
- package/dist/core/claude-model-catalog.js.map +0 -1
- package/dist/core/claude-stream.d.ts +0 -31
- package/dist/core/claude-stream.js +0 -68
- package/dist/core/claude-stream.js.map +0 -1
- package/dist/core/claude-ui-mapper.d.ts +0 -80
- package/dist/core/claude-ui-mapper.js +0 -696
- package/dist/core/claude-ui-mapper.js.map +0 -1
- package/dist/core/codex-app-server-runner.d.ts +0 -61
- package/dist/core/codex-app-server-runner.js +0 -1269
- package/dist/core/codex-app-server-runner.js.map +0 -1
- package/dist/core/codex-app-server-transport.d.ts +0 -52
- package/dist/core/codex-app-server-transport.js +0 -199
- package/dist/core/codex-app-server-transport.js.map +0 -1
- package/dist/core/codex-approvals.d.ts +0 -12
- package/dist/core/codex-approvals.js +0 -161
- package/dist/core/codex-approvals.js.map +0 -1
- package/dist/core/codex-model-catalog.d.ts +0 -10
- package/dist/core/codex-model-catalog.js +0 -110
- package/dist/core/codex-model-catalog.js.map +0 -1
- package/dist/core/codex-native-frames.d.ts +0 -10
- package/dist/core/codex-native-frames.js +0 -47
- package/dist/core/codex-native-frames.js.map +0 -1
- package/dist/core/codex-permissions.d.ts +0 -6
- package/dist/core/codex-permissions.js +0 -27
- package/dist/core/codex-permissions.js.map +0 -1
- package/dist/core/codex-stream-error.d.ts +0 -2
- package/dist/core/codex-stream-error.js +0 -12
- package/dist/core/codex-stream-error.js.map +0 -1
- package/dist/core/codex-turn-outcome.d.ts +0 -8
- package/dist/core/codex-turn-outcome.js +0 -30
- package/dist/core/codex-turn-outcome.js.map +0 -1
- package/dist/core/codex-ui-mapper.d.ts +0 -112
- package/dist/core/codex-ui-mapper.js +0 -808
- package/dist/core/codex-ui-mapper.js.map +0 -1
- package/dist/core/cursor-acp-runner.d.ts +0 -34
- package/dist/core/cursor-acp-runner.js +0 -777
- package/dist/core/cursor-acp-runner.js.map +0 -1
- package/dist/core/cursor-cli-flags.d.ts +0 -19
- package/dist/core/cursor-cli-flags.js +0 -47
- package/dist/core/cursor-cli-flags.js.map +0 -1
- package/dist/core/cursor-config-options.d.ts +0 -18
- package/dist/core/cursor-config-options.js +0 -31
- package/dist/core/cursor-config-options.js.map +0 -1
- package/dist/core/cursor-model-catalog.d.ts +0 -45
- package/dist/core/cursor-model-catalog.js +0 -300
- package/dist/core/cursor-model-catalog.js.map +0 -1
- package/dist/core/cursor-print-capabilities.d.ts +0 -16
- package/dist/core/cursor-print-capabilities.js +0 -141
- package/dist/core/cursor-print-capabilities.js.map +0 -1
- package/dist/core/cursor-print-process.d.ts +0 -31
- package/dist/core/cursor-print-process.js +0 -117
- package/dist/core/cursor-print-process.js.map +0 -1
- package/dist/core/cursor-print-runner.d.ts +0 -31
- package/dist/core/cursor-print-runner.js +0 -555
- package/dist/core/cursor-print-runner.js.map +0 -1
- package/dist/core/cursor-print-tool-catalog.d.ts +0 -10
- package/dist/core/cursor-print-tool-catalog.js +0 -91
- package/dist/core/cursor-print-tool-catalog.js.map +0 -1
- package/dist/core/cursor-print-ui-mapper.d.ts +0 -47
- package/dist/core/cursor-print-ui-mapper.js +0 -553
- package/dist/core/cursor-print-ui-mapper.js.map +0 -1
- package/dist/core/cursor-provider-error.d.ts +0 -33
- package/dist/core/cursor-provider-error.js +0 -68
- package/dist/core/cursor-provider-error.js.map +0 -1
- package/dist/core/cursor-runner.d.ts +0 -24
- package/dist/core/cursor-runner.js +0 -149
- package/dist/core/cursor-runner.js.map +0 -1
- package/dist/core/cursor-ui-mapper.d.ts +0 -29
- package/dist/core/cursor-ui-mapper.js +0 -275
- package/dist/core/cursor-ui-mapper.js.map +0 -1
- package/dist/core/defined.d.ts +0 -1
- package/dist/core/defined.js +0 -2
- package/dist/core/defined.js.map +0 -1
- package/dist/core/hook-items.d.ts +0 -14
- package/dist/core/hook-items.js +0 -13
- package/dist/core/hook-items.js.map +0 -1
- package/dist/core/host-model-catalog.d.ts +0 -7
- package/dist/core/host-model-catalog.js +0 -21
- package/dist/core/host-model-catalog.js.map +0 -1
- package/dist/core/input-submissions.d.ts +0 -14
- package/dist/core/input-submissions.js +0 -26
- package/dist/core/input-submissions.js.map +0 -1
- package/dist/core/managed-session.d.ts +0 -6
- package/dist/core/managed-session.js +0 -116
- package/dist/core/managed-session.js.map +0 -1
- package/dist/core/model-identity.d.ts +0 -108
- package/dist/core/model-identity.js +0 -137
- package/dist/core/model-identity.js.map +0 -1
- package/dist/core/model-presets.d.ts +0 -10
- package/dist/core/model-presets.js +0 -77
- package/dist/core/model-presets.js.map +0 -1
- package/dist/core/ndjson.d.ts +0 -6
- package/dist/core/ndjson.js +0 -23
- package/dist/core/ndjson.js.map +0 -1
- package/dist/core/omp-model-catalog.d.ts +0 -43
- package/dist/core/omp-model-catalog.js +0 -205
- package/dist/core/omp-model-catalog.js.map +0 -1
- package/dist/core/omp-runner.d.ts +0 -72
- package/dist/core/omp-runner.js +0 -832
- package/dist/core/omp-runner.js.map +0 -1
- package/dist/core/omp-ui-mapper.d.ts +0 -106
- package/dist/core/omp-ui-mapper.js +0 -856
- package/dist/core/omp-ui-mapper.js.map +0 -1
- package/dist/core/opencode-model-catalog.d.ts +0 -32
- package/dist/core/opencode-model-catalog.js +0 -215
- package/dist/core/opencode-model-catalog.js.map +0 -1
- package/dist/core/opencode-permissions.d.ts +0 -52
- package/dist/core/opencode-permissions.js +0 -101
- package/dist/core/opencode-permissions.js.map +0 -1
- package/dist/core/opencode-server-runner.d.ts +0 -61
- package/dist/core/opencode-server-runner.js +0 -1692
- package/dist/core/opencode-server-runner.js.map +0 -1
- package/dist/core/opencode-session-error.d.ts +0 -19
- package/dist/core/opencode-session-error.js +0 -42
- package/dist/core/opencode-session-error.js.map +0 -1
- package/dist/core/opencode-ui-mapper.d.ts +0 -137
- package/dist/core/opencode-ui-mapper.js +0 -768
- package/dist/core/opencode-ui-mapper.js.map +0 -1
- package/dist/core/pi-model-catalog.d.ts +0 -38
- package/dist/core/pi-model-catalog.js +0 -249
- package/dist/core/pi-model-catalog.js.map +0 -1
- package/dist/core/pi-rpc-turn.d.ts +0 -184
- package/dist/core/pi-rpc-turn.js +0 -380
- package/dist/core/pi-rpc-turn.js.map +0 -1
- package/dist/core/pi-rpc-wire.d.ts +0 -31
- package/dist/core/pi-rpc-wire.js +0 -88
- package/dist/core/pi-rpc-wire.js.map +0 -1
- package/dist/core/pi-runner.d.ts +0 -43
- package/dist/core/pi-runner.js +0 -592
- package/dist/core/pi-runner.js.map +0 -1
- package/dist/core/pi-ui-mapper.d.ts +0 -52
- package/dist/core/pi-ui-mapper.js +0 -373
- package/dist/core/pi-ui-mapper.js.map +0 -1
- package/dist/core/process-usage.d.ts +0 -74
- package/dist/core/process-usage.js +0 -218
- package/dist/core/process-usage.js.map +0 -1
- package/dist/core/provider-auth.d.ts +0 -168
- package/dist/core/provider-auth.js +0 -660
- package/dist/core/provider-auth.js.map +0 -1
- package/dist/core/provider-availability.d.ts +0 -3
- package/dist/core/provider-availability.js +0 -14
- package/dist/core/provider-availability.js.map +0 -1
- package/dist/core/runner-factory.d.ts +0 -11
- package/dist/core/runner-factory.js +0 -31
- package/dist/core/runner-factory.js.map +0 -1
- package/dist/core/runner-model-catalog.d.ts +0 -34
- package/dist/core/runner-model-catalog.js +0 -109
- package/dist/core/runner-model-catalog.js.map +0 -1
- package/dist/core/runner-runtime.d.ts +0 -40
- package/dist/core/runner-runtime.js +0 -88
- package/dist/core/runner-runtime.js.map +0 -1
- package/dist/core/runner-stderr.d.ts +0 -2
- package/dist/core/runner-stderr.js +0 -20
- package/dist/core/runner-stderr.js.map +0 -1
- package/dist/core/runner-tool-grants.d.ts +0 -21
- package/dist/core/runner-tool-grants.js +0 -64
- package/dist/core/runner-tool-grants.js.map +0 -1
- package/dist/core/secret-redaction.d.ts +0 -20
- package/dist/core/secret-redaction.js +0 -98
- package/dist/core/secret-redaction.js.map +0 -1
- package/dist/core/session-process.d.ts +0 -42
- package/dist/core/session-process.js +0 -360
- package/dist/core/session-process.js.map +0 -1
- package/dist/core/shell-env.d.ts +0 -17
- package/dist/core/shell-env.js +0 -51
- package/dist/core/shell-env.js.map +0 -1
- package/dist/core/ui-events.d.ts +0 -348
- package/dist/core/ui-events.js +0 -2
- package/dist/core/ui-events.js.map +0 -1
- package/dist/core/usage-limit.d.ts +0 -42
- package/dist/core/usage-limit.js +0 -152
- package/dist/core/usage-limit.js.map +0 -1
- package/dist/core/usage.d.ts +0 -11
- package/dist/core/usage.js +0 -15
- package/dist/core/usage.js.map +0 -1
- package/dist/core/v1-text-coalescer.d.ts +0 -36
- package/dist/core/v1-text-coalescer.js +0 -72
- package/dist/core/v1-text-coalescer.js.map +0 -1
- package/dist/data-gitignore.d.ts +0 -6
- package/dist/data-gitignore.js +0 -59
- package/dist/data-gitignore.js.map +0 -1
- package/dist/delegation/capacity.d.ts +0 -15
- package/dist/delegation/capacity.js +0 -30
- package/dist/delegation/capacity.js.map +0 -1
- package/dist/delegation/cli.d.ts +0 -5
- package/dist/delegation/cli.js +0 -559
- package/dist/delegation/cli.js.map +0 -1
- package/dist/delegation/context.d.ts +0 -40
- package/dist/delegation/context.js +0 -383
- package/dist/delegation/context.js.map +0 -1
- package/dist/delegation/conversation-send.d.ts +0 -63
- package/dist/delegation/conversation-send.js +0 -60
- package/dist/delegation/conversation-send.js.map +0 -1
- package/dist/delegation/conversations.d.ts +0 -1670
- package/dist/delegation/conversations.js +0 -277
- package/dist/delegation/conversations.js.map +0 -1
- package/dist/delegation/credentials.d.ts +0 -21
- package/dist/delegation/credentials.js +0 -66
- package/dist/delegation/credentials.js.map +0 -1
- package/dist/delegation/destroy-observation.d.ts +0 -42
- package/dist/delegation/destroy-observation.js +0 -115
- package/dist/delegation/destroy-observation.js.map +0 -1
- package/dist/delegation/effort.d.ts +0 -1
- package/dist/delegation/effort.js +0 -11
- package/dist/delegation/effort.js.map +0 -1
- package/dist/delegation/execution-identity.d.ts +0 -254
- package/dist/delegation/execution-identity.js +0 -250
- package/dist/delegation/execution-identity.js.map +0 -1
- package/dist/delegation/execution-settings.d.ts +0 -10
- package/dist/delegation/execution-settings.js +0 -65
- package/dist/delegation/execution-settings.js.map +0 -1
- package/dist/delegation/idle-test-app.d.ts +0 -4
- package/dist/delegation/idle-test-app.js +0 -185
- package/dist/delegation/idle-test-app.js.map +0 -1
- package/dist/delegation/input.d.ts +0 -12
- package/dist/delegation/input.js +0 -50
- package/dist/delegation/input.js.map +0 -1
- package/dist/delegation/park-notice.d.ts +0 -45
- package/dist/delegation/park-notice.js +0 -79
- package/dist/delegation/park-notice.js.map +0 -1
- package/dist/delegation/policy.d.ts +0 -22
- package/dist/delegation/policy.js +0 -95
- package/dist/delegation/policy.js.map +0 -1
- package/dist/delegation/process-liveness.d.ts +0 -98
- package/dist/delegation/process-liveness.js +0 -213
- package/dist/delegation/process-liveness.js.map +0 -1
- package/dist/delegation/provision.d.ts +0 -35
- package/dist/delegation/provision.js +0 -178
- package/dist/delegation/provision.js.map +0 -1
- package/dist/delegation/questions.d.ts +0 -24
- package/dist/delegation/questions.js +0 -55
- package/dist/delegation/questions.js.map +0 -1
- package/dist/delegation/readiness.d.ts +0 -13
- package/dist/delegation/readiness.js +0 -19
- package/dist/delegation/readiness.js.map +0 -1
- package/dist/delegation/results.d.ts +0 -13
- package/dist/delegation/results.js +0 -154
- package/dist/delegation/results.js.map +0 -1
- package/dist/delegation/retry-backoff.d.ts +0 -31
- package/dist/delegation/retry-backoff.js +0 -26
- package/dist/delegation/retry-backoff.js.map +0 -1
- package/dist/delegation/routes.d.ts +0 -1014
- package/dist/delegation/routes.js +0 -77
- package/dist/delegation/routes.js.map +0 -1
- package/dist/delegation/scratch-cleanup.d.ts +0 -28
- package/dist/delegation/scratch-cleanup.js +0 -145
- package/dist/delegation/scratch-cleanup.js.map +0 -1
- package/dist/delegation/service.d.ts +0 -284
- package/dist/delegation/service.js +0 -1046
- package/dist/delegation/service.js.map +0 -1
- package/dist/delegation/task-discovery.d.ts +0 -6
- package/dist/delegation/task-discovery.js +0 -23
- package/dist/delegation/task-discovery.js.map +0 -1
- package/dist/delegation/transport.d.ts +0 -992
- package/dist/delegation/transport.js +0 -22
- package/dist/delegation/transport.js.map +0 -1
- package/dist/delegation/wait.d.ts +0 -14
- package/dist/delegation/wait.js +0 -72
- package/dist/delegation/wait.js.map +0 -1
- package/dist/delegation/windows-test-app.d.ts +0 -5
- package/dist/delegation/windows-test-app.js +0 -63
- package/dist/delegation/windows-test-app.js.map +0 -1
- package/dist/delegation/windows-workspace-identity.d.ts +0 -3
- package/dist/delegation/windows-workspace-identity.js +0 -22
- package/dist/delegation/windows-workspace-identity.js.map +0 -1
- package/dist/delegation/workspace.d.ts +0 -33
- package/dist/delegation/workspace.js +0 -560
- package/dist/delegation/workspace.js.map +0 -1
- package/dist/detached-process.d.ts +0 -125
- package/dist/detached-process.js +0 -448
- package/dist/detached-process.js.map +0 -1
- package/dist/discovery/catalog.d.ts +0 -15
- package/dist/discovery/catalog.js +0 -31
- package/dist/discovery/catalog.js.map +0 -1
- package/dist/discovery/cli.d.ts +0 -8
- package/dist/discovery/cli.js +0 -106
- package/dist/discovery/cli.js.map +0 -1
- package/dist/git-diff-base.d.ts +0 -41
- package/dist/git-diff-base.js +0 -116
- package/dist/git-diff-base.js.map +0 -1
- package/dist/git-index-copy.d.ts +0 -4
- package/dist/git-index-copy.js +0 -10
- package/dist/git-index-copy.js.map +0 -1
- package/dist/git-refs.d.ts +0 -11
- package/dist/git-refs.js +0 -14
- package/dist/git-refs.js.map +0 -1
- package/dist/git-worktree-lock-helper.d.ts +0 -7
- package/dist/git-worktree-lock-helper.js +0 -158
- package/dist/git-worktree-lock-helper.js.map +0 -1
- package/dist/git-worktree-lock.d.ts +0 -17
- package/dist/git-worktree-lock.js +0 -90
- package/dist/git-worktree-lock.js.map +0 -1
- package/dist/git-worktree-release.d.ts +0 -20
- package/dist/git-worktree-release.js +0 -27
- package/dist/git-worktree-release.js.map +0 -1
- package/dist/git-worktree.d.ts +0 -154
- package/dist/git-worktree.js +0 -858
- package/dist/git-worktree.js.map +0 -1
- package/dist/handoff.d.ts +0 -72
- package/dist/handoff.js +0 -209
- package/dist/handoff.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js.map +0 -1
- package/dist/install-as-command.d.ts +0 -40
- package/dist/install-as-command.js +0 -52
- package/dist/install-as-command.js.map +0 -1
- package/dist/merge-observations.d.ts +0 -13
- package/dist/merge-observations.js +0 -55
- package/dist/merge-observations.js.map +0 -1
- package/dist/open-url.d.ts +0 -2
- package/dist/open-url.js +0 -10
- package/dist/open-url.js.map +0 -1
- package/dist/pack-check.d.ts +0 -17
- package/dist/pack-check.js +0 -27
- package/dist/pack-check.js.map +0 -1
- package/dist/paths.d.ts +0 -138
- package/dist/paths.js +0 -220
- package/dist/paths.js.map +0 -1
- package/dist/planner.d.ts +0 -28
- package/dist/planner.js +0 -271
- package/dist/planner.js.map +0 -1
- package/dist/preview/agent-address.d.ts +0 -34
- package/dist/preview/agent-address.js +0 -51
- package/dist/preview/agent-address.js.map +0 -1
- package/dist/preview/agent-marker.d.ts +0 -17
- package/dist/preview/agent-marker.js +0 -71
- package/dist/preview/agent-marker.js.map +0 -1
- package/dist/preview/browser-launch.d.ts +0 -27
- package/dist/preview/browser-launch.js +0 -53
- package/dist/preview/browser-launch.js.map +0 -1
- package/dist/preview/cdp-proxy.d.ts +0 -54
- package/dist/preview/cdp-proxy.js +0 -151
- package/dist/preview/cdp-proxy.js.map +0 -1
- package/dist/preview/cdp.d.ts +0 -49
- package/dist/preview/cdp.js +0 -167
- package/dist/preview/cdp.js.map +0 -1
- package/dist/preview/chromium.d.ts +0 -88
- package/dist/preview/chromium.js +0 -482
- package/dist/preview/chromium.js.map +0 -1
- package/dist/preview/dev-server.d.ts +0 -68
- package/dist/preview/dev-server.js +0 -317
- package/dist/preview/dev-server.js.map +0 -1
- package/dist/preview/host.d.ts +0 -206
- package/dist/preview/host.js +0 -929
- package/dist/preview/host.js.map +0 -1
- package/dist/preview/registration.d.ts +0 -68
- package/dist/preview/registration.js +0 -111
- package/dist/preview/registration.js.map +0 -1
- package/dist/preview/run-tools.d.ts +0 -9
- package/dist/preview/run-tools.js +0 -72
- package/dist/preview/run-tools.js.map +0 -1
- package/dist/preview/session.d.ts +0 -87
- package/dist/preview/session.js +0 -378
- package/dist/preview/session.js.map +0 -1
- package/dist/preview/url.d.ts +0 -6
- package/dist/preview/url.js +0 -17
- package/dist/preview/url.js.map +0 -1
- package/dist/process-wait/exit-file.d.ts +0 -29
- package/dist/process-wait/exit-file.js +0 -67
- package/dist/process-wait/exit-file.js.map +0 -1
- package/dist/process-wait/supervisor.d.ts +0 -30
- package/dist/process-wait/supervisor.js +0 -71
- package/dist/process-wait/supervisor.js.map +0 -1
- package/dist/release/manifests.d.ts +0 -103
- package/dist/release/manifests.js +0 -90
- package/dist/release/manifests.js.map +0 -1
- package/dist/release/snapshot.d.ts +0 -67
- package/dist/release/snapshot.js +0 -97
- package/dist/release/snapshot.js.map +0 -1
- package/dist/release/stable.d.ts +0 -38
- package/dist/release/stable.js +0 -55
- package/dist/release/stable.js.map +0 -1
- package/dist/runs/agent-tmpdir-removal.d.ts +0 -15
- package/dist/runs/agent-tmpdir-removal.js +0 -60
- package/dist/runs/agent-tmpdir-removal.js.map +0 -1
- package/dist/runs/agent-tmpdir.d.ts +0 -119
- package/dist/runs/agent-tmpdir.js +0 -829
- package/dist/runs/agent-tmpdir.js.map +0 -1
- package/dist/runs/arm-repo-handle.d.ts +0 -9
- package/dist/runs/arm-repo-handle.js +0 -45
- package/dist/runs/arm-repo-handle.js.map +0 -1
- package/dist/runs/auto-name.d.ts +0 -75
- package/dist/runs/auto-name.js +0 -179
- package/dist/runs/auto-name.js.map +0 -1
- package/dist/runs/client-request.d.ts +0 -11
- package/dist/runs/client-request.js +0 -26
- package/dist/runs/client-request.js.map +0 -1
- package/dist/runs/conversation-identity.d.ts +0 -19
- package/dist/runs/conversation-identity.js +0 -31
- package/dist/runs/conversation-identity.js.map +0 -1
- package/dist/runs/delegation-state.d.ts +0 -409
- package/dist/runs/delegation-state.js +0 -22
- package/dist/runs/delegation-state.js.map +0 -1
- package/dist/runs/event-history-agent-context.d.ts +0 -14
- package/dist/runs/event-history-agent-context.js +0 -105
- package/dist/runs/event-history-agent-context.js.map +0 -1
- package/dist/runs/event-history-context.d.ts +0 -15
- package/dist/runs/event-history-context.js +0 -109
- package/dist/runs/event-history-context.js.map +0 -1
- package/dist/runs/event-history.d.ts +0 -53
- package/dist/runs/event-history.js +0 -535
- package/dist/runs/event-history.js.map +0 -1
- package/dist/runs/history-compressor.d.ts +0 -29
- package/dist/runs/history-compressor.js +0 -116
- package/dist/runs/history-compressor.js.map +0 -1
- package/dist/runs/history-file.d.ts +0 -36
- package/dist/runs/history-file.js +0 -463
- package/dist/runs/history-file.js.map +0 -1
- package/dist/runs/history-stream.d.ts +0 -2
- package/dist/runs/history-stream.js +0 -62
- package/dist/runs/history-stream.js.map +0 -1
- package/dist/runs/legacy-index.d.ts +0 -49
- package/dist/runs/legacy-index.js +0 -155
- package/dist/runs/legacy-index.js.map +0 -1
- package/dist/runs/live-item-snapshots.d.ts +0 -13
- package/dist/runs/live-item-snapshots.js +0 -79
- package/dist/runs/live-item-snapshots.js.map +0 -1
- package/dist/runs/loaded-run-healing.d.ts +0 -3
- package/dist/runs/loaded-run-healing.js +0 -17
- package/dist/runs/loaded-run-healing.js.map +0 -1
- package/dist/runs/outcome-commit.d.ts +0 -98
- package/dist/runs/outcome-commit.js +0 -132
- package/dist/runs/outcome-commit.js.map +0 -1
- package/dist/runs/pull-requests.d.ts +0 -14
- package/dist/runs/pull-requests.js +0 -96
- package/dist/runs/pull-requests.js.map +0 -1
- package/dist/runs/raw-record.d.ts +0 -40
- package/dist/runs/raw-record.js +0 -133
- package/dist/runs/raw-record.js.map +0 -1
- package/dist/runs/retention.d.ts +0 -91
- package/dist/runs/retention.js +0 -182
- package/dist/runs/retention.js.map +0 -1
- package/dist/runs/review-gate.d.ts +0 -18
- package/dist/runs/review-gate.js +0 -21
- package/dist/runs/review-gate.js.map +0 -1
- package/dist/runs/run-claims.d.ts +0 -16
- package/dist/runs/run-claims.js +0 -24
- package/dist/runs/run-claims.js.map +0 -1
- package/dist/runs/run-database-peer-page.d.ts +0 -12
- package/dist/runs/run-database-peer-page.js +0 -25
- package/dist/runs/run-database-peer-page.js.map +0 -1
- package/dist/runs/run-database.d.ts +0 -383
- package/dist/runs/run-database.js +0 -1004
- package/dist/runs/run-database.js.map +0 -1
- package/dist/runs/run-index.d.ts +0 -26
- package/dist/runs/run-index.js +0 -212
- package/dist/runs/run-index.js.map +0 -1
- package/dist/runs/run-row.d.ts +0 -15
- package/dist/runs/run-row.js +0 -59
- package/dist/runs/run-row.js.map +0 -1
- package/dist/runs/run-summary-page.d.ts +0 -36
- package/dist/runs/run-summary-page.js +0 -46
- package/dist/runs/run-summary-page.js.map +0 -1
- package/dist/runs/run-title.d.ts +0 -8
- package/dist/runs/run-title.js +0 -28
- package/dist/runs/run-title.js.map +0 -1
- package/dist/runs/store-open-error.d.ts +0 -24
- package/dist/runs/store-open-error.js +0 -61
- package/dist/runs/store-open-error.js.map +0 -1
- package/dist/runs/store.d.ts +0 -3263
- package/dist/runs/store.js +0 -4647
- package/dist/runs/store.js.map +0 -1
- package/dist/runs/task-markers.d.ts +0 -29
- package/dist/runs/task-markers.js +0 -78
- package/dist/runs/task-markers.js.map +0 -1
- package/dist/runs/task-refs.d.ts +0 -39
- package/dist/runs/task-refs.js +0 -107
- package/dist/runs/task-refs.js.map +0 -1
- package/dist/runs/transcript-facts-fold.d.ts +0 -64
- package/dist/runs/transcript-facts-fold.js +0 -109
- package/dist/runs/transcript-facts-fold.js.map +0 -1
- package/dist/runs/transcript-facts-load.d.ts +0 -11
- package/dist/runs/transcript-facts-load.js +0 -66
- package/dist/runs/transcript-facts-load.js.map +0 -1
- package/dist/runs/transcript-facts-queue.d.ts +0 -30
- package/dist/runs/transcript-facts-queue.js +0 -227
- package/dist/runs/transcript-facts-queue.js.map +0 -1
- package/dist/runs/transcript-facts-worker.d.ts +0 -15
- package/dist/runs/transcript-facts-worker.js +0 -26
- package/dist/runs/transcript-facts-worker.js.map +0 -1
- package/dist/runs/transcript-facts.d.ts +0 -39
- package/dist/runs/transcript-facts.js +0 -186
- package/dist/runs/transcript-facts.js.map +0 -1
- package/dist/runs/ui-event-sink.d.ts +0 -56
- package/dist/runs/ui-event-sink.js +0 -188
- package/dist/runs/ui-event-sink.js.map +0 -1
- package/dist/runs/webhook.d.ts +0 -191
- package/dist/runs/webhook.js +0 -360
- package/dist/runs/webhook.js.map +0 -1
- package/dist/runs/worker-deletion-proof.d.ts +0 -13
- package/dist/runs/worker-deletion-proof.js +0 -13
- package/dist/runs/worker-deletion-proof.js.map +0 -1
- package/dist/runs/worker-execution.d.ts +0 -22
- package/dist/runs/worker-execution.js +0 -30
- package/dist/runs/worker-execution.js.map +0 -1
- package/dist/serve-boot.d.ts +0 -27
- package/dist/serve-boot.js +0 -85
- package/dist/serve-boot.js.map +0 -1
- package/dist/server/app-type.js.map +0 -1
- package/dist/server/archive-on-merge.d.ts +0 -35
- package/dist/server/archive-on-merge.js +0 -202
- package/dist/server/archive-on-merge.js.map +0 -1
- package/dist/server/capabilities.d.ts +0 -59
- package/dist/server/capabilities.js +0 -141
- package/dist/server/capabilities.js.map +0 -1
- package/dist/server/checkout-progress.d.ts +0 -10
- package/dist/server/checkout-progress.js +0 -27
- package/dist/server/checkout-progress.js.map +0 -1
- package/dist/server/checkout.d.ts +0 -129
- package/dist/server/checkout.js +0 -304
- package/dist/server/checkout.js.map +0 -1
- package/dist/server/cockpit-ownership.d.ts +0 -31
- package/dist/server/cockpit-ownership.js +0 -191
- package/dist/server/cockpit-ownership.js.map +0 -1
- package/dist/server/cold-repo-handles.d.ts +0 -14
- package/dist/server/cold-repo-handles.js +0 -78
- package/dist/server/cold-repo-handles.js.map +0 -1
- package/dist/server/completion-actions.d.ts +0 -30
- package/dist/server/completion-actions.js +0 -204
- package/dist/server/completion-actions.js.map +0 -1
- package/dist/server/create-project.d.ts +0 -71
- package/dist/server/create-project.js +0 -448
- package/dist/server/create-project.js.map +0 -1
- package/dist/server/forge/github-filters.d.ts +0 -22
- package/dist/server/forge/github-filters.js +0 -127
- package/dist/server/forge/github-filters.js.map +0 -1
- package/dist/server/forge/github-merge-requirements.d.ts +0 -18
- package/dist/server/forge/github-merge-requirements.js +0 -137
- package/dist/server/forge/github-merge-requirements.js.map +0 -1
- package/dist/server/forge/github.d.ts +0 -535
- package/dist/server/forge/github.js +0 -3200
- package/dist/server/forge/github.js.map +0 -1
- package/dist/server/forge/index.d.ts +0 -40
- package/dist/server/forge/index.js +0 -72
- package/dist/server/forge/index.js.map +0 -1
- package/dist/server/forge/types.d.ts +0 -244
- package/dist/server/forge/types.js +0 -2
- package/dist/server/forge/types.js.map +0 -1
- package/dist/server/fs-browse.d.ts +0 -80
- package/dist/server/fs-browse.js +0 -182
- package/dist/server/fs-browse.js.map +0 -1
- package/dist/server/git-changes.d.ts +0 -203
- package/dist/server/git-changes.js +0 -508
- package/dist/server/git-changes.js.map +0 -1
- package/dist/server/git.d.ts +0 -52
- package/dist/server/git.js +0 -170
- package/dist/server/git.js.map +0 -1
- package/dist/server/github.d.ts +0 -9
- package/dist/server/github.js +0 -8
- package/dist/server/github.js.map +0 -1
- package/dist/server/launch-key.d.ts +0 -5
- package/dist/server/launch-key.js +0 -31
- package/dist/server/launch-key.js.map +0 -1
- package/dist/server/live-routes.d.ts +0 -68
- package/dist/server/live-routes.js +0 -147
- package/dist/server/live-routes.js.map +0 -1
- package/dist/server/open-in-app.d.ts +0 -57
- package/dist/server/open-in-app.js +0 -177
- package/dist/server/open-in-app.js.map +0 -1
- package/dist/server/open-in-targets.d.ts +0 -42
- package/dist/server/open-in-targets.js +0 -110
- package/dist/server/open-in-targets.js.map +0 -1
- package/dist/server/open-in-terminal.d.ts +0 -73
- package/dist/server/open-in-terminal.js +0 -159
- package/dist/server/open-in-terminal.js.map +0 -1
- package/dist/server/pr.d.ts +0 -7
- package/dist/server/pr.js +0 -7
- package/dist/server/pr.js.map +0 -1
- package/dist/server/preview-cdp-socket.d.ts +0 -21
- package/dist/server/preview-cdp-socket.js +0 -112
- package/dist/server/preview-cdp-socket.js.map +0 -1
- package/dist/server/preview-socket.d.ts +0 -36
- package/dist/server/preview-socket.js +0 -126
- package/dist/server/preview-socket.js.map +0 -1
- package/dist/server/preview-sockets.d.ts +0 -14
- package/dist/server/preview-sockets.js +0 -18
- package/dist/server/preview-sockets.js.map +0 -1
- package/dist/server/project-context.d.ts +0 -192
- package/dist/server/project-context.js +0 -452
- package/dist/server/project-context.js.map +0 -1
- package/dist/server/provider-action-gate.d.ts +0 -5
- package/dist/server/provider-action-gate.js +0 -27
- package/dist/server/provider-action-gate.js.map +0 -1
- package/dist/server/provider-auth-runtime.d.ts +0 -32
- package/dist/server/provider-auth-runtime.js +0 -116
- package/dist/server/provider-auth-runtime.js.map +0 -1
- package/dist/server/repo-branch-forge.d.ts +0 -59
- package/dist/server/repo-branch-forge.js +0 -157
- package/dist/server/repo-branch-forge.js.map +0 -1
- package/dist/server/repo-branch-sweep.d.ts +0 -21
- package/dist/server/repo-branch-sweep.js +0 -64
- package/dist/server/repo-branch-sweep.js.map +0 -1
- package/dist/server/repo-branches.d.ts +0 -101
- package/dist/server/repo-branches.js +0 -803
- package/dist/server/repo-branches.js.map +0 -1
- package/dist/server/repo-pull.d.ts +0 -18
- package/dist/server/repo-pull.js +0 -96
- package/dist/server/repo-pull.js.map +0 -1
- package/dist/server/run-event-feed.d.ts +0 -20
- package/dist/server/run-event-feed.js +0 -190
- package/dist/server/run-event-feed.js.map +0 -1
- package/dist/server/server-deps.d.ts +0 -37
- package/dist/server/server-deps.js +0 -114
- package/dist/server/server-deps.js.map +0 -1
- package/dist/server/server.d.ts +0 -29583
- package/dist/server/server.js +0 -5456
- package/dist/server/server.js.map +0 -1
- package/dist/server/start-run-options.d.ts +0 -83
- package/dist/server/start-run-options.js +0 -111
- package/dist/server/start-run-options.js.map +0 -1
- package/dist/server/static-ui.d.ts +0 -49
- package/dist/server/static-ui.js +0 -98
- package/dist/server/static-ui.js.map +0 -1
- package/dist/server/upgrade-router.d.ts +0 -23
- package/dist/server/upgrade-router.js +0 -53
- package/dist/server/upgrade-router.js.map +0 -1
- package/dist/server/validators.d.ts +0 -80
- package/dist/server/validators.js +0 -85
- package/dist/server/validators.js.map +0 -1
- package/dist/server/ws.d.ts +0 -65
- package/dist/server/ws.js +0 -200
- package/dist/server/ws.js.map +0 -1
- package/dist/server/wsl.d.ts +0 -25
- package/dist/server/wsl.js +0 -92
- package/dist/server/wsl.js.map +0 -1
- package/dist/server-install/engine.d.ts +0 -47
- package/dist/server-install/engine.js +0 -317
- package/dist/server-install/engine.js.map +0 -1
- package/dist/server-install/npx-cache.d.ts +0 -36
- package/dist/server-install/npx-cache.js +0 -104
- package/dist/server-install/npx-cache.js.map +0 -1
- package/dist/server-install/platforms/macosx-ngrok.d.ts +0 -6
- package/dist/server-install/platforms/macosx-ngrok.js +0 -371
- package/dist/server-install/platforms/macosx-ngrok.js.map +0 -1
- package/dist/server-install/platforms/ubuntu-vps.d.ts +0 -54
- package/dist/server-install/platforms/ubuntu-vps.js +0 -1066
- package/dist/server-install/platforms/ubuntu-vps.js.map +0 -1
- package/dist/server-install/state.d.ts +0 -50
- package/dist/server-install/state.js +0 -180
- package/dist/server-install/state.js.map +0 -1
- package/dist/server-install/steps.d.ts +0 -108
- package/dist/server-install/steps.js +0 -332
- package/dist/server-install/steps.js.map +0 -1
- package/dist/server-install/strategies.d.ts +0 -4
- package/dist/server-install/strategies.js +0 -20
- package/dist/server-install/strategies.js.map +0 -1
- package/dist/server-install/types.d.ts +0 -284
- package/dist/server-install/types.js +0 -118
- package/dist/server-install/types.js.map +0 -1
- package/dist/server-install/ui.d.ts +0 -36
- package/dist/server-install/ui.js +0 -130
- package/dist/server-install/ui.js.map +0 -1
- package/dist/session-context.d.ts +0 -64
- package/dist/session-context.js +0 -264
- package/dist/session-context.js.map +0 -1
- package/dist/skills-provision.d.ts +0 -62
- package/dist/skills-provision.js +0 -325
- package/dist/skills-provision.js.map +0 -1
- package/dist/skills-remote.d.ts +0 -129
- package/dist/skills-remote.js +0 -782
- package/dist/skills-remote.js.map +0 -1
- package/dist/skills.d.ts +0 -71
- package/dist/skills.js +0 -249
- package/dist/skills.js.map +0 -1
- package/dist/subcommands.d.ts +0 -11
- package/dist/subcommands.js +0 -25
- package/dist/subcommands.js.map +0 -1
- package/dist/task-cli/cli.d.ts +0 -39
- package/dist/task-cli/cli.js +0 -721
- package/dist/task-cli/cli.js.map +0 -1
- package/dist/task-cli/discovery.d.ts +0 -25
- package/dist/task-cli/discovery.js +0 -98
- package/dist/task-cli/discovery.js.map +0 -1
- package/dist/task-cli/hint.d.ts +0 -20
- package/dist/task-cli/hint.js +0 -14
- package/dist/task-cli/hint.js.map +0 -1
- package/dist/task-cli/http.d.ts +0 -49
- package/dist/task-cli/http.js +0 -109
- package/dist/task-cli/http.js.map +0 -1
- package/dist/task-cli/projections.d.ts +0 -68
- package/dist/task-cli/projections.js +0 -76
- package/dist/task-cli/projections.js.map +0 -1
- package/dist/task-cli/watch.d.ts +0 -119
- package/dist/task-cli/watch.js +0 -475
- package/dist/task-cli/watch.js.map +0 -1
- package/dist/ui-state.d.ts +0 -41
- package/dist/ui-state.js +0 -90
- package/dist/ui-state.js.map +0 -1
- package/dist/update-check.d.ts +0 -2
- package/dist/update-check.js +0 -26
- package/dist/update-check.js.map +0 -1
- package/dist/voice/decide.d.ts +0 -32
- package/dist/voice/decide.js +0 -297
- package/dist/voice/decide.js.map +0 -1
- package/dist/voice/decision-log.d.ts +0 -52
- package/dist/voice/decision-log.js +0 -107
- package/dist/voice/decision-log.js.map +0 -1
- package/dist/voice/engine.d.ts +0 -119
- package/dist/voice/engine.js +0 -60
- package/dist/voice/engine.js.map +0 -1
- package/dist/voice/fake-engine.d.ts +0 -10
- package/dist/voice/fake-engine.js +0 -192
- package/dist/voice/fake-engine.js.map +0 -1
- package/dist/voice/jev-engine.d.ts +0 -17
- package/dist/voice/jev-engine.js +0 -110
- package/dist/voice/jev-engine.js.map +0 -1
- package/dist/voice/pending-ask.d.ts +0 -17
- package/dist/voice/pending-ask.js +0 -50
- package/dist/voice/pending-ask.js.map +0 -1
- package/dist/voice/routes.d.ts +0 -115
- package/dist/voice/routes.js +0 -91
- package/dist/voice/routes.js.map +0 -1
- package/dist/voice/sentence.d.ts +0 -21
- package/dist/voice/sentence.js +0 -61
- package/dist/voice/sentence.js.map +0 -1
- package/dist/voice/thresholds.d.ts +0 -28
- package/dist/voice/thresholds.js +0 -29
- package/dist/voice/thresholds.js.map +0 -1
- package/dist/webhooks/cli.d.ts +0 -18
- package/dist/webhooks/cli.js +0 -145
- package/dist/webhooks/cli.js.map +0 -1
- package/dist/webhooks/prompt.d.ts +0 -5
- package/dist/webhooks/prompt.js +0 -26
- package/dist/webhooks/prompt.js.map +0 -1
- package/dist/workflows/active-run.d.ts +0 -170
- package/dist/workflows/active-run.js +0 -21
- package/dist/workflows/active-run.js.map +0 -1
- package/dist/workflows/attachment-path.d.ts +0 -6
- package/dist/workflows/attachment-path.js +0 -40
- package/dist/workflows/attachment-path.js.map +0 -1
- package/dist/workflows/completion-policy.d.ts +0 -98
- package/dist/workflows/completion-policy.js +0 -87
- package/dist/workflows/completion-policy.js.map +0 -1
- package/dist/workflows/continuation-admission.d.ts +0 -965
- package/dist/workflows/continuation-admission.js +0 -265
- package/dist/workflows/continuation-admission.js.map +0 -1
- package/dist/workflows/execution-account.d.ts +0 -13
- package/dist/workflows/execution-account.js +0 -18
- package/dist/workflows/execution-account.js.map +0 -1
- package/dist/workflows/grouped-command.d.ts +0 -31
- package/dist/workflows/grouped-command.js +0 -143
- package/dist/workflows/grouped-command.js.map +0 -1
- package/dist/workflows/input-acknowledgement.d.ts +0 -203
- package/dist/workflows/input-acknowledgement.js +0 -41
- package/dist/workflows/input-acknowledgement.js.map +0 -1
- package/dist/workflows/line-order.d.ts +0 -5
- package/dist/workflows/line-order.js +0 -25
- package/dist/workflows/line-order.js.map +0 -1
- package/dist/workflows/load.d.ts +0 -17
- package/dist/workflows/load.js +0 -61
- package/dist/workflows/load.js.map +0 -1
- package/dist/workflows/outcome-batches.d.ts +0 -32
- package/dist/workflows/outcome-batches.js +0 -55
- package/dist/workflows/outcome-batches.js.map +0 -1
- package/dist/workflows/pasted-content.d.ts +0 -60
- package/dist/workflows/pasted-content.js +0 -69
- package/dist/workflows/pasted-content.js.map +0 -1
- package/dist/workflows/question-routing.d.ts +0 -8
- package/dist/workflows/question-routing.js +0 -20
- package/dist/workflows/question-routing.js.map +0 -1
- package/dist/workflows/run/attachment-writer.d.ts +0 -34
- package/dist/workflows/run/attachment-writer.js +0 -98
- package/dist/workflows/run/attachment-writer.js.map +0 -1
- package/dist/workflows/run/auto-resume.d.ts +0 -91
- package/dist/workflows/run/auto-resume.js +0 -248
- package/dist/workflows/run/auto-resume.js.map +0 -1
- package/dist/workflows/run/cezar-tools.d.ts +0 -45
- package/dist/workflows/run/cezar-tools.js +0 -129
- package/dist/workflows/run/cezar-tools.js.map +0 -1
- package/dist/workflows/run/completion-gate.d.ts +0 -77
- package/dist/workflows/run/completion-gate.js +0 -90
- package/dist/workflows/run/completion-gate.js.map +0 -1
- package/dist/workflows/run/compose.d.ts +0 -174
- package/dist/workflows/run/compose.js +0 -391
- package/dist/workflows/run/compose.js.map +0 -1
- package/dist/workflows/run/constants.d.ts +0 -48
- package/dist/workflows/run/constants.js +0 -49
- package/dist/workflows/run/constants.js.map +0 -1
- package/dist/workflows/run/continuation-acceptance.d.ts +0 -70
- package/dist/workflows/run/continuation-acceptance.js +0 -198
- package/dist/workflows/run/continuation-acceptance.js.map +0 -1
- package/dist/workflows/run/continuation-session.d.ts +0 -128
- package/dist/workflows/run/continuation-session.js +0 -581
- package/dist/workflows/run/continuation-session.js.map +0 -1
- package/dist/workflows/run/drop-active.d.ts +0 -4
- package/dist/workflows/run/drop-active.js +0 -11
- package/dist/workflows/run/drop-active.js.map +0 -1
- package/dist/workflows/run/family-reconciler.d.ts +0 -74
- package/dist/workflows/run/family-reconciler.js +0 -310
- package/dist/workflows/run/family-reconciler.js.map +0 -1
- package/dist/workflows/run/human-waits.d.ts +0 -91
- package/dist/workflows/run/human-waits.js +0 -192
- package/dist/workflows/run/human-waits.js.map +0 -1
- package/dist/workflows/run/inbox-claims.d.ts +0 -38
- package/dist/workflows/run/inbox-claims.js +0 -107
- package/dist/workflows/run/inbox-claims.js.map +0 -1
- package/dist/workflows/run/input-batch.d.ts +0 -15
- package/dist/workflows/run/input-batch.js +0 -31
- package/dist/workflows/run/input-batch.js.map +0 -1
- package/dist/workflows/run/input-delivery.d.ts +0 -122
- package/dist/workflows/run/input-delivery.js +0 -661
- package/dist/workflows/run/input-delivery.js.map +0 -1
- package/dist/workflows/run/input-receipts.d.ts +0 -65
- package/dist/workflows/run/input-receipts.js +0 -222
- package/dist/workflows/run/input-receipts.js.map +0 -1
- package/dist/workflows/run/input-timers.d.ts +0 -10
- package/dist/workflows/run/input-timers.js +0 -42
- package/dist/workflows/run/input-timers.js.map +0 -1
- package/dist/workflows/run/launch-context.d.ts +0 -64
- package/dist/workflows/run/launch-context.js +0 -145
- package/dist/workflows/run/launch-context.js.map +0 -1
- package/dist/workflows/run/launch-settings.d.ts +0 -49
- package/dist/workflows/run/launch-settings.js +0 -125
- package/dist/workflows/run/launch-settings.js.map +0 -1
- package/dist/workflows/run/maintenance-claims.d.ts +0 -47
- package/dist/workflows/run/maintenance-claims.js +0 -83
- package/dist/workflows/run/maintenance-claims.js.map +0 -1
- package/dist/workflows/run/memory-guard.d.ts +0 -25
- package/dist/workflows/run/memory-guard.js +0 -63
- package/dist/workflows/run/memory-guard.js.map +0 -1
- package/dist/workflows/run/opening.d.ts +0 -41
- package/dist/workflows/run/opening.js +0 -92
- package/dist/workflows/run/opening.js.map +0 -1
- package/dist/workflows/run/pending-ask-facts.d.ts +0 -10
- package/dist/workflows/run/pending-ask-facts.js +0 -19
- package/dist/workflows/run/pending-ask-facts.js.map +0 -1
- package/dist/workflows/run/prompts.d.ts +0 -74
- package/dist/workflows/run/prompts.js +0 -140
- package/dist/workflows/run/prompts.js.map +0 -1
- package/dist/workflows/run/queued-input.d.ts +0 -108
- package/dist/workflows/run/queued-input.js +0 -321
- package/dist/workflows/run/queued-input.js.map +0 -1
- package/dist/workflows/run/queued-revival.d.ts +0 -44
- package/dist/workflows/run/queued-revival.js +0 -157
- package/dist/workflows/run/queued-revival.js.map +0 -1
- package/dist/workflows/run/repo-root-lease.d.ts +0 -34
- package/dist/workflows/run/repo-root-lease.js +0 -70
- package/dist/workflows/run/repo-root-lease.js.map +0 -1
- package/dist/workflows/run/resolved-wait-input-batch.d.ts +0 -7
- package/dist/workflows/run/resolved-wait-input-batch.js +0 -25
- package/dist/workflows/run/resolved-wait-input-batch.js.map +0 -1
- package/dist/workflows/run/run-cancel.d.ts +0 -36
- package/dist/workflows/run/run-cancel.js +0 -126
- package/dist/workflows/run/run-cancel.js.map +0 -1
- package/dist/workflows/run/run-finish.d.ts +0 -68
- package/dist/workflows/run/run-finish.js +0 -239
- package/dist/workflows/run/run-finish.js.map +0 -1
- package/dist/workflows/run/run-guards.d.ts +0 -14
- package/dist/workflows/run/run-guards.js +0 -34
- package/dist/workflows/run/run-guards.js.map +0 -1
- package/dist/workflows/run/run-line.d.ts +0 -179
- package/dist/workflows/run/run-line.js +0 -429
- package/dist/workflows/run/run-line.js.map +0 -1
- package/dist/workflows/run/run-recovery.d.ts +0 -117
- package/dist/workflows/run/run-recovery.js +0 -442
- package/dist/workflows/run/run-recovery.js.map +0 -1
- package/dist/workflows/run/run-settlement.d.ts +0 -163
- package/dist/workflows/run/run-settlement.js +0 -535
- package/dist/workflows/run/run-settlement.js.map +0 -1
- package/dist/workflows/run/run-skills.d.ts +0 -81
- package/dist/workflows/run/run-skills.js +0 -178
- package/dist/workflows/run/run-skills.js.map +0 -1
- package/dist/workflows/run/run-start.d.ts +0 -64
- package/dist/workflows/run/run-start.js +0 -177
- package/dist/workflows/run/run-start.js.map +0 -1
- package/dist/workflows/run/run-workspace.d.ts +0 -25
- package/dist/workflows/run/run-workspace.js +0 -65
- package/dist/workflows/run/run-workspace.js.map +0 -1
- package/dist/workflows/run/session-events.d.ts +0 -144
- package/dist/workflows/run/session-events.js +0 -262
- package/dist/workflows/run/session-events.js.map +0 -1
- package/dist/workflows/run/step-decisions.d.ts +0 -37
- package/dist/workflows/run/step-decisions.js +0 -42
- package/dist/workflows/run/step-decisions.js.map +0 -1
- package/dist/workflows/run/step-loop.d.ts +0 -140
- package/dist/workflows/run/step-loop.js +0 -490
- package/dist/workflows/run/step-loop.js.map +0 -1
- package/dist/workflows/run/step-session.d.ts +0 -64
- package/dist/workflows/run/step-session.js +0 -280
- package/dist/workflows/run/step-session.js.map +0 -1
- package/dist/workflows/run/steps.d.ts +0 -13
- package/dist/workflows/run/steps.js +0 -14
- package/dist/workflows/run/steps.js.map +0 -1
- package/dist/workflows/run/tracked-work.d.ts +0 -12
- package/dist/workflows/run/tracked-work.js +0 -29
- package/dist/workflows/run/tracked-work.js.map +0 -1
- package/dist/workflows/run/turn-bookkeeping.d.ts +0 -67
- package/dist/workflows/run/turn-bookkeeping.js +0 -174
- package/dist/workflows/run/turn-bookkeeping.js.map +0 -1
- package/dist/workflows/run/turn-markers.d.ts +0 -85
- package/dist/workflows/run/turn-markers.js +0 -262
- package/dist/workflows/run/turn-markers.js.map +0 -1
- package/dist/workflows/run/turn-nudges.d.ts +0 -101
- package/dist/workflows/run/turn-nudges.js +0 -245
- package/dist/workflows/run/turn-nudges.js.map +0 -1
- package/dist/workflows/run/turn-settler.d.ts +0 -166
- package/dist/workflows/run/turn-settler.js +0 -492
- package/dist/workflows/run/turn-settler.js.map +0 -1
- package/dist/workflows/run/types.d.ts +0 -280
- package/dist/workflows/run/types.js +0 -2
- package/dist/workflows/run/types.js.map +0 -1
- package/dist/workflows/run/usage-accounting.d.ts +0 -28
- package/dist/workflows/run/usage-accounting.js +0 -158
- package/dist/workflows/run/usage-accounting.js.map +0 -1
- package/dist/workflows/run/wait-registry.d.ts +0 -132
- package/dist/workflows/run/wait-registry.js +0 -405
- package/dist/workflows/run/wait-registry.js.map +0 -1
- package/dist/workflows/run/wait-watches.d.ts +0 -855
- package/dist/workflows/run/wait-watches.js +0 -221
- package/dist/workflows/run/wait-watches.js.map +0 -1
- package/dist/workflows/run/wake-admission.d.ts +0 -160
- package/dist/workflows/run/wake-admission.js +0 -404
- package/dist/workflows/run/wake-admission.js.map +0 -1
- package/dist/workflows/run/wake-ledger.d.ts +0 -61
- package/dist/workflows/run/wake-ledger.js +0 -77
- package/dist/workflows/run/wake-ledger.js.map +0 -1
- package/dist/workflows/run/wake-retries.d.ts +0 -31
- package/dist/workflows/run/wake-retries.js +0 -93
- package/dist/workflows/run/wake-retries.js.map +0 -1
- package/dist/workflows/run/worker-executions.d.ts +0 -54
- package/dist/workflows/run/worker-executions.js +0 -149
- package/dist/workflows/run/worker-executions.js.map +0 -1
- package/dist/workflows/run/worker-orphans.d.ts +0 -91
- package/dist/workflows/run/worker-orphans.js +0 -275
- package/dist/workflows/run/worker-orphans.js.map +0 -1
- package/dist/workflows/run/worker-questions.d.ts +0 -122
- package/dist/workflows/run/worker-questions.js +0 -309
- package/dist/workflows/run/worker-questions.js.map +0 -1
- package/dist/workflows/run/workflow-position.d.ts +0 -18
- package/dist/workflows/run/workflow-position.js +0 -88
- package/dist/workflows/run/workflow-position.js.map +0 -1
- package/dist/workflows/run/worktree-autosave.d.ts +0 -39
- package/dist/workflows/run/worktree-autosave.js +0 -156
- package/dist/workflows/run/worktree-autosave.js.map +0 -1
- package/dist/workflows/run-scheduling.d.ts +0 -40
- package/dist/workflows/run-scheduling.js +0 -84
- package/dist/workflows/run-scheduling.js.map +0 -1
- package/dist/workflows/run-states.d.ts +0 -191
- package/dist/workflows/run-states.js +0 -318
- package/dist/workflows/run-states.js.map +0 -1
- package/dist/workflows/run.d.ts +0 -334
- package/dist/workflows/run.js +0 -603
- package/dist/workflows/run.js.map +0 -1
- package/dist/workflows/turn-end.d.ts +0 -126
- package/dist/workflows/turn-end.js +0 -78
- package/dist/workflows/turn-end.js.map +0 -1
- package/dist/workflows/types.d.ts +0 -83
- package/dist/workflows/types.js +0 -192
- package/dist/workflows/types.js.map +0 -1
- package/dist/workflows/wait-scope.d.ts +0 -80
- package/dist/workflows/wait-scope.js +0 -110
- package/dist/workflows/wait-scope.js.map +0 -1
- package/dist/workflows/waits.d.ts +0 -188
- package/dist/workflows/waits.js +0 -287
- package/dist/workflows/waits.js.map +0 -1
- package/dist/workspace/agent-accounts.d.ts +0 -128
- package/dist/workspace/agent-accounts.js +0 -280
- package/dist/workspace/agent-accounts.js.map +0 -1
- package/dist/workspace/agent-profiles.d.ts +0 -124
- package/dist/workspace/agent-profiles.js +0 -190
- package/dist/workspace/agent-profiles.js.map +0 -1
- package/dist/workspace/config.d.ts +0 -181
- package/dist/workspace/config.js +0 -389
- package/dist/workspace/config.js.map +0 -1
- package/dist/workspace/migrations.d.ts +0 -35
- package/dist/workspace/migrations.js +0 -147
- package/dist/workspace/migrations.js.map +0 -1
- package/dist/workspace/projects-cli.d.ts +0 -25
- package/dist/workspace/projects-cli.js +0 -172
- package/dist/workspace/projects-cli.js.map +0 -1
- package/dist/workspace/projects.d.ts +0 -129
- package/dist/workspace/projects.js +0 -267
- package/dist/workspace/projects.js.map +0 -1
- package/dist/workspace/semaphore.d.ts +0 -145
- package/dist/workspace/semaphore.js +0 -196
- package/dist/workspace/semaphore.js.map +0 -1
- package/dist/workspace/ui-state.d.ts +0 -36
- package/dist/workspace/ui-state.js +0 -55
- package/dist/workspace/ui-state.js.map +0 -1
- package/dist/workspace/webhooks.d.ts +0 -40
- package/dist/workspace/webhooks.js +0 -146
- package/dist/workspace/webhooks.js.map +0 -1
- package/dist/worktree-manifest.d.ts +0 -165
- package/dist/worktree-manifest.js +0 -530
- package/dist/worktree-manifest.js.map +0 -1
- package/dist/worktree-setup.d.ts +0 -85
- package/dist/worktree-setup.js +0 -164
- package/dist/worktree-setup.js.map +0 -1
- package/scripts/benchmark-run-store-fixture.ts +0 -432
- package/scripts/benchmark-run-store.ts +0 -743
- package/scripts/benchmark-stuck-destroys.ts +0 -143
- package/scripts/check-pack.mjs +0 -48
- package/scripts/inline-contract.mjs +0 -165
- package/scripts/install-as-command.mjs +0 -122
- package/scripts/measure-transcript-facts-health.mjs +0 -87
- package/scripts/measure-transcript-facts-lag.mjs +0 -68
- package/scripts/mock-autonomous.mjs +0 -11
- package/scripts/mock-ci-tool.mjs +0 -111
- package/scripts/mock-claude-model-refusal.mjs +0 -42
- package/scripts/mock-claude.mjs +0 -1065
- package/scripts/mock-codex-app-server.mjs +0 -905
- package/scripts/mock-codex-coalesce-steer.mjs +0 -59
- package/scripts/mock-codex-reverse-steer.mjs +0 -130
- package/scripts/mock-cursor-acp.mjs +0 -423
- package/scripts/mock-cursor-hang-stdin-late.mjs +0 -35
- package/scripts/mock-cursor-hang-stdin.mjs +0 -30
- package/scripts/mock-cursor-print.mjs +0 -256
- package/scripts/mock-deferred-turn-start.mjs +0 -16
- package/scripts/mock-delivery-control.d.mts +0 -23
- package/scripts/mock-delivery-control.mjs +0 -80
- package/scripts/mock-env-record.mjs +0 -11
- package/scripts/mock-failure-control.d.mts +0 -13
- package/scripts/mock-failure-control.mjs +0 -68
- package/scripts/mock-multi-pr.mjs +0 -7
- package/scripts/mock-nudge.mjs +0 -45
- package/scripts/mock-omp-rpc.mjs +0 -779
- package/scripts/mock-opencode-serve.mjs +0 -1230
- package/scripts/mock-pi-rpc.mjs +0 -698
- package/scripts/mock-runner-crash.mjs +0 -58
- package/scripts/mock-session-context.d.mts +0 -5
- package/scripts/mock-session-context.mjs +0 -56
- package/scripts/mock-silent-tail.mjs +0 -85
- package/scripts/mock-turn-messages.mjs +0 -5
- package/scripts/omp-ci-wait.mjs +0 -29
- package/scripts/omp-restrict-delegation.yml +0 -4
- package/scripts/pi-ci-wait.mjs +0 -17
- package/scripts/pi-default-tools.mjs +0 -22
- package/scripts/pi-project-skills.mjs +0 -59
- package/scripts/pi-retry-degraded-service.mjs +0 -16
- package/scripts/probe-cursor-print.mjs +0 -627
- package/scripts/seed-archive-profile.ts +0 -53
- package/scripts/sync-readme.mjs +0 -20
- package/scripts/test-process-usage.mjs +0 -47
- package/scripts/transcript-facts-fixture.mjs +0 -53
- package/scripts/voice-replay.ts +0 -50
- package/scripts/windows-workspace-identity.cs +0 -208
- package/scripts/windows-workspace-identity.ps1 +0 -10
- package/web/dist/assets/alert-dialog-DfctKUMw.js +0 -1
- package/web/dist/assets/button-CeupvoKG.js +0 -41
- package/web/dist/assets/centered-state-DRV994qx.js +0 -1
- package/web/dist/assets/cez-idle-D3aj_9lp.js +0 -1
- package/web/dist/assets/diff-CMvwOEAq2.js +0 -3
- package/web/dist/assets/diff-controls-DOUOXMFa.js +0 -1
- package/web/dist/assets/diff-view-CeyiYVO0.js +0 -11
- package/web/dist/assets/dropdown-menu-o5TscAn1.js +0 -6
- package/web/dist/assets/git-toolbar-BXqnQi8K.js +0 -1
- package/web/dist/assets/github-BK1vJWfx.js +0 -1
- package/web/dist/assets/index-C3hy-aA5.css +0 -1
- package/web/dist/assets/index-CvfFqahx.js +0 -34
- package/web/dist/assets/lib-BQXq3kEf.js +0 -1
- package/web/dist/assets/live-protocol-DhRssvhp.js +0 -64
- package/web/dist/assets/play-CmVAj_fu.js +0 -1
- package/web/dist/assets/popover-BhkASzoh.js +0 -1
- package/web/dist/assets/preview-pane-connected-DYEO_KU8.js +0 -3
- package/web/dist/assets/reference-chip-CwVbHR5t.js +0 -1
- package/web/dist/assets/repo-git-CHmWZuZU.js +0 -1
- package/web/dist/assets/run-header-BaMbZXjb.js +0 -2
- package/web/dist/assets/skill-empty-hint-oOtzR3v0.js +0 -1
- package/web/dist/assets/skills-DviK76JU.js +0 -1
- package/web/dist/assets/status-dot-B_zxTP5h.js +0 -1
- package/web/dist/assets/tab-link-I2OzEyyp.js +0 -1
- package/web/dist/assets/task-changes--tIcV2If.js +0 -1
- package/web/dist/assets/task-commits-BkgYMsVZ.js +0 -1
- package/web/dist/assets/task-files-CfqI5Pd4.js +0 -2
- package/web/dist/assets/task-github-item-CXv13eJx.js +0 -1
- package/web/dist/assets/task-thread-DJfpoqYU.js +0 -9
- package/web/dist/assets/thread-state-C_J5glQD.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-C-_lVGuC.js +0 -1
- package/web/dist/assets/workflows-9xLAxVoB.js +0 -7
- package/web/dist/assets/zoomable-image-CxQSsfcn.js +0 -1
|
@@ -1,581 +0,0 @@
|
|
|
1
|
-
import { continuationNextStep, waitingWorkflowStepIndex, ciWorkflowResumeStepIndex } from './workflow-position.js';
|
|
2
|
-
import { join } from 'node:path';
|
|
3
|
-
import { inputDeliveryOf } from '../../core/agent-runner.js';
|
|
4
|
-
import { startManagedSession } from '../../core/managed-session.js';
|
|
5
|
-
import { pastedAttachmentsText } from '../pasted-content.js';
|
|
6
|
-
import { continuationOpening } from './opening.js';
|
|
7
|
-
import { createSessionEventHandler, launchPreamble } from './session-events.js';
|
|
8
|
-
import { agentDirectories, composeSystemPrompt, expandRegistrySlashSkillText } from './prompts.js';
|
|
9
|
-
import { continuationRunner } from './launch-settings.js';
|
|
10
|
-
import { preserveRunAfterDisposal } from './run-guards.js';
|
|
11
|
-
import { stepScope } from './steps.js';
|
|
12
|
-
import { clearIdleTimer } from './input-timers.js';
|
|
13
|
-
import * as inputReceipts from './input-receipts.js';
|
|
14
|
-
import { continuationDefStep } from '../../delegation/execution-identity.js';
|
|
15
|
-
import { seedHandoffFile } from '../../handoff.js';
|
|
16
|
-
import { loadConfig } from '../../config.js';
|
|
17
|
-
import { openWaits } from '../waits.js';
|
|
18
|
-
import { stepToolGrant, toolGrantLists } from '../types.js';
|
|
19
|
-
import { waitForCachedTeamSkills, waitForTeamSkills } from '../../skills-remote.js';
|
|
20
|
-
import { continuationModel, continuationEffort } from './launch-settings.js';
|
|
21
|
-
import { leadingSlashSkillName, skillSystemPrompt } from './prompts.js';
|
|
22
|
-
import { hasPendingHumanAsk, pendingHumanAskSeq } from './pending-ask-facts.js';
|
|
23
|
-
import { clearAutosaveTimer } from './input-timers.js';
|
|
24
|
-
import { REPOSITORY_ROOT_LOCK_DISABLED_NOTE } from './run-workspace.js';
|
|
25
|
-
import * as sessionEvents from './session-events.js';
|
|
26
|
-
import { existsSync } from 'node:fs';
|
|
27
|
-
import { rematerializeReclaimedWorktree } from '../../runs/retention.js';
|
|
28
|
-
import { ownedContinuationWorkspace } from './run-workspace.js';
|
|
29
|
-
/** Owns the Continue workspace and launch session. */
|
|
30
|
-
export class ContinuationSession {
|
|
31
|
-
context;
|
|
32
|
-
host;
|
|
33
|
-
line;
|
|
34
|
-
sharedHost;
|
|
35
|
-
repoRootLease;
|
|
36
|
-
autosave;
|
|
37
|
-
runSkills;
|
|
38
|
-
sessionEventHost;
|
|
39
|
-
launchPreambleHost;
|
|
40
|
-
inputReceiptHost;
|
|
41
|
-
inputReceiptSteps;
|
|
42
|
-
humanWaits;
|
|
43
|
-
queuedInput;
|
|
44
|
-
workerQuestions;
|
|
45
|
-
runSettlement;
|
|
46
|
-
constructor(context, host, line, sharedHost, repoRootLease, autosave, runSkills, sessionEventHost, launchPreambleHost, inputReceiptHost, inputReceiptSteps, humanWaits, queuedInput, workerQuestions, runSettlement) {
|
|
47
|
-
this.context = context;
|
|
48
|
-
this.host = host;
|
|
49
|
-
this.line = line;
|
|
50
|
-
this.sharedHost = sharedHost;
|
|
51
|
-
this.repoRootLease = repoRootLease;
|
|
52
|
-
this.autosave = autosave;
|
|
53
|
-
this.runSkills = runSkills;
|
|
54
|
-
this.sessionEventHost = sessionEventHost;
|
|
55
|
-
this.launchPreambleHost = launchPreambleHost;
|
|
56
|
-
this.inputReceiptHost = inputReceiptHost;
|
|
57
|
-
this.inputReceiptSteps = inputReceiptSteps;
|
|
58
|
-
this.humanWaits = humanWaits;
|
|
59
|
-
this.queuedInput = queuedInput;
|
|
60
|
-
this.workerQuestions = workerQuestions;
|
|
61
|
-
this.runSettlement = runSettlement;
|
|
62
|
-
}
|
|
63
|
-
/** Where a Continue runs: an owned worker's verified workspace, or the task's worktree, which
|
|
64
|
-
* retention may have reclaimed (#483), else the repository root. Returns undefined after an
|
|
65
|
-
* unavailable owned workspace failed the run. */
|
|
66
|
-
async continuationWorkspace(runId, stepId, record) {
|
|
67
|
-
if (record?.delegation?.role === 'worker') {
|
|
68
|
-
const cwd = await this.ownedContinuationWorkspace(runId, stepId, record, record.delegation);
|
|
69
|
-
return cwd === undefined ? undefined : { cwd, rematerialized: false };
|
|
70
|
-
}
|
|
71
|
-
// Retention (#483) rebuilt a reclaimed directory: a bare checkout that needs setup again (#917).
|
|
72
|
-
const rematerialized = await rematerializeReclaimedWorktree(this.context.repoRoot, this.context.store, runId);
|
|
73
|
-
const cwd = record?.worktreePath && existsSync(record.worktreePath) ? record.worktreePath : this.context.repoRoot;
|
|
74
|
-
return { cwd, rematerialized };
|
|
75
|
-
}
|
|
76
|
-
/** An owned worker's workspace for a Continue, verified with its parent's context. Returns
|
|
77
|
-
* undefined after it failed the run: owned workers never adopt or recreate an unverified resource. */
|
|
78
|
-
async ownedContinuationWorkspace(runId, stepId, record, delegation) {
|
|
79
|
-
try {
|
|
80
|
-
return await ownedContinuationWorkspace(this.context.store, this.context.repoRoot, this.context.dataDir, record, delegation);
|
|
81
|
-
}
|
|
82
|
-
catch (error) {
|
|
83
|
-
const message = `owned workspace unavailable: ${error instanceof Error ? error.message : String(error)}`;
|
|
84
|
-
const finishedAt = new Date().toISOString();
|
|
85
|
-
this.context.store.updateStep(runId, stepId, { status: 'failed', error: message, finishedAt });
|
|
86
|
-
this.host.move(runId, 'fail-start', { error: message, finishedAt, currentStepId: undefined });
|
|
87
|
-
this.context.store.appendEvent(runId, { type: 'lifecycle', message });
|
|
88
|
-
this.line.unmarkStarting(runId);
|
|
89
|
-
this.host.dropActive(runId);
|
|
90
|
-
return undefined;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
/** A Stop that arrived while the Continue resolved its workspace cancels the run before it
|
|
94
|
-
* becomes active. */
|
|
95
|
-
settleStoppedContinuation(runId) {
|
|
96
|
-
if (!this.context.store.getRun(runId)?.stopping)
|
|
97
|
-
return false;
|
|
98
|
-
this.host.move(runId, 'cancel', { finishedAt: new Date().toISOString() });
|
|
99
|
-
this.line.unmarkStarting(runId);
|
|
100
|
-
this.host.dropActive(runId);
|
|
101
|
-
return true;
|
|
102
|
-
}
|
|
103
|
-
/** The repository-root lease of a Continue that runs in the repository root. Returns undefined
|
|
104
|
-
* when no lease is needed, so that path does not yield, else whether the lease was granted. */
|
|
105
|
-
continuationRepoRootLease(runId, state) {
|
|
106
|
-
if (state.cwd !== this.context.repoRoot)
|
|
107
|
-
return undefined;
|
|
108
|
-
if (this.host.repositoryRootLockDisabled()) {
|
|
109
|
-
this.context.store.appendEvent(runId, {
|
|
110
|
-
type: 'note',
|
|
111
|
-
message: REPOSITORY_ROOT_LOCK_DISABLED_NOTE,
|
|
112
|
-
});
|
|
113
|
-
return undefined;
|
|
114
|
-
}
|
|
115
|
-
this.context.store.appendEvent(runId, {
|
|
116
|
-
type: 'note',
|
|
117
|
-
message: 'waiting for exclusive access to the repository working tree',
|
|
118
|
-
});
|
|
119
|
-
return this.acquireContinuationRepoRoot(runId, state);
|
|
120
|
-
}
|
|
121
|
-
/** Wait for the repository-root lease; a Stop during the wait cancels the run. */
|
|
122
|
-
async acquireContinuationRepoRoot(runId, state) {
|
|
123
|
-
if (await this.repoRootLease.acquireRepoRoot(runId, state))
|
|
124
|
-
return true;
|
|
125
|
-
this.host.move(runId, 'cancel', {
|
|
126
|
-
finishedAt: new Date().toISOString(),
|
|
127
|
-
currentStepId: undefined,
|
|
128
|
-
});
|
|
129
|
-
this.context.store.appendEvent(runId, { type: 'lifecycle', message: 'run cancelled' });
|
|
130
|
-
this.host.dropActive(runId);
|
|
131
|
-
return false;
|
|
132
|
-
}
|
|
133
|
-
/** Arm autosave, seed the handoff file, and run worktree setup. Returns setup's note for the
|
|
134
|
-
* opening message. */
|
|
135
|
-
async prepareContinuationWorktree(runId, state, record, rematerialized) {
|
|
136
|
-
this.autosave.armAutosave(runId, state);
|
|
137
|
-
if (record)
|
|
138
|
-
seedHandoffFile(this.context.dataDir, record); // idempotent — normally already there
|
|
139
|
-
// Worktree setup (#917) for a directory retention rebuilt, or one a restart interrupted.
|
|
140
|
-
return this.host.prepareWorktree(runId, state, (await loadConfig(this.context.repoRoot)).worktreeSetup, (event) => this.context.store.appendEvent(runId, event), rematerialized ? 'rematerialized' : 'resume');
|
|
141
|
-
}
|
|
142
|
-
/** Mark the run and the Continue's step as running, then open the step. A Cursor session resumes
|
|
143
|
-
* on the transport it was opened with. */
|
|
144
|
-
startContinuationStep(runId, stepId, record, sessionId, backend) {
|
|
145
|
-
this.host.move(runId, 'start', {
|
|
146
|
-
error: undefined,
|
|
147
|
-
finishedAt: undefined,
|
|
148
|
-
currentStepId: stepId,
|
|
149
|
-
});
|
|
150
|
-
this.context.store.updateStep(runId, stepId, {
|
|
151
|
-
status: 'running',
|
|
152
|
-
iterations: 1,
|
|
153
|
-
startedAt: new Date().toISOString(),
|
|
154
|
-
sessionId,
|
|
155
|
-
backend,
|
|
156
|
-
...(sessionId && backend === 'cursor' ? {
|
|
157
|
-
sessionTransport: record?.steps.find((step) => step.sessionId === sessionId)?.sessionTransport ?? 'cursor-acp',
|
|
158
|
-
} : {}),
|
|
159
|
-
});
|
|
160
|
-
this.context.store.appendEvent(runId, { type: 'step-start', stepId, name: 'Continue', kind: 'agent', iteration: 1 });
|
|
161
|
-
}
|
|
162
|
-
/** The human ask a human Continue answers, and the human waits that answer settles. */
|
|
163
|
-
openingAnswer(runId, state, opening) {
|
|
164
|
-
const askSeq = opening.checkpoint?.origin === 'human' ? pendingHumanAskSeq(this.context.store, runId) : undefined;
|
|
165
|
-
state.openingAnswerAskSeq = askSeq;
|
|
166
|
-
// The human waits this answer answers; one the opening turn opens is its next question.
|
|
167
|
-
const waits = askSeq === undefined ? []
|
|
168
|
-
: openWaits(this.context.store.getRun(runId) ?? {}).filter(wait => wait.kind === 'human').map(wait => wait.id);
|
|
169
|
-
return { askSeq, waits, parentAnswer: opening.parentAnswer };
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* A completed turn acknowledges the opening payload. Until then a restart
|
|
173
|
-
* must replay it, including a crash after startSession but before delivery.
|
|
174
|
-
* Returns false when the opening input's checkpoint failed, and the turn end stops there.
|
|
175
|
-
*/
|
|
176
|
-
acknowledgeOpeningTurn(runId, state, answer) {
|
|
177
|
-
if (state.cancelled)
|
|
178
|
-
return true;
|
|
179
|
-
const session = state.session?.open ? state.session : undefined;
|
|
180
|
-
const opening = session ? state.openingAgentInputId : undefined;
|
|
181
|
-
const askSeq = session ? answer.askSeq : undefined;
|
|
182
|
-
// One commit (hearsay-tools/cezarion#1805): a store reopened after a crash never reads the
|
|
183
|
-
// opening input handled while the question it answers is still open.
|
|
184
|
-
const outcomes = [
|
|
185
|
-
...(opening ? [{ kind: 'opening-handled', inputId: opening, at: new Date().toISOString() }] : []),
|
|
186
|
-
...(askSeq !== undefined ? [{ kind: 'answered', waitIds: answer.waits }] : []),
|
|
187
|
-
];
|
|
188
|
-
// Only the opening input's checkpoint stops the turn end; the rest is best effort, as before.
|
|
189
|
-
try {
|
|
190
|
-
this.context.store.commitOutcome(runId, outcomes, { patch: { continuationMessage: undefined } }, { bestEffort: !opening });
|
|
191
|
-
}
|
|
192
|
-
catch (error) {
|
|
193
|
-
this.host.latchAgentInputError(runId, state, session, `agent input delivery checkpoint failed: ${error instanceof Error ? error.message : String(error)}`);
|
|
194
|
-
return false;
|
|
195
|
-
}
|
|
196
|
-
if (opening) {
|
|
197
|
-
state.openingAgentInputId = undefined;
|
|
198
|
-
this.host.reconcileWorkerWaits();
|
|
199
|
-
}
|
|
200
|
-
if (askSeq !== undefined) {
|
|
201
|
-
this.context.store.appendEvent(runId, { type: 'human-input-delivered', askSeq, ...(answer.parentAnswer ? { source: 'parent' } : {}) });
|
|
202
|
-
answer.askSeq = undefined;
|
|
203
|
-
state.openingAnswerAskSeq = undefined;
|
|
204
|
-
}
|
|
205
|
-
return true;
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* What a Continue runs with. Backend + model come off the record: the run's current backend by
|
|
209
|
-
* default, or the follow-up override that `continueRun` persisted before scheduling (#401).
|
|
210
|
-
* Returns undefined after a pre-spawn gate failed the turn.
|
|
211
|
-
*/
|
|
212
|
-
async continuationLaunchSettings(runId, stepId, state, record, sessionId, backend, sink) {
|
|
213
|
-
// Resuming reattaches to a session that lives inside ONE account's config dir, so the
|
|
214
|
-
// continuation must run under the account that created it — not whatever the project has
|
|
215
|
-
// been switched to since. The owning step is the one carrying this session id.
|
|
216
|
-
const owningStep = sessionId === undefined
|
|
217
|
-
? undefined
|
|
218
|
-
: record?.steps.find((s) => s.sessionId === sessionId);
|
|
219
|
-
// An owned worker's turn runs under the identity pinned for the step it extends (#452).
|
|
220
|
-
const toolsStep = continuationDefStep(this.context.store, record, sessionId);
|
|
221
|
-
const stepIdentity = this.host.workerStep(runId, toolsStep?.id);
|
|
222
|
-
// The owning step also names the session's tools: resolve `allowedTools`/`bashAllowlist`
|
|
223
|
-
// from the persisted `workflowDef` exactly as the first spawn did (`runAgentStep`).
|
|
224
|
-
// Rebuilding with the bare DEFAULT_ALLOWED_TOOLS silently revoked every per-step grant
|
|
225
|
-
// (MCP servers, subagents) on Continue, restart recovery and the usage-limit auto-resume
|
|
226
|
-
// — and dropping `bashAllowlist` WIDENED Bash from an allowlist to unrestricted
|
|
227
|
-
// (`AgentRunSpec.toolGrant`, #430). Record steps share ids with `workflowDef.steps`;
|
|
228
|
-
// a synthetic `continue-N` owner and a fresh-session continuation (backend switch — no
|
|
229
|
-
// owning session) both extend the run's tail, so they resolve from the definition's last
|
|
230
|
-
// agent step. A legacy record without `workflowDef` (#367), or a session no step owns,
|
|
231
|
-
// keeps today's defaults.
|
|
232
|
-
const toolGrant = stepToolGrant(stepIdentity?.grants, toolsStep, backend);
|
|
233
|
-
const model = await continuationModel(this.context.store, this.context.repoRoot, runId, state, record, toolsStep, stepIdentity, backend);
|
|
234
|
-
if (typeof model === 'string') {
|
|
235
|
-
this.failContinuationBeforeSpawn(runId, stepId, sink, model);
|
|
236
|
-
return undefined;
|
|
237
|
-
}
|
|
238
|
-
const effort = continuationEffort(this.context.repoRoot, record, toolsStep, stepIdentity);
|
|
239
|
-
if (typeof effort === 'string') {
|
|
240
|
-
this.failContinuationBeforeSpawn(runId, stepId, sink, effort);
|
|
241
|
-
return undefined;
|
|
242
|
-
}
|
|
243
|
-
// The temp-directory preflight (#785) rides along with the account resolution: a resumed
|
|
244
|
-
// turn hits the same broken `/tmp` a fresh one would, and an agent whose shell silently
|
|
245
|
-
// returns nothing is worse than a turn that refuses to start and says why. So does an account
|
|
246
|
-
// that would open another folder than the one its session lives in (#1283).
|
|
247
|
-
const profile = await sessionEvents.stepProfileFor(this.context, this.sharedHost, runId, backend, {
|
|
248
|
-
recordedProfileId: owningStep?.profileId,
|
|
249
|
-
stepId: toolsStep?.id,
|
|
250
|
-
});
|
|
251
|
-
if (typeof profile === 'string') {
|
|
252
|
-
this.failContinuationBeforeSpawn(runId, stepId, sink, profile);
|
|
253
|
-
return undefined;
|
|
254
|
-
}
|
|
255
|
-
return {
|
|
256
|
-
owningStep, toolsStep, toolGrant, backendModel: model.backendModel, effort: effort.effort, profile,
|
|
257
|
-
extraSystemPrompt: record?.systemPrompt,
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
/** Settle this turn as a failure before anything is spawned — the shape every
|
|
261
|
-
* pre-spawn gate needs (model identity, #405; temp directory, #785). */
|
|
262
|
-
failContinuationBeforeSpawn(runId, stepId, sink, message) {
|
|
263
|
-
const failedAt = new Date().toISOString();
|
|
264
|
-
sink.sessionEnded('error', message);
|
|
265
|
-
this.context.store.updateStep(runId, stepId, {
|
|
266
|
-
status: 'failed',
|
|
267
|
-
error: message,
|
|
268
|
-
finishedAt: failedAt,
|
|
269
|
-
});
|
|
270
|
-
this.host.move(runId, 'fail-start', {
|
|
271
|
-
error: `continue failed: ${message}`,
|
|
272
|
-
finishedAt: failedAt,
|
|
273
|
-
currentStepId: undefined,
|
|
274
|
-
});
|
|
275
|
-
this.context.store.appendEvent(runId, {
|
|
276
|
-
type: 'lifecycle',
|
|
277
|
-
message: `continue failed — ${message}`,
|
|
278
|
-
});
|
|
279
|
-
this.host.dropActive(runId);
|
|
280
|
-
}
|
|
281
|
-
/** Record the Continue's account on its step and the settings its workers inherit. */
|
|
282
|
-
applyContinuationSettings(runId, stepId, state, backend, settings) {
|
|
283
|
-
this.context.store.updateStep(runId, stepId, { profileId: settings.profile.profileId });
|
|
284
|
-
state.delegationSettings = { cwd: state.cwd, runner: backend, model: settings.backendModel,
|
|
285
|
-
effort: settings.effort, agentProfile: settings.profile.profileId, accountBinding: settings.profile.accountBinding,
|
|
286
|
-
systemPrompt: settings.extraSystemPrompt, ...toolGrantLists(settings.toolGrant) };
|
|
287
|
-
}
|
|
288
|
-
/** The continued step's skill files and playbook, when the step names a skill or the prompt
|
|
289
|
-
* starts with a `/name`. Returns undefined otherwise, so that path does not yield. */
|
|
290
|
-
continuationSkills(runId, state, prompt, toolsStep, skipSkillOnResume) {
|
|
291
|
-
const continuedSkillName = toolsStep?.skill;
|
|
292
|
-
// The continued step's skill and a leading `/name` in this prompt both get their companions;
|
|
293
|
-
// upstream rebuilt only the slash name, so an ordinary Continue lost the step skill's (#1408).
|
|
294
|
-
const continuationSlash = leadingSlashSkillName(prompt);
|
|
295
|
-
if (!continuedSkillName && !continuationSlash)
|
|
296
|
-
return undefined;
|
|
297
|
-
return this.provisionContinuationSkills(runId, state, continuedSkillName, continuationSlash, skipSkillOnResume);
|
|
298
|
-
}
|
|
299
|
-
/** Reinstall the continued step's skill and a leading `/name`'s, and build the playbook. */
|
|
300
|
-
async provisionContinuationSkills(runId, state, continuedSkillName, continuationSlash, skipSkillOnResume) {
|
|
301
|
-
let skillPrompt;
|
|
302
|
-
let fallbackSkillPrompt;
|
|
303
|
-
let files = new Map();
|
|
304
|
-
if (continuedSkillName) {
|
|
305
|
-
let skill = this.runSkills.enabledSkills(state).find((candidate) => candidate.name === continuedSkillName);
|
|
306
|
-
if (!skill)
|
|
307
|
-
skill = await this.awaitContinuedSkill(state, continuedSkillName);
|
|
308
|
-
if (skill) {
|
|
309
|
-
// Reinstall the skill and its companions — into a #483 rematerialized
|
|
310
|
-
// worktree, or a team skill's cache copy when the worktree is gone — before
|
|
311
|
-
// the playbook, which names a cache copy's directory (#1024, #1408). No note on Continue.
|
|
312
|
-
files = (await this.runSkills.provisionRunSkills(runId, state, { stepSkill: skill.name, slash: continuationSlash })).filesDir;
|
|
313
|
-
const playbook = skillSystemPrompt(skill, files.get(skill.name));
|
|
314
|
-
if (skipSkillOnResume)
|
|
315
|
-
fallbackSkillPrompt = playbook;
|
|
316
|
-
else
|
|
317
|
-
skillPrompt = playbook;
|
|
318
|
-
}
|
|
319
|
-
else if (!skipSkillOnResume) {
|
|
320
|
-
this.context.store.appendEvent(runId, {
|
|
321
|
-
type: 'lifecycle',
|
|
322
|
-
message: `skill /${continuedSkillName} is not in the skill registry — its instructions were not re-sent to the continued session`,
|
|
323
|
-
});
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
if (!continuedSkillName || !this.runSkills.enabledSkills(state).some((candidate) => candidate.name === continuedSkillName)) {
|
|
327
|
-
if (continuationSlash)
|
|
328
|
-
files = (await this.runSkills.provisionRunSkills(runId, state, { slash: continuationSlash })).filesDir;
|
|
329
|
-
}
|
|
330
|
-
return { skillPrompt, fallbackSkillPrompt, files };
|
|
331
|
-
}
|
|
332
|
-
/** The continued step's skill when the registry did not list it yet. */
|
|
333
|
-
async awaitContinuedSkill(state, continuedSkillName) {
|
|
334
|
-
// Boot recovery can outrun the async team-skills cache (`getTeamSkillsCached`
|
|
335
|
-
// returns [] until `initialTeamSkillsLoad` resolves). Wait briefly, then
|
|
336
|
-
// re-discover; never hang Continue on the network. The on-disk clone's
|
|
337
|
-
// list arrives before the passive fetch (#859), so stop as soon as it
|
|
338
|
-
// names this skill instead of waiting out a slow first fetch of the day.
|
|
339
|
-
try {
|
|
340
|
-
await new Promise((resolve) => {
|
|
341
|
-
const timeout = setTimeout(resolve, 1_500);
|
|
342
|
-
timeout.unref?.();
|
|
343
|
-
const settle = () => { clearTimeout(timeout); resolve(); };
|
|
344
|
-
waitForTeamSkills(this.context.repoRoot).then(settle, settle);
|
|
345
|
-
waitForCachedTeamSkills(this.context.repoRoot).then((cached) => {
|
|
346
|
-
if (cached.some((candidate) => candidate.name === continuedSkillName))
|
|
347
|
-
settle();
|
|
348
|
-
}, () => undefined);
|
|
349
|
-
});
|
|
350
|
-
await this.runSkills.loadRunSkills(state, 'ignore');
|
|
351
|
-
return this.runSkills.enabledSkills(state).find((candidate) => candidate.name === continuedSkillName);
|
|
352
|
-
}
|
|
353
|
-
catch {
|
|
354
|
-
// Best-effort — a slow or failing team-skills load must not fail Continue.
|
|
355
|
-
return undefined;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
/** A Stop before the Continue's session spawned: cancel the step and the run. */
|
|
359
|
-
settleContinuationPrelaunchCancel(runId, stepId, state) {
|
|
360
|
-
this.context.store.updateStep(runId, stepId, { status: 'cancelled' });
|
|
361
|
-
this.host.move(runId, 'cancel', { finishedAt: new Date().toISOString(), currentStepId: undefined });
|
|
362
|
-
clearAutosaveTimer(state);
|
|
363
|
-
this.host.dropActive(runId);
|
|
364
|
-
}
|
|
365
|
-
/** A Continue's launch went stale while it provisioned (`launchStale`). A replaced active run
|
|
366
|
-
* needs nothing more; a Stop cancels the run; a root Finish holds the Continue in the queue. */
|
|
367
|
-
settleStaleContinuationLaunch(runId, stepId, state, held) {
|
|
368
|
-
if (this.sharedHost.active.get(runId) !== state)
|
|
369
|
-
return;
|
|
370
|
-
if (state.cancelled || this.sharedHost.workerExecutionStopped(runId)) {
|
|
371
|
-
state.cancelled = true;
|
|
372
|
-
this.settleContinuationPrelaunchCancel(runId, stepId, state);
|
|
373
|
-
}
|
|
374
|
-
else {
|
|
375
|
-
this.host.holdContinuationForRootFinish(runId, { ...held, lineJoinedAt: Date.now() }, state);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
/** Launch the active Continue after its facade has pinned it and left the starting set. */
|
|
379
|
-
async launchContinuation(runId, stepId, sessionId, backend, prompt, images, persistedImages, persistedAttachments, state, record, rematerialized) {
|
|
380
|
-
const lease = this.continuationRepoRootLease(runId, state);
|
|
381
|
-
if (lease && !(await lease))
|
|
382
|
-
return;
|
|
383
|
-
const setupNote = await this.prepareContinuationWorktree(runId, state, record, rematerialized);
|
|
384
|
-
// A Stop during setup settles below, at the prelaunch cancellation check before any spawn.
|
|
385
|
-
// Registry snapshot for `/skill` expansion. A continuation builds its OWN ActiveRun, and without
|
|
386
|
-
// this the resumed session expanded against an empty registry and leaked `/om-...` verbatim to
|
|
387
|
-
// the backend, which answered "Unknown skill" (open-mercato/cezar#811). Best-effort — discovery must never
|
|
388
|
-
// break Continue.
|
|
389
|
-
await this.runSkills.loadRunSkills(state, 'ignore');
|
|
390
|
-
this.startContinuationStep(runId, stepId, record, sessionId, backend);
|
|
391
|
-
const opening = continuationOpening(this.context.store, {
|
|
392
|
-
routedAsk: id => this.workerQuestions.routedAsk(id),
|
|
393
|
-
readPersistedAttachments: (...args) => this.queuedInput.readPersistedAttachments(...args),
|
|
394
|
-
}, runId, stepId, state, record, { prompt, images, persistedImages, persistedAttachments });
|
|
395
|
-
prompt = opening.prompt;
|
|
396
|
-
const answer = this.openingAnswer(runId, state, opening);
|
|
397
|
-
state.pendingHumanAsk = answer.askSeq === undefined && hasPendingHumanAsk(runId, id => pendingHumanAskSeq(this.context.store, id));
|
|
398
|
-
const turn = { text: '', completedText: '', tail: 'none', scheduleWakeup: undefined, sessionError: undefined };
|
|
399
|
-
const sink = this.host.makeUiSink(runId, stepId);
|
|
400
|
-
const onEvent = createSessionEventHandler(this.context, this.sessionEventHost, {
|
|
401
|
-
runId, state, turn, stepId, backend, sink, tokenBase: 0,
|
|
402
|
-
emit: event => this.context.store.appendEvent(runId, event),
|
|
403
|
-
acknowledge: () => this.acknowledgeOpeningTurn(runId, state, answer),
|
|
404
|
-
});
|
|
405
|
-
const settings = await this.continuationLaunchSettings(runId, stepId, state, record, sessionId, backend, sink);
|
|
406
|
-
if (!settings)
|
|
407
|
-
return;
|
|
408
|
-
if (state.cancelled) {
|
|
409
|
-
this.settleContinuationPrelaunchCancel(runId, stepId, state);
|
|
410
|
-
return;
|
|
411
|
-
}
|
|
412
|
-
if (this.host.holdContinuationForRootFinish(runId, { stepId, sessionId, backend, prompt, images, lineJoinedAt: Date.now() }, state))
|
|
413
|
-
return;
|
|
414
|
-
this.applyContinuationSettings(runId, stepId, state, backend, settings);
|
|
415
|
-
const { runner, skipSkillOnResume } = continuationRunner(backend, sessionId, settings.owningStep);
|
|
416
|
-
// Re-expand the continued step's skill from the current registry (#790) BEFORE
|
|
417
|
-
// provisionSession. Materializing the skill used to sit after the pre-launch
|
|
418
|
-
// revalidation, so Stop during that await still launched with revoked tools.
|
|
419
|
-
// `record.systemPrompt` is only the extra prompt; the opening session put
|
|
420
|
-
// `skillSystemPrompt(skill)` in front. Skip that prefix only when this
|
|
421
|
-
// session resumes into its own thread on an in-thread runner — those
|
|
422
|
-
// already carry the playbook in history. A missing skill degrades to
|
|
423
|
-
// today's extra-only prompt with one lifecycle warning; in-thread skips
|
|
424
|
-
// do not warn. Workers still inherit only the extra prompt (#778).
|
|
425
|
-
const pendingSkills = this.continuationSkills(runId, state, prompt, settings.toolsStep, skipSkillOnResume);
|
|
426
|
-
const skills = pendingSkills
|
|
427
|
-
? await pendingSkills
|
|
428
|
-
: { skillPrompt: undefined, fallbackSkillPrompt: undefined, files: new Map() };
|
|
429
|
-
state.currentStepId = stepId;
|
|
430
|
-
this.host.beginUsageInvocation(runId, state, stepId);
|
|
431
|
-
// A continuation's opening message becomes the session's `userPrompt` and never passes
|
|
432
|
-
// through `deliverMessage`, so it needs the SAME delivery-only `/skill` rewrite the
|
|
433
|
-
// live path applies (#811). Delivery-only: the `user-message` event above already
|
|
434
|
-
// persisted the user's original text, and the transcript must keep showing that.
|
|
435
|
-
state.agentSessionError = undefined;
|
|
436
|
-
if (this.sharedHost.workerExecutionStopped(runId)) {
|
|
437
|
-
state.cancelled = true;
|
|
438
|
-
throw new Error('Worker stopped before launch');
|
|
439
|
-
}
|
|
440
|
-
const launch = await launchPreamble(this.launchPreambleHost, runId, state);
|
|
441
|
-
const { delegation, webhooksPart, ciTools } = launch;
|
|
442
|
-
// Stop/Finish can arrive while the local tool controller is starting.
|
|
443
|
-
if (launch.stale) {
|
|
444
|
-
this.settleStaleContinuationLaunch(runId, stepId, state, { stepId, sessionId, backend, prompt, images });
|
|
445
|
-
return;
|
|
446
|
-
}
|
|
447
|
-
state.inputDelivery = inputDeliveryOf(runner);
|
|
448
|
-
state.unreadInputIds = new Set();
|
|
449
|
-
state.consumedBeforeAck = new Set();
|
|
450
|
-
const session = this.startContinuationSession(runId, state, runner, {
|
|
451
|
-
stepId, sessionId, prompt, setupNote, opening, skills, skipSkillOnResume, settings, delegation, webhooksPart, ciTools,
|
|
452
|
-
}, onEvent, turn, sink);
|
|
453
|
-
return this.awaitContinuationSession(runId, state, session, { stepId, sink, turn, delegation, ciTools });
|
|
454
|
-
}
|
|
455
|
-
/** Start a Continue's session, resuming its own session when it has one. A throw revokes the
|
|
456
|
-
* tools this launch was given and propagates to `continueRun`. */
|
|
457
|
-
startContinuationSession(runId, state, runner, launch, onEvent, turn, sink) {
|
|
458
|
-
const { delegation, ciTools, opening, skills, settings } = launch;
|
|
459
|
-
let session;
|
|
460
|
-
try {
|
|
461
|
-
// Provisioning determines the actual capability, including a fresh session after recovery.
|
|
462
|
-
const resumed = sessionEvents.launchOpening(this.context, this.sharedHost, runId, state, launch.stepId, {
|
|
463
|
-
body: expandRegistrySlashSkillText(launch.prompt, this.runSkills.enabledSkills(state), skills.files) +
|
|
464
|
-
(launch.setupNote ? `\n\n${launch.setupNote}` : ''),
|
|
465
|
-
ciTools,
|
|
466
|
-
checkpoint: opening.checkpoint,
|
|
467
|
-
});
|
|
468
|
-
const continuationTail = sessionEvents.launchSystemTail(this.context, this.sharedHost, {
|
|
469
|
-
extraSystemPrompt: settings.extraSystemPrompt, delegation, webhooksPart: launch.webhooksPart,
|
|
470
|
-
env: settings.profile.env, ciTools, handoffInjected: resumed.handoffInjected,
|
|
471
|
-
});
|
|
472
|
-
session = startManagedSession(runner, {
|
|
473
|
-
// Skill body (when resent), then the run's extra system prompt, then
|
|
474
|
-
// the handoff contract — the same order as the opening session (#790).
|
|
475
|
-
// In-thread resume omits the skill from systemPrompt; OpenCode's 404
|
|
476
|
-
// fallback uses resumeFallbackSystemPrompt so the fresh session still
|
|
477
|
-
// gets the playbook.
|
|
478
|
-
systemPrompt: composeSystemPrompt(skills.skillPrompt, continuationTail),
|
|
479
|
-
...(launch.skipSkillOnResume ? {
|
|
480
|
-
resumeFallbackSystemPrompt: composeSystemPrompt(skills.fallbackSkillPrompt, continuationTail),
|
|
481
|
-
} : {}),
|
|
482
|
-
userPrompt: opening.attachments.length
|
|
483
|
-
? `${resumed.userPrompt}\n\n${pastedAttachmentsText(opening.attachments)}`
|
|
484
|
-
: resumed.userPrompt,
|
|
485
|
-
...(opening.openingImages.length ? { images: opening.openingImages } : {}),
|
|
486
|
-
cwd: state.cwd,
|
|
487
|
-
toolGrant: settings.toolGrant,
|
|
488
|
-
additionalDirectories: agentDirectories(join(this.context.dataDir, 'runs'), settings.profile.env),
|
|
489
|
-
env: { ...settings.profile.env, ...delegation?.env, ...ciTools?.env },
|
|
490
|
-
...(ciTools ? { cezarTools: ciTools.descriptor } : {}),
|
|
491
|
-
...(delegation ? { restrictNativeDelegation: delegation.restrictNativeDelegation } : {}),
|
|
492
|
-
model: settings.backendModel,
|
|
493
|
-
effort: settings.effort,
|
|
494
|
-
sessionId: launch.sessionId,
|
|
495
|
-
resume: launch.sessionId !== undefined,
|
|
496
|
-
timeoutMs: 0,
|
|
497
|
-
}, onEvent, inputReceipts.inputReceiptCallbacks(this.context, this.inputReceiptHost, this.inputReceiptSteps, runId, state, () => session, turn, sink, true));
|
|
498
|
-
}
|
|
499
|
-
catch (error) {
|
|
500
|
-
ciTools?.revoke();
|
|
501
|
-
state.revokeCiTools = undefined;
|
|
502
|
-
delegation?.revoke();
|
|
503
|
-
state.revokeDelegation = undefined;
|
|
504
|
-
throw error;
|
|
505
|
-
}
|
|
506
|
-
return session;
|
|
507
|
-
}
|
|
508
|
-
/** Wait for a Continue's session to close, then settle the run by how it closed. Teardown always
|
|
509
|
-
* revokes the launch's tools, saves the worktree and leaves the active set
|
|
510
|
-
* (`releaseContinuationSession`). */
|
|
511
|
-
async awaitContinuationSession(runId, state, session, launch) {
|
|
512
|
-
const { stepId, sink, turn } = launch;
|
|
513
|
-
const sessionClosed = this.host.trackWorkerSessionResult(runId, session);
|
|
514
|
-
state.session = session;
|
|
515
|
-
const resumedNext = continuationNextStep(this.context.store, runId, record => waitingWorkflowStepIndex(record, (run, step) => this.host.isSyntheticContinuation(run, step), ciWorkflowResumeStepIndex));
|
|
516
|
-
state.nextStep = stepScope(session, resumedNext);
|
|
517
|
-
state.sessionEverOpened = true;
|
|
518
|
-
state.interrupt = () => session.interrupt();
|
|
519
|
-
let setupComplete = false;
|
|
520
|
-
const close = {};
|
|
521
|
-
try {
|
|
522
|
-
const result = await inputReceipts.sessionResultWithReceipts(this.context, this.inputReceiptHost, this.inputReceiptSteps, runId, state, session, () => { setupComplete = true; });
|
|
523
|
-
if (preserveRunAfterDisposal(this.context.store, this.context.disposed, runId, state))
|
|
524
|
-
return;
|
|
525
|
-
this.humanWaits.withdrawCezarHumanWaits(runId);
|
|
526
|
-
sessionEvents.persistWorkerAssistantResult(this.context, this.sharedHost, runId, stepId, result.text);
|
|
527
|
-
// A durable CI wait keeps recovery live, not this failed attempt successful.
|
|
528
|
-
if (turn.sessionError || state.agentInputError)
|
|
529
|
-
throw new Error(turn.sessionError ?? state.agentInputError);
|
|
530
|
-
const settled = this.runSettlement.settleClosedContinuation(runId, state, stepId, sink, resumedNext, close);
|
|
531
|
-
if (settled)
|
|
532
|
-
await settled;
|
|
533
|
-
}
|
|
534
|
-
catch (err) {
|
|
535
|
-
if (!setupComplete) {
|
|
536
|
-
try {
|
|
537
|
-
session.interrupt();
|
|
538
|
-
}
|
|
539
|
-
catch { /* Still wait for actual termination. */ }
|
|
540
|
-
await sessionClosed;
|
|
541
|
-
}
|
|
542
|
-
if (preserveRunAfterDisposal(this.context.store, this.context.disposed, runId, state))
|
|
543
|
-
return;
|
|
544
|
-
this.runSettlement.settleFailedContinuation(runId, state, stepId, sink, turn, err);
|
|
545
|
-
}
|
|
546
|
-
finally {
|
|
547
|
-
await this.releaseContinuationSession(runId, state, launch.delegation, launch.ciTools, close);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
/** A Continue's session teardown: revoke the launch's tools, record the usage peaks, clear the
|
|
551
|
-
* timers, save the worktree, leave the active set, then queue the workflow remainder. */
|
|
552
|
-
async releaseContinuationSession(runId, state, delegation, ciTools, close) {
|
|
553
|
-
ciTools?.revoke();
|
|
554
|
-
state.revokeCiTools = undefined;
|
|
555
|
-
delegation?.revoke();
|
|
556
|
-
state.revokeDelegation = undefined;
|
|
557
|
-
this.host.recordUsagePeaks(runId);
|
|
558
|
-
clearIdleTimer(state);
|
|
559
|
-
clearAutosaveTimer(state);
|
|
560
|
-
await this.host.saveWorktree(runId, state, 'turn end');
|
|
561
|
-
// Cancellation may be accepted while final autosave is yielding, even
|
|
562
|
-
// after success was recorded. Retire any durable queue intent before
|
|
563
|
-
// dropping the active state, otherwise pump can launch the tail with a
|
|
564
|
-
// fresh `cancelled:false` state.
|
|
565
|
-
if (state.cancelled) {
|
|
566
|
-
close.resumeWorkflow = undefined;
|
|
567
|
-
if (this.context.store.getRun(runId)?.status !== 'cancelled') {
|
|
568
|
-
this.host.move(runId, 'cancel-late', {
|
|
569
|
-
finishedAt: new Date().toISOString(), currentStepId: undefined,
|
|
570
|
-
});
|
|
571
|
-
this.context.store.appendEvent(runId, { type: 'lifecycle', message: 'run cancelled' });
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
this.host.dropActive(runId);
|
|
575
|
-
if (close.resumeWorkflow) {
|
|
576
|
-
this.line.enqueueJob(runId, close.resumeWorkflow);
|
|
577
|
-
void this.host.pump();
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
//# sourceMappingURL=continuation-session.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"continuation-session.js","sourceRoot":"","sources":["../../../src/workflows/run/continuation-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGnH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAgD,MAAM,sBAAsB,CAAC;AAE3G,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AACnG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAC;AAMrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,C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cAAc,EAAE,CAAC;YACzB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;YAClD,KAAK,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { RunStore } from '../../runs/store.ts';
|
|
2
|
-
import type { ActiveRun } from '../active-run.ts';
|
|
3
|
-
/** Release session grants before timers and live registries are cleared. */
|
|
4
|
-
export declare function releaseActiveResources(store: RunStore, runId: string, state: ActiveRun | undefined): void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** Release session grants before timers and live registries are cleared. */
|
|
2
|
-
export function releaseActiveResources(store, runId, state) {
|
|
3
|
-
state?.pendingPermissions?.clear();
|
|
4
|
-
if (store.getRun(runId)?.hasPendingPermission)
|
|
5
|
-
store.updateRun(runId, { hasPendingPermission: false });
|
|
6
|
-
state?.releaseRepoRoot?.();
|
|
7
|
-
state?.revokeCiTools?.();
|
|
8
|
-
if (state)
|
|
9
|
-
state.releaseRepoRoot = undefined;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=drop-active.js.map
|