@xpert-ai/contracts 3.35.0 → 3.36.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.
Files changed (97) hide show
  1. package/context-event.cjs.default.js +1 -0
  2. package/context-event.cjs.js +26 -0
  3. package/context-event.cjs.mjs +2 -0
  4. package/context-event.d.ts +1 -0
  5. package/context-event.esm.js +24 -0
  6. package/index.cjs.default.js +1 -0
  7. package/index.cjs.js +291 -299
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +280 -296
  10. package/package.json +18 -2
  11. package/src/agent-event.model.d.ts +88 -0
  12. package/src/agent-event.schema.d.ts +120 -0
  13. package/src/agent-plugin.d.ts +4 -29
  14. package/src/ai/agent-output-delivery.model.d.ts +22 -1
  15. package/src/ai/agent-runtime.model.d.ts +4 -4
  16. package/src/ai/assistant-capability.model.d.ts +0 -1
  17. package/src/ai/assistant-template-manifest.model.d.ts +316 -352
  18. package/src/ai/assistant-template-overview.model.d.ts +0 -4
  19. package/src/ai/assistant-template-setup.model.d.ts +8 -8
  20. package/src/ai/assistant-template.model.d.ts +0 -4
  21. package/src/ai/bosi.model.d.ts +1 -1
  22. package/src/ai/chat-activity.model.d.ts +8 -0
  23. package/src/ai/chat-message.model.d.ts +0 -11
  24. package/src/ai/chat.model.d.ts +1 -0
  25. package/src/ai/cli-execution.model.d.ts +88 -0
  26. package/src/ai/conversation-trail.model.d.ts +274 -274
  27. package/src/ai/copilot-store.model.d.ts +0 -13
  28. package/src/ai/evolution/entities.d.ts +164 -0
  29. package/src/ai/evolution/evaluation.d.ts +7 -0
  30. package/src/ai/evolution/execution-review.d.ts +68 -0
  31. package/src/ai/evolution/index.d.ts +2 -0
  32. package/src/ai/evolution/provider.d.ts +1 -0
  33. package/src/ai/evolution/target.d.ts +5 -0
  34. package/src/ai/execution-activity.model.d.ts +362 -362
  35. package/src/ai/execution-control-evidence.schema.d.ts +18 -18
  36. package/src/ai/execution-observability.model.d.ts +196 -196
  37. package/src/ai/execution-source.model.d.ts +45 -0
  38. package/src/ai/index.d.ts +2 -0
  39. package/src/ai/mcp-execution-control.schema.d.ts +2 -2
  40. package/src/ai/middleware.model.d.ts +1 -0
  41. package/src/ai/model-execution.model.d.ts +5 -108
  42. package/src/ai/model-replacement.model.d.ts +18 -18
  43. package/src/ai/project-configuration-view.model.d.ts +1 -0
  44. package/src/ai/project-pipeline/analytics.d.ts +192 -192
  45. package/src/ai/project-pipeline/commands.schema.d.ts +533 -490
  46. package/src/ai/project-pipeline/configuration-form.d.ts +1976 -1832
  47. package/src/ai/project-pipeline/configuration.schema.d.ts +450 -413
  48. package/src/ai/project-pipeline/contribution.schema.d.ts +688 -639
  49. package/src/ai/project-pipeline/definition.schema.d.ts +400 -356
  50. package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
  51. package/src/ai/project-pipeline/graph.model.d.ts +5 -0
  52. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  53. package/src/ai/project-pipeline/model-usage-statistics.d.ts +4 -4
  54. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  55. package/src/ai/project-pipeline/operation.schema.d.ts +298 -298
  56. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +6 -6
  57. package/src/ai/project-pipeline/portfolio.schema.d.ts +468 -468
  58. package/src/ai/project-pipeline/primitives.schema.d.ts +6 -6
  59. package/src/ai/project-pipeline/projection.schema.d.ts +609 -572
  60. package/src/ai/project-pipeline/provider-actions.schema.d.ts +100 -100
  61. package/src/ai/project-pipeline/queue-statistics.d.ts +10 -10
  62. package/src/ai/project-pipeline/runtime.schema.d.ts +60 -60
  63. package/src/ai/project-pipeline/statistics.d.ts +100 -100
  64. package/src/ai/project-task-runtime.model.d.ts +256 -780
  65. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  66. package/src/ai/template-installation.model.d.ts +18 -18
  67. package/src/ai/template-lifecycle.model.d.ts +6 -6
  68. package/src/ai/thread-control-view.schema.d.ts +4 -4
  69. package/src/ai/xpert-agent-execution.model.d.ts +4 -0
  70. package/src/ai/xpert-project.model.d.ts +2 -1
  71. package/src/ai/xpert.model.d.ts +0 -34
  72. package/src/ai/xpert.utils.d.ts +0 -1
  73. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  74. package/src/analytics/analytics-certification.model.d.ts +17 -0
  75. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  76. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  77. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  78. package/src/analytics/index.d.ts +7 -0
  79. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  80. package/src/app-platform.d.ts +16 -16
  81. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  82. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  83. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  84. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  85. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +2 -2
  86. package/src/artifacts/index.d.ts +5 -0
  87. package/src/collaboration.model.d.ts +31 -11
  88. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  89. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +6 -3
  90. package/src/content/content-transfer.model.d.ts +21 -0
  91. package/src/content/index.d.ts +4 -0
  92. package/src/execution-control-admission.schema.d.ts +2 -2
  93. package/src/index.d.ts +5 -14
  94. package/src/user-notification.schema.d.ts +46 -28
  95. package/src/view-extension/client-commands.d.ts +24 -0
  96. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  97. /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
@@ -9,11 +9,11 @@ export declare const templateFilesSchema: z.ZodEffects<z.ZodObject<{
9
9
  kind: z.ZodLiteral<"directory">;
10
10
  path: z.ZodEffects<z.ZodString, string, string>;
11
11
  }, "strict", z.ZodTypeAny, {
12
- kind?: "directory";
13
12
  path?: string;
14
- }, {
15
13
  kind?: "directory";
14
+ }, {
16
15
  path?: string;
16
+ kind?: "directory";
17
17
  }>, z.ZodObject<{
18
18
  kind: z.ZodLiteral<"file">;
19
19
  path: z.ZodEffects<z.ZodString, string, string>;
@@ -21,14 +21,14 @@ export declare const templateFilesSchema: z.ZodEffects<z.ZodObject<{
21
21
  contentVersion: z.ZodString;
22
22
  policy: z.ZodLiteral<"create-only">;
23
23
  }, "strict", z.ZodTypeAny, {
24
- kind?: "file";
25
24
  path?: string;
25
+ kind?: "file";
26
26
  policy?: "create-only";
27
27
  content?: string;
28
28
  contentVersion?: string;
29
29
  }, {
30
- kind?: "file";
31
30
  path?: string;
31
+ kind?: "file";
32
32
  policy?: "create-only";
33
33
  content?: string;
34
34
  contentVersion?: string;
@@ -41,139 +41,129 @@ 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
- type?: "string" | "number" | "boolean" | "date";
45
44
  key?: string;
45
+ type?: "string" | "number" | "boolean" | "date";
46
46
  label?: string;
47
47
  }, {
48
- type?: "string" | "number" | "boolean" | "date";
49
48
  key?: string;
49
+ type?: "string" | "number" | "boolean" | "date";
50
50
  label?: string;
51
51
  }>, "many">;
52
52
  policy: z.ZodLiteral<"create-only">;
53
53
  }, "strict", z.ZodTypeAny, {
54
- kind?: "ledger";
55
54
  path?: string;
55
+ kind?: "ledger";
56
56
  columns?: {
57
- type?: "string" | "number" | "boolean" | "date";
58
57
  key?: string;
58
+ type?: "string" | "number" | "boolean" | "date";
59
59
  label?: string;
60
60
  }[];
61
61
  policy?: "create-only";
62
62
  structureVersion?: string;
63
63
  }, {
64
- kind?: "ledger";
65
64
  path?: string;
65
+ kind?: "ledger";
66
66
  columns?: {
67
- type?: "string" | "number" | "boolean" | "date";
68
67
  key?: string;
68
+ type?: "string" | "number" | "boolean" | "date";
69
69
  label?: string;
70
70
  }[];
71
71
  policy?: "create-only";
72
72
  structureVersion?: string;
73
73
  }>]>, "many">;
