@n8n/api-types 1.42.2 → 1.43.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 (121) hide show
  1. package/dist/agent-sse.d.ts +15 -1
  2. package/dist/agents/agent-json-config.schema.d.ts +413 -0
  3. package/dist/agents/agent-json-config.schema.js +33 -2
  4. package/dist/agents/agent-json-config.schema.js.map +1 -1
  5. package/dist/agents/background-job.d.ts +5 -2
  6. package/dist/agents/dto.d.ts +327 -2
  7. package/dist/agents/dto.js +43 -4
  8. package/dist/agents/dto.js.map +1 -1
  9. package/dist/agents/inline-agent-config.schema.d.ts +233 -0
  10. package/dist/agents/slack/index.d.ts +1 -0
  11. package/dist/agents/slack/index.js +1 -0
  12. package/dist/agents/slack/index.js.map +1 -1
  13. package/dist/agents/slack/manager-credential.d.ts +2 -0
  14. package/dist/agents/slack/manager-credential.js +7 -0
  15. package/dist/agents/slack/manager-credential.js.map +1 -0
  16. package/dist/agents/types.d.ts +17 -0
  17. package/dist/agents/types.js +2 -1
  18. package/dist/agents/types.js.map +1 -1
  19. package/dist/build.tsbuildinfo +1 -1
  20. package/dist/chat-hub.js.map +1 -1
  21. package/dist/community-node-types.d.ts +6 -0
  22. package/dist/dto/data-table/data-table-public.dto.d.ts +495 -0
  23. package/dist/dto/data-table/data-table-public.dto.js +239 -1
  24. package/dist/dto/data-table/data-table-public.dto.js.map +1 -1
  25. package/dist/dto/data-table/data-table-public.openapi.d.ts +116 -0
  26. package/dist/dto/data-table/data-table-public.openapi.js +91 -1
  27. package/dist/dto/data-table/data-table-public.openapi.js.map +1 -1
  28. package/dist/dto/data-table/list-data-table-content-query.dto.d.ts +17 -7
  29. package/dist/dto/data-table/list-data-table-content-query.dto.js +13 -14
  30. package/dist/dto/data-table/list-data-table-content-query.dto.js.map +1 -1
  31. package/dist/dto/index.d.ts +11 -9
  32. package/dist/dto/index.js +51 -15
  33. package/dist/dto/index.js.map +1 -1
  34. package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.d.ts +32 -6
  35. package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js +2 -3
  36. package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js.map +1 -1
  37. package/dist/dto/ldap/ldap-configuration-public.dto.d.ts +285 -0
  38. package/dist/dto/ldap/ldap-configuration-public.dto.js +76 -0
  39. package/dist/dto/ldap/ldap-configuration-public.dto.js.map +1 -0
  40. package/dist/dto/ldap/ldap-configuration-public.openapi.d.ts +90 -0
  41. package/dist/dto/ldap/ldap-configuration-public.openapi.js +94 -0
  42. package/dist/dto/ldap/ldap-configuration-public.openapi.js.map +1 -0
  43. package/dist/dto/ldap/ldap-sync-public.dto.d.ts +203 -0
  44. package/dist/dto/ldap/ldap-sync-public.dto.js +57 -0
  45. package/dist/dto/ldap/ldap-sync-public.dto.js.map +1 -0
  46. package/dist/dto/ldap/ldap-sync-public.openapi.d.ts +54 -0
  47. package/dist/dto/ldap/ldap-sync-public.openapi.js +58 -0
  48. package/dist/dto/ldap/ldap-sync-public.openapi.js.map +1 -0
  49. package/dist/dto/log-streaming/log-streaming-public.dto.d.ts +17 -0
  50. package/dist/dto/log-streaming/log-streaming-public.dto.js +17 -0
  51. package/dist/dto/log-streaming/log-streaming-public.dto.js.map +1 -0
  52. package/dist/dto/log-streaming/log-streaming-public.openapi.d.ts +6 -0
  53. package/dist/dto/log-streaming/log-streaming-public.openapi.js +10 -0
  54. package/dist/dto/log-streaming/log-streaming-public.openapi.js.map +1 -0
  55. package/dist/dto/otel/otel-settings-public.dto.d.ts +134 -0
  56. package/dist/dto/otel/otel-settings-public.dto.js +48 -0
  57. package/dist/dto/otel/otel-settings-public.dto.js.map +1 -0
  58. package/dist/dto/otel/otel-settings-public.openapi.d.ts +54 -0
  59. package/dist/dto/otel/otel-settings-public.openapi.js +70 -0
  60. package/dist/dto/otel/otel-settings-public.openapi.js.map +1 -0
  61. package/dist/dto/otel/otel-test-trace-public.dto.d.ts +61 -0
  62. package/dist/dto/otel/otel-test-trace-public.dto.js +31 -0
  63. package/dist/dto/otel/otel-test-trace-public.dto.js.map +1 -0
  64. package/dist/dto/otel/otel-test-trace-public.openapi.d.ts +43 -0
  65. package/dist/dto/otel/otel-test-trace-public.openapi.js +38 -0
  66. package/dist/dto/otel/otel-test-trace-public.openapi.js.map +1 -0
  67. package/dist/dto/otel/update-otel-settings.dto.js +1 -0
  68. package/dist/dto/otel/update-otel-settings.dto.js.map +1 -1
  69. package/dist/dto/packages/import-package-request.dto.d.ts +3 -1
  70. package/dist/dto/packages/import-package-request.dto.js +2 -0
  71. package/dist/dto/packages/import-package-request.dto.js.map +1 -1
  72. package/dist/dto/promotions/promotable-resource.dto.d.ts +13 -0
  73. package/dist/dto/promotions/promotable-resource.dto.js +11 -1
  74. package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
  75. package/dist/dto/promotions/promotion-common.dto.d.ts +1 -0
  76. package/dist/dto/promotions/promotion-common.dto.js +2 -1
  77. package/dist/dto/promotions/promotion-common.dto.js.map +1 -1
  78. package/dist/dto/promotions/promotion-operations.dto.d.ts +50 -0
  79. package/dist/dto/promotions/promotion-operations.dto.js +19 -1
  80. package/dist/dto/promotions/promotion-operations.dto.js.map +1 -1
  81. package/dist/dto/saml/saml-configuration-public.dto.d.ts +611 -0
  82. package/dist/dto/saml/saml-configuration-public.dto.js +239 -0
  83. package/dist/dto/saml/saml-configuration-public.dto.js.map +1 -0
  84. package/dist/frontend-settings.d.ts +1 -0
  85. package/dist/index.d.ts +8 -4
  86. package/dist/index.js +14 -7
  87. package/dist/index.js.map +1 -1
  88. package/dist/process-internals.d.ts +15 -0
  89. package/dist/{dto/ldap/ldap-configuration-response.dto.js → process-internals.js} +1 -1
  90. package/dist/process-internals.js.map +1 -0
  91. package/dist/schemas/breaking-changes.schema.d.ts +39 -36
  92. package/dist/schemas/breaking-changes.schema.js +9 -3
  93. package/dist/schemas/breaking-changes.schema.js.map +1 -1
  94. package/dist/schemas/instance-ai.schema.d.ts +615 -17
  95. package/dist/schemas/instance-ai.schema.js +32 -8
  96. package/dist/schemas/instance-ai.schema.js.map +1 -1
  97. package/dist/schemas/mcp-registry.schema.d.ts +0 -3
  98. package/dist/schemas/mcp-tool-permissions.schema.d.ts +33 -0
  99. package/dist/schemas/mcp-tool-permissions.schema.js +20 -0
  100. package/dist/schemas/mcp-tool-permissions.schema.js.map +1 -0
  101. package/dist/schemas/public-api-path-params.schema.d.ts +1 -0
  102. package/dist/schemas/public-api-path-params.schema.js +7 -2
  103. package/dist/schemas/public-api-path-params.schema.js.map +1 -1
  104. package/dist/schemas/public-api-uploaded-file.schema.d.ts +21 -0
  105. package/dist/schemas/public-api-uploaded-file.schema.js +15 -0
  106. package/dist/schemas/public-api-uploaded-file.schema.js.map +1 -0
  107. package/dist/workflow-suggestions.d.ts +48 -0
  108. package/dist/workflow-suggestions.js +3 -0
  109. package/dist/workflow-suggestions.js.map +1 -0
  110. package/package.json +9 -6
  111. package/dist/dto/data-table/update-data-table-column.dto.d.ts +0 -21
  112. package/dist/dto/data-table/update-data-table-column.dto.js +0 -17
  113. package/dist/dto/data-table/update-data-table-column.dto.js.map +0 -1
  114. package/dist/dto/ldap/ldap-configuration-response.dto.d.ts +0 -2
  115. package/dist/dto/ldap/ldap-configuration-response.dto.js.map +0 -1
  116. package/dist/dto/ldap/ldap-configuration.dto.d.ts +0 -47
  117. package/dist/dto/ldap/ldap-configuration.dto.js +0 -31
  118. package/dist/dto/ldap/ldap-configuration.dto.js.map +0 -1
  119. package/dist/dto/ldap/ldap-sync.dto.d.ts +0 -9
  120. package/dist/dto/ldap/ldap-sync.dto.js +0 -9
  121. package/dist/dto/ldap/ldap-sync.dto.js.map +0 -1
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
3
3
  name: z.ZodString;
