@open-mercato/cezar 0.16.2 → 0.16.3-pr1706.3787
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/api-origin.d.ts +6 -0
- package/dist/api-origin.js +32 -0
- package/dist/api-origin.js.map +1 -0
- package/dist/automations/github-poller.js +2 -0
- package/dist/automations/github-poller.js.map +1 -1
- package/dist/automations/pr-head.js +2 -1
- package/dist/automations/pr-head.js.map +1 -1
- package/dist/automations/schedule-runner.d.ts +1 -0
- package/dist/automations/schedule-runner.js +2 -2
- package/dist/automations/schedule-runner.js.map +1 -1
- package/dist/core/agent-errors.d.ts +5 -0
- package/dist/core/agent-errors.js +49 -0
- package/dist/core/agent-errors.js.map +1 -1
- package/dist/core/backend-detect.js +3 -2
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/claude-cli-runner.d.ts +3 -0
- package/dist/core/claude-cli-runner.js +20 -4
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-ui-mapper.js +4 -1
- package/dist/core/codex-ui-mapper.js.map +1 -1
- package/dist/core/copilot-acp-runner.d.ts +1 -1
- package/dist/core/copilot-acp-runner.js +26 -5
- package/dist/core/copilot-acp-runner.js.map +1 -1
- package/dist/core/gh-env.d.ts +20 -0
- package/dist/core/gh-env.js +25 -0
- package/dist/core/gh-env.js.map +1 -0
- package/dist/core/model-presets.d.ts +11 -0
- package/dist/core/model-presets.js +35 -1
- package/dist/core/model-presets.js.map +1 -1
- package/dist/core/opencode-model-catalog.js +3 -0
- package/dist/core/opencode-model-catalog.js.map +1 -1
- package/dist/core/opencode-server-runner.d.ts +7 -0
- package/dist/core/opencode-server-runner.js +36 -1
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/pi-runner.js +2 -0
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/core/provider-auth.d.ts +6 -0
- package/dist/core/provider-auth.js +59 -13
- package/dist/core/provider-auth.js.map +1 -1
- package/dist/core/usage-limit.js +8 -2
- package/dist/core/usage-limit.js.map +1 -1
- package/dist/git-remotes.js +2 -1
- package/dist/git-remotes.js.map +1 -1
- package/dist/index.js +3 -19
- package/dist/index.js.map +1 -1
- package/dist/release/bump.d.ts +1 -1
- package/dist/release/bump.js +1 -1
- package/dist/release/stable.d.ts +21 -4
- package/dist/release/stable.js +48 -15
- package/dist/release/stable.js.map +1 -1
- package/dist/runs/agent-error-telemetry.js +4 -2
- package/dist/runs/agent-error-telemetry.js.map +1 -1
- package/dist/runs/store.d.ts +1 -1
- package/dist/runs/store.js +31 -4
- package/dist/runs/store.js.map +1 -1
- package/dist/self-update/pulls.js +2 -1
- package/dist/self-update/pulls.js.map +1 -1
- package/dist/server/checkout.js +2 -1
- package/dist/server/checkout.js.map +1 -1
- package/dist/server/create-project.js +2 -1
- package/dist/server/create-project.js.map +1 -1
- package/dist/server/dashboard.d.ts +54 -54
- package/dist/server/forge/github.js +3 -2
- package/dist/server/forge/github.js.map +1 -1
- package/dist/server/git-changes.d.ts +22 -0
- package/dist/server/git-changes.js +19 -1
- package/dist/server/git-changes.js.map +1 -1
- package/dist/server/open-in-app.js +14 -3
- package/dist/server/open-in-app.js.map +1 -1
- package/dist/server/preview/location-reporter.d.ts +12 -0
- package/dist/server/preview/location-reporter.js +45 -0
- package/dist/server/preview/location-reporter.js.map +1 -0
- package/dist/server/preview/picker-script.d.ts +0 -22
- package/dist/server/preview/picker-script.js +3 -1
- package/dist/server/preview/picker-script.js.map +1 -1
- package/dist/server/provider-telemetry.d.ts +3 -1
- package/dist/server/provider-telemetry.js +4 -2
- package/dist/server/provider-telemetry.js.map +1 -1
- package/dist/server/repo-sync.js +5 -10
- package/dist/server/repo-sync.js.map +1 -1
- package/dist/server/server.d.ts +1854 -1854
- package/dist/server/server.js +7 -2
- package/dist/server/server.js.map +1 -1
- package/dist/server/worktree-lifecycle.d.ts +90 -90
- package/dist/telemetry.js +3 -1
- package/dist/telemetry.js.map +1 -1
- package/dist/workflows/continuation-context.d.ts +3 -1
- package/dist/workflows/continuation-context.js +22 -3
- package/dist/workflows/continuation-context.js.map +1 -1
- package/dist/workflows/run.d.ts +20 -9
- package/dist/workflows/run.js +49 -11
- package/dist/workflows/run.js.map +1 -1
- package/package.json +3 -3
- package/scripts/mock-copilot-acp.mjs +4 -0
- package/web/dist/assets/{agent-task-pickers-DEW3Vgdv.js → agent-task-pickers-CNuwgeJL.js} +1 -1
- package/web/dist/assets/{automations-route-Cx7mzYhD.js → automations-route-Cs1tsu1W.js} +1 -1
- package/web/dist/assets/{commit-list-xMdmPYbz.js → commit-list-Ti2arrt8.js} +1 -1
- package/web/dist/assets/{compare-variants-B6ja1M4D.js → compare-variants-CdchlJMs.js} +1 -1
- package/web/dist/assets/{dashboard-ClEGBFFq.js → dashboard-wi0EQack.js} +2 -2
- package/web/dist/assets/{file-preview-iucr8WDo.js → file-preview-pS9i9ZDR.js} +1 -1
- package/web/dist/assets/git-tab-loading-BC6WP7W4.js +1 -0
- package/web/dist/assets/{git-toolbar-DU5Ca6RI.js → git-toolbar-Dra1QlHb.js} +1 -1
- package/web/dist/assets/github-DZcdhMzw.js +1 -0
- package/web/dist/assets/{host-usage-DjDYDU0A.js → host-usage-DnkXF0CT.js} +1 -1
- package/web/dist/assets/index-qeFtKZ4e.js +22 -0
- package/web/dist/assets/{layout-cards-Sur4EWtx.js → layout-cards-CXMlrDUf.js} +1 -1
- package/web/dist/assets/{project-router-DZsR9P9C.js → project-router-CZzr7lzN.js} +2 -2
- package/web/dist/assets/queries-Bn7zl9OU.js +1 -0
- package/web/dist/assets/{reference-chip-DnemrSPW.js → reference-chip-CScP5y_O.js} +1 -1
- package/web/dist/assets/repo-git-CV-yXaSx.js +1 -0
- package/web/dist/assets/{run-diff-BPZ85gAE.js → run-diff-GHEaeAio.js} +2 -2
- package/web/dist/assets/{skills-BgCN1gTp.js → skills-DuSNv5op.js} +1 -1
- package/web/dist/assets/{task-commits-W1ZZiEt4.js → task-commits-D_gLpFQo.js} +1 -1
- package/web/dist/assets/{task-graph-DI2fn5M8.js → task-graph-BgHk8Y3v.js} +1 -1
- package/web/dist/assets/{task-notes-lmvd1UM7.js → task-notes-BBp0rdzM.js} +1 -1
- package/web/dist/assets/task-workspace-Cr9AjTxP.js +27 -0
- package/web/dist/assets/{terminal-drawer-DAkquqSe.js → terminal-drawer-CcPOjWwP.js} +2 -2
- package/web/dist/assets/{tracker-Cqdpt9RN.js → tracker-BHwMGsDY.js} +2 -2
- package/web/dist/assets/use-automations-Dh3Wj-79.js +5 -0
- package/web/dist/assets/{use-now-pBdvhv13.js → use-now-BB7W0F--.js} +1 -1
- package/web/dist/assets/{workflow-graph-l7O50dsV.js → workflow-graph-CcOTCItr.js} +3 -3
- package/web/dist/assets/worktree-lifecycle-operation-vTgExKUM.js +18 -0
- package/web/dist/index.html +10 -10
- package/dist/telemetry-service.json +0 -1
- package/web/dist/assets/git-tab-loading-BfC2ir8N.js +0 -1
- package/web/dist/assets/github-CELdSmld.js +0 -1
- package/web/dist/assets/index-BBND6Sg3.js +0 -22
- package/web/dist/assets/queries-CI0EmEcH.js +0 -1
- package/web/dist/assets/repo-git-Bj0PBOjX.js +0 -1
- package/web/dist/assets/task-workspace-B8Fpho3e.js +0 -27
- package/web/dist/assets/use-automations-v77gHYDG.js +0 -5
- package/web/dist/assets/worktree-lifecycle-operation-DOTiqQFx.js +0 -18
|
@@ -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;
|
|
@@ -206,6 +206,24 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
206
206
|
} & {
|
|
207
207
|
"/workspace/dashboard/overview": {
|
|
208
208
|
$get: {
|
|
209
|
+
output: {
|
|
210
|
+
error: 'Dashboard changed; refresh the list';
|
|
211
|
+
code: 'snapshot-expired';
|
|
212
|
+
};
|
|
213
|
+
outputFormat: "json";
|
|
214
|
+
status: 409;
|
|
215
|
+
input: {
|
|
216
|
+
query: {
|
|
217
|
+
period?: "30d" | "7d" | undefined;
|
|
218
|
+
tzOffsetMinutes?: unknown;
|
|
219
|
+
snapshotId?: string | undefined;
|
|
220
|
+
projectId?: string | undefined;
|
|
221
|
+
group?: "completed" | "failed" | "needs-you" | "running" | undefined;
|
|
222
|
+
offset?: unknown;
|
|
223
|
+
limit?: unknown;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
} | {
|
|
209
227
|
output: {
|
|
210
228
|
snapshotId: string;
|
|
211
229
|
asOf: string;
|
|
@@ -265,7 +283,11 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
265
283
|
limit?: unknown;
|
|
266
284
|
};
|
|
267
285
|
};
|
|
268
|
-
}
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
} & {
|
|
289
|
+
"/workspace/dashboard/tasks": {
|
|
290
|
+
$get: {
|
|
269
291
|
output: {
|
|
270
292
|
error: 'Dashboard changed; refresh the list';
|
|
271
293
|
code: 'snapshot-expired';
|
|
@@ -274,20 +296,13 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
274
296
|
status: 409;
|
|
275
297
|
input: {
|
|
276
298
|
query: {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
snapshotId?: string | undefined;
|
|
280
|
-
projectId?: string | undefined;
|
|
281
|
-
group?: "completed" | "failed" | "needs-you" | "running" | undefined;
|
|
299
|
+
snapshotId: string;
|
|
300
|
+
group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
|
|
282
301
|
offset?: unknown;
|
|
283
302
|
limit?: unknown;
|
|
284
303
|
};
|
|
285
304
|
};
|
|
286
|
-
}
|
|
287
|
-
};
|
|
288
|
-
} & {
|
|
289
|
-
"/workspace/dashboard/tasks": {
|
|
290
|
-
$get: {
|
|
305
|
+
} | {
|
|
291
306
|
output: {
|
|
292
307
|
snapshotId: string;
|
|
293
308
|
asOf: string;
|
|
@@ -367,7 +382,11 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
367
382
|
limit?: unknown;
|
|
368
383
|
};
|
|
369
384
|
};
|
|
370
|
-
}
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
} & {
|
|
388
|
+
"/workspace/dashboard/costs": {
|
|
389
|
+
$get: {
|
|
371
390
|
output: {
|
|
372
391
|
error: 'Dashboard changed; refresh the list';
|
|
373
392
|
code: 'snapshot-expired';
|
|
@@ -376,17 +395,16 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
376
395
|
status: 409;
|
|
377
396
|
input: {
|
|
378
397
|
query: {
|
|
379
|
-
|
|
380
|
-
|
|
398
|
+
period?: "30d" | "7d" | "all" | undefined;
|
|
399
|
+
sort?: "cost" | "input" | "output" | undefined;
|
|
400
|
+
projectId?: string | undefined;
|
|
401
|
+
snapshotId?: string | undefined;
|
|
402
|
+
tzOffsetMinutes?: unknown;
|
|
381
403
|
offset?: unknown;
|
|
382
404
|
limit?: unknown;
|
|
383
405
|
};
|
|
384
406
|
};
|
|
385
|
-
}
|
|
386
|
-
};
|
|
387
|
-
} & {
|
|
388
|
-
"/workspace/dashboard/costs": {
|
|
389
|
-
$get: {
|
|
407
|
+
} | {
|
|
390
408
|
output: {
|
|
391
409
|
snapshotId: string;
|
|
392
410
|
asOf: string;
|
|
@@ -493,24 +511,6 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
493
511
|
limit?: unknown;
|
|
494
512
|
};
|
|
495
513
|
};
|
|
496
|
-
} | {
|
|
497
|
-
output: {
|
|
498
|
-
error: 'Dashboard changed; refresh the list';
|
|
499
|
-
code: 'snapshot-expired';
|
|
500
|
-
};
|
|
501
|
-
outputFormat: "json";
|
|
502
|
-
status: 409;
|
|
503
|
-
input: {
|
|
504
|
-
query: {
|
|
505
|
-
period?: "30d" | "7d" | "all" | undefined;
|
|
506
|
-
sort?: "cost" | "input" | "output" | undefined;
|
|
507
|
-
projectId?: string | undefined;
|
|
508
|
-
snapshotId?: string | undefined;
|
|
509
|
-
tzOffsetMinutes?: unknown;
|
|
510
|
-
offset?: unknown;
|
|
511
|
-
limit?: unknown;
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
514
|
};
|
|
515
515
|
};
|
|
516
516
|
} & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { execFile } from 'node:child_process';
|
|
2
|
+
import { ghEnv } from '../../core/gh-env.js';
|
|
2
3
|
import { promisify } from 'node:util';
|
|
3
4
|
import { z } from 'zod';
|
|
4
5
|
import { REFERENCE_STATUS_MAX } from '../../contract/index.js';
|
|
@@ -281,7 +282,7 @@ async function gh(repoRoot, args, timeout = 15_000) {
|
|
|
281
282
|
cwd: repoRoot,
|
|
282
283
|
timeout,
|
|
283
284
|
maxBuffer: 50 * 1024 * 1024,
|
|
284
|
-
...(host ? {
|
|
285
|
+
env: { ...ghEnv(), ...(host ? { GH_HOST: host } : {}) },
|
|
285
286
|
});
|
|
286
287
|
return stdout;
|
|
287
288
|
}
|
|
@@ -2576,7 +2577,7 @@ async function execTool(args, cwd, bin, timeoutMs = 30_000) {
|
|
|
2576
2577
|
// piped stdio is not enough to stop it. Without this a `git push` that
|
|
2577
2578
|
// cannot authenticate hangs for the whole timeout and surfaces as a
|
|
2578
2579
|
// blank one-minute stall instead of git's own "could not read Username".
|
|
2579
|
-
env: { ...
|
|
2580
|
+
env: { ...ghEnv(), GIT_TERMINAL_PROMPT: '0', ...(ghHost ? { GH_HOST: ghHost } : {}) },
|
|
2580
2581
|
}, (err, stdout, stderr) => resolve({
|
|
2581
2582
|
ok: !err,
|
|
2582
2583
|
stdout: stdout ?? '',
|