74
74
  }, "strict", z.ZodTypeAny, {
75
- scope?: "user" | "shared";
76
75
  entries?: ({
77
- kind?: "directory";
78
76
  path?: string;
77
+ kind?: "directory";
79
78
  } | {
80
- kind?: "file";
81
79
  path?: string;
80
+ kind?: "file";
82
81
  policy?: "create-only";
83
82
  content?: string;
84
83
  contentVersion?: string;
85
84
  } | {
86
- kind?: "ledger";
87
85
  path?: string;
86
+ kind?: "ledger";
88
87
  columns?: {
89
- type?: "string" | "number" | "boolean" | "date";
90
88
  key?: string;
89
+ type?: "string" | "number" | "boolean" | "date";
91
90
  label?: string;
92
91
  }[];
93
92
  policy?: "create-only";
94
93
  structureVersion?: string;
95
94
  })[];
96
- }, {
97
95
  scope?: "user" | "shared";
96
+ }, {
98
97
  entries?: ({
99
- kind?: "directory";
100
98
  path?: string;
99
+ kind?: "directory";
101
100
  } | {
102
- kind?: "file";
103
101
  path?: string;
102
+ kind?: "file";
104
103
  policy?: "create-only";
105
104
  content?: string;
106
105
  contentVersion?: string;
107
106
  } | {
108
- kind?: "ledger";
109
107
  path?: string;
108
+ kind?: "ledger";
110
109
  columns?: {
111
- type?: "string" | "number" | "boolean" | "date";
112
110
  key?: string;
111
+ type?: "string" | "number" | "boolean" | "date";
113
112
  label?: string;
114
113
  }[];
115
114
  policy?: "create-only";
116
115
  structureVersion?: string;
117
116
  })[];
118
- }>, {
119
117
  scope?: "user" | "shared";
118
+ }>, {
120
119
  entries?: ({
121
- kind?: "directory";
122
120
  path?: string;
121
+ kind?: "directory";
123
122
  } | {
124
- kind?: "file";
125
123
  path?: string;
124
+ kind?: "file";
126
125
  policy?: "create-only";
127
126
  content?: string;
128
127
  contentVersion?: string;
129
128
  } | {
130
- kind?: "ledger";
131
129
  path?: string;
130
+ kind?: "ledger";
132
131
  columns?: {
133
- type?: "string" | "number" | "boolean" | "date";
134
132
  key?: string;
133
+ type?: "string" | "number" | "boolean" | "date";
135
134
  label?: string;
136
135
  }[];
137
136
  policy?: "create-only";
138
137
  structureVersion?: string;
139
138
  })[];
140
- }, {
141
139
  scope?: "user" | "shared";
140
+ }, {
142
141
  entries?: ({
143
- kind?: "directory";
144
142
  path?: string;
143
+ kind?: "directory";
145
144
  } | {
146
- kind?: "file";
147
145
  path?: string;
146
+ kind?: "file";
148
147
  policy?: "create-only";
149
148
  content?: string;
150
149
  contentVersion?: string;
151
150
  } | {
152
- kind?: "ledger";
153
151
  path?: string;
152
+ kind?: "ledger";
154
153
  columns?: {
155
- type?: "string" | "number" | "boolean" | "date";
156
154
  key?: string;
155
+ type?: "string" | "number" | "boolean" | "date";
157
156
  label?: string;
158
157
  }[];
159
158
  policy?: "create-only";
160
159
  structureVersion?: string;
161
160
  })[];
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<{
165
165
  schemaVersion: z.ZodLiteral<1>;
166
166
  version: z.ZodString;
167
- memory: z.ZodOptional<z.ZodObject<{
168
- seed: z.ZodBoolean;
169
- preferences: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
170
- }, "strict", z.ZodTypeAny, {
171
- preferences?: string[];
172
- seed?: boolean;
173
- }, {
174
- preferences?: string[];
175
- seed?: boolean;
176
- }>>;
177
167
  skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
178
168
  pluginName: z.ZodOptional<z.ZodString>;
179
169
  componentKey: z.ZodString;
@@ -190,11 +180,11 @@ export declare const templateManifestV1Schema: z.ZodObject<{
190
180
  kind: z.ZodLiteral<"directory">;
191
181
  path: z.ZodEffects<z.ZodString, string, string>;
192
182
  }, "strict", z.ZodTypeAny, {
193
- kind?: "directory";
194
183
  path?: string;
195
- }, {
196
184
  kind?: "directory";
185
+ }, {
197
186
  path?: string;
187
+ kind?: "directory";
198
188
  }>, z.ZodObject<{
199
189
  kind: z.ZodLiteral<"file">;
200
190
  path: z.ZodEffects<z.ZodString, string, string>;
@@ -202,14 +192,14 @@ export declare const templateManifestV1Schema: z.ZodObject<{
202
192
  contentVersion: z.ZodString;
203
193
  policy: z.ZodLiteral<"create-only">;
204
194
  }, "strict", z.ZodTypeAny, {
205
- kind?: "file";
206
195
  path?: string;
196
+ kind?: "file";
207
197
  policy?: "create-only";
208
198
  content?: string;
209
199
  contentVersion?: string;
210
200
  }, {
211
- kind?: "file";
212
201
  path?: string;
202
+ kind?: "file";
213
203
  policy?: "create-only";
214
204
  content?: string;
215
205
  contentVersion?: string;
@@ -222,124 +212,124 @@ export declare const templateManifestV1Schema: z.ZodObject<{
222
212
  label: z.ZodString;
223
213
  type: z.ZodEnum<["string", "number", "boolean", "date"]>;
224
214
  }, "strict", z.ZodTypeAny, {
225
- type?: "string" | "number" | "boolean" | "date";
226
215
  key?: string;
216
+ type?: "string" | "number" | "boolean" | "date";
227
217
  label?: string;
228
218
  }, {
229
- type?: "string" | "number" | "boolean" | "date";
230
219
  key?: string;
220
+ type?: "string" | "number" | "boolean" | "date";
231
221
  label?: string;
232
222
  }>, "many">;
233
223
  policy: z.ZodLiteral<"create-only">;
234
224
  }, "strict", z.ZodTypeAny, {
235
- kind?: "ledger";
236
225
  path?: string;
226
+ kind?: "ledger";
237
227
  columns?: {
238
- type?: "string" | "number" | "boolean" | "date";
239
228
  key?: string;
229
+ type?: "string" | "number" | "boolean" | "date";
240
230
  label?: string;
241
231
  }[];
242
232
  policy?: "create-only";
243
233
  structureVersion?: string;
244
234
  }, {
245
- kind?: "ledger";
246
235
  path?: string;
236
+ kind?: "ledger";
247
237
  columns?: {
248
- type?: "string" | "number" | "boolean" | "date";
249
238
  key?: string;
239
+ type?: "string" | "number" | "boolean" | "date";
250
240
  label?: string;
251
241
  }[];
252
242
  policy?: "create-only";
253
243
  structureVersion?: string;
254
244
  }>]>, "many">;
255
245
  }, "strict", z.ZodTypeAny, {
256
- scope?: "user" | "shared";
257
246
  entries?: ({
258
- kind?: "directory";
259
247
  path?: string;
248
+ kind?: "directory";
260
249
  } | {
261
- kind?: "file";
262
250
  path?: string;
251
+ kind?: "file";
263
252
  policy?: "create-only";
264
253
  content?: string;
265
254
  contentVersion?: string;
266
255
  } | {
267
- kind?: "ledger";
268
256
  path?: string;
257
+ kind?: "ledger";
269
258
  columns?: {
270
- type?: "string" | "number" | "boolean" | "date";
271
259
  key?: string;
260
+ type?: "string" | "number" | "boolean" | "date";
272
261
  label?: string;
273
262
  }[];
274
263
  policy?: "create-only";
275
264
  structureVersion?: string;
276
265
  })[];
277
- }, {
278
266
  scope?: "user" | "shared";
267
+ }, {
279
268
  entries?: ({
280
- kind?: "directory";
281
269
  path?: string;
270
+ kind?: "directory";
282
271
  } | {
283
- kind?: "file";
284
272
  path?: string;
273
+ kind?: "file";
285
274
  policy?: "create-only";
286
275
  content?: string;
287
276
  contentVersion?: string;
288
277
  } | {
289
- kind?: "ledger";
290
278
  path?: string;
279
+ kind?: "ledger";
291
280
  columns?: {
292
- type?: "string" | "number" | "boolean" | "date";
293
281
  key?: string;
282
+ type?: "string" | "number" | "boolean" | "date";
294
283
  label?: string;
295
284
  }[];
296
285
  policy?: "create-only";
297
286
  structureVersion?: string;
298
287
  })[];
299
- }>, {
300
288
  scope?: "user" | "shared";
289
+ }>, {
301
290
  entries?: ({
302
- kind?: "directory";
303
291
  path?: string;
292
+ kind?: "directory";
304
293
  } | {
305
- kind?: "file";
306
294
  path?: string;
295
+ kind?: "file";
307
296
  policy?: "create-only";
308
297
  content?: string;
309
298
  contentVersion?: string;
310
299
  } | {
311
- kind?: "ledger";
312
300
  path?: string;
301
+ kind?: "ledger";
313
302
  columns?: {
314
- type?: "string" | "number" | "boolean" | "date";
315
303
  key?: string;
304
+ type?: "string" | "number" | "boolean" | "date";
316
305
  label?: string;
317
306
  }[];
318
307
  policy?: "create-only";
319
308
  structureVersion?: string;
320
309
  })[];
321
- }, {
322
310
  scope?: "user" | "shared";
311
+ }, {
323
312
  entries?: ({
324
- kind?: "directory";
325
313
  path?: string;
314
+ kind?: "directory";
326
315
  } | {
327
- kind?: "file";
328
316
  path?: string;
317
+ kind?: "file";
329
318
  policy?: "create-only";
330
319
  content?: string;
331
320
  contentVersion?: string;
332
321
  } | {
333
- kind?: "ledger";
334
322
  path?: string;
323
+ kind?: "ledger";
335
324
  columns?: {
336
- type?: "string" | "number" | "boolean" | "date";
337
325
  key?: string;
326
+ type?: "string" | "number" | "boolean" | "date";
338
327
  label?: string;
339
328
  }[];
340
329
  policy?: "create-only";
341
330
  structureVersion?: string;
342
331
  })[];
332
+ scope?: "user" | "shared";
343
333
  }>>;
344
334
  onboarding: z.ZodOptional<z.ZodObject<{
345
335
  skill: z.ZodString;
@@ -347,14 +337,14 @@ export declare const templateManifestV1Schema: z.ZodObject<{
347
337
  preferences: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
348
338
  completionCriteria: z.ZodString;
349
339
  }, "strict", z.ZodTypeAny, {
350
- skill?: string;
351
340
  preferences?: string[];
352
341
  required?: boolean;
342
+ skill?: string;
353
343
  completionCriteria?: string;
354
344
  }, {
355
- skill?: string;
356
345
  preferences?: string[];
357
346
  required?: boolean;
347
+ skill?: string;
358
348
  completionCriteria?: string;
359
349
  }>>;
360
350
  connectors: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
@@ -410,41 +400,41 @@ export declare const templateManifestV1Schema: z.ZodObject<{
410
400
  output: z.ZodString;
411
401
  enabled: z.ZodDefault<z.ZodLiteral<false>>;
412
402
  }, "strict", z.ZodTypeAny, {
413
- skill?: string;
414
403
  key?: string;
415
404
  enabled?: false;
416
405
  output?: string;
417
406
  required?: boolean;
418
407
  trigger?: "schedule" | "event";
408
+ skill?: string;
419
409
  expression?: string;
420
- timezone?: "organization" | "user";
410
+ timezone?: "user" | "organization";
421
411
  }, {
422
- skill?: string;
423
412
  key?: string;
424
413
  enabled?: false;
425
414
  output?: string;
426
415
  required?: boolean;
427
416
  trigger?: "schedule" | "event";
417
+ skill?: string;
428
418
  expression?: string;
429
- timezone?: "organization" | "user";
419
+ timezone?: "user" | "organization";
430
420
  }>, "many">, {
431
- skill?: string;
432
421
  key?: string;
433
422
  enabled?: false;
434
423
  output?: string;
435
424
  required?: boolean;
436
425
  trigger?: "schedule" | "event";
426
+ skill?: string;
437
427
  expression?: string;
438
- timezone?: "organization" | "user";
428
+ timezone?: "user" | "organization";
439
429
  }[], {
440
- skill?: string;
441
430
  key?: string;
442
431
  enabled?: false;
443
432
  output?: string;
444
433
  required?: boolean;
445
434
  trigger?: "schedule" | "event";
435
+ skill?: string;
446
436
  expression?: string;
447
- timezone?: "organization" | "user";
437
+ timezone?: "user" | "organization";
448
438
  }[]>>;
449
439
  execution: z.ZodOptional<z.ZodObject<{
450
440
  modelFeatures: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ModelFeature>, "many">>;
@@ -463,13 +453,7 @@ export declare const templateManifestV1Schema: z.ZodObject<{
463
453
  offline?: "requires-online" | "local-only";
464
454
  }>>;
465
455
  }, "strict", z.ZodTypeAny, {
466
- version?: string;
467
- execution?: {
468
- sandbox?: "server" | "cloud-computer";
469
- modelFeatures?: ModelFeature[];
470
- localCapabilities?: string[];
471
- offline?: "requires-online" | "local-only";
472
- };
456
+ schemaVersion?: 1;
473
457
  skills?: {
474
458
  pluginName?: string;
475
459
  componentKey?: string;
@@ -481,58 +465,54 @@ export declare const templateManifestV1Schema: z.ZodObject<{
481
465
  permissions?: string[];
482
466
  purpose?: string;
483
467
  }[];
484
- schemaVersion?: 1;
468
+ version?: string;
469
+ execution?: {
470
+ sandbox?: "server" | "cloud-computer";
471
+ modelFeatures?: ModelFeature[];
472
+ localCapabilities?: string[];
473
+ offline?: "requires-online" | "local-only";
474
+ };
485
475
  files?: {
486
- scope?: "user" | "shared";
487
476
  entries?: ({
488
- kind?: "directory";
489
477
  path?: string;
478
+ kind?: "directory";
490
479
  } | {
491
- kind?: "file";
492
480
  path?: string;
481
+ kind?: "file";
493
482
  policy?: "create-only";
494
483
  content?: string;
495
484
  contentVersion?: string;
496
485
  } | {
497
- kind?: "ledger";
498
486
  path?: string;
487
+ kind?: "ledger";
499
488
  columns?: {
500
- type?: "string" | "number" | "boolean" | "date";
501
489
  key?: string;
490
+ type?: "string" | "number" | "boolean" | "date";
502
491
  label?: string;
503
492
  }[];
504
493
  policy?: "create-only";
505
494
  structureVersion?: string;
506
495
  })[];
507
- };
508
- memory?: {
509
- preferences?: string[];
510
- seed?: boolean;
496
+ scope?: "user" | "shared";
511
497
  };
512
498
  onboarding?: {
513
- skill?: string;
514
499
  preferences?: string[];
515
500
  required?: boolean;
501
+ skill?: string;
516
502
  completionCriteria?: string;
517
503
  };
518
504
  routines?: {
519
- skill?: string;
520
505
  key?: string;
521
506
  enabled?: false;
522
507
  output?: string;
523
508
  required?: boolean;
524
509
  trigger?: "schedule" | "event";
510
+ skill?: string;
525
511
  expression?: string;
526
- timezone?: "organization" | "user";
512
+ timezone?: "user" | "organization";
527
513
  }[];
528
514
  }, {
529
- version?: string;
530
- execution?: {
531
- sandbox?: "server" | "cloud-computer";
532
- modelFeatures?: ModelFeature[];
533
- localCapabilities?: string[];
534
- offline?: "requires-online" | "local-only";
535
- };
515
+ schemaVersion?: 1;
536
516
  skills?: {
537
517
  pluginName?: string;
538
518
  componentKey?: string;
@@ -544,54 +524,55 @@ export declare const templateManifestV1Schema: z.ZodObject<{
544
524
  permissions?: string[];
545
525
  purpose?: string;
546
526
  }[];
547
- schemaVersion?: 1;
527
+ version?: string;
528
+ execution?: {
529
+ sandbox?: "server" | "cloud-computer";
530
+ modelFeatures?: ModelFeature[];
531
+ localCapabilities?: string[];
532
+ offline?: "requires-online" | "local-only";
533
+ };
548
534
  files?: {
549
- scope?: "user" | "shared";
550
535
  entries?: ({
551
- kind?: "directory";
552
536
  path?: string;
537
+ kind?: "directory";
553
538
  } | {
554
- kind?: "file";
555
539
  path?: string;
540
+ kind?: "file";
556
541
  policy?: "create-only";
557
542
  content?: string;
558
543
  contentVersion?: string;
559
544
  } | {
560
- kind?: "ledger";
561
545
  path?: string;
546
+ kind?: "ledger";
562
547
  columns?: {
563
- type?: "string" | "number" | "boolean" | "date";
564
548
  key?: string;
549
+ type?: "string" | "number" | "boolean" | "date";
565
550
  label?: string;
566
551
  }[];
567
552
  policy?: "create-only";
568
553
  structureVersion?: string;
569
554
  })[];
570
- };
571
- memory?: {
572
- preferences?: string[];
573
- seed?: boolean;
555
+ scope?: "user" | "shared";
574
556
  };
575
557
  onboarding?: {
576
- skill?: string;
577
558
  preferences?: string[];
578
559
  required?: boolean;
560
+ skill?: string;
579
561
  completionCriteria?: string;
580
562
  };
581
563
  routines?: {
582
- skill?: string;
583
564
  key?: string;
584
565
  enabled?: false;
585
566
  output?: string;
586
567
  required?: boolean;
587
568
  trigger?: "schedule" | "event";
569
+ skill?: string;
588
570
  expression?: string;
589
- timezone?: "organization" | "user";
571
+ timezone?: "user" | "organization";
590
572
  }[];
591
573
  }>;
592
574
  /** V2 keeps only initialization and requirements that the DSL cannot express. */
593
575
  export declare const assistantTemplateManifestSchema: z.ZodObject<{
594
- version: z.ZodString;
595
576
  connectors: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
596
577
  key: z.ZodString;
597
578
  provider: z.ZodString;
@@ -635,17 +616,18 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
635
616
  permissions?: string[];
636
617
  purpose?: string;
637
618
  }[]>>;
619
+ version: z.ZodString;
638
620
  files: z.ZodOptional<z.ZodEffects<z.ZodObject<{
639
621
  scope: z.ZodEnum<["shared", "user"]>;
640
622
  entries: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
641
623
  kind: z.ZodLiteral<"directory">;
642
624
  path: z.ZodEffects<z.ZodString, string, string>;
643
625
  }, "strict", z.ZodTypeAny, {
644
- kind?: "directory";
645
626
  path?: string;
646
- }, {
647
627
  kind?: "directory";
628
+ }, {
648
629
  path?: string;
630
+ kind?: "directory";
649
631
  }>, z.ZodObject<{
650
632
  kind: z.ZodLiteral<"file">;
651
633
  path: z.ZodEffects<z.ZodString, string, string>;
@@ -653,14 +635,14 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
653
635
  contentVersion: z.ZodString;
654
636
  policy: z.ZodLiteral<"create-only">;
655
637
  }, "strict", z.ZodTypeAny, {
656
- kind?: "file";
657
638
  path?: string;
639
+ kind?: "file";
658
640
  policy?: "create-only";
659
641
  content?: string;
660
642
  contentVersion?: string;
661
643
  }, {
662
- kind?: "file";
663
644
  path?: string;
645
+ kind?: "file";
664
646
  policy?: "create-only";
665
647
  content?: string;
666
648
  contentVersion?: string;
@@ -673,124 +655,124 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
673
655
  label: z.ZodString;
674
656
  type: z.ZodEnum<["string", "number", "boolean", "date"]>;
675
657
  }, "strict", z.ZodTypeAny, {
676
- type?: "string" | "number" | "boolean" | "date";
677
658
  key?: string;
659
+ type?: "string" | "number" | "boolean" | "date";
678
660
  label?: string;
679
661
  }, {
680
- type?: "string" | "number" | "boolean" | "date";
681
662
  key?: string;
663
+ type?: "string" | "number" | "boolean" | "date";
682
664
  label?: string;
683
665
  }>, "many">;
684
666
  policy: z.ZodLiteral<"create-only">;
685
667
  }, "strict", z.ZodTypeAny, {
686
- kind?: "ledger";
687
668
  path?: string;
669
+ kind?: "ledger";
688
670
  columns?: {
689
- type?: "string" | "number" | "boolean" | "date";
690
671
  key?: string;
672
+ type?: "string" | "number" | "boolean" | "date";
691
673
  label?: string;
692
674
  }[];
693
675
  policy?: "create-only";
694
676
  structureVersion?: string;
695
677
  }, {
696
- kind?: "ledger";
697
678
  path?: string;
679
+ kind?: "ledger";
698
680
  columns?: {
699
- type?: "string" | "number" | "boolean" | "date";
700
681
  key?: string;
682
+ type?: "string" | "number" | "boolean" | "date";
701
683
  label?: string;
702
684
  }[];
703
685
  policy?: "create-only";
704
686
  structureVersion?: string;
705
687
  }>]>, "many">;
706
688
  }, "strict", z.ZodTypeAny, {
707
- scope?: "user" | "shared";
708
689
  entries?: ({
709
- kind?: "directory";
710
690
  path?: string;
691
+ kind?: "directory";
711
692
  } | {
712
- kind?: "file";
713
693
  path?: string;
694
+ kind?: "file";
714
695
  policy?: "create-only";
715
696
  content?: string;
716
697
  contentVersion?: string;
717
698
  } | {
718
- kind?: "ledger";
719
699
  path?: string;
700
+ kind?: "ledger";
720
701
  columns?: {
721
- type?: "string" | "number" | "boolean" | "date";
722
702
  key?: string;
703
+ type?: "string" | "number" | "boolean" | "date";
723
704
  label?: string;
724
705
  }[];
725
706
  policy?: "create-only";
726
707
  structureVersion?: string;
727
708
  })[];
728
- }, {
729
709
  scope?: "user" | "shared";
710
+ }, {
730
711
  entries?: ({
731
- kind?: "directory";
732
712
  path?: string;
713
+ kind?: "directory";
733
714
  } | {
734
- kind?: "file";
735
715
  path?: string;
716
+ kind?: "file";
736
717
  policy?: "create-only";
737
718
  content?: string;
738
719
  contentVersion?: string;
739
720
  } | {
740
- kind?: "ledger";
741
721
  path?: string;
722
+ kind?: "ledger";
742
723
  columns?: {
743
- type?: "string" | "number" | "boolean" | "date";
744
724
  key?: string;
725
+ type?: "string" | "number" | "boolean" | "date";
745
726
  label?: string;
746
727
  }[];
747
728
  policy?: "create-only";
748
729
  structureVersion?: string;
749
730
  })[];
750
- }>, {
751
731
  scope?: "user" | "shared";
732
+ }>, {
752
733
  entries?: ({
753
- kind?: "directory";
754
734
  path?: string;
735
+ kind?: "directory";
755
736
  } | {
756
- kind?: "file";
757
737
  path?: string;
738
+ kind?: "file";
758
739
  policy?: "create-only";
759
740
  content?: string;
760
741
  contentVersion?: string;
761
742
  } | {
762
- kind?: "ledger";
763
743
  path?: string;
744
+ kind?: "ledger";
764
745
  columns?: {
765
- type?: "string" | "number" | "boolean" | "date";
766
746
  key?: string;
747
+ type?: "string" | "number" | "boolean" | "date";
767
748
  label?: string;
768
749
  }[];
769
750
  policy?: "create-only";
770
751
  structureVersion?: string;
771
752
  })[];
772
- }, {
773
753
  scope?: "user" | "shared";
754
+ }, {
774
755
  entries?: ({
775
- kind?: "directory";
776
756
  path?: string;
757
+ kind?: "directory";
777
758
  } | {
778
- kind?: "file";
779
759
  path?: string;
760
+ kind?: "file";
780
761
  policy?: "create-only";
781
762
  content?: string;
782
763
  contentVersion?: string;
783
764
  } | {
784
- kind?: "ledger";
785
765
  path?: string;
766
+ kind?: "ledger";
786
767
  columns?: {
787
- type?: "string" | "number" | "boolean" | "date";
788
768
  key?: string;
769
+ type?: "string" | "number" | "boolean" | "date";
789
770
  label?: string;
790
771
  }[];
791
772
  policy?: "create-only";
792
773
  structureVersion?: string;
793
774
  })[];
775
+ scope?: "user" | "shared";
794
776
  }>>;
795
777
  onboarding: z.ZodOptional<z.ZodObject<{
796
778
  skill: z.ZodString;
@@ -798,14 +780,14 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
798
780
  preferences: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
799
781
  completionCriteria: z.ZodString;
800
782
  }, "strict", z.ZodTypeAny, {
801
- skill?: string;
802
783
  preferences?: string[];
803
784
  required?: boolean;
785
+ skill?: string;
804
786
  completionCriteria?: string;
805
787
  }, {
806
- skill?: string;
807
788
  preferences?: string[];
808
789
  required?: boolean;
790
+ skill?: string;
809
791
  completionCriteria?: string;
810
792
  }>>;
811
793
  routines: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
@@ -818,41 +800,41 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
818
800
  output: z.ZodString;
819
801
  enabled: z.ZodDefault<z.ZodLiteral<false>>;
820
802
  }, "strict", z.ZodTypeAny, {
821
- skill?: string;
822
803
  key?: string;
823
804
  enabled?: false;
824
805
  output?: string;
825
806
  required?: boolean;
826
807
  trigger?: "schedule" | "event";
808
+ skill?: string;
827
809
  expression?: string;
828
- timezone?: "organization" | "user";
810
+ timezone?: "user" | "organization";
829
811
  }, {
830
- skill?: string;
831
812
  key?: string;
832
813
  enabled?: false;
833
814
  output?: string;
834
815
  required?: boolean;
835
816
  trigger?: "schedule" | "event";
817
+ skill?: string;
836
818
  expression?: string;
837
- timezone?: "organization" | "user";
819
+ timezone?: "user" | "organization";
838
820
  }>, "many">, {
839
- skill?: string;
840
821
  key?: string;
841
822
  enabled?: false;
842
823
  output?: string;
843
824
  required?: boolean;
844
825
  trigger?: "schedule" | "event";
826
+ skill?: string;
845
827
  expression?: string;
846
- timezone?: "organization" | "user";
828
+ timezone?: "user" | "organization";
847
829
  }[], {
848
- skill?: string;
849
830
  key?: string;
850
831
  enabled?: false;
851
832
  output?: string;
852
833
  required?: boolean;
853
834
  trigger?: "schedule" | "event";
835
+ skill?: string;
854
836
  expression?: string;
855
- timezone?: "organization" | "user";
837
+ timezone?: "user" | "organization";
856
838
  }[]>>;