4
+ description: z.ZodOptional<z.ZodString>;
4
5
  model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
5
6
  credential: z.ZodOptional<z.ZodString>;
6
7
  modelDeploymentName: z.ZodOptional<z.ZodString>;
@@ -214,12 +215,15 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
214
215
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
215
216
  agentId: z.ZodString;
216
217
  useWhen: z.ZodOptional<z.ZodString>;
218
+ enabled: z.ZodOptional<z.ZodBoolean>;
217
219
  }, "strict", z.ZodTypeAny, {
218
220
  agentId: string;
219
221
  useWhen?: string | undefined;
222
+ enabled?: boolean | undefined;
220
223
  }, {
221
224
  agentId: string;
222
225
  useWhen?: string | undefined;
226
+ enabled?: boolean | undefined;
223
227
  }>, "many">>;
224
228
  modelsByDifficulty: z.ZodOptional<z.ZodObject<{
225
229
  low: z.ZodOptional<z.ZodObject<{
@@ -284,6 +288,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
284
288
  agents?: {
285
289
  agentId: string;
286
290
  useWhen?: string | undefined;
291
+ enabled?: boolean | undefined;
287
292
  }[] | undefined;
288
293
  modelsByDifficulty?: {
289
294
  low?: {
@@ -304,6 +309,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
304
309
  agents?: {
305
310
  agentId: string;
306
311
  useWhen?: string | undefined;
312
+ enabled?: boolean | undefined;
307
313
  }[] | undefined;
308
314
  modelsByDifficulty?: {
309
315
  low?: {
@@ -322,18 +328,22 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
322
328
  }>>;
323
329
  tools: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
324
330
  type: z.ZodLiteral<"custom">;
331
+ enabled: z.ZodOptional<z.ZodBoolean>;
325
332
  id: z.ZodString;
326
333
  requireApproval: z.ZodOptional<z.ZodBoolean>;
327
334
  }, "strip", z.ZodTypeAny, {
328
335
  type: "custom";
336
+ enabled?: boolean | undefined;
329
337
  id: string;
330
338
  requireApproval?: boolean | undefined;
331
339
  }, {
332
340
  type: "custom";
341
+ enabled?: boolean | undefined;
333
342
  id: string;
334
343
  requireApproval?: boolean | undefined;
335
344
  }>, z.ZodObject<{
336
345
  type: z.ZodLiteral<"workflow">;
346
+ enabled: z.ZodOptional<z.ZodBoolean>;
337
347
  workflowId: z.ZodOptional<z.ZodString>;
338
348
  workflow: z.ZodString;
339
349
  name: z.ZodOptional<z.ZodString>;
@@ -358,6 +368,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
358
368
  }>]>>>;
359
369
  }, "strict", z.ZodTypeAny, {
360
370
  type: "workflow";
371
+ enabled?: boolean | undefined;
361
372
  workflowId?: string | undefined;
362
373
  workflow: string;
363
374
  name?: string | undefined;
@@ -372,6 +383,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
372
383
  }> | undefined;
373
384
  }, {
374
385
  type: "workflow";
386
+ enabled?: boolean | undefined;
375
387
  workflowId?: string | undefined;
376
388
  workflow: string;
377
389
  name?: string | undefined;
@@ -386,6 +398,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
386
398
  }> | undefined;
387
399
  }>, z.ZodObject<{
388
400
  type: z.ZodLiteral<"node">;
401
+ enabled: z.ZodOptional<z.ZodBoolean>;
389
402
  name: z.ZodString;
390
403
  description: z.ZodOptional<z.ZodString>;
391
404
  inputSchema: z.ZodOptional<z.ZodNever>;
@@ -443,6 +456,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
443
456
  requireApproval: z.ZodOptional<z.ZodBoolean>;
444
457
  }, "strict", z.ZodTypeAny, {
445
458
  type: "node";
459
+ enabled?: boolean | undefined;
446
460
  name: string;
447
461
  description?: string | undefined;
448
462
  inputSchema?: undefined;
@@ -462,6 +476,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
462
476
  requireApproval?: boolean | undefined;
463
477
  }, {
464
478
  type: "node";
479
+ enabled?: boolean | undefined;
465
480
  name: string;
466
481
  description?: string | undefined;
467
482
  inputSchema?: undefined;
@@ -481,6 +496,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
481
496
  requireApproval?: boolean | undefined;
482
497
  }>]>, "many">, ({
483
498
  type: "workflow";
499
+ enabled?: boolean | undefined;
484
500
  workflowId?: string | undefined;
485
501
  workflow: string;
486
502
  name?: string | undefined;
@@ -495,6 +511,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
495
511
  }> | undefined;
496
512
  } | {
497
513
  type: "node";
514
+ enabled?: boolean | undefined;
498
515
  name: string;
499
516
  description?: string | undefined;
500
517
  inputSchema?: undefined;
@@ -514,10 +531,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
514
531
  requireApproval?: boolean | undefined;
515
532
  } | {
516
533
  type: "custom";
534
+ enabled?: boolean | undefined;
517
535
  id: string;
518
536
  requireApproval?: boolean | undefined;
519
537
  })[], ({
520
538
  type: "workflow";
539
+ enabled?: boolean | undefined;
521
540
  workflowId?: string | undefined;
522
541
  workflow: string;
523
542
  name?: string | undefined;
@@ -532,6 +551,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
532
551
  }> | undefined;
533
552
  } | {
534
553
  type: "node";
554
+ enabled?: boolean | undefined;
535
555
  name: string;
536
556
  description?: string | undefined;
537
557
  inputSchema?: undefined;
@@ -551,23 +571,29 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
551
571
  requireApproval?: boolean | undefined;
552
572
  } | {
553
573
  type: "custom";
574
+ enabled?: boolean | undefined;
554
575
  id: string;
555
576
  requireApproval?: boolean | undefined;
556
577
  })[]>>;
