@trigger.dev/core 0.0.0-chat-prerelease-20260418083610 → 0.0.0-chat-prerelease-20260419173457
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/commonjs/v3/chat-client.d.ts +46 -0
- package/dist/commonjs/v3/chat-client.js +130 -0
- package/dist/commonjs/v3/chat-client.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/catalog.d.ts +4 -1
- package/dist/commonjs/v3/resource-catalog/index.d.ts +4 -1
- package/dist/commonjs/v3/resource-catalog/index.js +9 -0
- package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.d.ts +4 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js +9 -0
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.d.ts +6 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +44 -0
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +190 -0
- package/dist/commonjs/v3/schemas/build.js +3 -0
- package/dist/commonjs/v3/schemas/build.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +47 -0
- package/dist/commonjs/v3/schemas/schemas.d.ts +33 -0
- package/dist/commonjs/v3/schemas/schemas.js +17 -1
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/chat-client.d.ts +46 -0
- package/dist/esm/v3/chat-client.js +129 -0
- package/dist/esm/v3/chat-client.js.map +1 -1
- package/dist/esm/v3/resource-catalog/catalog.d.ts +4 -1
- package/dist/esm/v3/resource-catalog/index.d.ts +4 -1
- package/dist/esm/v3/resource-catalog/index.js +9 -0
- package/dist/esm/v3/resource-catalog/index.js.map +1 -1
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.d.ts +4 -1
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.js +9 -0
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.d.ts +6 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +44 -0
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +190 -0
- package/dist/esm/v3/schemas/build.js +4 -1
- package/dist/esm/v3/schemas/build.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +47 -0
- package/dist/esm/v3/schemas/schemas.d.ts +33 -0
- package/dist/esm/v3/schemas/schemas.js +16 -0
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -128,6 +128,26 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
128
128
|
}>>;
|
|
129
129
|
/** Maps output file paths to their content hashes for deduplication during dev */
|
|
130
130
|
outputHashes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
131
|
+
/** Skills discovered and bundled into `.trigger/skills/{id}/` under `outputPath`. */
|
|
132
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
133
|
+
filePath: z.ZodString;
|
|
134
|
+
exportName: z.ZodOptional<z.ZodString>;
|
|
135
|
+
entryPoint: z.ZodString;
|
|
136
|
+
id: z.ZodString;
|
|
137
|
+
sourcePath: z.ZodString;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
id: string;
|
|
140
|
+
filePath: string;
|
|
141
|
+
entryPoint: string;
|
|
142
|
+
sourcePath: string;
|
|
143
|
+
exportName?: string | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
id: string;
|
|
146
|
+
filePath: string;
|
|
147
|
+
entryPoint: string;
|
|
148
|
+
sourcePath: string;
|
|
149
|
+
exportName?: string | undefined;
|
|
150
|
+
}>, "many">>;
|
|
131
151
|
}, "strip", z.ZodTypeAny, {
|
|
132
152
|
runtime: "node" | "node-22" | "bun";
|
|
133
153
|
environment: string;
|
|
@@ -181,6 +201,13 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
181
201
|
exclude?: string[] | undefined;
|
|
182
202
|
} | undefined;
|
|
183
203
|
outputHashes?: Record<string, string> | undefined;
|
|
204
|
+
skills?: {
|
|
205
|
+
id: string;
|
|
206
|
+
filePath: string;
|
|
207
|
+
entryPoint: string;
|
|
208
|
+
sourcePath: string;
|
|
209
|
+
exportName?: string | undefined;
|
|
210
|
+
}[] | undefined;
|
|
184
211
|
}, {
|
|
185
212
|
runtime: "node" | "node-22" | "bun";
|
|
186
213
|
environment: string;
|
|
@@ -234,6 +261,13 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
234
261
|
exclude?: string[] | undefined;
|
|
235
262
|
} | undefined;
|
|
236
263
|
outputHashes?: Record<string, string> | undefined;
|
|
264
|
+
skills?: {
|
|
265
|
+
id: string;
|
|
266
|
+
filePath: string;
|
|
267
|
+
entryPoint: string;
|
|
268
|
+
sourcePath: string;
|
|
269
|
+
exportName?: string | undefined;
|
|
270
|
+
}[] | undefined;
|
|
237
271
|
}>;
|
|
238
272
|
export type BuildManifest = z.infer<typeof BuildManifest>;
|
|
239
273
|
export declare const IndexMessage: z.ZodObject<{
|
|
@@ -353,6 +387,26 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
353
387
|
}>>;
|
|
354
388
|
/** Maps output file paths to their content hashes for deduplication during dev */
|
|
355
389
|
outputHashes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
390
|
+
/** Skills discovered and bundled into `.trigger/skills/{id}/` under `outputPath`. */
|
|
391
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
392
|
+
filePath: z.ZodString;
|
|
393
|
+
exportName: z.ZodOptional<z.ZodString>;
|
|
394
|
+
entryPoint: z.ZodString;
|
|
395
|
+
id: z.ZodString;
|
|
396
|
+
sourcePath: z.ZodString;
|
|
397
|
+
}, "strip", z.ZodTypeAny, {
|
|
398
|
+
id: string;
|
|
399
|
+
filePath: string;
|
|
400
|
+
entryPoint: string;
|
|
401
|
+
sourcePath: string;
|
|
402
|
+
exportName?: string | undefined;
|
|
403
|
+
}, {
|
|
404
|
+
id: string;
|
|
405
|
+
filePath: string;
|
|
406
|
+
entryPoint: string;
|
|
407
|
+
sourcePath: string;
|
|
408
|
+
exportName?: string | undefined;
|
|
409
|
+
}>, "many">>;
|
|
356
410
|
}, "strip", z.ZodTypeAny, {
|
|
357
411
|
runtime: "node" | "node-22" | "bun";
|
|
358
412
|
environment: string;
|
|
@@ -406,6 +460,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
406
460
|
exclude?: string[] | undefined;
|
|
407
461
|
} | undefined;
|
|
408
462
|
outputHashes?: Record<string, string> | undefined;
|
|
463
|
+
skills?: {
|
|
464
|
+
id: string;
|
|
465
|
+
filePath: string;
|
|
466
|
+
entryPoint: string;
|
|
467
|
+
sourcePath: string;
|
|
468
|
+
exportName?: string | undefined;
|
|
469
|
+
}[] | undefined;
|
|
409
470
|
}, {
|
|
410
471
|
runtime: "node" | "node-22" | "bun";
|
|
411
472
|
environment: string;
|
|
@@ -459,6 +520,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
459
520
|
exclude?: string[] | undefined;
|
|
460
521
|
} | undefined;
|
|
461
522
|
outputHashes?: Record<string, string> | undefined;
|
|
523
|
+
skills?: {
|
|
524
|
+
id: string;
|
|
525
|
+
filePath: string;
|
|
526
|
+
entryPoint: string;
|
|
527
|
+
sourcePath: string;
|
|
528
|
+
exportName?: string | undefined;
|
|
529
|
+
}[] | undefined;
|
|
462
530
|
}>;
|
|
463
531
|
}, "strip", z.ZodTypeAny, {
|
|
464
532
|
build: {
|
|
@@ -514,6 +582,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
514
582
|
exclude?: string[] | undefined;
|
|
515
583
|
} | undefined;
|
|
516
584
|
outputHashes?: Record<string, string> | undefined;
|
|
585
|
+
skills?: {
|
|
586
|
+
id: string;
|
|
587
|
+
filePath: string;
|
|
588
|
+
entryPoint: string;
|
|
589
|
+
sourcePath: string;
|
|
590
|
+
exportName?: string | undefined;
|
|
591
|
+
}[] | undefined;
|
|
517
592
|
};
|
|
518
593
|
}, {
|
|
519
594
|
build: {
|
|
@@ -569,6 +644,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
569
644
|
exclude?: string[] | undefined;
|
|
570
645
|
} | undefined;
|
|
571
646
|
outputHashes?: Record<string, string> | undefined;
|
|
647
|
+
skills?: {
|
|
648
|
+
id: string;
|
|
649
|
+
filePath: string;
|
|
650
|
+
entryPoint: string;
|
|
651
|
+
sourcePath: string;
|
|
652
|
+
exportName?: string | undefined;
|
|
653
|
+
}[] | undefined;
|
|
572
654
|
};
|
|
573
655
|
}>;
|
|
574
656
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -627,6 +709,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
627
709
|
exclude?: string[] | undefined;
|
|
628
710
|
} | undefined;
|
|
629
711
|
outputHashes?: Record<string, string> | undefined;
|
|
712
|
+
skills?: {
|
|
713
|
+
id: string;
|
|
714
|
+
filePath: string;
|
|
715
|
+
entryPoint: string;
|
|
716
|
+
sourcePath: string;
|
|
717
|
+
exportName?: string | undefined;
|
|
718
|
+
}[] | undefined;
|
|
630
719
|
};
|
|
631
720
|
};
|
|
632
721
|
}, {
|
|
@@ -685,6 +774,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
685
774
|
exclude?: string[] | undefined;
|
|
686
775
|
} | undefined;
|
|
687
776
|
outputHashes?: Record<string, string> | undefined;
|
|
777
|
+
skills?: {
|
|
778
|
+
id: string;
|
|
779
|
+
filePath: string;
|
|
780
|
+
entryPoint: string;
|
|
781
|
+
sourcePath: string;
|
|
782
|
+
exportName?: string | undefined;
|
|
783
|
+
}[] | undefined;
|
|
688
784
|
};
|
|
689
785
|
};
|
|
690
786
|
}>;
|
|
@@ -883,6 +979,25 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
883
979
|
config?: Record<string, unknown> | undefined;
|
|
884
980
|
variableSchema?: unknown;
|
|
885
981
|
}>, "many">>;
|
|
982
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
983
|
+
filePath: z.ZodString;
|
|
984
|
+
exportName: z.ZodOptional<z.ZodString>;
|
|
985
|
+
entryPoint: z.ZodString;
|
|
986
|
+
id: z.ZodString;
|
|
987
|
+
sourcePath: z.ZodString;
|
|
988
|
+
}, "strip", z.ZodTypeAny, {
|
|
989
|
+
id: string;
|
|
990
|
+
filePath: string;
|
|
991
|
+
entryPoint: string;
|
|
992
|
+
sourcePath: string;
|
|
993
|
+
exportName?: string | undefined;
|
|
994
|
+
}, {
|
|
995
|
+
id: string;
|
|
996
|
+
filePath: string;
|
|
997
|
+
entryPoint: string;
|
|
998
|
+
sourcePath: string;
|
|
999
|
+
exportName?: string | undefined;
|
|
1000
|
+
}>, "many">>;
|
|
886
1001
|
queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
887
1002
|
name: z.ZodString;
|
|
888
1003
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -986,6 +1101,13 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
986
1101
|
include?: string[] | undefined;
|
|
987
1102
|
exclude?: string[] | undefined;
|
|
988
1103
|
} | undefined;
|
|
1104
|
+
skills?: {
|
|
1105
|
+
id: string;
|
|
1106
|
+
filePath: string;
|
|
1107
|
+
entryPoint: string;
|
|
1108
|
+
sourcePath: string;
|
|
1109
|
+
exportName?: string | undefined;
|
|
1110
|
+
}[] | undefined;
|
|
989
1111
|
controllerEntryPoint?: string | undefined;
|
|
990
1112
|
timings?: Record<string, number> | undefined;
|
|
991
1113
|
processKeepAlive?: {
|
|
@@ -1057,6 +1179,13 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1057
1179
|
include?: string[] | undefined;
|
|
1058
1180
|
exclude?: string[] | undefined;
|
|
1059
1181
|
} | undefined;
|
|
1182
|
+
skills?: {
|
|
1183
|
+
id: string;
|
|
1184
|
+
filePath: string;
|
|
1185
|
+
entryPoint: string;
|
|
1186
|
+
sourcePath: string;
|
|
1187
|
+
exportName?: string | undefined;
|
|
1188
|
+
}[] | undefined;
|
|
1060
1189
|
controllerEntryPoint?: string | undefined;
|
|
1061
1190
|
timings?: Record<string, number> | undefined;
|
|
1062
1191
|
processKeepAlive?: {
|
|
@@ -1262,6 +1391,25 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1262
1391
|
config?: Record<string, unknown> | undefined;
|
|
1263
1392
|
variableSchema?: unknown;
|
|
1264
1393
|
}>, "many">>;
|
|
1394
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1395
|
+
filePath: z.ZodString;
|
|
1396
|
+
exportName: z.ZodOptional<z.ZodString>;
|
|
1397
|
+
entryPoint: z.ZodString;
|
|
1398
|
+
id: z.ZodString;
|
|
1399
|
+
sourcePath: z.ZodString;
|
|
1400
|
+
}, "strip", z.ZodTypeAny, {
|
|
1401
|
+
id: string;
|
|
1402
|
+
filePath: string;
|
|
1403
|
+
entryPoint: string;
|
|
1404
|
+
sourcePath: string;
|
|
1405
|
+
exportName?: string | undefined;
|
|
1406
|
+
}, {
|
|
1407
|
+
id: string;
|
|
1408
|
+
filePath: string;
|
|
1409
|
+
entryPoint: string;
|
|
1410
|
+
sourcePath: string;
|
|
1411
|
+
exportName?: string | undefined;
|
|
1412
|
+
}>, "many">>;
|
|
1265
1413
|
queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1266
1414
|
name: z.ZodString;
|
|
1267
1415
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1365,6 +1513,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1365
1513
|
include?: string[] | undefined;
|
|
1366
1514
|
exclude?: string[] | undefined;
|
|
1367
1515
|
} | undefined;
|
|
1516
|
+
skills?: {
|
|
1517
|
+
id: string;
|
|
1518
|
+
filePath: string;
|
|
1519
|
+
entryPoint: string;
|
|
1520
|
+
sourcePath: string;
|
|
1521
|
+
exportName?: string | undefined;
|
|
1522
|
+
}[] | undefined;
|
|
1368
1523
|
controllerEntryPoint?: string | undefined;
|
|
1369
1524
|
timings?: Record<string, number> | undefined;
|
|
1370
1525
|
processKeepAlive?: {
|
|
@@ -1436,6 +1591,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1436
1591
|
include?: string[] | undefined;
|
|
1437
1592
|
exclude?: string[] | undefined;
|
|
1438
1593
|
} | undefined;
|
|
1594
|
+
skills?: {
|
|
1595
|
+
id: string;
|
|
1596
|
+
filePath: string;
|
|
1597
|
+
entryPoint: string;
|
|
1598
|
+
sourcePath: string;
|
|
1599
|
+
exportName?: string | undefined;
|
|
1600
|
+
}[] | undefined;
|
|
1439
1601
|
controllerEntryPoint?: string | undefined;
|
|
1440
1602
|
timings?: Record<string, number> | undefined;
|
|
1441
1603
|
processKeepAlive?: {
|
|
@@ -1509,6 +1671,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1509
1671
|
include?: string[] | undefined;
|
|
1510
1672
|
exclude?: string[] | undefined;
|
|
1511
1673
|
} | undefined;
|
|
1674
|
+
skills?: {
|
|
1675
|
+
id: string;
|
|
1676
|
+
filePath: string;
|
|
1677
|
+
entryPoint: string;
|
|
1678
|
+
sourcePath: string;
|
|
1679
|
+
exportName?: string | undefined;
|
|
1680
|
+
}[] | undefined;
|
|
1512
1681
|
controllerEntryPoint?: string | undefined;
|
|
1513
1682
|
timings?: Record<string, number> | undefined;
|
|
1514
1683
|
processKeepAlive?: {
|
|
@@ -1582,6 +1751,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1582
1751
|
include?: string[] | undefined;
|
|
1583
1752
|
exclude?: string[] | undefined;
|
|
1584
1753
|
} | undefined;
|
|
1754
|
+
skills?: {
|
|
1755
|
+
id: string;
|
|
1756
|
+
filePath: string;
|
|
1757
|
+
entryPoint: string;
|
|
1758
|
+
sourcePath: string;
|
|
1759
|
+
exportName?: string | undefined;
|
|
1760
|
+
}[] | undefined;
|
|
1585
1761
|
controllerEntryPoint?: string | undefined;
|
|
1586
1762
|
timings?: Record<string, number> | undefined;
|
|
1587
1763
|
processKeepAlive?: {
|
|
@@ -1658,6 +1834,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1658
1834
|
include?: string[] | undefined;
|
|
1659
1835
|
exclude?: string[] | undefined;
|
|
1660
1836
|
} | undefined;
|
|
1837
|
+
skills?: {
|
|
1838
|
+
id: string;
|
|
1839
|
+
filePath: string;
|
|
1840
|
+
entryPoint: string;
|
|
1841
|
+
sourcePath: string;
|
|
1842
|
+
exportName?: string | undefined;
|
|
1843
|
+
}[] | undefined;
|
|
1661
1844
|
controllerEntryPoint?: string | undefined;
|
|
1662
1845
|
timings?: Record<string, number> | undefined;
|
|
1663
1846
|
processKeepAlive?: {
|
|
@@ -1734,6 +1917,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1734
1917
|
include?: string[] | undefined;
|
|
1735
1918
|
exclude?: string[] | undefined;
|
|
1736
1919
|
} | undefined;
|
|
1920
|
+
skills?: {
|
|
1921
|
+
id: string;
|
|
1922
|
+
filePath: string;
|
|
1923
|
+
entryPoint: string;
|
|
1924
|
+
sourcePath: string;
|
|
1925
|
+
exportName?: string | undefined;
|
|
1926
|
+
}[] | undefined;
|
|
1737
1927
|
controllerEntryPoint?: string | undefined;
|
|
1738
1928
|
timings?: Record<string, number> | undefined;
|
|
1739
1929
|
processKeepAlive?: {
|
|
@@ -61,6 +61,8 @@ exports.BuildManifest = zod_1.z.object({
|
|
|
61
61
|
.optional(),
|
|
62
62
|
/** Maps output file paths to their content hashes for deduplication during dev */
|
|
63
63
|
outputHashes: zod_1.z.record(zod_1.z.string()).optional(),
|
|
64
|
+
/** Skills discovered and bundled into `.trigger/skills/{id}/` under `outputPath`. */
|
|
65
|
+
skills: schemas_js_1.SkillManifest.array().optional(),
|
|
64
66
|
});
|
|
65
67
|
exports.IndexMessage = zod_1.z.object({
|
|
66
68
|
type: zod_1.z.literal("index"),
|
|
@@ -72,6 +74,7 @@ exports.WorkerManifest = zod_1.z.object({
|
|
|
72
74
|
configPath: zod_1.z.string(),
|
|
73
75
|
tasks: schemas_js_1.TaskManifest.array(),
|
|
74
76
|
prompts: schemas_js_1.PromptManifest.array().optional(),
|
|
77
|
+
skills: schemas_js_1.SkillManifest.array().optional(),
|
|
75
78
|
queues: schemas_js_1.QueueManifest.array().optional(),
|
|
76
79
|
workerEntryPoint: zod_1.z.string(),
|
|
77
80
|
controllerEntryPoint: zod_1.z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../src/v3/schemas/build.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2CAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../src/v3/schemas/build.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2CAA6C;AAC7C,6CAMsB;AAET,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAIU,QAAA,WAAW,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;AAIrD,QAAA,YAAY,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;AAIlD,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,m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,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;KAChE,CAAC;SACD,QAAQ,EAAE;IAEb,cAAc,EAAE,OAAC;SACd,MAAM,CAAC;QACN,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACvC,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KACxC,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAC;AAIU,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;IAClC,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC;QACb,QAAQ,EAAE,sBAAc;KACzB,CAAC;CACH,CAAC,CAAC;AAIU,QAAA,WAAW,GAAG,OAAC,CAAC,MAAM,CAAC;IAClC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAIU,QAAA,oBAAoB,GAAG,OAAC,CAAC,KAAK,CAAC,mBAAW,CAAC,CAAC"}
|
|
@@ -7624,6 +7624,25 @@ export declare const indexerToWorkerMessages: {
|
|
|
7624
7624
|
config?: Record<string, unknown> | undefined;
|
|
7625
7625
|
variableSchema?: unknown;
|
|
7626
7626
|
}>, "many">>;
|
|
7627
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7628
|
+
filePath: z.ZodString;
|
|
7629
|
+
exportName: z.ZodOptional<z.ZodString>;
|
|
7630
|
+
entryPoint: z.ZodString;
|
|
7631
|
+
id: z.ZodString;
|
|
7632
|
+
sourcePath: z.ZodString;
|
|
7633
|
+
}, "strip", z.ZodTypeAny, {
|
|
7634
|
+
id: string;
|
|
7635
|
+
filePath: string;
|
|
7636
|
+
entryPoint: string;
|
|
7637
|
+
sourcePath: string;
|
|
7638
|
+
exportName?: string | undefined;
|
|
7639
|
+
}, {
|
|
7640
|
+
id: string;
|
|
7641
|
+
filePath: string;
|
|
7642
|
+
entryPoint: string;
|
|
7643
|
+
sourcePath: string;
|
|
7644
|
+
exportName?: string | undefined;
|
|
7645
|
+
}>, "many">>;
|
|
7627
7646
|
queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7628
7647
|
name: z.ZodString;
|
|
7629
7648
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -7727,6 +7746,13 @@ export declare const indexerToWorkerMessages: {
|
|
|
7727
7746
|
include?: string[] | undefined;
|
|
7728
7747
|
exclude?: string[] | undefined;
|
|
7729
7748
|
} | undefined;
|
|
7749
|
+
skills?: {
|
|
7750
|
+
id: string;
|
|
7751
|
+
filePath: string;
|
|
7752
|
+
entryPoint: string;
|
|
7753
|
+
sourcePath: string;
|
|
7754
|
+
exportName?: string | undefined;
|
|
7755
|
+
}[] | undefined;
|
|
7730
7756
|
controllerEntryPoint?: string | undefined;
|
|
7731
7757
|
timings?: Record<string, number> | undefined;
|
|
7732
7758
|
processKeepAlive?: {
|
|
@@ -7798,6 +7824,13 @@ export declare const indexerToWorkerMessages: {
|
|
|
7798
7824
|
include?: string[] | undefined;
|
|
7799
7825
|
exclude?: string[] | undefined;
|
|
7800
7826
|
} | undefined;
|
|
7827
|
+
skills?: {
|
|
7828
|
+
id: string;
|
|
7829
|
+
filePath: string;
|
|
7830
|
+
entryPoint: string;
|
|
7831
|
+
sourcePath: string;
|
|
7832
|
+
exportName?: string | undefined;
|
|
7833
|
+
}[] | undefined;
|
|
7801
7834
|
controllerEntryPoint?: string | undefined;
|
|
7802
7835
|
timings?: Record<string, number> | undefined;
|
|
7803
7836
|
processKeepAlive?: {
|
|
@@ -7888,6 +7921,13 @@ export declare const indexerToWorkerMessages: {
|
|
|
7888
7921
|
include?: string[] | undefined;
|
|
7889
7922
|
exclude?: string[] | undefined;
|
|
7890
7923
|
} | undefined;
|
|
7924
|
+
skills?: {
|
|
7925
|
+
id: string;
|
|
7926
|
+
filePath: string;
|
|
7927
|
+
entryPoint: string;
|
|
7928
|
+
sourcePath: string;
|
|
7929
|
+
exportName?: string | undefined;
|
|
7930
|
+
}[] | undefined;
|
|
7891
7931
|
controllerEntryPoint?: string | undefined;
|
|
7892
7932
|
timings?: Record<string, number> | undefined;
|
|
7893
7933
|
processKeepAlive?: {
|
|
@@ -7967,6 +8007,13 @@ export declare const indexerToWorkerMessages: {
|
|
|
7967
8007
|
include?: string[] | undefined;
|
|
7968
8008
|
exclude?: string[] | undefined;
|
|
7969
8009
|
} | undefined;
|
|
8010
|
+
skills?: {
|
|
8011
|
+
id: string;
|
|
8012
|
+
filePath: string;
|
|
8013
|
+
entryPoint: string;
|
|
8014
|
+
sourcePath: string;
|
|
8015
|
+
exportName?: string | undefined;
|
|
8016
|
+
}[] | undefined;
|
|
7970
8017
|
controllerEntryPoint?: string | undefined;
|
|
7971
8018
|
timings?: Record<string, number> | undefined;
|
|
7972
8019
|
processKeepAlive?: {
|
|
@@ -2629,6 +2629,39 @@ export declare const PromptManifest: z.ZodObject<{
|
|
|
2629
2629
|
variableSchema?: unknown;
|
|
2630
2630
|
}>;
|
|
2631
2631
|
export type PromptManifest = z.infer<typeof PromptManifest>;
|
|
2632
|
+
export declare const SkillMetadata: z.ZodObject<{
|
|
2633
|
+
id: z.ZodString;
|
|
2634
|
+
/** Path to the skill's source folder, relative to the project root. */
|
|
2635
|
+
sourcePath: z.ZodString;
|
|
2636
|
+
}, "strip", z.ZodTypeAny, {
|
|
2637
|
+
id: string;
|
|
2638
|
+
sourcePath: string;
|
|
2639
|
+
}, {
|
|
2640
|
+
id: string;
|
|
2641
|
+
sourcePath: string;
|
|
2642
|
+
}>;
|
|
2643
|
+
export type SkillMetadata = z.infer<typeof SkillMetadata>;
|
|
2644
|
+
export declare const SkillManifest: z.ZodObject<{
|
|
2645
|
+
filePath: z.ZodString;
|
|
2646
|
+
exportName: z.ZodOptional<z.ZodString>;
|
|
2647
|
+
entryPoint: z.ZodString;
|
|
2648
|
+
id: z.ZodString;
|
|
2649
|
+
/** Path to the skill's source folder, relative to the project root. */
|
|
2650
|
+
sourcePath: z.ZodString;
|
|
2651
|
+
}, "strip", z.ZodTypeAny, {
|
|
2652
|
+
id: string;
|
|
2653
|
+
filePath: string;
|
|
2654
|
+
entryPoint: string;
|
|
2655
|
+
sourcePath: string;
|
|
2656
|
+
exportName?: string | undefined;
|
|
2657
|
+
}, {
|
|
2658
|
+
id: string;
|
|
2659
|
+
filePath: string;
|
|
2660
|
+
entryPoint: string;
|
|
2661
|
+
sourcePath: string;
|
|
2662
|
+
exportName?: string | undefined;
|
|
2663
|
+
}>;
|
|
2664
|
+
export type SkillManifest = z.infer<typeof SkillManifest>;
|
|
2632
2665
|
export declare const PostStartCauses: z.ZodEnum<["index", "create", "restore"]>;
|
|
2633
2666
|
export type PostStartCauses = z.infer<typeof PostStartCauses>;
|
|
2634
2667
|
export declare const PreStopCauses: z.ZodEnum<["terminate"]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TriggerTraceContext = exports.RunChainState = exports.ManualCheckpointMetadata = exports.TaskRunExecutionLazyAttemptPayload = exports.WaitReason = exports.Config = exports.PreStopCauses = exports.PostStartCauses = exports.PromptManifest = exports.PromptMetadata = exports.TaskManifest = exports.TaskFileMetadata = exports.TaskFile = exports.TaskMetadata = exports.ScheduleMetadata = exports.QueueManifest = exports.RetryOptions = exports.RateLimitOptions = exports.SlidingWindowRateLimit = exports.FixedWindowRateLimit = exports.V3ProdTaskRunExecutionPayload = exports.V3ProdTaskRunExecution = exports.TaskRunExecutionPayload = exports.TaskRunExecutionMetrics = exports.TaskRunExecutionMetric = exports.RunEngineVersionSchema = exports.EnvironmentType = void 0;
|
|
3
|
+
exports.TriggerTraceContext = exports.RunChainState = exports.ManualCheckpointMetadata = exports.TaskRunExecutionLazyAttemptPayload = exports.WaitReason = exports.Config = exports.PreStopCauses = exports.PostStartCauses = exports.SkillManifest = exports.SkillMetadata = exports.PromptManifest = exports.PromptMetadata = exports.TaskManifest = exports.TaskFileMetadata = exports.TaskFile = exports.TaskMetadata = exports.ScheduleMetadata = exports.QueueManifest = exports.RetryOptions = exports.RateLimitOptions = exports.SlidingWindowRateLimit = exports.FixedWindowRateLimit = exports.V3ProdTaskRunExecutionPayload = exports.V3ProdTaskRunExecution = exports.TaskRunExecutionPayload = exports.TaskRunExecutionMetrics = exports.TaskRunExecutionMetric = exports.RunEngineVersionSchema = exports.EnvironmentType = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const common_js_1 = require("./common.js");
|
|
6
6
|
/*
|
|
@@ -188,6 +188,22 @@ exports.PromptManifest = zod_1.z.object({
|
|
|
188
188
|
...promptMetadata,
|
|
189
189
|
...taskFileMetadata,
|
|
190
190
|
});
|
|
191
|
+
// ── Skills ────────────────────────────────────────────────────────────────
|
|
192
|
+
//
|
|
193
|
+
// A skill is a developer-authored folder (SKILL.md + scripts/references/assets)
|
|
194
|
+
// bundled into the deploy image. SkillMetadata is registered at module load
|
|
195
|
+
// by `ai.defineSkill({ id, path })`; the CLI's built-in bundler picks it up
|
|
196
|
+
// during deploy and copies the folder into the deploy image.
|
|
197
|
+
const skillMetadata = {
|
|
198
|
+
id: zod_1.z.string(),
|
|
199
|
+
/** Path to the skill's source folder, relative to the project root. */
|
|
200
|
+
sourcePath: zod_1.z.string(),
|
|
201
|
+
};
|
|
202
|
+
exports.SkillMetadata = zod_1.z.object(skillMetadata);
|
|
203
|
+
exports.SkillManifest = zod_1.z.object({
|
|
204
|
+
...skillMetadata,
|
|
205
|
+
...taskFileMetadata,
|
|
206
|
+
});
|
|
191
207
|
exports.PostStartCauses = zod_1.z.enum(["index", "create", "restore"]);
|
|
192
208
|
exports.PreStopCauses = zod_1.z.enum(["terminate"]);
|
|
193
209
|
const RegexSchema = zod_1.z.custom((val) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/v3/schemas/schemas.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,2CAMqB;AAErB;;EAEE;AACW,QAAA,eAAe,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC;AAG9E,QAAA,sBAAsB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;AAE9C,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC;AAIU,QAAA,uBAAuB,GAAG,OAAC,CAAC,KAAK,CAAC,8BAAsB,CAAC,CAAC;AAI1D,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,4BAAgB;IAC3B,YAAY,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACnC,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,OAAO,EAAE,+BAAuB,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC;AAIH,uMAAuM;AACvM,uDAAuD;AACvD,gCAAgC;AAChC,iDAAiD;AACpC,QAAA,sBAAsB,GAAG,8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for sending stop signals to abort the current generation. */
|
|
10
10
|
export declare const CHAT_STOP_STREAM_ID = "chat-stop";
|
|
11
|
+
/**
|
|
12
|
+
* An RFC 6902 JSON Patch operation used by `chat.store.patch()` and
|
|
13
|
+
* emitted inside {@link ChatStoreDeltaChunk}.
|
|
14
|
+
*
|
|
15
|
+
* @see https://tools.ietf.org/html/rfc6902
|
|
16
|
+
*/
|
|
17
|
+
export type ChatStorePatchOperation = {
|
|
18
|
+
op: "add";
|
|
19
|
+
path: string;
|
|
20
|
+
value: unknown;
|
|
21
|
+
} | {
|
|
22
|
+
op: "remove";
|
|
23
|
+
path: string;
|
|
24
|
+
} | {
|
|
25
|
+
op: "replace";
|
|
26
|
+
path: string;
|
|
27
|
+
value: unknown;
|
|
28
|
+
} | {
|
|
29
|
+
op: "move";
|
|
30
|
+
path: string;
|
|
31
|
+
from: string;
|
|
32
|
+
} | {
|
|
33
|
+
op: "copy";
|
|
34
|
+
path: string;
|
|
35
|
+
from: string;
|
|
36
|
+
} | {
|
|
37
|
+
op: "test";
|
|
38
|
+
path: string;
|
|
39
|
+
value: unknown;
|
|
40
|
+
};
|
|
41
|
+
/** Full-value snapshot — emitted by `chat.store.set(...)`. */
|
|
42
|
+
export type ChatStoreSnapshotChunk = {
|
|
43
|
+
type: "store-snapshot";
|
|
44
|
+
value: unknown;
|
|
45
|
+
};
|
|
46
|
+
/** Incremental update — emitted by `chat.store.patch([...])`. */
|
|
47
|
+
export type ChatStoreDeltaChunk = {
|
|
48
|
+
type: "store-delta";
|
|
49
|
+
operations: ChatStorePatchOperation[];
|
|
50
|
+
};
|
|
51
|
+
export type ChatStoreChunk = ChatStoreSnapshotChunk | ChatStoreDeltaChunk;
|
|
52
|
+
/**
|
|
53
|
+
* Apply an RFC 6902 JSON Patch to a document and return the new value.
|
|
54
|
+
* Never mutates the input.
|
|
55
|
+
*/
|
|
56
|
+
export declare function applyChatStorePatch(doc: unknown, operations: readonly ChatStorePatchOperation[]): unknown;
|