@ai-matrx/api 0.1.11 → 0.1.12

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 (124) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/account.d.cts +2 -2
  3. package/dist/account.d.ts +2 -2
  4. package/dist/agents.cjs +34 -16
  5. package/dist/agents.d.cts +106 -12
  6. package/dist/agents.d.ts +106 -12
  7. package/dist/agents.js +22 -7
  8. package/dist/ai.cjs +3 -3
  9. package/dist/ai.d.cts +3 -3
  10. package/dist/ai.d.ts +3 -3
  11. package/dist/ai.js +2 -2
  12. package/dist/apps.cjs +5 -5
  13. package/dist/apps.d.cts +2 -2
  14. package/dist/apps.d.ts +2 -2
  15. package/dist/apps.js +1 -1
  16. package/dist/architecture.cjs +74 -26
  17. package/dist/architecture.d.cts +246 -20
  18. package/dist/architecture.d.ts +246 -20
  19. package/dist/architecture.js +56 -16
  20. package/dist/audio.cjs +4 -4
  21. package/dist/audio.d.cts +2 -2
  22. package/dist/audio.d.ts +2 -2
  23. package/dist/audio.js +1 -1
  24. package/dist/chat.cjs +11 -11
  25. package/dist/chat.d.cts +7 -15
  26. package/dist/chat.d.ts +7 -15
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-6KHHHBG5.js → chunk-ILLQUHLF.js} +30 -8
  29. package/dist/{chunk-2ZHIYXHV.cjs → chunk-U63KIQSS.cjs} +29 -6
  30. package/dist/code.cjs +18 -6
  31. package/dist/code.d.cts +35 -3
  32. package/dist/code.d.ts +35 -3
  33. package/dist/code.js +12 -2
  34. package/dist/commerce.d.cts +2 -2
  35. package/dist/commerce.d.ts +2 -2
  36. package/dist/communications.cjs +4 -4
  37. package/dist/communications.d.cts +2 -2
  38. package/dist/communications.d.ts +2 -2
  39. package/dist/communications.js +1 -1
  40. package/dist/computer.cjs +3 -3
  41. package/dist/computer.d.cts +2 -2
  42. package/dist/computer.d.ts +2 -2
  43. package/dist/computer.js +1 -1
  44. package/dist/content.cjs +43 -43
  45. package/dist/content.d.cts +133 -114
  46. package/dist/content.d.ts +133 -114
  47. package/dist/content.js +34 -34
  48. package/dist/crm.cjs +2 -2
  49. package/dist/crm.d.cts +20 -20
  50. package/dist/crm.d.ts +20 -20
  51. package/dist/crm.js +1 -1
  52. package/dist/data.cjs +73 -0
  53. package/dist/data.d.cts +466 -13
  54. package/dist/data.d.ts +466 -13
  55. package/dist/data.js +62 -1
  56. package/dist/education.cjs +4 -4
  57. package/dist/education.d.cts +2 -2
  58. package/dist/education.d.ts +2 -2
  59. package/dist/education.js +1 -1
  60. package/dist/files.cjs +21 -21
  61. package/dist/files.d.cts +14 -5
  62. package/dist/files.d.ts +14 -5
  63. package/dist/files.js +3 -3
  64. package/dist/human-resources.d.cts +2 -2
  65. package/dist/human-resources.d.ts +2 -2
  66. package/dist/{index-Gj30ybjE.d.cts → index-BSrN3TFD.d.cts} +5 -3
  67. package/dist/{index-Gj30ybjE.d.ts → index-BSrN3TFD.d.ts} +5 -3
  68. package/dist/index.cjs +73 -69
  69. package/dist/index.d.cts +2 -2
  70. package/dist/index.d.ts +2 -2
  71. package/dist/index.js +3 -3
  72. package/dist/integrations.cjs +113 -5
  73. package/dist/integrations.d.cts +389 -14
  74. package/dist/integrations.d.ts +389 -14
  75. package/dist/integrations.js +94 -4
  76. package/dist/intelligence.cjs +12 -6
  77. package/dist/intelligence.d.cts +69 -4
  78. package/dist/intelligence.d.ts +69 -4
  79. package/dist/intelligence.js +7 -2
  80. package/dist/knowledge.cjs +43 -43
  81. package/dist/knowledge.d.cts +4 -3
  82. package/dist/knowledge.d.ts +4 -3
  83. package/dist/knowledge.js +2 -2
  84. package/dist/legal.cjs +6 -6
  85. package/dist/legal.d.cts +2 -2
  86. package/dist/legal.d.ts +2 -2
  87. package/dist/legal.js +1 -1
  88. package/dist/marketing.cjs +134 -100
  89. package/dist/marketing.d.cts +151 -30
  90. package/dist/marketing.d.ts +151 -30
  91. package/dist/marketing.js +54 -26
  92. package/dist/masterwork.cjs +32 -32
  93. package/dist/masterwork.d.cts +2 -2
  94. package/dist/masterwork.d.ts +2 -2
  95. package/dist/masterwork.js +1 -1
  96. package/dist/media.cjs +11 -11
  97. package/dist/media.d.cts +11 -11
  98. package/dist/media.d.ts +11 -11
  99. package/dist/media.js +1 -1
  100. package/dist/platform.cjs +3 -3
  101. package/dist/platform.d.cts +2 -2
  102. package/dist/platform.d.ts +2 -2
  103. package/dist/platform.js +1 -1
  104. package/dist/publish.cjs +7 -7
  105. package/dist/publish.d.cts +4 -2
  106. package/dist/publish.d.ts +4 -2
  107. package/dist/publish.js +1 -1
  108. package/dist/schemas.d.cts +16 -3
  109. package/dist/schemas.d.ts +16 -3
  110. package/dist/stream.cjs +10 -10
  111. package/dist/stream.d.cts +1 -1
  112. package/dist/stream.d.ts +1 -1
  113. package/dist/stream.js +1 -1
  114. package/dist/types.d.cts +1366 -145
  115. package/dist/types.d.ts +1366 -145
  116. package/dist/web.cjs +26 -26
  117. package/dist/web.d.cts +29 -14
  118. package/dist/web.d.ts +29 -14
  119. package/dist/web.js +1 -1
  120. package/dist/workflows.cjs +19 -13
  121. package/dist/workflows.d.cts +39 -4
  122. package/dist/workflows.d.ts +39 -4
  123. package/dist/workflows.js +7 -2
  124. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @ai-matrx/api
2
2
 
