@ai-matrx/api 0.1.31 → 0.1.33

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 +2 -2
  3. package/dist/account.d.ts +2 -2
  4. package/dist/agents.cjs +91 -13
  5. package/dist/agents.d.cts +444 -16
  6. package/dist/agents.d.ts +444 -16
  7. package/dist/agents.js +67 -2
  8. package/dist/ai.cjs +2 -2
  9. package/dist/ai.d.cts +2 -2
  10. package/dist/ai.d.ts +2 -2
  11. package/dist/ai.js +1 -1
  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 +30 -12
  17. package/dist/architecture.d.cts +103 -5
  18. package/dist/architecture.d.ts +103 -5
  19. package/dist/architecture.js +17 -2
  20. package/dist/audio.cjs +39 -39
  21. package/dist/audio.d.cts +2 -2
  22. package/dist/audio.d.ts +2 -2
  23. package/dist/audio.js +2 -2
  24. package/dist/chat.cjs +11 -11
  25. package/dist/chat.d.cts +2 -2
  26. package/dist/chat.d.ts +2 -2
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-45PIBJ3K.cjs → chunk-2XQZ7UUM.cjs} +8 -2
  29. package/dist/{chunk-7GMHDVF5.js → chunk-4DIKNTZ5.js} +1 -1
  30. package/dist/{chunk-QDFU72YV.cjs → chunk-BO4DXT4E.cjs} +37 -37
  31. package/dist/{chunk-YK5KJICX.js → chunk-DVYCIFMH.js} +8 -2
  32. package/dist/{chunk-FHHE5FNM.cjs → chunk-EC2LWEXH.cjs} +4 -4
  33. package/dist/{chunk-BO5HWECS.cjs → chunk-N72EQZ4X.cjs} +3 -3
  34. package/dist/{chunk-YRZAOYRE.js → chunk-PVQZBXTU.js} +1 -1
  35. package/dist/{chunk-MY5RKVCY.js → chunk-QGHXBN6P.js} +1 -1
  36. package/dist/code.cjs +6 -6
  37. package/dist/code.d.cts +2 -2
  38. package/dist/code.d.ts +2 -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 +2 -2
  55. package/dist/crm.d.cts +2 -2
  56. package/dist/crm.d.ts +2 -2
  57. package/dist/crm.js +1 -1
  58. package/dist/data.cjs +4 -4
  59. package/dist/data.d.cts +4 -2
  60. package/dist/data.d.ts +4 -2
  61. package/dist/data.js +1 -1
  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 +2 -2
  68. package/dist/files.d.ts +2 -2
  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-BneRZdQz.d.cts → index-A1nOdg4F.d.cts} +2 -2
  73. package/dist/{index-BneRZdQz.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 +5 -5
  79. package/dist/integrations.d.cts +2 -2
  80. package/dist/integrations.d.ts +2 -2
  81. package/dist/integrations.js +1 -1
  82. package/dist/intelligence.cjs +7 -7
  83. package/dist/intelligence.d.cts +2 -2
  84. package/dist/intelligence.d.ts +2 -2
  85. package/dist/intelligence.js +1 -1
  86. package/dist/knowledge.cjs +42 -42
  87. package/dist/knowledge.d.cts +2 -2
  88. package/dist/knowledge.d.ts +2 -2
  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 +82 -82
  95. package/dist/marketing.d.cts +2 -2
  96. package/dist/marketing.d.ts +2 -2
  97. package/dist/marketing.js +1 -1
  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 +11 -11
  103. package/dist/media.d.cts +2 -2
  104. package/dist/media.d.ts +2 -2
  105. package/dist/media.js +1 -1
  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 +1 -1
  117. package/dist/schemas.d.ts +1 -1
  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 +375 -6
  123. package/dist/types.d.ts +375 -6
  124. package/dist/web.cjs +27 -27
  125. package/dist/web.d.cts +2 -2
  126. package/dist/web.d.ts +2 -2
  127. package/dist/web.js +1 -1
  128. package/dist/workflows.cjs +13 -13
  129. package/dist/workflows.d.cts +2 -2
  130. package/dist/workflows.d.ts +2 -2
  131. package/dist/workflows.js +1 -1
  132. package/package.json +2 -2
package/dist/agents.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-BneRZdQz.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-A1nOdg4F.js';
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, HostTurn, MandateTestHolder, ResourceContextPolicy, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, IdeState, SandboxBindingRequest, PageContext, ChatMessageInput, CacheBypass, DirectiveItemApplied, DirectiveItemFailed, ActionNeeded, MandateServedInput } 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 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
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). */
@@ -346,13 +380,105 @@ type AttemptOutcome = "hit" | "miss" | "definitive_miss" | "refused_cap" | "erro
346
380
  type AttemptView = {
347
381
  endpoint_id?: string | null;
348
382
  provider: string;
349
- via: Via;
383
+ via: string;
350
384
  outcome?: AttemptOutcome | null;
351
385
  error_class?: ErrorClass | null;
352
386
  latency_ms?: number | null;
353
387
  cost_usd?: number | null;
354
388
  served_by_vendor?: string | null;
355
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
+ };
356
482
  /** BuildResponse */
