@open-mercato/cezar 0.20.0-pr2124.5033 → 0.20.0-pr2124.5099
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/dist/contract/index.js +2 -0
- package/dist/contract/workspace.d.ts +2 -0
- package/dist/core/gemini-acp-runner.d.ts +1 -1
- package/dist/core/gemini-acp-runner.js +15 -0
- package/dist/core/gemini-acp-runner.js.map +1 -1
- package/dist/core/windows-shim.d.ts +2 -0
- package/dist/core/windows-shim.js +20 -0
- package/dist/core/windows-shim.js.map +1 -1
- package/dist/handoff.d.ts +2 -2
- package/dist/handoff.js +4 -1
- package/dist/handoff.js.map +1 -1
- package/dist/server/agent-setup-routes.d.ts +14 -14
- package/dist/server/dashboard.d.ts +54 -54
- package/dist/server/server.d.ts +3 -0
- package/dist/server/worktree-lifecycle.d.ts +88 -88
- package/dist/skills-update.d.ts +5 -0
- package/dist/skills-update.js +23 -6
- package/dist/skills-update.js.map +1 -1
- package/package.json +3 -3
- package/web/dist/assets/{active-forge-BLwHraRw.js → active-forge-Bjw5sn8_.js} +1 -1
- package/web/dist/assets/{agent-task-pickers-y0ROL6ST.js → agent-task-pickers-DTZXAagt.js} +1 -1
- package/web/dist/assets/{alert-dialog-BrLbFNeP.js → alert-dialog-BQ4fvJfx.js} +1 -1
- package/web/dist/assets/arrow-down-7w616Z86.js +1 -0
- package/web/dist/assets/arrow-up-gnAiY6ew.js +1 -0
- package/web/dist/assets/{ask-answer-CvB8ZTFJ.js → ask-answer-Cf0_tnD4.js} +1 -1
- package/web/dist/assets/{ask-card-BuH7Uc4T.js → ask-card-D7yYD03x.js} +1 -1
- package/web/dist/assets/{assets-view-MWK8oCeU.js → assets-view-CzQDIudI.js} +1 -1
- package/web/dist/assets/{automation-format-DvDZzwNN.js → automation-format-B7kQf-ue.js} +1 -1
- package/web/dist/assets/{automations-route-DXeIyJOx.js → automations-route-BuytsWI4.js} +1 -1
- package/web/dist/assets/{bot-dXTdSoZz.js → bot-xmbVFG9v.js} +1 -1
- package/web/dist/assets/{button-Lw1FkDN3.js → button-bJCVP6-p.js} +1 -1
- package/web/dist/assets/{centered-state-CgkLNDKb.js → centered-state-i68lGwBL.js} +1 -1
- package/web/dist/assets/check-DEhXMhWH.js +1 -0
- package/web/dist/assets/chevron-left-DXVjEIdA.js +1 -0
- package/web/dist/assets/chevron-right-DRjWhNNe.js +1 -0
- package/web/dist/assets/{circle-alert-BlHkO4-r.js → circle-alert-Dm7GZNAB.js} +1 -1
- package/web/dist/assets/circle-check-Cx6TRjIz.js +1 -0
- package/web/dist/assets/{circle-question-mark-D83-ecbI.js → circle-question-mark-DnW-jqu3.js} +1 -1
- package/web/dist/assets/{collapsible-DiDbeVoW.js → collapsible-DQ_vIWhT.js} +1 -1
- package/web/dist/assets/{command-B2smE1Lw.js → command-CTWnWpBa.js} +1 -1
- package/web/dist/assets/{commit-list-CVtkbpSy.js → commit-list-CXuBT1MZ.js} +1 -1
- package/web/dist/assets/{compare-variants-Dy5FSTpM.js → compare-variants-DVpMu7r9.js} +1 -1
- package/web/dist/assets/{composer-attachments-BGqfwKRo.js → composer-attachments-4lZi02-n.js} +1 -1
- package/web/dist/assets/{composer-BtZJYwha.js → composer-pkwuqpdr.js} +1 -1
- package/web/dist/assets/{dashboard-B8M5OWc7.js → dashboard-DegNMjuh.js} +1 -1
- package/web/dist/assets/{diff-BBTmE4Gk.js → diff-CUjoGegR.js} +2 -2
- package/web/dist/assets/{diff-stat-CvXlnU1H.js → diff-stat-B4eYQT4D.js} +1 -1
- package/web/dist/assets/{diff-view-CVPF6mHF.js → diff-view-xirEAqkx.js} +1 -1
- package/web/dist/assets/{directional-usage-BA9-b820.js → directional-usage-Bt9SrQme.js} +1 -1
- package/web/dist/assets/{dist-CF_W7HPV.js → dist-BweCN-Uf.js} +1 -1
- package/web/dist/assets/{download-Wndz1ea_.js → download-C-Mp8fkY.js} +1 -1
- package/web/dist/assets/{dropdown-menu-CTSTrTCK.js → dropdown-menu-BBtOPVIM.js} +1 -1
- package/web/dist/assets/{external-link-DakB4pfB.js → external-link-DVWR3Qqx.js} +1 -1
- package/web/dist/assets/{file-uME2pwTU.js → file-BC3yphtB.js} +1 -1
- package/web/dist/assets/{file-preview-B8BY_Yy-.js → file-preview-BfBILx7Q.js} +1 -1
- package/web/dist/assets/{file-tree-CEtBwut2.js → file-tree-DuJhOfOX.js} +1 -1
- package/web/dist/assets/{folder-DdF2HJpz.js → folder-dO-vfdG1.js} +1 -1
- package/web/dist/assets/{follow-up-engine-DtrdXbjM.js → follow-up-engine-CP37wwm3.js} +1 -1
- package/web/dist/assets/{git-pull-request-draft-Dq7bFudf.js → git-pull-request-draft-BMKUMzBK.js} +1 -1
- package/web/dist/assets/{git-pull-request-B_bGkAZR.js → git-pull-request-nroaRjPB.js} +1 -1
- package/web/dist/assets/{git-tab-loading-ipGPzfgb.js → git-tab-loading-C_ugeLHY.js} +1 -1
- package/web/dist/assets/{github-CJsCKGut.js → github-C6z62A9X.js} +1 -1
- package/web/dist/assets/{host-usage-D7KwVixl.js → host-usage-Xh5VG9Cp.js} +1 -1
- package/web/dist/assets/{icon-tooltip-D6LgckN0.js → icon-tooltip-BLpoSYfT.js} +1 -1
- package/web/dist/assets/{impact-control-BW6ODK9I.js → impact-control-DDNOFr5y.js} +1 -1
- package/web/dist/assets/{impact-model-Dx8w6LIM.js → impact-model-B-0cT6vA.js} +1 -1
- package/web/dist/assets/{index-Cp-uoQ75.css → index-CoQMGvHo.css} +1 -1
- package/web/dist/assets/{index-Db0ci0Kq.js → index-CvRKpLK1.js} +4 -4
- package/web/dist/assets/{input-DiaZB-pL.js → input-BTDZlLQj.js} +1 -1
- package/web/dist/assets/{layers-4-adbLyE.js → layers-C3Iay0Qz.js} +1 -1
- package/web/dist/assets/{layout-cards-_MvsUy5l.js → layout-cards-Dx-jDvsd.js} +1 -1
- package/web/dist/assets/{layout-dashboard-DvexaSKn.js → layout-dashboard-DFdDocs5.js} +1 -1
- package/web/dist/assets/{layout-grid-CEaiKIpe.js → layout-grid-DI-jyJf3.js} +1 -1
- package/web/dist/assets/loader-circle-XzJwa2i9.js +1 -0
- package/web/dist/assets/{loading-state-CXpmtCKA.js → loading-state-DwjVbUQu.js} +1 -1
- package/web/dist/assets/{manager-chat-B4Mf6pYm.js → manager-chat-Nn_7VUtR.js} +1 -1
- package/web/dist/assets/{manager-index-Bkppb9nP.js → manager-index-BFxnh2iv.js} +1 -1
- package/web/dist/assets/{manager-new-gIelBfgi.js → manager-new-BFVYRQ3r.js} +1 -1
- package/web/dist/assets/{managers-hr_JptOD.js → managers-ClXUzaP-.js} +1 -1
- package/web/dist/assets/{markdown-CDOkBiwW.js → markdown-C0vnXmWt.js} +1 -1
- package/web/dist/assets/{markdown-mDT0zOiX.js → markdown-DDCLMIH9.js} +1 -1
- package/web/dist/assets/{mascot-picker-CYkpCvmx.js → mascot-picker-zmUS1rAo.js} +1 -1
- package/web/dist/assets/{message-square-Xw46eQm4.js → message-square-CiGB3_Un.js} +1 -1
- package/web/dist/assets/{new-task-form-DZL_GG8K.js → new-task-form-CRpFkwAl.js} +1 -1
- package/web/dist/assets/{pencil-Cdwgc5nh.js → pencil-1a5sw6n7.js} +1 -1
- package/web/dist/assets/{picker-pill-Ruq5c0qq.js → picker-pill-Br6LPIDr.js} +1 -1
- package/web/dist/assets/play-DEoWughH.js +1 -0
- package/web/dist/assets/plus-BCYWVlRv.js +1 -0
- package/web/dist/assets/{project-router-DktctqUm.js → project-router-4HV7LJ0Q.js} +1 -1
- package/web/dist/assets/{queries-DSGaG5zN.js → queries-B-hzZIeM.js} +1 -1
- package/web/dist/assets/{reasoning-effort-pill-BAmpHOFe.js → reasoning-effort-pill-BC7c4R1C.js} +1 -1
- package/web/dist/assets/{reference-chip-DmP4Mee5.js → reference-chip-Eto0J1tA.js} +1 -1
- package/web/dist/assets/{reference-conflict-action-BvH9VYZt.js → reference-conflict-action-DBBzhN1F.js} +1 -1
- package/web/dist/assets/{refresh-cw-CFrqO-hz.js → refresh-cw-DQCxC1YO.js} +1 -1
- package/web/dist/assets/{repo-git-p8qfAucU.js → repo-git-C9IMZXU1.js} +1 -1
- package/web/dist/assets/{run-actions-Dbqqg0zP.js → run-actions-_iIlwS8n.js} +1 -1
- package/web/dist/assets/{run-diff-CJhiqoUZ.js → run-diff-ICj1BmnQ.js} +1 -1
- package/web/dist/assets/{save-BU2iaGGZ.js → save-HXskpR-B.js} +1 -1
- package/web/dist/assets/{scroll-within-ANJE7MW0.js → scroll-within-COUutqj5.js} +1 -1
- package/web/dist/assets/search-BUGi-_pQ.js +1 -0
- package/web/dist/assets/{search-x-B23fTT5I.js → search-x-LphVx67u.js} +1 -1
- package/web/dist/assets/{settings-2-IvtgFBrG.js → settings-2-DNXrWSl9.js} +1 -1
- package/web/dist/assets/{sheet-DOAglHJQ.js → sheet-cqWerIQr.js} +1 -1
- package/web/dist/assets/skills-BqjPfofJ.js +1 -0
- package/web/dist/assets/square-BZIvzIYT.js +1 -0
- package/web/dist/assets/{status-dot-AB-jF2od.js → status-dot-pguWGtO3.js} +1 -1
- package/web/dist/assets/{tabs-CB9GsT7c.js → tabs-DEqetpi1.js} +1 -1
- package/web/dist/assets/{tag-DrIyvfhc.js → tag-ctYWv2md.js} +1 -1
- package/web/dist/assets/{task-commits-tLcJtxUj.js → task-commits-2WeQMP-E.js} +1 -1
- package/web/dist/assets/{task-graph-DrDiatQ6.js → task-graph-GPtLDlVk.js} +1 -1
- package/web/dist/assets/{task-notes-B3zFyNon.js → task-notes-Cu4VGrqS.js} +1 -1
- package/web/dist/assets/task-workspace-BFY8fHQE.js +28 -0
- package/web/dist/assets/terminal-DhBzcJT5.js +1 -0
- package/web/dist/assets/{terminal-drawer-Cn9zuycz.js → terminal-drawer-XBj-MpVt.js} +1 -1
- package/web/dist/assets/{terminal-pane-F3fV6qN-.js → terminal-pane-Bi6mmudi.js} +1 -1
- package/web/dist/assets/{textarea-B2_WHdJS.js → textarea-C8RUuKIL.js} +1 -1
- package/web/dist/assets/{toaster-Fji9fFYU.js → toaster-XCvZzjji.js} +1 -1
- package/web/dist/assets/{tooltip-B18geRl9.js → tooltip-Gk3a99FC.js} +1 -1
- package/web/dist/assets/{tracker-Bi9p0PyN.js → tracker-Cg9O7acz.js} +1 -1
- package/web/dist/assets/{triangle-alert-DONwpv1H.js → triangle-alert-Ngxhf2gp.js} +1 -1
- package/web/dist/assets/{upload-zX5FHRVU.js → upload-CfiXuSlo.js} +1 -1
- package/web/dist/assets/{use-now-BclUylSF.js → use-now-TkSGadnB.js} +1 -1
- package/web/dist/assets/{use-submit-shortcut-vwpMa0sl.js → use-submit-shortcut-DPwODwFe.js} +1 -1
- package/web/dist/assets/user-round-D4UqOCE5.js +1 -0
- package/web/dist/assets/{utils-Df8012Pd.js → utils-1--IW5N2.js} +1 -1
- package/web/dist/assets/{workflow-graph-DFH-0pCF.js → workflow-graph-Cf__d9Ct.js} +1 -1
- package/web/dist/assets/{workflow-BgHEUf24.js → workflow-nUT_Ihd7.js} +1 -1
- package/web/dist/assets/{worktree-lifecycle-TGM2azlu.js → worktree-lifecycle-OdDpeKaX.js} +1 -1
- package/web/dist/assets/{worktree-lifecycle-operation-B3DmpKb3.js → worktree-lifecycle-operation-SJ-KcTAJ.js} +1 -1
- package/web/dist/assets/x-ImJJDYMk.js +1 -0
- package/web/dist/assets/{zoomable-image-Y_SBU0ck.js → zoomable-image-Yauq7Gw7.js} +1 -1
- package/web/dist/index.html +71 -71
- package/web/dist/assets/arrow-down-Dk-1JMlL.js +0 -1
- package/web/dist/assets/arrow-up-CZSQZk6C.js +0 -1
- package/web/dist/assets/check-WZttUHHO.js +0 -1
- package/web/dist/assets/chevron-left-BsxUq8Uw.js +0 -1
- package/web/dist/assets/chevron-right-BxUSqiVC.js +0 -1
- package/web/dist/assets/circle-check-CneK3R69.js +0 -1
- package/web/dist/assets/loader-circle-Ce-mJhCd.js +0 -1
- package/web/dist/assets/play-CO2bWjJg.js +0 -1
- package/web/dist/assets/plus-uWa-Sn06.js +0 -1
- package/web/dist/assets/search-c4gnEmPA.js +0 -1
- package/web/dist/assets/skills-DPcMpiCT.js +0 -1
- package/web/dist/assets/square-CAhtNxl-.js +0 -1
- package/web/dist/assets/task-workspace-C-1w7YvZ.js +0 -28
- package/web/dist/assets/terminal-BoDLVGTn.js +0 -1
- package/web/dist/assets/user-round-DFVXqUob.js +0 -1
- package/web/dist/assets/x-CODMZJSY.js +0 -1
package/dist/contract/index.js
CHANGED
|
@@ -3660,6 +3660,8 @@ var skillsUpdateScopeStateSchema = z21.object({
|
|
|
3660
3660
|
status: skillsUpdateStatusSchema,
|
|
3661
3661
|
available: z21.boolean(),
|
|
3662
3662
|
skills: z21.array(z21.string()),
|
|
3663
|
+
/** Every tracked name, current or not; absent from an older server (#1905). */
|
|
3664
|
+
tracked: z21.array(z21.string()).optional(),
|
|
3663
3665
|
checkedAt: z21.string().nullable(),
|
|
3664
3666
|
updatedAt: z21.string().nullable(),
|
|
3665
3667
|
reason: z21.string().optional()
|
|
@@ -744,6 +744,7 @@ export declare const skillsUpdateScopeStateSchema: z.ZodObject<{
|
|
|
744
744
|
}>;
|
|
745
745
|
available: z.ZodBoolean;
|
|
746
746
|
skills: z.ZodArray<z.ZodString>;
|
|
747
|
+
tracked: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
747
748
|
checkedAt: z.ZodNullable<z.ZodString>;
|
|
748
749
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
749
750
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -783,6 +784,7 @@ export declare const skillsUpdateStateSchema: z.ZodObject<{
|
|
|
783
784
|
}>;
|
|
784
785
|
available: z.ZodBoolean;
|
|
785
786
|
skills: z.ZodArray<z.ZodString>;
|
|
787
|
+
tracked: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
786
788
|
checkedAt: z.ZodNullable<z.ZodString>;
|
|
787
789
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
788
790
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -26,7 +26,7 @@ export declare class GeminiAcpRunner implements AgentRunner {
|
|
|
26
26
|
startSession(spec: AgentRunSpec, onEvent?: (event: AgentEvent) => void, opts?: SessionOptions): AgentSession;
|
|
27
27
|
}
|
|
28
28
|
/** The CLI flags for one run: ACP mode, the model, and the `auto` permission start mode (Q15). */
|
|
29
|
-
export declare function buildGeminiArgs(spec: Pick<AgentRunSpec, 'model' | 'enforceReadOnly'>): string[];
|
|
29
|
+
export declare function buildGeminiArgs(spec: Pick<AgentRunSpec, 'model' | 'additionalDirectories' | 'enforceReadOnly'>): string[];
|
|
30
30
|
/**
|
|
31
31
|
* The per-run environment. Task worktrees are brand-new directories, and Gemini exits 55 in a
|
|
32
32
|
* folder it has not been told to trust — so trust is granted per run, never written to the user's
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { readOnlyPermissionOutcome } from './junie-runner.js';
|
|
2
2
|
import { spawn as nodeSpawn } from 'node:child_process';
|
|
3
|
+
import { statSync } from 'node:fs';
|
|
3
4
|
import { dirname, resolve as resolvePath } from 'node:path';
|
|
4
5
|
import { fileURLToPath } from 'node:url';
|
|
5
6
|
import { assertReasoningEffortSupported, isSignalTerminationExit, prependSystemPrompt, trackChildExit, } from './agent-runner.js';
|
|
@@ -62,8 +63,22 @@ export function buildGeminiArgs(spec) {
|
|
|
62
63
|
args.push('--model', spec.model);
|
|
63
64
|
// `default` asks before edits and the shell, and a read-only run refuses every ask.
|
|
64
65
|
args.push('--approval-mode', spec.enforceReadOnly ? 'default' : 'yolo');
|
|
66
|
+
// `--include-directories` is the CLI's `--add-dir` (#1919); it documents a cap of 5, and a missing
|
|
67
|
+
// directory is skipped like Copilot's so it never breaks the spawn.
|
|
68
|
+
const dirs = (spec.additionalDirectories ?? []).filter(isDirectory).slice(0, GEMINI_MAX_INCLUDE_DIRECTORIES);
|
|
69
|
+
for (const dir of dirs)
|
|
70
|
+
args.push('--include-directories', dir);
|
|
65
71
|
return args;
|
|
66
72
|
}
|
|
73
|
+
const GEMINI_MAX_INCLUDE_DIRECTORIES = 5;
|
|
74
|
+
function isDirectory(path) {
|
|
75
|
+
try {
|
|
76
|
+
return statSync(path).isDirectory();
|
|
77
|
+
}
|
|
78
|
+
catch {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
67
82
|
/**
|
|
68
83
|
* The per-run environment. Task worktrees are brand-new directories, and Gemini exits 55 in a
|
|
69
84
|
* folder it has not been told to trust — so trust is granted per run, never written to the user's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gemini-acp-runner.js","sourceRoot":"","sources":["../../src/core/gemini-acp-runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,KAAK,IAAI,SAAS,EAAuC,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,mBAAmB,EACnB,cAAc,GAUf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAgE,MAAM,iBAAiB,CAAC;AAC1G,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAyB,MAAM,oBAAoB,CAAC;AACpG,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EACL,2BAA2B,EAC3B,mBAAmB,EACnB,aAAa,EACb,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,g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AI,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,KAAK,CAAC,EAAU;IACvB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC7B,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACtC,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC;IAClB,CAAC,CAAC,CAAC;AACL,CAAC;AAED,mFAAmF;AACnF,SAAS,cAAc;IACrB,mGAAmG;IACnG,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IACrD,8DAA8D;IAC9D,OAAO,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,qBAAqB,CAAC,CAAC;AACzE,CAAC;AAED,SAAS,QAAQ,CAAC,KAAa,EAAE,GAAW;IAC1C,OAAO,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC;AAChE,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC"}
|
|
@@ -2,6 +2,8 @@ export interface ShimOptions {
|
|
|
2
2
|
platform?: NodeJS.Platform;
|
|
3
3
|
/** The node to run a script with when the shim has none beside it; defaults to this process's. */
|
|
4
4
|
nodePath?: string;
|
|
5
|
+
/** The environment whose PATH a bare program name is looked up in; defaults to this process's. */
|
|
6
|
+
env?: NodeJS.ProcessEnv;
|
|
5
7
|
}
|
|
6
8
|
/** What a shim launches: a node script, or a native binary it calls directly (opencode). */
|
|
7
9
|
export interface ShimTarget {
|
|
@@ -83,6 +83,25 @@ export function shimScript(shimPath) {
|
|
|
83
83
|
const target = shimTarget(shimPath);
|
|
84
84
|
return target?.kind === 'node' ? target.path : null;
|
|
85
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* A bare name (`codex`) is resolved against PATH the way cmd.exe would: libuv only tries `.com`/`.exe`,
|
|
88
|
+
* so an npm-installed `%APPDATA%\\npm\\codex.cmd` was ENOENT (#1948). A native binary on PATH is left to
|
|
89
|
+
* libuv; null when nothing is found, so the spawn fails with its own error.
|
|
90
|
+
*/
|
|
91
|
+
function resolveBareShim(program, env) {
|
|
92
|
+
if (/[\\/]/.test(program) || extname(program) !== '')
|
|
93
|
+
return null;
|
|
94
|
+
const pathKey = Object.keys(env).find((key) => key.toLowerCase() === 'path');
|
|
95
|
+
const dirs = (pathKey ? env[pathKey] : undefined)?.split(';').map((dir) => dir.replace(/^"|"$/g, '')).filter(Boolean) ?? [];
|
|
96
|
+
for (const dir of dirs) {
|
|
97
|
+
if ([...NATIVE_EXTENSIONS].some((ext) => existsSync(join(dir, program + ext))))
|
|
98
|
+
return null;
|
|
99
|
+
for (const ext of ['.cmd', '.bat', '.ps1'])
|
|
100
|
+
if (existsSync(join(dir, program + ext)))
|
|
101
|
+
return join(dir, program + ext);
|
|
102
|
+
}
|
|
103
|
+
return null;
|
|
104
|
+
}
|
|
86
105
|
/**
|
|
87
106
|
* `[file, args]` that run `program` without a shell. Untouched off Windows and for anything that
|
|
88
107
|
* is not a recognisable shim or script, so a bad path still fails the spawn with its own error.
|
|
@@ -90,6 +109,7 @@ export function shimScript(shimPath) {
|
|
|
90
109
|
export function spawnableCommand(program, args, opts = {}) {
|
|
91
110
|
if ((opts.platform ?? process.platform) !== 'win32')
|
|
92
111
|
return [program, [...args]];
|
|
112
|
+
program = resolveBareShim(program, opts.env ?? process.env) ?? program;
|
|
93
113
|
const ext = extname(program).toLowerCase();
|
|
94
114
|
const nodePath = opts.nodePath ?? process.execPath;
|
|
95
115
|
if (SCRIPT_EXTENSIONS.has(ext) && existsSync(program))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"windows-shim.js","sourceRoot":"","sources":["../../src/core/windows-shim.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAExE,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAC1D,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAC3D,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AACpD,qFAAqF;AACrF,MAAM,aAAa,GAAG,8BAA8B,CAAC;AACrD,yFAAyF;AACzF,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAC3D,MAAM,cAAc,GAAG,EAAE,GAAG,IAAI,CAAC;AACjC,MAAM,eAAe,GAAG,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"windows-shim.js","sourceRoot":"","sources":["../../src/core/windows-shim.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU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C,GAAG,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC;QAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;IAC7F,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,GAAG,CAAC;QAAE,OAAO,CAAC,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;IAC3D,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAClE,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACpC,IAAI,CAAC,MAAM;QAAE,OAAO,CAAC,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;IACzC,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ;QAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;IAC9D,8DAA8D;IAC9D,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;IACxD,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AACpF,CAAC"}
|
package/dist/handoff.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export declare function followupsEnabled(env?: NodeJS.ProcessEnv): boolean;
|
|
|
70
70
|
* inherited value from a parent cezar cannot shine through
|
|
71
71
|
* (`RunManager.agentEnv`).
|
|
72
72
|
*/
|
|
73
|
-
export declare const HANDOFF_ONLY_INSTRUCTIONS = "## Handoff (cezar)\n\nCEZ_HANDOFF_FILE (env) is the absolute path to this task's rolling handoff file. Treat it like a HANDOFF.md:\n1. At the start of work, read it \u2014 \"Resume notes\" left by a previous session is your starting context.\n2. After every meaningful milestone (passing tests, a commit, a PR, a scope decision), append one terse timestamped line under \"## Progress log\", newest at the top.\n3. Before finishing or pausing, update \"## Resume notes\" with what's done, what's next and any blockers. Leave it empty only when the task is truly complete.\nUse the commands, never a hand-written script: node \"$CEZ_BIN\" handoff log \"<terse line>\" inserts the timestamped line under \"## Progress log\"; node \"$CEZ_BIN\" handoff resume \"<notes>\" (or the notes on stdin, for several lines) replaces \"## Resume notes\", and handoff resume \"\" clears it. Only if CEZ_BIN is unset, edit the file directly.\n\nTask completion marker: when the task's goal is fully achieved and you have no question for the user, end your final message with a line containing exactly CEZ:DONE \u2014 cez then closes the session and marks the task finished. If you are waiting on the user (a question, a decision, missing input), just end your message normally; the session stays open for their reply. Never emit CEZ:DONE while anything is unfinished or unverified.\n\nStill-working marker: if you end a turn while still working on your OWN downstream work \u2014 a sub-agent you dispatched, or a long-running command you're monitoring \u2014 and are NOT waiting on the user for anything, end your final message with a line containing exactly CEZ:MONITORING. cez then shows the task as \"monitoring\" (still working) instead of asking for your attention. Dispatching a sub-agent is exactly this case, and it counts whether the sub-agent finishes inside this turn or runs in the background and reports back later through its own completion notification \u2014 cez has no sub-agent-completion event of its own, so an unmarked turn-end is indistinguishable from you asking the user a question, and it raises \"needs you\" and a browser notification for work nobody needs to look at. The test is one question: is the only thing between you and the next step work YOU started? Then the marker belongs there. A turn that fans work out ends like this, marker on the very last line:\n\n Dispatched 3 sub-agents to investigate the failing migration; I'll continue as soon as they report.\n CEZ:MONITORING\n\nUse CEZ:MONITORING only for that in-progress case; use CEZ:DONE when the goal is done; end plainly (no marker) only when you are genuinely waiting on the user. Never combine CEZ:MONITORING with CEZ:DONE. A park is bounded, not indefinite: with an automatic re-check cadence configured cez wakes you on that cadence and, after the configured number of re-checks with no progress, hands the task to the user unless a dispatched child is still in flight; with no cadence configured it does the same after four times the configured waiting-session idle timeout (60 minutes by default, also the fallback when idle timeout is disabled), unless a dispatched child is still in flight. An unanswered hand-off ends the run as failed with a Continue button when the configured idle timeout closes the session; with idle timeout disabled it raises attention and rests at waiting \u2014 so end each re-check turn with CEZ:MONITORING again while the downstream work is still pending.\n\nStructured question marker: when you are blocked on a decision that is genuinely the user's to make \u2014 one you cannot resolve from the request, the code, or sensible defaults \u2014 and it comes down to a few concrete choices, end your turn with a single line CEZ:ASK <json> instead of asking in prose. cez renders it as clickable option chips in the cockpit so the user can answer in one tap. The <json> is ONE object on ONE line, the last thing in your message: {\"questions\":[{\"header\":\"\u226412-char label\",\"question\":\"a clear question ending in ?\",\"multiSelect\":false,\"options\":[{\"label\":\"short choice\",\"description\":\"what it means / the trade-off\"}]}]} \u2014 use only those keys (plus an optional non-empty \"id\" up to 64 characters), with 1\u201320 questions, 2\u201310 options per question, unique question text and option labels, header 1\u201312 characters, question 1\u2013400, option label 1\u201360, and description at most 280. The JSON must be syntactically valid \u2014 every brace and bracket closed, no trailing commas; re-read the line before you send it, because a payload cez cannot parse is shown to the user as raw JSON instead of chips. The card itself gives every question an \"Other\u2026\" field for the user's own answer and a \"Need more info\" choice, so never add either as an option yourself. An answer that is not one of your labels is the user's own: act on it. An answer asking for more information means the user cannot decide yet: explain what that question hinges on \u2014 the context, the trade-offs, what each option would change \u2014 then ask it again with CEZ:ASK; never guess an answer for it. Several decisions that are genuinely all the user's ride ONE card \u2014 do not drop any to fit a count, and do not split them across turns. Prefer sensible defaults over asking; use CEZ:ASK only when the choice is truly the user's. Never combine CEZ:ASK with CEZ:DONE or CEZ:MONITORING.\n\nTask reference markers: as soon as you know which GitHub pull request or issue this task is ABOUT (it was named in the task, or you just opened it), declare it by emitting, on its own line in your message text: CEZ:PR=<number> and/or CEZ:ISSUE=<number>. Re-emit with the new number if the subject changes (e.g. you open a PR later in the task). Declare only the task's own subject \u2014 never a PR/issue you merely mention, list, or compare against. You may also emit CEZ:TITLE=<terse gerund phrase, max 40 chars, e.g. \"implementing comment threads\"> once the work has a clearer shape than its current title; cez uses these instead of guessing from the transcript. Put markers in plain message text, never inside a code fence, and above any CEZ:DONE / CEZ:MONITORING line \u2014 those two always come last.\n\n## Pasted attachments\nUser-attached screenshots and files (PDF, text, archives \u2014 any type) are saved as real files; their absolute paths are listed in the message that carries them. Read a file from its path when you need its contents, and use the path when a task needs the file itself (saving, uploading, attaching to issues/PRs). An image also rides along inline, but that copy is for viewing only and does not survive later workflow steps, some backends or a compacted context, while the file on disk always does; a non-image attachment exists ONLY as the file at that path. Read the file whenever the user refers to a screenshot you cannot see inline, and never tell the user their attachment did not reach you without opening its path first.";
|
|
73
|
+
export declare const HANDOFF_ONLY_INSTRUCTIONS = "## Handoff (cezar)\n\nCEZ_HANDOFF_FILE (env) is the absolute path to this task's rolling handoff file. Treat it like a HANDOFF.md:\n1. At the start of work, read it \u2014 \"Resume notes\" left by a previous session is your starting context.\n2. After every meaningful milestone (passing tests, a commit, a PR, a scope decision), append one terse timestamped line under \"## Progress log\", newest at the top.\n3. Before finishing or pausing, update \"## Resume notes\" with what's done, what's next and any blockers. Leave it empty only when the task is truly complete.\nUse the commands, never a hand-written script: node \"$CEZ_BIN\" handoff log \"<terse line>\" inserts the timestamped line under \"## Progress log\"; node \"$CEZ_BIN\" handoff resume \"<notes>\" (or the notes on stdin, for several lines) replaces \"## Resume notes\", and handoff resume \"\" clears it. Only if CEZ_BIN is unset, edit the file directly.\n\nTask completion marker: when the task's goal is fully achieved and you have no question for the user, end your final message with a line containing exactly CEZ:DONE \u2014 cez then closes the session and marks the task finished. If you are waiting on the user (a question, a decision, missing input), just end your message normally; the session stays open for their reply. Never emit CEZ:DONE while anything is unfinished or unverified.\n\nStill-working marker: if you end a turn while still working on your OWN downstream work \u2014 a sub-agent you dispatched, or a long-running command you're monitoring \u2014 and are NOT waiting on the user for anything, end your final message with a line containing exactly CEZ:MONITORING. cez then shows the task as \"monitoring\" (still working) instead of asking for your attention. Dispatching a sub-agent is exactly this case, and it counts whether the sub-agent finishes inside this turn or runs in the background and reports back later through its own completion notification \u2014 cez has no sub-agent-completion event of its own, so an unmarked turn-end is indistinguishable from you asking the user a question, and it raises \"needs you\" and a browser notification for work nobody needs to look at. The test is one question: is the only thing between you and the next step work YOU started? Then the marker belongs there. A turn that fans work out ends like this, marker on the very last line:\n\n Dispatched 3 sub-agents to investigate the failing migration; I'll continue as soon as they report.\n CEZ:MONITORING\n\nUse CEZ:MONITORING only for that in-progress case; use CEZ:DONE when the goal is done; end plainly (no marker) only when you are genuinely waiting on the user. Never combine CEZ:MONITORING with CEZ:DONE. A park is bounded, not indefinite: with an automatic re-check cadence configured cez wakes you on that cadence and, after the configured number of re-checks with no progress, hands the task to the user unless a dispatched child is still in flight; with no cadence configured it does the same after four times the configured waiting-session idle timeout (60 minutes by default, also the fallback when idle timeout is disabled), unless a dispatched child is still in flight. An unanswered hand-off ends the run as failed with a Continue button when the configured idle timeout closes the session; with idle timeout disabled it raises attention and rests at waiting \u2014 so end each re-check turn with CEZ:MONITORING again while the downstream work is still pending.\n\nStructured question marker: when you are blocked on a decision that is genuinely the user's to make \u2014 one you cannot resolve from the request, the code, or sensible defaults \u2014 and it comes down to a few concrete choices, end your turn with a single line CEZ:ASK <json> instead of asking in prose. cez renders it as clickable option chips in the cockpit so the user can answer in one tap. The <json> is ONE object on ONE line, the last thing in your message: {\"questions\":[{\"header\":\"\u226412-char label\",\"question\":\"a clear question ending in ?\",\"multiSelect\":false,\"options\":[{\"label\":\"short choice\",\"description\":\"what it means / the trade-off\"}]}]} \u2014 use only those keys (plus an optional non-empty \"id\" up to 64 characters), with 1\u201320 questions, 2\u201310 options per question, unique question text and option labels, header 1\u201312 characters, question 1\u2013400, option label 1\u201360, and description at most 280. The JSON must be syntactically valid \u2014 every brace and bracket closed, no trailing commas; re-read the line before you send it, because a payload cez cannot parse is shown to the user as raw JSON instead of chips. The card itself gives every question an \"Other\u2026\" field for the user's own answer and a \"Need more info\" choice, so never add either as an option yourself. An answer that is not one of your labels is the user's own: act on it. An answer asking for more information means the user cannot decide yet: explain what that question hinges on \u2014 the context, the trade-offs, what each option would change \u2014 then ask it again with CEZ:ASK; never guess an answer for it. Several decisions that are genuinely all the user's ride ONE card \u2014 do not drop any to fit a count, and do not split them across turns. Prefer sensible defaults over asking; use CEZ:ASK only when the choice is truly the user's. Never combine CEZ:ASK with CEZ:DONE or CEZ:MONITORING.\n\nTask reference markers: as soon as you know which GitHub pull request or issue this task is ABOUT (it was named in the task, or you just opened it), declare it by emitting, on its own line in your message text: CEZ:PR=<number> and/or CEZ:ISSUE=<number>. Re-emit with the new number if the subject changes (e.g. you open a PR later in the task). Declare only the task's own subject \u2014 never a PR/issue you merely mention, list, or compare against. You may also emit CEZ:TITLE=<terse gerund phrase, max 40 chars, e.g. \"implementing comment threads\"> once the work has a clearer shape than its current title; cez uses these instead of guessing from the transcript. Put markers in plain message text, never inside a code fence, and above any CEZ:DONE / CEZ:MONITORING line \u2014 those two always come last.\n\n## Pasted attachments\nUser-attached screenshots and files (PDF, text, archives \u2014 any type) are saved as real files; their absolute paths are listed in the message that carries them. Read a file from its path when you need its contents, and use the path when a task needs the file itself (saving, uploading, attaching to issues/PRs). An image also rides along inline, but that copy is for viewing only and does not survive later workflow steps, some backends or a compacted context, while the file on disk always does; a non-image attachment exists ONLY as the file at that path. Read the file whenever the user refers to a screenshot you cannot see inline, and never tell the user their attachment did not reach you without opening its path first.\n\n## File links (#1923)\nA file link in your message \u2014 relative (`temp/summary.txt`) or absolute \u2014 is not clickable in the cockpit: it renders as inert text, and the Files tab lists only tracked or non-ignored files, so a gitignored file (such as one under `temp/`) is not there either. Put short deliverables (a summary, a result, a snippet) inline in your message. For a file the user must reach, write it to the artifacts directory ($CEZ_ARTIFACTS_DIR) and name it there, or to a non-ignored path in the worktree and give that worktree-relative path \u2014 never link to a gitignored file as if it could be opened.";
|
|
74
74
|
export declare const FOLLOWUP_INSTRUCTIONS = "## Follow-ups (cezar)\n\nCEZ_TODOS_FILE (env) is the absolute path to the user's follow-up inbox \u2014 a JSON array. Only append an entry when a genuinely actionable follow-up remains: something concrete a human or the next agent still needs to decide or do (a review nit worth a dedicated pass, a manual step you cannot take yourself, a decision blocked on the user, a known next task). Do NOT append filler \u2014 a restated summary of what you just finished, a congratulatory note, or \"no further action needed\" is not a follow-up; when the task is simply done, skip this file entirely. When (and only when) a real follow-up exists, read the file (treat a missing file as []), append ONE object and write the whole array back:\n{ \"ts\": \"<ISO 8601>\", \"taskId\": \"<value of CEZ_TASK_ID>\", \"summary\": \"<one sentence: the concrete next action, not a status report>\", \"action\": \"<imperative user action, optional>\", \"prUrl\": \"<optional>\", \"suggestedSkill\": \"<optional skill name for the follow-up>\", \"suggestedArgs\": \"<optional>\", \"suggestedPrompt\": \"<optional freeform prompt for the follow-up task>\", \"runnable\": <true when an agent can execute this follow-up, false when it is a note> }\nSet \"runnable\": false for anything a human must do or merely read \u2014 manual QA, \"remember to\u2026\", informational notes \u2014 and leave out suggestedSkill/suggestedPrompt for those; the inbox then offers \"Acknowledge\" instead of \"Run\". Set \"runnable\": true only when suggestedSkill or suggestedPrompt says what to actually execute.\nNever modify or remove existing entries \u2014 append only.";
|
|
75
75
|
/** Default-on combined contract retained for old callers and runs. */
|
|
76
|
-
export declare const HANDOFF_INSTRUCTIONS = "## Handoff (cezar)\n\nCEZ_HANDOFF_FILE (env) is the absolute path to this task's rolling handoff file. Treat it like a HANDOFF.md:\n1. At the start of work, read it \u2014 \"Resume notes\" left by a previous session is your starting context.\n2. After every meaningful milestone (passing tests, a commit, a PR, a scope decision), append one terse timestamped line under \"## Progress log\", newest at the top.\n3. Before finishing or pausing, update \"## Resume notes\" with what's done, what's next and any blockers. Leave it empty only when the task is truly complete.\nUse the commands, never a hand-written script: node \"$CEZ_BIN\" handoff log \"<terse line>\" inserts the timestamped line under \"## Progress log\"; node \"$CEZ_BIN\" handoff resume \"<notes>\" (or the notes on stdin, for several lines) replaces \"## Resume notes\", and handoff resume \"\" clears it. Only if CEZ_BIN is unset, edit the file directly.\n\nTask completion marker: when the task's goal is fully achieved and you have no question for the user, end your final message with a line containing exactly CEZ:DONE \u2014 cez then closes the session and marks the task finished. If you are waiting on the user (a question, a decision, missing input), just end your message normally; the session stays open for their reply. Never emit CEZ:DONE while anything is unfinished or unverified.\n\nStill-working marker: if you end a turn while still working on your OWN downstream work \u2014 a sub-agent you dispatched, or a long-running command you're monitoring \u2014 and are NOT waiting on the user for anything, end your final message with a line containing exactly CEZ:MONITORING. cez then shows the task as \"monitoring\" (still working) instead of asking for your attention. Dispatching a sub-agent is exactly this case, and it counts whether the sub-agent finishes inside this turn or runs in the background and reports back later through its own completion notification \u2014 cez has no sub-agent-completion event of its own, so an unmarked turn-end is indistinguishable from you asking the user a question, and it raises \"needs you\" and a browser notification for work nobody needs to look at. The test is one question: is the only thing between you and the next step work YOU started? Then the marker belongs there. A turn that fans work out ends like this, marker on the very last line:\n\n Dispatched 3 sub-agents to investigate the failing migration; I'll continue as soon as they report.\n CEZ:MONITORING\n\nUse CEZ:MONITORING only for that in-progress case; use CEZ:DONE when the goal is done; end plainly (no marker) only when you are genuinely waiting on the user. Never combine CEZ:MONITORING with CEZ:DONE. A park is bounded, not indefinite: with an automatic re-check cadence configured cez wakes you on that cadence and, after the configured number of re-checks with no progress, hands the task to the user unless a dispatched child is still in flight; with no cadence configured it does the same after four times the configured waiting-session idle timeout (60 minutes by default, also the fallback when idle timeout is disabled), unless a dispatched child is still in flight. An unanswered hand-off ends the run as failed with a Continue button when the configured idle timeout closes the session; with idle timeout disabled it raises attention and rests at waiting \u2014 so end each re-check turn with CEZ:MONITORING again while the downstream work is still pending.\n\nStructured question marker: when you are blocked on a decision that is genuinely the user's to make \u2014 one you cannot resolve from the request, the code, or sensible defaults \u2014 and it comes down to a few concrete choices, end your turn with a single line CEZ:ASK <json> instead of asking in prose. cez renders it as clickable option chips in the cockpit so the user can answer in one tap. The <json> is ONE object on ONE line, the last thing in your message: {\"questions\":[{\"header\":\"\u226412-char label\",\"question\":\"a clear question ending in ?\",\"multiSelect\":false,\"options\":[{\"label\":\"short choice\",\"description\":\"what it means / the trade-off\"}]}]} \u2014 use only those keys (plus an optional non-empty \"id\" up to 64 characters), with 1\u201320 questions, 2\u201310 options per question, unique question text and option labels, header 1\u201312 characters, question 1\u2013400, option label 1\u201360, and description at most 280. The JSON must be syntactically valid \u2014 every brace and bracket closed, no trailing commas; re-read the line before you send it, because a payload cez cannot parse is shown to the user as raw JSON instead of chips. The card itself gives every question an \"Other\u2026\" field for the user's own answer and a \"Need more info\" choice, so never add either as an option yourself. An answer that is not one of your labels is the user's own: act on it. An answer asking for more information means the user cannot decide yet: explain what that question hinges on \u2014 the context, the trade-offs, what each option would change \u2014 then ask it again with CEZ:ASK; never guess an answer for it. Several decisions that are genuinely all the user's ride ONE card \u2014 do not drop any to fit a count, and do not split them across turns. Prefer sensible defaults over asking; use CEZ:ASK only when the choice is truly the user's. Never combine CEZ:ASK with CEZ:DONE or CEZ:MONITORING.\n\nTask reference markers: as soon as you know which GitHub pull request or issue this task is ABOUT (it was named in the task, or you just opened it), declare it by emitting, on its own line in your message text: CEZ:PR=<number> and/or CEZ:ISSUE=<number>. Re-emit with the new number if the subject changes (e.g. you open a PR later in the task). Declare only the task's own subject \u2014 never a PR/issue you merely mention, list, or compare against. You may also emit CEZ:TITLE=<terse gerund phrase, max 40 chars, e.g. \"implementing comment threads\"> once the work has a clearer shape than its current title; cez uses these instead of guessing from the transcript. Put markers in plain message text, never inside a code fence, and above any CEZ:DONE / CEZ:MONITORING line \u2014 those two always come last.\n\n## Pasted attachments\nUser-attached screenshots and files (PDF, text, archives \u2014 any type) are saved as real files; their absolute paths are listed in the message that carries them. Read a file from its path when you need its contents, and use the path when a task needs the file itself (saving, uploading, attaching to issues/PRs). An image also rides along inline, but that copy is for viewing only and does not survive later workflow steps, some backends or a compacted context, while the file on disk always does; a non-image attachment exists ONLY as the file at that path. Read the file whenever the user refers to a screenshot you cannot see inline, and never tell the user their attachment did not reach you without opening its path first.\n\n## Follow-ups (cezar)\n\nCEZ_TODOS_FILE (env) is the absolute path to the user's follow-up inbox \u2014 a JSON array. Only append an entry when a genuinely actionable follow-up remains: something concrete a human or the next agent still needs to decide or do (a review nit worth a dedicated pass, a manual step you cannot take yourself, a decision blocked on the user, a known next task). Do NOT append filler \u2014 a restated summary of what you just finished, a congratulatory note, or \"no further action needed\" is not a follow-up; when the task is simply done, skip this file entirely. When (and only when) a real follow-up exists, read the file (treat a missing file as []), append ONE object and write the whole array back:\n{ \"ts\": \"<ISO 8601>\", \"taskId\": \"<value of CEZ_TASK_ID>\", \"summary\": \"<one sentence: the concrete next action, not a status report>\", \"action\": \"<imperative user action, optional>\", \"prUrl\": \"<optional>\", \"suggestedSkill\": \"<optional skill name for the follow-up>\", \"suggestedArgs\": \"<optional>\", \"suggestedPrompt\": \"<optional freeform prompt for the follow-up task>\", \"runnable\": <true when an agent can execute this follow-up, false when it is a note> }\nSet \"runnable\": false for anything a human must do or merely read \u2014 manual QA, \"remember to\u2026\", informational notes \u2014 and leave out suggestedSkill/suggestedPrompt for those; the inbox then offers \"Acknowledge\" instead of \"Run\". Set \"runnable\": true only when suggestedSkill or suggestedPrompt says what to actually execute.\nNever modify or remove existing entries \u2014 append only.";
|
|
76
|
+
export declare const HANDOFF_INSTRUCTIONS = "## Handoff (cezar)\n\nCEZ_HANDOFF_FILE (env) is the absolute path to this task's rolling handoff file. Treat it like a HANDOFF.md:\n1. At the start of work, read it \u2014 \"Resume notes\" left by a previous session is your starting context.\n2. After every meaningful milestone (passing tests, a commit, a PR, a scope decision), append one terse timestamped line under \"## Progress log\", newest at the top.\n3. Before finishing or pausing, update \"## Resume notes\" with what's done, what's next and any blockers. Leave it empty only when the task is truly complete.\nUse the commands, never a hand-written script: node \"$CEZ_BIN\" handoff log \"<terse line>\" inserts the timestamped line under \"## Progress log\"; node \"$CEZ_BIN\" handoff resume \"<notes>\" (or the notes on stdin, for several lines) replaces \"## Resume notes\", and handoff resume \"\" clears it. Only if CEZ_BIN is unset, edit the file directly.\n\nTask completion marker: when the task's goal is fully achieved and you have no question for the user, end your final message with a line containing exactly CEZ:DONE \u2014 cez then closes the session and marks the task finished. If you are waiting on the user (a question, a decision, missing input), just end your message normally; the session stays open for their reply. Never emit CEZ:DONE while anything is unfinished or unverified.\n\nStill-working marker: if you end a turn while still working on your OWN downstream work \u2014 a sub-agent you dispatched, or a long-running command you're monitoring \u2014 and are NOT waiting on the user for anything, end your final message with a line containing exactly CEZ:MONITORING. cez then shows the task as \"monitoring\" (still working) instead of asking for your attention. Dispatching a sub-agent is exactly this case, and it counts whether the sub-agent finishes inside this turn or runs in the background and reports back later through its own completion notification \u2014 cez has no sub-agent-completion event of its own, so an unmarked turn-end is indistinguishable from you asking the user a question, and it raises \"needs you\" and a browser notification for work nobody needs to look at. The test is one question: is the only thing between you and the next step work YOU started? Then the marker belongs there. A turn that fans work out ends like this, marker on the very last line:\n\n Dispatched 3 sub-agents to investigate the failing migration; I'll continue as soon as they report.\n CEZ:MONITORING\n\nUse CEZ:MONITORING only for that in-progress case; use CEZ:DONE when the goal is done; end plainly (no marker) only when you are genuinely waiting on the user. Never combine CEZ:MONITORING with CEZ:DONE. A park is bounded, not indefinite: with an automatic re-check cadence configured cez wakes you on that cadence and, after the configured number of re-checks with no progress, hands the task to the user unless a dispatched child is still in flight; with no cadence configured it does the same after four times the configured waiting-session idle timeout (60 minutes by default, also the fallback when idle timeout is disabled), unless a dispatched child is still in flight. An unanswered hand-off ends the run as failed with a Continue button when the configured idle timeout closes the session; with idle timeout disabled it raises attention and rests at waiting \u2014 so end each re-check turn with CEZ:MONITORING again while the downstream work is still pending.\n\nStructured question marker: when you are blocked on a decision that is genuinely the user's to make \u2014 one you cannot resolve from the request, the code, or sensible defaults \u2014 and it comes down to a few concrete choices, end your turn with a single line CEZ:ASK <json> instead of asking in prose. cez renders it as clickable option chips in the cockpit so the user can answer in one tap. The <json> is ONE object on ONE line, the last thing in your message: {\"questions\":[{\"header\":\"\u226412-char label\",\"question\":\"a clear question ending in ?\",\"multiSelect\":false,\"options\":[{\"label\":\"short choice\",\"description\":\"what it means / the trade-off\"}]}]} \u2014 use only those keys (plus an optional non-empty \"id\" up to 64 characters), with 1\u201320 questions, 2\u201310 options per question, unique question text and option labels, header 1\u201312 characters, question 1\u2013400, option label 1\u201360, and description at most 280. The JSON must be syntactically valid \u2014 every brace and bracket closed, no trailing commas; re-read the line before you send it, because a payload cez cannot parse is shown to the user as raw JSON instead of chips. The card itself gives every question an \"Other\u2026\" field for the user's own answer and a \"Need more info\" choice, so never add either as an option yourself. An answer that is not one of your labels is the user's own: act on it. An answer asking for more information means the user cannot decide yet: explain what that question hinges on \u2014 the context, the trade-offs, what each option would change \u2014 then ask it again with CEZ:ASK; never guess an answer for it. Several decisions that are genuinely all the user's ride ONE card \u2014 do not drop any to fit a count, and do not split them across turns. Prefer sensible defaults over asking; use CEZ:ASK only when the choice is truly the user's. Never combine CEZ:ASK with CEZ:DONE or CEZ:MONITORING.\n\nTask reference markers: as soon as you know which GitHub pull request or issue this task is ABOUT (it was named in the task, or you just opened it), declare it by emitting, on its own line in your message text: CEZ:PR=<number> and/or CEZ:ISSUE=<number>. Re-emit with the new number if the subject changes (e.g. you open a PR later in the task). Declare only the task's own subject \u2014 never a PR/issue you merely mention, list, or compare against. You may also emit CEZ:TITLE=<terse gerund phrase, max 40 chars, e.g. \"implementing comment threads\"> once the work has a clearer shape than its current title; cez uses these instead of guessing from the transcript. Put markers in plain message text, never inside a code fence, and above any CEZ:DONE / CEZ:MONITORING line \u2014 those two always come last.\n\n## Pasted attachments\nUser-attached screenshots and files (PDF, text, archives \u2014 any type) are saved as real files; their absolute paths are listed in the message that carries them. Read a file from its path when you need its contents, and use the path when a task needs the file itself (saving, uploading, attaching to issues/PRs). An image also rides along inline, but that copy is for viewing only and does not survive later workflow steps, some backends or a compacted context, while the file on disk always does; a non-image attachment exists ONLY as the file at that path. Read the file whenever the user refers to a screenshot you cannot see inline, and never tell the user their attachment did not reach you without opening its path first.\n\n## File links (#1923)\nA file link in your message \u2014 relative (`temp/summary.txt`) or absolute \u2014 is not clickable in the cockpit: it renders as inert text, and the Files tab lists only tracked or non-ignored files, so a gitignored file (such as one under `temp/`) is not there either. Put short deliverables (a summary, a result, a snippet) inline in your message. For a file the user must reach, write it to the artifacts directory ($CEZ_ARTIFACTS_DIR) and name it there, or to a non-ignored path in the worktree and give that worktree-relative path \u2014 never link to a gitignored file as if it could be opened.\n\n## Follow-ups (cezar)\n\nCEZ_TODOS_FILE (env) is the absolute path to the user's follow-up inbox \u2014 a JSON array. Only append an entry when a genuinely actionable follow-up remains: something concrete a human or the next agent still needs to decide or do (a review nit worth a dedicated pass, a manual step you cannot take yourself, a decision blocked on the user, a known next task). Do NOT append filler \u2014 a restated summary of what you just finished, a congratulatory note, or \"no further action needed\" is not a follow-up; when the task is simply done, skip this file entirely. When (and only when) a real follow-up exists, read the file (treat a missing file as []), append ONE object and write the whole array back:\n{ \"ts\": \"<ISO 8601>\", \"taskId\": \"<value of CEZ_TASK_ID>\", \"summary\": \"<one sentence: the concrete next action, not a status report>\", \"action\": \"<imperative user action, optional>\", \"prUrl\": \"<optional>\", \"suggestedSkill\": \"<optional skill name for the follow-up>\", \"suggestedArgs\": \"<optional>\", \"suggestedPrompt\": \"<optional freeform prompt for the follow-up task>\", \"runnable\": <true when an agent can execute this follow-up, false when it is a note> }\nSet \"runnable\": false for anything a human must do or merely read \u2014 manual QA, \"remember to\u2026\", informational notes \u2014 and leave out suggestedSkill/suggestedPrompt for those; the inbox then offers \"Acknowledge\" instead of \"Run\". Set \"runnable\": true only when suggestedSkill or suggestedPrompt says what to actually execute.\nNever modify or remove existing entries \u2014 append only.";
|
package/dist/handoff.js
CHANGED
|
@@ -257,7 +257,10 @@ Structured question marker: when you are blocked on a decision that is genuinely
|
|
|
257
257
|
Task reference markers: as soon as you know which GitHub pull request or issue this task is ABOUT (it was named in the task, or you just opened it), declare it by emitting, on its own line in your message text: CEZ:PR=<number> and/or CEZ:ISSUE=<number>. Re-emit with the new number if the subject changes (e.g. you open a PR later in the task). Declare only the task's own subject — never a PR/issue you merely mention, list, or compare against. You may also emit CEZ:TITLE=<terse gerund phrase, max 40 chars, e.g. "implementing comment threads"> once the work has a clearer shape than its current title; cez uses these instead of guessing from the transcript. Put markers in plain message text, never inside a code fence, and above any CEZ:DONE / CEZ:MONITORING line — those two always come last.
|
|
258
258
|
|
|
259
259
|
## Pasted attachments
|
|
260
|
-
User-attached screenshots and files (PDF, text, archives — any type) are saved as real files; their absolute paths are listed in the message that carries them. Read a file from its path when you need its contents, and use the path when a task needs the file itself (saving, uploading, attaching to issues/PRs). An image also rides along inline, but that copy is for viewing only and does not survive later workflow steps, some backends or a compacted context, while the file on disk always does; a non-image attachment exists ONLY as the file at that path. Read the file whenever the user refers to a screenshot you cannot see inline, and never tell the user their attachment did not reach you without opening its path first
|
|
260
|
+
User-attached screenshots and files (PDF, text, archives — any type) are saved as real files; their absolute paths are listed in the message that carries them. Read a file from its path when you need its contents, and use the path when a task needs the file itself (saving, uploading, attaching to issues/PRs). An image also rides along inline, but that copy is for viewing only and does not survive later workflow steps, some backends or a compacted context, while the file on disk always does; a non-image attachment exists ONLY as the file at that path. Read the file whenever the user refers to a screenshot you cannot see inline, and never tell the user their attachment did not reach you without opening its path first.
|
|
261
|
+
|
|
262
|
+
## File links (#1923)
|
|
263
|
+
A file link in your message — relative (\`temp/summary.txt\`) or absolute — is not clickable in the cockpit: it renders as inert text, and the Files tab lists only tracked or non-ignored files, so a gitignored file (such as one under \`temp/\`) is not there either. Put short deliverables (a summary, a result, a snippet) inline in your message. For a file the user must reach, write it to the artifacts directory ($CEZ_ARTIFACTS_DIR) and name it there, or to a non-ignored path in the worktree and give that worktree-relative path — never link to a gitignored file as if it could be opened.`;
|
|
261
264
|
export const FOLLOWUP_INSTRUCTIONS = `## Follow-ups (cezar)
|
|
262
265
|
|
|
263
266
|
CEZ_TODOS_FILE (env) is the absolute path to the user's follow-up inbox — a JSON array. Only append an entry when a genuinely actionable follow-up remains: something concrete a human or the next agent still needs to decide or do (a review nit worth a dedicated pass, a manual step you cannot take yourself, a decision blocked on the user, a known next task). Do NOT append filler — a restated summary of what you just finished, a congratulatory note, or "no further action needed" is not a follow-up; when the task is simply done, skip this file entirely. When (and only when) a real follow-up exists, read the file (treat a missing file as []), append ONE object and write the whole array back:
|
package/dist/handoff.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handoff.js","sourceRoot":"","sources":["../src/handoff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE1C;;;;;;;GAOG;AAEH,MAAM,UAAU,WAAW,CAAC,OAAe,EAAE,KAAa;IACxD,OAAO,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,KAAK,aAAa,CAAC,CAAC;AACtD,CAAC;AAWD,6EAA6E;AAC7E,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAU1C,MAAM,YAAY,GAAG,6GAA6G,CAAC;AACnI,MAAM,eAAe,GAAG,cAAc,CAAC;AAEvC,SAAS,cAAc,CAAC,IAAY;IAClC,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAC;IAC7B,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC3B,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IACzB,IAAI,CAAC,SAAS,IAAI,CAAC,OAAO;QAAE,OAAO,SAAS,CAAC;IAC7C,MAAM,cAAc,GAAG,qEAAqE,CAAC,IAAI,CAC/F,SAAS,CACV,CAAC;IACF,IAAI,CAAC,cAAc;QAAE,OAAO,SAAS,CAAC;IACtC,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC;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AAM,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QAC/D,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;YAAE,MAAM;QAClC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,OAAO;YAAE,SAAS;QACvB,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpB,IAAI,KAAK,CAAC,MAAM,IAAI,QAAQ;YAAE,MAAM;IACtC,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,OAAe,EAAE,KAAa;IAC1D,IAAI,CAAC;QACH,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACvD,CAAC;IAAC,MAAM,CAAC;QACP,cAAc;IAChB,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,gBAAgB,CAAC,GAAG,GAAsB,OAAO,CAAC,GAAG;IACnE,OAAO,GAAG,CAAC,aAAa,KAAK,GAAG,CAAC;AACnC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;glBAyBuiB,CAAC;AAEjlB,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;;uDAKkB,CAAC;AAExD,sEAAsE;AACtE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,yBAAyB,OAAO,qBAAqB,EAAE,CAAC"}
|
|
@@ -65,20 +65,6 @@ export declare function agentSetupRoutes(deps: AgentSetupDeps): import("hono/hon
|
|
|
65
65
|
} & {
|
|
66
66
|
"/providers/setup/sessions": {
|
|
67
67
|
$post: {
|
|
68
|
-
output: {
|
|
69
|
-
error: string;
|
|
70
|
-
};
|
|
71
|
-
outputFormat: "json";
|
|
72
|
-
status: 409;
|
|
73
|
-
input: {
|
|
74
|
-
json: {
|
|
75
|
-
provider: "claude" | "codex" | "copilot" | "cursor" | "opencode";
|
|
76
|
-
action: "install" | "login";
|
|
77
|
-
cols?: number | undefined;
|
|
78
|
-
rows?: number | undefined;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
} | {
|
|
82
68
|
output: {
|
|
83
69
|
id: string;
|
|
84
70
|
runId: string;
|
|
@@ -132,6 +118,20 @@ export declare function agentSetupRoutes(deps: AgentSetupDeps): import("hono/hon
|
|
|
132
118
|
rows?: number | undefined;
|
|
133
119
|
};
|
|
134
120
|
};
|
|
121
|
+
} | {
|
|
122
|
+
output: {
|
|
123
|
+
error: string;
|
|
124
|
+
};
|
|
125
|
+
outputFormat: "json";
|
|
126
|
+
status: 409;
|
|
127
|
+
input: {
|
|
128
|
+
json: {
|
|
129
|
+
provider: "claude" | "codex" | "copilot" | "cursor" | "opencode";
|
|
130
|
+
action: "install" | "login";
|
|
131
|
+
cols?: number | undefined;
|
|
132
|
+
rows?: number | undefined;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
135
|
} | {
|
|
136
136
|
output: {
|
|
137
137
|
error: string;
|
|
@@ -8,7 +8,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
8
8
|
error: string;
|
|
9
9
|
};
|
|
10
10
|
outputFormat: "json";
|
|
11
|
-
status:
|
|
11
|
+
status: 404;
|
|
12
12
|
input: {
|
|
13
13
|
query: {
|
|
14
14
|
projectId: string;
|
|
@@ -16,21 +16,10 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
16
16
|
};
|
|
17
17
|
} | {
|
|
18
18
|
output: {
|
|
19
|
-
|
|
20
|
-
automations: {
|
|
21
|
-
id: string;
|
|
22
|
-
name: string;
|
|
23
|
-
enabled: boolean;
|
|
24
|
-
kind: "github" | "schedule" | "tracker";
|
|
25
|
-
nextRunAt?: string | undefined;
|
|
26
|
-
state?: {
|
|
27
|
-
backoffUntil?: string | undefined;
|
|
28
|
-
consecutiveFailures?: number | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
}[];
|
|
19
|
+
error: string;
|
|
31
20
|
};
|
|
32
21
|
outputFormat: "json";
|
|
33
|
-
status:
|
|
22
|
+
status: 409;
|
|
34
23
|
input: {
|
|
35
24
|
query: {
|
|
36
25
|
projectId: string;
|
|
@@ -41,7 +30,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
41
30
|
error: string;
|
|
42
31
|
};
|
|
43
32
|
outputFormat: "json";
|
|
44
|
-
status:
|
|
33
|
+
status: 503;
|
|
45
34
|
input: {
|
|
46
35
|
query: {
|
|
47
36
|
projectId: string;
|
|
@@ -49,10 +38,21 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
49
38
|
};
|
|
50
39
|
} | {
|
|
51
40
|
output: {
|
|
52
|
-
|
|
41
|
+
timeZone: string;
|
|
42
|
+
automations: {
|
|
43
|
+
id: string;
|
|
44
|
+
name: string;
|
|
45
|
+
enabled: boolean;
|
|
46
|
+
kind: "github" | "schedule" | "tracker";
|
|
47
|
+
nextRunAt?: string | undefined;
|
|
48
|
+
state?: {
|
|
49
|
+
backoffUntil?: string | undefined;
|
|
50
|
+
consecutiveFailures?: number | undefined;
|
|
51
|
+
} | undefined;
|
|
52
|
+
}[];
|
|
53
53
|
};
|
|
54
54
|
outputFormat: "json";
|
|
55
|
-
status:
|
|
55
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
56
56
|
input: {
|
|
57
57
|
query: {
|
|
58
58
|
projectId: string;
|
|
@@ -222,6 +222,24 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
222
222
|
} & {
|
|
223
223
|
"/workspace/dashboard/overview": {
|
|
224
224
|
$get: {
|
|
225
|
+
output: {
|
|
226
|
+
error: 'Dashboard changed; refresh the list';
|
|
227
|
+
code: 'snapshot-expired';
|
|
228
|
+
};
|
|
229
|
+
outputFormat: "json";
|
|
230
|
+
status: 409;
|
|
231
|
+
input: {
|
|
232
|
+
query: {
|
|
233
|
+
period?: "30d" | "7d" | undefined;
|
|
234
|
+
tzOffsetMinutes?: unknown;
|
|
235
|
+
snapshotId?: string | undefined;
|
|
236
|
+
projectId?: string | undefined;
|
|
237
|
+
group?: "completed" | "failed" | "needs-you" | "running" | undefined;
|
|
238
|
+
offset?: unknown;
|
|
239
|
+
limit?: unknown;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
} | {
|
|
225
243
|
output: {
|
|
226
244
|
snapshotId: string;
|
|
227
245
|
asOf: string;
|
|
@@ -281,7 +299,11 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
281
299
|
limit?: unknown;
|
|
282
300
|
};
|
|
283
301
|
};
|
|
284
|
-
}
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
} & {
|
|
305
|
+
"/workspace/dashboard/tasks": {
|
|
306
|
+
$get: {
|
|
285
307
|
output: {
|
|
286
308
|
error: 'Dashboard changed; refresh the list';
|
|
287
309
|
code: 'snapshot-expired';
|
|
@@ -290,20 +312,13 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
290
312
|
status: 409;
|
|
291
313
|
input: {
|
|
292
314
|
query: {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
snapshotId?: string | undefined;
|
|
296
|
-
projectId?: string | undefined;
|
|
297
|
-
group?: "completed" | "failed" | "needs-you" | "running" | undefined;
|
|
315
|
+
snapshotId: string;
|
|
316
|
+
group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
|
|
298
317
|
offset?: unknown;
|
|
299
318
|
limit?: unknown;
|
|
300
319
|
};
|
|
301
320
|
};
|
|
302
|
-
}
|
|
303
|
-
};
|
|
304
|
-
} & {
|
|
305
|
-
"/workspace/dashboard/tasks": {
|
|
306
|
-
$get: {
|
|
321
|
+
} | {
|
|
307
322
|
output: {
|
|
308
323
|
snapshotId: string;
|
|
309
324
|
asOf: string;
|
|
@@ -391,7 +406,11 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
391
406
|
limit?: unknown;
|
|
392
407
|
};
|
|
393
408
|
};
|
|
394
|
-
}
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
} & {
|
|
412
|
+
"/workspace/dashboard/costs": {
|
|
413
|
+
$get: {
|
|
395
414
|
output: {
|
|
396
415
|
error: 'Dashboard changed; refresh the list';
|
|
397
416
|
code: 'snapshot-expired';
|
|
@@ -400,17 +419,16 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
400
419
|
status: 409;
|
|
401
420
|
input: {
|
|
402
421
|
query: {
|
|
403
|
-
|
|
404
|
-
|
|
422
|
+
period?: "30d" | "7d" | "all" | undefined;
|
|
423
|
+
sort?: "cost" | "input" | "output" | undefined;
|
|
424
|
+
projectId?: string | undefined;
|
|
425
|
+
snapshotId?: string | undefined;
|
|
426
|
+
tzOffsetMinutes?: unknown;
|
|
405
427
|
offset?: unknown;
|
|
406
428
|
limit?: unknown;
|
|
407
429
|
};
|
|
408
430
|
};
|
|
409
|
-
}
|
|
410
|
-
};
|
|
411
|
-
} & {
|
|
412
|
-
"/workspace/dashboard/costs": {
|
|
413
|
-
$get: {
|
|
431
|
+
} | {
|
|
414
432
|
output: {
|
|
415
433
|
snapshotId: string;
|
|
416
434
|
asOf: string;
|
|
@@ -518,24 +536,6 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
518
536
|
limit?: unknown;
|
|
519
537
|
};
|
|
520
538
|
};
|
|
521
|
-
} | {
|
|
522
|
-
output: {
|
|
523
|
-
error: 'Dashboard changed; refresh the list';
|
|
524
|
-
code: 'snapshot-expired';
|
|
525
|
-
};
|
|
526
|
-
outputFormat: "json";
|
|
527
|
-
status: 409;
|
|
528
|
-
input: {
|
|
529
|
-
query: {
|
|
530
|
-
period?: "30d" | "7d" | "all" | undefined;
|
|
531
|
-
sort?: "cost" | "input" | "output" | undefined;
|
|
532
|
-
projectId?: string | undefined;
|
|
533
|
-
snapshotId?: string | undefined;
|
|
534
|
-
tzOffsetMinutes?: unknown;
|
|
535
|
-
offset?: unknown;
|
|
536
|
-
limit?: unknown;
|
|
537
|
-
};
|
|
538
|
-
};
|
|
539
539
|
};
|
|
540
540
|
};
|
|
541
541
|
} & {
|