@gt-fe/eap-sdk 0.0.6 → 0.0.8

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 (115) hide show
  1. package/README.md +370 -370
  2. package/dist/auth/user-session.d.ts.map +1 -1
  3. package/dist/auth/user-session.js +7 -2
  4. package/dist/auth/user-session.js.map +1 -1
  5. package/dist/config/project-runtime.d.ts +11 -0
  6. package/dist/config/project-runtime.d.ts.map +1 -1
  7. package/dist/config/project-runtime.js +90 -2
  8. package/dist/config/project-runtime.js.map +1 -1
  9. package/dist/lockfile/resolve-dependencies.d.ts +1 -1
  10. package/dist/lockfile/resolve-dependencies.d.ts.map +1 -1
  11. package/dist/lockfile/resolve-dependencies.js +15 -16
  12. package/dist/lockfile/resolve-dependencies.js.map +1 -1
  13. package/dist/lockfile/types.d.ts +1 -1
  14. package/dist/lockfile/types.d.ts.map +1 -1
  15. package/dist/lockfile/write-lockfile.d.ts.map +1 -1
  16. package/dist/lockfile/write-lockfile.js +2 -2
  17. package/dist/lockfile/write-lockfile.js.map +1 -1
  18. package/dist/materialization/index.d.ts +1 -0
  19. package/dist/materialization/index.d.ts.map +1 -1
  20. package/dist/materialization/index.js +1 -0
  21. package/dist/materialization/index.js.map +1 -1
  22. package/dist/materialization/prepare-agent-runtime.d.ts.map +1 -1
  23. package/dist/materialization/prepare-agent-runtime.js +20 -3
  24. package/dist/materialization/prepare-agent-runtime.js.map +1 -1
  25. package/dist/materialization/sync-author-resources.d.ts +20 -0
  26. package/dist/materialization/sync-author-resources.d.ts.map +1 -0
  27. package/dist/materialization/sync-author-resources.js +92 -0
  28. package/dist/materialization/sync-author-resources.js.map +1 -0
  29. package/dist/platform/client.d.ts.map +1 -1
  30. package/dist/platform/client.js +71 -2
  31. package/dist/platform/client.js.map +1 -1
  32. package/dist/platform/types.d.ts +48 -2
  33. package/dist/platform/types.d.ts.map +1 -1
  34. package/dist/project/agent-project.d.ts +6 -0
  35. package/dist/project/agent-project.d.ts.map +1 -1
  36. package/dist/project/agent-project.js +37 -3
  37. package/dist/project/agent-project.js.map +1 -1
  38. package/dist/resources/index.d.ts +1 -0
  39. package/dist/resources/index.d.ts.map +1 -1
  40. package/dist/resources/index.js +1 -0
  41. package/dist/resources/index.js.map +1 -1
  42. package/dist/resources/install-agent-resource.d.ts.map +1 -1
  43. package/dist/resources/install-agent-resource.js +33 -8
  44. package/dist/resources/install-agent-resource.js.map +1 -1
  45. package/dist/resources/install-local-agent-resource.js +6 -6
  46. package/dist/resources/install-local-agent-resource.js.map +1 -1
  47. package/dist/resources/local-resource.d.ts +6 -0
  48. package/dist/resources/local-resource.d.ts.map +1 -1
  49. package/dist/resources/local-resource.js +64 -13
  50. package/dist/resources/local-resource.js.map +1 -1
  51. package/dist/resources/resource-files.d.ts.map +1 -1
  52. package/dist/resources/resource-files.js +1 -12
  53. package/dist/resources/resource-files.js.map +1 -1
  54. package/dist/resources/uninstall-agent-resource.d.ts.map +1 -1
  55. package/dist/resources/uninstall-agent-resource.js +2 -2
  56. package/dist/resources/uninstall-agent-resource.js.map +1 -1
  57. package/dist/schema/agent/index.d.ts +1 -0
  58. package/dist/schema/agent/index.d.ts.map +1 -1
  59. package/dist/schema/agent/index.js +1 -0
  60. package/dist/schema/agent/index.js.map +1 -1
  61. package/dist/schema/agent/manifest.d.ts +542 -161
  62. package/dist/schema/agent/manifest.d.ts.map +1 -1
  63. package/dist/schema/agent/manifest.js +12 -16
  64. package/dist/schema/agent/manifest.js.map +1 -1
  65. package/dist/schema/agent/models.d.ts +20 -0
  66. package/dist/schema/agent/models.d.ts.map +1 -0
  67. package/dist/schema/agent/models.js +27 -0
  68. package/dist/schema/agent/models.js.map +1 -0
  69. package/dist/schema/common.d.ts +1 -0
  70. package/dist/schema/common.d.ts.map +1 -1
  71. package/dist/schema/common.js +8 -1
  72. package/dist/schema/common.js.map +1 -1
  73. package/dist/schema/dependencies-lock.d.ts +8 -8
  74. package/dist/schema/dependencies-lock.d.ts.map +1 -1
  75. package/dist/schema/dependencies-lock.js +3 -3
  76. package/dist/schema/dependencies-lock.js.map +1 -1
  77. package/dist/schema/graph.d.ts +643 -131
  78. package/dist/schema/graph.d.ts.map +1 -1
  79. package/dist/schema/graph.js +10 -3
  80. package/dist/schema/graph.js.map +1 -1
  81. package/dist/schema/project-config.d.ts +157 -0
  82. package/dist/schema/project-config.d.ts.map +1 -1
  83. package/dist/schema/project-config.js +38 -2
  84. package/dist/schema/project-config.js.map +1 -1
  85. package/dist/schema/skill/manifest.d.ts +6 -54
  86. package/dist/schema/skill/manifest.d.ts.map +1 -1
  87. package/dist/schema/skill/manifest.js +2 -8
  88. package/dist/schema/skill/manifest.js.map +1 -1
  89. package/dist/schema/tool/manifest.js +1 -1
  90. package/dist/schema/tool/manifest.js.map +1 -1
  91. package/dist/service/create-agent-service.d.ts.map +1 -1
  92. package/dist/service/create-agent-service.js +27 -4
  93. package/dist/service/create-agent-service.js.map +1 -1
  94. package/dist/service/index.d.ts +1 -1
  95. package/dist/service/index.d.ts.map +1 -1
  96. package/dist/service/types.d.ts +7 -1
  97. package/dist/service/types.d.ts.map +1 -1
  98. package/dist/validation/index.d.ts +1 -0
  99. package/dist/validation/index.d.ts.map +1 -1
  100. package/dist/validation/index.js +1 -0
  101. package/dist/validation/index.js.map +1 -1
  102. package/dist/validation/validate-agent-directory.d.ts.map +1 -1
  103. package/dist/validation/validate-agent-directory.js +5 -0
  104. package/dist/validation/validate-agent-directory.js.map +1 -1
  105. package/dist/validation/validate-agent-project.d.ts.map +1 -1
  106. package/dist/validation/validate-agent-project.js +4 -1
  107. package/dist/validation/validate-agent-project.js.map +1 -1
  108. package/dist/validation/validate-graph.d.ts.map +1 -1
  109. package/dist/validation/validate-graph.js +41 -2
  110. package/dist/validation/validate-graph.js.map +1 -1
  111. package/dist/validation/validate-local-llm.d.ts +7 -0
  112. package/dist/validation/validate-local-llm.d.ts.map +1 -0
  113. package/dist/validation/validate-local-llm.js +56 -0
  114. package/dist/validation/validate-local-llm.js.map +1 -0
  115. package/package.json +3 -2
