@tai42/api-client 25.0.0 → 26.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents.d.ts +1 -0
- package/dist/agents.d.ts.map +1 -1
- package/dist/agents.js.map +1 -1
- package/dist/client/auth-client.d.ts +1 -0
- package/dist/client/auth-client.d.ts.map +1 -1
- package/dist/client/backup-client.d.ts +1 -0
- package/dist/client/backup-client.d.ts.map +1 -1
- package/dist/client/capabilities-client.d.ts +1 -0
- package/dist/client/capabilities-client.d.ts.map +1 -1
- package/dist/client/channels-client.d.ts +4 -1
- package/dist/client/channels-client.d.ts.map +1 -1
- package/dist/client/config-client.d.ts +1 -0
- package/dist/client/config-client.d.ts.map +1 -1
- package/dist/client/connectors-client.d.ts +7 -0
- package/dist/client/connectors-client.d.ts.map +1 -1
- package/dist/client/conversations-client.d.ts +9 -9
- package/dist/client/hooks-client.d.ts +1 -1
- package/dist/client/index.d.ts +529 -198
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +9 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/interactions-client.d.ts +1 -1
- package/dist/client/manifest-client.d.ts +161 -30
- package/dist/client/manifest-client.d.ts.map +1 -1
- package/dist/client/manifest-client.js +16 -5
- package/dist/client/manifest-client.js.map +1 -1
- package/dist/client/marketplace-client.d.ts +132 -83
- package/dist/client/marketplace-client.d.ts.map +1 -1
- package/dist/client/observability-client.d.ts +2 -2
- package/dist/client/presets-client.d.ts +113 -11
- package/dist/client/presets-client.d.ts.map +1 -1
- package/dist/client/presets-client.js +4 -3
- package/dist/client/presets-client.js.map +1 -1
- package/dist/client/profiles-client.d.ts +1 -0
- package/dist/client/profiles-client.d.ts.map +1 -1
- package/dist/client/states-client.d.ts +30 -21
- package/dist/client/states-client.d.ts.map +1 -1
- package/dist/client/states-client.js +5 -0
- package/dist/client/states-client.js.map +1 -1
- package/dist/client/storage-client.d.ts +19 -0
- package/dist/client/storage-client.d.ts.map +1 -1
- package/dist/client/storage-client.js +14 -17
- package/dist/client/storage-client.js.map +1 -1
- package/dist/client/templates-client.d.ts +20 -2
- package/dist/client/templates-client.d.ts.map +1 -1
- package/dist/client/templates-client.js +1 -1
- package/dist/client/templates-client.js.map +1 -1
- package/dist/client/tool-extensions-client.d.ts +3 -0
- package/dist/client/tool-extensions-client.d.ts.map +1 -1
- package/dist/client/transport.d.ts +2 -1
- package/dist/client/transport.d.ts.map +1 -1
- package/dist/client/transport.js.map +1 -1
- package/dist/errors.d.ts +13 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +31 -0
- package/dist/errors.js.map +1 -1
- package/dist/fleet-report.d.ts +14 -2
- package/dist/fleet-report.d.ts.map +1 -1
- package/dist/fleet-report.js +41 -10
- package/dist/fleet-report.js.map +1 -1
- package/dist/generated/api-routes.d.ts +17 -1
- package/dist/generated/api-routes.d.ts.map +1 -1
- package/dist/generated/api-routes.js +7 -2
- package/dist/generated/api-routes.js.map +1 -1
- package/dist/generated/openapi-schemas.d.ts +737 -160
- package/dist/generated/openapi-schemas.d.ts.map +1 -1
- package/dist/generated/openapi-schemas.js +46 -27
- package/dist/generated/openapi-schemas.js.map +1 -1
- package/dist/generated/served-schemas.d.ts +80 -16
- package/dist/generated/served-schemas.d.ts.map +1 -1
- package/dist/generated/served-schemas.js +64 -4
- package/dist/generated/served-schemas.js.map +1 -1
- package/dist/http.d.ts +6 -0
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +11 -0
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/auth-routes.d.ts +34 -8
- package/dist/schemas/auth-routes.d.ts.map +1 -1
- package/dist/schemas/auth-routes.js +16 -8
- package/dist/schemas/auth-routes.js.map +1 -1
- package/dist/schemas/backup.d.ts +13 -0
- package/dist/schemas/backup.d.ts.map +1 -1
- package/dist/schemas/backup.js +5 -0
- package/dist/schemas/backup.js.map +1 -1
- package/dist/schemas/capabilities.d.ts +11 -6
- package/dist/schemas/capabilities.d.ts.map +1 -1
- package/dist/schemas/capabilities.js +10 -6
- package/dist/schemas/capabilities.js.map +1 -1
- package/dist/schemas/channels.d.ts +7 -1
- package/dist/schemas/channels.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +6 -0
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/conversations.d.ts +11 -11
- package/dist/schemas/extensions.d.ts +8 -4
- package/dist/schemas/extensions.d.ts.map +1 -1
- package/dist/schemas/extensions.js +5 -4
- package/dist/schemas/extensions.js.map +1 -1
- package/dist/schemas/hooks.d.ts +1 -1
- package/dist/schemas/interactions.d.ts +3 -3
- package/dist/schemas/manifest-mcp.d.ts +79 -0
- package/dist/schemas/manifest-mcp.d.ts.map +1 -1
- package/dist/schemas/manifest-mcp.js +19 -0
- package/dist/schemas/manifest-mcp.js.map +1 -1
- package/dist/schemas/marketplace.d.ts +155 -84
- package/dist/schemas/marketplace.d.ts.map +1 -1
- package/dist/schemas/marketplace.js +7 -2
- package/dist/schemas/marketplace.js.map +1 -1
- package/dist/schemas/observability.d.ts +3 -3
- package/dist/schemas/presets.d.ts +107 -14
- package/dist/schemas/presets.d.ts.map +1 -1
- package/dist/schemas/presets.js +7 -5
- package/dist/schemas/presets.js.map +1 -1
- package/dist/schemas/profiles.d.ts +1 -0
- package/dist/schemas/profiles.d.ts.map +1 -1
- package/dist/schemas/served.d.ts +67 -13
- package/dist/schemas/served.d.ts.map +1 -1
- package/dist/schemas/states.d.ts +22 -22
- package/dist/schemas/storage.d.ts +30 -1
- package/dist/schemas/storage.d.ts.map +1 -1
- package/dist/schemas/storage.js +8 -1
- package/dist/schemas/storage.js.map +1 -1
- package/dist/schemas/system-kinds.d.ts +1 -0
- package/dist/schemas/system-kinds.d.ts.map +1 -1
- package/dist/schemas/templates.d.ts +110 -83
- package/dist/schemas/templates.d.ts.map +1 -1
- package/dist/schemas/templates.js +14 -2
- package/dist/schemas/templates.js.map +1 -1
- package/dist/schemas/tools.d.ts +1 -1
- package/package.json +3 -3
- package/src/agents.ts +1 -0
- package/src/client/index.ts +9 -2
- package/src/client/manifest-client.ts +39 -12
- package/src/client/presets-client.ts +20 -6
- package/src/client/states-client.ts +10 -0
- package/src/client/storage-client.ts +21 -17
- package/src/client/templates-client.ts +1 -1
- package/src/client/transport.ts +3 -1
- package/src/errors.ts +34 -0
- package/src/fleet-report.ts +46 -7
- package/src/generated/api-routes.ts +7 -2
- package/src/generated/openapi-schemas.ts +80 -31
- package/src/generated/served-schemas.ts +64 -4
- package/src/http.ts +12 -0
- package/src/index.ts +19 -2
- package/src/schemas/auth-routes.ts +18 -8
- package/src/schemas/backup.ts +7 -0
- package/src/schemas/capabilities.ts +10 -6
- package/src/schemas/channels.ts +2 -0
- package/src/schemas/extensions.ts +5 -4
- package/src/schemas/manifest-mcp.ts +25 -0
- package/src/schemas/marketplace.ts +7 -2
- package/src/schemas/presets.ts +13 -6
- package/src/schemas/storage.ts +10 -1
- package/src/schemas/templates.ts +17 -1
package/dist/client/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/** Composition root: assembles the per-resource sub-clients into the client. */
|
|
2
|
+
import { holdersFromError, storedPresetFaultFromError } from '../errors';
|
|
2
3
|
import type { ApiConfig } from '../http';
|
|
3
4
|
export type { AddUrlToScopeBody, ApiKeyBody, ClaimLinkBody, PinRoutePublicBody, RoleCreateBody, RoleUpdateBody, } from './auth-client';
|
|
4
5
|
export type { AddServerArgs, DiscoverServerTarget, SetProviderClientArgs, StartConnectArgs, } from './connectors-client';
|
|
5
6
|
export type { ConversationMessageSearchQuery, ConversationThreadFilters, ConversationThreadMessageBody, ConversationTranscriptQuery, } from './conversations-client';
|
|
6
7
|
export type { TopicVerifierBody } from './hooks-client';
|
|
7
8
|
export { isSafeApiPath } from './login-client';
|
|
8
|
-
export type { ApiToolsListsBody } from './manifest-client';
|
|
9
|
+
export type { ApiToolsListsBody, McpToolFilter } from './manifest-client';
|
|
9
10
|
export type { MarketplaceInstallBody, MarketplaceInstallPreviewBody, MarketplaceSearchQuery, MarketplaceUninstallBody, } from './marketplace-client';
|
|
10
11
|
export type { MetricsQuery, RunsQuery } from './observability-client';
|
|
11
12
|
export type { ValidateConditionBody } from './policy-client';
|
|
@@ -88,7 +89,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
88
89
|
base: string;
|
|
89
90
|
paths: {
|
|
90
91
|
path: string;
|
|
91
|
-
methods: ("GET" | "
|
|
92
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
92
93
|
public: boolean;
|
|
93
94
|
}[];
|
|
94
95
|
} | null | undefined;
|
|
@@ -136,7 +137,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
136
137
|
conflict_path: string;
|
|
137
138
|
full_path: string;
|
|
138
139
|
item: string;
|
|
139
|
-
methods: ("GET" | "
|
|
140
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
140
141
|
}[];
|
|
141
142
|
delivery: "package" | "descriptor";
|
|
142
143
|
items: {
|
|
@@ -146,7 +147,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
146
147
|
kind: string;
|
|
147
148
|
routes: {
|
|
148
149
|
full_path: string;
|
|
149
|
-
methods: ("GET" | "
|
|
150
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
150
151
|
path: string;
|
|
151
152
|
public: boolean;
|
|
152
153
|
}[];
|
|
@@ -155,12 +156,12 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
155
156
|
new_public_routes: {
|
|
156
157
|
full_path: string;
|
|
157
158
|
item: string;
|
|
158
|
-
methods: ("GET" | "
|
|
159
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
159
160
|
}[];
|
|
160
161
|
public_routes: {
|
|
161
162
|
full_path: string;
|
|
162
163
|
item: string;
|
|
163
|
-
methods: ("GET" | "
|
|
164
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
164
165
|
}[];
|
|
165
166
|
ref: string;
|
|
166
167
|
required_env: {
|
|
@@ -175,27 +176,28 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
175
176
|
package: string | null;
|
|
176
177
|
pip_output: string | null;
|
|
177
178
|
ref: string;
|
|
179
|
+
routes: {
|
|
180
|
+
full_path: string;
|
|
181
|
+
item: string;
|
|
182
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
183
|
+
public: boolean;
|
|
184
|
+
}[];
|
|
185
|
+
version: string;
|
|
186
|
+
advisories: {
|
|
187
|
+
id: number;
|
|
188
|
+
listing: string;
|
|
189
|
+
affected_versions: string;
|
|
190
|
+
severity: string;
|
|
191
|
+
summary: string;
|
|
192
|
+
created_at: string;
|
|
193
|
+
withdrawn_at: string | null;
|
|
194
|
+
}[];
|
|
178
195
|
reload: {
|
|
179
196
|
awaiting_respawn: {
|
|
180
197
|
keys: string[];
|
|
181
198
|
name: string;
|
|
182
199
|
}[];
|
|
183
200
|
env_keys: number;
|
|
184
|
-
fanout: {
|
|
185
|
-
error: string | null;
|
|
186
|
-
local_only: boolean | null;
|
|
187
|
-
mode: string;
|
|
188
|
-
note: string | null;
|
|
189
|
-
op: string | null;
|
|
190
|
-
reachable: boolean | null;
|
|
191
|
-
results: {
|
|
192
|
-
detail: string | null;
|
|
193
|
-
error: string | null;
|
|
194
|
-
name: string;
|
|
195
|
-
outcome: string;
|
|
196
|
-
payload: unknown;
|
|
197
|
-
}[] | null;
|
|
198
|
-
};
|
|
199
201
|
recycle: {
|
|
200
202
|
fresh: {
|
|
201
203
|
generation: number;
|
|
@@ -215,49 +217,50 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
215
217
|
name: string | null;
|
|
216
218
|
} | null;
|
|
217
219
|
} | null;
|
|
220
|
+
span_release_error: string | null;
|
|
218
221
|
status: string;
|
|
222
|
+
fanout: {
|
|
223
|
+
mode: "local-only";
|
|
224
|
+
note: string;
|
|
225
|
+
} | {
|
|
226
|
+
error: string | null;
|
|
227
|
+
local_only: boolean;
|
|
228
|
+
op: string;
|
|
229
|
+
reachable: boolean;
|
|
230
|
+
results: {
|
|
231
|
+
detail: string | null;
|
|
232
|
+
error: string | null;
|
|
233
|
+
name: string;
|
|
234
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
235
|
+
payload: unknown;
|
|
236
|
+
}[];
|
|
237
|
+
mode: "fleet";
|
|
238
|
+
} | {
|
|
239
|
+
error: string | null;
|
|
240
|
+
local_only: boolean;
|
|
241
|
+
op: string;
|
|
242
|
+
reachable: boolean;
|
|
243
|
+
results: {
|
|
244
|
+
detail: string | null;
|
|
245
|
+
error: string | null;
|
|
246
|
+
name: string;
|
|
247
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
248
|
+
payload: unknown;
|
|
249
|
+
}[];
|
|
250
|
+
mode: "unreachable";
|
|
251
|
+
};
|
|
219
252
|
};
|
|
220
|
-
routes: {
|
|
221
|
-
full_path: string;
|
|
222
|
-
item: string;
|
|
223
|
-
methods: ("GET" | "DELETE" | "PATCH" | "POST" | "PUT")[];
|
|
224
|
-
public: boolean;
|
|
225
|
-
}[];
|
|
226
|
-
version: string;
|
|
227
|
-
advisories: {
|
|
228
|
-
id: number;
|
|
229
|
-
listing: string;
|
|
230
|
-
affected_versions: string;
|
|
231
|
-
severity: string;
|
|
232
|
-
summary: string;
|
|
233
|
-
created_at: string;
|
|
234
|
-
withdrawn_at: string | null;
|
|
235
|
-
}[];
|
|
236
253
|
}>;
|
|
237
254
|
readonly uninstallMarketplacePlugin: (body: import("./marketplace-client").MarketplaceUninstallBody) => Promise<{
|
|
238
255
|
notes: string[];
|
|
239
256
|
ref: string;
|
|
257
|
+
uninstalled: boolean;
|
|
240
258
|
reload: {
|
|
241
259
|
awaiting_respawn: {
|
|
242
260
|
keys: string[];
|
|
243
261
|
name: string;
|
|
244
262
|
}[];
|
|
245
263
|
env_keys: number;
|
|
246
|
-
fanout: {
|
|
247
|
-
error: string | null;
|
|
248
|
-
local_only: boolean | null;
|
|
249
|
-
mode: string;
|
|
250
|
-
note: string | null;
|
|
251
|
-
op: string | null;
|
|
252
|
-
reachable: boolean | null;
|
|
253
|
-
results: {
|
|
254
|
-
detail: string | null;
|
|
255
|
-
error: string | null;
|
|
256
|
-
name: string;
|
|
257
|
-
outcome: string;
|
|
258
|
-
payload: unknown;
|
|
259
|
-
}[] | null;
|
|
260
|
-
};
|
|
261
264
|
recycle: {
|
|
262
265
|
fresh: {
|
|
263
266
|
generation: number;
|
|
@@ -277,36 +280,67 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
277
280
|
name: string | null;
|
|
278
281
|
} | null;
|
|
279
282
|
} | null;
|
|
283
|
+
span_release_error: string | null;
|
|
280
284
|
status: string;
|
|
285
|
+
fanout: {
|
|
286
|
+
mode: "local-only";
|
|
287
|
+
note: string;
|
|
288
|
+
} | {
|
|
289
|
+
error: string | null;
|
|
290
|
+
local_only: boolean;
|
|
291
|
+
op: string;
|
|
292
|
+
reachable: boolean;
|
|
293
|
+
results: {
|
|
294
|
+
detail: string | null;
|
|
295
|
+
error: string | null;
|
|
296
|
+
name: string;
|
|
297
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
298
|
+
payload: unknown;
|
|
299
|
+
}[];
|
|
300
|
+
mode: "fleet";
|
|
301
|
+
} | {
|
|
302
|
+
error: string | null;
|
|
303
|
+
local_only: boolean;
|
|
304
|
+
op: string;
|
|
305
|
+
reachable: boolean;
|
|
306
|
+
results: {
|
|
307
|
+
detail: string | null;
|
|
308
|
+
error: string | null;
|
|
309
|
+
name: string;
|
|
310
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
311
|
+
payload: unknown;
|
|
312
|
+
}[];
|
|
313
|
+
mode: "unreachable";
|
|
314
|
+
};
|
|
281
315
|
} | null;
|
|
282
|
-
uninstalled: boolean;
|
|
283
316
|
}>;
|
|
284
317
|
readonly updateMarketplacePlugin: (body: import("./marketplace-client").MarketplaceInstallBody) => Promise<{
|
|
285
318
|
notes: string[];
|
|
286
319
|
package: string | null;
|
|
287
320
|
pip_output: string | null;
|
|
288
321
|
ref: string;
|
|
322
|
+
routes: {
|
|
323
|
+
full_path: string;
|
|
324
|
+
item: string;
|
|
325
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
326
|
+
public: boolean;
|
|
327
|
+
}[];
|
|
328
|
+
version: string;
|
|
329
|
+
advisories: {
|
|
330
|
+
id: number;
|
|
331
|
+
listing: string;
|
|
332
|
+
affected_versions: string;
|
|
333
|
+
severity: string;
|
|
334
|
+
summary: string;
|
|
335
|
+
created_at: string;
|
|
336
|
+
withdrawn_at: string | null;
|
|
337
|
+
}[];
|
|
289
338
|
reload: {
|
|
290
339
|
awaiting_respawn: {
|
|
291
340
|
keys: string[];
|
|
292
341
|
name: string;
|
|
293
342
|
}[];
|
|
294
343
|
env_keys: number;
|
|
295
|
-
fanout: {
|
|
296
|
-
error: string | null;
|
|
297
|
-
local_only: boolean | null;
|
|
298
|
-
mode: string;
|
|
299
|
-
note: string | null;
|
|
300
|
-
op: string | null;
|
|
301
|
-
reachable: boolean | null;
|
|
302
|
-
results: {
|
|
303
|
-
detail: string | null;
|
|
304
|
-
error: string | null;
|
|
305
|
-
name: string;
|
|
306
|
-
outcome: string;
|
|
307
|
-
payload: unknown;
|
|
308
|
-
}[] | null;
|
|
309
|
-
};
|
|
310
344
|
recycle: {
|
|
311
345
|
fresh: {
|
|
312
346
|
generation: number;
|
|
@@ -326,30 +360,46 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
326
360
|
name: string | null;
|
|
327
361
|
} | null;
|
|
328
362
|
} | null;
|
|
363
|
+
span_release_error: string | null;
|
|
329
364
|
status: string;
|
|
365
|
+
fanout: {
|
|
366
|
+
mode: "local-only";
|
|
367
|
+
note: string;
|
|
368
|
+
} | {
|
|
369
|
+
error: string | null;
|
|
370
|
+
local_only: boolean;
|
|
371
|
+
op: string;
|
|
372
|
+
reachable: boolean;
|
|
373
|
+
results: {
|
|
374
|
+
detail: string | null;
|
|
375
|
+
error: string | null;
|
|
376
|
+
name: string;
|
|
377
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
378
|
+
payload: unknown;
|
|
379
|
+
}[];
|
|
380
|
+
mode: "fleet";
|
|
381
|
+
} | {
|
|
382
|
+
error: string | null;
|
|
383
|
+
local_only: boolean;
|
|
384
|
+
op: string;
|
|
385
|
+
reachable: boolean;
|
|
386
|
+
results: {
|
|
387
|
+
detail: string | null;
|
|
388
|
+
error: string | null;
|
|
389
|
+
name: string;
|
|
390
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
391
|
+
payload: unknown;
|
|
392
|
+
}[];
|
|
393
|
+
mode: "unreachable";
|
|
394
|
+
};
|
|
330
395
|
};
|
|
331
|
-
routes: {
|
|
332
|
-
full_path: string;
|
|
333
|
-
item: string;
|
|
334
|
-
methods: ("GET" | "DELETE" | "PATCH" | "POST" | "PUT")[];
|
|
335
|
-
public: boolean;
|
|
336
|
-
}[];
|
|
337
|
-
version: string;
|
|
338
|
-
advisories: {
|
|
339
|
-
id: number;
|
|
340
|
-
listing: string;
|
|
341
|
-
affected_versions: string;
|
|
342
|
-
severity: string;
|
|
343
|
-
summary: string;
|
|
344
|
-
created_at: string;
|
|
345
|
-
withdrawn_at: string | null;
|
|
346
|
-
}[];
|
|
347
396
|
}>;
|
|
348
397
|
readonly upgradeAllMarketplacePlugins: () => Promise<{
|
|
349
398
|
results: {
|
|
350
399
|
detail: string;
|
|
351
400
|
outcome: "failed" | "upgraded" | "up-to-date" | "no-compatible-version";
|
|
352
401
|
ref: string;
|
|
402
|
+
span_release_error: string | null;
|
|
353
403
|
}[];
|
|
354
404
|
}>;
|
|
355
405
|
readonly getMarketplaceAdvisories: (signal?: AbortSignal) => Promise<{
|
|
@@ -399,7 +449,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
399
449
|
inputPreview: unknown;
|
|
400
450
|
latencyMs: number | null;
|
|
401
451
|
outputPreview: unknown;
|
|
402
|
-
status: "
|
|
452
|
+
status: "success" | "error";
|
|
403
453
|
tags: string[];
|
|
404
454
|
totalTokens: number | null;
|
|
405
455
|
traceId: string;
|
|
@@ -465,7 +515,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
465
515
|
readonly getResolvedSpanValue: (traceId: string, spanId: string, field: "input" | "output", options?: {
|
|
466
516
|
readonly pointer?: string;
|
|
467
517
|
}, signal?: AbortSignal) => Promise<{
|
|
468
|
-
field: "
|
|
518
|
+
field: "input" | "output";
|
|
469
519
|
pointer: string;
|
|
470
520
|
spanId: string;
|
|
471
521
|
traceId: string;
|
|
@@ -545,6 +595,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
545
595
|
} | null;
|
|
546
596
|
} | null;
|
|
547
597
|
skipped: number;
|
|
598
|
+
span_release_error: string | null;
|
|
548
599
|
updated: number;
|
|
549
600
|
fanout: {
|
|
550
601
|
mode: "local-only";
|
|
@@ -671,6 +722,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
671
722
|
owner_user_id: string;
|
|
672
723
|
}>;
|
|
673
724
|
readonly getMe: (signal?: AbortSignal) => Promise<{
|
|
725
|
+
access_control_enabled: boolean;
|
|
674
726
|
admin: boolean;
|
|
675
727
|
agents: string[];
|
|
676
728
|
mintable: boolean;
|
|
@@ -915,6 +967,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
915
967
|
mapped: string | null;
|
|
916
968
|
methods: string[];
|
|
917
969
|
path: string;
|
|
970
|
+
role_reach: "public" | "level" | "self_service" | "admin_only" | null;
|
|
918
971
|
summary: string;
|
|
919
972
|
tags: string[];
|
|
920
973
|
}[]>;
|
|
@@ -1052,7 +1105,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1052
1105
|
kwargs?: Record<string, unknown> | undefined;
|
|
1053
1106
|
};
|
|
1054
1107
|
kind: string;
|
|
1055
|
-
target_kind: "
|
|
1108
|
+
target_kind: "agent" | "tool";
|
|
1056
1109
|
target_name: string;
|
|
1057
1110
|
} | null;
|
|
1058
1111
|
tool: string;
|
|
@@ -1213,7 +1266,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1213
1266
|
id?: string | undefined;
|
|
1214
1267
|
kwargs?: Record<string, unknown> | undefined;
|
|
1215
1268
|
} | null;
|
|
1216
|
-
target_kind: "
|
|
1269
|
+
target_kind: "agent" | "tool";
|
|
1217
1270
|
target_name: string;
|
|
1218
1271
|
turns_per_hour_override: number | null;
|
|
1219
1272
|
} | {
|
|
@@ -1270,7 +1323,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1270
1323
|
id?: string | undefined;
|
|
1271
1324
|
kwargs?: Record<string, unknown> | undefined;
|
|
1272
1325
|
} | null;
|
|
1273
|
-
target_kind: "
|
|
1326
|
+
target_kind: "agent" | "tool";
|
|
1274
1327
|
target_name: string;
|
|
1275
1328
|
turns_per_hour_override: number | null;
|
|
1276
1329
|
})[];
|
|
@@ -1334,7 +1387,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1334
1387
|
id?: string | undefined;
|
|
1335
1388
|
kwargs?: Record<string, unknown> | undefined;
|
|
1336
1389
|
} | null;
|
|
1337
|
-
target_kind: "
|
|
1390
|
+
target_kind: "agent" | "tool";
|
|
1338
1391
|
target_name: string;
|
|
1339
1392
|
turns_per_hour_override: number | null;
|
|
1340
1393
|
} | {
|
|
@@ -1391,7 +1444,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1391
1444
|
id?: string | undefined;
|
|
1392
1445
|
kwargs?: Record<string, unknown> | undefined;
|
|
1393
1446
|
} | null;
|
|
1394
|
-
target_kind: "
|
|
1447
|
+
target_kind: "agent" | "tool";
|
|
1395
1448
|
target_name: string;
|
|
1396
1449
|
turns_per_hour_override: number | null;
|
|
1397
1450
|
};
|
|
@@ -1945,7 +1998,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1945
1998
|
}[];
|
|
1946
1999
|
}[];
|
|
1947
2000
|
} | null;
|
|
1948
|
-
target_kind: "
|
|
2001
|
+
target_kind: "agent" | "tool";
|
|
1949
2002
|
target_name: string;
|
|
1950
2003
|
}[];
|
|
1951
2004
|
total: number;
|
|
@@ -1997,7 +2050,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1997
2050
|
}[];
|
|
1998
2051
|
}[];
|
|
1999
2052
|
} | null;
|
|
2000
|
-
target_kind: "
|
|
2053
|
+
target_kind: "agent" | "tool";
|
|
2001
2054
|
target_name: string;
|
|
2002
2055
|
}>;
|
|
2003
2056
|
readonly setConversationConfig: (config: import("..").TargetConversationConfig) => Promise<{
|
|
@@ -2047,16 +2100,16 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2047
2100
|
}[];
|
|
2048
2101
|
}[];
|
|
2049
2102
|
} | null;
|
|
2050
|
-
target_kind: "
|
|
2103
|
+
target_kind: "agent" | "tool";
|
|
2051
2104
|
target_name: string;
|
|
2052
2105
|
};
|
|
2053
2106
|
created: boolean;
|
|
2054
|
-
target_kind: "
|
|
2107
|
+
target_kind: "agent" | "tool";
|
|
2055
2108
|
target_name: string;
|
|
2056
2109
|
}>;
|
|
2057
2110
|
readonly deleteConversationConfig: (targetKind: import("..").ConversationTargetKind, targetName: string) => Promise<{
|
|
2058
2111
|
removed: boolean;
|
|
2059
|
-
target_kind: "
|
|
2112
|
+
target_kind: "agent" | "tool";
|
|
2060
2113
|
target_name: string;
|
|
2061
2114
|
}>;
|
|
2062
2115
|
readonly listFailedConversationMessages: (signal?: AbortSignal) => Promise<{
|
|
@@ -2303,7 +2356,10 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2303
2356
|
states_erased: number;
|
|
2304
2357
|
}>;
|
|
2305
2358
|
readonly listChannels: (signal?: AbortSignal) => Promise<{
|
|
2306
|
-
channels:
|
|
2359
|
+
channels: {
|
|
2360
|
+
identity_hint: string | null;
|
|
2361
|
+
name: string;
|
|
2362
|
+
}[];
|
|
2307
2363
|
}>;
|
|
2308
2364
|
readonly listInteractions: (page: number, pageSize: number, signal?: AbortSignal) => Promise<{
|
|
2309
2365
|
next_page: number | null;
|
|
@@ -2312,7 +2368,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2312
2368
|
total: number;
|
|
2313
2369
|
truncated: boolean;
|
|
2314
2370
|
items: {
|
|
2315
|
-
answer_format: "
|
|
2371
|
+
answer_format: "free" | "confirm" | "form" | "text" | "select" | "external";
|
|
2316
2372
|
audience: string | null;
|
|
2317
2373
|
channel: string | null;
|
|
2318
2374
|
created_at: string;
|
|
@@ -2405,6 +2461,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2405
2461
|
scopes: string[];
|
|
2406
2462
|
}[];
|
|
2407
2463
|
};
|
|
2464
|
+
span_release_error: string | null;
|
|
2408
2465
|
fanout: {
|
|
2409
2466
|
mode: "local-only";
|
|
2410
2467
|
note: string;
|
|
@@ -2439,6 +2496,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2439
2496
|
readonly removeProvider: (id: string) => Promise<{
|
|
2440
2497
|
provider_id: string;
|
|
2441
2498
|
removed_clients: number;
|
|
2499
|
+
span_release_error: string | null;
|
|
2442
2500
|
fanout: {
|
|
2443
2501
|
mode: "local-only";
|
|
2444
2502
|
note: string;
|
|
@@ -2495,6 +2553,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2495
2553
|
scopes: string[];
|
|
2496
2554
|
}[];
|
|
2497
2555
|
};
|
|
2556
|
+
span_release_error: string | null;
|
|
2498
2557
|
fanout: {
|
|
2499
2558
|
mode: "local-only";
|
|
2500
2559
|
note: string;
|
|
@@ -2593,6 +2652,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2593
2652
|
} | {
|
|
2594
2653
|
added_manifest_entries: string[];
|
|
2595
2654
|
connection_id: string;
|
|
2655
|
+
span_release_error: string | null;
|
|
2596
2656
|
fanout: {
|
|
2597
2657
|
mode: "local-only";
|
|
2598
2658
|
note: string;
|
|
@@ -2627,6 +2687,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2627
2687
|
readonly disconnect: (id: string) => Promise<{
|
|
2628
2688
|
connection_id: string;
|
|
2629
2689
|
removed_manifest_entries: string[];
|
|
2690
|
+
span_release_error: string | null;
|
|
2630
2691
|
upstream_revoke_outcome: "success" | "failed" | "skipped";
|
|
2631
2692
|
upstream_revoke_status: number | null;
|
|
2632
2693
|
fanout: {
|
|
@@ -2672,6 +2733,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2672
2733
|
enabled_sub_services: string[];
|
|
2673
2734
|
flow_id: string | null;
|
|
2674
2735
|
removed_manifest_entries: string[];
|
|
2736
|
+
span_release_error: string | null;
|
|
2675
2737
|
fanout: {
|
|
2676
2738
|
mode: "local-only";
|
|
2677
2739
|
note: string;
|
|
@@ -2715,6 +2777,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2715
2777
|
connection_id: string;
|
|
2716
2778
|
kind: "success";
|
|
2717
2779
|
return_url: string;
|
|
2780
|
+
span_release_error: string | null;
|
|
2718
2781
|
fanout: {
|
|
2719
2782
|
mode: "local-only";
|
|
2720
2783
|
note: string;
|
|
@@ -2771,6 +2834,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2771
2834
|
name: string | null;
|
|
2772
2835
|
} | null;
|
|
2773
2836
|
} | null;
|
|
2837
|
+
span_release_error: string | null;
|
|
2774
2838
|
status: string;
|
|
2775
2839
|
fanout: {
|
|
2776
2840
|
mode: "local-only";
|
|
@@ -2813,6 +2877,28 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2813
2877
|
sub_service: string;
|
|
2814
2878
|
} | null | undefined;
|
|
2815
2879
|
}[];
|
|
2880
|
+
extension_settings: {
|
|
2881
|
+
backend_module: string | null;
|
|
2882
|
+
extensions_modules: string[];
|
|
2883
|
+
tools: {
|
|
2884
|
+
title: string;
|
|
2885
|
+
extensions: Record<string, (string | {
|
|
2886
|
+
name: string;
|
|
2887
|
+
config: Record<string, unknown>;
|
|
2888
|
+
})[][]>;
|
|
2889
|
+
}[];
|
|
2890
|
+
mcp: {
|
|
2891
|
+
title: string;
|
|
2892
|
+
extensions: Record<string, (string | {
|
|
2893
|
+
name: string;
|
|
2894
|
+
config: Record<string, unknown>;
|
|
2895
|
+
})[][]>;
|
|
2896
|
+
}[];
|
|
2897
|
+
api_tools: Record<string, (string | {
|
|
2898
|
+
name: string;
|
|
2899
|
+
config: Record<string, unknown>;
|
|
2900
|
+
})[][]>;
|
|
2901
|
+
};
|
|
2816
2902
|
}>;
|
|
2817
2903
|
readonly getMcpEnvRefs: (signal?: AbortSignal) => Promise<{
|
|
2818
2904
|
has_default: boolean;
|
|
@@ -2871,6 +2957,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2871
2957
|
name: string | null;
|
|
2872
2958
|
} | null;
|
|
2873
2959
|
refused: string[];
|
|
2960
|
+
span_release_error: string | null;
|
|
2874
2961
|
fanout: {
|
|
2875
2962
|
mode: "local-only";
|
|
2876
2963
|
note: string;
|
|
@@ -2955,6 +3042,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2955
3042
|
name: string | null;
|
|
2956
3043
|
} | null;
|
|
2957
3044
|
} | null;
|
|
3045
|
+
span_release_error: string | null;
|
|
2958
3046
|
status: string;
|
|
2959
3047
|
fanout: {
|
|
2960
3048
|
mode: "local-only";
|
|
@@ -3020,18 +3108,37 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3020
3108
|
removed: boolean;
|
|
3021
3109
|
slug: string;
|
|
3022
3110
|
}>;
|
|
3023
|
-
readonly
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
} | null | undefined;
|
|
3111
|
+
readonly getMcpStatus: (signal?: AbortSignal) => Promise<{
|
|
3112
|
+
bound: Record<string, string[]>;
|
|
3113
|
+
failed: {
|
|
3114
|
+
category: string;
|
|
3115
|
+
http_status: number | null;
|
|
3116
|
+
message: string;
|
|
3117
|
+
status: string;
|
|
3118
|
+
title: string;
|
|
3032
3119
|
}[];
|
|
3120
|
+
health: Record<string, {
|
|
3121
|
+
consecutive_failures: number;
|
|
3122
|
+
failing_since: string | null;
|
|
3123
|
+
last_error: Record<string, string> | null;
|
|
3124
|
+
last_success: string | null;
|
|
3125
|
+
}>;
|
|
3033
3126
|
}>;
|
|
3034
|
-
readonly
|
|
3127
|
+
readonly listMcpAdvertisedTools: (title: string, signal?: AbortSignal) => Promise<{
|
|
3128
|
+
exclude: string[];
|
|
3129
|
+
include: string[];
|
|
3130
|
+
title: string;
|
|
3131
|
+
tools: {
|
|
3132
|
+
bound: boolean;
|
|
3133
|
+
description: string | null;
|
|
3134
|
+
name: string;
|
|
3135
|
+
selected: boolean;
|
|
3136
|
+
title: string | null;
|
|
3137
|
+
unbound_reason: "server_failed" | "not_loaded" | "preset_conflict" | "unusable_schema" | "not_listed_at_bind" | null;
|
|
3138
|
+
}[];
|
|
3139
|
+
unadvertised: string[];
|
|
3140
|
+
}>;
|
|
3141
|
+
readonly setMcpToolFilter: (title: string, filter: import("./manifest-client").McpToolFilter) => Promise<{
|
|
3035
3142
|
awaiting_respawn: {
|
|
3036
3143
|
keys: string[];
|
|
3037
3144
|
name: string;
|
|
@@ -3056,6 +3163,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3056
3163
|
name: string | null;
|
|
3057
3164
|
} | null;
|
|
3058
3165
|
} | null;
|
|
3166
|
+
span_release_error: string | null;
|
|
3059
3167
|
status: string;
|
|
3060
3168
|
fanout: {
|
|
3061
3169
|
mode: "local-only";
|
|
@@ -3088,23 +3196,21 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3088
3196
|
mode: "unreachable";
|
|
3089
3197
|
};
|
|
3090
3198
|
}>;
|
|
3091
|
-
readonly
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3199
|
+
readonly reloadMcp: (title: string) => Promise<{
|
|
3200
|
+
error: string | null;
|
|
3201
|
+
local_only: boolean;
|
|
3202
|
+
ok: boolean;
|
|
3203
|
+
op: string;
|
|
3204
|
+
reachable: boolean;
|
|
3205
|
+
results: {
|
|
3206
|
+
detail: string | null;
|
|
3207
|
+
error: string | null;
|
|
3208
|
+
name: string;
|
|
3209
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3210
|
+
payload: unknown;
|
|
3099
3211
|
}[];
|
|
3100
|
-
health: Record<string, {
|
|
3101
|
-
consecutive_failures: number;
|
|
3102
|
-
failing_since: string | null;
|
|
3103
|
-
last_error: Record<string, string> | null;
|
|
3104
|
-
last_success: string | null;
|
|
3105
|
-
}>;
|
|
3106
3212
|
}>;
|
|
3107
|
-
readonly
|
|
3213
|
+
readonly listFailedMcps: (signal?: AbortSignal) => Promise<{
|
|
3108
3214
|
error: string | null;
|
|
3109
3215
|
local_only: boolean;
|
|
3110
3216
|
ok: boolean;
|
|
@@ -3118,7 +3224,68 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3118
3224
|
payload: unknown;
|
|
3119
3225
|
}[];
|
|
3120
3226
|
}>;
|
|
3121
|
-
readonly
|
|
3227
|
+
readonly reloadFailedMcps: () => Promise<{
|
|
3228
|
+
error: string | null;
|
|
3229
|
+
local_only: boolean;
|
|
3230
|
+
ok: boolean;
|
|
3231
|
+
op: string;
|
|
3232
|
+
reachable: boolean;
|
|
3233
|
+
results: {
|
|
3234
|
+
detail: string | null;
|
|
3235
|
+
error: string | null;
|
|
3236
|
+
name: string;
|
|
3237
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3238
|
+
payload: unknown;
|
|
3239
|
+
}[];
|
|
3240
|
+
}>;
|
|
3241
|
+
readonly deregisterMcp: (title: string) => Promise<{
|
|
3242
|
+
error: string | null;
|
|
3243
|
+
local_only: boolean;
|
|
3244
|
+
ok: boolean;
|
|
3245
|
+
op: string;
|
|
3246
|
+
reachable: boolean;
|
|
3247
|
+
results: {
|
|
3248
|
+
detail: string | null;
|
|
3249
|
+
error: string | null;
|
|
3250
|
+
name: string;
|
|
3251
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3252
|
+
payload: unknown;
|
|
3253
|
+
}[];
|
|
3254
|
+
}>;
|
|
3255
|
+
readonly getManifest: (signal?: AbortSignal) => Promise<{
|
|
3256
|
+
user_tools: string[];
|
|
3257
|
+
mcp: {
|
|
3258
|
+
[x: string]: unknown;
|
|
3259
|
+
managed?: {
|
|
3260
|
+
connection_id: string;
|
|
3261
|
+
provider_id: string;
|
|
3262
|
+
sub_service: string;
|
|
3263
|
+
} | null | undefined;
|
|
3264
|
+
}[];
|
|
3265
|
+
extension_settings: {
|
|
3266
|
+
backend_module: string | null;
|
|
3267
|
+
extensions_modules: string[];
|
|
3268
|
+
tools: {
|
|
3269
|
+
title: string;
|
|
3270
|
+
extensions: Record<string, (string | {
|
|
3271
|
+
name: string;
|
|
3272
|
+
config: Record<string, unknown>;
|
|
3273
|
+
})[][]>;
|
|
3274
|
+
}[];
|
|
3275
|
+
mcp: {
|
|
3276
|
+
title: string;
|
|
3277
|
+
extensions: Record<string, (string | {
|
|
3278
|
+
name: string;
|
|
3279
|
+
config: Record<string, unknown>;
|
|
3280
|
+
})[][]>;
|
|
3281
|
+
}[];
|
|
3282
|
+
api_tools: Record<string, (string | {
|
|
3283
|
+
name: string;
|
|
3284
|
+
config: Record<string, unknown>;
|
|
3285
|
+
})[][]>;
|
|
3286
|
+
};
|
|
3287
|
+
}>;
|
|
3288
|
+
readonly setMcpConfig: (mcp: unknown[]) => Promise<{
|
|
3122
3289
|
awaiting_respawn: {
|
|
3123
3290
|
keys: string[];
|
|
3124
3291
|
name: string;
|
|
@@ -3143,6 +3310,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3143
3310
|
name: string | null;
|
|
3144
3311
|
} | null;
|
|
3145
3312
|
} | null;
|
|
3313
|
+
span_release_error: string | null;
|
|
3146
3314
|
status: string;
|
|
3147
3315
|
fanout: {
|
|
3148
3316
|
mode: "local-only";
|
|
@@ -3175,7 +3343,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3175
3343
|
mode: "unreachable";
|
|
3176
3344
|
};
|
|
3177
3345
|
}>;
|
|
3178
|
-
readonly
|
|
3346
|
+
readonly addToolsEntries: (entries: readonly unknown[], replace?: boolean) => Promise<{
|
|
3179
3347
|
awaiting_respawn: {
|
|
3180
3348
|
keys: string[];
|
|
3181
3349
|
name: string;
|
|
@@ -3200,6 +3368,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3200
3368
|
name: string | null;
|
|
3201
3369
|
} | null;
|
|
3202
3370
|
} | null;
|
|
3371
|
+
span_release_error: string | null;
|
|
3203
3372
|
status: string;
|
|
3204
3373
|
fanout: {
|
|
3205
3374
|
mode: "local-only";
|
|
@@ -3232,7 +3401,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3232
3401
|
mode: "unreachable";
|
|
3233
3402
|
};
|
|
3234
3403
|
}>;
|
|
3235
|
-
readonly
|
|
3404
|
+
readonly removeToolsEntry: (title: string) => Promise<{
|
|
3236
3405
|
awaiting_respawn: {
|
|
3237
3406
|
keys: string[];
|
|
3238
3407
|
name: string;
|
|
@@ -3257,6 +3426,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3257
3426
|
name: string | null;
|
|
3258
3427
|
} | null;
|
|
3259
3428
|
} | null;
|
|
3429
|
+
span_release_error: string | null;
|
|
3260
3430
|
status: string;
|
|
3261
3431
|
fanout: {
|
|
3262
3432
|
mode: "local-only";
|
|
@@ -3289,7 +3459,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3289
3459
|
mode: "unreachable";
|
|
3290
3460
|
};
|
|
3291
3461
|
}>;
|
|
3292
|
-
readonly
|
|
3462
|
+
readonly addAgentsEntries: (entries: readonly unknown[], replace?: boolean) => Promise<{
|
|
3293
3463
|
awaiting_respawn: {
|
|
3294
3464
|
keys: string[];
|
|
3295
3465
|
name: string;
|
|
@@ -3314,6 +3484,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3314
3484
|
name: string | null;
|
|
3315
3485
|
} | null;
|
|
3316
3486
|
} | null;
|
|
3487
|
+
span_release_error: string | null;
|
|
3317
3488
|
status: string;
|
|
3318
3489
|
fanout: {
|
|
3319
3490
|
mode: "local-only";
|
|
@@ -3346,7 +3517,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3346
3517
|
mode: "unreachable";
|
|
3347
3518
|
};
|
|
3348
3519
|
}>;
|
|
3349
|
-
readonly
|
|
3520
|
+
readonly removeAgentsEntry: (title: string) => Promise<{
|
|
3350
3521
|
awaiting_respawn: {
|
|
3351
3522
|
keys: string[];
|
|
3352
3523
|
name: string;
|
|
@@ -3371,6 +3542,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3371
3542
|
name: string | null;
|
|
3372
3543
|
} | null;
|
|
3373
3544
|
} | null;
|
|
3545
|
+
span_release_error: string | null;
|
|
3374
3546
|
status: string;
|
|
3375
3547
|
fanout: {
|
|
3376
3548
|
mode: "local-only";
|
|
@@ -3403,52 +3575,86 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3403
3575
|
mode: "unreachable";
|
|
3404
3576
|
};
|
|
3405
3577
|
}>;
|
|
3406
|
-
readonly
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
ok: boolean;
|
|
3410
|
-
op: string;
|
|
3411
|
-
reachable: boolean;
|
|
3412
|
-
results: {
|
|
3413
|
-
detail: string | null;
|
|
3414
|
-
error: string | null;
|
|
3578
|
+
readonly updateApiTools: (body: import("./manifest-client").ApiToolsListsBody) => Promise<{
|
|
3579
|
+
awaiting_respawn: {
|
|
3580
|
+
keys: string[];
|
|
3415
3581
|
name: string;
|
|
3416
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3417
|
-
payload: unknown;
|
|
3418
3582
|
}[];
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3583
|
+
env_keys: number;
|
|
3584
|
+
recycle: {
|
|
3585
|
+
fresh: {
|
|
3586
|
+
generation: number;
|
|
3587
|
+
kind: string;
|
|
3588
|
+
name: string;
|
|
3589
|
+
}[];
|
|
3590
|
+
recycle: {
|
|
3591
|
+
detail: string | null;
|
|
3592
|
+
generation_before: number;
|
|
3593
|
+
kind: string;
|
|
3594
|
+
name: string;
|
|
3595
|
+
status: string;
|
|
3596
|
+
}[];
|
|
3597
|
+
recycle_stopped: {
|
|
3598
|
+
detail: string;
|
|
3599
|
+
kind: string;
|
|
3600
|
+
name: string | null;
|
|
3601
|
+
} | null;
|
|
3602
|
+
} | null;
|
|
3603
|
+
span_release_error: string | null;
|
|
3604
|
+
status: string;
|
|
3605
|
+
fanout: {
|
|
3606
|
+
mode: "local-only";
|
|
3607
|
+
note: string;
|
|
3608
|
+
} | {
|
|
3428
3609
|
error: string | null;
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
detail: string | null;
|
|
3610
|
+
local_only: boolean;
|
|
3611
|
+
op: string;
|
|
3612
|
+
reachable: boolean;
|
|
3613
|
+
results: {
|
|
3614
|
+
detail: string | null;
|
|
3615
|
+
error: string | null;
|
|
3616
|
+
name: string;
|
|
3617
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3618
|
+
payload: unknown;
|
|
3619
|
+
}[];
|
|
3620
|
+
mode: "fleet";
|
|
3621
|
+
} | {
|
|
3442
3622
|
error: string | null;
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3623
|
+
local_only: boolean;
|
|
3624
|
+
op: string;
|
|
3625
|
+
reachable: boolean;
|
|
3626
|
+
results: {
|
|
3627
|
+
detail: string | null;
|
|
3628
|
+
error: string | null;
|
|
3629
|
+
name: string;
|
|
3630
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3631
|
+
payload: unknown;
|
|
3632
|
+
}[];
|
|
3633
|
+
mode: "unreachable";
|
|
3634
|
+
};
|
|
3447
3635
|
}>;
|
|
3448
3636
|
readonly listTemplates: (signal?: AbortSignal) => Promise<string[]>;
|
|
3449
3637
|
readonly getTemplate: (templateId: string) => Promise<{
|
|
3450
|
-
|
|
3451
|
-
|
|
3638
|
+
content_type: string | null;
|
|
3639
|
+
id: string;
|
|
3640
|
+
kind: "binary";
|
|
3641
|
+
schema: null;
|
|
3642
|
+
size: number;
|
|
3643
|
+
} | {
|
|
3644
|
+
content: string;
|
|
3645
|
+
content_type: string | null;
|
|
3646
|
+
id: string;
|
|
3647
|
+
kind: "document";
|
|
3648
|
+
schema: null;
|
|
3649
|
+
size: number;
|
|
3650
|
+
} | {
|
|
3651
|
+
content: string;
|
|
3652
|
+
content_type: string | null;
|
|
3653
|
+
id: string;
|
|
3654
|
+
kind: "text";
|
|
3655
|
+
schema: Record<string, unknown> | null;
|
|
3656
|
+
schema_error: string | null;
|
|
3657
|
+
size: number;
|
|
3452
3658
|
}>;
|
|
3453
3659
|
readonly uploadTemplate: (path: string, content: string) => Promise<{
|
|
3454
3660
|
fanout: {
|
|
@@ -3529,12 +3735,14 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3529
3735
|
};
|
|
3530
3736
|
}>;
|
|
3531
3737
|
readonly listExtensions: (signal?: AbortSignal) => Promise<{
|
|
3738
|
+
config_schema: Record<string, unknown> | null;
|
|
3532
3739
|
kind: string;
|
|
3533
3740
|
multiple: boolean;
|
|
3534
3741
|
name: string;
|
|
3535
3742
|
}[]>;
|
|
3536
3743
|
readonly getToolExtensions: (name: string, signal?: AbortSignal) => Promise<{
|
|
3537
3744
|
available: {
|
|
3745
|
+
config_schema: Record<string, unknown> | null;
|
|
3538
3746
|
kind: string;
|
|
3539
3747
|
multiple: boolean;
|
|
3540
3748
|
name: string;
|
|
@@ -3569,6 +3777,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3569
3777
|
name: string | null;
|
|
3570
3778
|
} | null;
|
|
3571
3779
|
} | null;
|
|
3780
|
+
span_release_error: string | null;
|
|
3572
3781
|
status: string;
|
|
3573
3782
|
fanout: {
|
|
3574
3783
|
mode: "local-only";
|
|
@@ -3641,10 +3850,29 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3641
3850
|
module: string | null;
|
|
3642
3851
|
present: boolean;
|
|
3643
3852
|
provider: string | null;
|
|
3853
|
+
surfaces: ("templates" | "storage")[];
|
|
3644
3854
|
}>;
|
|
3645
3855
|
readonly listStorageResources: (signal?: AbortSignal) => Promise<{
|
|
3646
3856
|
resources: string[];
|
|
3647
3857
|
}>;
|
|
3858
|
+
readonly readStorageResource: (id: string, signal?: AbortSignal) => Promise<{
|
|
3859
|
+
content_type: string | null;
|
|
3860
|
+
id: string;
|
|
3861
|
+
kind: "binary";
|
|
3862
|
+
size: number;
|
|
3863
|
+
} | {
|
|
3864
|
+
content: string;
|
|
3865
|
+
content_type: string | null;
|
|
3866
|
+
id: string;
|
|
3867
|
+
kind: "document";
|
|
3868
|
+
size: number;
|
|
3869
|
+
} | {
|
|
3870
|
+
content: string;
|
|
3871
|
+
content_type: string | null;
|
|
3872
|
+
id: string;
|
|
3873
|
+
kind: "text";
|
|
3874
|
+
size: number;
|
|
3875
|
+
}>;
|
|
3648
3876
|
readonly statStorageResource: (id: string, signal?: AbortSignal) => Promise<{
|
|
3649
3877
|
content_type: string | null;
|
|
3650
3878
|
id: string;
|
|
@@ -3768,7 +3996,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3768
3996
|
subjects: {
|
|
3769
3997
|
key: string;
|
|
3770
3998
|
kind: string;
|
|
3771
|
-
target_kind: "
|
|
3999
|
+
target_kind: "agent" | "tool";
|
|
3772
4000
|
target_name: string;
|
|
3773
4001
|
}[];
|
|
3774
4002
|
}[] | undefined;
|
|
@@ -3793,7 +4021,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3793
4021
|
subjects: {
|
|
3794
4022
|
key: string;
|
|
3795
4023
|
kind: string;
|
|
3796
|
-
target_kind: "
|
|
4024
|
+
target_kind: "agent" | "tool";
|
|
3797
4025
|
target_name: string;
|
|
3798
4026
|
}[];
|
|
3799
4027
|
}[] | undefined;
|
|
@@ -3821,7 +4049,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3821
4049
|
subjects: {
|
|
3822
4050
|
key: string;
|
|
3823
4051
|
kind: string;
|
|
3824
|
-
target_kind: "
|
|
4052
|
+
target_kind: "agent" | "tool";
|
|
3825
4053
|
target_name: string;
|
|
3826
4054
|
}[];
|
|
3827
4055
|
}[] | undefined;
|
|
@@ -3831,6 +4059,15 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3831
4059
|
template: string;
|
|
3832
4060
|
updated: boolean;
|
|
3833
4061
|
}>;
|
|
4062
|
+
readonly getStateTemplateReferees: (name: string, template: string, signal?: AbortSignal) => Promise<{
|
|
4063
|
+
action: "rename" | "delete" | "detach";
|
|
4064
|
+
holders: {
|
|
4065
|
+
kind: string;
|
|
4066
|
+
locator: Record<string, string | number>;
|
|
4067
|
+
name: string;
|
|
4068
|
+
summary: string;
|
|
4069
|
+
}[];
|
|
4070
|
+
}>;
|
|
3834
4071
|
readonly detachStateTemplate: (name: string, template: string) => Promise<{
|
|
3835
4072
|
detached: boolean;
|
|
3836
4073
|
state: string;
|
|
@@ -3844,7 +4081,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3844
4081
|
subject: {
|
|
3845
4082
|
key: string;
|
|
3846
4083
|
kind: string;
|
|
3847
|
-
target_kind: "
|
|
4084
|
+
target_kind: "agent" | "tool";
|
|
3848
4085
|
target_name: string;
|
|
3849
4086
|
};
|
|
3850
4087
|
updated_at: number;
|
|
@@ -3855,7 +4092,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3855
4092
|
subjects: {
|
|
3856
4093
|
key: string;
|
|
3857
4094
|
kind: string;
|
|
3858
|
-
target_kind: "
|
|
4095
|
+
target_kind: "agent" | "tool";
|
|
3859
4096
|
target_name: string;
|
|
3860
4097
|
}[];
|
|
3861
4098
|
}[] | undefined;
|
|
@@ -3867,7 +4104,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3867
4104
|
subject: {
|
|
3868
4105
|
key: string;
|
|
3869
4106
|
kind: string;
|
|
3870
|
-
target_kind: "
|
|
4107
|
+
target_kind: "agent" | "tool";
|
|
3871
4108
|
target_name: string;
|
|
3872
4109
|
};
|
|
3873
4110
|
updated_at: number;
|
|
@@ -3879,7 +4116,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3879
4116
|
subjects: {
|
|
3880
4117
|
key: string;
|
|
3881
4118
|
kind: string;
|
|
3882
|
-
target_kind: "
|
|
4119
|
+
target_kind: "agent" | "tool";
|
|
3883
4120
|
target_name: string;
|
|
3884
4121
|
}[];
|
|
3885
4122
|
}[] | undefined;
|
|
@@ -3901,7 +4138,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3901
4138
|
subjects: {
|
|
3902
4139
|
key: string;
|
|
3903
4140
|
kind: string;
|
|
3904
|
-
target_kind: "
|
|
4141
|
+
target_kind: "agent" | "tool";
|
|
3905
4142
|
target_name: string;
|
|
3906
4143
|
}[];
|
|
3907
4144
|
}[];
|
|
@@ -3913,7 +4150,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3913
4150
|
subject: {
|
|
3914
4151
|
key: string;
|
|
3915
4152
|
kind: string;
|
|
3916
|
-
target_kind: "
|
|
4153
|
+
target_kind: "agent" | "tool";
|
|
3917
4154
|
target_name: string;
|
|
3918
4155
|
};
|
|
3919
4156
|
updated_at: number;
|
|
@@ -3924,14 +4161,14 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3924
4161
|
canonical_subject: {
|
|
3925
4162
|
key: string;
|
|
3926
4163
|
kind: string;
|
|
3927
|
-
target_kind: "
|
|
4164
|
+
target_kind: "agent" | "tool";
|
|
3928
4165
|
target_name: string;
|
|
3929
4166
|
};
|
|
3930
4167
|
data: Record<string, unknown>;
|
|
3931
4168
|
folded_from: {
|
|
3932
4169
|
key: string;
|
|
3933
4170
|
kind: string;
|
|
3934
|
-
target_kind: "
|
|
4171
|
+
target_kind: "agent" | "tool";
|
|
3935
4172
|
target_name: string;
|
|
3936
4173
|
}[];
|
|
3937
4174
|
seq: number;
|
|
@@ -3939,7 +4176,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3939
4176
|
subject: {
|
|
3940
4177
|
key: string;
|
|
3941
4178
|
kind: string;
|
|
3942
|
-
target_kind: "
|
|
4179
|
+
target_kind: "agent" | "tool";
|
|
3943
4180
|
target_name: string;
|
|
3944
4181
|
};
|
|
3945
4182
|
} | null>;
|
|
@@ -3947,14 +4184,14 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3947
4184
|
canonical_subject: {
|
|
3948
4185
|
key: string;
|
|
3949
4186
|
kind: string;
|
|
3950
|
-
target_kind: "
|
|
4187
|
+
target_kind: "agent" | "tool";
|
|
3951
4188
|
target_name: string;
|
|
3952
4189
|
};
|
|
3953
4190
|
data: Record<string, unknown>;
|
|
3954
4191
|
folded_from: {
|
|
3955
4192
|
key: string;
|
|
3956
4193
|
kind: string;
|
|
3957
|
-
target_kind: "
|
|
4194
|
+
target_kind: "agent" | "tool";
|
|
3958
4195
|
target_name: string;
|
|
3959
4196
|
}[];
|
|
3960
4197
|
seq: number;
|
|
@@ -3962,7 +4199,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3962
4199
|
subject: {
|
|
3963
4200
|
key: string;
|
|
3964
4201
|
kind: string;
|
|
3965
|
-
target_kind: "
|
|
4202
|
+
target_kind: "agent" | "tool";
|
|
3966
4203
|
target_name: string;
|
|
3967
4204
|
};
|
|
3968
4205
|
}>;
|
|
@@ -3970,14 +4207,14 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3970
4207
|
canonical_subject: {
|
|
3971
4208
|
key: string;
|
|
3972
4209
|
kind: string;
|
|
3973
|
-
target_kind: "
|
|
4210
|
+
target_kind: "agent" | "tool";
|
|
3974
4211
|
target_name: string;
|
|
3975
4212
|
};
|
|
3976
4213
|
data: Record<string, unknown>;
|
|
3977
4214
|
folded_from: {
|
|
3978
4215
|
key: string;
|
|
3979
4216
|
kind: string;
|
|
3980
|
-
target_kind: "
|
|
4217
|
+
target_kind: "agent" | "tool";
|
|
3981
4218
|
target_name: string;
|
|
3982
4219
|
}[];
|
|
3983
4220
|
seq: number;
|
|
@@ -3985,7 +4222,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
3985
4222
|
subject: {
|
|
3986
4223
|
key: string;
|
|
3987
4224
|
kind: string;
|
|
3988
|
-
target_kind: "
|
|
4225
|
+
target_kind: "agent" | "tool";
|
|
3989
4226
|
target_name: string;
|
|
3990
4227
|
};
|
|
3991
4228
|
}>;
|
|
@@ -4033,7 +4270,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4033
4270
|
origin: {
|
|
4034
4271
|
actor: string | null;
|
|
4035
4272
|
consumer: string | null;
|
|
4036
|
-
door: "
|
|
4273
|
+
door: "api" | "tool" | "conversation" | "hook" | "schedule" | "operator";
|
|
4037
4274
|
inbound_id: string | null;
|
|
4038
4275
|
meta: Record<string, unknown> | null;
|
|
4039
4276
|
op_id: string | null;
|
|
@@ -4244,7 +4481,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4244
4481
|
subjects: {
|
|
4245
4482
|
key: string;
|
|
4246
4483
|
kind: string;
|
|
4247
|
-
target_kind: "
|
|
4484
|
+
target_kind: "agent" | "tool";
|
|
4248
4485
|
target_name: string;
|
|
4249
4486
|
}[];
|
|
4250
4487
|
}[] | undefined;
|
|
@@ -4272,7 +4509,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4272
4509
|
subject: {
|
|
4273
4510
|
key: string;
|
|
4274
4511
|
kind: string;
|
|
4275
|
-
target_kind: "
|
|
4512
|
+
target_kind: "agent" | "tool";
|
|
4276
4513
|
target_name: string;
|
|
4277
4514
|
};
|
|
4278
4515
|
}[];
|
|
@@ -4294,9 +4531,27 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4294
4531
|
conflicted: boolean;
|
|
4295
4532
|
conflicted_reason: string | null;
|
|
4296
4533
|
description: string;
|
|
4297
|
-
|
|
4534
|
+
input_map: string | {
|
|
4535
|
+
content?: string | undefined;
|
|
4536
|
+
id?: string | undefined;
|
|
4537
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4538
|
+
} | null;
|
|
4539
|
+
input_schema: Record<string, unknown> | {
|
|
4540
|
+
content?: string | undefined;
|
|
4541
|
+
id?: string | undefined;
|
|
4542
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4543
|
+
} | null;
|
|
4298
4544
|
name: string;
|
|
4299
|
-
|
|
4545
|
+
output_map: string | {
|
|
4546
|
+
content?: string | undefined;
|
|
4547
|
+
id?: string | undefined;
|
|
4548
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4549
|
+
} | null;
|
|
4550
|
+
output_schema: Record<string, unknown> | {
|
|
4551
|
+
content?: string | undefined;
|
|
4552
|
+
id?: string | undefined;
|
|
4553
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4554
|
+
} | null;
|
|
4300
4555
|
used_by: string[];
|
|
4301
4556
|
uses: string[];
|
|
4302
4557
|
extensions: (string | {
|
|
@@ -4310,9 +4565,27 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4310
4565
|
conflicted: boolean;
|
|
4311
4566
|
conflicted_reason: string | null;
|
|
4312
4567
|
description: string;
|
|
4313
|
-
|
|
4568
|
+
input_map: string | {
|
|
4569
|
+
content?: string | undefined;
|
|
4570
|
+
id?: string | undefined;
|
|
4571
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4572
|
+
} | null;
|
|
4573
|
+
input_schema: Record<string, unknown> | {
|
|
4574
|
+
content?: string | undefined;
|
|
4575
|
+
id?: string | undefined;
|
|
4576
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4577
|
+
} | null;
|
|
4314
4578
|
name: string;
|
|
4315
|
-
|
|
4579
|
+
output_map: string | {
|
|
4580
|
+
content?: string | undefined;
|
|
4581
|
+
id?: string | undefined;
|
|
4582
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4583
|
+
} | null;
|
|
4584
|
+
output_schema: Record<string, unknown> | {
|
|
4585
|
+
content?: string | undefined;
|
|
4586
|
+
id?: string | undefined;
|
|
4587
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4588
|
+
} | null;
|
|
4316
4589
|
used_by: string[];
|
|
4317
4590
|
uses: string[];
|
|
4318
4591
|
extensions: (string | {
|
|
@@ -4327,9 +4600,27 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4327
4600
|
conflicted_reason: string | null;
|
|
4328
4601
|
description: string;
|
|
4329
4602
|
fixed_kwargs: Record<string, unknown>;
|
|
4330
|
-
|
|
4603
|
+
input_map: string | {
|
|
4604
|
+
content?: string | undefined;
|
|
4605
|
+
id?: string | undefined;
|
|
4606
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4607
|
+
} | null;
|
|
4608
|
+
input_schema: Record<string, unknown> | {
|
|
4609
|
+
content?: string | undefined;
|
|
4610
|
+
id?: string | undefined;
|
|
4611
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4612
|
+
} | null;
|
|
4331
4613
|
name: string;
|
|
4332
|
-
|
|
4614
|
+
output_map: string | {
|
|
4615
|
+
content?: string | undefined;
|
|
4616
|
+
id?: string | undefined;
|
|
4617
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4618
|
+
} | null;
|
|
4619
|
+
output_schema: Record<string, unknown> | {
|
|
4620
|
+
content?: string | undefined;
|
|
4621
|
+
id?: string | undefined;
|
|
4622
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4623
|
+
} | null;
|
|
4333
4624
|
used_by: string[];
|
|
4334
4625
|
uses: string[];
|
|
4335
4626
|
extensions: (string | {
|
|
@@ -4347,11 +4638,21 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4347
4638
|
description: string;
|
|
4348
4639
|
extensions: (string | Record<string, unknown>)[][];
|
|
4349
4640
|
fixed_kwargs: Record<string, unknown>;
|
|
4641
|
+
input_map: string | {
|
|
4642
|
+
content?: string | undefined;
|
|
4643
|
+
id?: string | undefined;
|
|
4644
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4645
|
+
} | null;
|
|
4350
4646
|
input_schema: Record<string, unknown> | {
|
|
4351
4647
|
content?: string | undefined;
|
|
4352
4648
|
id?: string | undefined;
|
|
4353
4649
|
kwargs?: Record<string, unknown> | undefined;
|
|
4354
4650
|
} | null;
|
|
4651
|
+
output_map: string | {
|
|
4652
|
+
content?: string | undefined;
|
|
4653
|
+
id?: string | undefined;
|
|
4654
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4655
|
+
} | null;
|
|
4355
4656
|
output_schema: Record<string, unknown> | {
|
|
4356
4657
|
content?: string | undefined;
|
|
4357
4658
|
id?: string | undefined;
|
|
@@ -4412,11 +4713,21 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4412
4713
|
description: string;
|
|
4413
4714
|
extensions: (string | Record<string, unknown>)[][];
|
|
4414
4715
|
fixed_kwargs: Record<string, unknown>;
|
|
4716
|
+
input_map: string | {
|
|
4717
|
+
content?: string | undefined;
|
|
4718
|
+
id?: string | undefined;
|
|
4719
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4720
|
+
} | null;
|
|
4415
4721
|
input_schema: Record<string, unknown> | {
|
|
4416
4722
|
content?: string | undefined;
|
|
4417
4723
|
id?: string | undefined;
|
|
4418
4724
|
kwargs?: Record<string, unknown> | undefined;
|
|
4419
4725
|
} | null;
|
|
4726
|
+
output_map: string | {
|
|
4727
|
+
content?: string | undefined;
|
|
4728
|
+
id?: string | undefined;
|
|
4729
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4730
|
+
} | null;
|
|
4420
4731
|
output_schema: Record<string, unknown> | {
|
|
4421
4732
|
content?: string | undefined;
|
|
4422
4733
|
id?: string | undefined;
|
|
@@ -4477,11 +4788,21 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4477
4788
|
description: string;
|
|
4478
4789
|
extensions: (string | Record<string, unknown>)[][];
|
|
4479
4790
|
fixed_kwargs: Record<string, unknown>;
|
|
4791
|
+
input_map: string | {
|
|
4792
|
+
content?: string | undefined;
|
|
4793
|
+
id?: string | undefined;
|
|
4794
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4795
|
+
} | null;
|
|
4480
4796
|
input_schema: Record<string, unknown> | {
|
|
4481
4797
|
content?: string | undefined;
|
|
4482
4798
|
id?: string | undefined;
|
|
4483
4799
|
kwargs?: Record<string, unknown> | undefined;
|
|
4484
4800
|
} | null;
|
|
4801
|
+
output_map: string | {
|
|
4802
|
+
content?: string | undefined;
|
|
4803
|
+
id?: string | undefined;
|
|
4804
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4805
|
+
} | null;
|
|
4485
4806
|
output_schema: Record<string, unknown> | {
|
|
4486
4807
|
content?: string | undefined;
|
|
4487
4808
|
id?: string | undefined;
|
|
@@ -4590,9 +4911,14 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4590
4911
|
name: string;
|
|
4591
4912
|
renamed_from: string;
|
|
4592
4913
|
}>;
|
|
4593
|
-
readonly getPresetReferees: (name: string, signal?: AbortSignal) => Promise<{
|
|
4594
|
-
|
|
4595
|
-
|
|
4914
|
+
readonly getPresetReferees: (name: string, action: import("..").PresetHolderAction, signal?: AbortSignal) => Promise<{
|
|
4915
|
+
action: "rename" | "delete" | "detach";
|
|
4916
|
+
holders: {
|
|
4917
|
+
kind: string;
|
|
4918
|
+
locator: Record<string, string | number>;
|
|
4919
|
+
name: string;
|
|
4920
|
+
summary: string;
|
|
4921
|
+
}[];
|
|
4596
4922
|
}>;
|
|
4597
4923
|
readonly validatePreset: (body: import("./presets-client").ValidatePresetBody) => Promise<{
|
|
4598
4924
|
error: string | null;
|
|
@@ -4807,7 +5133,12 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
4807
5133
|
/** The host's authenticated request for a plugin's own routes: the same auth header,
|
|
4808
5134
|
* 401 handling, error classes and `{ data }` unwrap as every core call. Core routes
|
|
4809
5135
|
* use the named methods. */
|
|
4810
|
-
readonly request: <S extends Parameters<typeof import("..").apiRequest>[2]>(path: string, schema: S, options?: Parameters<typeof import("..").apiRequest>[3]) => Promise<import("zod").
|
|
5136
|
+
readonly request: <S extends Parameters<typeof import("..").apiRequest>[2]>(path: string, schema: S, options?: Parameters<typeof import("..").apiRequest>[3]) => Promise<import("zod").output<S>>;
|
|
5137
|
+
/** Readers of this client's refusals. They recognise the `ApiError` this client throws, so a
|
|
5138
|
+
* caller that holds no copy of the error classes (a plugin bundle) reads a refusal through
|
|
5139
|
+
* the client that raised it. */
|
|
5140
|
+
readonly holdersFromError: typeof holdersFromError;
|
|
5141
|
+
readonly storedPresetFaultFromError: typeof storedPresetFaultFromError;
|
|
4811
5142
|
};
|
|
4812
5143
|
export type ApiClient = ReturnType<typeof createApiClient>;
|
|
4813
5144
|
//# sourceMappingURL=index.d.ts.map
|