@hearsay-tools/squawk 0.18.0-pr3390.5933 → 0.18.0-pr3392.5937
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/automations/service.d.ts +1 -1
- package/dist/automations/service.js +1 -1
- package/dist/ci-wait/controller.d.ts +4 -4
- package/dist/ci-wait/controller.js +1 -1
- package/dist/ci-wait/controller.js.map +1 -1
- package/dist/ci-wait/tools.d.ts +544 -2
- package/dist/ci-wait/tools.js +147 -7
- package/dist/ci-wait/tools.js.map +1 -1
- package/dist/core/claude-cli-runner.js +1 -1
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-app-server-runner.js +1 -1
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/cursor-print-runner.js +1 -1
- package/dist/core/cursor-print-runner.js.map +1 -1
- package/dist/core/omp-runner.js +1 -1
- package/dist/core/omp-runner.js.map +1 -1
- package/dist/core/pi-runner.js +1 -1
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/delegation/routes.d.ts +12 -12
- package/dist/delegation/service.d.ts +1 -1
- package/dist/delegation/service.js +1 -1
- package/dist/delegation/transport.d.ts +9 -9
- package/dist/discovery/catalog.d.ts +2 -9
- package/dist/discovery/catalog.js +1 -18
- package/dist/discovery/catalog.js.map +1 -1
- package/dist/discovery/choices.d.ts +10 -0
- package/dist/discovery/choices.js +19 -0
- package/dist/discovery/choices.js.map +1 -0
- package/dist/preview/agent-address.js +1 -1
- package/dist/preview/agent-address.js.map +1 -1
- package/dist/preview/run-tools.js +1 -1
- package/dist/preview/run-tools.js.map +1 -1
- package/dist/serve-command.d.ts +1 -1
- package/dist/serve-command.js +1 -1
- package/dist/serve-command.js.map +1 -1
- package/dist/server/preview-cdp-socket.js +1 -1
- package/dist/server/preview-cdp-socket.js.map +1 -1
- package/dist/server/preview-socket.js +1 -1
- package/dist/server/preview-socket.js.map +1 -1
- package/dist/server/server.d.ts +34 -34
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/workflows/input-acknowledgement.d.ts +24 -24
- package/package.json +4 -4
- package/web/dist/assets/{activity-motion-C7SredQ0.js → activity-motion-XsGcc9eM.js} +2 -2
- package/web/dist/assets/{activity-route-WKqFXmCG.js → activity-route-DIDXHV7J.js} +1 -1
- package/web/dist/assets/agent-accounts-CuRvwNoA.js +18 -0
- package/web/dist/assets/commit-diff-panel-DtHg36xc.js +1 -0
- package/web/dist/assets/{control-locations-5bi8dzFR.js → control-locations-CljaLD_b.js} +1 -1
- package/web/dist/assets/dialog-Dw7fMdDQ.js +1 -0
- package/web/dist/assets/diff-ImdJ4tPA.js +3 -0
- package/web/dist/assets/{diff-view-dVGWG20n.js → diff-view-BMqNpcSH.js} +5 -5
- package/web/dist/assets/dist-DvNdR7gM.js +1 -0
- package/web/dist/assets/dropdown-menu-D7f0O7xR.js +1 -0
- package/web/dist/assets/{file-preview-oBW4ASBA.js → file-preview-C58stPPw.js} +2 -2
- package/web/dist/assets/git-toolbar-Dzp24LO7.js +1 -0
- package/web/dist/assets/github-Cn0hlJsH.js +1 -0
- package/web/dist/assets/github-sidebar-model-BSNdxNKJ.js +1 -0
- package/web/dist/assets/global-activity-route-D5ke1ZQa.js +1 -0
- package/web/dist/assets/index-lMBPAedr.js +17 -0
- package/web/dist/assets/input-DIwJvCgi.js +1 -0
- package/web/dist/assets/{popover-s-Wchzjn.js → popover-N-u5z2xh.js} +1 -1
- package/web/dist/assets/preview-pane-connected-Cl-W1pDv.js +3 -0
- package/web/dist/assets/repo-git-YYivBJ2x.js +1 -0
- package/web/dist/assets/report-reader-gGAlVnKU.js +1 -0
- package/web/dist/assets/reports-B_xpuTvK.js +1 -0
- package/web/dist/assets/run-header-CxRJxVsR.js +2 -0
- package/web/dist/assets/skills-CEFXcZA5.js +1 -0
- package/web/dist/assets/skills-DFBiAuJG.js +1 -0
- package/web/dist/assets/task-changes-Bm4gjXBb.js +1 -0
- package/web/dist/assets/task-commits-DYHV533w.js +1 -0
- package/web/dist/assets/task-files-Bqvj0rbX.js +1 -0
- package/web/dist/assets/{task-github-item-CDIQvV4G.js → task-github-item-YkTV2--_.js} +1 -1
- package/web/dist/assets/{task-thread-DavPe-c1.js → task-thread-CempX7k0.js} +7 -7
- package/web/dist/assets/thread-state-BpcneWuV.js +4 -0
- package/web/dist/assets/use-hand-to-agent-state-B9qtivFb.js +1 -0
- package/web/dist/assets/workflows-z-CqJ0JW.js +7 -0
- package/web/dist/index.html +11 -5
- package/dist/ci-wait/tool-catalog.d.ts +0 -1054
- package/dist/ci-wait/tool-catalog.js +0 -151
- package/dist/ci-wait/tool-catalog.js.map +0 -1
- package/web/dist/assets/commit-diff-panel-_eayzzg3.js +0 -1
- package/web/dist/assets/diff-BZbKoEDq.js +0 -3
- package/web/dist/assets/dropdown-menu-CjLqyqwB.js +0 -1
- package/web/dist/assets/git-toolbar-C9eP5-IR.js +0 -1
- package/web/dist/assets/github-C7eAFy8Z.js +0 -1
- package/web/dist/assets/global-activity-route-CudWwf5u.js +0 -1
- package/web/dist/assets/index-C2zVqh-_.js +0 -34
- package/web/dist/assets/preview-pane-connected-Grs87tzs.js +0 -3
- package/web/dist/assets/repo-git-BTHhCxbX.js +0 -1
- package/web/dist/assets/report-reader-Cd7xo3WG.js +0 -1
- package/web/dist/assets/reports-C9Pv9alE.js +0 -1
- package/web/dist/assets/run-header-BdNi5U9a.js +0 -2
- package/web/dist/assets/skills-BNyPCfRC.js +0 -1
- package/web/dist/assets/task-changes-B8l73QaA.js +0 -1
- package/web/dist/assets/task-commits-CYlua3YQ.js +0 -1
- package/web/dist/assets/task-files-BRKU94QM.js +0 -1
- package/web/dist/assets/thread-state-QXZqjukm.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-B0KY1uOs.js +0 -1
- package/web/dist/assets/workflows-B2KHSiUl.js +0 -7
package/dist/ci-wait/tools.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
1
|
+
import { type CezarAskAnswer, type CezarWaitAnswer } from '../contract/index.js';
|
|
2
|
+
import { z } from 'zod';
|
|
3
3
|
/**
|
|
4
4
|
* The one list of cezar tools (#781). The MCP adapter lists it, Pi's extension registers it, and
|
|
5
5
|
* every allow-list or admission site reads its names, so adding a tool is one edit here.
|
|
@@ -28,6 +28,151 @@ export type CezarTool = {
|
|
|
28
28
|
label: string;
|
|
29
29
|
invoke(input: unknown): Promise<ToolResult>;
|
|
30
30
|
};
|
|
31
|
+
/** Live preview is on under the exact value `1` only (spec 2026-10-02-live-preview-v1). */
|
|
32
|
+
export declare function previewToolEnabled(env?: NodeJS.ProcessEnv): boolean;
|
|
33
|
+
/** Automations are on unless the value is exactly `0` (spec 2026-10-02-scheduled-automations). */
|
|
34
|
+
export declare function automationsToolEnabled(env?: NodeJS.ProcessEnv): boolean;
|
|
35
|
+
export declare const waitToolDefinition: {
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
inputSchema: {
|
|
39
|
+
type: 'object';
|
|
40
|
+
properties: {
|
|
41
|
+
kind: {
|
|
42
|
+
type: string;
|
|
43
|
+
enum: ("peer" | "pr" | "process" | "request" | "timer" | "worker")[];
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
operation_id: {
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
pr: {
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
until: {
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
wake_on_conflict: {
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
worker_ids: {
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
request_ids: {
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
64
|
+
peer_ids: {
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
67
|
+
mode: {
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
timeout_seconds: {
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
seconds: {
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
pid: {
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
exit_file: {
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
82
|
+
note: {
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
required: string[];
|
|
87
|
+
additionalProperties: boolean;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* hearsay-tools/cezarion#1234: the user's answer gets its own tool, so its card is required and
|
|
92
|
+
* `cezar_wait` never has to explain a field only one kind takes. hearsay-tools/cezarion#1458: the
|
|
93
|
+
* texts are research task 77dfb5c4's tested ones; on Claude, prose between tool calls may never
|
|
94
|
+
* reach the user, so the content rides in `context`.
|
|
95
|
+
*/
|
|
96
|
+
export declare const askToolDefinition: {
|
|
97
|
+
name: string;
|
|
98
|
+
description: string;
|
|
99
|
+
inputSchema: {
|
|
100
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
101
|
+
$id?: string;
|
|
102
|
+
$anchor?: string;
|
|
103
|
+
$ref?: string;
|
|
104
|
+
$dynamicRef?: string;
|
|
105
|
+
$dynamicAnchor?: string;
|
|
106
|
+
$vocabulary?: Record<string, boolean>;
|
|
107
|
+
$comment?: string;
|
|
108
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
109
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
110
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
111
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
112
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
113
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
114
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
115
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
116
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
117
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
118
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
119
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
120
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
121
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
122
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
123
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
124
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
125
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
126
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
127
|
+
multipleOf?: number;
|
|
128
|
+
maximum?: number;
|
|
129
|
+
exclusiveMaximum?: number | boolean;
|
|
130
|
+
minimum?: number;
|
|
131
|
+
exclusiveMinimum?: number | boolean;
|
|
132
|
+
maxLength?: number;
|
|
133
|
+
minLength?: number;
|
|
134
|
+
pattern?: string;
|
|
135
|
+
maxItems?: number;
|
|
136
|
+
minItems?: number;
|
|
137
|
+
uniqueItems?: boolean;
|
|
138
|
+
maxContains?: number;
|
|
139
|
+
minContains?: number;
|
|
140
|
+
maxProperties?: number;
|
|
141
|
+
minProperties?: number;
|
|
142
|
+
required?: string[];
|
|
143
|
+
dependentRequired?: Record<string, string[]>;
|
|
144
|
+
enum?: Array<string | number | boolean | null>;
|
|
145
|
+
const?: string | number | boolean | null;
|
|
146
|
+
id?: string;
|
|
147
|
+
title?: string;
|
|
148
|
+
description?: string;
|
|
149
|
+
default?: unknown;
|
|
150
|
+
deprecated?: boolean;
|
|
151
|
+
readOnly?: boolean;
|
|
152
|
+
writeOnly?: boolean;
|
|
153
|
+
nullable?: boolean;
|
|
154
|
+
examples?: unknown[];
|
|
155
|
+
format?: string;
|
|
156
|
+
contentMediaType?: string;
|
|
157
|
+
contentEncoding?: string;
|
|
158
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
159
|
+
_prefault?: unknown;
|
|
160
|
+
"~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
|
|
161
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
162
|
+
id: z.ZodOptional<z.ZodString>;
|
|
163
|
+
header: z.ZodString;
|
|
164
|
+
question: z.ZodString;
|
|
165
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
|
+
label: z.ZodString;
|
|
167
|
+
description: z.ZodOptional<z.ZodString>;
|
|
168
|
+
}, z.core.$strict>>>;
|
|
169
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
170
|
+
}, z.core.$strict>>;
|
|
171
|
+
context: z.ZodString;
|
|
172
|
+
}, z.core.$strict>>;
|
|
173
|
+
type: 'object';
|
|
174
|
+
};
|
|
175
|
+
};
|
|
31
176
|
/**
|
|
32
177
|
* hearsay-tools/cezarion#1428: agents asked about drafts they never sent, and treated the context
|
|
33
178
|
* they cut from a rejected card as sent. Both hints say where that context belongs: `context`.
|
|
@@ -68,6 +213,76 @@ export declare function invokeAskTool(input: unknown): Promise<{
|
|
|
68
213
|
})[] | undefined;
|
|
69
214
|
};
|
|
70
215
|
}>;
|
|
216
|
+
export declare const cancelWaitToolDefinition: {
|
|
217
|
+
name: string;
|
|
218
|
+
description: string;
|
|
219
|
+
inputSchema: {
|
|
220
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
221
|
+
$id?: string;
|
|
222
|
+
$anchor?: string;
|
|
223
|
+
$ref?: string;
|
|
224
|
+
$dynamicRef?: string;
|
|
225
|
+
$dynamicAnchor?: string;
|
|
226
|
+
$vocabulary?: Record<string, boolean>;
|
|
227
|
+
$comment?: string;
|
|
228
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
229
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
230
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
231
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
232
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
233
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
234
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
235
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
236
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
237
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
238
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
239
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
240
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
241
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
242
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
243
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
244
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
245
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
246
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
247
|
+
multipleOf?: number;
|
|
248
|
+
maximum?: number;
|
|
249
|
+
exclusiveMaximum?: number | boolean;
|
|
250
|
+
minimum?: number;
|
|
251
|
+
exclusiveMinimum?: number | boolean;
|
|
252
|
+
maxLength?: number;
|
|
253
|
+
minLength?: number;
|
|
254
|
+
pattern?: string;
|
|
255
|
+
maxItems?: number;
|
|
256
|
+
minItems?: number;
|
|
257
|
+
uniqueItems?: boolean;
|
|
258
|
+
maxContains?: number;
|
|
259
|
+
minContains?: number;
|
|
260
|
+
maxProperties?: number;
|
|
261
|
+
minProperties?: number;
|
|
262
|
+
required?: string[];
|
|
263
|
+
dependentRequired?: Record<string, string[]>;
|
|
264
|
+
enum?: Array<string | number | boolean | null>;
|
|
265
|
+
const?: string | number | boolean | null;
|
|
266
|
+
id?: string;
|
|
267
|
+
title?: string;
|
|
268
|
+
description?: string;
|
|
269
|
+
default?: unknown;
|
|
270
|
+
deprecated?: boolean;
|
|
271
|
+
readOnly?: boolean;
|
|
272
|
+
writeOnly?: boolean;
|
|
273
|
+
nullable?: boolean;
|
|
274
|
+
examples?: unknown[];
|
|
275
|
+
format?: string;
|
|
276
|
+
contentMediaType?: string;
|
|
277
|
+
contentEncoding?: string;
|
|
278
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
279
|
+
_prefault?: unknown;
|
|
280
|
+
"~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
|
|
281
|
+
wait_id: z.ZodUUID;
|
|
282
|
+
}, z.core.$strict>>;
|
|
283
|
+
type: 'object';
|
|
284
|
+
};
|
|
285
|
+
};
|
|
71
286
|
/** JSON first, then one hint sentence, as `invokePreviewTool` answers. */
|
|
72
287
|
export declare function waitAnswerHint(answer: CezarWaitAnswer): string;
|
|
73
288
|
export declare function invokeWaitTool(input: unknown): Promise<{
|
|
@@ -159,6 +374,78 @@ export declare function invokeCancelWaitTool(input: unknown): Promise<{
|
|
|
159
374
|
})[] | undefined;
|
|
160
375
|
};
|
|
161
376
|
}>;
|
|
377
|
+
/** hearsay-tools/cezarion#1234: the agent declares the task (or step) done; since
|
|
378
|
+
* hearsay-tools/cezarion#2397 it is the only way to. */
|
|
379
|
+
export declare const doneToolDefinition: {
|
|
380
|
+
name: string;
|
|
381
|
+
description: string;
|
|
382
|
+
inputSchema: {
|
|
383
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
384
|
+
$id?: string;
|
|
385
|
+
$anchor?: string;
|
|
386
|
+
$ref?: string;
|
|
387
|
+
$dynamicRef?: string;
|
|
388
|
+
$dynamicAnchor?: string;
|
|
389
|
+
$vocabulary?: Record<string, boolean>;
|
|
390
|
+
$comment?: string;
|
|
391
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
392
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
393
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
394
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
395
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
396
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
397
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
398
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
399
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
400
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
401
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
402
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
403
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
404
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
405
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
406
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
407
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
408
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
409
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
410
|
+
multipleOf?: number;
|
|
411
|
+
maximum?: number;
|
|
412
|
+
exclusiveMaximum?: number | boolean;
|
|
413
|
+
minimum?: number;
|
|
414
|
+
exclusiveMinimum?: number | boolean;
|
|
415
|
+
maxLength?: number;
|
|
416
|
+
minLength?: number;
|
|
417
|
+
pattern?: string;
|
|
418
|
+
maxItems?: number;
|
|
419
|
+
minItems?: number;
|
|
420
|
+
uniqueItems?: boolean;
|
|
421
|
+
maxContains?: number;
|
|
422
|
+
minContains?: number;
|
|
423
|
+
maxProperties?: number;
|
|
424
|
+
minProperties?: number;
|
|
425
|
+
required?: string[];
|
|
426
|
+
dependentRequired?: Record<string, string[]>;
|
|
427
|
+
enum?: Array<string | number | boolean | null>;
|
|
428
|
+
const?: string | number | boolean | null;
|
|
429
|
+
id?: string;
|
|
430
|
+
title?: string;
|
|
431
|
+
description?: string;
|
|
432
|
+
default?: unknown;
|
|
433
|
+
deprecated?: boolean;
|
|
434
|
+
readOnly?: boolean;
|
|
435
|
+
writeOnly?: boolean;
|
|
436
|
+
nullable?: boolean;
|
|
437
|
+
examples?: unknown[];
|
|
438
|
+
format?: string;
|
|
439
|
+
contentMediaType?: string;
|
|
440
|
+
contentEncoding?: string;
|
|
441
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
442
|
+
_prefault?: unknown;
|
|
443
|
+
"~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
|
|
444
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
445
|
+
}, z.core.$strict>>;
|
|
446
|
+
type: 'object';
|
|
447
|
+
};
|
|
448
|
+
};
|
|
162
449
|
export declare function invokeDoneTool(input: unknown): Promise<{
|
|
163
450
|
content: {
|
|
164
451
|
type: 'text';
|
|
@@ -214,6 +501,80 @@ export declare function invokeDoneTool(input: unknown): Promise<{
|
|
|
214
501
|
})[] | undefined;
|
|
215
502
|
};
|
|
216
503
|
}>;
|
|
504
|
+
export declare const previewToolDefinition: {
|
|
505
|
+
name: string;
|
|
506
|
+
description: string;
|
|
507
|
+
inputSchema: {
|
|
508
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
509
|
+
$id?: string;
|
|
510
|
+
$anchor?: string;
|
|
511
|
+
$ref?: string;
|
|
512
|
+
$dynamicRef?: string;
|
|
513
|
+
$dynamicAnchor?: string;
|
|
514
|
+
$vocabulary?: Record<string, boolean>;
|
|
515
|
+
$comment?: string;
|
|
516
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
517
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
518
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
519
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
520
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
521
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
522
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
523
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
524
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
525
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
526
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
527
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
528
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
529
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
530
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
531
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
532
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
533
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
534
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
535
|
+
multipleOf?: number;
|
|
536
|
+
maximum?: number;
|
|
537
|
+
exclusiveMaximum?: number | boolean;
|
|
538
|
+
minimum?: number;
|
|
539
|
+
exclusiveMinimum?: number | boolean;
|
|
540
|
+
maxLength?: number;
|
|
541
|
+
minLength?: number;
|
|
542
|
+
pattern?: string;
|
|
543
|
+
maxItems?: number;
|
|
544
|
+
minItems?: number;
|
|
545
|
+
uniqueItems?: boolean;
|
|
546
|
+
maxContains?: number;
|
|
547
|
+
minContains?: number;
|
|
548
|
+
maxProperties?: number;
|
|
549
|
+
minProperties?: number;
|
|
550
|
+
required?: string[];
|
|
551
|
+
dependentRequired?: Record<string, string[]>;
|
|
552
|
+
enum?: Array<string | number | boolean | null>;
|
|
553
|
+
const?: string | number | boolean | null;
|
|
554
|
+
id?: string;
|
|
555
|
+
title?: string;
|
|
556
|
+
description?: string;
|
|
557
|
+
default?: unknown;
|
|
558
|
+
deprecated?: boolean;
|
|
559
|
+
readOnly?: boolean;
|
|
560
|
+
writeOnly?: boolean;
|
|
561
|
+
nullable?: boolean;
|
|
562
|
+
examples?: unknown[];
|
|
563
|
+
format?: string;
|
|
564
|
+
contentMediaType?: string;
|
|
565
|
+
contentEncoding?: string;
|
|
566
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
567
|
+
_prefault?: unknown;
|
|
568
|
+
"~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
|
|
569
|
+
command: z.ZodString;
|
|
570
|
+
port: z.ZodNumber;
|
|
571
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
572
|
+
label: z.ZodOptional<z.ZodString>;
|
|
573
|
+
path: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>>;
|
|
575
|
+
type: 'object';
|
|
576
|
+
};
|
|
577
|
+
};
|
|
217
578
|
/** JSON first, then the hint as a plain sentence: the shape every cezar tool answers in. */
|
|
218
579
|
export declare function invokePreviewTool(input: unknown): Promise<{
|
|
219
580
|
content: {
|
|
@@ -228,6 +589,77 @@ export declare function invokePreviewTool(input: unknown): Promise<{
|
|
|
228
589
|
hint: string;
|
|
229
590
|
};
|
|
230
591
|
}>;
|
|
592
|
+
export declare const previewStopToolDefinition: {
|
|
593
|
+
name: string;
|
|
594
|
+
description: string;
|
|
595
|
+
inputSchema: {
|
|
596
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
597
|
+
$id?: string;
|
|
598
|
+
$anchor?: string;
|
|
599
|
+
$ref?: string;
|
|
600
|
+
$dynamicRef?: string;
|
|
601
|
+
$dynamicAnchor?: string;
|
|
602
|
+
$vocabulary?: Record<string, boolean>;
|
|
603
|
+
$comment?: string;
|
|
604
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
605
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
606
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
607
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
608
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
609
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
610
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
611
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
612
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
613
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
614
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
615
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
616
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
617
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
618
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
619
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
620
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
621
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
622
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
623
|
+
multipleOf?: number;
|
|
624
|
+
maximum?: number;
|
|
625
|
+
exclusiveMaximum?: number | boolean;
|
|
626
|
+
minimum?: number;
|
|
627
|
+
exclusiveMinimum?: number | boolean;
|
|
628
|
+
maxLength?: number;
|
|
629
|
+
minLength?: number;
|
|
630
|
+
pattern?: string;
|
|
631
|
+
maxItems?: number;
|
|
632
|
+
minItems?: number;
|
|
633
|
+
uniqueItems?: boolean;
|
|
634
|
+
maxContains?: number;
|
|
635
|
+
minContains?: number;
|
|
636
|
+
maxProperties?: number;
|
|
637
|
+
minProperties?: number;
|
|
638
|
+
required?: string[];
|
|
639
|
+
dependentRequired?: Record<string, string[]>;
|
|
640
|
+
enum?: Array<string | number | boolean | null>;
|
|
641
|
+
const?: string | number | boolean | null;
|
|
642
|
+
id?: string;
|
|
643
|
+
title?: string;
|
|
644
|
+
description?: string;
|
|
645
|
+
default?: unknown;
|
|
646
|
+
deprecated?: boolean;
|
|
647
|
+
readOnly?: boolean;
|
|
648
|
+
writeOnly?: boolean;
|
|
649
|
+
nullable?: boolean;
|
|
650
|
+
examples?: unknown[];
|
|
651
|
+
format?: string;
|
|
652
|
+
contentMediaType?: string;
|
|
653
|
+
contentEncoding?: string;
|
|
654
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
655
|
+
_prefault?: unknown;
|
|
656
|
+
"~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
|
|
657
|
+
port: z.ZodNumber;
|
|
658
|
+
restart: z.ZodOptional<z.ZodBoolean>;
|
|
659
|
+
}, z.core.$strict>>;
|
|
660
|
+
type: 'object';
|
|
661
|
+
};
|
|
662
|
+
};
|
|
231
663
|
export declare function invokePreviewStopTool(input: unknown): Promise<{
|
|
232
664
|
content: {
|
|
233
665
|
type: 'text';
|
|
@@ -241,6 +673,109 @@ export declare function invokePreviewStopTool(input: unknown): Promise<{
|
|
|
241
673
|
hint: string;
|
|
242
674
|
};
|
|
243
675
|
}>;
|
|
676
|
+
/**
|
|
677
|
+
* hearsay-tools/cezarion#1465: a one-time schedule starts later as an ordinary task, so the agent
|
|
678
|
+
* does not keep a session parked on timers for days. `cezar_scheduled_tasks` takes one action per
|
|
679
|
+
* call; its union is advertised as one flat object for the same reason as `cezar_wait`.
|
|
680
|
+
*/
|
|
681
|
+
export declare const scheduleTaskToolDefinition: {
|
|
682
|
+
name: string;
|
|
683
|
+
description: string;
|
|
684
|
+
inputSchema: {
|
|
685
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
686
|
+
$id?: string;
|
|
687
|
+
$anchor?: string;
|
|
688
|
+
$ref?: string;
|
|
689
|
+
$dynamicRef?: string;
|
|
690
|
+
$dynamicAnchor?: string;
|
|
691
|
+
$vocabulary?: Record<string, boolean>;
|
|
692
|
+
$comment?: string;
|
|
693
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
694
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
695
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
696
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
697
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
698
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
699
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
700
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
701
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
702
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
703
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
704
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
705
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
706
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
707
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
708
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
709
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
710
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
711
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
712
|
+
multipleOf?: number;
|
|
713
|
+
maximum?: number;
|
|
714
|
+
exclusiveMaximum?: number | boolean;
|
|
715
|
+
minimum?: number;
|
|
716
|
+
exclusiveMinimum?: number | boolean;
|
|
717
|
+
maxLength?: number;
|
|
718
|
+
minLength?: number;
|
|
719
|
+
pattern?: string;
|
|
720
|
+
maxItems?: number;
|
|
721
|
+
minItems?: number;
|
|
722
|
+
uniqueItems?: boolean;
|
|
723
|
+
maxContains?: number;
|
|
724
|
+
minContains?: number;
|
|
725
|
+
maxProperties?: number;
|
|
726
|
+
minProperties?: number;
|
|
727
|
+
required?: string[];
|
|
728
|
+
dependentRequired?: Record<string, string[]>;
|
|
729
|
+
enum?: Array<string | number | boolean | null>;
|
|
730
|
+
const?: string | number | boolean | null;
|
|
731
|
+
id?: string;
|
|
732
|
+
title?: string;
|
|
733
|
+
description?: string;
|
|
734
|
+
default?: unknown;
|
|
735
|
+
deprecated?: boolean;
|
|
736
|
+
readOnly?: boolean;
|
|
737
|
+
writeOnly?: boolean;
|
|
738
|
+
nullable?: boolean;
|
|
739
|
+
examples?: unknown[];
|
|
740
|
+
format?: string;
|
|
741
|
+
contentMediaType?: string;
|
|
742
|
+
contentEncoding?: string;
|
|
743
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
744
|
+
_prefault?: unknown;
|
|
745
|
+
"~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
|
|
746
|
+
at: z.ZodOptional<z.ZodString>;
|
|
747
|
+
delay: z.ZodOptional<z.ZodString>;
|
|
748
|
+
latest_start: z.ZodOptional<z.ZodString>;
|
|
749
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
750
|
+
runner: z.ZodOptional<z.ZodString>;
|
|
751
|
+
model: z.ZodOptional<z.ZodString>;
|
|
752
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
753
|
+
name: z.ZodString;
|
|
754
|
+
prompt: z.ZodString;
|
|
755
|
+
enable: z.ZodOptional<z.ZodBoolean>;
|
|
756
|
+
}, z.core.$strict>>;
|
|
757
|
+
type: 'object';
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
export declare const scheduledTasksToolDefinition: {
|
|
761
|
+
name: string;
|
|
762
|
+
description: string;
|
|
763
|
+
inputSchema: {
|
|
764
|
+
type: 'object';
|
|
765
|
+
properties: {
|
|
766
|
+
action: {
|
|
767
|
+
type: string;
|
|
768
|
+
enum: ("cancel" | "enable" | "list" | "pause" | "show" | "update")[];
|
|
769
|
+
description: string;
|
|
770
|
+
};
|
|
771
|
+
archived: {
|
|
772
|
+
description: string;
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
required: string[];
|
|
776
|
+
additionalProperties: boolean;
|
|
777
|
+
};
|
|
778
|
+
};
|
|
244
779
|
export declare function invokeScheduleTaskTool(input: unknown): Promise<{
|
|
245
780
|
content: {
|
|
246
781
|
type: 'text';
|
|
@@ -300,4 +835,11 @@ export declare function invokeScheduledTasksTool(input: unknown): Promise<{
|
|
|
300
835
|
};
|
|
301
836
|
}>;
|
|
302
837
|
export declare function cezarTools(env?: NodeJS.ProcessEnv): CezarTool[];
|
|
838
|
+
export declare function cezarToolNames(env?: NodeJS.ProcessEnv): string[];
|
|
839
|
+
/**
|
|
840
|
+
* Env names a harness must forward to the adapter process. Several harnesses spawn MCP servers
|
|
841
|
+
* from an allowlist, so preview opt-in and automations opt-out must both reach the adapter.
|
|
842
|
+
*/
|
|
843
|
+
export declare function cezarToolEnvNames(env?: NodeJS.ProcessEnv): string[];
|
|
303
844
|
export declare function cezarServerInstructions(env?: NodeJS.ProcessEnv): string;
|
|
845
|
+
export {};
|