@@ -62,6 +62,7 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
62
62
  config: z.ZodDefault<z.ZodObject<{
63
63
  model: z.ZodOptional<z.ZodString>;
64
64
  systemPrompt: z.ZodOptional<z.ZodString>;
65
+ systemPromptFile: z.ZodOptional<z.ZodString>;
65
66
  temperature: z.ZodOptional<z.ZodNumber>;
66
67
  maxTokens: z.ZodOptional<z.ZodNumber>;
67
68
  outputKey: z.ZodOptional<z.ZodString>;
@@ -150,8 +151,35 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
150
151
  };
151
152
  type: "function";
152
153
  }>]>>;
153
- }, "strict", z.ZodTypeAny, {
154
- retry?: {
154
+ disableTools: z.ZodOptional<z.ZodBoolean>;
155
+ includeSkillCatalog: z.ZodOptional<z.ZodBoolean>;
156
+ silent: z.ZodOptional<z.ZodBoolean>;
157
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
158
+ model: z.ZodOptional<z.ZodString>;
159
+ systemPrompt: z.ZodOptional<z.ZodString>;
160
+ systemPromptFile: z.ZodOptional<z.ZodString>;
161
+ temperature: z.ZodOptional<z.ZodNumber>;
162
+ maxTokens: z.ZodOptional<z.ZodNumber>;
163
+ outputKey: z.ZodOptional<z.ZodString>;
164
+ retry: z.ZodOptional<z.ZodObject<{
165
+ maxRetries: z.ZodNumber;
166
+ backoff: z.ZodOptional<z.ZodObject<{
167
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
168
+ baseDelay: z.ZodNumber;
169
+ maxDelay: z.ZodNumber;
170
+ jitter: z.ZodOptional<z.ZodNumber>;
171
+ }, "strict", z.ZodTypeAny, {
172
+ type: "exponential" | "linear" | "fixed";
173
+ baseDelay: number;
174
+ maxDelay: number;
175
+ jitter?: number | undefined;
176
+ }, {
177
+ type: "exponential" | "linear" | "fixed";
178
+ baseDelay: number;
179
+ maxDelay: number;
180
+ jitter?: number | undefined;
181
+ }>>;
182
+ }, "strict", z.ZodTypeAny, {
155
183
  maxRetries: number;
156
184
  backoff?: {
157
185
  type: "exponential" | "linear" | "fixed";
@@ -159,28 +187,94 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
159
187
  maxDelay: number;
160
188
  jitter?: number | undefined;
161
189
  } | undefined;
162
- } | undefined;
163
- model?: string | undefined;
164
- systemPrompt?: string | undefined;
165
- temperature?: number | undefined;
166
- maxTokens?: number | undefined;
167
- outputKey?: string | undefined;
168
- tools?: {
190
+ }, {
191
+ maxRetries: number;
192
+ backoff?: {
193
+ type: "exponential" | "linear" | "fixed";
194
+ baseDelay: number;
195
+ maxDelay: number;
196
+ jitter?: number | undefined;
197
+ } | undefined;
198
+ }>>;
199
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
200
+ type: z.ZodLiteral<"function">;
201
+ function: z.ZodObject<{
202
+ name: z.ZodString;
203
+ description: z.ZodOptional<z.ZodString>;
204
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
205
+ }, "strict", z.ZodTypeAny, {
206
+ name: string;
207
+ description?: string | undefined;
208
+ parameters?: Record<string, unknown> | undefined;
209
+ }, {
210
+ name: string;
211
+ description?: string | undefined;
212
+ parameters?: Record<string, unknown> | undefined;
213
+ }>;
214
+ }, "strict", z.ZodTypeAny, {
169
215
  function: {
170
216
  name: string;
171
217
  description?: string | undefined;
172
218
  parameters?: Record<string, unknown> | undefined;
173
219
  };
174
220
  type: "function";
175
- }[] | undefined;
176
- toolChoice?: "required" | "auto" | "none" | {
221
+ }, {
177
222
  function: {
178
223
  name: string;
224
+ description?: string | undefined;
225
+ parameters?: Record<string, unknown> | undefined;
179
226
  };
180
227
  type: "function";
181
- } | undefined;
182
- }, {
183
- retry?: {
228
+ }>, "many">>;
229
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
230
+ type: z.ZodLiteral<"function">;
231
+ function: z.ZodObject<{
232
+ name: z.ZodString;
233
+ }, "strict", z.ZodTypeAny, {
234
+ name: string;
235
+ }, {
236
+ name: string;
237
+ }>;
238
+ }, "strict", z.ZodTypeAny, {
239
+ function: {
240
+ name: string;
241
+ };
242
+ type: "function";
243
+ }, {
244
+ function: {
245
+ name: string;
246
+ };
247
+ type: "function";
248
+ }>]>>;
249
+ disableTools: z.ZodOptional<z.ZodBoolean>;
250
+ includeSkillCatalog: z.ZodOptional<z.ZodBoolean>;
251
+ silent: z.ZodOptional<z.ZodBoolean>;
252
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
253
+ model: z.ZodOptional<z.ZodString>;
254
+ systemPrompt: z.ZodOptional<z.ZodString>;
255
+ systemPromptFile: z.ZodOptional<z.ZodString>;
256
+ temperature: z.ZodOptional<z.ZodNumber>;
257
+ maxTokens: z.ZodOptional<z.ZodNumber>;
258
+ outputKey: z.ZodOptional<z.ZodString>;
259
+ retry: z.ZodOptional<z.ZodObject<{
260
+ maxRetries: z.ZodNumber;
261
+ backoff: z.ZodOptional<z.ZodObject<{
262
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
263
+ baseDelay: z.ZodNumber;
264
+ maxDelay: z.ZodNumber;
265
+ jitter: z.ZodOptional<z.ZodNumber>;
266
+ }, "strict", z.ZodTypeAny, {
267
+ type: "exponential" | "linear" | "fixed";
268
+ baseDelay: number;
269
+ maxDelay: number;
270
+ jitter?: number | undefined;
271
+ }, {
272
+ type: "exponential" | "linear" | "fixed";
273
+ baseDelay: number;
274
+ maxDelay: number;
275
+ jitter?: number | undefined;
276
+ }>>;
277
+ }, "strict", z.ZodTypeAny, {
184
278
  maxRetries: number;
185
279
  backoff?: {
186
280
  type: "exponential" | "linear" | "fixed";
@@ -188,27 +282,69 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
188
282
  maxDelay: number;
189
283
  jitter?: number | undefined;
190
284
  } | undefined;
191
- } | undefined;
192
- model?: string | undefined;
193
- systemPrompt?: string | undefined;
194
- temperature?: number | undefined;
195
- maxTokens?: number | undefined;
196
- outputKey?: string | undefined;
197
- tools?: {
285
+ }, {
286
+ maxRetries: number;
287
+ backoff?: {
288
+ type: "exponential" | "linear" | "fixed";
289
+ baseDelay: number;
290
+ maxDelay: number;
291
+ jitter?: number | undefined;
292
+ } | undefined;
293
+ }>>;
294
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
295
+ type: z.ZodLiteral<"function">;
296
+ function: z.ZodObject<{
297
+ name: z.ZodString;
298
+ description: z.ZodOptional<z.ZodString>;
299
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
300
+ }, "strict", z.ZodTypeAny, {
301
+ name: string;
302
+ description?: string | undefined;
303
+ parameters?: Record<string, unknown> | undefined;
304
+ }, {
305
+ name: string;
306
+ description?: string | undefined;
307
+ parameters?: Record<string, unknown> | undefined;
308
+ }>;
309
+ }, "strict", z.ZodTypeAny, {
198
310
  function: {
199
311
  name: string;
200
312
  description?: string | undefined;
201
313
  parameters?: Record<string, unknown> | undefined;
202
314
  };
203
315
  type: "function";
204
- }[] | undefined;
205
- toolChoice?: "required" | "auto" | "none" | {
316
+ }, {
206
317
  function: {
207
318
  name: string;
319
+ description?: string | undefined;
320
+ parameters?: Record<string, unknown> | undefined;
208
321
  };
209
322
  type: "function";
210
- } | undefined;
211
- }>>;
323
+ }>, "many">>;
324
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
325
+ type: z.ZodLiteral<"function">;
326
+ function: z.ZodObject<{
327
+ name: z.ZodString;
328
+ }, "strict", z.ZodTypeAny, {
329
+ name: string;
330
+ }, {
331
+ name: string;
332
+ }>;
333
+ }, "strict", z.ZodTypeAny, {
334
+ function: {
335
+ name: string;
336
+ };
337
+ type: "function";
338
+ }, {
339
+ function: {
340
+ name: string;
341
+ };
342
+ type: "function";
343
+ }>]>>;
344
+ disableTools: z.ZodOptional<z.ZodBoolean>;
345
+ includeSkillCatalog: z.ZodOptional<z.ZodBoolean>;
346
+ silent: z.ZodOptional<z.ZodBoolean>;
347
+ }, z.ZodTypeAny, "passthrough">>>;
212
348
  }, "strict", z.ZodTypeAny, {
213
349
  type: "llm";
214
350
  id: string;
@@ -224,6 +360,7 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
224
360
  } | undefined;
