@cat-factory/contracts 0.349.0 → 0.350.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.
@@ -0,0 +1,419 @@
1
+ import * as v from 'valibot';
2
+ /**
3
+ * The actions the assistant can perform. CLOSED, and deliberately small.
4
+ *
5
+ * Each member is an operation the board already offers behind a form, so the assistant adds a
6
+ * way to ASK for it rather than a capability nobody could otherwise reach. Adding a member means
7
+ * adding its result variant below and its executor in the engine catalog, both of which fail to
8
+ * compile until they exist.
9
+ */
10
+ export declare const assistantActionIdSchema: v.PicklistSchema<["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"], undefined>;
11
+ export type AssistantActionId = v.InferOutput<typeof assistantActionIdSchema>;
12
+ /** Every action the assistant knows, in the order the SPA lists them as suggestions. */
13
+ export declare const ASSISTANT_ACTION_IDS: readonly ["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"];
14
+ /** A board service the turn touched: enough to name it and to link to it. */
15
+ export declare const assistantServiceRefSchema: v.ObjectSchema<{
16
+ /** The service FRAME's block id. */
17
+ readonly blockId: v.StringSchema<undefined>;
18
+ /** The frame's title, as it stands after the turn. */
19
+ readonly title: v.StringSchema<undefined>;
20
+ }, undefined>;
21
+ export type AssistantServiceRef = v.InferOutput<typeof assistantServiceRefSchema>;
22
+ /**
23
+ * A declared dependency edge.
24
+ *
25
+ * `created` is false when the edge was already on the board. The turn still SUCCEEDED (the board
26
+ * is in the state that was asked for), and saying so is what stops the SPA from reporting an
27
+ * idempotent re-declaration as a fresh one.
28
+ */
29
+ export declare const assistantDependencyDeclaredSchema: v.ObjectSchema<{
30
+ readonly actionId: v.LiteralSchema<"declare-service-dependency", undefined>;
31
+ /** The service that DEPENDS on the other (the edge is stored on this one). */
32
+ readonly consumer: v.ObjectSchema<{
33
+ /** The service FRAME's block id. */
34
+ readonly blockId: v.StringSchema<undefined>;
35
+ /** The frame's title, as it stands after the turn. */
36
+ readonly title: v.StringSchema<undefined>;
37
+ }, undefined>;
38
+ /** The service depended ON, spun up alongside the consumer when it is tested. */
39
+ readonly provider: v.ObjectSchema<{
40
+ /** The service FRAME's block id. */
41
+ readonly blockId: v.StringSchema<undefined>;
42
+ /** The frame's title, as it stands after the turn. */
43
+ readonly title: v.StringSchema<undefined>;
44
+ }, undefined>;
45
+ /** Whether this turn added the edge (false ⇒ it was already declared). */
46
+ readonly created: v.BooleanSchema<undefined>;
47
+ }, undefined>;
48
+ /**
49
+ * A service frame backed by a repository.
50
+ *
51
+ * `created` distinguishes a new frame from an existing account service this board now MOUNTS,
52
+ * the deduplication `addServiceFromRepo` performs for a whole-repo service the org already runs.
53
+ * The two are different facts about the board, and a caller told only "here is your service"
54
+ * would read the second as the first.
55
+ */
56
+ export declare const assistantServiceAddedSchema: v.ObjectSchema<{
57
+ readonly actionId: v.LiteralSchema<"add-service-from-repo", undefined>;
58
+ readonly service: v.ObjectSchema<{
59
+ /** The service FRAME's block id. */
60
+ readonly blockId: v.StringSchema<undefined>;
61
+ /** The frame's title, as it stands after the turn. */
62
+ readonly title: v.StringSchema<undefined>;
63
+ }, undefined>;
64
+ /** The repository the frame is backed by. */
65
+ readonly repo: v.ObjectSchema<{
66
+ readonly owner: v.StringSchema<undefined>;
67
+ readonly name: v.StringSchema<undefined>;
68
+ /** The monorepo subdirectory the service lives in, or null for a whole-repo service. */
69
+ readonly directory: v.NullableSchema<v.StringSchema<undefined>, undefined>;
70
+ }, undefined>;
71
+ /** Whether this turn created the frame (false ⇒ an existing org service was mounted here). */
72
+ readonly created: v.BooleanSchema<undefined>;
73
+ }, undefined>;
74
+ /** A board task filed from a tracker issue. */
75
+ export declare const assistantTaskCreatedSchema: v.ObjectSchema<{
76
+ readonly actionId: v.LiteralSchema<"create-task-from-issue", undefined>;
77
+ readonly task: v.ObjectSchema<{
78
+ readonly blockId: v.StringSchema<undefined>;
79
+ readonly title: v.StringSchema<undefined>;
80
+ }, undefined>;
81
+ /** The service frame the task was filed under. */
82
+ readonly service: v.ObjectSchema<{
83
+ /** The service FRAME's block id. */
84
+ readonly blockId: v.StringSchema<undefined>;
85
+ /** The frame's title, as it stands after the turn. */
86
+ readonly title: v.StringSchema<undefined>;
87
+ }, undefined>;
88
+ readonly issue: v.ObjectSchema<{
89
+ readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
90
+ /** The source's canonical key (`owner/repo#12`, `PROJ-7`). */
91
+ readonly externalId: v.StringSchema<undefined>;
92
+ readonly url: v.StringSchema<undefined>;
93
+ }, undefined>;
94
+ }, undefined>;
95
+ /** What a performed turn did, discriminated by the action that did it. */
96
+ export declare const assistantActionResultSchema: v.VariantSchema<"actionId", [v.ObjectSchema<{
97
+ readonly actionId: v.LiteralSchema<"declare-service-dependency", undefined>;
98
+ /** The service that DEPENDS on the other (the edge is stored on this one). */
99
+ readonly consumer: v.ObjectSchema<{
100
+ /** The service FRAME's block id. */
101
+ readonly blockId: v.StringSchema<undefined>;
102
+ /** The frame's title, as it stands after the turn. */
103
+ readonly title: v.StringSchema<undefined>;
104
+ }, undefined>;
105
+ /** The service depended ON, spun up alongside the consumer when it is tested. */
106
+ readonly provider: v.ObjectSchema<{
107
+ /** The service FRAME's block id. */
108
+ readonly blockId: v.StringSchema<undefined>;
109
+ /** The frame's title, as it stands after the turn. */
110
+ readonly title: v.StringSchema<undefined>;
111
+ }, undefined>;
112
+ /** Whether this turn added the edge (false ⇒ it was already declared). */
113
+ readonly created: v.BooleanSchema<undefined>;
114
+ }, undefined>, v.ObjectSchema<{
115
+ readonly actionId: v.LiteralSchema<"add-service-from-repo", undefined>;
116
+ readonly service: v.ObjectSchema<{
117
+ /** The service FRAME's block id. */
118
+ readonly blockId: v.StringSchema<undefined>;
119
+ /** The frame's title, as it stands after the turn. */
120
+ readonly title: v.StringSchema<undefined>;
121
+ }, undefined>;
122
+ /** The repository the frame is backed by. */
123
+ readonly repo: v.ObjectSchema<{
124
+ readonly owner: v.StringSchema<undefined>;
125
+ readonly name: v.StringSchema<undefined>;
126
+ /** The monorepo subdirectory the service lives in, or null for a whole-repo service. */
127
+ readonly directory: v.NullableSchema<v.StringSchema<undefined>, undefined>;
128
+ }, undefined>;
129
+ /** Whether this turn created the frame (false ⇒ an existing org service was mounted here). */
130
+ readonly created: v.BooleanSchema<undefined>;
131
+ }, undefined>, v.ObjectSchema<{
132
+ readonly actionId: v.LiteralSchema<"create-task-from-issue", undefined>;
133
+ readonly task: v.ObjectSchema<{
134
+ readonly blockId: v.StringSchema<undefined>;
135
+ readonly title: v.StringSchema<undefined>;
136
+ }, undefined>;
137
+ /** The service frame the task was filed under. */
138
+ readonly service: v.ObjectSchema<{
139
+ /** The service FRAME's block id. */
140
+ readonly blockId: v.StringSchema<undefined>;
141
+ /** The frame's title, as it stands after the turn. */
142
+ readonly title: v.StringSchema<undefined>;
143
+ }, undefined>;
144
+ readonly issue: v.ObjectSchema<{
145
+ readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
146
+ /** The source's canonical key (`owner/repo#12`, `PROJ-7`). */
147
+ readonly externalId: v.StringSchema<undefined>;
148
+ readonly url: v.StringSchema<undefined>;
149
+ }, undefined>;
150
+ }, undefined>], undefined>;
151
+ export type AssistantActionResult = v.InferOutput<typeof assistantActionResultSchema>;
152
+ /**
153
+ * Why the platform could not resolve one argument to something on the board.
154
+ *
155
+ * Each member names a DIFFERENT next move for the person, which is why they are not one
156
+ * "could not resolve" value: an unknown name is retyped, an ambiguous one is picked from the
157
+ * candidates, a missing argument is supplied, and an unconnected repository or tracker is a trip
158
+ * to the integrations panel before the same sentence works.
159
+ */
160
+ export declare const assistantClarificationReasonSchema: v.PicklistSchema<["missing_argument", "invalid_argument", "unknown_service", "ambiguous_service", "unknown_repository", "unreadable_repository_url", "unknown_issue_source", "ambiguous_issue_source", "unresolved_issue_service"], undefined>;
161
+ export type AssistantClarificationReason = v.InferOutput<typeof assistantClarificationReasonSchema>;
162
+ /**
163
+ * One action's arguments on the wire: declared keys, string values.
164
+ *
165
+ * Capped per value at the same length as a prompt, because they come back INTO the platform when a
166
+ * clarification is answered, and an unbounded value there would be a bigger input than the sentence
167
+ * that produced it.
168
+ */
169
+ export declare const assistantArgumentsSchema: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
170
+ export type AssistantArguments = v.InferOutput<typeof assistantArgumentsSchema>;
171
+ /** Why no action ran at all. */
172
+ export declare const assistantDeclineReasonSchema: v.PicklistSchema<["no_matching_action"], undefined>;
173
+ export type AssistantDeclineReason = v.InferOutput<typeof assistantDeclineReasonSchema>;
174
+ /**
175
+ * The outcome of one turn.
176
+ *
177
+ * `needs_input` carries the action it was HEADING for, so the SPA can say what it was about to do
178
+ * rather than only what it could not find, and `candidates` is the shortlist the platform was
179
+ * choosing between (empty when there was nothing to choose from, since an unknown name has no
180
+ * near-misses to offer).
181
+ */
182
+ export declare const assistantOutcomeSchema: v.VariantSchema<"status", [v.ObjectSchema<{
183
+ readonly status: v.LiteralSchema<"performed", undefined>;
184
+ readonly result: v.VariantSchema<"actionId", [v.ObjectSchema<{
185
+ readonly actionId: v.LiteralSchema<"declare-service-dependency", undefined>;
186
+ /** The service that DEPENDS on the other (the edge is stored on this one). */
187
+ readonly consumer: v.ObjectSchema<{
188
+ /** The service FRAME's block id. */
189
+ readonly blockId: v.StringSchema<undefined>;
190
+ /** The frame's title, as it stands after the turn. */
191
+ readonly title: v.StringSchema<undefined>;
192
+ }, undefined>;
193
+ /** The service depended ON, spun up alongside the consumer when it is tested. */
194
+ readonly provider: v.ObjectSchema<{
195
+ /** The service FRAME's block id. */
196
+ readonly blockId: v.StringSchema<undefined>;
197
+ /** The frame's title, as it stands after the turn. */
198
+ readonly title: v.StringSchema<undefined>;
199
+ }, undefined>;
200
+ /** Whether this turn added the edge (false ⇒ it was already declared). */
201
+ readonly created: v.BooleanSchema<undefined>;
202
+ }, undefined>, v.ObjectSchema<{
203
+ readonly actionId: v.LiteralSchema<"add-service-from-repo", undefined>;
204
+ readonly service: v.ObjectSchema<{
205
+ /** The service FRAME's block id. */
206
+ readonly blockId: v.StringSchema<undefined>;
207
+ /** The frame's title, as it stands after the turn. */
208
+ readonly title: v.StringSchema<undefined>;
209
+ }, undefined>;
210
+ /** The repository the frame is backed by. */
211
+ readonly repo: v.ObjectSchema<{
212
+ readonly owner: v.StringSchema<undefined>;
213
+ readonly name: v.StringSchema<undefined>;
214
+ /** The monorepo subdirectory the service lives in, or null for a whole-repo service. */
215
+ readonly directory: v.NullableSchema<v.StringSchema<undefined>, undefined>;
216
+ }, undefined>;
217
+ /** Whether this turn created the frame (false ⇒ an existing org service was mounted here). */
218
+ readonly created: v.BooleanSchema<undefined>;
219
+ }, undefined>, v.ObjectSchema<{
220
+ readonly actionId: v.LiteralSchema<"create-task-from-issue", undefined>;
221
+ readonly task: v.ObjectSchema<{
222
+ readonly blockId: v.StringSchema<undefined>;
223
+ readonly title: v.StringSchema<undefined>;
224
+ }, undefined>;
225
+ /** The service frame the task was filed under. */
226
+ readonly service: v.ObjectSchema<{
227
+ /** The service FRAME's block id. */
228
+ readonly blockId: v.StringSchema<undefined>;
229
+ /** The frame's title, as it stands after the turn. */
230
+ readonly title: v.StringSchema<undefined>;
231
+ }, undefined>;
232
+ readonly issue: v.ObjectSchema<{
233
+ readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
234
+ /** The source's canonical key (`owner/repo#12`, `PROJ-7`). */
235
+ readonly externalId: v.StringSchema<undefined>;
236
+ readonly url: v.StringSchema<undefined>;
237
+ }, undefined>;
238
+ }, undefined>], undefined>;
239
+ }, undefined>, v.ObjectSchema<{
240
+ readonly status: v.LiteralSchema<"needs_input", undefined>;
241
+ readonly actionId: v.PicklistSchema<["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"], undefined>;
242
+ readonly reason: v.PicklistSchema<["missing_argument", "invalid_argument", "unknown_service", "ambiguous_service", "unknown_repository", "unreadable_repository_url", "unknown_issue_source", "ambiguous_issue_source", "unresolved_issue_service"], undefined>;
243
+ /** The argument key that could not be resolved (`consumer`, `repoUrl`, `source`, …). */
244
+ readonly field: v.StringSchema<undefined>;
245
+ /**
246
+ * What the platform was choosing between, at most a handful. Empty ⇒ nothing matched.
247
+ *
248
+ * Every entry is a legal VALUE for {@link field}, not a label describing one, because the
249
+ * clarification is answered by putting a candidate in that field (see
250
+ * {@link assistantAnswerSchema}). An action offering a candidate its own next turn would
251
+ * refuse is a question with no acceptable answer, which is why the near-misses an unknown
252
+ * repository reports are `owner/name` slugs and the trackers an ambiguous reference reports
253
+ * are source ids.
254
+ */
255
+ readonly candidates: v.ArraySchema<v.StringSchema<undefined>, undefined>;
256
+ /**
257
+ * The arguments the turn resolved, so the answer can be a RESUMPTION rather than a retyped
258
+ * sentence. Declared keys only, already validated, and the person's own words either way.
259
+ */
260
+ readonly arguments: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
261
+ }, undefined>, v.ObjectSchema<{
262
+ readonly status: v.LiteralSchema<"declined", undefined>;
263
+ readonly reason: v.PicklistSchema<["no_matching_action"], undefined>;
264
+ }, undefined>], undefined>;
265
+ export type AssistantOutcome = v.InferOutput<typeof assistantOutcomeSchema>;
266
+ /** One turn: what the platform did, and which model read the prompt to decide it. */
267
+ export declare const assistantTurnSchema: v.ObjectSchema<{
268
+ readonly outcome: v.VariantSchema<"status", [v.ObjectSchema<{
269
+ readonly status: v.LiteralSchema<"performed", undefined>;
270
+ readonly result: v.VariantSchema<"actionId", [v.ObjectSchema<{
271
+ readonly actionId: v.LiteralSchema<"declare-service-dependency", undefined>;
272
+ /** The service that DEPENDS on the other (the edge is stored on this one). */
273
+ readonly consumer: v.ObjectSchema<{
274
+ /** The service FRAME's block id. */
275
+ readonly blockId: v.StringSchema<undefined>;
276
+ /** The frame's title, as it stands after the turn. */
277
+ readonly title: v.StringSchema<undefined>;
278
+ }, undefined>;
279
+ /** The service depended ON, spun up alongside the consumer when it is tested. */
280
+ readonly provider: v.ObjectSchema<{
281
+ /** The service FRAME's block id. */
282
+ readonly blockId: v.StringSchema<undefined>;
283
+ /** The frame's title, as it stands after the turn. */
284
+ readonly title: v.StringSchema<undefined>;
285
+ }, undefined>;
286
+ /** Whether this turn added the edge (false ⇒ it was already declared). */
287
+ readonly created: v.BooleanSchema<undefined>;
288
+ }, undefined>, v.ObjectSchema<{
289
+ readonly actionId: v.LiteralSchema<"add-service-from-repo", undefined>;
290
+ readonly service: v.ObjectSchema<{
291
+ /** The service FRAME's block id. */
292
+ readonly blockId: v.StringSchema<undefined>;
293
+ /** The frame's title, as it stands after the turn. */
294
+ readonly title: v.StringSchema<undefined>;
295
+ }, undefined>;
296
+ /** The repository the frame is backed by. */
297
+ readonly repo: v.ObjectSchema<{
298
+ readonly owner: v.StringSchema<undefined>;
299
+ readonly name: v.StringSchema<undefined>;
300
+ /** The monorepo subdirectory the service lives in, or null for a whole-repo service. */
301
+ readonly directory: v.NullableSchema<v.StringSchema<undefined>, undefined>;
302
+ }, undefined>;
303
+ /** Whether this turn created the frame (false ⇒ an existing org service was mounted here). */
304
+ readonly created: v.BooleanSchema<undefined>;
305
+ }, undefined>, v.ObjectSchema<{
306
+ readonly actionId: v.LiteralSchema<"create-task-from-issue", undefined>;
307
+ readonly task: v.ObjectSchema<{
308
+ readonly blockId: v.StringSchema<undefined>;
309
+ readonly title: v.StringSchema<undefined>;
310
+ }, undefined>;
311
+ /** The service frame the task was filed under. */
312
+ readonly service: v.ObjectSchema<{
313
+ /** The service FRAME's block id. */
314
+ readonly blockId: v.StringSchema<undefined>;
315
+ /** The frame's title, as it stands after the turn. */
316
+ readonly title: v.StringSchema<undefined>;
317
+ }, undefined>;
318
+ readonly issue: v.ObjectSchema<{
319
+ readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
320
+ /** The source's canonical key (`owner/repo#12`, `PROJ-7`). */
321
+ readonly externalId: v.StringSchema<undefined>;
322
+ readonly url: v.StringSchema<undefined>;
323
+ }, undefined>;
324
+ }, undefined>], undefined>;
325
+ }, undefined>, v.ObjectSchema<{
326
+ readonly status: v.LiteralSchema<"needs_input", undefined>;
327
+ readonly actionId: v.PicklistSchema<["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"], undefined>;
328
+ readonly reason: v.PicklistSchema<["missing_argument", "invalid_argument", "unknown_service", "ambiguous_service", "unknown_repository", "unreadable_repository_url", "unknown_issue_source", "ambiguous_issue_source", "unresolved_issue_service"], undefined>;
329
+ /** The argument key that could not be resolved (`consumer`, `repoUrl`, `source`, …). */
330
+ readonly field: v.StringSchema<undefined>;
331
+ /**
332
+ * What the platform was choosing between, at most a handful. Empty ⇒ nothing matched.
333
+ *
334
+ * Every entry is a legal VALUE for {@link field}, not a label describing one, because the
335
+ * clarification is answered by putting a candidate in that field (see
336
+ * {@link assistantAnswerSchema}). An action offering a candidate its own next turn would
337
+ * refuse is a question with no acceptable answer, which is why the near-misses an unknown
338
+ * repository reports are `owner/name` slugs and the trackers an ambiguous reference reports
339
+ * are source ids.
340
+ */
341
+ readonly candidates: v.ArraySchema<v.StringSchema<undefined>, undefined>;
342
+ /**
343
+ * The arguments the turn resolved, so the answer can be a RESUMPTION rather than a retyped
344
+ * sentence. Declared keys only, already validated, and the person's own words either way.
345
+ */
346
+ readonly arguments: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
347
+ }, undefined>, v.ObjectSchema<{
348
+ readonly status: v.LiteralSchema<"declined", undefined>;
349
+ readonly reason: v.PicklistSchema<["no_matching_action"], undefined>;
350
+ }, undefined>], undefined>;
351
+ /**
352
+ * The model that chose the action, so a turn can be traced to the route that produced it.
353
+ *
354
+ * NULL for an ANSWERED clarification, which runs no model at all. Reporting the model the
355
+ * previous turn used would attribute a deterministic re-run to a call that never happened, and
356
+ * an absent value is the only honest way to say a turn spent nothing.
357
+ */
358
+ readonly model: v.NullableSchema<v.ObjectSchema<{
359
+ readonly provider: v.StringSchema<undefined>;
360
+ readonly model: v.StringSchema<undefined>;
361
+ }, undefined>, undefined>;
362
+ }, undefined>;
363
+ export type AssistantTurn = v.InferOutput<typeof assistantTurnSchema>;
364
+ /**
365
+ * Answering a question a previous turn asked, as DATA rather than as more prose.
366
+ *
367
+ * This is what makes a clarification terminate. The alternative the surface started with was to
368
+ * append the chosen candidate to the sentence and route it through the model again, and that
369
+ * cannot converge: the original words are still in the prompt (a repository under the wrong owner
370
+ * stays there beside the right one), and a candidate the model has no declared argument to put it
371
+ * in is simply dropped. Re-running the same action with the same arguments and the one field
372
+ * replaced is exact, terminates in one step, and bills nothing.
373
+ *
374
+ * It grants no authority the prompt path does not. The arguments are re-validated by the same
375
+ * descriptor rules, undeclared keys are dropped exactly as they are for a model's reply, every
376
+ * name is re-resolved against the board, and the action is the same one a button performs under
377
+ * the caller's own tier.
378
+ */
379
+ export declare const assistantAnswerSchema: v.ObjectSchema<{
380
+ /** The action the question was asked on behalf of, as its outcome named it. */
381
+ readonly actionId: v.PicklistSchema<["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"], undefined>;
382
+ /** That turn's arguments, with the answered field replaced by the value the person chose. */
383
+ readonly arguments: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
384
+ }, undefined>;
385
+ export type AssistantAnswer = v.InferOutput<typeof assistantAnswerSchema>;
386
+ /**
387
+ * What a turn runs on: a sentence to route, or the answer to the question the last one asked.
388
+ *
389
+ * Discriminated rather than "a prompt plus an optional answer", because the two share no field: an
390
+ * answered turn has no sentence to read and never reaches a model, and a shape carrying a required
391
+ * prompt beside it would make every answer invent one.
392
+ */
393
+ export declare const assistantTurnInputSchema: v.VariantSchema<"kind", [v.ObjectSchema<{
394
+ readonly kind: v.LiteralSchema<"prompt", undefined>;
395
+ readonly prompt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
396
+ }, undefined>, v.ObjectSchema<{
397
+ readonly kind: v.LiteralSchema<"answer", undefined>;
398
+ readonly answer: v.ObjectSchema<{
399
+ /** The action the question was asked on behalf of, as its outcome named it. */
400
+ readonly actionId: v.PicklistSchema<["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"], undefined>;
401
+ /** That turn's arguments, with the answered field replaced by the value the person chose. */
402
+ readonly arguments: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
403
+ }, undefined>;
404
+ }, undefined>], undefined>;
405
+ export type AssistantTurnInput = v.InferOutput<typeof assistantTurnInputSchema>;
406
+ /**
407
+ * What this deployment's assistant can do, read before the prompt box is offered.
408
+ *
409
+ * `available` is about the MODEL, not about permissions: a deployment that wired no provider
410
+ * cannot answer a prompt, and hiding the box is a better answer than a 503 on every submission.
411
+ * The action list is published rather than assumed so a deployment that narrows the catalog
412
+ * narrows the suggestions with it, instead of advertising an action the engine would decline.
413
+ */
414
+ export declare const assistantCapabilitySchema: v.ObjectSchema<{
415
+ readonly available: v.BooleanSchema<undefined>;
416
+ readonly actions: v.ArraySchema<v.PicklistSchema<["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"], undefined>, undefined>;
417
+ }, undefined>;
418
+ export type AssistantCapability = v.InferOutput<typeof assistantCapabilitySchema>;
419
+ //# sourceMappingURL=assistant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assistant.d.ts","sourceRoot":"","sources":["../src/assistant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqC5B;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,gHAOlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,wFAAwF;AACxF,eAAO,MAAM,oBAAoB,4FAIgB,CAAA;AAEjD,6EAA6E;AAC7E,eAAO,MAAM,yBAAyB;IACpC,oCAAoC;;IAEpC,sDAAsD;;aAEtD,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAIjF;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC;;IAE5C,8EAA8E;;QAlB9E,oCAAoC;;QAEpC,sDAAsD;;;IAkBtD,iFAAiF;;QApBjF,oCAAoC;;QAEpC,sDAAsD;;;IAoBtD,0EAA0E;;aAE1E,CAAA;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B;;;QAlCtC,oCAAoC;;QAEpC,sDAAsD;;;IAmCtD,6CAA6C;;;;QAI3C,wFAAwF;;;IAG1F,8FAA8F;;aAE9F,CAAA;AAEF,+CAA+C;AAC/C,eAAO,MAAM,0BAA0B;;;;;;IAGrC,kDAAkD;;QApDlD,oCAAoC;;QAEpC,sDAAsD;;;;;QAsDpD,8DAA8D;;;;aAIhE,CAAA;AAEF,0EAA0E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ourceKindSchema } from './tasks.js';
3
+ // ---------------------------------------------------------------------------
4
+ // THE IN-APP ASSISTANT: one natural-language prompt in, one PERFORMED ACTION out.
5
+ //
6
+ // The shape of the surface is the design decision worth stating here, because everything below
7
+ // follows from it: the model does not act. It reads the prompt and NAMES one action from a closed
8
+ // catalog plus the arguments it read out of the sentence; the platform then resolves those
9
+ // arguments against real board entities and performs the action through the same services the
10
+ // board's own buttons call. Nothing the model writes reaches a side effect, a stored row, or the
11
+ // screen as prose.
12
+ //
13
+ // That is why a turn answers with DATA rather than a chat message. Three outcomes, and the two
14
+ // that are not a completed action are as structured as the one that is:
15
+ //
16
+ // performed: the action ran. The result carries the ids and names of what it touched, so the
17
+ // SPA can link straight to the frame or task the turn produced.
18
+ // needs_input: the platform could not resolve one argument to a board entity (no service by
19
+ // that name, two that match, a repository this workspace has not connected). It
20
+ // names the FIELD, the CANDIDATES it was choosing between where it has them, and
21
+ // the ARGUMENTS it resolved, which together are everything the next turn needs to
22
+ // ANSWER it without a model and without the sentence being retyped.
23
+ // declined: no action in the catalog matches what was asked for.
24
+ //
25
+ // A refusal that belongs to the deployment rather than to the sentence (no model wired, the
26
+ // budget spent, GitHub unconfigured, an issue already filed as a task) is NOT an outcome here: it
27
+ // is the `DomainError` the underlying service already raises, so it reaches the SPA through the
28
+ // one error funnel with its `details.reason` intact, exactly as the equivalent button does.
29
+ //
30
+ // Every string a user reads about a turn is rendered by the SPA from these machine-readable
31
+ // members, per the platform's "the backend does not localize prose" rule, which is also why no
32
+ // model-authored sentence is on the wire.
33
+ //
34
+ // See backend/docs/in-app-assistant.md.
35
+ // ---------------------------------------------------------------------------
36
+ /**
37
+ * The actions the assistant can perform. CLOSED, and deliberately small.
38
+ *
39
+ * Each member is an operation the board already offers behind a form, so the assistant adds a
40
+ * way to ASK for it rather than a capability nobody could otherwise reach. Adding a member means
41
+ * adding its result variant below and its executor in the engine catalog, both of which fail to
42
+ * compile until they exist.
43
+ */
44
+ export const assistantActionIdSchema = v.picklist([
45
+ /** Declare that one service depends on another, so both are spun up when the consumer is tested. */
46
+ 'declare-service-dependency',
47
+ /** Add a service frame backed by an existing GitHub or GitLab repository, named by its web URL. */
48
+ 'add-service-from-repo',
49
+ /** File a board task from a tracker issue (a GitHub/GitLab issue URL, or a Jira/Linear ticket). */
50
+ 'create-task-from-issue',
51
+ ]);
52
+ /** Every action the assistant knows, in the order the SPA lists them as suggestions. */
53
+ export const ASSISTANT_ACTION_IDS = [
54
+ 'declare-service-dependency',
55
+ 'add-service-from-repo',
56
+ 'create-task-from-issue',
57
+ ];
58
+ /** A board service the turn touched: enough to name it and to link to it. */
59
+ export const assistantServiceRefSchema = v.object({
60
+ /** The service FRAME's block id. */
61
+ blockId: v.string(),
62
+ /** The frame's title, as it stands after the turn. */
63
+ title: v.string(),
64
+ });
65
+ // ---- What each performed action reports ------------------------------------
66
+ /**
67
+ * A declared dependency edge.
68
+ *
69
+ * `created` is false when the edge was already on the board. The turn still SUCCEEDED (the board
70
+ * is in the state that was asked for), and saying so is what stops the SPA from reporting an
71
+ * idempotent re-declaration as a fresh one.
72
+ */
73
+ export const assistantDependencyDeclaredSchema = v.object({
74
+ actionId: v.literal('declare-service-dependency'),
75
+ /** The service that DEPENDS on the other (the edge is stored on this one). */
76
+ consumer: assistantServiceRefSchema,
77
+ /** The service depended ON, spun up alongside the consumer when it is tested. */
78
+ provider: assistantServiceRefSchema,
79
+ /** Whether this turn added the edge (false ⇒ it was already declared). */
80
+ created: v.boolean(),
81
+ });
82
+ /**
83
+ * A service frame backed by a repository.
84
+ *
85
+ * `created` distinguishes a new frame from an existing account service this board now MOUNTS,
86
+ * the deduplication `addServiceFromRepo` performs for a whole-repo service the org already runs.
87
+ * The two are different facts about the board, and a caller told only "here is your service"
88
+ * would read the second as the first.
89
+ */
90
+ export const assistantServiceAddedSchema = v.object({
91
+ actionId: v.literal('add-service-from-repo'),
92
+ service: assistantServiceRefSchema,
93
+ /** The repository the frame is backed by. */
94
+ repo: v.object({
95
+ owner: v.string(),
96
+ name: v.string(),
97
+ /** The monorepo subdirectory the service lives in, or null for a whole-repo service. */
98
+ directory: v.nullable(v.string()),
99
+ }),
100
+ /** Whether this turn created the frame (false ⇒ an existing org service was mounted here). */
101
+ created: v.boolean(),
102
+ });
103
+ /** A board task filed from a tracker issue. */
104
+ export const assistantTaskCreatedSchema = v.object({
105
+ actionId: v.literal('create-task-from-issue'),
106
+ task: v.object({ blockId: v.string(), title: v.string() }),
107
+ /** The service frame the task was filed under. */
108
+ service: assistantServiceRefSchema,
109
+ issue: v.object({
110
+ source: taskSourceKindSchema,
111
+ /** The source's canonical key (`owner/repo#12`, `PROJ-7`). */
112
+ externalId: v.string(),
113
+ url: v.string(),
114
+ }),
115
+ });
116
+ /** What a performed turn did, discriminated by the action that did it. */
117
+ export const assistantActionResultSchema = v.variant('actionId', [
118
+ assistantDependencyDeclaredSchema,
119
+ assistantServiceAddedSchema,
120
+ assistantTaskCreatedSchema,
121
+ ]);
122
+ // ---- What a turn that could NOT act reports --------------------------------
123
+ /**
124
+ * Why the platform could not resolve one argument to something on the board.
125
+ *
126
+ * Each member names a DIFFERENT next move for the person, which is why they are not one
127
+ * "could not resolve" value: an unknown name is retyped, an ambiguous one is picked from the
128
+ * candidates, a missing argument is supplied, and an unconnected repository or tracker is a trip
129
+ * to the integrations panel before the same sentence works.
130
+ */
131
+ export const assistantClarificationReasonSchema = v.picklist([
132
+ /** The prompt never named the argument, and it has no default. */
133
+ 'missing_argument',
134
+ /** The argument was named, but the value is not one the platform can use (an unsafe path, an over-long name). */
135
+ 'invalid_argument',
136
+ /** No board service matches the name that was given. */
137
+ 'unknown_service',
138
+ /** Several board services match the name that was given; `candidates` holds them. */
139
+ 'ambiguous_service',
140
+ /** The repository URL is well-formed, but this workspace has not connected that repository. */
141
+ 'unknown_repository',
142
+ /** The URL does not parse as a repository the platform can read. */
143
+ 'unreadable_repository_url',
144
+ /** No connected tracker recognises the issue URL. */
145
+ 'unknown_issue_source',
146
+ /** Two connected trackers both recognise the issue URL, so which one is meant is unstated. */
147
+ 'ambiguous_issue_source',
148
+ /** The issue's repository backs no service on this board, and the prompt named none. */
149
+ 'unresolved_issue_service',
150
+ ]);
151
+ /**
152
+ * One action's arguments on the wire: declared keys, string values.
153
+ *
154
+ * Capped per value at the same length as a prompt, because they come back INTO the platform when a
155
+ * clarification is answered, and an unbounded value there would be a bigger input than the sentence
156
+ * that produced it.
157
+ */
158
+ export const assistantArgumentsSchema = v.record(v.string(), v.pipe(v.string(), v.maxLength(2000)));
159
+ /** Why no action ran at all. */
160
+ export const assistantDeclineReasonSchema = v.picklist([
161
+ /** The prompt does not ask for anything in the catalog. */
162
+ 'no_matching_action',
163
+ ]);
164
+ /**
165
+ * The outcome of one turn.
166
+ *
167
+ * `needs_input` carries the action it was HEADING for, so the SPA can say what it was about to do
168
+ * rather than only what it could not find, and `candidates` is the shortlist the platform was
169
+ * choosing between (empty when there was nothing to choose from, since an unknown name has no
170
+ * near-misses to offer).
171
+ */
172
+ export const assistantOutcomeSchema = v.variant('status', [
173
+ v.object({ status: v.literal('performed'), result: assistantActionResultSchema }),
174
+ v.object({
175
+ status: v.literal('needs_input'),
176
+ actionId: assistantActionIdSchema,
177
+ reason: assistantClarificationReasonSchema,
178
+ /** The argument key that could not be resolved (`consumer`, `repoUrl`, `source`, …). */
179
+ field: v.string(),
180
+ /**
181
+ * What the platform was choosing between, at most a handful. Empty ⇒ nothing matched.
182
+ *
183
+ * Every entry is a legal VALUE for {@link field}, not a label describing one, because the
184
+ * clarification is answered by putting a candidate in that field (see
185
+ * {@link assistantAnswerSchema}). An action offering a candidate its own next turn would
186
+ * refuse is a question with no acceptable answer, which is why the near-misses an unknown
187
+ * repository reports are `owner/name` slugs and the trackers an ambiguous reference reports
188
+ * are source ids.
189
+ */
190
+ candidates: v.array(v.string()),
191
+ /**
192
+ * The arguments the turn resolved, so the answer can be a RESUMPTION rather than a retyped
193
+ * sentence. Declared keys only, already validated, and the person's own words either way.
194
+ */
195
+ arguments: assistantArgumentsSchema,
196
+ }),
197
+ v.object({ status: v.literal('declined'), reason: assistantDeclineReasonSchema }),
198
+ ]);
199
+ /** One turn: what the platform did, and which model read the prompt to decide it. */
200
+ export const assistantTurnSchema = v.object({
201
+ outcome: assistantOutcomeSchema,
202
+ /**
203
+ * The model that chose the action, so a turn can be traced to the route that produced it.
204
+ *
205
+ * NULL for an ANSWERED clarification, which runs no model at all. Reporting the model the
206
+ * previous turn used would attribute a deterministic re-run to a call that never happened, and
207
+ * an absent value is the only honest way to say a turn spent nothing.
208
+ */
209
+ model: v.nullable(v.object({ provider: v.string(), model: v.string() })),
210
+ });
211
+ /**
212
+ * Answering a question a previous turn asked, as DATA rather than as more prose.
213
+ *
214
+ * This is what makes a clarification terminate. The alternative the surface started with was to
215
+ * append the chosen candidate to the sentence and route it through the model again, and that
216
+ * cannot converge: the original words are still in the prompt (a repository under the wrong owner
217
+ * stays there beside the right one), and a candidate the model has no declared argument to put it
218
+ * in is simply dropped. Re-running the same action with the same arguments and the one field
219
+ * replaced is exact, terminates in one step, and bills nothing.
220
+ *
221
+ * It grants no authority the prompt path does not. The arguments are re-validated by the same
222
+ * descriptor rules, undeclared keys are dropped exactly as they are for a model's reply, every
223
+ * name is re-resolved against the board, and the action is the same one a button performs under
224
+ * the caller's own tier.
225
+ */
226
+ export const assistantAnswerSchema = v.object({
227
+ /** The action the question was asked on behalf of, as its outcome named it. */
228
+ actionId: assistantActionIdSchema,
229
+ /** That turn's arguments, with the answered field replaced by the value the person chose. */
230
+ arguments: assistantArgumentsSchema,
231
+ });
232
+ /**
233
+ * What a turn runs on: a sentence to route, or the answer to the question the last one asked.
234
+ *
235
+ * Discriminated rather than "a prompt plus an optional answer", because the two share no field: an
236
+ * answered turn has no sentence to read and never reaches a model, and a shape carrying a required
237
+ * prompt beside it would make every answer invent one.
238
+ */
239
+ export const assistantTurnInputSchema = v.variant('kind', [
240
+ v.object({
241
+ kind: v.literal('prompt'),
242
+ prompt: v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(2000)),
243
+ }),
244
+ v.object({ kind: v.literal('answer'), answer: assistantAnswerSchema }),
245
+ ]);
246
+ /**
247
+ * What this deployment's assistant can do, read before the prompt box is offered.
248
+ *
249
+ * `available` is about the MODEL, not about permissions: a deployment that wired no provider
250
+ * cannot answer a prompt, and hiding the box is a better answer than a 503 on every submission.
251
+ * The action list is published rather than assumed so a deployment that narrows the catalog
252
+ * narrows the suggestions with it, instead of advertising an action the engine would decline.
253
+ */
254
+ export const assistantCapabilitySchema = v.object({
255
+ available: v.boolean(),
256
+ actions: v.array(assistantActionIdSchema),
257
+ });
258
+ //# sourceMappingURL=assistant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assistant.js","sourceRoot":"","sources":["../src/assistant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,8EAA8E;AAC9E,kFAAkF;AAClF,EAAE;AACF,+FAA+F;AAC/F,kGAAkG;AAClG,2FAA2F;AAC3F,8FAA8F;AAC9F,iGAAiG;AACjG,mBAAmB;AACnB,EAAE;AACF,+FAA+F;AAC/F,wEAAwE;AACxE,EAAE;AACF,iGAAiG;AACjG,gFAAgF;AAChF,8FAA8F;AAC9F,gGAAgG;AAChG,iGAAiG;AACjG,kGAAkG;AAClG,oFAAoF;AACpF,sEAAsE;AACtE,EAAE;AACF,4FAA4F;AAC5F,kGAAkG;AAClG,gGAAgG;AAChG,4FAA4F;AAC5F,EAAE;AACF,4FAA4F;AAC5F,+FAA+F;AAC/F,0CAA0C;AAC1C,EAAE;AACF,wCAAwC;AACxC,8EAA8E;AAE9E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,QAAQ,CAAC;IAChD,oGAAoG;IACpG,4BAA4B;IAC5B,mGAAmG;IACnG,uBAAuB;IACvB,mGAAmG;IACnG,wBAAwB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AS,EAAE,wBAAwB;CACpC,CAAC,CAAA;AAGF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE;IACxD,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QACzB,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;KACxE,CAAC;IACF,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACvE,CAAC,CAAA;AAGF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;IACtB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC;CAC1C,CAAC,CAAA"}
package/dist/errors.d.ts CHANGED
@@ -89,6 +89,23 @@ export type ConflictReason = (typeof CONFLICT_REASONS)[number];
89
89
  * interface definitions), so it must not read as the