557
578
  skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
558
579
  type: z.ZodLiteral<"skill">;
580
+ enabled: z.ZodOptional<z.ZodBoolean>;
559
581
  id: z.ZodString;
560
582
  }, "strip", z.ZodTypeAny, {
561
583
  type: "skill";
584
+ enabled?: boolean | undefined;
562
585
  id: string;
563
586
  }, {
564
587
  type: "skill";
588
+ enabled?: boolean | undefined;
565
589
  id: string;
566
590
  }>, "many">, {
567
591
  type: "skill";
592
+ enabled?: boolean | undefined;
568
593
  id: string;
569
594
  }[], {
570
595
  type: "skill";
596
+ enabled?: boolean | undefined;
571
597
  id: string;
572
598
  }[]>>;
573
599
  tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1481,6 +1507,48 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1481
1507
  }>>;
1482
1508
  toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
1483
1509
  maxIterations: z.ZodOptional<z.ZodNumber>;
1510
+ guardrails: z.ZodOptional<z.ZodObject<{
1511
+ budget: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1512
+ enabled: z.ZodBoolean;
1513
+ monthlyBudgetUsd: z.ZodOptional<z.ZodNumber>;
1514
+ alertThresholdPercent: z.ZodOptional<z.ZodNumber>;
1515
+ sessionCostCapUsd: z.ZodOptional<z.ZodNumber>;
1516
+ }, "strip", z.ZodTypeAny, {
1517
+ enabled: boolean;
1518
+ monthlyBudgetUsd?: number | undefined;
1519
+ alertThresholdPercent?: number | undefined;
1520
+ sessionCostCapUsd?: number | undefined;
1521
+ }, {
1522
+ enabled: boolean;
1523
+ monthlyBudgetUsd?: number | undefined;
1524
+ alertThresholdPercent?: number | undefined;
1525
+ sessionCostCapUsd?: number | undefined;
1526
+ }>, {
1527
+ enabled: boolean;
1528
+ monthlyBudgetUsd?: number | undefined;
1529
+ alertThresholdPercent?: number | undefined;
1530
+ sessionCostCapUsd?: number | undefined;
1531
+ }, {
1532
+ enabled: boolean;
1533
+ monthlyBudgetUsd?: number | undefined;
1534
+ alertThresholdPercent?: number | undefined;
1535
+ sessionCostCapUsd?: number | undefined;
1536
+ }>>;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ budget?: {
1539
+ enabled: boolean;
1540
+ monthlyBudgetUsd?: number | undefined;
1541
+ alertThresholdPercent?: number | undefined;
1542
+ sessionCostCapUsd?: number | undefined;
1543
+ } | undefined;
1544
+ }, {
1545
+ budget?: {
1546
+ enabled: boolean;
1547
+ monthlyBudgetUsd?: number | undefined;
1548
+ alertThresholdPercent?: number | undefined;
1549
+ sessionCostCapUsd?: number | undefined;
1550
+ } | undefined;
1551
+ }>>;
1484
1552
  }, "strip", z.ZodTypeAny, {
1485
1553
  reasoning?: "high" | "low" | "medium" | undefined;
1486
1554
  promptCaching?: {
@@ -1496,6 +1564,14 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1496
1564
  } | undefined;
1497
1565
  toolCallConcurrency?: number | undefined;
1498
1566
  maxIterations?: number | undefined;
1567
+ guardrails?: {
1568
+ budget?: {
1569
+ enabled: boolean;
1570
+ monthlyBudgetUsd?: number | undefined;
1571
+ alertThresholdPercent?: number | undefined;
1572
+ sessionCostCapUsd?: number | undefined;
1573
+ } | undefined;
1574
+ } | undefined;
1499
1575
  }, {
1500
1576
  reasoning?: "high" | "low" | "medium" | undefined;
1501
1577
  promptCaching?: {
@@ -1511,10 +1587,19 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1511
1587
  } | undefined;
1512
1588
  toolCallConcurrency?: number | undefined;
1513
1589
  maxIterations?: number | undefined;
1590
+ guardrails?: {
1591
+ budget?: {
1592
+ enabled: boolean;
1593
+ monthlyBudgetUsd?: number | undefined;
1594
+ alertThresholdPercent?: number | undefined;
1595
+ sessionCostCapUsd?: number | undefined;
1596
+ } | undefined;
1597
+ } | undefined;
1514
1598
  }>>;
