@work-shape/catalyst-cli 0.8.0-rc.21 → 0.8.0-rc.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +45 -1
- package/dist/index.js +14 -3
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -16224,6 +16224,12 @@ declare const conversationOperations: {
|
|
|
16224
16224
|
createdAt: z.ZodISODateTime;
|
|
16225
16225
|
updatedAt: z.ZodISODateTime;
|
|
16226
16226
|
dispatchedRunId: z.ZodOptional<z.ZodString>;
|
|
16227
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16228
|
+
fileId: z.ZodString;
|
|
16229
|
+
filename: z.ZodString;
|
|
16230
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
16231
|
+
byteSize: z.ZodNumber;
|
|
16232
|
+
}, z.core.$strip>>>;
|
|
16227
16233
|
}, z.core.$strip>>>;
|
|
16228
16234
|
conversation: z.ZodObject<{
|
|
16229
16235
|
id: z.ZodString;
|
|
@@ -17256,7 +17262,9 @@ declare const conversationOperations: {
|
|
|
17256
17262
|
readonly scope: "conversation:write";
|
|
17257
17263
|
readonly requires: readonly [];
|
|
17258
17264
|
readonly effect: "changing";
|
|
17259
|
-
readonly body: z.ZodObject<{
|
|
17265
|
+
readonly body: z.ZodObject<{
|
|
17266
|
+
keepAttachments: z.ZodOptional<z.ZodBoolean>;
|
|
17267
|
+
}, z.core.$strip>;
|
|
17260
17268
|
readonly response: {
|
|
17261
17269
|
readonly kind: "json";
|
|
17262
17270
|
readonly schema: z.ZodObject<{
|
|
@@ -17292,6 +17300,12 @@ declare const conversationOperations: {
|
|
|
17292
17300
|
createdAt: z.ZodISODateTime;
|
|
17293
17301
|
updatedAt: z.ZodISODateTime;
|
|
17294
17302
|
dispatchedRunId: z.ZodOptional<z.ZodString>;
|
|
17303
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17304
|
+
fileId: z.ZodString;
|
|
17305
|
+
filename: z.ZodString;
|
|
17306
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
17307
|
+
byteSize: z.ZodNumber;
|
|
17308
|
+
}, z.core.$strip>>>;
|
|
17295
17309
|
}, z.core.$strip>;
|
|
17296
17310
|
}, z.core.$strip>;
|
|
17297
17311
|
};
|
|
@@ -17344,6 +17358,12 @@ declare const conversationOperations: {
|
|
|
17344
17358
|
createdAt: z.ZodISODateTime;
|
|
17345
17359
|
updatedAt: z.ZodISODateTime;
|
|
17346
17360
|
dispatchedRunId: z.ZodOptional<z.ZodString>;
|
|
17361
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17362
|
+
fileId: z.ZodString;
|
|
17363
|
+
filename: z.ZodString;
|
|
17364
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
17365
|
+
byteSize: z.ZodNumber;
|
|
17366
|
+
}, z.core.$strip>>>;
|
|
17347
17367
|
}, z.core.$strip>;
|
|
17348
17368
|
}, z.core.$strip>;
|
|
17349
17369
|
};
|
|
@@ -17680,6 +17700,12 @@ declare const conversationOperations: {
|
|
|
17680
17700
|
createdAt: z.ZodISODateTime;
|
|
17681
17701
|
updatedAt: z.ZodISODateTime;
|
|
17682
17702
|
dispatchedRunId: z.ZodOptional<z.ZodString>;
|
|
17703
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17704
|
+
fileId: z.ZodString;
|
|
17705
|
+
filename: z.ZodString;
|
|
17706
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
17707
|
+
byteSize: z.ZodNumber;
|
|
17708
|
+
}, z.core.$strip>>>;
|
|
17683
17709
|
}, z.core.$strip>>>;
|
|
17684
17710
|
conversation: z.ZodObject<{
|
|
17685
17711
|
id: z.ZodString;
|
|
@@ -18284,6 +18310,12 @@ declare const conversationOperations: {
|
|
|
18284
18310
|
createdAt: z.ZodISODateTime;
|
|
18285
18311
|
updatedAt: z.ZodISODateTime;
|
|
18286
18312
|
dispatchedRunId: z.ZodOptional<z.ZodString>;
|
|
18313
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18314
|
+
fileId: z.ZodString;
|
|
18315
|
+
filename: z.ZodString;
|
|
18316
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
18317
|
+
byteSize: z.ZodNumber;
|
|
18318
|
+
}, z.core.$strip>>>;
|
|
18287
18319
|
}, z.core.$strip>;
|
|
18288
18320
|
}, z.core.$strip>]>;
|
|
18289
18321
|
};
|
|
@@ -18618,6 +18650,12 @@ declare const conversationOperations: {
|
|
|
18618
18650
|
createdAt: z.ZodISODateTime;
|
|
18619
18651
|
updatedAt: z.ZodISODateTime;
|
|
18620
18652
|
dispatchedRunId: z.ZodOptional<z.ZodString>;
|
|
18653
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18654
|
+
fileId: z.ZodString;
|
|
18655
|
+
filename: z.ZodString;
|
|
18656
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
18657
|
+
byteSize: z.ZodNumber;
|
|
18658
|
+
}, z.core.$strip>>>;
|
|
18621
18659
|
}, z.core.$strip>>>;
|
|
18622
18660
|
conversation: z.ZodObject<{
|
|
18623
18661
|
id: z.ZodString;
|
|
@@ -19253,6 +19291,12 @@ declare const conversationOperations: {
|
|
|
19253
19291
|
createdAt: z.ZodISODateTime;
|
|
19254
19292
|
updatedAt: z.ZodISODateTime;
|
|
19255
19293
|
dispatchedRunId: z.ZodOptional<z.ZodString>;
|
|
19294
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19295
|
+
fileId: z.ZodString;
|
|
19296
|
+
filename: z.ZodString;
|
|
19297
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
19298
|
+
byteSize: z.ZodNumber;
|
|
19299
|
+
}, z.core.$strip>>>;
|
|
19256
19300
|
}, z.core.$strip>>;
|
|
19257
19301
|
}, z.core.$strip>, z.ZodObject<{
|
|
19258
19302
|
type: z.ZodLiteral<"message_delta">;
|
package/dist/index.js
CHANGED
|
@@ -2644,7 +2644,7 @@ import { z as z64 } from "zod";
|
|
|
2644
2644
|
// ../api-contract/package.json
|
|
2645
2645
|
var package_default = {
|
|
2646
2646
|
name: "@work-shape/catalyst-api-contract",
|
|
2647
|
-
version: "0.8.0-rc.
|
|
2647
|
+
version: "0.8.0-rc.22",
|
|
2648
2648
|
license: "MIT",
|
|
2649
2649
|
repository: {
|
|
2650
2650
|
type: "git",
|
|
@@ -5948,7 +5948,16 @@ var conversationFollowUpSchema = z31.object({
|
|
|
5948
5948
|
idempotencyKey: z31.string().optional(),
|
|
5949
5949
|
createdAt: timestampSchema,
|
|
5950
5950
|
updatedAt: timestampSchema,
|
|
5951
|
-
dispatchedRunId: z31.string().optional()
|
|
5951
|
+
dispatchedRunId: z31.string().optional(),
|
|
5952
|
+
/** The files the pending message carries; they go with it when it starts. */
|
|
5953
|
+
attachments: z31.array(
|
|
5954
|
+
z31.object({
|
|
5955
|
+
fileId: z31.string(),
|
|
5956
|
+
filename: z31.string(),
|
|
5957
|
+
mimeType: z31.string().optional(),
|
|
5958
|
+
byteSize: z31.number().int().nonnegative()
|
|
5959
|
+
})
|
|
5960
|
+
).optional()
|
|
5952
5961
|
});
|
|
5953
5962
|
var queuedConversationRunResponseSchema = z31.object({
|
|
5954
5963
|
followUp: conversationFollowUpSchema
|
|
@@ -9647,7 +9656,9 @@ var conversationOperations = {
|
|
|
9647
9656
|
scope: "conversation:write",
|
|
9648
9657
|
requires: [],
|
|
9649
9658
|
effect: "changing",
|
|
9650
|
-
|
|
9659
|
+
// Edit takes the message back with its files, which return to the composer; Remove
|
|
9660
|
+
// deletes them.
|
|
9661
|
+
body: z45.object({ keepAttachments: z45.boolean().optional() }),
|
|
9651
9662
|
response: json(z45.object({ followUp: conversationFollowUpSchema })),
|
|
9652
9663
|
errors: ["NOT_FOUND", "FORBIDDEN", "CONFLICT"],
|
|
9653
9664
|
rateClass: "write"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@work-shape/catalyst-cli",
|
|
3
|
-
"version": "0.8.0-rc.
|
|
3
|
+
"version": "0.8.0-rc.22",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@types/node": "^24.13.1",
|
|
41
41
|
"tsup": "^8.5.1",
|
|
42
42
|
"typescript": "^6.0.3",
|
|
43
|
-
"@work-shape/catalyst-api-client": "0.8.0-rc.
|
|
44
|
-
"@work-shape/catalyst-
|
|
45
|
-
"@work-shape/catalyst-
|
|
43
|
+
"@work-shape/catalyst-api-client": "0.8.0-rc.22",
|
|
44
|
+
"@work-shape/catalyst-api-contract": "0.8.0-rc.22",
|
|
45
|
+
"@work-shape/catalyst-asset-schemas": "0.8.0-rc.22"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup",
|