@amigo-ai/platform-sdk 0.85.1 → 0.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/generated/api.d.ts +731 -8
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -713,6 +713,80 @@ export interface paths {
|
|
|
713
713
|
patch?: never;
|
|
714
714
|
trace?: never;
|
|
715
715
|
};
|
|
716
|
+
"/v1/{workspace_id}/agent-definitions": {
|
|
717
|
+
parameters: {
|
|
718
|
+
query?: never;
|
|
719
|
+
header?: never;
|
|
720
|
+
path?: never;
|
|
721
|
+
cookie?: never;
|
|
722
|
+
};
|
|
723
|
+
/** List Agent Definitions */
|
|
724
|
+
get: operations["list_agent_definitions_v1__workspace_id__agent_definitions_get"];
|
|
725
|
+
put?: never;
|
|
726
|
+
/** Register Agent Definition */
|
|
727
|
+
post: operations["register_agent_definition_v1__workspace_id__agent_definitions_post"];
|
|
728
|
+
delete?: never;
|
|
729
|
+
options?: never;
|
|
730
|
+
head?: never;
|
|
731
|
+
patch?: never;
|
|
732
|
+
trace?: never;
|
|
733
|
+
};
|
|
734
|
+
"/v1/{workspace_id}/agent-definitions/validate": {
|
|
735
|
+
parameters: {
|
|
736
|
+
query?: never;
|
|
737
|
+
header?: never;
|
|
738
|
+
path?: never;
|
|
739
|
+
cookie?: never;
|
|
740
|
+
};
|
|
741
|
+
get?: never;
|
|
742
|
+
put?: never;
|
|
743
|
+
/**
|
|
744
|
+
* Validate Agent Definition
|
|
745
|
+
* @description Dry-run clamp validation — nothing is stored. 422 with the offending
|
|
746
|
+
* paths on failure (the same shape push returns).
|
|
747
|
+
*/
|
|
748
|
+
post: operations["validate_agent_definition_v1__workspace_id__agent_definitions_validate_post"];
|
|
749
|
+
delete?: never;
|
|
750
|
+
options?: never;
|
|
751
|
+
head?: never;
|
|
752
|
+
patch?: never;
|
|
753
|
+
trace?: never;
|
|
754
|
+
};
|
|
755
|
+
"/v1/{workspace_id}/agent-definitions/{definition_id}": {
|
|
756
|
+
parameters: {
|
|
757
|
+
query?: never;
|
|
758
|
+
header?: never;
|
|
759
|
+
path?: never;
|
|
760
|
+
cookie?: never;
|
|
761
|
+
};
|
|
762
|
+
/** Get Agent Definition */
|
|
763
|
+
get: operations["get_agent_definition_v1__workspace_id__agent_definitions__definition_id__get"];
|
|
764
|
+
put?: never;
|
|
765
|
+
post?: never;
|
|
766
|
+
/** Archive Agent Definition */
|
|
767
|
+
delete: operations["archive_agent_definition_v1__workspace_id__agent_definitions__definition_id__delete"];
|
|
768
|
+
options?: never;
|
|
769
|
+
head?: never;
|
|
770
|
+
patch?: never;
|
|
771
|
+
trace?: never;
|
|
772
|
+
};
|
|
773
|
+
"/v1/{workspace_id}/agent-definitions/{definition_id}/versions/{version}": {
|
|
774
|
+
parameters: {
|
|
775
|
+
query?: never;
|
|
776
|
+
header?: never;
|
|
777
|
+
path?: never;
|
|
778
|
+
cookie?: never;
|
|
779
|
+
};
|
|
780
|
+
/** Get Agent Definition Version */
|
|
781
|
+
get: operations["get_agent_definition_version_v1__workspace_id__agent_definitions__definition_id__versions__version__get"];
|
|
782
|
+
put?: never;
|
|
783
|
+
post?: never;
|
|
784
|
+
delete?: never;
|
|
785
|
+
options?: never;
|
|
786
|
+
head?: never;
|
|
787
|
+
patch?: never;
|
|
788
|
+
trace?: never;
|
|
789
|
+
};
|
|
716
790
|
"/v1/{workspace_id}/agent-runs": {
|
|
717
791
|
parameters: {
|
|
718
792
|
query?: never;
|
|
@@ -733,6 +807,26 @@ export interface paths {
|
|
|
733
807
|
patch?: never;
|
|
734
808
|
trace?: never;
|
|
735
809
|
};
|
|
810
|
+
"/v1/{workspace_id}/agent-runs/harness-context": {
|
|
811
|
+
parameters: {
|
|
812
|
+
query?: never;
|
|
813
|
+
header?: never;
|
|
814
|
+
path?: never;
|
|
815
|
+
cookie?: never;
|
|
816
|
+
};
|
|
817
|
+
/**
|
|
818
|
+
* Fetch the neutral session-bootstrap context for a service
|
|
819
|
+
* @description The retrievable CONTEXT edge of the world-model harness: identity + reference instructions, world scope, tool descriptors, guardrails, and the REAL server-enforced write-floor — the byte-identical projection the hosted runner renders from, so a customer's own framework can bootstrap a session against the same world model. PHI-free (the API-run projection carries no scoped entities or rendered caller prose).
|
|
820
|
+
*/
|
|
821
|
+
get: operations["get_harness_context_v1__workspace_id__agent_runs_harness_context_get"];
|
|
822
|
+
put?: never;
|
|
823
|
+
post?: never;
|
|
824
|
+
delete?: never;
|
|
825
|
+
options?: never;
|
|
826
|
+
head?: never;
|
|
827
|
+
patch?: never;
|
|
828
|
+
trace?: never;
|
|
829
|
+
};
|
|
736
830
|
"/v1/{workspace_id}/agent-runs/{run_id}": {
|
|
737
831
|
parameters: {
|
|
738
832
|
query?: never;
|
|
@@ -8152,6 +8246,137 @@ export interface components {
|
|
|
8152
8246
|
/** Period */
|
|
8153
8247
|
period?: string | null;
|
|
8154
8248
|
};
|
|
8249
|
+
/** AgentDefinitionDetail */
|
|
8250
|
+
AgentDefinitionDetail: {
|
|
8251
|
+
/**
|
|
8252
|
+
* Definition Id
|
|
8253
|
+
* Format: uuid
|
|
8254
|
+
*/
|
|
8255
|
+
definition_id: string;
|
|
8256
|
+
/**
|
|
8257
|
+
* Framework
|
|
8258
|
+
* @enum {string}
|
|
8259
|
+
*/
|
|
8260
|
+
framework: "claude-agent-sdk" | "openai-agents";
|
|
8261
|
+
/** Name */
|
|
8262
|
+
name: string;
|
|
8263
|
+
/**
|
|
8264
|
+
* Status
|
|
8265
|
+
* @enum {string}
|
|
8266
|
+
*/
|
|
8267
|
+
status: "active" | "archived";
|
|
8268
|
+
/** Versions */
|
|
8269
|
+
versions: components["schemas"]["AgentDefinitionVersionMeta"][];
|
|
8270
|
+
};
|
|
8271
|
+
/** AgentDefinitionListResponse */
|
|
8272
|
+
AgentDefinitionListResponse: {
|
|
8273
|
+
/** Continuation Token */
|
|
8274
|
+
continuation_token?: unknown;
|
|
8275
|
+
/** Has More */
|
|
8276
|
+
has_more: boolean;
|
|
8277
|
+
/** Items */
|
|
8278
|
+
items: components["schemas"]["AgentDefinitionSummary"][];
|
|
8279
|
+
};
|
|
8280
|
+
/** AgentDefinitionSummary */
|
|
8281
|
+
AgentDefinitionSummary: {
|
|
8282
|
+
/**
|
|
8283
|
+
* Definition Id
|
|
8284
|
+
* Format: uuid
|
|
8285
|
+
*/
|
|
8286
|
+
definition_id: string;
|
|
8287
|
+
/**
|
|
8288
|
+
* Framework
|
|
8289
|
+
* @enum {string}
|
|
8290
|
+
*/
|
|
8291
|
+
framework: "claude-agent-sdk" | "openai-agents";
|
|
8292
|
+
/** Name */
|
|
8293
|
+
name: string;
|
|
8294
|
+
/**
|
|
8295
|
+
* Status
|
|
8296
|
+
* @enum {string}
|
|
8297
|
+
*/
|
|
8298
|
+
status: "active" | "archived";
|
|
8299
|
+
};
|
|
8300
|
+
/** AgentDefinitionVersionDetail */
|
|
8301
|
+
AgentDefinitionVersionDetail: {
|
|
8302
|
+
/** Agent Count */
|
|
8303
|
+
agent_count: number;
|
|
8304
|
+
/** Body */
|
|
8305
|
+
body: {
|
|
8306
|
+
[key: string]: unknown;
|
|
8307
|
+
};
|
|
8308
|
+
/** Body Sha256 */
|
|
8309
|
+
body_sha256: string;
|
|
8310
|
+
/**
|
|
8311
|
+
* Definition Id
|
|
8312
|
+
* Format: uuid
|
|
8313
|
+
*/
|
|
8314
|
+
definition_id: string;
|
|
8315
|
+
/**
|
|
8316
|
+
* Framework
|
|
8317
|
+
* @enum {string}
|
|
8318
|
+
*/
|
|
8319
|
+
framework: "claude-agent-sdk" | "openai-agents";
|
|
8320
|
+
/** Has Write Tools */
|
|
8321
|
+
has_write_tools: boolean;
|
|
8322
|
+
/** Validator Rev */
|
|
8323
|
+
validator_rev: string;
|
|
8324
|
+
/** Version */
|
|
8325
|
+
version: number;
|
|
8326
|
+
};
|
|
8327
|
+
/** AgentDefinitionVersionMeta */
|
|
8328
|
+
AgentDefinitionVersionMeta: {
|
|
8329
|
+
/** Agent Count */
|
|
8330
|
+
agent_count: number;
|
|
8331
|
+
/** Body Sha256 */
|
|
8332
|
+
body_sha256: string;
|
|
8333
|
+
/** Has Write Tools */
|
|
8334
|
+
has_write_tools: boolean;
|
|
8335
|
+
/** Validator Rev */
|
|
8336
|
+
validator_rev: string;
|
|
8337
|
+
/** Version */
|
|
8338
|
+
version: number;
|
|
8339
|
+
};
|
|
8340
|
+
/**
|
|
8341
|
+
* AgentIdentity
|
|
8342
|
+
* @description Who the agent IS — platform-authored only; ``None`` for native runs
|
|
8343
|
+
* (a customer's own definition carries its own identity). Named
|
|
8344
|
+
* ``AgentIdentity`` (not ``Identity``) to avoid colliding with the existing
|
|
8345
|
+
* ``config.models.Identity`` OpenAPI schema (a same-name collision would
|
|
8346
|
+
* force-rename that shipped schema — a breaking spec change).
|
|
8347
|
+
*/
|
|
8348
|
+
AgentIdentity: {
|
|
8349
|
+
/**
|
|
8350
|
+
* Developed By
|
|
8351
|
+
* @default
|
|
8352
|
+
*/
|
|
8353
|
+
developed_by?: string;
|
|
8354
|
+
/**
|
|
8355
|
+
* Entry Actor Name
|
|
8356
|
+
* @default
|
|
8357
|
+
*/
|
|
8358
|
+
entry_actor_name?: string;
|
|
8359
|
+
/**
|
|
8360
|
+
* Initial State
|
|
8361
|
+
* @default
|
|
8362
|
+
*/
|
|
8363
|
+
initial_state?: string;
|
|
8364
|
+
/**
|
|
8365
|
+
* Instructions
|
|
8366
|
+
* @default
|
|
8367
|
+
*/
|
|
8368
|
+
instructions?: string;
|
|
8369
|
+
/**
|
|
8370
|
+
* Name
|
|
8371
|
+
* @default
|
|
8372
|
+
*/
|
|
8373
|
+
name?: string;
|
|
8374
|
+
/**
|
|
8375
|
+
* Role
|
|
8376
|
+
* @default
|
|
8377
|
+
*/
|
|
8378
|
+
role?: string;
|
|
8379
|
+
};
|
|
8155
8380
|
/** AgentResponse */
|
|
8156
8381
|
AgentResponse: {
|
|
8157
8382
|
/**
|
|
@@ -11177,20 +11402,21 @@ export interface components {
|
|
|
11177
11402
|
CreateAgentRunRequest: {
|
|
11178
11403
|
/**
|
|
11179
11404
|
* Framework
|
|
11180
|
-
* @description
|
|
11181
|
-
* @enum {string}
|
|
11405
|
+
* @description Framework a PLATFORM run executes on. For a native run the framework comes from the definition.
|
|
11182
11406
|
*/
|
|
11183
|
-
framework
|
|
11407
|
+
framework?: ("claude-agent-sdk" | "openai-agents") | null;
|
|
11184
11408
|
/**
|
|
11185
11409
|
* Message
|
|
11186
11410
|
* @description User message the framework agent is invoked with.
|
|
11187
11411
|
*/
|
|
11188
11412
|
message: string;
|
|
11413
|
+
/** @description Run a native (bring-your-own) agent definition instead of a platform service. */
|
|
11414
|
+
native?: components["schemas"]["NativeRunRef"] | null;
|
|
11189
11415
|
/**
|
|
11190
11416
|
* Service Id
|
|
11191
|
-
*
|
|
11417
|
+
* @description Platform-authored run: the service whose pinned config the agent runs.
|
|
11192
11418
|
*/
|
|
11193
|
-
service_id
|
|
11419
|
+
service_id?: string | null;
|
|
11194
11420
|
/**
|
|
11195
11421
|
* Timeout S
|
|
11196
11422
|
* @description Server-side wall-clock budget for the run, in seconds (max 300).
|
|
@@ -11198,7 +11424,7 @@ export interface components {
|
|
|
11198
11424
|
*/
|
|
11199
11425
|
timeout_s?: number;
|
|
11200
11426
|
/**
|
|
11201
|
-
* @description Named version set on the service whose pinned config the run uses.
|
|
11427
|
+
* @description Named version set on the service whose pinned config the run uses (platform runs).
|
|
11202
11428
|
* @default release
|
|
11203
11429
|
*/
|
|
11204
11430
|
version_set?: components["schemas"]["NameString"];
|
|
@@ -15851,6 +16077,26 @@ export interface components {
|
|
|
15851
16077
|
/** Name */
|
|
15852
16078
|
name: string;
|
|
15853
16079
|
};
|
|
16080
|
+
/** Guardrails */
|
|
16081
|
+
Guardrails: {
|
|
16082
|
+
/**
|
|
16083
|
+
* Global Action Guidelines
|
|
16084
|
+
* @default []
|
|
16085
|
+
*/
|
|
16086
|
+
global_action_guidelines?: string[];
|
|
16087
|
+
/**
|
|
16088
|
+
* Global Boundary Constraints
|
|
16089
|
+
* @default []
|
|
16090
|
+
*/
|
|
16091
|
+
global_boundary_constraints?: string[];
|
|
16092
|
+
/**
|
|
16093
|
+
* Guardrails
|
|
16094
|
+
* @default []
|
|
16095
|
+
*/
|
|
16096
|
+
guardrails?: {
|
|
16097
|
+
[key: string]: unknown;
|
|
16098
|
+
}[];
|
|
16099
|
+
};
|
|
15854
16100
|
/** HTTPValidationError */
|
|
15855
16101
|
HTTPValidationError: {
|
|
15856
16102
|
/** Detail */
|
|
@@ -15893,6 +16139,33 @@ export interface components {
|
|
|
15893
16139
|
/** Regulatory Basis */
|
|
15894
16140
|
regulatory_basis: string;
|
|
15895
16141
|
};
|
|
16142
|
+
/**
|
|
16143
|
+
* HarnessContext
|
|
16144
|
+
* @description The neutral, retrievable session-bootstrap context for ANY framework.
|
|
16145
|
+
*/
|
|
16146
|
+
HarnessContext: {
|
|
16147
|
+
/**
|
|
16148
|
+
* Config Fingerprint
|
|
16149
|
+
* @default
|
|
16150
|
+
*/
|
|
16151
|
+
config_fingerprint?: string;
|
|
16152
|
+
/**
|
|
16153
|
+
* Context Version
|
|
16154
|
+
* @default 1
|
|
16155
|
+
*/
|
|
16156
|
+
context_version?: number;
|
|
16157
|
+
guardrails: components["schemas"]["Guardrails"];
|
|
16158
|
+
identity?: components["schemas"]["AgentIdentity"] | null;
|
|
16159
|
+
runtime: components["schemas"]["Runtime"];
|
|
16160
|
+
/**
|
|
16161
|
+
* Source
|
|
16162
|
+
* @default
|
|
16163
|
+
*/
|
|
16164
|
+
source?: string;
|
|
16165
|
+
tools: components["schemas"]["Tools"];
|
|
16166
|
+
world_scope: components["schemas"]["WorldScope"];
|
|
16167
|
+
write_floor: components["schemas"]["WriteFloor"];
|
|
16168
|
+
};
|
|
15896
16169
|
/** HealFieldRequest */
|
|
15897
16170
|
HealFieldRequest: {
|
|
15898
16171
|
/** Context */
|
|
@@ -16132,6 +16405,14 @@ export interface components {
|
|
|
16132
16405
|
* bumped the *same* document. Null for manual uploads and snapshot rows.
|
|
16133
16406
|
*/
|
|
16134
16407
|
source_file_id?: string | null;
|
|
16408
|
+
/**
|
|
16409
|
+
* Source Folder Path
|
|
16410
|
+
* @description Where the file lived within the mapped Drive folder tree (V279) — the
|
|
16411
|
+
* relative path, folder names joined by ``/`` (e.g. ``clinical/notes``); ``''``
|
|
16412
|
+
* at the mapped root. Lets the console show the original folder structure. Null
|
|
16413
|
+
* for manual uploads and snapshot rows.
|
|
16414
|
+
*/
|
|
16415
|
+
source_folder_path?: string | null;
|
|
16135
16416
|
/**
|
|
16136
16417
|
* Source Type
|
|
16137
16418
|
* @description Origin of the document this version belongs to — ``manual`` for console
|
|
@@ -17590,6 +17871,32 @@ export interface components {
|
|
|
17590
17871
|
/** Version */
|
|
17591
17872
|
version: string;
|
|
17592
17873
|
};
|
|
17874
|
+
/**
|
|
17875
|
+
* NativeRunRef
|
|
17876
|
+
* @description Run a customer-authored NATIVE agent definition (inc-10): a REGISTERED
|
|
17877
|
+
* definition by id (``version`` omitted = latest), or an INLINE body for
|
|
17878
|
+
* dev/playground iteration. The definition's own ``framework`` selects the
|
|
17879
|
+
* runtime — no top-level ``framework`` needed.
|
|
17880
|
+
*/
|
|
17881
|
+
NativeRunRef: {
|
|
17882
|
+
/**
|
|
17883
|
+
* Definition Id
|
|
17884
|
+
* @description Registered definition to run. Omit `version` for the latest.
|
|
17885
|
+
*/
|
|
17886
|
+
definition_id?: string | null;
|
|
17887
|
+
/**
|
|
17888
|
+
* Inline
|
|
17889
|
+
* @description Inline definition document (dev/playground). Validated by the platform clamp schema.
|
|
17890
|
+
*/
|
|
17891
|
+
inline?: {
|
|
17892
|
+
[key: string]: unknown;
|
|
17893
|
+
} | null;
|
|
17894
|
+
/**
|
|
17895
|
+
* Version
|
|
17896
|
+
* @description Pinned definition version; omit for latest.
|
|
17897
|
+
*/
|
|
17898
|
+
version?: number | null;
|
|
17899
|
+
};
|
|
17593
17900
|
/** NavTimingEvent */
|
|
17594
17901
|
NavTimingEvent: {
|
|
17595
17902
|
/**
|
|
@@ -20162,6 +20469,44 @@ export interface components {
|
|
|
20162
20469
|
*/
|
|
20163
20470
|
status?: "available";
|
|
20164
20471
|
};
|
|
20472
|
+
/** RegisterAgentDefinitionRequest */
|
|
20473
|
+
RegisterAgentDefinitionRequest: {
|
|
20474
|
+
/**
|
|
20475
|
+
* Body
|
|
20476
|
+
* @description The framework-native definition document (its 'framework' field selects the shape). Validated by the platform clamp schema — a non-whitelisted field is rejected.
|
|
20477
|
+
*/
|
|
20478
|
+
body: {
|
|
20479
|
+
[key: string]: unknown;
|
|
20480
|
+
};
|
|
20481
|
+
/** @description Stable slug identifying this definition within the workspace. */
|
|
20482
|
+
name: components["schemas"]["SlugString"];
|
|
20483
|
+
};
|
|
20484
|
+
/** RegisterAgentDefinitionResponse */
|
|
20485
|
+
RegisterAgentDefinitionResponse: {
|
|
20486
|
+
/** Agent Count */
|
|
20487
|
+
agent_count: number;
|
|
20488
|
+
/** Body Sha256 */
|
|
20489
|
+
body_sha256: string;
|
|
20490
|
+
/**
|
|
20491
|
+
* Created
|
|
20492
|
+
* @description False when an identical body was already registered (idempotent push).
|
|
20493
|
+
*/
|
|
20494
|
+
created: boolean;
|
|
20495
|
+
/**
|
|
20496
|
+
* Definition Id
|
|
20497
|
+
* Format: uuid
|
|
20498
|
+
*/
|
|
20499
|
+
definition_id: string;
|
|
20500
|
+
/**
|
|
20501
|
+
* Framework
|
|
20502
|
+
* @enum {string}
|
|
20503
|
+
*/
|
|
20504
|
+
framework: "claude-agent-sdk" | "openai-agents";
|
|
20505
|
+
/** Has Write Tools */
|
|
20506
|
+
has_write_tools: boolean;
|
|
20507
|
+
/** Version */
|
|
20508
|
+
version: number;
|
|
20509
|
+
};
|
|
20165
20510
|
/**
|
|
20166
20511
|
* RegisterSchemaRequest
|
|
20167
20512
|
* @description Create Schema payload (intake-ui-mvp-design.md §5.4, §5.9).
|
|
@@ -20876,6 +21221,29 @@ export interface components {
|
|
|
20876
21221
|
/** Tags */
|
|
20877
21222
|
tags?: string[];
|
|
20878
21223
|
};
|
|
21224
|
+
/** Runtime */
|
|
21225
|
+
Runtime: {
|
|
21226
|
+
/**
|
|
21227
|
+
* Caller Context
|
|
21228
|
+
* @default
|
|
21229
|
+
*/
|
|
21230
|
+
caller_context?: string;
|
|
21231
|
+
/**
|
|
21232
|
+
* Channel Kind
|
|
21233
|
+
* @default
|
|
21234
|
+
*/
|
|
21235
|
+
channel_kind?: string;
|
|
21236
|
+
/**
|
|
21237
|
+
* Engage Model
|
|
21238
|
+
* @default
|
|
21239
|
+
*/
|
|
21240
|
+
engage_model?: string;
|
|
21241
|
+
/**
|
|
21242
|
+
* Language
|
|
21243
|
+
* @default
|
|
21244
|
+
*/
|
|
21245
|
+
language?: string;
|
|
21246
|
+
};
|
|
20879
21247
|
/** SafetyState */
|
|
20880
21248
|
SafetyState: {
|
|
20881
21249
|
/**
|
|
@@ -24727,6 +25095,23 @@ export interface components {
|
|
|
24727
25095
|
*/
|
|
24728
25096
|
type: "tool_call_started";
|
|
24729
25097
|
};
|
|
25098
|
+
/** ToolDescriptor */
|
|
25099
|
+
ToolDescriptor: {
|
|
25100
|
+
/**
|
|
25101
|
+
* Description
|
|
25102
|
+
* @default
|
|
25103
|
+
*/
|
|
25104
|
+
description?: string;
|
|
25105
|
+
/**
|
|
25106
|
+
* Input Schema
|
|
25107
|
+
* @default {}
|
|
25108
|
+
*/
|
|
25109
|
+
input_schema?: {
|
|
25110
|
+
[key: string]: unknown;
|
|
25111
|
+
};
|
|
25112
|
+
/** Name */
|
|
25113
|
+
name: string;
|
|
25114
|
+
};
|
|
24730
25115
|
/** ToolExecuteRequest */
|
|
24731
25116
|
ToolExecuteRequest: {
|
|
24732
25117
|
/**
|
|
@@ -24852,8 +25237,30 @@ export interface components {
|
|
|
24852
25237
|
total_calls?: number;
|
|
24853
25238
|
};
|
|
24854
25239
|
/**
|
|
24855
|
-
*
|
|
24856
|
-
* @description
|
|
25240
|
+
* Tools
|
|
25241
|
+
* @description Discovery hint — the neutral descriptors. NOT the enforcement (the MCP
|
|
25242
|
+
* edge is; a remote agent discovers live schemas from the server too).
|
|
25243
|
+
*/
|
|
25244
|
+
Tools: {
|
|
25245
|
+
/**
|
|
25246
|
+
* Descriptors
|
|
25247
|
+
* @default []
|
|
25248
|
+
*/
|
|
25249
|
+
descriptors?: components["schemas"]["ToolDescriptor"][];
|
|
25250
|
+
/**
|
|
25251
|
+
* Read Tool Names
|
|
25252
|
+
* @default []
|
|
25253
|
+
*/
|
|
25254
|
+
read_tool_names?: string[];
|
|
25255
|
+
/**
|
|
25256
|
+
* Write Tool Names
|
|
25257
|
+
* @default []
|
|
25258
|
+
*/
|
|
25259
|
+
write_tool_names?: string[];
|
|
25260
|
+
};
|
|
25261
|
+
/**
|
|
25262
|
+
* TraceAnalysisListItem
|
|
25263
|
+
* @description Compact summary of a trace analysis row for list views.
|
|
24857
25264
|
*/
|
|
24858
25265
|
TraceAnalysisListItem: {
|
|
24859
25266
|
/**
|
|
@@ -26405,6 +26812,23 @@ export interface components {
|
|
|
26405
26812
|
*/
|
|
26406
26813
|
type: "user_transcript";
|
|
26407
26814
|
};
|
|
26815
|
+
/** ValidateAgentDefinitionResponse */
|
|
26816
|
+
ValidateAgentDefinitionResponse: {
|
|
26817
|
+
/** Agent Count */
|
|
26818
|
+
agent_count: number;
|
|
26819
|
+
/**
|
|
26820
|
+
* Framework
|
|
26821
|
+
* @enum {string}
|
|
26822
|
+
*/
|
|
26823
|
+
framework: "claude-agent-sdk" | "openai-agents";
|
|
26824
|
+
/** Has Write Tools */
|
|
26825
|
+
has_write_tools: boolean;
|
|
26826
|
+
/**
|
|
26827
|
+
* Valid
|
|
26828
|
+
* @constant
|
|
26829
|
+
*/
|
|
26830
|
+
valid: true;
|
|
26831
|
+
};
|
|
26408
26832
|
/** ValidationError */
|
|
26409
26833
|
ValidationError: {
|
|
26410
26834
|
/** Context */
|
|
@@ -27005,6 +27429,28 @@ export interface components {
|
|
|
27005
27429
|
/** Sources */
|
|
27006
27430
|
sources?: components["schemas"]["SourceBreakdownItem"][];
|
|
27007
27431
|
};
|
|
27432
|
+
/**
|
|
27433
|
+
* WorldScope
|
|
27434
|
+
* @description The world slice — ids only (the leaf stays I/O-free). This is the
|
|
27435
|
+
* read/subject scope, NOT the write bound (see ``write_floor``).
|
|
27436
|
+
*/
|
|
27437
|
+
WorldScope: {
|
|
27438
|
+
/**
|
|
27439
|
+
* Allow Create
|
|
27440
|
+
* @default false
|
|
27441
|
+
*/
|
|
27442
|
+
allow_create?: boolean;
|
|
27443
|
+
/**
|
|
27444
|
+
* Scoped Entity Ids
|
|
27445
|
+
* @default []
|
|
27446
|
+
*/
|
|
27447
|
+
scoped_entity_ids?: string[];
|
|
27448
|
+
/**
|
|
27449
|
+
* Workspace Id
|
|
27450
|
+
* Format: uuid
|
|
27451
|
+
*/
|
|
27452
|
+
workspace_id: string;
|
|
27453
|
+
};
|
|
27008
27454
|
/**
|
|
27009
27455
|
* WrapUpRequest
|
|
27010
27456
|
* @description Request to record operator intervention wrap-up.
|
|
@@ -27028,6 +27474,48 @@ export interface components {
|
|
|
27028
27474
|
/** Success */
|
|
27029
27475
|
success: boolean;
|
|
27030
27476
|
};
|
|
27477
|
+
/**
|
|
27478
|
+
* WriteFloor
|
|
27479
|
+
* @description The REAL server-enforced write bound (audit G8) — advisory to render;
|
|
27480
|
+
* the MCP edge enforces it regardless of what a client does.
|
|
27481
|
+
*/
|
|
27482
|
+
WriteFloor: {
|
|
27483
|
+
/**
|
|
27484
|
+
* Allow Create
|
|
27485
|
+
* @default false
|
|
27486
|
+
*/
|
|
27487
|
+
allow_create?: boolean;
|
|
27488
|
+
/**
|
|
27489
|
+
* Clinical Write Principal
|
|
27490
|
+
* @default provider-only
|
|
27491
|
+
*/
|
|
27492
|
+
clinical_write_principal?: string;
|
|
27493
|
+
/**
|
|
27494
|
+
* Clinical Write Scope
|
|
27495
|
+
* @default any-entity-in-workspace
|
|
27496
|
+
*/
|
|
27497
|
+
clinical_write_scope?: string;
|
|
27498
|
+
/**
|
|
27499
|
+
* Enforced At
|
|
27500
|
+
* @default mcp-world-tools-edge
|
|
27501
|
+
*/
|
|
27502
|
+
enforced_at?: string;
|
|
27503
|
+
/**
|
|
27504
|
+
* Enrichment Write Scope
|
|
27505
|
+
* @default caller-anchor-only
|
|
27506
|
+
*/
|
|
27507
|
+
enrichment_write_scope?: string;
|
|
27508
|
+
/**
|
|
27509
|
+
* Requires Entity Anchor
|
|
27510
|
+
* @default true
|
|
27511
|
+
*/
|
|
27512
|
+
requires_entity_anchor?: boolean;
|
|
27513
|
+
/**
|
|
27514
|
+
* Unanchored Or Api Key Writes
|
|
27515
|
+
* @default none
|
|
27516
|
+
*/
|
|
27517
|
+
unanchored_or_api_key_writes?: string;
|
|
27518
|
+
};
|
|
27031
27519
|
/** @enum {string} */
|
|
27032
27520
|
_Access: "read" | "write";
|
|
27033
27521
|
_DatasetSlug: string;
|
|
@@ -29758,6 +30246,207 @@ export interface operations {
|
|
|
29758
30246
|
};
|
|
29759
30247
|
};
|
|
29760
30248
|
};
|
|
30249
|
+
list_agent_definitions_v1__workspace_id__agent_definitions_get: {
|
|
30250
|
+
parameters: {
|
|
30251
|
+
query?: {
|
|
30252
|
+
framework?: ("claude-agent-sdk" | "openai-agents") | null;
|
|
30253
|
+
include_archived?: boolean;
|
|
30254
|
+
limit?: number;
|
|
30255
|
+
continuation_token?: unknown;
|
|
30256
|
+
};
|
|
30257
|
+
header?: never;
|
|
30258
|
+
path: {
|
|
30259
|
+
workspace_id: string;
|
|
30260
|
+
};
|
|
30261
|
+
cookie?: never;
|
|
30262
|
+
};
|
|
30263
|
+
requestBody?: never;
|
|
30264
|
+
responses: {
|
|
30265
|
+
/** @description Successful Response */
|
|
30266
|
+
200: {
|
|
30267
|
+
headers: {
|
|
30268
|
+
[name: string]: unknown;
|
|
30269
|
+
};
|
|
30270
|
+
content: {
|
|
30271
|
+
"application/json": components["schemas"]["AgentDefinitionListResponse"];
|
|
30272
|
+
};
|
|
30273
|
+
};
|
|
30274
|
+
/** @description Validation Error */
|
|
30275
|
+
422: {
|
|
30276
|
+
headers: {
|
|
30277
|
+
[name: string]: unknown;
|
|
30278
|
+
};
|
|
30279
|
+
content: {
|
|
30280
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30281
|
+
};
|
|
30282
|
+
};
|
|
30283
|
+
};
|
|
30284
|
+
};
|
|
30285
|
+
register_agent_definition_v1__workspace_id__agent_definitions_post: {
|
|
30286
|
+
parameters: {
|
|
30287
|
+
query?: never;
|
|
30288
|
+
header?: never;
|
|
30289
|
+
path: {
|
|
30290
|
+
workspace_id: string;
|
|
30291
|
+
};
|
|
30292
|
+
cookie?: never;
|
|
30293
|
+
};
|
|
30294
|
+
requestBody: {
|
|
30295
|
+
content: {
|
|
30296
|
+
"application/json": components["schemas"]["RegisterAgentDefinitionRequest"];
|
|
30297
|
+
};
|
|
30298
|
+
};
|
|
30299
|
+
responses: {
|
|
30300
|
+
/** @description Successful Response */
|
|
30301
|
+
200: {
|
|
30302
|
+
headers: {
|
|
30303
|
+
[name: string]: unknown;
|
|
30304
|
+
};
|
|
30305
|
+
content: {
|
|
30306
|
+
"application/json": components["schemas"]["RegisterAgentDefinitionResponse"];
|
|
30307
|
+
};
|
|
30308
|
+
};
|
|
30309
|
+
/** @description Validation Error */
|
|
30310
|
+
422: {
|
|
30311
|
+
headers: {
|
|
30312
|
+
[name: string]: unknown;
|
|
30313
|
+
};
|
|
30314
|
+
content: {
|
|
30315
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30316
|
+
};
|
|
30317
|
+
};
|
|
30318
|
+
};
|
|
30319
|
+
};
|
|
30320
|
+
validate_agent_definition_v1__workspace_id__agent_definitions_validate_post: {
|
|
30321
|
+
parameters: {
|
|
30322
|
+
query?: never;
|
|
30323
|
+
header?: never;
|
|
30324
|
+
path: {
|
|
30325
|
+
workspace_id: string;
|
|
30326
|
+
};
|
|
30327
|
+
cookie?: never;
|
|
30328
|
+
};
|
|
30329
|
+
requestBody: {
|
|
30330
|
+
content: {
|
|
30331
|
+
"application/json": components["schemas"]["RegisterAgentDefinitionRequest"];
|
|
30332
|
+
};
|
|
30333
|
+
};
|
|
30334
|
+
responses: {
|
|
30335
|
+
/** @description Successful Response */
|
|
30336
|
+
200: {
|
|
30337
|
+
headers: {
|
|
30338
|
+
[name: string]: unknown;
|
|
30339
|
+
};
|
|
30340
|
+
content: {
|
|
30341
|
+
"application/json": components["schemas"]["ValidateAgentDefinitionResponse"];
|
|
30342
|
+
};
|
|
30343
|
+
};
|
|
30344
|
+
/** @description Validation Error */
|
|
30345
|
+
422: {
|
|
30346
|
+
headers: {
|
|
30347
|
+
[name: string]: unknown;
|
|
30348
|
+
};
|
|
30349
|
+
content: {
|
|
30350
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30351
|
+
};
|
|
30352
|
+
};
|
|
30353
|
+
};
|
|
30354
|
+
};
|
|
30355
|
+
get_agent_definition_v1__workspace_id__agent_definitions__definition_id__get: {
|
|
30356
|
+
parameters: {
|
|
30357
|
+
query?: never;
|
|
30358
|
+
header?: never;
|
|
30359
|
+
path: {
|
|
30360
|
+
workspace_id: string;
|
|
30361
|
+
definition_id: string;
|
|
30362
|
+
};
|
|
30363
|
+
cookie?: never;
|
|
30364
|
+
};
|
|
30365
|
+
requestBody?: never;
|
|
30366
|
+
responses: {
|
|
30367
|
+
/** @description Successful Response */
|
|
30368
|
+
200: {
|
|
30369
|
+
headers: {
|
|
30370
|
+
[name: string]: unknown;
|
|
30371
|
+
};
|
|
30372
|
+
content: {
|
|
30373
|
+
"application/json": components["schemas"]["AgentDefinitionDetail"];
|
|
30374
|
+
};
|
|
30375
|
+
};
|
|
30376
|
+
/** @description Validation Error */
|
|
30377
|
+
422: {
|
|
30378
|
+
headers: {
|
|
30379
|
+
[name: string]: unknown;
|
|
30380
|
+
};
|
|
30381
|
+
content: {
|
|
30382
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30383
|
+
};
|
|
30384
|
+
};
|
|
30385
|
+
};
|
|
30386
|
+
};
|
|
30387
|
+
archive_agent_definition_v1__workspace_id__agent_definitions__definition_id__delete: {
|
|
30388
|
+
parameters: {
|
|
30389
|
+
query?: never;
|
|
30390
|
+
header?: never;
|
|
30391
|
+
path: {
|
|
30392
|
+
workspace_id: string;
|
|
30393
|
+
definition_id: string;
|
|
30394
|
+
};
|
|
30395
|
+
cookie?: never;
|
|
30396
|
+
};
|
|
30397
|
+
requestBody?: never;
|
|
30398
|
+
responses: {
|
|
30399
|
+
/** @description Successful Response */
|
|
30400
|
+
204: {
|
|
30401
|
+
headers: {
|
|
30402
|
+
[name: string]: unknown;
|
|
30403
|
+
};
|
|
30404
|
+
content?: never;
|
|
30405
|
+
};
|
|
30406
|
+
/** @description Validation Error */
|
|
30407
|
+
422: {
|
|
30408
|
+
headers: {
|
|
30409
|
+
[name: string]: unknown;
|
|
30410
|
+
};
|
|
30411
|
+
content: {
|
|
30412
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30413
|
+
};
|
|
30414
|
+
};
|
|
30415
|
+
};
|
|
30416
|
+
};
|
|
30417
|
+
get_agent_definition_version_v1__workspace_id__agent_definitions__definition_id__versions__version__get: {
|
|
30418
|
+
parameters: {
|
|
30419
|
+
query?: never;
|
|
30420
|
+
header?: never;
|
|
30421
|
+
path: {
|
|
30422
|
+
workspace_id: string;
|
|
30423
|
+
definition_id: string;
|
|
30424
|
+
version: number;
|
|
30425
|
+
};
|
|
30426
|
+
cookie?: never;
|
|
30427
|
+
};
|
|
30428
|
+
requestBody?: never;
|
|
30429
|
+
responses: {
|
|
30430
|
+
/** @description Successful Response */
|
|
30431
|
+
200: {
|
|
30432
|
+
headers: {
|
|
30433
|
+
[name: string]: unknown;
|
|
30434
|
+
};
|
|
30435
|
+
content: {
|
|
30436
|
+
"application/json": components["schemas"]["AgentDefinitionVersionDetail"];
|
|
30437
|
+
};
|
|
30438
|
+
};
|
|
30439
|
+
/** @description Validation Error */
|
|
30440
|
+
422: {
|
|
30441
|
+
headers: {
|
|
30442
|
+
[name: string]: unknown;
|
|
30443
|
+
};
|
|
30444
|
+
content: {
|
|
30445
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30446
|
+
};
|
|
30447
|
+
};
|
|
30448
|
+
};
|
|
30449
|
+
};
|
|
29761
30450
|
create_agent_run_v1__workspace_id__agent_runs_post: {
|
|
29762
30451
|
parameters: {
|
|
29763
30452
|
query?: never;
|
|
@@ -29793,6 +30482,40 @@ export interface operations {
|
|
|
29793
30482
|
};
|
|
29794
30483
|
};
|
|
29795
30484
|
};
|
|
30485
|
+
get_harness_context_v1__workspace_id__agent_runs_harness_context_get: {
|
|
30486
|
+
parameters: {
|
|
30487
|
+
query: {
|
|
30488
|
+
service_id: string;
|
|
30489
|
+
version_set?: string;
|
|
30490
|
+
};
|
|
30491
|
+
header?: never;
|
|
30492
|
+
path: {
|
|
30493
|
+
workspace_id: string;
|
|
30494
|
+
};
|
|
30495
|
+
cookie?: never;
|
|
30496
|
+
};
|
|
30497
|
+
requestBody?: never;
|
|
30498
|
+
responses: {
|
|
30499
|
+
/** @description Successful Response */
|
|
30500
|
+
200: {
|
|
30501
|
+
headers: {
|
|
30502
|
+
[name: string]: unknown;
|
|
30503
|
+
};
|
|
30504
|
+
content: {
|
|
30505
|
+
"application/json": components["schemas"]["HarnessContext"];
|
|
30506
|
+
};
|
|
30507
|
+
};
|
|
30508
|
+
/** @description Validation Error */
|
|
30509
|
+
422: {
|
|
30510
|
+
headers: {
|
|
30511
|
+
[name: string]: unknown;
|
|
30512
|
+
};
|
|
30513
|
+
content: {
|
|
30514
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30515
|
+
};
|
|
30516
|
+
};
|
|
30517
|
+
};
|
|
30518
|
+
};
|
|
29796
30519
|
get_agent_run_v1__workspace_id__agent_runs__run_id__get: {
|
|
29797
30520
|
parameters: {
|
|
29798
30521
|
query?: never;
|