@ai-matrx/api 0.1.30 → 0.1.32

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 (132) hide show
  1. package/CHANGELOG.md +43 -1
  2. package/dist/account.d.cts +8 -8
  3. package/dist/account.d.ts +8 -8
  4. package/dist/agents.cjs +160 -12
  5. package/dist/agents.d.cts +821 -15
  6. package/dist/agents.d.ts +821 -15
  7. package/dist/agents.js +127 -4
  8. package/dist/ai.cjs +26 -2
  9. package/dist/ai.d.cts +76 -3
  10. package/dist/ai.d.ts +76 -3
  11. package/dist/ai.js +22 -2
  12. package/dist/apps.cjs +5 -11
  13. package/dist/apps.d.cts +3 -49
  14. package/dist/apps.d.ts +3 -49
  15. package/dist/apps.js +2 -7
  16. package/dist/architecture.cjs +96 -42
  17. package/dist/architecture.d.cts +269 -43
  18. package/dist/architecture.d.ts +269 -43
  19. package/dist/architecture.js +73 -28
  20. package/dist/audio.cjs +39 -39
  21. package/dist/audio.d.cts +15 -3
  22. package/dist/audio.d.ts +15 -3
  23. package/dist/audio.js +2 -2
  24. package/dist/chat.cjs +11 -11
  25. package/dist/chat.d.cts +7 -2
  26. package/dist/chat.d.ts +7 -2
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-ILAZVNEL.cjs → chunk-27ZEEIXM.cjs} +1 -1
  29. package/dist/{chunk-35BH3TJW.js → chunk-5TRUQNVW.js} +1 -1
  30. package/dist/{chunk-RIIIDGZJ.js → chunk-DKJGWA5L.js} +1 -1
  31. package/dist/{chunk-I4AWZ7GN.js → chunk-LYHAZQX5.js} +1 -1
  32. package/dist/{chunk-FFXB3EDM.cjs → chunk-LYRANVIS.cjs} +3 -3
  33. package/dist/{chunk-VU3BK4NY.cjs → chunk-TMEGWPWE.cjs} +37 -37
  34. package/dist/{chunk-NH7VE36B.cjs → chunk-VK5BH6FK.cjs} +4 -4
  35. package/dist/{chunk-KZD6TVJ4.js → chunk-X75SKCDS.js} +1 -1
  36. package/dist/code.cjs +6 -6
  37. package/dist/code.d.cts +4 -2
  38. package/dist/code.d.ts +4 -2
  39. package/dist/code.js +1 -1
  40. package/dist/commerce.d.cts +2 -2
  41. package/dist/commerce.d.ts +2 -2
  42. package/dist/communications.cjs +4 -4
  43. package/dist/communications.d.cts +2 -2
  44. package/dist/communications.d.ts +2 -2
  45. package/dist/communications.js +1 -1
  46. package/dist/computer.cjs +4 -4
  47. package/dist/computer.d.cts +2 -2
  48. package/dist/computer.d.ts +2 -2
  49. package/dist/computer.js +1 -1
  50. package/dist/content.cjs +4 -4
  51. package/dist/content.d.cts +2 -2
  52. package/dist/content.d.ts +2 -2
  53. package/dist/content.js +1 -1
  54. package/dist/crm.cjs +8 -2
  55. package/dist/crm.d.cts +26 -3
  56. package/dist/crm.d.ts +26 -3
  57. package/dist/crm.js +7 -2
  58. package/dist/data.cjs +22 -4
  59. package/dist/data.d.cts +185 -3
  60. package/dist/data.d.ts +185 -3
  61. package/dist/data.js +17 -2
  62. package/dist/education.cjs +4 -4
  63. package/dist/education.d.cts +2 -2
  64. package/dist/education.d.ts +2 -2
  65. package/dist/education.js +1 -1
  66. package/dist/files.cjs +228 -228
  67. package/dist/files.d.cts +8 -8
  68. package/dist/files.d.ts +8 -8
  69. package/dist/files.js +2 -2
  70. package/dist/human-resources.d.cts +2 -2
  71. package/dist/human-resources.d.ts +2 -2
  72. package/dist/{index-B6p8TJkh.d.cts → index-A1nOdg4F.d.cts} +2 -2
  73. package/dist/{index-B6p8TJkh.d.ts → index-A1nOdg4F.d.ts} +2 -2
  74. package/dist/index.cjs +69 -59
  75. package/dist/index.d.cts +9 -4
  76. package/dist/index.d.ts +9 -4
  77. package/dist/index.js +13 -3
  78. package/dist/integrations.cjs +35 -5
  79. package/dist/integrations.d.cts +97 -3
  80. package/dist/integrations.d.ts +97 -3
  81. package/dist/integrations.js +27 -2
  82. package/dist/intelligence.cjs +19 -8
  83. package/dist/intelligence.d.cts +98 -28
  84. package/dist/intelligence.d.ts +98 -28
  85. package/dist/intelligence.js +13 -4
  86. package/dist/knowledge.cjs +42 -42
  87. package/dist/knowledge.d.cts +11 -11
  88. package/dist/knowledge.d.ts +11 -11
  89. package/dist/knowledge.js +1 -1
  90. package/dist/legal.cjs +6 -6
  91. package/dist/legal.d.cts +2 -2
  92. package/dist/legal.d.ts +2 -2
  93. package/dist/legal.js +1 -1
  94. package/dist/marketing.cjs +194 -78
  95. package/dist/marketing.d.cts +601 -7
  96. package/dist/marketing.d.ts +601 -7
  97. package/dist/marketing.js +98 -2
  98. package/dist/masterwork.cjs +32 -32
  99. package/dist/masterwork.d.cts +2 -2
  100. package/dist/masterwork.d.ts +2 -2
  101. package/dist/masterwork.js +1 -1
  102. package/dist/media.cjs +34 -11
  103. package/dist/media.d.cts +61 -3
  104. package/dist/media.d.ts +61 -3
  105. package/dist/media.js +21 -2
  106. package/dist/platform.cjs +27 -27
  107. package/dist/platform.d.cts +2 -2
  108. package/dist/platform.d.ts +2 -2
  109. package/dist/platform.js +2 -2
  110. package/dist/publish.cjs +7 -7
  111. package/dist/publish.d.cts +2 -2
  112. package/dist/publish.d.ts +2 -2
  113. package/dist/publish.js +1 -1
  114. package/dist/recording.cjs +17 -17
  115. package/dist/recording.js +4 -4
  116. package/dist/schemas.d.cts +45 -3
  117. package/dist/schemas.d.ts +45 -3
  118. package/dist/stream.cjs +10 -10
  119. package/dist/stream.d.cts +1 -1
  120. package/dist/stream.d.ts +1 -1
  121. package/dist/stream.js +1 -1
  122. package/dist/types.d.cts +1958 -75
  123. package/dist/types.d.ts +1958 -75
  124. package/dist/web.cjs +61 -26
  125. package/dist/web.d.cts +111 -3
  126. package/dist/web.d.ts +111 -3
  127. package/dist/web.js +31 -2
  128. package/dist/workflows.cjs +13 -13
  129. package/dist/workflows.d.cts +32 -2
  130. package/dist/workflows.d.ts +32 -2
  131. package/dist/workflows.js +1 -1
  132. package/package.json +4 -4
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-B6p8TJkh.cjs';
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, HostTurn, MandateTestHolder, ResourceContextPolicy, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, IdeState, SandboxBindingRequest, PageContext, ChatMessageInput, CacheBypass, DirectiveItemApplied, DirectiveItemFailed, ActionNeeded } from './schemas.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-A1nOdg4F.cjs';
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, HostTurn, MandateTestHolder, ResourceContextPolicy, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, IdeState, SandboxBindingRequest, PageContext, ChatMessageInput, CacheBypass, DirectiveItemApplied, DirectiveItemFailed, ActionNeeded, MandateServedInput } 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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
7
+ * CONTRACT_SHA256 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
8
8
  */
9
9
 
10
10
  /** AgentBlocksStartRequest */
@@ -101,6 +101,40 @@ type AgentDetail = {
101
101
  [key: string]: JsonValue;
102
102
  }[];
103
103
  };