857
839
  } & {
858
840
  schemaVersion: z.ZodLiteral<2>;
@@ -871,12 +853,7 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
871
853
  offline?: "requires-online" | "local-only";
872
854
  }>>;
873
855
  }, "strict", z.ZodTypeAny, {
874
- version?: string;
875
- execution?: {
876
- modelFeatures?: ModelFeature[];
877
- localCapabilities?: string[];
878
- offline?: "requires-online" | "local-only";
879
- };
856
+ schemaVersion?: 2;
880
857
  connectors?: {
881
858
  key?: string;
882
859
  provider?: string;
@@ -884,53 +861,53 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
884
861
  permissions?: string[];
885
862
  purpose?: string;
886
863
  }[];
887
- schemaVersion?: 2;
864
+ version?: string;
865
+ execution?: {
866
+ modelFeatures?: ModelFeature[];
867
+ localCapabilities?: string[];
868
+ offline?: "requires-online" | "local-only";
869
+ };
888
870
  files?: {
889
- scope?: "user" | "shared";
890
871
  entries?: ({
891
- kind?: "directory";
892
872
  path?: string;
873
+ kind?: "directory";
893
874
  } | {
894
- kind?: "file";
895
875
  path?: string;
876
+ kind?: "file";
896
877
  policy?: "create-only";
897
878
  content?: string;
898
879
  contentVersion?: string;
899
880
  } | {
900
- kind?: "ledger";
901
881
  path?: string;
882
+ kind?: "ledger";
902
883
  columns?: {
903
- type?: "string" | "number" | "boolean" | "date";
904
884
  key?: string;
885
+ type?: "string" | "number" | "boolean" | "date";
905
886
  label?: string;
906
887
  }[];
907
888
  policy?: "create-only";
908
889
  structureVersion?: string;
909
890
  })[];
891
+ scope?: "user" | "shared";
910
892
  };
911
893
  onboarding?: {
912
- skill?: string;
913
894
  preferences?: string[];
914
895
  required?: boolean;
896
+ skill?: string;
915
897
  completionCriteria?: string;
916
898
  };
917
899
  routines?: {
918
- skill?: string;
919
900
  key?: string;
920
901
  enabled?: false;
921
902
  output?: string;
922
903
  required?: boolean;
923
904
  trigger?: "schedule" | "event";
905
+ skill?: string;
924
906
  expression?: string;
925
- timezone?: "organization" | "user";
907
+ timezone?: "user" | "organization";
926
908
  }[];
927
909
  }, {
928
- version?: string;
929
- execution?: {
930
- modelFeatures?: ModelFeature[];
931
- localCapabilities?: string[];
932
- offline?: "requires-online" | "local-only";
933
- };
910
+ schemaVersion?: 2;
934
911
  connectors?: {
935
912
  key?: string;
936
913
  provider?: string;
@@ -938,60 +915,55 @@ export declare const assistantTemplateManifestSchema: z.ZodObject<{
938
915
  permissions?: string[];
939
916
  purpose?: string;
940
917
  }[];
941
- schemaVersion?: 2;
918
+ version?: string;
919
+ execution?: {
920
+ modelFeatures?: ModelFeature[];
921
+ localCapabilities?: string[];
922
+ offline?: "requires-online" | "local-only";
923
+ };
942
924
  files?: {
943
- scope?: "user" | "shared";
944
925
  entries?: ({
945
- kind?: "directory";
946
926
  path?: string;
927
+ kind?: "directory";
947
928
  } | {
948
- kind?: "file";
949
929
  path?: string;
930
+ kind?: "file";
950
931
  policy?: "create-only";
951
932
  content?: string;
952
933
  contentVersion?: string;
953
934
  } | {
954
- kind?: "ledger";
955
935
  path?: string;
936
+ kind?: "ledger";
956
937
  columns?: {
957
- type?: "string" | "number" | "boolean" | "date";
958
938
  key?: string;
939
+ type?: "string" | "number" | "boolean" | "date";
959
940
  label?: string;
960
941
  }[];
961
942
  policy?: "create-only";
962
943
  structureVersion?: string;
963
944
  })[];
945
+ scope?: "user" | "shared";
964
946
  };
965
947
  onboarding?: {
966
- skill?: string;
967
948
  preferences?: string[];
968
949
  required?: boolean;
950
+ skill?: string;
969
951
  completionCriteria?: string;
970
952
  };
971
953
  routines?: {
972
- skill?: string;
973
954
  key?: string;
974
955
  enabled?: false;
975
956
  output?: string;
976
957
  required?: boolean;
977
958
  trigger?: "schedule" | "event";
959
+ skill?: string;
978
960
  expression?: string;
979
- timezone?: "organization" | "user";
961
+ timezone?: "user" | "organization";
980
962
  }[];
981
963
  }>;
982
964
  export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVersion", [z.ZodObject<{
983
965
  schemaVersion: z.ZodLiteral<1>;
984
966
  version: z.ZodString;
985
- memory: z.ZodOptional<z.ZodObject<{
986
- seed: z.ZodBoolean;
987
- preferences: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
988
- }, "strict", z.ZodTypeAny, {
989
- preferences?: string[];
990
- seed?: boolean;
991
- }, {
992
- preferences?: string[];
993
- seed?: boolean;
994
- }>>;
995
967
  skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
996
968
  pluginName: z.ZodOptional<z.ZodString>;
997
969
  componentKey: z.ZodString;
@@ -1008,11 +980,11 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1008
980
  kind: z.ZodLiteral<"directory">;
1009
981
  path: z.ZodEffects<z.ZodString, string, string>;
1010
982
  }, "strict", z.ZodTypeAny, {
1011
- kind?: "directory";
1012
983
  path?: string;
1013
- }, {
1014
984
  kind?: "directory";
985
+ }, {
1015
986
  path?: string;
987
+ kind?: "directory";
1016
988
  }>, z.ZodObject<{
1017
989
  kind: z.ZodLiteral<"file">;
1018
990
  path: z.ZodEffects<z.ZodString, string, string>;
@@ -1020,14 +992,14 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1020
992
  contentVersion: z.ZodString;
1021
993
  policy: z.ZodLiteral<"create-only">;
1022
994
  }, "strict", z.ZodTypeAny, {
1023
- kind?: "file";
1024
995
  path?: string;
996
+ kind?: "file";
1025
997
  policy?: "create-only";
1026
998
  content?: string;
1027
999
  contentVersion?: string;
1028
1000
  }, {
1029
- kind?: "file";
1030
1001
  path?: string;
1002
+ kind?: "file";
1031
1003
  policy?: "create-only";
1032
1004
  content?: string;
1033
1005
  contentVersion?: string;
@@ -1040,124 +1012,124 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1040
1012
  label: z.ZodString;
1041
1013
  type: z.ZodEnum<["string", "number", "boolean", "date"]>;
1042
1014
  }, "strict", z.ZodTypeAny, {
1043
- type?: "string" | "number" | "boolean" | "date";
1044
1015
  key?: string;
1016
+ type?: "string" | "number" | "boolean" | "date";
1045
1017
  label?: string;
1046
1018
  }, {
1047
- type?: "string" | "number" | "boolean" | "date";
1048
1019
  key?: string;
1020
+ type?: "string" | "number" | "boolean" | "date";
1049
1021
  label?: string;
1050
1022
  }>, "many">;