225
361
  model?: string | undefined;
226
362
  systemPrompt?: string | undefined;
363
+ systemPromptFile?: string | undefined;
227
364
  temperature?: number | undefined;
228
365
  maxTokens?: number | undefined;
229
366
  outputKey?: string | undefined;
@@ -241,6 +378,11 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
241
378
  };
242
379
  type: "function";
243
380
  } | undefined;
381
+ disableTools?: boolean | undefined;
382
+ includeSkillCatalog?: boolean | undefined;
383
+ silent?: boolean | undefined;
384
+ } & {
385
+ [k: string]: unknown;
244
386
  };
245
387
  description?: string | undefined;
246
388
  label?: string | undefined;
@@ -281,8 +423,32 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
281
423
  question?: string | undefined;
282
424
  timeout?: number | undefined;
283
425
  } | undefined;
284
- config?: {
285
- retry?: {
426
+ config?: z.objectInputType<{
427
+ model: z.ZodOptional<z.ZodString>;
428
+ systemPrompt: z.ZodOptional<z.ZodString>;
429
+ systemPromptFile: z.ZodOptional<z.ZodString>;
430
+ temperature: z.ZodOptional<z.ZodNumber>;
431
+ maxTokens: z.ZodOptional<z.ZodNumber>;
432
+ outputKey: z.ZodOptional<z.ZodString>;
433
+ retry: z.ZodOptional<z.ZodObject<{
434
+ maxRetries: z.ZodNumber;
435
+ backoff: z.ZodOptional<z.ZodObject<{
436
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
437
+ baseDelay: z.ZodNumber;
438
+ maxDelay: z.ZodNumber;
439
+ jitter: z.ZodOptional<z.ZodNumber>;
440
+ }, "strict", z.ZodTypeAny, {
441
+ type: "exponential" | "linear" | "fixed";
442
+ baseDelay: number;
443
+ maxDelay: number;
444
+ jitter?: number | undefined;
445
+ }, {
446
+ type: "exponential" | "linear" | "fixed";
447
+ baseDelay: number;
448
+ maxDelay: number;
449
+ jitter?: number | undefined;
450
+ }>>;
451
+ }, "strict", z.ZodTypeAny, {
286
452
  maxRetries: number;
287
453
  backoff?: {
288
454
  type: "exponential" | "linear" | "fixed";
@@ -290,27 +456,69 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
290
456
  maxDelay: number;
291
457
  jitter?: number | undefined;
292
458
  } | undefined;
293
- } | undefined;
294
- model?: string | undefined;
295
- systemPrompt?: string | undefined;
296
- temperature?: number | undefined;
297
- maxTokens?: number | undefined;
298
- outputKey?: string | undefined;
299
- tools?: {
459
+ }, {
460
+ maxRetries: number;
461
+ backoff?: {
462
+ type: "exponential" | "linear" | "fixed";
463
+ baseDelay: number;
464
+ maxDelay: number;
465
+ jitter?: number | undefined;
466
+ } | undefined;
467
+ }>>;
468
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
469
+ type: z.ZodLiteral<"function">;
470
+ function: z.ZodObject<{
471
+ name: z.ZodString;
472
+ description: z.ZodOptional<z.ZodString>;
473
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
474
+ }, "strict", z.ZodTypeAny, {
475
+ name: string;
476
+ description?: string | undefined;
477
+ parameters?: Record<string, unknown> | undefined;
478
+ }, {
479
+ name: string;
480
+ description?: string | undefined;
481
+ parameters?: Record<string, unknown> | undefined;
482
+ }>;
483
+ }, "strict", z.ZodTypeAny, {
300
484
  function: {
301
485
  name: string;
302
486
  description?: string | undefined;
303
487
  parameters?: Record<string, unknown> | undefined;
304
488
  };
305
489
  type: "function";
306
- }[] | undefined;
307
- toolChoice?: "required" | "auto" | "none" | {
490
+ }, {
308
491
  function: {
309
492
  name: string;
493
+ description?: string | undefined;
494
+ parameters?: Record<string, unknown> | undefined;
310
495
  };
311
496
  type: "function";
312
- } | undefined;
313
- } | undefined;
497
+ }>, "many">>;
498
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
499
+ type: z.ZodLiteral<"function">;
500
+ function: z.ZodObject<{
501
+ name: z.ZodString;
502
+ }, "strict", z.ZodTypeAny, {
503
+ name: string;
504
+ }, {
505
+ name: string;
506
+ }>;
507
+ }, "strict", z.ZodTypeAny, {
508
+ function: {
509
+ name: string;
510
+ };
511
+ type: "function";
512
+ }, {
513
+ function: {
514
+ name: string;
515
+ };
516
+ type: "function";
517
+ }>]>>;
518
+ disableTools: z.ZodOptional<z.ZodBoolean>;
519
+ includeSkillCatalog: z.ZodOptional<z.ZodBoolean>;
520
+ silent: z.ZodOptional<z.ZodBoolean>;
521
+ }, z.ZodTypeAny, "passthrough"> | undefined;
314
522
  }>, z.ZodObject<{
315
523
  id: z.ZodString;
316
524
  label: z.ZodOptional<z.ZodString>;
@@ -1012,15 +1220,18 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1012
1220
  code: z.ZodOptional<z.ZodString>;
1013
1221
  handler: z.ZodOptional<z.ZodString>;
1014
1222
  timeoutMs: z.ZodOptional<z.ZodNumber>;
1015
- }, "strict", z.ZodTypeAny, {
1016
- code?: string | undefined;
1017
- handler?: string | undefined;
1018
- timeoutMs?: number | undefined;
1019
- }, {
1020
- code?: string | undefined;
1021
- handler?: string | undefined;
1022
- timeoutMs?: number | undefined;
1023
- }>>;
1223
+ bindSkill: z.ZodOptional<z.ZodBoolean>;
1224
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1225
+ code: z.ZodOptional<z.ZodString>;
1226
+ handler: z.ZodOptional<z.ZodString>;
1227
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1228
+ bindSkill: z.ZodOptional<z.ZodBoolean>;
1229
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1230
+ code: z.ZodOptional<z.ZodString>;
1231
+ handler: z.ZodOptional<z.ZodString>;
1232
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1233
+ bindSkill: z.ZodOptional<z.ZodBoolean>;
1234
+ }, z.ZodTypeAny, "passthrough">>>;
1024
1235
  }, "strict", z.ZodTypeAny, {
1025
1236
  type: "code";
1026
1237
  id: string;
@@ -1028,6 +1239,9 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1028
1239
  code?: string | undefined;
1029
1240
  handler?: string | undefined;
1030
1241
  timeoutMs?: number | undefined;
1242
+ bindSkill?: boolean | undefined;
1243
+ } & {
1244
+ [k: string]: unknown;
1031
1245
  };