104
+ /** What an agent needs to choose and call one Tool well. */
105
+ type AgentDoc = {
106
+ tool_id: string;
107
+ job_key: string;
108
+ display_name: string;
109
+ display_noun: string;
110
+ job_family: string;
111
+ state: string;
112
+ what_it_does: string;
113
+ when_to_use: string;
114
+ inputs?: AgentDocInput[];
115
+ returns_kind?: string | null;
116
+ returns?: AgentDocField[];
117
+ traps?: string;
118
+ price_points?: number | null;
119
+ price_line?: string;
120
+ reliability?: Reliability | null;
121
+ };
122
+ /** AgentDocField */
123
+ type AgentDocField = {
124
+ name: string;
125
+ label: string;
126
+ type: string;
127
+ };
128
+ /** AgentDocInput */
129
+ type AgentDocInput = {
130
+ name: string;
131
+ type: string;
132
+ required?: boolean;
133
+ description?: string;
134
+ example?: unknown;
135
+ choices?: unknown[];
136
+ default?: unknown;
137
+ };
104
138
  /** AgentFromChatRequest */
105
139
  type AgentFromChatRequest = {
106
140
  /** The chat to turn into an agent (stored on the platform). */
@@ -211,6 +245,12 @@ type AgentStartRequest = {
211
245
  writable_variables?: string[];
212
246
  allow_context_create?: boolean;
213
247
  prior_messages?: ChatMessageInput[];
248
+ /** THE VARIABLE RULE, ephemeral runs: the carried system instruction and leading messages are turn 1's filled result (the `first_turn_filled` stream event). The server runs no first-turn pass — no values */
249
+ first_turn_filled?: boolean;
250
+ /** Turn 1's filled system prompt. Only with first_turn_filled. */
251
+ system_instruction?: string | null;
252
+ /** Opaque seal from the `first_turn_filled` event (its `wire_swaps`), sent back unchanged with first_turn_filled. It carries what turn 1 resolved but never wrote into the prompt (hidden pick-list text, d */
253
+ wire_swaps?: string | null;
214
254
  is_version?: boolean;
215
255
  block_mode?: boolean;
216
256
  snapshot?: boolean | null;
@@ -334,6 +374,111 @@ type AgentVersionInfo = {
334
374
  change_note?: string | null;
335
375
  changed_at?: string | null;
336
376
  };
377
+ /** §12a attempt ``outcome``. */
378
+ type AttemptOutcome = "hit" | "miss" | "definitive_miss" | "refused_cap" | "error";
379
+ /** §5b ``attempts`` item (admins only; members get the count). */
380
+ type AttemptView = {
381
+ endpoint_id?: string | null;
382
+ provider: string;
383
+ via: string;
384
+ outcome?: AttemptOutcome | null;
385
+ error_class?: ErrorClass | null;
386
+ latency_ms?: number | null;
387
+ cost_usd?: number | null;
388
+ served_by_vendor?: string | null;
389
+ };
390
+ /** 🚨 Inherits ScopedRequest: the frontend injects organization/project/task on every mutating body. */
391
+ type BattleCreateRequest = {
392
+ /** Organization context for the request; omitted to use the authenticated context. */
393
+ organization_id?: string | null;
394
+ /** Optional associated project selected by the caller. */
395
+ project_id?: string | null;
396
+ /** Optional associated task selected by the caller. */
397
+ task_id?: string | null;
398
+ /** Stable application slug that initiated the request. */
399
+ source_app?: string | null;
400
+ /** Stable feature slug within the source application. */
401
+ source_feature?: string | null;
402
+ /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
403
+ initiation?: ("user" | "auto") | null;
404
+ /** Active context-scope ids selected by the caller and membership-validated server-side. */
405
+ scope_ids?: string[] | null;
406
+ /** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
407
+ active_scope_type_ids?: string[] | null;
408
+ /** Durable resource identity from which authoritative organization and task context is reloaded. */
409
+ context_anchor?: ContextAnchor | null;
410
+ /** Persist request outputs when true; run ephemerally when false. */
411
+ store?: boolean;
412
+ /** Specific connected desktop instance allowed to claim delegated local tools. */
413
+ target_instance_id?: string | null;
414
+ title?: string;
415
+ job_key: string;
416
+ tool_id?: string | null;
417
+ lanes: LaneSpec[];
418
+ subjects: SubjectSpec[];
419
+ blind?: boolean;
420
+ run?: boolean;
421
+ };
422
+ /** BattleRunRequest */
423
+ type BattleRunRequest = {
424
+ /** Organization context for the request; omitted to use the authenticated context. */
425
+ organization_id?: string | null;
426
+ /** Optional associated project selected by the caller. */
427
+ project_id?: string | null;
428
+ /** Optional associated task selected by the caller. */
429
+ task_id?: string | null;
430
+ /** Stable application slug that initiated the request. */
431
+ source_app?: string | null;
432
+ /** Stable feature slug within the source application. */
433
+ source_feature?: string | null;
434
+ /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
435
+ initiation?: ("user" | "auto") | null;
436
+ /** Active context-scope ids selected by the caller and membership-validated server-side. */
437
+ scope_ids?: string[] | null;
438
+ /** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
439
+ active_scope_type_ids?: string[] | null;
440
+ /** Durable resource identity from which authoritative organization and task context is reloaded. */
441
+ context_anchor?: ContextAnchor | null;
442
+ /** Persist request outputs when true; run ephemerally when false. */
443
+ store?: boolean;
444
+ /** Specific connected desktop instance allowed to claim delegated local tools. */
445
+ target_instance_id?: string | null;
446
+ scope?: "unfinished" | "all";
447
+ cells?: aidream__services__tool_battle__service__CellRef[] | null;
448
+ };
449
+ /** BudgetIn */
450
+ type BudgetIn = {
451
+ /** Null = the whole key; else a tag name such as customer. */
452
+ tag_key?: string | null;
453
+ /** A specific tag value, or * (the default when a tag name is given) = every value gets its own cap. */
454
+ tag_value?: string | null;
455
+ /** day, month or total (UTC windows). */
456
+ period: string;
457
+ /** Most points the scope may spend in the window. */
458
+ points_cap: number;
459
+ note?: string;
460
+ };
461
+ /** BudgetOut */
462
+ type BudgetOut = {
463
+ /** Null = the whole key; else a tag name such as customer. */
464
+ tag_key?: string | null;
465
+ /** A specific tag value, or * (the default when a tag name is given) = every value gets its own cap. */
466
+ tag_value?: string | null;
467
+ /** day, month or total (UTC windows). */
468
+ period: string;
469
+ /** Most points the scope may spend in the window. */
470
+ points_cap: number;
471
+ note?: string;
472
+ id: string;
473
+ /** Spent in the current window (null for a * budget: it is per value). */
474
+ spent_points?: number | null;
475
+ remaining_points?: number | null;
476
+ };
477
+ /** BudgetsBody */
478
+ type BudgetsBody = {
479
+ /** The key's whole budget list. */
480
+ budgets?: BudgetIn[];
481
+ };
337
482
  /** BuildResponse */
338
483
  type BuildResponse = {
339
484
  build_id: string;
@@ -353,6 +498,32 @@ type CacheBustResponse = {
353
498
  tool_registry_count: number;
354
499
  timestamp: string;
355
500
  };
501
+ /** §5a: ``prefer`` reads and writes the cache; ``refresh`` writes only; ``bypass`` neither, and */
502
+ type CachePolicy = "prefer" | "refresh" | "bypass";
503
+ /** §5b ``cache``: whether the answer came from the shared cache, and whose. */
504
+ type CacheUse = "none" | "own" | "shared";
505
+ /** §5b ``approval``: the existing ``ScreenRunApproval`` fields unchanged, plus ``estimate_points``. */
506
+ type CallApproval = {
507
+ action_request_id: string;
508
+ organization_id?: string | null;
509
+ estimate_usd?: number | null;
510
+ ceiling_cap_usd?: number | null;
511
+ what_it_buys?: string | null;
512
+ expires_at?: string | null;
513
+ render?: {
514
+ [key: string]: JsonValue;
515
+ } | null;
516
+ estimate_points?: number | null;
517
+ };
518
+ /** §5b ``error``: a §12c code and our sentence. Never vendor text. */
519
+ type CallError = {
520
+ code: string;
521
+ message: string;
522
+ };
523
+ /** §5b ``stage``: what the layer is doing right now; each carries our own label. */
524
+ type CallStage = "queued" | "checking_saved" | "routing" | "fetching" | "waiting_for_provider" | "storing" | "done";
525
+ /** §5b ``status``: where a call is. Terminal: succeeded, empty, failed, refused, cancelled. */
526
+ type CallStatus = "queued" | "running" | "waiting" | "needs_approval" | "succeeded" | "empty" | "failed" | "refused" | "cancelled";
356
527
  /** CatalogRpcRequest */
357
528
  type CatalogRpcRequest = {
358
529
  /** Must be 'agx_get_list_full' */
@@ -361,6 +532,24 @@ type CatalogRpcRequest = {
361
532
  [key: string]: unknown;
362
533
  } | null;
363
534
  };
535
+ /** CONTRACT §13: one paged answer, ≤ 50 per page, never vendor names for members. */
536
+ type CatalogSearchResponse = {
537
+ verdict: SearchVerdict;
538
+ tools?: CatalogSearchTool[];
539
+ next_cursor?: string | null;
540
+ };
541
+ /** CatalogSearchTool */
542
+ type CatalogSearchTool = {
543
+ tool_id: string;
544
+ job_key: string;
545
+ display_name: string;
546
+ display_noun: string;
547
+ summary: string;
548
+ job_family: JobFamily;
549
+ price_hint_points?: number | null;
550
+ reliability?: Reliability;
551
+ state: ToolState;
552
+ };
364
553
  /** Faceted catalog view: distinct categories + tag counts + the agents. */
365
554
  type CatalogTree = {
366
555
  total: number;
@@ -435,12 +624,6 @@ type CategoryRow = {
435
624
  sort_order?: number;
436
625
  is_active?: boolean;
437
626
  };
438
- /** CellRef */
439
- type CellRef = {
440
- row_id: string;
441
- column_id: string;
442
- repeat?: number;
443
- };
444
627
  /** Clearance */
445
628
  type Clearance = "public" | "internal" | "restricted" | "privileged";
446
629
  /** CodeDeclaration */
@@ -979,6 +1162,30 @@ type CreateAgentInput = {
979
1162
  /** Org placement for an owned agent. Ignored unless owner_user_id is set; REQUIRED when it is — the organization the caller was admitted for (context_organization_id(ctx)) or the one on the record being */
980
1163
  owner_organization_id?: string | null;
981
1164
  };
1165
+ /** What a developer needs to call one Tool: the job, its inputs as JSON Schema, a typical price. */
1166
+ type DeveloperTool = {
1167
+ tool_id: string;
1168
+ job_key: string;
1169
+ display_name: string;
1170
+ display_noun: string;
1171
+ summary: string;
1172
+ job_family: string;
1173
+ state: string;
1174
+ price_hint_points?: number | null;
1175
+ price_hint_usd?: number | null;
1176
+ output_kind?: string | null;
1177
+ input_schema?: {
1178
+ [key: string]: JsonValue;
1179
+ };
1180
+ example_inputs?: {
1181
+ [key: string]: JsonValue;
1182
+ };
1183
+ notes?: string;
1184
+ reliability?: {
1185
+ [key: string]: JsonValue;
1186
+ };
1187
+ off_notice?: string | null;
1188
+ };
982
1189
  /** DirectiveApplyResult */
983
1190
  type DirectiveApplyResult = {
984
1191
  directive: string;
@@ -1111,6 +1318,15 @@ type DirectiveShellState = {
1111
1318
  approvable: boolean;
1112
1319
  unreadable?: string | null;
1113
1320
  };
1321
+ /** §7 ``error_class``: why an attempt did not answer. */
1322
+ type ErrorClass = "retryable_exhausted" | "timeout" | "rate_limited" | "auth" | "credit" | "not_served" | "bad_request" | "vendor_5xx" | "shape" | "uncertain";
1323
+ /** ``CheckStepInput``: a case state carrying ``case``, ``run``, ``evidence`` and ``bindings``. */
1324
+ type EvaluateRequest = {
1325
+ case_state: {
1326
+ [key: string]: unknown;
1327
+ };
1328
+ prove?: boolean;
1329
+ };
1114
1330
  /** Complete, portable agent definition consumed by every execution host. */
1115
1331
  type ExecutionAgentDefinition = {
1116
1332
  definition_id: string;
@@ -1167,6 +1383,12 @@ type FirstRunsResponse = {
1167
1383
  [key: string]: JsonValue;
1168
1384
  };
1169
1385
  };
1386
+ /** FormatRequest */
1387
+ type FormatRequest = {
1388
+ check: {
1389
+ [key: string]: unknown;
1390
+ };
1391
+ };
1170
1392
  /** GetToolResponse */
1171
1393
  type GetToolResponse = {
1172
1394
  tool: ToolRecord;
@@ -1175,6 +1397,16 @@ type GetToolResponse = {
1175
1397
  } | string;
1176
1398
  [key: string]: unknown;
1177
1399
  };
1400
+ /** Holder */
1401
+ type Holder = {
1402
+ kind: "agent" | "agent_version" | "workflow";
1403
+ id: string;
1404
+ };
1405
+ /** §5b ``ignored_filters`` item: an input the serving endpoint could not honour. */
1406
+ type IgnoredFilter = {
1407
+ input: string;
1408
+ label: string;
1409
+ };
1178
1410
  /** Exactly one of ``file_id`` (an uploaded claude.ai export) or ``text`` (a pasted chat). */
1179
1411
  type ImportPreviewRequest = {
1180
1412
  file_id?: string | null;
@@ -1226,6 +1458,8 @@ type InvocationContext = {
1226
1458
  clearance?: Clearance;
1227
1459
  [key: string]: unknown;
1228
1460
  };
1461
+ /** JobFamily */
1462
+ type JobFamily = "seo" | "people" | "company" | "social" | "ads" | "search" | "reviews" | "ai_visibility" | "market" | "ecommerce" | "generation" | "data_library" | "public_data";
1229
1463
  /** KeepResponse */
1230
1464
  type KeepResponse = {
1231
1465
  agent_id: string;
@@ -1240,6 +1474,35 @@ type KindActionEntry = {
1240
1474
  } | null;
1241
1475
  item_kind?: string | null;
1242
1476
  };
1477
+ /** LaneSpec */
1478
+ type LaneSpec = {
1479
+ endpoint_id: string;
1480
+ label: string;
1481
+ provider_slug?: string | null;
1482
+ via?: ("direct" | "treg") | null;
1483
+ };
1484
+ /** LaunchRunRequest */
1485
+ type LaunchRunRequest = {
1486
+ agent_ids: string[];
1487
+ case_ids?: string[] | null;
1488
+ setups?: RunSetup[] | null;
1489
+ comparison_set_id?: string | null;
1490
+ mandate_id?: string | null;
1491
+ door_policy?: string;
1492
+ repeats?: number;
1493
+ judge_policy?: "off" | "on_fail_or_undecided";
1494
+ max_cost_cents?: number | string | null;
1495
+ personal_key?: string | null;
1496
+ purpose?: "user" | "platform";
1497
+ idempotency_key?: string | null;
1498
+ };
1499
+ /** LaunchRunResponse */
1500
+ type LaunchRunResponse = {
1501
+ run_id: string;
1502
+ execution_id: string;
1503
+ result_count: number;
1504
+ status: string;
1505
+ };
1243
1506
  /** LibraryPut */
1244
1507
  type LibraryPut = {
1245
1508
  entries?: {
@@ -1342,7 +1605,7 @@ type MatrixRunRequest = {
1342
1605
  store?: boolean;
1343
1606
  /** Specific connected desktop instance allowed to claim delegated local tools. */
1344
1607
  target_instance_id?: string | null;
1345
- cells?: CellRef[] | null;
1608
+ cells?: aidream__services__agent_battle_matrix__service__CellRef[] | null;
1346
1609
  scope?: "all" | "unfinished";
1347
1610
  };
1348
1611
  /** A variable filled by a MERGE FIELD — the declaration ``matrx_records.merge`` */
@@ -1501,6 +1764,28 @@ type OrchestraBadge = {
1501
1764
  member_titles?: string[];
1502
1765
  member_depth_ceiling?: number | null;
1503
1766
  };
1767
+ /** ParseRequest */
1768
+ type ParseRequest = {
1769
+ text: string;
1770
+ };
1771
+ /** A partial run configuration. Every key optional; PRESENT keys override. */
1772
+ type Patch = {
1773
+ agent_id?: string | null;
1774
+ agent_version_id?: string | null;
1775
+ agent_version_number?: number | null;
1776
+ surface?: string | null;
1777
+ auto_tools?: boolean | null;
1778
+ tools_add?: string[] | null;
1779
+ tools_remove?: string[] | null;
1780
+ model_id?: string | null;
1781
+ settings?: {
1782
+ [key: string]: JsonValue;
1783
+ } | null;
1784
+ user_input?: string | null;
1785
+ variables?: {
1786
+ [key: string]: JsonValue;
1787
+ } | null;
1788
+ };
1504
1789
  /** PicklistBinding */
1505
1790
  type PicklistBinding = {
1506
1791
  /** The id of the pick list (a Table of choices) the options come from. */
@@ -1584,6 +1869,33 @@ type PortableUnavailable = {
1584
1869
  name: string;
1585
1870
  reason: string;
1586
1871
  };
1872
+ /** PromoteRequest */
1873
+ type PromoteRequest = {
1874
+ /** Organization context for the request; omitted to use the authenticated context. */
1875
+ organization_id?: string | null;
1876
+ /** Optional associated project selected by the caller. */
1877
+ project_id?: string | null;
1878
+ /** Optional associated task selected by the caller. */
1879
+ task_id?: string | null;
1880
+ /** Stable application slug that initiated the request. */
1881
+ source_app?: string | null;
1882
+ /** Stable feature slug within the source application. */
1883
+ source_feature?: string | null;
1884
+ /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
1885
+ initiation?: ("user" | "auto") | null;
1886
+ /** Active context-scope ids selected by the caller and membership-validated server-side. */
1887
+ scope_ids?: string[] | null;
1888
+ /** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
1889
+ active_scope_type_ids?: string[] | null;
1890
+ /** Durable resource identity from which authoritative organization and task context is reloaded. */
1891
+ context_anchor?: ContextAnchor | null;
1892
+ /** Persist request outputs when true; run ephemerally when false. */
1893
+ store?: boolean;
1894
+ /** Specific connected desktop instance allowed to claim delegated local tools. */
1895
+ target_instance_id?: string | null;
1896
+ /** Lane ids, best first. */
1897
+ order: string[];
1898
+ };
1587
1899
  /** PromptBlocksResolved */
1588
1900
  type PromptBlocksResolved = {
1589
1901
  blocks?: {
@@ -1656,6 +1968,17 @@ type PromptsPut = {
1656
1968
  [key: string]: unknown;
1657
1969
  }[];
1658
1970
  };
1971
+ /** One realtime model the caller may open (the playground model picker). */
1972
+ type RealtimeModelOption = {
1973
+ model_id: string;
1974
+ name: string;
1975
+ common_name?: string | null;
1976
+ provider: string;
1977
+ };
1978
+ /** RealtimeModelsResponse */
1979
+ type RealtimeModelsResponse = {
1980
+ models: RealtimeModelOption[];
1981
+ };
1659
1982
  /** Which agent row the session runs: the live agent, or a version row. */
1660
1983
  type RealtimeSessionRequest = {
1661
1984
  /** Organization context for the request; omitted to use the authenticated context. */
@@ -1672,6 +1995,8 @@ type RealtimeSessionRequest = {
1672
1995
  initiation?: ("user" | "auto") | null;
1673
1996
  /** Resolve against an agent VERSION row rather than the live agent. */
1674
1997
  is_version?: boolean;
1998
+ /** A person's realtime model pick (catalog id or name). Honored only for a realtime catalog model the caller may use; otherwise the agent's own model. */
1999
+ model_id?: string | null;
1675
2000
  };
1676
2001
  /** Everything a realtime voice session needs — never the definition itself. */
1677
2002
  type RealtimeSessionResponse = {
@@ -1679,14 +2004,26 @@ type RealtimeSessionResponse = {
1679
2004
  agent_id: string;
1680
2005
  /** builtin / user / … — gates the person's voice choice. */
1681
2006
  agent_type?: string | null;
1682
- /** The catalog model id the agent is set to. */
2007
+ /** The catalog model id the session runs. */
1683
2008
  model_id: string;
1684
- /** The model value xAI's realtime socket expects. */
2009
+ /** The model value the provider's realtime endpoint expects. */
1685
2010
  wire_model: string;
1686
2011
  /** The agent's own voice (settings.voice_id). */
1687
2012
  voice_id?: string | null;
1688
2013
  /** The agent's system message — the session persona. */
1689
2014
  instructions: string;
2015
+ /** xai | openai — the browser transport to open. */
2016
+ provider?: string;
2017
+ /** The catalog model name. */
2018
+ model_name?: string | null;
2019
+ /** Catalog voices for this model (empty = none listed). */
2020
+ voices?: string[];
2021
+ /** The catalog default voice. */
2022
+ default_voice?: string | null;
2023
+ /** agent (no pick) | honored | refused_not_realtime | refused_no_access. */
2024
+ model_choice?: string;
2025
+ /** The provider's input transcription model (None = client default). */
2026
+ input_transcription_model?: string | null;
1690
2027
  };
1691
2028
  /** One tool declared to a realtime session, in xAI function shape. */
1692
2029
  type RealtimeTool = {
@@ -1717,6 +2054,26 @@ type RealtimeToolsResponse = {
1717
2054
  [key: string]: JsonValue;
1718
2055
  }[];
1719
2056
  };
2057
+ /** Reliability */
2058
+ type Reliability = {
2059
+ success_rate?: number | null;
2060
+ samples?: number;
2061
+ p50_ms?: number | null;
2062
+ last_success_at?: string | null;
2063
+ };
2064
+ /** RunSetup */
2065
+ type RunSetup = {
2066
+ key: string;
2067
+ label: string;
2068
+ holder: Holder;
2069
+ patch?: Patch;
2070
+ entry_id?: string | null;
2071
+ };
2072
+ /** RunStatusResponse */
2073
+ type RunStatusResponse = {
2074
+ run_id: string;
2075
+ status: string;
2076
+ };
1720
2077
  /** SchemaFinding */
1721
2078
  type SchemaFinding = {
1722
2079
  provider: string;
@@ -1791,6 +2148,31 @@ type ScreenRunResponse = {
1791
2148
  error?: ScreenRunError | null;
1792
2149
  approval?: ScreenRunApproval | null;
1793
2150
  };
2151
+ /** SearchVerdict */
2152
+ type SearchVerdict = "strong" | "closest" | "none";
2153
+ /** §5b ``served_by`` (admins only). */
2154
+ type ServedBy = {
2155
+ endpoint_id?: string | null;
2156
+ provider: string;
2157
+ };
2158
+ /** ``GET /tools/{tool_id}/run-form`` — a workflow run-form-shaped body for one catalog Tool. */
2159
+ type ServedToolForm = {
2160
+ /** The Tool's id (tool.definition.id). */
2161
+ definition_id: string;
2162
+ version: number;
2163
+ inputs: MandateServedInput[];
2164
+ display_noun: string;
2165
+ submit_label: string;
2166
+ layout?: string;
2167
+ display_name: string;
2168
+ summary?: string;
2169
+ price_hint_points?: number | null;
2170
+ state: ToolState;
2171
+ tool_off_notice?: string | null;
2172
+ example_inputs?: {
2173
+ [key: string]: JsonValue;
2174
+ };
2175
+ };
1794
2176
  /** SkillCreate */
1795
2177
  type SkillCreate = {
1796
2178
  /** Organization context for the request; omitted to use the authenticated context. */
@@ -1916,6 +2298,15 @@ type StartBuildResponse = {
1916
2298
  build_id: string;
1917
2299
  idempotency_key: string;
1918
2300
  };
2301
+ /** SubjectSpec */
2302
+ type SubjectSpec = {
2303
+ label: string;
2304
+ inputs: {
2305
+ [key: string]: JsonValue;
2306
+ };
2307
+ /** Subject-pool id (SUBJECT-POOL.md) when drawn from it. */
2308
+ pool_id?: string | null;
2309
+ };
1919
2310
  /** The server's authoritative view of one surface's tool manifest. */
1920
2311
  type SurfaceManifest = {
1921
2312
  name: string;
@@ -1938,6 +2329,63 @@ type TemplatesPut = {
1938
2329
  [key: string]: unknown;
1939
2330
  }[];
1940
2331
  };
2332
+ /** One request shape for every door (§5a). Identity, door, caller refs and cost centre are */
2333
+ type ToolCallRequest = {
2334
+ /** The job Tool; required unless endpoint_id is given. */
2335
+ tool_id?: string | null;
2336
+ /** Pin one endpoint (admins, Tool Battle, upkeep, compare displays). Members may pin only endpoints of a compare Tool. */
2337
+ endpoint_id?: string | null;
2338
+ inputs?: {
2339
+ [key: string]: JsonValue;
2340
+ };
2341
+ /** The call's walking budget in points. Null = the Tool's ceiling (sum of the worst cases of its first router.max_attempts candidates), lowered by the org's per-call cap. */
2342
+ max_points?: number | null;
2343
+ idempotency_key?: string | null;
2344
+ cache_policy?: CachePolicy;
2345
+ /** May only narrow freshness, never widen it. */
2346
+ max_age_s?: number | null;
2347
+ /** When a prior call returned needs_approval. */
2348
+ spend_approval_id?: string | null;
2349
+ /** How long the HTTP door holds before answering with the pending record. */
2350
+ wait_s?: number | null;
2351
+ /** Developer API per-customer tags; stored only. */
2352
+ tags?: {
2353
+ [key: string]: string;
2354
+ };
2355
+ };
2356
+ /** What callers get back and what the record shows (§5b). Admin-only fields are ``None`` for */
2357
+ type ToolCallView = {
2358
+ call_id: string;
2359
+ tool_id?: string | null;
2360
+ tool_name?: string | null;
2361
+ display_name?: string | null;
2362
+ status: CallStatus;
2363
+ stage: CallStage;
2364
+ stage_label: string;
2365
+ output?: JsonValue;
2366
+ display_source?: string | null;
2367
+ ignored_filters?: IgnoredFilter[];
2368
+ points_held?: number;
2369
+ points_charged?: number;
2370
+ /** points_charged in dollars at the payer's points rate (developer API: cost in dollars). */
2371
+ charged_usd?: number | null;
2372
+ /** The caller's tags, echoed back (developer API). */
2373
+ tags?: {
2374
+ [key: string]: string;
2375
+ };
2376
+ cache?: CacheUse;
2377
+ attempts_count?: number;
2378
+ error?: CallError | null;
2379
+ approval?: CallApproval | null;
2380
+ raw?: JsonValue;
2381
+ created_at?: string | null;
2382
+ finished_at?: string | null;
2383
+ latency_ms?: number | null;
2384
+ billed_to?: string | null;
2385
+ cost_usd?: number | null;
2386
+ attempts?: AttemptView[] | null;
2387
+ served_by?: ServedBy | null;
2388
+ };
1941
2389
  /** ToolDetail */
1942
2390
  type ToolDetail = {
1943
2391
  name: string;
@@ -2088,6 +2536,8 @@ type ToolRow = {
2088
2536
  drift_severity?: string | null;
2089
2537
  [key: string]: unknown;
2090
2538
  };
2539
+ /** ToolState */
2540
+ type ToolState = "live" | "paused" | "off" | "draft" | "retired";
2091
2541
  /** ToolSummary */
2092
2542
  type ToolSummary = {
2093
2543
  code_count: number;
@@ -2211,6 +2661,26 @@ type UpdateAgentInput = {
2211
2661
  /** Term lists (glossary / pronunciation / house terms) to ATTACH to the agent, by term-list id. REPLACES the attached set (omitted = unchanged; [] = detach all). Each list must be one you can view; an un */
2212
2662
  term_list_ids?: string[] | null;
2213
2663
  };
2664
+ /** UsageReport */
2665
+ type UsageReport = {
2666
+ key_id: string;
2667
+ tag_key?: string | null;
2668
+ since: string;
2669
+ until: string;
2670
+ points_per_dollar?: number | null;
2671
+ total: UsageRow;
2672
+ by_tag?: UsageRow[];
2673
+ budgets?: BudgetOut[];
2674
+ };
2675
+ /** UsageRow */
2676
+ type UsageRow = {
2677
+ tag_value?: string | null;
2678
+ calls?: number;
2679
+ succeeded?: number;
2680
+ refused?: number;
2681
+ points?: number;
2682
+ usd?: number;
2683
+ };
2214
2684
  /** UserPromptCatalogResponse */
2215
2685
  type UserPromptCatalogResponse = {
2216
2686
  prompts: AgentSummary[];
@@ -2362,6 +2832,17 @@ type aidream__services__admin_ops__tools_wire__ToolListResponse = {
2362
2832
  items: ToolRow[];
2363
2833
  import_failures?: string[];
2364
2834
  };
2835
+ /** CellRef */
2836
+ type aidream__services__agent_battle_matrix__service__CellRef = {
2837
+ row_id: string;
2838
+ column_id: string;
2839
+ repeat?: number;
2840
+ };
2841
+ /** CellRef */
2842
+ type aidream__services__tool_battle__service__CellRef = {
2843
+ lane_id: string;
2844
+ subject_id: string;
2845
+ };
2365
2846
  type WarmAgentArgs = {
2366
2847
  path: {
2367
2848
  agent_id: string;
@@ -2494,8 +2975,8 @@ type StartMandatedAgentArgs = {
2494
2975
  };
2495
2976
  type StartMandatedAgentResult = unknown;
2496
2977
  /** Start Mandated Agent */
2497
- /** `POST /ai/mandates/{mandate_key}` · aidream · auth guest · org required · ndjson */
2498
- declare function startMandatedAgent(api: Api, args: StartMandatedAgentArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
2978
+ /** `POST /ai/mandates/{mandate_key}` · aidream · auth guest · org required · ndjson_or_json */
2979
+ declare function startMandatedAgent(api: Api, args: StartMandatedAgentArgs, options?: CallOptions): Promise<JsonOrStream<StartMandatedAgentResult, NdjsonEvent>>;
2499
2980
  type InvalidateAgentCacheArgs = {
2500
2981
  path: {
2501
2982
  agent_id: string;
@@ -2605,6 +3086,13 @@ type GetRealtimeSessionResult = RealtimeSessionResponse;
2605
3086
  /** Get Realtime Session */
2606
3087
  /** `POST /ai/agents/{agent_id}/realtime-session` · aidream · auth guest · org required */
2607
3088
  declare function getRealtimeSession(api: Api, args: GetRealtimeSessionArgs, options?: CallOptions): Promise<GetRealtimeSessionResult>;
3089
+ type GetRealtimeModelsArgs = {
3090
+ [key: string]: never;
3091
+ };
3092
+ type GetRealtimeModelsResult = RealtimeModelsResponse;
3093
+ /** Get Realtime Models */
3094
+ /** `GET /ai/realtime-models` · aidream · auth guest · org required */
3095
+ declare function getRealtimeModels(api: Api, args?: GetRealtimeModelsArgs, options?: CallOptions): Promise<GetRealtimeModelsResult>;
2608
3096
  type ExecuteRealtimeToolRouteArgs = {
2609
3097
  body: ToolExecuteRequest;
2610
3098
  };
@@ -2735,6 +3223,34 @@ type ScreenRunResult = ScreenRunResponse;
2735
3223
  /** Screen Run */
2736
3224
  /** `POST /tools/screen-run` · aidream · auth guest · org required */
2737
3225
  declare function screenRun(api: Api, args: ScreenRunArgs, options?: CallOptions): Promise<ScreenRunResult>;
3226
+ type CreateToolCallArgs = {
3227
+ query?: {
3228
+ mode?: ("stream" | "json") | null;
3229
+ };
3230
+ body: ToolCallRequest;
3231
+ };
3232
+ type CreateToolCallResult = ToolCallView;
3233
+ /** Create Tool Call */
3234
+ /** `POST /tools/calls` · aidream · auth guest · org required · ndjson */
3235
+ declare function createToolCall(api: Api, args: CreateToolCallArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
3236
+ type GetToolCallArgs = {
3237
+ path: {
3238
+ call_id: string;
3239
+ };
3240
+ };
3241
+ type GetToolCallResult = ToolCallView;
3242
+ /** Get Tool Call */
3243
+ /** `GET /tools/calls/{call_id}` · aidream · auth guest · org required */
3244
+ declare function getToolCall(api: Api, args: GetToolCallArgs, options?: CallOptions): Promise<GetToolCallResult>;
3245
+ type CancelToolCallArgs = {
3246
+ path: {
3247
+ call_id: string;
3248
+ };
3249
+ };
3250
+ type CancelToolCallResult = ToolCallView;
3251
+ /** Cancel Tool Call */
3252
+ /** `POST /tools/calls/{call_id}/cancel` · aidream · auth guest · org required */
3253
+ declare function cancelToolCall(api: Api, args: CancelToolCallArgs, options?: CallOptions): Promise<CancelToolCallResult>;
2738
3254
  type ListAgentsArgs = {
2739
3255
  query?: {
2740
3256
  category?: string | null;
@@ -3060,6 +3576,204 @@ type CancelMatrixBattleResult = MatrixCancelResponse;
3060
3576
  /** Cancel Matrix Battle */
3061
3577
  /** `POST /agent-battles/{set_id}/cancel` · aidream · auth guest · org required */
3062
3578
  declare function cancelMatrixBattle(api: Api, args: CancelMatrixBattleArgs, options?: CallOptions): Promise<CancelMatrixBattleResult>;
3579
+ type CreateBattleArgs = {
3580
+ body: BattleCreateRequest;
3581
+ };
3582
+ type CreateBattleResult = {
3583
+ [key: string]: unknown;
3584
+ };
3585
+ /** Create Battle */
3586
+ /** `POST /tool-battles` · aidream · auth admin · org required */
3587
+ declare function createBattle(api: Api, args: CreateBattleArgs, options?: CallOptions): Promise<CreateBattleResult>;
3588
+ type RunBattleArgs = {
3589
+ path: {
3590
+ battle_id: string;
3591
+ };
3592
+ body: BattleRunRequest;
3593
+ };
3594
+ type RunBattleResult = {
3595
+ [key: string]: unknown;
3596
+ };
3597
+ /** Run Battle */
3598
+ /** `POST /tool-battles/{battle_id}/run` · aidream · auth admin · org required */
3599
+ declare function runBattle(api: Api, args: RunBattleArgs, options?: CallOptions): Promise<RunBattleResult>;
3600
+ type CancelBattleArgs = {
3601
+ path: {
3602
+ battle_id: string;
3603
+ };
3604
+ };
3605
+ type CancelBattleResult = {
3606
+ [key: string]: unknown;
3607
+ };
3608
+ /** Cancel Battle */
3609
+ /** `POST /tool-battles/{battle_id}/cancel` · aidream · auth admin · org required */
3610
+ declare function cancelBattle(api: Api, args: CancelBattleArgs, options?: CallOptions): Promise<CancelBattleResult>;
3611
+ type PromoteArgs = {
3612
+ path: {
3613
+ battle_id: string;
3614
+ };
3615
+ body: PromoteRequest;
3616
+ };
3617
+ type PromoteResult = {
3618
+ [key: string]: unknown;
3619
+ };
3620
+ /** Promote */
3621
+ /** `POST /tool-battles/{battle_id}/promote` · aidream · auth admin · org required */
3622
+ declare function promote(api: Api, args: PromoteArgs, options?: CallOptions): Promise<PromoteResult>;
3623
+ type LaunchArgs = {
3624
+ body: LaunchRunRequest;
3625
+ };
3626
+ type LaunchResult = LaunchRunResponse;
3627
+ /** Launch */
3628
+ /** `POST /agent-tests/runs` · aidream · auth guest · org required */
3629
+ declare function launch(api: Api, args: LaunchArgs, options?: CallOptions): Promise<LaunchResult>;
3630
+ type CancelArgs = {
3631
+ path: {
3632
+ run_id: string;
3633
+ };
3634
+ };
3635
+ type CancelResult = RunStatusResponse;
3636
+ /** Cancel */
3637
+ /** `POST /agent-tests/runs/{run_id}/cancel` · aidream · auth guest · org required */
3638
+ declare function cancel(api: Api, args: CancelArgs, options?: CallOptions): Promise<CancelResult>;
3639
+ type ResumeArgs = {
3640
+ path: {
3641
+ run_id: string;
3642
+ };
3643
+ };
3644
+ type ResumeResult = RunStatusResponse;
3645
+ /** Resume */
3646
+ /** `POST /agent-tests/runs/{run_id}/resume` · aidream · auth guest · org required */
3647
+ declare function resume(api: Api, args: ResumeArgs, options?: CallOptions): Promise<ResumeResult>;
3648
+ type RecheckArgs = {
3649
+ path: {
3650
+ run_id: string;
3651
+ };
3652
+ };
3653
+ type RecheckResult = LaunchRunResponse;
3654
+ /** Recheck */
3655
+ /** `POST /agent-tests/runs/{run_id}/recheck` · aidream · auth guest · org required */
3656
+ declare function recheck(api: Api, args: RecheckArgs, options?: CallOptions): Promise<RecheckResult>;
3657
+ type StreamArgs = {
3658
+ path: {
3659
+ run_id: string;
3660
+ };
3661
+ };
3662
+ type StreamResult = unknown;
3663
+ /** Stream */
3664
+ /** `GET /agent-tests/runs/{run_id}/stream` · aidream · auth guest · org required · ndjson */
3665
+ declare function stream(api: Api, args: StreamArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
3666
+ type ParseCheckArgs = {
3667
+ body: ParseRequest;
3668
+ };
3669
+ type ParseCheckResult = {
3670
+ [key: string]: unknown;
3671
+ };
3672
+ /** Parse Check */
3673
+ /** `POST /agent-tests/checks/parse` · aidream · auth guest · org required */
3674
+ declare function parseCheck(api: Api, args: ParseCheckArgs, options?: CallOptions): Promise<ParseCheckResult>;
3675
+ type FormatCheckArgs = {
3676
+ body: FormatRequest;
3677
+ };
3678
+ type FormatCheckResult = {
3679
+ [key: string]: string;
3680
+ };
3681
+ /** Format Check */
3682
+ /** `POST /agent-tests/checks/format` · aidream · auth guest · org required */
3683
+ declare function formatCheck(api: Api, args: FormatCheckArgs, options?: CallOptions): Promise<FormatCheckResult>;
3684
+ type EvaluateChecksArgs = {
3685
+ body: EvaluateRequest;
3686
+ };
3687
+ type EvaluateChecksResult = {
3688
+ [key: string]: unknown;
3689
+ };
3690
+ /** Evaluate Checks */
3691
+ /** `POST /agent-tests/checks/evaluate` · aidream · auth guest · org required */
3692
+ declare function evaluateChecks(api: Api, args: EvaluateChecksArgs, options?: CallOptions): Promise<EvaluateChecksResult>;
3693
+ type CatalogSearchArgs = {
3694
+ query?: {
3695
+ q?: string;
3696
+ job_family?: string | null;
3697
+ limit?: number;
3698
+ cursor?: string | null;
3699
+ ids?: string | null;
3700
+ };
3701
+ };
3702
+ type CatalogSearchResult = CatalogSearchResponse;
3703
+ /** Catalog Search */
3704
+ /** `GET /tools/catalog/search` · aidream · auth guest · org required */
3705
+ declare function catalogSearch(api: Api, args?: CatalogSearchArgs, options?: CallOptions): Promise<CatalogSearchResult>;
3706
+ type ToolRunFormArgs = {
3707
+ path: {
3708
+ tool_id: string;
3709
+ };
3710
+ };
3711
+ type ToolRunFormResult = ServedToolForm;
3712
+ /** Tool Run Form */
3713
+ /** `GET /tools/{tool_id}/run-form` · aidream · auth guest · org required */
3714
+ declare function toolRunForm(api: Api, args: ToolRunFormArgs, options?: CallOptions): Promise<ToolRunFormResult>;
3715
+ type ToolAgentDocArgs = {
3716
+ path: {
3717
+ tool_id: string;
3718
+ };
3719
+ };
3720
+ type ToolAgentDocResult = AgentDoc;
3721
+ /** Tool Agent Doc */
3722
+ /** `GET /tools/{tool_id}/agent-doc` · aidream · auth guest · org required */
3723
+ declare function toolAgentDoc(api: Api, args: ToolAgentDocArgs, options?: CallOptions): Promise<ToolAgentDocResult>;
3724
+ type CatalogToolArgs = {
3725
+ path: {
3726
+ tool_ref: string;
3727
+ };
3728
+ };
3729
+ type CatalogToolResult = DeveloperTool;
3730
+ /** Catalog Tool */
3731
+ /** `GET /tools/catalog/{tool_ref}` · aidream · auth guest · org required */
3732
+ declare function catalogTool(api: Api, args: CatalogToolArgs, options?: CallOptions): Promise<CatalogToolResult>;
3733
+ type DeveloperUsageArgs = {
3734
+ query?: {
3735
+ tag_key?: string | null;
3736
+ days?: number;
3737
+ key_id?: string | null;
3738
+ };
3739
+ };
3740
+ type DeveloperUsageResult = UsageReport;
3741
+ /** Developer Usage */
3742
+ /** `GET /tools/developer/usage` · aidream · auth guest · org required */
3743
+ declare function developerUsage(api: Api, args?: DeveloperUsageArgs, options?: CallOptions): Promise<DeveloperUsageResult>;
3744
+ type DeveloperBudgetsArgs = {
3745
+ query?: {
3746
+ key_id?: string | null;
3747
+ };
3748
+ };
3749
+ type DeveloperBudgetsResult = BudgetOut[];
3750
+ /** Developer Budgets */
3751
+ /** `GET /tools/developer/budgets` · aidream · auth guest · org required */
3752
+ declare function developerBudgets(api: Api, args?: DeveloperBudgetsArgs, options?: CallOptions): Promise<DeveloperBudgetsResult>;
3753
+ type SetDeveloperBudgetsArgs = {
3754
+ query?: {
3755
+ key_id?: string | null;
3756
+ };
3757
+ body: BudgetsBody;
3758
+ };
3759
+ type SetDeveloperBudgetsResult = BudgetOut[];
3760
+ /** Set Developer Budgets */
3761
+ /** `PUT /tools/developer/budgets` · aidream · auth guest · org required */
3762
+ declare function setDeveloperBudgets(api: Api, args: SetDeveloperBudgetsArgs, options?: CallOptions): Promise<SetDeveloperBudgetsResult>;
3763
+ type DeveloperDocsArgs = {
3764
+ [key: string]: never;
3765
+ };
3766
+ type DeveloperDocsResult = unknown;
3767
+ /** Developer Docs */
3768
+ /** `GET /tools/developer/docs` · aidream · auth public · org required */
3769
+ declare function developerDocs(api: Api, args?: DeveloperDocsArgs, options?: CallOptions): Promise<DeveloperDocsResult>;
3770
+ type DeveloperLlmsTxtArgs = {
3771
+ [key: string]: never;
3772
+ };
3773
+ type DeveloperLlmsTxtResult = unknown;
3774
+ /** Developer Llms Txt */
3775
+ /** `GET /tools/developer/llms.txt` · aidream · auth public · org required */
3776
+ declare function developerLlmsTxt(api: Api, args?: DeveloperLlmsTxtArgs, options?: CallOptions): Promise<DeveloperLlmsTxtResult>;
3063
3777
  type ListContextOrganizationsArgs = {
3064
3778
  [key: string]: never;
3065
3779
  };
@@ -3344,6 +4058,10 @@ interface Operations {
3344
4058
  args: GetRealtimeSessionArgs;
3345
4059
  result: GetRealtimeSessionResult;
3346
4060
  };
4061
+ "GET /ai/realtime-models": {
4062
+ args: GetRealtimeModelsArgs;
4063
+ result: GetRealtimeModelsResult;
4064
+ };
3347
4065
  "POST /ai/tools/execute": {
3348
4066
  args: ExecuteRealtimeToolRouteArgs;
3349
4067
  result: ExecuteRealtimeToolRouteResult;
@@ -3404,6 +4122,14 @@ interface Operations {
3404
4122
  args: ScreenRunArgs;
3405
4123
  result: ScreenRunResult;
3406
4124
  };
4125
+ "GET /tools/calls/{call_id}": {
4126
+ args: GetToolCallArgs;
4127
+ result: GetToolCallResult;
4128
+ };
4129
+ "POST /tools/calls/{call_id}/cancel": {
4130
+ args: CancelToolCallArgs;
4131
+ result: CancelToolCallResult;
4132
+ };
3407
4133
  "GET /agent-service/agents": {
3408
4134
  args: ListAgentsArgs;
3409
4135
  result: ListAgentsResult;
@@ -3536,6 +4262,86 @@ interface Operations {
3536
4262
  args: CancelMatrixBattleArgs;
3537
4263
  result: CancelMatrixBattleResult;
3538
4264
  };
4265
+ "POST /tool-battles": {
4266
+ args: CreateBattleArgs;
4267
+ result: CreateBattleResult;
4268
+ };
4269
+ "POST /tool-battles/{battle_id}/run": {
4270
+ args: RunBattleArgs;
4271
+ result: RunBattleResult;
4272
+ };
4273
+ "POST /tool-battles/{battle_id}/cancel": {
4274
+ args: CancelBattleArgs;
4275
+ result: CancelBattleResult;
4276
+ };
4277
+ "POST /tool-battles/{battle_id}/promote": {
4278
+ args: PromoteArgs;
4279
+ result: PromoteResult;
4280
+ };
4281
+ "POST /agent-tests/runs": {
4282
+ args: LaunchArgs;
4283
+ result: LaunchResult;
4284
+ };
4285
+ "POST /agent-tests/runs/{run_id}/cancel": {
4286
+ args: CancelArgs;
4287
+ result: CancelResult;
4288
+ };
4289
+ "POST /agent-tests/runs/{run_id}/resume": {
4290
+ args: ResumeArgs;
4291
+ result: ResumeResult;
4292
+ };
4293
+ "POST /agent-tests/runs/{run_id}/recheck": {
4294
+ args: RecheckArgs;
4295
+ result: RecheckResult;
4296
+ };
4297
+ "POST /agent-tests/checks/parse": {
4298
+ args: ParseCheckArgs;
4299
+ result: ParseCheckResult;
4300
+ };
4301
+ "POST /agent-tests/checks/format": {
4302
+ args: FormatCheckArgs;
4303
+ result: FormatCheckResult;
4304
+ };
4305
+ "POST /agent-tests/checks/evaluate": {
4306
+ args: EvaluateChecksArgs;
4307
+ result: EvaluateChecksResult;
4308
+ };
4309
+ "GET /tools/catalog/search": {
4310
+ args: CatalogSearchArgs;
4311
+ result: CatalogSearchResult;
4312
+ };
4313
+ "GET /tools/{tool_id}/run-form": {
4314
+ args: ToolRunFormArgs;
4315
+ result: ToolRunFormResult;
4316
+ };
4317
+ "GET /tools/{tool_id}/agent-doc": {
4318
+ args: ToolAgentDocArgs;
4319
+ result: ToolAgentDocResult;
4320
+ };
4321
+ "GET /tools/catalog/{tool_ref}": {
4322
+ args: CatalogToolArgs;
4323
+ result: CatalogToolResult;
4324
+ };
4325
+ "GET /tools/developer/usage": {
4326
+ args: DeveloperUsageArgs;
4327
+ result: DeveloperUsageResult;
4328
+ };
4329
+ "GET /tools/developer/budgets": {
4330
+ args: DeveloperBudgetsArgs;
4331
+ result: DeveloperBudgetsResult;
4332
+ };
4333
+ "PUT /tools/developer/budgets": {
4334
+ args: SetDeveloperBudgetsArgs;
4335
+ result: SetDeveloperBudgetsResult;
4336
+ };
4337
+ "GET /tools/developer/docs": {
4338
+ args: DeveloperDocsArgs;
4339
+ result: DeveloperDocsResult;
4340
+ };
4341
+ "GET /tools/developer/llms.txt": {
4342
+ args: DeveloperLlmsTxtArgs;
4343
+ result: DeveloperLlmsTxtResult;
4344
+ };
3539
4345
  "GET /admin/agent-context/organizations": {
3540
4346
  args: ListContextOrganizationsArgs;
3541
4347
  result: ListContextOrganizationsResult;
@@ -3636,4 +4442,4 @@ interface Operations {
3636
4442
  /** Path-keyed call, scoped to this domain only (never a global path map). */
3637
4443
  declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
3638
4444
 
3639
- 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 AgentStartRequest, 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 PromptStartRequest, 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 };
4445
+ export { type AdminAgentFromChatArgs, type AdminAgentFromChatResult, type AdminIngestFilesystemArgs, type AdminIngestFilesystemResult, type AdminToolsListToolsArgs, type AdminToolsListToolsResult, type AgentBlocksStartRequest, type AgentContextPolicy, type AgentDetail, type AgentDoc, type AgentDocField, type AgentDocInput, type AgentFromChatArgs, type AgentFromChatRequest, type AgentFromChatResult, type AgentOwnership, type AgentServiceListSkillsArgs, type AgentServiceListSkillsResult, type AgentServiceListToolsArgs, type AgentServiceListToolsResult, type AgentSpec, type AgentStartRequest, 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 AttemptOutcome, type AttemptView, type BattleCreateRequest, type BattleRunRequest, type BudgetIn, type BudgetOut, type BudgetsBody, type BuildResponse, type BuiltinPromptCatalogResponse, type CacheBustArgs, type CacheBustResponse, type CacheBustResult, type CachePolicy, type CacheUse, type CallApproval, type CallError, type CallStage, type CallStatus, type CancelArgs, type CancelBattleArgs, type CancelBattleResult, type CancelMatrixBattleArgs, type CancelMatrixBattleResult, type CancelResult, type CancelToolCallArgs, type CancelToolCallResult, type CatalogRpcRequest, type CatalogSearchArgs, type CatalogSearchResponse, type CatalogSearchResult, type CatalogSearchTool, type CatalogToolArgs, type CatalogToolResult, type CatalogTree, type CategoryCreate, type CategoryList, type CategoryPatch, type CategoryRow, 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 CreateBattleArgs, type CreateBattleResult, type CreateCategoryArgs, type CreateCategoryResult, type CreateSkillArgs, type CreateSkillResult, type CreateStructuredAgentArgs, type CreateStructuredAgentResult, type CreateToolCallArgs, type CreateToolCallResult, type DeleteCategoryArgs, type DeleteCategoryResult, type DeleteSkillArgs, type DeleteSkillResult, type DeveloperBudgetsArgs, type DeveloperBudgetsResult, type DeveloperDocsArgs, type DeveloperDocsResult, type DeveloperLlmsTxtArgs, type DeveloperLlmsTxtResult, type DeveloperTool, type DeveloperUsageArgs, type DeveloperUsageResult, type DirectiveApplyResult, type DirectiveApplyStateRequest, type DirectiveApplyStateResult, type DirectiveCatalog, type DirectiveConfirmRequest, type DirectiveConfirmResult, type DirectiveExecuteRequest, type DirectiveItemState, type DirectiveNounSchemas, type DirectiveReceipt, type DirectiveShellState, type ErrorClass, type EvaluateChecksArgs, type EvaluateChecksResult, type EvaluateRequest, 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 FormatCheckArgs, type FormatCheckResult, type FormatRequest, 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 GetRealtimeModelsArgs, type GetRealtimeModelsResult, type GetRealtimeSessionArgs, type GetRealtimeSessionResult, type GetRealtimeToolsArgs, type GetRealtimeToolsResult, type GetSkillArgs, type GetSkillResult, type GetTemplatesArgs, type GetTemplatesResult, type GetToolByIdArgs, type GetToolByIdResult, type GetToolCallArgs, type GetToolCallResult, 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 Holder, type IgnoredFilter, 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 JobFamily, type JudgeFirstRunsArgs, type JudgeFirstRunsResult, type KeepBuildArgs, type KeepBuildResult, type KeepResponse, type KindActionEntry, type LaneSpec, type LaunchArgs, type LaunchResult, type LaunchRunRequest, type LaunchRunResponse, 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 ParseCheckArgs, type ParseCheckResult, type ParseRequest, type Patch, 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 PromoteArgs, type PromoteRequest, type PromoteResult, type PromptBlocksResolved, type PromptMatrixPathsArgs, type PromptMatrixPathsResult, type PromptStartRequest, 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 RealtimeModelOption, type RealtimeModelsResponse, type RealtimeSessionRequest, type RealtimeSessionResponse, type RealtimeTool, type RealtimeToolsRequest, type RealtimeToolsResponse, type RecheckArgs, type RecheckResult, type Reliability, type RenderContextArgs, type RenderContextResult, type ResolvePromptBlocksArgs, type ResolvePromptBlocksResult, type ResumeArgs, type ResumeResult, type RunAgentTestsArgs, type RunAgentTestsResult, type RunBattleArgs, type RunBattleResult, type RunMatrixBattleArgs, type RunMatrixBattleResult, type RunSetup, type RunStatusResponse, type SchemaFinding, type SchemaGateReport, type ScreenRunApproval, type ScreenRunArgs, type ScreenRunError, type ScreenRunRequest, type ScreenRunResponse, type ScreenRunResult, type SearchVerdict, type ServedBy, type ServedToolForm, type SetDeveloperBudgetsArgs, type SetDeveloperBudgetsResult, 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 StreamArgs, type StreamResult, type SubjectSpec, type SurfaceManifest, type TemplatesPut, type ToolAgentDocArgs, type ToolAgentDocResult, type ToolCallRequest, type ToolCallView, 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 ToolRunFormArgs, type ToolRunFormResult, type ToolState, type ToolSummary, type ToolTestExecuteRequest, type ToolTestSessionResponse, type ToolTestingListToolsArgs, type ToolTestingListToolsResult, type ToolUpdateRequest, type UpdateAgentArgs, type UpdateAgentInput, type UpdateAgentResult, type UpdateToolArgs, type UpdateToolResult, type UsageReport, type UsageRow, 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, type aidream__services__agent_battle_matrix__service__CellRef, type aidream__services__tool_battle__service__CellRef, cacheBust, call, cancel, cancelBattle, cancelMatrixBattle, cancelToolCall, catalogSearch, catalogTool, confirmProposedDirective, contextDelivered, createAgent, createBattle, createCategory, createSkill, createStructuredAgent, createToolCall, deleteCategory, deleteSkill, developerBudgets, developerDocs, developerLlmsTxt, developerUsage, evaluateChecks, executeRealtimeToolRoute, executeToolTest, executeWriteDirective, failureAnalytics, formatCheck, getAgent, getAgentCatalog, getAgentCatalogStatus, getAgentExecution, getAgentExecutionDefinition, getAgentVersionExecutionDefinition, getAllPromptBuiltins, getAllTools, getCapabilityManifest, getDbSurfaceManifest, getDirectiveCatalog, getDirectiveNounSchemas, getLibrary, getLists, getMcpDiscoveredTools, getNativeTools, getOrCreateTestSession, getPortableAgent, getPortableAgentSummary, getPortableAgentVersion, getPrompts, getRealtimeModels, getRealtimeSession, getRealtimeTools, getSkill, getTemplates, getToolById, getToolCall, getToolDetail, getToolsBySourceKind, getToolsForApp, getUserPrompts, getUserPromptsAndBuiltins, getVariationBatches, getVersion, importDraft, importPreview, invalidateAgentCache, invokeTool, judgeFirstRuns, keepBuild, launch, listAgents, listCategories, listContextOrganizations, listModels, listScenarios, listTools, listVersions, mockStream, parseCheck, patchCategory, patchSkill, postAgentCatalogRpc, previewAnswerBoth, previewContext, previewVariableBinding, promote, promptMatrixPaths, putLibrary, putLists, putPrompts, putTemplates, putVariationBatches, readBuild, readDirectiveApplyState, recheck, renderContext, resolvePromptBlocks, resume, runAgentTests, runBattle, runMatrixBattle, screenRun, setDeveloperBudgets, skillsListSkills, startAgentBlocks, startBuild, startMandatedAgent, startPrompt, stream, toolAgentDoc, toolDetail, toolRunForm, toolTestingListTools, updateAgent, updateTool, validateAll, validateSchema, warmAgent, warmAgentBlocks, warmPrompt };