1515
1599
  }, "credential" | "instructions" | "model" | "name" | "skills"> & {
1516
1600
  tools: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<{
1517
1601
  type: z.ZodLiteral<"workflow">;
1602
+ enabled: z.ZodOptional<z.ZodBoolean>;
1518
1603
  workflowId: z.ZodOptional<z.ZodString>;
1519
1604
  workflow: z.ZodString;
1520
1605
  name: z.ZodOptional<z.ZodString>;
@@ -1539,6 +1624,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1539
1624
  }>]>>>;
1540
1625
  }, "requireApproval">, "strict", z.ZodTypeAny, {
1541
1626
  type: "workflow";
1627
+ enabled?: boolean | undefined;
1542
1628
  workflowId?: string | undefined;
1543
1629
  workflow: string;
1544
1630
  name?: string | undefined;
@@ -1552,6 +1638,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1552
1638
  }> | undefined;
1553
1639
  }, {
1554
1640
  type: "workflow";
1641
+ enabled?: boolean | undefined;
1555
1642
  workflowId?: string | undefined;
1556
1643
  workflow: string;
1557
1644
  name?: string | undefined;
@@ -1565,6 +1652,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1565
1652
  }> | undefined;
1566
1653
  }>, z.ZodObject<Omit<{
1567
1654
  type: z.ZodLiteral<"node">;
1655
+ enabled: z.ZodOptional<z.ZodBoolean>;
1568
1656
  name: z.ZodString;
1569
1657
  description: z.ZodOptional<z.ZodString>;
1570
1658
  inputSchema: z.ZodOptional<z.ZodNever>;
@@ -1622,6 +1710,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1622
1710
  requireApproval: z.ZodOptional<z.ZodBoolean>;
1623
1711
  }, "requireApproval">, "strict", z.ZodTypeAny, {
1624
1712
  type: "node";
1713
+ enabled?: boolean | undefined;
1625
1714
  name: string;
1626
1715
  description?: string | undefined;
1627
1716
  inputSchema?: undefined;
@@ -1640,6 +1729,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1640
1729
  };