1051
1023
  policy: z.ZodLiteral<"create-only">;
1052
1024
  }, "strict", z.ZodTypeAny, {
1053
- kind?: "ledger";
1054
1025
  path?: string;
1026
+ kind?: "ledger";
1055
1027
  columns?: {
1056
- type?: "string" | "number" | "boolean" | "date";
1057
1028
  key?: string;
1029
+ type?: "string" | "number" | "boolean" | "date";
1058
1030
  label?: string;
1059
1031
  }[];
1060
1032
  policy?: "create-only";
1061
1033
  structureVersion?: string;
1062
1034
  }, {
1063
- kind?: "ledger";
1064
1035
  path?: string;
1036
+ kind?: "ledger";
1065
1037
  columns?: {
1066
- type?: "string" | "number" | "boolean" | "date";
1067
1038
  key?: string;
1039
+ type?: "string" | "number" | "boolean" | "date";
1068
1040
  label?: string;
1069
1041
  }[];
1070
1042
  policy?: "create-only";
1071
1043
  structureVersion?: string;
1072
1044
  }>]>, "many">;
1073
1045
  }, "strict", z.ZodTypeAny, {
1074
- scope?: "user" | "shared";
1075
1046
  entries?: ({
1076
- kind?: "directory";
1077
1047
  path?: string;
1048
+ kind?: "directory";
1078
1049
  } | {
1079
- kind?: "file";
1080
1050
  path?: string;
1051
+ kind?: "file";
1081
1052
  policy?: "create-only";
1082
1053
  content?: string;
1083
1054
  contentVersion?: string;
1084
1055
  } | {
1085
- kind?: "ledger";
1086
1056
  path?: string;
1057
+ kind?: "ledger";
1087
1058
  columns?: {
1088
- type?: "string" | "number" | "boolean" | "date";
1089
1059
  key?: string;
1060
+ type?: "string" | "number" | "boolean" | "date";
1090
1061
  label?: string;
1091
1062
  }[];
1092
1063
  policy?: "create-only";
1093
1064
  structureVersion?: string;
1094
1065
  })[];
1095
- }, {
1096
1066
  scope?: "user" | "shared";
1067
+ }, {
1097
1068
  entries?: ({
1098
- kind?: "directory";
1099
1069
  path?: string;
1070
+ kind?: "directory";
1100
1071
  } | {
1101
- kind?: "file";
1102
1072
  path?: string;
1073
+ kind?: "file";
1103
1074
  policy?: "create-only";
1104
1075
  content?: string;
1105
1076
  contentVersion?: string;
1106
1077
  } | {
1107
- kind?: "ledger";
1108
1078
  path?: string;
1079
+ kind?: "ledger";
1109
1080
  columns?: {
1110
- type?: "string" | "number" | "boolean" | "date";
1111
1081
  key?: string;
1082
+ type?: "string" | "number" | "boolean" | "date";
1112
1083
  label?: string;
1113
1084
  }[];
1114
1085
  policy?: "create-only";
1115
1086
  structureVersion?: string;
1116
1087
  })[];
1117
- }>, {
1118
1088
  scope?: "user" | "shared";
1089
+ }>, {
1119
1090
  entries?: ({
1120
- kind?: "directory";
1121
1091
  path?: string;
1092
+ kind?: "directory";
1122
1093
  } | {
1123
- kind?: "file";
1124
1094
  path?: string;
1095
+ kind?: "file";
1125
1096
  policy?: "create-only";
1126
1097
  content?: string;
1127
1098
  contentVersion?: string;
1128
1099
  } | {
1129
- kind?: "ledger";
1130
1100
  path?: string;
1101
+ kind?: "ledger";
1131
1102
  columns?: {
1132
- type?: "string" | "number" | "boolean" | "date";
1133
1103
  key?: string;
1104
+ type?: "string" | "number" | "boolean" | "date";
1134
1105
  label?: string;
1135
1106
  }[];
1136
1107
  policy?: "create-only";
1137
1108
  structureVersion?: string;
1138
1109
  })[];
1139
- }, {
1140
1110
  scope?: "user" | "shared";
1111
+ }, {
1141
1112
  entries?: ({
1142
- kind?: "directory";
1143
1113
  path?: string;
1114
+ kind?: "directory";
1144
1115
  } | {
1145
- kind?: "file";
1146
1116
  path?: string;
1117
+ kind?: "file";
1147
1118
  policy?: "create-only";
1148
1119
  content?: string;
1149
1120
  contentVersion?: string;
1150
1121
  } | {
1151
- kind?: "ledger";
1152
1122
  path?: string;
1123
+ kind?: "ledger";
1153
1124
  columns?: {
1154
- type?: "string" | "number" | "boolean" | "date";
1155
1125
  key?: string;
1126
+ type?: "string" | "number" | "boolean" | "date";
1156
1127
  label?: string;
1157
1128
  }[];
1158
1129
  policy?: "create-only";
1159
1130
  structureVersion?: string;
1160
1131
  })[];
1132
+ scope?: "user" | "shared";
1161
1133
  }>>;
