@inf-monkeys-tech/monkeys 1.0.69 → 1.0.70

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.
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "schemas": {
3
+ "workflow-column-binding": "./workflow-column-binding.schema.json",
3
4
  "agent-session-command": "./agent-session-command.schema.json",
4
5
  "agent-session-targeted-command": "./agent-session-targeted-command.schema.json",
5
6
  "agent-session-command-result": "./agent-session-command-result.schema.json",
@@ -0,0 +1,386 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "WorkflowColumnBinding"
8
+ },
9
+ "version": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "enabled": {
14
+ "type": "boolean"
15
+ },
16
+ "paused": {
17
+ "default": false,
18
+ "type": "boolean"
19
+ },
20
+ "workflow": {
21
+ "type": "object",
22
+ "properties": {
23
+ "id": {
24
+ "type": "string",
25
+ "minLength": 1,
26
+ "maxLength": 256
27
+ },
28
+ "version": {
29
+ "type": "integer",
30
+ "exclusiveMinimum": 0,
31
+ "maximum": 9007199254740991
32
+ },
33
+ "inputSchemaHash": {
34
+ "type": "string",
35
+ "pattern": "^[a-f0-9]{64}$"
36
+ }
37
+ },
38
+ "required": [
39
+ "id",
40
+ "version",
41
+ "inputSchemaHash"
42
+ ],
43
+ "additionalProperties": false
44
+ },
45
+ "inputs": {
46
+ "type": "object",
47
+ "propertyNames": {
48
+ "type": "string",
49
+ "minLength": 1,
50
+ "maxLength": 128
51
+ },
52
+ "additionalProperties": {
53
+ "anyOf": [
54
+ {
55
+ "type": "object",
56
+ "properties": {
57
+ "kind": {
58
+ "type": "string",
59
+ "const": "default"
60
+ }
61
+ },
62
+ "required": [
63
+ "kind"
64
+ ],
65
+ "additionalProperties": false
66
+ },
67
+ {
68
+ "type": "object",
69
+ "properties": {
70
+ "kind": {
71
+ "type": "string",
72
+ "const": "constant"
73
+ },
74
+ "value": {
75
+ "$ref": "#/$defs/__schema0"
76
+ }
77
+ },
78
+ "required": [
79
+ "kind",
80
+ "value"
81
+ ],
82
+ "additionalProperties": false
83
+ },
84
+ {
85
+ "type": "object",
86
+ "properties": {
87
+ "kind": {
88
+ "type": "string",
89
+ "const": "field"
90
+ },
91
+ "field": {
92
+ "type": "object",
93
+ "properties": {
94
+ "ontologyId": {
95
+ "type": "string",
96
+ "minLength": 1,
97
+ "maxLength": 256
98
+ },
99
+ "fieldKey": {
100
+ "type": "string",
101
+ "minLength": 1,
102
+ "maxLength": 256
103
+ }
104
+ },
105
+ "required": [
106
+ "ontologyId",
107
+ "fieldKey"
108
+ ],
109
+ "additionalProperties": false
110
+ }
111
+ },
112
+ "required": [
113
+ "kind",
114
+ "field"
115
+ ],
116
+ "additionalProperties": false
117
+ },
118
+ {
119
+ "type": "object",
120
+ "properties": {
121
+ "kind": {
122
+ "type": "string",
123
+ "const": "context"
124
+ },
125
+ "field": {
126
+ "type": "string",
127
+ "enum": [
128
+ "assetId",
129
+ "teamId",
130
+ "ontologyId",
131
+ "columnId"
132
+ ]
133
+ }
134
+ },
135
+ "required": [
136
+ "kind",
137
+ "field"
138
+ ],
139
+ "additionalProperties": false
140
+ }
141
+ ]
142
+ }
143
+ },
144
+ "dependencies": {
145
+ "default": [],
146
+ "maxItems": 100,
147
+ "type": "array",
148
+ "items": {
149
+ "anyOf": [
150
+ {
151
+ "type": "object",
152
+ "properties": {
153
+ "kind": {
154
+ "type": "string",
155
+ "const": "field"
156
+ },
157
+ "field": {
158
+ "type": "object",
159
+ "properties": {
160
+ "ontologyId": {
161
+ "type": "string",
162
+ "minLength": 1,
163
+ "maxLength": 256
164
+ },
165
+ "fieldKey": {
166
+ "type": "string",
167
+ "minLength": 1,
168
+ "maxLength": 256
169
+ }
170
+ },
171
+ "required": [
172
+ "ontologyId",
173
+ "fieldKey"
174
+ ],
175
+ "additionalProperties": false
176
+ }
177
+ },
178
+ "required": [
179
+ "kind",
180
+ "field"
181
+ ],
182
+ "additionalProperties": false
183
+ },
184
+ {
185
+ "type": "object",
186
+ "properties": {
187
+ "kind": {
188
+ "type": "string",
189
+ "const": "relation"
190
+ },
191
+ "relation": {
192
+ "type": "object",
193
+ "properties": {
194
+ "ontologyId": {
195
+ "type": "string",
196
+ "minLength": 1,
197
+ "maxLength": 256
198
+ },
199
+ "fieldKey": {
200
+ "type": "string",
201
+ "minLength": 1,
202
+ "maxLength": 256
203
+ }
204
+ },
205
+ "required": [
206
+ "ontologyId",
207
+ "fieldKey"
208
+ ],
209
+ "additionalProperties": false
210
+ },
211
+ "direction": {
212
+ "type": "string",
213
+ "enum": [
214
+ "incoming",
215
+ "outgoing"
216
+ ]
217
+ },
218
+ "fields": {
219
+ "maxItems": 100,
220
+ "type": "array",
221
+ "items": {
222
+ "type": "object",
223
+ "properties": {
224
+ "ontologyId": {
225
+ "type": "string",
226
+ "minLength": 1,
227
+ "maxLength": 256
228
+ },
229
+ "fieldKey": {
230
+ "type": "string",
231
+ "minLength": 1,
232
+ "maxLength": 256
233
+ }
234
+ },
235
+ "required": [
236
+ "ontologyId",
237
+ "fieldKey"
238
+ ],
239
+ "additionalProperties": false
240
+ }
241
+ }
242
+ },
243
+ "required": [
244
+ "kind",
245
+ "relation",
246
+ "direction",
247
+ "fields"
248
+ ],
249
+ "additionalProperties": false
250
+ }
251
+ ]
252
+ }
253
+ },
254
+ "output": {
255
+ "type": "object",
256
+ "properties": {
257
+ "type": {
258
+ "type": "string",
259
+ "enum": [
260
+ "number",
261
+ "text",
262
+ "json"
263
+ ]
264
+ },
265
+ "path": {
266
+ "maxItems": 20,
267
+ "type": "array",
268
+ "items": {
269
+ "type": "string",
270
+ "minLength": 1,
271
+ "maxLength": 256
272
+ }
273
+ },
274
+ "nullable": {
275
+ "default": false,
276
+ "type": "boolean"
277
+ }
278
+ },
279
+ "required": [
280
+ "type",
281
+ "path",
282
+ "nullable"
283
+ ],
284
+ "additionalProperties": false
285
+ },
286
+ "policy": {
287
+ "default": {
288
+ "debounceMs": 5000,
289
+ "maxDelayMs": 30000,
290
+ "concurrency": 2
291
+ },
292
+ "type": "object",
293
+ "properties": {
294
+ "debounceMs": {
295
+ "default": 5000,
296
+ "type": "integer",
297
+ "minimum": 0,
298
+ "maximum": 30000
299
+ },
300
+ "maxDelayMs": {
301
+ "default": 30000,
302
+ "type": "integer",
303
+ "minimum": 0,
304
+ "maximum": 30000
305
+ },
306
+ "concurrency": {
307
+ "default": 2,
308
+ "type": "integer",
309
+ "minimum": 1,
310
+ "maximum": 32
311
+ }
312
+ },
313
+ "required": [
314
+ "debounceMs",
315
+ "maxDelayMs",
316
+ "concurrency"
317
+ ],
318
+ "additionalProperties": false
319
+ },
320
+ "expiry": {
321
+ "type": "object",
322
+ "properties": {
323
+ "path": {
324
+ "maxItems": 20,
325
+ "type": "array",
326
+ "items": {
327
+ "type": "string",
328
+ "minLength": 1,
329
+ "maxLength": 256
330
+ }
331
+ }
332
+ },
333
+ "required": [
334
+ "path"
335
+ ],
336
+ "additionalProperties": false
337
+ }
338
+ },
339
+ "required": [
340
+ "contract",
341
+ "version",
342
+ "enabled",
343
+ "paused",
344
+ "workflow",
345
+ "inputs",
346
+ "dependencies",
347
+ "output",
348
+ "policy"
349
+ ],
350
+ "additionalProperties": false,
351
+ "$defs": {
352
+ "__schema0": {
353
+ "anyOf": [
354
+ {
355
+ "type": "string"
356
+ },
357
+ {
358
+ "type": "number"
359
+ },
360
+ {
361
+ "type": "boolean"
362
+ },
363
+ {
364
+ "type": "null"
365
+ },
366
+ {
367
+ "type": "array",
368
+ "items": {
369
+ "$ref": "#/$defs/__schema0"
370
+ }
371
+ },
372
+ {
373
+ "type": "object",
374
+ "propertyNames": {
375
+ "type": "string"
376
+ },
377
+ "additionalProperties": {
378
+ "$ref": "#/$defs/__schema0"
379
+ }
380
+ }
381
+ ]
382
+ }
383
+ },
384
+ "$id": "https://schemas.infmonkeys.com/contracts/workflow-column-binding.schema.json",
385
+ "title": "workflow-column-binding"
386
+ }
@@ -13,5 +13,6 @@ export * from './theme-tokens';
13
13
  export * from './view-provider-registry';
