@alexrockshouts/miri-sdk 1.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.
Potentially problematic release.
This version of @alexrockshouts/miri-sdk might be problematic. Click here for more details.
- package/README.md +75 -0
- package/dist/generated/api.d.ts +1696 -0
- package/dist/generated/api.js +2669 -0
- package/dist/generated/base.d.ts +42 -0
- package/dist/generated/base.js +44 -0
- package/dist/generated/common.d.ts +34 -0
- package/dist/generated/common.js +110 -0
- package/dist/generated/configuration.d.ts +98 -0
- package/dist/generated/configuration.js +94 -0
- package/dist/generated/index.d.ts +13 -0
- package/dist/generated/index.js +15 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/miri-sdk.d.ts +302 -0
- package/dist/miri-sdk.js +336 -0
- package/package.json +31 -0
|
@@ -0,0 +1,1696 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Miri Autonomous Agent API
|
|
3
|
+
* API for interacting with the Miri autonomous agent service.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import type { RequestArgs } from './base';
|
|
15
|
+
import { BaseAPI } from './base';
|
|
16
|
+
export interface APIError {
|
|
17
|
+
'code'?: number;
|
|
18
|
+
'message'?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ApiAdminV1ChannelsPostRequest {
|
|
21
|
+
'channel'?: string;
|
|
22
|
+
'action'?: ApiAdminV1ChannelsPostRequestActionEnum;
|
|
23
|
+
'device'?: string;
|
|
24
|
+
'message'?: string;
|
|
25
|
+
'prompt'?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const ApiAdminV1ChannelsPostRequestActionEnum: {
|
|
28
|
+
readonly Status: "status";
|
|
29
|
+
readonly Enroll: "enroll";
|
|
30
|
+
readonly Send: "send";
|
|
31
|
+
readonly Devices: "devices";
|
|
32
|
+
readonly Chat: "chat";
|
|
33
|
+
};
|
|
34
|
+
export type ApiAdminV1ChannelsPostRequestActionEnum = typeof ApiAdminV1ChannelsPostRequestActionEnum[keyof typeof ApiAdminV1ChannelsPostRequestActionEnum];
|
|
35
|
+
export interface ApiAdminV1HealthGet200Response {
|
|
36
|
+
'status'?: string;
|
|
37
|
+
'message'?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface ApiAdminV1SessionsIdStatsGet200Response {
|
|
40
|
+
'session_id'?: string;
|
|
41
|
+
'total_tokens'?: number;
|
|
42
|
+
'prompt_tokens'?: number;
|
|
43
|
+
'output_tokens'?: number;
|
|
44
|
+
'total_cost'?: number;
|
|
45
|
+
}
|
|
46
|
+
export interface ApiV1FilesDelete200Response {
|
|
47
|
+
'status'?: string;
|
|
48
|
+
'deleted'?: number;
|
|
49
|
+
}
|
|
50
|
+
export interface ApiV1InteractionPostRequest {
|
|
51
|
+
'action'?: ApiV1InteractionPostRequestActionEnum;
|
|
52
|
+
}
|
|
53
|
+
export declare const ApiV1InteractionPostRequestActionEnum: {
|
|
54
|
+
readonly Status: "status";
|
|
55
|
+
};
|
|
56
|
+
export type ApiV1InteractionPostRequestActionEnum = typeof ApiV1InteractionPostRequestActionEnum[keyof typeof ApiV1InteractionPostRequestActionEnum];
|
|
57
|
+
export interface ApiV1PromptPost200Response {
|
|
58
|
+
'response'?: string;
|
|
59
|
+
}
|
|
60
|
+
export interface ApiV1PromptPostRequest {
|
|
61
|
+
'prompt'?: string;
|
|
62
|
+
'model'?: string;
|
|
63
|
+
'temperature'?: number;
|
|
64
|
+
'max_tokens'?: number;
|
|
65
|
+
}
|
|
66
|
+
export interface ApiV1SetupConfigurePost200Response {
|
|
67
|
+
'status'?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface ApiV1SubagentsIdTranscriptGet200ResponseInner {
|
|
70
|
+
'role'?: string;
|
|
71
|
+
'content'?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface BrainConfig {
|
|
74
|
+
'embeddings'?: EmbeddingConfig;
|
|
75
|
+
'retrieval'?: BrainConfigRetrieval;
|
|
76
|
+
'max_nodes_per_session'?: number;
|
|
77
|
+
}
|
|
78
|
+
export interface BrainConfigRetrieval {
|
|
79
|
+
'graph_steps'?: number;
|
|
80
|
+
'facts_top_k'?: number;
|
|
81
|
+
'summaries_top_k'?: number;
|
|
82
|
+
}
|
|
83
|
+
export interface Config {
|
|
84
|
+
'storage_dir'?: string;
|
|
85
|
+
'server'?: ConfigServer;
|
|
86
|
+
'miri'?: MiriSubConfig;
|
|
87
|
+
'models'?: ConfigModels;
|
|
88
|
+
'agents'?: ConfigAgents;
|
|
89
|
+
'channels'?: ConfigChannels;
|
|
90
|
+
}
|
|
91
|
+
export interface ConfigAgents {
|
|
92
|
+
'debug'?: boolean;
|
|
93
|
+
'subagents'?: number;
|
|
94
|
+
'defaults'?: ConfigAgentsDefaults;
|
|
95
|
+
}
|
|
96
|
+
export interface ConfigAgentsDefaults {
|
|
97
|
+
'model'?: ConfigAgentsDefaultsModel;
|
|
98
|
+
}
|
|
99
|
+
export interface ConfigAgentsDefaultsModel {
|
|
100
|
+
'primary'?: string;
|
|
101
|
+
'fallbacks'?: Array<string>;
|
|
102
|
+
}
|
|
103
|
+
export interface ConfigChannels {
|
|
104
|
+
'whatsapp'?: ConfigChannelsWhatsapp;
|
|
105
|
+
'irc'?: ConfigChannelsIrc;
|
|
106
|
+
}
|
|
107
|
+
export interface ConfigChannelsIrc {
|
|
108
|
+
'enabled'?: boolean;
|
|
109
|
+
'host'?: string;
|
|
110
|
+
'port'?: number;
|
|
111
|
+
'tls'?: boolean;
|
|
112
|
+
'nick'?: string;
|
|
113
|
+
'user'?: string;
|
|
114
|
+
'realname'?: string;
|
|
115
|
+
'channels'?: Array<string>;
|
|
116
|
+
'password'?: string;
|
|
117
|
+
'nickserv'?: ConfigChannelsIrcNickserv;
|
|
118
|
+
'allowlist'?: Array<string>;
|
|
119
|
+
'blocklist'?: Array<string>;
|
|
120
|
+
}
|
|
121
|
+
export interface ConfigChannelsIrcNickserv {
|
|
122
|
+
'enabled'?: boolean;
|
|
123
|
+
'password'?: string;
|
|
124
|
+
}
|
|
125
|
+
export interface ConfigChannelsWhatsapp {
|
|
126
|
+
'enabled'?: boolean;
|
|
127
|
+
'allowlist'?: Array<string>;
|
|
128
|
+
'blocklist'?: Array<string>;
|
|
129
|
+
}
|
|
130
|
+
export interface ConfigModels {
|
|
131
|
+
'mode'?: string;
|
|
132
|
+
'providers'?: {
|
|
133
|
+
[key: string]: ProviderConfig;
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
export interface ConfigServer {
|
|
137
|
+
'addr'?: string;
|
|
138
|
+
'key'?: string;
|
|
139
|
+
'host'?: string;
|
|
140
|
+
'admin_user'?: string;
|
|
141
|
+
'admin_pass'?: string;
|
|
142
|
+
}
|
|
143
|
+
export interface DeleteFilesRequest {
|
|
144
|
+
'path'?: string;
|
|
145
|
+
'recursive'?: boolean;
|
|
146
|
+
}
|
|
147
|
+
export interface EmbeddingConfig {
|
|
148
|
+
'use_native_embeddings'?: boolean;
|
|
149
|
+
'model'?: EmbeddingModelConfig;
|
|
150
|
+
}
|
|
151
|
+
export interface EmbeddingModelConfig {
|
|
152
|
+
'type'?: string;
|
|
153
|
+
'api_key'?: string;
|
|
154
|
+
'model'?: string;
|
|
155
|
+
'url'?: string;
|
|
156
|
+
}
|
|
157
|
+
export interface FileInfo {
|
|
158
|
+
'name'?: string;
|
|
159
|
+
'size'?: number;
|
|
160
|
+
'modified'?: string;
|
|
161
|
+
'isDir'?: boolean;
|
|
162
|
+
}
|
|
163
|
+
export interface Human {
|
|
164
|
+
'content'?: string;
|
|
165
|
+
}
|
|
166
|
+
export interface ListFilesResponse {
|
|
167
|
+
'files'?: Array<FileInfo>;
|
|
168
|
+
}
|
|
169
|
+
export interface Message {
|
|
170
|
+
'prompt'?: string;
|
|
171
|
+
'response'?: string;
|
|
172
|
+
}
|
|
173
|
+
export interface MiriSubConfig {
|
|
174
|
+
'brain'?: BrainConfig;
|
|
175
|
+
'keepass'?: MiriSubConfigKeepass;
|
|
176
|
+
}
|
|
177
|
+
export interface MiriSubConfigKeepass {
|
|
178
|
+
'db_path'?: string;
|
|
179
|
+
'password'?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface ModelConfig {
|
|
182
|
+
'id'?: string;
|
|
183
|
+
'name'?: string;
|
|
184
|
+
'contextWindow'?: number;
|
|
185
|
+
'maxTokens'?: number;
|
|
186
|
+
'reasoning'?: boolean;
|
|
187
|
+
'input'?: Array<string>;
|
|
188
|
+
'cost'?: ModelConfigCost;
|
|
189
|
+
}
|
|
190
|
+
export interface ModelConfigCost {
|
|
191
|
+
'input'?: number;
|
|
192
|
+
'output'?: number;
|
|
193
|
+
'cacheRead'?: number;
|
|
194
|
+
'cacheWrite'?: number;
|
|
195
|
+
}
|
|
196
|
+
export interface PaginatedHistory {
|
|
197
|
+
'messages'?: Array<Message>;
|
|
198
|
+
'total_messages'?: number;
|
|
199
|
+
'total_tokens'?: number;
|
|
200
|
+
'limit'?: number;
|
|
201
|
+
'offset'?: number;
|
|
202
|
+
}
|
|
203
|
+
export interface PaginatedSearchResults {
|
|
204
|
+
'data'?: Array<SearchResult>;
|
|
205
|
+
'total'?: number;
|
|
206
|
+
'limit'?: number;
|
|
207
|
+
'offset'?: number;
|
|
208
|
+
}
|
|
209
|
+
export interface PaginatedSessions {
|
|
210
|
+
'data'?: Array<Session>;
|
|
211
|
+
'total'?: number;
|
|
212
|
+
'limit'?: number;
|
|
213
|
+
'offset'?: number;
|
|
214
|
+
}
|
|
215
|
+
export interface PaginatedSkillCommands {
|
|
216
|
+
'data'?: Array<SkillCommand>;
|
|
217
|
+
'total'?: number;
|
|
218
|
+
'limit'?: number;
|
|
219
|
+
'offset'?: number;
|
|
220
|
+
}
|
|
221
|
+
export interface PaginatedSkills {
|
|
222
|
+
'data'?: Array<Skill>;
|
|
223
|
+
'total'?: number;
|
|
224
|
+
'limit'?: number;
|
|
225
|
+
'offset'?: number;
|
|
226
|
+
}
|
|
227
|
+
export interface PaginatedTasks {
|
|
228
|
+
'data'?: Array<Task>;
|
|
229
|
+
'total'?: number;
|
|
230
|
+
'limit'?: number;
|
|
231
|
+
'offset'?: number;
|
|
232
|
+
}
|
|
233
|
+
export interface ProviderConfig {
|
|
234
|
+
'baseUrl'?: string;
|
|
235
|
+
'apiKey'?: string;
|
|
236
|
+
'api'?: string;
|
|
237
|
+
'models'?: Array<ModelConfig>;
|
|
238
|
+
}
|
|
239
|
+
export interface SearchResult {
|
|
240
|
+
'content'?: string;
|
|
241
|
+
'metadata'?: {
|
|
242
|
+
[key: string]: string;
|
|
243
|
+
};
|
|
244
|
+
'distance'?: number;
|
|
245
|
+
}
|
|
246
|
+
export interface Session {
|
|
247
|
+
'id'?: string;
|
|
248
|
+
'soul'?: string;
|
|
249
|
+
'total_tokens'?: number;
|
|
250
|
+
'prompt_tokens'?: number;
|
|
251
|
+
'output_tokens'?: number;
|
|
252
|
+
'total_cost'?: number;
|
|
253
|
+
}
|
|
254
|
+
export interface SetupRequest {
|
|
255
|
+
'admin_user': string;
|
|
256
|
+
'admin_pass': string;
|
|
257
|
+
'server_key': string;
|
|
258
|
+
'provider_name': string;
|
|
259
|
+
'base_url'?: string;
|
|
260
|
+
'api_key': string;
|
|
261
|
+
'model_id': string;
|
|
262
|
+
'model_name'?: string;
|
|
263
|
+
}
|
|
264
|
+
export interface SetupStatus {
|
|
265
|
+
'setup_mode'?: boolean;
|
|
266
|
+
}
|
|
267
|
+
export interface Skill {
|
|
268
|
+
'name'?: string;
|
|
269
|
+
'description'?: string;
|
|
270
|
+
'version'?: string;
|
|
271
|
+
'tags'?: Array<string>;
|
|
272
|
+
'directory'?: string;
|
|
273
|
+
'full_content'?: string;
|
|
274
|
+
}
|
|
275
|
+
export interface SkillCommand {
|
|
276
|
+
'name'?: string;
|
|
277
|
+
'description'?: string;
|
|
278
|
+
}
|
|
279
|
+
export interface SpawnSubAgentRequest {
|
|
280
|
+
/**
|
|
281
|
+
* Specialist role for the sub-agent
|
|
282
|
+
*/
|
|
283
|
+
'role': SpawnSubAgentRequestRoleEnum;
|
|
284
|
+
/**
|
|
285
|
+
* Self-contained task description for the sub-agent
|
|
286
|
+
*/
|
|
287
|
+
'goal': string;
|
|
288
|
+
/**
|
|
289
|
+
* Optional model override (e.g. \"xai/grok-3-mini\")
|
|
290
|
+
*/
|
|
291
|
+
'model'?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Parent session ID (defaults to main session)
|
|
294
|
+
*/
|
|
295
|
+
'parent_session'?: string;
|
|
296
|
+
}
|
|
297
|
+
export declare const SpawnSubAgentRequestRoleEnum: {
|
|
298
|
+
readonly Researcher: "researcher";
|
|
299
|
+
readonly Coder: "coder";
|
|
300
|
+
readonly Reviewer: "reviewer";
|
|
301
|
+
readonly Generic: "generic";
|
|
302
|
+
};
|
|
303
|
+
export type SpawnSubAgentRequestRoleEnum = typeof SpawnSubAgentRequestRoleEnum[keyof typeof SpawnSubAgentRequestRoleEnum];
|
|
304
|
+
export interface SpawnSubAgentResponse {
|
|
305
|
+
/**
|
|
306
|
+
* The new sub-agent run ID
|
|
307
|
+
*/
|
|
308
|
+
'id'?: string;
|
|
309
|
+
'status'?: string;
|
|
310
|
+
}
|
|
311
|
+
export interface SubAgentRun {
|
|
312
|
+
/**
|
|
313
|
+
* Unique run ID
|
|
314
|
+
*/
|
|
315
|
+
'id'?: string;
|
|
316
|
+
/**
|
|
317
|
+
* Session ID of the orchestrator that spawned this sub-agent
|
|
318
|
+
*/
|
|
319
|
+
'parent_session'?: string;
|
|
320
|
+
/**
|
|
321
|
+
* Sub-agent role (researcher, coder, reviewer, generic)
|
|
322
|
+
*/
|
|
323
|
+
'role'?: SubAgentRunRoleEnum;
|
|
324
|
+
/**
|
|
325
|
+
* The task/prompt given to the sub-agent
|
|
326
|
+
*/
|
|
327
|
+
'goal'?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Model override used for this run
|
|
330
|
+
*/
|
|
331
|
+
'model'?: string;
|
|
332
|
+
/**
|
|
333
|
+
* Current run status
|
|
334
|
+
*/
|
|
335
|
+
'status'?: SubAgentRunStatusEnum;
|
|
336
|
+
/**
|
|
337
|
+
* Final output produced by the sub-agent
|
|
338
|
+
*/
|
|
339
|
+
'output'?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Error message if the run failed
|
|
342
|
+
*/
|
|
343
|
+
'error'?: string;
|
|
344
|
+
'prompt_tokens'?: number;
|
|
345
|
+
'output_tokens'?: number;
|
|
346
|
+
'total_cost'?: number;
|
|
347
|
+
'created_at'?: string;
|
|
348
|
+
'started_at'?: string;
|
|
349
|
+
'finished_at'?: string;
|
|
350
|
+
}
|
|
351
|
+
export declare const SubAgentRunRoleEnum: {
|
|
352
|
+
readonly Researcher: "researcher";
|
|
353
|
+
readonly Coder: "coder";
|
|
354
|
+
readonly Reviewer: "reviewer";
|
|
355
|
+
readonly Generic: "generic";
|
|
356
|
+
};
|
|
357
|
+
export type SubAgentRunRoleEnum = typeof SubAgentRunRoleEnum[keyof typeof SubAgentRunRoleEnum];
|
|
358
|
+
export declare const SubAgentRunStatusEnum: {
|
|
359
|
+
readonly Pending: "pending";
|
|
360
|
+
readonly Running: "running";
|
|
361
|
+
readonly Done: "done";
|
|
362
|
+
readonly Failed: "failed";
|
|
363
|
+
readonly Canceled: "canceled";
|
|
364
|
+
};
|
|
365
|
+
export type SubAgentRunStatusEnum = typeof SubAgentRunStatusEnum[keyof typeof SubAgentRunStatusEnum];
|
|
366
|
+
export interface Task {
|
|
367
|
+
'id'?: string;
|
|
368
|
+
'name'?: string;
|
|
369
|
+
'cron_expression'?: string;
|
|
370
|
+
'prompt'?: string;
|
|
371
|
+
'active'?: boolean;
|
|
372
|
+
'needed_skills'?: Array<string>;
|
|
373
|
+
'last_run'?: string;
|
|
374
|
+
'created'?: string;
|
|
375
|
+
'updated'?: string;
|
|
376
|
+
'report_session'?: string;
|
|
377
|
+
'report_channels'?: Array<string>;
|
|
378
|
+
}
|
|
379
|
+
export interface TopologyData {
|
|
380
|
+
'nodes'?: Array<TopologyNode>;
|
|
381
|
+
'edges'?: Array<TopologyEdge>;
|
|
382
|
+
}
|
|
383
|
+
export interface TopologyEdge {
|
|
384
|
+
'from'?: string;
|
|
385
|
+
'to'?: string;
|
|
386
|
+
'bond'?: TopologyEdgeBondEnum;
|
|
387
|
+
}
|
|
388
|
+
export declare const TopologyEdgeBondEnum: {
|
|
389
|
+
readonly D: "D";
|
|
390
|
+
readonly R: "R";
|
|
391
|
+
readonly E: "E";
|
|
392
|
+
};
|
|
393
|
+
export type TopologyEdgeBondEnum = typeof TopologyEdgeBondEnum[keyof typeof TopologyEdgeBondEnum];
|
|
394
|
+
export interface TopologyNode {
|
|
395
|
+
'id'?: string;
|
|
396
|
+
'content'?: string;
|
|
397
|
+
'meta'?: {
|
|
398
|
+
[key: string]: object;
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
export interface UploadResponse {
|
|
402
|
+
'status'?: string;
|
|
403
|
+
'filename'?: string;
|
|
404
|
+
'path'?: string;
|
|
405
|
+
'download'?: string;
|
|
406
|
+
}
|
|
407
|
+
export interface Usage {
|
|
408
|
+
'prompt_tokens'?: number;
|
|
409
|
+
'completion_tokens'?: number;
|
|
410
|
+
'total_tokens'?: number;
|
|
411
|
+
'total_cost'?: number;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* DefaultApi - axios parameter creator
|
|
415
|
+
*/
|
|
416
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @summary Get all factual memories
|
|
420
|
+
* @param {number} [limit] Maximum number of results to return
|
|
421
|
+
* @param {number} [offset] Number of results to skip
|
|
422
|
+
* @param {*} [options] Override http request option.
|
|
423
|
+
* @throws {RequiredError}
|
|
424
|
+
*/
|
|
425
|
+
apiAdminV1BrainFactsGet: (limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @summary Get all summary memories
|
|
429
|
+
* @param {number} [limit] Maximum number of results to return
|
|
430
|
+
* @param {number} [offset] Number of results to skip
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
apiAdminV1BrainSummariesGet: (limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @summary Get Mole-Syn reasoning topology
|
|
438
|
+
* @param {string} [sessionId] Filter topology by session ID
|
|
439
|
+
* @param {*} [options] Override http request option.
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
*/
|
|
442
|
+
apiAdminV1BrainTopologyGet: (sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @summary Perform actions on communication channels
|
|
446
|
+
* @param {ApiAdminV1ChannelsPostRequest} apiAdminV1ChannelsPostRequest
|
|
447
|
+
* @param {*} [options] Override http request option.
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
apiAdminV1ChannelsPost: (apiAdminV1ChannelsPostRequest: ApiAdminV1ChannelsPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
* @summary Get current configuration
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
apiAdminV1ConfigGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @summary Update configuration
|
|
461
|
+
* @param {Config} config
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
*/
|
|
465
|
+
apiAdminV1ConfigPost: (config: Config, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @summary Reset configuration (removes config.yaml)
|
|
469
|
+
* @param {*} [options] Override http request option.
|
|
470
|
+
* @throws {RequiredError}
|
|
471
|
+
*/
|
|
472
|
+
apiAdminV1ConfigResetPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* @summary Check health of the admin API
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
apiAdminV1HealthGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @summary Get the human information (Markdown)
|
|
483
|
+
* @param {*} [options] Override http request option.
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
apiAdminV1HumanGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
487
|
+
/**
|
|
488
|
+
*
|
|
489
|
+
* @summary Save human information (Markdown)
|
|
490
|
+
* @param {Human} human
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
*/
|
|
494
|
+
apiAdminV1HumanPost: (human: Human, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @summary List active session IDs
|
|
498
|
+
* @param {number} [limit] Maximum number of results to return
|
|
499
|
+
* @param {number} [offset] Number of results to skip
|
|
500
|
+
* @param {*} [options] Override http request option.
|
|
501
|
+
* @throws {RequiredError}
|
|
502
|
+
*/
|
|
503
|
+
apiAdminV1SessionsGet: (limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* @summary Get session details
|
|
507
|
+
* @param {string} id
|
|
508
|
+
* @param {*} [options] Override http request option.
|
|
509
|
+
* @throws {RequiredError}
|
|
510
|
+
*/
|
|
511
|
+
apiAdminV1SessionsIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
512
|
+
/**
|
|
513
|
+
*
|
|
514
|
+
* @summary Get session message history
|
|
515
|
+
* @param {string} id
|
|
516
|
+
* @param {number} [limit] Maximum number of results to return
|
|
517
|
+
* @param {number} [offset] Number of results to skip
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
*/
|
|
521
|
+
apiAdminV1SessionsIdHistoryGet: (id: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @summary Get loaded skills for a session
|
|
525
|
+
* @param {string} id
|
|
526
|
+
* @param {*} [options] Override http request option.
|
|
527
|
+
* @throws {RequiredError}
|
|
528
|
+
*/
|
|
529
|
+
apiAdminV1SessionsIdSkillsGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
530
|
+
/**
|
|
531
|
+
*
|
|
532
|
+
* @summary Get session token and cost statistics
|
|
533
|
+
* @param {string} id
|
|
534
|
+
* @param {*} [options] Override http request option.
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
*/
|
|
537
|
+
apiAdminV1SessionsIdStatsGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
538
|
+
/**
|
|
539
|
+
*
|
|
540
|
+
* @summary List all available agent commands (tools)
|
|
541
|
+
* @param {*} [options] Override http request option.
|
|
542
|
+
* @throws {RequiredError}
|
|
543
|
+
*/
|
|
544
|
+
apiAdminV1SkillsCommandsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @summary List all installed skills
|
|
548
|
+
* @param {number} [limit] Maximum number of results to return
|
|
549
|
+
* @param {number} [offset] Number of results to skip
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
apiAdminV1SkillsGet: (limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
554
|
+
/**
|
|
555
|
+
*
|
|
556
|
+
* @summary Remove a skill
|
|
557
|
+
* @param {string} name
|
|
558
|
+
* @param {*} [options] Override http request option.
|
|
559
|
+
* @throws {RequiredError}
|
|
560
|
+
*/
|
|
561
|
+
apiAdminV1SkillsNameDelete: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @summary Get skill details
|
|
565
|
+
* @param {string} name
|
|
566
|
+
* @param {*} [options] Override http request option.
|
|
567
|
+
* @throws {RequiredError}
|
|
568
|
+
*/
|
|
569
|
+
apiAdminV1SkillsNameGet: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @summary List all sub-agent runs
|
|
573
|
+
* @param {string} [session] Filter by parent session ID
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
*/
|
|
577
|
+
apiAdminV1SubagentsGet: (session?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
578
|
+
/**
|
|
579
|
+
*
|
|
580
|
+
* @summary Cancel a running sub-agent
|
|
581
|
+
* @param {string} id
|
|
582
|
+
* @param {*} [options] Override http request option.
|
|
583
|
+
* @throws {RequiredError}
|
|
584
|
+
*/
|
|
585
|
+
apiAdminV1SubagentsIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
586
|
+
/**
|
|
587
|
+
*
|
|
588
|
+
* @summary Get sub-agent run details (admin)
|
|
589
|
+
* @param {string} id
|
|
590
|
+
* @param {*} [options] Override http request option.
|
|
591
|
+
* @throws {RequiredError}
|
|
592
|
+
*/
|
|
593
|
+
apiAdminV1SubagentsIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @summary Get full message transcript of a sub-agent run (admin)
|
|
597
|
+
* @param {string} id
|
|
598
|
+
* @param {*} [options] Override http request option.
|
|
599
|
+
* @throws {RequiredError}
|
|
600
|
+
*/
|
|
601
|
+
apiAdminV1SubagentsIdTranscriptGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
602
|
+
/**
|
|
603
|
+
*
|
|
604
|
+
* @summary List all recurring tasks
|
|
605
|
+
* @param {number} [limit] Maximum number of results to return
|
|
606
|
+
* @param {number} [offset] Number of results to skip
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
*/
|
|
610
|
+
apiAdminV1TasksGet: (limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @summary Get task details
|
|
614
|
+
* @param {string} id
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
*/
|
|
618
|
+
apiAdminV1TasksIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
619
|
+
/**
|
|
620
|
+
*
|
|
621
|
+
* @summary Delete file or directory in uploads/ or generated/
|
|
622
|
+
* @param {DeleteFilesRequest} deleteFilesRequest
|
|
623
|
+
* @param {*} [options] Override http request option.
|
|
624
|
+
* @throws {RequiredError}
|
|
625
|
+
*/
|
|
626
|
+
apiV1FilesDelete: (deleteFilesRequest: DeleteFilesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @summary Serve file download, text preview, or directory listing
|
|
630
|
+
* @param {string} filepath Relative path in uploads/ or generated/
|
|
631
|
+
* @param {boolean} [view] If true and filepath is a file, return text/plain preview instead of download
|
|
632
|
+
* @param {boolean} [zip] If true and filepath is a directory, download as ZIP archive instead of listing
|
|
633
|
+
* @param {*} [options] Override http request option.
|
|
634
|
+
* @throws {RequiredError}
|
|
635
|
+
*/
|
|
636
|
+
apiV1FilesFilepathGet: (filepath: string, view?: boolean, zip?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
637
|
+
/**
|
|
638
|
+
*
|
|
639
|
+
* @summary List files and directories in uploads/ or generated/
|
|
640
|
+
* @param {string} [path] Directory path relative to storage_dir (uploads/ or generated/)
|
|
641
|
+
* @param {*} [options] Override http request option.
|
|
642
|
+
* @throws {RequiredError}
|
|
643
|
+
*/
|
|
644
|
+
apiV1FilesGet: (path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
645
|
+
/**
|
|
646
|
+
*
|
|
647
|
+
* @summary Upload a file to the local storage
|
|
648
|
+
* @param {File} [file]
|
|
649
|
+
* @param {*} [options] Override http request option.
|
|
650
|
+
* @throws {RequiredError}
|
|
651
|
+
*/
|
|
652
|
+
apiV1FilesUploadPost: (file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
653
|
+
/**
|
|
654
|
+
*
|
|
655
|
+
* @summary Manage sessions or check global status
|
|
656
|
+
* @param {ApiV1InteractionPostRequest} apiV1InteractionPostRequest
|
|
657
|
+
* @param {*} [options] Override http request option.
|
|
658
|
+
* @throws {RequiredError}
|
|
659
|
+
*/
|
|
660
|
+
apiV1InteractionPost: (apiV1InteractionPostRequest: ApiV1InteractionPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @summary Send a prompt to the agent
|
|
664
|
+
* @param {ApiV1PromptPostRequest} apiV1PromptPostRequest
|
|
665
|
+
* @param {*} [options] Override http request option.
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
*/
|
|
668
|
+
apiV1PromptPost: (apiV1PromptPostRequest: ApiV1PromptPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @summary Stream a prompt response via SSE
|
|
672
|
+
* @param {string} prompt
|
|
673
|
+
* @param {string} [model]
|
|
674
|
+
* @param {*} [options] Override http request option.
|
|
675
|
+
* @throws {RequiredError}
|
|
676
|
+
*/
|
|
677
|
+
apiV1PromptStreamGet: (prompt: string, model?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
678
|
+
/**
|
|
679
|
+
*
|
|
680
|
+
* @summary Initial configuration
|
|
681
|
+
* @param {SetupRequest} setupRequest
|
|
682
|
+
* @param {*} [options] Override http request option.
|
|
683
|
+
* @throws {RequiredError}
|
|
684
|
+
*/
|
|
685
|
+
apiV1SetupConfigurePost: (setupRequest: SetupRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
686
|
+
/**
|
|
687
|
+
*
|
|
688
|
+
* @summary Get setup mode status
|
|
689
|
+
* @param {*} [options] Override http request option.
|
|
690
|
+
* @throws {RequiredError}
|
|
691
|
+
*/
|
|
692
|
+
apiV1SetupStatusGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
693
|
+
/**
|
|
694
|
+
*
|
|
695
|
+
* @summary Get sub-agent run status and result
|
|
696
|
+
* @param {string} id
|
|
697
|
+
* @param {*} [options] Override http request option.
|
|
698
|
+
* @throws {RequiredError}
|
|
699
|
+
*/
|
|
700
|
+
apiV1SubagentsIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
701
|
+
/**
|
|
702
|
+
*
|
|
703
|
+
* @summary Get full message transcript of a sub-agent run
|
|
704
|
+
* @param {string} id
|
|
705
|
+
* @param {*} [options] Override http request option.
|
|
706
|
+
* @throws {RequiredError}
|
|
707
|
+
*/
|
|
708
|
+
apiV1SubagentsIdTranscriptGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
709
|
+
/**
|
|
710
|
+
* Manually spawn a specialized sub-agent with a given role and goal. The sub-agent runs autonomously and its result can be polled via GET /api/v1/subagents/{id}. The orchestrator LLM can also spawn sub-agents automatically via the Researcher/Coder/Reviewer tools.
|
|
711
|
+
* @summary Spawn a new sub-agent run
|
|
712
|
+
* @param {SpawnSubAgentRequest} spawnSubAgentRequest
|
|
713
|
+
* @param {*} [options] Override http request option.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
*/
|
|
716
|
+
apiV1SubagentsPost: (spawnSubAgentRequest: SpawnSubAgentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
717
|
+
/**
|
|
718
|
+
*
|
|
719
|
+
* @summary Prometheus metrics endpoint
|
|
720
|
+
* @param {*} [options] Override http request option.
|
|
721
|
+
* @throws {RequiredError}
|
|
722
|
+
*/
|
|
723
|
+
metricsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
724
|
+
/**
|
|
725
|
+
* WebSocket endpoint for real-time interaction and background task notifications. When a background task completes, a message is sent in the following format: ```json { \"type\": \"task_complete\", \"task_id\": \"uuid\", \"task_name\": \"task name\", \"response\": \"result string\" } ```
|
|
726
|
+
* @summary WebSocket for interactive streaming
|
|
727
|
+
* @param {string} [channel]
|
|
728
|
+
* @param {string} [device]
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
wsGet: (channel?: string, device?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
733
|
+
};
|
|
734
|
+
/**
|
|
735
|
+
* DefaultApi - functional programming interface
|
|
736
|
+
*/
|
|
737
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
738
|
+
/**
|
|
739
|
+
*
|
|
740
|
+
* @summary Get all factual memories
|
|
741
|
+
* @param {number} [limit] Maximum number of results to return
|
|
742
|
+
* @param {number} [offset] Number of results to skip
|
|
743
|
+
* @param {*} [options] Override http request option.
|
|
744
|
+
* @throws {RequiredError}
|
|
745
|
+
*/
|
|
746
|
+
apiAdminV1BrainFactsGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedSearchResults>>;
|
|
747
|
+
/**
|
|
748
|
+
*
|
|
749
|
+
* @summary Get all summary memories
|
|
750
|
+
* @param {number} [limit] Maximum number of results to return
|
|
751
|
+
* @param {number} [offset] Number of results to skip
|
|
752
|
+
* @param {*} [options] Override http request option.
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
*/
|
|
755
|
+
apiAdminV1BrainSummariesGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedSearchResults>>;
|
|
756
|
+
/**
|
|
757
|
+
*
|
|
758
|
+
* @summary Get Mole-Syn reasoning topology
|
|
759
|
+
* @param {string} [sessionId] Filter topology by session ID
|
|
760
|
+
* @param {*} [options] Override http request option.
|
|
761
|
+
* @throws {RequiredError}
|
|
762
|
+
*/
|
|
763
|
+
apiAdminV1BrainTopologyGet(sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TopologyData>>;
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @summary Perform actions on communication channels
|
|
767
|
+
* @param {ApiAdminV1ChannelsPostRequest} apiAdminV1ChannelsPostRequest
|
|
768
|
+
* @param {*} [options] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
*/
|
|
771
|
+
apiAdminV1ChannelsPost(apiAdminV1ChannelsPostRequest: ApiAdminV1ChannelsPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
772
|
+
/**
|
|
773
|
+
*
|
|
774
|
+
* @summary Get current configuration
|
|
775
|
+
* @param {*} [options] Override http request option.
|
|
776
|
+
* @throws {RequiredError}
|
|
777
|
+
*/
|
|
778
|
+
apiAdminV1ConfigGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Config>>;
|
|
779
|
+
/**
|
|
780
|
+
*
|
|
781
|
+
* @summary Update configuration
|
|
782
|
+
* @param {Config} config
|
|
783
|
+
* @param {*} [options] Override http request option.
|
|
784
|
+
* @throws {RequiredError}
|
|
785
|
+
*/
|
|
786
|
+
apiAdminV1ConfigPost(config: Config, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
787
|
+
/**
|
|
788
|
+
*
|
|
789
|
+
* @summary Reset configuration (removes config.yaml)
|
|
790
|
+
* @param {*} [options] Override http request option.
|
|
791
|
+
* @throws {RequiredError}
|
|
792
|
+
*/
|
|
793
|
+
apiAdminV1ConfigResetPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiV1SetupConfigurePost200Response>>;
|
|
794
|
+
/**
|
|
795
|
+
*
|
|
796
|
+
* @summary Check health of the admin API
|
|
797
|
+
* @param {*} [options] Override http request option.
|
|
798
|
+
* @throws {RequiredError}
|
|
799
|
+
*/
|
|
800
|
+
apiAdminV1HealthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiAdminV1HealthGet200Response>>;
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @summary Get the human information (Markdown)
|
|
804
|
+
* @param {*} [options] Override http request option.
|
|
805
|
+
* @throws {RequiredError}
|
|
806
|
+
*/
|
|
807
|
+
apiAdminV1HumanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Human>>;
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @summary Save human information (Markdown)
|
|
811
|
+
* @param {Human} human
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
*/
|
|
815
|
+
apiAdminV1HumanPost(human: Human, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
816
|
+
/**
|
|
817
|
+
*
|
|
818
|
+
* @summary List active session IDs
|
|
819
|
+
* @param {number} [limit] Maximum number of results to return
|
|
820
|
+
* @param {number} [offset] Number of results to skip
|
|
821
|
+
* @param {*} [options] Override http request option.
|
|
822
|
+
* @throws {RequiredError}
|
|
823
|
+
*/
|
|
824
|
+
apiAdminV1SessionsGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedSessions>>;
|
|
825
|
+
/**
|
|
826
|
+
*
|
|
827
|
+
* @summary Get session details
|
|
828
|
+
* @param {string} id
|
|
829
|
+
* @param {*} [options] Override http request option.
|
|
830
|
+
* @throws {RequiredError}
|
|
831
|
+
*/
|
|
832
|
+
apiAdminV1SessionsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Session>>;
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @summary Get session message history
|
|
836
|
+
* @param {string} id
|
|
837
|
+
* @param {number} [limit] Maximum number of results to return
|
|
838
|
+
* @param {number} [offset] Number of results to skip
|
|
839
|
+
* @param {*} [options] Override http request option.
|
|
840
|
+
* @throws {RequiredError}
|
|
841
|
+
*/
|
|
842
|
+
apiAdminV1SessionsIdHistoryGet(id: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedHistory>>;
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @summary Get loaded skills for a session
|
|
846
|
+
* @param {string} id
|
|
847
|
+
* @param {*} [options] Override http request option.
|
|
848
|
+
* @throws {RequiredError}
|
|
849
|
+
*/
|
|
850
|
+
apiAdminV1SessionsIdSkillsGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @summary Get session token and cost statistics
|
|
854
|
+
* @param {string} id
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
*/
|
|
858
|
+
apiAdminV1SessionsIdStatsGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiAdminV1SessionsIdStatsGet200Response>>;
|
|
859
|
+
/**
|
|
860
|
+
*
|
|
861
|
+
* @summary List all available agent commands (tools)
|
|
862
|
+
* @param {*} [options] Override http request option.
|
|
863
|
+
* @throws {RequiredError}
|
|
864
|
+
*/
|
|
865
|
+
apiAdminV1SkillsCommandsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SkillCommand>>>;
|
|
866
|
+
/**
|
|
867
|
+
*
|
|
868
|
+
* @summary List all installed skills
|
|
869
|
+
* @param {number} [limit] Maximum number of results to return
|
|
870
|
+
* @param {number} [offset] Number of results to skip
|
|
871
|
+
* @param {*} [options] Override http request option.
|
|
872
|
+
* @throws {RequiredError}
|
|
873
|
+
*/
|
|
874
|
+
apiAdminV1SkillsGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedSkills>>;
|
|
875
|
+
/**
|
|
876
|
+
*
|
|
877
|
+
* @summary Remove a skill
|
|
878
|
+
* @param {string} name
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
apiAdminV1SkillsNameDelete(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @summary Get skill details
|
|
886
|
+
* @param {string} name
|
|
887
|
+
* @param {*} [options] Override http request option.
|
|
888
|
+
* @throws {RequiredError}
|
|
889
|
+
*/
|
|
890
|
+
apiAdminV1SkillsNameGet(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Skill>>;
|
|
891
|
+
/**
|
|
892
|
+
*
|
|
893
|
+
* @summary List all sub-agent runs
|
|
894
|
+
* @param {string} [session] Filter by parent session ID
|
|
895
|
+
* @param {*} [options] Override http request option.
|
|
896
|
+
* @throws {RequiredError}
|
|
897
|
+
*/
|
|
898
|
+
apiAdminV1SubagentsGet(session?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SubAgentRun>>>;
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @summary Cancel a running sub-agent
|
|
902
|
+
* @param {string} id
|
|
903
|
+
* @param {*} [options] Override http request option.
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
*/
|
|
906
|
+
apiAdminV1SubagentsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
907
|
+
/**
|
|
908
|
+
*
|
|
909
|
+
* @summary Get sub-agent run details (admin)
|
|
910
|
+
* @param {string} id
|
|
911
|
+
* @param {*} [options] Override http request option.
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
*/
|
|
914
|
+
apiAdminV1SubagentsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubAgentRun>>;
|
|
915
|
+
/**
|
|
916
|
+
*
|
|
917
|
+
* @summary Get full message transcript of a sub-agent run (admin)
|
|
918
|
+
* @param {string} id
|
|
919
|
+
* @param {*} [options] Override http request option.
|
|
920
|
+
* @throws {RequiredError}
|
|
921
|
+
*/
|
|
922
|
+
apiAdminV1SubagentsIdTranscriptGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ApiV1SubagentsIdTranscriptGet200ResponseInner>>>;
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @summary List all recurring tasks
|
|
926
|
+
* @param {number} [limit] Maximum number of results to return
|
|
927
|
+
* @param {number} [offset] Number of results to skip
|
|
928
|
+
* @param {*} [options] Override http request option.
|
|
929
|
+
* @throws {RequiredError}
|
|
930
|
+
*/
|
|
931
|
+
apiAdminV1TasksGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTasks>>;
|
|
932
|
+
/**
|
|
933
|
+
*
|
|
934
|
+
* @summary Get task details
|
|
935
|
+
* @param {string} id
|
|
936
|
+
* @param {*} [options] Override http request option.
|
|
937
|
+
* @throws {RequiredError}
|
|
938
|
+
*/
|
|
939
|
+
apiAdminV1TasksIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>>;
|
|
940
|
+
/**
|
|
941
|
+
*
|
|
942
|
+
* @summary Delete file or directory in uploads/ or generated/
|
|
943
|
+
* @param {DeleteFilesRequest} deleteFilesRequest
|
|
944
|
+
* @param {*} [options] Override http request option.
|
|
945
|
+
* @throws {RequiredError}
|
|
946
|
+
*/
|
|
947
|
+
apiV1FilesDelete(deleteFilesRequest: DeleteFilesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiV1FilesDelete200Response>>;
|
|
948
|
+
/**
|
|
949
|
+
*
|
|
950
|
+
* @summary Serve file download, text preview, or directory listing
|
|
951
|
+
* @param {string} filepath Relative path in uploads/ or generated/
|
|
952
|
+
* @param {boolean} [view] If true and filepath is a file, return text/plain preview instead of download
|
|
953
|
+
* @param {boolean} [zip] If true and filepath is a directory, download as ZIP archive instead of listing
|
|
954
|
+
* @param {*} [options] Override http request option.
|
|
955
|
+
* @throws {RequiredError}
|
|
956
|
+
*/
|
|
957
|
+
apiV1FilesFilepathGet(filepath: string, view?: boolean, zip?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFilesResponse>>;
|
|
958
|
+
/**
|
|
959
|
+
*
|
|
960
|
+
* @summary List files and directories in uploads/ or generated/
|
|
961
|
+
* @param {string} [path] Directory path relative to storage_dir (uploads/ or generated/)
|
|
962
|
+
* @param {*} [options] Override http request option.
|
|
963
|
+
* @throws {RequiredError}
|
|
964
|
+
*/
|
|
965
|
+
apiV1FilesGet(path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFilesResponse>>;
|
|
966
|
+
/**
|
|
967
|
+
*
|
|
968
|
+
* @summary Upload a file to the local storage
|
|
969
|
+
* @param {File} [file]
|
|
970
|
+
* @param {*} [options] Override http request option.
|
|
971
|
+
* @throws {RequiredError}
|
|
972
|
+
*/
|
|
973
|
+
apiV1FilesUploadPost(file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadResponse>>;
|
|
974
|
+
/**
|
|
975
|
+
*
|
|
976
|
+
* @summary Manage sessions or check global status
|
|
977
|
+
* @param {ApiV1InteractionPostRequest} apiV1InteractionPostRequest
|
|
978
|
+
* @param {*} [options] Override http request option.
|
|
979
|
+
* @throws {RequiredError}
|
|
980
|
+
*/
|
|
981
|
+
apiV1InteractionPost(apiV1InteractionPostRequest: ApiV1InteractionPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
982
|
+
/**
|
|
983
|
+
*
|
|
984
|
+
* @summary Send a prompt to the agent
|
|
985
|
+
* @param {ApiV1PromptPostRequest} apiV1PromptPostRequest
|
|
986
|
+
* @param {*} [options] Override http request option.
|
|
987
|
+
* @throws {RequiredError}
|
|
988
|
+
*/
|
|
989
|
+
apiV1PromptPost(apiV1PromptPostRequest: ApiV1PromptPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiV1PromptPost200Response>>;
|
|
990
|
+
/**
|
|
991
|
+
*
|
|
992
|
+
* @summary Stream a prompt response via SSE
|
|
993
|
+
* @param {string} prompt
|
|
994
|
+
* @param {string} [model]
|
|
995
|
+
* @param {*} [options] Override http request option.
|
|
996
|
+
* @throws {RequiredError}
|
|
997
|
+
*/
|
|
998
|
+
apiV1PromptStreamGet(prompt: string, model?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
999
|
+
/**
|
|
1000
|
+
*
|
|
1001
|
+
* @summary Initial configuration
|
|
1002
|
+
* @param {SetupRequest} setupRequest
|
|
1003
|
+
* @param {*} [options] Override http request option.
|
|
1004
|
+
* @throws {RequiredError}
|
|
1005
|
+
*/
|
|
1006
|
+
apiV1SetupConfigurePost(setupRequest: SetupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiV1SetupConfigurePost200Response>>;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @summary Get setup mode status
|
|
1010
|
+
* @param {*} [options] Override http request option.
|
|
1011
|
+
* @throws {RequiredError}
|
|
1012
|
+
*/
|
|
1013
|
+
apiV1SetupStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupStatus>>;
|
|
1014
|
+
/**
|
|
1015
|
+
*
|
|
1016
|
+
* @summary Get sub-agent run status and result
|
|
1017
|
+
* @param {string} id
|
|
1018
|
+
* @param {*} [options] Override http request option.
|
|
1019
|
+
* @throws {RequiredError}
|
|
1020
|
+
*/
|
|
1021
|
+
apiV1SubagentsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubAgentRun>>;
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @summary Get full message transcript of a sub-agent run
|
|
1025
|
+
* @param {string} id
|
|
1026
|
+
* @param {*} [options] Override http request option.
|
|
1027
|
+
* @throws {RequiredError}
|
|
1028
|
+
*/
|
|
1029
|
+
apiV1SubagentsIdTranscriptGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ApiV1SubagentsIdTranscriptGet200ResponseInner>>>;
|
|
1030
|
+
/**
|
|
1031
|
+
* Manually spawn a specialized sub-agent with a given role and goal. The sub-agent runs autonomously and its result can be polled via GET /api/v1/subagents/{id}. The orchestrator LLM can also spawn sub-agents automatically via the Researcher/Coder/Reviewer tools.
|
|
1032
|
+
* @summary Spawn a new sub-agent run
|
|
1033
|
+
* @param {SpawnSubAgentRequest} spawnSubAgentRequest
|
|
1034
|
+
* @param {*} [options] Override http request option.
|
|
1035
|
+
* @throws {RequiredError}
|
|
1036
|
+
*/
|
|
1037
|
+
apiV1SubagentsPost(spawnSubAgentRequest: SpawnSubAgentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpawnSubAgentResponse>>;
|
|
1038
|
+
/**
|
|
1039
|
+
*
|
|
1040
|
+
* @summary Prometheus metrics endpoint
|
|
1041
|
+
* @param {*} [options] Override http request option.
|
|
1042
|
+
* @throws {RequiredError}
|
|
1043
|
+
*/
|
|
1044
|
+
metricsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
1045
|
+
/**
|
|
1046
|
+
* WebSocket endpoint for real-time interaction and background task notifications. When a background task completes, a message is sent in the following format: ```json { \"type\": \"task_complete\", \"task_id\": \"uuid\", \"task_name\": \"task name\", \"response\": \"result string\" } ```
|
|
1047
|
+
* @summary WebSocket for interactive streaming
|
|
1048
|
+
* @param {string} [channel]
|
|
1049
|
+
* @param {string} [device]
|
|
1050
|
+
* @param {*} [options] Override http request option.
|
|
1051
|
+
* @throws {RequiredError}
|
|
1052
|
+
*/
|
|
1053
|
+
wsGet(channel?: string, device?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1054
|
+
};
|
|
1055
|
+
/**
|
|
1056
|
+
* DefaultApi - factory interface
|
|
1057
|
+
*/
|
|
1058
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1059
|
+
/**
|
|
1060
|
+
*
|
|
1061
|
+
* @summary Get all factual memories
|
|
1062
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1063
|
+
* @param {number} [offset] Number of results to skip
|
|
1064
|
+
* @param {*} [options] Override http request option.
|
|
1065
|
+
* @throws {RequiredError}
|
|
1066
|
+
*/
|
|
1067
|
+
apiAdminV1BrainFactsGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSearchResults>;
|
|
1068
|
+
/**
|
|
1069
|
+
*
|
|
1070
|
+
* @summary Get all summary memories
|
|
1071
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1072
|
+
* @param {number} [offset] Number of results to skip
|
|
1073
|
+
* @param {*} [options] Override http request option.
|
|
1074
|
+
* @throws {RequiredError}
|
|
1075
|
+
*/
|
|
1076
|
+
apiAdminV1BrainSummariesGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSearchResults>;
|
|
1077
|
+
/**
|
|
1078
|
+
*
|
|
1079
|
+
* @summary Get Mole-Syn reasoning topology
|
|
1080
|
+
* @param {string} [sessionId] Filter topology by session ID
|
|
1081
|
+
* @param {*} [options] Override http request option.
|
|
1082
|
+
* @throws {RequiredError}
|
|
1083
|
+
*/
|
|
1084
|
+
apiAdminV1BrainTopologyGet(sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<TopologyData>;
|
|
1085
|
+
/**
|
|
1086
|
+
*
|
|
1087
|
+
* @summary Perform actions on communication channels
|
|
1088
|
+
* @param {ApiAdminV1ChannelsPostRequest} apiAdminV1ChannelsPostRequest
|
|
1089
|
+
* @param {*} [options] Override http request option.
|
|
1090
|
+
* @throws {RequiredError}
|
|
1091
|
+
*/
|
|
1092
|
+
apiAdminV1ChannelsPost(apiAdminV1ChannelsPostRequest: ApiAdminV1ChannelsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @summary Get current configuration
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
*/
|
|
1099
|
+
apiAdminV1ConfigGet(options?: RawAxiosRequestConfig): AxiosPromise<Config>;
|
|
1100
|
+
/**
|
|
1101
|
+
*
|
|
1102
|
+
* @summary Update configuration
|
|
1103
|
+
* @param {Config} config
|
|
1104
|
+
* @param {*} [options] Override http request option.
|
|
1105
|
+
* @throws {RequiredError}
|
|
1106
|
+
*/
|
|
1107
|
+
apiAdminV1ConfigPost(config: Config, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1108
|
+
/**
|
|
1109
|
+
*
|
|
1110
|
+
* @summary Reset configuration (removes config.yaml)
|
|
1111
|
+
* @param {*} [options] Override http request option.
|
|
1112
|
+
* @throws {RequiredError}
|
|
1113
|
+
*/
|
|
1114
|
+
apiAdminV1ConfigResetPost(options?: RawAxiosRequestConfig): AxiosPromise<ApiV1SetupConfigurePost200Response>;
|
|
1115
|
+
/**
|
|
1116
|
+
*
|
|
1117
|
+
* @summary Check health of the admin API
|
|
1118
|
+
* @param {*} [options] Override http request option.
|
|
1119
|
+
* @throws {RequiredError}
|
|
1120
|
+
*/
|
|
1121
|
+
apiAdminV1HealthGet(options?: RawAxiosRequestConfig): AxiosPromise<ApiAdminV1HealthGet200Response>;
|
|
1122
|
+
/**
|
|
1123
|
+
*
|
|
1124
|
+
* @summary Get the human information (Markdown)
|
|
1125
|
+
* @param {*} [options] Override http request option.
|
|
1126
|
+
* @throws {RequiredError}
|
|
1127
|
+
*/
|
|
1128
|
+
apiAdminV1HumanGet(options?: RawAxiosRequestConfig): AxiosPromise<Human>;
|
|
1129
|
+
/**
|
|
1130
|
+
*
|
|
1131
|
+
* @summary Save human information (Markdown)
|
|
1132
|
+
* @param {Human} human
|
|
1133
|
+
* @param {*} [options] Override http request option.
|
|
1134
|
+
* @throws {RequiredError}
|
|
1135
|
+
*/
|
|
1136
|
+
apiAdminV1HumanPost(human: Human, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1137
|
+
/**
|
|
1138
|
+
*
|
|
1139
|
+
* @summary List active session IDs
|
|
1140
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1141
|
+
* @param {number} [offset] Number of results to skip
|
|
1142
|
+
* @param {*} [options] Override http request option.
|
|
1143
|
+
* @throws {RequiredError}
|
|
1144
|
+
*/
|
|
1145
|
+
apiAdminV1SessionsGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSessions>;
|
|
1146
|
+
/**
|
|
1147
|
+
*
|
|
1148
|
+
* @summary Get session details
|
|
1149
|
+
* @param {string} id
|
|
1150
|
+
* @param {*} [options] Override http request option.
|
|
1151
|
+
* @throws {RequiredError}
|
|
1152
|
+
*/
|
|
1153
|
+
apiAdminV1SessionsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Session>;
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @summary Get session message history
|
|
1157
|
+
* @param {string} id
|
|
1158
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1159
|
+
* @param {number} [offset] Number of results to skip
|
|
1160
|
+
* @param {*} [options] Override http request option.
|
|
1161
|
+
* @throws {RequiredError}
|
|
1162
|
+
*/
|
|
1163
|
+
apiAdminV1SessionsIdHistoryGet(id: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedHistory>;
|
|
1164
|
+
/**
|
|
1165
|
+
*
|
|
1166
|
+
* @summary Get loaded skills for a session
|
|
1167
|
+
* @param {string} id
|
|
1168
|
+
* @param {*} [options] Override http request option.
|
|
1169
|
+
* @throws {RequiredError}
|
|
1170
|
+
*/
|
|
1171
|
+
apiAdminV1SessionsIdSkillsGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
1172
|
+
/**
|
|
1173
|
+
*
|
|
1174
|
+
* @summary Get session token and cost statistics
|
|
1175
|
+
* @param {string} id
|
|
1176
|
+
* @param {*} [options] Override http request option.
|
|
1177
|
+
* @throws {RequiredError}
|
|
1178
|
+
*/
|
|
1179
|
+
apiAdminV1SessionsIdStatsGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ApiAdminV1SessionsIdStatsGet200Response>;
|
|
1180
|
+
/**
|
|
1181
|
+
*
|
|
1182
|
+
* @summary List all available agent commands (tools)
|
|
1183
|
+
* @param {*} [options] Override http request option.
|
|
1184
|
+
* @throws {RequiredError}
|
|
1185
|
+
*/
|
|
1186
|
+
apiAdminV1SkillsCommandsGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<SkillCommand>>;
|
|
1187
|
+
/**
|
|
1188
|
+
*
|
|
1189
|
+
* @summary List all installed skills
|
|
1190
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1191
|
+
* @param {number} [offset] Number of results to skip
|
|
1192
|
+
* @param {*} [options] Override http request option.
|
|
1193
|
+
* @throws {RequiredError}
|
|
1194
|
+
*/
|
|
1195
|
+
apiAdminV1SkillsGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSkills>;
|
|
1196
|
+
/**
|
|
1197
|
+
*
|
|
1198
|
+
* @summary Remove a skill
|
|
1199
|
+
* @param {string} name
|
|
1200
|
+
* @param {*} [options] Override http request option.
|
|
1201
|
+
* @throws {RequiredError}
|
|
1202
|
+
*/
|
|
1203
|
+
apiAdminV1SkillsNameDelete(name: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1204
|
+
/**
|
|
1205
|
+
*
|
|
1206
|
+
* @summary Get skill details
|
|
1207
|
+
* @param {string} name
|
|
1208
|
+
* @param {*} [options] Override http request option.
|
|
1209
|
+
* @throws {RequiredError}
|
|
1210
|
+
*/
|
|
1211
|
+
apiAdminV1SkillsNameGet(name: string, options?: RawAxiosRequestConfig): AxiosPromise<Skill>;
|
|
1212
|
+
/**
|
|
1213
|
+
*
|
|
1214
|
+
* @summary List all sub-agent runs
|
|
1215
|
+
* @param {string} [session] Filter by parent session ID
|
|
1216
|
+
* @param {*} [options] Override http request option.
|
|
1217
|
+
* @throws {RequiredError}
|
|
1218
|
+
*/
|
|
1219
|
+
apiAdminV1SubagentsGet(session?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SubAgentRun>>;
|
|
1220
|
+
/**
|
|
1221
|
+
*
|
|
1222
|
+
* @summary Cancel a running sub-agent
|
|
1223
|
+
* @param {string} id
|
|
1224
|
+
* @param {*} [options] Override http request option.
|
|
1225
|
+
* @throws {RequiredError}
|
|
1226
|
+
*/
|
|
1227
|
+
apiAdminV1SubagentsIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1228
|
+
/**
|
|
1229
|
+
*
|
|
1230
|
+
* @summary Get sub-agent run details (admin)
|
|
1231
|
+
* @param {string} id
|
|
1232
|
+
* @param {*} [options] Override http request option.
|
|
1233
|
+
* @throws {RequiredError}
|
|
1234
|
+
*/
|
|
1235
|
+
apiAdminV1SubagentsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SubAgentRun>;
|
|
1236
|
+
/**
|
|
1237
|
+
*
|
|
1238
|
+
* @summary Get full message transcript of a sub-agent run (admin)
|
|
1239
|
+
* @param {string} id
|
|
1240
|
+
* @param {*} [options] Override http request option.
|
|
1241
|
+
* @throws {RequiredError}
|
|
1242
|
+
*/
|
|
1243
|
+
apiAdminV1SubagentsIdTranscriptGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ApiV1SubagentsIdTranscriptGet200ResponseInner>>;
|
|
1244
|
+
/**
|
|
1245
|
+
*
|
|
1246
|
+
* @summary List all recurring tasks
|
|
1247
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1248
|
+
* @param {number} [offset] Number of results to skip
|
|
1249
|
+
* @param {*} [options] Override http request option.
|
|
1250
|
+
* @throws {RequiredError}
|
|
1251
|
+
*/
|
|
1252
|
+
apiAdminV1TasksGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedTasks>;
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @summary Get task details
|
|
1256
|
+
* @param {string} id
|
|
1257
|
+
* @param {*} [options] Override http request option.
|
|
1258
|
+
* @throws {RequiredError}
|
|
1259
|
+
*/
|
|
1260
|
+
apiAdminV1TasksIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
|
|
1261
|
+
/**
|
|
1262
|
+
*
|
|
1263
|
+
* @summary Delete file or directory in uploads/ or generated/
|
|
1264
|
+
* @param {DeleteFilesRequest} deleteFilesRequest
|
|
1265
|
+
* @param {*} [options] Override http request option.
|
|
1266
|
+
* @throws {RequiredError}
|
|
1267
|
+
*/
|
|
1268
|
+
apiV1FilesDelete(deleteFilesRequest: DeleteFilesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApiV1FilesDelete200Response>;
|
|
1269
|
+
/**
|
|
1270
|
+
*
|
|
1271
|
+
* @summary Serve file download, text preview, or directory listing
|
|
1272
|
+
* @param {string} filepath Relative path in uploads/ or generated/
|
|
1273
|
+
* @param {boolean} [view] If true and filepath is a file, return text/plain preview instead of download
|
|
1274
|
+
* @param {boolean} [zip] If true and filepath is a directory, download as ZIP archive instead of listing
|
|
1275
|
+
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @throws {RequiredError}
|
|
1277
|
+
*/
|
|
1278
|
+
apiV1FilesFilepathGet(filepath: string, view?: boolean, zip?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ListFilesResponse>;
|
|
1279
|
+
/**
|
|
1280
|
+
*
|
|
1281
|
+
* @summary List files and directories in uploads/ or generated/
|
|
1282
|
+
* @param {string} [path] Directory path relative to storage_dir (uploads/ or generated/)
|
|
1283
|
+
* @param {*} [options] Override http request option.
|
|
1284
|
+
* @throws {RequiredError}
|
|
1285
|
+
*/
|
|
1286
|
+
apiV1FilesGet(path?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListFilesResponse>;
|
|
1287
|
+
/**
|
|
1288
|
+
*
|
|
1289
|
+
* @summary Upload a file to the local storage
|
|
1290
|
+
* @param {File} [file]
|
|
1291
|
+
* @param {*} [options] Override http request option.
|
|
1292
|
+
* @throws {RequiredError}
|
|
1293
|
+
*/
|
|
1294
|
+
apiV1FilesUploadPost(file?: File, options?: RawAxiosRequestConfig): AxiosPromise<UploadResponse>;
|
|
1295
|
+
/**
|
|
1296
|
+
*
|
|
1297
|
+
* @summary Manage sessions or check global status
|
|
1298
|
+
* @param {ApiV1InteractionPostRequest} apiV1InteractionPostRequest
|
|
1299
|
+
* @param {*} [options] Override http request option.
|
|
1300
|
+
* @throws {RequiredError}
|
|
1301
|
+
*/
|
|
1302
|
+
apiV1InteractionPost(apiV1InteractionPostRequest: ApiV1InteractionPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1303
|
+
/**
|
|
1304
|
+
*
|
|
1305
|
+
* @summary Send a prompt to the agent
|
|
1306
|
+
* @param {ApiV1PromptPostRequest} apiV1PromptPostRequest
|
|
1307
|
+
* @param {*} [options] Override http request option.
|
|
1308
|
+
* @throws {RequiredError}
|
|
1309
|
+
*/
|
|
1310
|
+
apiV1PromptPost(apiV1PromptPostRequest: ApiV1PromptPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApiV1PromptPost200Response>;
|
|
1311
|
+
/**
|
|
1312
|
+
*
|
|
1313
|
+
* @summary Stream a prompt response via SSE
|
|
1314
|
+
* @param {string} prompt
|
|
1315
|
+
* @param {string} [model]
|
|
1316
|
+
* @param {*} [options] Override http request option.
|
|
1317
|
+
* @throws {RequiredError}
|
|
1318
|
+
*/
|
|
1319
|
+
apiV1PromptStreamGet(prompt: string, model?: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
1320
|
+
/**
|
|
1321
|
+
*
|
|
1322
|
+
* @summary Initial configuration
|
|
1323
|
+
* @param {SetupRequest} setupRequest
|
|
1324
|
+
* @param {*} [options] Override http request option.
|
|
1325
|
+
* @throws {RequiredError}
|
|
1326
|
+
*/
|
|
1327
|
+
apiV1SetupConfigurePost(setupRequest: SetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApiV1SetupConfigurePost200Response>;
|
|
1328
|
+
/**
|
|
1329
|
+
*
|
|
1330
|
+
* @summary Get setup mode status
|
|
1331
|
+
* @param {*} [options] Override http request option.
|
|
1332
|
+
* @throws {RequiredError}
|
|
1333
|
+
*/
|
|
1334
|
+
apiV1SetupStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<SetupStatus>;
|
|
1335
|
+
/**
|
|
1336
|
+
*
|
|
1337
|
+
* @summary Get sub-agent run status and result
|
|
1338
|
+
* @param {string} id
|
|
1339
|
+
* @param {*} [options] Override http request option.
|
|
1340
|
+
* @throws {RequiredError}
|
|
1341
|
+
*/
|
|
1342
|
+
apiV1SubagentsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SubAgentRun>;
|
|
1343
|
+
/**
|
|
1344
|
+
*
|
|
1345
|
+
* @summary Get full message transcript of a sub-agent run
|
|
1346
|
+
* @param {string} id
|
|
1347
|
+
* @param {*} [options] Override http request option.
|
|
1348
|
+
* @throws {RequiredError}
|
|
1349
|
+
*/
|
|
1350
|
+
apiV1SubagentsIdTranscriptGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ApiV1SubagentsIdTranscriptGet200ResponseInner>>;
|
|
1351
|
+
/**
|
|
1352
|
+
* Manually spawn a specialized sub-agent with a given role and goal. The sub-agent runs autonomously and its result can be polled via GET /api/v1/subagents/{id}. The orchestrator LLM can also spawn sub-agents automatically via the Researcher/Coder/Reviewer tools.
|
|
1353
|
+
* @summary Spawn a new sub-agent run
|
|
1354
|
+
* @param {SpawnSubAgentRequest} spawnSubAgentRequest
|
|
1355
|
+
* @param {*} [options] Override http request option.
|
|
1356
|
+
* @throws {RequiredError}
|
|
1357
|
+
*/
|
|
1358
|
+
apiV1SubagentsPost(spawnSubAgentRequest: SpawnSubAgentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SpawnSubAgentResponse>;
|
|
1359
|
+
/**
|
|
1360
|
+
*
|
|
1361
|
+
* @summary Prometheus metrics endpoint
|
|
1362
|
+
* @param {*} [options] Override http request option.
|
|
1363
|
+
* @throws {RequiredError}
|
|
1364
|
+
*/
|
|
1365
|
+
metricsGet(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
1366
|
+
/**
|
|
1367
|
+
* WebSocket endpoint for real-time interaction and background task notifications. When a background task completes, a message is sent in the following format: ```json { \"type\": \"task_complete\", \"task_id\": \"uuid\", \"task_name\": \"task name\", \"response\": \"result string\" } ```
|
|
1368
|
+
* @summary WebSocket for interactive streaming
|
|
1369
|
+
* @param {string} [channel]
|
|
1370
|
+
* @param {string} [device]
|
|
1371
|
+
* @param {*} [options] Override http request option.
|
|
1372
|
+
* @throws {RequiredError}
|
|
1373
|
+
*/
|
|
1374
|
+
wsGet(channel?: string, device?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1375
|
+
};
|
|
1376
|
+
/**
|
|
1377
|
+
* DefaultApi - object-oriented interface
|
|
1378
|
+
*/
|
|
1379
|
+
export declare class DefaultApi extends BaseAPI {
|
|
1380
|
+
/**
|
|
1381
|
+
*
|
|
1382
|
+
* @summary Get all factual memories
|
|
1383
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1384
|
+
* @param {number} [offset] Number of results to skip
|
|
1385
|
+
* @param {*} [options] Override http request option.
|
|
1386
|
+
* @throws {RequiredError}
|
|
1387
|
+
*/
|
|
1388
|
+
apiAdminV1BrainFactsGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSearchResults, any, {}>>;
|
|
1389
|
+
/**
|
|
1390
|
+
*
|
|
1391
|
+
* @summary Get all summary memories
|
|
1392
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1393
|
+
* @param {number} [offset] Number of results to skip
|
|
1394
|
+
* @param {*} [options] Override http request option.
|
|
1395
|
+
* @throws {RequiredError}
|
|
1396
|
+
*/
|
|
1397
|
+
apiAdminV1BrainSummariesGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSearchResults, any, {}>>;
|
|
1398
|
+
/**
|
|
1399
|
+
*
|
|
1400
|
+
* @summary Get Mole-Syn reasoning topology
|
|
1401
|
+
* @param {string} [sessionId] Filter topology by session ID
|
|
1402
|
+
* @param {*} [options] Override http request option.
|
|
1403
|
+
* @throws {RequiredError}
|
|
1404
|
+
*/
|
|
1405
|
+
apiAdminV1BrainTopologyGet(sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TopologyData, any, {}>>;
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @summary Perform actions on communication channels
|
|
1409
|
+
* @param {ApiAdminV1ChannelsPostRequest} apiAdminV1ChannelsPostRequest
|
|
1410
|
+
* @param {*} [options] Override http request option.
|
|
1411
|
+
* @throws {RequiredError}
|
|
1412
|
+
*/
|
|
1413
|
+
apiAdminV1ChannelsPost(apiAdminV1ChannelsPostRequest: ApiAdminV1ChannelsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @summary Get current configuration
|
|
1417
|
+
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @throws {RequiredError}
|
|
1419
|
+
*/
|
|
1420
|
+
apiAdminV1ConfigGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Config, any, {}>>;
|
|
1421
|
+
/**
|
|
1422
|
+
*
|
|
1423
|
+
* @summary Update configuration
|
|
1424
|
+
* @param {Config} config
|
|
1425
|
+
* @param {*} [options] Override http request option.
|
|
1426
|
+
* @throws {RequiredError}
|
|
1427
|
+
*/
|
|
1428
|
+
apiAdminV1ConfigPost(config: Config, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1429
|
+
/**
|
|
1430
|
+
*
|
|
1431
|
+
* @summary Reset configuration (removes config.yaml)
|
|
1432
|
+
* @param {*} [options] Override http request option.
|
|
1433
|
+
* @throws {RequiredError}
|
|
1434
|
+
*/
|
|
1435
|
+
apiAdminV1ConfigResetPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiV1SetupConfigurePost200Response, any, {}>>;
|
|
1436
|
+
/**
|
|
1437
|
+
*
|
|
1438
|
+
* @summary Check health of the admin API
|
|
1439
|
+
* @param {*} [options] Override http request option.
|
|
1440
|
+
* @throws {RequiredError}
|
|
1441
|
+
*/
|
|
1442
|
+
apiAdminV1HealthGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiAdminV1HealthGet200Response, any, {}>>;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @summary Get the human information (Markdown)
|
|
1446
|
+
* @param {*} [options] Override http request option.
|
|
1447
|
+
* @throws {RequiredError}
|
|
1448
|
+
*/
|
|
1449
|
+
apiAdminV1HumanGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Human, any, {}>>;
|
|
1450
|
+
/**
|
|
1451
|
+
*
|
|
1452
|
+
* @summary Save human information (Markdown)
|
|
1453
|
+
* @param {Human} human
|
|
1454
|
+
* @param {*} [options] Override http request option.
|
|
1455
|
+
* @throws {RequiredError}
|
|
1456
|
+
*/
|
|
1457
|
+
apiAdminV1HumanPost(human: Human, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1458
|
+
/**
|
|
1459
|
+
*
|
|
1460
|
+
* @summary List active session IDs
|
|
1461
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1462
|
+
* @param {number} [offset] Number of results to skip
|
|
1463
|
+
* @param {*} [options] Override http request option.
|
|
1464
|
+
* @throws {RequiredError}
|
|
1465
|
+
*/
|
|
1466
|
+
apiAdminV1SessionsGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSessions, any, {}>>;
|
|
1467
|
+
/**
|
|
1468
|
+
*
|
|
1469
|
+
* @summary Get session details
|
|
1470
|
+
* @param {string} id
|
|
1471
|
+
* @param {*} [options] Override http request option.
|
|
1472
|
+
* @throws {RequiredError}
|
|
1473
|
+
*/
|
|
1474
|
+
apiAdminV1SessionsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session, any, {}>>;
|
|
1475
|
+
/**
|
|
1476
|
+
*
|
|
1477
|
+
* @summary Get session message history
|
|
1478
|
+
* @param {string} id
|
|
1479
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1480
|
+
* @param {number} [offset] Number of results to skip
|
|
1481
|
+
* @param {*} [options] Override http request option.
|
|
1482
|
+
* @throws {RequiredError}
|
|
1483
|
+
*/
|
|
1484
|
+
apiAdminV1SessionsIdHistoryGet(id: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedHistory, any, {}>>;
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @summary Get loaded skills for a session
|
|
1488
|
+
* @param {string} id
|
|
1489
|
+
* @param {*} [options] Override http request option.
|
|
1490
|
+
* @throws {RequiredError}
|
|
1491
|
+
*/
|
|
1492
|
+
apiAdminV1SessionsIdSkillsGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
|
|
1493
|
+
/**
|
|
1494
|
+
*
|
|
1495
|
+
* @summary Get session token and cost statistics
|
|
1496
|
+
* @param {string} id
|
|
1497
|
+
* @param {*} [options] Override http request option.
|
|
1498
|
+
* @throws {RequiredError}
|
|
1499
|
+
*/
|
|
1500
|
+
apiAdminV1SessionsIdStatsGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiAdminV1SessionsIdStatsGet200Response, any, {}>>;
|
|
1501
|
+
/**
|
|
1502
|
+
*
|
|
1503
|
+
* @summary List all available agent commands (tools)
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
*/
|
|
1507
|
+
apiAdminV1SkillsCommandsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SkillCommand[], any, {}>>;
|
|
1508
|
+
/**
|
|
1509
|
+
*
|
|
1510
|
+
* @summary List all installed skills
|
|
1511
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1512
|
+
* @param {number} [offset] Number of results to skip
|
|
1513
|
+
* @param {*} [options] Override http request option.
|
|
1514
|
+
* @throws {RequiredError}
|
|
1515
|
+
*/
|
|
1516
|
+
apiAdminV1SkillsGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSkills, any, {}>>;
|
|
1517
|
+
/**
|
|
1518
|
+
*
|
|
1519
|
+
* @summary Remove a skill
|
|
1520
|
+
* @param {string} name
|
|
1521
|
+
* @param {*} [options] Override http request option.
|
|
1522
|
+
* @throws {RequiredError}
|
|
1523
|
+
*/
|
|
1524
|
+
apiAdminV1SkillsNameDelete(name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1525
|
+
/**
|
|
1526
|
+
*
|
|
1527
|
+
* @summary Get skill details
|
|
1528
|
+
* @param {string} name
|
|
1529
|
+
* @param {*} [options] Override http request option.
|
|
1530
|
+
* @throws {RequiredError}
|
|
1531
|
+
*/
|
|
1532
|
+
apiAdminV1SkillsNameGet(name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Skill, any, {}>>;
|
|
1533
|
+
/**
|
|
1534
|
+
*
|
|
1535
|
+
* @summary List all sub-agent runs
|
|
1536
|
+
* @param {string} [session] Filter by parent session ID
|
|
1537
|
+
* @param {*} [options] Override http request option.
|
|
1538
|
+
* @throws {RequiredError}
|
|
1539
|
+
*/
|
|
1540
|
+
apiAdminV1SubagentsGet(session?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubAgentRun[], any, {}>>;
|
|
1541
|
+
/**
|
|
1542
|
+
*
|
|
1543
|
+
* @summary Cancel a running sub-agent
|
|
1544
|
+
* @param {string} id
|
|
1545
|
+
* @param {*} [options] Override http request option.
|
|
1546
|
+
* @throws {RequiredError}
|
|
1547
|
+
*/
|
|
1548
|
+
apiAdminV1SubagentsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @summary Get sub-agent run details (admin)
|
|
1552
|
+
* @param {string} id
|
|
1553
|
+
* @param {*} [options] Override http request option.
|
|
1554
|
+
* @throws {RequiredError}
|
|
1555
|
+
*/
|
|
1556
|
+
apiAdminV1SubagentsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubAgentRun, any, {}>>;
|
|
1557
|
+
/**
|
|
1558
|
+
*
|
|
1559
|
+
* @summary Get full message transcript of a sub-agent run (admin)
|
|
1560
|
+
* @param {string} id
|
|
1561
|
+
* @param {*} [options] Override http request option.
|
|
1562
|
+
* @throws {RequiredError}
|
|
1563
|
+
*/
|
|
1564
|
+
apiAdminV1SubagentsIdTranscriptGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiV1SubagentsIdTranscriptGet200ResponseInner[], any, {}>>;
|
|
1565
|
+
/**
|
|
1566
|
+
*
|
|
1567
|
+
* @summary List all recurring tasks
|
|
1568
|
+
* @param {number} [limit] Maximum number of results to return
|
|
1569
|
+
* @param {number} [offset] Number of results to skip
|
|
1570
|
+
* @param {*} [options] Override http request option.
|
|
1571
|
+
* @throws {RequiredError}
|
|
1572
|
+
*/
|
|
1573
|
+
apiAdminV1TasksGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTasks, any, {}>>;
|
|
1574
|
+
/**
|
|
1575
|
+
*
|
|
1576
|
+
* @summary Get task details
|
|
1577
|
+
* @param {string} id
|
|
1578
|
+
* @param {*} [options] Override http request option.
|
|
1579
|
+
* @throws {RequiredError}
|
|
1580
|
+
*/
|
|
1581
|
+
apiAdminV1TasksIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Task, any, {}>>;
|
|
1582
|
+
/**
|
|
1583
|
+
*
|
|
1584
|
+
* @summary Delete file or directory in uploads/ or generated/
|
|
1585
|
+
* @param {DeleteFilesRequest} deleteFilesRequest
|
|
1586
|
+
* @param {*} [options] Override http request option.
|
|
1587
|
+
* @throws {RequiredError}
|
|
1588
|
+
*/
|
|
1589
|
+
apiV1FilesDelete(deleteFilesRequest: DeleteFilesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiV1FilesDelete200Response, any, {}>>;
|
|
1590
|
+
/**
|
|
1591
|
+
*
|
|
1592
|
+
* @summary Serve file download, text preview, or directory listing
|
|
1593
|
+
* @param {string} filepath Relative path in uploads/ or generated/
|
|
1594
|
+
* @param {boolean} [view] If true and filepath is a file, return text/plain preview instead of download
|
|
1595
|
+
* @param {boolean} [zip] If true and filepath is a directory, download as ZIP archive instead of listing
|
|
1596
|
+
* @param {*} [options] Override http request option.
|
|
1597
|
+
* @throws {RequiredError}
|
|
1598
|
+
*/
|
|
1599
|
+
apiV1FilesFilepathGet(filepath: string, view?: boolean, zip?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFilesResponse, any, {}>>;
|
|
1600
|
+
/**
|
|
1601
|
+
*
|
|
1602
|
+
* @summary List files and directories in uploads/ or generated/
|
|
1603
|
+
* @param {string} [path] Directory path relative to storage_dir (uploads/ or generated/)
|
|
1604
|
+
* @param {*} [options] Override http request option.
|
|
1605
|
+
* @throws {RequiredError}
|
|
1606
|
+
*/
|
|
1607
|
+
apiV1FilesGet(path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFilesResponse, any, {}>>;
|
|
1608
|
+
/**
|
|
1609
|
+
*
|
|
1610
|
+
* @summary Upload a file to the local storage
|
|
1611
|
+
* @param {File} [file]
|
|
1612
|
+
* @param {*} [options] Override http request option.
|
|
1613
|
+
* @throws {RequiredError}
|
|
1614
|
+
*/
|
|
1615
|
+
apiV1FilesUploadPost(file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadResponse, any, {}>>;
|
|
1616
|
+
/**
|
|
1617
|
+
*
|
|
1618
|
+
* @summary Manage sessions or check global status
|
|
1619
|
+
* @param {ApiV1InteractionPostRequest} apiV1InteractionPostRequest
|
|
1620
|
+
* @param {*} [options] Override http request option.
|
|
1621
|
+
* @throws {RequiredError}
|
|
1622
|
+
*/
|
|
1623
|
+
apiV1InteractionPost(apiV1InteractionPostRequest: ApiV1InteractionPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1624
|
+
/**
|
|
1625
|
+
*
|
|
1626
|
+
* @summary Send a prompt to the agent
|
|
1627
|
+
* @param {ApiV1PromptPostRequest} apiV1PromptPostRequest
|
|
1628
|
+
* @param {*} [options] Override http request option.
|
|
1629
|
+
* @throws {RequiredError}
|
|
1630
|
+
*/
|
|
1631
|
+
apiV1PromptPost(apiV1PromptPostRequest: ApiV1PromptPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiV1PromptPost200Response, any, {}>>;
|
|
1632
|
+
/**
|
|
1633
|
+
*
|
|
1634
|
+
* @summary Stream a prompt response via SSE
|
|
1635
|
+
* @param {string} prompt
|
|
1636
|
+
* @param {string} [model]
|
|
1637
|
+
* @param {*} [options] Override http request option.
|
|
1638
|
+
* @throws {RequiredError}
|
|
1639
|
+
*/
|
|
1640
|
+
apiV1PromptStreamGet(prompt: string, model?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1641
|
+
/**
|
|
1642
|
+
*
|
|
1643
|
+
* @summary Initial configuration
|
|
1644
|
+
* @param {SetupRequest} setupRequest
|
|
1645
|
+
* @param {*} [options] Override http request option.
|
|
1646
|
+
* @throws {RequiredError}
|
|
1647
|
+
*/
|
|
1648
|
+
apiV1SetupConfigurePost(setupRequest: SetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiV1SetupConfigurePost200Response, any, {}>>;
|
|
1649
|
+
/**
|
|
1650
|
+
*
|
|
1651
|
+
* @summary Get setup mode status
|
|
1652
|
+
* @param {*} [options] Override http request option.
|
|
1653
|
+
* @throws {RequiredError}
|
|
1654
|
+
*/
|
|
1655
|
+
apiV1SetupStatusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetupStatus, any, {}>>;
|
|
1656
|
+
/**
|
|
1657
|
+
*
|
|
1658
|
+
* @summary Get sub-agent run status and result
|
|
1659
|
+
* @param {string} id
|
|
1660
|
+
* @param {*} [options] Override http request option.
|
|
1661
|
+
* @throws {RequiredError}
|
|
1662
|
+
*/
|
|
1663
|
+
apiV1SubagentsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubAgentRun, any, {}>>;
|
|
1664
|
+
/**
|
|
1665
|
+
*
|
|
1666
|
+
* @summary Get full message transcript of a sub-agent run
|
|
1667
|
+
* @param {string} id
|
|
1668
|
+
* @param {*} [options] Override http request option.
|
|
1669
|
+
* @throws {RequiredError}
|
|
1670
|
+
*/
|
|
1671
|
+
apiV1SubagentsIdTranscriptGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiV1SubagentsIdTranscriptGet200ResponseInner[], any, {}>>;
|
|
1672
|
+
/**
|
|
1673
|
+
* Manually spawn a specialized sub-agent with a given role and goal. The sub-agent runs autonomously and its result can be polled via GET /api/v1/subagents/{id}. The orchestrator LLM can also spawn sub-agents automatically via the Researcher/Coder/Reviewer tools.
|
|
1674
|
+
* @summary Spawn a new sub-agent run
|
|
1675
|
+
* @param {SpawnSubAgentRequest} spawnSubAgentRequest
|
|
1676
|
+
* @param {*} [options] Override http request option.
|
|
1677
|
+
* @throws {RequiredError}
|
|
1678
|
+
*/
|
|
1679
|
+
apiV1SubagentsPost(spawnSubAgentRequest: SpawnSubAgentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SpawnSubAgentResponse, any, {}>>;
|
|
1680
|
+
/**
|
|
1681
|
+
*
|
|
1682
|
+
* @summary Prometheus metrics endpoint
|
|
1683
|
+
* @param {*} [options] Override http request option.
|
|
1684
|
+
* @throws {RequiredError}
|
|
1685
|
+
*/
|
|
1686
|
+
metricsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1687
|
+
/**
|
|
1688
|
+
* WebSocket endpoint for real-time interaction and background task notifications. When a background task completes, a message is sent in the following format: ```json { \"type\": \"task_complete\", \"task_id\": \"uuid\", \"task_name\": \"task name\", \"response\": \"result string\" } ```
|
|
1689
|
+
* @summary WebSocket for interactive streaming
|
|
1690
|
+
* @param {string} [channel]
|
|
1691
|
+
* @param {string} [device]
|
|
1692
|
+
* @param {*} [options] Override http request option.
|
|
1693
|
+
* @throws {RequiredError}
|
|
1694
|
+
*/
|
|
1695
|
+
wsGet(channel?: string, device?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1696
|
+
}
|