1162
1134
  onboarding: z.ZodOptional<z.ZodObject<{
1163
1135
  skill: z.ZodString;
@@ -1165,14 +1137,14 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1165
1137
  preferences: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1166
1138
  completionCriteria: z.ZodString;
1167
1139
  }, "strict", z.ZodTypeAny, {
1168
- skill?: string;
1169
1140
  preferences?: string[];
1170
1141
  required?: boolean;
1142
+ skill?: string;
1171
1143
  completionCriteria?: string;
1172
1144
  }, {
1173
- skill?: string;
1174
1145
  preferences?: string[];
1175
1146
  required?: boolean;
1147
+ skill?: string;
1176
1148
  completionCriteria?: string;
1177
1149
  }>>;
1178
1150
  connectors: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
@@ -1228,41 +1200,41 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1228
1200
  output: z.ZodString;
1229
1201
  enabled: z.ZodDefault<z.ZodLiteral<false>>;
1230
1202
  }, "strict", z.ZodTypeAny, {
1231
- skill?: string;
1232
1203
  key?: string;
1233
1204
  enabled?: false;
1234
1205
  output?: string;
1235
1206
  required?: boolean;
1236
1207
  trigger?: "schedule" | "event";
1208
+ skill?: string;
1237
1209
  expression?: string;
1238
- timezone?: "organization" | "user";
1210
+ timezone?: "user" | "organization";
1239
1211
  }, {
1240
- skill?: string;
1241
1212
  key?: string;
1242
1213
  enabled?: false;
1243
1214
  output?: string;
1244
1215
  required?: boolean;
1245
1216
  trigger?: "schedule" | "event";
1217
+ skill?: string;
1246
1218
  expression?: string;
1247
- timezone?: "organization" | "user";
1219
+ timezone?: "user" | "organization";
1248
1220
  }>, "many">, {
1249
- skill?: string;
1250
1221
  key?: string;
1251
1222
  enabled?: false;
1252
1223
  output?: string;
1253
1224
  required?: boolean;
1254
1225
  trigger?: "schedule" | "event";
1226
+ skill?: string;
1255
1227
  expression?: string;
1256
- timezone?: "organization" | "user";
1228
+ timezone?: "user" | "organization";
1257
1229
  }[], {
1258
- skill?: string;
1259
1230
  key?: string;
1260
1231
  enabled?: false;
1261
1232
  output?: string;
1262
1233
  required?: boolean;
1263
1234
  trigger?: "schedule" | "event";
1235
+ skill?: string;
1264
1236
  expression?: string;
1265
- timezone?: "organization" | "user";
1237
+ timezone?: "user" | "organization";
1266
1238
  }[]>>;
