synomem 0.2.0 → 0.4.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 +49 -0
- package/README.md +4 -4
- package/dist/backend.d.ts.map +1 -1
- package/dist/backend.js +8 -2
- package/dist/backend.js.map +1 -1
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +379 -16
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +68 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +283 -12
- package/dist/client.js.map +1 -1
- package/dist/cloud.d.ts +16 -0
- package/dist/cloud.d.ts.map +1 -0
- package/dist/cloud.js +19 -0
- package/dist/cloud.js.map +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +8 -1
- package/dist/config.js.map +1 -1
- package/dist/configure.d.ts +55 -0
- package/dist/configure.d.ts.map +1 -0
- package/dist/configure.js +177 -0
- package/dist/configure.js.map +1 -0
- package/dist/credentials.d.ts +15 -2
- package/dist/credentials.d.ts.map +1 -1
- package/dist/credentials.js.map +1 -1
- package/dist/import.d.ts +202 -38
- package/dist/import.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +72 -6
- package/dist/mcp/index.js.map +1 -1
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +8 -1
- package/dist/oauth.js.map +1 -1
- package/dist/ports/repository.d.ts +4 -1
- package/dist/ports/repository.d.ts.map +1 -1
- package/dist/projections.d.ts +9 -1
- package/dist/projections.d.ts.map +1 -1
- package/dist/projections.js +75 -4
- package/dist/projections.js.map +1 -1
- package/dist/prompt.d.ts +28 -0
- package/dist/prompt.d.ts.map +1 -0
- package/dist/prompt.js +72 -0
- package/dist/prompt.js.map +1 -0
- package/dist/remote.d.ts +30 -1
- package/dist/remote.d.ts.map +1 -1
- package/dist/remote.js +14 -0
- package/dist/remote.js.map +1 -1
- package/dist/schemas.d.ts +270 -55
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +120 -6
- package/dist/schemas.js.map +1 -1
- package/dist/service.d.ts +30 -1
- package/dist/service.d.ts.map +1 -1
- package/dist/storage.d.ts +25 -2
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +168 -15
- package/dist/storage.js.map +1 -1
- package/dist/types.d.ts +123 -4
- package/dist/types.d.ts.map +1 -1
- package/docs/cli.md +1 -1
- package/docs/examples.md +1 -1
- package/docs/mcp.md +1 -1
- package/docs/skill.md +1 -1
- package/docs/storage-format.md +1 -1
- package/package.json +8 -8
- package/src/backend.ts +8 -2
- package/src/cli.ts +543 -19
- package/src/client.ts +331 -11
- package/src/cloud.ts +19 -0
- package/src/config.ts +8 -1
- package/src/configure.ts +233 -0
- package/src/credentials.ts +17 -2
- package/src/index.ts +7 -1
- package/src/mcp/index.ts +95 -5
- package/src/oauth.ts +8 -1
- package/src/ports/repository.ts +5 -0
- package/src/projections.ts +74 -4
- package/src/prompt.ts +88 -0
- package/src/remote.ts +72 -0
- package/src/schemas.ts +125 -6
- package/src/service.ts +30 -0
- package/src/storage.ts +217 -14
- package/src/types.ts +129 -3
package/dist/schemas.d.ts
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { JsonValue } from './types.js';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* A handle: the human-friendly name for an agent, unique within its workspace.
|
|
5
|
+
*
|
|
6
|
+
* Mutable, unlike the canonical ID. People and agents type this, so it stays
|
|
7
|
+
* lowercase kebab and refuses the reserved words that would collide with
|
|
8
|
+
* filesystem or route segments.
|
|
9
|
+
*/
|
|
10
|
+
export declare const agentHandleSchema: z.ZodString;
|
|
11
|
+
/** A canonical opaque agent ID: a ULID, uppercase Crockford base32. */
|
|
12
|
+
export declare const agentUlidSchema: z.ZodString;
|
|
13
|
+
/**
|
|
14
|
+
* An actor ID as it appears in an event.
|
|
15
|
+
*
|
|
16
|
+
* Accepts a ULID or a handle-shaped name. New agents are created with an opaque
|
|
17
|
+
* ULID so a handle can be renamed without orphaning the events that reference
|
|
18
|
+
* the actor; agents that predate that, and human and system actors, carry a
|
|
19
|
+
* name-shaped ID. Widening rather than replacing keeps append-only history
|
|
20
|
+
* readable — rewriting the actor ID inside stored events to tidy the format
|
|
21
|
+
* would be exactly the rewrite the event log exists to prevent.
|
|
22
|
+
*/
|
|
23
|
+
export declare const agentIdSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4
24
|
/**
|
|
5
25
|
* An alias as written, folded to the canonical lowercase form.
|
|
6
26
|
*
|
|
@@ -22,7 +42,7 @@ export declare const actorSchema: z.ZodObject<{
|
|
|
22
42
|
agent: "agent";
|
|
23
43
|
system: "system";
|
|
24
44
|
}>;
|
|
25
|
-
id: z.ZodString
|
|
45
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
26
46
|
displayName: z.ZodOptional<z.ZodString>;
|
|
27
47
|
}, z.core.$strip>;
|
|
28
48
|
export declare const jsonValueSchema: z.ZodType<JsonValue>;
|
|
@@ -48,26 +68,37 @@ export declare const evidenceSchema: z.ZodObject<{
|
|
|
48
68
|
value: z.ZodString;
|
|
49
69
|
}, z.core.$strip>;
|
|
50
70
|
export declare const profileSchema: z.ZodObject<{
|
|
51
|
-
id: z.ZodString
|
|
71
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
72
|
+
handle: z.ZodString;
|
|
52
73
|
displayName: z.ZodString;
|
|
53
74
|
aliases: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
54
75
|
description: z.ZodOptional<z.ZodString>;
|
|
76
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
77
|
+
active: "active";
|
|
78
|
+
archived: "archived";
|
|
79
|
+
}>>;
|
|
55
80
|
createdAt: z.ZodString;
|
|
56
81
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
57
82
|
}, z.core.$strip>;
|
|
83
|
+
/**
|
|
84
|
+
* Creating an agent names a handle; the canonical ID is generated, never
|
|
85
|
+
* supplied. A caller that could choose the ID could choose one that collides
|
|
86
|
+
* with an archived agent's history.
|
|
87
|
+
*/
|
|
58
88
|
export declare const createAgentSchema: z.ZodObject<{
|
|
59
|
-
|
|
89
|
+
handle: z.ZodString;
|
|
60
90
|
displayName: z.ZodString;
|
|
61
91
|
aliases: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
62
92
|
description: z.ZodOptional<z.ZodString>;
|
|
63
93
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
64
|
-
}, z.core.$
|
|
94
|
+
}, z.core.$strict>;
|
|
65
95
|
export declare const updateAgentSchema: z.ZodObject<{
|
|
96
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
66
97
|
displayName: z.ZodOptional<z.ZodString>;
|
|
67
|
-
aliases: z.ZodOptional<z.
|
|
68
|
-
description: z.ZodOptional<z.
|
|
69
|
-
metadata: z.ZodOptional<z.
|
|
70
|
-
}, z.core.$
|
|
98
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
99
|
+
description: z.ZodOptional<z.ZodString>;
|
|
100
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
101
|
+
}, z.core.$strict>;
|
|
71
102
|
/**
|
|
72
103
|
* A runtime binding is a claim about where an agent runs, so the fields stay
|
|
73
104
|
* deliberately loose: Synomem should record a runtime it has never heard of
|
|
@@ -95,7 +126,156 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
95
126
|
agent: "agent";
|
|
96
127
|
system: "system";
|
|
97
128
|
}>;
|
|
98
|
-
id: z.ZodString
|
|
129
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
130
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
131
|
+
}, z.core.$strip>;
|
|
132
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
133
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
135
|
+
model: z.ZodOptional<z.ZodString>;
|
|
136
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
137
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
138
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
139
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
140
|
+
}, z.core.$strip>>;
|
|
141
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
142
|
+
replyTo: z.ZodOptional<z.ZodString>;
|
|
143
|
+
title: z.ZodString;
|
|
144
|
+
body: z.ZodString;
|
|
145
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
146
|
+
type: z.ZodLiteral<"post.created">;
|
|
147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
149
|
+
id: z.ZodString;
|
|
150
|
+
workspaceId: z.ZodString;
|
|
151
|
+
aggregateId: z.ZodString;
|
|
152
|
+
aggregateVersion: z.ZodNumber;
|
|
153
|
+
createdAt: z.ZodString;
|
|
154
|
+
actor: z.ZodObject<{
|
|
155
|
+
kind: z.ZodEnum<{
|
|
156
|
+
human: "human";
|
|
157
|
+
agent: "agent";
|
|
158
|
+
system: "system";
|
|
159
|
+
}>;
|
|
160
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
161
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
162
|
+
}, z.core.$strip>;
|
|
163
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
164
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
166
|
+
model: z.ZodOptional<z.ZodString>;
|
|
167
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
168
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
169
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
170
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
171
|
+
}, z.core.$strip>>;
|
|
172
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
173
|
+
title: z.ZodString;
|
|
174
|
+
body: z.ZodString;
|
|
175
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
176
|
+
type: z.ZodLiteral<"post.edited">;
|
|
177
|
+
postId: z.ZodString;
|
|
178
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
179
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
180
|
+
id: z.ZodString;
|
|
181
|
+
workspaceId: z.ZodString;
|
|
182
|
+
aggregateId: z.ZodString;
|
|
183
|
+
aggregateVersion: z.ZodNumber;
|
|
184
|
+
createdAt: z.ZodString;
|
|
185
|
+
actor: z.ZodObject<{
|
|
186
|
+
kind: z.ZodEnum<{
|
|
187
|
+
human: "human";
|
|
188
|
+
agent: "agent";
|
|
189
|
+
system: "system";
|
|
190
|
+
}>;
|
|
191
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
192
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
195
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
196
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
197
|
+
model: z.ZodOptional<z.ZodString>;
|
|
198
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
199
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
200
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
201
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
203
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
204
|
+
type: z.ZodLiteral<"post.archived">;
|
|
205
|
+
postId: z.ZodString;
|
|
206
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
208
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
209
|
+
id: z.ZodString;
|
|
210
|
+
workspaceId: z.ZodString;
|
|
211
|
+
aggregateId: z.ZodString;
|
|
212
|
+
aggregateVersion: z.ZodNumber;
|
|
213
|
+
createdAt: z.ZodString;
|
|
214
|
+
actor: z.ZodObject<{
|
|
215
|
+
kind: z.ZodEnum<{
|
|
216
|
+
human: "human";
|
|
217
|
+
agent: "agent";
|
|
218
|
+
system: "system";
|
|
219
|
+
}>;
|
|
220
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
221
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
224
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
226
|
+
model: z.ZodOptional<z.ZodString>;
|
|
227
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
228
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
229
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
230
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
233
|
+
type: z.ZodLiteral<"post.acknowledged">;
|
|
234
|
+
postId: z.ZodString;
|
|
235
|
+
note: z.ZodOptional<z.ZodString>;
|
|
236
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
237
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
238
|
+
id: z.ZodString;
|
|
239
|
+
workspaceId: z.ZodString;
|
|
240
|
+
aggregateId: z.ZodString;
|
|
241
|
+
aggregateVersion: z.ZodNumber;
|
|
242
|
+
createdAt: z.ZodString;
|
|
243
|
+
actor: z.ZodObject<{
|
|
244
|
+
kind: z.ZodEnum<{
|
|
245
|
+
human: "human";
|
|
246
|
+
agent: "agent";
|
|
247
|
+
system: "system";
|
|
248
|
+
}>;
|
|
249
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
250
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
253
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
254
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
255
|
+
model: z.ZodOptional<z.ZodString>;
|
|
256
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
257
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
258
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
259
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
260
|
+
}, z.core.$strip>>;
|
|
261
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
262
|
+
type: z.ZodLiteral<"post.acknowledgment.withdrawn">;
|
|
263
|
+
postId: z.ZodString;
|
|
264
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
265
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
266
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
workspaceId: z.ZodString;
|
|
269
|
+
aggregateId: z.ZodString;
|
|
270
|
+
aggregateVersion: z.ZodNumber;
|
|
271
|
+
createdAt: z.ZodString;
|
|
272
|
+
actor: z.ZodObject<{
|
|
273
|
+
kind: z.ZodEnum<{
|
|
274
|
+
human: "human";
|
|
275
|
+
agent: "agent";
|
|
276
|
+
system: "system";
|
|
277
|
+
}>;
|
|
278
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
99
279
|
displayName: z.ZodOptional<z.ZodString>;
|
|
100
280
|
}, z.core.$strip>;
|
|
101
281
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -109,7 +289,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
109
289
|
}, z.core.$strip>>;
|
|
110
290
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
111
291
|
type: z.ZodLiteral<"kudos.given">;
|
|
112
|
-
recipientAgentId: z.ZodString
|
|
292
|
+
recipientAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
113
293
|
recipientDisplayName: z.ZodString;
|
|
114
294
|
title: z.ZodString;
|
|
115
295
|
reason: z.ZodString;
|
|
@@ -144,7 +324,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
144
324
|
agent: "agent";
|
|
145
325
|
system: "system";
|
|
146
326
|
}>;
|
|
147
|
-
id: z.ZodString
|
|
327
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
148
328
|
displayName: z.ZodOptional<z.ZodString>;
|
|
149
329
|
}, z.core.$strip>;
|
|
150
330
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -159,7 +339,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
159
339
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
160
340
|
type: z.ZodLiteral<"kudos.acknowledged">;
|
|
161
341
|
kudosId: z.ZodString;
|
|
162
|
-
recipientAgentId: z.ZodString
|
|
342
|
+
recipientAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
163
343
|
note: z.ZodOptional<z.ZodString>;
|
|
164
344
|
}, z.core.$strip>, z.ZodObject<{
|
|
165
345
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -174,7 +354,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
174
354
|
agent: "agent";
|
|
175
355
|
system: "system";
|
|
176
356
|
}>;
|
|
177
|
-
id: z.ZodString
|
|
357
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
178
358
|
displayName: z.ZodOptional<z.ZodString>;
|
|
179
359
|
}, z.core.$strip>;
|
|
180
360
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -207,7 +387,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
207
387
|
agent: "agent";
|
|
208
388
|
system: "system";
|
|
209
389
|
}>;
|
|
210
|
-
id: z.ZodString
|
|
390
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
211
391
|
displayName: z.ZodOptional<z.ZodString>;
|
|
212
392
|
}, z.core.$strip>;
|
|
213
393
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -222,10 +402,15 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
222
402
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
223
403
|
type: z.ZodLiteral<"agent.created">;
|
|
224
404
|
agent: z.ZodObject<{
|
|
225
|
-
id: z.ZodString
|
|
405
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
406
|
+
handle: z.ZodString;
|
|
226
407
|
displayName: z.ZodString;
|
|
227
408
|
aliases: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
228
409
|
description: z.ZodOptional<z.ZodString>;
|
|
410
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
411
|
+
active: "active";
|
|
412
|
+
archived: "archived";
|
|
413
|
+
}>>;
|
|
229
414
|
createdAt: z.ZodString;
|
|
230
415
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
231
416
|
}, z.core.$strip>;
|
|
@@ -242,7 +427,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
242
427
|
agent: "agent";
|
|
243
428
|
system: "system";
|
|
244
429
|
}>;
|
|
245
|
-
id: z.ZodString
|
|
430
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
246
431
|
displayName: z.ZodOptional<z.ZodString>;
|
|
247
432
|
}, z.core.$strip>;
|
|
248
433
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -256,13 +441,18 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
256
441
|
}, z.core.$strip>>;
|
|
257
442
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
258
443
|
type: z.ZodLiteral<"agent.updated">;
|
|
259
|
-
agentId: z.ZodString
|
|
444
|
+
agentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
260
445
|
changes: z.ZodObject<{
|
|
446
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
261
447
|
displayName: z.ZodOptional<z.ZodString>;
|
|
262
|
-
aliases: z.ZodOptional<z.
|
|
263
|
-
description: z.ZodOptional<z.
|
|
264
|
-
metadata: z.ZodOptional<z.
|
|
265
|
-
|
|
448
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
449
|
+
description: z.ZodOptional<z.ZodString>;
|
|
450
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
451
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
452
|
+
active: "active";
|
|
453
|
+
archived: "archived";
|
|
454
|
+
}>>;
|
|
455
|
+
}, z.core.$strict>;
|
|
266
456
|
}, z.core.$strip>, z.ZodObject<{
|
|
267
457
|
schemaVersion: z.ZodLiteral<1>;
|
|
268
458
|
id: z.ZodString;
|
|
@@ -276,7 +466,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
276
466
|
agent: "agent";
|
|
277
467
|
system: "system";
|
|
278
468
|
}>;
|
|
279
|
-
id: z.ZodString
|
|
469
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
280
470
|
displayName: z.ZodOptional<z.ZodString>;
|
|
281
471
|
}, z.core.$strip>;
|
|
282
472
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -290,7 +480,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
290
480
|
}, z.core.$strip>>;
|
|
291
481
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
292
482
|
type: z.ZodLiteral<"memo.sent">;
|
|
293
|
-
recipientAgentId: z.ZodString
|
|
483
|
+
recipientAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
294
484
|
recipientDisplayName: z.ZodString;
|
|
295
485
|
subject: z.ZodString;
|
|
296
486
|
body: z.ZodString;
|
|
@@ -313,7 +503,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
313
503
|
agent: "agent";
|
|
314
504
|
system: "system";
|
|
315
505
|
}>;
|
|
316
|
-
id: z.ZodString
|
|
506
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
317
507
|
displayName: z.ZodOptional<z.ZodString>;
|
|
318
508
|
}, z.core.$strip>;
|
|
319
509
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -328,7 +518,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
328
518
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
329
519
|
type: z.ZodLiteral<"memo.read">;
|
|
330
520
|
memoId: z.ZodString;
|
|
331
|
-
recipientAgentId: z.ZodString
|
|
521
|
+
recipientAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
332
522
|
}, z.core.$strip>, z.ZodObject<{
|
|
333
523
|
schemaVersion: z.ZodLiteral<1>;
|
|
334
524
|
id: z.ZodString;
|
|
@@ -342,7 +532,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
342
532
|
agent: "agent";
|
|
343
533
|
system: "system";
|
|
344
534
|
}>;
|
|
345
|
-
id: z.ZodString
|
|
535
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
346
536
|
displayName: z.ZodOptional<z.ZodString>;
|
|
347
537
|
}, z.core.$strip>;
|
|
348
538
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -357,7 +547,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
357
547
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
358
548
|
type: z.ZodLiteral<"memo.archived">;
|
|
359
549
|
memoId: z.ZodString;
|
|
360
|
-
recipientAgentId: z.ZodString
|
|
550
|
+
recipientAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
361
551
|
}, z.core.$strip>, z.ZodObject<{
|
|
362
552
|
schemaVersion: z.ZodLiteral<1>;
|
|
363
553
|
id: z.ZodString;
|
|
@@ -371,7 +561,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
371
561
|
agent: "agent";
|
|
372
562
|
system: "system";
|
|
373
563
|
}>;
|
|
374
|
-
id: z.ZodString
|
|
564
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
375
565
|
displayName: z.ZodOptional<z.ZodString>;
|
|
376
566
|
}, z.core.$strip>;
|
|
377
567
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -385,7 +575,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
385
575
|
}, z.core.$strip>>;
|
|
386
576
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
387
577
|
type: z.ZodLiteral<"note.created">;
|
|
388
|
-
ownerAgentId: z.ZodString
|
|
578
|
+
ownerAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
389
579
|
ownerDisplayName: z.ZodString;
|
|
390
580
|
title: z.ZodString;
|
|
391
581
|
body: z.ZodString;
|
|
@@ -404,7 +594,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
404
594
|
agent: "agent";
|
|
405
595
|
system: "system";
|
|
406
596
|
}>;
|
|
407
|
-
id: z.ZodString
|
|
597
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
408
598
|
displayName: z.ZodOptional<z.ZodString>;
|
|
409
599
|
}, z.core.$strip>;
|
|
410
600
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -436,7 +626,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
436
626
|
agent: "agent";
|
|
437
627
|
system: "system";
|
|
438
628
|
}>;
|
|
439
|
-
id: z.ZodString
|
|
629
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
440
630
|
displayName: z.ZodOptional<z.ZodString>;
|
|
441
631
|
}, z.core.$strip>;
|
|
442
632
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -464,7 +654,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
464
654
|
agent: "agent";
|
|
465
655
|
system: "system";
|
|
466
656
|
}>;
|
|
467
|
-
id: z.ZodString
|
|
657
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
468
658
|
displayName: z.ZodOptional<z.ZodString>;
|
|
469
659
|
}, z.core.$strip>;
|
|
470
660
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -495,7 +685,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
495
685
|
public: "public";
|
|
496
686
|
}>;
|
|
497
687
|
type: z.ZodLiteral<"task.created">;
|
|
498
|
-
assigneeAgentId: z.ZodString
|
|
688
|
+
assigneeAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
499
689
|
assigneeDisplayName: z.ZodString;
|
|
500
690
|
requiresAcceptance: z.ZodBoolean;
|
|
501
691
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -511,7 +701,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
511
701
|
agent: "agent";
|
|
512
702
|
system: "system";
|
|
513
703
|
}>;
|
|
514
|
-
id: z.ZodString
|
|
704
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
515
705
|
displayName: z.ZodOptional<z.ZodString>;
|
|
516
706
|
}, z.core.$strip>;
|
|
517
707
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -556,7 +746,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
556
746
|
agent: "agent";
|
|
557
747
|
system: "system";
|
|
558
748
|
}>;
|
|
559
|
-
id: z.ZodString
|
|
749
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
560
750
|
displayName: z.ZodOptional<z.ZodString>;
|
|
561
751
|
}, z.core.$strip>;
|
|
562
752
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -585,7 +775,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
585
775
|
agent: "agent";
|
|
586
776
|
system: "system";
|
|
587
777
|
}>;
|
|
588
|
-
id: z.ZodString
|
|
778
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
589
779
|
displayName: z.ZodOptional<z.ZodString>;
|
|
590
780
|
}, z.core.$strip>;
|
|
591
781
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -613,7 +803,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
613
803
|
agent: "agent";
|
|
614
804
|
system: "system";
|
|
615
805
|
}>;
|
|
616
|
-
id: z.ZodString
|
|
806
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
617
807
|
displayName: z.ZodOptional<z.ZodString>;
|
|
618
808
|
}, z.core.$strip>;
|
|
619
809
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -642,7 +832,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
642
832
|
agent: "agent";
|
|
643
833
|
system: "system";
|
|
644
834
|
}>;
|
|
645
|
-
id: z.ZodString
|
|
835
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
646
836
|
displayName: z.ZodOptional<z.ZodString>;
|
|
647
837
|
}, z.core.$strip>;
|
|
648
838
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -671,7 +861,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
671
861
|
agent: "agent";
|
|
672
862
|
system: "system";
|
|
673
863
|
}>;
|
|
674
|
-
id: z.ZodString
|
|
864
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
675
865
|
displayName: z.ZodOptional<z.ZodString>;
|
|
676
866
|
}, z.core.$strip>;
|
|
677
867
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -700,7 +890,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
700
890
|
agent: "agent";
|
|
701
891
|
system: "system";
|
|
702
892
|
}>;
|
|
703
|
-
id: z.ZodString
|
|
893
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
704
894
|
displayName: z.ZodOptional<z.ZodString>;
|
|
705
895
|
}, z.core.$strip>;
|
|
706
896
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -739,7 +929,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
739
929
|
agent: "agent";
|
|
740
930
|
system: "system";
|
|
741
931
|
}>;
|
|
742
|
-
id: z.ZodString
|
|
932
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
743
933
|
displayName: z.ZodOptional<z.ZodString>;
|
|
744
934
|
}, z.core.$strip>;
|
|
745
935
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -779,7 +969,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
779
969
|
agent: "agent";
|
|
780
970
|
system: "system";
|
|
781
971
|
}>;
|
|
782
|
-
id: z.ZodString
|
|
972
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
783
973
|
displayName: z.ZodOptional<z.ZodString>;
|
|
784
974
|
}, z.core.$strip>;
|
|
785
975
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -808,7 +998,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
808
998
|
agent: "agent";
|
|
809
999
|
system: "system";
|
|
810
1000
|
}>;
|
|
811
|
-
id: z.ZodString
|
|
1001
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
812
1002
|
displayName: z.ZodOptional<z.ZodString>;
|
|
813
1003
|
}, z.core.$strip>;
|
|
814
1004
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -836,7 +1026,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
836
1026
|
agent: "agent";
|
|
837
1027
|
system: "system";
|
|
838
1028
|
}>;
|
|
839
|
-
id: z.ZodString
|
|
1029
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
840
1030
|
displayName: z.ZodOptional<z.ZodString>;
|
|
841
1031
|
}, z.core.$strip>;
|
|
842
1032
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -865,7 +1055,7 @@ export declare const eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
865
1055
|
agent: "agent";
|
|
866
1056
|
system: "system";
|
|
867
1057
|
}>;
|
|
868
|
-
id: z.ZodString
|
|
1058
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
869
1059
|
displayName: z.ZodOptional<z.ZodString>;
|
|
870
1060
|
}, z.core.$strip>;
|
|
871
1061
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
@@ -888,7 +1078,7 @@ export declare const giveKudosSchema: z.ZodObject<{
|
|
|
888
1078
|
workspace: "workspace";
|
|
889
1079
|
public: "public";
|
|
890
1080
|
}>;
|
|
891
|
-
recipientAgentId: z.ZodString
|
|
1081
|
+
recipientAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
892
1082
|
reason: z.ZodString;
|
|
893
1083
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
894
1084
|
source: z.ZodOptional<z.ZodObject<{
|
|
@@ -916,7 +1106,7 @@ export declare const giveKudosSchema: z.ZodObject<{
|
|
|
916
1106
|
}, z.core.$strip>;
|
|
917
1107
|
export declare const giveKudosMcpSchema: z.ZodObject<{
|
|
918
1108
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
919
|
-
recipientAgentId: z.ZodString
|
|
1109
|
+
recipientAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
920
1110
|
reason: z.ZodString;
|
|
921
1111
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
922
1112
|
source: z.ZodOptional<z.ZodObject<{
|
|
@@ -948,8 +1138,8 @@ export declare const giveKudosMcpSchema: z.ZodObject<{
|
|
|
948
1138
|
}>>;
|
|
949
1139
|
}, z.core.$strip>;
|
|
950
1140
|
export declare const listInputSchema: z.ZodObject<{
|
|
951
|
-
recipientAgentId: z.ZodOptional<z.ZodString
|
|
952
|
-
actorId: z.ZodOptional<z.ZodString
|
|
1141
|
+
recipientAgentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
1142
|
+
actorId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
953
1143
|
actorKind: z.ZodOptional<z.ZodEnum<{
|
|
954
1144
|
human: "human";
|
|
955
1145
|
agent: "agent";
|
|
@@ -987,7 +1177,7 @@ export declare const sendMemoSchema: z.ZodObject<{
|
|
|
987
1177
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
988
1178
|
}, z.core.$strip>>;
|
|
989
1179
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
990
|
-
recipientAgentId: z.ZodString
|
|
1180
|
+
recipientAgentId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
991
1181
|
subject: z.ZodString;
|
|
992
1182
|
body: z.ZodString;
|
|
993
1183
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -997,6 +1187,30 @@ export declare const sendMemoSchema: z.ZodObject<{
|
|
|
997
1187
|
public: "public";
|
|
998
1188
|
}>>;
|
|
999
1189
|
}, z.core.$strict>;
|
|
1190
|
+
export declare const createPostSchema: z.ZodObject<{
|
|
1191
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1193
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
}, z.core.$strip>>;
|
|
1200
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1201
|
+
replyTo: z.ZodOptional<z.ZodString>;
|
|
1202
|
+
title: z.ZodString;
|
|
1203
|
+
body: z.ZodString;
|
|
1204
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1205
|
+
}, z.core.$strict>;
|
|
1206
|
+
export declare const updatePostSchema: z.ZodObject<{
|
|
1207
|
+
postId: z.ZodString;
|
|
1208
|
+
expectedVersion: z.ZodNumber;
|
|
1209
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1212
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1213
|
+
}, z.core.$strict>;
|
|
1000
1214
|
export declare const createNoteSchema: z.ZodObject<{
|
|
1001
1215
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1002
1216
|
source: z.ZodOptional<z.ZodObject<{
|
|
@@ -1008,7 +1222,7 @@ export declare const createNoteSchema: z.ZodObject<{
|
|
|
1008
1222
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1009
1223
|
}, z.core.$strip>>;
|
|
1010
1224
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1011
|
-
ownerAgentId: z.ZodOptional<z.ZodString
|
|
1225
|
+
ownerAgentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
1012
1226
|
title: z.ZodString;
|
|
1013
1227
|
body: z.ZodString;
|
|
1014
1228
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1041,7 +1255,7 @@ export declare const createTaskSchema: z.ZodObject<{
|
|
|
1041
1255
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1042
1256
|
}, z.core.$strip>>;
|
|
1043
1257
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1044
|
-
assigneeAgentId: z.ZodOptional<z.ZodString
|
|
1258
|
+
assigneeAgentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
1045
1259
|
title: z.ZodString;
|
|
1046
1260
|
description: z.ZodOptional<z.ZodString>;
|
|
1047
1261
|
priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -1152,11 +1366,12 @@ export declare const itemListInputSchema: z.ZodObject<{
|
|
|
1152
1366
|
kudos: "kudos";
|
|
1153
1367
|
memo: "memo";
|
|
1154
1368
|
note: "note";
|
|
1369
|
+
post: "post";
|
|
1155
1370
|
task: "task";
|
|
1156
1371
|
todo: "todo";
|
|
1157
1372
|
}>>>;
|
|
1158
|
-
participantAgentId: z.ZodOptional<z.ZodString
|
|
1159
|
-
actorId: z.ZodOptional<z.ZodString
|
|
1373
|
+
participantAgentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
1374
|
+
actorId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
1160
1375
|
actorKind: z.ZodOptional<z.ZodEnum<{
|
|
1161
1376
|
human: "human";
|
|
1162
1377
|
agent: "agent";
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAiB5C,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"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"}
|