1641
1730
  }, {
1642
1731
  type: "node";
1732
+ enabled?: boolean | undefined;
1643
1733
  name: string;
1644
1734
  description?: string | undefined;
1645
1735
  inputSchema?: undefined;
@@ -1859,10 +1949,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1859
1949
  instructions: string;
1860
1950
  skills?: {
1861
1951
  type: "skill";
1952
+ enabled?: boolean | undefined;
1862
1953
  id: string;
1863
1954
  }[] | undefined;
1864
1955
  tools?: ({
1865
1956
  type: "workflow";
1957
+ enabled?: boolean | undefined;
1866
1958
  workflowId?: string | undefined;
1867
1959
  workflow: string;
1868
1960
  name?: string | undefined;
@@ -1876,6 +1968,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1876
1968
  }> | undefined;
1877
1969
  } | {
1878
1970
  type: "node";
1971
+ enabled?: boolean | undefined;
1879
1972
  name: string;
1880
1973
  description?: string | undefined;
1881
1974
  inputSchema?: undefined;
@@ -1925,10 +2018,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1925
2018
  instructions: string;
1926
2019
  skills?: {
1927
2020
  type: "skill";
2021
+ enabled?: boolean | undefined;
1928
2022
  id: string;
1929
2023
  }[] | undefined;
1930
2024
  tools?: ({
1931
2025
  type: "workflow";
2026
+ enabled?: boolean | undefined;
1932
2027
  workflowId?: string | undefined;
1933
2028
  workflow: string;
1934
2029
  name?: string | undefined;
@@ -1942,6 +2037,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1942
2037
  }> | undefined;
1943
2038
  } | {
1944
2039
  type: "node";
2040
+ enabled?: boolean | undefined;
1945
2041
  name: string;
1946
2042
  description?: string | undefined;
1947
2043
  inputSchema?: undefined;
@@ -1988,6 +2084,7 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
1988
2084
  export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
1989
2085
  config: z.ZodObject<Pick<{
1990
2086
  name: z.ZodString;
2087
+ description: z.ZodOptional<z.ZodString>;
1991
2088
  model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
1992
2089
  credential: z.ZodOptional<z.ZodString>;
1993
2090
  modelDeploymentName: z.ZodOptional<z.ZodString>;
@@ -2201,12 +2298,15 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2201
2298
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2202
2299
  agentId: z.ZodString;
2203
2300
  useWhen: z.ZodOptional<z.ZodString>;
2301
+ enabled: z.ZodOptional<z.ZodBoolean>;
2204
2302
  }, "strict", z.ZodTypeAny, {
2205
2303
  agentId: string;
2206
2304
  useWhen?: string | undefined;
2305
+ enabled?: boolean | undefined;
2207
2306
  }, {
2208
2307
  agentId: string;
2209
2308
  useWhen?: string | undefined;
2309
+ enabled?: boolean | undefined;
2210
2310
  }>, "many">>;
2211
2311
  modelsByDifficulty: z.ZodOptional<z.ZodObject<{
2212
2312
  low: z.ZodOptional<z.ZodObject<{
@@ -2271,6 +2371,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2271
2371
  agents?: {
2272
2372
  agentId: string;
2273
2373
  useWhen?: string | undefined;
2374
+ enabled?: boolean | undefined;
2274
2375
  }[] | undefined;
2275
2376
  modelsByDifficulty?: {
2276
2377
  low?: {
@@ -2291,6 +2392,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2291
2392
  agents?: {
2292
2393
  agentId: string;
2293
2394
  useWhen?: string | undefined;
2395
+ enabled?: boolean | undefined;
2294
2396
  }[] | undefined;
2295
2397
  modelsByDifficulty?: {
2296
2398
  low?: {
@@ -2309,18 +2411,22 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2309
2411
  }>>;
2310
2412
  tools: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2311
2413
  type: z.ZodLiteral<"custom">;
2414
+ enabled: z.ZodOptional<z.ZodBoolean>;
2312
2415
  id: z.ZodString;
2313
2416
  requireApproval: z.ZodOptional<z.ZodBoolean>;
2314
2417
  }, "strip", z.ZodTypeAny, {
2315
2418
  type: "custom";
2419
+ enabled?: boolean | undefined;
2316
2420
  id: string;
2317
2421
  requireApproval?: boolean | undefined;
2318
2422
  }, {
2319
2423
  type: "custom";
2424
+ enabled?: boolean | undefined;
2320
2425
  id: string;
2321
2426
  requireApproval?: boolean | undefined;
2322
2427
  }>, z.ZodObject<{
2323
2428
  type: z.ZodLiteral<"workflow">;
2429
+ enabled: z.ZodOptional<z.ZodBoolean>;
2324
2430
  workflowId: z.ZodOptional<z.ZodString>;
2325
2431
  workflow: z.ZodString;
2326
2432
  name: z.ZodOptional<z.ZodString>;
@@ -2345,6 +2451,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2345
2451
  }>]>>>;
2346
2452
  }, "strict", z.ZodTypeAny, {
2347
2453
  type: "workflow";
2454
+ enabled?: boolean | undefined;
2348
2455
  workflowId?: string | undefined;
2349
2456
  workflow: string;
2350
2457
  name?: string | undefined;
@@ -2359,6 +2466,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2359
2466
  }> | undefined;
2360
2467
  }, {
2361
2468
  type: "workflow";
2469
+ enabled?: boolean | undefined;
2362
2470
  workflowId?: string | undefined;
2363
2471
  workflow: string;
2364
2472
  name?: string | undefined;
@@ -2373,6 +2481,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2373
2481
  }> | undefined;
2374
2482
  }>, z.ZodObject<{
2375
2483
  type: z.ZodLiteral<"node">;
2484
+ enabled: z.ZodOptional<z.ZodBoolean>;
2376
2485
  name: z.ZodString;
2377
2486
  description: z.ZodOptional<z.ZodString>;
2378
2487
  inputSchema: z.ZodOptional<z.ZodNever>;
@@ -2430,6 +2539,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2430
2539
  requireApproval: z.ZodOptional<z.ZodBoolean>;
2431
2540
  }, "strict", z.ZodTypeAny, {
2432
2541
  type: "node";
2542
+ enabled?: boolean | undefined;
2433
2543
  name: string;
2434
2544
  description?: string | undefined;
2435
2545
  inputSchema?: undefined;
@@ -2449,6 +2559,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2449
2559
  requireApproval?: boolean | undefined;
2450
2560
  }, {
2451
2561
  type: "node";
2562
+ enabled?: boolean | undefined;
2452
2563
  name: string;
2453
2564
  description?: string | undefined;
2454
2565
  inputSchema?: undefined;
@@ -2468,6 +2579,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2468
2579
  requireApproval?: boolean | undefined;
2469
2580
  }>]>, "many">, ({
2470
2581
  type: "workflow";
2582
+ enabled?: boolean | undefined;
2471
2583
  workflowId?: string | undefined;
2472
2584
  workflow: string;
2473
2585
  name?: string | undefined;
@@ -2482,6 +2594,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2482
2594
  }> | undefined;
2483
2595
  } | {
2484
2596
  type: "node";
2597
+ enabled?: boolean | undefined;
2485
2598
  name: string;
2486
2599
  description?: string | undefined;
2487
2600
  inputSchema?: undefined;
@@ -2501,10 +2614,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2501
2614
  requireApproval?: boolean | undefined;
2502
2615
  } | {
2503
2616
  type: "custom";
2617
+ enabled?: boolean | undefined;
2504
2618
  id: string;
2505
2619
  requireApproval?: boolean | undefined;
2506
2620
  })[], ({
2507
2621
  type: "workflow";
2622
+ enabled?: boolean | undefined;
2508
2623
  workflowId?: string | undefined;
2509
2624
  workflow: string;
2510
2625
  name?: string | undefined;
@@ -2519,6 +2634,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2519
2634
  }> | undefined;
2520
2635
  } | {
2521
2636
  type: "node";
2637
+ enabled?: boolean | undefined;
2522
2638
  name: string;
2523
2639
  description?: string | undefined;
2524
2640
  inputSchema?: undefined;
@@ -2538,23 +2654,29 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
2538
2654
  requireApproval?: boolean | undefined;
2539
2655
  } | {
2540
2656
  type: "custom";
2657
+ enabled?: boolean | undefined;
2541
2658
  id: string;
2542
2659
  requireApproval?: boolean | undefined;
2543
2660
  })[]>>;
2544
2661
  skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
2545
2662
  type: z.ZodLiteral<"skill">;
2663
+ enabled: z.ZodOptional<z.ZodBoolean>;
2546
2664
  id: z.ZodString;
2547
2665
  }, "strip", z.ZodTypeAny, {
2548
2666
  type: "skill";
2667
+ enabled?: boolean | undefined;
2549
2668
  id: string;
2550
2669
  }, {
2551
2670
  type: "skill";
2671
+ enabled?: boolean | undefined;
2552
2672
  id: string;
2553
2673
  }>, "many">, {
2554
2674
  type: "skill";
2675
+ enabled?: boolean | undefined;
2555
2676
  id: string;
2556
2677
  }[], {
2557
2678
  type: "skill";
2679
+ enabled?: boolean | undefined;
2558
2680
  id: string;
2559
2681
  }[]>>;
2560
2682
  tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3468,6 +3590,48 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3468
