@xpert-ai/contracts 3.36.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +818 -450
- package/index.esm.js +806 -451
- package/package.json +2 -2
- package/src/ai/agent-runtime.model.d.ts +2 -2
- package/src/ai/assistant-template-manifest.model.d.ts +328 -328
- package/src/ai/assistant-template-setup.model.d.ts +8 -8
- package/src/ai/chat-activity.model.d.ts +5 -0
- package/src/ai/chat.model.d.ts +2 -0
- package/src/ai/conversation-trail.model.d.ts +66 -66
- package/src/ai/execution-activity.model.d.ts +10 -10
- package/src/ai/execution-control-evidence.schema.d.ts +30 -30
- package/src/ai/execution-observability.model.d.ts +96 -96
- package/src/ai/mcp-execution-control.schema.d.ts +2 -2
- package/src/ai/model-replacement.model.d.ts +6 -6
- package/src/ai/project-pipeline/analytics.d.ts +154 -154
- package/src/ai/project-pipeline/budget.schema.d.ts +4 -4
- package/src/ai/project-pipeline/commands.schema.d.ts +68 -68
- package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +3815 -0
- package/src/ai/project-pipeline/configuration-form.d.ts +215 -215
- package/src/ai/project-pipeline/configuration.schema.d.ts +50 -50
- package/src/ai/project-pipeline/contribution.schema.d.ts +173 -70
- package/src/ai/project-pipeline/definition.schema.d.ts +50 -50
- package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
- package/src/ai/project-pipeline/graph.model.d.ts +2 -2
- package/src/ai/project-pipeline/index.d.ts +1 -0
- package/src/ai/project-pipeline/model-usage-statistics.d.ts +2 -2
- package/src/ai/project-pipeline/node.schema.d.ts +2 -2
- package/src/ai/project-pipeline/operation.schema.d.ts +344 -344
- package/src/ai/project-pipeline/portfolio.schema.d.ts +348 -348
- package/src/ai/project-pipeline/primitives.schema.d.ts +4 -4
- package/src/ai/project-pipeline/projection.schema.d.ts +260 -260
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +28 -28
- package/src/ai/project-pipeline/queue-statistics.d.ts +24 -24
- package/src/ai/project-pipeline/runtime.schema.d.ts +50 -50
- package/src/ai/project-pipeline/statistics.d.ts +74 -74
- package/src/ai/project-task-runtime.model.d.ts +23 -23
- package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
- package/src/ai/template-installation.model.d.ts +16 -16
- package/src/ai/template-lifecycle.model.d.ts +2 -2
- package/src/ai/thread-control-view.schema.d.ts +4 -4
- package/src/ai/xpert-agent-execution.model.d.ts +29 -0
- package/src/ai/xpert-tool.model.d.ts +12 -0
- package/src/{agent-event.model.d.ts → always-on/agent-event.model.d.ts} +37 -4
- package/src/{agent-event.schema.d.ts → always-on/agent-event.schema.d.ts} +19 -0
- package/src/always-on/agent-output-reference.schema.d.ts +27 -0
- package/src/always-on/agent-output.model.d.ts +411 -0
- package/src/always-on/human-decision.model.d.ts +204 -0
- package/src/always-on/index.d.ts +3 -0
- package/src/always-on/output-workbench.schema.d.ts +154 -0
- package/src/analytics/analytics-diagnostic.d.ts +4 -4
- package/src/app-platform.d.ts +18 -18
- package/src/artifacts/artifact.model.d.ts +2 -0
- package/src/content/content-resource.model.d.ts +2 -1
- package/src/icon-definition.schema.d.ts +6 -10
- package/src/index.d.ts +1 -1
- package/src/secret-token.model.d.ts +4 -4
- package/src/user-notification.schema.d.ts +1290 -479
|
@@ -22,14 +22,14 @@ export declare const templateFilesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
22
22
|
policy: z.ZodLiteral<"create-only">;
|
|
23
23
|
}, "strict", z.ZodTypeAny, {
|
|
24
24
|
path?: string;
|
|
25
|
-
kind?: "file";
|
|
26
25
|
policy?: "create-only";
|
|
26
|
+
kind?: "file";
|
|
27
27
|
content?: string;
|
|
28
28
|
contentVersion?: string;
|
|
29
29
|
}, {
|
|
30
30
|
path?: string;
|
|
31
|
-
kind?: "file";
|
|
32
31
|
policy?: "create-only";
|
|
32
|
+
kind?: "file";
|
|
33
33
|
content?: string;
|
|
34
34
|
contentVersion?: string;
|
|
35
35
|
}>, z.ZodObject<{
|
|
@@ -41,124 +41,124 @@ export declare const templateFilesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
41
41
|
label: z.ZodString;
|
|
42
42
|
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
43
43
|
}, "strict", z.ZodTypeAny, {
|
|
44
|
-
key?: string;
|
|
45
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
46
44
|
label?: string;
|
|
47
|
-
}, {
|
|
48
|
-
key?: string;
|
|
49
45
|
type?: "string" | "number" | "boolean" | "date";
|
|
46
|
+
key?: string;
|
|
47
|
+
}, {
|
|
50
48
|
label?: string;
|
|
49
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
50
|
+
key?: string;
|
|
51
51
|
}>, "many">;
|
|
52
52
|
policy: z.ZodLiteral<"create-only">;
|
|
53
53
|
}, "strict", z.ZodTypeAny, {
|
|
54
54
|
path?: string;
|
|
55
|
-
kind?: "ledger";
|
|
56
55
|
columns?: {
|
|
57
|
-
key?: string;
|
|
58
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
59
56
|
label?: string;
|
|
57
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
58
|
+
key?: string;
|
|
60
59
|
}[];
|
|
61
60
|
policy?: "create-only";
|
|
61
|
+
kind?: "ledger";
|
|
62
62
|
structureVersion?: string;
|
|
63
63
|
}, {
|
|
64
64
|
path?: string;
|
|
65
|
-
kind?: "ledger";
|
|
66
65
|
columns?: {
|
|
67
|
-
key?: string;
|
|
68
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
69
66
|
label?: string;
|
|
67
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
68
|
+
key?: string;
|
|
70
69
|
}[];
|
|
71
70
|
policy?: "create-only";
|
|
71
|
+
kind?: "ledger";
|
|
72
72
|
structureVersion?: string;
|
|
73
73
|
}>]>, "many">;
|
|
74
74
|
}, "strict", z.ZodTypeAny, {
|
|
75
|
+
scope?: "user" | "shared";
|
|
75
76
|
entries?: ({
|
|
76
77
|
path?: string;
|
|
77
78
|
kind?: "directory";
|
|
78
79
|
} | {
|
|
79
80
|
path?: string;
|
|
80
|
-
kind?: "file";
|
|
81
81
|
policy?: "create-only";
|
|
82
|
+
kind?: "file";
|
|
82
83
|
content?: string;
|
|
83
84
|
contentVersion?: string;
|
|
84
85
|
} | {
|
|
85
86
|
path?: string;
|
|
86
|
-
kind?: "ledger";
|
|
87
87
|
columns?: {
|
|
88
|
-
key?: string;
|
|
89
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
90
88
|
label?: string;
|
|
89
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
90
|
+
key?: string;
|
|
91
91
|
}[];
|
|
92
92
|
policy?: "create-only";
|
|
93
|
+
kind?: "ledger";
|
|
93
94
|
structureVersion?: string;
|
|
94
95
|
})[];
|
|
95
|
-
scope?: "user" | "shared";
|
|
96
96
|
}, {
|
|
97
|
+
scope?: "user" | "shared";
|
|
97
98
|
entries?: ({
|
|
98
99
|
path?: string;
|
|
99
100
|
kind?: "directory";
|
|
100
101
|
} | {
|
|
101
102
|
path?: string;
|
|
102
|
-
kind?: "file";
|
|
103
103
|
policy?: "create-only";
|
|
104
|
+
kind?: "file";
|
|
104
105
|
content?: string;
|
|
105
106
|
contentVersion?: string;
|
|
106
107
|
} | {
|
|
107
108
|
path?: string;
|
|
108
|
-
kind?: "ledger";
|
|
109
109
|
columns?: {
|
|
110
|
-
key?: string;
|
|
111
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
112
110
|
label?: string;
|
|
111
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
112
|
+
key?: string;
|
|
113
113
|
}[];
|
|
114
114
|
policy?: "create-only";
|
|
115
|
+
kind?: "ledger";
|
|
115
116
|
structureVersion?: string;
|
|
116
117
|
})[];
|
|
117
|
-
scope?: "user" | "shared";
|
|
118
118
|
}>, {
|
|
119
|
+
scope?: "user" | "shared";
|
|
119
120
|
entries?: ({
|
|
120
121
|
path?: string;
|
|
121
122
|
kind?: "directory";
|
|
122
123
|
} | {
|
|
123
124
|
path?: string;
|
|
124
|
-
kind?: "file";
|
|
125
125
|
policy?: "create-only";
|
|
126
|
+
kind?: "file";
|
|
126
127
|
content?: string;
|
|
127
128
|
contentVersion?: string;
|
|
128
129
|
} | {
|
|
129
130
|
path?: string;
|
|
130
|
-
kind?: "ledger";
|
|
131
131
|
columns?: {
|
|
132
|
-
key?: string;
|
|
133
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
134
132
|
label?: string;
|
|
133
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
134
|
+
key?: string;
|
|
135
135
|
}[];
|
|
136
136
|
policy?: "create-only";
|
|
137
|
+
kind?: "ledger";
|
|
137
138
|
structureVersion?: string;
|
|
138
139
|
})[];
|
|
139
|
-
scope?: "user" | "shared";
|
|
140
140
|
}, {
|
|
141
|
+
scope?: "user" | "shared";
|
|
141
142
|
entries?: ({
|
|
142
143
|
path?: string;
|
|
143
144
|
kind?: "directory";
|
|
144
145
|
} | {
|
|
145
146
|
path?: string;
|
|
146
|
-
kind?: "file";
|
|
147
147
|
policy?: "create-only";
|
|
148
|
+
kind?: "file";
|
|
148
149
|
content?: string;
|
|
149
150
|
contentVersion?: string;
|
|
150
151
|
} | {
|
|
151
152
|
path?: string;
|
|
152
|
-
kind?: "ledger";
|
|
153
153
|
columns?: {
|
|
154
|
-
key?: string;
|
|
155
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
156
154
|
label?: string;
|
|
155
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
156
|
+
key?: string;
|
|
157
157
|
}[];
|
|
158
158
|
policy?: "create-only";
|
|
159
|
+
kind?: "ledger";
|
|
159
160
|
structureVersion?: string;
|
|
160
161
|
})[];
|
|
161
|
-
scope?: "user" | "shared";
|
|
162
162
|
}>;
|
|
163
163
|
/** Versioned, credential-free declarations. Missing manifest preserves the legacy template contract. */
|
|
164
164
|
export declare const templateManifestV1Schema: z.ZodObject<{
|
|
@@ -193,14 +193,14 @@ export declare const templateManifestV1Schema: z.ZodObject<{
|
|
|
193
193
|
policy: z.ZodLiteral<"create-only">;
|
|
194
194
|
}, "strict", z.ZodTypeAny, {
|
|
195
195
|
path?: string;
|
|
196
|
-
kind?: "file";
|
|
197
196
|
policy?: "create-only";
|
|
197
|
+
kind?: "file";
|
|
198
198
|
content?: string;
|
|
199
199
|
contentVersion?: string;
|
|
200
200
|
}, {
|
|
201
201
|
path?: string;
|
|
202
|
-
kind?: "file";
|
|
203
202
|
policy?: "create-only";
|
|
203
|
+
kind?: "file";
|
|
204
204
|
content?: string;
|
|
205
205
|
contentVersion?: string;
|
|
206
206
|
}>, z.ZodObject<{
|
|
@@ -212,124 +212,124 @@ export declare const templateManifestV1Schema: z.ZodObject<{
|
|
|
212
212
|
label: z.ZodString;
|
|
213
213
|
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
214
214
|
}, "strict", z.ZodTypeAny, {
|
|
215
|
-
key?: string;
|
|
216
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
217
215
|
label?: string;
|
|
218
|
-
}, {
|
|
219
|
-
key?: string;
|
|
220
216
|
type?: "string" | "number" | "boolean" | "date";
|
|
217
|
+
key?: string;
|
|
218
|
+
}, {
|
|
221
219
|
label?: string;
|
|
220
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
221
|
+
key?: string;
|
|
222
222
|
}>, "many">;
|
|
223
223
|
policy: z.ZodLiteral<"create-only">;
|
|
224
224
|
}, "strict", z.ZodTypeAny, {
|
|
225
225
|
path?: string;
|
|
226
|
-
kind?: "ledger";
|
|
227
226
|
columns?: {
|
|
228
|
-
key?: string;
|
|
229
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
230
227
|
label?: string;
|
|
228
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
229
|
+
key?: string;
|
|
231
230
|
}[];
|
|
232
231
|
policy?: "create-only";
|
|
232
|
+
kind?: "ledger";
|
|
233
233
|
structureVersion?: string;
|
|
234
234
|
}, {
|
|
235
235
|
path?: string;
|
|
236
|
-
kind?: "ledger";
|
|
237
236
|
columns?: {
|
|
238
|
-
key?: string;
|
|
239
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
240
237
|
label?: string;
|
|
238
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
239
|
+
key?: string;
|
|
241
240
|
}[];
|
|
242
241
|
policy?: "create-only";
|
|
242
|
+
kind?: "ledger";
|
|
243
243
|
structureVersion?: string;
|
|
244
244
|
}>]>, "many">;
|
|
245
245
|
}, "strict", z.ZodTypeAny, {
|
|
246
|
+
scope?: "user" | "shared";
|
|
246
247
|
entries?: ({
|
|
247
248
|
path?: string;
|
|
248
249
|
kind?: "directory";
|
|
249
250
|
} | {
|
|
250
251
|
path?: string;
|
|
251
|
-
kind?: "file";
|
|
252
252
|
policy?: "create-only";
|
|
253
|
+
kind?: "file";
|
|
253
254
|
content?: string;
|
|
254
255
|
contentVersion?: string;
|
|
255
256
|
} | {
|
|
256
257
|
path?: string;
|
|
257
|
-
kind?: "ledger";
|
|
258
258
|
columns?: {
|
|
259
|
-
key?: string;
|
|
260
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
261
259
|
label?: string;
|
|
260
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
261
|
+
key?: string;
|
|
262
262
|
}[];
|
|
263
263
|
policy?: "create-only";
|
|
264
|
+
kind?: "ledger";
|
|
264
265
|
structureVersion?: string;
|
|
265
266
|
})[];
|
|
266
|
-
scope?: "user" | "shared";
|
|
267
267
|
}, {
|
|
268
|
+
scope?: "user" | "shared";
|
|
268
269
|
entries?: ({
|
|
269
270
|
path?: string;
|
|
270
271
|
kind?: "directory";
|
|
271
272
|
} | {
|
|
272
273
|
path?: string;
|
|
273
|
-
kind?: "file";
|
|
274
274
|
policy?: "create-only";
|
|
275
|
+
kind?: "file";
|
|
275
276
|
content?: string;
|
|
276
277
|
contentVersion?: string;
|
|
277
278
|
} | {
|
|
278
279
|
path?: string;
|
|
279
|
-
kind?: "ledger";
|
|
280
280
|
columns?: {
|
|
281
|
-
key?: string;
|
|
282
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
283
281
|
label?: string;
|
|
282
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
283
|
+
key?: string;
|
|
284
284
|
}[];
|
|
285
285
|
policy?: "create-only";
|
|
286
|
+
kind?: "ledger";
|
|
286
287
|
structureVersion?: string;
|
|
287
288
|
})[];
|
|
288
|
-
scope?: "user" | "shared";
|
|
289
289
|
}>, {
|
|
290
|
+
scope?: "user" | "shared";
|
|
290
291
|
entries?: ({
|
|
291
292
|
path?: string;
|
|
292
293
|
kind?: "directory";
|
|
293
294
|
} | {
|
|
294
295
|
path?: string;
|
|
295
|
-
kind?: "file";
|
|
296
296
|
policy?: "create-only";
|
|
297
|
+
kind?: "file";
|
|
297
298
|
content?: string;
|
|
298
299
|
contentVersion?: string;
|
|
299
300
|
} | {
|
|
300
301
|
path?: string;
|
|
301
|
-
kind?: "ledger";
|
|
302
302
|
columns?: {
|
|
303
|
-
key?: string;
|
|
304
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
305
303
|
label?: string;
|
|
304
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
305
|
+
key?: string;
|
|
306
306
|
}[];
|
|
307
307
|
policy?: "create-only";
|
|
308
|
+
kind?: "ledger";
|
|
308
309
|
structureVersion?: string;
|
|
309
310
|
})[];
|
|
310
|
-
scope?: "user" | "shared";
|
|
311
311
|
}, {
|
|
312
|
+
scope?: "user" | "shared";
|
|
312
313
|
entries?: ({
|
|
313
314
|
path?: string;
|
|
314
315
|
kind?: "directory";
|
|
315
316
|
} | {
|
|
316
317
|
path?: string;
|
|
317
|
-
kind?: "file";
|
|
318
318
|
policy?: "create-only";
|
|
319
|
+
kind?: "file";
|
|
319
320
|
content?: string;
|
|
320
321
|
contentVersion?: string;
|
|
321
322
|
} | {
|
|
322
323
|
path?: string;
|
|
323
|
-
kind?: "ledger";
|
|
324
324
|
columns?: {
|
|
325
|
-
key?: string;
|
|
326
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
327
325
|
label?: string;
|
|
326
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
327
|
+
key?: string;
|
|
328
328
|
}[];
|
|
329
329
|
policy?: "create-only";
|
|
330
|
+
kind?: "ledger";
|
|
330
331
|
structureVersion?: string;
|
|
331
332
|
})[];
|
|
332
|
-
scope?: "user" | "shared";
|
|
333
333
|
}>>;
|
|
334
334
|
onboarding: z.ZodOptional<z.ZodObject<{
|
|
335
335
|
skill: z.ZodString;
|
|
@@ -337,14 +337,14 @@ export declare const templateManifestV1Schema: z.ZodObject<{
|
|
|
337
337
|
preferences: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
338
338
|
completionCriteria: z.ZodString;
|
|
339
339
|
}, "strict", z.ZodTypeAny, {
|
|
340
|
+
skill?: string;
|
|
340
341
|
preferences?: string[];
|
|
341
342
|
required?: boolean;
|
|
342
|
-
skill?: string;
|
|
343
343
|
completionCriteria?: string;
|
|
344
344
|
}, {
|
|
345
|
+
skill?: string;
|
|
345
346
|
preferences?: string[];
|
|
346
347
|
required?: boolean;
|
|
347
|
-
skill?: string;
|
|
348
348
|
completionCriteria?: string;
|
|
349
349
|
}>>;
|
|
350
350
|
connectors: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -354,39 +354,39 @@ export declare const templateManifestV1Schema: z.ZodObject<{
|
|
|
354
354
|
purpose: z.ZodString;
|
|
355
355
|
permissions: z.ZodArray<z.ZodString, "many">;
|
|
356
356
|
}, "strict", z.ZodTypeAny, {
|
|
357
|
-
key?: string;
|
|
358
357
|
provider?: string;
|
|
359
358
|
required?: boolean;
|
|
359
|
+
key?: string;
|
|
360
360
|
permissions?: string[];
|
|
361
361
|
purpose?: string;
|
|
362
362
|
}, {
|
|
363
|
-
key?: string;
|
|
364
363
|
provider?: string;
|
|
365
364
|
required?: boolean;
|
|
365
|
+
key?: string;
|
|
366
366
|
permissions?: string[];
|
|
367
367
|
purpose?: string;
|
|
368
368
|
}>, "many">, {
|
|
369
|
-
key?: string;
|
|
370
369
|
provider?: string;
|
|
371
370
|
required?: boolean;
|
|
371
|
+
key?: string;
|
|
372
372
|
permissions?: string[];
|
|
373
373
|
purpose?: string;
|
|
374
374
|
}[], {
|
|
375
|
-
key?: string;
|
|
376
375
|
provider?: string;
|
|
377
376
|
required?: boolean;
|
|
377
|
+
key?: string;
|
|
378
378
|
permissions?: string[];
|
|
379
379
|
purpose?: string;
|
|
380
380
|
}[]>, {
|
|
381
|
-
key?: string;
|
|
382
381
|
provider?: string;
|
|
383
382
|
required?: boolean;
|
|
383
|
+
key?: string;
|
|
384
384
|
permissions?: string[];
|
|
385
385
|
purpose?: string;
|
|
386
386
|
}[], {
|
|
387
|
-
key?: string;
|
|
388
387
|
provider?: string;
|
|
389
388
|
required?: boolean;
|
|
389
|
+
key?: string;
|
|
390
390
|
permissions?: string[];
|
|
391
391
|
purpose?: string;
|
|
392
392
|
}[]>>;
|
|
@@ -400,41 +400,41 @@ export declare const templateManifestV1Schema: z.ZodObject<{
|
|
|
400
400
|
output: z.ZodString;
|
|
401
401
|
enabled: z.ZodDefault<z.ZodLiteral<false>>;
|
|
402
402
|
}, "strict", z.ZodTypeAny, {
|
|
403
|
-
|
|
403
|
+
skill?: string;
|
|
404
404
|
enabled?: false;
|
|
405
405
|
output?: string;
|
|
406
406
|
required?: boolean;
|
|
407
|
+
key?: string;
|
|
407
408
|
trigger?: "schedule" | "event";
|
|
408
|
-
skill?: string;
|
|
409
409
|
expression?: string;
|
|
410
|
-
timezone?: "
|
|
410
|
+
timezone?: "organization" | "user";
|
|
411
411
|
}, {
|
|
412
|
-
|
|
412
|
+
skill?: string;
|
|
413
413
|
enabled?: false;
|
|
414
414
|
output?: string;
|
|
415
415
|
required?: boolean;
|
|
416
|
+
key?: string;
|
|
416
417
|
trigger?: "schedule" | "event";
|
|
417
|
-
skill?: string;
|
|
418
418
|
expression?: string;
|
|
419
|
-
timezone?: "
|
|
419
|
+
timezone?: "organization" | "user";
|
|
420
420
|
}>, "many">, {
|
|
421
|
-
|
|
421
|
+
skill?: string;
|
|
422
422
|
enabled?: false;
|
|
423
423
|
output?: string;
|
|
424
424
|
required?: boolean;
|
|
425
|
+
key?: string;
|
|
425
426
|
trigger?: "schedule" | "event";
|
|
426
|
-
skill?: string;
|
|
427
427
|
expression?: string;
|
|
428
|
-
timezone?: "
|
|
428
|
+
timezone?: "organization" | "user";
|
|
429
429
|
}[], {
|
|
430
|
-
|
|
430
|
+
skill?: string;
|
|
431
431
|
enabled?: false;
|
|
432
432
|
output?: string;
|
|
433
433
|
required?: boolean;
|
|
434
|
+
key?: string;
|
|
434
435
|
trigger?: "schedule" | "event";
|
|
435
|
-
skill?: string;
|
|
436
436
|
expression?: string;
|
|
437
|
-
timezone?: "
|
|
437
|
+
timezone?: "organization" | "user";
|
|
438
438
|
}[]>>;
|
|
439
439
|
execution: z.ZodOptional<z.ZodObject<{
|
|
440
440
|
modelFeatures: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ModelFeature>, "many">>;
|
|
@@ -453,15 +453,14 @@ export declare const templateManifestV1Schema: z.ZodObject<{
|
|
|
453
453
|
offline?: "requires-online" | "local-only";
|
|
454
454
|
}>>;
|
|
455
455
|
}, "strict", z.ZodTypeAny, {
|
|
456
|
-
schemaVersion?: 1;
|
|
457
456
|
skills?: {
|
|
458
457
|
pluginName?: string;
|
|
459
458
|
componentKey?: string;
|
|
460
459
|
}[];
|
|
461
460
|
connectors?: {
|
|
462
|
-
key?: string;
|
|
463
461
|
provider?: string;
|
|
464
462
|
required?: boolean;
|
|
463
|
+
key?: string;
|
|
465
464
|
permissions?: string[];
|
|
466
465
|
purpose?: string;
|
|
467
466
|
}[];
|
|
@@ -472,55 +471,55 @@ export declare const templateManifestV1Schema: z.ZodObject<{
|
|
|
472
471
|
localCapabilities?: string[];
|
|
473
472
|
offline?: "requires-online" | "local-only";
|
|
474
473
|
};
|
|
474
|
+
schemaVersion?: 1;
|
|
475
475
|
files?: {
|
|
476
|
+
scope?: "user" | "shared";
|
|
476
477
|
entries?: ({
|
|
477
478
|
path?: string;
|
|
478
479
|
kind?: "directory";
|
|
479
480
|
} | {
|
|
480
481
|
path?: string;
|
|
481
|
-
kind?: "file";
|
|
482
482
|
policy?: "create-only";
|
|
483
|
+
kind?: "file";
|
|
483
484
|
content?: string;
|
|
484
485
|
contentVersion?: string;
|
|
485
486
|
} | {
|
|
486
487
|
path?: string;
|
|
487
|
-
kind?: "ledger";
|
|
488
488
|
columns?: {
|
|
489
|
-
key?: string;
|
|
490
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
491
489
|
label?: string;
|
|
490
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
491
|
+
key?: string;
|
|
492
492
|
}[];
|
|
493
493
|
policy?: "create-only";
|
|
494
|
+
kind?: "ledger";
|
|
494
495
|
structureVersion?: string;
|
|
495
496
|
})[];
|
|
496
|
-
scope?: "user" | "shared";
|
|
497
497
|
};
|
|
498
498
|
onboarding?: {
|
|
499
|
+
skill?: string;
|
|
499
500
|
preferences?: string[];
|
|
500
501
|
required?: boolean;
|
|
501
|
-
skill?: string;
|
|
502
502
|
completionCriteria?: string;
|
|
503
503
|
};
|
|
504
504
|
routines?: {
|
|
505
|
-
|
|
505
|
+
skill?: string;
|
|
506
506
|
enabled?: false;
|
|
507
507
|
output?: string;
|
|
508
508
|
required?: boolean;
|
|
509
|
+
key?: string;
|
|
509
510
|
trigger?: "schedule" | "event";
|
|
510
|
-
skill?: string;
|
|
511
511
|
expression?: string;
|
|
512
|
-
timezone?: "
|
|
512
|
+
timezone?: "organization" | "user";
|
|
513
513
|
}[];
|
|
514
514
|
}, {
|
|
515
|
-
schemaVersion?: 1;
|
|
516
515
|
skills?: {
|
|
517
516
|
pluginName?: string;
|
|
518
517
|
componentKey?: string;
|
|
519
518
|
}[];
|
|
520
519
|
connectors?: {
|
|
521
|
-
key?: string;
|
|
522
520
|
provider?: string;
|
|
523
521
|
required?: boolean;
|
|
522
|
+
key?: string;
|
|
524
523
|
permissions?: string[];
|
|
525
524
|
purpose?: string;
|
|
526
525
|
}[];
|
|
@@ -531,44 +530,45 @@ export declare const templateManifestV1Schema: z.ZodObject<{
|
|
|
531
530
|
localCapabilities?: string[];
|
|
532
531
|
offline?: "requires-online" | "local-only";
|
|
533
532
|
};
|
|
533
|
+
schemaVersion?: 1;
|
|
534
534
|
files?: {
|
|
535
|
+
scope?: "user" | "shared";
|
|
535
536
|
entries?: ({
|
|
536
537
|
path?: string;
|
|
537
538
|
kind?: "directory";
|
|
538
539
|
} | {
|
|
539
540
|
path?: string;
|
|
540
|
-
kind?: "file";
|
|
541
541
|
policy?: "create-only";
|
|
542
|
+
kind?: "file";
|
|
542
543
|
content?: string;
|
|
543
544
|
contentVersion?: string;
|
|
544
545
|
} | {
|
|
545
546
|
path?: string;
|
|
546
|
-
kind?: "ledger";
|
|
547
547
|
columns?: {
|
|
548
|
-
key?: string;
|
|
549
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
550
548
|
label?: string;
|
|
549
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
550
|
+
key?: string;
|
|
551
551
|
}[];
|
|
552
552
|
policy?: "create-only";
|
|
553
|
+
kind?: "ledger";
|
|
553
554
|
structureVersion?: string;
|
|
554
555
|
})[];
|
|
555
|
-
scope?: "user" | "shared";
|
|
556
556
|
};
|
|
557
557
|
onboarding?: {
|
|
558
|
+
skill?: string;
|
|
558
559
|
preferences?: string[];
|
|
559
560
|
required?: boolean;
|
|
560
|
-
skill?: string;
|
|
561
561
|
completionCriteria?: string;
|
|
562
562
|
};
|
|
563
563
|
routines?: {
|
|
564
|
-
|
|
564
|
+
skill?: string;
|
|
565
565
|
enabled?: false;
|
|
566
566
|
output?: string;
|
|
567
567
|
required?: boolean;
|
|
568
|
+
key?: string;
|
|
568
569
|
trigger?: "schedule" | "event";
|
|
569
|
-
skill?: string;
|
|
570
570
|
expression?: string;
|
|
571
|
-
timezone?: "
|
|
571
|
+
timezone?: "organization" | "user";
|
|
572
572
|
}[];
|
|
573
573
|
}>;
|
|
574
574
|
/** V2 keeps only initialization and requirements that the DSL cannot express. */
|
|
@@ -580,39 +580,39 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
|
|
|
580
580
|
purpose: z.ZodString;
|
|
581
581
|
permissions: z.ZodArray<z.ZodString, "many">;
|
|
582
582
|
}, "strict", z.ZodTypeAny, {
|
|
583
|
-
key?: string;
|
|
584
583
|
provider?: string;
|
|
585
584
|
required?: boolean;
|
|
585
|
+
key?: string;
|
|
586
586
|
permissions?: string[];
|
|
587
587
|
purpose?: string;
|
|
588
588
|
}, {
|
|
589
|
-
key?: string;
|
|
590
589
|
provider?: string;
|
|
591
590
|
required?: boolean;
|
|
591
|
+
key?: string;
|
|
592
592
|
permissions?: string[];
|
|
593
593
|
purpose?: string;
|
|
594
594
|
}>, "many">, {
|
|
595
|
-
key?: string;
|
|
596
595
|
provider?: string;
|
|
597
596
|
required?: boolean;
|
|
597
|
+
key?: string;
|
|
598
598
|
permissions?: string[];
|
|
599
599
|
purpose?: string;
|
|
600
600
|
}[], {
|
|
601
|
-
key?: string;
|
|
602
601
|
provider?: string;
|
|
603
602
|
required?: boolean;
|
|
603
|
+
key?: string;
|
|
604
604
|
permissions?: string[];
|
|
605
605
|
purpose?: string;
|
|
606
606
|
}[]>, {
|
|
607
|
-
key?: string;
|
|
608
607
|
provider?: string;
|
|
609
608
|
required?: boolean;
|
|
609
|
+
key?: string;
|
|
610
610
|
permissions?: string[];
|
|
611
611
|
purpose?: string;
|
|
612
612
|
}[], {
|
|
613
|
-
key?: string;
|
|
614
613
|
provider?: string;
|
|
615
614
|
required?: boolean;
|
|
615
|
+
key?: string;
|
|
616
616
|
permissions?: string[];
|
|
617
617
|
purpose?: string;
|
|
618
618
|
}[]>>;
|
|
@@ -636,14 +636,14 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
|
|
|
636
636
|
policy: z.ZodLiteral<"create-only">;
|
|
637
637
|
}, "strict", z.ZodTypeAny, {
|
|
638
638
|
path?: string;
|
|
639
|
-
kind?: "file";
|
|
640
639
|
policy?: "create-only";
|
|
640
|
+
kind?: "file";
|
|
641
641
|
content?: string;
|
|
642
642
|
contentVersion?: string;
|
|
643
643
|
}, {
|
|
644
644
|
path?: string;
|
|
645
|
-
kind?: "file";
|
|
646
645
|
policy?: "create-only";
|
|
646
|
+
kind?: "file";
|
|
647
647
|
content?: string;
|
|
648
648
|
contentVersion?: string;
|
|
649
649
|
}>, z.ZodObject<{
|
|
@@ -655,124 +655,124 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
|
|
|
655
655
|
label: z.ZodString;
|
|
656
656
|
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
657
657
|
}, "strict", z.ZodTypeAny, {
|
|
658
|
-
key?: string;
|
|
659
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
660
658
|
label?: string;
|
|
661
|
-
}, {
|
|
662
|
-
key?: string;
|
|
663
659
|
type?: "string" | "number" | "boolean" | "date";
|
|
660
|
+
key?: string;
|
|
661
|
+
}, {
|
|
664
662
|
label?: string;
|
|
663
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
664
|
+
key?: string;
|
|
665
665
|
}>, "many">;
|
|
666
666
|
policy: z.ZodLiteral<"create-only">;
|
|
667
667
|
}, "strict", z.ZodTypeAny, {
|
|
668
668
|
path?: string;
|
|
669
|
-
kind?: "ledger";
|
|
670
669
|
columns?: {
|
|
671
|
-
key?: string;
|
|
672
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
673
670
|
label?: string;
|
|
671
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
672
|
+
key?: string;
|
|
674
673
|
}[];
|
|
675
674
|
policy?: "create-only";
|
|
675
|
+
kind?: "ledger";
|
|
676
676
|
structureVersion?: string;
|
|
677
677
|
}, {
|
|
678
678
|
path?: string;
|
|
679
|
-
kind?: "ledger";
|
|
680
679
|
columns?: {
|
|
681
|
-
key?: string;
|
|
682
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
683
680
|
label?: string;
|
|
681
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
682
|
+
key?: string;
|
|
684
683
|
}[];
|
|
685
684
|
policy?: "create-only";
|
|
685
|
+
kind?: "ledger";
|
|
686
686
|
structureVersion?: string;
|
|
687
687
|
}>]>, "many">;
|
|
688
688
|
}, "strict", z.ZodTypeAny, {
|
|
689
|
+
scope?: "user" | "shared";
|
|
689
690
|
entries?: ({
|
|
690
691
|
path?: string;
|
|
691
692
|
kind?: "directory";
|
|
692
693
|
} | {
|
|
693
694
|
path?: string;
|
|
694
|
-
kind?: "file";
|
|
695
695
|
policy?: "create-only";
|
|
696
|
+
kind?: "file";
|
|
696
697
|
content?: string;
|
|
697
698
|
contentVersion?: string;
|
|
698
699
|
} | {
|
|
699
700
|
path?: string;
|
|
700
|
-
kind?: "ledger";
|
|
701
701
|
columns?: {
|
|
702
|
-
key?: string;
|
|
703
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
704
702
|
label?: string;
|
|
703
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
704
|
+
key?: string;
|
|
705
705
|
}[];
|
|
706
706
|
policy?: "create-only";
|
|
707
|
+
kind?: "ledger";
|
|
707
708
|
structureVersion?: string;
|
|
708
709
|
})[];
|
|
709
|
-
scope?: "user" | "shared";
|
|
710
710
|
}, {
|
|
711
|
+
scope?: "user" | "shared";
|
|
711
712
|
entries?: ({
|
|
712
713
|
path?: string;
|
|
713
714
|
kind?: "directory";
|
|
714
715
|
} | {
|
|
715
716
|
path?: string;
|
|
716
|
-
kind?: "file";
|
|
717
717
|
policy?: "create-only";
|
|
718
|
+
kind?: "file";
|
|
718
719
|
content?: string;
|
|
719
720
|
contentVersion?: string;
|
|
720
721
|
} | {
|
|
721
722
|
path?: string;
|
|
722
|
-
kind?: "ledger";
|
|
723
723
|
columns?: {
|
|
724
|
-
key?: string;
|
|
725
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
726
724
|
label?: string;
|
|
725
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
726
|
+
key?: string;
|
|
727
727
|
}[];
|
|
728
728
|
policy?: "create-only";
|
|
729
|
+
kind?: "ledger";
|
|
729
730
|
structureVersion?: string;
|
|
730
731
|
})[];
|
|
731
|
-
scope?: "user" | "shared";
|
|
732
732
|
}>, {
|
|
733
|
+
scope?: "user" | "shared";
|
|
733
734
|
entries?: ({
|
|
734
735
|
path?: string;
|
|
735
736
|
kind?: "directory";
|
|
736
737
|
} | {
|
|
737
738
|
path?: string;
|
|
738
|
-
kind?: "file";
|
|
739
739
|
policy?: "create-only";
|
|
740
|
+
kind?: "file";
|
|
740
741
|
content?: string;
|
|
741
742
|
contentVersion?: string;
|
|
742
743
|
} | {
|
|
743
744
|
path?: string;
|
|
744
|
-
kind?: "ledger";
|
|
745
745
|
columns?: {
|
|
746
|
-
key?: string;
|
|
747
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
748
746
|
label?: string;
|
|
747
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
748
|
+
key?: string;
|
|
749
749
|
}[];
|
|
750
750
|
policy?: "create-only";
|
|
751
|
+
kind?: "ledger";
|
|
751
752
|
structureVersion?: string;
|
|
752
753
|
})[];
|
|
753
|
-
scope?: "user" | "shared";
|
|
754
754
|
}, {
|
|
755
|
+
scope?: "user" | "shared";
|
|
755
756
|
entries?: ({
|
|
756
757
|
path?: string;
|
|
757
758
|
kind?: "directory";
|
|
758
759
|
} | {
|
|
759
760
|
path?: string;
|
|
760
|
-
kind?: "file";
|
|
761
761
|
policy?: "create-only";
|
|
762
|
+
kind?: "file";
|
|
762
763
|
content?: string;
|
|
763
764
|
contentVersion?: string;
|
|
764
765
|
} | {
|
|
765
766
|
path?: string;
|
|
766
|
-
kind?: "ledger";
|
|
767
767
|
columns?: {
|
|
768
|
-
key?: string;
|
|
769
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
770
768
|
label?: string;
|
|
769
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
770
|
+
key?: string;
|
|
771
771
|
}[];
|
|
772
772
|
policy?: "create-only";
|
|
773
|
+
kind?: "ledger";
|
|
773
774
|
structureVersion?: string;
|
|
774
775
|
})[];
|
|
775
|
-
scope?: "user" | "shared";
|
|
776
776
|
}>>;
|
|
777
777
|
onboarding: z.ZodOptional<z.ZodObject<{
|
|
778
778
|
skill: z.ZodString;
|
|
@@ -780,14 +780,14 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
|
|
|
780
780
|
preferences: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
781
781
|
completionCriteria: z.ZodString;
|
|
782
782
|
}, "strict", z.ZodTypeAny, {
|
|
783
|
+
skill?: string;
|
|
783
784
|
preferences?: string[];
|
|
784
785
|
required?: boolean;
|
|
785
|
-
skill?: string;
|
|
786
786
|
completionCriteria?: string;
|
|
787
787
|
}, {
|
|
788
|
+
skill?: string;
|
|
788
789
|
preferences?: string[];
|
|
789
790
|
required?: boolean;
|
|
790
|
-
skill?: string;
|
|
791
791
|
completionCriteria?: string;
|
|
792
792
|
}>>;
|
|
793
793
|
routines: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -800,41 +800,41 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
|
|
|
800
800
|
output: z.ZodString;
|
|
801
801
|
enabled: z.ZodDefault<z.ZodLiteral<false>>;
|
|
802
802
|
}, "strict", z.ZodTypeAny, {
|
|
803
|
-
|
|
803
|
+
skill?: string;
|
|
804
804
|
enabled?: false;
|
|
805
805
|
output?: string;
|
|
806
806
|
required?: boolean;
|
|
807
|
+
key?: string;
|
|
807
808
|
trigger?: "schedule" | "event";
|
|
808
|
-
skill?: string;
|
|
809
809
|
expression?: string;
|
|
810
|
-
timezone?: "
|
|
810
|
+
timezone?: "organization" | "user";
|
|
811
811
|
}, {
|
|
812
|
-
|
|
812
|
+
skill?: string;
|
|
813
813
|
enabled?: false;
|
|
814
814
|
output?: string;
|
|
815
815
|
required?: boolean;
|
|
816
|
+
key?: string;
|
|
816
817
|
trigger?: "schedule" | "event";
|
|
817
|
-
skill?: string;
|
|
818
818
|
expression?: string;
|
|
819
|
-
timezone?: "
|
|
819
|
+
timezone?: "organization" | "user";
|
|
820
820
|
}>, "many">, {
|
|
821
|
-
|
|
821
|
+
skill?: string;
|
|
822
822
|
enabled?: false;
|
|
823
823
|
output?: string;
|
|
824
824
|
required?: boolean;
|
|
825
|
+
key?: string;
|
|
825
826
|
trigger?: "schedule" | "event";
|
|
826
|
-
skill?: string;
|
|
827
827
|
expression?: string;
|
|
828
|
-
timezone?: "
|
|
828
|
+
timezone?: "organization" | "user";
|
|
829
829
|
}[], {
|
|
830
|
-
|
|
830
|
+
skill?: string;
|
|
831
831
|
enabled?: false;
|
|
832
832
|
output?: string;
|
|
833
833
|
required?: boolean;
|
|
834
|
+
key?: string;
|
|
834
835
|
trigger?: "schedule" | "event";
|
|
835
|
-
skill?: string;
|
|
836
836
|
expression?: string;
|
|
837
|
-
timezone?: "
|
|
837
|
+
timezone?: "organization" | "user";
|
|
838
838
|
}[]>>;
|
|
839
839
|
} & {
|
|
840
840
|
schemaVersion: z.ZodLiteral<2>;
|
|
@@ -853,11 +853,10 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
|
|
|
853
853
|
offline?: "requires-online" | "local-only";
|
|
854
854
|
}>>;
|
|
855
855
|
}, "strict", z.ZodTypeAny, {
|
|
856
|
-
schemaVersion?: 2;
|
|
857
856
|
connectors?: {
|
|
858
|
-
key?: string;
|
|
859
857
|
provider?: string;
|
|
860
858
|
required?: boolean;
|
|
859
|
+
key?: string;
|
|
861
860
|
permissions?: string[];
|
|
862
861
|
purpose?: string;
|
|
863
862
|
}[];
|
|
@@ -867,51 +866,51 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
|
|
|
867
866
|
localCapabilities?: string[];
|
|
868
867
|
offline?: "requires-online" | "local-only";
|
|
869
868
|
};
|
|
869
|
+
schemaVersion?: 2;
|
|
870
870
|
files?: {
|
|
871
|
+
scope?: "user" | "shared";
|
|
871
872
|
entries?: ({
|
|
872
873
|
path?: string;
|
|
873
874
|
kind?: "directory";
|
|
874
875
|
} | {
|
|
875
876
|
path?: string;
|
|
876
|
-
kind?: "file";
|
|
877
877
|
policy?: "create-only";
|
|
878
|
+
kind?: "file";
|
|
878
879
|
content?: string;
|
|
879
880
|
contentVersion?: string;
|
|
880
881
|
} | {
|
|
881
882
|
path?: string;
|
|
882
|
-
kind?: "ledger";
|
|
883
883
|
columns?: {
|
|
884
|
-
key?: string;
|
|
885
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
886
884
|
label?: string;
|
|
885
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
886
|
+
key?: string;
|
|
887
887
|
}[];
|
|
888
888
|
policy?: "create-only";
|
|
889
|
+
kind?: "ledger";
|
|
889
890
|
structureVersion?: string;
|
|
890
891
|
})[];
|
|
891
|
-
scope?: "user" | "shared";
|
|
892
892
|
};
|
|
893
893
|
onboarding?: {
|
|
894
|
+
skill?: string;
|
|
894
895
|
preferences?: string[];
|
|
895
896
|
required?: boolean;
|
|
896
|
-
skill?: string;
|
|
897
897
|
completionCriteria?: string;
|
|
898
898
|
};
|
|
899
899
|
routines?: {
|
|
900
|
-
|
|
900
|
+
skill?: string;
|
|
901
901
|
enabled?: false;
|
|
902
902
|
output?: string;
|
|
903
903
|
required?: boolean;
|
|
904
|
+
key?: string;
|
|
904
905
|
trigger?: "schedule" | "event";
|
|
905
|
-
skill?: string;
|
|
906
906
|
expression?: string;
|
|
907
|
-
timezone?: "
|
|
907
|
+
timezone?: "organization" | "user";
|
|
908
908
|
}[];
|
|
909
909
|
}, {
|
|
910
|
-
schemaVersion?: 2;
|
|
911
910
|
connectors?: {
|
|
912
|
-
key?: string;
|
|
913
911
|
provider?: string;
|
|
914
912
|
required?: boolean;
|
|
913
|
+
key?: string;
|
|
915
914
|
permissions?: string[];
|
|
916
915
|
purpose?: string;
|
|
917
916
|
}[];
|
|
@@ -921,44 +920,45 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
|
|
|
921
920
|
localCapabilities?: string[];
|
|
922
921
|
offline?: "requires-online" | "local-only";
|
|
923
922
|
};
|
|
923
|
+
schemaVersion?: 2;
|
|
924
924
|
files?: {
|
|
925
|
+
scope?: "user" | "shared";
|
|
925
926
|
entries?: ({
|
|
926
927
|
path?: string;
|
|
927
928
|
kind?: "directory";
|
|
928
929
|
} | {
|
|
929
930
|
path?: string;
|
|
930
|
-
kind?: "file";
|
|
931
931
|
policy?: "create-only";
|
|
932
|
+
kind?: "file";
|
|
932
933
|
content?: string;
|
|
933
934
|
contentVersion?: string;
|
|
934
935
|
} | {
|
|
935
936
|
path?: string;
|
|
936
|
-
kind?: "ledger";
|
|
937
937
|
columns?: {
|
|
938
|
-
key?: string;
|
|
939
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
940
938
|
label?: string;
|
|
939
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
940
|
+
key?: string;
|
|
941
941
|
}[];
|
|
942
942
|
policy?: "create-only";
|
|
943
|
+
kind?: "ledger";
|
|
943
944
|
structureVersion?: string;
|
|
944
945
|
})[];
|
|
945
|
-
scope?: "user" | "shared";
|
|
946
946
|
};
|
|
947
947
|
onboarding?: {
|
|
948
|
+
skill?: string;
|
|
948
949
|
preferences?: string[];
|
|
949
950
|
required?: boolean;
|
|
950
|
-
skill?: string;
|
|
951
951
|
completionCriteria?: string;
|
|
952
952
|
};
|
|
953
953
|
routines?: {
|
|
954
|
-
|
|
954
|
+
skill?: string;
|
|
955
955
|
enabled?: false;
|
|
956
956
|
output?: string;
|
|
957
957
|
required?: boolean;
|
|
958
|
+
key?: string;
|
|
958
959
|
trigger?: "schedule" | "event";
|
|
959
|
-
skill?: string;
|
|
960
960
|
expression?: string;
|
|
961
|
-
timezone?: "
|
|
961
|
+
timezone?: "organization" | "user";
|
|
962
962
|
}[];
|
|
963
963
|
}>;
|
|
964
964
|
export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVersion", [z.ZodObject<{
|
|
@@ -993,14 +993,14 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
993
993
|
policy: z.ZodLiteral<"create-only">;
|
|
994
994
|
}, "strict", z.ZodTypeAny, {
|
|
995
995
|
path?: string;
|
|
996
|
-
kind?: "file";
|
|
997
996
|
policy?: "create-only";
|
|
997
|
+
kind?: "file";
|
|
998
998
|
content?: string;
|
|
999
999
|
contentVersion?: string;
|
|
1000
1000
|
}, {
|
|
1001
1001
|
path?: string;
|
|
1002
|
-
kind?: "file";
|
|
1003
1002
|
policy?: "create-only";
|
|
1003
|
+
kind?: "file";
|
|
1004
1004
|
content?: string;
|
|
1005
1005
|
contentVersion?: string;
|
|
1006
1006
|
}>, z.ZodObject<{
|
|
@@ -1012,124 +1012,124 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1012
1012
|
label: z.ZodString;
|
|
1013
1013
|
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1014
1014
|
}, "strict", z.ZodTypeAny, {
|
|
1015
|
-
key?: string;
|
|
1016
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1017
1015
|
label?: string;
|
|
1018
|
-
}, {
|
|
1019
|
-
key?: string;
|
|
1020
1016
|
type?: "string" | "number" | "boolean" | "date";
|
|
1017
|
+
key?: string;
|
|
1018
|
+
}, {
|
|
1021
1019
|
label?: string;
|
|
1020
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1021
|
+
key?: string;
|
|
1022
1022
|
}>, "many">;
|
|
1023
1023
|
policy: z.ZodLiteral<"create-only">;
|
|
1024
1024
|
}, "strict", z.ZodTypeAny, {
|
|
1025
1025
|
path?: string;
|
|
1026
|
-
kind?: "ledger";
|
|
1027
1026
|
columns?: {
|
|
1028
|
-
key?: string;
|
|
1029
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1030
1027
|
label?: string;
|
|
1028
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1029
|
+
key?: string;
|
|
1031
1030
|
}[];
|
|
1032
1031
|
policy?: "create-only";
|
|
1032
|
+
kind?: "ledger";
|
|
1033
1033
|
structureVersion?: string;
|
|
1034
1034
|
}, {
|
|
1035
1035
|
path?: string;
|
|
1036
|
-
kind?: "ledger";
|
|
1037
1036
|
columns?: {
|
|
1038
|
-
key?: string;
|
|
1039
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1040
1037
|
label?: string;
|
|
1038
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1039
|
+
key?: string;
|
|
1041
1040
|
}[];
|
|
1042
1041
|
policy?: "create-only";
|
|
1042
|
+
kind?: "ledger";
|
|
1043
1043
|
structureVersion?: string;
|
|
1044
1044
|
}>]>, "many">;
|
|
1045
1045
|
}, "strict", z.ZodTypeAny, {
|
|
1046
|
+
scope?: "user" | "shared";
|
|
1046
1047
|
entries?: ({
|
|
1047
1048
|
path?: string;
|
|
1048
1049
|
kind?: "directory";
|
|
1049
1050
|
} | {
|
|
1050
1051
|
path?: string;
|
|
1051
|
-
kind?: "file";
|
|
1052
1052
|
policy?: "create-only";
|
|
1053
|
+
kind?: "file";
|
|
1053
1054
|
content?: string;
|
|
1054
1055
|
contentVersion?: string;
|
|
1055
1056
|
} | {
|
|
1056
1057
|
path?: string;
|
|
1057
|
-
kind?: "ledger";
|
|
1058
1058
|
columns?: {
|
|
1059
|
-
key?: string;
|
|
1060
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1061
1059
|
label?: string;
|
|
1060
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1061
|
+
key?: string;
|
|
1062
1062
|
}[];
|
|
1063
1063
|
policy?: "create-only";
|
|
1064
|
+
kind?: "ledger";
|
|
1064
1065
|
structureVersion?: string;
|
|
1065
1066
|
})[];
|
|
1066
|
-
scope?: "user" | "shared";
|
|
1067
1067
|
}, {
|
|
1068
|
+
scope?: "user" | "shared";
|
|
1068
1069
|
entries?: ({
|
|
1069
1070
|
path?: string;
|
|
1070
1071
|
kind?: "directory";
|
|
1071
1072
|
} | {
|
|
1072
1073
|
path?: string;
|
|
1073
|
-
kind?: "file";
|
|
1074
1074
|
policy?: "create-only";
|
|
1075
|
+
kind?: "file";
|
|
1075
1076
|
content?: string;
|
|
1076
1077
|
contentVersion?: string;
|
|
1077
1078
|
} | {
|
|
1078
1079
|
path?: string;
|
|
1079
|
-
kind?: "ledger";
|
|
1080
1080
|
columns?: {
|
|
1081
|
-
key?: string;
|
|
1082
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1083
1081
|
label?: string;
|
|
1082
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1083
|
+
key?: string;
|
|
1084
1084
|
}[];
|
|
1085
1085
|
policy?: "create-only";
|
|
1086
|
+
kind?: "ledger";
|
|
1086
1087
|
structureVersion?: string;
|
|
1087
1088
|
})[];
|
|
1088
|
-
scope?: "user" | "shared";
|
|
1089
1089
|
}>, {
|
|
1090
|
+
scope?: "user" | "shared";
|
|
1090
1091
|
entries?: ({
|
|
1091
1092
|
path?: string;
|
|
1092
1093
|
kind?: "directory";
|
|
1093
1094
|
} | {
|
|
1094
1095
|
path?: string;
|
|
1095
|
-
kind?: "file";
|
|
1096
1096
|
policy?: "create-only";
|
|
1097
|
+
kind?: "file";
|
|
1097
1098
|
content?: string;
|
|
1098
1099
|
contentVersion?: string;
|
|
1099
1100
|
} | {
|
|
1100
1101
|
path?: string;
|
|
1101
|
-
kind?: "ledger";
|
|
1102
1102
|
columns?: {
|
|
1103
|
-
key?: string;
|
|
1104
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1105
1103
|
label?: string;
|
|
1104
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1105
|
+
key?: string;
|
|
1106
1106
|
}[];
|
|
1107
1107
|
policy?: "create-only";
|
|
1108
|
+
kind?: "ledger";
|
|
1108
1109
|
structureVersion?: string;
|
|
1109
1110
|
})[];
|
|
1110
|
-
scope?: "user" | "shared";
|
|
1111
1111
|
}, {
|
|
1112
|
+
scope?: "user" | "shared";
|
|
1112
1113
|
entries?: ({
|
|
1113
1114
|
path?: string;
|
|
1114
1115
|
kind?: "directory";
|
|
1115
1116
|
} | {
|
|
1116
1117
|
path?: string;
|
|
1117
|
-
kind?: "file";
|
|
1118
1118
|
policy?: "create-only";
|
|
1119
|
+
kind?: "file";
|
|
1119
1120
|
content?: string;
|
|
1120
1121
|
contentVersion?: string;
|
|
1121
1122
|
} | {
|
|
1122
1123
|
path?: string;
|
|
1123
|
-
kind?: "ledger";
|
|
1124
1124
|
columns?: {
|
|
1125
|
-
key?: string;
|
|
1126
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1127
1125
|
label?: string;
|
|
1126
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1127
|
+
key?: string;
|
|
1128
1128
|
}[];
|
|
1129
1129
|
policy?: "create-only";
|
|
1130
|
+
kind?: "ledger";
|
|
1130
1131
|
structureVersion?: string;
|
|
1131
1132
|
})[];
|
|
1132
|
-
scope?: "user" | "shared";
|
|
1133
1133
|
}>>;
|
|
1134
1134
|
onboarding: z.ZodOptional<z.ZodObject<{
|
|
1135
1135
|
skill: z.ZodString;
|
|
@@ -1137,14 +1137,14 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1137
1137
|
preferences: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
1138
1138
|
completionCriteria: z.ZodString;
|
|
1139
1139
|
}, "strict", z.ZodTypeAny, {
|
|
1140
|
+
skill?: string;
|
|
1140
1141
|
preferences?: string[];
|
|
1141
1142
|
required?: boolean;
|
|
1142
|
-
skill?: string;
|
|
1143
1143
|
completionCriteria?: string;
|
|
1144
1144
|
}, {
|
|
1145
|
+
skill?: string;
|
|
1145
1146
|
preferences?: string[];
|
|
1146
1147
|
required?: boolean;
|
|
1147
|
-
skill?: string;
|
|
1148
1148
|
completionCriteria?: string;
|
|
1149
1149
|
}>>;
|
|
1150
1150
|
connectors: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1154,39 +1154,39 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1154
1154
|
purpose: z.ZodString;
|
|
1155
1155
|
permissions: z.ZodArray<z.ZodString, "many">;
|
|
1156
1156
|
}, "strict", z.ZodTypeAny, {
|
|
1157
|
-
key?: string;
|
|
1158
1157
|
provider?: string;
|
|
1159
1158
|
required?: boolean;
|
|
1159
|
+
key?: string;
|
|
1160
1160
|
permissions?: string[];
|
|
1161
1161
|
purpose?: string;
|
|
1162
1162
|
}, {
|
|
1163
|
-
key?: string;
|
|
1164
1163
|
provider?: string;
|
|
1165
1164
|
required?: boolean;
|
|
1165
|
+
key?: string;
|
|
1166
1166
|
permissions?: string[];
|
|
1167
1167
|
purpose?: string;
|
|
1168
1168
|
}>, "many">, {
|
|
1169
|
-
key?: string;
|
|
1170
1169
|
provider?: string;
|
|
1171
1170
|
required?: boolean;
|
|
1171
|
+
key?: string;
|
|
1172
1172
|
permissions?: string[];
|
|
1173
1173
|
purpose?: string;
|
|
1174
1174
|
}[], {
|
|
1175
|
-
key?: string;
|
|
1176
1175
|
provider?: string;
|
|
1177
1176
|
required?: boolean;
|
|
1177
|
+
key?: string;
|
|
1178
1178
|
permissions?: string[];
|
|
1179
1179
|
purpose?: string;
|
|
1180
1180
|
}[]>, {
|
|
1181
|
-
key?: string;
|
|
1182
1181
|
provider?: string;
|
|
1183
1182
|
required?: boolean;
|
|
1183
|
+
key?: string;
|
|
1184
1184
|
permissions?: string[];
|
|
1185
1185
|
purpose?: string;
|
|
1186
1186
|
}[], {
|
|
1187
|
-
key?: string;
|
|
1188
1187
|
provider?: string;
|
|
1189
1188
|
required?: boolean;
|
|
1189
|
+
key?: string;
|
|
1190
1190
|
permissions?: string[];
|
|
1191
1191
|
purpose?: string;
|
|
1192
1192
|
}[]>>;
|
|
@@ -1200,41 +1200,41 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1200
1200
|
output: z.ZodString;
|
|
1201
1201
|
enabled: z.ZodDefault<z.ZodLiteral<false>>;
|
|
1202
1202
|
}, "strict", z.ZodTypeAny, {
|
|
1203
|
-
|
|
1203
|
+
skill?: string;
|
|
1204
1204
|
enabled?: false;
|
|
1205
1205
|
output?: string;
|
|
1206
1206
|
required?: boolean;
|
|
1207
|
+
key?: string;
|
|
1207
1208
|
trigger?: "schedule" | "event";
|
|
1208
|
-
skill?: string;
|
|
1209
1209
|
expression?: string;
|
|
1210
|
-
timezone?: "
|
|
1210
|
+
timezone?: "organization" | "user";
|
|
1211
1211
|
}, {
|
|
1212
|
-
|
|
1212
|
+
skill?: string;
|
|
1213
1213
|
enabled?: false;
|
|
1214
1214
|
output?: string;
|
|
1215
1215
|
required?: boolean;
|
|
1216
|
+
key?: string;
|
|
1216
1217
|
trigger?: "schedule" | "event";
|
|
1217
|
-
skill?: string;
|
|
1218
1218
|
expression?: string;
|
|
1219
|
-
timezone?: "
|
|
1219
|
+
timezone?: "organization" | "user";
|
|
1220
1220
|
}>, "many">, {
|
|
1221
|
-
|
|
1221
|
+
skill?: string;
|
|
1222
1222
|
enabled?: false;
|
|
1223
1223
|
output?: string;
|
|
1224
1224
|
required?: boolean;
|
|
1225
|
+
key?: string;
|
|
1225
1226
|
trigger?: "schedule" | "event";
|
|
1226
|
-
skill?: string;
|
|
1227
1227
|
expression?: string;
|
|
1228
|
-
timezone?: "
|
|
1228
|
+
timezone?: "organization" | "user";
|
|
1229
1229
|
}[], {
|
|
1230
|
-
|
|
1230
|
+
skill?: string;
|
|
1231
1231
|
enabled?: false;
|
|
1232
1232
|
output?: string;
|
|
1233
1233
|
required?: boolean;
|
|
1234
|
+
key?: string;
|
|
1234
1235
|
trigger?: "schedule" | "event";
|
|
1235
|
-
skill?: string;
|
|
1236
1236
|
expression?: string;
|
|
1237
|
-
timezone?: "
|
|
1237
|
+
timezone?: "organization" | "user";
|
|
1238
1238
|
}[]>>;
|
|
1239
1239
|
execution: z.ZodOptional<z.ZodObject<{
|
|
1240
1240
|
modelFeatures: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ModelFeature>, "many">>;
|
|
@@ -1253,15 +1253,14 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1253
1253
|
offline?: "requires-online" | "local-only";
|
|
1254
1254
|
}>>;
|
|
1255
1255
|
}, "strict", z.ZodTypeAny, {
|
|
1256
|
-
schemaVersion?: 1;
|
|
1257
1256
|
skills?: {
|
|
1258
1257
|
pluginName?: string;
|
|
1259
1258
|
componentKey?: string;
|
|
1260
1259
|
}[];
|
|
1261
1260
|
connectors?: {
|
|
1262
|
-
key?: string;
|
|
1263
1261
|
provider?: string;
|
|
1264
1262
|
required?: boolean;
|
|
1263
|
+
key?: string;
|
|
1265
1264
|
permissions?: string[];
|
|
1266
1265
|
purpose?: string;
|
|
1267
1266
|
}[];
|
|
@@ -1272,55 +1271,55 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1272
1271
|
localCapabilities?: string[];
|
|
1273
1272
|
offline?: "requires-online" | "local-only";
|
|
1274
1273
|
};
|
|
1274
|
+
schemaVersion?: 1;
|
|
1275
1275
|
files?: {
|
|
1276
|
+
scope?: "user" | "shared";
|
|
1276
1277
|
entries?: ({
|
|
1277
1278
|
path?: string;
|
|
1278
1279
|
kind?: "directory";
|
|
1279
1280
|
} | {
|
|
1280
1281
|
path?: string;
|
|
1281
|
-
kind?: "file";
|
|
1282
1282
|
policy?: "create-only";
|
|
1283
|
+
kind?: "file";
|
|
1283
1284
|
content?: string;
|
|
1284
1285
|
contentVersion?: string;
|
|
1285
1286
|
} | {
|
|
1286
1287
|
path?: string;
|
|
1287
|
-
kind?: "ledger";
|
|
1288
1288
|
columns?: {
|
|
1289
|
-
key?: string;
|
|
1290
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1291
1289
|
label?: string;
|
|
1290
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1291
|
+
key?: string;
|
|
1292
1292
|
}[];
|
|
1293
1293
|
policy?: "create-only";
|
|
1294
|
+
kind?: "ledger";
|
|
1294
1295
|
structureVersion?: string;
|
|
1295
1296
|
})[];
|
|
1296
|
-
scope?: "user" | "shared";
|
|
1297
1297
|
};
|
|
1298
1298
|
onboarding?: {
|
|
1299
|
+
skill?: string;
|
|
1299
1300
|
preferences?: string[];
|
|
1300
1301
|
required?: boolean;
|
|
1301
|
-
skill?: string;
|
|
1302
1302
|
completionCriteria?: string;
|
|
1303
1303
|
};
|
|
1304
1304
|
routines?: {
|
|
1305
|
-
|
|
1305
|
+
skill?: string;
|
|
1306
1306
|
enabled?: false;
|
|
1307
1307
|
output?: string;
|
|
1308
1308
|
required?: boolean;
|
|
1309
|
+
key?: string;
|
|
1309
1310
|
trigger?: "schedule" | "event";
|
|
1310
|
-
skill?: string;
|
|
1311
1311
|
expression?: string;
|
|
1312
|
-
timezone?: "
|
|
1312
|
+
timezone?: "organization" | "user";
|
|
1313
1313
|
}[];
|
|
1314
1314
|
}, {
|
|
1315
|
-
schemaVersion?: 1;
|
|
1316
1315
|
skills?: {
|
|
1317
1316
|
pluginName?: string;
|
|
1318
1317
|
componentKey?: string;
|
|
1319
1318
|
}[];
|
|
1320
1319
|
connectors?: {
|
|
1321
|
-
key?: string;
|
|
1322
1320
|
provider?: string;
|
|
1323
1321
|
required?: boolean;
|
|
1322
|
+
key?: string;
|
|
1324
1323
|
permissions?: string[];
|
|
1325
1324
|
purpose?: string;
|
|
1326
1325
|
}[];
|
|
@@ -1331,44 +1330,45 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1331
1330
|
localCapabilities?: string[];
|
|
1332
1331
|
offline?: "requires-online" | "local-only";
|
|
1333
1332
|
};
|
|
1333
|
+
schemaVersion?: 1;
|
|
1334
1334
|
files?: {
|
|
1335
|
+
scope?: "user" | "shared";
|
|
1335
1336
|
entries?: ({
|
|
1336
1337
|
path?: string;
|
|
1337
1338
|
kind?: "directory";
|
|
1338
1339
|
} | {
|
|
1339
1340
|
path?: string;
|
|
1340
|
-
kind?: "file";
|
|
1341
1341
|
policy?: "create-only";
|
|
1342
|
+
kind?: "file";
|
|
1342
1343
|
content?: string;
|
|
1343
1344
|
contentVersion?: string;
|
|
1344
1345
|
} | {
|
|
1345
1346
|
path?: string;
|
|
1346
|
-
kind?: "ledger";
|
|
1347
1347
|
columns?: {
|
|
1348
|
-
key?: string;
|
|
1349
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1350
1348
|
label?: string;
|
|
1349
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1350
|
+
key?: string;
|
|
1351
1351
|
}[];
|
|
1352
1352
|
policy?: "create-only";
|
|
1353
|
+
kind?: "ledger";
|
|
1353
1354
|
structureVersion?: string;
|
|
1354
1355
|
})[];
|
|
1355
|
-
scope?: "user" | "shared";
|
|
1356
1356
|
};
|
|
1357
1357
|
onboarding?: {
|
|
1358
|
+
skill?: string;
|
|
1358
1359
|
preferences?: string[];
|
|
1359
1360
|
required?: boolean;
|
|
1360
|
-
skill?: string;
|
|
1361
1361
|
completionCriteria?: string;
|
|
1362
1362
|
};
|
|
1363
1363
|
routines?: {
|
|
1364
|
-
|
|
1364
|
+
skill?: string;
|
|
1365
1365
|
enabled?: false;
|
|
1366
1366
|
output?: string;
|
|
1367
1367
|
required?: boolean;
|
|
1368
|
+
key?: string;
|
|
1368
1369
|
trigger?: "schedule" | "event";
|
|
1369
|
-
skill?: string;
|
|
1370
1370
|
expression?: string;
|
|
1371
|
-
timezone?: "
|
|
1371
|
+
timezone?: "organization" | "user";
|
|
1372
1372
|
}[];
|
|
1373
1373
|
}>, z.ZodObject<{
|
|
1374
1374
|
connectors: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1378,39 +1378,39 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1378
1378
|
purpose: z.ZodString;
|
|
1379
1379
|
permissions: z.ZodArray<z.ZodString, "many">;
|
|
1380
1380
|
}, "strict", z.ZodTypeAny, {
|
|
1381
|
-
key?: string;
|
|
1382
1381
|
provider?: string;
|
|
1383
1382
|
required?: boolean;
|
|
1383
|
+
key?: string;
|
|
1384
1384
|
permissions?: string[];
|
|
1385
1385
|
purpose?: string;
|
|
1386
1386
|
}, {
|
|
1387
|
-
key?: string;
|
|
1388
1387
|
provider?: string;
|
|
1389
1388
|
required?: boolean;
|
|
1389
|
+
key?: string;
|
|
1390
1390
|
permissions?: string[];
|
|
1391
1391
|
purpose?: string;
|
|
1392
1392
|
}>, "many">, {
|
|
1393
|
-
key?: string;
|
|
1394
1393
|
provider?: string;
|
|
1395
1394
|
required?: boolean;
|
|
1395
|
+
key?: string;
|
|
1396
1396
|
permissions?: string[];
|
|
1397
1397
|
purpose?: string;
|
|
1398
1398
|
}[], {
|
|
1399
|
-
key?: string;
|
|
1400
1399
|
provider?: string;
|
|
1401
1400
|
required?: boolean;
|
|
1401
|
+
key?: string;
|
|
1402
1402
|
permissions?: string[];
|
|
1403
1403
|
purpose?: string;
|
|
1404
1404
|
}[]>, {
|
|
1405
|
-
key?: string;
|
|
1406
1405
|
provider?: string;
|
|
1407
1406
|
required?: boolean;
|
|
1407
|
+
key?: string;
|
|
1408
1408
|
permissions?: string[];
|
|
1409
1409
|
purpose?: string;
|
|
1410
1410
|
}[], {
|
|
1411
|
-
key?: string;
|
|
1412
1411
|
provider?: string;
|
|
1413
1412
|
required?: boolean;
|
|
1413
|
+
key?: string;
|
|
1414
1414
|
permissions?: string[];
|
|
1415
1415
|
purpose?: string;
|
|
1416
1416
|
}[]>>;
|
|
@@ -1434,14 +1434,14 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1434
1434
|
policy: z.ZodLiteral<"create-only">;
|
|
1435
1435
|
}, "strict", z.ZodTypeAny, {
|
|
1436
1436
|
path?: string;
|
|
1437
|
-
kind?: "file";
|
|
1438
1437
|
policy?: "create-only";
|
|
1438
|
+
kind?: "file";
|
|
1439
1439
|
content?: string;
|
|
1440
1440
|
contentVersion?: string;
|
|
1441
1441
|
}, {
|
|
1442
1442
|
path?: string;
|
|
1443
|
-
kind?: "file";
|
|
1444
1443
|
policy?: "create-only";
|
|
1444
|
+
kind?: "file";
|
|
1445
1445
|
content?: string;
|
|
1446
1446
|
contentVersion?: string;
|
|
1447
1447
|
}>, z.ZodObject<{
|
|
@@ -1453,124 +1453,124 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1453
1453
|
label: z.ZodString;
|
|
1454
1454
|
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1455
1455
|
}, "strict", z.ZodTypeAny, {
|
|
1456
|
-
key?: string;
|
|
1457
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1458
1456
|
label?: string;
|
|
1459
|
-
}, {
|
|
1460
|
-
key?: string;
|
|
1461
1457
|
type?: "string" | "number" | "boolean" | "date";
|
|
1458
|
+
key?: string;
|
|
1459
|
+
}, {
|
|
1462
1460
|
label?: string;
|
|
1461
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1462
|
+
key?: string;
|
|
1463
1463
|
}>, "many">;
|
|
1464
1464
|
policy: z.ZodLiteral<"create-only">;
|
|
1465
1465
|
}, "strict", z.ZodTypeAny, {
|
|
1466
1466
|
path?: string;
|
|
1467
|
-
kind?: "ledger";
|
|
1468
1467
|
columns?: {
|
|
1469
|
-
key?: string;
|
|
1470
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1471
1468
|
label?: string;
|
|
1469
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1470
|
+
key?: string;
|
|
1472
1471
|
}[];
|
|
1473
1472
|
policy?: "create-only";
|
|
1473
|
+
kind?: "ledger";
|
|
1474
1474
|
structureVersion?: string;
|
|
1475
1475
|
}, {
|
|
1476
1476
|
path?: string;
|
|
1477
|
-
kind?: "ledger";
|
|
1478
1477
|
columns?: {
|
|
1479
|
-
key?: string;
|
|
1480
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1481
1478
|
label?: string;
|
|
1479
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1480
|
+
key?: string;
|
|
1482
1481
|
}[];
|
|
1483
1482
|
policy?: "create-only";
|
|
1483
|
+
kind?: "ledger";
|
|
1484
1484
|
structureVersion?: string;
|
|
1485
1485
|
}>]>, "many">;
|
|
1486
1486
|
}, "strict", z.ZodTypeAny, {
|
|
1487
|
+
scope?: "user" | "shared";
|
|
1487
1488
|
entries?: ({
|
|
1488
1489
|
path?: string;
|
|
1489
1490
|
kind?: "directory";
|
|
1490
1491
|
} | {
|
|
1491
1492
|
path?: string;
|
|
1492
|
-
kind?: "file";
|
|
1493
1493
|
policy?: "create-only";
|
|
1494
|
+
kind?: "file";
|
|
1494
1495
|
content?: string;
|
|
1495
1496
|
contentVersion?: string;
|
|
1496
1497
|
} | {
|
|
1497
1498
|
path?: string;
|
|
1498
|
-
kind?: "ledger";
|
|
1499
1499
|
columns?: {
|
|
1500
|
-
key?: string;
|
|
1501
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1502
1500
|
label?: string;
|
|
1501
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1502
|
+
key?: string;
|
|
1503
1503
|
}[];
|
|
1504
1504
|
policy?: "create-only";
|
|
1505
|
+
kind?: "ledger";
|
|
1505
1506
|
structureVersion?: string;
|
|
1506
1507
|
})[];
|
|
1507
|
-
scope?: "user" | "shared";
|
|
1508
1508
|
}, {
|
|
1509
|
+
scope?: "user" | "shared";
|
|
1509
1510
|
entries?: ({
|
|
1510
1511
|
path?: string;
|
|
1511
1512
|
kind?: "directory";
|
|
1512
1513
|
} | {
|
|
1513
1514
|
path?: string;
|
|
1514
|
-
kind?: "file";
|
|
1515
1515
|
policy?: "create-only";
|
|
1516
|
+
kind?: "file";
|
|
1516
1517
|
content?: string;
|
|
1517
1518
|
contentVersion?: string;
|
|
1518
1519
|
} | {
|
|
1519
1520
|
path?: string;
|
|
1520
|
-
kind?: "ledger";
|
|
1521
1521
|
columns?: {
|
|
1522
|
-
key?: string;
|
|
1523
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1524
1522
|
label?: string;
|
|
1523
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1524
|
+
key?: string;
|
|
1525
1525
|
}[];
|
|
1526
1526
|
policy?: "create-only";
|
|
1527
|
+
kind?: "ledger";
|
|
1527
1528
|
structureVersion?: string;
|
|
1528
1529
|
})[];
|
|
1529
|
-
scope?: "user" | "shared";
|
|
1530
1530
|
}>, {
|
|
1531
|
+
scope?: "user" | "shared";
|
|
1531
1532
|
entries?: ({
|
|
1532
1533
|
path?: string;
|
|
1533
1534
|
kind?: "directory";
|
|
1534
1535
|
} | {
|
|
1535
1536
|
path?: string;
|
|
1536
|
-
kind?: "file";
|
|
1537
1537
|
policy?: "create-only";
|
|
1538
|
+
kind?: "file";
|
|
1538
1539
|
content?: string;
|
|
1539
1540
|
contentVersion?: string;
|
|
1540
1541
|
} | {
|
|
1541
1542
|
path?: string;
|
|
1542
|
-
kind?: "ledger";
|
|
1543
1543
|
columns?: {
|
|
1544
|
-
key?: string;
|
|
1545
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1546
1544
|
label?: string;
|
|
1545
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1546
|
+
key?: string;
|
|
1547
1547
|
}[];
|
|
1548
1548
|
policy?: "create-only";
|
|
1549
|
+
kind?: "ledger";
|
|
1549
1550
|
structureVersion?: string;
|
|
1550
1551
|
})[];
|
|
1551
|
-
scope?: "user" | "shared";
|
|
1552
1552
|
}, {
|
|
1553
|
+
scope?: "user" | "shared";
|
|
1553
1554
|
entries?: ({
|
|
1554
1555
|
path?: string;
|
|
1555
1556
|
kind?: "directory";
|
|
1556
1557
|
} | {
|
|
1557
1558
|
path?: string;
|
|
1558
|
-
kind?: "file";
|
|
1559
1559
|
policy?: "create-only";
|
|
1560
|
+
kind?: "file";
|
|
1560
1561
|
content?: string;
|
|
1561
1562
|
contentVersion?: string;
|
|
1562
1563
|
} | {
|
|
1563
1564
|
path?: string;
|
|
1564
|
-
kind?: "ledger";
|
|
1565
1565
|
columns?: {
|
|
1566
|
-
key?: string;
|
|
1567
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1568
1566
|
label?: string;
|
|
1567
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1568
|
+
key?: string;
|
|
1569
1569
|
}[];
|
|
1570
1570
|
policy?: "create-only";
|
|
1571
|
+
kind?: "ledger";
|
|
1571
1572
|
structureVersion?: string;
|
|
1572
1573
|
})[];
|
|
1573
|
-
scope?: "user" | "shared";
|
|
1574
1574
|
}>>;
|
|
1575
1575
|
onboarding: z.ZodOptional<z.ZodObject<{
|
|
1576
1576
|
skill: z.ZodString;
|
|
@@ -1578,14 +1578,14 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1578
1578
|
preferences: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
1579
1579
|
completionCriteria: z.ZodString;
|
|
1580
1580
|
}, "strict", z.ZodTypeAny, {
|
|
1581
|
+
skill?: string;
|
|
1581
1582
|
preferences?: string[];
|
|
1582
1583
|
required?: boolean;
|
|
1583
|
-
skill?: string;
|
|
1584
1584
|
completionCriteria?: string;
|
|
1585
1585
|
}, {
|
|
1586
|
+
skill?: string;
|
|
1586
1587
|
preferences?: string[];
|
|
1587
1588
|
required?: boolean;
|
|
1588
|
-
skill?: string;
|
|
1589
1589
|
completionCriteria?: string;
|
|
1590
1590
|
}>>;
|
|
1591
1591
|
routines: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1598,41 +1598,41 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1598
1598
|
output: z.ZodString;
|
|
1599
1599
|
enabled: z.ZodDefault<z.ZodLiteral<false>>;
|
|
1600
1600
|
}, "strict", z.ZodTypeAny, {
|
|
1601
|
-
|
|
1601
|
+
skill?: string;
|
|
1602
1602
|
enabled?: false;
|
|
1603
1603
|
output?: string;
|
|
1604
1604
|
required?: boolean;
|
|
1605
|
+
key?: string;
|
|
1605
1606
|
trigger?: "schedule" | "event";
|
|
1606
|
-
skill?: string;
|
|
1607
1607
|
expression?: string;
|
|
1608
|
-
timezone?: "
|
|
1608
|
+
timezone?: "organization" | "user";
|
|
1609
1609
|
}, {
|
|
1610
|
-
|
|
1610
|
+
skill?: string;
|
|
1611
1611
|
enabled?: false;
|
|
1612
1612
|
output?: string;
|
|
1613
1613
|
required?: boolean;
|
|
1614
|
+
key?: string;
|
|
1614
1615
|
trigger?: "schedule" | "event";
|
|
1615
|
-
skill?: string;
|
|
1616
1616
|
expression?: string;
|
|
1617
|
-
timezone?: "
|
|
1617
|
+
timezone?: "organization" | "user";
|
|
1618
1618
|
}>, "many">, {
|
|
1619
|
-
|
|
1619
|
+
skill?: string;
|
|
1620
1620
|
enabled?: false;
|
|
1621
1621
|
output?: string;
|
|
1622
1622
|
required?: boolean;
|
|
1623
|
+
key?: string;
|
|
1623
1624
|
trigger?: "schedule" | "event";
|
|
1624
|
-
skill?: string;
|
|
1625
1625
|
expression?: string;
|
|
1626
|
-
timezone?: "
|
|
1626
|
+
timezone?: "organization" | "user";
|
|
1627
1627
|
}[], {
|
|
1628
|
-
|
|
1628
|
+
skill?: string;
|
|
1629
1629
|
enabled?: false;
|
|
1630
1630
|
output?: string;
|
|
1631
1631
|
required?: boolean;
|
|
1632
|
+
key?: string;
|
|
1632
1633
|
trigger?: "schedule" | "event";
|
|
1633
|
-
skill?: string;
|
|
1634
1634
|
expression?: string;
|
|
1635
|
-
timezone?: "
|
|
1635
|
+
timezone?: "organization" | "user";
|
|
1636
1636
|
}[]>>;
|
|
1637
1637
|
} & {
|
|
1638
1638
|
schemaVersion: z.ZodLiteral<2>;
|
|
@@ -1651,11 +1651,10 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1651
1651
|
offline?: "requires-online" | "local-only";
|
|
1652
1652
|
}>>;
|
|
1653
1653
|
}, "strict", z.ZodTypeAny, {
|
|
1654
|
-
schemaVersion?: 2;
|
|
1655
1654
|
connectors?: {
|
|
1656
|
-
key?: string;
|
|
1657
1655
|
provider?: string;
|
|
1658
1656
|
required?: boolean;
|
|
1657
|
+
key?: string;
|
|
1659
1658
|
permissions?: string[];
|
|
1660
1659
|
purpose?: string;
|
|
1661
1660
|
}[];
|
|
@@ -1665,51 +1664,51 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1665
1664
|
localCapabilities?: string[];
|
|
1666
1665
|
offline?: "requires-online" | "local-only";
|
|
1667
1666
|
};
|
|
1667
|
+
schemaVersion?: 2;
|
|
1668
1668
|
files?: {
|
|
1669
|
+
scope?: "user" | "shared";
|
|
1669
1670
|
entries?: ({
|
|
1670
1671
|
path?: string;
|
|
1671
1672
|
kind?: "directory";
|
|
1672
1673
|
} | {
|
|
1673
1674
|
path?: string;
|
|
1674
|
-
kind?: "file";
|
|
1675
1675
|
policy?: "create-only";
|
|
1676
|
+
kind?: "file";
|
|
1676
1677
|
content?: string;
|
|
1677
1678
|
contentVersion?: string;
|
|
1678
1679
|
} | {
|
|
1679
1680
|
path?: string;
|
|
1680
|
-
kind?: "ledger";
|
|
1681
1681
|
columns?: {
|
|
1682
|
-
key?: string;
|
|
1683
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1684
1682
|
label?: string;
|
|
1683
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1684
|
+
key?: string;
|
|
1685
1685
|
}[];
|
|
1686
1686
|
policy?: "create-only";
|
|
1687
|
+
kind?: "ledger";
|
|
1687
1688
|
structureVersion?: string;
|
|
1688
1689
|
})[];
|
|
1689
|
-
scope?: "user" | "shared";
|
|
1690
1690
|
};
|
|
1691
1691
|
onboarding?: {
|
|
1692
|
+
skill?: string;
|
|
1692
1693
|
preferences?: string[];
|
|
1693
1694
|
required?: boolean;
|
|
1694
|
-
skill?: string;
|
|
1695
1695
|
completionCriteria?: string;
|
|
1696
1696
|
};
|
|
1697
1697
|
routines?: {
|
|
1698
|
-
|
|
1698
|
+
skill?: string;
|
|
1699
1699
|
enabled?: false;
|
|
1700
1700
|
output?: string;
|
|
1701
1701
|
required?: boolean;
|
|
1702
|
+
key?: string;
|
|
1702
1703
|
trigger?: "schedule" | "event";
|
|
1703
|
-
skill?: string;
|
|
1704
1704
|
expression?: string;
|
|
1705
|
-
timezone?: "
|
|
1705
|
+
timezone?: "organization" | "user";
|
|
1706
1706
|
}[];
|
|
1707
1707
|
}, {
|
|
1708
|
-
schemaVersion?: 2;
|
|
1709
1708
|
connectors?: {
|
|
1710
|
-
key?: string;
|
|
1711
1709
|
provider?: string;
|
|
1712
1710
|
required?: boolean;
|
|
1711
|
+
key?: string;
|
|
1713
1712
|
permissions?: string[];
|
|
1714
1713
|
purpose?: string;
|
|
1715
1714
|
}[];
|
|
@@ -1719,44 +1718,45 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
|
|
|
1719
1718
|
localCapabilities?: string[];
|
|
1720
1719
|
offline?: "requires-online" | "local-only";
|
|
1721
1720
|
};
|
|
1721
|
+
schemaVersion?: 2;
|
|
1722
1722
|
files?: {
|
|
1723
|
+
scope?: "user" | "shared";
|
|
1723
1724
|
entries?: ({
|
|
1724
1725
|
path?: string;
|
|
1725
1726
|
kind?: "directory";
|
|
1726
1727
|
} | {
|
|
1727
1728
|
path?: string;
|
|
1728
|
-
kind?: "file";
|
|
1729
1729
|
policy?: "create-only";
|
|
1730
|
+
kind?: "file";
|
|
1730
1731
|
content?: string;
|
|
1731
1732
|
contentVersion?: string;
|
|
1732
1733
|
} | {
|
|
1733
1734
|
path?: string;
|
|
1734
|
-
kind?: "ledger";
|
|
1735
1735
|
columns?: {
|
|
1736
|
-
key?: string;
|
|
1737
|
-
type?: "string" | "number" | "boolean" | "date";
|
|
1738
1736
|
label?: string;
|
|
1737
|
+
type?: "string" | "number" | "boolean" | "date";
|
|
1738
|
+
key?: string;
|
|
1739
1739
|
}[];
|
|
1740
1740
|
policy?: "create-only";
|
|
1741
|
+
kind?: "ledger";
|
|
1741
1742
|
structureVersion?: string;
|
|
1742
1743
|
})[];
|
|
1743
|
-
scope?: "user" | "shared";
|
|
1744
1744
|
};
|
|
1745
1745
|
onboarding?: {
|
|
1746
|
+
skill?: string;
|
|
1746
1747
|
preferences?: string[];
|
|
1747
1748
|
required?: boolean;
|
|
1748
|
-
skill?: string;
|
|
1749
1749
|
completionCriteria?: string;
|
|
1750
1750
|
};
|
|
1751
1751
|
routines?: {
|
|
1752
|
-
|
|
1752
|
+
skill?: string;
|
|
1753
1753
|
enabled?: false;
|
|
1754
1754
|
output?: string;
|
|
1755
1755
|
required?: boolean;
|
|
1756
|
+
key?: string;
|
|
1756
1757
|
trigger?: "schedule" | "event";
|
|
1757
|
-
skill?: string;
|
|
1758
1758
|
expression?: string;
|
|
1759
|
-
timezone?: "
|
|
1759
|
+
timezone?: "organization" | "user";
|
|
1760
1760
|
}[];
|
|
1761
1761
|
}>]>;
|
|
1762
1762
|
export type AssistantTemplateManifest = z.output<typeof assistantTemplateManifestSchema>;
|