90
90
  * outage `service_catalog_unreachable` describes.
91
91
  *
92
+ * - `assistant_generation_failed` : the assistant's own model provider refused or did not
93
+ * answer. An OUTAGE (or a rejected key) in a provider the
94
+ * deployment HAS wired, which is the one thing the generic
95
+ * copy denies, and the remedy is to retry rather than to go
96
+ * looking for a registration that is already there.
97
+ * - `assistant_reply_unreadable` : the model answered, and what came back was not a routing
98
+ * decision (an empty visible reply from a model that spoke
99
+ * only into its reasoning channel, or non-JSON prose).
100
+ * Distinct from the reason above because nothing failed:
101
+ * the remedy is a different model for the assistant, not a
102
+ * retry of the same one.
103
+ *
104
+ * The assistant's other two 503 reasons (`assistant_model_unavailable`, `assistant_no_actions`) are
105
+ * deliberately NOT here, on the same reading as `vcs_client_unconfigured` below: both ARE the wiring
106
+ * gap the generic copy describes, so restating it under their own key would add a translation
107
+ * without adding a fact.
108
+ *
92
109
  * Its sibling `vcs_client_unconfigured` (no client wired for the routed connection's provider) is
93
110
  * deliberately NOT here. That one IS a wiring gap, so the generic copy states it correctly, and
94
111
  * this list is a short set of exceptions to that copy rather than a second vocabulary mirroring
@@ -97,7 +114,7 @@ export type ConflictReason = (typeof CONFLICT_REASONS)[number];
97
114
  * or tracker one, so it reuses `connection_credentials_unreadable` rather than earning a
98
115
  * near-duplicate with near-duplicate copy.
99
116
  */
100
- export declare const UNAVAILABLE_REASONS: readonly ['binary_generators_unreachable', 'foundational_builtins_unreachable', 'connection_credentials_unreadable', 'vcs_capability_unsupported', 'service_catalog_unreachable', 'service_catalog_unauthorized', 'service_catalog_filter_missing', 'service_catalog_response_too_large'];
117
+ export declare const UNAVAILABLE_REASONS: readonly ['binary_generators_unreachable', 'foundational_builtins_unreachable', 'connection_credentials_unreadable', 'vcs_capability_unsupported', 'service_catalog_unreachable', 'service_catalog_unauthorized', 'service_catalog_filter_missing', 'service_catalog_response_too_large', 'assistant_generation_failed', 'assistant_reply_unreadable'];
101
118
  export type UnavailableReason = (typeof UNAVAILABLE_REASONS)[number];
102
119
  /**
103
120
  * Machine-readable reasons a `review` task's target pull request is refused at creation
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,YAC7B,WAAW,EACX,YAAY,EACZ,UAAU,EACV,qBAAqB,EACrB,WAAW,EACX,aAAa,EACb,cAAc,EACd,cAAc,CACN,CAAA;AAEV,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEjE;;;;;;GAMG;AACH,eAAO,MAAM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AAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEvE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,2BAA2B,YACtC,0BAA0B,EAC1B,2BAA2B,CACnB,CAAA;AAEV,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAA"}
package/dist/errors.js CHANGED
@@ -341,6 +341,23 @@ export const CONFLICT_REASONS = [
341
341
  * interface definitions), so it must not read as the
342
342
  * outage `service_catalog_unreachable` describes.
343
343
  *
344
+ * - `assistant_generation_failed` : the assistant's own model provider refused or did not
345
+ * answer. An OUTAGE (or a rejected key) in a provider the
346
+ * deployment HAS wired, which is the one thing the generic
347
+ * copy denies, and the remedy is to retry rather than to go
348
+ * looking for a registration that is already there.
349
+ * - `assistant_reply_unreadable` : the model answered, and what came back was not a routing
350
+ * decision (an empty visible reply from a model that spoke
351
+ * only into its reasoning channel, or non-JSON prose).
352
+ * Distinct from the reason above because nothing failed:
353
+ * the remedy is a different model for the assistant, not a
354
+ * retry of the same one.
355
+ *
356
+ * The assistant's other two 503 reasons (`assistant_model_unavailable`, `assistant_no_actions`) are
357
+ * deliberately NOT here, on the same reading as `vcs_client_unconfigured` below: both ARE the wiring
358
+ * gap the generic copy describes, so restating it under their own key would add a translation
359
+ * without adding a fact.
360
+ *
344
361
  * Its sibling `vcs_client_unconfigured` (no client wired for the routed connection's provider) is
345
362
  * deliberately NOT here. That one IS a wiring gap, so the generic copy states it correctly, and
346
363
  * this list is a short set of exceptions to that copy rather than a second vocabulary mirroring
@@ -358,6 +375,8 @@ export const UNAVAILABLE_REASONS = [
358
375
  'service_catalog_unauthorized',
359
376
  'service_catalog_filter_missing',
360
377
  'service_catalog_response_too_large',
378
+ 'assistant_generation_failed',
379
+ 'assistant_reply_unreadable',
361
380
  ];
362
381
  /**
363
382
  * Machine-readable reasons a `review` task's target pull request is refused at creation
@@ -1 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,CAAA;AAIV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,+BAA+B;IAC/B,mCAAmC;IACnC,mCAAmC;IACnC,4BAA4B;IAC5B,6BAA6B;IAC7B,8BAA8B;IAC9B,gCAAgC;IAChC,oCAAoC;IACpC,6BAA6B;IAC7B,4BAA4B;CACpB,CAAA;AAIV;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,qBAAqB,EAAE,yBAAyB,CAAU,CAAA;AAIhG;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,0BAA0B;IAC1B,2BAA2B;CACnB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -49,6 +49,7 @@ export * from './provider-config.js';
49
49
  export * from './user-secret.js';
50
50
  export * from './documents.js';
51
51
  export * from './tasks.js';
52
+ export * from './assistant.js';
52
53
  export * from './bug-hunt.js';
53
54
  export * from './environment-reachability.js';
54
55
  export * from './environments.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAA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,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA;AACpC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
package/dist/index.js CHANGED
@@ -49,6 +49,7 @@ export * from './provider-config.js';
49
49
  export * from './user-secret.js';
50
50
  export * from './documents.js';
51
51
  export * from './tasks.js';
52
+ export * from './assistant.js';
52
53
  export * from './bug-hunt.js';
53
54
  export * from './environment-reachability.js';
54
55
  export * from './environments.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,WA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AAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,138 @@
1
+ /** What the assistant can do here, and whether a model is wired to answer at all. */
2
+ export declare const getAssistantCapabilityContract: {
3
+ readonly method: "get";
4
+ readonly pathResolver: () => string;
5
+ readonly responsesByStatusCode: {
6
+ readonly '4xx': import("valibot").ObjectSchema<{
7
+ readonly error: import("valibot").ObjectSchema<{
8
+ readonly code: import("valibot").StringSchema<undefined>;
9
+ readonly message: import("valibot").StringSchema<undefined>;
10
+ readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
11
+ readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
12
+ readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
13
+ readonly message: import("valibot").StringSchema<undefined>;
14
+ }, undefined>, undefined>, undefined>;
15
+ }, undefined>;
16
+ }, undefined>;
17
+ readonly '5xx': import("valibot").ObjectSchema<{
18
+ readonly error: import("valibot").ObjectSchema<{
19
+ readonly code: import("valibot").StringSchema<undefined>;
20
+ readonly message: import("valibot").StringSchema<undefined>;
21
+ readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
22
+ readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
23
+ readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
24
+ readonly message: import("valibot").StringSchema<undefined>;
25
+ }, undefined>, undefined>, undefined>;
26
+ }, undefined>;
27
+ }, undefined>;
28
+ readonly 200: import("valibot").ObjectSchema<{
29
+ readonly available: import("valibot").BooleanSchema<undefined>;
30
+ readonly actions: import("valibot").ArraySchema<import("valibot").PicklistSchema<["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"], undefined>, undefined>;
31
+ }, undefined>;
32
+ };
33
+ };
34
+ /**
35
+ * Run one turn: read the prompt, pick an action, perform it.
36
+ *
37
+ * `POST` because a turn is expected to CHANGE the board, and 200 rather than 201 because two of
38
+ * its three outcomes create nothing: a status code cannot carry the distinction the outcome
39
+ * variant makes, and 201 on a turn that only asked a question would be a lie the SPA has to
40
+ * ignore anyway.
41
+ */
42
+ export declare const runAssistantTurnContract: {
43
+ readonly method: "post";
44
+ readonly pathResolver: () => string;
45
+ readonly requestBodySchema: import("valibot").VariantSchema<"kind", [import("valibot").ObjectSchema<{
46
+ readonly kind: import("valibot").LiteralSchema<"prompt", undefined>;
47
+ readonly prompt: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>;
48
+ }, undefined>, import("valibot").ObjectSchema<{
49
+ readonly kind: import("valibot").LiteralSchema<"answer", undefined>;
50
+ readonly answer: import("valibot").ObjectSchema<{
51
+ readonly actionId: import("valibot").PicklistSchema<["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"], undefined>;
52
+ readonly arguments: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
53
+ }, undefined>;
54
+ }, undefined>], undefined>;
55
+ readonly responsesByStatusCode: {
56
+ readonly '4xx': import("valibot").ObjectSchema<{
57
+ readonly error: import("valibot").ObjectSchema<{
58
+ readonly code: import("valibot").StringSchema<undefined>;
59
+ readonly message: import("valibot").StringSchema<undefined>;
60
+ readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
61
+ readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
62
+ readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
63
+ readonly message: import("valibot").StringSchema<undefined>;
64
+ }, undefined>, undefined>, undefined>;
65
+ }, undefined>;
66
+ }, undefined>;
67
+ readonly '5xx': import("valibot").ObjectSchema<{
68
+ readonly error: import("valibot").ObjectSchema<{
69
+ readonly code: import("valibot").StringSchema<undefined>;
70
+ readonly message: import("valibot").StringSchema<undefined>;
71
+ readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
72
+ readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
73
+ readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
74
+ readonly message: import("valibot").StringSchema<undefined>;
75
+ }, undefined>, undefined>, undefined>;
76
+ }, undefined>;
77
+ }, undefined>;
78
+ readonly 200: import("valibot").ObjectSchema<{
79
+ readonly outcome: import("valibot").VariantSchema<"status", [import("valibot").ObjectSchema<{
80
+ readonly status: import("valibot").LiteralSchema<"performed", undefined>;
81
+ readonly result: import("valibot").VariantSchema<"actionId", [import("valibot").ObjectSchema<{
82
+ readonly actionId: import("valibot").LiteralSchema<"declare-service-dependency", undefined>;
83
+ readonly consumer: import("valibot").ObjectSchema<{
84
+ readonly blockId: import("valibot").StringSchema<undefined>;
85
+ readonly title: import("valibot").StringSchema<undefined>;
86
+ }, undefined>;
87
+ readonly provider: import("valibot").ObjectSchema<{
88
+ readonly blockId: import("valibot").StringSchema<undefined>;
89
+ readonly title: import("valibot").StringSchema<undefined>;
90
+ }, undefined>;
91
+ readonly created: import("valibot").BooleanSchema<undefined>;
92
+ }, undefined>, import("valibot").ObjectSchema<{
93
+ readonly actionId: import("valibot").LiteralSchema<"add-service-from-repo", undefined>;
94
+ readonly service: import("valibot").ObjectSchema<{
95
+ readonly blockId: import("valibot").StringSchema<undefined>;
96
+ readonly title: import("valibot").StringSchema<undefined>;
97
+ }, undefined>;
98
+ readonly repo: import("valibot").ObjectSchema<{
99
+ readonly owner: import("valibot").StringSchema<undefined>;
100
+ readonly name: import("valibot").StringSchema<undefined>;
101
+ readonly directory: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
102
+ }, undefined>;
103
+ readonly created: import("valibot").BooleanSchema<undefined>;
104
+ }, undefined>, import("valibot").ObjectSchema<{
105
+ readonly actionId: import("valibot").LiteralSchema<"create-task-from-issue", undefined>;
106
+ readonly task: import("valibot").ObjectSchema<{
107
+ readonly blockId: import("valibot").StringSchema<undefined>;
108
+ readonly title: import("valibot").StringSchema<undefined>;
109
+ }, undefined>;
110
+ readonly service: import("valibot").ObjectSchema<{
111
+ readonly blockId: import("valibot").StringSchema<undefined>;
112
+ readonly title: import("valibot").StringSchema<undefined>;
113
+ }, undefined>;
114
+ readonly issue: import("valibot").ObjectSchema<{
115
+ readonly source: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
116
+ readonly externalId: import("valibot").StringSchema<undefined>;
117
+ readonly url: import("valibot").StringSchema<undefined>;
118
+ }, undefined>;
119
+ }, undefined>], undefined>;
120
+ }, undefined>, import("valibot").ObjectSchema<{
121
+ readonly status: import("valibot").LiteralSchema<"needs_input", undefined>;
122
+ readonly actionId: import("valibot").PicklistSchema<["declare-service-dependency", "add-service-from-repo", "create-task-from-issue"], undefined>;
123
+ readonly reason: import("valibot").PicklistSchema<["missing_argument", "invalid_argument", "unknown_service", "ambiguous_service", "unknown_repository", "unreadable_repository_url", "unknown_issue_source", "ambiguous_issue_source", "unresolved_issue_service"], undefined>;
124
+ readonly field: import("valibot").StringSchema<undefined>;
125
+ readonly candidates: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
126
+ readonly arguments: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
127
+ }, undefined>, import("valibot").ObjectSchema<{
128
+ readonly status: import("valibot").LiteralSchema<"declined", undefined>;
129
+ readonly reason: import("valibot").PicklistSchema<["no_matching_action"], undefined>;
130
+ }, undefined>], undefined>;
131
+ readonly model: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
132
+ readonly provider: import("valibot").StringSchema<undefined>;
133
+ readonly model: import("valibot").StringSchema<undefined>;
134
+ }, undefined>, undefined>;
135
+ }, undefined>;
136
+ };
137
+ };
138
+ //# sourceMappingURL=assistant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assistant.d.ts","sourceRoot":"","sources":["../../src/routes/assistant.ts"],"names":[],"mappings":"AAaA,qFAAqF;AACrF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIzC,CAAA;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { defineApiContract } from '@toad-contracts/valibot';
2
+ import { assistantCapabilitySchema, assistantTurnInputSchema, assistantTurnSchema, } from '../assistant.js';
3
+ import { errorResponses } from './_shared.js';
4
+ // ---------------------------------------------------------------------------
5
+ // In-app assistant route contracts. Mounted under `/workspaces/:workspaceId`, so the paths here
6
+ // are relative to that prefix. See AssistantController in @cat-factory/server.
7
+ // ---------------------------------------------------------------------------
8
+ /** What the assistant can do here, and whether a model is wired to answer at all. */
9
+ export const getAssistantCapabilityContract = defineApiContract({
10
+ method: 'get',
11
+ pathResolver: () => '/assistant',
12
+ responsesByStatusCode: { 200: assistantCapabilitySchema, ...errorResponses },
13
+ });
14
+ /**
15
+ * Run one turn: read the prompt, pick an action, perform it.
16
+ *
17
+ * `POST` because a turn is expected to CHANGE the board, and 200 rather than 201 because two of
18
+ * its three outcomes create nothing: a status code cannot carry the distinction the outcome
19
+ * variant makes, and 201 on a turn that only asked a question would be a lie the SPA has to
20
+ * ignore anyway.
21
+ */
22
+ export const runAssistantTurnContract = defineApiContract({
23
+ method: 'post',
24
+ pathResolver: () => '/assistant/turns',
25
+ requestBodySchema: assistantTurnInputSchema,
26
+ responsesByStatusCode: { 200: assistantTurnSchema, ...errorResponses },
27
+ });
28
+ //# sourceMappingURL=assistant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assistant.js","sourceRoot":"","sources":["../../src/routes/assistant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,8EAA8E;AAC9E,gGAAgG;AAChG,+EAA+E;AAC/E,8EAA8E;AAE9E,qFAAqF;AACrF,MAAM,CAAC,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC9D,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,YAAY;IAChC,qBAAqB,EAAE,EAAE,GAAG,EAAE,yBAAyB,EAAE,GAAG,cAAc,EAAE;CAC7E,CAAC,CAAA;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,kBAAkB;IACtC,iBAAiB,EAAE,wBAAwB;IAC3C,qBAAqB,EAAE,EAAE,GAAG,EAAE,mBAAmB,EAAE,GAAG,cAAc,EAAE;CACvE,CAAC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  export * from './_shared.js';
2
2
  export * from './accounts.js';
3
3
  export * from './agent-runs.js';
4
+ export * from './assistant.js';
4
5
  export * from './api-keys.js';
5
6
  export * from './auth.js';
6
7
  export * from './board.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AAGA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,o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AAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA"}
@@ -4,6 +4,7 @@
4
4
  export * from './_shared.js';
5
5
  export * from './accounts.js';
6
6
  export * from './agent-runs.js';
7
+ export * from './assistant.js';
7
8
  export * from './api-keys.js';
8
9
  export * from './auth.js';
9
10
  export * from './board.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,+EAA+E;AAC/E,oDAAoD;AACpD,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB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AA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.349.0",
3
+ "version": "0.350.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",