3590
  }>>;
3469
3591
  toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
3470
3592
  maxIterations: z.ZodOptional<z.ZodNumber>;
3593
+ guardrails: z.ZodOptional<z.ZodObject<{
3594
+ budget: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3595
+ enabled: z.ZodBoolean;
3596
+ monthlyBudgetUsd: z.ZodOptional<z.ZodNumber>;
3597
+ alertThresholdPercent: z.ZodOptional<z.ZodNumber>;
3598
+ sessionCostCapUsd: z.ZodOptional<z.ZodNumber>;
3599
+ }, "strip", z.ZodTypeAny, {
3600
+ enabled: boolean;
3601
+ monthlyBudgetUsd?: number | undefined;
3602
+ alertThresholdPercent?: number | undefined;
3603
+ sessionCostCapUsd?: number | undefined;
3604
+ }, {
3605
+ enabled: boolean;
3606
+ monthlyBudgetUsd?: number | undefined;
3607
+ alertThresholdPercent?: number | undefined;
3608
+ sessionCostCapUsd?: number | undefined;
3609
+ }>, {
3610
+ enabled: boolean;
3611
+ monthlyBudgetUsd?: number | undefined;
3612
+ alertThresholdPercent?: number | undefined;
3613
+ sessionCostCapUsd?: number | undefined;
3614
+ }, {
3615
+ enabled: boolean;
3616
+ monthlyBudgetUsd?: number | undefined;
3617
+ alertThresholdPercent?: number | undefined;
3618
+ sessionCostCapUsd?: number | undefined;
3619
+ }>>;
3620
+ }, "strip", z.ZodTypeAny, {
3621
+ budget?: {
3622
+ enabled: boolean;
3623
+ monthlyBudgetUsd?: number | undefined;
3624
+ alertThresholdPercent?: number | undefined;
3625
+ sessionCostCapUsd?: number | undefined;
3626
+ } | undefined;
3627
+ }, {
3628
+ budget?: {
3629
+ enabled: boolean;
3630
+ monthlyBudgetUsd?: number | undefined;
3631
+ alertThresholdPercent?: number | undefined;
3632
+ sessionCostCapUsd?: number | undefined;
3633
+ } | undefined;
3634
+ }>>;
3471
3635
  }, "strip", z.ZodTypeAny, {
3472
3636
  reasoning?: "high" | "low" | "medium" | undefined;
3473
3637
  promptCaching?: {
@@ -3483,6 +3647,14 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3483
3647
  } | undefined;
3484
3648
  toolCallConcurrency?: number | undefined;
3485
3649
  maxIterations?: number | undefined;
3650
+ guardrails?: {
3651
+ budget?: {
3652
+ enabled: boolean;
3653
+ monthlyBudgetUsd?: number | undefined;
3654
+ alertThresholdPercent?: number | undefined;
3655
+ sessionCostCapUsd?: number | undefined;
3656
+ } | undefined;
3657
+ } | undefined;
3486
3658
  }, {
3487
3659
  reasoning?: "high" | "low" | "medium" | undefined;
3488
3660
  promptCaching?: {
@@ -3498,10 +3670,19 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3498
3670
  } | undefined;
3499
3671
  toolCallConcurrency?: number | undefined;
3500
3672
  maxIterations?: number | undefined;
3673
+ guardrails?: {
3674
+ budget?: {
3675
+ enabled: boolean;
3676
+ monthlyBudgetUsd?: number | undefined;
3677
+ alertThresholdPercent?: number | undefined;
3678
+ sessionCostCapUsd?: number | undefined;
3679
+ } | undefined;
3680
+ } | undefined;
3501
3681
  }>>;
3502
3682
  }, "credential" | "instructions" | "model" | "name" | "skills"> & {
3503
3683
  tools: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<{
3504
3684
  type: z.ZodLiteral<"workflow">;
3685
+ enabled: z.ZodOptional<z.ZodBoolean>;
3505
3686
  workflowId: z.ZodOptional<z.ZodString>;
3506
3687
  workflow: z.ZodString;
3507
3688
  name: z.ZodOptional<z.ZodString>;
@@ -3526,6 +3707,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3526
3707
  }>]>>>;
3527
3708
  }, "requireApproval">, "strict", z.ZodTypeAny, {
3528
3709
  type: "workflow";
3710
+ enabled?: boolean | undefined;
3529
3711
  workflowId?: string | undefined;
3530
3712
  workflow: string;
3531
3713
  name?: string | undefined;
@@ -3539,6 +3721,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3539
3721
  }> | undefined;
3540
3722
  }, {
3541
3723
  type: "workflow";
3724
+ enabled?: boolean | undefined;
3542
3725
  workflowId?: string | undefined;
3543
3726
  workflow: string;
3544
3727
  name?: string | undefined;
@@ -3552,6 +3735,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3552
3735
  }> | undefined;
3553
3736
  }>, z.ZodObject<Omit<{
3554
3737
  type: z.ZodLiteral<"node">;
3738
+ enabled: z.ZodOptional<z.ZodBoolean>;
3555
3739
  name: z.ZodString;
3556
3740
  description: z.ZodOptional<z.ZodString>;
3557
3741
  inputSchema: z.ZodOptional<z.ZodNever>;
@@ -3609,6 +3793,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3609
3793
  requireApproval: z.ZodOptional<z.ZodBoolean>;
3610
3794
  }, "requireApproval">, "strict", z.ZodTypeAny, {
3611
3795
  type: "node";
3796
+ enabled?: boolean | undefined;
3612
3797
  name: string;
3613
3798
  description?: string | undefined;
3614
3799
  inputSchema?: undefined;
@@ -3627,6 +3812,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3627
3812
  };