1032
1246
  description?: string | undefined;
1033
1247
  label?: string | undefined;
@@ -1068,13 +1282,16 @@ export declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1068
1282
  question?: string | undefined;
1069
1283
  timeout?: number | undefined;
1070
1284
  } | undefined;
1071
- config?: {
1072
- code?: string | undefined;
1073
- handler?: string | undefined;
1074
- timeoutMs?: number | undefined;
1075
- } | undefined;
1285
+ config?: z.objectInputType<{
1286
+ code: z.ZodOptional<z.ZodString>;
1287
+ handler: z.ZodOptional<z.ZodString>;
1288
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1289
+ bindSkill: z.ZodOptional<z.ZodBoolean>;
1290
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1076
1291
  }>]>;
1077
1292
  export declare const GraphSchema: z.ZodObject<{
1293
+ name: z.ZodOptional<z.ZodString>;
1294
+ version: z.ZodOptional<z.ZodString>;
1078
1295
  state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1079
1296
  nodes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1080
1297
  id: z.ZodString;
@@ -1139,6 +1356,7 @@ export declare const GraphSchema: z.ZodObject<{
1139
1356
  config: z.ZodDefault<z.ZodObject<{
1140
1357
  model: z.ZodOptional<z.ZodString>;
1141
1358
  systemPrompt: z.ZodOptional<z.ZodString>;
1359
+ systemPromptFile: z.ZodOptional<z.ZodString>;
1142
1360
  temperature: z.ZodOptional<z.ZodNumber>;
1143
1361
  maxTokens: z.ZodOptional<z.ZodNumber>;
1144
1362
  outputKey: z.ZodOptional<z.ZodString>;
@@ -1227,8 +1445,35 @@ export declare const GraphSchema: z.ZodObject<{
1227
1445
  };
1228
1446
  type: "function";
1229
1447
  }>]>>;
1230
- }, "strict", z.ZodTypeAny, {
1231
- retry?: {
1448
+ disableTools: z.ZodOptional<z.ZodBoolean>;
1449
+ includeSkillCatalog: z.ZodOptional<z.ZodBoolean>;
1450
+ silent: z.ZodOptional<z.ZodBoolean>;
1451
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1452
+ model: z.ZodOptional<z.ZodString>;
1453
+ systemPrompt: z.ZodOptional<z.ZodString>;
1454
+ systemPromptFile: z.ZodOptional<z.ZodString>;
1455
+ temperature: z.ZodOptional<z.ZodNumber>;
1456
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1457
+ outputKey: z.ZodOptional<z.ZodString>;
1458
+ retry: z.ZodOptional<z.ZodObject<{
1459
+ maxRetries: z.ZodNumber;
1460
+ backoff: z.ZodOptional<z.ZodObject<{
1461
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
1462
+ baseDelay: z.ZodNumber;
1463
+ maxDelay: z.ZodNumber;
1464
+ jitter: z.ZodOptional<z.ZodNumber>;
1465
+ }, "strict", z.ZodTypeAny, {
1466
+ type: "exponential" | "linear" | "fixed";
1467
+ baseDelay: number;
1468
+ maxDelay: number;
1469
+ jitter?: number | undefined;
1470
+ }, {
1471
+ type: "exponential" | "linear" | "fixed";
1472
+ baseDelay: number;
1473
+ maxDelay: number;
1474
+ jitter?: number | undefined;
1475
+ }>>;
1476
+ }, "strict", z.ZodTypeAny, {
1232
1477
  maxRetries: number;
1233
1478
  backoff?: {
1234
1479
  type: "exponential" | "linear" | "fixed";
@@ -1236,56 +1481,164 @@ export declare const GraphSchema: z.ZodObject<{
1236
1481
  maxDelay: number;
1237
1482
  jitter?: number | undefined;
1238
1483
  } | undefined;
1239
- } | undefined;
1240
- model?: string | undefined;
1241
- systemPrompt?: string | undefined;
1242
- temperature?: number | undefined;
1243
- maxTokens?: number | undefined;
1244
- outputKey?: string | undefined;
1245
- tools?: {
1484
+ }, {
1485
+ maxRetries: number;
1486
+ backoff?: {
1487
+ type: "exponential" | "linear" | "fixed";
1488
+ baseDelay: number;
1489
+ maxDelay: number;
1490
+ jitter?: number | undefined;
1491
+ } | undefined;
1492
+ }>>;
1493
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
1494
+ type: z.ZodLiteral<"function">;
1495
+ function: z.ZodObject<{
1496
+ name: z.ZodString;
1497
+ description: z.ZodOptional<z.ZodString>;
1498
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1499
+ }, "strict", z.ZodTypeAny, {
1500
+ name: string;
1501
+ description?: string | undefined;
1502
+ parameters?: Record<string, unknown> | undefined;
1503
+ }, {
1504
+ name: string;
1505
+ description?: string | undefined;
1506
+ parameters?: Record<string, unknown> | undefined;
1507
+ }>;
1508
+ }, "strict", z.ZodTypeAny, {
1509
+ function: {
1510
+ name: string;
1511
+ description?: string | undefined;
1512
+ parameters?: Record<string, unknown> | undefined;
1513
+ };
1514
+ type: "function";
1515
+ }, {
1516
+ function: {
1517
+ name: string;
1518
+ description?: string | undefined;
1519
+ parameters?: Record<string, unknown> | undefined;
1520
+ };
1521
+ type: "function";
1522
+ }>, "many">>;
1523
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
1524
+ type: z.ZodLiteral<"function">;
1525
+ function: z.ZodObject<{
1526
+ name: z.ZodString;
1527
+ }, "strict", z.ZodTypeAny, {
1528
+ name: string;
1529
+ }, {
1530
+ name: string;
1531
+ }>;
1532
+ }, "strict", z.ZodTypeAny, {
1533
+ function: {
1534
+ name: string;
1535
+ };
1536
+ type: "function";
1537
+ }, {
1538
+ function: {
1539
+ name: string;
1540
+ };
1541
+ type: "function";
1542
+ }>]>>;
1543
+ disableTools: z.ZodOptional<z.ZodBoolean>;
1544
+ includeSkillCatalog: z.ZodOptional<z.ZodBoolean>;
1545
+ silent: z.ZodOptional<z.ZodBoolean>;
1546
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1547
+ model: z.ZodOptional<z.ZodString>;
1548
+ systemPrompt: z.ZodOptional<z.ZodString>;
1549
+ systemPromptFile: z.ZodOptional<z.ZodString>;
1550
+ temperature: z.ZodOptional<z.ZodNumber>;
1551
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1552
+ outputKey: z.ZodOptional<z.ZodString>;
1553
+ retry: z.ZodOptional<z.ZodObject<{
1554
+ maxRetries: z.ZodNumber;
1555
+ backoff: z.ZodOptional<z.ZodObject<{
1556
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
1557
+ baseDelay: z.ZodNumber;
1558
+ maxDelay: z.ZodNumber;
1559
+ jitter: z.ZodOptional<z.ZodNumber>;
1560
+ }, "strict", z.ZodTypeAny, {
1561
+ type: "exponential" | "linear" | "fixed";
1562
+ baseDelay: number;
1563
+ maxDelay: number;
1564
+ jitter?: number | undefined;
1565
+ }, {
1566
+ type: "exponential" | "linear" | "fixed";
1567
+ baseDelay: number;
1568
+ maxDelay: number;
1569
+ jitter?: number | undefined;
1570
+ }>>;
1571
+ }, "strict", z.ZodTypeAny, {
1572
+ maxRetries: number;
1573
+ backoff?: {
1574
+ type: "exponential" | "linear" | "fixed";
1575
+ baseDelay: number;
1576
+ maxDelay: number;
1577
+ jitter?: number | undefined;
1578
+ } | undefined;
1579
+ }, {
1580
+ maxRetries: number;
1581
+ backoff?: {
1582
+ type: "exponential" | "linear" | "fixed";
1583
+ baseDelay: number;
1584
+ maxDelay: number;
1585
+ jitter?: number | undefined;
1586
+ } | undefined;
1587
+ }>>;
1588
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
1589
+ type: z.ZodLiteral<"function">;
1590
+ function: z.ZodObject<{
1591
+ name: z.ZodString;
1592
+ description: z.ZodOptional<z.ZodString>;
1593
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1594
+ }, "strict", z.ZodTypeAny, {
1595
+ name: string;
1596
+ description?: string | undefined;
1597
+ parameters?: Record<string, unknown> | undefined;
1598
+ }, {
1599
+ name: string;
1600
+ description?: string | undefined;
1601
+ parameters?: Record<string, unknown> | undefined;
1602
+ }>;
1603
+ }, "strict", z.ZodTypeAny, {
1246
1604
  function: {
1247
1605
  name: string;
1248
1606
  description?: string | undefined;
1249
1607
  parameters?: Record<string, unknown> | undefined;
1250
1608
  };
1251
1609
  type: "function";
1252
- }[] | undefined;
1253
- toolChoice?: "required" | "auto" | "none" | {
1610
+ }, {
1254
1611
  function: {
1255
1612
  name: string;
1613
+ description?: string | undefined;
1614
+ parameters?: Record<string, unknown> | undefined;
1256
1615
  };
1257
1616
  type: "function";
1258
- } | undefined;
1259
- }, {
1260
- retry?: {
1261
- maxRetries: number;
1262
- backoff?: {
1263
- type: "exponential" | "linear" | "fixed";
1264
- baseDelay: number;
1265
- maxDelay: number;
1266
- jitter?: number | undefined;
1267
- } | undefined;
1268
- } | undefined;
1269
- model?: string | undefined;
1270
- systemPrompt?: string | undefined;
1271
- temperature?: number | undefined;
1272
- maxTokens?: number | undefined;
1273
- outputKey?: string | undefined;
1274
- tools?: {
1617
+ }>, "many">>;
1618
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
1619
+ type: z.ZodLiteral<"function">;
1620
+ function: z.ZodObject<{
1621
+ name: z.ZodString;
1622
+ }, "strict", z.ZodTypeAny, {
1623
+ name: string;
1624
+ }, {
1625
+ name: string;
1626
+ }>;
1627
+ }, "strict", z.ZodTypeAny, {
1275
1628
  function: {
1276
1629
  name: string;
1277
- description?: string | undefined;
1278
- parameters?: Record<string, unknown> | undefined;
1279
1630
  };
1280
1631
  type: "function";
1281
- }[] | undefined;
1282
- toolChoice?: "required" | "auto" | "none" | {
1632
+ }, {
1283
1633
  function: {
1284
1634
  name: string;
1285
1635
  };
1286
1636
  type: "function";
1287
- } | undefined;
1288
- }>>;
1637
+ }>]>>;
1638
+ disableTools: z.ZodOptional<z.ZodBoolean>;
1639
+ includeSkillCatalog: z.ZodOptional<z.ZodBoolean>;
1640
+ silent: z.ZodOptional<z.ZodBoolean>;
1641
+ }, z.ZodTypeAny, "passthrough">>>;
1289
1642
  }, "strict", z.ZodTypeAny, {
1290
1643
  type: "llm";
1291
1644
  id: string;
@@ -1301,6 +1654,7 @@ export declare const GraphSchema: z.ZodObject<{
1301
1654
  } | undefined;
1302
1655
  model?: string | undefined;
1303
1656
  systemPrompt?: string | undefined;
1657
+ systemPromptFile?: string | undefined;
1304
1658
  temperature?: number | undefined;
1305
1659
  maxTokens?: number | undefined;
1306
1660
  outputKey?: string | undefined;
@@ -1318,6 +1672,11 @@ export declare const GraphSchema: z.ZodObject<{
1318
1672
  };
1319
1673
  type: "function";
1320
1674
  } | undefined;
