@agent-os-sdk/client 0.4.3 → 0.4.5

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.
@@ -106,15 +106,6 @@ export declare class AgentOsClient {
106
106
  };
107
107
  readonly apiTokens: ApiTokensModule;
108
108
  readonly memberships: MembershipsModule;
109
- readonly agentVersions: {
110
- list: (agentId: string) => ReturnType<AgentsModule["listVersions"]>;
111
- get: (agentId: string, versionId: string) => ReturnType<AgentsModule["getVersion"]>;
112
- create: (agentId: string, body: Parameters<AgentsModule["createVersion"]>[1]) => ReturnType<AgentsModule["createVersion"]>;
113
- createDraft: (agentId: string, body?: Parameters<AgentsModule["createDraft"]>[1]) => ReturnType<AgentsModule["createDraft"]>;
114
- getBundle: (agentId: string, versionId: string) => ReturnType<AgentsModule["getBundle"]>;
115
- update: (agentId: string, versionId: string, body: Parameters<AgentsModule["updateVersion"]>[2]) => ReturnType<AgentsModule["updateVersion"]>;
116
- publish: (agentId: string, versionId: string) => ReturnType<AgentsModule["publishVersion"]>;
117
- };
118
109
  constructor(options: AgentOsClientOptions);
119
110
  /**
120
111
  * Validate auth configuration at construction time
@@ -1 +1 @@
1
- {"version":3,"file":"AgentOsClient.d.ts","sourceRoot":"","sources":["../../src/client/AgentOsClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EACH,KAAK,oBAAoB,EAK5B,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AA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D,CAAC;IAEF,SAAgB,SAAS,EAAE,eAAe,CAAC;IAC3C,SAAgB,WAAW,EAAE,iBAAiB,CAAC;gBAInC,OAAO,EAAE,oBAAoB;IAkEzC;;OAEG;IACH,OAAO,CAAC,aAAa;IAYrB;;;;;;OAMG;YACW,eAAe;IAwC7B;;OAEG;IACG,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAIxD,yBAAyB;IACzB,IAAI,QAAQ,IAAI,WAAW,GAAG,KAAK,CAElC;IAED,4CAA4C;IAC5C,IAAI,GAAG,IAAI,SAAS,CAEnB;CACJ"}
@@ -105,7 +105,6 @@ export class AgentOsClient {
105
105
  experiments;
106
106
  apiTokens;
107
107
  memberships;
108
- agentVersions;
109
108
  constructor(options) {
110
109
  this._baseUrl = options.baseUrl;
111
110
  this._auth = options.auth;
@@ -162,15 +161,6 @@ export class AgentOsClient {
162
161
  };
163
162
  this.apiTokens = new ApiTokensModule(this._client);
164
163
  this.memberships = new MembershipsModule(this._client);
165
- this.agentVersions = {
166
- list: (agentId) => this.agents.listVersions(agentId),
167
- get: (agentId, versionId) => this.agents.getVersion(agentId, versionId),
168
- create: (agentId, body) => this.agents.createVersion(agentId, body),
169
- createDraft: (agentId, body) => this.agents.createDraft(agentId, body),
170
- getBundle: (agentId, versionId) => this.agents.getBundle(agentId, versionId),
171
- update: (agentId, versionId, body) => this.agents.updateVersion(agentId, versionId, body),
172
- publish: (agentId, versionId) => this.agents.publishVersion(agentId, versionId),
173
- };
174
164
  }
175
165
  /**
176
166
  * Validate auth configuration at construction time
@@ -455,6 +455,77 @@ export interface paths {
455
455
  };
456
456
  trace?: never;
457
457
  };
458
+ "/v1/api/agents/{id}/publish": {
459
+ parameters: {
460
+ query?: never;
461
+ header?: never;
462
+ path?: never;
463
+ cookie?: never;
464
+ };
465
+ get?: never;
466
+ put?: never;
467
+ /** Publishes a new version (bundle) of the agent. */
468
+ post: {
469
+ parameters: {
470
+ query?: never;
471
+ header?: never;
472
+ path: {
473
+ id: string;
474
+ };
475
+ cookie?: never;
476
+ };
477
+ requestBody?: {
478
+ content: {
479
+ "application/json": components["schemas"]["PublishAgentRequest"];
480
+ "text/json": components["schemas"]["PublishAgentRequest"];
481
+ "application/*+json": components["schemas"]["PublishAgentRequest"];
482
+ };
483
+ };
484
+ responses: {
485
+ /** @description OK */
486
+ 200: {
487
+ headers: {
488
+ [name: string]: unknown;
489
+ };
490
+ content: {
491
+ "application/json": components["schemas"]["BundleResponse"];
492
+ };
493
+ };
494
+ /** @description Bad Request */
495
+ 400: {
496
+ headers: {
497
+ [name: string]: unknown;
498
+ };
499
+ content: {
500
+ "application/json": components["schemas"]["ProblemDetails"];
501
+ };
502
+ };
503
+ /** @description Unauthorized */
504
+ 401: {
505
+ headers: {
506
+ [name: string]: unknown;
507
+ };
508
+ content: {
509
+ "application/json": components["schemas"]["ProblemDetails"];
510
+ };
511
+ };
512
+ /** @description Not Found */
513
+ 404: {
514
+ headers: {
515
+ [name: string]: unknown;
516
+ };
517
+ content: {
518
+ "application/json": components["schemas"]["ProblemDetails"];
519
+ };
520
+ };
521
+ };
522
+ };
523
+ delete?: never;
524
+ options?: never;
525
+ head?: never;
526
+ patch?: never;
527
+ trace?: never;
528
+ };
458
529
  "/v1/api/agents/{id}/graph": {
459
530
  parameters: {
460
531
  query?: never;
@@ -1884,6 +1955,353 @@ export interface paths {
1884
1955
  patch?: never;
1885
1956
  trace?: never;
1886
1957
  };
1958
+ "/v1/api/datasets": {
1959
+ parameters: {
1960
+ query?: never;
1961
+ header?: never;
1962
+ path?: never;
1963
+ cookie?: never;
1964
+ };
1965
+ /** Lists datasets in the workspace. */
1966
+ get: {
1967
+ parameters: {
1968
+ query?: {
1969
+ skip?: number;
1970
+ take?: number;
1971
+ };
1972
+ header?: never;
1973
+ path?: never;
1974
+ cookie?: never;
1975
+ };
1976
+ requestBody?: never;
1977
+ responses: {
1978
+ /** @description OK */
1979
+ 200: {
1980
+ headers: {
1981
+ [name: string]: unknown;
1982
+ };
1983
+ content: {
1984
+ "application/json": components["schemas"]["DatasetResponse"][];
1985
+ };
1986
+ };
1987
+ /** @description Bad Request */
1988
+ 400: {
1989
+ headers: {
1990
+ [name: string]: unknown;
1991
+ };
1992
+ content: {
1993
+ "application/json": components["schemas"]["ProblemDetails"];
1994
+ };
1995
+ };
1996
+ /** @description Unauthorized */
1997
+ 401: {
1998
+ headers: {
1999
+ [name: string]: unknown;
2000
+ };
2001
+ content: {
2002
+ "application/json": components["schemas"]["ProblemDetails"];
2003
+ };
2004
+ };
2005
+ };
2006
+ };
2007
+ put?: never;
2008
+ /** Creates a new evaluation dataset. */
2009
+ post: {
2010
+ parameters: {
2011
+ query?: never;
2012
+ header?: never;
2013
+ path?: never;
2014
+ cookie?: never;
2015
+ };
2016
+ requestBody?: {
2017
+ content: {
2018
+ "application/json": components["schemas"]["CreateDatasetRequest"];
2019
+ "text/json": components["schemas"]["CreateDatasetRequest"];
2020
+ "application/*+json": components["schemas"]["CreateDatasetRequest"];
2021
+ };
2022
+ };
2023
+ responses: {
2024
+ /** @description Created */
2025
+ 201: {
2026
+ headers: {
2027
+ [name: string]: unknown;
2028
+ };
2029
+ content: {
2030
+ "application/json": components["schemas"]["DatasetResponse"];
2031
+ };
2032
+ };
2033
+ /** @description Bad Request */
2034
+ 400: {
2035
+ headers: {
2036
+ [name: string]: unknown;
2037
+ };
2038
+ content: {
2039
+ "application/json": components["schemas"]["ProblemDetails"];
2040
+ };
2041
+ };
2042
+ /** @description Unauthorized */
2043
+ 401: {
2044
+ headers: {
2045
+ [name: string]: unknown;
2046
+ };
2047
+ content: {
2048
+ "application/json": components["schemas"]["ProblemDetails"];
2049
+ };
2050
+ };
2051
+ };
2052
+ };
2053
+ delete?: never;
2054
+ options?: never;
2055
+ head?: never;
2056
+ patch?: never;
2057
+ trace?: never;
2058
+ };
2059
+ "/v1/api/datasets/{id}": {
2060
+ parameters: {
2061
+ query?: never;
2062
+ header?: never;
2063
+ path?: never;
2064
+ cookie?: never;
2065
+ };
2066
+ /** Gets a specific dataset by ID. */
2067
+ get: {
2068
+ parameters: {
2069
+ query?: never;
2070
+ header?: never;
2071
+ path: {
2072
+ id: string;
2073
+ };
2074
+ cookie?: never;
2075
+ };
2076
+ requestBody?: never;
2077
+ responses: {
2078
+ /** @description OK */
2079
+ 200: {
2080
+ headers: {
2081
+ [name: string]: unknown;
2082
+ };
2083
+ content: {
2084
+ "application/json": components["schemas"]["DatasetResponse"];
2085
+ };
2086
+ };
2087
+ /** @description Unauthorized */
2088
+ 401: {
2089
+ headers: {
2090
+ [name: string]: unknown;
2091
+ };
2092
+ content: {
2093
+ "application/json": components["schemas"]["ProblemDetails"];
2094
+ };
2095
+ };
2096
+ /** @description Not Found */
2097
+ 404: {
2098
+ headers: {
2099
+ [name: string]: unknown;
2100
+ };
2101
+ content: {
2102
+ "application/json": components["schemas"]["ProblemDetails"];
2103
+ };
2104
+ };
2105
+ };
2106
+ };
2107
+ put?: never;
2108
+ post?: never;
2109
+ /** Soft deletes a dataset. */
2110
+ delete: {
2111
+ parameters: {
2112
+ query?: never;
2113
+ header?: never;
2114
+ path: {
2115
+ id: string;
2116
+ };
2117
+ cookie?: never;
2118
+ };
2119
+ requestBody?: never;
2120
+ responses: {
2121
+ /** @description No Content */
2122
+ 204: {
2123
+ headers: {
2124
+ [name: string]: unknown;
2125
+ };
2126
+ content?: never;
2127
+ };
2128
+ /** @description Not Found */
2129
+ 404: {
2130
+ headers: {
2131
+ [name: string]: unknown;
2132
+ };
2133
+ content: {
2134
+ "application/json": components["schemas"]["ProblemDetails"];
2135
+ };
2136
+ };
2137
+ };
2138
+ };
2139
+ options?: never;
2140
+ head?: never;
2141
+ /** Updates a dataset (Partial Update). */
2142
+ patch: {
2143
+ parameters: {
2144
+ query?: never;
2145
+ header?: never;
2146
+ path: {
2147
+ id: string;
2148
+ };
2149
+ cookie?: never;
2150
+ };
2151
+ requestBody?: {
2152
+ content: {
2153
+ "application/json": components["schemas"]["UpdateDatasetRequest"];
2154
+ "text/json": components["schemas"]["UpdateDatasetRequest"];
2155
+ "application/*+json": components["schemas"]["UpdateDatasetRequest"];
2156
+ };
2157
+ };
2158
+ responses: {
2159
+ /** @description OK */
2160
+ 200: {
2161
+ headers: {
2162
+ [name: string]: unknown;
2163
+ };
2164
+ content: {
2165
+ "application/json": components["schemas"]["DatasetResponse"];
2166
+ };
2167
+ };
2168
+ /** @description Not Found */
2169
+ 404: {
2170
+ headers: {
2171
+ [name: string]: unknown;
2172
+ };
2173
+ content: {
2174
+ "application/json": components["schemas"]["ProblemDetails"];
2175
+ };
2176
+ };
2177
+ };
2178
+ };
2179
+ trace?: never;
2180
+ };
2181
+ "/v1/api/datasets/{id}/examples": {
2182
+ parameters: {
2183
+ query?: never;
2184
+ header?: never;
2185
+ path?: never;
2186
+ cookie?: never;
2187
+ };
2188
+ /** Lists examples for a dataset. */
2189
+ get: {
2190
+ parameters: {
2191
+ query?: {
2192
+ skip?: number;
2193
+ take?: number;
2194
+ };
2195
+ header?: never;
2196
+ path: {
2197
+ id: string;
2198
+ };
2199
+ cookie?: never;
2200
+ };
2201
+ requestBody?: never;
2202
+ responses: {
2203
+ /** @description OK */
2204
+ 200: {
2205
+ headers: {
2206
+ [name: string]: unknown;
2207
+ };
2208
+ content: {
2209
+ "application/json": components["schemas"]["ExampleResponse"][];
2210
+ };
2211
+ };
2212
+ };
2213
+ };
2214
+ put?: never;
2215
+ /** Adds examples to a dataset (Batch). */
2216
+ post: {
2217
+ parameters: {
2218
+ query?: never;
2219
+ header?: never;
2220
+ path: {
2221
+ id: string;
2222
+ };
2223
+ cookie?: never;
2224
+ };
2225
+ requestBody?: {
2226
+ content: {
2227
+ "application/json": components["schemas"]["CreateExampleRequest"];
2228
+ "text/json": components["schemas"]["CreateExampleRequest"];
2229
+ "application/*+json": components["schemas"]["CreateExampleRequest"];
2230
+ };
2231
+ };
2232
+ responses: {
2233
+ /** @description Created */
2234
+ 201: {
2235
+ headers: {
2236
+ [name: string]: unknown;
2237
+ };
2238
+ content: {
2239
+ "application/json": components["schemas"]["ExampleResponse"][];
2240
+ };
2241
+ };
2242
+ /** @description Not Found */
2243
+ 404: {
2244
+ headers: {
2245
+ [name: string]: unknown;
2246
+ };
2247
+ content: {
2248
+ "application/json": components["schemas"]["ProblemDetails"];
2249
+ };
2250
+ };
2251
+ };
2252
+ };
2253
+ delete?: never;
2254
+ options?: never;
2255
+ head?: never;
2256
+ patch?: never;
2257
+ trace?: never;
2258
+ };
2259
+ "/v1/api/datasets/{id}/examples/{exampleId}": {
2260
+ parameters: {
2261
+ query?: never;
2262
+ header?: never;
2263
+ path?: never;
2264
+ cookie?: never;
2265
+ };
2266
+ get?: never;
2267
+ put?: never;
2268
+ post?: never;
2269
+ /** Deletes a specific example. */
2270
+ delete: {
2271
+ parameters: {
2272
+ query?: never;
2273
+ header?: never;
2274
+ path: {
2275
+ id: string;
2276
+ exampleId: string;
2277
+ };
2278
+ cookie?: never;
2279
+ };
2280
+ requestBody?: never;
2281
+ responses: {
2282
+ /** @description No Content */
2283
+ 204: {
2284
+ headers: {
2285
+ [name: string]: unknown;
2286
+ };
2287
+ content?: never;
2288
+ };
2289
+ /** @description Not Found */
2290
+ 404: {
2291
+ headers: {
2292
+ [name: string]: unknown;
2293
+ };
2294
+ content: {
2295
+ "application/json": components["schemas"]["ProblemDetails"];
2296
+ };
2297
+ };
2298
+ };
2299
+ };
2300
+ options?: never;
2301
+ head?: never;
2302
+ patch?: never;
2303
+ trace?: never;
2304
+ };
1887
2305
  "/v1/api/runs/dlq": {
1888
2306
  parameters: {
1889
2307
  query?: never;
@@ -6680,7 +7098,32 @@ export interface paths {
6680
7098
  path?: never;
6681
7099
  cookie?: never;
6682
7100
  };
6683
- get?: never;
7101
+ /** List files in a vector store. */
7102
+ get: {
7103
+ parameters: {
7104
+ query?: {
7105
+ skip?: number;
7106
+ take?: number;
7107
+ };
7108
+ header?: never;
7109
+ path: {
7110
+ vectorStoreId: string;
7111
+ };
7112
+ cookie?: never;
7113
+ };
7114
+ requestBody?: never;
7115
+ responses: {
7116
+ /** @description OK */
7117
+ 200: {
7118
+ headers: {
7119
+ [name: string]: unknown;
7120
+ };
7121
+ content: {
7122
+ "application/json": components["schemas"]["VectorStoreFileResponse"][];
7123
+ };
7124
+ };
7125
+ };
7126
+ };
6684
7127
  put?: never;
6685
7128
  /** Attach a file to a vector store for embedding. */
6686
7129
  post: {
@@ -6735,6 +7178,59 @@ export interface paths {
6735
7178
  patch?: never;
6736
7179
  trace?: never;
6737
7180
  };
7181
+ "/v1/api/vector-stores/{vectorStoreId}/files/{fileId}": {
7182
+ parameters: {
7183
+ query?: never;
7184
+ header?: never;
7185
+ path?: never;
7186
+ cookie?: never;
7187
+ };
7188
+ get?: never;
7189
+ put?: never;
7190
+ post?: never;
7191
+ /**
7192
+ * Detach a file from a vector store.
7193
+ * @description Removes the file association from the vector store.
7194
+ * **Important:** This does NOT delete the file from storage (S3), only checks out the link.
7195
+ * Embeddings related to this file are NOT immediately cleaned up (future work).
7196
+ */
7197
+ delete: {
7198
+ parameters: {
7199
+ query?: never;
7200
+ header?: never;
7201
+ path: {
7202
+ /** @description Vector Store ID */
7203
+ vectorStoreId: string;
7204
+ /** @description The StoredFile ID (not the join record ID) */
7205
+ fileId: string;
7206
+ };
7207
+ cookie?: never;
7208
+ };
7209
+ requestBody?: never;
7210
+ responses: {
7211
+ /** @description No Content */
7212
+ 204: {
7213
+ headers: {
7214
+ [name: string]: unknown;
7215
+ };
7216
+ content?: never;
7217
+ };
7218
+ /** @description Not Found */
7219
+ 404: {
7220
+ headers: {
7221
+ [name: string]: unknown;
7222
+ };
7223
+ content: {
7224
+ "application/json": components["schemas"]["ProblemDetails"];
7225
+ };
7226
+ };
7227
+ };
7228
+ };
7229
+ options?: never;
7230
+ head?: never;
7231
+ patch?: never;
7232
+ trace?: never;
7233
+ };
6738
7234
  "/v1/api/vector-stores/{vectorStoreId}/query": {
6739
7235
  parameters: {
6740
7236
  query?: never;
@@ -7179,6 +7675,23 @@ export interface components {
7179
7675
  thread_id?: string | null;
7180
7676
  base_graph_etag?: string | null;
7181
7677
  };
7678
+ BundleResponse: {
7679
+ /** Format: uuid */
7680
+ id?: string;
7681
+ /** Format: uuid */
7682
+ tenant_id?: string;
7683
+ /** Format: uuid */
7684
+ workspace_id?: string;
7685
+ /** Format: uuid */
7686
+ agent_id?: string;
7687
+ artifact_uri?: string | null;
7688
+ artifact_hash?: string | null;
7689
+ format?: string | null;
7690
+ content_hash?: string | null;
7691
+ /** Format: date-time */
7692
+ created_at?: string;
7693
+ label?: string | null;
7694
+ };
7182
7695
  CancelRequest: {
7183
7696
  reason?: string | null;
7184
7697
  };
@@ -7287,6 +7800,9 @@ export interface components {
7287
7800
  /** Format: uuid */
7288
7801
  agent_id?: string | null;
7289
7802
  };
7803
+ CreateExampleRequest: {
7804
+ examples?: components["schemas"]["ExampleDto"][] | null;
7805
+ };
7290
7806
  CreateExperimentRequest: {
7291
7807
  /** Format: uuid */
7292
7808
  dataset_id?: string;
@@ -7386,6 +7902,20 @@ export interface components {
7386
7902
  CreateWorkspaceRequest: {
7387
7903
  name?: string | null;
7388
7904
  };
7905
+ DatasetResponse: {
7906
+ /** Format: uuid */
7907
+ id?: string;
7908
+ name?: string | null;
7909
+ description?: string | null;
7910
+ /** Format: uuid */
7911
+ agentId?: string | null;
7912
+ /** Format: int32 */
7913
+ exampleCount?: number;
7914
+ /** Format: date-time */
7915
+ createdAt?: string;
7916
+ /** Format: date-time */
7917
+ updatedAt?: string;
7918
+ };
7389
7919
  DryRunRequest: {
7390
7920
  /** Format: uuid */
7391
7921
  agent_id?: string;
@@ -7408,6 +7938,22 @@ export interface components {
7408
7938
  [key: string]: unknown;
7409
7939
  } | null;
7410
7940
  };
7941
+ ExampleDto: {
7942
+ input?: unknown;
7943
+ expectedOutput?: unknown;
7944
+ metadata?: unknown;
7945
+ };
7946
+ ExampleResponse: {
7947
+ /** Format: uuid */
7948
+ id?: string;
7949
+ /** Format: uuid */
7950
+ datasetId?: string;
7951
+ input?: unknown;
7952
+ expectedOutput?: unknown;
7953
+ metadata?: unknown;
7954
+ /** Format: date-time */
7955
+ createdAt?: string;
7956
+ };
7411
7957
  FileConfirmResponse: {
7412
7958
  /** Format: uuid */
7413
7959
  file_id?: string;
@@ -7548,6 +8094,11 @@ export interface components {
7548
8094
  } & {
7549
8095
  [key: string]: unknown;
7550
8096
  };
8097
+ PublishAgentRequest: {
8098
+ version_label?: string | null;
8099
+ graph_spec?: unknown;
8100
+ set_as_live?: boolean;
8101
+ };
7551
8102
  ReplayRequest: {
7552
8103
  modified_input?: string | null;
7553
8104
  create_new_thread?: boolean;
@@ -7815,6 +8366,12 @@ export interface components {
7815
8366
  enabled?: boolean | null;
7816
8367
  input?: unknown;
7817
8368
  };
8369
+ UpdateDatasetRequest: {
8370
+ name?: string | null;
8371
+ description?: string | null;
8372
+ /** Format: uuid */
8373
+ agentId?: string | null;
8374
+ };
7818
8375
  UpdateMemberRequest: {
7819
8376
  /** Format: uuid */
7820
8377
  role_id?: string | null;