357
483
  type BuildResponse = {
358
484
  build_id: string;
@@ -498,12 +624,6 @@ type CategoryRow = {
498
624
  sort_order?: number;
499
625
  is_active?: boolean;
500
626
  };
501
- /** CellRef */
502
- type CellRef = {
503
- row_id: string;
504
- column_id: string;
505
- repeat?: number;
506
- };
507
627
  /** Clearance */
508
628
  type Clearance = "public" | "internal" | "restricted" | "privileged";
509
629
  /** CodeDeclaration */
@@ -1042,6 +1162,30 @@ type CreateAgentInput = {
1042
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 */
1043
1163
  owner_organization_id?: string | null;
1044
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
+ };
1045
1189
  /** DirectiveApplyResult */
1046
1190
  type DirectiveApplyResult = {
1047
1191
  directive: string;
@@ -1176,6 +1320,13 @@ type DirectiveShellState = {
1176
1320
  };
1177
1321
  /** §7 ``error_class``: why an attempt did not answer. */
1178
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
+ };
1179
1330
  /** Complete, portable agent definition consumed by every execution host. */
1180
1331
  type ExecutionAgentDefinition = {
1181
1332
  definition_id: string;
@@ -1323,6 +1474,13 @@ type KindActionEntry = {
1323
1474
  } | null;
1324
1475
  item_kind?: string | null;
1325
1476
  };
1477
+ /** LaneSpec */
1478
+ type LaneSpec = {
1479
+ endpoint_id: string;
1480
+ label: string;
1481
+ provider_slug?: string | null;
1482
+ via?: ("direct" | "treg") | null;
1483
+ };
1326
1484
  /** LaunchRunRequest */
1327
1485
  type LaunchRunRequest = {
1328
1486
  agent_ids: string[];
@@ -1447,7 +1605,7 @@ type MatrixRunRequest = {
1447
1605
  store?: boolean;
1448
1606
  /** Specific connected desktop instance allowed to claim delegated local tools. */
1449
1607
  target_instance_id?: string | null;
1450
- cells?: CellRef[] | null;
1608
+ cells?: aidream__services__agent_battle_matrix__service__CellRef[] | null;
1451
1609
  scope?: "all" | "unfinished";
1452
1610
  };
1453
1611
  /** A variable filled by a MERGE FIELD — the declaration ``matrx_records.merge`` */
@@ -1711,6 +1869,33 @@ type PortableUnavailable = {
1711
1869
  name: string;
1712
1870
  reason: string;
1713
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
+ };
1714
1899
  /** PromptBlocksResolved */
1715
1900
  type PromptBlocksResolved = {
1716
1901
  blocks?: {
@@ -1783,6 +1968,17 @@ type PromptsPut = {
1783
1968
  [key: string]: unknown;
1784
1969
  }[];
1785
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
+ };
1786
1982
  /** Which agent row the session runs: the live agent, or a version row. */
1787
1983
  type RealtimeSessionRequest = {
1788
1984
  /** Organization context for the request; omitted to use the authenticated context. */
@@ -1799,6 +1995,8 @@ type RealtimeSessionRequest = {
1799
1995
  initiation?: ("user" | "auto") | null;
1800
1996
  /** Resolve against an agent VERSION row rather than the live agent. */
1801
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;
1802
2000
  };
1803
2001
  /** Everything a realtime voice session needs — never the definition itself. */
1804
2002
  type RealtimeSessionResponse = {
@@ -1806,14 +2004,26 @@ type RealtimeSessionResponse = {
1806
2004
  agent_id: string;
1807
2005
  /** builtin / user / … — gates the person's voice choice. */
1808
2006
  agent_type?: string | null;
1809
- /** The catalog model id the agent is set to. */
2007
+ /** The catalog model id the session runs. */
1810
2008
  model_id: string;
1811
- /** The model value xAI's realtime socket expects. */
2009
+ /** The model value the provider's realtime endpoint expects. */
1812
2010
  wire_model: string;
1813
2011
  /** The agent's own voice (settings.voice_id). */
1814
2012
  voice_id?: string | null;
1815
2013
  /** The agent's system message — the session persona. */
1816
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;
1817
2027
  };
1818
2028
  /** One tool declared to a realtime session, in xAI function shape. */
1819
2029
  type RealtimeTool = {
@@ -2088,6 +2298,15 @@ type StartBuildResponse = {
2088
2298
  build_id: string;
2089
2299
  idempotency_key: string;
2090
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
+ };
2091
2310
  /** The server's authoritative view of one surface's tool manifest. */
2092
2311
  type SurfaceManifest = {
2093
2312
  name: string;
@@ -2148,6 +2367,12 @@ type ToolCallView = {
2148
2367
  ignored_filters?: IgnoredFilter[];
2149
2368
  points_held?: number;
2150
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
+ };
2151
2376
  cache?: CacheUse;
2152
2377
  attempts_count?: number;
2153
2378
  error?: CallError | null;
@@ -2436,6 +2661,26 @@ type UpdateAgentInput = {
2436
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 */
2437
2662
  term_list_ids?: string[] | null;
2438
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
+ };
2439
2684
  /** UserPromptCatalogResponse */
2440
2685
  type UserPromptCatalogResponse = {
2441
2686
  prompts: AgentSummary[];
@@ -2537,8 +2782,6 @@ type VariationBatchesPut = {
2537
2782
  [key: string]: unknown;
2538
2783
  }[];
2539
2784
  };
2540
- /** §3d: how we reach a provider. */
2541
- type Via = "direct" | "treg";
2542
2785
  /** WarmAgentBlocksResponse */
2543
2786
  type WarmAgentBlocksResponse = {
2544
2787
  status: string;
@@ -2589,6 +2832,17 @@ type aidream__services__admin_ops__tools_wire__ToolListResponse = {
2589
2832
  items: ToolRow[];
2590
2833
  import_failures?: string[];
2591
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
+ };
2592
2846
  type WarmAgentArgs = {
2593
2847
  path: {
2594
2848
  agent_id: string;
@@ -2832,6 +3086,13 @@ type GetRealtimeSessionResult = RealtimeSessionResponse;
2832
3086
  /** Get Realtime Session */
2833
3087
  /** `POST /ai/agents/{agent_id}/realtime-session` · aidream · auth guest · org required */
2834
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>;
2835
3096
  type ExecuteRealtimeToolRouteArgs = {
2836
3097
  body: ToolExecuteRequest;
2837
3098
  };
@@ -2964,7 +3225,7 @@ type ScreenRunResult = ScreenRunResponse;
2964
3225
  declare function screenRun(api: Api, args: ScreenRunArgs, options?: CallOptions): Promise<ScreenRunResult>;
2965
3226
  type CreateToolCallArgs = {
2966
3227
  query?: {
2967
- mode?: "stream" | "json";
3228
+ mode?: ("stream" | "json") | null;
2968
3229
  };
2969
3230
  body: ToolCallRequest;
2970
3231
  };
@@ -3315,6 +3576,50 @@ type CancelMatrixBattleResult = MatrixCancelResponse;
3315
3576
  /** Cancel Matrix Battle */
3316
3577
  /** `POST /agent-battles/{set_id}/cancel` · aidream · auth guest · org required */
3317
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>;
3318
3623
  type LaunchArgs = {
3319
3624
  body: LaunchRunRequest;
3320
3625
  };
@@ -3376,6 +3681,15 @@ type FormatCheckResult = {
3376
3681
  /** Format Check */
3377
3682
  /** `POST /agent-tests/checks/format` · aidream · auth guest · org required */
3378
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>;
3379
3693
  type CatalogSearchArgs = {
3380
3694
  query?: {
3381
3695
  q?: string;
@@ -3398,6 +3712,68 @@ type ToolRunFormResult = ServedToolForm;
3398
3712
  /** Tool Run Form */
3399
3713
  /** `GET /tools/{tool_id}/run-form` · aidream · auth guest · org required */
3400
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>;
3401
3777
  type ListContextOrganizationsArgs = {
3402
3778
  [key: string]: never;
3403
3779
  };
@@ -3682,6 +4058,10 @@ interface Operations {
3682
4058
  args: GetRealtimeSessionArgs;
3683
4059
  result: GetRealtimeSessionResult;
3684
4060
  };
4061
+ "GET /ai/realtime-models": {
4062
+ args: GetRealtimeModelsArgs;
4063
+ result: GetRealtimeModelsResult;
4064
+ };
3685
4065
  "POST /ai/tools/execute": {
3686
4066
  args: ExecuteRealtimeToolRouteArgs;
3687
4067
  result: ExecuteRealtimeToolRouteResult;
@@ -3882,6 +4262,22 @@ interface Operations {
3882
4262
  args: CancelMatrixBattleArgs;
3883
4263
  result: CancelMatrixBattleResult;
3884
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
+ };
3885
4281
  "POST /agent-tests/runs": {
3886
4282
  args: LaunchArgs;
3887
4283
  result: LaunchResult;
@@ -3906,6 +4302,10 @@ interface Operations {
3906
4302
  args: FormatCheckArgs;
3907
4303
  result: FormatCheckResult;
3908
4304
  };
4305
+ "POST /agent-tests/checks/evaluate": {
4306
+ args: EvaluateChecksArgs;
4307
+ result: EvaluateChecksResult;
4308
+ };
3909
4309
  "GET /tools/catalog/search": {
3910
4310
  args: CatalogSearchArgs;
3911
4311
  result: CatalogSearchResult;
@@ -3914,6 +4314,34 @@ interface Operations {
3914
4314
  args: ToolRunFormArgs;
3915
4315
  result: ToolRunFormResult;
3916
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
+ };
3917
4345
  "GET /admin/agent-context/organizations": {
3918
4346
  args: ListContextOrganizationsArgs;
3919
4347
  result: ListContextOrganizationsResult;
@@ -4014,4 +4442,4 @@ interface Operations {
4014
4442
  /** Path-keyed call, scoped to this domain only (never a global path map). */
4015
4443
  declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
4016
4444
 
4017
- 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 AttemptOutcome, type AttemptView, 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 CancelMatrixBattleArgs, type CancelMatrixBattleResult, type CancelResult, type CancelToolCallArgs, type CancelToolCallResult, type CatalogRpcRequest, type CatalogSearchArgs, type CatalogSearchResponse, type CatalogSearchResult, type CatalogSearchTool, 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 CreateToolCallArgs, type CreateToolCallResult, 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 ErrorClass, 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 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 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 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 RecheckArgs, type RecheckResult, type Reliability, type RenderContextArgs, type RenderContextResult, type ResolvePromptBlocksArgs, type ResolvePromptBlocksResult, type ResumeArgs, type ResumeResult, type RunAgentTestsArgs, type RunAgentTestsResult, 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 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 SurfaceManifest, type TemplatesPut, 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 UserPromptCatalogResponse, type ValidateAllOpArgs, type ValidateAllOpResult, type ValidateSchemaArgs, type ValidateSchemaRequest, type ValidateSchemaResult, type ValidationReportResponse, type VariableAssignmentSpec, type VariableBindingPreviewRequest, type VariableBindingPreviewResponse, type VariableComponentSpec, type VariationBatchesPut, type Via, 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, cancel, cancelMatrixBattle, cancelToolCall, catalogSearch, confirmProposedDirective, contextDelivered, createAgent, createCategory, createSkill, createStructuredAgent, createToolCall, deleteCategory, deleteSkill, 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, 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, promptMatrixPaths, putLibrary, putLists, putPrompts, putTemplates, putVariationBatches, readBuild, readDirectiveApplyState, recheck, renderContext, resolvePromptBlocks, resume, runAgentTests, runMatrixBattle, screenRun, skillsListSkills, startAgentBlocks, startBuild, startMandatedAgent, startPrompt, stream, toolDetail, toolRunForm, 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 };