1675
+ disableTools?: boolean | undefined;
1676
+ includeSkillCatalog?: boolean | undefined;
1677
+ silent?: boolean | undefined;
1678
+ } & {
1679
+ [k: string]: unknown;
1321
1680
  };
1322
1681
  description?: string | undefined;
1323
1682
  label?: string | undefined;
@@ -1358,8 +1717,32 @@ export declare const GraphSchema: z.ZodObject<{
1358
1717
  question?: string | undefined;
1359
1718
  timeout?: number | undefined;
1360
1719
  } | undefined;
1361
- config?: {
1362
- retry?: {
1720
+ config?: z.objectInputType<{
1721
+ model: z.ZodOptional<z.ZodString>;
1722
+ systemPrompt: z.ZodOptional<z.ZodString>;
1723
+ systemPromptFile: z.ZodOptional<z.ZodString>;
1724
+ temperature: z.ZodOptional<z.ZodNumber>;
1725
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1726
+ outputKey: z.ZodOptional<z.ZodString>;
1727
+ retry: z.ZodOptional<z.ZodObject<{
1728
+ maxRetries: z.ZodNumber;
1729
+ backoff: z.ZodOptional<z.ZodObject<{
1730
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
1731
+ baseDelay: z.ZodNumber;
1732
+ maxDelay: z.ZodNumber;
1733
+ jitter: z.ZodOptional<z.ZodNumber>;
1734
+ }, "strict", z.ZodTypeAny, {
1735
+ type: "exponential" | "linear" | "fixed";
1736
+ baseDelay: number;
1737
+ maxDelay: number;
1738
+ jitter?: number | undefined;
1739
+ }, {
1740
+ type: "exponential" | "linear" | "fixed";
1741
+ baseDelay: number;
1742
+ maxDelay: number;
1743
+ jitter?: number | undefined;
1744
+ }>>;
1745
+ }, "strict", z.ZodTypeAny, {
1363
1746
  maxRetries: number;
1364
1747
  backoff?: {
1365
1748
  type: "exponential" | "linear" | "fixed";
@@ -1367,27 +1750,69 @@ export declare const GraphSchema: z.ZodObject<{
1367
1750
  maxDelay: number;
1368
1751
  jitter?: number | undefined;
1369
1752
  } | undefined;
1370
- } | undefined;
1371
- model?: string | undefined;
1372
- systemPrompt?: string | undefined;
1373
- temperature?: number | undefined;
1374
- maxTokens?: number | undefined;
1375
- outputKey?: string | undefined;
1376
- tools?: {
1753
+ }, {
1754
+ maxRetries: number;
1755
+ backoff?: {
1756
+ type: "exponential" | "linear" | "fixed";
1757
+ baseDelay: number;
1758
+ maxDelay: number;
1759
+ jitter?: number | undefined;
1760
+ } | undefined;
1761
+ }>>;
1762
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
1763
+ type: z.ZodLiteral<"function">;
1764
+ function: z.ZodObject<{
1765
+ name: z.ZodString;
1766
+ description: z.ZodOptional<z.ZodString>;
1767
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1768
+ }, "strict", z.ZodTypeAny, {
1769
+ name: string;
1770
+ description?: string | undefined;
1771
+ parameters?: Record<string, unknown> | undefined;
1772
+ }, {
1773
+ name: string;
1774
+ description?: string | undefined;
1775
+ parameters?: Record<string, unknown> | undefined;
1776
+ }>;
1777
+ }, "strict", z.ZodTypeAny, {
1377
1778
  function: {
1378
1779
  name: string;
1379
1780
  description?: string | undefined;
1380
1781
  parameters?: Record<string, unknown> | undefined;
1381
1782
  };
1382
1783
  type: "function";
1383
- }[] | undefined;
1384
- toolChoice?: "required" | "auto" | "none" | {
1784
+ }, {
1385
1785
  function: {
1386
1786
  name: string;
1787
+ description?: string | undefined;
1788
+ parameters?: Record<string, unknown> | undefined;
1387
1789
  };
1388
1790
  type: "function";
1389
- } | undefined;
1390
- } | undefined;
1791
+ }>, "many">>;
1792
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
1793
+ type: z.ZodLiteral<"function">;
1794
+ function: z.ZodObject<{
1795
+ name: z.ZodString;
1796
+ }, "strict", z.ZodTypeAny, {
1797
+ name: string;
1798
+ }, {
1799
+ name: string;
1800
+ }>;
1801
+ }, "strict", z.ZodTypeAny, {
1802
+ function: {
1803
+ name: string;
1804
+ };
1805
+ type: "function";
1806
+ }, {
1807
+ function: {
1808
+ name: string;
1809
+ };
1810
+ type: "function";
1811
+ }>]>>;
1812
+ disableTools: z.ZodOptional<z.ZodBoolean>;
1813
+ includeSkillCatalog: z.ZodOptional<z.ZodBoolean>;
1814
+ silent: z.ZodOptional<z.ZodBoolean>;
1815
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1391
1816
  }>, z.ZodObject<{
1392
1817
  id: z.ZodString;
1393
1818
  label: z.ZodOptional<z.ZodString>;
@@ -2089,15 +2514,18 @@ export declare const GraphSchema: z.ZodObject<{
2089
2514
  code: z.ZodOptional<z.ZodString>;
2090
2515
  handler: z.ZodOptional<z.ZodString>;
2091
2516
  timeoutMs: z.ZodOptional<z.ZodNumber>;
2092
- }, "strict", z.ZodTypeAny, {
2093
- code?: string | undefined;
2094
- handler?: string | undefined;
2095
- timeoutMs?: number | undefined;
2096
- }, {
2097
- code?: string | undefined;
2098
- handler?: string | undefined;
2099
- timeoutMs?: number | undefined;
2100
- }>>;
2517
+ bindSkill: z.ZodOptional<z.ZodBoolean>;
2518
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2519
+ code: z.ZodOptional<z.ZodString>;
2520
+ handler: z.ZodOptional<z.ZodString>;
2521
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2522
+ bindSkill: z.ZodOptional<z.ZodBoolean>;
2523
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2524
+ code: z.ZodOptional<z.ZodString>;
2525
+ handler: z.ZodOptional<z.ZodString>;
2526
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2527
+ bindSkill: z.ZodOptional<z.ZodBoolean>;
2528
+ }, z.ZodTypeAny, "passthrough">>>;
2101
2529
  }, "strict", z.ZodTypeAny, {
2102
2530
  type: "code";
2103
2531
  id: string;
@@ -2105,6 +2533,9 @@ export declare const GraphSchema: z.ZodObject<{
2105
2533
  code?: string | undefined;
2106
2534
  handler?: string | undefined;
2107
2535
  timeoutMs?: number | undefined;
2536
+ bindSkill?: boolean | undefined;
2537
+ } & {
2538
+ [k: string]: unknown;
2108
2539
  };
2109
2540
  description?: string | undefined;
2110
2541
  label?: string | undefined;
@@ -2145,11 +2576,12 @@ export declare const GraphSchema: z.ZodObject<{
2145
2576
  question?: string | undefined;
2146
2577
  timeout?: number | undefined;
2147
2578
  } | undefined;
2148
- config?: {
2149
- code?: string | undefined;
2150
- handler?: string | undefined;
2151
- timeoutMs?: number | undefined;
2152
- } | undefined;
2579
+ config?: z.objectInputType<{
2580
+ code: z.ZodOptional<z.ZodString>;
2581
+ handler: z.ZodOptional<z.ZodString>;
2582
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2583
+ bindSkill: z.ZodOptional<z.ZodBoolean>;
2584
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2153
2585
  }>]>, "many">;