1267
1239
  execution: z.ZodOptional<z.ZodObject<{
1268
1240
  modelFeatures: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ModelFeature>, "many">>;
@@ -1281,13 +1253,7 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1281
1253
  offline?: "requires-online" | "local-only";
1282
1254
  }>>;
1283
1255
  }, "strict", z.ZodTypeAny, {
1284
- version?: string;
1285
- execution?: {
1286
- sandbox?: "server" | "cloud-computer";
1287
- modelFeatures?: ModelFeature[];
1288
- localCapabilities?: string[];
1289
- offline?: "requires-online" | "local-only";
1290
- };
1256
+ schemaVersion?: 1;
1291
1257
  skills?: {
1292
1258
  pluginName?: string;
1293
1259
  componentKey?: string;
@@ -1299,58 +1265,54 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1299
1265
  permissions?: string[];
1300
1266
  purpose?: string;
1301
1267
  }[];
1302
- schemaVersion?: 1;
1268
+ version?: string;
1269
+ execution?: {
1270
+ sandbox?: "server" | "cloud-computer";
1271
+ modelFeatures?: ModelFeature[];
1272
+ localCapabilities?: string[];
1273
+ offline?: "requires-online" | "local-only";
1274
+ };
1303
1275
  files?: {
1304
- scope?: "user" | "shared";
1305
1276
  entries?: ({
1306
- kind?: "directory";
1307
1277
  path?: string;
1278
+ kind?: "directory";
1308
1279
  } | {
1309
- kind?: "file";
1310
1280
  path?: string;
1281
+ kind?: "file";
1311
1282
  policy?: "create-only";
1312
1283
  content?: string;
1313
1284
  contentVersion?: string;
1314
1285
  } | {
1315
- kind?: "ledger";
1316
1286
  path?: string;
1287
+ kind?: "ledger";
1317
1288
  columns?: {
1318
- type?: "string" | "number" | "boolean" | "date";
1319
1289
  key?: string;
1290
+ type?: "string" | "number" | "boolean" | "date";
1320
1291
  label?: string;
1321
1292
  }[];
1322
1293
  policy?: "create-only";
1323
1294
  structureVersion?: string;
1324
1295
  })[];
1325
- };
1326
- memory?: {
1327
- preferences?: string[];
1328
- seed?: boolean;
1296
+ scope?: "user" | "shared";
1329
1297
  };
1330
1298
  onboarding?: {
1331
- skill?: string;
1332
1299
  preferences?: string[];
1333
1300
  required?: boolean;
1301
+ skill?: string;
1334
1302
  completionCriteria?: string;
1335
1303
  };
1336
1304
  routines?: {
1337
- skill?: string;
1338
1305
  key?: string;
1339
1306
  enabled?: false;
1340
1307
  output?: string;
1341
1308
  required?: boolean;
1342
1309
  trigger?: "schedule" | "event";
1310
+ skill?: string;
1343
1311
  expression?: string;
1344
- timezone?: "organization" | "user";
1312
+ timezone?: "user" | "organization";
1345
1313
  }[];
1346
1314
  }, {
1347
- version?: string;
1348
- execution?: {
1349
- sandbox?: "server" | "cloud-computer";
1350
- modelFeatures?: ModelFeature[];
1351
- localCapabilities?: string[];
1352
- offline?: "requires-online" | "local-only";
1353
- };
1315
+ schemaVersion?: 1;
1354
1316
  skills?: {
1355
1317
  pluginName?: string;
1356
1318
  componentKey?: string;
@@ -1362,52 +1324,53 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1362
1324
  permissions?: string[];
1363
1325
  purpose?: string;
1364
1326
  }[];
1365
- schemaVersion?: 1;
1327
+ version?: string;
1328
+ execution?: {
1329
+ sandbox?: "server" | "cloud-computer";
1330
+ modelFeatures?: ModelFeature[];
1331
+ localCapabilities?: string[];
1332
+ offline?: "requires-online" | "local-only";
1333
+ };
1366
1334
  files?: {
1367
- scope?: "user" | "shared";
1368
1335
  entries?: ({
1369
- kind?: "directory";
1370
1336
  path?: string;
1337
+ kind?: "directory";
1371
1338
  } | {
1372
- kind?: "file";
1373
1339
  path?: string;
1340
+ kind?: "file";
1374
1341
  policy?: "create-only";
1375
1342
  content?: string;
1376
1343
  contentVersion?: string;
1377
1344
  } | {
1378
- kind?: "ledger";
1379
1345
  path?: string;
1346
+ kind?: "ledger";
1380
1347
  columns?: {
1381
- type?: "string" | "number" | "boolean" | "date";
1382
1348
  key?: string;
1349
+ type?: "string" | "number" | "boolean" | "date";
1383
1350
  label?: string;
1384
1351
  }[];
1385
1352
  policy?: "create-only";
1386
1353
  structureVersion?: string;
1387
1354
  })[];
1388
- };
1389
- memory?: {
1390
- preferences?: string[];
1391
- seed?: boolean;
1355
+ scope?: "user" | "shared";
1392
1356
  };
1393
1357
  onboarding?: {
1394
- skill?: string;
1395
1358
  preferences?: string[];
1396
1359
  required?: boolean;
1360
+ skill?: string;
1397
1361
  completionCriteria?: string;
1398
1362
  };
1399
1363
  routines?: {
1400
- skill?: string;
1401
1364
  key?: string;
1402
1365
  enabled?: false;
1403
1366
  output?: string;
1404
1367
  required?: boolean;
1405
1368
  trigger?: "schedule" | "event";
1369
+ skill?: string;
1406
1370
  expression?: string;
1407
- timezone?: "organization" | "user";
1371
+ timezone?: "user" | "organization";
1408
1372
  }[];
1409
1373
  }>, z.ZodObject<{
1410
- version: z.ZodString;
1411
1374
  connectors: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
1412
1375
  key: z.ZodString;
1413
1376
  provider: z.ZodString;
@@ -1451,17 +1414,18 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1451
1414
  permissions?: string[];
1452
1415
  purpose?: string;
1453
1416
  }[]>>;
