@agent-os-sdk/client 0.3.7 → 0.3.8
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/generated/openapi.d.ts +150 -1
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/modules/credentials.d.ts +1 -1
- package/dist/modules/credentials.d.ts.map +1 -1
- package/dist/modules/credentials.js +1 -1
- package/dist/modules/runs.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +150 -1
- package/src/generated/swagger.json +166 -1
- package/src/modules/credentials.ts +2 -2
|
@@ -817,6 +817,93 @@ export interface paths {
|
|
|
817
817
|
};
|
|
818
818
|
trace?: never;
|
|
819
819
|
};
|
|
820
|
+
"/v1/api/agents/{agentId}/versions/{versionId}/bundle": {
|
|
821
|
+
parameters: {
|
|
822
|
+
query?: never;
|
|
823
|
+
header?: never;
|
|
824
|
+
path?: never;
|
|
825
|
+
cookie?: never;
|
|
826
|
+
};
|
|
827
|
+
/**
|
|
828
|
+
* Gets the full execution bundle for a version including resolved graph_spec.
|
|
829
|
+
* @description Returns the complete graph specification and metadata for a version.
|
|
830
|
+
* The graph_spec is fully resolved - no need to fetch artifacts separately.
|
|
831
|
+
*
|
|
832
|
+
* **Caching:** Uses strong ETag based on artifact_hash for efficient caching.
|
|
833
|
+
* Include `If-None-Match` header to get 304 Not Modified when content unchanged.
|
|
834
|
+
*
|
|
835
|
+
* **Example Response:**
|
|
836
|
+
* ```json
|
|
837
|
+
* {
|
|
838
|
+
* "version": { "id": "...", "version_tag": "v1.2.0", ... },
|
|
839
|
+
* "graph_spec": { "nodes": [...], "edges": [...] },
|
|
840
|
+
* "artifact_hash": "a1b2c3...",
|
|
841
|
+
* "format": "langgraph_json_v1",
|
|
842
|
+
* "resolved_at": "2024-01-01T12:00:00Z"
|
|
843
|
+
* }
|
|
844
|
+
* ```
|
|
845
|
+
*/
|
|
846
|
+
get: {
|
|
847
|
+
parameters: {
|
|
848
|
+
query?: never;
|
|
849
|
+
header?: {
|
|
850
|
+
/** @description Optional ETag for cache validation (304 support). */
|
|
851
|
+
"If-None-Match"?: string;
|
|
852
|
+
};
|
|
853
|
+
path: {
|
|
854
|
+
/** @description The unique identifier of the parent agent. */
|
|
855
|
+
agentId: string;
|
|
856
|
+
/** @description The unique identifier of the version to retrieve. */
|
|
857
|
+
versionId: string;
|
|
858
|
+
};
|
|
859
|
+
cookie?: never;
|
|
860
|
+
};
|
|
861
|
+
requestBody?: never;
|
|
862
|
+
responses: {
|
|
863
|
+
/** @description Returns the full bundle. */
|
|
864
|
+
200: {
|
|
865
|
+
headers: {
|
|
866
|
+
[name: string]: unknown;
|
|
867
|
+
};
|
|
868
|
+
content: {
|
|
869
|
+
"application/json": components["schemas"]["AgentVersionBundleResponse"];
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
/** @description Content not modified (ETag matched). */
|
|
873
|
+
304: {
|
|
874
|
+
headers: {
|
|
875
|
+
[name: string]: unknown;
|
|
876
|
+
};
|
|
877
|
+
content?: never;
|
|
878
|
+
};
|
|
879
|
+
/** @description Authentication required. */
|
|
880
|
+
401: {
|
|
881
|
+
headers: {
|
|
882
|
+
[name: string]: unknown;
|
|
883
|
+
};
|
|
884
|
+
content: {
|
|
885
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
/** @description Agent or version not found. */
|
|
889
|
+
404: {
|
|
890
|
+
headers: {
|
|
891
|
+
[name: string]: unknown;
|
|
892
|
+
};
|
|
893
|
+
content: {
|
|
894
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
895
|
+
};
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
put?: never;
|
|
900
|
+
post?: never;
|
|
901
|
+
delete?: never;
|
|
902
|
+
options?: never;
|
|
903
|
+
head?: never;
|
|
904
|
+
patch?: never;
|
|
905
|
+
trace?: never;
|
|
906
|
+
};
|
|
820
907
|
"/v1/api/tokens": {
|
|
821
908
|
parameters: {
|
|
822
909
|
query?: never;
|
|
@@ -4460,6 +4547,48 @@ export interface paths {
|
|
|
4460
4547
|
patch?: never;
|
|
4461
4548
|
trace?: never;
|
|
4462
4549
|
};
|
|
4550
|
+
"/v1/api/runs/{runId}/stream": {
|
|
4551
|
+
parameters: {
|
|
4552
|
+
query?: never;
|
|
4553
|
+
header?: never;
|
|
4554
|
+
path?: never;
|
|
4555
|
+
cookie?: never;
|
|
4556
|
+
};
|
|
4557
|
+
/**
|
|
4558
|
+
* Wave 5.2: Stream run events via SSE (Server-Sent Events).
|
|
4559
|
+
* Uses robust internal polling (Cinema V1.2) to ensure strict ordering and reliability.
|
|
4560
|
+
* Closes connection when run is terminal and all events are delivered.
|
|
4561
|
+
*/
|
|
4562
|
+
get: {
|
|
4563
|
+
parameters: {
|
|
4564
|
+
query?: {
|
|
4565
|
+
after?: number;
|
|
4566
|
+
};
|
|
4567
|
+
header?: never;
|
|
4568
|
+
path: {
|
|
4569
|
+
runId: string;
|
|
4570
|
+
};
|
|
4571
|
+
cookie?: never;
|
|
4572
|
+
};
|
|
4573
|
+
requestBody?: never;
|
|
4574
|
+
responses: {
|
|
4575
|
+
/** @description OK */
|
|
4576
|
+
200: {
|
|
4577
|
+
headers: {
|
|
4578
|
+
[name: string]: unknown;
|
|
4579
|
+
};
|
|
4580
|
+
content?: never;
|
|
4581
|
+
};
|
|
4582
|
+
};
|
|
4583
|
+
};
|
|
4584
|
+
put?: never;
|
|
4585
|
+
post?: never;
|
|
4586
|
+
delete?: never;
|
|
4587
|
+
options?: never;
|
|
4588
|
+
head?: never;
|
|
4589
|
+
patch?: never;
|
|
4590
|
+
trace?: never;
|
|
4591
|
+
};
|
|
4463
4592
|
"/v1/api/runs/{runId}/rerun": {
|
|
4464
4593
|
parameters: {
|
|
4465
4594
|
query?: never;
|
|
@@ -7000,6 +7129,23 @@ export interface components {
|
|
|
7000
7129
|
/** Format: date-time */
|
|
7001
7130
|
created_at?: string;
|
|
7002
7131
|
};
|
|
7132
|
+
AgentVersionBundleResponse: {
|
|
7133
|
+
version?: components["schemas"]["AgentVersionMetadata"];
|
|
7134
|
+
graph_spec?: unknown;
|
|
7135
|
+
artifact_hash?: string | null;
|
|
7136
|
+
format?: string | null;
|
|
7137
|
+
/** Format: date-time */
|
|
7138
|
+
resolved_at?: string;
|
|
7139
|
+
};
|
|
7140
|
+
AgentVersionMetadata: {
|
|
7141
|
+
/** Format: uuid */
|
|
7142
|
+
id?: string;
|
|
7143
|
+
/** Format: uuid */
|
|
7144
|
+
agent_id?: string;
|
|
7145
|
+
version_tag?: string | null;
|
|
7146
|
+
/** Format: date-time */
|
|
7147
|
+
created_at?: string;
|
|
7148
|
+
};
|
|
7003
7149
|
ApprovalDecision: {
|
|
7004
7150
|
decision?: string | null;
|
|
7005
7151
|
comment?: string | null;
|
|
@@ -7479,6 +7625,8 @@ export interface components {
|
|
|
7479
7625
|
completed_at?: string | null;
|
|
7480
7626
|
/** Format: date-time */
|
|
7481
7627
|
created_at?: string;
|
|
7628
|
+
prompt_hash?: string | null;
|
|
7629
|
+
toolset_hash?: string | null;
|
|
7482
7630
|
};
|
|
7483
7631
|
RunEventDto: {
|
|
7484
7632
|
/** Format: uuid */
|
|
@@ -7491,6 +7639,7 @@ export interface components {
|
|
|
7491
7639
|
/** Format: uuid */
|
|
7492
7640
|
attempt_id?: string;
|
|
7493
7641
|
payload?: unknown;
|
|
7642
|
+
truncated?: boolean;
|
|
7494
7643
|
};
|
|
7495
7644
|
RunEventItem: {
|
|
7496
7645
|
id?: string | null;
|
|
@@ -7504,7 +7653,7 @@ export interface components {
|
|
|
7504
7653
|
/** Format: int64 */
|
|
7505
7654
|
latest_seq?: number;
|
|
7506
7655
|
/** Format: int64 */
|
|
7507
|
-
next_after_seq?: number;
|
|
7656
|
+
next_after_seq?: number | null;
|
|
7508
7657
|
has_more?: boolean;
|
|
7509
7658
|
};
|
|
7510
7659
|
RunEventsResponse: {
|