3628
3813
  }, {
3629
3814
  type: "node";
3815
+ enabled?: boolean | undefined;
3630
3816
  name: string;
3631
3817
  description?: string | undefined;
3632
3818
  inputSchema?: undefined;
@@ -3846,10 +4032,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3846
4032
  instructions: string;
3847
4033
  skills?: {
3848
4034
  type: "skill";
4035
+ enabled?: boolean | undefined;
3849
4036
  id: string;
3850
4037
  }[] | undefined;
3851
4038
  tools?: ({
3852
4039
  type: "workflow";
4040
+ enabled?: boolean | undefined;
3853
4041
  workflowId?: string | undefined;
3854
4042
  workflow: string;
3855
4043
  name?: string | undefined;
@@ -3863,6 +4051,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3863
4051
  }> | undefined;
3864
4052
  } | {
3865
4053
  type: "node";
4054
+ enabled?: boolean | undefined;
3866
4055
  name: string;
3867
4056
  description?: string | undefined;
3868
4057
  inputSchema?: undefined;
@@ -3912,10 +4101,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3912
4101
  instructions: string;
3913
4102
  skills?: {
3914
4103
  type: "skill";
4104
+ enabled?: boolean | undefined;
3915
4105
  id: string;
3916
4106
  }[] | undefined;
3917
4107
  tools?: ({
3918
4108
  type: "workflow";
4109
+ enabled?: boolean | undefined;
3919
4110
  workflowId?: string | undefined;
3920
4111
  workflow: string;
3921
4112
  name?: string | undefined;
@@ -3929,6 +4120,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
3929
4120
  }> | undefined;
3930
4121
  } | {
3931
4122
  type: "node";
4123
+ enabled?: boolean | undefined;
3932
4124
  name: string;
3933
4125
  description?: string | undefined;
3934
4126
  inputSchema?: undefined;
@@ -4035,10 +4227,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4035
4227
  instructions: string;
4036
4228
  skills?: {
4037
4229
  type: "skill";
4230
+ enabled?: boolean | undefined;
4038
4231
  id: string;
4039
4232
  }[] | undefined;
4040
4233
  tools?: ({
4041
4234
  type: "workflow";
4235
+ enabled?: boolean | undefined;
4042
4236
  workflowId?: string | undefined;
4043
4237
  workflow: string;
4044
4238
  name?: string | undefined;
@@ -4052,6 +4246,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4052
4246
  }> | undefined;
4053
4247
  } | {
4054
4248
  type: "node";
4249
+ enabled?: boolean | undefined;
4055
4250
  name: string;
4056
4251
  description?: string | undefined;
4057
4252
  inputSchema?: undefined;
@@ -4118,10 +4313,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4118
4313
  instructions: string;
4119
4314
  skills?: {
4120
4315
  type: "skill";
4316
+ enabled?: boolean | undefined;
4121
4317
  id: string;
4122
4318
  }[] | undefined;
4123
4319
  tools?: ({
4124
4320
  type: "workflow";
4321
+ enabled?: boolean | undefined;
4125
4322
  workflowId?: string | undefined;
4126
4323
  workflow: string;
4127
4324
  name?: string | undefined;
@@ -4135,6 +4332,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4135
4332
  }> | undefined;
4136
4333
  } | {
4137
4334
  type: "node";
4335
+ enabled?: boolean | undefined;
4138
4336
  name: string;
4139
4337
  description?: string | undefined;
4140
4338
  inputSchema?: undefined;
@@ -4201,10 +4399,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4201
4399
  instructions: string;
4202
4400
  skills?: {
4203
4401
  type: "skill";
4402
+ enabled?: boolean | undefined;
4204
4403
  id: string;
4205
4404
  }[] | undefined;
4206
4405
  tools?: ({
4207
4406
  type: "workflow";
4407
+ enabled?: boolean | undefined;
4208
4408
  workflowId?: string | undefined;
4209
4409
  workflow: string;
4210
4410
  name?: string | undefined;
@@ -4218,6 +4418,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4218
4418
  }> | undefined;
4219
4419
  } | {
4220
4420
  type: "node";
4421
+ enabled?: boolean | undefined;
4221
4422
  name: string;
4222
4423
  description?: string | undefined;
4223
4424
  inputSchema?: undefined;
@@ -4284,10 +4485,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4284
4485
  instructions: string;
4285
4486
  skills?: {
4286
4487
  type: "skill";
4488
+ enabled?: boolean | undefined;
4287
4489
  id: string;
4288
4490
  }[] | undefined;
4289
4491
  tools?: ({
4290
4492
  type: "workflow";
4493
+ enabled?: boolean | undefined;
4291
4494
  workflowId?: string | undefined;
4292
4495
  workflow: string;
4293
4496
  name?: string | undefined;
@@ -4301,6 +4504,7 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4301
4504
  }> | undefined;
4302
4505
  } | {
4303
4506
  type: "node";
4507
+ enabled?: boolean | undefined;
4304
4508
  name: string;
4305
4509
  description?: string | undefined;
4306
4510
  inputSchema?: undefined;
@@ -4366,22 +4570,28 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4366
4570
  instructions: z.ZodString;
4367
4571
  skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
4368
4572
  type: z.ZodLiteral<"skill">;
4573
+ enabled: z.ZodOptional<z.ZodBoolean>;
4369
4574
  id: z.ZodString;
4370
4575
  }, "strip", z.ZodTypeAny, {
4371
4576
  type: "skill";
4577
+ enabled?: boolean | undefined;
4372
4578
  id: string;
4373
4579
  }, {
4374
4580
  type: "skill";
4581
+ enabled?: boolean | undefined;
4375
4582
  id: string;
4376
4583
  }>, "many">, {
4377
4584
  type: "skill";
4585
+ enabled?: boolean | undefined;
4378
4586
  id: string;
4379
4587
  }[], {
4380
4588
  type: "skill";
4589
+ enabled?: boolean | undefined;
4381
4590
  id: string;
4382
4591
  }[]>>;
4383
4592
  tools: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<{
4384
4593
  type: z.ZodLiteral<"workflow">;
4594
+ enabled: z.ZodOptional<z.ZodBoolean>;
4385
4595
  workflowId: z.ZodOptional<z.ZodString>;
4386
4596
  workflow: z.ZodString;
4387
4597
  name: z.ZodOptional<z.ZodString>;
@@ -4406,6 +4616,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4406
4616
  }>]>>>;
4407
4617
  }, "requireApproval">, "strict", z.ZodTypeAny, {
4408
4618
  type: "workflow";
4619
+ enabled?: boolean | undefined;
4409
4620
  workflowId?: string | undefined;
4410
4621
  workflow: string;
4411
4622
  name?: string | undefined;
@@ -4419,6 +4630,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4419
4630
  }> | undefined;
4420
4631
  }, {
4421
4632
  type: "workflow";
4633
+ enabled?: boolean | undefined;
4422
4634
  workflowId?: string | undefined;
4423
4635
  workflow: string;
4424
4636
  name?: string | undefined;
@@ -4432,6 +4644,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4432
4644
  }> | undefined;
4433
4645
  }>, z.ZodObject<Omit<{
4434
4646
  type: z.ZodLiteral<"node">;
4647
+ enabled: z.ZodOptional<z.ZodBoolean>;
4435
4648
  name: z.ZodString;
4436
4649
  description: z.ZodOptional<z.ZodString>;
4437
4650
  inputSchema: z.ZodOptional<z.ZodNever>;
@@ -4489,6 +4702,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4489
4702
  requireApproval: z.ZodOptional<z.ZodBoolean>;
4490
4703
  }, "requireApproval">, "strict", z.ZodTypeAny, {
4491
4704
  type: "node";
4705
+ enabled?: boolean | undefined;
4492
4706
  name: string;
4493
4707
  description?: string | undefined;
4494
4708
  inputSchema?: undefined;
@@ -4507,6 +4721,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4507
4721
  };
4508
4722
  }, {
4509
4723
  type: "node";
4724
+ enabled?: boolean | undefined;
4510
4725
  name: string;
4511
4726
  description?: string | undefined;
4512
4727
  inputSchema?: undefined;
@@ -4727,10 +4942,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4727
4942
  instructions: string;
4728
4943
  skills?: {
4729
4944
  type: "skill";
4945
+ enabled?: boolean | undefined;
4730
4946
  id: string;
4731
4947
  }[] | undefined;
4732
4948
  tools?: ({
4733
4949
  type: "workflow";
4950
+ enabled?: boolean | undefined;
4734
4951
  workflowId?: string | undefined;
4735
4952
  workflow: string;
4736
4953
  name?: string | undefined;
@@ -4744,6 +4961,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4744
4961
  }> | undefined;
4745
4962
  } | {
4746
4963
  type: "node";
4964
+ enabled?: boolean | undefined;
4747
4965
  name: string;
4748
4966
  description?: string | undefined;
4749
4967
  inputSchema?: undefined;
@@ -4793,10 +5011,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4793
5011
  instructions: string;
4794
5012
  skills?: {
4795
5013
  type: "skill";
5014
+ enabled?: boolean | undefined;
4796
5015
  id: string;
4797
5016
  }[] | undefined;
4798
5017
  tools?: ({
4799
5018
  type: "workflow";
5019
+ enabled?: boolean | undefined;
4800
5020
  workflowId?: string | undefined;
4801
5021
  workflow: string;
4802
5022
  name?: string | undefined;
@@ -4810,6 +5030,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4810
5030
  }> | undefined;
4811
5031
  } | {
4812
5032
  type: "node";
5033
+ enabled?: boolean | undefined;
4813
5034
  name: string;
4814
5035
  description?: string | undefined;
4815
5036
  inputSchema?: undefined;
@@ -4916,10 +5137,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4916
5137
  instructions: string;
4917
5138
  skills?: {
4918
5139
  type: "skill";
5140
+ enabled?: boolean | undefined;
4919
5141
  id: string;
4920
5142
  }[] | undefined;
4921
5143
  tools?: ({
4922
5144
  type: "workflow";
5145
+ enabled?: boolean | undefined;
4923
5146
  workflowId?: string | undefined;
4924
5147
  workflow: string;
4925
5148
  name?: string | undefined;
@@ -4933,6 +5156,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4933
5156
  }> | undefined;
4934
5157
  } | {
4935
5158
  type: "node";
5159
+ enabled?: boolean | undefined;
4936
5160
  name: string;
4937
5161
  description?: string | undefined;
4938
5162
  inputSchema?: undefined;
@@ -4999,10 +5223,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
4999
5223
  instructions: string;
5000
5224
  skills?: {
5001
5225
  type: "skill";
5226
+ enabled?: boolean | undefined;
5002
5227
  id: string;
5003
5228
  }[] | undefined;
5004
5229
  tools?: ({
5005
5230
  type: "workflow";
5231
+ enabled?: boolean | undefined;
5006
5232
  workflowId?: string | undefined;
5007
5233
  workflow: string;
5008
5234
  name?: string | undefined;
@@ -5016,6 +5242,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
5016
5242
  }> | undefined;
5017
5243
  } | {
5018
5244
  type: "node";
5245
+ enabled?: boolean | undefined;
5019
5246
  name: string;
5020
5247
  description?: string | undefined;
5021
5248
  inputSchema?: undefined;
@@ -5082,10 +5309,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
5082
5309
  instructions: string;
5083
5310
  skills?: {
5084
5311
  type: "skill";
5312
+ enabled?: boolean | undefined;
5085
5313
  id: string;
5086
5314
  }[] | undefined;
5087
5315
  tools?: ({
5088
5316
  type: "workflow";
5317
+ enabled?: boolean | undefined;
5089
5318
  workflowId?: string | undefined;
5090
5319
  workflow: string;
5091
5320
  name?: string | undefined;
@@ -5099,6 +5328,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
5099
5328
  }> | undefined;
5100
5329
  } | {
5101
5330
  type: "node";
5331
+ enabled?: boolean | undefined;
5102
5332
  name: string;
5103
5333
  description?: string | undefined;
5104
5334
  inputSchema?: undefined;
@@ -5165,10 +5395,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
5165
5395
  instructions: string;
5166
5396
  skills?: {
5167
5397
  type: "skill";
5398
+ enabled?: boolean | undefined;
5168
5399
  id: string;
5169
5400
  }[] | undefined;
5170
5401
  tools?: ({
5171
5402
  type: "workflow";
5403
+ enabled?: boolean | undefined;
5172
5404
  workflowId?: string | undefined;
5173
5405
  workflow: string;
5174
5406
  name?: string | undefined;
@@ -5182,6 +5414,7 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
5182
5414
  }> | undefined;
5183
5415
  } | {
5184
5416
  type: "node";
5417
+ enabled?: boolean | undefined;
5185
5418
  name: string;
5186
5419
  description?: string | undefined;
5187
5420
  inputSchema?: undefined;