synomem 0.9.6 → 0.10.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/CHANGELOG.md +9 -0
- package/README.md +5 -3
- package/dist/actor-directory.d.ts +34 -0
- package/dist/actor-directory.d.ts.map +1 -0
- package/dist/actor-directory.js +52 -0
- package/dist/actor-directory.js.map +1 -0
- package/dist/backend.d.ts +3 -0
- package/dist/backend.d.ts.map +1 -1
- package/dist/backend.js +26 -3
- package/dist/backend.js.map +1 -1
- package/dist/bookmarks.d.ts +30 -0
- package/dist/bookmarks.d.ts.map +1 -0
- package/dist/bookmarks.js +87 -0
- package/dist/bookmarks.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +291 -61
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +115 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +854 -138
- package/dist/client.js.map +1 -1
- package/dist/cursors.d.ts +30 -0
- package/dist/cursors.d.ts.map +1 -0
- package/dist/cursors.js +101 -0
- package/dist/cursors.js.map +1 -0
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +2 -0
- package/dist/errors.js.map +1 -1
- package/dist/import.d.ts +605 -39
- package/dist/import.d.ts.map +1 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +329 -22
- package/dist/mcp/index.js.map +1 -1
- package/dist/mutation-receipts.d.ts +8 -0
- package/dist/mutation-receipts.d.ts.map +1 -0
- package/dist/mutation-receipts.js +2 -0
- package/dist/mutation-receipts.js.map +1 -0
- package/dist/notifications.d.ts +73 -0
- package/dist/notifications.d.ts.map +1 -0
- package/dist/notifications.js +309 -0
- package/dist/notifications.js.map +1 -0
- package/dist/participation-repository.d.ts +46 -0
- package/dist/participation-repository.d.ts.map +1 -0
- package/dist/participation-repository.js +296 -0
- package/dist/participation-repository.js.map +1 -0
- package/dist/participation.d.ts +97 -0
- package/dist/participation.d.ts.map +1 -0
- package/dist/participation.js +10 -0
- package/dist/participation.js.map +1 -0
- package/dist/policy.d.ts +31 -0
- package/dist/policy.d.ts.map +1 -0
- package/dist/policy.js +71 -0
- package/dist/policy.js.map +1 -0
- package/dist/ports/repository.d.ts +23 -0
- package/dist/ports/repository.d.ts.map +1 -1
- package/dist/profiles.d.ts +12 -0
- package/dist/profiles.d.ts.map +1 -1
- package/dist/profiles.js +2 -1
- package/dist/profiles.js.map +1 -1
- package/dist/projections.d.ts.map +1 -1
- package/dist/projections.js +29 -11
- package/dist/projections.js.map +1 -1
- package/dist/remote.d.ts +79 -0
- package/dist/remote.d.ts.map +1 -1
- package/dist/remote.js +65 -6
- package/dist/remote.js.map +1 -1
- package/dist/schemas.d.ts +746 -58
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +114 -16
- package/dist/schemas.js.map +1 -1
- package/dist/search.d.ts +25 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +2 -0
- package/dist/search.js.map +1 -0
- package/dist/service.d.ts +89 -0
- package/dist/service.d.ts.map +1 -1
- package/dist/storage.d.ts +38 -3
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +494 -365
- package/dist/storage.js.map +1 -1
- package/dist/types.d.ts +65 -34
- package/dist/types.d.ts.map +1 -1
- package/docs/cli.md +6 -0
- package/docs/human-participation.md +20 -0
- package/docs/mcp.md +2 -0
- package/docs/storage-format.md +4 -15
- package/openapi/synomem-v1.yaml +187 -10
- package/package.json +2 -1
- package/skills/synomem/SKILL.md +2 -0
- package/src/actor-directory.ts +87 -0
- package/src/backend.ts +29 -3
- package/src/bookmarks.ts +127 -0
- package/src/cli.ts +941 -546
- package/src/client.ts +1143 -279
- package/src/cursors.ts +132 -0
- package/src/errors.ts +2 -0
- package/src/index.ts +50 -0
- package/src/mcp/index.ts +412 -96
- package/src/mutation-receipts.ts +7 -0
- package/src/notifications.ts +483 -0
- package/src/participation-repository.ts +406 -0
- package/src/participation.ts +103 -0
- package/src/policy.ts +109 -0
- package/src/ports/repository.ts +33 -0
- package/src/profiles.ts +2 -1
- package/src/projections.ts +49 -48
- package/src/remote.ts +227 -37
- package/src/schemas.ts +116 -16
- package/src/search.ts +24 -0
- package/src/service.ts +122 -8
- package/src/storage.ts +1039 -697
- package/src/types.ts +67 -32
package/dist/schemas.d.ts
CHANGED
|
@@ -27,6 +27,13 @@ export declare const agentIdSchema: z.ZodUnion<readonly [z.ZodString, z.ZodStrin
|
|
|
27
27
|
* People type `Mike` and `mike` interchangeably, so accepting either and
|
|
28
28
|
* storing one keeps a single alias from being claimed twice in two casings.
|
|
29
29
|
*/
|
|
30
|
+
export declare const actorRefSchema: z.ZodObject<{
|
|
31
|
+
kind: z.ZodEnum<{
|
|
32
|
+
human: "human";
|
|
33
|
+
agent: "agent";
|
|
34
|
+
}>;
|
|
35
|
+
id: z.ZodString;
|
|
36
|
+
}, z.core.$strict>;
|
|
30
37
|
export declare const agentAliasSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
31
38
|
/**
|
|
32
39
|
* A name offered for lookup, which may be an ID or an alias in any casing.
|
|
@@ -166,8 +173,61 @@ export declare const kudosTitleSchema: z.ZodString;
|
|
|
166
173
|
* compile patterns outside JavaScript (ChatGPT) reject the whole tool over it.
|
|
167
174
|
*/
|
|
168
175
|
export declare const kudosTagSchema: z.ZodString;
|
|
176
|
+
export declare const overrideTaskDecisionSchema: z.ZodObject<{
|
|
177
|
+
taskId: z.ZodString;
|
|
178
|
+
expectedVersion: z.ZodNumber;
|
|
179
|
+
nextStatus: z.ZodEnum<{
|
|
180
|
+
open: "open";
|
|
181
|
+
rejected: "rejected";
|
|
182
|
+
}>;
|
|
183
|
+
reason: z.ZodString;
|
|
184
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
185
|
+
}, z.core.$strict>;
|
|
186
|
+
export declare const threadInputSchema: z.ZodObject<{
|
|
187
|
+
rootId: z.ZodString;
|
|
188
|
+
after: z.ZodOptional<z.ZodString>;
|
|
189
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
}, z.core.$strict>;
|
|
191
|
+
export declare const threadSubscriptionSchema: z.ZodObject<{
|
|
192
|
+
rootId: z.ZodString;
|
|
193
|
+
following: z.ZodBoolean;
|
|
194
|
+
muted: z.ZodBoolean;
|
|
195
|
+
}, z.core.$strict>;
|
|
196
|
+
export declare const replyCreateSchema: z.ZodObject<{
|
|
197
|
+
rootId: z.ZodString;
|
|
198
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
+
body: z.ZodString;
|
|
200
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
201
|
+
kind: z.ZodEnum<{
|
|
202
|
+
human: "human";
|
|
203
|
+
agent: "agent";
|
|
204
|
+
}>;
|
|
205
|
+
id: z.ZodString;
|
|
206
|
+
}, z.core.$strict>>>;
|
|
207
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
208
|
+
}, z.core.$strict>;
|
|
209
|
+
export declare const replyDeleteSchema: z.ZodObject<{
|
|
210
|
+
replyId: z.ZodString;
|
|
211
|
+
expectedVersion: z.ZodNumber;
|
|
212
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
213
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
214
|
+
}, z.core.$strict>;
|
|
215
|
+
export declare const reactionSetSchema: z.ZodObject<{
|
|
216
|
+
targetId: z.ZodString;
|
|
217
|
+
code: z.ZodEnum<{
|
|
218
|
+
thumbs_up: "thumbs_up";
|
|
219
|
+
eyes: "eyes";
|
|
220
|
+
complete: "complete";
|
|
221
|
+
celebrate: "celebrate";
|
|
222
|
+
laugh: "laugh";
|
|
223
|
+
thinking: "thinking";
|
|
224
|
+
useful: "useful";
|
|
225
|
+
}>;
|
|
226
|
+
present: z.ZodBoolean;
|
|
227
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
228
|
+
}, z.core.$strict>;
|
|
169
229
|
export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
170
|
-
schemaVersion: z.ZodLiteral<
|
|
230
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
171
231
|
id: z.ZodString;
|
|
172
232
|
workspaceId: z.ZodString;
|
|
173
233
|
aggregateId: z.ZodString;
|
|
@@ -182,6 +242,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
182
242
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
183
243
|
displayName: z.ZodOptional<z.ZodString>;
|
|
184
244
|
}, z.core.$strip>;
|
|
245
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
246
|
+
basis: z.ZodEnum<{
|
|
247
|
+
operator: "operator";
|
|
248
|
+
workspace_admin: "workspace_admin";
|
|
249
|
+
organization_admin: "organization_admin";
|
|
250
|
+
local_owner: "local_owner";
|
|
251
|
+
}>;
|
|
252
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
253
|
+
}, z.core.$strict>>;
|
|
185
254
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
186
255
|
source: z.ZodOptional<z.ZodObject<{
|
|
187
256
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -192,14 +261,199 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
192
261
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
193
262
|
}, z.core.$strip>>;
|
|
194
263
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
195
|
-
|
|
264
|
+
type: z.ZodLiteral<"reply.created">;
|
|
265
|
+
rootId: z.ZodString;
|
|
266
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
267
|
+
body: z.ZodString;
|
|
268
|
+
mentions: z.ZodArray<z.ZodObject<{
|
|
269
|
+
kind: z.ZodEnum<{
|
|
270
|
+
human: "human";
|
|
271
|
+
agent: "agent";
|
|
272
|
+
}>;
|
|
273
|
+
id: z.ZodString;
|
|
274
|
+
}, z.core.$strict>>;
|
|
275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
276
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
277
|
+
id: z.ZodString;
|
|
278
|
+
workspaceId: z.ZodString;
|
|
279
|
+
aggregateId: z.ZodString;
|
|
280
|
+
aggregateVersion: z.ZodNumber;
|
|
281
|
+
createdAt: z.ZodString;
|
|
282
|
+
actor: z.ZodObject<{
|
|
283
|
+
kind: z.ZodEnum<{
|
|
284
|
+
human: "human";
|
|
285
|
+
agent: "agent";
|
|
286
|
+
system: "system";
|
|
287
|
+
}>;
|
|
288
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
289
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
290
|
+
}, z.core.$strip>;
|
|
291
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
292
|
+
basis: z.ZodEnum<{
|
|
293
|
+
operator: "operator";
|
|
294
|
+
workspace_admin: "workspace_admin";
|
|
295
|
+
organization_admin: "organization_admin";
|
|
296
|
+
local_owner: "local_owner";
|
|
297
|
+
}>;
|
|
298
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
299
|
+
}, z.core.$strict>>;
|
|
300
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
301
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
302
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
303
|
+
model: z.ZodOptional<z.ZodString>;
|
|
304
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
305
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
306
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
307
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, z.core.$strip>>;
|
|
309
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
310
|
+
type: z.ZodLiteral<"reply.deleted">;
|
|
311
|
+
rootId: z.ZodString;
|
|
312
|
+
replyId: z.ZodString;
|
|
313
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
314
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
315
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
316
|
+
id: z.ZodString;
|
|
317
|
+
workspaceId: z.ZodString;
|
|
318
|
+
aggregateId: z.ZodString;
|
|
319
|
+
aggregateVersion: z.ZodNumber;
|
|
320
|
+
createdAt: z.ZodString;
|
|
321
|
+
actor: z.ZodObject<{
|
|
322
|
+
kind: z.ZodEnum<{
|
|
323
|
+
human: "human";
|
|
324
|
+
agent: "agent";
|
|
325
|
+
system: "system";
|
|
326
|
+
}>;
|
|
327
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
328
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
331
|
+
basis: z.ZodEnum<{
|
|
332
|
+
operator: "operator";
|
|
333
|
+
workspace_admin: "workspace_admin";
|
|
334
|
+
organization_admin: "organization_admin";
|
|
335
|
+
local_owner: "local_owner";
|
|
336
|
+
}>;
|
|
337
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
338
|
+
}, z.core.$strict>>;
|
|
339
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
340
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
342
|
+
model: z.ZodOptional<z.ZodString>;
|
|
343
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
344
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
345
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
346
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
347
|
+
}, z.core.$strip>>;
|
|
348
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
349
|
+
type: z.ZodLiteral<"reaction.added">;
|
|
350
|
+
rootId: z.ZodString;
|
|
351
|
+
targetId: z.ZodString;
|
|
352
|
+
code: z.ZodEnum<{
|
|
353
|
+
thumbs_up: "thumbs_up";
|
|
354
|
+
eyes: "eyes";
|
|
355
|
+
complete: "complete";
|
|
356
|
+
celebrate: "celebrate";
|
|
357
|
+
laugh: "laugh";
|
|
358
|
+
thinking: "thinking";
|
|
359
|
+
useful: "useful";
|
|
360
|
+
}>;
|
|
361
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
362
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
363
|
+
id: z.ZodString;
|
|
364
|
+
workspaceId: z.ZodString;
|
|
365
|
+
aggregateId: z.ZodString;
|
|
366
|
+
aggregateVersion: z.ZodNumber;
|
|
367
|
+
createdAt: z.ZodString;
|
|
368
|
+
actor: z.ZodObject<{
|
|
369
|
+
kind: z.ZodEnum<{
|
|
370
|
+
human: "human";
|
|
371
|
+
agent: "agent";
|
|
372
|
+
system: "system";
|
|
373
|
+
}>;
|
|
374
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
375
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
378
|
+
basis: z.ZodEnum<{
|
|
379
|
+
operator: "operator";
|
|
380
|
+
workspace_admin: "workspace_admin";
|
|
381
|
+
organization_admin: "organization_admin";
|
|
382
|
+
local_owner: "local_owner";
|
|
383
|
+
}>;
|
|
384
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
385
|
+
}, z.core.$strict>>;
|
|
386
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
387
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
388
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
389
|
+
model: z.ZodOptional<z.ZodString>;
|
|
390
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
391
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
392
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
393
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strip>>;
|
|
395
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
396
|
+
rootId: z.ZodString;
|
|
397
|
+
targetId: z.ZodString;
|
|
398
|
+
code: z.ZodEnum<{
|
|
399
|
+
thumbs_up: "thumbs_up";
|
|
400
|
+
eyes: "eyes";
|
|
401
|
+
complete: "complete";
|
|
402
|
+
celebrate: "celebrate";
|
|
403
|
+
laugh: "laugh";
|
|
404
|
+
thinking: "thinking";
|
|
405
|
+
useful: "useful";
|
|
406
|
+
}>;
|
|
407
|
+
type: z.ZodLiteral<"reaction.removed">;
|
|
408
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
409
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
410
|
+
id: z.ZodString;
|
|
411
|
+
workspaceId: z.ZodString;
|
|
412
|
+
aggregateId: z.ZodString;
|
|
413
|
+
aggregateVersion: z.ZodNumber;
|
|
414
|
+
createdAt: z.ZodString;
|
|
415
|
+
actor: z.ZodObject<{
|
|
416
|
+
kind: z.ZodEnum<{
|
|
417
|
+
human: "human";
|
|
418
|
+
agent: "agent";
|
|
419
|
+
system: "system";
|
|
420
|
+
}>;
|
|
421
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
422
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
423
|
+
}, z.core.$strip>;
|
|
424
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
basis: z.ZodEnum<{
|
|
426
|
+
operator: "operator";
|
|
427
|
+
workspace_admin: "workspace_admin";
|
|
428
|
+
organization_admin: "organization_admin";
|
|
429
|
+
local_owner: "local_owner";
|
|
430
|
+
}>;
|
|
431
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
432
|
+
}, z.core.$strict>>;
|
|
433
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
434
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
435
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
436
|
+
model: z.ZodOptional<z.ZodString>;
|
|
437
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
438
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
439
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
440
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
441
|
+
}, z.core.$strip>>;
|
|
442
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
443
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
444
|
+
kind: z.ZodEnum<{
|
|
445
|
+
human: "human";
|
|
446
|
+
agent: "agent";
|
|
447
|
+
}>;
|
|
448
|
+
id: z.ZodString;
|
|
449
|
+
}, z.core.$strict>>>;
|
|
196
450
|
title: z.ZodString;
|
|
197
451
|
body: z.ZodString;
|
|
198
452
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
199
453
|
topicIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
200
454
|
type: z.ZodLiteral<"post.created">;
|
|
201
455
|
}, z.core.$strip>, z.ZodObject<{
|
|
202
|
-
schemaVersion: z.ZodLiteral<
|
|
456
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
203
457
|
id: z.ZodString;
|
|
204
458
|
workspaceId: z.ZodString;
|
|
205
459
|
aggregateId: z.ZodString;
|
|
@@ -214,6 +468,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
214
468
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
215
469
|
displayName: z.ZodOptional<z.ZodString>;
|
|
216
470
|
}, z.core.$strip>;
|
|
471
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
472
|
+
basis: z.ZodEnum<{
|
|
473
|
+
operator: "operator";
|
|
474
|
+
workspace_admin: "workspace_admin";
|
|
475
|
+
organization_admin: "organization_admin";
|
|
476
|
+
local_owner: "local_owner";
|
|
477
|
+
}>;
|
|
478
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
479
|
+
}, z.core.$strict>>;
|
|
217
480
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
218
481
|
source: z.ZodOptional<z.ZodObject<{
|
|
219
482
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -224,6 +487,13 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
224
487
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
225
488
|
}, z.core.$strip>>;
|
|
226
489
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
490
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
491
|
+
kind: z.ZodEnum<{
|
|
492
|
+
human: "human";
|
|
493
|
+
agent: "agent";
|
|
494
|
+
}>;
|
|
495
|
+
id: z.ZodString;
|
|
496
|
+
}, z.core.$strict>>>;
|
|
227
497
|
title: z.ZodString;
|
|
228
498
|
body: z.ZodString;
|
|
229
499
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -231,7 +501,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
231
501
|
type: z.ZodLiteral<"post.edited">;
|
|
232
502
|
postId: z.ZodString;
|
|
233
503
|
}, z.core.$strip>, z.ZodObject<{
|
|
234
|
-
schemaVersion: z.ZodLiteral<
|
|
504
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
235
505
|
id: z.ZodString;
|
|
236
506
|
workspaceId: z.ZodString;
|
|
237
507
|
aggregateId: z.ZodString;
|
|
@@ -246,6 +516,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
246
516
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
247
517
|
displayName: z.ZodOptional<z.ZodString>;
|
|
248
518
|
}, z.core.$strip>;
|
|
519
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
520
|
+
basis: z.ZodEnum<{
|
|
521
|
+
operator: "operator";
|
|
522
|
+
workspace_admin: "workspace_admin";
|
|
523
|
+
organization_admin: "organization_admin";
|
|
524
|
+
local_owner: "local_owner";
|
|
525
|
+
}>;
|
|
526
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
527
|
+
}, z.core.$strict>>;
|
|
249
528
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
250
529
|
source: z.ZodOptional<z.ZodObject<{
|
|
251
530
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -260,7 +539,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
260
539
|
postId: z.ZodString;
|
|
261
540
|
reason: z.ZodOptional<z.ZodString>;
|
|
262
541
|
}, z.core.$strip>, z.ZodObject<{
|
|
263
|
-
schemaVersion: z.ZodLiteral<
|
|
542
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
264
543
|
id: z.ZodString;
|
|
265
544
|
workspaceId: z.ZodString;
|
|
266
545
|
aggregateId: z.ZodString;
|
|
@@ -275,6 +554,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
275
554
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
276
555
|
displayName: z.ZodOptional<z.ZodString>;
|
|
277
556
|
}, z.core.$strip>;
|
|
557
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
558
|
+
basis: z.ZodEnum<{
|
|
559
|
+
operator: "operator";
|
|
560
|
+
workspace_admin: "workspace_admin";
|
|
561
|
+
organization_admin: "organization_admin";
|
|
562
|
+
local_owner: "local_owner";
|
|
563
|
+
}>;
|
|
564
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
565
|
+
}, z.core.$strict>>;
|
|
278
566
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
279
567
|
source: z.ZodOptional<z.ZodObject<{
|
|
280
568
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -289,7 +577,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
289
577
|
postId: z.ZodString;
|
|
290
578
|
note: z.ZodOptional<z.ZodString>;
|
|
291
579
|
}, z.core.$strip>, z.ZodObject<{
|
|
292
|
-
schemaVersion: z.ZodLiteral<
|
|
580
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
293
581
|
id: z.ZodString;
|
|
294
582
|
workspaceId: z.ZodString;
|
|
295
583
|
aggregateId: z.ZodString;
|
|
@@ -304,6 +592,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
304
592
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
305
593
|
displayName: z.ZodOptional<z.ZodString>;
|
|
306
594
|
}, z.core.$strip>;
|
|
595
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
596
|
+
basis: z.ZodEnum<{
|
|
597
|
+
operator: "operator";
|
|
598
|
+
workspace_admin: "workspace_admin";
|
|
599
|
+
organization_admin: "organization_admin";
|
|
600
|
+
local_owner: "local_owner";
|
|
601
|
+
}>;
|
|
602
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
603
|
+
}, z.core.$strict>>;
|
|
307
604
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
308
605
|
source: z.ZodOptional<z.ZodObject<{
|
|
309
606
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -318,7 +615,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
318
615
|
postId: z.ZodString;
|
|
319
616
|
reason: z.ZodOptional<z.ZodString>;
|
|
320
617
|
}, z.core.$strip>, z.ZodObject<{
|
|
321
|
-
schemaVersion: z.ZodLiteral<
|
|
618
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
322
619
|
id: z.ZodString;
|
|
323
620
|
workspaceId: z.ZodString;
|
|
324
621
|
aggregateId: z.ZodString;
|
|
@@ -333,6 +630,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
333
630
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
334
631
|
displayName: z.ZodOptional<z.ZodString>;
|
|
335
632
|
}, z.core.$strip>;
|
|
633
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
634
|
+
basis: z.ZodEnum<{
|
|
635
|
+
operator: "operator";
|
|
636
|
+
workspace_admin: "workspace_admin";
|
|
637
|
+
organization_admin: "organization_admin";
|
|
638
|
+
local_owner: "local_owner";
|
|
639
|
+
}>;
|
|
640
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
641
|
+
}, z.core.$strict>>;
|
|
336
642
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
337
643
|
source: z.ZodOptional<z.ZodObject<{
|
|
338
644
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -344,7 +650,13 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
344
650
|
}, z.core.$strip>>;
|
|
345
651
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
346
652
|
type: z.ZodLiteral<"kudos.given">;
|
|
347
|
-
|
|
653
|
+
recipient: z.ZodObject<{
|
|
654
|
+
kind: z.ZodEnum<{
|
|
655
|
+
human: "human";
|
|
656
|
+
agent: "agent";
|
|
657
|
+
}>;
|
|
658
|
+
id: z.ZodString;
|
|
659
|
+
}, z.core.$strict>;
|
|
348
660
|
recipientDisplayName: z.ZodString;
|
|
349
661
|
title: z.ZodString;
|
|
350
662
|
reason: z.ZodString;
|
|
@@ -368,7 +680,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
368
680
|
public: "public";
|
|
369
681
|
}>;
|
|
370
682
|
}, z.core.$strip>, z.ZodObject<{
|
|
371
|
-
schemaVersion: z.ZodLiteral<
|
|
683
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
372
684
|
id: z.ZodString;
|
|
373
685
|
workspaceId: z.ZodString;
|
|
374
686
|
aggregateId: z.ZodString;
|
|
@@ -383,6 +695,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
383
695
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
384
696
|
displayName: z.ZodOptional<z.ZodString>;
|
|
385
697
|
}, z.core.$strip>;
|
|
698
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
699
|
+
basis: z.ZodEnum<{
|
|
700
|
+
operator: "operator";
|
|
701
|
+
workspace_admin: "workspace_admin";
|
|
702
|
+
organization_admin: "organization_admin";
|
|
703
|
+
local_owner: "local_owner";
|
|
704
|
+
}>;
|
|
705
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
706
|
+
}, z.core.$strict>>;
|
|
386
707
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
387
708
|
source: z.ZodOptional<z.ZodObject<{
|
|
388
709
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -395,10 +716,16 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
395
716
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
396
717
|
type: z.ZodLiteral<"kudos.acknowledged">;
|
|
397
718
|
kudosId: z.ZodString;
|
|
398
|
-
|
|
719
|
+
recipient: z.ZodObject<{
|
|
720
|
+
kind: z.ZodEnum<{
|
|
721
|
+
human: "human";
|
|
722
|
+
agent: "agent";
|
|
723
|
+
}>;
|
|
724
|
+
id: z.ZodString;
|
|
725
|
+
}, z.core.$strict>;
|
|
399
726
|
note: z.ZodOptional<z.ZodString>;
|
|
400
727
|
}, z.core.$strip>, z.ZodObject<{
|
|
401
|
-
schemaVersion: z.ZodLiteral<
|
|
728
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
402
729
|
id: z.ZodString;
|
|
403
730
|
workspaceId: z.ZodString;
|
|
404
731
|
aggregateId: z.ZodString;
|
|
@@ -413,6 +740,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
413
740
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
414
741
|
displayName: z.ZodOptional<z.ZodString>;
|
|
415
742
|
}, z.core.$strip>;
|
|
743
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
basis: z.ZodEnum<{
|
|
745
|
+
operator: "operator";
|
|
746
|
+
workspace_admin: "workspace_admin";
|
|
747
|
+
organization_admin: "organization_admin";
|
|
748
|
+
local_owner: "local_owner";
|
|
749
|
+
}>;
|
|
750
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
751
|
+
}, z.core.$strict>>;
|
|
416
752
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
417
753
|
source: z.ZodOptional<z.ZodObject<{
|
|
418
754
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -431,7 +767,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
431
767
|
administrative: "administrative";
|
|
432
768
|
}>;
|
|
433
769
|
}, z.core.$strip>, z.ZodObject<{
|
|
434
|
-
schemaVersion: z.ZodLiteral<
|
|
770
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
435
771
|
id: z.ZodString;
|
|
436
772
|
workspaceId: z.ZodString;
|
|
437
773
|
aggregateId: z.ZodString;
|
|
@@ -446,6 +782,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
446
782
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
447
783
|
displayName: z.ZodOptional<z.ZodString>;
|
|
448
784
|
}, z.core.$strip>;
|
|
785
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
786
|
+
basis: z.ZodEnum<{
|
|
787
|
+
operator: "operator";
|
|
788
|
+
workspace_admin: "workspace_admin";
|
|
789
|
+
organization_admin: "organization_admin";
|
|
790
|
+
local_owner: "local_owner";
|
|
791
|
+
}>;
|
|
792
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
793
|
+
}, z.core.$strict>>;
|
|
449
794
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
450
795
|
source: z.ZodOptional<z.ZodObject<{
|
|
451
796
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -471,7 +816,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
471
816
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
472
817
|
}, z.core.$strip>, unknown>;
|
|
473
818
|
}, z.core.$strip>, z.ZodObject<{
|
|
474
|
-
schemaVersion: z.ZodLiteral<
|
|
819
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
475
820
|
id: z.ZodString;
|
|
476
821
|
workspaceId: z.ZodString;
|
|
477
822
|
aggregateId: z.ZodString;
|
|
@@ -486,6 +831,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
486
831
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
487
832
|
displayName: z.ZodOptional<z.ZodString>;
|
|
488
833
|
}, z.core.$strip>;
|
|
834
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
835
|
+
basis: z.ZodEnum<{
|
|
836
|
+
operator: "operator";
|
|
837
|
+
workspace_admin: "workspace_admin";
|
|
838
|
+
organization_admin: "organization_admin";
|
|
839
|
+
local_owner: "local_owner";
|
|
840
|
+
}>;
|
|
841
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
842
|
+
}, z.core.$strict>>;
|
|
489
843
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
490
844
|
source: z.ZodOptional<z.ZodObject<{
|
|
491
845
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -510,7 +864,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
510
864
|
}>>;
|
|
511
865
|
}, z.core.$strict>;
|
|
512
866
|
}, z.core.$strip>, z.ZodObject<{
|
|
513
|
-
schemaVersion: z.ZodLiteral<
|
|
867
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
514
868
|
id: z.ZodString;
|
|
515
869
|
workspaceId: z.ZodString;
|
|
516
870
|
aggregateId: z.ZodString;
|
|
@@ -525,6 +879,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
525
879
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
526
880
|
displayName: z.ZodOptional<z.ZodString>;
|
|
527
881
|
}, z.core.$strip>;
|
|
882
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
883
|
+
basis: z.ZodEnum<{
|
|
884
|
+
operator: "operator";
|
|
885
|
+
workspace_admin: "workspace_admin";
|
|
886
|
+
organization_admin: "organization_admin";
|
|
887
|
+
local_owner: "local_owner";
|
|
888
|
+
}>;
|
|
889
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
890
|
+
}, z.core.$strict>>;
|
|
528
891
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
529
892
|
source: z.ZodOptional<z.ZodObject<{
|
|
530
893
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -547,7 +910,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
547
910
|
createdAt: z.ZodString;
|
|
548
911
|
}, z.core.$strip>;
|
|
549
912
|
}, z.core.$strip>, z.ZodObject<{
|
|
550
|
-
schemaVersion: z.ZodLiteral<
|
|
913
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
551
914
|
id: z.ZodString;
|
|
552
915
|
workspaceId: z.ZodString;
|
|
553
916
|
aggregateId: z.ZodString;
|
|
@@ -562,6 +925,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
562
925
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
563
926
|
displayName: z.ZodOptional<z.ZodString>;
|
|
564
927
|
}, z.core.$strip>;
|
|
928
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
929
|
+
basis: z.ZodEnum<{
|
|
930
|
+
operator: "operator";
|
|
931
|
+
workspace_admin: "workspace_admin";
|
|
932
|
+
organization_admin: "organization_admin";
|
|
933
|
+
local_owner: "local_owner";
|
|
934
|
+
}>;
|
|
935
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
936
|
+
}, z.core.$strict>>;
|
|
565
937
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
566
938
|
source: z.ZodOptional<z.ZodObject<{
|
|
567
939
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -583,7 +955,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
583
955
|
}>>;
|
|
584
956
|
}, z.core.$strict>;
|
|
585
957
|
}, z.core.$strip>, z.ZodObject<{
|
|
586
|
-
schemaVersion: z.ZodLiteral<
|
|
958
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
587
959
|
id: z.ZodString;
|
|
588
960
|
workspaceId: z.ZodString;
|
|
589
961
|
aggregateId: z.ZodString;
|
|
@@ -598,6 +970,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
598
970
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
599
971
|
displayName: z.ZodOptional<z.ZodString>;
|
|
600
972
|
}, z.core.$strip>;
|
|
973
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
974
|
+
basis: z.ZodEnum<{
|
|
975
|
+
operator: "operator";
|
|
976
|
+
workspace_admin: "workspace_admin";
|
|
977
|
+
organization_admin: "organization_admin";
|
|
978
|
+
local_owner: "local_owner";
|
|
979
|
+
}>;
|
|
980
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
981
|
+
}, z.core.$strict>>;
|
|
601
982
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
602
983
|
source: z.ZodOptional<z.ZodObject<{
|
|
603
984
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -609,7 +990,13 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
609
990
|
}, z.core.$strip>>;
|
|
610
991
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
611
992
|
type: z.ZodLiteral<"memo.sent">;
|
|
612
|
-
|
|
993
|
+
recipient: z.ZodObject<{
|
|
994
|
+
kind: z.ZodEnum<{
|
|
995
|
+
human: "human";
|
|
996
|
+
agent: "agent";
|
|
997
|
+
}>;
|
|
998
|
+
id: z.ZodString;
|
|
999
|
+
}, z.core.$strict>;
|
|
613
1000
|
recipientDisplayName: z.ZodString;
|
|
614
1001
|
subject: z.ZodString;
|
|
615
1002
|
body: z.ZodString;
|
|
@@ -621,7 +1008,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
621
1008
|
public: "public";
|
|
622
1009
|
}>;
|
|
623
1010
|
}, z.core.$strip>, z.ZodObject<{
|
|
624
|
-
schemaVersion: z.ZodLiteral<
|
|
1011
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
625
1012
|
id: z.ZodString;
|
|
626
1013
|
workspaceId: z.ZodString;
|
|
627
1014
|
aggregateId: z.ZodString;
|
|
@@ -636,6 +1023,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
636
1023
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
637
1024
|
displayName: z.ZodOptional<z.ZodString>;
|
|
638
1025
|
}, z.core.$strip>;
|
|
1026
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1027
|
+
basis: z.ZodEnum<{
|
|
1028
|
+
operator: "operator";
|
|
1029
|
+
workspace_admin: "workspace_admin";
|
|
1030
|
+
organization_admin: "organization_admin";
|
|
1031
|
+
local_owner: "local_owner";
|
|
1032
|
+
}>;
|
|
1033
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
}, z.core.$strict>>;
|
|
639
1035
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
640
1036
|
source: z.ZodOptional<z.ZodObject<{
|
|
641
1037
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -648,9 +1044,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
648
1044
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
649
1045
|
type: z.ZodLiteral<"memo.read">;
|
|
650
1046
|
memoId: z.ZodString;
|
|
651
|
-
|
|
1047
|
+
recipient: z.ZodObject<{
|
|
1048
|
+
kind: z.ZodEnum<{
|
|
1049
|
+
human: "human";
|
|
1050
|
+
agent: "agent";
|
|
1051
|
+
}>;
|
|
1052
|
+
id: z.ZodString;
|
|
1053
|
+
}, z.core.$strict>;
|
|
652
1054
|
}, z.core.$strip>, z.ZodObject<{
|
|
653
|
-
schemaVersion: z.ZodLiteral<
|
|
1055
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
654
1056
|
id: z.ZodString;
|
|
655
1057
|
workspaceId: z.ZodString;
|
|
656
1058
|
aggregateId: z.ZodString;
|
|
@@ -665,6 +1067,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
665
1067
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
666
1068
|
displayName: z.ZodOptional<z.ZodString>;
|
|
667
1069
|
}, z.core.$strip>;
|
|
1070
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1071
|
+
basis: z.ZodEnum<{
|
|
1072
|
+
operator: "operator";
|
|
1073
|
+
workspace_admin: "workspace_admin";
|
|
1074
|
+
organization_admin: "organization_admin";
|
|
1075
|
+
local_owner: "local_owner";
|
|
1076
|
+
}>;
|
|
1077
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1078
|
+
}, z.core.$strict>>;
|
|
668
1079
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
669
1080
|
source: z.ZodOptional<z.ZodObject<{
|
|
670
1081
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -677,9 +1088,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
677
1088
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
678
1089
|
type: z.ZodLiteral<"memo.archived">;
|
|
679
1090
|
memoId: z.ZodString;
|
|
680
|
-
|
|
1091
|
+
recipient: z.ZodObject<{
|
|
1092
|
+
kind: z.ZodEnum<{
|
|
1093
|
+
human: "human";
|
|
1094
|
+
agent: "agent";
|
|
1095
|
+
}>;
|
|
1096
|
+
id: z.ZodString;
|
|
1097
|
+
}, z.core.$strict>;
|
|
681
1098
|
}, z.core.$strip>, z.ZodObject<{
|
|
682
|
-
schemaVersion: z.ZodLiteral<
|
|
1099
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
683
1100
|
id: z.ZodString;
|
|
684
1101
|
workspaceId: z.ZodString;
|
|
685
1102
|
aggregateId: z.ZodString;
|
|
@@ -694,6 +1111,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
694
1111
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
695
1112
|
displayName: z.ZodOptional<z.ZodString>;
|
|
696
1113
|
}, z.core.$strip>;
|
|
1114
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1115
|
+
basis: z.ZodEnum<{
|
|
1116
|
+
operator: "operator";
|
|
1117
|
+
workspace_admin: "workspace_admin";
|
|
1118
|
+
organization_admin: "organization_admin";
|
|
1119
|
+
local_owner: "local_owner";
|
|
1120
|
+
}>;
|
|
1121
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
}, z.core.$strict>>;
|
|
697
1123
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
698
1124
|
source: z.ZodOptional<z.ZodObject<{
|
|
699
1125
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -705,7 +1131,13 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
705
1131
|
}, z.core.$strip>>;
|
|
706
1132
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
707
1133
|
type: z.ZodLiteral<"note.created">;
|
|
708
|
-
|
|
1134
|
+
owner: z.ZodObject<{
|
|
1135
|
+
kind: z.ZodEnum<{
|
|
1136
|
+
human: "human";
|
|
1137
|
+
agent: "agent";
|
|
1138
|
+
}>;
|
|
1139
|
+
id: z.ZodString;
|
|
1140
|
+
}, z.core.$strict>;
|
|
709
1141
|
ownerDisplayName: z.ZodString;
|
|
710
1142
|
title: z.ZodString;
|
|
711
1143
|
body: z.ZodString;
|
|
@@ -713,7 +1145,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
713
1145
|
topicIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
714
1146
|
visibility: z.ZodLiteral<"private">;
|
|
715
1147
|
}, z.core.$strip>, z.ZodObject<{
|
|
716
|
-
schemaVersion: z.ZodLiteral<
|
|
1148
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
717
1149
|
id: z.ZodString;
|
|
718
1150
|
workspaceId: z.ZodString;
|
|
719
1151
|
aggregateId: z.ZodString;
|
|
@@ -728,6 +1160,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
728
1160
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
729
1161
|
displayName: z.ZodOptional<z.ZodString>;
|
|
730
1162
|
}, z.core.$strip>;
|
|
1163
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1164
|
+
basis: z.ZodEnum<{
|
|
1165
|
+
operator: "operator";
|
|
1166
|
+
workspace_admin: "workspace_admin";
|
|
1167
|
+
organization_admin: "organization_admin";
|
|
1168
|
+
local_owner: "local_owner";
|
|
1169
|
+
}>;
|
|
1170
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
}, z.core.$strict>>;
|
|
731
1172
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
732
1173
|
source: z.ZodOptional<z.ZodObject<{
|
|
733
1174
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -746,7 +1187,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
746
1187
|
topicIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
747
1188
|
visibility: z.ZodLiteral<"private">;
|
|
748
1189
|
}, z.core.$strip>, z.ZodObject<{
|
|
749
|
-
schemaVersion: z.ZodLiteral<
|
|
1190
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
750
1191
|
id: z.ZodString;
|
|
751
1192
|
workspaceId: z.ZodString;
|
|
752
1193
|
aggregateId: z.ZodString;
|
|
@@ -761,6 +1202,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
761
1202
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
762
1203
|
displayName: z.ZodOptional<z.ZodString>;
|
|
763
1204
|
}, z.core.$strip>;
|
|
1205
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1206
|
+
basis: z.ZodEnum<{
|
|
1207
|
+
operator: "operator";
|
|
1208
|
+
workspace_admin: "workspace_admin";
|
|
1209
|
+
organization_admin: "organization_admin";
|
|
1210
|
+
local_owner: "local_owner";
|
|
1211
|
+
}>;
|
|
1212
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1213
|
+
}, z.core.$strict>>;
|
|
764
1214
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
765
1215
|
source: z.ZodOptional<z.ZodObject<{
|
|
766
1216
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -774,7 +1224,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
774
1224
|
type: z.ZodLiteral<"note.archived">;
|
|
775
1225
|
noteId: z.ZodString;
|
|
776
1226
|
}, z.core.$strip>, z.ZodObject<{
|
|
777
|
-
schemaVersion: z.ZodLiteral<
|
|
1227
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
778
1228
|
id: z.ZodString;
|
|
779
1229
|
workspaceId: z.ZodString;
|
|
780
1230
|
aggregateId: z.ZodString;
|
|
@@ -789,6 +1239,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
789
1239
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
790
1240
|
displayName: z.ZodOptional<z.ZodString>;
|
|
791
1241
|
}, z.core.$strip>;
|
|
1242
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1243
|
+
basis: z.ZodEnum<{
|
|
1244
|
+
operator: "operator";
|
|
1245
|
+
workspace_admin: "workspace_admin";
|
|
1246
|
+
organization_admin: "organization_admin";
|
|
1247
|
+
local_owner: "local_owner";
|
|
1248
|
+
}>;
|
|
1249
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
}, z.core.$strict>>;
|
|
792
1251
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
793
1252
|
source: z.ZodOptional<z.ZodObject<{
|
|
794
1253
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -818,11 +1277,17 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
818
1277
|
public: "public";
|
|
819
1278
|
}>;
|
|
820
1279
|
type: z.ZodLiteral<"task.created">;
|
|
821
|
-
|
|
1280
|
+
assignee: z.ZodObject<{
|
|
1281
|
+
kind: z.ZodEnum<{
|
|
1282
|
+
human: "human";
|
|
1283
|
+
agent: "agent";
|
|
1284
|
+
}>;
|
|
1285
|
+
id: z.ZodString;
|
|
1286
|
+
}, z.core.$strict>;
|
|
822
1287
|
assigneeDisplayName: z.ZodString;
|
|
823
1288
|
requiresAcceptance: z.ZodBoolean;
|
|
824
1289
|
}, z.core.$strip>, z.ZodObject<{
|
|
825
|
-
schemaVersion: z.ZodLiteral<
|
|
1290
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
826
1291
|
id: z.ZodString;
|
|
827
1292
|
workspaceId: z.ZodString;
|
|
828
1293
|
aggregateId: z.ZodString;
|
|
@@ -837,6 +1302,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
837
1302
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
838
1303
|
displayName: z.ZodOptional<z.ZodString>;
|
|
839
1304
|
}, z.core.$strip>;
|
|
1305
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1306
|
+
basis: z.ZodEnum<{
|
|
1307
|
+
operator: "operator";
|
|
1308
|
+
workspace_admin: "workspace_admin";
|
|
1309
|
+
organization_admin: "organization_admin";
|
|
1310
|
+
local_owner: "local_owner";
|
|
1311
|
+
}>;
|
|
1312
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
}, z.core.$strict>>;
|
|
840
1314
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
841
1315
|
source: z.ZodOptional<z.ZodObject<{
|
|
842
1316
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -868,7 +1342,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
868
1342
|
type: z.ZodLiteral<"task.updated">;
|
|
869
1343
|
taskId: z.ZodString;
|
|
870
1344
|
}, z.core.$strip>, z.ZodObject<{
|
|
871
|
-
schemaVersion: z.ZodLiteral<
|
|
1345
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
872
1346
|
id: z.ZodString;
|
|
873
1347
|
workspaceId: z.ZodString;
|
|
874
1348
|
aggregateId: z.ZodString;
|
|
@@ -883,6 +1357,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
883
1357
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
884
1358
|
displayName: z.ZodOptional<z.ZodString>;
|
|
885
1359
|
}, z.core.$strip>;
|
|
1360
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1361
|
+
basis: z.ZodEnum<{
|
|
1362
|
+
operator: "operator";
|
|
1363
|
+
workspace_admin: "workspace_admin";
|
|
1364
|
+
organization_admin: "organization_admin";
|
|
1365
|
+
local_owner: "local_owner";
|
|
1366
|
+
}>;
|
|
1367
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1368
|
+
}, z.core.$strict>>;
|
|
886
1369
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
887
1370
|
source: z.ZodOptional<z.ZodObject<{
|
|
888
1371
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -897,7 +1380,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
897
1380
|
taskId: z.ZodString;
|
|
898
1381
|
note: z.ZodOptional<z.ZodString>;
|
|
899
1382
|
}, z.core.$strip>, z.ZodObject<{
|
|
900
|
-
schemaVersion: z.ZodLiteral<
|
|
1383
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
901
1384
|
id: z.ZodString;
|
|
902
1385
|
workspaceId: z.ZodString;
|
|
903
1386
|
aggregateId: z.ZodString;
|
|
@@ -912,6 +1395,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
912
1395
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
913
1396
|
displayName: z.ZodOptional<z.ZodString>;
|
|
914
1397
|
}, z.core.$strip>;
|
|
1398
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1399
|
+
basis: z.ZodEnum<{
|
|
1400
|
+
operator: "operator";
|
|
1401
|
+
workspace_admin: "workspace_admin";
|
|
1402
|
+
organization_admin: "organization_admin";
|
|
1403
|
+
local_owner: "local_owner";
|
|
1404
|
+
}>;
|
|
1405
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
}, z.core.$strict>>;
|
|
915
1407
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
916
1408
|
source: z.ZodOptional<z.ZodObject<{
|
|
917
1409
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -925,7 +1417,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
925
1417
|
type: z.ZodLiteral<"task.reopened">;
|
|
926
1418
|
taskId: z.ZodString;
|
|
927
1419
|
}, z.core.$strip>, z.ZodObject<{
|
|
928
|
-
schemaVersion: z.ZodLiteral<
|
|
1420
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
929
1421
|
id: z.ZodString;
|
|
930
1422
|
workspaceId: z.ZodString;
|
|
931
1423
|
aggregateId: z.ZodString;
|
|
@@ -940,6 +1432,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
940
1432
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
941
1433
|
displayName: z.ZodOptional<z.ZodString>;
|
|
942
1434
|
}, z.core.$strip>;
|
|
1435
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1436
|
+
basis: z.ZodEnum<{
|
|
1437
|
+
operator: "operator";
|
|
1438
|
+
workspace_admin: "workspace_admin";
|
|
1439
|
+
organization_admin: "organization_admin";
|
|
1440
|
+
local_owner: "local_owner";
|
|
1441
|
+
}>;
|
|
1442
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
}, z.core.$strict>>;
|
|
943
1444
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
944
1445
|
source: z.ZodOptional<z.ZodObject<{
|
|
945
1446
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -954,7 +1455,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
954
1455
|
taskId: z.ZodString;
|
|
955
1456
|
response: z.ZodOptional<z.ZodString>;
|
|
956
1457
|
}, z.core.$strip>, z.ZodObject<{
|
|
957
|
-
schemaVersion: z.ZodLiteral<
|
|
1458
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
958
1459
|
id: z.ZodString;
|
|
959
1460
|
workspaceId: z.ZodString;
|
|
960
1461
|
aggregateId: z.ZodString;
|
|
@@ -969,6 +1470,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
969
1470
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
970
1471
|
displayName: z.ZodOptional<z.ZodString>;
|
|
971
1472
|
}, z.core.$strip>;
|
|
1473
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1474
|
+
basis: z.ZodEnum<{
|
|
1475
|
+
operator: "operator";
|
|
1476
|
+
workspace_admin: "workspace_admin";
|
|
1477
|
+
organization_admin: "organization_admin";
|
|
1478
|
+
local_owner: "local_owner";
|
|
1479
|
+
}>;
|
|
1480
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
}, z.core.$strict>>;
|
|
972
1482
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
973
1483
|
source: z.ZodOptional<z.ZodObject<{
|
|
974
1484
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -983,7 +1493,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
983
1493
|
taskId: z.ZodString;
|
|
984
1494
|
response: z.ZodString;
|
|
985
1495
|
}, z.core.$strip>, z.ZodObject<{
|
|
986
|
-
schemaVersion: z.ZodLiteral<
|
|
1496
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
987
1497
|
id: z.ZodString;
|
|
988
1498
|
workspaceId: z.ZodString;
|
|
989
1499
|
aggregateId: z.ZodString;
|
|
@@ -998,6 +1508,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
998
1508
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
999
1509
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1000
1510
|
}, z.core.$strip>;
|
|
1511
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1512
|
+
basis: z.ZodEnum<{
|
|
1513
|
+
operator: "operator";
|
|
1514
|
+
workspace_admin: "workspace_admin";
|
|
1515
|
+
organization_admin: "organization_admin";
|
|
1516
|
+
local_owner: "local_owner";
|
|
1517
|
+
}>;
|
|
1518
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1519
|
+
}, z.core.$strict>>;
|
|
1001
1520
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1002
1521
|
source: z.ZodOptional<z.ZodObject<{
|
|
1003
1522
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1012,7 +1531,53 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1012
1531
|
taskId: z.ZodString;
|
|
1013
1532
|
reason: z.ZodOptional<z.ZodString>;
|
|
1014
1533
|
}, z.core.$strip>, z.ZodObject<{
|
|
1015
|
-
schemaVersion: z.ZodLiteral<
|
|
1534
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1535
|
+
id: z.ZodString;
|
|
1536
|
+
workspaceId: z.ZodString;
|
|
1537
|
+
aggregateId: z.ZodString;
|
|
1538
|
+
aggregateVersion: z.ZodNumber;
|
|
1539
|
+
createdAt: z.ZodString;
|
|
1540
|
+
actor: z.ZodObject<{
|
|
1541
|
+
kind: z.ZodEnum<{
|
|
1542
|
+
human: "human";
|
|
1543
|
+
agent: "agent";
|
|
1544
|
+
system: "system";
|
|
1545
|
+
}>;
|
|
1546
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1547
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1548
|
+
}, z.core.$strip>;
|
|
1549
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1550
|
+
basis: z.ZodEnum<{
|
|
1551
|
+
operator: "operator";
|
|
1552
|
+
workspace_admin: "workspace_admin";
|
|
1553
|
+
organization_admin: "organization_admin";
|
|
1554
|
+
local_owner: "local_owner";
|
|
1555
|
+
}>;
|
|
1556
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1557
|
+
}, z.core.$strict>>;
|
|
1558
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1560
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1563
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
}, z.core.$strip>>;
|
|
1567
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1568
|
+
type: z.ZodLiteral<"task.decision_overridden">;
|
|
1569
|
+
taskId: z.ZodString;
|
|
1570
|
+
previousStatus: z.ZodEnum<{
|
|
1571
|
+
open: "open";
|
|
1572
|
+
rejected: "rejected";
|
|
1573
|
+
}>;
|
|
1574
|
+
nextStatus: z.ZodEnum<{
|
|
1575
|
+
open: "open";
|
|
1576
|
+
rejected: "rejected";
|
|
1577
|
+
}>;
|
|
1578
|
+
reason: z.ZodString;
|
|
1579
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1580
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1016
1581
|
id: z.ZodString;
|
|
1017
1582
|
workspaceId: z.ZodString;
|
|
1018
1583
|
aggregateId: z.ZodString;
|
|
@@ -1027,6 +1592,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1027
1592
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1028
1593
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1029
1594
|
}, z.core.$strip>;
|
|
1595
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1596
|
+
basis: z.ZodEnum<{
|
|
1597
|
+
operator: "operator";
|
|
1598
|
+
workspace_admin: "workspace_admin";
|
|
1599
|
+
organization_admin: "organization_admin";
|
|
1600
|
+
local_owner: "local_owner";
|
|
1601
|
+
}>;
|
|
1602
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
}, z.core.$strict>>;
|
|
1030
1604
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1031
1605
|
source: z.ZodOptional<z.ZodObject<{
|
|
1032
1606
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1051,8 +1625,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1051
1625
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1052
1626
|
topicIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1053
1627
|
type: z.ZodLiteral<"todo.created">;
|
|
1628
|
+
owner: z.ZodObject<{
|
|
1629
|
+
kind: z.ZodEnum<{
|
|
1630
|
+
human: "human";
|
|
1631
|
+
agent: "agent";
|
|
1632
|
+
}>;
|
|
1633
|
+
id: z.ZodString;
|
|
1634
|
+
}, z.core.$strict>;
|
|
1054
1635
|
}, z.core.$strip>, z.ZodObject<{
|
|
1055
|
-
schemaVersion: z.ZodLiteral<
|
|
1636
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1056
1637
|
id: z.ZodString;
|
|
1057
1638
|
workspaceId: z.ZodString;
|
|
1058
1639
|
aggregateId: z.ZodString;
|
|
@@ -1067,6 +1648,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1067
1648
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1068
1649
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1069
1650
|
}, z.core.$strip>;
|
|
1651
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1652
|
+
basis: z.ZodEnum<{
|
|
1653
|
+
operator: "operator";
|
|
1654
|
+
workspace_admin: "workspace_admin";
|
|
1655
|
+
organization_admin: "organization_admin";
|
|
1656
|
+
local_owner: "local_owner";
|
|
1657
|
+
}>;
|
|
1658
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1659
|
+
}, z.core.$strict>>;
|
|
1070
1660
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1071
1661
|
source: z.ZodOptional<z.ZodObject<{
|
|
1072
1662
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1093,7 +1683,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1093
1683
|
type: z.ZodLiteral<"todo.updated">;
|
|
1094
1684
|
todoId: z.ZodString;
|
|
1095
1685
|
}, z.core.$strip>, z.ZodObject<{
|
|
1096
|
-
schemaVersion: z.ZodLiteral<
|
|
1686
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1097
1687
|
id: z.ZodString;
|
|
1098
1688
|
workspaceId: z.ZodString;
|
|
1099
1689
|
aggregateId: z.ZodString;
|
|
@@ -1108,6 +1698,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1108
1698
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1109
1699
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1110
1700
|
}, z.core.$strip>;
|
|
1701
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1702
|
+
basis: z.ZodEnum<{
|
|
1703
|
+
operator: "operator";
|
|
1704
|
+
workspace_admin: "workspace_admin";
|
|
1705
|
+
organization_admin: "organization_admin";
|
|
1706
|
+
local_owner: "local_owner";
|
|
1707
|
+
}>;
|
|
1708
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
}, z.core.$strict>>;
|
|
1111
1710
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1112
1711
|
source: z.ZodOptional<z.ZodObject<{
|
|
1113
1712
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1122,7 +1721,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1122
1721
|
todoId: z.ZodString;
|
|
1123
1722
|
note: z.ZodOptional<z.ZodString>;
|
|
1124
1723
|
}, z.core.$strip>, z.ZodObject<{
|
|
1125
|
-
schemaVersion: z.ZodLiteral<
|
|
1724
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1126
1725
|
id: z.ZodString;
|
|
1127
1726
|
workspaceId: z.ZodString;
|
|
1128
1727
|
aggregateId: z.ZodString;
|
|
@@ -1137,6 +1736,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1137
1736
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1138
1737
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1139
1738
|
}, z.core.$strip>;
|
|
1739
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1740
|
+
basis: z.ZodEnum<{
|
|
1741
|
+
operator: "operator";
|
|
1742
|
+
workspace_admin: "workspace_admin";
|
|
1743
|
+
organization_admin: "organization_admin";
|
|
1744
|
+
local_owner: "local_owner";
|
|
1745
|
+
}>;
|
|
1746
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1747
|
+
}, z.core.$strict>>;
|
|
1140
1748
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1141
1749
|
source: z.ZodOptional<z.ZodObject<{
|
|
1142
1750
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1150,7 +1758,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1150
1758
|
type: z.ZodLiteral<"todo.reopened">;
|
|
1151
1759
|
todoId: z.ZodString;
|
|
1152
1760
|
}, z.core.$strip>, z.ZodObject<{
|
|
1153
|
-
schemaVersion: z.ZodLiteral<
|
|
1761
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1154
1762
|
id: z.ZodString;
|
|
1155
1763
|
workspaceId: z.ZodString;
|
|
1156
1764
|
aggregateId: z.ZodString;
|
|
@@ -1165,6 +1773,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1165
1773
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1166
1774
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1167
1775
|
}, z.core.$strip>;
|
|
1776
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1777
|
+
basis: z.ZodEnum<{
|
|
1778
|
+
operator: "operator";
|
|
1779
|
+
workspace_admin: "workspace_admin";
|
|
1780
|
+
organization_admin: "organization_admin";
|
|
1781
|
+
local_owner: "local_owner";
|
|
1782
|
+
}>;
|
|
1783
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
}, z.core.$strict>>;
|
|
1168
1785
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1169
1786
|
source: z.ZodOptional<z.ZodObject<{
|
|
1170
1787
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1179,7 +1796,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1179
1796
|
todoId: z.ZodString;
|
|
1180
1797
|
reason: z.ZodOptional<z.ZodString>;
|
|
1181
1798
|
}, z.core.$strip>, z.ZodObject<{
|
|
1182
|
-
schemaVersion: z.ZodLiteral<
|
|
1799
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1183
1800
|
id: z.ZodString;
|
|
1184
1801
|
workspaceId: z.ZodString;
|
|
1185
1802
|
aggregateId: z.ZodString;
|
|
@@ -1194,6 +1811,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1194
1811
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1195
1812
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1196
1813
|
}, z.core.$strip>;
|
|
1814
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1815
|
+
basis: z.ZodEnum<{
|
|
1816
|
+
operator: "operator";
|
|
1817
|
+
workspace_admin: "workspace_admin";
|
|
1818
|
+
organization_admin: "organization_admin";
|
|
1819
|
+
local_owner: "local_owner";
|
|
1820
|
+
}>;
|
|
1821
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1822
|
+
}, z.core.$strict>>;
|
|
1197
1823
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1198
1824
|
source: z.ZodOptional<z.ZodObject<{
|
|
1199
1825
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1208,14 +1834,13 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1208
1834
|
todoId: z.ZodString;
|
|
1209
1835
|
}, z.core.$strip>], "type">;
|
|
1210
1836
|
export declare const giveKudosSchema: z.ZodObject<{
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
reason: z.ZodString;
|
|
1837
|
+
recipient: z.ZodObject<{
|
|
1838
|
+
kind: z.ZodEnum<{
|
|
1839
|
+
human: "human";
|
|
1840
|
+
agent: "agent";
|
|
1841
|
+
}>;
|
|
1842
|
+
id: z.ZodString;
|
|
1843
|
+
}, z.core.$strict>;
|
|
1219
1844
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1220
1845
|
source: z.ZodOptional<z.ZodObject<{
|
|
1221
1846
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1225,6 +1850,13 @@ export declare const giveKudosSchema: z.ZodObject<{
|
|
|
1225
1850
|
commit: z.ZodOptional<z.ZodString>;
|
|
1226
1851
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1227
1852
|
}, z.core.$strip>>;
|
|
1853
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1854
|
+
reason: z.ZodString;
|
|
1855
|
+
visibility: z.ZodEnum<{
|
|
1856
|
+
private: "private";
|
|
1857
|
+
workspace: "workspace";
|
|
1858
|
+
public: "public";
|
|
1859
|
+
}>;
|
|
1228
1860
|
title: z.ZodString;
|
|
1229
1861
|
evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1230
1862
|
kind: z.ZodEnum<{
|
|
@@ -1240,11 +1872,15 @@ export declare const giveKudosSchema: z.ZodObject<{
|
|
|
1240
1872
|
}, z.core.$strip>>>;
|
|
1241
1873
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1242
1874
|
topicIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1243
|
-
}, z.core.$
|
|
1875
|
+
}, z.core.$strict>;
|
|
1244
1876
|
export declare const giveKudosMcpSchema: z.ZodObject<{
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1877
|
+
recipient: z.ZodObject<{
|
|
1878
|
+
kind: z.ZodEnum<{
|
|
1879
|
+
human: "human";
|
|
1880
|
+
agent: "agent";
|
|
1881
|
+
}>;
|
|
1882
|
+
id: z.ZodString;
|
|
1883
|
+
}, z.core.$strict>;
|
|
1248
1884
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1249
1885
|
source: z.ZodOptional<z.ZodObject<{
|
|
1250
1886
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1254,6 +1890,8 @@ export declare const giveKudosMcpSchema: z.ZodObject<{
|
|
|
1254
1890
|
commit: z.ZodOptional<z.ZodString>;
|
|
1255
1891
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1256
1892
|
}, z.core.$strip>>;
|
|
1893
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1894
|
+
reason: z.ZodString;
|
|
1257
1895
|
title: z.ZodString;
|
|
1258
1896
|
evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1259
1897
|
kind: z.ZodEnum<{
|
|
@@ -1274,9 +1912,15 @@ export declare const giveKudosMcpSchema: z.ZodObject<{
|
|
|
1274
1912
|
workspace: "workspace";
|
|
1275
1913
|
public: "public";
|
|
1276
1914
|
}>>;
|
|
1277
|
-
}, z.core.$
|
|
1915
|
+
}, z.core.$strict>;
|
|
1278
1916
|
export declare const listInputSchema: z.ZodObject<{
|
|
1279
|
-
|
|
1917
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
1918
|
+
kind: z.ZodEnum<{
|
|
1919
|
+
human: "human";
|
|
1920
|
+
agent: "agent";
|
|
1921
|
+
}>;
|
|
1922
|
+
id: z.ZodString;
|
|
1923
|
+
}, z.core.$strict>>;
|
|
1280
1924
|
actorId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
1281
1925
|
actorKind: z.ZodOptional<z.ZodEnum<{
|
|
1282
1926
|
human: "human";
|
|
@@ -1316,7 +1960,13 @@ export declare const sendMemoSchema: z.ZodObject<{
|
|
|
1316
1960
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1317
1961
|
}, z.core.$strip>>;
|
|
1318
1962
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1319
|
-
|
|
1963
|
+
recipient: z.ZodObject<{
|
|
1964
|
+
kind: z.ZodEnum<{
|
|
1965
|
+
human: "human";
|
|
1966
|
+
agent: "agent";
|
|
1967
|
+
}>;
|
|
1968
|
+
id: z.ZodString;
|
|
1969
|
+
}, z.core.$strict>;
|
|
1320
1970
|
subject: z.ZodString;
|
|
1321
1971
|
body: z.ZodString;
|
|
1322
1972
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1338,7 +1988,13 @@ export declare const createPostSchema: z.ZodObject<{
|
|
|
1338
1988
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1339
1989
|
}, z.core.$strip>>;
|
|
1340
1990
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1341
|
-
|
|
1991
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1992
|
+
kind: z.ZodEnum<{
|
|
1993
|
+
human: "human";
|
|
1994
|
+
agent: "agent";
|
|
1995
|
+
}>;
|
|
1996
|
+
id: z.ZodString;
|
|
1997
|
+
}, z.core.$strict>>>;
|
|
1342
1998
|
title: z.ZodString;
|
|
1343
1999
|
body: z.ZodString;
|
|
1344
2000
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1347,6 +2003,13 @@ export declare const createPostSchema: z.ZodObject<{
|
|
|
1347
2003
|
export declare const updatePostSchema: z.ZodObject<{
|
|
1348
2004
|
postId: z.ZodString;
|
|
1349
2005
|
expectedVersion: z.ZodNumber;
|
|
2006
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2007
|
+
kind: z.ZodEnum<{
|
|
2008
|
+
human: "human";
|
|
2009
|
+
agent: "agent";
|
|
2010
|
+
}>;
|
|
2011
|
+
id: z.ZodString;
|
|
2012
|
+
}, z.core.$strict>>>;
|
|
1350
2013
|
title: z.ZodOptional<z.ZodString>;
|
|
1351
2014
|
body: z.ZodOptional<z.ZodString>;
|
|
1352
2015
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1364,7 +2027,13 @@ export declare const createNoteSchema: z.ZodObject<{
|
|
|
1364
2027
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1365
2028
|
}, z.core.$strip>>;
|
|
1366
2029
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1367
|
-
|
|
2030
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
2031
|
+
kind: z.ZodEnum<{
|
|
2032
|
+
human: "human";
|
|
2033
|
+
agent: "agent";
|
|
2034
|
+
}>;
|
|
2035
|
+
id: z.ZodString;
|
|
2036
|
+
}, z.core.$strict>>;
|
|
1368
2037
|
title: z.ZodString;
|
|
1369
2038
|
body: z.ZodString;
|
|
1370
2039
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1399,7 +2068,13 @@ export declare const createTaskSchema: z.ZodObject<{
|
|
|
1399
2068
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1400
2069
|
}, z.core.$strip>>;
|
|
1401
2070
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1402
|
-
|
|
2071
|
+
assignee: z.ZodOptional<z.ZodObject<{
|
|
2072
|
+
kind: z.ZodEnum<{
|
|
2073
|
+
human: "human";
|
|
2074
|
+
agent: "agent";
|
|
2075
|
+
}>;
|
|
2076
|
+
id: z.ZodString;
|
|
2077
|
+
}, z.core.$strict>>;
|
|
1403
2078
|
title: z.ZodString;
|
|
1404
2079
|
description: z.ZodOptional<z.ZodString>;
|
|
1405
2080
|
priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -1468,6 +2143,13 @@ export declare const createTodoSchema: z.ZodObject<{
|
|
|
1468
2143
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1469
2144
|
}, z.core.$strip>>;
|
|
1470
2145
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
2146
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
2147
|
+
kind: z.ZodEnum<{
|
|
2148
|
+
human: "human";
|
|
2149
|
+
agent: "agent";
|
|
2150
|
+
}>;
|
|
2151
|
+
id: z.ZodString;
|
|
2152
|
+
}, z.core.$strict>>;
|
|
1471
2153
|
title: z.ZodString;
|
|
1472
2154
|
details: z.ZodOptional<z.ZodString>;
|
|
1473
2155
|
priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -1518,7 +2200,13 @@ export declare const itemListInputSchema: z.ZodObject<{
|
|
|
1518
2200
|
task: "task";
|
|
1519
2201
|
todo: "todo";
|
|
1520
2202
|
}>>>;
|
|
1521
|
-
|
|
2203
|
+
participant: z.ZodOptional<z.ZodObject<{
|
|
2204
|
+
kind: z.ZodEnum<{
|
|
2205
|
+
human: "human";
|
|
2206
|
+
agent: "agent";
|
|
2207
|
+
}>;
|
|
2208
|
+
id: z.ZodString;
|
|
2209
|
+
}, z.core.$strict>>;
|
|
1522
2210
|
actorId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
1523
2211
|
actorKind: z.ZodOptional<z.ZodEnum<{
|
|
1524
2212
|
human: "human";
|