@stack-spot/portal-network 1.0.0-dev.1768422812092 → 1.0.0-dev.1768593954453
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/agent-tools.d.ts +614 -151
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +168 -45
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +3 -2
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +1 -2
- package/dist/api/ai.js.map +1 -1
- package/dist/api/workspace-ai.d.ts +41 -0
- package/dist/api/workspace-ai.d.ts.map +1 -1
- package/dist/api/workspace-ai.js +34 -0
- package/dist/api/workspace-ai.js.map +1 -1
- package/dist/client/agent-tools.d.ts +130 -3
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +105 -2
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +72 -1
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +71 -6
- package/dist/client/ai.js.map +1 -1
- package/dist/client/workspace-ai.d.ts +15 -4
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +17 -3
- package/dist/client/workspace-ai.js.map +1 -1
- package/package.json +1 -1
- package/src/api/agent-tools.ts +813 -196
- package/src/api/ai.ts +3 -3
- package/src/api/workspace-ai.ts +83 -0
- package/src/client/agent-tools.ts +55 -2
- package/src/client/ai.ts +42 -6
- package/src/client/workspace-ai.ts +23 -7
|
@@ -170,15 +170,18 @@ export type AgentUsingToolsResponse = {
|
|
|
170
170
|
name: string;
|
|
171
171
|
avatar?: string | null;
|
|
172
172
|
};
|
|
173
|
-
export type
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
export type Function = {
|
|
174
|
+
name: string;
|
|
175
|
+
description: string;
|
|
176
|
+
parameters: {
|
|
177
|
+
[key: string]: any;
|
|
178
|
+
};
|
|
179
|
+
strict?: boolean;
|
|
176
180
|
};
|
|
177
|
-
export type
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
mcp_toolkit_ids?: string[] | null;
|
|
181
|
+
export type McpToolFunction = {
|
|
182
|
+
"type"?: string | null;
|
|
183
|
+
"function"?: Function | null;
|
|
184
|
+
id?: string | null;
|
|
182
185
|
};
|
|
183
186
|
export type ToolkitMcpResponse = {
|
|
184
187
|
id?: string | null;
|
|
@@ -190,11 +193,20 @@ export type ToolkitMcpResponse = {
|
|
|
190
193
|
secrets?: string[] | null;
|
|
191
194
|
url?: string | null;
|
|
192
195
|
toolkit_type?: ToolkitType | null;
|
|
196
|
+
tools?: McpToolFunction[] | null;
|
|
197
|
+
};
|
|
198
|
+
export type MultiAgentToolkitResponse = {
|
|
199
|
+
id: string;
|
|
200
|
+
agent_version_number: number | null;
|
|
201
|
+
avatar: string | null;
|
|
202
|
+
name: string;
|
|
203
|
+
description: string;
|
|
193
204
|
};
|
|
194
205
|
export type AgentToolsResponse = {
|
|
195
206
|
builtin_toolkits?: BuiltinToolkitResponse[];
|
|
196
207
|
custom_toolkits?: CustomToolkitResponse[];
|
|
197
208
|
mcp_toolkits?: ToolkitMcpResponse[];
|
|
209
|
+
multi_agent_toolkits?: MultiAgentToolkitResponse[];
|
|
198
210
|
};
|
|
199
211
|
export type SchemaEnum = "OPENAI";
|
|
200
212
|
export type FunctionParameter = {
|
|
@@ -213,7 +225,7 @@ export type FunctionParameter = {
|
|
|
213
225
|
/** Allow arbitrary data of specific typed */
|
|
214
226
|
additionalProperties?: boolean;
|
|
215
227
|
};
|
|
216
|
-
export type
|
|
228
|
+
export type Function2 = {
|
|
217
229
|
/** The name of the function */
|
|
218
230
|
name: string;
|
|
219
231
|
/** A description of what the function does */
|
|
@@ -229,7 +241,7 @@ export type OpenAiTool = {
|
|
|
229
241
|
/** The type of the tool; must be 'function' */
|
|
230
242
|
"type": "function";
|
|
231
243
|
/** The function associated with this tool */
|
|
232
|
-
"function":
|
|
244
|
+
"function": Function2;
|
|
233
245
|
};
|
|
234
246
|
export type ExecuteAgentToolRequest = {
|
|
235
247
|
arguments?: string | null;
|
|
@@ -247,6 +259,7 @@ export type KnowledgeSourcesConfig = {
|
|
|
247
259
|
similarity_function?: string;
|
|
248
260
|
post_processing?: boolean;
|
|
249
261
|
};
|
|
262
|
+
export type AgentVersionStatus = "draft" | "published" | "deprecated";
|
|
250
263
|
export type ListAgentResponse = {
|
|
251
264
|
id: string;
|
|
252
265
|
name: string;
|
|
@@ -257,6 +270,9 @@ export type ListAgentResponse = {
|
|
|
257
270
|
avatar: string | null;
|
|
258
271
|
suggested_prompts: string[] | null;
|
|
259
272
|
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
273
|
+
version_number: number;
|
|
274
|
+
status: AgentVersionStatus;
|
|
275
|
+
is_recommended: boolean;
|
|
260
276
|
has_multiagent_tool?: boolean;
|
|
261
277
|
"type"?: string;
|
|
262
278
|
system_prompt?: string;
|
|
@@ -272,6 +288,10 @@ export type KnowledgeSourcesConfigRequest = {
|
|
|
272
288
|
knowledge_sources?: string[] | null;
|
|
273
289
|
sealed?: boolean | null;
|
|
274
290
|
};
|
|
291
|
+
export type AssignCustomToolsAgentRequest = {
|
|
292
|
+
toolkit_id: string;
|
|
293
|
+
tools_ids: string[];
|
|
294
|
+
};
|
|
275
295
|
export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
|
|
276
296
|
export type AgentMemory = "vector" | "buffer";
|
|
277
297
|
export type PlannerType = "simple" | "tool_oriented";
|
|
@@ -299,6 +319,7 @@ export type NewAgentRequest = {
|
|
|
299
319
|
/** Custom tools to assign to the agent */
|
|
300
320
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
301
321
|
mcp_toolkit_ids?: string[] | null;
|
|
322
|
+
/** Multi-agents assignment to the agent */
|
|
302
323
|
sub_agents_ids?: string[] | null;
|
|
303
324
|
detail_mode?: boolean;
|
|
304
325
|
structured_output?: string | null;
|
|
@@ -315,13 +336,21 @@ export type NewAgentRequest = {
|
|
|
315
336
|
planner_type?: PlannerType | null;
|
|
316
337
|
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
317
338
|
max_llm_interactions?: number | null;
|
|
339
|
+
/** LLM planner model name */
|
|
340
|
+
planner_model_name?: string | null;
|
|
341
|
+
/** LLM planner model id */
|
|
342
|
+
planner_model_id?: string | null;
|
|
318
343
|
};
|
|
319
344
|
export type SearchAgentsRequest = {
|
|
320
345
|
/** Agent ids to filter for */
|
|
321
346
|
ids: string[];
|
|
322
347
|
};
|
|
348
|
+
export type AssignMultiAgentVersionRequest = {
|
|
349
|
+
agent_core_id: string;
|
|
350
|
+
version_number?: number | null;
|
|
351
|
+
};
|
|
323
352
|
export type WorkspaceForkRequest = {
|
|
324
|
-
|
|
353
|
+
agents: AssignMultiAgentVersionRequest[];
|
|
325
354
|
member_id: string;
|
|
326
355
|
};
|
|
327
356
|
export type AgentItemFork = {
|
|
@@ -361,7 +390,7 @@ export type ListMultiAgentsResponse = {
|
|
|
361
390
|
visibility_level: VisibilityLevelEnum;
|
|
362
391
|
has_multiagent_tool: boolean;
|
|
363
392
|
};
|
|
364
|
-
export type
|
|
393
|
+
export type KnowledgeSourceDetailsResponse = {
|
|
365
394
|
id: string;
|
|
366
395
|
slug: string;
|
|
367
396
|
name: string;
|
|
@@ -369,139 +398,103 @@ export type KnowledgeSourceDetails = {
|
|
|
369
398
|
"type": string;
|
|
370
399
|
creator?: string | null;
|
|
371
400
|
"default": boolean;
|
|
372
|
-
visibility_level:
|
|
401
|
+
visibility_level: string;
|
|
373
402
|
model_name: string;
|
|
374
403
|
username?: string | null;
|
|
375
404
|
};
|
|
376
|
-
export type
|
|
377
|
-
|
|
405
|
+
export type KnowledgeSourcesConfigResponse = {
|
|
406
|
+
knowledge_sources: string[];
|
|
378
407
|
max_number_of_kos: number;
|
|
379
408
|
relevancy_threshold: number;
|
|
409
|
+
similarity_function: string;
|
|
380
410
|
post_processing: boolean;
|
|
381
|
-
knowledge_sources: string[];
|
|
382
|
-
knowledge_sources_details: KnowledgeSourceDetails[];
|
|
383
411
|
sealed: boolean;
|
|
412
|
+
knowledge_sources_details?: KnowledgeSourceDetailsResponse[] | null;
|
|
384
413
|
created_by?: string | null;
|
|
385
414
|
created_at?: string | null;
|
|
386
415
|
updated_by?: string | null;
|
|
387
416
|
updated_at?: string | null;
|
|
388
417
|
};
|
|
389
|
-
export type
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
toolkit_id: string;
|
|
418
|
+
export type LlmSettingsResponse = {
|
|
419
|
+
property_key: string;
|
|
420
|
+
property_value: string;
|
|
421
|
+
property_type: string;
|
|
394
422
|
};
|
|
395
|
-
export type
|
|
396
|
-
id: string;
|
|
397
|
-
name: string;
|
|
398
|
-
description: string;
|
|
399
|
-
image_url: string;
|
|
400
|
-
tools: BuiltinToolDto[];
|
|
401
|
-
};
|
|
402
|
-
export type CustomToolkitToolDto = {
|
|
403
|
-
id: string;
|
|
404
|
-
name: string;
|
|
405
|
-
description: string;
|
|
406
|
-
method: string;
|
|
407
|
-
url: string;
|
|
408
|
-
parameters?: {
|
|
409
|
-
[key: string]: any;
|
|
410
|
-
}[] | null;
|
|
411
|
-
request_body?: {
|
|
412
|
-
[key: string]: any;
|
|
413
|
-
} | null;
|
|
414
|
-
response_transformation?: string | null;
|
|
415
|
-
creator_name?: string | null;
|
|
416
|
-
};
|
|
417
|
-
export type CustomToolkitDto = {
|
|
418
|
-
id: string;
|
|
419
|
-
name: string;
|
|
420
|
-
description: string | null;
|
|
421
|
-
avatar: string | null;
|
|
422
|
-
tools: CustomToolkitToolDto[];
|
|
423
|
-
secrets: string[] | null;
|
|
424
|
-
visibility_level: VisibilityLevelEnum;
|
|
425
|
-
creator_name: string;
|
|
426
|
-
is_usable_by_others: boolean;
|
|
427
|
-
url: string | null;
|
|
428
|
-
toolkit_type: ToolkitType | null;
|
|
429
|
-
};
|
|
430
|
-
export type SecretScope = "ACCOUNT" | "SCOPED" | "SPOT" | "USER" | "UNKNOWN";
|
|
431
|
-
export type SecretDto = {
|
|
432
|
-
id: string;
|
|
433
|
-
scope?: SecretScope | null;
|
|
434
|
-
};
|
|
435
|
-
export type Function2 = {
|
|
436
|
-
name: string;
|
|
437
|
-
description: string;
|
|
438
|
-
parameters: {
|
|
439
|
-
[key: string]: any;
|
|
440
|
-
};
|
|
441
|
-
strict?: boolean;
|
|
442
|
-
};
|
|
443
|
-
export type ToolkitMcpdto = {
|
|
444
|
-
secrets: SecretDto[] | null;
|
|
445
|
-
name: string;
|
|
446
|
-
description?: string | null;
|
|
447
|
-
avatar?: string | null;
|
|
448
|
-
visibility_level?: VisibilityLevelEnum;
|
|
449
|
-
id?: string | null;
|
|
450
|
-
url?: string | null;
|
|
451
|
-
tools?: Function2[] | null;
|
|
452
|
-
/** Toolkit type */
|
|
453
|
-
toolkit_type?: ToolkitType | null;
|
|
454
|
-
};
|
|
455
|
-
export type AgentToolsDto = {
|
|
456
|
-
builtin_toolkits?: BuiltinToolkitDto[];
|
|
457
|
-
custom_toolkits?: CustomToolkitDto[];
|
|
458
|
-
mcp_toolkits?: ToolkitMcpdto[];
|
|
459
|
-
};
|
|
460
|
-
export type LlmSettingsModel = {
|
|
461
|
-
property_key?: string | null;
|
|
462
|
-
property_value?: string | null;
|
|
463
|
-
property_type?: string | null;
|
|
464
|
-
agent_id: string;
|
|
465
|
-
created_by?: string | null;
|
|
466
|
-
created_at?: string | null;
|
|
467
|
-
updated_by?: string | null;
|
|
468
|
-
updated_at?: string | null;
|
|
469
|
-
};
|
|
470
|
-
export type AgentLlmModelDto = {
|
|
423
|
+
export type AgentLlmModelResponse = {
|
|
471
424
|
model_id: string;
|
|
472
425
|
model_name: string;
|
|
473
|
-
is_default
|
|
426
|
+
is_default: boolean;
|
|
474
427
|
};
|
|
475
|
-
export type
|
|
428
|
+
export type FindByIdAgentResponse = {
|
|
429
|
+
/** Agent core ID */
|
|
476
430
|
id: string;
|
|
431
|
+
/** Agent name */
|
|
477
432
|
name: string;
|
|
433
|
+
/** Agent unique slug */
|
|
478
434
|
slug: string;
|
|
435
|
+
/** Agent description */
|
|
479
436
|
description?: string | null;
|
|
480
|
-
|
|
481
|
-
visibility_level: string;
|
|
437
|
+
/** Agent avatar image URL */
|
|
482
438
|
avatar?: string | null;
|
|
439
|
+
/** Agent visibility level */
|
|
440
|
+
visibility_level: string;
|
|
441
|
+
/** Agent type */
|
|
483
442
|
"type": string;
|
|
484
|
-
|
|
443
|
+
/** Whether agent is use-only (hides implementation) */
|
|
485
444
|
use_only: boolean;
|
|
445
|
+
/** Whether agent is internal */
|
|
446
|
+
is_internal: boolean;
|
|
447
|
+
/** Whether detail mode is enabled */
|
|
486
448
|
detail_mode: boolean;
|
|
449
|
+
/** Agent execution mode */
|
|
487
450
|
mode: AgentMode;
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
451
|
+
/** Agent memory type */
|
|
452
|
+
memory: AgentMemory;
|
|
453
|
+
/** Version status */
|
|
454
|
+
status: AgentVersionStatus;
|
|
455
|
+
/** Version number */
|
|
456
|
+
version_number: number;
|
|
457
|
+
/** Whether this is the recommended version */
|
|
458
|
+
is_recommended: boolean;
|
|
459
|
+
/** Whether this is the latest version */
|
|
460
|
+
is_latest: boolean;
|
|
461
|
+
/** System prompt for the agent */
|
|
462
|
+
system_prompt?: string | null;
|
|
463
|
+
/** Default LLM model ID */
|
|
491
464
|
model_id?: string | null;
|
|
465
|
+
/** Default LLM model name */
|
|
492
466
|
model_name?: string | null;
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
467
|
+
/** Original agent ID if forked */
|
|
468
|
+
origin_fork_id?: string | null;
|
|
469
|
+
/** Suggested conversation starters */
|
|
470
|
+
conversation_starter?: string[] | null;
|
|
471
|
+
/** JSON schema for structured output */
|
|
472
|
+
structured_output?: string | null;
|
|
473
|
+
/** Base version ID for version history */
|
|
474
|
+
base_version_id?: string | null;
|
|
475
|
+
planner_type?: PlannerType | null;
|
|
476
|
+
/** Maximum number of LLM interactions */
|
|
477
|
+
max_llm_interactions?: number | null;
|
|
478
|
+
/** Default LLM planner model ID */
|
|
479
|
+
planner_model_id?: string | null;
|
|
480
|
+
/** Default LLM planner model name */
|
|
481
|
+
planner_model_name?: string | null;
|
|
482
|
+
/** Knowledge sources configuration with details */
|
|
483
|
+
knowledge_sources_config?: KnowledgeSourcesConfigResponse | null;
|
|
484
|
+
/** Agent toolkits (builtin and custom) */
|
|
485
|
+
toolkits?: AgentToolsResponse;
|
|
486
|
+
/** LLM settings */
|
|
487
|
+
settings?: LlmSettingsResponse[];
|
|
488
|
+
/** Available LLM models for this agent */
|
|
489
|
+
available_llm_models?: AgentLlmModelResponse[];
|
|
490
|
+
/** Creator username */
|
|
497
491
|
created_by?: string | null;
|
|
492
|
+
/** Creation timestamp */
|
|
498
493
|
created_at?: string | null;
|
|
494
|
+
/** Last updater username */
|
|
499
495
|
updated_by?: string | null;
|
|
496
|
+
/** Last update timestamp */
|
|
500
497
|
updated_at?: string | null;
|
|
501
|
-
available_llm_models?: AgentLlmModelDto[];
|
|
502
|
-
memory?: AgentMemory;
|
|
503
|
-
planner_type?: PlannerType | null;
|
|
504
|
-
max_llm_interactions?: number | null;
|
|
505
498
|
};
|
|
506
499
|
export type UpdateAgentRequest = {
|
|
507
500
|
use_only?: boolean | null;
|
|
@@ -519,12 +512,15 @@ export type UpdateAgentRequest = {
|
|
|
519
512
|
avatar?: string | null;
|
|
520
513
|
/** Agent suggested prompt */
|
|
521
514
|
suggested_prompts?: string[];
|
|
515
|
+
/** agent status */
|
|
516
|
+
status?: AgentVersionStatus | null;
|
|
522
517
|
/** System prompt */
|
|
523
518
|
system_prompt?: string | null;
|
|
524
519
|
/** Agent type */
|
|
525
520
|
"type"?: AgentType | null;
|
|
526
521
|
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
527
522
|
builtin_tools_ids?: string[];
|
|
523
|
+
/** Multi-agents assignment to the agent */
|
|
528
524
|
sub_agents_ids?: string[];
|
|
529
525
|
/** Custom tools to assign to the agent */
|
|
530
526
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
@@ -544,6 +540,10 @@ export type UpdateAgentRequest = {
|
|
|
544
540
|
planner_type?: PlannerType;
|
|
545
541
|
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
546
542
|
max_llm_interactions?: number | null;
|
|
543
|
+
/** LLM planner model name */
|
|
544
|
+
planner_model_name?: string | null;
|
|
545
|
+
/** LLM planner model id */
|
|
546
|
+
planner_model_id?: string | null;
|
|
547
547
|
};
|
|
548
548
|
export type ForkAgentRequest = {
|
|
549
549
|
/** Agent slug to fork */
|
|
@@ -553,6 +553,144 @@ export type ForkAgentRequest = {
|
|
|
553
553
|
export type PublishAgentRequest = {
|
|
554
554
|
use_only?: boolean;
|
|
555
555
|
is_public?: boolean;
|
|
556
|
+
version_number?: number | null;
|
|
557
|
+
};
|
|
558
|
+
export type CreateVersionRequest = {
|
|
559
|
+
/** The version number to use as base for the new version. If not provided, uses latest version */
|
|
560
|
+
base_version_number?: number | null;
|
|
561
|
+
};
|
|
562
|
+
export type AgentVersionResponse = {
|
|
563
|
+
/** Agent version unique identifier */
|
|
564
|
+
id: string;
|
|
565
|
+
/** Reference to parent agent core */
|
|
566
|
+
agent_core_id: string;
|
|
567
|
+
/** Whether detail mode is enabled for responses */
|
|
568
|
+
detail_mode: boolean;
|
|
569
|
+
/** Whether version is internal-only */
|
|
570
|
+
is_internal: boolean;
|
|
571
|
+
/** Agent execution mode (autonomous, orchestrator, etc.) */
|
|
572
|
+
mode: AgentMode;
|
|
573
|
+
/** Memory type used by the agent */
|
|
574
|
+
memory: string;
|
|
575
|
+
/** Version status (draft, published, archived) */
|
|
576
|
+
status: AgentVersionStatus;
|
|
577
|
+
/** Sequential version number */
|
|
578
|
+
version_number: number;
|
|
579
|
+
/** Whether this is the recommended version for use */
|
|
580
|
+
is_recommended: boolean;
|
|
581
|
+
/** Whether this is the most recent version */
|
|
582
|
+
is_latest: boolean;
|
|
583
|
+
/** Base version ID used for creating this version */
|
|
584
|
+
base_version_id?: string | null;
|
|
585
|
+
/** Original agent version ID if this is a fork */
|
|
586
|
+
origin_fork_id?: string | null;
|
|
587
|
+
/** System prompt for the agent version */
|
|
588
|
+
system_prompt?: string | null;
|
|
589
|
+
/** LLM model ID used by this version */
|
|
590
|
+
model_id?: string | null;
|
|
591
|
+
/** LLM model name used by this version */
|
|
592
|
+
model_name?: string | null;
|
|
593
|
+
/** Suggested conversation starters */
|
|
594
|
+
conversation_starter?: string[] | null;
|
|
595
|
+
/** JSON schema for structured output format */
|
|
596
|
+
structured_output?: string | null;
|
|
597
|
+
planner_type?: PlannerType | null;
|
|
598
|
+
max_llm_interactions?: number | null;
|
|
599
|
+
/** Default LLM planner model ID */
|
|
600
|
+
planner_model_id?: string | null;
|
|
601
|
+
/** Default LLM planner model name */
|
|
602
|
+
planner_model_name?: string | null;
|
|
603
|
+
/** Knowledge sources configuration for RAG capabilities */
|
|
604
|
+
knowledge_sources_config?: KnowledgeSourcesConfig | null;
|
|
605
|
+
/** List of tools (builtin) assigned to this version */
|
|
606
|
+
toolkits?: AgentToolsResponse;
|
|
607
|
+
/** LLM-specific settings for this version */
|
|
608
|
+
settings?: LlmSettingsResponse[];
|
|
609
|
+
/** Available LLM models for this version */
|
|
610
|
+
llm_models?: AgentLlmModelResponse[];
|
|
611
|
+
/** Username of version creator */
|
|
612
|
+
created_by?: string | null;
|
|
613
|
+
/** Version creation timestamp */
|
|
614
|
+
created_at?: string | null;
|
|
615
|
+
/** Username of last updater */
|
|
616
|
+
updated_by?: string | null;
|
|
617
|
+
/** Last update timestamp */
|
|
618
|
+
updated_at?: string | null;
|
|
619
|
+
};
|
|
620
|
+
export type CreateVersionResponse = {
|
|
621
|
+
/** Agent core unique identifier */
|
|
622
|
+
id: string;
|
|
623
|
+
/** Agent name */
|
|
624
|
+
name: string;
|
|
625
|
+
/** Agent unique slug */
|
|
626
|
+
slug: string;
|
|
627
|
+
/** Agent description */
|
|
628
|
+
description?: string | null;
|
|
629
|
+
/** Agent avatar image URL */
|
|
630
|
+
avatar?: string | null;
|
|
631
|
+
/** Agent visibility level (personal, shared, account) */
|
|
632
|
+
visibility_level: string;
|
|
633
|
+
/** The newly created agent version details */
|
|
634
|
+
version: AgentVersionResponse;
|
|
635
|
+
/** Username of agent creator */
|
|
636
|
+
created_by?: string | null;
|
|
637
|
+
/** Agent creation timestamp */
|
|
638
|
+
created_at?: string | null;
|
|
639
|
+
/** Username of last updater */
|
|
640
|
+
updated_by?: string | null;
|
|
641
|
+
/** Last update timestamp */
|
|
642
|
+
updated_at?: string | null;
|
|
643
|
+
};
|
|
644
|
+
export type ListAgentVersionResponse = {
|
|
645
|
+
id: string;
|
|
646
|
+
version_number: number;
|
|
647
|
+
status: AgentVersionStatus;
|
|
648
|
+
is_recommended: boolean;
|
|
649
|
+
};
|
|
650
|
+
export type ForkedAgentCoreAndVersionResponse = {
|
|
651
|
+
/** Agent core unique identifier */
|
|
652
|
+
id: string;
|
|
653
|
+
/** Agent name */
|
|
654
|
+
name: string;
|
|
655
|
+
/** Agent unique slug */
|
|
656
|
+
slug: string;
|
|
657
|
+
/** Agent description */
|
|
658
|
+
description: string;
|
|
659
|
+
/** Agent avatar image URL */
|
|
660
|
+
avatar?: string | null;
|
|
661
|
+
/** Agent visibility level (personal, shared, account) */
|
|
662
|
+
visibility_level: string;
|
|
663
|
+
/** The newly created agent version details */
|
|
664
|
+
version: AgentVersionResponse;
|
|
665
|
+
/** Username of agent creator */
|
|
666
|
+
created_by?: string | null;
|
|
667
|
+
/** Agent creation timestamp */
|
|
668
|
+
created_at?: string | null;
|
|
669
|
+
/** Username of last updater */
|
|
670
|
+
updated_by?: string | null;
|
|
671
|
+
/** Last update timestamp */
|
|
672
|
+
updated_at?: string | null;
|
|
673
|
+
};
|
|
674
|
+
export type KnowledgeSourceDetailsResponse2 = {
|
|
675
|
+
id: string;
|
|
676
|
+
slug: string;
|
|
677
|
+
name: string;
|
|
678
|
+
description: string;
|
|
679
|
+
"type": string;
|
|
680
|
+
creator?: string | null;
|
|
681
|
+
"default": boolean;
|
|
682
|
+
visibility_level: VisibilityLevelEnum;
|
|
683
|
+
model_name: string;
|
|
684
|
+
username?: string | null;
|
|
685
|
+
};
|
|
686
|
+
export type KnowledgeSourcesConfigResponse2 = {
|
|
687
|
+
knowledge_sources: string[];
|
|
688
|
+
max_number_of_kos?: number;
|
|
689
|
+
relevancy_threshold?: number;
|
|
690
|
+
similarity_function?: SimilarityFunctionEnum;
|
|
691
|
+
post_processing?: boolean;
|
|
692
|
+
knowledge_sources_details?: KnowledgeSourceDetailsResponse2[];
|
|
693
|
+
sealed: boolean;
|
|
556
694
|
};
|
|
557
695
|
export type ListAgentResponseV2 = {
|
|
558
696
|
id: string;
|
|
@@ -563,13 +701,225 @@ export type ListAgentResponseV2 = {
|
|
|
563
701
|
visibility_level: string;
|
|
564
702
|
avatar: string | null;
|
|
565
703
|
conversation_starter: string[] | null;
|
|
566
|
-
knowledge_sources_config:
|
|
704
|
+
knowledge_sources_config: KnowledgeSourcesConfigResponse2;
|
|
567
705
|
"type"?: string;
|
|
568
706
|
system_prompt?: string;
|
|
569
707
|
creator_name?: string;
|
|
708
|
+
version_number: number;
|
|
709
|
+
status: AgentVersionStatus;
|
|
710
|
+
is_recommended: boolean;
|
|
711
|
+
};
|
|
712
|
+
export type NewAgentRequestV2 = {
|
|
713
|
+
/** LLM model name */
|
|
714
|
+
model_name?: string | null;
|
|
715
|
+
/** LLM model id */
|
|
716
|
+
model_id?: string | null;
|
|
717
|
+
/** Agent name */
|
|
718
|
+
name: string;
|
|
719
|
+
/** Agent unique slug */
|
|
720
|
+
slug: string;
|
|
721
|
+
/** Agent description */
|
|
722
|
+
description?: string | null;
|
|
723
|
+
/** Agent avatar image */
|
|
724
|
+
avatar?: string | null;
|
|
725
|
+
/** Agent suggested prompt */
|
|
726
|
+
suggested_prompts?: string[];
|
|
727
|
+
/** System prompt */
|
|
728
|
+
system_prompt?: string | null;
|
|
729
|
+
/** Agent type */
|
|
730
|
+
"type": AgentType;
|
|
731
|
+
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
732
|
+
builtin_tools_ids?: string[];
|
|
733
|
+
/** Custom tools to assign to the agent */
|
|
734
|
+
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
735
|
+
/** Multi-agents assignment to the agent */
|
|
736
|
+
sub_agents_ids?: AssignMultiAgentVersionRequest[] | null;
|
|
737
|
+
mcp_toolkit_ids?: string[] | null;
|
|
738
|
+
detail_mode?: boolean;
|
|
739
|
+
structured_output?: string | null;
|
|
740
|
+
llm_settings?: {
|
|
741
|
+
[key: string]: any;
|
|
742
|
+
} | null;
|
|
743
|
+
/** Agent mode */
|
|
744
|
+
mode?: AgentMode;
|
|
745
|
+
/** Agent memory */
|
|
746
|
+
memory?: AgentMemory;
|
|
747
|
+
/** Available models for this particular agent */
|
|
748
|
+
available_models_ids?: string[];
|
|
749
|
+
/** Agent planner type */
|
|
750
|
+
planner_type?: PlannerType | null;
|
|
751
|
+
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
752
|
+
max_llm_interactions?: number | null;
|
|
753
|
+
/** LLM planner model name */
|
|
754
|
+
planner_model_name?: string | null;
|
|
755
|
+
/** LLM planner model id */
|
|
756
|
+
planner_model_id?: string | null;
|
|
757
|
+
};
|
|
758
|
+
export type SearchAgentVersionRequest = {
|
|
759
|
+
agent_core_id: string;
|
|
760
|
+
version_number?: number | null;
|
|
761
|
+
};
|
|
762
|
+
export type SearchAgentsRequestV2 = {
|
|
763
|
+
agents: SearchAgentVersionRequest[];
|
|
764
|
+
};
|
|
765
|
+
export type UpdateAgentRequestV2 = {
|
|
766
|
+
use_only?: boolean | null;
|
|
767
|
+
/** LLM model name */
|
|
768
|
+
model_name?: string | null;
|
|
769
|
+
/** LLM model id */
|
|
770
|
+
model_id?: string | null;
|
|
771
|
+
/** Agent name */
|
|
772
|
+
name?: string | null;
|
|
773
|
+
/** Agent unique slug */
|
|
774
|
+
slug?: string | null;
|
|
775
|
+
/** agent status */
|
|
776
|
+
status?: AgentVersionStatus | null;
|
|
777
|
+
/** Agent description */
|
|
778
|
+
description?: string | null;
|
|
779
|
+
/** Agent avatar image */
|
|
780
|
+
avatar?: string | null;
|
|
781
|
+
/** Agent suggested prompt */
|
|
782
|
+
suggested_prompts?: string[];
|
|
783
|
+
/** System prompt */
|
|
784
|
+
system_prompt?: string | null;
|
|
785
|
+
/** Agent type */
|
|
786
|
+
"type"?: AgentType | null;
|
|
787
|
+
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
788
|
+
builtin_tools_ids?: string[];
|
|
789
|
+
/** Multi-agents assignment to the agent */
|
|
790
|
+
sub_agents_ids?: AssignMultiAgentVersionRequest[];
|
|
791
|
+
/** Custom tools to assign to the agent */
|
|
792
|
+
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
793
|
+
mcp_toolkit_ids?: string[] | null;
|
|
794
|
+
detail_mode?: boolean | null;
|
|
795
|
+
structured_output?: string | null;
|
|
796
|
+
llm_settings?: {
|
|
797
|
+
[key: string]: any;
|
|
798
|
+
} | null;
|
|
799
|
+
/** Agent mode */
|
|
800
|
+
mode?: AgentMode | null;
|
|
801
|
+
/** Available models for this particular agent */
|
|
802
|
+
available_models_ids?: string[];
|
|
803
|
+
/** Agent memory */
|
|
804
|
+
memory?: AgentMemory;
|
|
805
|
+
/** Agent planner type */
|
|
806
|
+
planner_type?: PlannerType;
|
|
807
|
+
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
808
|
+
max_llm_interactions?: number | null;
|
|
809
|
+
/** LLM planner model name */
|
|
810
|
+
planner_model_name?: string | null;
|
|
811
|
+
/** LLM planner model id */
|
|
812
|
+
planner_model_id?: string | null;
|
|
813
|
+
};
|
|
814
|
+
export type CustomToolkitResponse2 = {
|
|
815
|
+
id: string;
|
|
816
|
+
name: string;
|
|
817
|
+
description?: string | null;
|
|
818
|
+
avatar?: string | null;
|
|
819
|
+
visibility_level: string;
|
|
820
|
+
creator_name: string | null;
|
|
821
|
+
toolkit_type?: ToolkitType | null;
|
|
822
|
+
tools: CustomToolkitToolResponse[];
|
|
823
|
+
secret_id?: string | null;
|
|
824
|
+
secrets?: string[] | null;
|
|
825
|
+
is_usable_by_others: boolean;
|
|
826
|
+
url?: string | null;
|
|
827
|
+
};
|
|
828
|
+
export type AgentToolsResponse2 = {
|
|
829
|
+
builtin_toolkits?: BuiltinToolkitResponse[];
|
|
830
|
+
custom_toolkits?: CustomToolkitResponse2[];
|
|
831
|
+
mcp_toolkits?: ToolkitMcpResponse[];
|
|
832
|
+
multi_agent_toolkits?: MultiAgentToolkitResponse[];
|
|
833
|
+
};
|
|
834
|
+
export type AgentVersionResponse2 = {
|
|
835
|
+
/** System prompt for the agent version */
|
|
836
|
+
system_prompt: string;
|
|
837
|
+
/** Whether detail mode is enabled for responses */
|
|
838
|
+
detail_mode: boolean;
|
|
839
|
+
/** Whether version is internal-only */
|
|
840
|
+
is_internal: boolean;
|
|
841
|
+
/** Agent execution mode (autonomous, orchestrator, etc.) */
|
|
842
|
+
mode: AgentMode;
|
|
843
|
+
/** Memory type used by the agent */
|
|
844
|
+
memory: string;
|
|
845
|
+
/** Version status (draft, published, archived) */
|
|
846
|
+
status: AgentVersionStatus;
|
|
847
|
+
/** Sequential version number */
|
|
848
|
+
version_number: number;
|
|
849
|
+
/** Whether this is the recommended version for use */
|
|
850
|
+
is_recommended: boolean;
|
|
851
|
+
/** Whether this is the most recent version */
|
|
852
|
+
is_latest: boolean;
|
|
853
|
+
/** Base version ID used for creating this version */
|
|
854
|
+
base_version_id?: string | null;
|
|
855
|
+
/** Original agent version ID if this is a fork */
|
|
856
|
+
origin_fork_id?: string | null;
|
|
857
|
+
/** LLM model ID used by this version */
|
|
858
|
+
model_id?: string | null;
|
|
859
|
+
/** LLM model name used by this version */
|
|
860
|
+
model_name?: string | null;
|
|
861
|
+
/** Suggested conversation starters */
|
|
862
|
+
conversation_starter?: string[] | null;
|
|
863
|
+
/** JSON schema for structured output format */
|
|
864
|
+
structured_output?: string | null;
|
|
865
|
+
planner_type?: PlannerType | null;
|
|
866
|
+
/** Maximum number of LLM interactions */
|
|
867
|
+
max_llm_interactions?: number | null;
|
|
868
|
+
/** Default LLM planner model ID */
|
|
869
|
+
planner_model_id?: string | null;
|
|
870
|
+
/** Default LLM planner model name */
|
|
871
|
+
planner_model_name?: string | null;
|
|
872
|
+
/** Knowledge sources configuration for RAG capabilities */
|
|
873
|
+
knowledge_sources_config?: KnowledgeSourcesConfigResponse2 | null;
|
|
874
|
+
/** List of tools (builtin) assigned to this version */
|
|
875
|
+
toolkits?: AgentToolsResponse2;
|
|
876
|
+
/** LLM-specific settings for this version */
|
|
877
|
+
settings?: LlmSettingsResponse[];
|
|
878
|
+
/** Available LLM models for this version */
|
|
879
|
+
available_llm_models?: AgentLlmModelResponse[];
|
|
880
|
+
/** Username of version creator */
|
|
881
|
+
created_by?: string | null;
|
|
882
|
+
/** Version creation timestamp */
|
|
883
|
+
created_at?: string | null;
|
|
884
|
+
/** Username of last updater */
|
|
885
|
+
updated_by?: string | null;
|
|
886
|
+
/** Last update timestamp */
|
|
887
|
+
updated_at?: string | null;
|
|
888
|
+
};
|
|
889
|
+
export type AgentCoreWithSingleVersionResponse = {
|
|
890
|
+
/** Agent core unique identifier (ULID format) */
|
|
891
|
+
id: string;
|
|
892
|
+
/** Agent display name */
|
|
893
|
+
name: string;
|
|
894
|
+
/** Agent unique slug for URL-friendly identification */
|
|
895
|
+
slug: string;
|
|
896
|
+
/** Agent core type */
|
|
897
|
+
"type": string;
|
|
898
|
+
/** Whether agent is use-only (hides implementation) */
|
|
899
|
+
use_only: boolean;
|
|
900
|
+
/** Detailed description of the agent's purpose and capabilities */
|
|
901
|
+
description?: string | null;
|
|
902
|
+
/** URL or path to agent's avatar image */
|
|
903
|
+
avatar?: string | null;
|
|
904
|
+
/** Agent visibility level (PERSONAL, WORKSPACE, ORGANIZATION, PUBLIC) */
|
|
905
|
+
visibility_level: string;
|
|
906
|
+
/** Specific or recommend version associated with this agent core */
|
|
907
|
+
version: AgentVersionResponse2;
|
|
908
|
+
/** Whether the current user has marked this agent as favorite */
|
|
909
|
+
is_favorite?: boolean;
|
|
910
|
+
/** Whether this agent was recently used by the current user */
|
|
911
|
+
is_recently_used?: boolean;
|
|
912
|
+
/** Username or identifier of the user who created this agent */
|
|
913
|
+
created_by?: string | null;
|
|
914
|
+
/** Timestamp when the agent was created (ISO 8601 format) */
|
|
915
|
+
created_at?: string | null;
|
|
916
|
+
/** Username or identifier of the user who last updated this agent */
|
|
917
|
+
updated_by?: string | null;
|
|
918
|
+
/** Timestamp of the last update (ISO 8601 format) */
|
|
919
|
+
updated_at?: string | null;
|
|
570
920
|
};
|
|
571
921
|
export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
|
|
572
|
-
export type
|
|
922
|
+
export type ListAgentRequestV4 = {
|
|
573
923
|
/** Agent name to filter the list */
|
|
574
924
|
name?: string | null;
|
|
575
925
|
/** Agent slug to filter the list */
|
|
@@ -595,7 +945,7 @@ export type AgentResponseV3 = {
|
|
|
595
945
|
slug: string;
|
|
596
946
|
created_by: string | null;
|
|
597
947
|
created_at: string | null;
|
|
598
|
-
visibility_level:
|
|
948
|
+
visibility_level: AgentVisibilityLevelEnum | VisibilityLevelEnum;
|
|
599
949
|
avatar: string | null;
|
|
600
950
|
suggested_prompts: string[] | null;
|
|
601
951
|
knowledge_sources_config: KnowledgeSourcesConfigResponseV3;
|
|
@@ -605,11 +955,35 @@ export type AgentResponseV3 = {
|
|
|
605
955
|
creator_name?: string;
|
|
606
956
|
is_favorite?: boolean;
|
|
607
957
|
is_recently_used?: boolean;
|
|
958
|
+
version_number: number;
|
|
959
|
+
status: AgentVersionStatus;
|
|
960
|
+
is_recommended: boolean;
|
|
608
961
|
};
|
|
609
962
|
export type PaginatedResponseAgentResponseV3 = {
|
|
610
963
|
total_pages: number;
|
|
611
964
|
items: AgentResponseV3[];
|
|
612
965
|
};
|
|
966
|
+
export type ListAgentVersionResponse2 = {
|
|
967
|
+
version_number: number;
|
|
968
|
+
status: AgentVersionStatus;
|
|
969
|
+
is_recommended: boolean;
|
|
970
|
+
};
|
|
971
|
+
export type ListAgentCoreResponse = {
|
|
972
|
+
id: string;
|
|
973
|
+
name: string;
|
|
974
|
+
slug: string;
|
|
975
|
+
visibility_level: string;
|
|
976
|
+
avatar: string | null;
|
|
977
|
+
created_by: string | null;
|
|
978
|
+
created_at: string | null;
|
|
979
|
+
is_favorite?: boolean;
|
|
980
|
+
is_recently_used?: boolean;
|
|
981
|
+
version: ListAgentVersionResponse2;
|
|
982
|
+
};
|
|
983
|
+
export type PaginatedResponseListAgentCoreResponse = {
|
|
984
|
+
total_pages: number;
|
|
985
|
+
items: ListAgentCoreResponse[];
|
|
986
|
+
};
|
|
613
987
|
export type InternalListToolkitsRequest = {
|
|
614
988
|
/** List of toolkit IDs to retrieve */
|
|
615
989
|
toolkit_ids: string[];
|
|
@@ -843,24 +1217,12 @@ export declare function listAgentsUsingToolsV1ToolkitsToolkitIdToolsAgentsPost({
|
|
|
843
1217
|
authorization: string;
|
|
844
1218
|
listAgentsUsingToolsRequest: ListAgentsUsingToolsRequest;
|
|
845
1219
|
}, opts?: Oazapfts.RequestOpts): Promise<AgentUsingToolsResponse[]>;
|
|
846
|
-
/**
|
|
847
|
-
* Assign Tools
|
|
848
|
-
*/
|
|
849
|
-
export declare function assignToolsV1AgentsAgentIdToolsPost({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, assignToolsToAgentRequest }: {
|
|
850
|
-
agentId: string;
|
|
851
|
-
isPublic?: boolean;
|
|
852
|
-
xAccountId?: string | null;
|
|
853
|
-
xUsername?: string | null;
|
|
854
|
-
xUserId?: string | null;
|
|
855
|
-
xUserFullName?: string | null;
|
|
856
|
-
authorization: string;
|
|
857
|
-
assignToolsToAgentRequest: AssignToolsToAgentRequest;
|
|
858
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
859
1220
|
/**
|
|
860
1221
|
* List Tools
|
|
861
1222
|
*/
|
|
862
|
-
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1223
|
+
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
863
1224
|
agentId: string;
|
|
1225
|
+
versionNumber?: number | null;
|
|
864
1226
|
isPublic?: boolean;
|
|
865
1227
|
xAccountId?: string | null;
|
|
866
1228
|
xUsername?: string | null;
|
|
@@ -868,24 +1230,13 @@ export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xA
|
|
|
868
1230
|
xUserFullName?: string | null;
|
|
869
1231
|
authorization: string;
|
|
870
1232
|
}, opts?: Oazapfts.RequestOpts): Promise<AgentToolsResponse>;
|
|
871
|
-
/**
|
|
872
|
-
* Delete Tools
|
|
873
|
-
*/
|
|
874
|
-
export declare function deleteToolsV1AgentsAgentIdToolsDelete({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
875
|
-
agentId: string;
|
|
876
|
-
isPublic?: boolean;
|
|
877
|
-
xAccountId?: string | null;
|
|
878
|
-
xUsername?: string | null;
|
|
879
|
-
xUserId?: string | null;
|
|
880
|
-
xUserFullName?: string | null;
|
|
881
|
-
authorization: string;
|
|
882
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
883
1233
|
/**
|
|
884
1234
|
* List Tools By Agent For Schema
|
|
885
1235
|
*/
|
|
886
|
-
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1236
|
+
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
887
1237
|
agentId: string;
|
|
888
1238
|
schema: SchemaEnum;
|
|
1239
|
+
versionNumber?: number | null;
|
|
889
1240
|
isPublic?: boolean;
|
|
890
1241
|
xAccountId?: string | null;
|
|
891
1242
|
xUsername?: string | null;
|
|
@@ -937,9 +1288,9 @@ export declare function createAgentV1AgentsPost({ isPublic, xAccountId, xUsernam
|
|
|
937
1288
|
newAgentRequest: NewAgentRequest;
|
|
938
1289
|
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
939
1290
|
/**
|
|
940
|
-
* Search Agents
|
|
1291
|
+
* Search Agents By Ids
|
|
941
1292
|
*/
|
|
942
|
-
export declare function
|
|
1293
|
+
export declare function searchAgentsByIdsV1AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
|
|
943
1294
|
xAccountId?: string | null;
|
|
944
1295
|
xUsername?: string | null;
|
|
945
1296
|
xUserId?: string | null;
|
|
@@ -1009,15 +1360,16 @@ export declare function listMultiAgentsV1AgentsMultiAgentsGet({ name, slug, visi
|
|
|
1009
1360
|
/**
|
|
1010
1361
|
* Get Agent
|
|
1011
1362
|
*/
|
|
1012
|
-
export declare function getAgentV1AgentsAgentIdGet({ agentId, details, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1363
|
+
export declare function getAgentV1AgentsAgentIdGet({ agentId, details, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1013
1364
|
agentId: string;
|
|
1014
1365
|
details?: boolean;
|
|
1366
|
+
versionNumber?: number | null;
|
|
1015
1367
|
xAccountId?: string | null;
|
|
1016
1368
|
xUsername?: string | null;
|
|
1017
1369
|
xUserId?: string | null;
|
|
1018
1370
|
xUserFullName?: string | null;
|
|
1019
1371
|
authorization: string;
|
|
1020
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1372
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FindByIdAgentResponse>;
|
|
1021
1373
|
/**
|
|
1022
1374
|
* Update Agent
|
|
1023
1375
|
*/
|
|
@@ -1134,6 +1486,67 @@ export declare function migrateAgentAvatarByIdV1AgentsAgentIdMigrateAvatarPost({
|
|
|
1134
1486
|
xUserFullName?: string | null;
|
|
1135
1487
|
authorization: string;
|
|
1136
1488
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1489
|
+
/**
|
|
1490
|
+
* Create Version
|
|
1491
|
+
*/
|
|
1492
|
+
export declare function createVersionV1AgentsAgentCoreIdVersionsPost({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization, createVersionRequest }: {
|
|
1493
|
+
agentCoreId: string;
|
|
1494
|
+
xAccountId?: string | null;
|
|
1495
|
+
xUsername?: string | null;
|
|
1496
|
+
xUserId?: string | null;
|
|
1497
|
+
xUserFullName?: string | null;
|
|
1498
|
+
authorization: string;
|
|
1499
|
+
createVersionRequest: CreateVersionRequest;
|
|
1500
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreateVersionResponse>;
|
|
1501
|
+
/**
|
|
1502
|
+
* List Versions Of Agent Core
|
|
1503
|
+
*/
|
|
1504
|
+
export declare function listVersionsOfAgentCoreV1AgentsAgentCoreIdVersionsGet({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1505
|
+
agentCoreId: string;
|
|
1506
|
+
xAccountId?: string | null;
|
|
1507
|
+
xUsername?: string | null;
|
|
1508
|
+
xUserId?: string | null;
|
|
1509
|
+
xUserFullName?: string | null;
|
|
1510
|
+
authorization: string;
|
|
1511
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentVersionResponse[]>;
|
|
1512
|
+
/**
|
|
1513
|
+
* Delete Version
|
|
1514
|
+
*/
|
|
1515
|
+
export declare function deleteVersionV1AgentsAgentCoreIdVersionsVersionNumberDelete({ agentCoreId, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1516
|
+
agentCoreId: string;
|
|
1517
|
+
versionNumber: number;
|
|
1518
|
+
isPublic?: boolean;
|
|
1519
|
+
xAccountId?: string | null;
|
|
1520
|
+
xUsername?: string | null;
|
|
1521
|
+
xUserId?: string | null;
|
|
1522
|
+
xUserFullName?: string | null;
|
|
1523
|
+
authorization: string;
|
|
1524
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1525
|
+
/**
|
|
1526
|
+
* Patch Version Recommended
|
|
1527
|
+
*/
|
|
1528
|
+
export declare function patchVersionRecommendedV1AgentsAgentCoreIdVersionsVersionNumberPatch({ agentCoreId, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1529
|
+
agentCoreId: string;
|
|
1530
|
+
versionNumber: number;
|
|
1531
|
+
xAccountId?: string | null;
|
|
1532
|
+
xUsername?: string | null;
|
|
1533
|
+
xUserId?: string | null;
|
|
1534
|
+
xUserFullName?: string | null;
|
|
1535
|
+
authorization: string;
|
|
1536
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AgentVersionResponse>;
|
|
1537
|
+
/**
|
|
1538
|
+
* Fork Agent Version
|
|
1539
|
+
*/
|
|
1540
|
+
export declare function forkAgentVersionV1AgentsAgentCoreIdVersionsVersionNumberForkPost({ agentCoreId, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization, forkAgentRequest }: {
|
|
1541
|
+
agentCoreId: string;
|
|
1542
|
+
versionNumber: number;
|
|
1543
|
+
xAccountId?: string | null;
|
|
1544
|
+
xUsername?: string | null;
|
|
1545
|
+
xUserId?: string | null;
|
|
1546
|
+
xUserFullName?: string | null;
|
|
1547
|
+
authorization: string;
|
|
1548
|
+
forkAgentRequest: ForkAgentRequest;
|
|
1549
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ForkedAgentCoreAndVersionResponse>;
|
|
1137
1550
|
/**
|
|
1138
1551
|
* List Agents
|
|
1139
1552
|
*/
|
|
@@ -1149,22 +1562,60 @@ export declare function listAgentsV2AgentsGet({ name, slug, visibility, size, pa
|
|
|
1149
1562
|
xUserFullName?: string | null;
|
|
1150
1563
|
authorization: string;
|
|
1151
1564
|
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponseV2[]>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Create Agent
|
|
1567
|
+
*/
|
|
1568
|
+
export declare function createAgentV2AgentsPost({ isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, newAgentRequestV2 }: {
|
|
1569
|
+
isPublic?: boolean;
|
|
1570
|
+
xAccountId?: string | null;
|
|
1571
|
+
xUsername?: string | null;
|
|
1572
|
+
xUserId?: string | null;
|
|
1573
|
+
xUserFullName?: string | null;
|
|
1574
|
+
authorization: string;
|
|
1575
|
+
newAgentRequestV2: NewAgentRequestV2;
|
|
1576
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
1152
1577
|
/**
|
|
1153
1578
|
* Search Agents
|
|
1154
1579
|
*/
|
|
1155
|
-
export declare function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization,
|
|
1580
|
+
export declare function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequestV2 }: {
|
|
1156
1581
|
xAccountId?: string | null;
|
|
1157
1582
|
xUsername?: string | null;
|
|
1158
1583
|
xUserId?: string | null;
|
|
1159
1584
|
xUserFullName?: string | null;
|
|
1160
1585
|
authorization: string;
|
|
1161
|
-
|
|
1586
|
+
searchAgentsRequestV2: SearchAgentsRequestV2;
|
|
1162
1587
|
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponseV2[]>;
|
|
1588
|
+
/**
|
|
1589
|
+
* Update Agent
|
|
1590
|
+
*/
|
|
1591
|
+
export declare function updateAgentV2AgentsAgentIdPatch({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, updateAgentRequestV2 }: {
|
|
1592
|
+
agentId: string;
|
|
1593
|
+
isPublic?: boolean;
|
|
1594
|
+
xAccountId?: string | null;
|
|
1595
|
+
xUsername?: string | null;
|
|
1596
|
+
xUserId?: string | null;
|
|
1597
|
+
xUserFullName?: string | null;
|
|
1598
|
+
authorization: string;
|
|
1599
|
+
updateAgentRequestV2: UpdateAgentRequestV2;
|
|
1600
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1601
|
+
/**
|
|
1602
|
+
* Find By Agent Core Id
|
|
1603
|
+
*/
|
|
1604
|
+
export declare function findByAgentCoreIdV2AgentsAgentCoreIdGet({ agentCoreId, versionNumber, returnAllVersions, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1605
|
+
agentCoreId: string;
|
|
1606
|
+
versionNumber?: number | null;
|
|
1607
|
+
returnAllVersions?: boolean | null;
|
|
1608
|
+
xAccountId?: string | null;
|
|
1609
|
+
xUsername?: string | null;
|
|
1610
|
+
xUserId?: string | null;
|
|
1611
|
+
xUserFullName?: string | null;
|
|
1612
|
+
authorization: string;
|
|
1613
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AgentCoreWithSingleVersionResponse>;
|
|
1163
1614
|
/**
|
|
1164
1615
|
* List Agents
|
|
1165
1616
|
*/
|
|
1166
1617
|
export declare function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1167
|
-
filters:
|
|
1618
|
+
filters: ListAgentRequestV4;
|
|
1168
1619
|
isPublic?: boolean;
|
|
1169
1620
|
xAccountId?: string | null;
|
|
1170
1621
|
xUsername?: string | null;
|
|
@@ -1172,6 +1623,18 @@ export declare function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, x
|
|
|
1172
1623
|
xUserFullName?: string | null;
|
|
1173
1624
|
authorization: string;
|
|
1174
1625
|
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseAgentResponseV3>;
|
|
1626
|
+
/**
|
|
1627
|
+
* List Agent Core with all versions
|
|
1628
|
+
*/
|
|
1629
|
+
export declare function listAgentsV4AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1630
|
+
filters: ListAgentRequestV4;
|
|
1631
|
+
isPublic?: boolean;
|
|
1632
|
+
xAccountId?: string | null;
|
|
1633
|
+
xUsername?: string | null;
|
|
1634
|
+
xUserId?: string | null;
|
|
1635
|
+
xUserFullName?: string | null;
|
|
1636
|
+
authorization: string;
|
|
1637
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseListAgentCoreResponse>;
|
|
1175
1638
|
/**
|
|
1176
1639
|
* Internal List Toolkits By Ids
|
|
1177
1640
|
*/
|