@wjarka/cezarion 0.17.0-dev.5677 → 0.17.0-dev.5734
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 +1 -2
- package/dist/cezarion.js +1 -2
- package/dist/hsq.js +1 -2
- package/dist/index.js +1 -121
- 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 +18 -64
- package/web/dist/assets/{activity-motion-CtVYvdRc.js → activity-motion-hhx0e841.js} +1 -1
- package/web/dist/assets/{activity-route-BEZr6b9Y.js → activity-route-De0BnSrc.js} +1 -1
- package/web/dist/assets/{agent-accounts-Ce9Q2wTj.js → agent-accounts-BCg-578Q.js} +1 -1
- package/web/dist/assets/{alert-dialog-BJlarNJS.js → alert-dialog-Dj464rjk.js} +1 -1
- package/web/dist/assets/{button-DRCTAIzF.js → button-CHUAMTHK.js} +1 -1
- package/web/dist/assets/{centered-state-xPENgUmo.js → centered-state-DGyy0SuA.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-B30oa25e.js → commit-diff-panel-DYtYc_dH.js} +1 -1
- package/web/dist/assets/{control-locations-Cv_zRDaS.js → control-locations-CA9TMupq.js} +1 -1
- package/web/dist/assets/{diff-controls-DGsiUDJ0.js → diff-controls-BR2uqhwG.js} +1 -1
- package/web/dist/assets/{diff-CpkTjlLm.js → diff-tVGVhYyc.js} +2 -2
- package/web/dist/assets/{diff-view-Bf7YEIF1.js → diff-view-CNM3u77o.js} +1 -1
- package/web/dist/assets/{dropdown-menu-C2_BT6YH.js → dropdown-menu-DhrBcVgr.js} +1 -1
- package/web/dist/assets/{es2015-Ba_E31c-.js → es2015-D345RR4o.js} +1 -1
- package/web/dist/assets/{file-preview-Bdw0qHJB.js → file-preview-C1eTdJLJ.js} +1 -1
- package/web/dist/assets/{git-toolbar-DJi8-Bfp.js → git-toolbar-Dwz8p8GW.js} +1 -1
- package/web/dist/assets/{github-DPa3UFus.js → github-BSezqH6f.js} +1 -1
- package/web/dist/assets/{github-sidebar-model-DcgyXEtm.js → github-sidebar-model-Ct0DltOv.js} +1 -1
- package/web/dist/assets/{global-activity-route-CijiH9Gc.js → global-activity-route-BZiYz-B0.js} +1 -1
- package/web/dist/assets/{image-preview-Dawt8eiK.js → image-preview-Cq1vDiEo.js} +1 -1
- package/web/dist/assets/{index-BDNQ4NIe.js → index-D489J7QW.js} +5 -5
- package/web/dist/assets/{live-refetch-XCxoSAGq.js → live-refetch-C0kQc3-z.js} +1 -1
- package/web/dist/assets/{markdown-BiGKaTG5.js → markdown-D7DUNWcJ.js} +1 -1
- package/web/dist/assets/{nav-row-styles-rWMZ9e0U.js → nav-row-styles-BZUUavOF.js} +1 -1
- package/web/dist/assets/{popover-CiVpqps-.js → popover-DRcRI46x.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-DJ3e7KtI.js → preview-pane-connected-DGkEs_L3.js} +1 -1
- package/web/dist/assets/{project-router-DudcMzJa.js → project-router-1m_VlC22.js} +1 -1
- package/web/dist/assets/{project-scope-context-DDZVS0W-.js → project-scope-context-CaUqlAd7.js} +1 -1
- package/web/dist/assets/{queries-C6in05vw.js → queries-DYfIpJ-d.js} +1 -1
- package/web/dist/assets/{repo-git-DwFyXJVP.js → repo-git-CU1S5P-y.js} +1 -1
- package/web/dist/assets/{report-reader-DiG_FZRc.js → report-reader-DlZol2Ux.js} +1 -1
- package/web/dist/assets/{reports-CDhnbSD0.js → reports-DIGGjk7C.js} +1 -1
- package/web/dist/assets/{run-header-DGWkKFX-.js → run-header-DPjiPKRe.js} +1 -1
- package/web/dist/assets/{skills-BvfGIWap.js → skills-BMwanop_.js} +1 -1
- package/web/dist/assets/{tab-link-ACcEPANz.js → tab-link-DCUifQ46.js} +1 -1
- package/web/dist/assets/{task-changes-Duy_yoTa.js → task-changes-BZXWvQN3.js} +1 -1
- package/web/dist/assets/{task-commits-DsZjecLb.js → task-commits-ByI9MSfc.js} +1 -1
- package/web/dist/assets/{task-files-WSwRMISh.js → task-files-LJbenpiH.js} +1 -1
- package/web/dist/assets/{task-github-item-B89c4yDz.js → task-github-item-B0CU9lGR.js} +1 -1
- package/web/dist/assets/{task-thread-BMa8FQJC.js → task-thread-CXCN__1a.js} +1 -1
- package/web/dist/assets/{textarea-ffrAeHUi.js → textarea-DlVUfdWG.js} +1 -1
- package/web/dist/assets/{thread-state-D_1f2_nG.js → thread-state-BLaCzqeX.js} +1 -1
- package/web/dist/assets/{toaster-Dk0xOpec.js → toaster-B1MyeHiE.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-eVuuwFpt.js → use-hand-to-agent-state-BkmKad8x.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-DpLjNcbu.js → useInfiniteQuery-qEY8OhKb.js} +1 -1
- package/web/dist/assets/useQuery-DOJQOEBO.js +1 -0
- package/web/dist/assets/{workflows-iby-hm0Z.js → workflows-Dbxb-d-6.js} +1 -1
- package/web/dist/assets/{ws-DKkrIJ6v.js → ws-DvGmrP4z.js} +1 -1
- package/web/dist/assets/{zoomable-image-DJmOaz4D.js → zoomable-image-5pOUaPEg.js} +1 -1
- package/web/dist/index.html +22 -22
- package/LICENSE +0 -22
- package/README.md +0 -1832
- package/dist/activity/demand.d.ts +0 -21
- package/dist/activity/demand.js +0 -49
- package/dist/activity/demand.js.map +0 -1
- package/dist/activity/publisher.d.ts +0 -48
- package/dist/activity/publisher.js +0 -175
- package/dist/activity/publisher.js.map +0 -1
- package/dist/activity/read-model.d.ts +0 -50
- package/dist/activity/read-model.js +0 -142
- package/dist/activity/read-model.js.map +0 -1
- package/dist/activity/requests.d.ts +0 -27
- package/dist/activity/requests.js +0 -81
- package/dist/activity/requests.js.map +0 -1
- package/dist/activity/text.d.ts +0 -4
- package/dist/activity/text.js +0 -13
- package/dist/activity/text.js.map +0 -1
- package/dist/activity/tool-activity.d.ts +0 -87
- package/dist/activity/tool-activity.js +0 -250
- package/dist/activity/tool-activity.js.map +0 -1
- package/dist/activity/wait.d.ts +0 -19
- package/dist/activity/wait.js +0 -91
- package/dist/activity/wait.js.map +0 -1
- package/dist/agent-config/account-identity.d.ts +0 -28
- package/dist/agent-config/account-identity.js +0 -132
- 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 -384
- 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 -73
- 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 -23
- package/dist/application-update/discovery.js +0 -131
- package/dist/application-update/discovery.js.map +0 -1
- package/dist/application-update/helper.d.ts +0 -58
- package/dist/application-update/helper.js +0 -363
- 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 -61
- 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 -156
- package/dist/application-update/npm-process.js.map +0 -1
- package/dist/application-update/runtime-layout.d.ts +0 -20
- package/dist/application-update/runtime-layout.js +0 -91
- package/dist/application-update/runtime-layout.js.map +0 -1
- package/dist/application-update/scoped-recovery.d.ts +0 -32
- package/dist/application-update/scoped-recovery.js +0 -210
- package/dist/application-update/scoped-recovery.js.map +0 -1
- package/dist/application-update/service.d.ts +0 -86
- package/dist/application-update/service.js +0 -523
- 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 -15
- package/dist/archive-on-merge-setting.js.map +0 -1
- package/dist/artifacts/cli.d.ts +0 -1
- package/dist/artifacts/cli.js +0 -54
- 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/reports-index.d.ts +0 -46
- package/dist/artifacts/reports-index.js +0 -278
- package/dist/artifacts/reports-index.js.map +0 -1
- package/dist/artifacts/reports-watch.d.ts +0 -43
- package/dist/artifacts/reports-watch.js +0 -128
- package/dist/artifacts/reports-watch.js.map +0 -1
- package/dist/artifacts/resolve.d.ts +0 -18
- package/dist/artifacts/resolve.js +0 -128
- package/dist/artifacts/resolve.js.map +0 -1
- package/dist/artifacts/store.d.ts +0 -40
- package/dist/artifacts/store.js +0 -513
- package/dist/artifacts/store.js.map +0 -1
- package/dist/automations/automation-cli.d.ts +0 -61
- package/dist/automations/automation-cli.js +0 -519
- 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 -53
- package/dist/automations/coordinator.js +0 -135
- 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/project-files.d.ts +0 -6
- package/dist/automations/project-files.js +0 -43
- package/dist/automations/project-files.js.map +0 -1
- package/dist/automations/prompts.d.ts +0 -12
- package/dist/automations/prompts.js +0 -162
- package/dist/automations/prompts.js.map +0 -1
- package/dist/automations/schedule-runner.d.ts +0 -153
- package/dist/automations/schedule-runner.js +0 -529
- package/dist/automations/schedule-runner.js.map +0 -1
- package/dist/automations/scheduler.d.ts +0 -95
- package/dist/automations/scheduler.js +0 -462
- package/dist/automations/scheduler.js.map +0 -1
- package/dist/automations/service.d.ts +0 -793
- package/dist/automations/service.js +0 -444
- package/dist/automations/service.js.map +0 -1
- package/dist/automations/store.d.ts +0 -168
- package/dist/automations/store.js +0 -805
- package/dist/automations/store.js.map +0 -1
- package/dist/automations/task-template.d.ts +0 -59
- package/dist/automations/task-template.js +0 -285
- 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 -115
- 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 -23
- package/dist/autosave-git.js +0 -210
- 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 -228
- package/dist/autosave-holders.js.map +0 -1
- package/dist/autosave-windows.d.ts +0 -25
- package/dist/autosave-windows.js +0 -169
- package/dist/autosave-windows.js.map +0 -1
- package/dist/cez.d.ts +0 -2
- package/dist/cez.js.map +0 -1
- package/dist/cezarion.d.ts +0 -2
- package/dist/cezarion.js.map +0 -1
- package/dist/ci-wait/client.d.ts +0 -28
- package/dist/ci-wait/client.js +0 -123
- package/dist/ci-wait/client.js.map +0 -1
- package/dist/ci-wait/controller.d.ts +0 -824
- package/dist/ci-wait/controller.js +0 -305
- package/dist/ci-wait/controller.js.map +0 -1
- package/dist/ci-wait/errors.d.ts +0 -35
- package/dist/ci-wait/errors.js +0 -273
- package/dist/ci-wait/errors.js.map +0 -1
- package/dist/ci-wait/github.d.ts +0 -105
- package/dist/ci-wait/github.js +0 -324
- 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 -13
- 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/merge-progress.d.ts +0 -84
- package/dist/ci-wait/merge-progress.js +0 -50
- package/dist/ci-wait/merge-progress.js.map +0 -1
- package/dist/ci-wait/progress.d.ts +0 -56
- package/dist/ci-wait/progress.js +0 -100
- package/dist/ci-wait/progress.js.map +0 -1
- package/dist/ci-wait/resources.d.ts +0 -9
- package/dist/ci-wait/resources.js +0 -45
- package/dist/ci-wait/resources.js.map +0 -1
- package/dist/ci-wait/supervisor.d.ts +0 -47
- package/dist/ci-wait/supervisor.js +0 -334
- package/dist/ci-wait/supervisor.js.map +0 -1
- package/dist/ci-wait/text.d.ts +0 -2
- package/dist/ci-wait/text.js +0 -5
- package/dist/ci-wait/text.js.map +0 -1
- package/dist/ci-wait/tools.d.ts +0 -845
- package/dist/ci-wait/tools.js +0 -232
- package/dist/ci-wait/tools.js.map +0 -1
- package/dist/cli-dispatch.d.ts +0 -33
- package/dist/cli-dispatch.js +0 -235
- package/dist/cli-dispatch.js.map +0 -1
- package/dist/config.d.ts +0 -117
- package/dist/config.js +0 -341
- package/dist/config.js.map +0 -1
- package/dist/contract/active-provider.d.ts +0 -12
- package/dist/contract/activity.d.ts +0 -1478
- 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 -100
- package/dist/contract/ask-schema.d.ts +0 -50
- package/dist/contract/ask.d.ts +0 -11
- package/dist/contract/attachments.d.ts +0 -35
- package/dist/contract/attention.d.ts +0 -99
- package/dist/contract/automation-requests.d.ts +0 -314
- package/dist/contract/automation-schedule.d.ts +0 -89
- package/dist/contract/automation-storage.d.ts +0 -518
- package/dist/contract/automations.d.ts +0 -1560
- package/dist/contract/ci-wait.d.ts +0 -281
- package/dist/contract/config-requests.d.ts +0 -36
- package/dist/contract/control-locations.d.ts +0 -10
- package/dist/contract/conversations.d.ts +0 -415
- package/dist/contract/defined.d.ts +0 -8
- package/dist/contract/delegation.d.ts +0 -2168
- package/dist/contract/discovery.d.ts +0 -228
- package/dist/contract/effort.d.ts +0 -18
- package/dist/contract/events.d.ts +0 -324
- 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 -128
- package/dist/contract/home-recovery.d.ts +0 -71
- package/dist/contract/image-path.d.ts +0 -6
- package/dist/contract/index.d.ts +0 -68
- package/dist/contract/index.js +0 -6709
- package/dist/contract/live-coordination.d.ts +0 -164
- 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/per-runner-optional-strings.d.ts +0 -10
- package/dist/contract/permissions.d.ts +0 -54
- package/dist/contract/preview.d.ts +0 -568
- package/dist/contract/project-limits.d.ts +0 -35
- 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/report-title.d.ts +0 -3
- package/dist/contract/reports.d.ts +0 -101
- 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 -87
- 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 -7108
- package/dist/contract/scheduled-tasks.d.ts +0 -188
- package/dist/contract/self-update.d.ts +0 -255
- package/dist/contract/skill-sources.d.ts +0 -125
- package/dist/contract/skills.d.ts +0 -56
- package/dist/contract/task-options.d.ts +0 -18
- 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 -1996
- 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-events.d.ts +0 -410
- 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 -34
- package/dist/core/agent-env.js +0 -411
- package/dist/core/agent-env.js.map +0 -1
- package/dist/core/agent-model-policy.d.ts +0 -11
- package/dist/core/agent-model-policy.js +0 -38
- 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 -425
- package/dist/core/agent-runner.js +0 -98
- package/dist/core/agent-runner.js.map +0 -1
- package/dist/core/ask.d.ts +0 -26
- package/dist/core/ask.js +0 -35
- package/dist/core/ask.js.map +0 -1
- package/dist/core/backend-detect.d.ts +0 -18
- package/dist/core/backend-detect.js +0 -216
- package/dist/core/backend-detect.js.map +0 -1
- package/dist/core/claude-cli-runner.d.ts +0 -85
- package/dist/core/claude-cli-runner.js +0 -899
- package/dist/core/claude-cli-runner.js.map +0 -1
- package/dist/core/claude-executable.d.ts +0 -2
- package/dist/core/claude-executable.js +0 -15
- package/dist/core/claude-executable.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 -38
- package/dist/core/claude-stream.js +0 -77
- package/dist/core/claude-stream.js.map +0 -1
- package/dist/core/claude-ui-mapper.d.ts +0 -88
- package/dist/core/claude-ui-mapper.js +0 -851
- package/dist/core/claude-ui-mapper.js.map +0 -1
- package/dist/core/codex-app-server-runner.d.ts +0 -76
- package/dist/core/codex-app-server-runner.js +0 -1271
- 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 -200
- 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 -180
- package/dist/core/codex-approvals.js.map +0 -1
- package/dist/core/codex-hook-mapper.d.ts +0 -15
- package/dist/core/codex-hook-mapper.js +0 -73
- package/dist/core/codex-hook-mapper.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 -35
- package/dist/core/codex-native-frames.js +0 -80
- 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 -10
- package/dist/core/codex-turn-outcome.js +0 -35
- package/dist/core/codex-turn-outcome.js.map +0 -1
- package/dist/core/codex-ui-mapper-state.d.ts +0 -84
- package/dist/core/codex-ui-mapper-state.js +0 -8
- package/dist/core/codex-ui-mapper-state.js.map +0 -1
- package/dist/core/codex-ui-mapper.d.ts +0 -44
- package/dist/core/codex-ui-mapper.js +0 -799
- package/dist/core/codex-ui-mapper.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 -50
- package/dist/core/cursor-model-catalog.js +0 -306
- package/dist/core/cursor-model-catalog.js.map +0 -1
- package/dist/core/cursor-print-capabilities.d.ts +0 -14
- package/dist/core/cursor-print-capabilities.js +0 -169
- 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 -43
- package/dist/core/cursor-print-runner.js +0 -574
- package/dist/core/cursor-print-runner.js.map +0 -1
- package/dist/core/cursor-print-tool-catalog.d.ts +0 -3
- package/dist/core/cursor-print-tool-catalog.js +0 -13
- 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 -574
- package/dist/core/cursor-print-ui-mapper.js.map +0 -1
- package/dist/core/cursor-provider-error.d.ts +0 -9
- package/dist/core/cursor-provider-error.js +0 -15
- package/dist/core/cursor-provider-error.js.map +0 -1
- package/dist/core/cursor-runner.d.ts +0 -46
- package/dist/core/cursor-runner.js +0 -144
- package/dist/core/cursor-runner.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/disclaim-spawn.d.ts +0 -11
- package/dist/core/disclaim-spawn.js +0 -60
- package/dist/core/disclaim-spawn.js.map +0 -1
- package/dist/core/edit-write-key.d.ts +0 -2
- package/dist/core/edit-write-key.js +0 -6
- package/dist/core/edit-write-key.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-discovery-options.d.ts +0 -8
- package/dist/core/model-discovery-options.js +0 -2
- package/dist/core/model-discovery-options.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/model-probe-teardown.d.ts +0 -4
- package/dist/core/model-probe-teardown.js +0 -20
- package/dist/core/model-probe-teardown.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 -39
- package/dist/core/omp-model-catalog.js +0 -182
- package/dist/core/omp-model-catalog.js.map +0 -1
- package/dist/core/omp-runner.d.ts +0 -86
- package/dist/core/omp-runner.js +0 -818
- package/dist/core/omp-runner.js.map +0 -1
- package/dist/core/omp-subagent-rows.d.ts +0 -21
- package/dist/core/omp-subagent-rows.js +0 -99
- package/dist/core/omp-subagent-rows.js.map +0 -1
- package/dist/core/omp-ui-mapper.d.ts +0 -112
- package/dist/core/omp-ui-mapper.js +0 -807
- package/dist/core/omp-ui-mapper.js.map +0 -1
- package/dist/core/opencode-model-catalog.d.ts +0 -27
- package/dist/core/opencode-model-catalog.js +0 -189
- 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-runtime-config.d.ts +0 -9
- package/dist/core/opencode-runtime-config.js +0 -26
- package/dist/core/opencode-runtime-config.js.map +0 -1
- package/dist/core/opencode-server-runner.d.ts +0 -75
- package/dist/core/opencode-server-runner.js +0 -1690
- 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-task-scope.d.ts +0 -9
- package/dist/core/opencode-task-scope.js +0 -19
- package/dist/core/opencode-task-scope.js.map +0 -1
- package/dist/core/opencode-ui-mapper-state.d.ts +0 -82
- package/dist/core/opencode-ui-mapper-state.js +0 -7
- package/dist/core/opencode-ui-mapper-state.js.map +0 -1
- package/dist/core/opencode-ui-mapper.d.ts +0 -59
- package/dist/core/opencode-ui-mapper.js +0 -724
- package/dist/core/opencode-ui-mapper.js.map +0 -1
- package/dist/core/opencode-usage.d.ts +0 -32
- package/dist/core/opencode-usage.js +0 -105
- package/dist/core/opencode-usage.js.map +0 -1
- package/dist/core/pi-model-catalog.d.ts +0 -34
- package/dist/core/pi-model-catalog.js +0 -247
- package/dist/core/pi-model-catalog.js.map +0 -1
- package/dist/core/pi-rpc-turn.d.ts +0 -179
- package/dist/core/pi-rpc-turn.js +0 -370
- 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 -58
- package/dist/core/pi-runner.js +0 -587
- 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 -408
- 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/product-env.d.ts +0 -21
- package/dist/core/product-env.js +0 -38
- package/dist/core/product-env.js.map +0 -1
- package/dist/core/provider-auth.d.ts +0 -168
- package/dist/core/provider-auth.js +0 -661
- 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 -36
- package/dist/core/runner-factory.js.map +0 -1
- package/dist/core/runner-facts.d.ts +0 -135
- package/dist/core/runner-facts.js +0 -59
- package/dist/core/runner-facts.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 -19
- package/dist/core/runner-tool-grants.js +0 -54
- 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 -95
- package/dist/core/secret-redaction.js.map +0 -1
- package/dist/core/session-process.d.ts +0 -43
- package/dist/core/session-process.js +0 -363
- 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 -356
- package/dist/core/ui-events.js +0 -13
- 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 -80
- 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 -572
- package/dist/delegation/cli.js.map +0 -1
- package/dist/delegation/context.d.ts +0 -40
- package/dist/delegation/context.js +0 -398
- package/dist/delegation/context.js.map +0 -1
- package/dist/delegation/conversation-send.d.ts +0 -64
- package/dist/delegation/conversation-send.js +0 -73
- package/dist/delegation/conversation-send.js.map +0 -1
- package/dist/delegation/conversations.d.ts +0 -2186
- package/dist/delegation/conversations.js +0 -285
- 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 -257
- package/dist/delegation/execution-identity.js +0 -253
- package/dist/delegation/execution-identity.js.map +0 -1
- package/dist/delegation/execution-settings.d.ts +0 -11
- 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 -80
- package/dist/delegation/park-notice.js.map +0 -1
- package/dist/delegation/policy.d.ts +0 -27
- package/dist/delegation/policy.js +0 -110
- 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 -36
- package/dist/delegation/provision.js +0 -217
- 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 -153
- 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 -1017
- package/dist/delegation/routes.js +0 -85
- package/dist/delegation/routes.js.map +0 -1
- package/dist/delegation/scratch-cleanup.d.ts +0 -33
- package/dist/delegation/scratch-cleanup.js +0 -155
- package/dist/delegation/scratch-cleanup.js.map +0 -1
- package/dist/delegation/service.d.ts +0 -264
- package/dist/delegation/service.js +0 -806
- package/dist/delegation/service.js.map +0 -1
- package/dist/delegation/task-discovery.d.ts +0 -6
- package/dist/delegation/task-discovery.js +0 -27
- package/dist/delegation/task-discovery.js.map +0 -1
- package/dist/delegation/transport.d.ts +0 -995
- package/dist/delegation/transport.js +0 -22
- package/dist/delegation/transport.js.map +0 -1
- package/dist/delegation/wait.d.ts +0 -7
- package/dist/delegation/wait.js +0 -44
- 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/worker-cleanup.d.ts +0 -53
- package/dist/delegation/worker-cleanup.js +0 -330
- package/dist/delegation/worker-cleanup.js.map +0 -1
- package/dist/delegation/workspace.d.ts +0 -40
- package/dist/delegation/workspace.js +0 -592
- 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 -16
- 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 -122
- package/dist/discovery/cli.js.map +0 -1
- package/dist/git-command.d.ts +0 -7
- package/dist/git-command.js +0 -8
- package/dist/git-command.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-private-index.d.ts +0 -11
- package/dist/git-private-index.js +0 -51
- package/dist/git-private-index.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 -178
- 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 -148
- package/dist/git-worktree.js +0 -857
- package/dist/git-worktree.js.map +0 -1
- package/dist/handoff.d.ts +0 -72
- package/dist/handoff.js +0 -212
- package/dist/handoff.js.map +0 -1
- package/dist/headless-run.d.ts +0 -48
- package/dist/headless-run.js +0 -158
- package/dist/headless-run.js.map +0 -1
- package/dist/home/boundary.d.ts +0 -5
- package/dist/home/boundary.js +0 -76
- package/dist/home/boundary.js.map +0 -1
- package/dist/home/changes.d.ts +0 -3
- package/dist/home/changes.js +0 -11
- package/dist/home/changes.js.map +0 -1
- package/dist/home/command.d.ts +0 -9
- package/dist/home/command.js +0 -37
- package/dist/home/command.js.map +0 -1
- package/dist/home/deprecation.d.ts +0 -9
- package/dist/home/deprecation.js +0 -17
- package/dist/home/deprecation.js.map +0 -1
- package/dist/home/display.d.ts +0 -2
- package/dist/home/display.js +0 -7
- package/dist/home/display.js.map +0 -1
- package/dist/home/entry-authorization.d.ts +0 -17
- package/dist/home/entry-authorization.js +0 -39
- package/dist/home/entry-authorization.js.map +0 -1
- package/dist/home/entry.d.ts +0 -16
- package/dist/home/entry.js +0 -95
- package/dist/home/entry.js.map +0 -1
- package/dist/home/file-location.d.ts +0 -14
- package/dist/home/file-location.js +0 -24
- package/dist/home/file-location.js.map +0 -1
- package/dist/home/home.d.ts +0 -42
- package/dist/home/home.js +0 -70
- package/dist/home/home.js.map +0 -1
- package/dist/home/identity.d.ts +0 -22
- package/dist/home/identity.js +0 -25
- package/dist/home/identity.js.map +0 -1
- package/dist/home/install-marker.d.ts +0 -27
- package/dist/home/install-marker.js +0 -77
- package/dist/home/install-marker.js.map +0 -1
- package/dist/home/kind-roots.d.ts +0 -10
- package/dist/home/kind-roots.js +0 -36
- package/dist/home/kind-roots.js.map +0 -1
- package/dist/home/leases.d.ts +0 -14
- package/dist/home/leases.js +0 -55
- package/dist/home/leases.js.map +0 -1
- package/dist/home/legacy-account-paths.d.ts +0 -4
- package/dist/home/legacy-account-paths.js +0 -41
- package/dist/home/legacy-account-paths.js.map +0 -1
- package/dist/home/legacy-merge.d.ts +0 -3
- package/dist/home/legacy-merge.js +0 -45
- package/dist/home/legacy-merge.js.map +0 -1
- package/dist/home/legacy-recovery.d.ts +0 -5
- package/dist/home/legacy-recovery.js +0 -154
- package/dist/home/legacy-recovery.js.map +0 -1
- package/dist/home/legacy-source.d.ts +0 -15
- package/dist/home/legacy-source.js +0 -57
- package/dist/home/legacy-source.js.map +0 -1
- package/dist/home/migrate.d.ts +0 -19
- package/dist/home/migrate.js +0 -321
- package/dist/home/migrate.js.map +0 -1
- package/dist/home/migration-account-source.d.ts +0 -2
- package/dist/home/migration-account-source.js +0 -17
- package/dist/home/migration-account-source.js.map +0 -1
- package/dist/home/migration-accounts.d.ts +0 -23
- package/dist/home/migration-accounts.js +0 -173
- package/dist/home/migration-accounts.js.map +0 -1
- package/dist/home/migration-boot.d.ts +0 -23
- package/dist/home/migration-boot.js +0 -61
- package/dist/home/migration-boot.js.map +0 -1
- package/dist/home/migration-claim.d.ts +0 -4
- package/dist/home/migration-claim.js +0 -69
- package/dist/home/migration-claim.js.map +0 -1
- package/dist/home/migration-cli.d.ts +0 -3
- package/dist/home/migration-cli.js +0 -64
- package/dist/home/migration-cli.js.map +0 -1
- package/dist/home/migration-files.d.ts +0 -14
- package/dist/home/migration-files.js +0 -192
- package/dist/home/migration-files.js.map +0 -1
- package/dist/home/migration-guard.d.ts +0 -2
- package/dist/home/migration-guard.js +0 -19
- package/dist/home/migration-guard.js.map +0 -1
- package/dist/home/migration-plan.d.ts +0 -20
- package/dist/home/migration-plan.js +0 -71
- package/dist/home/migration-plan.js.map +0 -1
- package/dist/home/migration-record.d.ts +0 -79
- package/dist/home/migration-record.js +0 -39
- package/dist/home/migration-record.js.map +0 -1
- package/dist/home/private-files.d.ts +0 -13
- package/dist/home/private-files.js +0 -101
- package/dist/home/private-files.js.map +0 -1
- package/dist/home/process-identity.d.ts +0 -2
- package/dist/home/process-identity.js +0 -8
- package/dist/home/process-identity.js.map +0 -1
- package/dist/home/protected-roots.d.ts +0 -25
- package/dist/home/protected-roots.js +0 -90
- package/dist/home/protected-roots.js.map +0 -1
- package/dist/home/recovery-watch.d.ts +0 -3
- package/dist/home/recovery-watch.js +0 -75
- package/dist/home/recovery-watch.js.map +0 -1
- package/dist/home/recovery.d.ts +0 -10
- package/dist/home/recovery.js +0 -94
- package/dist/home/recovery.js.map +0 -1
- package/dist/home/registry-content.d.ts +0 -2
- package/dist/home/registry-content.js +0 -17
- package/dist/home/registry-content.js.map +0 -1
- package/dist/home/reset-detection.d.ts +0 -5
- package/dist/home/reset-detection.js +0 -22
- package/dist/home/reset-detection.js.map +0 -1
- package/dist/home/resolve.d.ts +0 -10
- package/dist/home/resolve.js +0 -28
- package/dist/home/resolve.js.map +0 -1
- package/dist/home/store.d.ts +0 -48
- package/dist/home/store.js +0 -324
- package/dist/home/store.js.map +0 -1
- package/dist/home/switch.d.ts +0 -2
- package/dist/home/switch.js +0 -3
- package/dist/home/switch.js.map +0 -1
- package/dist/home/version-log.d.ts +0 -48
- package/dist/home/version-log.js +0 -216
- package/dist/home/version-log.js.map +0 -1
- package/dist/home/write-lock.d.ts +0 -6
- package/dist/home/write-lock.js +0 -96
- package/dist/home/write-lock.js.map +0 -1
- package/dist/hsq.d.ts +0 -2
- package/dist/hsq.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 -32
- package/dist/install-as-command.js +0 -55
- package/dist/install-as-command.js.map +0 -1
- package/dist/jobs/cli.d.ts +0 -2
- package/dist/jobs/cli.js +0 -53
- package/dist/jobs/cli.js.map +0 -1
- package/dist/jobs/command.d.ts +0 -9
- package/dist/jobs/command.js +0 -19
- package/dist/jobs/command.js.map +0 -1
- package/dist/jobs/job.d.ts +0 -77
- package/dist/jobs/job.js +0 -252
- package/dist/jobs/job.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/merged-streams.d.ts +0 -13
- package/dist/merged-streams.js +0 -33
- package/dist/merged-streams.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 -118
- package/dist/paths.js +0 -191
- package/dist/paths.js.map +0 -1
- package/dist/planner.d.ts +0 -30
- package/dist/planner.js +0 -270
- package/dist/planner.js.map +0 -1
- package/dist/preview/agent-address.d.ts +0 -34
- package/dist/preview/agent-address.js +0 -52
- 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 -28
- package/dist/preview/browser-launch.js +0 -64
- 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 -152
- 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-launch-progress.d.ts +0 -10
- package/dist/preview/chromium-launch-progress.js +0 -48
- package/dist/preview/chromium-launch-progress.js.map +0 -1
- package/dist/preview/chromium.d.ts +0 -91
- package/dist/preview/chromium.js +0 -500
- package/dist/preview/chromium.js.map +0 -1
- package/dist/preview/density.d.ts +0 -17
- package/dist/preview/density.js +0 -62
- package/dist/preview/density.js.map +0 -1
- package/dist/preview/dev-server.d.ts +0 -68
- package/dist/preview/dev-server.js +0 -318
- package/dist/preview/dev-server.js.map +0 -1
- package/dist/preview/host.d.ts +0 -215
- package/dist/preview/host.js +0 -954
- 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 -139
- package/dist/preview/session.js +0 -479
- 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/project-commands.d.ts +0 -14
- package/dist/project-commands.js +0 -91
- package/dist/project-commands.js.map +0 -1
- package/dist/project-migration/answer.d.ts +0 -23
- package/dist/project-migration/answer.js +0 -37
- package/dist/project-migration/answer.js.map +0 -1
- package/dist/project-migration/auto.d.ts +0 -73
- package/dist/project-migration/auto.js +0 -161
- package/dist/project-migration/auto.js.map +0 -1
- package/dist/project-migration/cli.d.ts +0 -18
- package/dist/project-migration/cli.js +0 -57
- package/dist/project-migration/cli.js.map +0 -1
- package/dist/project-migration/containment.d.ts +0 -52
- package/dist/project-migration/containment.js +0 -200
- package/dist/project-migration/containment.js.map +0 -1
- package/dist/project-migration/durable.d.ts +0 -25
- package/dist/project-migration/durable.js +0 -69
- package/dist/project-migration/durable.js.map +0 -1
- package/dist/project-migration/engine.d.ts +0 -47
- package/dist/project-migration/engine.js +0 -103
- package/dist/project-migration/engine.js.map +0 -1
- package/dist/project-migration/fresh.d.ts +0 -4
- package/dist/project-migration/fresh.js +0 -25
- package/dist/project-migration/fresh.js.map +0 -1
- package/dist/project-migration/journal.d.ts +0 -139
- package/dist/project-migration/journal.js +0 -69
- package/dist/project-migration/journal.js.map +0 -1
- package/dist/project-migration/live.d.ts +0 -48
- package/dist/project-migration/live.js +0 -148
- package/dist/project-migration/live.js.map +0 -1
- package/dist/project-migration/offline.d.ts +0 -25
- package/dist/project-migration/offline.js +0 -54
- package/dist/project-migration/offline.js.map +0 -1
- package/dist/project-migration/plan.d.ts +0 -91
- package/dist/project-migration/plan.js +0 -466
- package/dist/project-migration/plan.js.map +0 -1
- package/dist/project-migration/recovery.d.ts +0 -28
- package/dist/project-migration/recovery.js +0 -78
- package/dist/project-migration/recovery.js.map +0 -1
- package/dist/project-migration/steps.d.ts +0 -18
- package/dist/project-migration/steps.js +0 -312
- package/dist/project-migration/steps.js.map +0 -1
- package/dist/project-paths.d.ts +0 -61
- package/dist/project-paths.js +0 -185
- package/dist/project-paths.js.map +0 -1
- package/dist/release/compatibility.d.ts +0 -12
- package/dist/release/compatibility.js +0 -62
- package/dist/release/compatibility.js.map +0 -1
- package/dist/release/manifests.d.ts +0 -112
- package/dist/release/manifests.js +0 -104
- package/dist/release/manifests.js.map +0 -1
- package/dist/release/publication.d.ts +0 -3
- package/dist/release/publication.js +0 -34
- package/dist/release/publication.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/remote-settings-cli.d.ts +0 -24
- package/dist/remote-settings-cli.js +0 -156
- package/dist/remote-settings-cli.js.map +0 -1
- package/dist/remote-settings.d.ts +0 -41
- package/dist/remote-settings.js +0 -110
- package/dist/remote-settings.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 -855
- package/dist/runs/agent-tmpdir.js.map +0 -1
- package/dist/runs/archive-family.d.ts +0 -33
- package/dist/runs/archive-family.js +0 -90
- package/dist/runs/archive-family.js.map +0 -1
- package/dist/runs/arm-repo-handle.d.ts +0 -10
- 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 -77
- package/dist/runs/auto-name.js +0 -179
- package/dist/runs/auto-name.js.map +0 -1
- package/dist/runs/claim-families.d.ts +0 -37
- package/dist/runs/claim-families.js +0 -101
- package/dist/runs/claim-families.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/cold-reads.d.ts +0 -40
- package/dist/runs/cold-reads.js +0 -56
- package/dist/runs/cold-reads.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 -15
- package/dist/runs/event-history-agent-context.js +0 -119
- 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 -563
- package/dist/runs/event-history.js.map +0 -1
- package/dist/runs/exit-events.d.ts +0 -32
- package/dist/runs/exit-events.js +0 -40
- package/dist/runs/exit-events.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 -156
- package/dist/runs/legacy-index.js.map +0 -1
- package/dist/runs/legacy-run-rows.d.ts +0 -12
- package/dist/runs/legacy-run-rows.js +0 -33
- package/dist/runs/legacy-run-rows.js.map +0 -1
- package/dist/runs/legacy-waits.d.ts +0 -64
- package/dist/runs/legacy-waits.js +0 -335
- package/dist/runs/legacy-waits.js.map +0 -1
- package/dist/runs/live-item-snapshots.d.ts +0 -15
- package/dist/runs/live-item-snapshots.js +0 -95
- package/dist/runs/live-item-snapshots.js.map +0 -1
- package/dist/runs/loaded-run-exits.d.ts +0 -6
- package/dist/runs/loaded-run-exits.js +0 -32
- package/dist/runs/loaded-run-exits.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 -119
- package/dist/runs/outcome-commit.js +0 -155
- package/dist/runs/outcome-commit.js.map +0 -1
- package/dist/runs/owned-run-create.d.ts +0 -33
- package/dist/runs/owned-run-create.js +0 -98
- package/dist/runs/owned-run-create.js.map +0 -1
- package/dist/runs/project-run-connection.d.ts +0 -76
- package/dist/runs/project-run-connection.js +0 -287
- package/dist/runs/project-run-connection.js.map +0 -1
- package/dist/runs/project-run-sources.d.ts +0 -21
- package/dist/runs/project-run-sources.js +0 -85
- package/dist/runs/project-run-sources.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/record-write-rules.d.ts +0 -129
- package/dist/runs/record-write-rules.js +0 -326
- package/dist/runs/record-write-rules.js.map +0 -1
- package/dist/runs/report-rows.d.ts +0 -36
- package/dist/runs/report-rows.js +0 -102
- package/dist/runs/report-rows.js.map +0 -1
- package/dist/runs/retention.d.ts +0 -91
- package/dist/runs/retention.js +0 -192
- package/dist/runs/retention.js.map +0 -1
- package/dist/runs/review-gate.d.ts +0 -18
- package/dist/runs/review-gate.js +0 -22
- package/dist/runs/review-gate.js.map +0 -1
- package/dist/runs/run-claims.d.ts +0 -30
- package/dist/runs/run-claims.js +0 -52
- 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-row.d.ts +0 -39
- package/dist/runs/run-database-row.js +0 -83
- package/dist/runs/run-database-row.js.map +0 -1
- package/dist/runs/run-database-version.d.ts +0 -14
- package/dist/runs/run-database-version.js +0 -19
- package/dist/runs/run-database-version.js.map +0 -1
- package/dist/runs/run-database.d.ts +0 -389
- package/dist/runs/run-database.js +0 -957
- package/dist/runs/run-database.js.map +0 -1
- package/dist/runs/run-exits.d.ts +0 -4510
- package/dist/runs/run-exits.js +0 -191
- package/dist/runs/run-exits.js.map +0 -1
- package/dist/runs/run-index.d.ts +0 -36
- package/dist/runs/run-index.js +0 -261
- package/dist/runs/run-index.js.map +0 -1
- package/dist/runs/run-references.d.ts +0 -61
- package/dist/runs/run-references.js +0 -421
- package/dist/runs/run-references.js.map +0 -1
- package/dist/runs/run-row.d.ts +0 -14
- package/dist/runs/run-row.js +0 -56
- 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 -62
- package/dist/runs/store-open-error.js.map +0 -1
- package/dist/runs/store.d.ts +0 -3974
- package/dist/runs/store.js +0 -3516
- 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 -40
- package/dist/runs/transcript-facts.js +0 -192
- package/dist/runs/transcript-facts.js.map +0 -1
- package/dist/runs/ui-event-sink.d.ts +0 -59
- package/dist/runs/ui-event-sink.js +0 -197
- package/dist/runs/ui-event-sink.js.map +0 -1
- package/dist/runs/wait-capacity.d.ts +0 -8
- package/dist/runs/wait-capacity.js +0 -28
- package/dist/runs/wait-capacity.js.map +0 -1
- package/dist/runs/wait-phases.d.ts +0 -4
- package/dist/runs/wait-phases.js +0 -11
- package/dist/runs/wait-phases.js.map +0 -1
- package/dist/runs/wait-registration-write.d.ts +0 -5
- package/dist/runs/wait-registration-write.js +0 -35
- package/dist/runs/wait-registration-write.js.map +0 -1
- package/dist/runs/webhook.d.ts +0 -193
- package/dist/runs/webhook.js +0 -362
- 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/runs/worker-resource-holders.d.ts +0 -17
- package/dist/runs/worker-resource-holders.js +0 -34
- package/dist/runs/worker-resource-holders.js.map +0 -1
- package/dist/runs/worker-result-commit.d.ts +0 -26
- package/dist/runs/worker-result-commit.js +0 -121
- package/dist/runs/worker-result-commit.js.map +0 -1
- package/dist/self-update/checkouts.d.ts +0 -46
- package/dist/self-update/checkouts.js +0 -284
- package/dist/self-update/checkouts.js.map +0 -1
- package/dist/self-update/cli.d.ts +0 -19
- package/dist/self-update/cli.js +0 -243
- package/dist/self-update/cli.js.map +0 -1
- package/dist/self-update/installer.d.ts +0 -24
- package/dist/self-update/installer.js +0 -139
- package/dist/self-update/installer.js.map +0 -1
- package/dist/self-update/launcher.d.ts +0 -30
- package/dist/self-update/launcher.js +0 -172
- package/dist/self-update/launcher.js.map +0 -1
- package/dist/self-update/layout.d.ts +0 -108
- package/dist/self-update/layout.js +0 -276
- package/dist/self-update/layout.js.map +0 -1
- package/dist/self-update/pulls.d.ts +0 -30
- package/dist/self-update/pulls.js +0 -128
- package/dist/self-update/pulls.js.map +0 -1
- package/dist/self-update/registry.d.ts +0 -37
- package/dist/self-update/registry.js +0 -86
- package/dist/self-update/registry.js.map +0 -1
- package/dist/self-update/restart.d.ts +0 -25
- package/dist/self-update/restart.js +0 -79
- package/dist/self-update/restart.js.map +0 -1
- package/dist/self-update/semver.d.ts +0 -19
- package/dist/self-update/semver.js +0 -79
- package/dist/self-update/semver.js.map +0 -1
- package/dist/self-update/service.d.ts +0 -115
- package/dist/self-update/service.js +0 -332
- package/dist/self-update/service.js.map +0 -1
- package/dist/self-update/supervisor.d.ts +0 -10
- package/dist/self-update/supervisor.js +0 -52
- package/dist/self-update/supervisor.js.map +0 -1
- package/dist/serve-boot.d.ts +0 -60
- package/dist/serve-boot.js +0 -142
- package/dist/serve-boot.js.map +0 -1
- package/dist/serve-command.d.ts +0 -71
- package/dist/serve-command.js +0 -168
- package/dist/serve-command.js.map +0 -1
- package/dist/serve-listener.d.ts +0 -12
- package/dist/serve-listener.js +0 -52
- package/dist/serve-listener.js.map +0 -1
- package/dist/server/activity-project-topic.d.ts +0 -44
- package/dist/server/activity-project-topic.js +0 -137
- package/dist/server/activity-project-topic.js.map +0 -1
- package/dist/server/activity-routes.d.ts +0 -317
- package/dist/server/activity-routes.js +0 -116
- package/dist/server/activity-routes.js.map +0 -1
- package/dist/server/activity-sources.d.ts +0 -26
- package/dist/server/activity-sources.js +0 -45
- package/dist/server/activity-sources.js.map +0 -1
- package/dist/server/activity-topic.d.ts +0 -33
- package/dist/server/activity-topic.js +0 -48
- package/dist/server/activity-topic.js.map +0 -1
- package/dist/server/app-type.js.map +0 -1
- package/dist/server/archive-on-merge.d.ts +0 -45
- package/dist/server/archive-on-merge.js +0 -242
- package/dist/server/archive-on-merge.js.map +0 -1
- package/dist/server/automation-log-retry.d.ts +0 -27
- package/dist/server/automation-log-retry.js +0 -88
- package/dist/server/automation-log-retry.js.map +0 -1
- package/dist/server/capabilities.d.ts +0 -69
- package/dist/server/capabilities.js +0 -111
- 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 -153
- package/dist/server/checkout.js +0 -323
- package/dist/server/checkout.js.map +0 -1
- package/dist/server/cockpit-ownership.d.ts +0 -112
- package/dist/server/cockpit-ownership.js +0 -419
- package/dist/server/cockpit-ownership.js.map +0 -1
- package/dist/server/cold-repo-handles.d.ts +0 -17
- package/dist/server/cold-repo-handles.js +0 -82
- package/dist/server/cold-repo-handles.js.map +0 -1
- package/dist/server/completion-actions.d.ts +0 -37
- package/dist/server/completion-actions.js +0 -261
- package/dist/server/completion-actions.js.map +0 -1
- package/dist/server/config-merge.d.ts +0 -11
- package/dist/server/config-merge.js +0 -74
- package/dist/server/config-merge.js.map +0 -1
- package/dist/server/create-project.d.ts +0 -71
- package/dist/server/create-project.js +0 -466
- package/dist/server/create-project.js.map +0 -1
- package/dist/server/forge/draft-pr.d.ts +0 -8
- package/dist/server/forge/draft-pr.js +0 -123
- package/dist/server/forge/draft-pr.js.map +0 -1
- package/dist/server/forge/github-filters.d.ts +0 -22
- package/dist/server/forge/github-filters.js +0 -128
- 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 -148
- package/dist/server/forge/github-merge-requirements.js.map +0 -1
- package/dist/server/forge/github-merge-state.d.ts +0 -27
- package/dist/server/forge/github-merge-state.js +0 -248
- package/dist/server/forge/github-merge-state.js.map +0 -1
- package/dist/server/forge/github-timeline.d.ts +0 -117
- package/dist/server/forge/github-timeline.js +0 -273
- package/dist/server/forge/github-timeline.js.map +0 -1
- package/dist/server/forge/github.d.ts +0 -393
- package/dist/server/forge/github.js +0 -2881
- package/dist/server/forge/github.js.map +0 -1
- package/dist/server/forge/index.d.ts +0 -47
- package/dist/server/forge/index.js +0 -81
- package/dist/server/forge/index.js.map +0 -1
- package/dist/server/forge/repo-handle-discovery.d.ts +0 -16
- package/dist/server/forge/repo-handle-discovery.js +0 -2
- package/dist/server/forge/repo-handle-discovery.js.map +0 -1
- package/dist/server/forge/types.d.ts +0 -278
- 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 -82
- package/dist/server/fs-browse.js +0 -217
- package/dist/server/fs-browse.js.map +0 -1
- package/dist/server/git-changes.d.ts +0 -205
- package/dist/server/git-changes.js +0 -531
- package/dist/server/git-changes.js.map +0 -1
- package/dist/server/git.d.ts +0 -52
- package/dist/server/git.js +0 -174
- package/dist/server/git.js.map +0 -1
- package/dist/server/home-recovery-routes.d.ts +0 -171
- package/dist/server/home-recovery-routes.js +0 -56
- package/dist/server/home-recovery-routes.js.map +0 -1
- package/dist/server/launch-key.d.ts +0 -5
- package/dist/server/launch-key.js +0 -35
- package/dist/server/launch-key.js.map +0 -1
- package/dist/server/live-routes.d.ts +0 -73
- package/dist/server/live-routes.js +0 -161
- 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 -178
- package/dist/server/open-in-app.js.map +0 -1
- package/dist/server/open-in-targets.d.ts +0 -53
- package/dist/server/open-in-targets.js +0 -112
- 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 -160
- package/dist/server/open-in-terminal.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 -142
- 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 -218
- package/dist/server/project-context.js +0 -524
- package/dist/server/project-context.js.map +0 -1
- package/dist/server/project-run-files.d.ts +0 -13
- package/dist/server/project-run-files.js +0 -52
- package/dist/server/project-run-files.js.map +0 -1
- package/dist/server/provider-action-gate.d.ts +0 -5
- package/dist/server/provider-action-gate.js +0 -28
- package/dist/server/provider-action-gate.js.map +0 -1
- package/dist/server/provider-auth-runtime.d.ts +0 -34
- package/dist/server/provider-auth-runtime.js +0 -118
- package/dist/server/provider-auth-runtime.js.map +0 -1
- package/dist/server/repo-branch-forge.d.ts +0 -61
- package/dist/server/repo-branch-forge.js +0 -158
- 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 -103
- package/dist/server/repo-branches.js +0 -804
- 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 -97
- package/dist/server/repo-pull.js.map +0 -1
- package/dist/server/reports-api.d.ts +0 -90
- package/dist/server/reports-api.js +0 -21
- package/dist/server/reports-api.js.map +0 -1
- package/dist/server/reports-topic.d.ts +0 -5
- package/dist/server/reports-topic.js +0 -37
- package/dist/server/reports-topic.js.map +0 -1
- package/dist/server/run-checkout.d.ts +0 -56
- package/dist/server/run-checkout.js +0 -141
- package/dist/server/run-checkout.js.map +0 -1
- package/dist/server/run-event-feed.d.ts +0 -20
- package/dist/server/run-event-feed.js +0 -203
- package/dist/server/run-event-feed.js.map +0 -1
- package/dist/server/self-update-routes.d.ts +0 -308
- package/dist/server/self-update-routes.js +0 -80
- package/dist/server/self-update-routes.js.map +0 -1
- package/dist/server/server-deps.d.ts +0 -40
- package/dist/server/server-deps.js +0 -132
- package/dist/server/server-deps.js.map +0 -1
- package/dist/server/server.d.ts +0 -35332
- package/dist/server/server.js +0 -5046
- package/dist/server/server.js.map +0 -1
- package/dist/server/skill-sources.d.ts +0 -264
- package/dist/server/skill-sources.js +0 -130
- package/dist/server/skill-sources.js.map +0 -1
- package/dist/server/start-run-options.d.ts +0 -84
- package/dist/server/start-run-options.js +0 -114
- 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 -99
- 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/workflow-files.d.ts +0 -9
- package/dist/server/workflow-files.js +0 -27
- package/dist/server/workflow-files.js.map +0 -1
- package/dist/server/workspace-config-patch.d.ts +0 -11
- package/dist/server/workspace-config-patch.js +0 -75
- package/dist/server/workspace-config-patch.js.map +0 -1
- package/dist/server/workspace-live-routes.d.ts +0 -222
- package/dist/server/workspace-live-routes.js +0 -8
- package/dist/server/workspace-live-routes.js.map +0 -1
- package/dist/server/workspace-projects.d.ts +0 -51
- package/dist/server/workspace-projects.js +0 -160
- package/dist/server/workspace-projects.js.map +0 -1
- package/dist/server/workspace-run-feed.d.ts +0 -66
- package/dist/server/workspace-run-feed.js +0 -171
- package/dist/server/workspace-run-feed.js.map +0 -1
- package/dist/server/ws.d.ts +0 -80
- package/dist/server/ws.js +0 -280
- 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-command.d.ts +0 -53
- package/dist/server-command.js +0 -180
- package/dist/server-command.js.map +0 -1
- package/dist/server-install/engine.d.ts +0 -51
- package/dist/server-install/engine.js +0 -358
- package/dist/server-install/engine.js.map +0 -1
- package/dist/server-install/group-migrate.d.ts +0 -26
- package/dist/server-install/group-migrate.js +0 -241
- package/dist/server-install/group-migrate.js.map +0 -1
- package/dist/server-install/migrate-cli.d.ts +0 -12
- package/dist/server-install/migrate-cli.js +0 -44
- package/dist/server-install/migrate-cli.js.map +0 -1
- package/dist/server-install/migrate-journal.d.ts +0 -15
- package/dist/server-install/migrate-journal.js +0 -48
- package/dist/server-install/migrate-journal.js.map +0 -1
- package/dist/server-install/migration-report.d.ts +0 -3
- package/dist/server-install/migration-report.js +0 -21
- package/dist/server-install/migration-report.js.map +0 -1
- package/dist/server-install/npx-cache.d.ts +0 -34
- package/dist/server-install/npx-cache.js +0 -142
- package/dist/server-install/npx-cache.js.map +0 -1
- package/dist/server-install/platforms/macosx-launchd-files.d.ts +0 -11
- package/dist/server-install/platforms/macosx-launchd-files.js +0 -60
- package/dist/server-install/platforms/macosx-launchd-files.js.map +0 -1
- package/dist/server-install/platforms/macosx-migration.d.ts +0 -17
- package/dist/server-install/platforms/macosx-migration.js +0 -239
- package/dist/server-install/platforms/macosx-migration.js.map +0 -1
- package/dist/server-install/platforms/macosx-ngrok.d.ts +0 -12
- package/dist/server-install/platforms/macosx-ngrok.js +0 -490
- package/dist/server-install/platforms/macosx-ngrok.js.map +0 -1
- package/dist/server-install/platforms/service-env.d.ts +0 -4
- package/dist/server-install/platforms/service-env.js +0 -17
- package/dist/server-install/platforms/service-env.js.map +0 -1
- package/dist/server-install/platforms/ubuntu-vps-files.d.ts +0 -18
- package/dist/server-install/platforms/ubuntu-vps-files.js +0 -43
- package/dist/server-install/platforms/ubuntu-vps-files.js.map +0 -1
- package/dist/server-install/platforms/ubuntu-vps-migration.d.ts +0 -26
- package/dist/server-install/platforms/ubuntu-vps-migration.js +0 -391
- package/dist/server-install/platforms/ubuntu-vps-migration.js.map +0 -1
- package/dist/server-install/platforms/ubuntu-vps-names.d.ts +0 -30
- package/dist/server-install/platforms/ubuntu-vps-names.js +0 -50
- package/dist/server-install/platforms/ubuntu-vps-names.js.map +0 -1
- package/dist/server-install/platforms/ubuntu-vps-redeploy.d.ts +0 -42
- package/dist/server-install/platforms/ubuntu-vps-redeploy.js +0 -127
- package/dist/server-install/platforms/ubuntu-vps-redeploy.js.map +0 -1
- package/dist/server-install/platforms/ubuntu-vps.d.ts +0 -57
- package/dist/server-install/platforms/ubuntu-vps.js +0 -945
- package/dist/server-install/platforms/ubuntu-vps.js.map +0 -1
- package/dist/server-install/state.d.ts +0 -51
- package/dist/server-install/state.js +0 -177
- 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 -348
- package/dist/server-install/steps.js.map +0 -1
- package/dist/server-install/strategies.d.ts +0 -6
- package/dist/server-install/strategies.js +0 -24
- package/dist/server-install/strategies.js.map +0 -1
- package/dist/server-install/types.d.ts +0 -316
- 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 -66
- package/dist/session-context.js +0 -266
- package/dist/session-context.js.map +0 -1
- package/dist/skills-provision.d.ts +0 -64
- package/dist/skills-provision.js +0 -325
- package/dist/skills-provision.js.map +0 -1
- package/dist/skills-remote.d.ts +0 -144
- package/dist/skills-remote.js +0 -847
- package/dist/skills-remote.js.map +0 -1
- package/dist/skills.d.ts +0 -81
- package/dist/skills.js +0 -288
- package/dist/skills.js.map +0 -1
- package/dist/subcommands.d.ts +0 -12
- package/dist/subcommands.js +0 -59
- package/dist/subcommands.js.map +0 -1
- package/dist/task-cli/cli.d.ts +0 -39
- package/dist/task-cli/cli.js +0 -773
- package/dist/task-cli/cli.js.map +0 -1
- package/dist/task-cli/discovery.d.ts +0 -32
- package/dist/task-cli/discovery.js +0 -133
- 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 -15
- package/dist/task-cli/hint.js.map +0 -1
- package/dist/task-cli/http.d.ts +0 -42
- package/dist/task-cli/http.js +0 -110
- 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 -494
- package/dist/task-cli/watch.js.map +0 -1
- package/dist/ui-state.d.ts +0 -41
- package/dist/ui-state.js +0 -93
- package/dist/ui-state.js.map +0 -1
- package/dist/update-check.d.ts +0 -2
- package/dist/update-check.js +0 -28
- package/dist/update-check.js.map +0 -1
- package/dist/use-command-notice.d.ts +0 -1
- package/dist/use-command-notice.js +0 -6
- package/dist/use-command-notice.js.map +0 -1
- package/dist/voice/decide.d.ts +0 -35
- package/dist/voice/decide.js +0 -329
- package/dist/voice/decide.js.map +0 -1
- package/dist/voice/decision-log.d.ts +0 -48
- package/dist/voice/decision-log.js +0 -117
- package/dist/voice/decision-log.js.map +0 -1
- package/dist/voice/engine.d.ts +0 -119
- package/dist/voice/engine.js +0 -61
- 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 -51
- package/dist/voice/pending-ask.js.map +0 -1
- package/dist/voice/routes.d.ts +0 -115
- package/dist/voice/routes.js +0 -92
- 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 -127
- 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 -46
- package/dist/workflows/active-run.js +0 -46
- 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 -76
- package/dist/workflows/completion-policy.js.map +0 -1
- package/dist/workflows/continuation-admission.d.ts +0 -1229
- package/dist/workflows/continuation-admission.js +0 -277
- 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 -147
- package/dist/workflows/grouped-command.js.map +0 -1
- package/dist/workflows/input-acknowledgement.d.ts +0 -233
- 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 -19
- package/dist/workflows/load.js +0 -74
- 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 -16
- package/dist/workflows/question-routing.js +0 -28
- 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 -247
- 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 -117
- 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 -93
- package/dist/workflows/run/completion-gate.js.map +0 -1
- package/dist/workflows/run/compose.d.ts +0 -181
- package/dist/workflows/run/compose.js +0 -413
- 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 -188
- package/dist/workflows/run/continuation-acceptance.js.map +0 -1
- package/dist/workflows/run/continuation-session.d.ts +0 -130
- package/dist/workflows/run/continuation-session.js +0 -597
- 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 -78
- package/dist/workflows/run/family-reconciler.js +0 -308
- package/dist/workflows/run/family-reconciler.js.map +0 -1
- package/dist/workflows/run/human-waits.d.ts +0 -85
- package/dist/workflows/run/human-waits.js +0 -162
- 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 -32
- package/dist/workflows/run/input-batch.js.map +0 -1
- package/dist/workflows/run/input-delivery.d.ts +0 -202
- package/dist/workflows/run/input-delivery.js +0 -817
- 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 -220
- 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 -32
- package/dist/workflows/run/input-timers.js.map +0 -1
- package/dist/workflows/run/launch-context.d.ts +0 -62
- package/dist/workflows/run/launch-context.js +0 -119
- package/dist/workflows/run/launch-context.js.map +0 -1
- package/dist/workflows/run/launch-read-resolver.d.ts +0 -510
- package/dist/workflows/run/launch-read-resolver.js +0 -658
- package/dist/workflows/run/launch-read-resolver.js.map +0 -1
- package/dist/workflows/run/launch-settings.d.ts +0 -10
- package/dist/workflows/run/launch-settings.js +0 -11
- package/dist/workflows/run/launch-settings.js.map +0 -1
- package/dist/workflows/run/live-session-state.d.ts +0 -49
- package/dist/workflows/run/live-session-state.js +0 -83
- package/dist/workflows/run/live-session-state.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 -64
- package/dist/workflows/run/memory-guard.js.map +0 -1
- package/dist/workflows/run/opening.d.ts +0 -30
- package/dist/workflows/run/opening.js +0 -6
- 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 -249
- 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 -124
- package/dist/workflows/run/queued-revival.js.map +0 -1
- package/dist/workflows/run/readonly-collections.d.ts +0 -24
- package/dist/workflows/run/readonly-collections.js +0 -33
- package/dist/workflows/run/readonly-collections.js.map +0 -1
- package/dist/workflows/run/repo-root-lease.d.ts +0 -34
- package/dist/workflows/run/repo-root-lease.js +0 -71
- 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 -23
- 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 -130
- package/dist/workflows/run/run-cancel.js.map +0 -1
- package/dist/workflows/run/run-finish.d.ts +0 -72
- package/dist/workflows/run/run-finish.js +0 -255
- package/dist/workflows/run/run-finish.js.map +0 -1
- package/dist/workflows/run/run-guards.d.ts +0 -15
- package/dist/workflows/run/run-guards.js +0 -39
- package/dist/workflows/run/run-guards.js.map +0 -1
- package/dist/workflows/run/run-line.d.ts +0 -187
- package/dist/workflows/run/run-line.js +0 -437
- package/dist/workflows/run/run-line.js.map +0 -1
- package/dist/workflows/run/run-recovery.d.ts +0 -116
- package/dist/workflows/run/run-recovery.js +0 -421
- package/dist/workflows/run/run-recovery.js.map +0 -1
- package/dist/workflows/run/run-settlement.d.ts +0 -177
- package/dist/workflows/run/run-settlement.js +0 -504
- package/dist/workflows/run/run-settlement.js.map +0 -1
- package/dist/workflows/run/run-skills.d.ts +0 -114
- package/dist/workflows/run/run-skills.js +0 -233
- 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 -126
- 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 -66
- package/dist/workflows/run/run-workspace.js.map +0 -1
- package/dist/workflows/run/session-events.d.ts +0 -155
- package/dist/workflows/run/session-events.js +0 -282
- 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 -43
- package/dist/workflows/run/step-decisions.js.map +0 -1
- package/dist/workflows/run/step-loop.d.ts +0 -143
- package/dist/workflows/run/step-loop.js +0 -488
- package/dist/workflows/run/step-loop.js.map +0 -1
- package/dist/workflows/run/step-session.d.ts +0 -65
- 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/subagent-waits.d.ts +0 -138
- package/dist/workflows/run/subagent-waits.js +0 -304
- package/dist/workflows/run/subagent-waits.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 -173
- package/dist/workflows/run/turn-bookkeeping.js.map +0 -1
- package/dist/workflows/run/turn-boundary.d.ts +0 -215
- package/dist/workflows/run/turn-boundary.js +0 -329
- package/dist/workflows/run/turn-boundary.js.map +0 -1
- package/dist/workflows/run/turn-markers.d.ts +0 -62
- package/dist/workflows/run/turn-markers.js +0 -86
- package/dist/workflows/run/turn-markers.js.map +0 -1
- package/dist/workflows/run/turn-nudges.d.ts +0 -104
- package/dist/workflows/run/turn-nudges.js +0 -243
- package/dist/workflows/run/turn-nudges.js.map +0 -1
- package/dist/workflows/run/turn-settler.d.ts +0 -161
- package/dist/workflows/run/turn-settler.js +0 -468
- package/dist/workflows/run/turn-settler.js.map +0 -1
- package/dist/workflows/run/types.d.ts +0 -293
- 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 -49
- package/dist/workflows/run/usage-accounting.js +0 -213
- package/dist/workflows/run/usage-accounting.js.map +0 -1
- package/dist/workflows/run/wait-engine.d.ts +0 -1210
- package/dist/workflows/run/wait-engine.js +0 -455
- package/dist/workflows/run/wait-engine.js.map +0 -1
- package/dist/workflows/run/wait-kinds.d.ts +0 -336
- package/dist/workflows/run/wait-kinds.js +0 -470
- package/dist/workflows/run/wait-kinds.js.map +0 -1
- package/dist/workflows/run/wait-registration-tool.d.ts +0 -3
- package/dist/workflows/run/wait-registration-tool.js +0 -68
- package/dist/workflows/run/wait-registration-tool.js.map +0 -1
- package/dist/workflows/run/wait-registration.d.ts +0 -7
- package/dist/workflows/run/wait-registration.js +0 -39
- package/dist/workflows/run/wait-registration.js.map +0 -1
- package/dist/workflows/run/wait-registry.d.ts +0 -120
- package/dist/workflows/run/wait-registry.js +0 -365
- package/dist/workflows/run/wait-registry.js.map +0 -1
- package/dist/workflows/run/wait-watches.d.ts +0 -13
- package/dist/workflows/run/wait-watches.js +0 -12
- package/dist/workflows/run/wait-watches.js.map +0 -1
- package/dist/workflows/run/wake-admission.d.ts +0 -150
- package/dist/workflows/run/wake-admission.js +0 -397
- 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 -78
- 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 -148
- 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 -169
- package/dist/workflows/run/worker-questions.js +0 -462
- package/dist/workflows/run/worker-questions.js.map +0 -1
- package/dist/workflows/run/workflow-position.d.ts +0 -7
- package/dist/workflows/run/workflow-position.js +0 -9
- package/dist/workflows/run/workflow-position.js.map +0 -1
- package/dist/workflows/run/worktree-autosave.d.ts +0 -48
- package/dist/workflows/run/worktree-autosave.js +0 -175
- package/dist/workflows/run/worktree-autosave.js.map +0 -1
- package/dist/workflows/run-scheduling.d.ts +0 -38
- package/dist/workflows/run-scheduling.js +0 -76
- package/dist/workflows/run-scheduling.js.map +0 -1
- package/dist/workflows/run-states.d.ts +0 -73
- package/dist/workflows/run-states.js +0 -233
- package/dist/workflows/run-states.js.map +0 -1
- package/dist/workflows/run.d.ts +0 -275
- package/dist/workflows/run.js +0 -626
- package/dist/workflows/run.js.map +0 -1
- package/dist/workflows/turn-end.d.ts +0 -119
- package/dist/workflows/turn-end.js +0 -74
- 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 -75
- package/dist/workflows/wait-scope.js +0 -115
- package/dist/workflows/wait-scope.js.map +0 -1
- package/dist/workflows/waits.d.ts +0 -58
- package/dist/workflows/waits.js +0 -89
- package/dist/workflows/waits.js.map +0 -1
- package/dist/workspace/agent-accounts.d.ts +0 -135
- package/dist/workspace/agent-accounts.js +0 -352
- package/dist/workspace/agent-accounts.js.map +0 -1
- package/dist/workspace/agent-profiles.d.ts +0 -125
- package/dist/workspace/agent-profiles.js +0 -190
- package/dist/workspace/agent-profiles.js.map +0 -1
- package/dist/workspace/backup-cli.d.ts +0 -9
- package/dist/workspace/backup-cli.js +0 -146
- package/dist/workspace/backup-cli.js.map +0 -1
- package/dist/workspace/backups.d.ts +0 -36
- package/dist/workspace/backups.js +0 -248
- package/dist/workspace/backups.js.map +0 -1
- package/dist/workspace/config.d.ts +0 -179
- package/dist/workspace/config.js +0 -395
- package/dist/workspace/config.js.map +0 -1
- package/dist/workspace/migrations.d.ts +0 -37
- package/dist/workspace/migrations.js +0 -148
- package/dist/workspace/migrations.js.map +0 -1
- package/dist/workspace/projects-cli.d.ts +0 -27
- package/dist/workspace/projects-cli.js +0 -175
- package/dist/workspace/projects-cli.js.map +0 -1
- package/dist/workspace/projects.d.ts +0 -131
- package/dist/workspace/projects.js +0 -274
- package/dist/workspace/projects.js.map +0 -1
- package/dist/workspace/root-probe-cache.d.ts +0 -10
- package/dist/workspace/root-probe-cache.js +0 -43
- package/dist/workspace/root-probe-cache.js.map +0 -1
- package/dist/workspace/semaphore.d.ts +0 -147
- package/dist/workspace/semaphore.js +0 -196
- package/dist/workspace/semaphore.js.map +0 -1
- package/dist/workspace/ui-state.d.ts +0 -17
- package/dist/workspace/ui-state.js +0 -59
- 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 -535
- package/dist/worktree-manifest.js.map +0 -1
- package/dist/worktree-setup.d.ts +0 -88
- package/dist/worktree-setup.js +0 -170
- package/dist/worktree-setup.js.map +0 -1
- package/scripts/benchmark-family-reconcile.ts +0 -119
- package/scripts/benchmark-home.ts +0 -32
- package/scripts/benchmark-project-probes.mjs +0 -158
- package/scripts/benchmark-run-store-fixture.ts +0 -432
- package/scripts/benchmark-run-store.ts +0 -767
- package/scripts/benchmark-stuck-destroys.ts +0 -144
- package/scripts/benchmark-workspace-events.ts +0 -339
- package/scripts/check-pack.mjs +0 -48
- package/scripts/inline-contract.mjs +0 -165
- package/scripts/install-as-command.mjs +0 -125
- package/scripts/measure-transcript-facts-health.mjs +0 -100
- package/scripts/measure-transcript-facts-lag.mjs +0 -69
- package/scripts/mock-autonomous.mjs +0 -13
- package/scripts/mock-ci-tool.mjs +0 -159
- package/scripts/mock-claude-model-refusal.mjs +0 -76
- package/scripts/mock-claude-subagents.mjs +0 -54
- package/scripts/mock-claude.mjs +0 -800
- package/scripts/mock-codex-app-server.mjs +0 -767
- package/scripts/mock-codex-coalesce-steer.mjs +0 -59
- package/scripts/mock-codex-reverse-steer.mjs +0 -143
- package/scripts/mock-codex-subagents.mjs +0 -52
- package/scripts/mock-controls.d.mts +0 -11
- package/scripts/mock-controls.mjs +0 -13
- 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 -237
- 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-lifecycle.mjs +0 -51
- package/scripts/mock-multi-pr.mjs +0 -10
- package/scripts/mock-nudge.mjs +0 -43
- package/scripts/mock-omp-rpc.mjs +0 -536
- package/scripts/mock-opencode-serve.mjs +0 -1000
- package/scripts/mock-pi-rpc.mjs +0 -421
- package/scripts/mock-publish.mjs +0 -13
- package/scripts/mock-runner-crash.mjs +0 -64
- package/scripts/mock-scenario.d.mts +0 -71
- package/scripts/mock-scenario.mjs +0 -295
- package/scripts/mock-session-context.d.mts +0 -5
- package/scripts/mock-session-context.mjs +0 -56
- package/scripts/mock-silent-tail.mjs +0 -93
- package/scripts/mock-turn-messages.mjs +0 -5
- package/scripts/mock-wire-evidence.config.mjs +0 -12
- package/scripts/mock-wire-recorder.mjs +0 -66
- package/scripts/mock-wire-tools.mjs +0 -7
- package/scripts/omp-ci-wait.mjs +0 -29
- package/scripts/opencode-task-scope.d.mts +0 -18
- package/scripts/opencode-task-scope.mjs +0 -59
- package/scripts/parity-rows.ts +0 -160
- 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 -699
- package/scripts/probe-session-env.ts +0 -8
- package/scripts/product-env.mjs +0 -6
- package/scripts/product-identity.mjs +0 -12
- package/scripts/record-mock-wires.mjs +0 -16
- 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/transcript-facts-timing.mjs +0 -42
- 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/useQuery-DSoTrqQG.js +0 -1
|
@@ -1,799 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pure codex app-server JSON-RPC → protocol-v2 mapper. `mapCodexNotification`
|
|
3
|
-
* folds one parsed JSONL frame into `UiEvent`s plus the next mapper state;
|
|
4
|
-
* the runner calls it ALONGSIDE the v1 path (v1 events keep flowing
|
|
5
|
-
* unchanged).
|
|
6
|
-
*
|
|
7
|
-
* Contract: `.ai/analysis/cockpit-ui-redesign/agent-event-protocols.md` §3
|
|
8
|
-
* (wire format) and §7.1 "Codex (app-server)" (the mapping). Golden fixtures
|
|
9
|
-
* replaying wire-faithful frame sequences live in `__fixtures__/codex/`.
|
|
10
|
-
*
|
|
11
|
-
* Robustness rule: input is untrusted wire data — the mapper never throws;
|
|
12
|
-
* responses, server→client requests (handled by the session transport) and
|
|
13
|
-
* unknown methods map to zero events.
|
|
14
|
-
*
|
|
15
|
-
* State is explicit and treated as immutable: callers thread the returned
|
|
16
|
-
* `state` into the next call. Ids are deterministic — codex items and turns
|
|
17
|
-
* carry stable wire ids which are reused verbatim (`turn_<n>` is minted only
|
|
18
|
-
* when a turn frame arrives without one) — so replaying a stored transcript
|
|
19
|
-
* reproduces the exact event sequence.
|
|
20
|
-
*
|
|
21
|
-
* Status map (§7.1, kills v1's regex-on-status hack): `inProgress→running`,
|
|
22
|
-
* `completed→completed`, `failed→failed`, `declined→declined`.
|
|
23
|
-
*/
|
|
24
|
-
import { codexStreamError } from './codex-stream-error.js';
|
|
25
|
-
import { collabParentItemId, mapHookCompleted, threadIdOf } from './codex-hook-mapper.js';
|
|
26
|
-
import { toolDisplay } from '../contract/index.js';
|
|
27
|
-
import { codexTurnOutcome } from './codex-turn-outcome.js';
|
|
28
|
-
export { HOOK_STATUS } from './codex-hook-mapper.js';
|
|
29
|
-
export function createCodexUiState() {
|
|
30
|
-
return {
|
|
31
|
-
sessionStarted: false,
|
|
32
|
-
turnSeq: 0,
|
|
33
|
-
currentTurnId: null,
|
|
34
|
-
pendingTurnUsage: null,
|
|
35
|
-
knownItems: new Set(),
|
|
36
|
-
outputs: new Map(),
|
|
37
|
-
reasonings: new Map(),
|
|
38
|
-
planFromNotification: false,
|
|
39
|
-
reviewItemId: null,
|
|
40
|
-
collabTasks: new Map(),
|
|
41
|
-
backgroundTasks: new Map(),
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Codex confirms the thread via the `thread/start`/`thread/resume` RESULT
|
|
46
|
-
* (a response frame the mapper cannot attribute), so the runner calls this
|
|
47
|
-
* once the thread id is known. Deduplicated against the `thread/started`
|
|
48
|
-
* notification — whichever arrives first emits `session.started`.
|
|
49
|
-
*/
|
|
50
|
-
export function codexSessionStarted(threadId, state) {
|
|
51
|
-
if (state.sessionStarted || threadId === '')
|
|
52
|
-
return { events: [], state };
|
|
53
|
-
return {
|
|
54
|
-
events: [{ type: 'session.started', sessionId: threadId, backend: 'codex' }],
|
|
55
|
-
state: { ...state, sessionStarted: true },
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
/** Fold one parsed JSON-RPC frame into v2 events. Never throws. */
|
|
59
|
-
export function mapCodexNotification(frame, state) {
|
|
60
|
-
if (!isRecord(frame) || typeof frame.method !== 'string')
|
|
61
|
-
return { events: [], state };
|
|
62
|
-
// Server requests are answered by CodexSession, not the notification mapper.
|
|
63
|
-
if (frame.id !== undefined)
|
|
64
|
-
return { events: [], state };
|
|
65
|
-
const params = isRecord(frame.params) ? frame.params : {};
|
|
66
|
-
const mapper = CODEX_NOTIFICATION_MAPPERS.get(frame.method);
|
|
67
|
-
if (mapper === undefined) {
|
|
68
|
-
// thread/status/changed, thread/closed, … — nothing to render yet.
|
|
69
|
-
return { events: [], state };
|
|
70
|
-
}
|
|
71
|
-
return mapper(params, state);
|
|
72
|
-
}
|
|
73
|
-
/** Method → mapper for the notification arms of the §7.1 mapping. */
|
|
74
|
-
const CODEX_NOTIFICATION_MAPPERS = new Map([
|
|
75
|
-
['error', mapErrorNotification],
|
|
76
|
-
['warning', mapWarningNotification],
|
|
77
|
-
['thread/started', mapThreadStartedNotification],
|
|
78
|
-
['turn/started', mapTurnStarted],
|
|
79
|
-
['turn/completed', (params, state) => mapTurnEnd(params, state, codexTurnOutcome('turn/completed', params))],
|
|
80
|
-
['turn/failed', (params, state) => mapTurnEnd(params, state, codexTurnOutcome('turn/failed', params))],
|
|
81
|
-
['turn/plan/updated', mapTurnPlanUpdated],
|
|
82
|
-
['item/started', (params, state) => mapItemLifecycle(params, state, 'item.started')],
|
|
83
|
-
['item/updated', (params, state) => mapItemLifecycle(params, state, 'item.updated')],
|
|
84
|
-
['item/completed', (params, state) => mapItemLifecycle(params, state, 'item.completed')],
|
|
85
|
-
['item/agentMessage/delta', (params, state) => mapDelta(params, state, 'text')],
|
|
86
|
-
['item/reasoning/textDelta', (params, state) => mapDelta(params, state, 'reasoning', 'text')],
|
|
87
|
-
['item/reasoning/summaryDelta', (params, state) => mapDelta(params, state, 'reasoning', 'summary')],
|
|
88
|
-
['item/reasoning/summaryTextDelta', (params, state) => mapDelta(params, state, 'reasoning', 'summary')],
|
|
89
|
-
['item/commandExecution/outputDelta', (params, state) => mapDelta(params, state, 'output')],
|
|
90
|
-
['thread/tokenUsage/updated', mapTokenUsage],
|
|
91
|
-
['hook/completed', mapHookNotification],
|
|
92
|
-
]);
|
|
93
|
-
function mapErrorNotification(params, state) {
|
|
94
|
-
const message = codexStreamError(params);
|
|
95
|
-
return { events: message ? [{ type: 'session.error', message, fatal: params.willRetry === false }] : [], state };
|
|
96
|
-
}
|
|
97
|
-
function mapWarningNotification(params, state) {
|
|
98
|
-
const message = str(params.message);
|
|
99
|
-
return { events: message ? [{ type: 'session.error', message, fatal: false }] : [], state };
|
|
100
|
-
}
|
|
101
|
-
function mapThreadStartedNotification(params, state) {
|
|
102
|
-
return codexSessionStarted(threadIdOf(params) ?? '', state);
|
|
103
|
-
}
|
|
104
|
-
function mapHookNotification(params, state) {
|
|
105
|
-
// `hook/started` renders nothing: hooks are completion-only
|
|
106
|
-
// (hearsay-tools/cezarion#961).
|
|
107
|
-
return { events: mapHookCompleted(params, state), state };
|
|
108
|
-
}
|
|
109
|
-
// ---- turn lifecycle ---------------------------------------------------------
|
|
110
|
-
function mapTurnStarted(params, state) {
|
|
111
|
-
const turnSeq = state.turnSeq + 1;
|
|
112
|
-
const turnId = turnIdOf(params) ?? `turn_${turnSeq}`;
|
|
113
|
-
return {
|
|
114
|
-
events: [{ type: 'turn.started', turnId }],
|
|
115
|
-
// planFromNotification is turn-scoped — a new turn re-opens the item arm.
|
|
116
|
-
// So are the reasoning accumulators: an interrupted item never completes,
|
|
117
|
-
// so its text would otherwise leak into a later turn that reuses the id
|
|
118
|
-
// and pin whole chains of thought in memory for the session (#528).
|
|
119
|
-
state: {
|
|
120
|
-
...state,
|
|
121
|
-
turnSeq,
|
|
122
|
-
currentTurnId: turnId,
|
|
123
|
-
pendingTurnUsage: null,
|
|
124
|
-
planFromNotification: false,
|
|
125
|
-
reasonings: new Map(),
|
|
126
|
-
},
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
function mapTurnEnd(params, state, outcome) {
|
|
130
|
-
let turnSeq = state.turnSeq;
|
|
131
|
-
const turnId = turnIdOf(params) ?? state.currentTurnId ?? `turn_${++turnSeq}`;
|
|
132
|
-
const closesActiveTurn = state.currentTurnId === null || turnId === state.currentTurnId;
|
|
133
|
-
// A review span still open when the turn ends never gets its `exitedReviewMode` — an
|
|
134
|
-
// interrupted, cancelled or failed turn simply stops. Close it here, or the item stays
|
|
135
|
-
// `running` forever and the Agents dock reads a finished run as a live fan-out (#474).
|
|
136
|
-
// The status follows the turn: a turn that failed did not complete its review.
|
|
137
|
-
const events = [];
|
|
138
|
-
if (closesActiveTurn && state.reviewItemId !== null) {
|
|
139
|
-
events.push({
|
|
140
|
-
type: 'item.completed',
|
|
141
|
-
item: {
|
|
142
|
-
kind: 'tool',
|
|
143
|
-
id: state.reviewItemId,
|
|
144
|
-
name: 'enteredReviewMode',
|
|
145
|
-
toolKind: 'task',
|
|
146
|
-
title: 'Review',
|
|
147
|
-
status: outcome.error !== undefined ? 'failed' : 'completed',
|
|
148
|
-
},
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
const completed = {
|
|
152
|
-
type: 'turn.completed',
|
|
153
|
-
turnId,
|
|
154
|
-
stopReason: outcome.stopReason,
|
|
155
|
-
};
|
|
156
|
-
if (turnId === state.currentTurnId && state.pendingTurnUsage !== null) {
|
|
157
|
-
completed.usage = state.pendingTurnUsage;
|
|
158
|
-
}
|
|
159
|
-
events.push(completed);
|
|
160
|
-
return {
|
|
161
|
-
events,
|
|
162
|
-
state: closesActiveTurn
|
|
163
|
-
? { ...state, turnSeq, currentTurnId: null, pendingTurnUsage: null, reviewItemId: null }
|
|
164
|
-
: { ...state, turnSeq },
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
// ---- plan -------------------------------------------------------------------
|
|
168
|
-
/**
|
|
169
|
-
* `turn/plan/updated` → the plan dock. This is the ONLY channel codex's
|
|
170
|
-
* `update_plan` tool reaches the client on: the app-server `ThreadItem` union
|
|
171
|
-
* has no todo/`todoList` variant, so the plan is a turn-level notification
|
|
172
|
-
* rather than an item (verified against
|
|
173
|
-
* `app-server-protocol/schema/typescript/v2/TurnPlanUpdatedNotification.ts`).
|
|
174
|
-
*
|
|
175
|
-
* Full replacement: `plan` carries the entire list on every notification and
|
|
176
|
-
* the steps have no wire ids, so the snapshot IS the plan — no accumulation
|
|
177
|
-
* (contrast the claude mapper's id-keyed TaskCreate/TaskUpdate fold).
|
|
178
|
-
*
|
|
179
|
-
* `explanation` (the model's prose rationale) is deliberately dropped: the dock
|
|
180
|
-
* renders entries only, and PlanEntry has nowhere to put it.
|
|
181
|
-
*/
|
|
182
|
-
function mapTurnPlanUpdated(params, state) {
|
|
183
|
-
const entries = turnPlanEntries(params.plan);
|
|
184
|
-
if (!entries)
|
|
185
|
-
return { events: [], state };
|
|
186
|
-
return {
|
|
187
|
-
events: [{ type: 'plan.updated', entries }],
|
|
188
|
-
state: state.planFromNotification ? state : { ...state, planFromNotification: true },
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
/** `plan: [{step, status}]` → plan entries. An EMPTY array is a legitimate
|
|
192
|
-
* snapshot (the agent cleared its plan) and clears the dock; anything else that
|
|
193
|
-
* yields no entries — a non-array, or rows we could not read a step out of —
|
|
194
|
-
* is malformed and maps to zero events, so a garbled frame cannot wipe a good
|
|
195
|
-
* plan. The distinction matters: "the agent has no steps" and "we failed to
|
|
196
|
-
* parse the steps" look identical downstream once they are both `[]`. */
|
|
197
|
-
function turnPlanEntries(plan) {
|
|
198
|
-
if (!Array.isArray(plan))
|
|
199
|
-
return undefined;
|
|
200
|
-
const entries = [];
|
|
201
|
-
for (const step of plan) {
|
|
202
|
-
if (!isRecord(step))
|
|
203
|
-
continue;
|
|
204
|
-
const content = str(step.step);
|
|
205
|
-
if (content === undefined)
|
|
206
|
-
continue;
|
|
207
|
-
entries.push({ content, status: turnPlanStatus(step.status) });
|
|
208
|
-
}
|
|
209
|
-
if (plan.length > 0 && entries.length === 0)
|
|
210
|
-
return undefined;
|
|
211
|
-
return entries;
|
|
212
|
-
}
|
|
213
|
-
/** `TurnPlanStepStatus` is camelCase ON THE APP-SERVER WIRE (`inProgress`) even
|
|
214
|
-
* though codex's core protocol type is snake_case — the app-server layer
|
|
215
|
-
* re-serializes. Accept both spellings rather than depend on that detail, and
|
|
216
|
-
* treat anything unknown as `pending` (a step the agent has not reached). */
|
|
217
|
-
function turnPlanStatus(status) {
|
|
218
|
-
if (status === 'completed')
|
|
219
|
-
return 'completed';
|
|
220
|
-
if (status === 'inProgress' || status === 'in_progress')
|
|
221
|
-
return 'in_progress';
|
|
222
|
-
return 'pending';
|
|
223
|
-
}
|
|
224
|
-
function mapItemLifecycle(params, state, eventType) {
|
|
225
|
-
const raw = isRecord(params.item) ? params.item : undefined;
|
|
226
|
-
if (!raw || typeof raw.type !== 'string')
|
|
227
|
-
return { events: [], state };
|
|
228
|
-
const mapper = ITEM_FAMILY_MAPPERS.get(raw.type) ?? mapIdentifiedItem;
|
|
229
|
-
return mapper(raw, state, params, eventType, raw.type);
|
|
230
|
-
}
|
|
231
|
-
const ITEM_FAMILY_MAPPERS = new Map([
|
|
232
|
-
['todoList', mapPlanItem],
|
|
233
|
-
['todo_list', mapPlanItem],
|
|
234
|
-
['plan', mapPlanItem],
|
|
235
|
-
['userMessage', mapUserMessage],
|
|
236
|
-
]);
|
|
237
|
-
// The user's own message echoed back — the client already rendered what it
|
|
238
|
-
// sent, so it maps to zero events (matching the claude mapper).
|
|
239
|
-
function mapUserMessage(_raw, state) {
|
|
240
|
-
return { events: [], state };
|
|
241
|
-
}
|
|
242
|
-
function mapIdentifiedItem(raw, state, params, eventType, type) {
|
|
243
|
-
const id = str(raw.id);
|
|
244
|
-
if (id === undefined)
|
|
245
|
-
return { events: [], state };
|
|
246
|
-
// Review mode is a PAIR of frames describing one span of work — folded into a
|
|
247
|
-
// single lifecycle before the generic arm, which knows only one frame at a time.
|
|
248
|
-
if (type === 'enteredReviewMode' || type === 'exitedReviewMode') {
|
|
249
|
-
return mapReviewMode(raw, id, type, eventType, state);
|
|
250
|
-
}
|
|
251
|
-
// Internal collaboration telemetry is not a user tool. Codex emits one
|
|
252
|
-
// `subAgentActivity(kind: started)` when it creates a child thread, followed
|
|
253
|
-
// by `interacted` bookkeeping as control returns between threads.
|
|
254
|
-
if (type === 'subAgentActivity')
|
|
255
|
-
return mapSubAgentActivity(raw, id, collabParentItemId(params, state), state);
|
|
256
|
-
return mapGenericItem(params, raw, id, type, eventType, state);
|
|
257
|
-
}
|
|
258
|
-
// `plan` / `todoList` items never render as items — they ARE the plan
|
|
259
|
-
// (full-replacement semantics on every lifecycle phase, §7.1).
|
|
260
|
-
//
|
|
261
|
-
// `plan` is the plan-MODE item (`{type:'plan', id, text}`, streamed via
|
|
262
|
-
// `item/plan/delta`) — prose, not a checklist, and mutually exclusive with
|
|
263
|
-
// `update_plan` (codex rejects that tool in plan mode). It becomes the single
|
|
264
|
-
// entry the agent is executing.
|
|
265
|
-
//
|
|
266
|
-
// `todoList` is NOT an app-server item type — the v2 `ThreadItem` union has no
|
|
267
|
-
// todo variant, so this arm is dead on the transport cezar spawns. It is kept
|
|
268
|
-
// as cheap tolerance: these types are marked EXPERIMENTAL upstream, codex's
|
|
269
|
-
// exec transport does emit a `todo_list` item, and a stray snapshot is better
|
|
270
|
-
// rendered than dropped. The real plan channel is `turn/plan/updated`.
|
|
271
|
-
//
|
|
272
|
-
// That makes this the SECOND writer of `plan.updated`, so it yields to the
|
|
273
|
-
// first: once the notification has delivered a real checklist, a prose `plan`
|
|
274
|
-
// item must not flatten it back into a single entry. Upstream says the two are
|
|
275
|
-
// mutually exclusive (codex rejects `update_plan` in plan mode) — this does not
|
|
276
|
-
// depend on that holding.
|
|
277
|
-
function mapPlanItem(raw, state) {
|
|
278
|
-
if (state.planFromNotification)
|
|
279
|
-
return { events: [], state };
|
|
280
|
-
const entries = planEntriesOf(raw);
|
|
281
|
-
if (!entries)
|
|
282
|
-
return { events: [], state };
|
|
283
|
-
return { events: [{ type: 'plan.updated', entries }], state };
|
|
284
|
-
}
|
|
285
|
-
function mapGenericItem(params, raw, id, type, eventType, state) {
|
|
286
|
-
const item = type === 'agentMessage'
|
|
287
|
-
? messageItem(raw, id)
|
|
288
|
-
: type === 'reasoning'
|
|
289
|
-
? reasoningItem(raw, id, state)
|
|
290
|
-
: toolItem(raw, id, type, eventType, state);
|
|
291
|
-
if (type === 'collabAgentToolCall' || type === 'collabToolCall') {
|
|
292
|
-
return mapCollabToolCall(raw, id, eventType, state);
|
|
293
|
-
}
|
|
294
|
-
const parentItemId = collabParentItemId(params, state);
|
|
295
|
-
if (parentItemId !== undefined)
|
|
296
|
-
item.parentItemId = parentItemId;
|
|
297
|
-
const events = [{ type: eventType, item }];
|
|
298
|
-
// Track live ids (for delta synthesis) and drop bookkeeping on completion.
|
|
299
|
-
if (eventType === 'item.completed') {
|
|
300
|
-
if (!state.knownItems.has(id) && !state.outputs.has(id) && !state.reasonings.has(id)) {
|
|
301
|
-
return { events, state };
|
|
302
|
-
}
|
|
303
|
-
const knownItems = new Set(state.knownItems);
|
|
304
|
-
knownItems.delete(id);
|
|
305
|
-
const outputs = new Map(state.outputs);
|
|
306
|
-
outputs.delete(id);
|
|
307
|
-
const reasonings = new Map(state.reasonings);
|
|
308
|
-
reasonings.delete(id);
|
|
309
|
-
return { events, state: { ...state, knownItems, outputs, reasonings } };
|
|
310
|
-
}
|
|
311
|
-
if (state.knownItems.has(id))
|
|
312
|
-
return { events, state };
|
|
313
|
-
return { events, state: { ...state, knownItems: new Set(state.knownItems).add(id) } };
|
|
314
|
-
}
|
|
315
|
-
function mapSubAgentActivity(raw, id, parentItemId, state) {
|
|
316
|
-
const kind = str(raw.kind);
|
|
317
|
-
const agentThreadId = str(raw.agentThreadId);
|
|
318
|
-
if (kind === 'completed')
|
|
319
|
-
return mapSubAgentCompleted(agentThreadId, state);
|
|
320
|
-
if (kind !== 'started' || state.knownItems.has(id))
|
|
321
|
-
return { events: [], state };
|
|
322
|
-
const agentPath = str(raw.agentPath);
|
|
323
|
-
const agentName = agentPath?.split('/').filter(Boolean).at(-1)?.replaceAll('_', ' ');
|
|
324
|
-
const display = toolDisplay('Task', agentName ? { description: agentName } : undefined);
|
|
325
|
-
const task = { itemId: id, ...(agentName ? { prompt: agentName } : {}) };
|
|
326
|
-
const collabTasks = new Map(state.collabTasks);
|
|
327
|
-
if (agentThreadId)
|
|
328
|
-
collabTasks.set(agentThreadId, task);
|
|
329
|
-
// The child runs in its own thread and may outlive the parent turn (hearsay-tools/cezarion#2431).
|
|
330
|
-
// A spawn on a child's thread is that child's work: it nests under the child's row and is not
|
|
331
|
-
// one of the parent's background subagents, though its row still ends on its own completion.
|
|
332
|
-
const item = {
|
|
333
|
-
kind: 'tool', id, name: 'spawnAgent', toolKind: 'task', title: display.title, status: 'running',
|
|
334
|
-
input: { ...(agentPath ? { agentPath } : {}), ...(agentThreadId ? { agentThreadId } : {}) },
|
|
335
|
-
...(parentItemId === undefined ? { background: true } : { parentItemId }),
|
|
336
|
-
};
|
|
337
|
-
return {
|
|
338
|
-
events: [{ type: 'item.started', item }],
|
|
339
|
-
state: {
|
|
340
|
-
...state, knownItems: new Set(state.knownItems).add(id), collabTasks,
|
|
341
|
-
backgroundTasks: new Map(state.backgroundTasks).set(id, item),
|
|
342
|
-
},
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* A child's end: Codex reports it on the PARENT thread as `subAgentActivity(kind: completed)`,
|
|
347
|
-
* stamped with the parent turn that spawned it, which may have completed long before. It
|
|
348
|
-
* completes that spawn's background row once, so a repeat emits nothing. A collaboration
|
|
349
|
-
* tool-call row is left alone: its `wait` call already reports the child's state. Codex 0.164.0
|
|
350
|
-
* reports no failed or interrupted child here.
|
|
351
|
-
*/
|
|
352
|
-
function mapSubAgentCompleted(agentThreadId, state) {
|
|
353
|
-
const task = agentThreadId === undefined ? undefined : state.collabTasks.get(agentThreadId);
|
|
354
|
-
const running = task === undefined ? undefined : state.backgroundTasks.get(task.itemId);
|
|
355
|
-
if (!task || !running)
|
|
356
|
-
return { events: [], state };
|
|
357
|
-
const backgroundTasks = new Map(state.backgroundTasks);
|
|
358
|
-
backgroundTasks.delete(task.itemId);
|
|
359
|
-
return { events: [{ type: 'item.completed', item: { ...running, status: 'completed' } }], state: { ...state, backgroundTasks } };
|
|
360
|
-
}
|
|
361
|
-
/** A spawn creates one task row; later send/wait/resume/close calls update the
|
|
362
|
-
* same row through receiver-thread correlation instead of creating duplicates. */
|
|
363
|
-
function mapCollabToolCall(raw, id, eventType, state) {
|
|
364
|
-
const operation = str(raw.tool) ?? str(raw.operation);
|
|
365
|
-
const receiverIds = stringArray(raw.receiverThreadIds ?? raw.receiver_thread_ids);
|
|
366
|
-
const isSpawn = operation === 'spawnAgent' || operation === 'spawn_agent';
|
|
367
|
-
if (isSpawn) {
|
|
368
|
-
const prompt = str(raw.prompt);
|
|
369
|
-
const model = str(raw.model);
|
|
370
|
-
const task = { itemId: id, ...(prompt ? { prompt } : {}), ...(model ? { model } : {}) };
|
|
371
|
-
let collabTasks = state.collabTasks;
|
|
372
|
-
if (receiverIds.length > 0) {
|
|
373
|
-
const next = new Map(state.collabTasks);
|
|
374
|
-
for (const threadId of receiverIds)
|
|
375
|
-
next.set(threadId, task);
|
|
376
|
-
collabTasks = next;
|
|
377
|
-
}
|
|
378
|
-
const status = collabStatus(raw, receiverIds, eventType);
|
|
379
|
-
const mappedType = eventType === 'item.started'
|
|
380
|
-
? eventType
|
|
381
|
-
: status === 'running' || status === 'pending' ? 'item.updated' : 'item.completed';
|
|
382
|
-
return {
|
|
383
|
-
events: [{ type: mappedType, item: collabTaskItem(task, status) }],
|
|
384
|
-
state: { ...state, collabTasks },
|
|
385
|
-
};
|
|
386
|
-
}
|
|
387
|
-
const tasks = new Map();
|
|
388
|
-
for (const threadId of receiverIds) {
|
|
389
|
-
const task = state.collabTasks.get(threadId);
|
|
390
|
-
if (task)
|
|
391
|
-
tasks.set(task.itemId, task);
|
|
392
|
-
}
|
|
393
|
-
if (tasks.size === 0)
|
|
394
|
-
return { events: [], state };
|
|
395
|
-
const status = collabStatus(raw, receiverIds, eventType);
|
|
396
|
-
const mappedType = status === 'running' || status === 'pending' ? 'item.updated' : 'item.completed';
|
|
397
|
-
return {
|
|
398
|
-
events: [...tasks.values()].map((task) => ({ type: mappedType, item: collabTaskItem(task, status) })),
|
|
399
|
-
state,
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
function collabTaskItem(task, status) {
|
|
403
|
-
const display = toolDisplay('Task', task.prompt ? { description: task.prompt } : undefined);
|
|
404
|
-
const input = {};
|
|
405
|
-
if (task.prompt)
|
|
406
|
-
input.prompt = task.prompt;
|
|
407
|
-
if (task.model)
|
|
408
|
-
input.model = task.model;
|
|
409
|
-
return {
|
|
410
|
-
kind: 'tool', id: task.itemId, name: 'spawnAgent', toolKind: 'task', title: display.title, status,
|
|
411
|
-
...(Object.keys(input).length > 0 ? { input } : {}),
|
|
412
|
-
};
|
|
413
|
-
}
|
|
414
|
-
function collabStatus(raw, receiverIds, eventType) {
|
|
415
|
-
const states = isRecord(raw.agentsStates) ? raw.agentsStates
|
|
416
|
-
: isRecord(raw.agents_states) ? raw.agents_states : undefined;
|
|
417
|
-
const statuses = receiverIds
|
|
418
|
-
.map((threadId) => (states && isRecord(states[threadId]) ? states[threadId].status : undefined))
|
|
419
|
-
.filter((status) => typeof status === 'string');
|
|
420
|
-
if (statuses.some((status) => status === 'errored' || status === 'notFound' || status === 'not_found'))
|
|
421
|
-
return 'failed';
|
|
422
|
-
if (statuses.some((status) => status === 'interrupted'))
|
|
423
|
-
return 'declined';
|
|
424
|
-
if (statuses.length > 0 && statuses.every((status) => status === 'completed' || status === 'shutdown'))
|
|
425
|
-
return 'completed';
|
|
426
|
-
if (statuses.some((status) => status === 'running' || status === 'pendingInit' || status === 'pending_init'))
|
|
427
|
-
return 'running';
|
|
428
|
-
return toolStatus(raw, eventType);
|
|
429
|
-
}
|
|
430
|
-
/**
|
|
431
|
-
* §7.1: review-mode items → tool(kind task) — but ONE item for the pair, not two.
|
|
432
|
-
*
|
|
433
|
-
* `enteredReviewMode` opens the item (`running`); `exitedReviewMode` completes
|
|
434
|
-
* **that same id**, so the cockpit sees one "Review" span with a lifecycle instead
|
|
435
|
-
* of two childless task items that would read as two sub-agents (spec
|
|
436
|
-
* `.ai/specs/2026-07-20-grouped-subagent-display.md` §"Codex-mapper fix", #474).
|
|
437
|
-
*
|
|
438
|
-
* The fallback matters: an exit with no open item — a resumed thread, a replay that
|
|
439
|
-
* starts mid-review — still maps to its own completed item, so no frame is dropped.
|
|
440
|
-
*/
|
|
441
|
-
function mapReviewMode(raw, id, type, eventType, state) {
|
|
442
|
-
const reviewItem = (itemId, name, status) => ({
|
|
443
|
-
kind: 'tool',
|
|
444
|
-
id: itemId,
|
|
445
|
-
name,
|
|
446
|
-
toolKind: 'task',
|
|
447
|
-
// One stable title across the lifecycle: the row must not rename itself on exit.
|
|
448
|
-
title: 'Review',
|
|
449
|
-
status,
|
|
450
|
-
});
|
|
451
|
-
if (type === 'enteredReviewMode') {
|
|
452
|
-
const status = toolStatus(raw, eventType);
|
|
453
|
-
const events = [];
|
|
454
|
-
// A second entered frame with no intervening exit displaces the open span. Settle the
|
|
455
|
-
// displaced item rather than leaking a permanently `running` row — the same rule the
|
|
456
|
-
// opencode mapper's subtask slot follows.
|
|
457
|
-
if (state.reviewItemId !== null && state.reviewItemId !== id) {
|
|
458
|
-
events.push({
|
|
459
|
-
type: 'item.completed',
|
|
460
|
-
item: reviewItem(state.reviewItemId, 'enteredReviewMode', 'completed'),
|
|
461
|
-
});
|
|
462
|
-
}
|
|
463
|
-
events.push({ type: eventType, item: reviewItem(id, type, status) });
|
|
464
|
-
// Latch on the RESOLVED status, not the event phase: an entered frame that already
|
|
465
|
-
// carries a terminal wire status closes the span whichever lifecycle phase it arrived in,
|
|
466
|
-
// and one that is still in progress stays open even on an `item/completed` frame.
|
|
467
|
-
const settled = status !== 'running' && status !== 'pending';
|
|
468
|
-
return { events, state: { ...state, reviewItemId: settled ? null : id } };
|
|
469
|
-
}
|
|
470
|
-
const openId = state.reviewItemId;
|
|
471
|
-
if (openId === null) {
|
|
472
|
-
// Unpaired exit — today's shape, under the exit frame's own id.
|
|
473
|
-
return {
|
|
474
|
-
events: [{ type: 'item.completed', item: reviewItem(id, type, toolStatus(raw, 'item.completed')) }],
|
|
475
|
-
state,
|
|
476
|
-
};
|
|
477
|
-
}
|
|
478
|
-
return {
|
|
479
|
-
events: [
|
|
480
|
-
{
|
|
481
|
-
type: 'item.completed',
|
|
482
|
-
// The item was introduced by the entered frame, so it keeps that identity.
|
|
483
|
-
item: reviewItem(openId, 'enteredReviewMode', toolStatus(raw, 'item.completed')),
|
|
484
|
-
},
|
|
485
|
-
],
|
|
486
|
-
state: { ...state, reviewItemId: null },
|
|
487
|
-
};
|
|
488
|
-
}
|
|
489
|
-
/** `agentMessage` → message item; `phase` commentary|final_answer→'commentary'|'final'. */
|
|
490
|
-
function messageItem(raw, id) {
|
|
491
|
-
const item = {
|
|
492
|
-
kind: 'message',
|
|
493
|
-
id,
|
|
494
|
-
role: 'assistant',
|
|
495
|
-
text: typeof raw.text === 'string' ? raw.text : '',
|
|
496
|
-
};
|
|
497
|
-
if (raw.phase === 'commentary')
|
|
498
|
-
item.phase = 'commentary';
|
|
499
|
-
else if (raw.phase === 'final_answer')
|
|
500
|
-
item.phase = 'final';
|
|
501
|
-
return item;
|
|
502
|
-
}
|
|
503
|
-
/** `reasoning` → reasoning item. Precedence, most authoritative first:
|
|
504
|
-
* wire `content` → streamed raw chain of thought → the fuller of the wire
|
|
505
|
-
* `summary` and the streamed summary.
|
|
506
|
-
*
|
|
507
|
-
* The accumulators matter on `item.completed`: deltas never reach disk, so a
|
|
508
|
-
* completed snapshot without `content` would otherwise persist the short
|
|
509
|
-
* summary (or nothing) and the row would read back empty after a reload
|
|
510
|
-
* (#528). They are consulted on `item.started` too — a delta can outrun its
|
|
511
|
-
* `item/started`, and re-emitting an empty snapshot would blank the row the
|
|
512
|
-
* synthesized item already filled.
|
|
513
|
-
*
|
|
514
|
-
* Summary picks the LONGER of the two sources rather than preferring the
|
|
515
|
-
* stream: a mapper attached mid-turn, or any dropped frame, leaves a partial
|
|
516
|
-
* accumulator that must not overwrite a complete `summary` from the wire. */
|
|
517
|
-
function reasoningItem(raw, id, state) {
|
|
518
|
-
const streamed = state.reasonings.get(id);
|
|
519
|
-
// app-server v2 snapshots use arrays for both fields. Deltas remain scalar
|
|
520
|
-
// strings, and older recorded transcripts may still contain scalar snapshots,
|
|
521
|
-
// so accept both without weakening the untrusted-wire boundary.
|
|
522
|
-
const summary = longer(reasoningSnapshotText(raw.summary), str(streamed?.summary));
|
|
523
|
-
return {
|
|
524
|
-
kind: 'reasoning',
|
|
525
|
-
id,
|
|
526
|
-
text: reasoningSnapshotText(raw.content) ?? str(streamed?.text) ?? summary ?? '',
|
|
527
|
-
};
|
|
528
|
-
}
|
|
529
|
-
/** Join app-server reasoning parts without flattening their boundaries. Scalar
|
|
530
|
-
* strings remain accepted for replay compatibility with older transcripts. */
|
|
531
|
-
function reasoningSnapshotText(value) {
|
|
532
|
-
if (typeof value === 'string')
|
|
533
|
-
return str(value);
|
|
534
|
-
if (!Array.isArray(value))
|
|
535
|
-
return undefined;
|
|
536
|
-
const parts = value.filter((part) => typeof part === 'string' && part !== '');
|
|
537
|
-
return parts.length > 0 ? parts.join('\n') : undefined;
|
|
538
|
-
}
|
|
539
|
-
/** The longer of two optional strings — neither present yields undefined. */
|
|
540
|
-
function longer(a, b) {
|
|
541
|
-
if (a === undefined)
|
|
542
|
-
return b;
|
|
543
|
-
if (b === undefined)
|
|
544
|
-
return a;
|
|
545
|
-
return b.length > a.length ? b : a;
|
|
546
|
-
}
|
|
547
|
-
/** The §7.1 status map — the wire word wins; an item without one derives its
|
|
548
|
-
* status from the lifecycle phase it arrived in. */
|
|
549
|
-
export const STATUS_MAP = {
|
|
550
|
-
inProgress: 'running',
|
|
551
|
-
in_progress: 'running',
|
|
552
|
-
completed: 'completed',
|
|
553
|
-
failed: 'failed',
|
|
554
|
-
declined: 'declined',
|
|
555
|
-
};
|
|
556
|
-
function toolStatus(raw, eventType) {
|
|
557
|
-
const mapped = typeof raw.status === 'string' ? STATUS_MAP[raw.status] : undefined;
|
|
558
|
-
return mapped ?? (eventType === 'item.completed' ? 'completed' : 'running');
|
|
559
|
-
}
|
|
560
|
-
function toolItem(raw, id, type, eventType, state) {
|
|
561
|
-
const status = toolStatus(raw, eventType);
|
|
562
|
-
let item;
|
|
563
|
-
switch (type) {
|
|
564
|
-
case 'commandExecution': {
|
|
565
|
-
const display = toolDisplay('commandExecution', raw);
|
|
566
|
-
item = { kind: 'tool', id, name: type, toolKind: display.toolKind, title: display.title, status };
|
|
567
|
-
if (raw.command !== undefined)
|
|
568
|
-
item.input = { command: raw.command };
|
|
569
|
-
// Wire output wins; else the final snapshot carries what outputDelta streamed.
|
|
570
|
-
const output = str(raw.aggregatedOutput) ??
|
|
571
|
-
str(raw.output) ??
|
|
572
|
-
(eventType === 'item.completed' ? state.outputs.get(id) : undefined);
|
|
573
|
-
if (output !== undefined)
|
|
574
|
-
item.output = output;
|
|
575
|
-
const exitCode = num(raw.exitCode);
|
|
576
|
-
if (exitCode !== undefined)
|
|
577
|
-
item.exitCode = exitCode;
|
|
578
|
-
break;
|
|
579
|
-
}
|
|
580
|
-
case 'fileChange': {
|
|
581
|
-
const display = toolDisplay('fileChange', raw);
|
|
582
|
-
item = { kind: 'tool', id, name: type, toolKind: display.toolKind, title: display.title, status };
|
|
583
|
-
const artifacts = changeArtifacts(raw.changes);
|
|
584
|
-
if (artifacts) {
|
|
585
|
-
item.diffs = artifacts.diffs;
|
|
586
|
-
item.locations = artifacts.locations;
|
|
587
|
-
}
|
|
588
|
-
break;
|
|
589
|
-
}
|
|
590
|
-
case 'mcpToolCall': {
|
|
591
|
-
const server = str(raw.server);
|
|
592
|
-
const tool = str(raw.tool);
|
|
593
|
-
const display = toolDisplay('mcpToolCall', raw);
|
|
594
|
-
item = {
|
|
595
|
-
kind: 'tool',
|
|
596
|
-
id,
|
|
597
|
-
// §7.1: the item is named after what it called, `server.tool`.
|
|
598
|
-
name: server && tool ? `${server}.${tool}` : type,
|
|
599
|
-
toolKind: display.toolKind,
|
|
600
|
-
title: display.title,
|
|
601
|
-
status,
|
|
602
|
-
};
|
|
603
|
-
if (raw.arguments !== undefined)
|
|
604
|
-
item.input = raw.arguments;
|
|
605
|
-
const result = raw.result;
|
|
606
|
-
if (typeof result === 'string')
|
|
607
|
-
item.output = result;
|
|
608
|
-
else if (result !== undefined)
|
|
609
|
-
item.output = safeStringify(result);
|
|
610
|
-
break;
|
|
611
|
-
}
|
|
612
|
-
case 'webSearch': {
|
|
613
|
-
const display = toolDisplay('webSearch', raw);
|
|
614
|
-
item = { kind: 'tool', id, name: type, toolKind: display.toolKind, title: display.title, status };
|
|
615
|
-
break;
|
|
616
|
-
}
|
|
617
|
-
default: {
|
|
618
|
-
// Unknown item types stay visible as generic tool cards (v1 parity —
|
|
619
|
-
// a future codex tool must not silently vanish from the thread).
|
|
620
|
-
const display = toolDisplay(type, raw);
|
|
621
|
-
item = { kind: 'tool', id, name: type, toolKind: display.toolKind, title: display.title, status, input: raw };
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
const error = errorMessage(raw.error);
|
|
625
|
-
if (error !== undefined)
|
|
626
|
-
item.error = error;
|
|
627
|
-
return item;
|
|
628
|
-
}
|
|
629
|
-
/** `fileChange.changes[]` `{path, kind, diff}` → `diffs[]` (unified) + locations. */
|
|
630
|
-
function changeArtifacts(changes) {
|
|
631
|
-
if (!Array.isArray(changes))
|
|
632
|
-
return undefined;
|
|
633
|
-
const diffs = [];
|
|
634
|
-
const locations = [];
|
|
635
|
-
for (const change of changes) {
|
|
636
|
-
if (!isRecord(change) || typeof change.path !== 'string' || change.path === '')
|
|
637
|
-
continue;
|
|
638
|
-
// Codex sends unified diffs only — the old text is unknown, not "empty".
|
|
639
|
-
const diff = { path: change.path, oldText: null };
|
|
640
|
-
const unified = str(change.diff);
|
|
641
|
-
if (unified !== undefined)
|
|
642
|
-
diff.unified = unified;
|
|
643
|
-
diffs.push(diff);
|
|
644
|
-
locations.push({ path: change.path });
|
|
645
|
-
}
|
|
646
|
-
if (diffs.length === 0)
|
|
647
|
-
return undefined;
|
|
648
|
-
return { diffs, locations };
|
|
649
|
-
}
|
|
650
|
-
/** `todoList` items `{text, completed}` (and plan step arrays) → plan entries;
|
|
651
|
-
* a text-only `plan` item becomes the single entry the agent is executing. */
|
|
652
|
-
function planEntriesOf(raw) {
|
|
653
|
-
const list = Array.isArray(raw.items) ? raw.items : Array.isArray(raw.plan) ? raw.plan : undefined;
|
|
654
|
-
if (list) {
|
|
655
|
-
const entries = [];
|
|
656
|
-
for (const entry of list) {
|
|
657
|
-
if (!isRecord(entry))
|
|
658
|
-
continue;
|
|
659
|
-
const content = str(entry.text) ?? str(entry.step) ?? str(entry.content);
|
|
660
|
-
if (content === undefined)
|
|
661
|
-
continue;
|
|
662
|
-
if (typeof entry.completed === 'boolean') {
|
|
663
|
-
entries.push({ content, status: entry.completed ? 'completed' : 'pending' });
|
|
664
|
-
}
|
|
665
|
-
else if (entry.status === 'pending' || entry.status === 'completed') {
|
|
666
|
-
entries.push({ content, status: entry.status });
|
|
667
|
-
}
|
|
668
|
-
else if (entry.status === 'inProgress' || entry.status === 'in_progress') {
|
|
669
|
-
entries.push({ content, status: 'in_progress' });
|
|
670
|
-
}
|
|
671
|
-
else {
|
|
672
|
-
entries.push({ content, status: 'pending' });
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
return entries;
|
|
676
|
-
}
|
|
677
|
-
const text = str(raw.text);
|
|
678
|
-
if (text === undefined)
|
|
679
|
-
return undefined;
|
|
680
|
-
return [{ content: text, status: 'in_progress' }];
|
|
681
|
-
}
|
|
682
|
-
// ---- streaming deltas -------------------------------------------------------
|
|
683
|
-
/** Minimal item synthesized when a delta outruns its `item/started` — gives
|
|
684
|
-
* consumers a valid target to upsert; the completed snapshot reconciles. */
|
|
685
|
-
function synthesizedItem(itemId, field) {
|
|
686
|
-
if (field === 'text')
|
|
687
|
-
return { kind: 'message', id: itemId, role: 'assistant', text: '' };
|
|
688
|
-
if (field === 'reasoning')
|
|
689
|
-
return { kind: 'reasoning', id: itemId, text: '' };
|
|
690
|
-
const display = toolDisplay('commandExecution');
|
|
691
|
-
return { kind: 'tool', id: itemId, name: 'commandExecution', toolKind: display.toolKind, title: display.title, status: 'running' };
|
|
692
|
-
}
|
|
693
|
-
function mapDelta(params, state, field,
|
|
694
|
-
/** Which reasoning stream fed this delta — see `ReasoningAccumulator`. */
|
|
695
|
-
reasoningChannel = 'text') {
|
|
696
|
-
const itemId = str(params.itemId);
|
|
697
|
-
const delta = typeof params.delta === 'string' ? params.delta : '';
|
|
698
|
-
if (itemId === undefined || delta === '')
|
|
699
|
-
return { events: [], state };
|
|
700
|
-
const events = [];
|
|
701
|
-
let knownItems = state.knownItems;
|
|
702
|
-
if (!knownItems.has(itemId)) {
|
|
703
|
-
const item = synthesizedItem(itemId, field);
|
|
704
|
-
const parentItemId = collabParentItemId(params, state);
|
|
705
|
-
if (parentItemId !== undefined)
|
|
706
|
-
item.parentItemId = parentItemId;
|
|
707
|
-
events.push({ type: 'item.started', item });
|
|
708
|
-
knownItems = new Set(knownItems).add(itemId);
|
|
709
|
-
}
|
|
710
|
-
events.push({ type: 'item.delta', itemId, field, delta });
|
|
711
|
-
let outputs = state.outputs;
|
|
712
|
-
if (field === 'output') {
|
|
713
|
-
const next = new Map(state.outputs);
|
|
714
|
-
next.set(itemId, (next.get(itemId) ?? '') + delta);
|
|
715
|
-
outputs = next;
|
|
716
|
-
}
|
|
717
|
-
let reasonings = state.reasonings;
|
|
718
|
-
if (field === 'reasoning') {
|
|
719
|
-
const next = new Map(state.reasonings);
|
|
720
|
-
const prev = next.get(itemId) ?? { text: '', summary: '' };
|
|
721
|
-
next.set(itemId, reasoningChannel === 'text'
|
|
722
|
-
? { ...prev, text: prev.text + delta }
|
|
723
|
-
: { ...prev, summary: prev.summary + delta });
|
|
724
|
-
reasonings = next;
|
|
725
|
-
}
|
|
726
|
-
return { events, state: { ...state, knownItems, outputs, reasonings } };
|
|
727
|
-
}
|
|
728
|
-
// ---- telemetry ---------------------------------------------------------------
|
|
729
|
-
/** `thread/tokenUsage/updated` → usage.updated. Raw CUMULATIVE totals from
|
|
730
|
-
* `tokenUsage.total`; codex reports no USD cost, so none is ever fabricated. */
|
|
731
|
-
function mapTokenUsage(params, state) {
|
|
732
|
-
if (!isRecord(params.tokenUsage))
|
|
733
|
-
return { events: [], state };
|
|
734
|
-
const tokenUsage = params.tokenUsage;
|
|
735
|
-
const total = isRecord(tokenUsage.total) ? tokenUsage.total : undefined;
|
|
736
|
-
if (!total)
|
|
737
|
-
return { events: [], state };
|
|
738
|
-
const usage = codexUsage(total);
|
|
739
|
-
if (usage === undefined)
|
|
740
|
-
return { events: [], state };
|
|
741
|
-
const contextWindow = num(tokenUsage.modelContextWindow);
|
|
742
|
-
if (contextWindow !== undefined)
|
|
743
|
-
usage.contextWindow = contextWindow;
|
|
744
|
-
const last = isRecord(tokenUsage.last) ? codexUsage(tokenUsage.last) : undefined;
|
|
745
|
-
const nextState = state.currentTurnId !== null && last !== undefined ? { ...state, pendingTurnUsage: last } : state;
|
|
746
|
-
return { events: [{ type: 'usage.updated', usage }], state: nextState };
|
|
747
|
-
}
|
|
748
|
-
function codexUsage(raw) {
|
|
749
|
-
const input = nonNegative(raw.inputTokens);
|
|
750
|
-
const output = nonNegative(raw.outputTokens);
|
|
751
|
-
if (input === undefined || output === undefined)
|
|
752
|
-
return undefined;
|
|
753
|
-
const total = nonNegative(raw.totalTokens) ?? input + output;
|
|
754
|
-
const usage = { input, output, total };
|
|
755
|
-
const cacheRead = nonNegative(raw.cachedInputTokens);
|
|
756
|
-
const reasoning = nonNegative(raw.reasoningOutputTokens);
|
|
757
|
-
if (cacheRead !== undefined)
|
|
758
|
-
usage.cacheRead = cacheRead;
|
|
759
|
-
if (reasoning !== undefined)
|
|
760
|
-
usage.reasoning = reasoning;
|
|
761
|
-
return usage;
|
|
762
|
-
}
|
|
763
|
-
// ---- tiny guards --------------------------------------------------------------
|
|
764
|
-
function isRecord(value) {
|
|
765
|
-
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
766
|
-
}
|
|
767
|
-
function str(value) {
|
|
768
|
-
return typeof value === 'string' && value !== '' ? value : undefined;
|
|
769
|
-
}
|
|
770
|
-
function num(value) {
|
|
771
|
-
return typeof value === 'number' && Number.isFinite(value) ? value : undefined;
|
|
772
|
-
}
|
|
773
|
-
function nonNegative(value) {
|
|
774
|
-
const parsed = num(value);
|
|
775
|
-
return parsed !== undefined && parsed >= 0 ? parsed : undefined;
|
|
776
|
-
}
|
|
777
|
-
function stringArray(value) {
|
|
778
|
-
return Array.isArray(value) ? value.filter((entry) => typeof entry === 'string' && entry !== '') : [];
|
|
779
|
-
}
|
|
780
|
-
function turnIdOf(params) {
|
|
781
|
-
const turn = isRecord(params.turn) ? params.turn : undefined;
|
|
782
|
-
return (turn && str(turn.id)) ?? str(params.turnId);
|
|
783
|
-
}
|
|
784
|
-
function errorMessage(error) {
|
|
785
|
-
if (typeof error === 'string')
|
|
786
|
-
return str(error);
|
|
787
|
-
if (isRecord(error))
|
|
788
|
-
return str(error.message);
|
|
789
|
-
return undefined;
|
|
790
|
-
}
|
|
791
|
-
function safeStringify(value) {
|
|
792
|
-
try {
|
|
793
|
-
return JSON.stringify(value);
|
|
794
|
-
}
|
|
795
|
-
catch {
|
|
796
|
-
return String(value);
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
//# sourceMappingURL=codex-ui-mapper.js.map
|