3
+ ## 0.1.12
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/api/v0.1.11..npm/api/v0.1.12 -- apps/shared/api`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.1.11
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions } from './index-Gj30ybjE.cjs';
1
+ import { A as Api, C as CallOptions } from './index-BSrN3TFD.cjs';
2
2
  import { JsonValue, UserAnalysisPreferencesResponse } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
5
5
  /**
6
6
  * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
7
- * CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
7
+ * CONTRACT_SHA256 2516265e2f8f78e7709d9315a452303f8c16b9ff2cddf7e89ab0ef55a93eaf31
8
8
  */
9
9
 
10
10
  /** Result of opening, completing, or re-minting an action request. */
package/dist/account.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions } from './index-Gj30ybjE.js';
1
+ import { A as Api, C as CallOptions } from './index-BSrN3TFD.js';
2
2
  import { JsonValue, UserAnalysisPreferencesResponse } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
5
5
  /**
6
6
  * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
7
- * CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
7
+ * CONTRACT_SHA256 2516265e2f8f78e7709d9315a452303f8c16b9ff2cddf7e89ab0ef55a93eaf31
8
8
  */
9
9
 
10
10
  /** Result of opening, completing, or re-minting an action request. */
package/dist/agents.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk2ZHIYXHV_cjs = require('./chunk-2ZHIYXHV.cjs');
3
+ var chunkU63KIQSS_cjs = require('./chunk-U63KIQSS.cjs');
4
4
  require('./chunk-PKYPPATQ.cjs');
5
5
 
6
6
  // src/generated/agents.ts
@@ -44,17 +44,21 @@ var $getToolById = { m: "GET", p: "/ai-tools/{tool_id}", d: "aidream", a: "guest
44
44
  function getToolById(api, args, options) {
45
45
  return api.call($getToolById, args, options);
46
46
  }
47
+ var $resolvePromptBlocks = { m: "GET", p: "/prompt-blocks/resolve", d: "aidream", a: "guest", o: "optional", n: "agents.resolve_prompt_blocks" };
48
+ function resolvePromptBlocks(api, args, options) {
49
+ return api.call($resolvePromptBlocks, args, options);
50
+ }
47
51
  var $agentsStartAgent = { m: "POST", p: "/ai/agent/{agent_id}", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "agents.agents_start_agent" };
48
52
  function agentsStartAgent(api, args, options) {
49
- return chunk2ZHIYXHV_cjs.openJsonOrStream(api, $agentsStartAgent, args, options);
53
+ return chunkU63KIQSS_cjs.openJsonOrStream(api, $agentsStartAgent, args, options);
50
54
  }
51
55
  var $agentsStartAgentPost = { m: "POST", p: "/ai/agents/{agent_id}", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "agents.agents_start_agent_post" };
52
56
  function agentsStartAgentPost(api, args, options) {
53
- return chunk2ZHIYXHV_cjs.openJsonOrStream(api, $agentsStartAgentPost, args, options);
57
+ return chunkU63KIQSS_cjs.openJsonOrStream(api, $agentsStartAgentPost, args, options);
54
58
  }
55
59
  var $startMandatedAgent = { m: "POST", p: "/ai/mandates/{mandate_key}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.start_mandated_agent" };
56
60
  function startMandatedAgent(api, args, options) {
57
- return chunk2ZHIYXHV_cjs.openStream(api, $startMandatedAgent, args, options);
61
+ return chunkU63KIQSS_cjs.openStream(api, $startMandatedAgent, args, options);
58
62
  }
59
63
  var $invalidateAgentCache = { m: "POST", p: "/ai/agents/{agent_id}/invalidate-cache", d: "aidream", a: "guest", o: "required", n: "agents.invalidate_agent_cache" };
60
64
  function invalidateAgentCache(api, args, options) {
@@ -62,7 +66,7 @@ function invalidateAgentCache(api, args, options) {
62
66
  }
63
67
  var $mockStream = { m: "POST", p: "/ai/mock-stream/{scenario}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.mock_stream" };
64
68
  function mockStream(api, args, options) {
65
- return chunk2ZHIYXHV_cjs.openStream(api, $mockStream, args, options);
69
+ return chunkU63KIQSS_cjs.openStream(api, $mockStream, args, options);
66
70
  }
67
71
  var $listScenarios = { m: "GET", p: "/ai/mock-stream/scenarios", d: "aidream", a: "guest", o: "optional", n: "agents.list_scenarios" };
68
72
  function listScenarios(api, args, options) {
@@ -78,11 +82,11 @@ function getUserPromptsAndBuiltins(api, args, options) {
78
82
  }
79
83
  var $startPrompt = { m: "POST", p: "/ai/prompts/{prompt_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.start_prompt" };
80
84
  function startPrompt(api, args, options) {
81
- return chunk2ZHIYXHV_cjs.openStream(api, $startPrompt, args, options);
85
+ return chunkU63KIQSS_cjs.openStream(api, $startPrompt, args, options);
82
86
  }
83
87
  var $startAgentBlocks = { m: "POST", p: "/ai/agents-blocks/{agent_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.start_agent_blocks" };
84
88
  function startAgentBlocks(api, args, options) {
85
- return chunk2ZHIYXHV_cjs.openStream(api, $startAgentBlocks, args, options);
89
+ return chunkU63KIQSS_cjs.openStream(api, $startAgentBlocks, args, options);
86
90
  }
87
91
  var $previewContext = { m: "POST", p: "/ai/context/preview", d: "aidream", a: "guest", o: "required", n: "agents.preview_context" };
88
92
  function previewContext(api, args, options) {
@@ -208,29 +212,37 @@ var $validateSchema = { m: "POST", p: "/agent-service/validate-schema", d: "aidr
208
212
  function validateSchema(api, args, options) {
209
213
  return api.call($validateSchema, args, options);
210
214
  }
211
- var $startBuild = { m: "POST", p: "/agent-factory/builds", d: "aidream", a: "user", o: "required", n: "agents.start_build" };
215
+ var $startBuild = { m: "POST", p: "/agent-factory/builds", d: "aidream", a: "guest", o: "required", n: "agents.start_build" };
212
216
  function startBuild(api, args, options) {
213
217
  return api.call($startBuild, args, options);
214
218
  }
215
- var $readBuild = { m: "GET", p: "/agent-factory/builds/{build_id}", d: "aidream", a: "user", o: "required", n: "agents.read_build" };
219
+ var $readBuild = { m: "GET", p: "/agent-factory/builds/{build_id}", d: "aidream", a: "guest", o: "required", n: "agents.read_build" };
216
220
  function readBuild(api, args, options) {
217
221
  return api.call($readBuild, args, options);
218
222
  }
219
- var $keepBuild = { m: "POST", p: "/agent-factory/builds/{build_id}/keep", d: "aidream", a: "user", o: "required", n: "agents.keep_build" };
223
+ var $keepBuild = { m: "POST", p: "/agent-factory/builds/{build_id}/keep", d: "aidream", a: "guest", o: "required", n: "agents.keep_build" };
220
224
  function keepBuild(api, args, options) {
221
225
  return api.call($keepBuild, args, options);
222
226
  }
223
- var $judgeFirstRuns = { m: "POST", p: "/agent-factory/agents/{agent_id}/first-runs", d: "aidream", a: "user", o: "required", n: "agents.judge_first_runs" };
227
+ var $judgeFirstRuns = { m: "POST", p: "/agent-factory/agents/{agent_id}/first-runs", d: "aidream", a: "guest", o: "required", n: "agents.judge_first_runs" };
224
228
  function judgeFirstRuns(api, args, options) {
225
229
  return api.call($judgeFirstRuns, args, options);
226
230
  }
227
- var $agentFromChat = { m: "POST", p: "/agent-studio/from-chat", d: "aidream", a: "user", o: "required", s: "ndjson", n: "agents.agent_from_chat" };
231
+ var $agentFromChat = { m: "POST", p: "/agent-studio/from-chat", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.agent_from_chat" };
228
232
  function agentFromChat(api, args, options) {
229
- return chunk2ZHIYXHV_cjs.openStream(api, $agentFromChat, args, options);
233
+ return chunkU63KIQSS_cjs.openStream(api, $agentFromChat, args, options);
234
+ }
235
+ var $importPreview = { m: "POST", p: "/agent-studio/import/preview", d: "aidream", a: "guest", o: "required", n: "agents.import_preview" };
236
+ function importPreview(api, args, options) {
237
+ return api.call($importPreview, args, options);
238
+ }
239
+ var $importDraft = { m: "GET", p: "/agent-studio/import/draft/{draft_id}", d: "aidream", a: "guest", o: "required", n: "agents.import_draft" };
240
+ function importDraft(api, args, options) {
241
+ return api.call($importDraft, args, options);
230
242
  }
231
243
  var $adminAgentFromChat = { m: "POST", p: "/admin/agent-studio/from-chat", d: "aidream", a: "admin", o: "exempt", s: "ndjson", n: "agents.admin_agent_from_chat" };
232
244
  function adminAgentFromChat(api, args, options) {
233
- return chunk2ZHIYXHV_cjs.openStream(api, $adminAgentFromChat, args, options);
245
+ return chunkU63KIQSS_cjs.openStream(api, $adminAgentFromChat, args, options);
234
246
  }
235
247
  var $adminToolsListTools = { m: "GET", p: "/admin/tools", d: "aidream", a: "admin", o: "exempt", n: "agents.admin_tools_list_tools" };
236
248
  function adminToolsListTools(api, args, options) {
@@ -266,7 +278,7 @@ function getOrCreateTestSession(api, args, options) {
266
278
  }
267
279
  var $executeToolTest = { m: "POST", p: "/tools/test/execute", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.execute_tool_test" };
268
280
  function executeToolTest(api, args, options) {
269
- return chunk2ZHIYXHV_cjs.openStream(api, $executeToolTest, args, options);
281
+ return chunkU63KIQSS_cjs.openStream(api, $executeToolTest, args, options);
270
282
  }
271
283
  var $getDbSurfaceManifest = { m: "GET", p: "/surfaces/{client_name}/{surface_name}/manifest", d: "aidream", a: "guest", o: "exempt", n: "agents.get_db_surface_manifest" };
272
284
  function getDbSurfaceManifest(api, args, options) {
@@ -298,7 +310,7 @@ function previewVariableBinding(api, args, options) {
298
310
  }
299
311
  var $runMatrixBattle = { m: "POST", p: "/agent-battles/{set_id}/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.run_matrix_battle" };
300
312
  function runMatrixBattle(api, args, options) {
301
- return chunk2ZHIYXHV_cjs.openStream(api, $runMatrixBattle, args, options);
313
+ return chunkU63KIQSS_cjs.openStream(api, $runMatrixBattle, args, options);
302
314
  }
303
315
  var $cancelMatrixBattle = { m: "POST", p: "/agent-battles/{set_id}/cancel", d: "aidream", a: "guest", o: "required", n: "agents.cancel_matrix_battle" };
304
316
  function cancelMatrixBattle(api, args, options) {
@@ -411,6 +423,7 @@ var TABLE = {
411
423
  "GET /ai-tools/mcp-discovered/all": $getMcpDiscoveredTools,
412
424
  "GET /ai-tools/app/{executor_name}/all": $getToolsForApp,
413
425
  "GET /ai-tools/{tool_id}": $getToolById,
426
+ "GET /prompt-blocks/resolve": $resolvePromptBlocks,
414
427
  "POST /ai/agents/{agent_id}/invalidate-cache": $invalidateAgentCache,
415
428
  "GET /ai/mock-stream/scenarios": $listScenarios,
416
429
  "GET /ai/prompts": $getUserPrompts,
@@ -450,6 +463,8 @@ var TABLE = {
450
463
  "GET /agent-factory/builds/{build_id}": $readBuild,
451
464
  "POST /agent-factory/builds/{build_id}/keep": $keepBuild,
452
465
  "POST /agent-factory/agents/{agent_id}/first-runs": $judgeFirstRuns,
466
+ "POST /agent-studio/import/preview": $importPreview,
467
+ "GET /agent-studio/import/draft/{draft_id}": $importDraft,
453
468
  "GET /admin/tools": $adminToolsListTools,
454
469
  "POST /admin/tools/validate": $validateAll,
455
470
  "GET /admin/tools/failures": $failureAnalytics,
@@ -551,6 +566,8 @@ exports.getUserPrompts = getUserPrompts;
551
566
  exports.getUserPromptsAndBuiltins = getUserPromptsAndBuiltins;
552
567
  exports.getVariationBatches = getVariationBatches;
553
568
  exports.getVersion = getVersion;
569
+ exports.importDraft = importDraft;
570
+ exports.importPreview = importPreview;
554
571
  exports.invalidateAgentCache = invalidateAgentCache;
555
572
  exports.invokeTool = invokeTool;
556
573
  exports.judgeFirstRuns = judgeFirstRuns;
@@ -578,6 +595,7 @@ exports.putVariationBatches = putVariationBatches;
578
595
  exports.readBuild = readBuild;
579
596
  exports.readDirectiveApplyState = readDirectiveApplyState;
580
597
  exports.renderContext = renderContext;
598
+ exports.resolvePromptBlocks = resolvePromptBlocks;
581
599
  exports.runAgentTests = runAgentTests;
582
600
  exports.runMatrixBattle = runMatrixBattle;
583
601
  exports.screenRun = screenRun;
package/dist/agents.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-Gj30ybjE.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-BSrN3TFD.cjs';
2
2
  import { JsonValue, ContextAnchor, TextPart, ThinkingPart, ToolCallPart, ToolResultPart, UserImageMediaPart, UserAudioMediaPart, UserVideoMediaPart, UserDocumentMediaPart, UserYouTubeMediaPart, CodeExecPart, CodeResultPart, WebSearchPart, WebpageInputPart, NotesInputPart, TaskInputPart, AgentInputPart, ProjectInputPart, AgentAppInputPart, TranscriptInputPart, TranscriptSessionInputPart, WorkbookInputPart, DocumentInputPart, TableInputPart, ListInputPart, DataInputPart, ContextInputPart, RemarksInputPart, DecisionQuestionsPart, DecisionAnswersPart, SpeechScriptPart, LLMParams, AgentStartRequest, DirectiveItemApplied, DirectiveItemFailed, PageContext, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, ActionNeeded, PromptStartRequest } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
5
5
  /**
6
6
  * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
7
- * CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
7
+ * CONTRACT_SHA256 2516265e2f8f78e7709d9315a452303f8c16b9ff2cddf7e89ab0ef55a93eaf31
8
8
  */
9
9
 
10
10
  /** AgentBlocksStartRequest */
@@ -94,13 +94,31 @@ type AgentDetail = {
94
94
  skill_config?: {
95
95
  [key: string]: JsonValue;
96
96
  };
97
+ /** Declared prompt blocks, [{"name": ...}] — each placed as {{<name>}} in the messages. */
98
+ prompt_blocks?: {
99
+ [key: string]: JsonValue;
100
+ }[];
97
101
  };
98
102
  /** AgentFromChatRequest */
99
103
  type AgentFromChatRequest = {
100
- /** The chat to turn into an agent. */
101
- conversation_id: string;
104
+ /** The chat to turn into an agent (stored on the platform). */
105
+ conversation_id?: string | null;
106
+ /** Instead of `conversation_id`: a chat brought over from Claude — an uploaded claude.ai export, a pasted chat, or a Claude Code draft (`import_source.py`). Studio door only. */
107
+ import_source?: ImportSource | null;
102
108
  /** Person-supplied example inputs (R52). On the Agent Factory path each is one more proof case beside the chat's own request; the legacy builder ignores them. */
103
109
  examples?: string[];
110
+ /** Which door asks. `studio` = the Agent Studio's "Make this an agent" (always an Agent Factory build, no knob: `pipeline_door.ALWAYS_PIPELINE_DOORS`). */
111
+ door?: "from_chat" | "studio";
112
+ /** Studio: the answer the person approved, verbatim. It becomes the proof case's baseline (the agent's first test case), instead of the turns the brief names. */
113
+ approved_output?: string;
114
+ /** Studio: what the assistant that did the job said made it work (skills, steps, inputs), asked on its own conversation. Rides the build brief as requirements; the Agent Builder writes the agent (agents */
115
+ capture?: string;
116
+ /** Studio only. `inputs` = read the chat and write the brief, then stop and send it back (the person confirms the inputs); `build` = the whole door. */
117
+ stage?: "build" | "inputs";
118
+ /** Studio only: the brief from an `inputs` stage with the values the person confirmed. The brief job is not run again. */
119
+ brief?: {
120
+ [key: string]: unknown;
121
+ } | null;
104
122
  };
105
123
  /** WHO an agent belongs to — the Expert who built it. */
106
124
  type AgentOwnership = {
@@ -1048,6 +1066,8 @@ type ExecutionAgentDefinition = {
1048
1066
  skill_config?: {
1049
1067
  [key: string]: unknown;
1050
1068
  };
1069
+ prompt_blocks?: unknown[];
1070
+ created_by?: string | null;
1051
1071
  };
1052
1072
  /** FailureAnalyticsResponse */
1053
1073
  type FailureAnalyticsResponse = {
@@ -1074,6 +1094,25 @@ type GetToolResponse = {
1074
1094
  } | string;
1075
1095
  [key: string]: unknown;
1076
1096
  };
1097
+ /** Exactly one of ``file_id`` (an uploaded claude.ai export) or ``text`` (a pasted chat). */
1098
+ type ImportPreviewRequest = {
1099
+ file_id?: string | null;
1100
+ text?: string | null;
1101
+ };
1102
+ /** Where the chat comes from when it is not already stored on the platform. */
1103
+ type ImportSource = {
1104
+ draft_id?: string | null;
1105
+ /** An uploaded claude.ai export. */
1106
+ file_id?: string | null;
1107
+ /** A pasted chat. */
1108
+ text?: string | null;
1109
+ /** Which conversation of the export (preview `key`). */
1110
+ key?: string | null;
1111
+ /** A project of the same export (preview `key`). */
1112
+ project_key?: string | null;
1113
+ /** Pasted project instructions / skill text / custom instructions, ahead of the chat. */
1114
+ extra_context?: string;
1115
+ };
1077
1116
  /** IngestReport */
1078
1117
  type IngestReport = {
1079
1118
  parsed: number;
@@ -1464,6 +1503,16 @@ type PortableUnavailable = {
1464
1503
  name: string;
1465
1504
  reason: string;
1466
1505
  };
1506
+ /** PromptBlocksResolved */
1507
+ type PromptBlocksResolved = {
1508
+ blocks?: {
1509
+ [key: string]: string;
1510
+ };
1511
+ report?: {
1512
+ [key: string]: JsonValue;
1513
+ }[];
1514
+ tool_ids?: string[];
1515
+ };
1467
1516
  /** PromptWarmRequest */
1468
1517
  type PromptWarmRequest = {
1469
1518
  source?: string | null;
@@ -2006,6 +2055,10 @@ type UpdateAgentInput = {
2006
2055
  skill_config?: {
2007
2056
  [key: string]: JsonValue;
2008
2057
  } | null;
2058
+ /** Prompt blocks this agent DECLARES — names (or {"name": ...}) of library blocks the messages place as {{<name>}}. On the first turn each declared {{<name>}} becomes <name>\n{current text}\n</name> (per */
2059
+ prompt_blocks?: ((string | {
2060
+ [key: string]: JsonValue;
2061
+ })[]) | null;
2009
2062
  context_policies?: {
2010
2063
  [key: string]: JsonValue;
2011
2064
  }[] | null;
@@ -2072,7 +2125,7 @@ type VariableBindingPreviewRequest = {
2072
2125
  type VariableBindingPreviewResponse = {
2073
2126
  /** Exactly what the agent receives for {{variable}}. */
2074
2127
  text: string;
2075
- /** False when the text is a named absence. */
2128
+ /** False when there is no value (the agent gets ""). */
2076
2129
  present: boolean;
2077
2130
  /** Rows delivered (1 for a record or a single value). */
2078
2131
  row_count: number;
@@ -2082,7 +2135,7 @@ type VariableBindingPreviewResponse = {
2082
2135
  truncated: boolean;
2083
2136
  /** What a client-sent value does (shown_locked…). */
2084
2137
  override_policy: string;
2085
- /** delivered | absent (the agent is told `text`, a named absence) | blocks_run (missing=block: the run would be STOPPED — the agent is told nothing; `text` is the sentence a person sees). */
2138
+ /** delivered | absent (no value: the agent gets ""; `absent_reason` says why, for a person). */
2086
2139
  outcome: string;
2087
2140
  /** Why nothing was delivered, for a person. */
2088
2141
  absent_reason?: string | null;
@@ -2266,6 +2319,19 @@ type GetToolByIdResult = GetToolResponse;
2266
2319
  /** Get Tool By Id */
2267
2320
  /** `GET /ai-tools/{tool_id}` · aidream · auth guest · org optional */
2268
2321
  declare function getToolById(api: Api, args: GetToolByIdArgs, options?: CallOptions): Promise<GetToolByIdResult>;
2322
+ type ResolvePromptBlocksArgs = {
2323
+ query: {
2324
+ names: string[];
2325
+ model: string;
2326
+ reasoning?: string | null;
2327
+ tools?: string[];
2328
+ creator?: string | null;
2329
+ };
2330
+ };
2331
+ type ResolvePromptBlocksResult = PromptBlocksResolved;
2332
+ /** Resolve Prompt Blocks */
2333
+ /** `GET /prompt-blocks/resolve` · aidream · auth guest · org optional */
2334
+ declare function resolvePromptBlocks(api: Api, args: ResolvePromptBlocksArgs, options?: CallOptions): Promise<ResolvePromptBlocksResult>;
2269
2335
  type AgentsStartAgentArgs = {
2270
2336
  path: {
2271
2337
  agent_id: string;
@@ -2653,7 +2719,7 @@ type StartBuildArgs = {
2653
2719
  };
2654
2720
  type StartBuildResult = StartBuildResponse;
2655
2721
  /** Start Build */
2656
- /** `POST /agent-factory/builds` · aidream · auth user · org required */
2722
+ /** `POST /agent-factory/builds` · aidream · auth guest · org required */
2657
2723
  declare function startBuild(api: Api, args: StartBuildArgs, options?: CallOptions): Promise<StartBuildResult>;
2658
2724
  type ReadBuildArgs = {
2659
2725
  path: {
@@ -2662,7 +2728,7 @@ type ReadBuildArgs = {
2662
2728
  };
2663
2729
  type ReadBuildResult = BuildResponse;
2664
2730
  /** Read Build */
2665
- /** `GET /agent-factory/builds/{build_id}` · aidream · auth user · org required */
2731
+ /** `GET /agent-factory/builds/{build_id}` · aidream · auth guest · org required */
2666
2732
  declare function readBuild(api: Api, args: ReadBuildArgs, options?: CallOptions): Promise<ReadBuildResult>;
2667
2733
  type KeepBuildArgs = {
2668
2734
  path: {
@@ -2671,7 +2737,7 @@ type KeepBuildArgs = {
2671
2737
  };
2672
2738
  type KeepBuildResult = KeepResponse;
2673
2739
  /** Keep Build */
2674
- /** `POST /agent-factory/builds/{build_id}/keep` · aidream · auth user · org required */
2740
+ /** `POST /agent-factory/builds/{build_id}/keep` · aidream · auth guest · org required */
2675
2741
  declare function keepBuild(api: Api, args: KeepBuildArgs, options?: CallOptions): Promise<KeepBuildResult>;
2676
2742
  type JudgeFirstRunsArgs = {
2677
2743
  path: {
@@ -2680,15 +2746,31 @@ type JudgeFirstRunsArgs = {
2680
2746
  };
2681
2747
  type JudgeFirstRunsResult = FirstRunsResponse;
2682
2748
  /** Judge First Runs */
2683
- /** `POST /agent-factory/agents/{agent_id}/first-runs` · aidream · auth user · org required */
2749
+ /** `POST /agent-factory/agents/{agent_id}/first-runs` · aidream · auth guest · org required */
2684
2750
  declare function judgeFirstRuns(api: Api, args: JudgeFirstRunsArgs, options?: CallOptions): Promise<JudgeFirstRunsResult>;
2685
2751
  type AgentFromChatArgs = {
2686
2752
  body: AgentFromChatRequest;
2687
2753
  };
2688
2754
  type AgentFromChatResult = unknown;
2689
2755
  /** Agent From Chat */
2690
- /** `POST /agent-studio/from-chat` · aidream · auth user · org required · ndjson */
2756
+ /** `POST /agent-studio/from-chat` · aidream · auth guest · org required · ndjson */
2691
2757
  declare function agentFromChat(api: Api, args: AgentFromChatArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
2758
+ type ImportPreviewArgs = {
2759
+ body: ImportPreviewRequest;
2760
+ };
2761
+ type ImportPreviewResult = unknown;
2762
+ /** Import Preview */
2763
+ /** `POST /agent-studio/import/preview` · aidream · auth guest · org required */
2764
+ declare function importPreview(api: Api, args: ImportPreviewArgs, options?: CallOptions): Promise<ImportPreviewResult>;
2765
+ type ImportDraftArgs = {
2766
+ path: {
2767
+ draft_id: string;
2768
+ };
2769
+ };
2770
+ type ImportDraftResult = unknown;
2771
+ /** Import Draft */
2772
+ /** `GET /agent-studio/import/draft/{draft_id}` · aidream · auth guest · org required */
2773
+ declare function importDraft(api: Api, args: ImportDraftArgs, options?: CallOptions): Promise<ImportDraftResult>;
2692
2774
  type AdminAgentFromChatArgs = {
2693
2775
  body: AgentFromChatRequest;
2694
2776
  };
@@ -3094,6 +3176,10 @@ interface Operations {
3094
3176
  args: GetToolByIdArgs;
3095
3177
  result: GetToolByIdResult;
3096
3178
  };
3179
+ "GET /prompt-blocks/resolve": {
3180
+ args: ResolvePromptBlocksArgs;
3181
+ result: ResolvePromptBlocksResult;
3182
+ };
3097
3183
  "POST /ai/agents/{agent_id}/invalidate-cache": {
3098
3184
  args: InvalidateAgentCacheArgs;
3099
3185
  result: InvalidateAgentCacheResult;
@@ -3250,6 +3336,14 @@ interface Operations {
3250
3336
  args: JudgeFirstRunsArgs;
3251
3337
  result: JudgeFirstRunsResult;
3252
3338
  };
3339
+ "POST /agent-studio/import/preview": {
3340
+ args: ImportPreviewArgs;
3341
+ result: ImportPreviewResult;
3342
+ };
3343
+ "GET /agent-studio/import/draft/{draft_id}": {
3344
+ args: ImportDraftArgs;
3345
+ result: ImportDraftResult;
3346
+ };
3253
3347
  "GET /admin/tools": {
3254
3348
  args: AdminToolsListToolsArgs;
3255
3349
  result: AdminToolsListToolsResult;
@@ -3414,4 +3508,4 @@ interface Operations {
3414
3508
  /** Path-keyed call, scoped to this domain only (never a global path map). */
3415
3509
  declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
3416
3510
 
3417
- export { type AdminAgentFromChatArgs, type AdminAgentFromChatResult, type AdminIngestFilesystemArgs, type AdminIngestFilesystemResult, type AdminToolsListToolsArgs, type AdminToolsListToolsResult, type AgentBlocksStartRequest, type AgentContextPolicy, type AgentDetail, type AgentFromChatArgs, type AgentFromChatRequest, type AgentFromChatResult, type AgentOwnership, type AgentServiceListSkillsArgs, type AgentServiceListSkillsResult, type AgentServiceListToolsArgs, type AgentServiceListToolsResult, type AgentSpec, type AgentSummary, type AgentTestBatchRequest, type AgentTestBatchResponse, type AgentTestResult, type AgentVariableControlInput, type AgentVariableDefinition, type AgentVariableDetail, type AgentVariableInput, type AgentVersionInfo, type AgentsStartAgentArgs, type AgentsStartAgentPostArgs, type AgentsStartAgentPostResult, type AgentsStartAgentResult, type BuildResponse, type BuiltinPromptCatalogResponse, type CacheBustArgs, type CacheBustResponse, type CacheBustResult, type CancelMatrixBattleArgs, type CancelMatrixBattleResult, type CatalogRpcRequest, type CatalogTree, type CategoryCreate, type CategoryList, type CategoryPatch, type CategoryRow, type CellRef, type Clearance, type CodeDeclaration, type CombinedPromptCatalogResponse, type ConfirmProposedDirectiveArgs, type ConfirmProposedDirectiveResult, type ContextAnswer, type ContextAnswerBothRequest, type ContextAnswerBothResponse, type ContextCompare, type ContextCompareCheck, type ContextCompareDifference, type ContextCompareSelection, type ContextCompareSide, type ContextDecidedBy, type ContextDelivered, type ContextDeliveredArgs, type ContextDeliveredRef, type ContextDeliveredResult, type ContextDeliveredSide, type ContextEnvelope, type ContextFollowLag, type ContextItemBinding, type ContextOrganizationOption, type ContextOrganizationsResponse, type ContextPreviewBindings, type ContextPreviewRefusal, type ContextPreviewRequest, type ContextPreviewResponse, type ContextPreviewSelection, type ContextPreviewVariables, type ContextProvenance, type ContextReceipt, type ContextReceiptBlock, type ContextReceiptRoomView, type ContextReceiptRow, type ContextReceiptWithheldItem, type ContextRenderRequest, type ContextRenderResponse, type ContextRule, type ContextSelection, type ContextSystemItem, type ContextSystemItems, type ContextTarget, type ContextViewTarget, type ContextViewedText, type ControlBinding, type CreateAgentArgs, type CreateAgentInput, type CreateAgentResult, type CreateCategoryArgs, type CreateCategoryResult, type CreateSkillArgs, type CreateSkillResult, type CreateStructuredAgentArgs, type CreateStructuredAgentResult, type DeleteCategoryArgs, type DeleteCategoryResult, type DeleteSkillArgs, type DeleteSkillResult, type DirectiveApplyResult, type DirectiveApplyStateRequest, type DirectiveApplyStateResult, type DirectiveCatalog, type DirectiveConfirmRequest, type DirectiveConfirmResult, type DirectiveExecuteRequest, type DirectiveItemState, type DirectiveNounSchemas, type DirectiveReceipt, type DirectiveShellState, type ExecuteRealtimeToolRouteArgs, type ExecuteRealtimeToolRouteResult, type ExecuteToolTestArgs, type ExecuteToolTestResult, type ExecuteWriteDirectiveArgs, type ExecuteWriteDirectiveResult, type ExecutionAgentDefinition, type FailureAnalyticsArgs, type FailureAnalyticsResponse, type FailureAnalyticsResult, type FaultDomainCount, type FirstRunsResponse, type GetAgentArgs, type GetAgentCatalogArgs, type GetAgentCatalogResult, type GetAgentCatalogStatusArgs, type GetAgentCatalogStatusResult, type GetAgentExecutionArgs, type GetAgentExecutionDefinitionArgs, type GetAgentExecutionDefinitionResult, type GetAgentExecutionResult, type GetAgentResult, type GetAgentVersionExecutionDefinitionArgs, type GetAgentVersionExecutionDefinitionResult, type GetAllPromptBuiltinsArgs, type GetAllPromptBuiltinsResult, type GetAllToolsArgs, type GetAllToolsResult, type GetCapabilityManifestArgs, type GetCapabilityManifestResult, type GetDbSurfaceManifestArgs, type GetDbSurfaceManifestResult, type GetDirectiveCatalogArgs, type GetDirectiveCatalogResult, type GetDirectiveNounSchemasArgs, type GetDirectiveNounSchemasResult, type GetLibraryArgs, type GetLibraryResult, type GetListsArgs, type GetListsResult, type GetMcpDiscoveredToolsArgs, type GetMcpDiscoveredToolsResult, type GetNativeToolsArgs, type GetNativeToolsResult, type GetOrCreateTestSessionArgs, type GetOrCreateTestSessionResult, type GetPortableAgentArgs, type GetPortableAgentResult, type GetPortableAgentSummaryArgs, type GetPortableAgentSummaryResult, type GetPortableAgentVersionArgs, type GetPortableAgentVersionResult, type GetPromptsArgs, type GetPromptsResult, type GetRealtimeSessionArgs, type GetRealtimeSessionResult, type GetRealtimeToolsArgs, type GetRealtimeToolsResult, type GetSkillArgs, type GetSkillResult, type GetTemplatesArgs, type GetTemplatesResult, type GetToolByIdArgs, type GetToolByIdResult, type GetToolDetailArgs, type GetToolDetailResult, type GetToolResponse, type GetToolsBySourceKindArgs, type GetToolsBySourceKindResult, type GetToolsForAppArgs, type GetToolsForAppResult, type GetUserPromptsAndBuiltinsArgs, type GetUserPromptsAndBuiltinsResult, type GetUserPromptsArgs, type GetUserPromptsResult, type GetVariationBatchesArgs, type GetVariationBatchesResult, type GetVersionArgs, type GetVersionResult, type IngestReport, type InvalidateAgentCacheArgs, type InvalidateAgentCacheResponse, type InvalidateAgentCacheResult, type InvocationContext, type InvokeToolArgs, type InvokeToolResult, type JudgeFirstRunsArgs, type JudgeFirstRunsResult, type KeepBuildArgs, type KeepBuildResult, type KeepResponse, type KindActionEntry, type LibraryPut, type ListAgentsArgs, type ListAgentsResult, type ListCategoriesArgs, type ListCategoriesResult, type ListContextOrganizationsArgs, type ListContextOrganizationsResult, type ListModelsArgs, type ListModelsResult, type ListScenariosArgs, type ListScenariosResult, type ListToolsArgs, type ListToolsBySourceKindResponse, type ListToolsForExecutorResponse, type ListToolsResponse, type ListToolsResult, type ListVersionsArgs, type ListVersionsResult, type ListsPut, type ManifestClientToolEntry, type ManifestGroupEntry, type ManifestToolEntry, type ManifestValueEntry, type ManifestWriteTargetEntry, type MatrixCancelResponse, type MatrixRunRequest, type MergeFieldBinding, type MergeFieldSort, type MergeFieldTransform, type MockScenario, type MockScenarioList, type MockStreamArgs, type MockStreamRequest, type MockStreamResult, type ModelAuthoringFacts, type ModelCapabilitySummary, type ModelClassInfo, type ModelControlInfo, type ModelInfo, type NounDirectives, type Operations, type OrchestraBadge, type PatchCategoryArgs, type PatchCategoryResult, type PatchSkillArgs, type PatchSkillResult, type PicklistBinding, type PortableAgentBundle, type PortableAgentRequest, type PortableAgentSummary, type PortableAgentVersion, type PortableSkill, type PortableTool, type PortableUnavailable, type PostAgentCatalogRpcArgs, type PostAgentCatalogRpcResult, type PreviewAnswerBothArgs, type PreviewAnswerBothResult, type PreviewContextArgs, type PreviewContextResult, type PreviewVariableBindingArgs, type PreviewVariableBindingResult, type PromptMatrixPathsArgs, type PromptMatrixPathsResult, type PromptWarmRequest, type PromptWarmResponse, type PromptsPut, type PutLibraryArgs, type PutLibraryResult, type PutListsArgs, type PutListsResult, type PutPromptsArgs, type PutPromptsResult, type PutTemplatesArgs, type PutTemplatesResult, type PutVariationBatchesArgs, type PutVariationBatchesResult, type ReadBuildArgs, type ReadBuildResult, type ReadDirectiveApplyStateArgs, type ReadDirectiveApplyStateResult, type RealtimeSessionRequest, type RealtimeSessionResponse, type RealtimeTool, type RealtimeToolsRequest, type RealtimeToolsResponse, type RenderContextArgs, type RenderContextResult, type RunAgentTestsArgs, type RunAgentTestsResult, type RunMatrixBattleArgs, type RunMatrixBattleResult, type SchemaFinding, type SchemaGateReport, type ScreenRunApproval, type ScreenRunArgs, type ScreenRunError, type ScreenRunRequest, type ScreenRunResponse, type ScreenRunResult, type SkillCreate, type SkillInfo, type SkillPatch, type SkillRow, type SkillsList, type SkillsListSkillsArgs, type SkillsListSkillsResult, type SpecVariable, type StartAgentBlocksArgs, type StartAgentBlocksResult, type StartBuildArgs, type StartBuildBody, type StartBuildResponse, type StartBuildResult, type StartMandatedAgentArgs, type StartMandatedAgentResult, type StartPromptArgs, type StartPromptResult, type SurfaceManifest, type TemplatesPut, type ToolDetail, type ToolDetailArgs, type ToolDetailResponse, type ToolDetailResult, type ToolExecuteRequest, type ToolExecuteResponse, type ToolFailureRow, type ToolFailureStat, type ToolFinding, type ToolInfo, type ToolRecord, type ToolRequest, type ToolResponse, type ToolRow, type ToolSummary, type ToolTestExecuteRequest, type ToolTestSessionResponse, type ToolTestingListToolsArgs, type ToolTestingListToolsResult, type ToolUpdateRequest, type UpdateAgentArgs, type UpdateAgentInput, type UpdateAgentResult, type UpdateToolArgs, type UpdateToolResult, type UserPromptCatalogResponse, type ValidateAllOpArgs, type ValidateAllOpResult, type ValidateSchemaArgs, type ValidateSchemaRequest, type ValidateSchemaResult, type ValidationReportResponse, type VariableAssignmentSpec, type VariableBindingPreviewRequest, type VariableBindingPreviewResponse, type VariableComponentSpec, type VariationBatchesPut, type WarmAgentArgs, type WarmAgentBlocksArgs, type WarmAgentBlocksResponse, type WarmAgentBlocksResult, type WarmAgentResponse, type WarmAgentResult, type WarmPromptArgs, type WarmPromptResult, adminAgentFromChat, adminIngestFilesystem, adminToolsListTools, agentFromChat, agentServiceListSkills, agentServiceListTools, agentsStartAgent, agentsStartAgentPost, type aidream__api__routers__agents__WarmRequest, type aidream__api__routers__agents_blocks__WarmRequest, type aidream__api__routers__skills__IngestRequest, type aidream__api__routers__tool_testing__ToolListResponse, type aidream__services__admin_ops__tools_wire__ToolListResponse, cacheBust, call, cancelMatrixBattle, confirmProposedDirective, contextDelivered, createAgent, createCategory, createSkill, createStructuredAgent, deleteCategory, deleteSkill, executeRealtimeToolRoute, executeToolTest, executeWriteDirective, failureAnalytics, getAgent, getAgentCatalog, getAgentCatalogStatus, getAgentExecution, getAgentExecutionDefinition, getAgentVersionExecutionDefinition, getAllPromptBuiltins, getAllTools, getCapabilityManifest, getDbSurfaceManifest, getDirectiveCatalog, getDirectiveNounSchemas, getLibrary, getLists, getMcpDiscoveredTools, getNativeTools, getOrCreateTestSession, getPortableAgent, getPortableAgentSummary, getPortableAgentVersion, getPrompts, getRealtimeSession, getRealtimeTools, getSkill, getTemplates, getToolById, getToolDetail, getToolsBySourceKind, getToolsForApp, getUserPrompts, getUserPromptsAndBuiltins, getVariationBatches, getVersion, invalidateAgentCache, invokeTool, judgeFirstRuns, keepBuild, listAgents, listCategories, listContextOrganizations, listModels, listScenarios, listTools, listVersions, mockStream, patchCategory, patchSkill, postAgentCatalogRpc, previewAnswerBoth, previewContext, previewVariableBinding, promptMatrixPaths, putLibrary, putLists, putPrompts, putTemplates, putVariationBatches, readBuild, readDirectiveApplyState, renderContext, runAgentTests, runMatrixBattle, screenRun, skillsListSkills, startAgentBlocks, startBuild, startMandatedAgent, startPrompt, toolDetail, toolTestingListTools, updateAgent, updateTool, validateAll, validateSchema, warmAgent, warmAgentBlocks, warmPrompt };
3511
+ export { type AdminAgentFromChatArgs, type AdminAgentFromChatResult, type AdminIngestFilesystemArgs, type AdminIngestFilesystemResult, type AdminToolsListToolsArgs, type AdminToolsListToolsResult, type AgentBlocksStartRequest, type AgentContextPolicy, type AgentDetail, type AgentFromChatArgs, type AgentFromChatRequest, type AgentFromChatResult, type AgentOwnership, type AgentServiceListSkillsArgs, type AgentServiceListSkillsResult, type AgentServiceListToolsArgs, type AgentServiceListToolsResult, type AgentSpec, type AgentSummary, type AgentTestBatchRequest, type AgentTestBatchResponse, type AgentTestResult, type AgentVariableControlInput, type AgentVariableDefinition, type AgentVariableDetail, type AgentVariableInput, type AgentVersionInfo, type AgentsStartAgentArgs, type AgentsStartAgentPostArgs, type AgentsStartAgentPostResult, type AgentsStartAgentResult, type BuildResponse, type BuiltinPromptCatalogResponse, type CacheBustArgs, type CacheBustResponse, type CacheBustResult, type CancelMatrixBattleArgs, type CancelMatrixBattleResult, type CatalogRpcRequest, type CatalogTree, type CategoryCreate, type CategoryList, type CategoryPatch, type CategoryRow, type CellRef, type Clearance, type CodeDeclaration, type CombinedPromptCatalogResponse, type ConfirmProposedDirectiveArgs, type ConfirmProposedDirectiveResult, type ContextAnswer, type ContextAnswerBothRequest, type ContextAnswerBothResponse, type ContextCompare, type ContextCompareCheck, type ContextCompareDifference, type ContextCompareSelection, type ContextCompareSide, type ContextDecidedBy, type ContextDelivered, type ContextDeliveredArgs, type ContextDeliveredRef, type ContextDeliveredResult, type ContextDeliveredSide, type ContextEnvelope, type ContextFollowLag, type ContextItemBinding, type ContextOrganizationOption, type ContextOrganizationsResponse, type ContextPreviewBindings, type ContextPreviewRefusal, type ContextPreviewRequest, type ContextPreviewResponse, type ContextPreviewSelection, type ContextPreviewVariables, type ContextProvenance, type ContextReceipt, type ContextReceiptBlock, type ContextReceiptRoomView, type ContextReceiptRow, type ContextReceiptWithheldItem, type ContextRenderRequest, type ContextRenderResponse, type ContextRule, type ContextSelection, type ContextSystemItem, type ContextSystemItems, type ContextTarget, type ContextViewTarget, type ContextViewedText, type ControlBinding, type CreateAgentArgs, type CreateAgentInput, type CreateAgentResult, type CreateCategoryArgs, type CreateCategoryResult, type CreateSkillArgs, type CreateSkillResult, type CreateStructuredAgentArgs, type CreateStructuredAgentResult, type DeleteCategoryArgs, type DeleteCategoryResult, type DeleteSkillArgs, type DeleteSkillResult, type DirectiveApplyResult, type DirectiveApplyStateRequest, type DirectiveApplyStateResult, type DirectiveCatalog, type DirectiveConfirmRequest, type DirectiveConfirmResult, type DirectiveExecuteRequest, type DirectiveItemState, type DirectiveNounSchemas, type DirectiveReceipt, type DirectiveShellState, type ExecuteRealtimeToolRouteArgs, type ExecuteRealtimeToolRouteResult, type ExecuteToolTestArgs, type ExecuteToolTestResult, type ExecuteWriteDirectiveArgs, type ExecuteWriteDirectiveResult, type ExecutionAgentDefinition, type FailureAnalyticsArgs, type FailureAnalyticsResponse, type FailureAnalyticsResult, type FaultDomainCount, type FirstRunsResponse, type GetAgentArgs, type GetAgentCatalogArgs, type GetAgentCatalogResult, type GetAgentCatalogStatusArgs, type GetAgentCatalogStatusResult, type GetAgentExecutionArgs, type GetAgentExecutionDefinitionArgs, type GetAgentExecutionDefinitionResult, type GetAgentExecutionResult, type GetAgentResult, type GetAgentVersionExecutionDefinitionArgs, type GetAgentVersionExecutionDefinitionResult, type GetAllPromptBuiltinsArgs, type GetAllPromptBuiltinsResult, type GetAllToolsArgs, type GetAllToolsResult, type GetCapabilityManifestArgs, type GetCapabilityManifestResult, type GetDbSurfaceManifestArgs, type GetDbSurfaceManifestResult, type GetDirectiveCatalogArgs, type GetDirectiveCatalogResult, type GetDirectiveNounSchemasArgs, type GetDirectiveNounSchemasResult, type GetLibraryArgs, type GetLibraryResult, type GetListsArgs, type GetListsResult, type GetMcpDiscoveredToolsArgs, type GetMcpDiscoveredToolsResult, type GetNativeToolsArgs, type GetNativeToolsResult, type GetOrCreateTestSessionArgs, type GetOrCreateTestSessionResult, type GetPortableAgentArgs, type GetPortableAgentResult, type GetPortableAgentSummaryArgs, type GetPortableAgentSummaryResult, type GetPortableAgentVersionArgs, type GetPortableAgentVersionResult, type GetPromptsArgs, type GetPromptsResult, type GetRealtimeSessionArgs, type GetRealtimeSessionResult, type GetRealtimeToolsArgs, type GetRealtimeToolsResult, type GetSkillArgs, type GetSkillResult, type GetTemplatesArgs, type GetTemplatesResult, type GetToolByIdArgs, type GetToolByIdResult, type GetToolDetailArgs, type GetToolDetailResult, type GetToolResponse, type GetToolsBySourceKindArgs, type GetToolsBySourceKindResult, type GetToolsForAppArgs, type GetToolsForAppResult, type GetUserPromptsAndBuiltinsArgs, type GetUserPromptsAndBuiltinsResult, type GetUserPromptsArgs, type GetUserPromptsResult, type GetVariationBatchesArgs, type GetVariationBatchesResult, type GetVersionArgs, type GetVersionResult, type ImportDraftArgs, type ImportDraftResult, type ImportPreviewArgs, type ImportPreviewRequest, type ImportPreviewResult, type ImportSource, type IngestReport, type InvalidateAgentCacheArgs, type InvalidateAgentCacheResponse, type InvalidateAgentCacheResult, type InvocationContext, type InvokeToolArgs, type InvokeToolResult, type JudgeFirstRunsArgs, type JudgeFirstRunsResult, type KeepBuildArgs, type KeepBuildResult, type KeepResponse, type KindActionEntry, type LibraryPut, type ListAgentsArgs, type ListAgentsResult, type ListCategoriesArgs, type ListCategoriesResult, type ListContextOrganizationsArgs, type ListContextOrganizationsResult, type ListModelsArgs, type ListModelsResult, type ListScenariosArgs, type ListScenariosResult, type ListToolsArgs, type ListToolsBySourceKindResponse, type ListToolsForExecutorResponse, type ListToolsResponse, type ListToolsResult, type ListVersionsArgs, type ListVersionsResult, type ListsPut, type ManifestClientToolEntry, type ManifestGroupEntry, type ManifestToolEntry, type ManifestValueEntry, type ManifestWriteTargetEntry, type MatrixCancelResponse, type MatrixRunRequest, type MergeFieldBinding, type MergeFieldSort, type MergeFieldTransform, type MockScenario, type MockScenarioList, type MockStreamArgs, type MockStreamRequest, type MockStreamResult, type ModelAuthoringFacts, type ModelCapabilitySummary, type ModelClassInfo, type ModelControlInfo, type ModelInfo, type NounDirectives, type Operations, type OrchestraBadge, type PatchCategoryArgs, type PatchCategoryResult, type PatchSkillArgs, type PatchSkillResult, type PicklistBinding, type PortableAgentBundle, type PortableAgentRequest, type PortableAgentSummary, type PortableAgentVersion, type PortableSkill, type PortableTool, type PortableUnavailable, type PostAgentCatalogRpcArgs, type PostAgentCatalogRpcResult, type PreviewAnswerBothArgs, type PreviewAnswerBothResult, type PreviewContextArgs, type PreviewContextResult, type PreviewVariableBindingArgs, type PreviewVariableBindingResult, type PromptBlocksResolved, type PromptMatrixPathsArgs, type PromptMatrixPathsResult, type PromptWarmRequest, type PromptWarmResponse, type PromptsPut, type PutLibraryArgs, type PutLibraryResult, type PutListsArgs, type PutListsResult, type PutPromptsArgs, type PutPromptsResult, type PutTemplatesArgs, type PutTemplatesResult, type PutVariationBatchesArgs, type PutVariationBatchesResult, type ReadBuildArgs, type ReadBuildResult, type ReadDirectiveApplyStateArgs, type ReadDirectiveApplyStateResult, type RealtimeSessionRequest, type RealtimeSessionResponse, type RealtimeTool, type RealtimeToolsRequest, type RealtimeToolsResponse, type RenderContextArgs, type RenderContextResult, type ResolvePromptBlocksArgs, type ResolvePromptBlocksResult, type RunAgentTestsArgs, type RunAgentTestsResult, type RunMatrixBattleArgs, type RunMatrixBattleResult, type SchemaFinding, type SchemaGateReport, type ScreenRunApproval, type ScreenRunArgs, type ScreenRunError, type ScreenRunRequest, type ScreenRunResponse, type ScreenRunResult, type SkillCreate, type SkillInfo, type SkillPatch, type SkillRow, type SkillsList, type SkillsListSkillsArgs, type SkillsListSkillsResult, type SpecVariable, type StartAgentBlocksArgs, type StartAgentBlocksResult, type StartBuildArgs, type StartBuildBody, type StartBuildResponse, type StartBuildResult, type StartMandatedAgentArgs, type StartMandatedAgentResult, type StartPromptArgs, type StartPromptResult, type SurfaceManifest, type TemplatesPut, type ToolDetail, type ToolDetailArgs, type ToolDetailResponse, type ToolDetailResult, type ToolExecuteRequest, type ToolExecuteResponse, type ToolFailureRow, type ToolFailureStat, type ToolFinding, type ToolInfo, type ToolRecord, type ToolRequest, type ToolResponse, type ToolRow, type ToolSummary, type ToolTestExecuteRequest, type ToolTestSessionResponse, type ToolTestingListToolsArgs, type ToolTestingListToolsResult, type ToolUpdateRequest, type UpdateAgentArgs, type UpdateAgentInput, type UpdateAgentResult, type UpdateToolArgs, type UpdateToolResult, type UserPromptCatalogResponse, type ValidateAllOpArgs, type ValidateAllOpResult, type ValidateSchemaArgs, type ValidateSchemaRequest, type ValidateSchemaResult, type ValidationReportResponse, type VariableAssignmentSpec, type VariableBindingPreviewRequest, type VariableBindingPreviewResponse, type VariableComponentSpec, type VariationBatchesPut, type WarmAgentArgs, type WarmAgentBlocksArgs, type WarmAgentBlocksResponse, type WarmAgentBlocksResult, type WarmAgentResponse, type WarmAgentResult, type WarmPromptArgs, type WarmPromptResult, adminAgentFromChat, adminIngestFilesystem, adminToolsListTools, agentFromChat, agentServiceListSkills, agentServiceListTools, agentsStartAgent, agentsStartAgentPost, type aidream__api__routers__agents__WarmRequest, type aidream__api__routers__agents_blocks__WarmRequest, type aidream__api__routers__skills__IngestRequest, type aidream__api__routers__tool_testing__ToolListResponse, type aidream__services__admin_ops__tools_wire__ToolListResponse, cacheBust, call, cancelMatrixBattle, confirmProposedDirective, contextDelivered, createAgent, createCategory, createSkill, createStructuredAgent, deleteCategory, deleteSkill, executeRealtimeToolRoute, executeToolTest, executeWriteDirective, failureAnalytics, getAgent, getAgentCatalog, getAgentCatalogStatus, getAgentExecution, getAgentExecutionDefinition, getAgentVersionExecutionDefinition, getAllPromptBuiltins, getAllTools, getCapabilityManifest, getDbSurfaceManifest, getDirectiveCatalog, getDirectiveNounSchemas, getLibrary, getLists, getMcpDiscoveredTools, getNativeTools, getOrCreateTestSession, getPortableAgent, getPortableAgentSummary, getPortableAgentVersion, getPrompts, getRealtimeSession, getRealtimeTools, getSkill, getTemplates, getToolById, getToolDetail, getToolsBySourceKind, getToolsForApp, getUserPrompts, getUserPromptsAndBuiltins, getVariationBatches, getVersion, importDraft, importPreview, invalidateAgentCache, invokeTool, judgeFirstRuns, keepBuild, listAgents, listCategories, listContextOrganizations, listModels, listScenarios, listTools, listVersions, mockStream, patchCategory, patchSkill, postAgentCatalogRpc, previewAnswerBoth, previewContext, previewVariableBinding, promptMatrixPaths, putLibrary, putLists, putPrompts, putTemplates, putVariationBatches, readBuild, readDirectiveApplyState, renderContext, resolvePromptBlocks, runAgentTests, runMatrixBattle, screenRun, skillsListSkills, startAgentBlocks, startBuild, startMandatedAgent, startPrompt, toolDetail, toolTestingListTools, updateAgent, updateTool, validateAll, validateSchema, warmAgent, warmAgentBlocks, warmPrompt };