1417
+ version: z.ZodString;
1454
1418
  files: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1455
1419
  scope: z.ZodEnum<["shared", "user"]>;
1456
1420
  entries: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1457
1421
  kind: z.ZodLiteral<"directory">;
1458
1422
  path: z.ZodEffects<z.ZodString, string, string>;
1459
1423
  }, "strict", z.ZodTypeAny, {
1460
- kind?: "directory";
1461
1424
  path?: string;
1462
- }, {
1463
1425
  kind?: "directory";
1426
+ }, {
1464
1427
  path?: string;
1428
+ kind?: "directory";
1465
1429
  }>, z.ZodObject<{
1466
1430
  kind: z.ZodLiteral<"file">;
1467
1431
  path: z.ZodEffects<z.ZodString, string, string>;
@@ -1469,14 +1433,14 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1469
1433
  contentVersion: z.ZodString;
1470
1434
  policy: z.ZodLiteral<"create-only">;
1471
1435
  }, "strict", z.ZodTypeAny, {
1472
- kind?: "file";
1473
1436
  path?: string;
1437
+ kind?: "file";
1474
1438
  policy?: "create-only";
1475
1439
  content?: string;
1476
1440
  contentVersion?: string;
1477
1441
  }, {
1478
- kind?: "file";
1479
1442
  path?: string;
1443
+ kind?: "file";
1480
1444
  policy?: "create-only";
1481
1445
  content?: string;
1482
1446
  contentVersion?: string;
@@ -1489,124 +1453,124 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1489
1453
  label: z.ZodString;
1490
1454
  type: z.ZodEnum<["string", "number", "boolean", "date"]>;
1491
1455
  }, "strict", z.ZodTypeAny, {
1492
- type?: "string" | "number" | "boolean" | "date";
1493
1456
  key?: string;
1457
+ type?: "string" | "number" | "boolean" | "date";
1494
1458
  label?: string;
1495
1459
  }, {
1496
- type?: "string" | "number" | "boolean" | "date";
1497
1460
  key?: string;
1461
+ type?: "string" | "number" | "boolean" | "date";
1498
1462
  label?: string;
1499
1463
  }>, "many">;
1500
1464
  policy: z.ZodLiteral<"create-only">;
1501
1465
  }, "strict", z.ZodTypeAny, {
1502
- kind?: "ledger";
1503
1466
  path?: string;
1467
+ kind?: "ledger";
1504
1468
  columns?: {
1505
- type?: "string" | "number" | "boolean" | "date";
1506
1469
  key?: string;
1470
+ type?: "string" | "number" | "boolean" | "date";
1507
1471
  label?: string;
1508
1472
  }[];
1509
1473
  policy?: "create-only";
1510
1474
  structureVersion?: string;
1511
1475
  }, {
1512
- kind?: "ledger";
1513
1476
  path?: string;
1477
+ kind?: "ledger";
1514
1478
  columns?: {
1515
- type?: "string" | "number" | "boolean" | "date";
1516
1479
  key?: string;
1480
+ type?: "string" | "number" | "boolean" | "date";
1517
1481
  label?: string;
1518
1482
  }[];
1519
1483
  policy?: "create-only";
1520
1484
  structureVersion?: string;
1521
1485
  }>]>, "many">;
1522
1486
  }, "strict", z.ZodTypeAny, {
1523
- scope?: "user" | "shared";
1524
1487
  entries?: ({
1525
- kind?: "directory";
1526
1488
  path?: string;
1489
+ kind?: "directory";
1527
1490
  } | {
1528
- kind?: "file";
1529
1491
  path?: string;
1492
+ kind?: "file";
1530
1493
  policy?: "create-only";
1531
1494
  content?: string;
1532
1495
  contentVersion?: string;
1533
1496
  } | {
1534
- kind?: "ledger";
1535
1497
  path?: string;
1498
+ kind?: "ledger";
1536
1499
  columns?: {
1537
- type?: "string" | "number" | "boolean" | "date";
1538
1500
  key?: string;
1501
+ type?: "string" | "number" | "boolean" | "date";
1539
1502
  label?: string;
1540
1503
  }[];
1541
1504
  policy?: "create-only";
1542
1505
  structureVersion?: string;
1543
1506
  })[];
1544
- }, {
1545
1507
  scope?: "user" | "shared";
1508
+ }, {
1546
1509
  entries?: ({
1547
- kind?: "directory";
1548
1510
  path?: string;
1511
+ kind?: "directory";
1549
1512
  } | {
1550
- kind?: "file";
1551
1513
  path?: string;
1514
+ kind?: "file";
1552
1515
  policy?: "create-only";
1553
1516
  content?: string;
1554
1517
  contentVersion?: string;
1555
1518
  } | {
1556
- kind?: "ledger";
1557
1519
  path?: string;
1520
+ kind?: "ledger";
1558
1521
  columns?: {
1559
- type?: "string" | "number" | "boolean" | "date";
1560
1522
  key?: string;
1523
+ type?: "string" | "number" | "boolean" | "date";
1561
1524
  label?: string;
1562
1525
  }[];
1563
1526
  policy?: "create-only";
1564
1527
  structureVersion?: string;
1565
1528
  })[];
1566
- }>, {
1567
1529
  scope?: "user" | "shared";
1530
+ }>, {
1568
1531
  entries?: ({
1569
- kind?: "directory";
1570
1532
  path?: string;
1533
+ kind?: "directory";
1571
1534
  } | {
1572
- kind?: "file";
1573
1535
  path?: string;
1536
+ kind?: "file";
1574
1537
  policy?: "create-only";
1575
1538
  content?: string;
1576
1539
  contentVersion?: string;
1577
1540
  } | {
1578
- kind?: "ledger";
1579
1541
  path?: string;
1542
+ kind?: "ledger";
1580
1543
  columns?: {
1581
- type?: "string" | "number" | "boolean" | "date";
1582
1544
  key?: string;
1545
+ type?: "string" | "number" | "boolean" | "date";
1583
1546
  label?: string;
1584
1547
  }[];
1585
1548
  policy?: "create-only";
1586
1549
  structureVersion?: string;
1587
1550
  })[];
1588
- }, {
1589
1551
  scope?: "user" | "shared";
1552
+ }, {
1590
1553
  entries?: ({
1591
- kind?: "directory";
1592
1554
  path?: string;
1555
+ kind?: "directory";
1593
1556
  } | {
1594
- kind?: "file";
1595
1557
  path?: string;
1558
+ kind?: "file";
1596
1559
  policy?: "create-only";
1597
1560
  content?: string;
1598
1561
  contentVersion?: string;
1599
1562
  } | {
1600
- kind?: "ledger";
1601
1563
  path?: string;
1564
+ kind?: "ledger";
1602
1565
  columns?: {
1603
- type?: "string" | "number" | "boolean" | "date";
1604
1566
  key?: string;
1567
+ type?: "string" | "number" | "boolean" | "date";
1605
1568
  label?: string;
1606
1569
  }[];
1607
1570
  policy?: "create-only";
1608
1571
  structureVersion?: string;
1609
1572
  })[];
1573
+ scope?: "user" | "shared";
1610
1574
  }>>;