14
14
  export * from './view-render-model';
15
15
  export * from './workflow-compiler';
16
+ export * from './workflow-column';
16
17
  export * from './access-compiler';
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
@@ -29,5 +29,6 @@ __exportStar(require("./theme-tokens"), exports);
29
29
  __exportStar(require("./view-provider-registry"), exports);
30
30
  __exportStar(require("./view-render-model"), exports);
31
31
  __exportStar(require("./workflow-compiler"), exports);
32
+ __exportStar(require("./workflow-column"), exports);
32
33
  __exportStar(require("./access-compiler"), exports);
33
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,iEAA+C;AAC/C,4DAA0C;AAC1C,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,kDAAgC;AAChC,4DAA0C;AAC1C,iDAA+B;AAC/B,2DAAyC;AACzC,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,iEAA+C;AAC/C,4DAA0C;AAC1C,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,kDAAgC;AAChC,4DAA0C;AAC1C,iDAA+B;AAC/B,2DAAyC;AACzC,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC"}
@@ -0,0 +1,8 @@
1
+ import { type JsonValue } from '../contracts/common';
2
+ import { type WorkflowColumnBinding } from '../contracts/workflow-column';
3
+ export declare function parseWorkflowColumnBinding(value: unknown): WorkflowColumnBinding;
4
+ export declare function resolveWorkflowColumnResult(binding: WorkflowColumnBinding, payload: unknown, nowMs?: number): {
5
+ value: JsonValue;
6
+ expiresAt?: string;
7
+ };
8
+ //# sourceMappingURL=workflow-column.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-column.d.ts","sourceRoot":"","sources":["../../src/runtime/workflow-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,8BAA8B,CAAC;AAEtC,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG,qBAAqB,CAiBhF;AAkBD,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,qBAAqB,EAC9B,OAAO,EAAE,OAAO,EAChB,KAAK,SAAa,GACjB;IAAE,KAAK,EAAE,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAmB1C"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveWorkflowColumnResult = exports.parseWorkflowColumnBinding = void 0;
4
+ const common_1 = require("../contracts/common");
5
+ const workflow_column_1 = require("../contracts/workflow-column");
6
+ function parseWorkflowColumnBinding(value) {
7
+ const binding = workflow_column_1.WorkflowColumnBindingSchema.parse(value);
8
+ if (Object.keys(binding.inputs).length > 100)
9
+ throw new Error('Workflow column supports at most 100 input bindings.');
10
+ if (binding.policy.maxDelayMs < binding.policy.debounceMs)
11
+ throw new Error('Workflow column maxDelayMs must be at least debounceMs.');
12
+ for (const name of Object.keys(binding.inputs)) {
13
+ if (name !== name.trim() ||
14
+ name.startsWith('__') ||
15
+ name === 'constructor' ||
16
+ name === 'prototype') {
17
+ throw new Error(`Invalid Workflow input name: ${name}`);
18
+ }
19
+ }
20
+ return binding;
21
+ }
22
+ exports.parseWorkflowColumnBinding = parseWorkflowColumnBinding;
23
+ function selectOwnValue(payload, path) {
24
+ let value = payload;
25
+ for (const key of path) {
26
+ if (value === null ||
27
+ typeof value !== 'object' ||
28
+ !Object.prototype.hasOwnProperty.call(value, key)) {
29
+ throw new Error(`Workflow output is missing the configured path: ${JSON.stringify(path)}`);
30
+ }
31
+ value = value[key];
32
+ }
33
+ if (value === undefined)
34
+ throw new Error('Workflow output is absent.');
35
+ return value;
36
+ }
37
+ function resolveWorkflowColumnResult(binding, payload, nowMs = Date.now()) {
38
+ const selected = selectOwnValue(payload, binding.output.path);
39
+ if (selected === null && !binding.output.nullable)
40
+ throw new Error('Workflow output is null but this column does not allow null results.');
41
+ if (selected !== null) {
42
+ if (binding.output.type === 'number' &&
43
+ (typeof selected !== 'number' || !Number.isFinite(selected)))
44
+ throw new Error('Workflow output must be a finite number.');
45
+ if (binding.output.type === 'text' && typeof selected !== 'string')
46
+ throw new Error('Workflow output must be text.');
47
+ }
48
+ const value = common_1.JsonValueSchema.parse(selected);
49
+ if (!binding.expiry)
50
+ return { value };
51
+ const expiresAt = common_1.IsoDateTimeSchema.parse(selectOwnValue(payload, binding.expiry.path));
52
+ if (!Number.isFinite(nowMs) || Date.parse(expiresAt) <= nowMs)
53
+ throw new Error('Workflow expiry must be a future datetime.');
54
+ return { value, expiresAt };
55
+ }
56
+ exports.resolveWorkflowColumnResult = resolveWorkflowColumnResult;
57
+ //# sourceMappingURL=workflow-column.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-column.js","sourceRoot":"","sources":["../../src/runtime/workflow-column.ts"],"names":[],"mappings":"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"}
@@ -16,7 +16,77 @@ export { ResolvedThemeTokensSchema, ThemeTokenGroupSchema, ThemeTokenTypeSchema,
16
16
  export { BrandGeneticsProfileSchema, BrandBodySchema, HotwordBodySchema, ProductBodySchema, RadarActionRecordSchema, RadarAnalysisAssetSchema, RadarAnalysisDetailSchema, RadarAnalysisRunSchema, RadarDecisionMetricsSchema, RadarOpportunityMatrixSchema, RadarOpportunityMatrixPointSchema, RadarPanoramaEdgeSchema, RadarPanoramaNodeSchema, RadarPanoramaSchema, RadarQueryBodySchema, RadarScoreModelBodySchema, RadarScoreProjectionSchema, RadarSelectionSchema, RadarWritebackRecordSchema, SavedRadarQuerySchema, TrendRadarCollectionArtifactProjectionSchema, TrendRadarCollectionArtifactRefSchema, TrendRadarCollectionAssetRefSchema, TrendRadarCollectionDecisionAxisSchema, TrendRadarCollectionDecisionProjectionSchema, TrendRadarCollectionItemSchema, TrendRadarCollectionProjectionWritebackSchema, TrendRadarCollectionRecipeEntrySchema, TrendRadarCollectionRecipeSchema, TrendRadarCollectionRunRefSchema, TrendRadarCollectionSelectionRefSchema, TrendRadarCollectionSubjectRefSchema, TrendIngestRunSchema, TrendMetricSnapshotSchema, TrendSourceSchema, TrendSourceRecordSchema, } from '../contracts/trend';
17
17
  export { ConductorTaskDefinitionSchema, ConductorTaskTypeSchema, ConductorWorkflowDefinitionSchema, WorkflowDefinitionSchema, WorkflowEdgeSchema, WorkflowNodeSchema, WorkflowOutputBindingSchema, WorkflowParameterSchema, WorkflowParameterTypeSchema, WorkflowTriggerSchema, WorkflowValidationIssueSchema, } from '../contracts/workflow-definition';
18
18
  export { WorkflowCatalogEntrySchema, WorkflowCompletionCommitSchema, WorkflowCompletionReceiptSchema, WorkflowPublicationSchema, } from '../contracts/workflow-runtime';
19
+ export { WorkflowColumnBindingSchema, WorkflowColumnInputSchema, WorkflowColumnDependencySchema, WorkflowColumnOutputSchema, WorkflowColumnFieldRefSchema } from '../contracts/workflow-column';
19
20
  export declare const canonicalContractSchemas: {
21
+ readonly 'workflow-column-binding': import("zod").ZodObject<{
22
+ contract: import("zod").ZodLiteral<"WorkflowColumnBinding">;
23
+ version: import("zod").ZodLiteral<1>;
24
+ enabled: import("zod").ZodBoolean;
25
+ paused: import("zod").ZodDefault<import("zod").ZodBoolean>;
26
+ workflow: import("zod").ZodObject<{
27
+ id: import("zod").ZodString;
28
+ version: import("zod").ZodNumber;
29
+ inputSchemaHash: import("zod").ZodString;
30
+ }, import("zod/v4/core").$strict>;
31
+ inputs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
32
+ kind: import("zod").ZodLiteral<"default">;
33
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
34
+ kind: import("zod").ZodLiteral<"constant">;
35
+ value: import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>;
36
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
37
+ kind: import("zod").ZodLiteral<"field">;
38
+ field: import("zod").ZodObject<{
39
+ ontologyId: import("zod").ZodString;
40
+ fieldKey: import("zod").ZodString;
41
+ }, import("zod/v4/core").$strict>;
42
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
43
+ kind: import("zod").ZodLiteral<"context">;
44
+ field: import("zod").ZodEnum<{
45
+ teamId: "teamId";
46
+ ontologyId: "ontologyId";
47
+ assetId: "assetId";
48
+ columnId: "columnId";
49
+ }>;
50
+ }, import("zod/v4/core").$strict>], "kind">>;
51
+ dependencies: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
52
+ kind: import("zod").ZodLiteral<"field">;
53
+ field: import("zod").ZodObject<{
54
+ ontologyId: import("zod").ZodString;
55
+ fieldKey: import("zod").ZodString;
56
+ }, import("zod/v4/core").$strict>;
57
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
58
+ kind: import("zod").ZodLiteral<"relation">;
59
+ relation: import("zod").ZodObject<{
60
+ ontologyId: import("zod").ZodString;
61
+ fieldKey: import("zod").ZodString;
62
+ }, import("zod/v4/core").$strict>;
63
+ direction: import("zod").ZodEnum<{
64
+ incoming: "incoming";
65
+ outgoing: "outgoing";
66
+ }>;
67
+ fields: import("zod").ZodArray<import("zod").ZodObject<{
68
+ ontologyId: import("zod").ZodString;
69
+ fieldKey: import("zod").ZodString;
70
+ }, import("zod/v4/core").$strict>>;
71
+ }, import("zod/v4/core").$strict>], "kind">>>;
72
+ output: import("zod").ZodObject<{
73
+ type: import("zod").ZodEnum<{
74
+ number: "number";
75
+ json: "json";
76
+ text: "text";
77
+ }>;
78
+ path: import("zod").ZodArray<import("zod").ZodString>;
79
+ nullable: import("zod").ZodDefault<import("zod").ZodBoolean>;
80
+ }, import("zod/v4/core").$strict>;
81
+ policy: import("zod").ZodDefault<import("zod").ZodObject<{
82
+ debounceMs: import("zod").ZodDefault<import("zod").ZodNumber>;
83
+ maxDelayMs: import("zod").ZodDefault<import("zod").ZodNumber>;
84
+ concurrency: import("zod").ZodDefault<import("zod").ZodNumber>;
85
+ }, import("zod/v4/core").$strict>>;
86
+ expiry: import("zod").ZodOptional<import("zod").ZodObject<{
87
+ path: import("zod").ZodArray<import("zod").ZodString>;
88
+ }, import("zod/v4/core").$strict>>;
89
+ }, import("zod/v4/core").$strict>;
20
90
  readonly 'agent-session-command': import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
21
91
  contract: import("zod").ZodLiteral<"AgentSessionCommand">;
22
92
  commandId: import("zod").ZodString;