2154
2586
  edges: z.ZodArray<z.ZodObject<{
2155
2587
  from: z.ZodString;
@@ -2238,6 +2670,7 @@ export declare const GraphSchema: z.ZodObject<{
2238
2670
  } | undefined;
2239
2671
  model?: string | undefined;
2240
2672
  systemPrompt?: string | undefined;
2673
+ systemPromptFile?: string | undefined;
2241
2674
  temperature?: number | undefined;
2242
2675
  maxTokens?: number | undefined;
2243
2676
  outputKey?: string | undefined;
@@ -2255,6 +2688,11 @@ export declare const GraphSchema: z.ZodObject<{
2255
2688
  };
2256
2689
  type: "function";
2257
2690
  } | undefined;
2691
+ disableTools?: boolean | undefined;
2692
+ includeSkillCatalog?: boolean | undefined;
2693
+ silent?: boolean | undefined;
2694
+ } & {
2695
+ [k: string]: unknown;
2258
2696
  };
2259
2697
  description?: string | undefined;
2260
2698
  label?: string | undefined;
@@ -2413,6 +2851,9 @@ export declare const GraphSchema: z.ZodObject<{
2413
2851
  code?: string | undefined;
2414
2852
  handler?: string | undefined;
2415
2853
  timeoutMs?: number | undefined;
2854
+ bindSkill?: boolean | undefined;
2855
+ } & {
2856
+ [k: string]: unknown;
2416
2857
  };