1611
1575
  onboarding: z.ZodOptional<z.ZodObject<{
1612
1576
  skill: z.ZodString;
@@ -1614,14 +1578,14 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1614
1578
  preferences: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1615
1579
  completionCriteria: z.ZodString;
1616
1580
  }, "strict", z.ZodTypeAny, {
1617
- skill?: string;
1618
1581
  preferences?: string[];
1619
1582
  required?: boolean;
1583
+ skill?: string;
1620
1584
  completionCriteria?: string;
1621
1585
  }, {
1622
- skill?: string;
1623
1586
  preferences?: string[];
1624
1587
  required?: boolean;
1588
+ skill?: string;
1625
1589
  completionCriteria?: string;
1626
1590
  }>>;
1627
1591
  routines: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
@@ -1634,41 +1598,41 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1634
1598
  output: z.ZodString;
1635
1599
  enabled: z.ZodDefault<z.ZodLiteral<false>>;
1636
1600
  }, "strict", z.ZodTypeAny, {
1637
- skill?: string;
1638
1601
  key?: string;
1639
1602
  enabled?: false;
1640
1603
  output?: string;
1641
1604
  required?: boolean;
1642
1605
  trigger?: "schedule" | "event";
1606
+ skill?: string;
1643
1607
  expression?: string;
1644
- timezone?: "organization" | "user";
1608
+ timezone?: "user" | "organization";
1645
1609
  }, {
1646
- skill?: string;
1647
1610
  key?: string;
1648
1611
  enabled?: false;
1649
1612
  output?: string;
1650
1613
  required?: boolean;
1651
1614
  trigger?: "schedule" | "event";
1615
+ skill?: string;
1652
1616
  expression?: string;
1653
- timezone?: "organization" | "user";
1617
+ timezone?: "user" | "organization";
1654
1618
  }>, "many">, {
1655
- skill?: string;
1656
1619
  key?: string;
1657
1620
  enabled?: false;
1658
1621
  output?: string;
1659
1622
  required?: boolean;
1660
1623
  trigger?: "schedule" | "event";
1624
+ skill?: string;
1661
1625
  expression?: string;
1662
- timezone?: "organization" | "user";
1626
+ timezone?: "user" | "organization";
1663
1627
  }[], {
1664
- skill?: string;
1665
1628
  key?: string;
1666
1629
  enabled?: false;
1667
1630
  output?: string;
1668
1631
  required?: boolean;
1669
1632
  trigger?: "schedule" | "event";
1633
+ skill?: string;
1670
1634
  expression?: string;
1671
- timezone?: "organization" | "user";
1635
+ timezone?: "user" | "organization";
1672
1636
  }[]>>;
1673
1637
  } & {
1674
1638
  schemaVersion: z.ZodLiteral<2>;
@@ -1687,12 +1651,7 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1687
1651
  offline?: "requires-online" | "local-only";
1688
1652
  }>>;
1689
1653
  }, "strict", z.ZodTypeAny, {
1690
- version?: string;
1691
- execution?: {
1692
- modelFeatures?: ModelFeature[];
1693
- localCapabilities?: string[];
1694
- offline?: "requires-online" | "local-only";
1695
- };
1654
+ schemaVersion?: 2;
1696
1655
  connectors?: {
1697
1656
  key?: string;
1698
1657
  provider?: string;
@@ -1700,53 +1659,53 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1700
1659
  permissions?: string[];
1701
1660
  purpose?: string;
1702
1661
  }[];
1703
- schemaVersion?: 2;
1662
+ version?: string;
1663
+ execution?: {
1664
+ modelFeatures?: ModelFeature[];
1665
+ localCapabilities?: string[];
1666
+ offline?: "requires-online" | "local-only";
1667
+ };
1704
1668
  files?: {
1705
- scope?: "user" | "shared";
1706
1669
  entries?: ({
1707
- kind?: "directory";
1708
1670
  path?: string;
1671
+ kind?: "directory";
1709
1672
  } | {
1710
- kind?: "file";
1711
1673
  path?: string;
1674
+ kind?: "file";
1712
1675
  policy?: "create-only";
1713
1676
  content?: string;
1714
1677
  contentVersion?: string;
1715
1678
  } | {
1716
- kind?: "ledger";
1717
1679
  path?: string;
1680
+ kind?: "ledger";
1718
1681
  columns?: {
1719
- type?: "string" | "number" | "boolean" | "date";
1720
1682
  key?: string;
1683
+ type?: "string" | "number" | "boolean" | "date";
1721
1684
  label?: string;
1722
1685
  }[];
1723
1686
  policy?: "create-only";
1724
1687
  structureVersion?: string;
1725
1688
  })[];
1689
+ scope?: "user" | "shared";
1726
1690
  };
1727
1691
  onboarding?: {
1728
- skill?: string;
1729
1692
  preferences?: string[];
1730
1693
  required?: boolean;
1694
+ skill?: string;
1731
1695
  completionCriteria?: string;
1732
1696
  };
1733
1697
  routines?: {
1734
- skill?: string;
1735
1698
  key?: string;
1736
1699
  enabled?: false;
1737
1700
  output?: string;
1738
1701
  required?: boolean;
1739
1702
  trigger?: "schedule" | "event";
1703
+ skill?: string;
1740
1704
  expression?: string;
1741
- timezone?: "organization" | "user";
1705
+ timezone?: "user" | "organization";
1742
1706
  }[];
1743
1707
  }, {
1744
- version?: string;
1745
- execution?: {
1746
- modelFeatures?: ModelFeature[];
1747
- localCapabilities?: string[];
1748
- offline?: "requires-online" | "local-only";
1749
- };
1708
+ schemaVersion?: 2;
1750
1709
  connectors?: {
1751
1710
  key?: string;
1752
1711
  provider?: string;
@@ -1754,45 +1713,50 @@ export declare const templateManifestSchema: z.ZodDiscriminatedUnion<"schemaVers
1754
1713
  permissions?: string[];
1755
1714
  purpose?: string;
1756
1715
  }[];
1757
- schemaVersion?: 2;
1716
+ version?: string;
1717
+ execution?: {
1718
+ modelFeatures?: ModelFeature[];
1719
+ localCapabilities?: string[];
1720
+ offline?: "requires-online" | "local-only";
1721
+ };
1758
1722
  files?: {
1759
- scope?: "user" | "shared";
1760
1723
  entries?: ({
1761
- kind?: "directory";
1762
1724
  path?: string;
1725
+ kind?: "directory";
1763
1726
  } | {
1764
- kind?: "file";
1765
1727
  path?: string;
1728
+ kind?: "file";
1766
1729
  policy?: "create-only";
1767
1730
  content?: string;
1768
1731
  contentVersion?: string;
1769
1732
  } | {
1770
- kind?: "ledger";
1771
1733
  path?: string;
1734
+ kind?: "ledger";
1772
1735
  columns?: {
1773
- type?: "string" | "number" | "boolean" | "date";
1774
1736
  key?: string;
1737
+ type?: "string" | "number" | "boolean" | "date";
1775
1738
  label?: string;
1776
1739
  }[];
1777
1740
  policy?: "create-only";
1778
1741
  structureVersion?: string;
1779
1742
  })[];
1743
+ scope?: "user" | "shared";
1780
1744
  };
1781
1745
  onboarding?: {
1782
- skill?: string;
1783
1746
  preferences?: string[];
1784
1747
  required?: boolean;
1748
+ skill?: string;
1785
1749
  completionCriteria?: string;
1786
1750
  };
1787
1751
  routines?: {
1788
- skill?: string;
1789
1752
  key?: string;
1790
1753
  enabled?: false;
1791
1754
  output?: string;
1792
1755
  required?: boolean;
1793
1756
  trigger?: "schedule" | "event";
1757
+ skill?: string;
1794
1758
  expression?: string;
1795
- timezone?: "organization" | "user";
1759
+ timezone?: "user" | "organization";
1796
1760
  }[];
1797
1761
  }>]>;
1798
1762
  export type AssistantTemplateManifest = z.output<typeof assistantTemplateManifestSchema>;