@open-mercato/cezar 0.13.0-pr1146.2026 → 0.13.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/dist/server/dashboard.d.ts +54 -54
- package/package.json +3 -3
|
@@ -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: 409;
|
|
12
12
|
input: {
|
|
13
13
|
query: {
|
|
14
14
|
projectId: string;
|
|
@@ -16,10 +16,21 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
16
16
|
};
|
|
17
17
|
} | {
|
|
18
18
|
output: {
|
|
19
|
-
|
|
19
|
+
timeZone: string;
|
|
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
|
+
}[];
|
|
20
31
|
};
|
|
21
32
|
outputFormat: "json";
|
|
22
|
-
status:
|
|
33
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
23
34
|
input: {
|
|
24
35
|
query: {
|
|
25
36
|
projectId: string;
|
|
@@ -30,7 +41,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
30
41
|
error: string;
|
|
31
42
|
};
|
|
32
43
|
outputFormat: "json";
|
|
33
|
-
status:
|
|
44
|
+
status: 404;
|
|
34
45
|
input: {
|
|
35
46
|
query: {
|
|
36
47
|
projectId: string;
|
|
@@ -38,21 +49,10 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
38
49
|
};
|
|
39
50
|
} | {
|
|
40
51
|
output: {
|
|
41
|
-
|
|
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
|
-
}[];
|
|
52
|
+
error: string;
|
|
53
53
|
};
|
|
54
54
|
outputFormat: "json";
|
|
55
|
-
status:
|
|
55
|
+
status: 503;
|
|
56
56
|
input: {
|
|
57
57
|
query: {
|
|
58
58
|
projectId: string;
|
|
@@ -168,24 +168,6 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
168
168
|
} & {
|
|
169
169
|
"/workspace/dashboard/overview": {
|
|
170
170
|
$get: {
|
|
171
|
-
output: {
|
|
172
|
-
error: 'Dashboard changed; refresh the list';
|
|
173
|
-
code: 'snapshot-expired';
|
|
174
|
-
};
|
|
175
|
-
outputFormat: "json";
|
|
176
|
-
status: 409;
|
|
177
|
-
input: {
|
|
178
|
-
query: {
|
|
179
|
-
period?: "30d" | "7d" | undefined;
|
|
180
|
-
tzOffsetMinutes?: unknown;
|
|
181
|
-
snapshotId?: string | undefined;
|
|
182
|
-
projectId?: string | undefined;
|
|
183
|
-
group?: "completed" | "failed" | "needs-you" | "running" | undefined;
|
|
184
|
-
offset?: unknown;
|
|
185
|
-
limit?: unknown;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
} | {
|
|
189
171
|
output: {
|
|
190
172
|
snapshotId: string;
|
|
191
173
|
asOf: string;
|
|
@@ -245,11 +227,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
245
227
|
limit?: unknown;
|
|
246
228
|
};
|
|
247
229
|
};
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
} & {
|
|
251
|
-
"/workspace/dashboard/tasks": {
|
|
252
|
-
$get: {
|
|
230
|
+
} | {
|
|
253
231
|
output: {
|
|
254
232
|
error: 'Dashboard changed; refresh the list';
|
|
255
233
|
code: 'snapshot-expired';
|
|
@@ -258,13 +236,20 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
258
236
|
status: 409;
|
|
259
237
|
input: {
|
|
260
238
|
query: {
|
|
261
|
-
|
|
262
|
-
|
|
239
|
+
period?: "30d" | "7d" | undefined;
|
|
240
|
+
tzOffsetMinutes?: unknown;
|
|
241
|
+
snapshotId?: string | undefined;
|
|
242
|
+
projectId?: string | undefined;
|
|
243
|
+
group?: "completed" | "failed" | "needs-you" | "running" | undefined;
|
|
263
244
|
offset?: unknown;
|
|
264
245
|
limit?: unknown;
|
|
265
246
|
};
|
|
266
247
|
};
|
|
267
|
-
}
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
} & {
|
|
251
|
+
"/workspace/dashboard/tasks": {
|
|
252
|
+
$get: {
|
|
268
253
|
output: {
|
|
269
254
|
snapshotId: string;
|
|
270
255
|
asOf: string;
|
|
@@ -325,11 +310,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
325
310
|
limit?: unknown;
|
|
326
311
|
};
|
|
327
312
|
};
|
|
328
|
-
}
|
|
329
|
-
};
|
|
330
|
-
} & {
|
|
331
|
-
"/workspace/dashboard/costs": {
|
|
332
|
-
$get: {
|
|
313
|
+
} | {
|
|
333
314
|
output: {
|
|
334
315
|
error: 'Dashboard changed; refresh the list';
|
|
335
316
|
code: 'snapshot-expired';
|
|
@@ -338,16 +319,17 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
338
319
|
status: 409;
|
|
339
320
|
input: {
|
|
340
321
|
query: {
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
projectId?: string | undefined;
|
|
344
|
-
snapshotId?: string | undefined;
|
|
345
|
-
tzOffsetMinutes?: unknown;
|
|
322
|
+
snapshotId: string;
|
|
323
|
+
group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
|
|
346
324
|
offset?: unknown;
|
|
347
325
|
limit?: unknown;
|
|
348
326
|
};
|
|
349
327
|
};
|
|
350
|
-
}
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
} & {
|
|
331
|
+
"/workspace/dashboard/costs": {
|
|
332
|
+
$get: {
|
|
351
333
|
output: {
|
|
352
334
|
snapshotId: string;
|
|
353
335
|
asOf: string;
|
|
@@ -453,6 +435,24 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
453
435
|
limit?: unknown;
|
|
454
436
|
};
|
|
455
437
|
};
|
|
438
|
+
} | {
|
|
439
|
+
output: {
|
|
440
|
+
error: 'Dashboard changed; refresh the list';
|
|
441
|
+
code: 'snapshot-expired';
|
|
442
|
+
};
|
|
443
|
+
outputFormat: "json";
|
|
444
|
+
status: 409;
|
|
445
|
+
input: {
|
|
446
|
+
query: {
|
|
447
|
+
period?: "30d" | "7d" | "all" | undefined;
|
|
448
|
+
sort?: "cost" | "input" | "output" | undefined;
|
|
449
|
+
projectId?: string | undefined;
|
|
450
|
+
snapshotId?: string | undefined;
|
|
451
|
+
tzOffsetMinutes?: unknown;
|
|
452
|
+
offset?: unknown;
|
|
453
|
+
limit?: unknown;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
456
|
};
|
|
457
457
|
};
|
|
458
458
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/cezar",
|
|
3
|
-
"version": "0.13.0
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"zod": "^4.4.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@open-mercato/cezar-api-client": "0.13.0
|
|
58
|
-
"@open-mercato/cezar-contract": "0.13.0
|
|
57
|
+
"@open-mercato/cezar-api-client": "^0.13.0",
|
|
58
|
+
"@open-mercato/cezar-contract": "^0.13.0",
|
|
59
59
|
"@types/node": "^20.14.0",
|
|
60
60
|
"@types/proper-lockfile": "4.1.4",
|
|
61
61
|
"@types/ws": "^8.18.1",
|