2417
2858
  description?: string | undefined;
2418
2859
  label?: string | undefined;
@@ -2440,12 +2881,14 @@ export declare const GraphSchema: z.ZodObject<{
2440
2881
  priority?: number | undefined;
2441
2882
  }[];
2442
2883
  description?: string | undefined;
2884
+ name?: string | undefined;
2443
2885
  config?: {
2444
2886
  maxRetries?: number | undefined;
2445
2887
  timeout?: number | undefined;
2446
2888
  maxIterations?: number | undefined;
2447
2889
  checkpointStore?: "redis" | "memory" | "postgres" | "mysql" | "file" | undefined;
2448
2890
  } | undefined;
2891
+ version?: string | undefined;
2449
2892
  state?: Record<string, string> | undefined;
2450
2893
  conditionalEdges?: {
2451
2894
  branches: {
@@ -2481,8 +2924,32 @@ export declare const GraphSchema: z.ZodObject<{
2481
2924
  question?: string | undefined;
2482
2925
  timeout?: number | undefined;
2483
2926
  } | undefined;
2484
- config?: {
2485
- retry?: {
2927
+ config?: z.objectInputType<{
2928
+ model: z.ZodOptional<z.ZodString>;
2929
+ systemPrompt: z.ZodOptional<z.ZodString>;
2930
+ systemPromptFile: z.ZodOptional<z.ZodString>;
2931
+ temperature: z.ZodOptional<z.ZodNumber>;
2932
+ maxTokens: z.ZodOptional<z.ZodNumber>;
2933
+ outputKey: z.ZodOptional<z.ZodString>;
2934
+ retry: z.ZodOptional<z.ZodObject<{
2935
+ maxRetries: z.ZodNumber;
2936
+ backoff: z.ZodOptional<z.ZodObject<{
2937
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
2938
+ baseDelay: z.ZodNumber;
2939
+ maxDelay: z.ZodNumber;
2940
+ jitter: z.ZodOptional<z.ZodNumber>;
2941
+ }, "strict", z.ZodTypeAny, {
2942
+ type: "exponential" | "linear" | "fixed";
2943
+ baseDelay: number;
2944
+ maxDelay: number;
2945
+ jitter?: number | undefined;
2946
+ }, {
2947
+ type: "exponential" | "linear" | "fixed";
2948
+ baseDelay: number;
2949
+ maxDelay: number;
2950
+ jitter?: number | undefined;
2951
+ }>>;
2952
+ }, "strict", z.ZodTypeAny, {
2486
2953
  maxRetries: number;
2487
2954
  backoff?: {
2488
2955
  type: "exponential" | "linear" | "fixed";
@@ -2490,27 +2957,69 @@ export declare const GraphSchema: z.ZodObject<{
2490
2957
  maxDelay: number;
2491
2958
  jitter?: number | undefined;
2492
2959
  } | undefined;
2493
- } | undefined;
2494
- model?: string | undefined;
2495
- systemPrompt?: string | undefined;
2496
- temperature?: number | undefined;
2497
- maxTokens?: number | undefined;
2498
- outputKey?: string | undefined;
2499
- tools?: {
2960
+ }, {
2961
+ maxRetries: number;
2962
+ backoff?: {
2963
+ type: "exponential" | "linear" | "fixed";
2964
+ baseDelay: number;
2965
+ maxDelay: number;
2966
+ jitter?: number | undefined;
2967
+ } | undefined;
2968
+ }>>;
2969
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
2970
+ type: z.ZodLiteral<"function">;
2971
+ function: z.ZodObject<{
2972
+ name: z.ZodString;
2973
+ description: z.ZodOptional<z.ZodString>;
2974
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2975
+ }, "strict", z.ZodTypeAny, {
2976
+ name: string;
2977
+ description?: string | undefined;
2978
+ parameters?: Record<string, unknown> | undefined;
2979
+ }, {
2980
+ name: string;
2981
+ description?: string | undefined;
2982
+ parameters?: Record<string, unknown> | undefined;
2983
+ }>;
2984
+ }, "strict", z.ZodTypeAny, {
2500
2985
  function: {
2501
2986
  name: string;
2502
2987
  description?: string | undefined;
2503
2988
  parameters?: Record<string, unknown> | undefined;
2504
2989
  };
2505
2990
  type: "function";
2506
- }[] | undefined;
2507
- toolChoice?: "required" | "auto" | "none" | {
2991
+ }, {
2992
+ function: {
2993
+ name: string;
2994
+ description?: string | undefined;
2995
+ parameters?: Record<string, unknown> | undefined;
2996
+ };
2997
+ type: "function";
2998
+ }>, "many">>;
2999
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
3000
+ type: z.ZodLiteral<"function">;
3001
+ function: z.ZodObject<{
3002
+ name: z.ZodString;
3003
+ }, "strict", z.ZodTypeAny, {
3004
+ name: string;
3005
+ }, {
3006
+ name: string;
3007
+ }>;
3008
+ }, "strict", z.ZodTypeAny, {
2508
3009
  function: {
2509
3010
  name: string;
2510
3011
  };
2511
3012
  type: "function";
2512
- } | undefined;
2513
- } | undefined;
3013
+ }, {
3014
+ function: {
3015
+ name: string;
3016
+ };
3017
+ type: "function";
3018
+ }>]>>;
3019
+ disableTools: z.ZodOptional<z.ZodBoolean>;
3020
+ includeSkillCatalog: z.ZodOptional<z.ZodBoolean>;
3021
+ silent: z.ZodOptional<z.ZodBoolean>;
3022
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2514
3023
  } | {
2515
3024
  type: "tool";
2516
3025
  id: string;
@@ -2664,11 +3173,12 @@ export declare const GraphSchema: z.ZodObject<{
2664
3173
  question?: string | undefined;
2665
3174
  timeout?: number | undefined;
2666
3175
  } | undefined;
2667
- config?: {
2668
- code?: string | undefined;
2669
- handler?: string | undefined;
2670
- timeoutMs?: number | undefined;
2671
- } | undefined;
3176
+ config?: z.objectInputType<{
3177
+ code: z.ZodOptional<z.ZodString>;
3178
+ handler: z.ZodOptional<z.ZodString>;
3179
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3180
+ bindSkill: z.ZodOptional<z.ZodBoolean>;
3181
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2672
3182
  })[];
2673
3183
  edges: {
2674
3184
  from: string;
@@ -2677,12 +3187,14 @@ export declare const GraphSchema: z.ZodObject<{
2677
3187
  priority?: number | undefined;
2678
3188
  }[];
2679
3189
  description?: string | undefined;
3190
+ name?: string | undefined;
2680
3191
  config?: {
2681
3192
  maxRetries?: number | undefined;
2682
3193
  timeout?: number | undefined;
2683
3194
  maxIterations?: number | undefined;
2684
3195
  checkpointStore?: "redis" | "memory" | "postgres" | "mysql" | "file" | undefined;
2685
3196
  } | undefined;
3197
+ version?: string | undefined;
2686
3198
  state?: Record<string, string> | undefined;
2687
3199
  conditionalEdges?: {
2688
3200
  branches: {