@alexrockshouts/miri-sdk 0.0.1

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