@open-mercato/cezar 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/agent-config/catalog.d.ts +4 -0
- package/dist/agent-config/catalog.js +85 -3
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/agent-config/model-settings/copilot.d.ts +15 -0
- package/dist/agent-config/model-settings/copilot.js +25 -0
- package/dist/agent-config/model-settings/copilot.js.map +1 -0
- package/dist/agent-config/model-settings/junie.d.ts +12 -0
- package/dist/agent-config/model-settings/junie.js +18 -0
- package/dist/agent-config/model-settings/junie.js.map +1 -0
- package/dist/agent-config/models.js +4 -0
- package/dist/agent-config/models.js.map +1 -1
- package/dist/automations/prompts.d.ts +2 -2
- package/dist/automations/prompts.js +1 -1
- package/dist/automations/types.d.ts +12 -0
- package/dist/config.d.ts +4 -0
- package/dist/config.js +2 -0
- package/dist/config.js.map +1 -1
- package/dist/contract/agent-config.d.ts +4 -0
- package/dist/contract/agent-profiles.d.ts +30 -0
- package/dist/contract/automations.d.ts +32 -0
- package/dist/contract/dashboard-insights.d.ts +186 -0
- package/dist/contract/dashboard.d.ts +88 -0
- package/dist/contract/dispatch.d.ts +6 -0
- package/dist/contract/health.d.ts +8 -0
- package/dist/contract/index.d.ts +2 -0
- package/dist/contract/index.js +249 -72
- package/dist/contract/runs.d.ts +144 -0
- package/dist/contract/self-update.d.ts +111 -2
- package/dist/contract/skills.d.ts +19 -0
- package/dist/contract/star-count.d.ts +18 -0
- package/dist/contract/workflows.d.ts +12 -0
- package/dist/contract/workspace.d.ts +42 -2
- package/dist/core/acp-client.d.ts +99 -0
- package/dist/core/acp-client.js +198 -0
- package/dist/core/acp-client.js.map +1 -0
- package/dist/core/acp-ui-mapper.d.ts +95 -0
- package/dist/core/acp-ui-mapper.js +444 -0
- package/dist/core/acp-ui-mapper.js.map +1 -0
- package/dist/core/agent-env.js +10 -0
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/agent-profiles.d.ts +10 -0
- package/dist/core/agent-profiles.js +16 -0
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-runner.d.ts +5 -3
- package/dist/core/agent-runner.js +5 -3
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/backend-detect.d.ts +3 -3
- package/dist/core/backend-detect.js +61 -2
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/claude-cli-runner.d.ts +5 -2
- package/dist/core/claude-cli-runner.js +11 -6
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/claude-ui-mapper.d.ts +14 -0
- package/dist/core/claude-ui-mapper.js +102 -11
- package/dist/core/claude-ui-mapper.js.map +1 -1
- package/dist/core/codex-app-server-transport.js +8 -4
- package/dist/core/codex-app-server-transport.js.map +1 -1
- package/dist/core/copilot-acp-runner.d.ts +60 -0
- package/dist/core/copilot-acp-runner.js +528 -0
- package/dist/core/copilot-acp-runner.js.map +1 -0
- package/dist/core/copilot-ui-mapper.d.ts +47 -0
- package/dist/core/copilot-ui-mapper.js +111 -0
- package/dist/core/copilot-ui-mapper.js.map +1 -0
- package/dist/core/cursor-agent-runner.js +4 -4
- package/dist/core/cursor-agent-runner.js.map +1 -1
- package/dist/core/disclaim-spawn.d.ts +9 -0
- package/dist/core/disclaim-spawn.js +53 -0
- package/dist/core/disclaim-spawn.js.map +1 -0
- package/dist/core/junie-acp-transport.d.ts +58 -0
- package/dist/core/junie-acp-transport.js +179 -0
- package/dist/core/junie-acp-transport.js.map +1 -0
- package/dist/core/junie-auth-probe.d.ts +12 -0
- package/dist/core/junie-auth-probe.js +30 -0
- package/dist/core/junie-auth-probe.js.map +1 -0
- package/dist/core/junie-model-catalog.d.ts +10 -0
- package/dist/core/junie-model-catalog.js +104 -0
- package/dist/core/junie-model-catalog.js.map +1 -0
- package/dist/core/junie-runner.d.ts +45 -0
- package/dist/core/junie-runner.js +533 -0
- package/dist/core/junie-runner.js.map +1 -0
- package/dist/core/junie-ui-mapper.d.ts +132 -0
- package/dist/core/junie-ui-mapper.js +459 -0
- package/dist/core/junie-ui-mapper.js.map +1 -0
- package/dist/core/model-identity.js +17 -0
- package/dist/core/model-identity.js.map +1 -1
- package/dist/core/model-presets.js +10 -0
- package/dist/core/model-presets.js.map +1 -1
- package/dist/core/opencode-server-runner.js +4 -4
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/pi-runner.js +4 -4
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/core/provider-auth.d.ts +16 -2
- package/dist/core/provider-auth.js +113 -7
- package/dist/core/provider-auth.js.map +1 -1
- package/dist/core/runner-factory.js +6 -0
- package/dist/core/runner-factory.js.map +1 -1
- package/dist/core/runner-model-catalog.js +12 -8
- package/dist/core/runner-model-catalog.js.map +1 -1
- package/dist/core/tool-display.js +6 -1
- package/dist/core/tool-display.js.map +1 -1
- package/dist/core/ui-events.d.ts +6 -2
- package/dist/git-diff-base.js +23 -2
- package/dist/git-diff-base.js.map +1 -1
- package/dist/git-worktree.d.ts +21 -2
- package/dist/git-worktree.js +68 -5
- package/dist/git-worktree.js.map +1 -1
- package/dist/index.js +14 -4
- package/dist/index.js.map +1 -1
- package/dist/paths.js +2 -0
- package/dist/paths.js.map +1 -1
- package/dist/runs/event-history.js +3 -0
- package/dist/runs/event-history.js.map +1 -1
- package/dist/runs/store.d.ts +42 -3
- package/dist/runs/store.js +112 -6
- package/dist/runs/store.js.map +1 -1
- package/dist/self-update/checkouts.d.ts +53 -0
- package/dist/self-update/checkouts.js +268 -0
- package/dist/self-update/checkouts.js.map +1 -0
- package/dist/self-update/cli.d.ts +5 -3
- package/dist/self-update/cli.js +75 -8
- package/dist/self-update/cli.js.map +1 -1
- package/dist/self-update/layout.d.ts +33 -1
- package/dist/self-update/layout.js +102 -3
- package/dist/self-update/layout.js.map +1 -1
- package/dist/self-update/pulls.d.ts +40 -0
- package/dist/self-update/pulls.js +127 -0
- package/dist/self-update/pulls.js.map +1 -0
- package/dist/self-update/service.d.ts +26 -3
- package/dist/self-update/service.js +85 -9
- package/dist/self-update/service.js.map +1 -1
- package/dist/server/dashboard.d.ts +107 -0
- package/dist/server/dashboard.js +2 -1
- package/dist/server/dashboard.js.map +1 -1
- package/dist/server/forge/github.js +4 -1
- package/dist/server/forge/github.js.map +1 -1
- package/dist/server/fs-browse.d.ts +3 -1
- package/dist/server/fs-browse.js +27 -5
- package/dist/server/fs-browse.js.map +1 -1
- package/dist/server/open-in-app.js +2 -0
- package/dist/server/open-in-app.js.map +1 -1
- package/dist/server/provider-action-gate.js +5 -1
- package/dist/server/provider-action-gate.js.map +1 -1
- package/dist/server/server.d.ts +880 -511
- package/dist/server/server.js +40 -5
- package/dist/server/server.js.map +1 -1
- package/dist/server/star-count.d.ts +67 -0
- package/dist/server/star-count.js +186 -0
- package/dist/server/star-count.js.map +1 -0
- package/dist/skills-banner.d.ts +19 -0
- package/dist/skills-banner.js +24 -0
- package/dist/skills-banner.js.map +1 -1
- package/dist/workflows/run.d.ts +0 -2
- package/dist/workflows/run.js +45 -29
- package/dist/workflows/run.js.map +1 -1
- package/dist/workflows/types.d.ts +6 -0
- package/dist/workspace/agent-accounts.d.ts +9 -1
- package/dist/workspace/agent-accounts.js +2 -0
- package/dist/workspace/agent-accounts.js.map +1 -1
- package/dist/workspace/agent-profiles.d.ts +2 -2
- package/dist/workspace/agent-profiles.js +25 -6
- package/dist/workspace/agent-profiles.js.map +1 -1
- package/dist/workspace/config.d.ts +9 -1
- package/dist/workspace/config.js +10 -3
- package/dist/workspace/config.js.map +1 -1
- package/dist/workspace/dashboard-insights.d.ts +42 -0
- package/dist/workspace/dashboard-insights.js +220 -0
- package/dist/workspace/dashboard-insights.js.map +1 -0
- package/dist/workspace/dashboard.d.ts +71 -1
- package/dist/workspace/dashboard.js +14 -1
- package/dist/workspace/dashboard.js.map +1 -1
- package/dist/workspace/semaphore.d.ts +3 -0
- package/dist/workspace/semaphore.js +8 -1
- package/dist/workspace/semaphore.js.map +1 -1
- package/package.json +3 -3
- package/scripts/mock-claude.mjs +34 -1
- package/scripts/mock-copilot-acp.mjs +190 -0
- package/scripts/mock-junie-acp.mjs +208 -0
- package/web/dist/assets/agent-task-pickers-BeQi-UTm.js +1 -0
- package/web/dist/assets/alert-dialog-CnRAuqwb.js +1 -0
- package/web/dist/assets/arrow-down-Da0kNRNH.js +1 -0
- package/web/dist/assets/arrow-left-BIZHhBIP.js +1 -0
- package/web/dist/assets/automation-format-CfPmkcsg.js +1 -0
- package/web/dist/assets/automations-route-AMJbFP53.js +1 -0
- package/web/dist/assets/centered-state-3r2Kaar_.js +1 -0
- package/web/dist/assets/chevron-left-DLAUPC66.js +1 -0
- package/web/dist/assets/chevron-right-KVZcXiPL.js +1 -0
- package/web/dist/assets/{circle-x-C9UoMP1V.js → circle-x-C0Jm5Ppb.js} +1 -1
- package/web/dist/assets/collapsible-DG_SIWqU.js +1 -0
- package/web/dist/assets/command-Dfln3D4A.js +1 -0
- package/web/dist/assets/{commit-list-BSfPsVsu.js → commit-list-_RA72yB_.js} +1 -1
- package/web/dist/assets/compare-variants-D6Ji6od4.js +1 -0
- package/web/dist/assets/dashboard-B3-tPimG.js +44 -0
- package/web/dist/assets/dialog-CiDREdUK.js +1 -0
- package/web/dist/assets/{diff-I0xowULh.js → diff-CxdyRumG.js} +2 -2
- package/web/dist/assets/diff-controls-DqJMMV4z.js +1 -0
- package/web/dist/assets/{diff-stat-yKn7joEr.js → diff-stat-Hupj4hxh.js} +1 -1
- package/web/dist/assets/{diff-view-DjvMeW1M.js → diff-view-BBYT5k6c.js} +1 -1
- package/web/dist/assets/dist-BqMwqJFX.js +1 -0
- package/web/dist/assets/dist-DpiX6WjA.js +1 -0
- package/web/dist/assets/{download-BcgZ2yk4.js → download-BR7EN9gW.js} +1 -1
- package/web/dist/assets/dropdown-menu-Ci4HFML0.js +1 -0
- package/web/dist/assets/editable-title-DDtUgRKZ.js +1 -0
- package/web/dist/assets/{ellipsis-vertical-g4O4NlLV.js → ellipsis-vertical-DBklom4U.js} +1 -1
- package/web/dist/assets/facet-filter-CfI4QvOd.js +1 -0
- package/web/dist/assets/{file-wXNeZwi7.js → file-CZb7cKNH.js} +1 -1
- package/web/dist/assets/{file-text-DV1gE2L6.js → file-text-Dm6CrEGW.js} +1 -1
- package/web/dist/assets/{folder-wjVId5un.js → folder-zQj-FYOo.js} +1 -1
- package/web/dist/assets/{git-pull-request-BBEDdTLK.js → git-pull-request-AhwzJc7s.js} +1 -1
- package/web/dist/assets/git-toolbar-j7gKkhGL.js +1 -0
- package/web/dist/assets/github-De-DFy8s.js +1 -0
- package/web/dist/assets/{image-preview-u1f-wzxC.js → image-preview-Dd3NVB7N.js} +1 -1
- package/web/dist/assets/index-HS1hr5Sz.js +12 -0
- package/web/dist/assets/index-YwgrLyBj.css +2 -0
- package/web/dist/assets/loader-circle-sk4vKJKp.js +1 -0
- package/web/dist/assets/{markdown-Bnm47qUl.js → markdown-DjNR-1p8.js} +2 -2
- package/web/dist/assets/new-task-form-vLs2G1_z.js +1 -0
- package/web/dist/assets/picker-pill-VW-M1ZiV.js +1 -0
- package/web/dist/assets/{pill-7dm3vWF7.js → pill-CPl6sysj.js} +1 -1
- package/web/dist/assets/popover-CNGONAql.js +1 -0
- package/web/dist/assets/project-router-dCZQu1wQ.js +1 -0
- package/web/dist/assets/{prompt-templates-BMZ5q5H_.js → prompt-templates-jNjVTAws.js} +1 -1
- package/web/dist/assets/{refresh-cw-C69euZ2H.js → refresh-cw-BfkEydKA.js} +1 -1
- package/web/dist/assets/repo-git-BZWZ6_pR.js +1 -0
- package/web/dist/assets/{run-diff-CoNVGn23.js → run-diff-u_roDsAJ.js} +2 -2
- package/web/dist/assets/run-header-Br1yJR0m.js +1 -0
- package/web/dist/assets/{search-x-BNLFOxI6.js → search-x-CT0NTqK1.js} +1 -1
- package/web/dist/assets/segmented-IDD4ucht.js +1 -0
- package/web/dist/assets/skills-Dsi5YdLG.js +1 -0
- package/web/dist/assets/{sparkles-ChorK-gZ.js → sparkles-CvOeAoyJ.js} +1 -1
- package/web/dist/assets/{square-terminal-C7KCPznz.js → square-terminal-eSs8YYZe.js} +1 -1
- package/web/dist/assets/{tab-link-E5O2Cesc.js → tab-link-CPF6ORha.js} +1 -1
- package/web/dist/assets/task-changes-DIT9Y1rh.js +1 -0
- package/web/dist/assets/task-commits-B4VvdiHH.js +1 -0
- package/web/dist/assets/task-files-BMm9C0DW.js +2 -0
- package/web/dist/assets/task-thread-RXabJAt0.js +9 -0
- package/web/dist/assets/{textarea-DLAfWPb0.js → textarea-DtBqPhIs.js} +1 -1
- package/web/dist/assets/thread-loading-Dnxb6Ar-.js +1 -0
- package/web/dist/assets/toaster-CfRVb8vH.js +43 -0
- package/web/dist/assets/token-metrics-DldVlr6m.js +1 -0
- package/web/dist/assets/tooltip-_O50N3pt.js +1 -0
- package/web/dist/assets/tracker-J0fdcH1G.js +4 -0
- package/web/dist/assets/{trash-2-_vwSMdPG.js → trash-2-CUH7GOVh.js} +1 -1
- package/web/dist/assets/{triangle-alert-fBRUkB46.js → triangle-alert-D5K_zyD3.js} +1 -1
- package/web/dist/assets/{upload-B4OIpdyq.js → upload-D7_n-9cl.js} +1 -1
- package/web/dist/assets/{use-now-sqAvRMna.js → use-now-3lElDuTi.js} +1 -1
- package/web/dist/assets/utils-BXvEm7Ve.js +64 -0
- package/web/dist/assets/workflows-D-dx9c_0.js +7 -0
- package/web/dist/assets/x-kLybIvX4.js +1 -0
- package/web/dist/assets/{zoomable-image-X81SApIg.js → zoomable-image-CnyQ9wyw.js} +1 -1
- package/web/dist/index.html +38 -36
- package/web/dist/assets/agent-task-pickers-DQ1qvgrD.js +0 -1
- package/web/dist/assets/alert-dialog-B_2uU4Bg.js +0 -1
- package/web/dist/assets/arrow-down-DieVZxSE.js +0 -1
- package/web/dist/assets/arrow-left-C8M0efjn.js +0 -1
- package/web/dist/assets/automation-format-CzinzpHK.js +0 -1
- package/web/dist/assets/automations-route-DYHUjV9R.js +0 -1
- package/web/dist/assets/centered-state-DJLgwvA4.js +0 -43
- package/web/dist/assets/chevron-left-BhXrOEE3.js +0 -1
- package/web/dist/assets/chevron-right-B3Ta8VKK.js +0 -1
- package/web/dist/assets/collapsible-BcKvItwg.js +0 -1
- package/web/dist/assets/command-BvGGv2_u.js +0 -1
- package/web/dist/assets/compare-variants-DBvMYMs3.js +0 -1
- package/web/dist/assets/dashboard-CGaFh4RV.js +0 -44
- package/web/dist/assets/dialog-B6NgKh0-.js +0 -1
- package/web/dist/assets/diff-controls-DskkZqmD.js +0 -1
- package/web/dist/assets/dist-BvXEdcbG.js +0 -1
- package/web/dist/assets/dist-CTksUkKh.js +0 -1
- package/web/dist/assets/dropdown-menu-B7HeKCfN.js +0 -1
- package/web/dist/assets/editable-title-BHbHmSIK.js +0 -1
- package/web/dist/assets/facet-filter-DZ3wfvN9.js +0 -1
- package/web/dist/assets/git-toolbar-EZuX4Cuz.js +0 -1
- package/web/dist/assets/github-zcLRxv77.js +0 -1
- package/web/dist/assets/index-BrZhA4_u.css +0 -2
- package/web/dist/assets/index-CSNFuBvj.js +0 -12
- package/web/dist/assets/loader-circle-Cwgo6onL.js +0 -1
- package/web/dist/assets/new-task-form-CQODCzBP.js +0 -1
- package/web/dist/assets/picker-pill-DNB9ETjS.js +0 -1
- package/web/dist/assets/popover-BRq6QnwI.js +0 -1
- package/web/dist/assets/project-router-I8Pbsrxy.js +0 -1
- package/web/dist/assets/repo-git-G436Abni.js +0 -1
- package/web/dist/assets/run-header-CxdaA86t.js +0 -1
- package/web/dist/assets/skills-C_kBDesq.js +0 -1
- package/web/dist/assets/task-changes-Bhw4Ysvg.js +0 -1
- package/web/dist/assets/task-commits-DBuGXuGm.js +0 -1
- package/web/dist/assets/task-files-CYDbeffM.js +0 -2
- package/web/dist/assets/task-thread-RuxHMJgN.js +0 -9
- package/web/dist/assets/thread-loading-BAuVAbcA.js +0 -1
- package/web/dist/assets/token-metrics-rVl4kXe_.js +0 -1
- package/web/dist/assets/tooltip-Bdl8mQG8.js +0 -1
- package/web/dist/assets/tracker-DJ8JW59-.js +0 -4
- package/web/dist/assets/utils-DoBmOlX3.js +0 -64
- package/web/dist/assets/workflows-C54D7mlm.js +0 -7
- package/web/dist/assets/x-HXr9KZBr.js +0 -1
package/dist/contract/runs.d.ts
CHANGED
|
@@ -17,6 +17,19 @@ import { z } from 'zod';
|
|
|
17
17
|
* keys. The client narrows on which key is present, and the DTO's flattened shape allowed
|
|
18
18
|
* `{}` — a payload the route cannot produce.
|
|
19
19
|
*/
|
|
20
|
+
/** One authoritative PR association; optional for compatibility with older run records. */
|
|
21
|
+
export declare const runPrRefSchema: z.ZodObject<{
|
|
22
|
+
number: z.ZodNumber;
|
|
23
|
+
url: z.ZodOptional<z.ZodString>;
|
|
24
|
+
origin: z.ZodEnum<{
|
|
25
|
+
created: "created";
|
|
26
|
+
derived: "derived";
|
|
27
|
+
legacy: "legacy";
|
|
28
|
+
marker: "marker";
|
|
29
|
+
}>;
|
|
30
|
+
at: z.ZodString;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type RunPrRef = z.infer<typeof runPrRefSchema>;
|
|
20
33
|
export declare const runStatusSchema: z.ZodEnum<{
|
|
21
34
|
cancelled: "cancelled";
|
|
22
35
|
done: "done";
|
|
@@ -81,7 +94,9 @@ export declare const stepStateSchema: z.ZodObject<{
|
|
|
81
94
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
82
95
|
claude: "claude";
|
|
83
96
|
codex: "codex";
|
|
97
|
+
copilot: "copilot";
|
|
84
98
|
cursor: "cursor";
|
|
99
|
+
junie: "junie";
|
|
85
100
|
opencode: "opencode";
|
|
86
101
|
pi: "pi";
|
|
87
102
|
}>>;
|
|
@@ -143,7 +158,9 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
143
158
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
144
159
|
claude: "claude";
|
|
145
160
|
codex: "codex";
|
|
161
|
+
copilot: "copilot";
|
|
146
162
|
cursor: "cursor";
|
|
163
|
+
junie: "junie";
|
|
147
164
|
opencode: "opencode";
|
|
148
165
|
pi: "pi";
|
|
149
166
|
}>>;
|
|
@@ -177,7 +194,9 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
177
194
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
178
195
|
claude: "claude";
|
|
179
196
|
codex: "codex";
|
|
197
|
+
copilot: "copilot";
|
|
180
198
|
cursor: "cursor";
|
|
199
|
+
junie: "junie";
|
|
181
200
|
opencode: "opencode";
|
|
182
201
|
pi: "pi";
|
|
183
202
|
}>>;
|
|
@@ -270,6 +289,17 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
270
289
|
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
271
290
|
referencedPullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
272
291
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
292
|
+
prRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
293
|
+
number: z.ZodNumber;
|
|
294
|
+
url: z.ZodOptional<z.ZodString>;
|
|
295
|
+
origin: z.ZodEnum<{
|
|
296
|
+
created: "created";
|
|
297
|
+
derived: "derived";
|
|
298
|
+
legacy: "legacy";
|
|
299
|
+
marker: "marker";
|
|
300
|
+
}>;
|
|
301
|
+
at: z.ZodString;
|
|
302
|
+
}, z.core.$strip>>>;
|
|
273
303
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
274
304
|
referencedIssueNumberSeeded: z.ZodOptional<z.ZodBoolean>;
|
|
275
305
|
titleOrigin: z.ZodOptional<z.ZodEnum<{
|
|
@@ -333,7 +363,9 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
333
363
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
334
364
|
claude: "claude";
|
|
335
365
|
codex: "codex";
|
|
366
|
+
copilot: "copilot";
|
|
336
367
|
cursor: "cursor";
|
|
368
|
+
junie: "junie";
|
|
337
369
|
opencode: "opencode";
|
|
338
370
|
pi: "pi";
|
|
339
371
|
}>>;
|
|
@@ -352,7 +384,9 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
352
384
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
353
385
|
claude: "claude";
|
|
354
386
|
codex: "codex";
|
|
387
|
+
copilot: "copilot";
|
|
355
388
|
cursor: "cursor";
|
|
389
|
+
junie: "junie";
|
|
356
390
|
opencode: "opencode";
|
|
357
391
|
pi: "pi";
|
|
358
392
|
}>>;
|
|
@@ -401,7 +435,9 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
401
435
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
402
436
|
claude: "claude";
|
|
403
437
|
codex: "codex";
|
|
438
|
+
copilot: "copilot";
|
|
404
439
|
cursor: "cursor";
|
|
440
|
+
junie: "junie";
|
|
405
441
|
opencode: "opencode";
|
|
406
442
|
pi: "pi";
|
|
407
443
|
}>>;
|
|
@@ -435,7 +471,9 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
435
471
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
436
472
|
claude: "claude";
|
|
437
473
|
codex: "codex";
|
|
474
|
+
copilot: "copilot";
|
|
438
475
|
cursor: "cursor";
|
|
476
|
+
junie: "junie";
|
|
439
477
|
opencode: "opencode";
|
|
440
478
|
pi: "pi";
|
|
441
479
|
}>>;
|
|
@@ -528,6 +566,17 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
528
566
|
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
529
567
|
referencedPullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
530
568
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
569
|
+
prRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
570
|
+
number: z.ZodNumber;
|
|
571
|
+
url: z.ZodOptional<z.ZodString>;
|
|
572
|
+
origin: z.ZodEnum<{
|
|
573
|
+
created: "created";
|
|
574
|
+
derived: "derived";
|
|
575
|
+
legacy: "legacy";
|
|
576
|
+
marker: "marker";
|
|
577
|
+
}>;
|
|
578
|
+
at: z.ZodString;
|
|
579
|
+
}, z.core.$strip>>>;
|
|
531
580
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
532
581
|
referencedIssueNumberSeeded: z.ZodOptional<z.ZodBoolean>;
|
|
533
582
|
titleOrigin: z.ZodOptional<z.ZodEnum<{
|
|
@@ -591,7 +640,9 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
591
640
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
592
641
|
claude: "claude";
|
|
593
642
|
codex: "codex";
|
|
643
|
+
copilot: "copilot";
|
|
594
644
|
cursor: "cursor";
|
|
645
|
+
junie: "junie";
|
|
595
646
|
opencode: "opencode";
|
|
596
647
|
pi: "pi";
|
|
597
648
|
}>>;
|
|
@@ -610,7 +661,9 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
610
661
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
611
662
|
claude: "claude";
|
|
612
663
|
codex: "codex";
|
|
664
|
+
copilot: "copilot";
|
|
613
665
|
cursor: "cursor";
|
|
666
|
+
junie: "junie";
|
|
614
667
|
opencode: "opencode";
|
|
615
668
|
pi: "pi";
|
|
616
669
|
}>>;
|
|
@@ -693,6 +746,17 @@ export declare const runIndexEntrySchema: z.ZodObject<{
|
|
|
693
746
|
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
694
747
|
referencedPullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
695
748
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
749
|
+
prRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
750
|
+
number: z.ZodNumber;
|
|
751
|
+
url: z.ZodOptional<z.ZodString>;
|
|
752
|
+
origin: z.ZodEnum<{
|
|
753
|
+
created: "created";
|
|
754
|
+
derived: "derived";
|
|
755
|
+
legacy: "legacy";
|
|
756
|
+
marker: "marker";
|
|
757
|
+
}>;
|
|
758
|
+
at: z.ZodString;
|
|
759
|
+
}, z.core.$strip>>>;
|
|
696
760
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
697
761
|
referencedIssueUrl: z.ZodOptional<z.ZodString>;
|
|
698
762
|
markerRefs: z.ZodOptional<z.ZodObject<{
|
|
@@ -796,6 +860,17 @@ export declare const runsIndexResponseSchema: z.ZodObject<{
|
|
|
796
860
|
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
797
861
|
referencedPullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
798
862
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
863
|
+
prRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
864
|
+
number: z.ZodNumber;
|
|
865
|
+
url: z.ZodOptional<z.ZodString>;
|
|
866
|
+
origin: z.ZodEnum<{
|
|
867
|
+
created: "created";
|
|
868
|
+
derived: "derived";
|
|
869
|
+
legacy: "legacy";
|
|
870
|
+
marker: "marker";
|
|
871
|
+
}>;
|
|
872
|
+
at: z.ZodString;
|
|
873
|
+
}, z.core.$strip>>>;
|
|
799
874
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
800
875
|
referencedIssueUrl: z.ZodOptional<z.ZodString>;
|
|
801
876
|
markerRefs: z.ZodOptional<z.ZodObject<{
|
|
@@ -873,7 +948,9 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
873
948
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
874
949
|
claude: "claude";
|
|
875
950
|
codex: "codex";
|
|
951
|
+
copilot: "copilot";
|
|
876
952
|
cursor: "cursor";
|
|
953
|
+
junie: "junie";
|
|
877
954
|
opencode: "opencode";
|
|
878
955
|
pi: "pi";
|
|
879
956
|
}>>;
|
|
@@ -907,7 +984,9 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
907
984
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
908
985
|
claude: "claude";
|
|
909
986
|
codex: "codex";
|
|
987
|
+
copilot: "copilot";
|
|
910
988
|
cursor: "cursor";
|
|
989
|
+
junie: "junie";
|
|
911
990
|
opencode: "opencode";
|
|
912
991
|
pi: "pi";
|
|
913
992
|
}>>;
|
|
@@ -1000,6 +1079,17 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1000
1079
|
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1001
1080
|
referencedPullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1002
1081
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
1082
|
+
prRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1083
|
+
number: z.ZodNumber;
|
|
1084
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1085
|
+
origin: z.ZodEnum<{
|
|
1086
|
+
created: "created";
|
|
1087
|
+
derived: "derived";
|
|
1088
|
+
legacy: "legacy";
|
|
1089
|
+
marker: "marker";
|
|
1090
|
+
}>;
|
|
1091
|
+
at: z.ZodString;
|
|
1092
|
+
}, z.core.$strip>>>;
|
|
1003
1093
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
1004
1094
|
referencedIssueNumberSeeded: z.ZodOptional<z.ZodBoolean>;
|
|
1005
1095
|
titleOrigin: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1063,7 +1153,9 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1063
1153
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
1064
1154
|
claude: "claude";
|
|
1065
1155
|
codex: "codex";
|
|
1156
|
+
copilot: "copilot";
|
|
1066
1157
|
cursor: "cursor";
|
|
1158
|
+
junie: "junie";
|
|
1067
1159
|
opencode: "opencode";
|
|
1068
1160
|
pi: "pi";
|
|
1069
1161
|
}>>;
|
|
@@ -1082,7 +1174,9 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1082
1174
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1083
1175
|
claude: "claude";
|
|
1084
1176
|
codex: "codex";
|
|
1177
|
+
copilot: "copilot";
|
|
1085
1178
|
cursor: "cursor";
|
|
1179
|
+
junie: "junie";
|
|
1086
1180
|
opencode: "opencode";
|
|
1087
1181
|
pi: "pi";
|
|
1088
1182
|
}>>;
|
|
@@ -1125,7 +1219,9 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1125
1219
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1126
1220
|
claude: "claude";
|
|
1127
1221
|
codex: "codex";
|
|
1222
|
+
copilot: "copilot";
|
|
1128
1223
|
cursor: "cursor";
|
|
1224
|
+
junie: "junie";
|
|
1129
1225
|
opencode: "opencode";
|
|
1130
1226
|
pi: "pi";
|
|
1131
1227
|
}>>;
|
|
@@ -1159,7 +1255,9 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1159
1255
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1160
1256
|
claude: "claude";
|
|
1161
1257
|
codex: "codex";
|
|
1258
|
+
copilot: "copilot";
|
|
1162
1259
|
cursor: "cursor";
|
|
1260
|
+
junie: "junie";
|
|
1163
1261
|
opencode: "opencode";
|
|
1164
1262
|
pi: "pi";
|
|
1165
1263
|
}>>;
|
|
@@ -1252,6 +1350,17 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1252
1350
|
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1253
1351
|
referencedPullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1254
1352
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
1353
|
+
prRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1354
|
+
number: z.ZodNumber;
|
|
1355
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1356
|
+
origin: z.ZodEnum<{
|
|
1357
|
+
created: "created";
|
|
1358
|
+
derived: "derived";
|
|
1359
|
+
legacy: "legacy";
|
|
1360
|
+
marker: "marker";
|
|
1361
|
+
}>;
|
|
1362
|
+
at: z.ZodString;
|
|
1363
|
+
}, z.core.$strip>>>;
|
|
1255
1364
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
1256
1365
|
referencedIssueNumberSeeded: z.ZodOptional<z.ZodBoolean>;
|
|
1257
1366
|
titleOrigin: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1315,7 +1424,9 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1315
1424
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
1316
1425
|
claude: "claude";
|
|
1317
1426
|
codex: "codex";
|
|
1427
|
+
copilot: "copilot";
|
|
1318
1428
|
cursor: "cursor";
|
|
1429
|
+
junie: "junie";
|
|
1319
1430
|
opencode: "opencode";
|
|
1320
1431
|
pi: "pi";
|
|
1321
1432
|
}>>;
|
|
@@ -1334,7 +1445,9 @@ export declare const createRunResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1334
1445
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1335
1446
|
claude: "claude";
|
|
1336
1447
|
codex: "codex";
|
|
1448
|
+
copilot: "copilot";
|
|
1337
1449
|
cursor: "cursor";
|
|
1450
|
+
junie: "junie";
|
|
1338
1451
|
opencode: "opencode";
|
|
1339
1452
|
pi: "pi";
|
|
1340
1453
|
}>>;
|
|
@@ -1584,7 +1697,9 @@ export declare const pickVariantResponseSchema: z.ZodObject<{
|
|
|
1584
1697
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1585
1698
|
claude: "claude";
|
|
1586
1699
|
codex: "codex";
|
|
1700
|
+
copilot: "copilot";
|
|
1587
1701
|
cursor: "cursor";
|
|
1702
|
+
junie: "junie";
|
|
1588
1703
|
opencode: "opencode";
|
|
1589
1704
|
pi: "pi";
|
|
1590
1705
|
}>>;
|
|
@@ -1618,7 +1733,9 @@ export declare const pickVariantResponseSchema: z.ZodObject<{
|
|
|
1618
1733
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1619
1734
|
claude: "claude";
|
|
1620
1735
|
codex: "codex";
|
|
1736
|
+
copilot: "copilot";
|
|
1621
1737
|
cursor: "cursor";
|
|
1738
|
+
junie: "junie";
|
|
1622
1739
|
opencode: "opencode";
|
|
1623
1740
|
pi: "pi";
|
|
1624
1741
|
}>>;
|
|
@@ -1711,6 +1828,17 @@ export declare const pickVariantResponseSchema: z.ZodObject<{
|
|
|
1711
1828
|
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1712
1829
|
referencedPullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1713
1830
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
1831
|
+
prRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1832
|
+
number: z.ZodNumber;
|
|
1833
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1834
|
+
origin: z.ZodEnum<{
|
|
1835
|
+
created: "created";
|
|
1836
|
+
derived: "derived";
|
|
1837
|
+
legacy: "legacy";
|
|
1838
|
+
marker: "marker";
|
|
1839
|
+
}>;
|
|
1840
|
+
at: z.ZodString;
|
|
1841
|
+
}, z.core.$strip>>>;
|
|
1714
1842
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
1715
1843
|
referencedIssueNumberSeeded: z.ZodOptional<z.ZodBoolean>;
|
|
1716
1844
|
titleOrigin: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1774,7 +1902,9 @@ export declare const pickVariantResponseSchema: z.ZodObject<{
|
|
|
1774
1902
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
1775
1903
|
claude: "claude";
|
|
1776
1904
|
codex: "codex";
|
|
1905
|
+
copilot: "copilot";
|
|
1777
1906
|
cursor: "cursor";
|
|
1907
|
+
junie: "junie";
|
|
1778
1908
|
opencode: "opencode";
|
|
1779
1909
|
pi: "pi";
|
|
1780
1910
|
}>>;
|
|
@@ -1793,7 +1923,9 @@ export declare const pickVariantResponseSchema: z.ZodObject<{
|
|
|
1793
1923
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1794
1924
|
claude: "claude";
|
|
1795
1925
|
codex: "codex";
|
|
1926
|
+
copilot: "copilot";
|
|
1796
1927
|
cursor: "cursor";
|
|
1928
|
+
junie: "junie";
|
|
1797
1929
|
opencode: "opencode";
|
|
1798
1930
|
pi: "pi";
|
|
1799
1931
|
}>>;
|
|
@@ -1908,7 +2040,9 @@ export declare const createRunInputBaseSchema: z.ZodObject<{
|
|
|
1908
2040
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1909
2041
|
claude: "claude";
|
|
1910
2042
|
codex: "codex";
|
|
2043
|
+
copilot: "copilot";
|
|
1911
2044
|
cursor: "cursor";
|
|
2045
|
+
junie: "junie";
|
|
1912
2046
|
opencode: "opencode";
|
|
1913
2047
|
pi: "pi";
|
|
1914
2048
|
}>>;
|
|
@@ -1925,7 +2059,9 @@ export declare const createRunInputBaseSchema: z.ZodObject<{
|
|
|
1925
2059
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1926
2060
|
claude: "claude";
|
|
1927
2061
|
codex: "codex";
|
|
2062
|
+
copilot: "copilot";
|
|
1928
2063
|
cursor: "cursor";
|
|
2064
|
+
junie: "junie";
|
|
1929
2065
|
opencode: "opencode";
|
|
1930
2066
|
pi: "pi";
|
|
1931
2067
|
}>>;
|
|
@@ -1947,7 +2083,9 @@ export declare const createRunInputBaseSchema: z.ZodObject<{
|
|
|
1947
2083
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1948
2084
|
claude: "claude";
|
|
1949
2085
|
codex: "codex";
|
|
2086
|
+
copilot: "copilot";
|
|
1950
2087
|
cursor: "cursor";
|
|
2088
|
+
junie: "junie";
|
|
1951
2089
|
opencode: "opencode";
|
|
1952
2090
|
pi: "pi";
|
|
1953
2091
|
}>>;
|
|
@@ -1972,7 +2110,9 @@ export declare const createRunInputSchema: z.ZodObject<{
|
|
|
1972
2110
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1973
2111
|
claude: "claude";
|
|
1974
2112
|
codex: "codex";
|
|
2113
|
+
copilot: "copilot";
|
|
1975
2114
|
cursor: "cursor";
|
|
2115
|
+
junie: "junie";
|
|
1976
2116
|
opencode: "opencode";
|
|
1977
2117
|
pi: "pi";
|
|
1978
2118
|
}>>;
|
|
@@ -1989,7 +2129,9 @@ export declare const createRunInputSchema: z.ZodObject<{
|
|
|
1989
2129
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
1990
2130
|
claude: "claude";
|
|
1991
2131
|
codex: "codex";
|
|
2132
|
+
copilot: "copilot";
|
|
1992
2133
|
cursor: "cursor";
|
|
2134
|
+
junie: "junie";
|
|
1993
2135
|
opencode: "opencode";
|
|
1994
2136
|
pi: "pi";
|
|
1995
2137
|
}>>;
|
|
@@ -2011,7 +2153,9 @@ export declare const createRunInputSchema: z.ZodObject<{
|
|
|
2011
2153
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
2012
2154
|
claude: "claude";
|
|
2013
2155
|
codex: "codex";
|
|
2156
|
+
copilot: "copilot";
|
|
2014
2157
|
cursor: "cursor";
|
|
2158
|
+
junie: "junie";
|
|
2015
2159
|
opencode: "opencode";
|
|
2016
2160
|
pi: "pi";
|
|
2017
2161
|
}>>;
|
|
@@ -6,8 +6,11 @@ import { z } from 'zod';
|
|
|
6
6
|
* `~/.cezar/bin/cezar`); every other install kind is reported so the dialog can explain how to
|
|
7
7
|
* get there instead of failing a download nobody can use.
|
|
8
8
|
*/
|
|
9
|
-
/** Release channels map onto npm dist-tags: `stable` → `latest`, `nightly` → `nightly`.
|
|
9
|
+
/** Release channels map onto npm dist-tags: `stable` → `latest`, `nightly` → `nightly`.
|
|
10
|
+
* `development` follows no tag: nothing is ever offered as an update, and the dialog picks a
|
|
11
|
+
* cezar worktree or an open pull request's preview build by hand instead. */
|
|
10
12
|
export declare const updateChannelSchema: z.ZodEnum<{
|
|
13
|
+
development: "development";
|
|
11
14
|
nightly: "nightly";
|
|
12
15
|
stable: "stable";
|
|
13
16
|
}>;
|
|
@@ -22,16 +25,20 @@ export declare const installKindSchema: z.ZodEnum<{
|
|
|
22
25
|
}>;
|
|
23
26
|
export type InstallKind = z.infer<typeof installKindSchema>;
|
|
24
27
|
/** One entry under `~/.cezar/versions/`. `id` is the directory name; a local build carries a
|
|
25
|
-
* `+local` suffix so it never collides with the registry version it was built from
|
|
28
|
+
* `+local` suffix so it never collides with the registry version it was built from, and a
|
|
29
|
+
* linked checkout (`link`, `cezar link`) a `+<branch>` one. */
|
|
26
30
|
export declare const installedVersionSchema: z.ZodObject<{
|
|
27
31
|
id: z.ZodString;
|
|
28
32
|
version: z.ZodString;
|
|
29
33
|
source: z.ZodEnum<{
|
|
34
|
+
link: "link";
|
|
30
35
|
local: "local";
|
|
31
36
|
registry: "registry";
|
|
32
37
|
}>;
|
|
33
38
|
installedAt: z.ZodString;
|
|
34
39
|
active: z.ZodBoolean;
|
|
40
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
41
|
+
checkout: z.ZodOptional<z.ZodString>;
|
|
35
42
|
}, z.core.$strip>;
|
|
36
43
|
export type InstalledVersion = z.infer<typeof installedVersionSchema>;
|
|
37
44
|
/** One registry version the picker can install. `channel` is the dist-tag family it belongs to:
|
|
@@ -83,6 +90,7 @@ export declare const selfUpdateStatusSchema: z.ZodObject<{
|
|
|
83
90
|
canSelfUpdate: z.ZodBoolean;
|
|
84
91
|
reason: z.ZodOptional<z.ZodString>;
|
|
85
92
|
channel: z.ZodEnum<{
|
|
93
|
+
development: "development";
|
|
86
94
|
nightly: "nightly";
|
|
87
95
|
stable: "stable";
|
|
88
96
|
}>;
|
|
@@ -100,11 +108,14 @@ export declare const selfUpdateStatusSchema: z.ZodObject<{
|
|
|
100
108
|
id: z.ZodString;
|
|
101
109
|
version: z.ZodString;
|
|
102
110
|
source: z.ZodEnum<{
|
|
111
|
+
link: "link";
|
|
103
112
|
local: "local";
|
|
104
113
|
registry: "registry";
|
|
105
114
|
}>;
|
|
106
115
|
installedAt: z.ZodString;
|
|
107
116
|
active: z.ZodBoolean;
|
|
117
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
118
|
+
checkout: z.ZodOptional<z.ZodString>;
|
|
108
119
|
}, z.core.$strip>>;
|
|
109
120
|
available: z.ZodArray<z.ZodObject<{
|
|
110
121
|
version: z.ZodString;
|
|
@@ -139,8 +150,106 @@ export type SelfUpdateApplyRequest = z.infer<typeof selfUpdateApplyRequestSchema
|
|
|
139
150
|
/** `PUT /api/v1/workspace/self-update/channel`. */
|
|
140
151
|
export declare const selfUpdateChannelRequestSchema: z.ZodObject<{
|
|
141
152
|
channel: z.ZodEnum<{
|
|
153
|
+
development: "development";
|
|
142
154
|
nightly: "nightly";
|
|
143
155
|
stable: "stable";
|
|
144
156
|
}>;
|
|
145
157
|
}, z.core.$strict>;
|
|
146
158
|
export type SelfUpdateChannelRequest = z.infer<typeof selfUpdateChannelRequestSchema>;
|
|
159
|
+
/** The cezar task that owns a worktree (`.ai/cezar/worktrees/<runId>` in the repo's run index). */
|
|
160
|
+
export declare const checkoutTaskSchema: z.ZodObject<{
|
|
161
|
+
id: z.ZodString;
|
|
162
|
+
title: z.ZodString;
|
|
163
|
+
status: z.ZodString;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
export type CheckoutTask = z.infer<typeof checkoutTaskSchema>;
|
|
166
|
+
/** A cezar checkout (a worktree of a registered cezar repo) the cockpit can switch to by
|
|
167
|
+
* applying its `id` — linked on the spot, no copy, no publish. Only built ones can be applied.
|
|
168
|
+
* Everything past `linked` is there to tell forty task branches apart: what the task was, what
|
|
169
|
+
* was last committed and when, and whether the build predates that commit. */
|
|
170
|
+
export declare const cezarCheckoutSchema: z.ZodObject<{
|
|
171
|
+
id: z.ZodString;
|
|
172
|
+
branch: z.ZodString;
|
|
173
|
+
version: z.ZodString;
|
|
174
|
+
worktree: z.ZodString;
|
|
175
|
+
built: z.ZodBoolean;
|
|
176
|
+
linked: z.ZodBoolean;
|
|
177
|
+
commit: z.ZodNullable<z.ZodObject<{
|
|
178
|
+
sha: z.ZodString;
|
|
179
|
+
subject: z.ZodString;
|
|
180
|
+
at: z.ZodString;
|
|
181
|
+
}, z.core.$strip>>;
|
|
182
|
+
builtAt: z.ZodNullable<z.ZodString>;
|
|
183
|
+
stale: z.ZodBoolean;
|
|
184
|
+
task: z.ZodNullable<z.ZodObject<{
|
|
185
|
+
id: z.ZodString;
|
|
186
|
+
title: z.ZodString;
|
|
187
|
+
status: z.ZodString;
|
|
188
|
+
}, z.core.$strip>>;
|
|
189
|
+
pr: z.ZodNullable<z.ZodNumber>;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
export type CezarCheckout = z.infer<typeof cezarCheckoutSchema>;
|
|
192
|
+
/** An open pull request of cezar's own repository, with the preview build CI published for it
|
|
193
|
+
* (the `pr-<N>` npm dist-tag, spec 2026-07-18-npm-preview-publish). `version` is null when the
|
|
194
|
+
* PR has no build (a fork, CI not green yet): listed, never installable. */
|
|
195
|
+
export declare const pullBuildSchema: z.ZodObject<{
|
|
196
|
+
number: z.ZodNumber;
|
|
197
|
+
title: z.ZodString;
|
|
198
|
+
author: z.ZodNullable<z.ZodString>;
|
|
199
|
+
branch: z.ZodString;
|
|
200
|
+
draft: z.ZodBoolean;
|
|
201
|
+
updatedAt: z.ZodString;
|
|
202
|
+
url: z.ZodString;
|
|
203
|
+
version: z.ZodNullable<z.ZodString>;
|
|
204
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
205
|
+
installed: z.ZodBoolean;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
export type PullBuild = z.infer<typeof pullBuildSchema>;
|
|
208
|
+
/** `GET /api/v1/workspace/self-update/development?refresh=1` — `refresh` skips the caches. */
|
|
209
|
+
export declare const selfUpdateDevelopmentQuerySchema: z.ZodObject<{
|
|
210
|
+
refresh: z.ZodOptional<z.ZodLiteral<"1">>;
|
|
211
|
+
}, z.core.$strict>;
|
|
212
|
+
export type SelfUpdateDevelopmentQuery = z.infer<typeof selfUpdateDevelopmentQuerySchema>;
|
|
213
|
+
/** `GET /api/v1/workspace/self-update/development` — what the development channel picks from.
|
|
214
|
+
* Kept off the status route: it costs a git call per worktree and a GitHub round trip. */
|
|
215
|
+
export declare const selfUpdateDevelopmentSchema: z.ZodObject<{
|
|
216
|
+
checkouts: z.ZodArray<z.ZodObject<{
|
|
217
|
+
id: z.ZodString;
|
|
218
|
+
branch: z.ZodString;
|
|
219
|
+
version: z.ZodString;
|
|
220
|
+
worktree: z.ZodString;
|
|
221
|
+
built: z.ZodBoolean;
|
|
222
|
+
linked: z.ZodBoolean;
|
|
223
|
+
commit: z.ZodNullable<z.ZodObject<{
|
|
224
|
+
sha: z.ZodString;
|
|
225
|
+
subject: z.ZodString;
|
|
226
|
+
at: z.ZodString;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
builtAt: z.ZodNullable<z.ZodString>;
|
|
229
|
+
stale: z.ZodBoolean;
|
|
230
|
+
task: z.ZodNullable<z.ZodObject<{
|
|
231
|
+
id: z.ZodString;
|
|
232
|
+
title: z.ZodString;
|
|
233
|
+
status: z.ZodString;
|
|
234
|
+
}, z.core.$strip>>;
|
|
235
|
+
pr: z.ZodNullable<z.ZodNumber>;
|
|
236
|
+
}, z.core.$strip>>;
|
|
237
|
+
pulls: z.ZodObject<{
|
|
238
|
+
available: z.ZodBoolean;
|
|
239
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
240
|
+
repo: z.ZodString;
|
|
241
|
+
items: z.ZodArray<z.ZodObject<{
|
|
242
|
+
number: z.ZodNumber;
|
|
243
|
+
title: z.ZodString;
|
|
244
|
+
author: z.ZodNullable<z.ZodString>;
|
|
245
|
+
branch: z.ZodString;
|
|
246
|
+
draft: z.ZodBoolean;
|
|
247
|
+
updatedAt: z.ZodString;
|
|
248
|
+
url: z.ZodString;
|
|
249
|
+
version: z.ZodNullable<z.ZodString>;
|
|
250
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
251
|
+
installed: z.ZodBoolean;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
}, z.core.$strip>;
|
|
254
|
+
}, z.core.$strip>;
|
|
255
|
+
export type SelfUpdateDevelopment = z.infer<typeof selfUpdateDevelopmentSchema>;
|
|
@@ -92,7 +92,9 @@ export declare const startTodoResponseSchema: z.ZodObject<{
|
|
|
92
92
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
93
93
|
claude: "claude";
|
|
94
94
|
codex: "codex";
|
|
95
|
+
copilot: "copilot";
|
|
95
96
|
cursor: "cursor";
|
|
97
|
+
junie: "junie";
|
|
96
98
|
opencode: "opencode";
|
|
97
99
|
pi: "pi";
|
|
98
100
|
}>>;
|
|
@@ -126,7 +128,9 @@ export declare const startTodoResponseSchema: z.ZodObject<{
|
|
|
126
128
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
127
129
|
claude: "claude";
|
|
128
130
|
codex: "codex";
|
|
131
|
+
copilot: "copilot";
|
|
129
132
|
cursor: "cursor";
|
|
133
|
+
junie: "junie";
|
|
130
134
|
opencode: "opencode";
|
|
131
135
|
pi: "pi";
|
|
132
136
|
}>>;
|
|
@@ -219,6 +223,17 @@ export declare const startTodoResponseSchema: z.ZodObject<{
|
|
|
219
223
|
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
220
224
|
referencedPullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
221
225
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
prRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
227
|
+
number: z.ZodNumber;
|
|
228
|
+
url: z.ZodOptional<z.ZodString>;
|
|
229
|
+
origin: z.ZodEnum<{
|
|
230
|
+
created: "created";
|
|
231
|
+
derived: "derived";
|
|
232
|
+
legacy: "legacy";
|
|
233
|
+
marker: "marker";
|
|
234
|
+
}>;
|
|
235
|
+
at: z.ZodString;
|
|
236
|
+
}, z.core.$strip>>>;
|
|
222
237
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
223
238
|
referencedIssueNumberSeeded: z.ZodOptional<z.ZodBoolean>;
|
|
224
239
|
titleOrigin: z.ZodOptional<z.ZodEnum<{
|
|
@@ -282,7 +297,9 @@ export declare const startTodoResponseSchema: z.ZodObject<{
|
|
|
282
297
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
283
298
|
claude: "claude";
|
|
284
299
|
codex: "codex";
|
|
300
|
+
copilot: "copilot";
|
|
285
301
|
cursor: "cursor";
|
|
302
|
+
junie: "junie";
|
|
286
303
|
opencode: "opencode";
|
|
287
304
|
pi: "pi";
|
|
288
305
|
}>>;
|
|
@@ -301,7 +318,9 @@ export declare const startTodoResponseSchema: z.ZodObject<{
|
|
|
301
318
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
302
319
|
claude: "claude";
|
|
303
320
|
codex: "codex";
|
|
321
|
+
copilot: "copilot";
|
|
304
322
|
cursor: "cursor";
|
|
323
|
+
junie: "junie";
|
|
305
324
|
opencode: "opencode";
|
|
306
325
|
pi: "pi";
|
|
307
326
|
}>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* `GET /api/v1/star-count` — cezar's own GitHub star count, for the cockpit's ⭐ ask.
|
|
4
|
+
*
|
|
5
|
+
* Shaped like `server/github.ts`'s reads rather than like a number: `available: false` is the
|
|
6
|
+
* ordinary answer, not an error. It is what offline, a rate-limited IP and `CEZ_NO_BANNER=1`
|
|
7
|
+
* all produce, and the cockpit renders no chip at all for it — never an empty one, never a
|
|
8
|
+
* spinner that outlives the request.
|
|
9
|
+
*
|
|
10
|
+
* `url` is unconditional. The ⭐ button must know where it points even when nobody can say how
|
|
11
|
+
* many stars are on the other end.
|
|
12
|
+
*/
|
|
13
|
+
export declare const starCountSchema: z.ZodObject<{
|
|
14
|
+
available: z.ZodBoolean;
|
|
15
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
url: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type StarCountPayload = z.infer<typeof starCountSchema>;
|