@ai-matrx/api 0.0.0-stage → 0.1.1
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.
- package/CHANGELOG.md +31 -0
- package/LICENSE +21 -0
- package/README.md +22 -2
- package/dist/account.cjs +670 -0
- package/dist/account.d.cts +3246 -0
- package/dist/account.d.ts +3246 -0
- package/dist/account.js +558 -0
- package/dist/agents.cjs +598 -0
- package/dist/agents.d.cts +3417 -0
- package/dist/agents.d.ts +3417 -0
- package/dist/agents.js +497 -0
- package/dist/ai.cjs +109 -0
- package/dist/ai.d.cts +493 -0
- package/dist/ai.d.ts +493 -0
- package/dist/ai.js +91 -0
- package/dist/apps.cjs +394 -0
- package/dist/apps.d.cts +1094 -0
- package/dist/apps.d.ts +1094 -0
- package/dist/apps.js +328 -0
- package/dist/architecture.cjs +1223 -0
- package/dist/architecture.d.cts +4701 -0
- package/dist/architecture.d.ts +4701 -0
- package/dist/architecture.js +1016 -0
- package/dist/audio.cjs +226 -0
- package/dist/audio.d.cts +723 -0
- package/dist/audio.d.ts +723 -0
- package/dist/audio.js +188 -0
- package/dist/chat.cjs +538 -0
- package/dist/chat.d.cts +2251 -0
- package/dist/chat.d.ts +2251 -0
- package/dist/chat.js +447 -0
- package/dist/chunk-2SXAAKGV.cjs +279 -0
- package/dist/chunk-5WJLKYH6.cjs +48 -0
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/chunk-HER22VVH.cjs +1047 -0
- package/dist/chunk-KIEAFMKB.js +264 -0
- package/dist/chunk-TSHL7Z53.js +1012 -0
- package/dist/chunk-VTZKJMSY.js +43 -0
- package/dist/chunk-YTEOFGFC.js +57 -0
- package/dist/code.cjs +561 -0
- package/dist/code.d.cts +1976 -0
- package/dist/code.d.ts +1976 -0
- package/dist/code.js +467 -0
- package/dist/commerce.cjs +22 -0
- package/dist/commerce.d.cts +45 -0
- package/dist/commerce.d.ts +45 -0
- package/dist/commerce.js +18 -0
- package/dist/communications.cjs +215 -0
- package/dist/communications.d.cts +948 -0
- package/dist/communications.d.ts +948 -0
- package/dist/communications.js +179 -0
- package/dist/computer.cjs +330 -0
- package/dist/computer.d.cts +733 -0
- package/dist/computer.d.ts +733 -0
- package/dist/computer.js +275 -0
- package/dist/content.cjs +425 -0
- package/dist/content.d.cts +1796 -0
- package/dist/content.d.ts +1796 -0
- package/dist/content.js +354 -0
- package/dist/credentials.cjs +22 -0
- package/dist/credentials.d.cts +82 -0
- package/dist/credentials.d.ts +82 -0
- package/dist/credentials.js +1 -0
- package/dist/crm.cjs +271 -0
- package/dist/crm.d.cts +1731 -0
- package/dist/crm.d.ts +1731 -0
- package/dist/crm.js +226 -0
- package/dist/data.cjs +382 -0
- package/dist/data.d.cts +1860 -0
- package/dist/data.d.ts +1860 -0
- package/dist/data.js +318 -0
- package/dist/education.cjs +28 -0
- package/dist/education.d.cts +73 -0
- package/dist/education.d.ts +73 -0
- package/dist/education.js +23 -0
- package/dist/files.cjs +1330 -0
- package/dist/files.d.cts +4956 -0
- package/dist/files.d.ts +4956 -0
- package/dist/files.js +1104 -0
- package/dist/human-resources.cjs +178 -0
- package/dist/human-resources.d.cts +1208 -0
- package/dist/human-resources.d.ts +1208 -0
- package/dist/human-resources.js +148 -0
- package/dist/index-C2E-Cp19.d.ts +385 -0
- package/dist/index-wC2vtb70.d.cts +385 -0
- package/dist/index.cjs +2016 -0
- package/dist/index.d.cts +2069 -0
- package/dist/index.d.ts +2069 -0
- package/dist/index.js +1746 -0
- package/dist/integrations.cjs +5116 -0
- package/dist/integrations.d.cts +19213 -0
- package/dist/integrations.d.ts +19213 -0
- package/dist/integrations.js +4263 -0
- package/dist/intelligence.cjs +1305 -0
- package/dist/intelligence.d.cts +4658 -0
- package/dist/intelligence.d.ts +4658 -0
- package/dist/intelligence.js +1196 -0
- package/dist/knowledge.cjs +1113 -0
- package/dist/knowledge.d.cts +5427 -0
- package/dist/knowledge.d.ts +5427 -0
- package/dist/knowledge.js +921 -0
- package/dist/legal.cjs +225 -0
- package/dist/legal.d.cts +1038 -0
- package/dist/legal.d.ts +1038 -0
- package/dist/legal.js +187 -0
- package/dist/marketing.cjs +1155 -0
- package/dist/marketing.d.cts +7741 -0
- package/dist/marketing.d.ts +7741 -0
- package/dist/marketing.js +951 -0
- package/dist/masterwork.cjs +283 -0
- package/dist/masterwork.d.cts +1938 -0
- package/dist/masterwork.d.ts +1938 -0
- package/dist/masterwork.js +231 -0
- package/dist/media.cjs +610 -0
- package/dist/media.d.cts +2270 -0
- package/dist/media.d.ts +2270 -0
- package/dist/media.js +507 -0
- package/dist/net.cjs +67 -0
- package/dist/net.d.cts +204 -0
- package/dist/net.d.ts +204 -0
- package/dist/net.js +2 -0
- package/dist/platform.cjs +150 -0
- package/dist/platform.d.cts +572 -0
- package/dist/platform.d.ts +572 -0
- package/dist/platform.js +125 -0
- package/dist/publish.cjs +248 -0
- package/dist/publish.d.cts +1431 -0
- package/dist/publish.d.ts +1431 -0
- package/dist/publish.js +206 -0
- package/dist/schemas.cjs +2 -0
- package/dist/schemas.d.cts +1353 -0
- package/dist/schemas.d.ts +1353 -0
- package/dist/schemas.js +1 -0
- package/dist/stream.cjs +44 -0
- package/dist/stream.d.cts +2 -0
- package/dist/stream.d.ts +2 -0
- package/dist/stream.js +3 -0
- package/dist/web.cjs +1045 -0
- package/dist/web.d.cts +4186 -0
- package/dist/web.d.ts +4186 -0
- package/dist/web.js +867 -0
- package/dist/workflows.cjs +825 -0
- package/dist/workflows.d.cts +4699 -0
- package/dist/workflows.d.ts +4699 -0
- package/dist/workflows.js +686 -0
- package/package.json +419 -4
|
@@ -0,0 +1,3417 @@
|
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-wC2vtb70.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, AgentStartRequest, DirectiveItemApplied, DirectiveItemFailed, PageContext, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, ActionNeeded, PromptStartRequest } from './schemas.cjs';
|
|
3
|
+
import './credentials.cjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
+
* CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** AgentBlocksStartRequest */
|
|
11
|
+
type AgentBlocksStartRequest = {
|
|
12
|
+
/** Organization explicitly selected for this new AI conversation. Required except for fingerprint guests, whose organization is resolved by the AI funnel. */
|
|
13
|
+
organization_id?: string | null;
|
|
14
|
+
/** Optional associated project selected by the caller. */
|
|
15
|
+
project_id?: string | null;
|
|
16
|
+
/** Optional associated task selected by the caller. */
|
|
17
|
+
task_id?: string | null;
|
|
18
|
+
/** Stable application slug that initiated the request. */
|
|
19
|
+
source_app?: string | null;
|
|
20
|
+
/** Stable feature slug within the source application. */
|
|
21
|
+
source_feature?: string | null;
|
|
22
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
23
|
+
initiation?: ("user" | "auto") | null;
|
|
24
|
+
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
25
|
+
scope_ids?: string[] | null;
|
|
26
|
+
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
27
|
+
active_scope_type_ids?: string[] | null;
|
|
28
|
+
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
29
|
+
context_anchor?: ContextAnchor | null;
|
|
30
|
+
store: boolean;
|
|
31
|
+
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
32
|
+
target_instance_id?: string | null;
|
|
33
|
+
conversation_id: string;
|
|
34
|
+
is_new: boolean;
|
|
35
|
+
user_input?: string | ((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)[]) | null;
|
|
36
|
+
variables?: {
|
|
37
|
+
[key: string]: unknown;
|
|
38
|
+
} | null;
|
|
39
|
+
config_overrides?: LLMParams | null;
|
|
40
|
+
stream?: boolean;
|
|
41
|
+
debug?: boolean;
|
|
42
|
+
};
|
|
43
|
+
/** An optional named context object the agent's context system fills. */
|
|
44
|
+
type AgentContextPolicy = {
|
|
45
|
+
/** Mandate key; content is passed to the run under this key. */
|
|
46
|
+
key: string;
|
|
47
|
+
/** Context object type (document / text / …). */
|
|
48
|
+
type?: string;
|
|
49
|
+
/** Human label for the slot. */
|
|
50
|
+
label?: string | null;
|
|
51
|
+
/** What this slot holds. */
|
|
52
|
+
description?: string | null;
|
|
53
|
+
/** Agent may ctx_patch this slot. */
|
|
54
|
+
mutable?: boolean | null;
|
|
55
|
+
/** auto | never | client. */
|
|
56
|
+
persist?: string | null;
|
|
57
|
+
/** The agent layer's inline limit for this key (0 = never inline); resolved with the page's and the person's by the context gate. */
|
|
58
|
+
max_inline_chars?: number | null;
|
|
59
|
+
/** Agent that writes this slot's summary on request. */
|
|
60
|
+
summary_agent_id?: string | null;
|
|
61
|
+
[key: string]: unknown;
|
|
62
|
+
};
|
|
63
|
+
/** Everything a caller needs to invoke an agent correctly. */
|
|
64
|
+
type AgentDetail = {
|
|
65
|
+
id: string;
|
|
66
|
+
/** Owning agent definition id; equals id for a live definition and names the parent for a version snapshot. */
|
|
67
|
+
agent_id?: string;
|
|
68
|
+
name: string;
|
|
69
|
+
description?: string;
|
|
70
|
+
agent_type?: string;
|
|
71
|
+
category?: string | null;
|
|
72
|
+
tags?: string[];
|
|
73
|
+
is_active?: boolean;
|
|
74
|
+
version?: number;
|
|
75
|
+
model_id?: string | null;
|
|
76
|
+
/** The canonical authored agent messages. Runtime-injected skill/tool preambles are not persisted here. */
|
|
77
|
+
messages?: {
|
|
78
|
+
[key: string]: JsonValue;
|
|
79
|
+
}[];
|
|
80
|
+
variables?: AgentVariableDetail[];
|
|
81
|
+
variable_definitions?: AgentVariableDefinition[];
|
|
82
|
+
context_policies?: AgentContextPolicy[];
|
|
83
|
+
output_schema?: {
|
|
84
|
+
[key: string]: JsonValue;
|
|
85
|
+
} | null;
|
|
86
|
+
settings?: {
|
|
87
|
+
[key: string]: JsonValue;
|
|
88
|
+
};
|
|
89
|
+
/** The agent's executable tools as canonical NAMES — rendered from the authoritative agent.definition.tools column the executor reads (NOT from tool_config, which never assigns tools). */
|
|
90
|
+
tools?: string[];
|
|
91
|
+
tool_config?: {
|
|
92
|
+
[key: string]: JsonValue;
|
|
93
|
+
};
|
|
94
|
+
skill_config?: {
|
|
95
|
+
[key: string]: JsonValue;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
/** AgentFromChatRequest */
|
|
99
|
+
type AgentFromChatRequest = {
|
|
100
|
+
/** The chat to turn into an agent. */
|
|
101
|
+
conversation_id: string;
|
|
102
|
+
/** Person-supplied example inputs (R52). On the Agent Factory path each is one more proof case beside the chat's own request; the legacy builder ignores them. */
|
|
103
|
+
examples?: string[];
|
|
104
|
+
};
|
|
105
|
+
/** WHO an agent belongs to — the Expert who built it. */
|
|
106
|
+
type AgentOwnership = {
|
|
107
|
+
/** auth.users id of the Expert this agent belongs to. */
|
|
108
|
+
user_id: string;
|
|
109
|
+
/** The organization this agent is born in — READ off the caller's request context or the record being processed, never defaulted. NULL org is never 'global'. */
|
|
110
|
+
organization_id: string;
|
|
111
|
+
};
|
|
112
|
+
/** The in-memory build request the Agent Service constructs from the */
|
|
113
|
+
type AgentSpec = {
|
|
114
|
+
name: string;
|
|
115
|
+
title?: string;
|
|
116
|
+
display_name?: string | null;
|
|
117
|
+
summary?: string;
|
|
118
|
+
purpose?: string;
|
|
119
|
+
variables?: SpecVariable[];
|
|
120
|
+
response_format?: string;
|
|
121
|
+
sample_inputs?: string;
|
|
122
|
+
grading_rubric?: string;
|
|
123
|
+
model_guidance?: string;
|
|
124
|
+
model_profile?: ("balanced" | "strongest") | null;
|
|
125
|
+
model_id?: string | null;
|
|
126
|
+
output_json_schema?: JsonValue;
|
|
127
|
+
tools?: string[];
|
|
128
|
+
owner?: AgentOwnership | null;
|
|
129
|
+
[key: string]: unknown;
|
|
130
|
+
};
|
|
131
|
+
/** Lightweight catalog row. */
|
|
132
|
+
type AgentSummary = {
|
|
133
|
+
id: string;
|
|
134
|
+
name: string;
|
|
135
|
+
description?: string;
|
|
136
|
+
category?: string | null;
|
|
137
|
+
tags?: string[];
|
|
138
|
+
agent_type?: string;
|
|
139
|
+
version?: number;
|
|
140
|
+
orchestra?: OrchestraBadge | null;
|
|
141
|
+
};
|
|
142
|
+
/** AgentTestBatchRequest */
|
|
143
|
+
type AgentTestBatchRequest = {
|
|
144
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
145
|
+
organization_id?: string | null;
|
|
146
|
+
/** Optional associated project selected by the caller. */
|
|
147
|
+
project_id?: string | null;
|
|
148
|
+
/** Optional associated task selected by the caller. */
|
|
149
|
+
task_id?: string | null;
|
|
150
|
+
/** Stable application slug that initiated the request. */
|
|
151
|
+
source_app?: string | null;
|
|
152
|
+
/** Stable feature slug within the source application. */
|
|
153
|
+
source_feature?: string | null;
|
|
154
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
155
|
+
initiation?: ("user" | "auto") | null;
|
|
156
|
+
exemplar_ids?: string[] | null;
|
|
157
|
+
include_candidates?: boolean;
|
|
158
|
+
};
|
|
159
|
+
/** AgentTestBatchResponse */
|
|
160
|
+
type AgentTestBatchResponse = {
|
|
161
|
+
agent_id: string;
|
|
162
|
+
exemplar_count: number;
|
|
163
|
+
results: AgentTestResult[];
|
|
164
|
+
};
|
|
165
|
+
/** One test run of one exemplar, persisted on the exemplar's metadata. */
|
|
166
|
+
type AgentTestResult = {
|
|
167
|
+
id?: string;
|
|
168
|
+
created_at?: string;
|
|
169
|
+
agent_id: string;
|
|
170
|
+
exemplar_id: string;
|
|
171
|
+
exemplar_label: string;
|
|
172
|
+
output?: string;
|
|
173
|
+
parsed?: {
|
|
174
|
+
[key: string]: JsonValue;
|
|
175
|
+
} | JsonValue[] | null;
|
|
176
|
+
usage?: {
|
|
177
|
+
[key: string]: JsonValue;
|
|
178
|
+
};
|
|
179
|
+
model_id?: string | null;
|
|
180
|
+
duration_ms?: number;
|
|
181
|
+
error?: string | null;
|
|
182
|
+
};
|
|
183
|
+
/** Bind a variable to a model control (controls as first-class variables). */
|
|
184
|
+
type AgentVariableControlInput = {
|
|
185
|
+
/** The model control this variable sets for the run (e.g. 'temperature', 'aspect_ratio', 'voice'). Pick one the chosen model exposes AND your organization lets callers bind — agent_catalog list_models re */
|
|
186
|
+
key: string;
|
|
187
|
+
};
|
|
188
|
+
/** Full variable definition — the shape the FE VariableInputComponent renders. */
|
|
189
|
+
type AgentVariableDefinition = {
|
|
190
|
+
/** Variable name the agent template references as {{name}}. */
|
|
191
|
+
name: string;
|
|
192
|
+
/** What the person called the variable ("Normal Text"); screens show it. Absent → screens humanize `name`. */
|
|
193
|
+
label?: string | null;
|
|
194
|
+
/** Pre-filled value if the caller provides none. */
|
|
195
|
+
defaultValue?: JsonValue;
|
|
196
|
+
/** Help text shown under the field. */
|
|
197
|
+
helpText?: string | null;
|
|
198
|
+
/** Must be provided before the agent runs. */
|
|
199
|
+
required?: boolean;
|
|
200
|
+
/** UI input component config (defaults to a textarea). */
|
|
201
|
+
customComponent?: VariableComponentSpec | null;
|
|
202
|
+
/** When set, the variable is filled at run time: from a scope context item (inherits its component), or — kind 'merge_field' — by a merge field. */
|
|
203
|
+
binding?: MergeFieldBinding | ContextItemBinding | null;
|
|
204
|
+
/** When set, this variable is a model control exposed as an input: its resolved value is sent as that control (controls as first-class variables). */
|
|
205
|
+
control?: ControlBinding | null;
|
|
206
|
+
[key: string]: unknown;
|
|
207
|
+
};
|
|
208
|
+
/** AgentVariableDetail */
|
|
209
|
+
type AgentVariableDetail = {
|
|
210
|
+
name: string;
|
|
211
|
+
label?: string | null;
|
|
212
|
+
description?: string;
|
|
213
|
+
required?: boolean;
|
|
214
|
+
default_value?: string;
|
|
215
|
+
};
|
|
216
|
+
/** AgentVariableInput */
|
|
217
|
+
type AgentVariableInput = {
|
|
218
|
+
/** Variable name the agent template references. */
|
|
219
|
+
name: string;
|
|
220
|
+
/** The person-facing name screens show for this variable ("Normal Text"). Omit and screens humanize `name`. */
|
|
221
|
+
label?: string | null;
|
|
222
|
+
/** What this variable contains. */
|
|
223
|
+
description?: string;
|
|
224
|
+
/** The variable's default. For a control-bound variable this IS the agent's own value for that control (the setting is not written separately). */
|
|
225
|
+
default_value?: string;
|
|
226
|
+
/** Bind this variable to a model control: {"key": "aspect_ratio"}. */
|
|
227
|
+
control?: AgentVariableControlInput | null;
|
|
228
|
+
};
|
|
229
|
+
/** AgentVersionInfo */
|
|
230
|
+
type AgentVersionInfo = {
|
|
231
|
+
id: string;
|
|
232
|
+
agent_id: string;
|
|
233
|
+
version_number: number;
|
|
234
|
+
name?: string;
|
|
235
|
+
change_note?: string | null;
|
|
236
|
+
changed_at?: string | null;
|
|
237
|
+
};
|
|
238
|
+
/** BuildResponse */
|
|
239
|
+
type BuildResponse = {
|
|
240
|
+
build_id: string;
|
|
241
|
+
execution_status: string;
|
|
242
|
+
state?: {
|
|
243
|
+
[key: string]: JsonValue;
|
|
244
|
+
} | null;
|
|
245
|
+
};
|
|
246
|
+
/** BuiltinPromptCatalogResponse */
|
|
247
|
+
type BuiltinPromptCatalogResponse = {
|
|
248
|
+
builtins: AgentSummary[];
|
|
249
|
+
count: number;
|
|
250
|
+
};
|
|
251
|
+
/** CacheBustResponse */
|
|
252
|
+
type CacheBustResponse = {
|
|
253
|
+
cleared: string[];
|
|
254
|
+
tool_registry_count: number;
|
|
255
|
+
timestamp: string;
|
|
256
|
+
};
|
|
257
|
+
/** CatalogRpcRequest */
|
|
258
|
+
type CatalogRpcRequest = {
|
|
259
|
+
/** Must be 'agx_get_list_full' */
|
|
260
|
+
fn: string;
|
|
261
|
+
args?: {
|
|
262
|
+
[key: string]: unknown;
|
|
263
|
+
} | null;
|
|
264
|
+
};
|
|
265
|
+
/** Faceted catalog view: distinct categories + tag counts + the agents. */
|
|
266
|
+
type CatalogTree = {
|
|
267
|
+
total: number;
|
|
268
|
+
categories?: {
|
|
269
|
+
[key: string]: number;
|
|
270
|
+
};
|
|
271
|
+
tags?: {
|
|
272
|
+
[key: string]: number;
|
|
273
|
+
};
|
|
274
|
+
agents?: AgentSummary[];
|
|
275
|
+
};
|
|
276
|
+
/** POST /skills/categories body. `user_id` is forced server-side: when */
|
|
277
|
+
type CategoryCreate = {
|
|
278
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
279
|
+
organization_id?: string | null;
|
|
280
|
+
/** Optional associated project selected by the caller. */
|
|
281
|
+
project_id?: string | null;
|
|
282
|
+
/** Optional associated task selected by the caller. */
|
|
283
|
+
task_id?: string | null;
|
|
284
|
+
/** Stable application slug that initiated the request. */
|
|
285
|
+
source_app?: string | null;
|
|
286
|
+
/** Stable feature slug within the source application. */
|
|
287
|
+
source_feature?: string | null;
|
|
288
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
289
|
+
initiation?: ("user" | "auto") | null;
|
|
290
|
+
category_key: string;
|
|
291
|
+
label: string;
|
|
292
|
+
description?: string | null;
|
|
293
|
+
icon_name?: string | null;
|
|
294
|
+
color?: string | null;
|
|
295
|
+
parent_category_id?: string | null;
|
|
296
|
+
sort_order?: number;
|
|
297
|
+
is_system?: boolean;
|
|
298
|
+
};
|
|
299
|
+
/** CategoryList */
|
|
300
|
+
type CategoryList = {
|
|
301
|
+
count: number;
|
|
302
|
+
categories: CategoryRow[];
|
|
303
|
+
};
|
|
304
|
+
/** PATCH /skills/categories/{id} body. All fields optional. */
|
|
305
|
+
type CategoryPatch = {
|
|
306
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
307
|
+
organization_id?: string | null;
|
|
308
|
+
/** Optional associated project selected by the caller. */
|
|
309
|
+
project_id?: string | null;
|
|
310
|
+
/** Optional associated task selected by the caller. */
|
|
311
|
+
task_id?: string | null;
|
|
312
|
+
/** Stable application slug that initiated the request. */
|
|
313
|
+
source_app?: string | null;
|
|
314
|
+
/** Stable feature slug within the source application. */
|
|
315
|
+
source_feature?: string | null;
|
|
316
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
317
|
+
initiation?: ("user" | "auto") | null;
|
|
318
|
+
category_key?: string | null;
|
|
319
|
+
label?: string | null;
|
|
320
|
+
description?: string | null;
|
|
321
|
+
icon_name?: string | null;
|
|
322
|
+
color?: string | null;
|
|
323
|
+
parent_category_id?: string | null;
|
|
324
|
+
sort_order?: number | null;
|
|
325
|
+
is_active?: boolean | null;
|
|
326
|
+
};
|
|
327
|
+
/** CategoryRow */
|
|
328
|
+
type CategoryRow = {
|
|
329
|
+
id: string;
|
|
330
|
+
category_key: string;
|
|
331
|
+
label: string;
|
|
332
|
+
description?: string | null;
|
|
333
|
+
icon_name?: string | null;
|
|
334
|
+
color?: string | null;
|
|
335
|
+
parent_category_id?: string | null;
|
|
336
|
+
sort_order?: number;
|
|
337
|
+
is_active?: boolean;
|
|
338
|
+
};
|
|
339
|
+
/** CellRef */
|
|
340
|
+
type CellRef = {
|
|
341
|
+
row_id: string;
|
|
342
|
+
column_id: string;
|
|
343
|
+
repeat?: number;
|
|
344
|
+
};
|
|
345
|
+
/** Clearance */
|
|
346
|
+
type Clearance = "public" | "internal" | "restricted" | "privileged";
|
|
347
|
+
/** CodeDeclaration */
|
|
348
|
+
type CodeDeclaration = {
|
|
349
|
+
name: string;
|
|
350
|
+
function_path: string;
|
|
351
|
+
executor?: string | null;
|
|
352
|
+
validate_enabled?: boolean;
|
|
353
|
+
deprecated?: boolean;
|
|
354
|
+
parameters?: JsonValue;
|
|
355
|
+
};
|
|
356
|
+
/** CombinedPromptCatalogResponse */
|
|
357
|
+
type CombinedPromptCatalogResponse = {
|
|
358
|
+
prompts: AgentSummary[];
|
|
359
|
+
builtins: AgentSummary[];
|
|
360
|
+
total_count: number;
|
|
361
|
+
};
|
|
362
|
+
/** ContextAnswer */
|
|
363
|
+
type ContextAnswer = {
|
|
364
|
+
path: "old" | "new";
|
|
365
|
+
answer?: string | null;
|
|
366
|
+
error?: string | null;
|
|
367
|
+
model?: string | null;
|
|
368
|
+
duration_ms?: number | null;
|
|
369
|
+
input_tokens?: number | null;
|
|
370
|
+
output_tokens?: number | null;
|
|
371
|
+
system_sha256?: string | null;
|
|
372
|
+
system_byte_length?: number | null;
|
|
373
|
+
context_sha256?: string | null;
|
|
374
|
+
provenance?: ContextProvenance | null;
|
|
375
|
+
};
|
|
376
|
+
/** One question, answered once from each resolver (lane SC-3', P9 "answer on both paths"). */
|
|
377
|
+
type ContextAnswerBothRequest = {
|
|
378
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
379
|
+
organization_id?: string | null;
|
|
380
|
+
/** Optional associated project selected by the caller. */
|
|
381
|
+
project_id?: string | null;
|
|
382
|
+
/** Optional associated task selected by the caller. */
|
|
383
|
+
task_id?: string | null;
|
|
384
|
+
/** Stable application slug that initiated the request. */
|
|
385
|
+
source_app?: string | null;
|
|
386
|
+
/** Stable feature slug within the source application. */
|
|
387
|
+
source_feature?: string | null;
|
|
388
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
389
|
+
initiation?: ("user" | "auto") | null;
|
|
390
|
+
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
391
|
+
scope_ids?: string[] | null;
|
|
392
|
+
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
393
|
+
active_scope_type_ids?: string[] | null;
|
|
394
|
+
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
395
|
+
context_anchor?: ContextAnchor | null;
|
|
396
|
+
/** Persist request outputs when true; run ephemerally when false. */
|
|
397
|
+
store?: boolean;
|
|
398
|
+
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
399
|
+
target_instance_id?: string | null;
|
|
400
|
+
conversation_id?: string | null;
|
|
401
|
+
agent_id?: string | null;
|
|
402
|
+
entity_is_new?: boolean | null;
|
|
403
|
+
path?: "old" | "new" | "both";
|
|
404
|
+
selection?: ContextSelection | null;
|
|
405
|
+
context?: {
|
|
406
|
+
[key: string]: ContextEnvelope | JsonValue;
|
|
407
|
+
} | null;
|
|
408
|
+
/** The context keys the client withheld this turn (off by the page, the agent or the person's rule). When sent, the context receipt lists saved-rule rows only for these keys; omitted, it lists every save */
|
|
409
|
+
context_withheld?: string[] | null;
|
|
410
|
+
surface?: string | null;
|
|
411
|
+
/** This conversation is the page's own (mode 'own') or the person switched the page off (mode 'off'): the page's values, the screens around it and what identifies the conversation are withheld by the con */
|
|
412
|
+
page_context?: PageContext | null;
|
|
413
|
+
/** The surface whose page published each context value that the primary surface (client.surface) does not declare: a screen mounted inside the page (a transcript open on the Knowledge page). Sent or with */
|
|
414
|
+
context_surfaces?: {
|
|
415
|
+
[key: string]: string;
|
|
416
|
+
} | null;
|
|
417
|
+
view?: ContextViewTarget | null;
|
|
418
|
+
question: string;
|
|
419
|
+
};
|
|
420
|
+
/** ContextAnswerBothResponse */
|
|
421
|
+
type ContextAnswerBothResponse = {
|
|
422
|
+
question: string;
|
|
423
|
+
agent_id: string;
|
|
424
|
+
compare: ContextCompare;
|
|
425
|
+
answers: ContextAnswer[];
|
|
426
|
+
says: string;
|
|
427
|
+
};
|
|
428
|
+
/** ContextCompare */
|
|
429
|
+
type ContextCompare = {
|
|
430
|
+
ruling?: string;
|
|
431
|
+
selection: ContextCompareSelection;
|
|
432
|
+
old: ContextCompareSide;
|
|
433
|
+
new: ContextCompareSide;
|
|
434
|
+
differences?: ContextCompareDifference[];
|
|
435
|
+
counts?: {
|
|
436
|
+
[key: string]: number;
|
|
437
|
+
};
|
|
438
|
+
identical_cells?: number;
|
|
439
|
+
defects?: number;
|
|
440
|
+
follow: ContextFollowLag;
|
|
441
|
+
excluded?: string[];
|
|
442
|
+
system_items?: ContextSystemItems;
|
|
443
|
+
};
|
|
444
|
+
/** One record the new path considered, and what it decided for this person. */
|
|
445
|
+
type ContextCompareCheck = {
|
|
446
|
+
record_id: string;
|
|
447
|
+
via: string;
|
|
448
|
+
admitted: boolean;
|
|
449
|
+
reason?: string | null;
|
|
450
|
+
says?: string | null;
|
|
451
|
+
organization_id?: string | null;
|
|
452
|
+
name?: string | null;
|
|
453
|
+
};
|
|
454
|
+
/** ContextCompareDifference */
|
|
455
|
+
type ContextCompareDifference = {
|
|
456
|
+
item_id: string;
|
|
457
|
+
key: string;
|
|
458
|
+
scope_id?: string | null;
|
|
459
|
+
scope_name?: string | null;
|
|
460
|
+
old_value?: JsonValue | null;
|
|
461
|
+
new_value?: JsonValue | null;
|
|
462
|
+
old_tier?: string | null;
|
|
463
|
+
new_tier?: string | null;
|
|
464
|
+
difference_class: "copy lag" | "declared tier move" | "old path delivered without a check" | "defect";
|
|
465
|
+
why: string;
|
|
466
|
+
};
|
|
467
|
+
/** What BOTH resolvers are handed for one compare — identical on both sides. */
|
|
468
|
+
type ContextCompareSelection = {
|
|
469
|
+
depth: "organization" | "scope_type" | "scope" | "context_item" | "active";
|
|
470
|
+
organization_id?: string | null;
|
|
471
|
+
scope_type_ids?: string[];
|
|
472
|
+
scope_ids?: string[];
|
|
473
|
+
context_item_id?: string | null;
|
|
474
|
+
system_item_ids?: string[];
|
|
475
|
+
};
|
|
476
|
+
/** ContextCompareSide */
|
|
477
|
+
type ContextCompareSide = {
|
|
478
|
+
path: "old" | "new";
|
|
479
|
+
available?: boolean;
|
|
480
|
+
unavailable_reason?: string | null;
|
|
481
|
+
block?: string | null;
|
|
482
|
+
block_sha256?: string | null;
|
|
483
|
+
value_fingerprint?: string | null;
|
|
484
|
+
scope_ids?: string[];
|
|
485
|
+
scope_labels?: {
|
|
486
|
+
[key: string]: JsonValue;
|
|
487
|
+
};
|
|
488
|
+
direct?: {
|
|
489
|
+
[key: string]: JsonValue;
|
|
490
|
+
};
|
|
491
|
+
tool_accessible?: {
|
|
492
|
+
[key: string]: JsonValue;
|
|
493
|
+
};
|
|
494
|
+
searchable?: {
|
|
495
|
+
[key: string]: JsonValue;
|
|
496
|
+
};
|
|
497
|
+
cell_values?: {
|
|
498
|
+
[key: string]: JsonValue;
|
|
499
|
+
};
|
|
500
|
+
checks?: ContextCompareCheck[];
|
|
501
|
+
withheld?: {
|
|
502
|
+
[key: string]: JsonValue;
|
|
503
|
+
}[];
|
|
504
|
+
resolve_ms?: number | null;
|
|
505
|
+
};
|
|
506
|
+
/** Which layer decided each knob of one context value. */
|
|
507
|
+
type ContextDecidedBy = {
|
|
508
|
+
include: "default" | "page" | "agent" | "you";
|
|
509
|
+
max_inline_chars: "default" | "page" | "agent" | "you";
|
|
510
|
+
};
|
|
511
|
+
/** What the model gets today beside what it would get from the record store (lane INSPECTOR-DIFF). */
|
|
512
|
+
type ContextDelivered = {
|
|
513
|
+
today: ContextDeliveredSide;
|
|
514
|
+
record_store?: ContextDeliveredSide | null;
|
|
515
|
+
identical?: boolean | null;
|
|
516
|
+
arguments?: {
|
|
517
|
+
[key: string]: JsonValue;
|
|
518
|
+
};
|
|
519
|
+
says: string;
|
|
520
|
+
};
|
|
521
|
+
/** What the model read for one value or block, by SIZE and HASH only — never the text */
|
|
522
|
+
type ContextDeliveredRef = {
|
|
523
|
+
chars: number;
|
|
524
|
+
sha256: string;
|
|
525
|
+
};
|
|
526
|
+
/** One side's context EXACTLY as the model is fed it — the run path's assembler's bytes. */
|
|
527
|
+
type ContextDeliveredSide = {
|
|
528
|
+
path: "today" | "record_store";
|
|
529
|
+
available?: boolean;
|
|
530
|
+
unavailable_reason?: string | null;
|
|
531
|
+
intro?: string | null;
|
|
532
|
+
active?: string | null;
|
|
533
|
+
injected_block?: string | null;
|
|
534
|
+
block_sha256?: string | null;
|
|
535
|
+
block_byte_length?: number | null;
|
|
536
|
+
provenance?: ContextProvenance | null;
|
|
537
|
+
};
|
|
538
|
+
/** The rich per-value form a client may send in ``context`` instead of a bare value. */
|
|
539
|
+
type ContextEnvelope = {
|
|
540
|
+
content?: JsonValue;
|
|
541
|
+
type?: string | null;
|
|
542
|
+
label?: string | null;
|
|
543
|
+
description?: string | null;
|
|
544
|
+
mutable?: boolean | null;
|
|
545
|
+
persist?: ("auto" | "never" | "client") | null;
|
|
546
|
+
source?: {
|
|
547
|
+
[key: string]: JsonValue;
|
|
548
|
+
} | null;
|
|
549
|
+
max_inline_chars?: number | null;
|
|
550
|
+
default_max_inline_chars?: number | null;
|
|
551
|
+
summary_agent_id?: string | null;
|
|
552
|
+
};
|
|
553
|
+
/** ContextFollowLag */
|
|
554
|
+
type ContextFollowLag = {
|
|
555
|
+
running?: boolean;
|
|
556
|
+
pending?: number;
|
|
557
|
+
oldest_pending_at?: string | null;
|
|
558
|
+
last_applied_at?: string | null;
|
|
559
|
+
alert?: boolean;
|
|
560
|
+
alert_after_seconds?: number | null;
|
|
561
|
+
says: string;
|
|
562
|
+
};
|
|
563
|
+
/** Binds a variable to a scope context item; it inherits that item's component. */
|
|
564
|
+
type ContextItemBinding = {
|
|
565
|
+
/** ctx_context_items.id supplying the value. */
|
|
566
|
+
contextItemId: string;
|
|
567
|
+
/** Scope type whose active scope supplies the value. */
|
|
568
|
+
scopeTypeId: string;
|
|
569
|
+
/** The item's machine key resolved against the active scope. */
|
|
570
|
+
itemKey: string;
|
|
571
|
+
/** empty | skip | error when no active scope supplies it. */
|
|
572
|
+
onMissing?: string | null;
|
|
573
|
+
[key: string]: unknown;
|
|
574
|
+
};
|
|
575
|
+
/** ContextOrganizationOption */
|
|
576
|
+
type ContextOrganizationOption = {
|
|
577
|
+
id: string;
|
|
578
|
+
name: string;
|
|
579
|
+
slug: string;
|
|
580
|
+
};
|
|
581
|
+
/** ContextOrganizationsResponse */
|
|
582
|
+
type ContextOrganizationsResponse = {
|
|
583
|
+
organizations: ContextOrganizationOption[];
|
|
584
|
+
};
|
|
585
|
+
/** ContextPreviewBindings */
|
|
586
|
+
type ContextPreviewBindings = {
|
|
587
|
+
variables?: {
|
|
588
|
+
[key: string]: JsonValue;
|
|
589
|
+
};
|
|
590
|
+
context?: {
|
|
591
|
+
[key: string]: JsonValue;
|
|
592
|
+
};
|
|
593
|
+
picklist_bindings?: {
|
|
594
|
+
[key: string]: {
|
|
595
|
+
[key: string]: JsonValue;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
traces?: {
|
|
599
|
+
[key: string]: JsonValue;
|
|
600
|
+
}[];
|
|
601
|
+
};
|
|
602
|
+
/** One selected id that did NOT reach the agent, and why, in words. */
|
|
603
|
+
type ContextPreviewRefusal = {
|
|
604
|
+
id: string;
|
|
605
|
+
kind: string;
|
|
606
|
+
reason: string;
|
|
607
|
+
message: string;
|
|
608
|
+
};
|
|
609
|
+
/** ContextPreviewRequest */
|
|
610
|
+
type ContextPreviewRequest = {
|
|
611
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
612
|
+
organization_id?: string | null;
|
|
613
|
+
/** Optional associated project selected by the caller. */
|
|
614
|
+
project_id?: string | null;
|
|
615
|
+
/** Optional associated task selected by the caller. */
|
|
616
|
+
task_id?: string | null;
|
|
617
|
+
/** Stable application slug that initiated the request. */
|
|
618
|
+
source_app?: string | null;
|
|
619
|
+
/** Stable feature slug within the source application. */
|
|
620
|
+
source_feature?: string | null;
|
|
621
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
622
|
+
initiation?: ("user" | "auto") | null;
|
|
623
|
+
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
624
|
+
scope_ids?: string[] | null;
|
|
625
|
+
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
626
|
+
active_scope_type_ids?: string[] | null;
|
|
627
|
+
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
628
|
+
context_anchor?: ContextAnchor | null;
|
|
629
|
+
/** Persist request outputs when true; run ephemerally when false. */
|
|
630
|
+
store?: boolean;
|
|
631
|
+
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
632
|
+
target_instance_id?: string | null;
|
|
633
|
+
conversation_id?: string | null;
|
|
634
|
+
agent_id?: string | null;
|
|
635
|
+
entity_is_new?: boolean | null;
|
|
636
|
+
path?: "old" | "new" | "both";
|
|
637
|
+
selection?: ContextSelection | null;
|
|
638
|
+
context?: {
|
|
639
|
+
[key: string]: ContextEnvelope | JsonValue;
|
|
640
|
+
} | null;
|
|
641
|
+
/** The context keys the client withheld this turn (off by the page, the agent or the person's rule). When sent, the context receipt lists saved-rule rows only for these keys; omitted, it lists every save */
|
|
642
|
+
context_withheld?: string[] | null;
|
|
643
|
+
surface?: string | null;
|
|
644
|
+
/** This conversation is the page's own (mode 'own') or the person switched the page off (mode 'off'): the page's values, the screens around it and what identifies the conversation are withheld by the con */
|
|
645
|
+
page_context?: PageContext | null;
|
|
646
|
+
/** The surface whose page published each context value that the primary surface (client.surface) does not declare: a screen mounted inside the page (a transcript open on the Knowledge page). Sent or with */
|
|
647
|
+
context_surfaces?: {
|
|
648
|
+
[key: string]: string;
|
|
649
|
+
} | null;
|
|
650
|
+
view?: ContextViewTarget | null;
|
|
651
|
+
};
|
|
652
|
+
/** ContextPreviewResponse */
|
|
653
|
+
type ContextPreviewResponse = {
|
|
654
|
+
injected_block: string | null;
|
|
655
|
+
block_producer: string | null;
|
|
656
|
+
block_sha256: string | null;
|
|
657
|
+
block_byte_length: number | null;
|
|
658
|
+
organization_id: string | null;
|
|
659
|
+
scope_ids: string[];
|
|
660
|
+
scope_labels: {
|
|
661
|
+
[key: string]: JsonValue;
|
|
662
|
+
};
|
|
663
|
+
variables: ContextPreviewVariables;
|
|
664
|
+
cell_values: {
|
|
665
|
+
[key: string]: JsonValue;
|
|
666
|
+
};
|
|
667
|
+
bindings: ContextPreviewBindings | null;
|
|
668
|
+
selection: ContextPreviewSelection;
|
|
669
|
+
entity_type: string;
|
|
670
|
+
entity_id: string;
|
|
671
|
+
entity_is_new: boolean;
|
|
672
|
+
path?: "old" | "new" | "both";
|
|
673
|
+
compare?: ContextCompare | null;
|
|
674
|
+
provenance?: ContextProvenance | null;
|
|
675
|
+
delivered?: ContextDelivered | null;
|
|
676
|
+
receipt?: ContextReceipt | null;
|
|
677
|
+
viewed?: ContextViewedText | null;
|
|
678
|
+
};
|
|
679
|
+
/** What the caller asked for vs. what this turn actually resolved. */
|
|
680
|
+
type ContextPreviewSelection = {
|
|
681
|
+
organization_id?: string | null;
|
|
682
|
+
organization_name?: string | null;
|
|
683
|
+
organization_snapped_from_id?: string | null;
|
|
684
|
+
organization_snapped_from_name?: string | null;
|
|
685
|
+
organization_snapped?: boolean;
|
|
686
|
+
snap_message?: string | null;
|
|
687
|
+
requested_scope_ids?: string[];
|
|
688
|
+
delivered_scope_ids?: string[];
|
|
689
|
+
refusals?: ContextPreviewRefusal[];
|
|
690
|
+
};
|
|
691
|
+
/** ContextPreviewVariables */
|
|
692
|
+
type ContextPreviewVariables = {
|
|
693
|
+
direct?: {
|
|
694
|
+
[key: string]: JsonValue;
|
|
695
|
+
};
|
|
696
|
+
tool_accessible?: {
|
|
697
|
+
[key: string]: JsonValue;
|
|
698
|
+
};
|
|
699
|
+
searchable?: {
|
|
700
|
+
[key: string]: JsonValue;
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
/** Where a shown block came from — printed on the inspector's tabs. */
|
|
704
|
+
type ContextProvenance = {
|
|
705
|
+
function?: string;
|
|
706
|
+
module?: string;
|
|
707
|
+
git_sha: string;
|
|
708
|
+
run_path_callers: string[];
|
|
709
|
+
resolver: "chosen" | "record_store";
|
|
710
|
+
says: string;
|
|
711
|
+
};
|
|
712
|
+
/** What the server did with every context value this turn (RULES.md §5). */
|
|
713
|
+
type ContextReceipt = {
|
|
714
|
+
version?: 1;
|
|
715
|
+
surface?: string | null;
|
|
716
|
+
cap: number;
|
|
717
|
+
model_reads_context?: boolean;
|
|
718
|
+
rows?: ContextReceiptRow[];
|
|
719
|
+
rules_error?: string | null;
|
|
720
|
+
blocks?: ContextReceiptBlock[];
|
|
721
|
+
room_view?: ContextReceiptRoomView | null;
|
|
722
|
+
};
|
|
723
|
+
/** One block of text the server put in front of the model this turn that is NOT a single */
|
|
724
|
+
type ContextReceiptBlock = {
|
|
725
|
+
id: string;
|
|
726
|
+
label: string;
|
|
727
|
+
delivered: ContextDeliveredRef;
|
|
728
|
+
};
|
|
729
|
+
/** What the Group Chat view (per-turn slot ``room_view``) chose for this participant this */
|
|
730
|
+
type ContextReceiptRoomView = {
|
|
731
|
+
participant_id: string;
|
|
732
|
+
participant_key: string;
|
|
733
|
+
round: number;
|
|
734
|
+
policy_version: number;
|
|
735
|
+
included?: string[];
|
|
736
|
+
digested?: string[];
|
|
737
|
+
withheld?: ContextReceiptWithheldItem[];
|
|
738
|
+
error?: string | null;
|
|
739
|
+
};
|
|
740
|
+
/** One context value this turn: whether it reached the model, and how. */
|
|
741
|
+
type ContextReceiptRow = {
|
|
742
|
+
key: string;
|
|
743
|
+
label: string;
|
|
744
|
+
surface_key: string;
|
|
745
|
+
origin: "client" | "server" | "surroundings" | "rule";
|
|
746
|
+
chars?: number | null;
|
|
747
|
+
include: boolean;
|
|
748
|
+
max_inline_chars: number;
|
|
749
|
+
delivery: "inline" | "on_request" | "off";
|
|
750
|
+
decided_by: ContextDecidedBy;
|
|
751
|
+
user_rule?: ContextRule | null;
|
|
752
|
+
clamped?: boolean;
|
|
753
|
+
client_sent_excluded?: boolean;
|
|
754
|
+
blocked_by?: ("model" | "self_check") | null;
|
|
755
|
+
consumed_as?: ("expanded" | "directive" | "renamed" | "unaccounted") | null;
|
|
756
|
+
consumed_into?: string[];
|
|
757
|
+
delivered?: ContextDeliveredRef | null;
|
|
758
|
+
on_request?: ContextDeliveredRef | null;
|
|
759
|
+
};
|
|
760
|
+
/** One message of the group the participant's view policy kept from the model this turn. */
|
|
761
|
+
type ContextReceiptWithheldItem = {
|
|
762
|
+
message_id: string;
|
|
763
|
+
conversation_id: string;
|
|
764
|
+
speaker: string;
|
|
765
|
+
rule: string;
|
|
766
|
+
};
|
|
767
|
+
/** ContextRenderRequest */
|
|
768
|
+
type ContextRenderRequest = {
|
|
769
|
+
target: ContextTarget;
|
|
770
|
+
invocation: InvocationContext;
|
|
771
|
+
};
|
|
772
|
+
/** ContextRenderResponse */
|
|
773
|
+
type ContextRenderResponse = {
|
|
774
|
+
rendered: string;
|
|
775
|
+
metadata: {
|
|
776
|
+
[key: string]: JsonValue;
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
/** A person's saved rule for one context value (``users.user_surface_state``, */
|
|
780
|
+
type ContextRule = {
|
|
781
|
+
include?: boolean | null;
|
|
782
|
+
max_inline_chars?: number | null;
|
|
783
|
+
};
|
|
784
|
+
/** The inspector's drill-down, one step per field. A later step needs every earlier one. */
|
|
785
|
+
type ContextSelection = {
|
|
786
|
+
/** The organization the selection is in. */
|
|
787
|
+
organization_id: string;
|
|
788
|
+
/** A scope type of that organization — every scope of it. */
|
|
789
|
+
scope_type_id?: string | null;
|
|
790
|
+
/** One scope of that type. */
|
|
791
|
+
scope_id?: string | null;
|
|
792
|
+
/** One context item — the page narrows what it shows to it. */
|
|
793
|
+
context_item_id?: string | null;
|
|
794
|
+
/** System (platform) context items picked explicitly. A System item reaches the agent only when something names it: the agent's bindings, the platform's default list, or this pick. */
|
|
795
|
+
system_item_ids?: string[];
|
|
796
|
+
};
|
|
797
|
+
/** One System (platform) item this compare named, who named it, and which side delivered it. */
|
|
798
|
+
type ContextSystemItem = {
|
|
799
|
+
key?: string | null;
|
|
800
|
+
context_item_id?: string | null;
|
|
801
|
+
named_by?: string[];
|
|
802
|
+
old?: boolean;
|
|
803
|
+
new?: boolean;
|
|
804
|
+
};
|
|
805
|
+
/** THE "System items" line (lane CONTEXT-VALUES-NAMED): a System item reaches an agent only */
|
|
806
|
+
type ContextSystemItems = {
|
|
807
|
+
named?: ContextSystemItem[];
|
|
808
|
+
withheld?: string[];
|
|
809
|
+
says?: string;
|
|
810
|
+
};
|
|
811
|
+
/** ContextTarget */
|
|
812
|
+
type ContextTarget = {
|
|
813
|
+
kind: "scope_system";
|
|
814
|
+
tier: "overview" | "scope" | "scope_type" | "context_item";
|
|
815
|
+
variation?: "a1" | "a2" | "fk_a" | "fk_b" | "d_elements" | "d_attributes";
|
|
816
|
+
scope_slug?: string | null;
|
|
817
|
+
scope_type_slug?: string | null;
|
|
818
|
+
item_key?: string | null;
|
|
819
|
+
};
|
|
820
|
+
/** One thing to view: ``kind`` + the value's key or the block's id. */
|
|
821
|
+
type ContextViewTarget = {
|
|
822
|
+
kind: "delivered" | "on_request" | "block" | "fetchable";
|
|
823
|
+
key: string;
|
|
824
|
+
};
|
|
825
|
+
/** The exact text the model received (or will receive) for one value or block. */
|
|
826
|
+
type ContextViewedText = {
|
|
827
|
+
kind: "delivered" | "on_request" | "block" | "fetchable";
|
|
828
|
+
key: string;
|
|
829
|
+
text: string;
|
|
830
|
+
chars: number;
|
|
831
|
+
sha256: string;
|
|
832
|
+
source: "preview" | "wire" | "conversation_prompt" | "turn_record" | "fetched_now" | "tool_result";
|
|
833
|
+
available?: boolean;
|
|
834
|
+
fetched?: boolean | null;
|
|
835
|
+
};
|
|
836
|
+
/** Binds a variable to a model control: the variable's value IS that control's value. */
|
|
837
|
+
type ControlBinding = {
|
|
838
|
+
/** Canonical control key (aspect_ratio, quality, tts_voice, temperature, ...). While bound, the key is absent from the agent's settings and the variable's defaultValue is the agent's value. */
|
|
839
|
+
key: string;
|
|
840
|
+
[key: string]: unknown;
|
|
841
|
+
};
|
|
842
|
+
/** Structured agent request. Goes through the trained agent-builder */
|
|
843
|
+
type CreateAgentInput = {
|
|
844
|
+
/** The agent's display name — a Title Case Pretty Name ('Keyword Analysis Master'), never snake_case (Arman, 2026-08-22). */
|
|
845
|
+
name: string;
|
|
846
|
+
/** Goals / objectives — what the agent must accomplish. */
|
|
847
|
+
goals: string;
|
|
848
|
+
/** One-sentence description of the agent. */
|
|
849
|
+
summary?: string;
|
|
850
|
+
/** Variables the agent will be given, each with a description. */
|
|
851
|
+
variables?: AgentVariableInput[];
|
|
852
|
+
/** 'text' (prose), 'json' (free JSON), or 'json_schema' (schema-enforced). */
|
|
853
|
+
response_format?: "text" | "json" | "json_schema";
|
|
854
|
+
/** The person's own words for the answer's format, e.g. 'a Markdown table with columns Owner | Task | Due'. Wins over response_format's prose meaning; the Agent Factory locks and proves it. */
|
|
855
|
+
output_format?: string;
|
|
856
|
+
/** Required when response_format='json_schema'. Validated against provider rules. */
|
|
857
|
+
output_schema?: {
|
|
858
|
+
[key: string]: JsonValue;
|
|
859
|
+
} | null;
|
|
860
|
+
/** Optional sample output; checked for consistency against output_schema. */
|
|
861
|
+
sample_output?: {
|
|
862
|
+
[key: string]: JsonValue;
|
|
863
|
+
} | null;
|
|
864
|
+
/** Optional example variable values. */
|
|
865
|
+
sample_inputs?: string;
|
|
866
|
+
/** Model preference/guidance, e.g. cost vs speed vs intelligence. */
|
|
867
|
+
model_guidance?: string;
|
|
868
|
+
/** How a run of this agent is judged: the automatic checks and the owner's pass bar from the mandate brief. The builder writes the prompt against it. */
|
|
869
|
+
grading_rubric?: string;
|
|
870
|
+
/** Optional database-owned model class. 'balanced' selects a primary, non-premium mid-cost text model; 'strongest' selects a primary premium text model. */
|
|
871
|
+
model_profile?: ("balanced" | "strongest") | null;
|
|
872
|
+
/** Optional EXPLICIT model pin (an id from agent_catalog list_models). A pin always wins over model_profile; it is validated by the live runnable-model gate and refused by name if unknown — never replace */
|
|
873
|
+
model_id?: string | null;
|
|
874
|
+
/** Executable tools to assign, by canonical tool NAME (from agent_catalog list_tools; DB UUIDs also accepted). Validated against the live registry — unknown or inactive tools are rejected loudly. Written */
|
|
875
|
+
tools?: string[];
|
|
876
|
+
/** 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 */
|
|
877
|
+
term_list_ids?: string[];
|
|
878
|
+
/** WHO this agent belongs to. Set it whenever the agent is being built FOR a user (a Masterwork's Maker/Editor/Chief, anything a customer's build produces): the agent is born agent_type='user', created_b */
|
|
879
|
+
owner_user_id?: string | null;
|
|
880
|
+
/** 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 */
|
|
881
|
+
owner_organization_id?: string | null;
|
|
882
|
+
};
|
|
883
|
+
/** DirectiveApplyResult */
|
|
884
|
+
type DirectiveApplyResult = {
|
|
885
|
+
directive: string;
|
|
886
|
+
applied: number;
|
|
887
|
+
failed: number;
|
|
888
|
+
receipts: DirectiveReceipt[];
|
|
889
|
+
};
|
|
890
|
+
/** The shells a client read out of stored content — a conversation's */
|
|
891
|
+
type DirectiveApplyStateRequest = {
|
|
892
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
893
|
+
organization_id?: string | null;
|
|
894
|
+
/** Optional associated project selected by the caller. */
|
|
895
|
+
project_id?: string | null;
|
|
896
|
+
/** Optional associated task selected by the caller. */
|
|
897
|
+
task_id?: string | null;
|
|
898
|
+
/** Stable application slug that initiated the request. */
|
|
899
|
+
source_app?: string | null;
|
|
900
|
+
/** Stable feature slug within the source application. */
|
|
901
|
+
source_feature?: string | null;
|
|
902
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
903
|
+
initiation?: ("user" | "auto") | null;
|
|
904
|
+
shells?: {
|
|
905
|
+
[key: string]: unknown;
|
|
906
|
+
}[];
|
|
907
|
+
conversation_id?: string | null;
|
|
908
|
+
};
|
|
909
|
+
/** DirectiveApplyStateResult */
|
|
910
|
+
type DirectiveApplyStateResult = {
|
|
911
|
+
conversation_id?: string | null;
|
|
912
|
+
shells: DirectiveShellState[];
|
|
913
|
+
};
|
|
914
|
+
/** The whole grid: class axis + noun rows + Kind Actions. */
|
|
915
|
+
type DirectiveCatalog = {
|
|
916
|
+
directive_version: number;
|
|
917
|
+
classes: string[];
|
|
918
|
+
nouns: NounDirectives[];
|
|
919
|
+
actions?: KindActionEntry[];
|
|
920
|
+
aliases?: {
|
|
921
|
+
[key: string]: string;
|
|
922
|
+
};
|
|
923
|
+
item_kinds?: {
|
|
924
|
+
[key: string]: string;
|
|
925
|
+
};
|
|
926
|
+
catalog_version?: string;
|
|
927
|
+
};
|
|
928
|
+
/** The two-key shell the client received in the proposal, POSTed back verbatim. */
|
|
929
|
+
type DirectiveConfirmRequest = {
|
|
930
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
931
|
+
organization_id?: string | null;
|
|
932
|
+
/** Optional associated project selected by the caller. */
|
|
933
|
+
project_id?: string | null;
|
|
934
|
+
/** Optional associated task selected by the caller. */
|
|
935
|
+
task_id?: string | null;
|
|
936
|
+
/** Stable application slug that initiated the request. */
|
|
937
|
+
source_app?: string | null;
|
|
938
|
+
/** Stable feature slug within the source application. */
|
|
939
|
+
source_feature?: string | null;
|
|
940
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
941
|
+
initiation?: ("user" | "auto") | null;
|
|
942
|
+
directive: string;
|
|
943
|
+
items?: {
|
|
944
|
+
[key: string]: unknown;
|
|
945
|
+
}[];
|
|
946
|
+
proposal_id?: string | null;
|
|
947
|
+
force?: boolean;
|
|
948
|
+
conversation_id?: string | null;
|
|
949
|
+
};
|
|
950
|
+
/** DirectiveConfirmResult */
|
|
951
|
+
type DirectiveConfirmResult = {
|
|
952
|
+
directive: string;
|
|
953
|
+
proposal_id: string;
|
|
954
|
+
applied: number;
|
|
955
|
+
failed: number;
|
|
956
|
+
receipts: (DirectiveItemApplied | DirectiveItemFailed)[];
|
|
957
|
+
message: string;
|
|
958
|
+
};
|
|
959
|
+
/** Body for `POST /directives/execute` — one write directive. */
|
|
960
|
+
type DirectiveExecuteRequest = {
|
|
961
|
+
directive: string;
|
|
962
|
+
items?: {
|
|
963
|
+
[key: string]: unknown;
|
|
964
|
+
}[];
|
|
965
|
+
conversation_id?: string | null;
|
|
966
|
+
force?: boolean;
|
|
967
|
+
};
|
|
968
|
+
/** DirectiveItemState */
|
|
969
|
+
type DirectiveItemState = {
|
|
970
|
+
index: number;
|
|
971
|
+
state: string;
|
|
972
|
+
message?: string | null;
|
|
973
|
+
resource_ids?: string[];
|
|
974
|
+
copies?: number;
|
|
975
|
+
before?: {
|
|
976
|
+
[key: string]: unknown;
|
|
977
|
+
} | null;
|
|
978
|
+
};
|
|
979
|
+
/** ONE noun's per-write-class item JSON schemas — fetched on demand when a */
|
|
980
|
+
type DirectiveNounSchemas = {
|
|
981
|
+
noun: string;
|
|
982
|
+
catalog_version: string;
|
|
983
|
+
schemas?: {
|
|
984
|
+
[key: string]: unknown;
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
/** DirectiveReceipt */
|
|
988
|
+
type DirectiveReceipt = {
|
|
989
|
+
directive_class: string;
|
|
990
|
+
noun: string;
|
|
991
|
+
status: "applied" | "already_applied" | "not_implemented" | "failed";
|
|
992
|
+
resource_ids?: string[];
|
|
993
|
+
summary?: string;
|
|
994
|
+
idempotency_key?: string;
|
|
995
|
+
error?: string | null;
|
|
996
|
+
detail?: {
|
|
997
|
+
[key: string]: unknown;
|
|
998
|
+
} | null;
|
|
999
|
+
before?: {
|
|
1000
|
+
[key: string]: unknown;
|
|
1001
|
+
} | null;
|
|
1002
|
+
};
|
|
1003
|
+
/** DirectiveShellState */
|
|
1004
|
+
type DirectiveShellState = {
|
|
1005
|
+
directive: string;
|
|
1006
|
+
proposal_id: string;
|
|
1007
|
+
directive_class: string;
|
|
1008
|
+
noun: string;
|
|
1009
|
+
item_count: number;
|
|
1010
|
+
message: string;
|
|
1011
|
+
items: DirectiveItemState[];
|
|
1012
|
+
approvable: boolean;
|
|
1013
|
+
unreadable?: string | null;
|
|
1014
|
+
};
|
|
1015
|
+
/** Complete, portable agent definition consumed by every execution host. */
|
|
1016
|
+
type ExecutionAgentDefinition = {
|
|
1017
|
+
definition_id: string;
|
|
1018
|
+
agent_id: string;
|
|
1019
|
+
is_version?: boolean;
|
|
1020
|
+
version_number?: number | null;
|
|
1021
|
+
revision?: string | null;
|
|
1022
|
+
definition_hash?: string | null;
|
|
1023
|
+
name?: string;
|
|
1024
|
+
model_id: string;
|
|
1025
|
+
messages: unknown[];
|
|
1026
|
+
settings?: {
|
|
1027
|
+
[key: string]: unknown;
|
|
1028
|
+
};
|
|
1029
|
+
tools?: string[];
|
|
1030
|
+
custom_tools?: unknown[];
|
|
1031
|
+
mcp_servers?: string[];
|
|
1032
|
+
variable_definitions?: {
|
|
1033
|
+
[key: string]: unknown;
|
|
1034
|
+
}[];
|
|
1035
|
+
context_policies?: {
|
|
1036
|
+
[key: string]: unknown;
|
|
1037
|
+
}[];
|
|
1038
|
+
auto_context_disabled?: boolean;
|
|
1039
|
+
tool_config?: {
|
|
1040
|
+
[key: string]: unknown;
|
|
1041
|
+
};
|
|
1042
|
+
output_schema?: {
|
|
1043
|
+
[key: string]: unknown;
|
|
1044
|
+
} | null;
|
|
1045
|
+
matrx_actions?: {
|
|
1046
|
+
[key: string]: unknown;
|
|
1047
|
+
} | null;
|
|
1048
|
+
skill_config?: {
|
|
1049
|
+
[key: string]: unknown;
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
/** FailureAnalyticsResponse */
|
|
1053
|
+
type FailureAnalyticsResponse = {
|
|
1054
|
+
by_domain: FaultDomainCount[];
|
|
1055
|
+
by_tool: ToolFailureStat[];
|
|
1056
|
+
sample_size: number;
|
|
1057
|
+
};
|
|
1058
|
+
/** FaultDomainCount */
|
|
1059
|
+
type FaultDomainCount = {
|
|
1060
|
+
fault_domain: string;
|
|
1061
|
+
count: number;
|
|
1062
|
+
};
|
|
1063
|
+
/** FirstRunsResponse */
|
|
1064
|
+
type FirstRunsResponse = {
|
|
1065
|
+
judgment: {
|
|
1066
|
+
[key: string]: JsonValue;
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
/** GetToolResponse */
|
|
1070
|
+
type GetToolResponse = {
|
|
1071
|
+
tool: ToolRecord;
|
|
1072
|
+
related: {
|
|
1073
|
+
[key: string]: JsonValue;
|
|
1074
|
+
} | string;
|
|
1075
|
+
[key: string]: unknown;
|
|
1076
|
+
};
|
|
1077
|
+
/** IngestReport */
|
|
1078
|
+
type IngestReport = {
|
|
1079
|
+
parsed: number;
|
|
1080
|
+
created: number;
|
|
1081
|
+
updated: number;
|
|
1082
|
+
unchanged: number;
|
|
1083
|
+
errors: string[];
|
|
1084
|
+
skills: {
|
|
1085
|
+
[key: string]: string;
|
|
1086
|
+
}[];
|
|
1087
|
+
roots?: string[];
|
|
1088
|
+
};
|
|
1089
|
+
/** Result of evicting one agent definition from the server caches. */
|
|
1090
|
+
type InvalidateAgentCacheResponse = {
|
|
1091
|
+
cleared: boolean;
|
|
1092
|
+
agent_id: string;
|
|
1093
|
+
is_version: boolean;
|
|
1094
|
+
};
|
|
1095
|
+
/** Normal-call inputs retained here as expansion points for all context producers. */
|
|
1096
|
+
type InvocationContext = {
|
|
1097
|
+
organization_id: string;
|
|
1098
|
+
project_id?: string | null;
|
|
1099
|
+
task_id?: string | null;
|
|
1100
|
+
conversation_id?: string | null;
|
|
1101
|
+
entity_type?: string;
|
|
1102
|
+
entity_id?: string | null;
|
|
1103
|
+
scope_ids?: string[];
|
|
1104
|
+
agent_id?: string | null;
|
|
1105
|
+
channel?: string | null;
|
|
1106
|
+
clearance?: Clearance;
|
|
1107
|
+
[key: string]: unknown;
|
|
1108
|
+
};
|
|
1109
|
+
/** KeepResponse */
|
|
1110
|
+
type KeepResponse = {
|
|
1111
|
+
agent_id: string;
|
|
1112
|
+
};
|
|
1113
|
+
/** One Kind Action — the `action` class of the grammar. */
|
|
1114
|
+
type KindActionEntry = {
|
|
1115
|
+
name: string;
|
|
1116
|
+
slug: string;
|
|
1117
|
+
doc?: string;
|
|
1118
|
+
item_schema?: {
|
|
1119
|
+
[key: string]: unknown;
|
|
1120
|
+
} | null;
|
|
1121
|
+
item_kind?: string | null;
|
|
1122
|
+
};
|
|
1123
|
+
/** LibraryPut */
|
|
1124
|
+
type LibraryPut = {
|
|
1125
|
+
entries?: {
|
|
1126
|
+
[key: string]: unknown;
|
|
1127
|
+
}[];
|
|
1128
|
+
};
|
|
1129
|
+
/** ListToolsBySourceKindResponse */
|
|
1130
|
+
type ListToolsBySourceKindResponse = {
|
|
1131
|
+
tools: ToolRecord[];
|
|
1132
|
+
count: number;
|
|
1133
|
+
source_kind: string;
|
|
1134
|
+
};
|
|
1135
|
+
/** ListToolsForExecutorResponse */
|
|
1136
|
+
type ListToolsForExecutorResponse = {
|
|
1137
|
+
tools: ToolRecord[];
|
|
1138
|
+
count: number;
|
|
1139
|
+
executor_name: string;
|
|
1140
|
+
requested_executor: string;
|
|
1141
|
+
};
|
|
1142
|
+
/** ListToolsResponse */
|
|
1143
|
+
type ListToolsResponse = {
|
|
1144
|
+
tools: ToolRecord[];
|
|
1145
|
+
count: number;
|
|
1146
|
+
};
|
|
1147
|
+
/** ListsPut */
|
|
1148
|
+
type ListsPut = {
|
|
1149
|
+
lists?: {
|
|
1150
|
+
[key: string]: unknown;
|
|
1151
|
+
}[];
|
|
1152
|
+
};
|
|
1153
|
+
/** One declared CLIENT TOOL (``ui.ui_surface_client_tool``). */
|
|
1154
|
+
type ManifestClientToolEntry = {
|
|
1155
|
+
name: string;
|
|
1156
|
+
label?: string;
|
|
1157
|
+
description?: string;
|
|
1158
|
+
input_schema?: {
|
|
1159
|
+
[key: string]: JsonValue;
|
|
1160
|
+
};
|
|
1161
|
+
mode?: string;
|
|
1162
|
+
};
|
|
1163
|
+
/** One canonical value group (machine key + order only). */
|
|
1164
|
+
type ManifestGroupEntry = {
|
|
1165
|
+
key: string;
|
|
1166
|
+
sort_order?: number;
|
|
1167
|
+
};
|
|
1168
|
+
/** ManifestToolEntry */
|
|
1169
|
+
type ManifestToolEntry = {
|
|
1170
|
+
name: string;
|
|
1171
|
+
disposition: "default" | "optional";
|
|
1172
|
+
kind: "registered" | "inline";
|
|
1173
|
+
delegate: boolean;
|
|
1174
|
+
};
|
|
1175
|
+
/** One declared surface value binding (``ui.ui_surface_value``). */
|
|
1176
|
+
type ManifestValueEntry = {
|
|
1177
|
+
name: string;
|
|
1178
|
+
auto_context?: boolean;
|
|
1179
|
+
group_key?: string;
|
|
1180
|
+
sort_order?: number;
|
|
1181
|
+
always_available?: boolean;
|
|
1182
|
+
};
|
|
1183
|
+
/** One thing an agent may WRITE into this surface. */
|
|
1184
|
+
type ManifestWriteTargetEntry = {
|
|
1185
|
+
name: string;
|
|
1186
|
+
value_type?: string;
|
|
1187
|
+
mode?: string;
|
|
1188
|
+
description?: string;
|
|
1189
|
+
apply_policy?: string;
|
|
1190
|
+
updates_value?: string | null;
|
|
1191
|
+
group_key?: string;
|
|
1192
|
+
sort_order?: number;
|
|
1193
|
+
};
|
|
1194
|
+
/** MatrixCancelResponse */
|
|
1195
|
+
type MatrixCancelResponse = {
|
|
1196
|
+
set_id: string;
|
|
1197
|
+
cancelled_queued?: number;
|
|
1198
|
+
cancel_signalled?: number;
|
|
1199
|
+
request_ids?: string[];
|
|
1200
|
+
};
|
|
1201
|
+
/** ``POST /agent-battles/{set_id}/run``. */
|
|
1202
|
+
type MatrixRunRequest = {
|
|
1203
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1204
|
+
organization_id?: string | null;
|
|
1205
|
+
/** Optional associated project selected by the caller. */
|
|
1206
|
+
project_id?: string | null;
|
|
1207
|
+
/** Optional associated task selected by the caller. */
|
|
1208
|
+
task_id?: string | null;
|
|
1209
|
+
/** Stable application slug that initiated the request. */
|
|
1210
|
+
source_app?: string | null;
|
|
1211
|
+
/** Stable feature slug within the source application. */
|
|
1212
|
+
source_feature?: string | null;
|
|
1213
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1214
|
+
initiation?: ("user" | "auto") | null;
|
|
1215
|
+
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
1216
|
+
scope_ids?: string[] | null;
|
|
1217
|
+
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
1218
|
+
active_scope_type_ids?: string[] | null;
|
|
1219
|
+
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
1220
|
+
context_anchor?: ContextAnchor | null;
|
|
1221
|
+
/** Persist request outputs when true; run ephemerally when false. */
|
|
1222
|
+
store?: boolean;
|
|
1223
|
+
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
1224
|
+
target_instance_id?: string | null;
|
|
1225
|
+
cells?: CellRef[] | null;
|
|
1226
|
+
scope?: "all" | "unfinished";
|
|
1227
|
+
};
|
|
1228
|
+
/** A variable filled by a MERGE FIELD — the declaration ``matrx_records.merge`` */
|
|
1229
|
+
type MergeFieldBinding = {
|
|
1230
|
+
/** Discriminator for this binding kind. */
|
|
1231
|
+
kind: "merge_field";
|
|
1232
|
+
/** Where the value comes from. */
|
|
1233
|
+
source: "record";
|
|
1234
|
+
/** What it resolves into. */
|
|
1235
|
+
semantic_type: "collection" | "reference" | "value";
|
|
1236
|
+
/** custom Table id the value is read from. */
|
|
1237
|
+
table_id: string;
|
|
1238
|
+
/** One record of that Table. */
|
|
1239
|
+
record_id?: string | null;
|
|
1240
|
+
/** With record_id: the one field. */
|
|
1241
|
+
field_key?: string | null;
|
|
1242
|
+
/** Exact-equality filter {field_key: value} for a collection. */
|
|
1243
|
+
match?: {
|
|
1244
|
+
[key: string]: JsonValue;
|
|
1245
|
+
} | null;
|
|
1246
|
+
/** Collection row order. */
|
|
1247
|
+
sort?: MergeFieldSort | null;
|
|
1248
|
+
/** Collection row cap (default 40). */
|
|
1249
|
+
limit?: number | null;
|
|
1250
|
+
/** How it reads. */
|
|
1251
|
+
transform?: MergeFieldTransform | null;
|
|
1252
|
+
/** absent: a NAMED absence in the prompt (default). block: the run refuses. */
|
|
1253
|
+
missing?: ("absent" | "block") | null;
|
|
1254
|
+
/** Default shown_locked (client value discarded). */
|
|
1255
|
+
override_policy?: ("must_supply" | "shown_overridable" | "shown_locked" | "server_fixed" | "derived") | null;
|
|
1256
|
+
[key: string]: unknown;
|
|
1257
|
+
};
|
|
1258
|
+
/** Row order for a collection merge-field binding. */
|
|
1259
|
+
type MergeFieldSort = {
|
|
1260
|
+
/** Field key to order the rows by. */
|
|
1261
|
+
field: string;
|
|
1262
|
+
/** asc | desc. */
|
|
1263
|
+
dir?: "asc" | "desc";
|
|
1264
|
+
};
|
|
1265
|
+
/** How the resolved value READS (DYN-16) — applied after resolution. */
|
|
1266
|
+
type MergeFieldTransform = {
|
|
1267
|
+
/** list | currency | number | date | upper | title. */
|
|
1268
|
+
name: string;
|
|
1269
|
+
/** list: per-row render, e.g. '- {purpose}: {model.name} (`{model.id}`)'. An entity-reference field exposes .name/.title/.label/.id/.token. Without a template each row reads '- key: value; key: value'. */
|
|
1270
|
+
template?: string | null;
|
|
1271
|
+
/** list: text between rows. */
|
|
1272
|
+
join?: string | null;
|
|
1273
|
+
/** list: rows shown; the rest are announced. */
|
|
1274
|
+
max?: number | null;
|
|
1275
|
+
[key: string]: unknown;
|
|
1276
|
+
};
|
|
1277
|
+
/** MockScenario */
|
|
1278
|
+
type MockScenario = {
|
|
1279
|
+
name: string;
|
|
1280
|
+
description: string;
|
|
1281
|
+
};
|
|
1282
|
+
/** MockScenarioList */
|
|
1283
|
+
type MockScenarioList = {
|
|
1284
|
+
scenarios: MockScenario[];
|
|
1285
|
+
};
|
|
1286
|
+
/** MockStreamRequest */
|
|
1287
|
+
type MockStreamRequest = {
|
|
1288
|
+
chunk_count?: number;
|
|
1289
|
+
chunk_delay_ms?: number;
|
|
1290
|
+
heartbeat_interval_ms?: number;
|
|
1291
|
+
max_lifetime_ms?: number;
|
|
1292
|
+
include_preamble?: boolean;
|
|
1293
|
+
};
|
|
1294
|
+
/** What the runtime will accept for this model — so an authoring agent never */
|
|
1295
|
+
type ModelAuthoringFacts = {
|
|
1296
|
+
/** decision_questions: 'native' = a decision model computes the probabilities; 'verbalized' = a text model states them; 'none' = not a text/decision route. */
|
|
1297
|
+
decision: "native" | "verbalized" | "none";
|
|
1298
|
+
/** True = a trailing assistant message flagged prefill is sent natively. False = the organization's flag_compatibility_mode decides (refuse | convert | drop). */
|
|
1299
|
+
prefill: boolean;
|
|
1300
|
+
/** This organization's mode for unsupported flags. */
|
|
1301
|
+
flag_compatibility_mode: string;
|
|
1302
|
+
/** Audio models only: the most distinct speakers one speech_script may use (null on an audio model = uncapped; omitted for non-audio models). */
|
|
1303
|
+
speaker_cap?: number | null;
|
|
1304
|
+
/** Image reference roles this model takes and how many of each ('total' = overall cap). Empty = none. */
|
|
1305
|
+
image_reference_roles?: {
|
|
1306
|
+
[key: string]: number;
|
|
1307
|
+
};
|
|
1308
|
+
/** Video/audio reference roles (extend, restyle, lip_sync, named, …) and counts. Empty = none. */
|
|
1309
|
+
video_reference_roles?: {
|
|
1310
|
+
[key: string]: number;
|
|
1311
|
+
};
|
|
1312
|
+
/** Controls with a catalog rule on this model that it supports. */
|
|
1313
|
+
controls?: ModelControlInfo[];
|
|
1314
|
+
};
|
|
1315
|
+
/** What a model can actually do — for a capability-driven model picker. Two */
|
|
1316
|
+
type ModelCapabilitySummary = {
|
|
1317
|
+
input_modalities?: string[];
|
|
1318
|
+
output_modalities?: string[];
|
|
1319
|
+
output_type?: "text" | "image" | "video" | "audio" | "realtime" | "extraction" | "decision" | "agent";
|
|
1320
|
+
interaction?: "turn" | "realtime" | "extraction" | "decision" | "agent";
|
|
1321
|
+
features?: string[];
|
|
1322
|
+
native_tools?: string[];
|
|
1323
|
+
supports_vision?: boolean;
|
|
1324
|
+
supports_audio_input?: boolean;
|
|
1325
|
+
supports_function_calling?: boolean;
|
|
1326
|
+
supports_web_search?: boolean;
|
|
1327
|
+
multilingual?: boolean;
|
|
1328
|
+
accepts_documents?: boolean;
|
|
1329
|
+
accepts_video?: boolean;
|
|
1330
|
+
accepts_youtube?: boolean;
|
|
1331
|
+
};
|
|
1332
|
+
/** One serving CLASS of a model (its endpoint brand: "Matrx Fast", */
|
|
1333
|
+
type ModelClassInfo = {
|
|
1334
|
+
offering_id: string;
|
|
1335
|
+
served_via: string;
|
|
1336
|
+
authoring?: ModelAuthoringFacts | null;
|
|
1337
|
+
};
|
|
1338
|
+
/** One control this model exposes, and whether a variable may set it here. */
|
|
1339
|
+
type ModelControlInfo = {
|
|
1340
|
+
key: string;
|
|
1341
|
+
/** True when the caller's organization lets a run set this control through a bound variable (agents.controls/variable_bindable_keys). False = binding is allowed but the agent's own value is always used. */
|
|
1342
|
+
variable_bindable: boolean;
|
|
1343
|
+
};
|
|
1344
|
+
/** An AI model an agent can be assigned. Agents stop hallucinating 'gpt-4'. */
|
|
1345
|
+
type ModelInfo = {
|
|
1346
|
+
id: string;
|
|
1347
|
+
name: string;
|
|
1348
|
+
common_name?: string;
|
|
1349
|
+
provider?: string;
|
|
1350
|
+
context_window?: number | null;
|
|
1351
|
+
is_premium?: boolean;
|
|
1352
|
+
is_primary?: boolean;
|
|
1353
|
+
is_deprecated?: boolean;
|
|
1354
|
+
successor_id?: string | null;
|
|
1355
|
+
cost_rating?: number | null;
|
|
1356
|
+
speed_rating?: number | null;
|
|
1357
|
+
output_type?: "text" | "image" | "video" | "audio" | "realtime" | "extraction" | "decision" | "agent";
|
|
1358
|
+
capabilities?: ModelCapabilitySummary | null;
|
|
1359
|
+
classes?: ModelClassInfo[];
|
|
1360
|
+
authoring?: ModelAuthoringFacts | null;
|
|
1361
|
+
};
|
|
1362
|
+
/** One row of the grid — a noun (Dimension 2) and its state for every class. */
|
|
1363
|
+
type NounDirectives = {
|
|
1364
|
+
noun: string;
|
|
1365
|
+
family: string;
|
|
1366
|
+
table: string;
|
|
1367
|
+
reference: "yes" | "planned" | "no";
|
|
1368
|
+
view: "yes" | "planned" | "no";
|
|
1369
|
+
create: "yes" | "planned" | "no";
|
|
1370
|
+
update: "yes" | "planned" | "no";
|
|
1371
|
+
delete: "yes" | "planned" | "no";
|
|
1372
|
+
label?: string;
|
|
1373
|
+
title_column?: string | null;
|
|
1374
|
+
identity_fields?: string[];
|
|
1375
|
+
};
|
|
1376
|
+
/** The catalog-level answer to "is this agent an Orchestra, and how big?". */
|
|
1377
|
+
type OrchestraBadge = {
|
|
1378
|
+
member_count?: number;
|
|
1379
|
+
mode?: string;
|
|
1380
|
+
tagline?: string | null;
|
|
1381
|
+
member_titles?: string[];
|
|
1382
|
+
member_depth_ceiling?: number | null;
|
|
1383
|
+
};
|
|
1384
|
+
/** PicklistBinding */
|
|
1385
|
+
type PicklistBinding = {
|
|
1386
|
+
/** The id of the pick list (a Table of choices) the options come from. */
|
|
1387
|
+
listId: string;
|
|
1388
|
+
/** Optional group filter within the picklist. */
|
|
1389
|
+
groupName?: string | null;
|
|
1390
|
+
/** Multi-select picklist. */
|
|
1391
|
+
multiple?: boolean;
|
|
1392
|
+
[key: string]: unknown;
|
|
1393
|
+
};
|
|
1394
|
+
/** PortableAgentBundle */
|
|
1395
|
+
type PortableAgentBundle = {
|
|
1396
|
+
contract?: "portable-agent.v1";
|
|
1397
|
+
agent_id: string;
|
|
1398
|
+
version_id?: string | null;
|
|
1399
|
+
version_number?: number | null;
|
|
1400
|
+
is_version?: boolean;
|
|
1401
|
+
name: string;
|
|
1402
|
+
definition_hash: string;
|
|
1403
|
+
model_id: string;
|
|
1404
|
+
instructions: string;
|
|
1405
|
+
variables?: {
|
|
1406
|
+
[key: string]: JsonValue;
|
|
1407
|
+
}[];
|
|
1408
|
+
filled_variables?: string[];
|
|
1409
|
+
skills?: PortableSkill[];
|
|
1410
|
+
tools?: PortableTool[];
|
|
1411
|
+
surface: string;
|
|
1412
|
+
unavailable?: PortableUnavailable[];
|
|
1413
|
+
};
|
|
1414
|
+
/** What the host sends: the person's variable values, and the tool surface. */
|
|
1415
|
+
type PortableAgentRequest = {
|
|
1416
|
+
variables?: {
|
|
1417
|
+
[key: string]: JsonValue;
|
|
1418
|
+
};
|
|
1419
|
+
surface?: string;
|
|
1420
|
+
};
|
|
1421
|
+
/** What a picker needs the moment a person chooses an agent — no skills, no */
|
|
1422
|
+
type PortableAgentSummary = {
|
|
1423
|
+
agent_id: string;
|
|
1424
|
+
name: string;
|
|
1425
|
+
version_id?: string | null;
|
|
1426
|
+
version_number?: number | null;
|
|
1427
|
+
definition_hash: string;
|
|
1428
|
+
variables?: {
|
|
1429
|
+
[key: string]: JsonValue;
|
|
1430
|
+
}[];
|
|
1431
|
+
versions?: PortableAgentVersion[];
|
|
1432
|
+
};
|
|
1433
|
+
/** PortableAgentVersion */
|
|
1434
|
+
type PortableAgentVersion = {
|
|
1435
|
+
id: string;
|
|
1436
|
+
version_number: number;
|
|
1437
|
+
changed_at?: string | null;
|
|
1438
|
+
definition_hash?: string | null;
|
|
1439
|
+
};
|
|
1440
|
+
/** PortableSkill */
|
|
1441
|
+
type PortableSkill = {
|
|
1442
|
+
id: string;
|
|
1443
|
+
tier: "included" | "listed";
|
|
1444
|
+
slug: string;
|
|
1445
|
+
label: string;
|
|
1446
|
+
description: string;
|
|
1447
|
+
path: string;
|
|
1448
|
+
content: string;
|
|
1449
|
+
body: string;
|
|
1450
|
+
content_hash: string;
|
|
1451
|
+
};
|
|
1452
|
+
/** PortableTool */
|
|
1453
|
+
type PortableTool = {
|
|
1454
|
+
name: string;
|
|
1455
|
+
canonical_name: string;
|
|
1456
|
+
description?: string;
|
|
1457
|
+
parameters?: {
|
|
1458
|
+
[key: string]: JsonValue;
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1461
|
+
/** PortableUnavailable */
|
|
1462
|
+
type PortableUnavailable = {
|
|
1463
|
+
kind: "tool" | "skill" | "variable" | "message" | "mcp_server" | "tools";
|
|
1464
|
+
name: string;
|
|
1465
|
+
reason: string;
|
|
1466
|
+
};
|
|
1467
|
+
/** PromptWarmRequest */
|
|
1468
|
+
type PromptWarmRequest = {
|
|
1469
|
+
source?: string | null;
|
|
1470
|
+
};
|
|
1471
|
+
/** PromptWarmResponse */
|
|
1472
|
+
type PromptWarmResponse = {
|
|
1473
|
+
status: string;
|
|
1474
|
+
prompt_id: string;
|
|
1475
|
+
};
|
|
1476
|
+
/** PromptsPut */
|
|
1477
|
+
type PromptsPut = {
|
|
1478
|
+
prompts?: {
|
|
1479
|
+
[key: string]: unknown;
|
|
1480
|
+
}[];
|
|
1481
|
+
};
|
|
1482
|
+
/** Which agent row the session runs: the live agent, or a version row. */
|
|
1483
|
+
type RealtimeSessionRequest = {
|
|
1484
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1485
|
+
organization_id?: string | null;
|
|
1486
|
+
/** Optional associated project selected by the caller. */
|
|
1487
|
+
project_id?: string | null;
|
|
1488
|
+
/** Optional associated task selected by the caller. */
|
|
1489
|
+
task_id?: string | null;
|
|
1490
|
+
/** Stable application slug that initiated the request. */
|
|
1491
|
+
source_app?: string | null;
|
|
1492
|
+
/** Stable feature slug within the source application. */
|
|
1493
|
+
source_feature?: string | null;
|
|
1494
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1495
|
+
initiation?: ("user" | "auto") | null;
|
|
1496
|
+
/** Resolve against an agent VERSION row rather than the live agent. */
|
|
1497
|
+
is_version?: boolean;
|
|
1498
|
+
};
|
|
1499
|
+
/** Everything a realtime voice session needs — never the definition itself. */
|
|
1500
|
+
type RealtimeSessionResponse = {
|
|
1501
|
+
/** The agent the session runs (the owner of a version row). */
|
|
1502
|
+
agent_id: string;
|
|
1503
|
+
/** builtin / user / … — gates the person's voice choice. */
|
|
1504
|
+
agent_type?: string | null;
|
|
1505
|
+
/** The catalog model id the agent is set to. */
|
|
1506
|
+
model_id: string;
|
|
1507
|
+
/** The model value xAI's realtime socket expects. */
|
|
1508
|
+
wire_model: string;
|
|
1509
|
+
/** The agent's own voice (settings.voice_id). */
|
|
1510
|
+
voice_id?: string | null;
|
|
1511
|
+
/** The agent's system message — the session persona. */
|
|
1512
|
+
instructions: string;
|
|
1513
|
+
};
|
|
1514
|
+
/** One tool declared to a realtime session, in xAI function shape. */
|
|
1515
|
+
type RealtimeTool = {
|
|
1516
|
+
name: string;
|
|
1517
|
+
canonical_name?: string;
|
|
1518
|
+
description?: string;
|
|
1519
|
+
parameters?: {
|
|
1520
|
+
[key: string]: JsonValue;
|
|
1521
|
+
};
|
|
1522
|
+
/** "server" | "client" | "builtin" */
|
|
1523
|
+
execution: string;
|
|
1524
|
+
};
|
|
1525
|
+
/** RealtimeToolsRequest */
|
|
1526
|
+
type RealtimeToolsRequest = {
|
|
1527
|
+
/** UI surface, e.g. matrx-user/chat-voice */
|
|
1528
|
+
surface: string;
|
|
1529
|
+
added_tool_ids?: string[];
|
|
1530
|
+
is_version?: boolean;
|
|
1531
|
+
client?: ClientContext | null;
|
|
1532
|
+
user?: UserOverrides | null;
|
|
1533
|
+
};
|
|
1534
|
+
/** RealtimeToolsResponse */
|
|
1535
|
+
type RealtimeToolsResponse = {
|
|
1536
|
+
agent_id: string;
|
|
1537
|
+
model_supports_tools: boolean;
|
|
1538
|
+
tools: RealtimeTool[];
|
|
1539
|
+
tool_adaptations?: {
|
|
1540
|
+
[key: string]: JsonValue;
|
|
1541
|
+
}[];
|
|
1542
|
+
};
|
|
1543
|
+
/** SchemaFinding */
|
|
1544
|
+
type SchemaFinding = {
|
|
1545
|
+
provider: string;
|
|
1546
|
+
severity: "error" | "warning";
|
|
1547
|
+
path: string;
|
|
1548
|
+
message: string;
|
|
1549
|
+
};
|
|
1550
|
+
/** Outcome of validating an output schema (+ optional sample). ``ok`` is */
|
|
1551
|
+
type SchemaGateReport = {
|
|
1552
|
+
ok: boolean;
|
|
1553
|
+
findings?: SchemaFinding[];
|
|
1554
|
+
portable_schema?: {
|
|
1555
|
+
[key: string]: JsonValue;
|
|
1556
|
+
} | null;
|
|
1557
|
+
};
|
|
1558
|
+
/** The ask a screen shows in place: the same record and form as an agent's. */
|
|
1559
|
+
type ScreenRunApproval = {
|
|
1560
|
+
action_request_id: string;
|
|
1561
|
+
organization_id?: string | null;
|
|
1562
|
+
estimate_usd?: number | null;
|
|
1563
|
+
ceiling_cap_usd?: number | null;
|
|
1564
|
+
what_it_buys?: string | null;
|
|
1565
|
+
expires_at?: string | null;
|
|
1566
|
+
render?: {
|
|
1567
|
+
[key: string]: JsonValue;
|
|
1568
|
+
} | null;
|
|
1569
|
+
};
|
|
1570
|
+
/** ScreenRunError */
|
|
1571
|
+
type ScreenRunError = {
|
|
1572
|
+
error_type: string;
|
|
1573
|
+
message: string;
|
|
1574
|
+
suggested_action?: string | null;
|
|
1575
|
+
};
|
|
1576
|
+
/** ScreenRunRequest */
|
|
1577
|
+
type ScreenRunRequest = {
|
|
1578
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1579
|
+
organization_id?: string | null;
|
|
1580
|
+
/** Optional associated project selected by the caller. */
|
|
1581
|
+
project_id?: string | null;
|
|
1582
|
+
/** Optional associated task selected by the caller. */
|
|
1583
|
+
task_id?: string | null;
|
|
1584
|
+
/** Stable application slug that initiated the request. */
|
|
1585
|
+
source_app?: string | null;
|
|
1586
|
+
/** Stable feature slug within the source application. */
|
|
1587
|
+
source_feature?: string | null;
|
|
1588
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1589
|
+
initiation?: ("user" | "auto") | null;
|
|
1590
|
+
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
1591
|
+
scope_ids?: string[] | null;
|
|
1592
|
+
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
1593
|
+
active_scope_type_ids?: string[] | null;
|
|
1594
|
+
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
1595
|
+
context_anchor?: ContextAnchor | null;
|
|
1596
|
+
/** Persist request outputs when true; run ephemerally when false. */
|
|
1597
|
+
store?: boolean;
|
|
1598
|
+
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
1599
|
+
target_instance_id?: string | null;
|
|
1600
|
+
/** The registered tool's name, e.g. seo_domain */
|
|
1601
|
+
tool_name: string;
|
|
1602
|
+
arguments?: {
|
|
1603
|
+
[key: string]: unknown;
|
|
1604
|
+
};
|
|
1605
|
+
/** The approval a person granted for this call (from a previous needs_approval answer). Passed to the tool as its own argument. */
|
|
1606
|
+
spend_approval_id?: string | null;
|
|
1607
|
+
};
|
|
1608
|
+
/** ScreenRunResponse */
|
|
1609
|
+
type ScreenRunResponse = {
|
|
1610
|
+
call_id: string;
|
|
1611
|
+
tool_name: string;
|
|
1612
|
+
status: "ok" | "needs_approval" | "error";
|
|
1613
|
+
output?: JsonValue;
|
|
1614
|
+
error?: ScreenRunError | null;
|
|
1615
|
+
approval?: ScreenRunApproval | null;
|
|
1616
|
+
};
|
|
1617
|
+
/** SkillCreate */
|
|
1618
|
+
type SkillCreate = {
|
|
1619
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1620
|
+
organization_id?: string | null;
|
|
1621
|
+
/** Optional associated project selected by the caller. */
|
|
1622
|
+
project_id?: string | null;
|
|
1623
|
+
/** Optional associated task selected by the caller. */
|
|
1624
|
+
task_id?: string | null;
|
|
1625
|
+
/** Stable application slug that initiated the request. */
|
|
1626
|
+
source_app?: string | null;
|
|
1627
|
+
/** Stable feature slug within the source application. */
|
|
1628
|
+
source_feature?: string | null;
|
|
1629
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1630
|
+
initiation?: ("user" | "auto") | null;
|
|
1631
|
+
skill_id: string;
|
|
1632
|
+
label: string;
|
|
1633
|
+
description: string;
|
|
1634
|
+
skill_type?: string;
|
|
1635
|
+
body?: string;
|
|
1636
|
+
icon_name?: string | null;
|
|
1637
|
+
model_preference?: string | null;
|
|
1638
|
+
allowed_tools?: string[];
|
|
1639
|
+
trigger_patterns?: string[];
|
|
1640
|
+
disable_auto_invocation?: boolean;
|
|
1641
|
+
platform_targets?: string[];
|
|
1642
|
+
version?: string | null;
|
|
1643
|
+
config?: JsonValue;
|
|
1644
|
+
category_id?: string | null;
|
|
1645
|
+
parent_skill_id?: string | null;
|
|
1646
|
+
is_public?: boolean;
|
|
1647
|
+
};
|
|
1648
|
+
/** A skill that can be attached to an agent (skill_config). */
|
|
1649
|
+
type SkillInfo = {
|
|
1650
|
+
id: string;
|
|
1651
|
+
skill_id: string;
|
|
1652
|
+
label: string;
|
|
1653
|
+
description?: string;
|
|
1654
|
+
skill_type?: string;
|
|
1655
|
+
category_path?: string[];
|
|
1656
|
+
};
|
|
1657
|
+
/** SkillPatch */
|
|
1658
|
+
type SkillPatch = {
|
|
1659
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1660
|
+
organization_id?: string | null;
|
|
1661
|
+
/** Optional associated project selected by the caller. */
|
|
1662
|
+
project_id?: string | null;
|
|
1663
|
+
/** Optional associated task selected by the caller. */
|
|
1664
|
+
task_id?: string | null;
|
|
1665
|
+
/** Stable application slug that initiated the request. */
|
|
1666
|
+
source_app?: string | null;
|
|
1667
|
+
/** Stable feature slug within the source application. */
|
|
1668
|
+
source_feature?: string | null;
|
|
1669
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1670
|
+
initiation?: ("user" | "auto") | null;
|
|
1671
|
+
label?: string | null;
|
|
1672
|
+
description?: string | null;
|
|
1673
|
+
skill_type?: string | null;
|
|
1674
|
+
body?: string | null;
|
|
1675
|
+
icon_name?: string | null;
|
|
1676
|
+
model_preference?: string | null;
|
|
1677
|
+
allowed_tools?: string[] | null;
|
|
1678
|
+
trigger_patterns?: string[] | null;
|
|
1679
|
+
disable_auto_invocation?: boolean | null;
|
|
1680
|
+
platform_targets?: string[] | null;
|
|
1681
|
+
version?: string | null;
|
|
1682
|
+
config?: JsonValue | null;
|
|
1683
|
+
category_id?: string | null;
|
|
1684
|
+
parent_skill_id?: string | null;
|
|
1685
|
+
is_public?: boolean | null;
|
|
1686
|
+
is_active?: boolean | null;
|
|
1687
|
+
};
|
|
1688
|
+
/** Wire shape for skill responses. Mirrors the active fields on */
|
|
1689
|
+
type SkillRow = {
|
|
1690
|
+
id: string;
|
|
1691
|
+
skill_id: string;
|
|
1692
|
+
label: string;
|
|
1693
|
+
description: string;
|
|
1694
|
+
skill_type: string;
|
|
1695
|
+
body?: string | null;
|
|
1696
|
+
icon_name?: string | null;
|
|
1697
|
+
model_preference?: string | null;
|
|
1698
|
+
allowed_tools?: string[];
|
|
1699
|
+
trigger_patterns?: string[];
|
|
1700
|
+
disable_auto_invocation?: boolean;
|
|
1701
|
+
platform_targets?: string[];
|
|
1702
|
+
version?: string | null;
|
|
1703
|
+
config?: JsonValue;
|
|
1704
|
+
category_id?: string | null;
|
|
1705
|
+
parent_skill_id?: string | null;
|
|
1706
|
+
is_active?: boolean;
|
|
1707
|
+
is_system?: boolean;
|
|
1708
|
+
is_public?: boolean;
|
|
1709
|
+
sort_order?: number;
|
|
1710
|
+
user_id?: string | null;
|
|
1711
|
+
organization_id?: string | null;
|
|
1712
|
+
project_id?: string | null;
|
|
1713
|
+
};
|
|
1714
|
+
/** SkillsList */
|
|
1715
|
+
type SkillsList = {
|
|
1716
|
+
count: number;
|
|
1717
|
+
skills: SkillRow[];
|
|
1718
|
+
};
|
|
1719
|
+
/** One declared variable of the agent being built. */
|
|
1720
|
+
type SpecVariable = {
|
|
1721
|
+
name: string;
|
|
1722
|
+
description?: string;
|
|
1723
|
+
};
|
|
1724
|
+
/** StartBuildBody */
|
|
1725
|
+
type StartBuildBody = {
|
|
1726
|
+
spec: AgentSpec;
|
|
1727
|
+
mandate_key?: string | null;
|
|
1728
|
+
/** The same key never starts a second build. */
|
|
1729
|
+
idempotency_key?: string | null;
|
|
1730
|
+
/** Build unproven (R34): with fewer than 3 example inputs, save the agent badged unproven and judge its first 3 real runs instead of refusing. */
|
|
1731
|
+
unproven?: boolean;
|
|
1732
|
+
/** The browser door that started this build (pipeline_door.DOORS, e.g. 'generate', 'mandate_holder_draft'); the page read the door's knob. Recorded on the build. */
|
|
1733
|
+
door?: string | null;
|
|
1734
|
+
/** A platform builtin (the system rung of a mandate's holder controls). Admins only; for anyone else the agent is the caller's own, as with a named owner. */
|
|
1735
|
+
builtin?: boolean;
|
|
1736
|
+
};
|
|
1737
|
+
/** StartBuildResponse */
|
|
1738
|
+
type StartBuildResponse = {
|
|
1739
|
+
build_id: string;
|
|
1740
|
+
idempotency_key: string;
|
|
1741
|
+
};
|
|
1742
|
+
/** The server's authoritative view of one surface's tool manifest. */
|
|
1743
|
+
type SurfaceManifest = {
|
|
1744
|
+
name: string;
|
|
1745
|
+
source: string;
|
|
1746
|
+
description: string;
|
|
1747
|
+
requires_auth: boolean;
|
|
1748
|
+
default_tools: ManifestToolEntry[];
|
|
1749
|
+
optional_tools: ManifestToolEntry[];
|
|
1750
|
+
inherited_from_base?: boolean;
|
|
1751
|
+
value_bindings?: string[];
|
|
1752
|
+
values?: ManifestValueEntry[];
|
|
1753
|
+
groups?: ManifestGroupEntry[];
|
|
1754
|
+
write_targets?: ManifestWriteTargetEntry[];
|
|
1755
|
+
client_tools?: ManifestClientToolEntry[];
|
|
1756
|
+
intro?: string | null;
|
|
1757
|
+
};
|
|
1758
|
+
/** TemplatesPut */
|
|
1759
|
+
type TemplatesPut = {
|
|
1760
|
+
templates?: {
|
|
1761
|
+
[key: string]: unknown;
|
|
1762
|
+
}[];
|
|
1763
|
+
};
|
|
1764
|
+
/** ToolDetail */
|
|
1765
|
+
type ToolDetail = {
|
|
1766
|
+
name: string;
|
|
1767
|
+
db?: ToolRow | null;
|
|
1768
|
+
code?: CodeDeclaration | null;
|
|
1769
|
+
findings?: ToolFinding[];
|
|
1770
|
+
recent_failures?: ToolFailureRow[];
|
|
1771
|
+
};
|
|
1772
|
+
/** ToolDetailResponse */
|
|
1773
|
+
type ToolDetailResponse = {
|
|
1774
|
+
tool: {
|
|
1775
|
+
[key: string]: JsonValue;
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
/** ToolExecuteRequest */
|
|
1779
|
+
type ToolExecuteRequest = {
|
|
1780
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1781
|
+
organization_id?: string | null;
|
|
1782
|
+
/** Optional associated project selected by the caller. */
|
|
1783
|
+
project_id?: string | null;
|
|
1784
|
+
/** Optional associated task selected by the caller. */
|
|
1785
|
+
task_id?: string | null;
|
|
1786
|
+
/** Stable application slug that initiated the request. */
|
|
1787
|
+
source_app?: string | null;
|
|
1788
|
+
/** Stable feature slug within the source application. */
|
|
1789
|
+
source_feature?: string | null;
|
|
1790
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1791
|
+
initiation?: ("user" | "auto") | null;
|
|
1792
|
+
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
1793
|
+
scope_ids?: string[] | null;
|
|
1794
|
+
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
1795
|
+
active_scope_type_ids?: string[] | null;
|
|
1796
|
+
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
1797
|
+
context_anchor?: ContextAnchor | null;
|
|
1798
|
+
/** Persist request outputs when true; run ephemerally when false. */
|
|
1799
|
+
store?: boolean;
|
|
1800
|
+
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
1801
|
+
target_instance_id?: string | null;
|
|
1802
|
+
agent_id: string;
|
|
1803
|
+
conversation_id?: string | null;
|
|
1804
|
+
tool_name: string;
|
|
1805
|
+
arguments?: {
|
|
1806
|
+
[key: string]: unknown;
|
|
1807
|
+
};
|
|
1808
|
+
call_id?: string | null;
|
|
1809
|
+
/** UI surface, for allowed-set resolution */
|
|
1810
|
+
surface: string;
|
|
1811
|
+
is_version?: boolean;
|
|
1812
|
+
added_tool_ids?: string[];
|
|
1813
|
+
tools?: (RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[];
|
|
1814
|
+
tools_replace?: ((RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[]) | null;
|
|
1815
|
+
client?: ClientContext | null;
|
|
1816
|
+
user?: UserOverrides | null;
|
|
1817
|
+
};
|
|
1818
|
+
/** ToolExecuteResponse */
|
|
1819
|
+
type ToolExecuteResponse = {
|
|
1820
|
+
call_id: string;
|
|
1821
|
+
ok: boolean;
|
|
1822
|
+
output: string;
|
|
1823
|
+
};
|
|
1824
|
+
/** ToolFailureRow */
|
|
1825
|
+
type ToolFailureRow = {
|
|
1826
|
+
tool_name: string;
|
|
1827
|
+
fault_domain?: string | null;
|
|
1828
|
+
err_type?: string | null;
|
|
1829
|
+
err_msg?: string | null;
|
|
1830
|
+
ts?: string | null;
|
|
1831
|
+
conversation_id?: string | null;
|
|
1832
|
+
call_id?: string | null;
|
|
1833
|
+
};
|
|
1834
|
+
/** ToolFailureStat */
|
|
1835
|
+
type ToolFailureStat = {
|
|
1836
|
+
tool_name: string;
|
|
1837
|
+
total: number;
|
|
1838
|
+
model_error: number;
|
|
1839
|
+
tool_defect: number;
|
|
1840
|
+
infra: number;
|
|
1841
|
+
user: number;
|
|
1842
|
+
};
|
|
1843
|
+
/** ToolFinding */
|
|
1844
|
+
type ToolFinding = {
|
|
1845
|
+
kind: string;
|
|
1846
|
+
severity: string;
|
|
1847
|
+
tool_name: string;
|
|
1848
|
+
message: string;
|
|
1849
|
+
detail?: JsonValue;
|
|
1850
|
+
};
|
|
1851
|
+
/** A registered tool an agent can be given. */
|
|
1852
|
+
type ToolInfo = {
|
|
1853
|
+
name: string;
|
|
1854
|
+
description?: string;
|
|
1855
|
+
category?: string | null;
|
|
1856
|
+
tags?: string[];
|
|
1857
|
+
admin_only?: boolean;
|
|
1858
|
+
};
|
|
1859
|
+
/** Tool definition row as returned by ``ToolDefinition.to_dict()``. */
|
|
1860
|
+
type ToolRecord = {
|
|
1861
|
+
id?: string | null;
|
|
1862
|
+
name?: string | null;
|
|
1863
|
+
description?: string | null;
|
|
1864
|
+
source_kind?: string | null;
|
|
1865
|
+
managed_by_server_id?: string | null;
|
|
1866
|
+
[key: string]: unknown;
|
|
1867
|
+
};
|
|
1868
|
+
/** ToolRequest */
|
|
1869
|
+
type ToolRequest = {
|
|
1870
|
+
/** Tool name to invoke */
|
|
1871
|
+
tool: string;
|
|
1872
|
+
/** Tool parameters */
|
|
1873
|
+
input?: {
|
|
1874
|
+
[key: string]: unknown;
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
/** ToolResponse */
|
|
1878
|
+
type ToolResponse = {
|
|
1879
|
+
type: string;
|
|
1880
|
+
output: string;
|
|
1881
|
+
image?: {
|
|
1882
|
+
[key: string]: unknown;
|
|
1883
|
+
} | null;
|
|
1884
|
+
artifact?: {
|
|
1885
|
+
[key: string]: unknown;
|
|
1886
|
+
} | null;
|
|
1887
|
+
metadata?: {
|
|
1888
|
+
[key: string]: unknown;
|
|
1889
|
+
} | null;
|
|
1890
|
+
action_needed?: ActionNeeded | null;
|
|
1891
|
+
};
|
|
1892
|
+
/** A tool_def row plus its derived drift status, for the list/detail views. */
|
|
1893
|
+
type ToolRow = {
|
|
1894
|
+
name: string;
|
|
1895
|
+
source_kind?: string | null;
|
|
1896
|
+
managed_by_server_id?: string | null;
|
|
1897
|
+
function_path?: string | null;
|
|
1898
|
+
description?: string | null;
|
|
1899
|
+
category?: string | null;
|
|
1900
|
+
tier?: string | null;
|
|
1901
|
+
is_active?: boolean;
|
|
1902
|
+
admin_only?: boolean;
|
|
1903
|
+
validation_exempt?: boolean;
|
|
1904
|
+
surfaces?: string[];
|
|
1905
|
+
parameters?: JsonValue;
|
|
1906
|
+
version?: number | null;
|
|
1907
|
+
declared_in_code?: boolean;
|
|
1908
|
+
exists_in_db?: boolean;
|
|
1909
|
+
is_owned?: boolean;
|
|
1910
|
+
drift_count?: number;
|
|
1911
|
+
drift_severity?: string | null;
|
|
1912
|
+
[key: string]: unknown;
|
|
1913
|
+
};
|
|
1914
|
+
/** ToolSummary */
|
|
1915
|
+
type ToolSummary = {
|
|
1916
|
+
code_count: number;
|
|
1917
|
+
db_count: number;
|
|
1918
|
+
external_count: number;
|
|
1919
|
+
errors: number;
|
|
1920
|
+
warnings: number;
|
|
1921
|
+
exempt: number;
|
|
1922
|
+
in_sync: number;
|
|
1923
|
+
inactive?: number;
|
|
1924
|
+
};
|
|
1925
|
+
/** ToolTestExecuteRequest */
|
|
1926
|
+
type ToolTestExecuteRequest = {
|
|
1927
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1928
|
+
organization_id?: string | null;
|
|
1929
|
+
/** Optional associated project selected by the caller. */
|
|
1930
|
+
project_id?: string | null;
|
|
1931
|
+
/** Optional associated task selected by the caller. */
|
|
1932
|
+
task_id?: string | null;
|
|
1933
|
+
/** Stable application slug that initiated the request. */
|
|
1934
|
+
source_app?: string | null;
|
|
1935
|
+
/** Stable feature slug within the source application. */
|
|
1936
|
+
source_feature?: string | null;
|
|
1937
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1938
|
+
initiation?: ("user" | "auto") | null;
|
|
1939
|
+
tool_name: string;
|
|
1940
|
+
arguments: {
|
|
1941
|
+
[key: string]: JsonValue;
|
|
1942
|
+
};
|
|
1943
|
+
conversation_id?: string | null;
|
|
1944
|
+
};
|
|
1945
|
+
/** ToolTestSessionResponse */
|
|
1946
|
+
type ToolTestSessionResponse = {
|
|
1947
|
+
conversation_id: string;
|
|
1948
|
+
user_id: string;
|
|
1949
|
+
};
|
|
1950
|
+
/** Admin-editable tool_def settings. All optional; only provided fields change. */
|
|
1951
|
+
type ToolUpdateRequest = {
|
|
1952
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1953
|
+
organization_id?: string | null;
|
|
1954
|
+
/** Optional associated project selected by the caller. */
|
|
1955
|
+
project_id?: string | null;
|
|
1956
|
+
/** Optional associated task selected by the caller. */
|
|
1957
|
+
task_id?: string | null;
|
|
1958
|
+
/** Stable application slug that initiated the request. */
|
|
1959
|
+
source_app?: string | null;
|
|
1960
|
+
/** Stable feature slug within the source application. */
|
|
1961
|
+
source_feature?: string | null;
|
|
1962
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1963
|
+
initiation?: ("user" | "auto") | null;
|
|
1964
|
+
is_active?: boolean | null;
|
|
1965
|
+
validation_exempt?: boolean | null;
|
|
1966
|
+
admin_only?: boolean | null;
|
|
1967
|
+
category?: string | null;
|
|
1968
|
+
tier?: string | null;
|
|
1969
|
+
description?: string | null;
|
|
1970
|
+
parameters?: {
|
|
1971
|
+
[key: string]: JsonValue;
|
|
1972
|
+
} | null;
|
|
1973
|
+
};
|
|
1974
|
+
/** Partial update — only provided (non-None) fields are written. This is the */
|
|
1975
|
+
type UpdateAgentInput = {
|
|
1976
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1977
|
+
organization_id?: string | null;
|
|
1978
|
+
/** Optional associated project selected by the caller. */
|
|
1979
|
+
project_id?: string | null;
|
|
1980
|
+
/** Optional associated task selected by the caller. */
|
|
1981
|
+
task_id?: string | null;
|
|
1982
|
+
/** Stable application slug that initiated the request. */
|
|
1983
|
+
source_app?: string | null;
|
|
1984
|
+
/** Stable feature slug within the source application. */
|
|
1985
|
+
source_feature?: string | null;
|
|
1986
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1987
|
+
initiation?: ("user" | "auto") | null;
|
|
1988
|
+
name?: string | null;
|
|
1989
|
+
description?: string | null;
|
|
1990
|
+
model_id?: string | null;
|
|
1991
|
+
category?: string | null;
|
|
1992
|
+
tags?: string[] | null;
|
|
1993
|
+
is_active?: boolean | null;
|
|
1994
|
+
is_archived?: boolean | null;
|
|
1995
|
+
output_schema?: {
|
|
1996
|
+
[key: string]: JsonValue;
|
|
1997
|
+
} | null;
|
|
1998
|
+
settings?: {
|
|
1999
|
+
[key: string]: JsonValue;
|
|
2000
|
+
} | null;
|
|
2001
|
+
/** Executable tools, by canonical tool NAME (from agent_catalog list_tools; DB UUIDs also accepted). REPLACES the agent's whole tool set — the authoritative agent.definition.tools column the executor rea */
|
|
2002
|
+
tools?: string[] | null;
|
|
2003
|
+
tool_config?: {
|
|
2004
|
+
[key: string]: JsonValue;
|
|
2005
|
+
} | null;
|
|
2006
|
+
skill_config?: {
|
|
2007
|
+
[key: string]: JsonValue;
|
|
2008
|
+
} | null;
|
|
2009
|
+
context_policies?: {
|
|
2010
|
+
[key: string]: JsonValue;
|
|
2011
|
+
}[] | null;
|
|
2012
|
+
messages?: {
|
|
2013
|
+
[key: string]: JsonValue;
|
|
2014
|
+
}[] | null;
|
|
2015
|
+
/** The stored column name for the agent's variable definitions. `variables` is the caller-facing alias and folds into this. */
|
|
2016
|
+
variable_definitions?: {
|
|
2017
|
+
[key: string]: JsonValue;
|
|
2018
|
+
}[] | null;
|
|
2019
|
+
/** The agent's variable definitions — REPLACES the whole list. Named `variables` to match every other surface (the create path, the read path, `agent_run`); it is written to the `variable_definitions` co */
|
|
2020
|
+
variables?: {
|
|
2021
|
+
[key: string]: JsonValue;
|
|
2022
|
+
}[] | null;
|
|
2023
|
+
/** Publish the agent itself to the web (the only anonymous lane). Leave a builtin unpublished — reach for a builtin is org placement (the ownerless Matrx System org), not this column. Independent of `car */
|
|
2024
|
+
published_to_web?: boolean | null;
|
|
2025
|
+
/** Who the agent is listed for (a list filter, never security). */
|
|
2026
|
+
shown_to?: ("only_me" | "my_team" | "everyone" | "everyone_on_ai_matrx") | null;
|
|
2027
|
+
visibility?: ("personal" | "internal" | "link" | "public" | "shared" | "private") | null;
|
|
2028
|
+
/** Who may see the agent's CARD (the browse list / surface agent menu). 🚨 A builtin MUST be 'public': it has created_by NULL in the ownerless system org, where iam.has_org_access can never be true, so ' */
|
|
2029
|
+
card_visibility?: ("internal" | "link" | "personal" | "public") | null;
|
|
2030
|
+
/** 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 */
|
|
2031
|
+
term_list_ids?: string[] | null;
|
|
2032
|
+
};
|
|
2033
|
+
/** UserPromptCatalogResponse */
|
|
2034
|
+
type UserPromptCatalogResponse = {
|
|
2035
|
+
prompts: AgentSummary[];
|
|
2036
|
+
count: number;
|
|
2037
|
+
};
|
|
2038
|
+
/** Standalone schema-gate request — validate without creating anything. */
|
|
2039
|
+
type ValidateSchemaRequest = {
|
|
2040
|
+
/** Candidate JSON Schema for an agent's structured output. */
|
|
2041
|
+
output_schema: {
|
|
2042
|
+
[key: string]: JsonValue;
|
|
2043
|
+
};
|
|
2044
|
+
/** Optional sample output checked against the schema. */
|
|
2045
|
+
sample_output?: {
|
|
2046
|
+
[key: string]: JsonValue;
|
|
2047
|
+
} | null;
|
|
2048
|
+
};
|
|
2049
|
+
/** ValidationReportResponse */
|
|
2050
|
+
type ValidationReportResponse = {
|
|
2051
|
+
ok: boolean;
|
|
2052
|
+
summary: ToolSummary;
|
|
2053
|
+
findings: ToolFinding[];
|
|
2054
|
+
import_failures?: string[];
|
|
2055
|
+
};
|
|
2056
|
+
/** VariableAssignmentSpec */
|
|
2057
|
+
type VariableAssignmentSpec = {
|
|
2058
|
+
/** Allow callers to request a server-side random option assignment. */
|
|
2059
|
+
random?: boolean;
|
|
2060
|
+
[key: string]: unknown;
|
|
2061
|
+
};
|
|
2062
|
+
/** VariableBindingPreviewRequest */
|
|
2063
|
+
type VariableBindingPreviewRequest = {
|
|
2064
|
+
/** The organization the binding is read in. Required — never a default. */
|
|
2065
|
+
organization_id: string;
|
|
2066
|
+
/** The merge-field binding to preview. */
|
|
2067
|
+
binding: MergeFieldBinding;
|
|
2068
|
+
/** Optional: the variable's name, used in the trace and sentences. */
|
|
2069
|
+
variable_name?: string | null;
|
|
2070
|
+
};
|
|
2071
|
+
/** VariableBindingPreviewResponse */
|
|
2072
|
+
type VariableBindingPreviewResponse = {
|
|
2073
|
+
/** Exactly what the agent receives for {{variable}}. */
|
|
2074
|
+
text: string;
|
|
2075
|
+
/** False when the text is a named absence. */
|
|
2076
|
+
present: boolean;
|
|
2077
|
+
/** Rows delivered (1 for a record or a single value). */
|
|
2078
|
+
row_count: number;
|
|
2079
|
+
/** Rows that matched before the cap. */
|
|
2080
|
+
total_rows: number;
|
|
2081
|
+
/** True when the cap left rows out (announced in text). */
|
|
2082
|
+
truncated: boolean;
|
|
2083
|
+
/** What a client-sent value does (shown_locked…). */
|
|
2084
|
+
override_policy: string;
|
|
2085
|
+
/** delivered | absent (the agent is told `text`, a named absence) | blocks_run (missing=block: the run would be STOPPED — the agent is told nothing; `text` is the sentence a person sees). */
|
|
2086
|
+
outcome: string;
|
|
2087
|
+
/** Why nothing was delivered, for a person. */
|
|
2088
|
+
absent_reason?: string | null;
|
|
2089
|
+
/** no_field | empty | forbidden | record_unavailable | table_unavailable | no_rows | switched_off | no_person | no_organization | invalid_binding. */
|
|
2090
|
+
absent_kind?: string | null;
|
|
2091
|
+
/** Where the value comes from and whether it can be typed in. */
|
|
2092
|
+
source_note?: string | null;
|
|
2093
|
+
/** Cap, template and freshness notes. */
|
|
2094
|
+
notes?: string[];
|
|
2095
|
+
/** Field keys masked for you — named, never shown. */
|
|
2096
|
+
withheld?: string[];
|
|
2097
|
+
/** The same trace entry a run records. */
|
|
2098
|
+
trace: {
|
|
2099
|
+
[key: string]: JsonValue;
|
|
2100
|
+
};
|
|
2101
|
+
};
|
|
2102
|
+
/** The input component a variable renders as (customComponent). */
|
|
2103
|
+
type VariableComponentSpec = {
|
|
2104
|
+
/** Component type: textarea, toggle, radio, select, number, slider, image, … */
|
|
2105
|
+
type: string;
|
|
2106
|
+
/** Choices for choice-style components. */
|
|
2107
|
+
options?: string[] | null;
|
|
2108
|
+
/** Allow a free-text 'Other' entry alongside the choices. */
|
|
2109
|
+
allowOther?: boolean | null;
|
|
2110
|
+
/** [off, on] labels for toggle / light-switch. */
|
|
2111
|
+
toggleValues?: string[] | null;
|
|
2112
|
+
/** Min for number / slider. */
|
|
2113
|
+
min?: number | null;
|
|
2114
|
+
/** Max for number / slider. */
|
|
2115
|
+
max?: number | null;
|
|
2116
|
+
/** Step for number / slider. */
|
|
2117
|
+
step?: number | null;
|
|
2118
|
+
/** Bind the options to a user pick list. */
|
|
2119
|
+
pick_list?: PicklistBinding | null;
|
|
2120
|
+
/** Legacy read-only alias for pick_list. */
|
|
2121
|
+
structured_list?: PicklistBinding | null;
|
|
2122
|
+
/** Legacy read-only alias for pick_list. */
|
|
2123
|
+
picklist?: PicklistBinding | null;
|
|
2124
|
+
/** Server-side automatic-assignment strategies enabled here. */
|
|
2125
|
+
assignment?: VariableAssignmentSpec | null;
|
|
2126
|
+
[key: string]: unknown;
|
|
2127
|
+
};
|
|
2128
|
+
/** VariationBatchesPut */
|
|
2129
|
+
type VariationBatchesPut = {
|
|
2130
|
+
batches?: {
|
|
2131
|
+
[key: string]: unknown;
|
|
2132
|
+
}[];
|
|
2133
|
+
};
|
|
2134
|
+
/** WarmAgentBlocksResponse */
|
|
2135
|
+
type WarmAgentBlocksResponse = {
|
|
2136
|
+
status: string;
|
|
2137
|
+
agent_id: string;
|
|
2138
|
+
};
|
|
2139
|
+
/** WarmAgentResponse */
|
|
2140
|
+
type WarmAgentResponse = {
|
|
2141
|
+
status: string;
|
|
2142
|
+
agent_id: string;
|
|
2143
|
+
};
|
|
2144
|
+
/** WarmRequest */
|
|
2145
|
+
type aidream__api__routers__agents__WarmRequest = {
|
|
2146
|
+
is_version?: boolean;
|
|
2147
|
+
};
|
|
2148
|
+
/** WarmRequest */
|
|
2149
|
+
type aidream__api__routers__agents_blocks__WarmRequest = {
|
|
2150
|
+
source?: string | null;
|
|
2151
|
+
};
|
|
2152
|
+
/** IngestRequest */
|
|
2153
|
+
type aidream__api__routers__skills__IngestRequest = {
|
|
2154
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
2155
|
+
organization_id?: string | null;
|
|
2156
|
+
/** Optional associated project selected by the caller. */
|
|
2157
|
+
project_id?: string | null;
|
|
2158
|
+
/** Optional associated task selected by the caller. */
|
|
2159
|
+
task_id?: string | null;
|
|
2160
|
+
/** Stable application slug that initiated the request. */
|
|
2161
|
+
source_app?: string | null;
|
|
2162
|
+
/** Stable feature slug within the source application. */
|
|
2163
|
+
source_feature?: string | null;
|
|
2164
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
2165
|
+
initiation?: ("user" | "auto") | null;
|
|
2166
|
+
/** Absolute paths to scan. Each can be a leaf skills directory OR a repo root — conventional locations (.claude/skills, .cursor/skills, .agent[s]/skills, .matrx/skills, skills) are auto-discovered inside */
|
|
2167
|
+
roots: string[];
|
|
2168
|
+
/** When true, parse + report but do not write to the DB. */
|
|
2169
|
+
dry_run?: boolean;
|
|
2170
|
+
};
|
|
2171
|
+
/** ToolListResponse */
|
|
2172
|
+
type aidream__api__routers__tool_testing__ToolListResponse = {
|
|
2173
|
+
tools?: {
|
|
2174
|
+
[key: string]: JsonValue;
|
|
2175
|
+
}[];
|
|
2176
|
+
count: number;
|
|
2177
|
+
};
|
|
2178
|
+
/** ToolListResponse */
|
|
2179
|
+
type aidream__services__admin_ops__tools_wire__ToolListResponse = {
|
|
2180
|
+
summary: ToolSummary;
|
|
2181
|
+
items: ToolRow[];
|
|
2182
|
+
import_failures?: string[];
|
|
2183
|
+
};
|
|
2184
|
+
type WarmAgentArgs = {
|
|
2185
|
+
path: {
|
|
2186
|
+
agent_id: string;
|
|
2187
|
+
};
|
|
2188
|
+
body?: aidream__api__routers__agents__WarmRequest | null;
|
|
2189
|
+
};
|
|
2190
|
+
type WarmAgentResult = WarmAgentResponse;
|
|
2191
|
+
/** Warm Agent */
|
|
2192
|
+
/** `POST /ai/agents/{agent_id}/warm` · aidream · auth public · org required */
|
|
2193
|
+
declare function warmAgent(api: Api, args: WarmAgentArgs, options?: CallOptions): Promise<WarmAgentResult>;
|
|
2194
|
+
type GetAllPromptBuiltinsArgs = {
|
|
2195
|
+
[key: string]: never;
|
|
2196
|
+
};
|
|
2197
|
+
type GetAllPromptBuiltinsResult = BuiltinPromptCatalogResponse;
|
|
2198
|
+
/** Get All Prompt Builtins */
|
|
2199
|
+
/** `GET /ai/prompts/builtins` · aidream · auth guest · org optional */
|
|
2200
|
+
declare function getAllPromptBuiltins(api: Api, args?: GetAllPromptBuiltinsArgs, options?: CallOptions): Promise<GetAllPromptBuiltinsResult>;
|
|
2201
|
+
type WarmPromptArgs = {
|
|
2202
|
+
path: {
|
|
2203
|
+
prompt_id: string;
|
|
2204
|
+
};
|
|
2205
|
+
body?: PromptWarmRequest | null;
|
|
2206
|
+
};
|
|
2207
|
+
type WarmPromptResult = PromptWarmResponse;
|
|
2208
|
+
/** Warm Prompt */
|
|
2209
|
+
/** `POST /ai/prompts/{prompt_id}/warm` · aidream · auth public · org required */
|
|
2210
|
+
declare function warmPrompt(api: Api, args: WarmPromptArgs, options?: CallOptions): Promise<WarmPromptResult>;
|
|
2211
|
+
type WarmAgentBlocksArgs = {
|
|
2212
|
+
path: {
|
|
2213
|
+
agent_id: string;
|
|
2214
|
+
};
|
|
2215
|
+
body?: aidream__api__routers__agents_blocks__WarmRequest | null;
|
|
2216
|
+
};
|
|
2217
|
+
type WarmAgentBlocksResult = WarmAgentBlocksResponse;
|
|
2218
|
+
/** Warm Agent Blocks */
|
|
2219
|
+
/** `POST /ai/agents-blocks/{agent_id}/warm` · aidream · auth public · org required */
|
|
2220
|
+
declare function warmAgentBlocks(api: Api, args: WarmAgentBlocksArgs, options?: CallOptions): Promise<WarmAgentBlocksResult>;
|
|
2221
|
+
type GetAllToolsArgs = {
|
|
2222
|
+
[key: string]: never;
|
|
2223
|
+
};
|
|
2224
|
+
type GetAllToolsResult = ListToolsResponse;
|
|
2225
|
+
/** Get All Tools */
|
|
2226
|
+
/** `GET /ai-tools` · aidream · auth guest · org optional */
|
|
2227
|
+
declare function getAllTools(api: Api, args?: GetAllToolsArgs, options?: CallOptions): Promise<GetAllToolsResult>;
|
|
2228
|
+
type GetToolsBySourceKindArgs = {
|
|
2229
|
+
path: {
|
|
2230
|
+
source_kind: string;
|
|
2231
|
+
};
|
|
2232
|
+
};
|
|
2233
|
+
type GetToolsBySourceKindResult = ListToolsBySourceKindResponse;
|
|
2234
|
+
/** Get Tools By Source Kind */
|
|
2235
|
+
/** `GET /ai-tools/source-kind/{source_kind}` · aidream · auth guest · org optional */
|
|
2236
|
+
declare function getToolsBySourceKind(api: Api, args: GetToolsBySourceKindArgs, options?: CallOptions): Promise<GetToolsBySourceKindResult>;
|
|
2237
|
+
type GetNativeToolsArgs = {
|
|
2238
|
+
[key: string]: never;
|
|
2239
|
+
};
|
|
2240
|
+
type GetNativeToolsResult = ListToolsBySourceKindResponse;
|
|
2241
|
+
/** Get Native Tools */
|
|
2242
|
+
/** `GET /ai-tools/native/all` · aidream · auth guest · org optional */
|
|
2243
|
+
declare function getNativeTools(api: Api, args?: GetNativeToolsArgs, options?: CallOptions): Promise<GetNativeToolsResult>;
|
|
2244
|
+
type GetMcpDiscoveredToolsArgs = {
|
|
2245
|
+
[key: string]: never;
|
|
2246
|
+
};
|
|
2247
|
+
type GetMcpDiscoveredToolsResult = ListToolsBySourceKindResponse;
|
|
2248
|
+
/** Get Mcp Discovered Tools */
|
|
2249
|
+
/** `GET /ai-tools/mcp-discovered/all` · aidream · auth guest · org optional */
|
|
2250
|
+
declare function getMcpDiscoveredTools(api: Api, args?: GetMcpDiscoveredToolsArgs, options?: CallOptions): Promise<GetMcpDiscoveredToolsResult>;
|
|
2251
|
+
type GetToolsForAppArgs = {
|
|
2252
|
+
path: {
|
|
2253
|
+
executor_name: string;
|
|
2254
|
+
};
|
|
2255
|
+
};
|
|
2256
|
+
type GetToolsForAppResult = ListToolsForExecutorResponse;
|
|
2257
|
+
/** Get Tools For App */
|
|
2258
|
+
/** `GET /ai-tools/app/{executor_name}/all` · aidream · auth guest · org optional */
|
|
2259
|
+
declare function getToolsForApp(api: Api, args: GetToolsForAppArgs, options?: CallOptions): Promise<GetToolsForAppResult>;
|
|
2260
|
+
type GetToolByIdArgs = {
|
|
2261
|
+
path: {
|
|
2262
|
+
tool_id: string;
|
|
2263
|
+
};
|
|
2264
|
+
};
|
|
2265
|
+
type GetToolByIdResult = GetToolResponse;
|
|
2266
|
+
/** Get Tool By Id */
|
|
2267
|
+
/** `GET /ai-tools/{tool_id}` · aidream · auth guest · org optional */
|
|
2268
|
+
declare function getToolById(api: Api, args: GetToolByIdArgs, options?: CallOptions): Promise<GetToolByIdResult>;
|
|
2269
|
+
type AgentsStartAgentArgs = {
|
|
2270
|
+
path: {
|
|
2271
|
+
agent_id: string;
|
|
2272
|
+
};
|
|
2273
|
+
query?: {
|
|
2274
|
+
is_version?: boolean;
|
|
2275
|
+
};
|
|
2276
|
+
body: AgentStartRequest;
|
|
2277
|
+
};
|
|
2278
|
+
type AgentsStartAgentResult = unknown;
|
|
2279
|
+
/** Start Agent */
|
|
2280
|
+
/** `POST /ai/agent/{agent_id}` · aidream · auth guest · org required · ndjson_or_json */
|
|
2281
|
+
declare function agentsStartAgent(api: Api, args: AgentsStartAgentArgs, options?: CallOptions): Promise<JsonOrStream<AgentsStartAgentResult, NdjsonEvent>>;
|
|
2282
|
+
type AgentsStartAgentPostArgs = {
|
|
2283
|
+
path: {
|
|
2284
|
+
agent_id: string;
|
|
2285
|
+
};
|
|
2286
|
+
query?: {
|
|
2287
|
+
is_version?: boolean;
|
|
2288
|
+
};
|
|
2289
|
+
body: AgentStartRequest;
|
|
2290
|
+
};
|
|
2291
|
+
type AgentsStartAgentPostResult = unknown;
|
|
2292
|
+
/** Start Agent */
|
|
2293
|
+
/** `POST /ai/agents/{agent_id}` · aidream · auth guest · org required · ndjson_or_json */
|
|
2294
|
+
declare function agentsStartAgentPost(api: Api, args: AgentsStartAgentPostArgs, options?: CallOptions): Promise<JsonOrStream<AgentsStartAgentPostResult, NdjsonEvent>>;
|
|
2295
|
+
type StartMandatedAgentArgs = {
|
|
2296
|
+
path: {
|
|
2297
|
+
mandate_key: string;
|
|
2298
|
+
};
|
|
2299
|
+
body: AgentStartRequest;
|
|
2300
|
+
};
|
|
2301
|
+
type StartMandatedAgentResult = unknown;
|
|
2302
|
+
/** Start Mandated Agent */
|
|
2303
|
+
/** `POST /ai/mandates/{mandate_key}` · aidream · auth guest · org required · ndjson */
|
|
2304
|
+
declare function startMandatedAgent(api: Api, args: StartMandatedAgentArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2305
|
+
type InvalidateAgentCacheArgs = {
|
|
2306
|
+
path: {
|
|
2307
|
+
agent_id: string;
|
|
2308
|
+
};
|
|
2309
|
+
query?: {
|
|
2310
|
+
is_version?: boolean;
|
|
2311
|
+
};
|
|
2312
|
+
};
|
|
2313
|
+
type InvalidateAgentCacheResult = InvalidateAgentCacheResponse;
|
|
2314
|
+
/** Invalidate Agent Cache */
|
|
2315
|
+
/** `POST /ai/agents/{agent_id}/invalidate-cache` · aidream · auth guest · org required */
|
|
2316
|
+
declare function invalidateAgentCache(api: Api, args: InvalidateAgentCacheArgs, options?: CallOptions): Promise<InvalidateAgentCacheResult>;
|
|
2317
|
+
type MockStreamArgs = {
|
|
2318
|
+
path: {
|
|
2319
|
+
scenario: string;
|
|
2320
|
+
};
|
|
2321
|
+
body?: MockStreamRequest;
|
|
2322
|
+
};
|
|
2323
|
+
type MockStreamResult = unknown;
|
|
2324
|
+
/** Mock Stream */
|
|
2325
|
+
/** `POST /ai/mock-stream/{scenario}` · aidream · auth guest · org required · ndjson */
|
|
2326
|
+
declare function mockStream(api: Api, args: MockStreamArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2327
|
+
type ListScenariosArgs = {
|
|
2328
|
+
[key: string]: never;
|
|
2329
|
+
};
|
|
2330
|
+
type ListScenariosResult = MockScenarioList;
|
|
2331
|
+
/** List Scenarios */
|
|
2332
|
+
/** `GET /ai/mock-stream/scenarios` · aidream · auth guest · org optional */
|
|
2333
|
+
declare function listScenarios(api: Api, args?: ListScenariosArgs, options?: CallOptions): Promise<ListScenariosResult>;
|
|
2334
|
+
type GetUserPromptsArgs = {
|
|
2335
|
+
[key: string]: never;
|
|
2336
|
+
};
|
|
2337
|
+
type GetUserPromptsResult = UserPromptCatalogResponse;
|
|
2338
|
+
/** Get User Prompts */
|
|
2339
|
+
/** `GET /ai/prompts` · aidream · auth guest · org optional */
|
|
2340
|
+
declare function getUserPrompts(api: Api, args?: GetUserPromptsArgs, options?: CallOptions): Promise<GetUserPromptsResult>;
|
|
2341
|
+
type GetUserPromptsAndBuiltinsArgs = {
|
|
2342
|
+
[key: string]: never;
|
|
2343
|
+
};
|
|
2344
|
+
type GetUserPromptsAndBuiltinsResult = CombinedPromptCatalogResponse;
|
|
2345
|
+
/** Get User Prompts And Builtins */
|
|
2346
|
+
/** `GET /ai/prompts/all` · aidream · auth guest · org optional */
|
|
2347
|
+
declare function getUserPromptsAndBuiltins(api: Api, args?: GetUserPromptsAndBuiltinsArgs, options?: CallOptions): Promise<GetUserPromptsAndBuiltinsResult>;
|
|
2348
|
+
type StartPromptArgs = {
|
|
2349
|
+
path: {
|
|
2350
|
+
prompt_id: string;
|
|
2351
|
+
};
|
|
2352
|
+
body: PromptStartRequest;
|
|
2353
|
+
};
|
|
2354
|
+
type StartPromptResult = unknown;
|
|
2355
|
+
/** Start Prompt */
|
|
2356
|
+
/** `POST /ai/prompts/{prompt_id}` · aidream · auth guest · org required · ndjson */
|
|
2357
|
+
declare function startPrompt(api: Api, args: StartPromptArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2358
|
+
type StartAgentBlocksArgs = {
|
|
2359
|
+
path: {
|
|
2360
|
+
agent_id: string;
|
|
2361
|
+
};
|
|
2362
|
+
body: AgentBlocksStartRequest;
|
|
2363
|
+
};
|
|
2364
|
+
type StartAgentBlocksResult = unknown;
|
|
2365
|
+
/** Start Agent Blocks */
|
|
2366
|
+
/** `POST /ai/agents-blocks/{agent_id}` · aidream · auth guest · org required · ndjson */
|
|
2367
|
+
declare function startAgentBlocks(api: Api, args: StartAgentBlocksArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2368
|
+
type PreviewContextArgs = {
|
|
2369
|
+
body: ContextPreviewRequest;
|
|
2370
|
+
};
|
|
2371
|
+
type PreviewContextResult = ContextPreviewResponse;
|
|
2372
|
+
/** Preview Context */
|
|
2373
|
+
/** `POST /ai/context/preview` · aidream · auth guest · org required */
|
|
2374
|
+
declare function previewContext(api: Api, args: PreviewContextArgs, options?: CallOptions): Promise<PreviewContextResult>;
|
|
2375
|
+
type PreviewAnswerBothArgs = {
|
|
2376
|
+
body: ContextAnswerBothRequest;
|
|
2377
|
+
};
|
|
2378
|
+
type PreviewAnswerBothResult = ContextAnswerBothResponse;
|
|
2379
|
+
/** Preview Answer Both */
|
|
2380
|
+
/** `POST /ai/context/preview/answer-both` · aidream · auth guest · org required */
|
|
2381
|
+
declare function previewAnswerBoth(api: Api, args: PreviewAnswerBothArgs, options?: CallOptions): Promise<PreviewAnswerBothResult>;
|
|
2382
|
+
type ContextDeliveredArgs = {
|
|
2383
|
+
query: {
|
|
2384
|
+
conversation_id: string;
|
|
2385
|
+
message_id: string;
|
|
2386
|
+
kind: "delivered" | "on_request" | "block" | "fetchable";
|
|
2387
|
+
key: string;
|
|
2388
|
+
};
|
|
2389
|
+
};
|
|
2390
|
+
type ContextDeliveredResult = ContextViewedText;
|
|
2391
|
+
/** Context Delivered */
|
|
2392
|
+
/** `GET /ai/context/delivered` · aidream · auth guest · org optional */
|
|
2393
|
+
declare function contextDelivered(api: Api, args: ContextDeliveredArgs, options?: CallOptions): Promise<ContextDeliveredResult>;
|
|
2394
|
+
type GetRealtimeToolsArgs = {
|
|
2395
|
+
path: {
|
|
2396
|
+
agent_id: string;
|
|
2397
|
+
};
|
|
2398
|
+
body: RealtimeToolsRequest;
|
|
2399
|
+
};
|
|
2400
|
+
type GetRealtimeToolsResult = RealtimeToolsResponse;
|
|
2401
|
+
/** Get Realtime Tools */
|
|
2402
|
+
/** `POST /ai/agents/{agent_id}/realtime-tools` · aidream · auth guest · org required */
|
|
2403
|
+
declare function getRealtimeTools(api: Api, args: GetRealtimeToolsArgs, options?: CallOptions): Promise<GetRealtimeToolsResult>;
|
|
2404
|
+
type GetRealtimeSessionArgs = {
|
|
2405
|
+
path: {
|
|
2406
|
+
agent_id: string;
|
|
2407
|
+
};
|
|
2408
|
+
body: RealtimeSessionRequest;
|
|
2409
|
+
};
|
|
2410
|
+
type GetRealtimeSessionResult = RealtimeSessionResponse;
|
|
2411
|
+
/** Get Realtime Session */
|
|
2412
|
+
/** `POST /ai/agents/{agent_id}/realtime-session` · aidream · auth guest · org required */
|
|
2413
|
+
declare function getRealtimeSession(api: Api, args: GetRealtimeSessionArgs, options?: CallOptions): Promise<GetRealtimeSessionResult>;
|
|
2414
|
+
type ExecuteRealtimeToolRouteArgs = {
|
|
2415
|
+
body: ToolExecuteRequest;
|
|
2416
|
+
};
|
|
2417
|
+
type ExecuteRealtimeToolRouteResult = ToolExecuteResponse;
|
|
2418
|
+
/** Execute Realtime Tool Route */
|
|
2419
|
+
/** `POST /ai/tools/execute` · aidream · auth guest · org required */
|
|
2420
|
+
declare function executeRealtimeToolRoute(api: Api, args: ExecuteRealtimeToolRouteArgs, options?: CallOptions): Promise<ExecuteRealtimeToolRouteResult>;
|
|
2421
|
+
type GetPortableAgentVersionArgs = {
|
|
2422
|
+
path: {
|
|
2423
|
+
version_id: string;
|
|
2424
|
+
};
|
|
2425
|
+
body: PortableAgentRequest;
|
|
2426
|
+
};
|
|
2427
|
+
type GetPortableAgentVersionResult = PortableAgentBundle;
|
|
2428
|
+
/** Get Portable Agent Version */
|
|
2429
|
+
/** `POST /ai/agents/versions/{version_id}/portable` · aidream · auth guest · org required */
|
|
2430
|
+
declare function getPortableAgentVersion(api: Api, args: GetPortableAgentVersionArgs, options?: CallOptions): Promise<GetPortableAgentVersionResult>;
|
|
2431
|
+
type GetPortableAgentArgs = {
|
|
2432
|
+
path: {
|
|
2433
|
+
agent_id: string;
|
|
2434
|
+
};
|
|
2435
|
+
body: PortableAgentRequest;
|
|
2436
|
+
};
|
|
2437
|
+
type GetPortableAgentResult = PortableAgentBundle;
|
|
2438
|
+
/** Get Portable Agent */
|
|
2439
|
+
/** `POST /ai/agents/{agent_id}/portable` · aidream · auth guest · org required */
|
|
2440
|
+
declare function getPortableAgent(api: Api, args: GetPortableAgentArgs, options?: CallOptions): Promise<GetPortableAgentResult>;
|
|
2441
|
+
type GetPortableAgentSummaryArgs = {
|
|
2442
|
+
path: {
|
|
2443
|
+
agent_id: string;
|
|
2444
|
+
};
|
|
2445
|
+
};
|
|
2446
|
+
type GetPortableAgentSummaryResult = PortableAgentSummary;
|
|
2447
|
+
/** Get Portable Agent Summary */
|
|
2448
|
+
/** `GET /ai/agents/{agent_id}/portable/summary` · aidream · auth guest · org optional */
|
|
2449
|
+
declare function getPortableAgentSummary(api: Api, args: GetPortableAgentSummaryArgs, options?: CallOptions): Promise<GetPortableAgentSummaryResult>;
|
|
2450
|
+
type SkillsListSkillsArgs = {
|
|
2451
|
+
query?: {
|
|
2452
|
+
category_id?: string | null;
|
|
2453
|
+
is_public_only?: boolean;
|
|
2454
|
+
project_id?: string | null;
|
|
2455
|
+
limit?: number;
|
|
2456
|
+
};
|
|
2457
|
+
};
|
|
2458
|
+
type SkillsListSkillsResult = SkillsList;
|
|
2459
|
+
/** List Skills */
|
|
2460
|
+
/** `GET /skills` · aidream · auth guest · org optional */
|
|
2461
|
+
declare function skillsListSkills(api: Api, args?: SkillsListSkillsArgs, options?: CallOptions): Promise<SkillsListSkillsResult>;
|
|
2462
|
+
type CreateSkillArgs = {
|
|
2463
|
+
body: SkillCreate;
|
|
2464
|
+
};
|
|
2465
|
+
type CreateSkillResult = SkillRow;
|
|
2466
|
+
/** Create Skill */
|
|
2467
|
+
/** `POST /skills` · aidream · auth guest · org required */
|
|
2468
|
+
declare function createSkill(api: Api, args: CreateSkillArgs, options?: CallOptions): Promise<CreateSkillResult>;
|
|
2469
|
+
type ListCategoriesArgs = {
|
|
2470
|
+
[key: string]: never;
|
|
2471
|
+
};
|
|
2472
|
+
type ListCategoriesResult = CategoryList;
|
|
2473
|
+
/** List Categories */
|
|
2474
|
+
/** `GET /skills/categories` · aidream · auth guest · org optional */
|
|
2475
|
+
declare function listCategories(api: Api, args?: ListCategoriesArgs, options?: CallOptions): Promise<ListCategoriesResult>;
|
|
2476
|
+
type CreateCategoryArgs = {
|
|
2477
|
+
body: CategoryCreate;
|
|
2478
|
+
};
|
|
2479
|
+
type CreateCategoryResult = CategoryRow;
|
|
2480
|
+
/** Create Category */
|
|
2481
|
+
/** `POST /skills/categories` · aidream · auth guest · org required */
|
|
2482
|
+
declare function createCategory(api: Api, args: CreateCategoryArgs, options?: CallOptions): Promise<CreateCategoryResult>;
|
|
2483
|
+
type PatchCategoryArgs = {
|
|
2484
|
+
path: {
|
|
2485
|
+
category_id: string;
|
|
2486
|
+
};
|
|
2487
|
+
body: CategoryPatch;
|
|
2488
|
+
};
|
|
2489
|
+
type PatchCategoryResult = CategoryRow;
|
|
2490
|
+
/** Patch Category */
|
|
2491
|
+
/** `PATCH /skills/categories/{category_id}` · aidream · auth guest · org required */
|
|
2492
|
+
declare function patchCategory(api: Api, args: PatchCategoryArgs, options?: CallOptions): Promise<PatchCategoryResult>;
|
|
2493
|
+
type DeleteCategoryArgs = {
|
|
2494
|
+
path: {
|
|
2495
|
+
category_id: string;
|
|
2496
|
+
};
|
|
2497
|
+
};
|
|
2498
|
+
type DeleteCategoryResult = void;
|
|
2499
|
+
/** Delete Category */
|
|
2500
|
+
/** `DELETE /skills/categories/{category_id}` · aidream · auth guest · org required */
|
|
2501
|
+
declare function deleteCategory(api: Api, args: DeleteCategoryArgs, options?: CallOptions): Promise<DeleteCategoryResult>;
|
|
2502
|
+
type GetSkillArgs = {
|
|
2503
|
+
path: {
|
|
2504
|
+
skill_ref: string;
|
|
2505
|
+
};
|
|
2506
|
+
};
|
|
2507
|
+
type GetSkillResult = SkillRow;
|
|
2508
|
+
/** Get Skill */
|
|
2509
|
+
/** `GET /skills/{skill_ref}` · aidream · auth guest · org optional */
|
|
2510
|
+
declare function getSkill(api: Api, args: GetSkillArgs, options?: CallOptions): Promise<GetSkillResult>;
|
|
2511
|
+
type PatchSkillArgs = {
|
|
2512
|
+
path: {
|
|
2513
|
+
skill_id: string;
|
|
2514
|
+
};
|
|
2515
|
+
body: SkillPatch;
|
|
2516
|
+
};
|
|
2517
|
+
type PatchSkillResult = SkillRow;
|
|
2518
|
+
/** Patch Skill */
|
|
2519
|
+
/** `PATCH /skills/{skill_id}` · aidream · auth guest · org required */
|
|
2520
|
+
declare function patchSkill(api: Api, args: PatchSkillArgs, options?: CallOptions): Promise<PatchSkillResult>;
|
|
2521
|
+
type DeleteSkillArgs = {
|
|
2522
|
+
path: {
|
|
2523
|
+
skill_id: string;
|
|
2524
|
+
};
|
|
2525
|
+
};
|
|
2526
|
+
type DeleteSkillResult = void;
|
|
2527
|
+
/** Delete Skill */
|
|
2528
|
+
/** `DELETE /skills/{skill_id}` · aidream · auth guest · org required */
|
|
2529
|
+
declare function deleteSkill(api: Api, args: DeleteSkillArgs, options?: CallOptions): Promise<DeleteSkillResult>;
|
|
2530
|
+
type AdminIngestFilesystemArgs = {
|
|
2531
|
+
body: aidream__api__routers__skills__IngestRequest;
|
|
2532
|
+
};
|
|
2533
|
+
type AdminIngestFilesystemResult = IngestReport;
|
|
2534
|
+
/** Admin Ingest Filesystem */
|
|
2535
|
+
/** `POST /skills/ingest` · aidream · auth guest · org required */
|
|
2536
|
+
declare function adminIngestFilesystem(api: Api, args: AdminIngestFilesystemArgs, options?: CallOptions): Promise<AdminIngestFilesystemResult>;
|
|
2537
|
+
type ScreenRunArgs = {
|
|
2538
|
+
body: ScreenRunRequest;
|
|
2539
|
+
};
|
|
2540
|
+
type ScreenRunResult = ScreenRunResponse;
|
|
2541
|
+
/** Screen Run */
|
|
2542
|
+
/** `POST /tools/screen-run` · aidream · auth guest · org required */
|
|
2543
|
+
declare function screenRun(api: Api, args: ScreenRunArgs, options?: CallOptions): Promise<ScreenRunResult>;
|
|
2544
|
+
type ListAgentsArgs = {
|
|
2545
|
+
query?: {
|
|
2546
|
+
category?: string | null;
|
|
2547
|
+
tags?: string[] | null;
|
|
2548
|
+
query?: string | null;
|
|
2549
|
+
limit?: number;
|
|
2550
|
+
};
|
|
2551
|
+
};
|
|
2552
|
+
type ListAgentsResult = CatalogTree;
|
|
2553
|
+
/** List Agents */
|
|
2554
|
+
/** `GET /agent-service/agents` · aidream · auth guest · org optional */
|
|
2555
|
+
declare function listAgents(api: Api, args?: ListAgentsArgs, options?: CallOptions): Promise<ListAgentsResult>;
|
|
2556
|
+
type CreateAgentArgs = {
|
|
2557
|
+
body: CreateAgentInput;
|
|
2558
|
+
};
|
|
2559
|
+
type CreateAgentResult = AgentDetail;
|
|
2560
|
+
/** Create Agent */
|
|
2561
|
+
/** `POST /agent-service/agents` · aidream · auth guest · org required */
|
|
2562
|
+
declare function createAgent(api: Api, args: CreateAgentArgs, options?: CallOptions): Promise<CreateAgentResult>;
|
|
2563
|
+
type GetAgentArgs = {
|
|
2564
|
+
path: {
|
|
2565
|
+
agent_id: string;
|
|
2566
|
+
};
|
|
2567
|
+
};
|
|
2568
|
+
type GetAgentResult = AgentDetail;
|
|
2569
|
+
/** Get Agent */
|
|
2570
|
+
/** `GET /agent-service/agents/{agent_id}` · aidream · auth guest · org optional */
|
|
2571
|
+
declare function getAgent(api: Api, args: GetAgentArgs, options?: CallOptions): Promise<GetAgentResult>;
|
|
2572
|
+
type UpdateAgentArgs = {
|
|
2573
|
+
path: {
|
|
2574
|
+
agent_id: string;
|
|
2575
|
+
};
|
|
2576
|
+
body: UpdateAgentInput;
|
|
2577
|
+
};
|
|
2578
|
+
type UpdateAgentResult = AgentDetail;
|
|
2579
|
+
/** Update Agent */
|
|
2580
|
+
/** `PATCH /agent-service/agents/{agent_id}` · aidream · auth guest · org required */
|
|
2581
|
+
declare function updateAgent(api: Api, args: UpdateAgentArgs, options?: CallOptions): Promise<UpdateAgentResult>;
|
|
2582
|
+
type ListVersionsArgs = {
|
|
2583
|
+
path: {
|
|
2584
|
+
agent_id: string;
|
|
2585
|
+
};
|
|
2586
|
+
};
|
|
2587
|
+
type ListVersionsResult = AgentVersionInfo[];
|
|
2588
|
+
/** List Versions */
|
|
2589
|
+
/** `GET /agent-service/agents/{agent_id}/versions` · aidream · auth guest · org optional */
|
|
2590
|
+
declare function listVersions(api: Api, args: ListVersionsArgs, options?: CallOptions): Promise<ListVersionsResult>;
|
|
2591
|
+
type GetVersionArgs = {
|
|
2592
|
+
path: {
|
|
2593
|
+
version_id: string;
|
|
2594
|
+
};
|
|
2595
|
+
};
|
|
2596
|
+
type GetVersionResult = AgentDetail;
|
|
2597
|
+
/** Get Version */
|
|
2598
|
+
/** `GET /agent-service/versions/{version_id}` · aidream · auth guest · org optional */
|
|
2599
|
+
declare function getVersion(api: Api, args: GetVersionArgs, options?: CallOptions): Promise<GetVersionResult>;
|
|
2600
|
+
type ListModelsArgs = {
|
|
2601
|
+
query?: {
|
|
2602
|
+
include_deprecated?: boolean;
|
|
2603
|
+
output_types?: string[] | null;
|
|
2604
|
+
capability?: string | null;
|
|
2605
|
+
provider?: string | null;
|
|
2606
|
+
query?: string | null;
|
|
2607
|
+
primary_only?: boolean;
|
|
2608
|
+
model_ids?: string[] | null;
|
|
2609
|
+
};
|
|
2610
|
+
};
|
|
2611
|
+
type ListModelsResult = ModelInfo[];
|
|
2612
|
+
/** List Models */
|
|
2613
|
+
/** `GET /agent-service/models` · aidream · auth guest · org optional */
|
|
2614
|
+
declare function listModels(api: Api, args?: ListModelsArgs, options?: CallOptions): Promise<ListModelsResult>;
|
|
2615
|
+
type AgentServiceListToolsArgs = {
|
|
2616
|
+
query?: {
|
|
2617
|
+
category?: string | null;
|
|
2618
|
+
tags?: string[] | null;
|
|
2619
|
+
query?: string | null;
|
|
2620
|
+
};
|
|
2621
|
+
};
|
|
2622
|
+
type AgentServiceListToolsResult = ToolInfo[];
|
|
2623
|
+
/** List Tools */
|
|
2624
|
+
/** `GET /agent-service/tools` · aidream · auth guest · org optional */
|
|
2625
|
+
declare function agentServiceListTools(api: Api, args?: AgentServiceListToolsArgs, options?: CallOptions): Promise<AgentServiceListToolsResult>;
|
|
2626
|
+
type AgentServiceListSkillsArgs = {
|
|
2627
|
+
query?: {
|
|
2628
|
+
category?: string | null;
|
|
2629
|
+
query?: string | null;
|
|
2630
|
+
limit?: number;
|
|
2631
|
+
};
|
|
2632
|
+
};
|
|
2633
|
+
type AgentServiceListSkillsResult = SkillInfo[];
|
|
2634
|
+
/** List Skills */
|
|
2635
|
+
/** `GET /agent-service/skills` · aidream · auth guest · org optional */
|
|
2636
|
+
declare function agentServiceListSkills(api: Api, args?: AgentServiceListSkillsArgs, options?: CallOptions): Promise<AgentServiceListSkillsResult>;
|
|
2637
|
+
type CreateStructuredAgentArgs = {
|
|
2638
|
+
body: CreateAgentInput;
|
|
2639
|
+
};
|
|
2640
|
+
type CreateStructuredAgentResult = AgentDetail;
|
|
2641
|
+
/** Create Structured Agent */
|
|
2642
|
+
/** `POST /agent-service/agents/structured` · aidream · auth guest · org required */
|
|
2643
|
+
declare function createStructuredAgent(api: Api, args: CreateStructuredAgentArgs, options?: CallOptions): Promise<CreateStructuredAgentResult>;
|
|
2644
|
+
type ValidateSchemaArgs = {
|
|
2645
|
+
body: ValidateSchemaRequest;
|
|
2646
|
+
};
|
|
2647
|
+
type ValidateSchemaResult = SchemaGateReport;
|
|
2648
|
+
/** Validate Schema */
|
|
2649
|
+
/** `POST /agent-service/validate-schema` · aidream · auth guest · org required */
|
|
2650
|
+
declare function validateSchema(api: Api, args: ValidateSchemaArgs, options?: CallOptions): Promise<ValidateSchemaResult>;
|
|
2651
|
+
type StartBuildArgs = {
|
|
2652
|
+
body: StartBuildBody;
|
|
2653
|
+
};
|
|
2654
|
+
type StartBuildResult = StartBuildResponse;
|
|
2655
|
+
/** Start Build */
|
|
2656
|
+
/** `POST /agent-factory/builds` · aidream · auth user · org required */
|
|
2657
|
+
declare function startBuild(api: Api, args: StartBuildArgs, options?: CallOptions): Promise<StartBuildResult>;
|
|
2658
|
+
type ReadBuildArgs = {
|
|
2659
|
+
path: {
|
|
2660
|
+
build_id: string;
|
|
2661
|
+
};
|
|
2662
|
+
};
|
|
2663
|
+
type ReadBuildResult = BuildResponse;
|
|
2664
|
+
/** Read Build */
|
|
2665
|
+
/** `GET /agent-factory/builds/{build_id}` · aidream · auth user · org required */
|
|
2666
|
+
declare function readBuild(api: Api, args: ReadBuildArgs, options?: CallOptions): Promise<ReadBuildResult>;
|
|
2667
|
+
type KeepBuildArgs = {
|
|
2668
|
+
path: {
|
|
2669
|
+
build_id: string;
|
|
2670
|
+
};
|
|
2671
|
+
};
|
|
2672
|
+
type KeepBuildResult = KeepResponse;
|
|
2673
|
+
/** Keep Build */
|
|
2674
|
+
/** `POST /agent-factory/builds/{build_id}/keep` · aidream · auth user · org required */
|
|
2675
|
+
declare function keepBuild(api: Api, args: KeepBuildArgs, options?: CallOptions): Promise<KeepBuildResult>;
|
|
2676
|
+
type JudgeFirstRunsArgs = {
|
|
2677
|
+
path: {
|
|
2678
|
+
agent_id: string;
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2681
|
+
type JudgeFirstRunsResult = FirstRunsResponse;
|
|
2682
|
+
/** Judge First Runs */
|
|
2683
|
+
/** `POST /agent-factory/agents/{agent_id}/first-runs` · aidream · auth user · org required */
|
|
2684
|
+
declare function judgeFirstRuns(api: Api, args: JudgeFirstRunsArgs, options?: CallOptions): Promise<JudgeFirstRunsResult>;
|
|
2685
|
+
type AgentFromChatArgs = {
|
|
2686
|
+
body: AgentFromChatRequest;
|
|
2687
|
+
};
|
|
2688
|
+
type AgentFromChatResult = unknown;
|
|
2689
|
+
/** Agent From Chat */
|
|
2690
|
+
/** `POST /agent-studio/from-chat` · aidream · auth user · org required · ndjson */
|
|
2691
|
+
declare function agentFromChat(api: Api, args: AgentFromChatArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2692
|
+
type AdminAgentFromChatArgs = {
|
|
2693
|
+
body: AgentFromChatRequest;
|
|
2694
|
+
};
|
|
2695
|
+
type AdminAgentFromChatResult = unknown;
|
|
2696
|
+
/** Admin Agent From Chat */
|
|
2697
|
+
/** `POST /admin/agent-studio/from-chat` · aidream · auth admin · org exempt · ndjson */
|
|
2698
|
+
declare function adminAgentFromChat(api: Api, args: AdminAgentFromChatArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2699
|
+
type AdminToolsListToolsArgs = {
|
|
2700
|
+
[key: string]: never;
|
|
2701
|
+
};
|
|
2702
|
+
type AdminToolsListToolsResult = aidream__services__admin_ops__tools_wire__ToolListResponse;
|
|
2703
|
+
/** List Tools */
|
|
2704
|
+
/** `GET /admin/tools` · aidream · auth admin · org exempt */
|
|
2705
|
+
declare function adminToolsListTools(api: Api, args?: AdminToolsListToolsArgs, options?: CallOptions): Promise<AdminToolsListToolsResult>;
|
|
2706
|
+
type ValidateAllOpArgs = {
|
|
2707
|
+
[key: string]: never;
|
|
2708
|
+
};
|
|
2709
|
+
type ValidateAllOpResult = ValidationReportResponse;
|
|
2710
|
+
/** Validate All */
|
|
2711
|
+
/** `POST /admin/tools/validate` · aidream · auth admin · org exempt */
|
|
2712
|
+
declare function validateAll(api: Api, args?: ValidateAllOpArgs, options?: CallOptions): Promise<ValidateAllOpResult>;
|
|
2713
|
+
type FailureAnalyticsArgs = {
|
|
2714
|
+
query?: {
|
|
2715
|
+
sample?: number;
|
|
2716
|
+
};
|
|
2717
|
+
};
|
|
2718
|
+
type FailureAnalyticsResult = FailureAnalyticsResponse;
|
|
2719
|
+
/** Failure Analytics */
|
|
2720
|
+
/** `GET /admin/tools/failures` · aidream · auth admin · org exempt */
|
|
2721
|
+
declare function failureAnalytics(api: Api, args?: FailureAnalyticsArgs, options?: CallOptions): Promise<FailureAnalyticsResult>;
|
|
2722
|
+
type ToolDetailArgs = {
|
|
2723
|
+
path: {
|
|
2724
|
+
name: string;
|
|
2725
|
+
};
|
|
2726
|
+
};
|
|
2727
|
+
type ToolDetailResult = ToolDetail;
|
|
2728
|
+
/** Tool Detail */
|
|
2729
|
+
/** `GET /admin/tools/{name}` · aidream · auth admin · org exempt */
|
|
2730
|
+
declare function toolDetail(api: Api, args: ToolDetailArgs, options?: CallOptions): Promise<ToolDetailResult>;
|
|
2731
|
+
type UpdateToolArgs = {
|
|
2732
|
+
path: {
|
|
2733
|
+
name: string;
|
|
2734
|
+
};
|
|
2735
|
+
body: ToolUpdateRequest;
|
|
2736
|
+
};
|
|
2737
|
+
type UpdateToolResult = ToolRow;
|
|
2738
|
+
/** Update Tool */
|
|
2739
|
+
/** `PATCH /admin/tools/{name}` · aidream · auth admin · org exempt */
|
|
2740
|
+
declare function updateTool(api: Api, args: UpdateToolArgs, options?: CallOptions): Promise<UpdateToolResult>;
|
|
2741
|
+
type ToolTestingListToolsArgs = {
|
|
2742
|
+
query?: {
|
|
2743
|
+
category?: string | null;
|
|
2744
|
+
};
|
|
2745
|
+
};
|
|
2746
|
+
type ToolTestingListToolsResult = aidream__api__routers__tool_testing__ToolListResponse;
|
|
2747
|
+
/** List Tools */
|
|
2748
|
+
/** `GET /tools/test/list` · aidream · auth guest · org optional */
|
|
2749
|
+
declare function toolTestingListTools(api: Api, args?: ToolTestingListToolsArgs, options?: CallOptions): Promise<ToolTestingListToolsResult>;
|
|
2750
|
+
type GetToolDetailArgs = {
|
|
2751
|
+
path: {
|
|
2752
|
+
tool_name: string;
|
|
2753
|
+
};
|
|
2754
|
+
};
|
|
2755
|
+
type GetToolDetailResult = ToolDetailResponse;
|
|
2756
|
+
/** Get Tool Detail */
|
|
2757
|
+
/** `GET /tools/test/{tool_name}` · aidream · auth guest · org optional */
|
|
2758
|
+
declare function getToolDetail(api: Api, args: GetToolDetailArgs, options?: CallOptions): Promise<GetToolDetailResult>;
|
|
2759
|
+
type GetOrCreateTestSessionArgs = {
|
|
2760
|
+
[key: string]: never;
|
|
2761
|
+
};
|
|
2762
|
+
type GetOrCreateTestSessionResult = ToolTestSessionResponse;
|
|
2763
|
+
/** Get Or Create Test Session */
|
|
2764
|
+
/** `POST /tools/test/session` · aidream · auth guest · org required */
|
|
2765
|
+
declare function getOrCreateTestSession(api: Api, args?: GetOrCreateTestSessionArgs, options?: CallOptions): Promise<GetOrCreateTestSessionResult>;
|
|
2766
|
+
type ExecuteToolTestArgs = {
|
|
2767
|
+
body: ToolTestExecuteRequest;
|
|
2768
|
+
};
|
|
2769
|
+
type ExecuteToolTestResult = unknown;
|
|
2770
|
+
/** Execute Tool Test */
|
|
2771
|
+
/** `POST /tools/test/execute` · aidream · auth guest · org required · ndjson */
|
|
2772
|
+
declare function executeToolTest(api: Api, args: ExecuteToolTestArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2773
|
+
type GetDbSurfaceManifestArgs = {
|
|
2774
|
+
path: {
|
|
2775
|
+
client_name: string;
|
|
2776
|
+
surface_name: string;
|
|
2777
|
+
};
|
|
2778
|
+
};
|
|
2779
|
+
type GetDbSurfaceManifestResult = SurfaceManifest;
|
|
2780
|
+
/** Get Db Surface Manifest */
|
|
2781
|
+
/** `GET /surfaces/{client_name}/{surface_name}/manifest` · aidream · auth guest · org exempt */
|
|
2782
|
+
declare function getDbSurfaceManifest(api: Api, args: GetDbSurfaceManifestArgs, options?: CallOptions): Promise<GetDbSurfaceManifestResult>;
|
|
2783
|
+
type GetCapabilityManifestArgs = {
|
|
2784
|
+
path: {
|
|
2785
|
+
name: string;
|
|
2786
|
+
};
|
|
2787
|
+
};
|
|
2788
|
+
type GetCapabilityManifestResult = SurfaceManifest;
|
|
2789
|
+
/** Get Capability Manifest */
|
|
2790
|
+
/** `GET /surfaces/{name}/manifest` · aidream · auth guest · org exempt */
|
|
2791
|
+
declare function getCapabilityManifest(api: Api, args: GetCapabilityManifestArgs, options?: CallOptions): Promise<GetCapabilityManifestResult>;
|
|
2792
|
+
type CacheBustArgs = {
|
|
2793
|
+
[key: string]: never;
|
|
2794
|
+
};
|
|
2795
|
+
type CacheBustResult = CacheBustResponse;
|
|
2796
|
+
/** Cache Bust */
|
|
2797
|
+
/** `POST /admin/tool-routing/cache-bust` · aidream · auth admin · org exempt */
|
|
2798
|
+
declare function cacheBust(api: Api, args?: CacheBustArgs, options?: CallOptions): Promise<CacheBustResult>;
|
|
2799
|
+
type RunAgentTestsArgs = {
|
|
2800
|
+
path: {
|
|
2801
|
+
agent_id: string;
|
|
2802
|
+
};
|
|
2803
|
+
body: AgentTestBatchRequest;
|
|
2804
|
+
};
|
|
2805
|
+
type RunAgentTestsResult = AgentTestBatchResponse;
|
|
2806
|
+
/** Run Agent Tests */
|
|
2807
|
+
/** `POST /agent-testing/agents/{agent_id}/tests` · aidream · auth admin · org required */
|
|
2808
|
+
declare function runAgentTests(api: Api, args: RunAgentTestsArgs, options?: CallOptions): Promise<RunAgentTestsResult>;
|
|
2809
|
+
type GetAgentExecutionDefinitionArgs = {
|
|
2810
|
+
path: {
|
|
2811
|
+
agent_id: string;
|
|
2812
|
+
};
|
|
2813
|
+
};
|
|
2814
|
+
type GetAgentExecutionDefinitionResult = ExecutionAgentDefinition;
|
|
2815
|
+
/** Get Agent Execution Definition */
|
|
2816
|
+
/** `GET /agents/{agent_id}/execution-definition` · aidream · auth guest · org optional */
|
|
2817
|
+
declare function getAgentExecutionDefinition(api: Api, args: GetAgentExecutionDefinitionArgs, options?: CallOptions): Promise<GetAgentExecutionDefinitionResult>;
|
|
2818
|
+
type GetAgentVersionExecutionDefinitionArgs = {
|
|
2819
|
+
path: {
|
|
2820
|
+
version_id: string;
|
|
2821
|
+
};
|
|
2822
|
+
};
|
|
2823
|
+
type GetAgentVersionExecutionDefinitionResult = ExecutionAgentDefinition;
|
|
2824
|
+
/** Get Agent Version Execution Definition */
|
|
2825
|
+
/** `GET /agents/versions/{version_id}/execution-definition` · aidream · auth guest · org optional */
|
|
2826
|
+
declare function getAgentVersionExecutionDefinition(api: Api, args: GetAgentVersionExecutionDefinitionArgs, options?: CallOptions): Promise<GetAgentVersionExecutionDefinitionResult>;
|
|
2827
|
+
type PreviewVariableBindingArgs = {
|
|
2828
|
+
body: VariableBindingPreviewRequest;
|
|
2829
|
+
};
|
|
2830
|
+
type PreviewVariableBindingResult = VariableBindingPreviewResponse;
|
|
2831
|
+
/** Preview Variable Binding */
|
|
2832
|
+
/** `POST /agents/variable-bindings/preview` · aidream · auth guest · org required */
|
|
2833
|
+
declare function previewVariableBinding(api: Api, args: PreviewVariableBindingArgs, options?: CallOptions): Promise<PreviewVariableBindingResult>;
|
|
2834
|
+
type RunMatrixBattleArgs = {
|
|
2835
|
+
path: {
|
|
2836
|
+
set_id: string;
|
|
2837
|
+
};
|
|
2838
|
+
body: MatrixRunRequest;
|
|
2839
|
+
};
|
|
2840
|
+
type RunMatrixBattleResult = unknown;
|
|
2841
|
+
/** Run Matrix Battle */
|
|
2842
|
+
/** `POST /agent-battles/{set_id}/run` · aidream · auth guest · org required · ndjson */
|
|
2843
|
+
declare function runMatrixBattle(api: Api, args: RunMatrixBattleArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2844
|
+
type CancelMatrixBattleArgs = {
|
|
2845
|
+
path: {
|
|
2846
|
+
set_id: string;
|
|
2847
|
+
};
|
|
2848
|
+
};
|
|
2849
|
+
type CancelMatrixBattleResult = MatrixCancelResponse;
|
|
2850
|
+
/** Cancel Matrix Battle */
|
|
2851
|
+
/** `POST /agent-battles/{set_id}/cancel` · aidream · auth guest · org required */
|
|
2852
|
+
declare function cancelMatrixBattle(api: Api, args: CancelMatrixBattleArgs, options?: CallOptions): Promise<CancelMatrixBattleResult>;
|
|
2853
|
+
type ListContextOrganizationsArgs = {
|
|
2854
|
+
[key: string]: never;
|
|
2855
|
+
};
|
|
2856
|
+
type ListContextOrganizationsResult = ContextOrganizationsResponse;
|
|
2857
|
+
/** List Context Organizations */
|
|
2858
|
+
/** `GET /admin/agent-context/organizations` · aidream · auth admin · org exempt */
|
|
2859
|
+
declare function listContextOrganizations(api: Api, args?: ListContextOrganizationsArgs, options?: CallOptions): Promise<ListContextOrganizationsResult>;
|
|
2860
|
+
type RenderContextArgs = {
|
|
2861
|
+
body: ContextRenderRequest;
|
|
2862
|
+
};
|
|
2863
|
+
type RenderContextResult = ContextRenderResponse;
|
|
2864
|
+
/** Render Context */
|
|
2865
|
+
/** `POST /admin/agent-context/render` · aidream · auth admin · org exempt */
|
|
2866
|
+
declare function renderContext(api: Api, args: RenderContextArgs, options?: CallOptions): Promise<RenderContextResult>;
|
|
2867
|
+
type GetDirectiveCatalogArgs = {
|
|
2868
|
+
[key: string]: never;
|
|
2869
|
+
};
|
|
2870
|
+
type GetDirectiveCatalogResult = DirectiveCatalog;
|
|
2871
|
+
/** Get Directive Catalog */
|
|
2872
|
+
/** `GET /directives/catalog` · aidream · auth public · org exempt */
|
|
2873
|
+
declare function getDirectiveCatalog(api: Api, args?: GetDirectiveCatalogArgs, options?: CallOptions): Promise<GetDirectiveCatalogResult>;
|
|
2874
|
+
type GetDirectiveNounSchemasArgs = {
|
|
2875
|
+
path: {
|
|
2876
|
+
noun: string;
|
|
2877
|
+
};
|
|
2878
|
+
};
|
|
2879
|
+
type GetDirectiveNounSchemasResult = DirectiveNounSchemas;
|
|
2880
|
+
/** Get Directive Noun Schemas */
|
|
2881
|
+
/** `GET /directives/catalog/{noun}` · aidream · auth public · org exempt */
|
|
2882
|
+
declare function getDirectiveNounSchemas(api: Api, args: GetDirectiveNounSchemasArgs, options?: CallOptions): Promise<GetDirectiveNounSchemasResult>;
|
|
2883
|
+
type ExecuteWriteDirectiveArgs = {
|
|
2884
|
+
body: DirectiveExecuteRequest;
|
|
2885
|
+
};
|
|
2886
|
+
type ExecuteWriteDirectiveResult = DirectiveApplyResult;
|
|
2887
|
+
/** Execute Write Directive */
|
|
2888
|
+
/** `POST /directives/execute` · aidream · auth guest · org required */
|
|
2889
|
+
declare function executeWriteDirective(api: Api, args: ExecuteWriteDirectiveArgs, options?: CallOptions): Promise<ExecuteWriteDirectiveResult>;
|
|
2890
|
+
type ConfirmProposedDirectiveArgs = {
|
|
2891
|
+
body: DirectiveConfirmRequest;
|
|
2892
|
+
};
|
|
2893
|
+
type ConfirmProposedDirectiveResult = DirectiveConfirmResult;
|
|
2894
|
+
/** Confirm Proposed Directive */
|
|
2895
|
+
/** `POST /directives/confirm` · aidream · auth guest · org required */
|
|
2896
|
+
declare function confirmProposedDirective(api: Api, args: ConfirmProposedDirectiveArgs, options?: CallOptions): Promise<ConfirmProposedDirectiveResult>;
|
|
2897
|
+
type ReadDirectiveApplyStateArgs = {
|
|
2898
|
+
body: DirectiveApplyStateRequest;
|
|
2899
|
+
};
|
|
2900
|
+
type ReadDirectiveApplyStateResult = DirectiveApplyStateResult;
|
|
2901
|
+
/** Read Directive Apply State */
|
|
2902
|
+
/** `POST /directives/apply_state` · aidream · auth guest · org required */
|
|
2903
|
+
declare function readDirectiveApplyState(api: Api, args: ReadDirectiveApplyStateArgs, options?: CallOptions): Promise<ReadDirectiveApplyStateResult>;
|
|
2904
|
+
type ListToolsArgs = {
|
|
2905
|
+
[key: string]: never;
|
|
2906
|
+
};
|
|
2907
|
+
type ListToolsResult = {
|
|
2908
|
+
[key: string]: string[];
|
|
2909
|
+
};
|
|
2910
|
+
/** List Tools */
|
|
2911
|
+
/** `GET /tools/list` · matrx-local · auth public · org exempt */
|
|
2912
|
+
declare function listTools(api: Api, args?: ListToolsArgs, options?: CallOptions): Promise<ListToolsResult>;
|
|
2913
|
+
type InvokeToolArgs = {
|
|
2914
|
+
body: ToolRequest;
|
|
2915
|
+
};
|
|
2916
|
+
type InvokeToolResult = ToolResponse;
|
|
2917
|
+
/** Invoke Tool */
|
|
2918
|
+
/** `POST /tools/invoke` · matrx-local · auth loopback_token · org exempt */
|
|
2919
|
+
declare function invokeTool(api: Api, args: InvokeToolArgs, options?: CallOptions): Promise<InvokeToolResult>;
|
|
2920
|
+
type GetAgentCatalogArgs = {
|
|
2921
|
+
[key: string]: never;
|
|
2922
|
+
};
|
|
2923
|
+
type GetAgentCatalogResult = {
|
|
2924
|
+
[key: string]: unknown;
|
|
2925
|
+
}[];
|
|
2926
|
+
/** Get Agent Catalog */
|
|
2927
|
+
/** `GET /agents/catalog` · matrx-local · auth loopback_open · org exempt */
|
|
2928
|
+
declare function getAgentCatalog(api: Api, args?: GetAgentCatalogArgs, options?: CallOptions): Promise<GetAgentCatalogResult>;
|
|
2929
|
+
type PostAgentCatalogRpcArgs = {
|
|
2930
|
+
body: CatalogRpcRequest;
|
|
2931
|
+
};
|
|
2932
|
+
type PostAgentCatalogRpcResult = {
|
|
2933
|
+
[key: string]: unknown;
|
|
2934
|
+
}[];
|
|
2935
|
+
/** Post Agent Catalog Rpc */
|
|
2936
|
+
/** `POST /agents/catalog/rpc` · matrx-local · auth loopback_open · org exempt */
|
|
2937
|
+
declare function postAgentCatalogRpc(api: Api, args: PostAgentCatalogRpcArgs, options?: CallOptions): Promise<PostAgentCatalogRpcResult>;
|
|
2938
|
+
type GetAgentExecutionArgs = {
|
|
2939
|
+
path: {
|
|
2940
|
+
agent_id: string;
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
type GetAgentExecutionResult = unknown;
|
|
2944
|
+
/** Get Agent Execution */
|
|
2945
|
+
/** `GET /agents/catalog/{agent_id}/execution` · matrx-local · auth loopback_open · org exempt */
|
|
2946
|
+
declare function getAgentExecution(api: Api, args: GetAgentExecutionArgs, options?: CallOptions): Promise<GetAgentExecutionResult>;
|
|
2947
|
+
type GetAgentCatalogStatusArgs = {
|
|
2948
|
+
[key: string]: never;
|
|
2949
|
+
};
|
|
2950
|
+
type GetAgentCatalogStatusResult = {
|
|
2951
|
+
[key: string]: unknown;
|
|
2952
|
+
};
|
|
2953
|
+
/** Get Agent Catalog Status */
|
|
2954
|
+
/** `GET /agents/catalog/status` · matrx-local · auth loopback_open · org exempt */
|
|
2955
|
+
declare function getAgentCatalogStatus(api: Api, args?: GetAgentCatalogStatusArgs, options?: CallOptions): Promise<GetAgentCatalogStatusResult>;
|
|
2956
|
+
type PromptMatrixPathsArgs = {
|
|
2957
|
+
[key: string]: never;
|
|
2958
|
+
};
|
|
2959
|
+
type PromptMatrixPathsResult = {
|
|
2960
|
+
[key: string]: string;
|
|
2961
|
+
};
|
|
2962
|
+
/** Prompt Matrix Paths */
|
|
2963
|
+
/** `GET /prompt-matrix/paths` · matrx-local · auth loopback_token · org exempt */
|
|
2964
|
+
declare function promptMatrixPaths(api: Api, args?: PromptMatrixPathsArgs, options?: CallOptions): Promise<PromptMatrixPathsResult>;
|
|
2965
|
+
type GetLibraryArgs = {
|
|
2966
|
+
[key: string]: never;
|
|
2967
|
+
};
|
|
2968
|
+
type GetLibraryResult = {
|
|
2969
|
+
[key: string]: unknown;
|
|
2970
|
+
};
|
|
2971
|
+
/** Get Library */
|
|
2972
|
+
/** `GET /prompt-matrix/library` · matrx-local · auth loopback_token · org exempt */
|
|
2973
|
+
declare function getLibrary(api: Api, args?: GetLibraryArgs, options?: CallOptions): Promise<GetLibraryResult>;
|
|
2974
|
+
type PutLibraryArgs = {
|
|
2975
|
+
body: LibraryPut;
|
|
2976
|
+
};
|
|
2977
|
+
type PutLibraryResult = {
|
|
2978
|
+
[key: string]: unknown;
|
|
2979
|
+
};
|
|
2980
|
+
/** Put Library */
|
|
2981
|
+
/** `PUT /prompt-matrix/library` · matrx-local · auth loopback_token · org exempt */
|
|
2982
|
+
declare function putLibrary(api: Api, args: PutLibraryArgs, options?: CallOptions): Promise<PutLibraryResult>;
|
|
2983
|
+
type GetListsArgs = {
|
|
2984
|
+
[key: string]: never;
|
|
2985
|
+
};
|
|
2986
|
+
type GetListsResult = {
|
|
2987
|
+
[key: string]: unknown;
|
|
2988
|
+
};
|
|
2989
|
+
/** Get Lists */
|
|
2990
|
+
/** `GET /prompt-matrix/lists` · matrx-local · auth loopback_token · org exempt */
|
|
2991
|
+
declare function getLists(api: Api, args?: GetListsArgs, options?: CallOptions): Promise<GetListsResult>;
|
|
2992
|
+
type PutListsArgs = {
|
|
2993
|
+
body: ListsPut;
|
|
2994
|
+
};
|
|
2995
|
+
type PutListsResult = {
|
|
2996
|
+
[key: string]: unknown;
|
|
2997
|
+
};
|
|
2998
|
+
/** Put Lists */
|
|
2999
|
+
/** `PUT /prompt-matrix/lists` · matrx-local · auth loopback_token · org exempt */
|
|
3000
|
+
declare function putLists(api: Api, args: PutListsArgs, options?: CallOptions): Promise<PutListsResult>;
|
|
3001
|
+
type GetTemplatesArgs = {
|
|
3002
|
+
[key: string]: never;
|
|
3003
|
+
};
|
|
3004
|
+
type GetTemplatesResult = {
|
|
3005
|
+
[key: string]: unknown;
|
|
3006
|
+
};
|
|
3007
|
+
/** Get Templates */
|
|
3008
|
+
/** `GET /prompt-matrix/templates` · matrx-local · auth loopback_token · org exempt */
|
|
3009
|
+
declare function getTemplates(api: Api, args?: GetTemplatesArgs, options?: CallOptions): Promise<GetTemplatesResult>;
|
|
3010
|
+
type PutTemplatesArgs = {
|
|
3011
|
+
body: TemplatesPut;
|
|
3012
|
+
};
|
|
3013
|
+
type PutTemplatesResult = {
|
|
3014
|
+
[key: string]: unknown;
|
|
3015
|
+
};
|
|
3016
|
+
/** Put Templates */
|
|
3017
|
+
/** `PUT /prompt-matrix/templates` · matrx-local · auth loopback_token · org exempt */
|
|
3018
|
+
declare function putTemplates(api: Api, args: PutTemplatesArgs, options?: CallOptions): Promise<PutTemplatesResult>;
|
|
3019
|
+
type GetPromptsArgs = {
|
|
3020
|
+
[key: string]: never;
|
|
3021
|
+
};
|
|
3022
|
+
type GetPromptsResult = {
|
|
3023
|
+
[key: string]: unknown;
|
|
3024
|
+
};
|
|
3025
|
+
/** Get Prompts */
|
|
3026
|
+
/** `GET /prompt-matrix/prompts` · matrx-local · auth loopback_token · org exempt */
|
|
3027
|
+
declare function getPrompts(api: Api, args?: GetPromptsArgs, options?: CallOptions): Promise<GetPromptsResult>;
|
|
3028
|
+
type PutPromptsArgs = {
|
|
3029
|
+
body: PromptsPut;
|
|
3030
|
+
};
|
|
3031
|
+
type PutPromptsResult = {
|
|
3032
|
+
[key: string]: unknown;
|
|
3033
|
+
};
|
|
3034
|
+
/** Put Prompts */
|
|
3035
|
+
/** `PUT /prompt-matrix/prompts` · matrx-local · auth loopback_token · org exempt */
|
|
3036
|
+
declare function putPrompts(api: Api, args: PutPromptsArgs, options?: CallOptions): Promise<PutPromptsResult>;
|
|
3037
|
+
type GetVariationBatchesArgs = {
|
|
3038
|
+
[key: string]: never;
|
|
3039
|
+
};
|
|
3040
|
+
type GetVariationBatchesResult = {
|
|
3041
|
+
[key: string]: unknown;
|
|
3042
|
+
};
|
|
3043
|
+
/** Get Variation Batches */
|
|
3044
|
+
/** `GET /prompt-matrix/variation-batches` · matrx-local · auth loopback_token · org exempt */
|
|
3045
|
+
declare function getVariationBatches(api: Api, args?: GetVariationBatchesArgs, options?: CallOptions): Promise<GetVariationBatchesResult>;
|
|
3046
|
+
type PutVariationBatchesArgs = {
|
|
3047
|
+
body: VariationBatchesPut;
|
|
3048
|
+
};
|
|
3049
|
+
type PutVariationBatchesResult = {
|
|
3050
|
+
[key: string]: unknown;
|
|
3051
|
+
};
|
|
3052
|
+
/** Put Variation Batches */
|
|
3053
|
+
/** `PUT /prompt-matrix/variation-batches` · matrx-local · auth loopback_token · org exempt */
|
|
3054
|
+
declare function putVariationBatches(api: Api, args: PutVariationBatchesArgs, options?: CallOptions): Promise<PutVariationBatchesResult>;
|
|
3055
|
+
/** Every JSON operation of this domain by `METHOD path` — for path-keyed calls. */
|
|
3056
|
+
interface Operations {
|
|
3057
|
+
"POST /ai/agents/{agent_id}/warm": {
|
|
3058
|
+
args: WarmAgentArgs;
|
|
3059
|
+
result: WarmAgentResult;
|
|
3060
|
+
};
|
|
3061
|
+
"GET /ai/prompts/builtins": {
|
|
3062
|
+
args: GetAllPromptBuiltinsArgs;
|
|
3063
|
+
result: GetAllPromptBuiltinsResult;
|
|
3064
|
+
};
|
|
3065
|
+
"POST /ai/prompts/{prompt_id}/warm": {
|
|
3066
|
+
args: WarmPromptArgs;
|
|
3067
|
+
result: WarmPromptResult;
|
|
3068
|
+
};
|
|
3069
|
+
"POST /ai/agents-blocks/{agent_id}/warm": {
|
|
3070
|
+
args: WarmAgentBlocksArgs;
|
|
3071
|
+
result: WarmAgentBlocksResult;
|
|
3072
|
+
};
|
|
3073
|
+
"GET /ai-tools": {
|
|
3074
|
+
args: GetAllToolsArgs;
|
|
3075
|
+
result: GetAllToolsResult;
|
|
3076
|
+
};
|
|
3077
|
+
"GET /ai-tools/source-kind/{source_kind}": {
|
|
3078
|
+
args: GetToolsBySourceKindArgs;
|
|
3079
|
+
result: GetToolsBySourceKindResult;
|
|
3080
|
+
};
|
|
3081
|
+
"GET /ai-tools/native/all": {
|
|
3082
|
+
args: GetNativeToolsArgs;
|
|
3083
|
+
result: GetNativeToolsResult;
|
|
3084
|
+
};
|
|
3085
|
+
"GET /ai-tools/mcp-discovered/all": {
|
|
3086
|
+
args: GetMcpDiscoveredToolsArgs;
|
|
3087
|
+
result: GetMcpDiscoveredToolsResult;
|
|
3088
|
+
};
|
|
3089
|
+
"GET /ai-tools/app/{executor_name}/all": {
|
|
3090
|
+
args: GetToolsForAppArgs;
|
|
3091
|
+
result: GetToolsForAppResult;
|
|
3092
|
+
};
|
|
3093
|
+
"GET /ai-tools/{tool_id}": {
|
|
3094
|
+
args: GetToolByIdArgs;
|
|
3095
|
+
result: GetToolByIdResult;
|
|
3096
|
+
};
|
|
3097
|
+
"POST /ai/agents/{agent_id}/invalidate-cache": {
|
|
3098
|
+
args: InvalidateAgentCacheArgs;
|
|
3099
|
+
result: InvalidateAgentCacheResult;
|
|
3100
|
+
};
|
|
3101
|
+
"GET /ai/mock-stream/scenarios": {
|
|
3102
|
+
args: ListScenariosArgs;
|
|
3103
|
+
result: ListScenariosResult;
|
|
3104
|
+
};
|
|
3105
|
+
"GET /ai/prompts": {
|
|
3106
|
+
args: GetUserPromptsArgs;
|
|
3107
|
+
result: GetUserPromptsResult;
|
|
3108
|
+
};
|
|
3109
|
+
"GET /ai/prompts/all": {
|
|
3110
|
+
args: GetUserPromptsAndBuiltinsArgs;
|
|
3111
|
+
result: GetUserPromptsAndBuiltinsResult;
|
|
3112
|
+
};
|
|
3113
|
+
"POST /ai/context/preview": {
|
|
3114
|
+
args: PreviewContextArgs;
|
|
3115
|
+
result: PreviewContextResult;
|
|
3116
|
+
};
|
|
3117
|
+
"POST /ai/context/preview/answer-both": {
|
|
3118
|
+
args: PreviewAnswerBothArgs;
|
|
3119
|
+
result: PreviewAnswerBothResult;
|
|
3120
|
+
};
|
|
3121
|
+
"GET /ai/context/delivered": {
|
|
3122
|
+
args: ContextDeliveredArgs;
|
|
3123
|
+
result: ContextDeliveredResult;
|
|
3124
|
+
};
|
|
3125
|
+
"POST /ai/agents/{agent_id}/realtime-tools": {
|
|
3126
|
+
args: GetRealtimeToolsArgs;
|
|
3127
|
+
result: GetRealtimeToolsResult;
|
|
3128
|
+
};
|
|
3129
|
+
"POST /ai/agents/{agent_id}/realtime-session": {
|
|
3130
|
+
args: GetRealtimeSessionArgs;
|
|
3131
|
+
result: GetRealtimeSessionResult;
|
|
3132
|
+
};
|
|
3133
|
+
"POST /ai/tools/execute": {
|
|
3134
|
+
args: ExecuteRealtimeToolRouteArgs;
|
|
3135
|
+
result: ExecuteRealtimeToolRouteResult;
|
|
3136
|
+
};
|
|
3137
|
+
"POST /ai/agents/versions/{version_id}/portable": {
|
|
3138
|
+
args: GetPortableAgentVersionArgs;
|
|
3139
|
+
result: GetPortableAgentVersionResult;
|
|
3140
|
+
};
|
|
3141
|
+
"POST /ai/agents/{agent_id}/portable": {
|
|
3142
|
+
args: GetPortableAgentArgs;
|
|
3143
|
+
result: GetPortableAgentResult;
|
|
3144
|
+
};
|
|
3145
|
+
"GET /ai/agents/{agent_id}/portable/summary": {
|
|
3146
|
+
args: GetPortableAgentSummaryArgs;
|
|
3147
|
+
result: GetPortableAgentSummaryResult;
|
|
3148
|
+
};
|
|
3149
|
+
"GET /skills": {
|
|
3150
|
+
args: SkillsListSkillsArgs;
|
|
3151
|
+
result: SkillsListSkillsResult;
|
|
3152
|
+
};
|
|
3153
|
+
"POST /skills": {
|
|
3154
|
+
args: CreateSkillArgs;
|
|
3155
|
+
result: CreateSkillResult;
|
|
3156
|
+
};
|
|
3157
|
+
"GET /skills/categories": {
|
|
3158
|
+
args: ListCategoriesArgs;
|
|
3159
|
+
result: ListCategoriesResult;
|
|
3160
|
+
};
|
|
3161
|
+
"POST /skills/categories": {
|
|
3162
|
+
args: CreateCategoryArgs;
|
|
3163
|
+
result: CreateCategoryResult;
|
|
3164
|
+
};
|
|
3165
|
+
"PATCH /skills/categories/{category_id}": {
|
|
3166
|
+
args: PatchCategoryArgs;
|
|
3167
|
+
result: PatchCategoryResult;
|
|
3168
|
+
};
|
|
3169
|
+
"DELETE /skills/categories/{category_id}": {
|
|
3170
|
+
args: DeleteCategoryArgs;
|
|
3171
|
+
result: DeleteCategoryResult;
|
|
3172
|
+
};
|
|
3173
|
+
"GET /skills/{skill_ref}": {
|
|
3174
|
+
args: GetSkillArgs;
|
|
3175
|
+
result: GetSkillResult;
|
|
3176
|
+
};
|
|
3177
|
+
"PATCH /skills/{skill_id}": {
|
|
3178
|
+
args: PatchSkillArgs;
|
|
3179
|
+
result: PatchSkillResult;
|
|
3180
|
+
};
|
|
3181
|
+
"DELETE /skills/{skill_id}": {
|
|
3182
|
+
args: DeleteSkillArgs;
|
|
3183
|
+
result: DeleteSkillResult;
|
|
3184
|
+
};
|
|
3185
|
+
"POST /skills/ingest": {
|
|
3186
|
+
args: AdminIngestFilesystemArgs;
|
|
3187
|
+
result: AdminIngestFilesystemResult;
|
|
3188
|
+
};
|
|
3189
|
+
"POST /tools/screen-run": {
|
|
3190
|
+
args: ScreenRunArgs;
|
|
3191
|
+
result: ScreenRunResult;
|
|
3192
|
+
};
|
|
3193
|
+
"GET /agent-service/agents": {
|
|
3194
|
+
args: ListAgentsArgs;
|
|
3195
|
+
result: ListAgentsResult;
|
|
3196
|
+
};
|
|
3197
|
+
"POST /agent-service/agents": {
|
|
3198
|
+
args: CreateAgentArgs;
|
|
3199
|
+
result: CreateAgentResult;
|
|
3200
|
+
};
|
|
3201
|
+
"GET /agent-service/agents/{agent_id}": {
|
|
3202
|
+
args: GetAgentArgs;
|
|
3203
|
+
result: GetAgentResult;
|
|
3204
|
+
};
|
|
3205
|
+
"PATCH /agent-service/agents/{agent_id}": {
|
|
3206
|
+
args: UpdateAgentArgs;
|
|
3207
|
+
result: UpdateAgentResult;
|
|
3208
|
+
};
|
|
3209
|
+
"GET /agent-service/agents/{agent_id}/versions": {
|
|
3210
|
+
args: ListVersionsArgs;
|
|
3211
|
+
result: ListVersionsResult;
|
|
3212
|
+
};
|
|
3213
|
+
"GET /agent-service/versions/{version_id}": {
|
|
3214
|
+
args: GetVersionArgs;
|
|
3215
|
+
result: GetVersionResult;
|
|
3216
|
+
};
|
|
3217
|
+
"GET /agent-service/models": {
|
|
3218
|
+
args: ListModelsArgs;
|
|
3219
|
+
result: ListModelsResult;
|
|
3220
|
+
};
|
|
3221
|
+
"GET /agent-service/tools": {
|
|
3222
|
+
args: AgentServiceListToolsArgs;
|
|
3223
|
+
result: AgentServiceListToolsResult;
|
|
3224
|
+
};
|
|
3225
|
+
"GET /agent-service/skills": {
|
|
3226
|
+
args: AgentServiceListSkillsArgs;
|
|
3227
|
+
result: AgentServiceListSkillsResult;
|
|
3228
|
+
};
|
|
3229
|
+
"POST /agent-service/agents/structured": {
|
|
3230
|
+
args: CreateStructuredAgentArgs;
|
|
3231
|
+
result: CreateStructuredAgentResult;
|
|
3232
|
+
};
|
|
3233
|
+
"POST /agent-service/validate-schema": {
|
|
3234
|
+
args: ValidateSchemaArgs;
|
|
3235
|
+
result: ValidateSchemaResult;
|
|
3236
|
+
};
|
|
3237
|
+
"POST /agent-factory/builds": {
|
|
3238
|
+
args: StartBuildArgs;
|
|
3239
|
+
result: StartBuildResult;
|
|
3240
|
+
};
|
|
3241
|
+
"GET /agent-factory/builds/{build_id}": {
|
|
3242
|
+
args: ReadBuildArgs;
|
|
3243
|
+
result: ReadBuildResult;
|
|
3244
|
+
};
|
|
3245
|
+
"POST /agent-factory/builds/{build_id}/keep": {
|
|
3246
|
+
args: KeepBuildArgs;
|
|
3247
|
+
result: KeepBuildResult;
|
|
3248
|
+
};
|
|
3249
|
+
"POST /agent-factory/agents/{agent_id}/first-runs": {
|
|
3250
|
+
args: JudgeFirstRunsArgs;
|
|
3251
|
+
result: JudgeFirstRunsResult;
|
|
3252
|
+
};
|
|
3253
|
+
"GET /admin/tools": {
|
|
3254
|
+
args: AdminToolsListToolsArgs;
|
|
3255
|
+
result: AdminToolsListToolsResult;
|
|
3256
|
+
};
|
|
3257
|
+
"POST /admin/tools/validate": {
|
|
3258
|
+
args: ValidateAllOpArgs;
|
|
3259
|
+
result: ValidateAllOpResult;
|
|
3260
|
+
};
|
|
3261
|
+
"GET /admin/tools/failures": {
|
|
3262
|
+
args: FailureAnalyticsArgs;
|
|
3263
|
+
result: FailureAnalyticsResult;
|
|
3264
|
+
};
|
|
3265
|
+
"GET /admin/tools/{name}": {
|
|
3266
|
+
args: ToolDetailArgs;
|
|
3267
|
+
result: ToolDetailResult;
|
|
3268
|
+
};
|
|
3269
|
+
"PATCH /admin/tools/{name}": {
|
|
3270
|
+
args: UpdateToolArgs;
|
|
3271
|
+
result: UpdateToolResult;
|
|
3272
|
+
};
|
|
3273
|
+
"GET /tools/test/list": {
|
|
3274
|
+
args: ToolTestingListToolsArgs;
|
|
3275
|
+
result: ToolTestingListToolsResult;
|
|
3276
|
+
};
|
|
3277
|
+
"GET /tools/test/{tool_name}": {
|
|
3278
|
+
args: GetToolDetailArgs;
|
|
3279
|
+
result: GetToolDetailResult;
|
|
3280
|
+
};
|
|
3281
|
+
"POST /tools/test/session": {
|
|
3282
|
+
args: GetOrCreateTestSessionArgs;
|
|
3283
|
+
result: GetOrCreateTestSessionResult;
|
|
3284
|
+
};
|
|
3285
|
+
"GET /surfaces/{client_name}/{surface_name}/manifest": {
|
|
3286
|
+
args: GetDbSurfaceManifestArgs;
|
|
3287
|
+
result: GetDbSurfaceManifestResult;
|
|
3288
|
+
};
|
|
3289
|
+
"GET /surfaces/{name}/manifest": {
|
|
3290
|
+
args: GetCapabilityManifestArgs;
|
|
3291
|
+
result: GetCapabilityManifestResult;
|
|
3292
|
+
};
|
|
3293
|
+
"POST /admin/tool-routing/cache-bust": {
|
|
3294
|
+
args: CacheBustArgs;
|
|
3295
|
+
result: CacheBustResult;
|
|
3296
|
+
};
|
|
3297
|
+
"POST /agent-testing/agents/{agent_id}/tests": {
|
|
3298
|
+
args: RunAgentTestsArgs;
|
|
3299
|
+
result: RunAgentTestsResult;
|
|
3300
|
+
};
|
|
3301
|
+
"GET /agents/{agent_id}/execution-definition": {
|
|
3302
|
+
args: GetAgentExecutionDefinitionArgs;
|
|
3303
|
+
result: GetAgentExecutionDefinitionResult;
|
|
3304
|
+
};
|
|
3305
|
+
"GET /agents/versions/{version_id}/execution-definition": {
|
|
3306
|
+
args: GetAgentVersionExecutionDefinitionArgs;
|
|
3307
|
+
result: GetAgentVersionExecutionDefinitionResult;
|
|
3308
|
+
};
|
|
3309
|
+
"POST /agents/variable-bindings/preview": {
|
|
3310
|
+
args: PreviewVariableBindingArgs;
|
|
3311
|
+
result: PreviewVariableBindingResult;
|
|
3312
|
+
};
|
|
3313
|
+
"POST /agent-battles/{set_id}/cancel": {
|
|
3314
|
+
args: CancelMatrixBattleArgs;
|
|
3315
|
+
result: CancelMatrixBattleResult;
|
|
3316
|
+
};
|
|
3317
|
+
"GET /admin/agent-context/organizations": {
|
|
3318
|
+
args: ListContextOrganizationsArgs;
|
|
3319
|
+
result: ListContextOrganizationsResult;
|
|
3320
|
+
};
|
|
3321
|
+
"POST /admin/agent-context/render": {
|
|
3322
|
+
args: RenderContextArgs;
|
|
3323
|
+
result: RenderContextResult;
|
|
3324
|
+
};
|
|
3325
|
+
"GET /directives/catalog": {
|
|
3326
|
+
args: GetDirectiveCatalogArgs;
|
|
3327
|
+
result: GetDirectiveCatalogResult;
|
|
3328
|
+
};
|
|
3329
|
+
"GET /directives/catalog/{noun}": {
|
|
3330
|
+
args: GetDirectiveNounSchemasArgs;
|
|
3331
|
+
result: GetDirectiveNounSchemasResult;
|
|
3332
|
+
};
|
|
3333
|
+
"POST /directives/execute": {
|
|
3334
|
+
args: ExecuteWriteDirectiveArgs;
|
|
3335
|
+
result: ExecuteWriteDirectiveResult;
|
|
3336
|
+
};
|
|
3337
|
+
"POST /directives/confirm": {
|
|
3338
|
+
args: ConfirmProposedDirectiveArgs;
|
|
3339
|
+
result: ConfirmProposedDirectiveResult;
|
|
3340
|
+
};
|
|
3341
|
+
"POST /directives/apply_state": {
|
|
3342
|
+
args: ReadDirectiveApplyStateArgs;
|
|
3343
|
+
result: ReadDirectiveApplyStateResult;
|
|
3344
|
+
};
|
|
3345
|
+
"GET /tools/list": {
|
|
3346
|
+
args: ListToolsArgs;
|
|
3347
|
+
result: ListToolsResult;
|
|
3348
|
+
};
|
|
3349
|
+
"POST /tools/invoke": {
|
|
3350
|
+
args: InvokeToolArgs;
|
|
3351
|
+
result: InvokeToolResult;
|
|
3352
|
+
};
|
|
3353
|
+
"GET /agents/catalog": {
|
|
3354
|
+
args: GetAgentCatalogArgs;
|
|
3355
|
+
result: GetAgentCatalogResult;
|
|
3356
|
+
};
|
|
3357
|
+
"POST /agents/catalog/rpc": {
|
|
3358
|
+
args: PostAgentCatalogRpcArgs;
|
|
3359
|
+
result: PostAgentCatalogRpcResult;
|
|
3360
|
+
};
|
|
3361
|
+
"GET /agents/catalog/{agent_id}/execution": {
|
|
3362
|
+
args: GetAgentExecutionArgs;
|
|
3363
|
+
result: GetAgentExecutionResult;
|
|
3364
|
+
};
|
|
3365
|
+
"GET /agents/catalog/status": {
|
|
3366
|
+
args: GetAgentCatalogStatusArgs;
|
|
3367
|
+
result: GetAgentCatalogStatusResult;
|
|
3368
|
+
};
|
|
3369
|
+
"GET /prompt-matrix/paths": {
|
|
3370
|
+
args: PromptMatrixPathsArgs;
|
|
3371
|
+
result: PromptMatrixPathsResult;
|
|
3372
|
+
};
|
|
3373
|
+
"GET /prompt-matrix/library": {
|
|
3374
|
+
args: GetLibraryArgs;
|
|
3375
|
+
result: GetLibraryResult;
|
|
3376
|
+
};
|
|
3377
|
+
"PUT /prompt-matrix/library": {
|
|
3378
|
+
args: PutLibraryArgs;
|
|
3379
|
+
result: PutLibraryResult;
|
|
3380
|
+
};
|
|
3381
|
+
"GET /prompt-matrix/lists": {
|
|
3382
|
+
args: GetListsArgs;
|
|
3383
|
+
result: GetListsResult;
|
|
3384
|
+
};
|
|
3385
|
+
"PUT /prompt-matrix/lists": {
|
|
3386
|
+
args: PutListsArgs;
|
|
3387
|
+
result: PutListsResult;
|
|
3388
|
+
};
|
|
3389
|
+
"GET /prompt-matrix/templates": {
|
|
3390
|
+
args: GetTemplatesArgs;
|
|
3391
|
+
result: GetTemplatesResult;
|
|
3392
|
+
};
|
|
3393
|
+
"PUT /prompt-matrix/templates": {
|
|
3394
|
+
args: PutTemplatesArgs;
|
|
3395
|
+
result: PutTemplatesResult;
|
|
3396
|
+
};
|
|
3397
|
+
"GET /prompt-matrix/prompts": {
|
|
3398
|
+
args: GetPromptsArgs;
|
|
3399
|
+
result: GetPromptsResult;
|
|
3400
|
+
};
|
|
3401
|
+
"PUT /prompt-matrix/prompts": {
|
|
3402
|
+
args: PutPromptsArgs;
|
|
3403
|
+
result: PutPromptsResult;
|
|
3404
|
+
};
|
|
3405
|
+
"GET /prompt-matrix/variation-batches": {
|
|
3406
|
+
args: GetVariationBatchesArgs;
|
|
3407
|
+
result: GetVariationBatchesResult;
|
|
3408
|
+
};
|
|
3409
|
+
"PUT /prompt-matrix/variation-batches": {
|
|
3410
|
+
args: PutVariationBatchesArgs;
|
|
3411
|
+
result: PutVariationBatchesResult;
|
|
3412
|
+
};
|
|
3413
|
+
}
|
|
3414
|
+
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
3415
|
+
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
3416
|
+
|
|
3417
|
+
export { type AdminAgentFromChatArgs, type AdminAgentFromChatResult, type AdminIngestFilesystemArgs, type AdminIngestFilesystemResult, type AdminToolsListToolsArgs, type AdminToolsListToolsResult, type AgentBlocksStartRequest, type AgentContextPolicy, type AgentDetail, type AgentFromChatArgs, type AgentFromChatRequest, type AgentFromChatResult, type AgentOwnership, type AgentServiceListSkillsArgs, type AgentServiceListSkillsResult, type AgentServiceListToolsArgs, type AgentServiceListToolsResult, type AgentSpec, type AgentSummary, type AgentTestBatchRequest, type AgentTestBatchResponse, type AgentTestResult, type AgentVariableControlInput, type AgentVariableDefinition, type AgentVariableDetail, type AgentVariableInput, type AgentVersionInfo, type AgentsStartAgentArgs, type AgentsStartAgentPostArgs, type AgentsStartAgentPostResult, type AgentsStartAgentResult, type BuildResponse, type BuiltinPromptCatalogResponse, type CacheBustArgs, type CacheBustResponse, type CacheBustResult, type CancelMatrixBattleArgs, type CancelMatrixBattleResult, type CatalogRpcRequest, type CatalogTree, type CategoryCreate, type CategoryList, type CategoryPatch, type CategoryRow, type CellRef, type Clearance, type CodeDeclaration, type CombinedPromptCatalogResponse, type ConfirmProposedDirectiveArgs, type ConfirmProposedDirectiveResult, type ContextAnswer, type ContextAnswerBothRequest, type ContextAnswerBothResponse, type ContextCompare, type ContextCompareCheck, type ContextCompareDifference, type ContextCompareSelection, type ContextCompareSide, type ContextDecidedBy, type ContextDelivered, type ContextDeliveredArgs, type ContextDeliveredRef, type ContextDeliveredResult, type ContextDeliveredSide, type ContextEnvelope, type ContextFollowLag, type ContextItemBinding, type ContextOrganizationOption, type ContextOrganizationsResponse, type ContextPreviewBindings, type ContextPreviewRefusal, type ContextPreviewRequest, type ContextPreviewResponse, type ContextPreviewSelection, type ContextPreviewVariables, type ContextProvenance, type ContextReceipt, type ContextReceiptBlock, type ContextReceiptRoomView, type ContextReceiptRow, type ContextReceiptWithheldItem, type ContextRenderRequest, type ContextRenderResponse, type ContextRule, type ContextSelection, type ContextSystemItem, type ContextSystemItems, type ContextTarget, type ContextViewTarget, type ContextViewedText, type ControlBinding, type CreateAgentArgs, type CreateAgentInput, type CreateAgentResult, type CreateCategoryArgs, type CreateCategoryResult, type CreateSkillArgs, type CreateSkillResult, type CreateStructuredAgentArgs, type CreateStructuredAgentResult, type DeleteCategoryArgs, type DeleteCategoryResult, type DeleteSkillArgs, type DeleteSkillResult, type DirectiveApplyResult, type DirectiveApplyStateRequest, type DirectiveApplyStateResult, type DirectiveCatalog, type DirectiveConfirmRequest, type DirectiveConfirmResult, type DirectiveExecuteRequest, type DirectiveItemState, type DirectiveNounSchemas, type DirectiveReceipt, type DirectiveShellState, type ExecuteRealtimeToolRouteArgs, type ExecuteRealtimeToolRouteResult, type ExecuteToolTestArgs, type ExecuteToolTestResult, type ExecuteWriteDirectiveArgs, type ExecuteWriteDirectiveResult, type ExecutionAgentDefinition, type FailureAnalyticsArgs, type FailureAnalyticsResponse, type FailureAnalyticsResult, type FaultDomainCount, type FirstRunsResponse, type GetAgentArgs, type GetAgentCatalogArgs, type GetAgentCatalogResult, type GetAgentCatalogStatusArgs, type GetAgentCatalogStatusResult, type GetAgentExecutionArgs, type GetAgentExecutionDefinitionArgs, type GetAgentExecutionDefinitionResult, type GetAgentExecutionResult, type GetAgentResult, type GetAgentVersionExecutionDefinitionArgs, type GetAgentVersionExecutionDefinitionResult, type GetAllPromptBuiltinsArgs, type GetAllPromptBuiltinsResult, type GetAllToolsArgs, type GetAllToolsResult, type GetCapabilityManifestArgs, type GetCapabilityManifestResult, type GetDbSurfaceManifestArgs, type GetDbSurfaceManifestResult, type GetDirectiveCatalogArgs, type GetDirectiveCatalogResult, type GetDirectiveNounSchemasArgs, type GetDirectiveNounSchemasResult, type GetLibraryArgs, type GetLibraryResult, type GetListsArgs, type GetListsResult, type GetMcpDiscoveredToolsArgs, type GetMcpDiscoveredToolsResult, type GetNativeToolsArgs, type GetNativeToolsResult, type GetOrCreateTestSessionArgs, type GetOrCreateTestSessionResult, type GetPortableAgentArgs, type GetPortableAgentResult, type GetPortableAgentSummaryArgs, type GetPortableAgentSummaryResult, type GetPortableAgentVersionArgs, type GetPortableAgentVersionResult, type GetPromptsArgs, type GetPromptsResult, type GetRealtimeSessionArgs, type GetRealtimeSessionResult, type GetRealtimeToolsArgs, type GetRealtimeToolsResult, type GetSkillArgs, type GetSkillResult, type GetTemplatesArgs, type GetTemplatesResult, type GetToolByIdArgs, type GetToolByIdResult, type GetToolDetailArgs, type GetToolDetailResult, type GetToolResponse, type GetToolsBySourceKindArgs, type GetToolsBySourceKindResult, type GetToolsForAppArgs, type GetToolsForAppResult, type GetUserPromptsAndBuiltinsArgs, type GetUserPromptsAndBuiltinsResult, type GetUserPromptsArgs, type GetUserPromptsResult, type GetVariationBatchesArgs, type GetVariationBatchesResult, type GetVersionArgs, type GetVersionResult, type IngestReport, type InvalidateAgentCacheArgs, type InvalidateAgentCacheResponse, type InvalidateAgentCacheResult, type InvocationContext, type InvokeToolArgs, type InvokeToolResult, type JudgeFirstRunsArgs, type JudgeFirstRunsResult, type KeepBuildArgs, type KeepBuildResult, type KeepResponse, type KindActionEntry, type LibraryPut, type ListAgentsArgs, type ListAgentsResult, type ListCategoriesArgs, type ListCategoriesResult, type ListContextOrganizationsArgs, type ListContextOrganizationsResult, type ListModelsArgs, type ListModelsResult, type ListScenariosArgs, type ListScenariosResult, type ListToolsArgs, type ListToolsBySourceKindResponse, type ListToolsForExecutorResponse, type ListToolsResponse, type ListToolsResult, type ListVersionsArgs, type ListVersionsResult, type ListsPut, type ManifestClientToolEntry, type ManifestGroupEntry, type ManifestToolEntry, type ManifestValueEntry, type ManifestWriteTargetEntry, type MatrixCancelResponse, type MatrixRunRequest, type MergeFieldBinding, type MergeFieldSort, type MergeFieldTransform, type MockScenario, type MockScenarioList, type MockStreamArgs, type MockStreamRequest, type MockStreamResult, type ModelAuthoringFacts, type ModelCapabilitySummary, type ModelClassInfo, type ModelControlInfo, type ModelInfo, type NounDirectives, type Operations, type OrchestraBadge, type PatchCategoryArgs, type PatchCategoryResult, type PatchSkillArgs, type PatchSkillResult, type PicklistBinding, type PortableAgentBundle, type PortableAgentRequest, type PortableAgentSummary, type PortableAgentVersion, type PortableSkill, type PortableTool, type PortableUnavailable, type PostAgentCatalogRpcArgs, type PostAgentCatalogRpcResult, type PreviewAnswerBothArgs, type PreviewAnswerBothResult, type PreviewContextArgs, type PreviewContextResult, type PreviewVariableBindingArgs, type PreviewVariableBindingResult, type PromptMatrixPathsArgs, type PromptMatrixPathsResult, type PromptWarmRequest, type PromptWarmResponse, type PromptsPut, type PutLibraryArgs, type PutLibraryResult, type PutListsArgs, type PutListsResult, type PutPromptsArgs, type PutPromptsResult, type PutTemplatesArgs, type PutTemplatesResult, type PutVariationBatchesArgs, type PutVariationBatchesResult, type ReadBuildArgs, type ReadBuildResult, type ReadDirectiveApplyStateArgs, type ReadDirectiveApplyStateResult, type RealtimeSessionRequest, type RealtimeSessionResponse, type RealtimeTool, type RealtimeToolsRequest, type RealtimeToolsResponse, type RenderContextArgs, type RenderContextResult, type RunAgentTestsArgs, type RunAgentTestsResult, type RunMatrixBattleArgs, type RunMatrixBattleResult, type SchemaFinding, type SchemaGateReport, type ScreenRunApproval, type ScreenRunArgs, type ScreenRunError, type ScreenRunRequest, type ScreenRunResponse, type ScreenRunResult, type SkillCreate, type SkillInfo, type SkillPatch, type SkillRow, type SkillsList, type SkillsListSkillsArgs, type SkillsListSkillsResult, type SpecVariable, type StartAgentBlocksArgs, type StartAgentBlocksResult, type StartBuildArgs, type StartBuildBody, type StartBuildResponse, type StartBuildResult, type StartMandatedAgentArgs, type StartMandatedAgentResult, type StartPromptArgs, type StartPromptResult, type SurfaceManifest, type TemplatesPut, type ToolDetail, type ToolDetailArgs, type ToolDetailResponse, type ToolDetailResult, type ToolExecuteRequest, type ToolExecuteResponse, type ToolFailureRow, type ToolFailureStat, type ToolFinding, type ToolInfo, type ToolRecord, type ToolRequest, type ToolResponse, type ToolRow, type ToolSummary, type ToolTestExecuteRequest, type ToolTestSessionResponse, type ToolTestingListToolsArgs, type ToolTestingListToolsResult, type ToolUpdateRequest, type UpdateAgentArgs, type UpdateAgentInput, type UpdateAgentResult, type UpdateToolArgs, type UpdateToolResult, type UserPromptCatalogResponse, type ValidateAllOpArgs, type ValidateAllOpResult, type ValidateSchemaArgs, type ValidateSchemaRequest, type ValidateSchemaResult, type ValidationReportResponse, type VariableAssignmentSpec, type VariableBindingPreviewRequest, type VariableBindingPreviewResponse, type VariableComponentSpec, type VariationBatchesPut, type WarmAgentArgs, type WarmAgentBlocksArgs, type WarmAgentBlocksResponse, type WarmAgentBlocksResult, type WarmAgentResponse, type WarmAgentResult, type WarmPromptArgs, type WarmPromptResult, adminAgentFromChat, adminIngestFilesystem, adminToolsListTools, agentFromChat, agentServiceListSkills, agentServiceListTools, agentsStartAgent, agentsStartAgentPost, type aidream__api__routers__agents__WarmRequest, type aidream__api__routers__agents_blocks__WarmRequest, type aidream__api__routers__skills__IngestRequest, type aidream__api__routers__tool_testing__ToolListResponse, type aidream__services__admin_ops__tools_wire__ToolListResponse, cacheBust, call, cancelMatrixBattle, confirmProposedDirective, contextDelivered, createAgent, createCategory, createSkill, createStructuredAgent, deleteCategory, deleteSkill, executeRealtimeToolRoute, executeToolTest, executeWriteDirective, failureAnalytics, getAgent, getAgentCatalog, getAgentCatalogStatus, getAgentExecution, getAgentExecutionDefinition, getAgentVersionExecutionDefinition, getAllPromptBuiltins, getAllTools, getCapabilityManifest, getDbSurfaceManifest, getDirectiveCatalog, getDirectiveNounSchemas, getLibrary, getLists, getMcpDiscoveredTools, getNativeTools, getOrCreateTestSession, getPortableAgent, getPortableAgentSummary, getPortableAgentVersion, getPrompts, getRealtimeSession, getRealtimeTools, getSkill, getTemplates, getToolById, getToolDetail, getToolsBySourceKind, getToolsForApp, getUserPrompts, getUserPromptsAndBuiltins, getVariationBatches, getVersion, invalidateAgentCache, invokeTool, judgeFirstRuns, keepBuild, listAgents, listCategories, listContextOrganizations, listModels, listScenarios, listTools, listVersions, mockStream, patchCategory, patchSkill, postAgentCatalogRpc, previewAnswerBoth, previewContext, previewVariableBinding, promptMatrixPaths, putLibrary, putLists, putPrompts, putTemplates, putVariationBatches, readBuild, readDirectiveApplyState, renderContext, runAgentTests, runMatrixBattle, screenRun, skillsListSkills, startAgentBlocks, startBuild, startMandatedAgent, startPrompt, toolDetail, toolTestingListTools, updateAgent, updateTool, validateAll, validateSchema, warmAgent, warmAgentBlocks, warmPrompt };
|