@mastra/client-js 1.30.0-alpha.5 → 1.30.1-alpha.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,107 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 1.30.1-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Added workspace-level provider registry to MastraEditor. You can now register WorkspaceProvider factories that build complete Workspace instances as a single unit, instead of composing from separate filesystem and sandbox providers. Stored agents can reference a workspace provider via `{ type: 'provider', provider: 'my-cloud', config: { ... } }` and the editor will call the registered factory during agent hydration. ([#18781](https://github.com/mastra-ai/mastra/pull/18781))
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { MastraEditor } from '@mastra/editor';
|
|
11
|
+
import { Workspace } from '@mastra/core/workspace';
|
|
12
|
+
|
|
13
|
+
const editor = new MastraEditor({
|
|
14
|
+
workspaces: {
|
|
15
|
+
'my-cloud': {
|
|
16
|
+
id: 'my-cloud',
|
|
17
|
+
name: 'My Cloud Workspace',
|
|
18
|
+
createWorkspace: config =>
|
|
19
|
+
new Workspace({
|
|
20
|
+
id: 'cloud-ws',
|
|
21
|
+
name: 'Cloud WS',
|
|
22
|
+
filesystem: new MyCloudFilesystem(config),
|
|
23
|
+
sandbox: new MyCloudSandbox(config),
|
|
24
|
+
}),
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
// Stored agent workspace reference using the provider:
|
|
30
|
+
// { type: 'provider', provider: 'my-cloud', config: { region: 'us-east-1' } }
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [[`6ef59fe`](https://github.com/mastra-ai/mastra/commit/6ef59fef1da52ed8da5fbb2a892c71cf4fb6c739), [`e2b9f33`](https://github.com/mastra-ai/mastra/commit/e2b9f33456fd638eca555f9466c6519d8d049666)]:
|
|
34
|
+
- @mastra/core@1.50.0-alpha.0
|
|
35
|
+
|
|
36
|
+
## 1.30.0
|
|
37
|
+
|
|
38
|
+
### Minor Changes
|
|
39
|
+
|
|
40
|
+
- Added optional tenancy arguments to `getDataset`, `updateDataset`, and `deleteDataset`. ([#18750](https://github.com/mastra-ai/mastra/pull/18750))
|
|
41
|
+
|
|
42
|
+
You can now pass `organizationId` and `projectId` to scope dataset reads, updates, and deletes to a specific tenant. Reads and updates against a dataset in a different tenant throw `DATASET_NOT_FOUND` (surfaced as a 404 over HTTP). Deletes silently no-op on a tenancy mismatch — matching the existing "delete non-existent id is a no-op" semantics so cross-tenant existence is never leaked via error timing or status.
|
|
43
|
+
|
|
44
|
+
**Example**
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
// Before
|
|
48
|
+
await client.getDataset('abc123');
|
|
49
|
+
await client.deleteDataset('abc123');
|
|
50
|
+
await client.updateDataset({ id: 'abc123', name: 'renamed' });
|
|
51
|
+
|
|
52
|
+
// After — scope to a tenant
|
|
53
|
+
await client.getDataset('abc123', { organizationId: 'org_a', projectId: 'proj_1' });
|
|
54
|
+
await client.deleteDataset('abc123', { organizationId: 'org_a' });
|
|
55
|
+
await client.updateDataset({ id: 'abc123', name: 'renamed', organizationId: 'org_a' });
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- Fixed a cross-tenant data-access issue on datasets by scoping `DatasetsManager.get` and `DatasetsManager.delete` to tenancy filters. ([#18750](https://github.com/mastra-ai/mastra/pull/18750))
|
|
61
|
+
|
|
62
|
+
Previously `get({ id })` and `delete({ id })` looked up a dataset by its primary key alone. Any caller who knew a dataset id could read or delete it regardless of which `organizationId` / `projectId` it belonged to. This is now closed at the storage layer via a scoped SQL predicate (option (a) — no fetch-then-assert).
|
|
63
|
+
|
|
64
|
+
**What changed**
|
|
65
|
+
- `DatasetsManager.get` and `DatasetsManager.delete` accept optional `organizationId` and `projectId`.
|
|
66
|
+
- The tenancy is stashed on the returned `Dataset` handle and forwarded to every downstream storage call (`getDetails`, `update`, `addItem`, item batch ops, `startExperimentAsync`).
|
|
67
|
+
- The abstract storage contract (`getDatasetById`, `deleteDataset`) gained an optional `filters?: DatasetTenancyFilters` arg.
|
|
68
|
+
- Item-mutation inputs (`AddDatasetItemInput`, `UpdateDatasetItemInput`, `BatchInsertItemsInput`, `BatchDeleteItemsInput`) and `UpdateDatasetInput` accept optional `filters` for the internal existence check.
|
|
69
|
+
|
|
70
|
+
**Behavior**
|
|
71
|
+
- Omitting tenancy preserves the existing behavior (no predicate added) — fully backwards compatible.
|
|
72
|
+
- On tenancy mismatch, `get` throws NOT_FOUND (returns null at the storage layer) and `delete` is a silent no-op — matching how a missing id already behaves, so existence does not leak through error timing or messages.
|
|
73
|
+
|
|
74
|
+
**Example**
|
|
75
|
+
|
|
76
|
+
```ts
|
|
77
|
+
// Before
|
|
78
|
+
const ds = await mastra.datasets.get({ id });
|
|
79
|
+
await mastra.datasets.delete({ id });
|
|
80
|
+
|
|
81
|
+
// After — scope to a tenant
|
|
82
|
+
const ds = await mastra.datasets.get({ id, organizationId, projectId });
|
|
83
|
+
await mastra.datasets.delete({ id, organizationId, projectId });
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
- Scoped `getDatasetById` and `deleteDataset` to tenancy filters when the caller passes `organizationId` / `projectId`. ([#18750](https://github.com/mastra-ai/mastra/pull/18750))
|
|
87
|
+
|
|
88
|
+
The adapters now push the tenancy predicate into the SQL/query when the new optional `filters` argument is present. Legacy calls that omit tenancy are unchanged. On mismatch, `getDatasetById` returns `null` and `deleteDataset` is a silent no-op — the cascade delete (dataset items and versions) is gated by a scoped parent pre-check, so cross-tenant data is never touched.
|
|
89
|
+
|
|
90
|
+
- Added optional `organizationId` and `projectId` query parameters to the dataset routes. ([#18750](https://github.com/mastra-ai/mastra/pull/18750))
|
|
91
|
+
|
|
92
|
+
`GET /datasets/:datasetId`, `PATCH /datasets/:datasetId`, and `DELETE /datasets/:datasetId` now accept optional tenancy query parameters. When provided, they are forwarded to `mastra.datasets.get` / `.delete` and the operation returns 404 if the dataset does not belong to the requested tenant. Requests that omit the query parameters keep their existing behavior.
|
|
93
|
+
|
|
94
|
+
**Example**
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
GET /datasets/abc123?organizationId=org_a&projectId=proj_1
|
|
98
|
+
DELETE /datasets/abc123?organizationId=org_a
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
- Updated dependencies [[`700619b`](https://github.com/mastra-ai/mastra/commit/700619b61d572e592cbaaf758121d168844ca4d2), [`0f69865`](https://github.com/mastra-ai/mastra/commit/0f69865aced225d98eac812e22699dc445ee18cb), [`9250acd`](https://github.com/mastra-ai/mastra/commit/9250acd1357f0f1f33d0dcca16f9655084c58eca), [`0c3d4bc`](https://github.com/mastra-ai/mastra/commit/0c3d4bcae13ea3699d379403e6f350d5cf4efe9f), [`cc440a3`](https://github.com/mastra-ai/mastra/commit/cc440a39400d8ce06655462b26c1666a1b3d4320), [`6a61846`](https://github.com/mastra-ai/mastra/commit/6a61846eeda29fb714549b70f1bee2bf6b141c44), [`215f9b0`](https://github.com/mastra-ai/mastra/commit/215f9b0f3f3f6fc165edad360582dd4d3d7ea748), [`17369b2`](https://github.com/mastra-ai/mastra/commit/17369b25250561e9ed994ae509be1d15bfb33bcb), [`c64c2a8`](https://github.com/mastra-ai/mastra/commit/c64c2a8503a50252f9ca6b8e8c54cadee31b92a2), [`bcae929`](https://github.com/mastra-ai/mastra/commit/bcae929945cbf265bd9f327cc715ecafa072b5b9), [`ea6327b`](https://github.com/mastra-ai/mastra/commit/ea6327ba2d63ca647804bc97b347e03a58617162), [`3439fa8`](https://github.com/mastra-ai/mastra/commit/3439fa836ecfcaa257b40c20b30ac2a8be22e9ea), [`85107f2`](https://github.com/mastra-ai/mastra/commit/85107f2758b527147fccbedff962961927c2d3b8), [`b33822e`](https://github.com/mastra-ai/mastra/commit/b33822e8d470884954b02f7b0745407ee4ef74b1), [`06e2680`](https://github.com/mastra-ai/mastra/commit/06e26806b51d2cbd858afdc66daa2b86ff3ba64a), [`1042cb4`](https://github.com/mastra-ai/mastra/commit/1042cb4da227c0a1315a6362262be3058866c5f8), [`06ff9e0`](https://github.com/mastra-ai/mastra/commit/06ff9e0befd1d642ab87ff749285ee4091205c7e), [`d5c11e3`](https://github.com/mastra-ai/mastra/commit/d5c11e3ba5045969caa7272a7bd1fd141c93ab6c), [`7f5e1ff`](https://github.com/mastra-ai/mastra/commit/7f5e1ff695a92f672bb3976363925d1e9136b54a), [`ff80671`](https://github.com/mastra-ai/mastra/commit/ff8067185e208b27198b4e5b71803013175c3643), [`b8375c1`](https://github.com/mastra-ai/mastra/commit/b8375c1f8fe905df8ae2ae9a893bb365f17aec4e), [`dab1257`](https://github.com/mastra-ai/mastra/commit/dab1257b64e4ed576dc5038bb7a3f7072338bc9f), [`1240f05`](https://github.com/mastra-ai/mastra/commit/1240f051c8e5371f1c014448bf37b1a1b9a05e47), [`705ff39`](https://github.com/mastra-ai/mastra/commit/705ff3969e57214ff2fdaf3815d751dd558886ed), [`e6fbd5b`](https://github.com/mastra-ai/mastra/commit/e6fbd5bfdc28e92c0c0433f29aa1bc152d3430f6), [`215f9b0`](https://github.com/mastra-ai/mastra/commit/215f9b0f3f3f6fc165edad360582dd4d3d7ea748), [`24c10d3`](https://github.com/mastra-ai/mastra/commit/24c10d333e6649ac06075903aeeee13a933db3b3), [`24c10d3`](https://github.com/mastra-ai/mastra/commit/24c10d333e6649ac06075903aeeee13a933db3b3), [`24c10d3`](https://github.com/mastra-ai/mastra/commit/24c10d333e6649ac06075903aeeee13a933db3b3), [`6f2026c`](https://github.com/mastra-ai/mastra/commit/6f2026cdf114ff1e21e49133ca774ec7d5085059), [`24c10d3`](https://github.com/mastra-ai/mastra/commit/24c10d333e6649ac06075903aeeee13a933db3b3), [`215f9b0`](https://github.com/mastra-ai/mastra/commit/215f9b0f3f3f6fc165edad360582dd4d3d7ea748), [`215f9b0`](https://github.com/mastra-ai/mastra/commit/215f9b0f3f3f6fc165edad360582dd4d3d7ea748), [`003f35d`](https://github.com/mastra-ai/mastra/commit/003f35d19e07b23b4bacc591c8bc0c59b42124ae), [`f890eda`](https://github.com/mastra-ai/mastra/commit/f890eda2c8a2ae83d9b30bc6d85842f93b6c266b), [`1340fb7`](https://github.com/mastra-ai/mastra/commit/1340fb76262a3ca062130aa71859f07257a0a5a4)]:
|
|
102
|
+
- @mastra/core@1.49.0
|
|
103
|
+
- @mastra/schema-compat@1.3.3
|
|
104
|
+
|
|
3
105
|
## 1.30.0-alpha.5
|
|
4
106
|
|
|
5
107
|
### Minor Changes
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-client-js
|
|
|
3
3
|
description: Documentation for @mastra/client-js. Use when working with @mastra/client-js APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/client-js"
|
|
6
|
-
version: "1.30.
|
|
6
|
+
version: "1.30.1-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -2223,6 +2223,14 @@ export type PostAgentsAgentIdClone_Response = {
|
|
|
2223
2223
|
/** Operation timeout in milliseconds */
|
|
2224
2224
|
operationTimeout?: number | undefined;
|
|
2225
2225
|
};
|
|
2226
|
+
} | {
|
|
2227
|
+
type: 'provider';
|
|
2228
|
+
/** Workspace provider identifier */
|
|
2229
|
+
provider: string;
|
|
2230
|
+
/** Provider-specific configuration */
|
|
2231
|
+
config: {
|
|
2232
|
+
[key: string]: unknown;
|
|
2233
|
+
};
|
|
2226
2234
|
}) | {
|
|
2227
2235
|
value: {
|
|
2228
2236
|
type: 'id';
|
|
@@ -2314,6 +2322,14 @@ export type PostAgentsAgentIdClone_Response = {
|
|
|
2314
2322
|
/** Operation timeout in milliseconds */
|
|
2315
2323
|
operationTimeout?: number | undefined;
|
|
2316
2324
|
};
|
|
2325
|
+
} | {
|
|
2326
|
+
type: 'provider';
|
|
2327
|
+
/** Workspace provider identifier */
|
|
2328
|
+
provider: string;
|
|
2329
|
+
/** Provider-specific configuration */
|
|
2330
|
+
config: {
|
|
2331
|
+
[key: string]: unknown;
|
|
2332
|
+
};
|
|
2317
2333
|
};
|
|
2318
2334
|
rules?: {
|
|
2319
2335
|
operator: 'AND' | 'OR';
|
|
@@ -16283,6 +16299,14 @@ export type GetStoredAgents_Response = {
|
|
|
16283
16299
|
/** Operation timeout in milliseconds */
|
|
16284
16300
|
operationTimeout?: number | undefined;
|
|
16285
16301
|
};
|
|
16302
|
+
} | {
|
|
16303
|
+
type: 'provider';
|
|
16304
|
+
/** Workspace provider identifier */
|
|
16305
|
+
provider: string;
|
|
16306
|
+
/** Provider-specific configuration */
|
|
16307
|
+
config: {
|
|
16308
|
+
[key: string]: unknown;
|
|
16309
|
+
};
|
|
16286
16310
|
}) | {
|
|
16287
16311
|
value: {
|
|
16288
16312
|
type: 'id';
|
|
@@ -16374,6 +16398,14 @@ export type GetStoredAgents_Response = {
|
|
|
16374
16398
|
/** Operation timeout in milliseconds */
|
|
16375
16399
|
operationTimeout?: number | undefined;
|
|
16376
16400
|
};
|
|
16401
|
+
} | {
|
|
16402
|
+
type: 'provider';
|
|
16403
|
+
/** Workspace provider identifier */
|
|
16404
|
+
provider: string;
|
|
16405
|
+
/** Provider-specific configuration */
|
|
16406
|
+
config: {
|
|
16407
|
+
[key: string]: unknown;
|
|
16408
|
+
};
|
|
16377
16409
|
};
|
|
16378
16410
|
rules?: {
|
|
16379
16411
|
operator: 'AND' | 'OR';
|
|
@@ -18489,6 +18521,14 @@ export type PostStoredAgentsStoredAgentIdExport_Body = {
|
|
|
18489
18521
|
/** Operation timeout in milliseconds */
|
|
18490
18522
|
operationTimeout?: number | undefined;
|
|
18491
18523
|
};
|
|
18524
|
+
} | {
|
|
18525
|
+
type: 'provider';
|
|
18526
|
+
/** Workspace provider identifier */
|
|
18527
|
+
provider: string;
|
|
18528
|
+
/** Provider-specific configuration */
|
|
18529
|
+
config: {
|
|
18530
|
+
[key: string]: unknown;
|
|
18531
|
+
};
|
|
18492
18532
|
}) | {
|
|
18493
18533
|
value: {
|
|
18494
18534
|
type: 'id';
|
|
@@ -18580,6 +18620,14 @@ export type PostStoredAgentsStoredAgentIdExport_Body = {
|
|
|
18580
18620
|
/** Operation timeout in milliseconds */
|
|
18581
18621
|
operationTimeout?: number | undefined;
|
|
18582
18622
|
};
|
|
18623
|
+
} | {
|
|
18624
|
+
type: 'provider';
|
|
18625
|
+
/** Workspace provider identifier */
|
|
18626
|
+
provider: string;
|
|
18627
|
+
/** Provider-specific configuration */
|
|
18628
|
+
config: {
|
|
18629
|
+
[key: string]: unknown;
|
|
18630
|
+
};
|
|
18583
18631
|
};
|
|
18584
18632
|
rules?: {
|
|
18585
18633
|
operator: 'AND' | 'OR';
|
|
@@ -20610,6 +20658,14 @@ export type PostStoredAgentsStoredAgentIdChangeRequest_Body = {
|
|
|
20610
20658
|
/** Operation timeout in milliseconds */
|
|
20611
20659
|
operationTimeout?: number | undefined;
|
|
20612
20660
|
};
|
|
20661
|
+
} | {
|
|
20662
|
+
type: 'provider';
|
|
20663
|
+
/** Workspace provider identifier */
|
|
20664
|
+
provider: string;
|
|
20665
|
+
/** Provider-specific configuration */
|
|
20666
|
+
config: {
|
|
20667
|
+
[key: string]: unknown;
|
|
20668
|
+
};
|
|
20613
20669
|
}) | {
|
|
20614
20670
|
value: {
|
|
20615
20671
|
type: 'id';
|
|
@@ -20701,6 +20757,14 @@ export type PostStoredAgentsStoredAgentIdChangeRequest_Body = {
|
|
|
20701
20757
|
/** Operation timeout in milliseconds */
|
|
20702
20758
|
operationTimeout?: number | undefined;
|
|
20703
20759
|
};
|
|
20760
|
+
} | {
|
|
20761
|
+
type: 'provider';
|
|
20762
|
+
/** Workspace provider identifier */
|
|
20763
|
+
provider: string;
|
|
20764
|
+
/** Provider-specific configuration */
|
|
20765
|
+
config: {
|
|
20766
|
+
[key: string]: unknown;
|
|
20767
|
+
};
|
|
20704
20768
|
};
|
|
20705
20769
|
rules?: {
|
|
20706
20770
|
operator: 'AND' | 'OR';
|
|
@@ -22757,6 +22821,14 @@ export type GetStoredAgentsStoredAgentId_Response = {
|
|
|
22757
22821
|
/** Operation timeout in milliseconds */
|
|
22758
22822
|
operationTimeout?: number | undefined;
|
|
22759
22823
|
};
|
|
22824
|
+
} | {
|
|
22825
|
+
type: 'provider';
|
|
22826
|
+
/** Workspace provider identifier */
|
|
22827
|
+
provider: string;
|
|
22828
|
+
/** Provider-specific configuration */
|
|
22829
|
+
config: {
|
|
22830
|
+
[key: string]: unknown;
|
|
22831
|
+
};
|
|
22760
22832
|
}) | {
|
|
22761
22833
|
value: {
|
|
22762
22834
|
type: 'id';
|
|
@@ -22848,6 +22920,14 @@ export type GetStoredAgentsStoredAgentId_Response = {
|
|
|
22848
22920
|
/** Operation timeout in milliseconds */
|
|
22849
22921
|
operationTimeout?: number | undefined;
|
|
22850
22922
|
};
|
|
22923
|
+
} | {
|
|
22924
|
+
type: 'provider';
|
|
22925
|
+
/** Workspace provider identifier */
|
|
22926
|
+
provider: string;
|
|
22927
|
+
/** Provider-specific configuration */
|
|
22928
|
+
config: {
|
|
22929
|
+
[key: string]: unknown;
|
|
22930
|
+
};
|
|
22851
22931
|
};
|
|
22852
22932
|
rules?: {
|
|
22853
22933
|
operator: 'AND' | 'OR';
|
|
@@ -24876,6 +24956,14 @@ export type PostStoredAgents_Body = {
|
|
|
24876
24956
|
/** Operation timeout in milliseconds */
|
|
24877
24957
|
operationTimeout?: number | undefined;
|
|
24878
24958
|
};
|
|
24959
|
+
} | {
|
|
24960
|
+
type: 'provider';
|
|
24961
|
+
/** Workspace provider identifier */
|
|
24962
|
+
provider: string;
|
|
24963
|
+
/** Provider-specific configuration */
|
|
24964
|
+
config: {
|
|
24965
|
+
[key: string]: unknown;
|
|
24966
|
+
};
|
|
24879
24967
|
}) | {
|
|
24880
24968
|
value: {
|
|
24881
24969
|
type: 'id';
|
|
@@ -24967,6 +25055,14 @@ export type PostStoredAgents_Body = {
|
|
|
24967
25055
|
/** Operation timeout in milliseconds */
|
|
24968
25056
|
operationTimeout?: number | undefined;
|
|
24969
25057
|
};
|
|
25058
|
+
} | {
|
|
25059
|
+
type: 'provider';
|
|
25060
|
+
/** Workspace provider identifier */
|
|
25061
|
+
provider: string;
|
|
25062
|
+
/** Provider-specific configuration */
|
|
25063
|
+
config: {
|
|
25064
|
+
[key: string]: unknown;
|
|
25065
|
+
};
|
|
24970
25066
|
};
|
|
24971
25067
|
rules?: {
|
|
24972
25068
|
operator: 'AND' | 'OR';
|
|
@@ -26988,6 +27084,14 @@ export type PostStoredAgents_Response = {
|
|
|
26988
27084
|
/** Operation timeout in milliseconds */
|
|
26989
27085
|
operationTimeout?: number | undefined;
|
|
26990
27086
|
};
|
|
27087
|
+
} | {
|
|
27088
|
+
type: 'provider';
|
|
27089
|
+
/** Workspace provider identifier */
|
|
27090
|
+
provider: string;
|
|
27091
|
+
/** Provider-specific configuration */
|
|
27092
|
+
config: {
|
|
27093
|
+
[key: string]: unknown;
|
|
27094
|
+
};
|
|
26991
27095
|
}) | {
|
|
26992
27096
|
value: {
|
|
26993
27097
|
type: 'id';
|
|
@@ -27079,6 +27183,14 @@ export type PostStoredAgents_Response = {
|
|
|
27079
27183
|
/** Operation timeout in milliseconds */
|
|
27080
27184
|
operationTimeout?: number | undefined;
|
|
27081
27185
|
};
|
|
27186
|
+
} | {
|
|
27187
|
+
type: 'provider';
|
|
27188
|
+
/** Workspace provider identifier */
|
|
27189
|
+
provider: string;
|
|
27190
|
+
/** Provider-specific configuration */
|
|
27191
|
+
config: {
|
|
27192
|
+
[key: string]: unknown;
|
|
27193
|
+
};
|
|
27082
27194
|
};
|
|
27083
27195
|
rules?: {
|
|
27084
27196
|
operator: 'AND' | 'OR';
|
|
@@ -29109,6 +29221,14 @@ export type PatchStoredAgentsStoredAgentId_Body = {
|
|
|
29109
29221
|
/** Operation timeout in milliseconds */
|
|
29110
29222
|
operationTimeout?: number | undefined;
|
|
29111
29223
|
};
|
|
29224
|
+
} | {
|
|
29225
|
+
type: 'provider';
|
|
29226
|
+
/** Workspace provider identifier */
|
|
29227
|
+
provider: string;
|
|
29228
|
+
/** Provider-specific configuration */
|
|
29229
|
+
config: {
|
|
29230
|
+
[key: string]: unknown;
|
|
29231
|
+
};
|
|
29112
29232
|
}) | {
|
|
29113
29233
|
value: {
|
|
29114
29234
|
type: 'id';
|
|
@@ -29200,6 +29320,14 @@ export type PatchStoredAgentsStoredAgentId_Body = {
|
|
|
29200
29320
|
/** Operation timeout in milliseconds */
|
|
29201
29321
|
operationTimeout?: number | undefined;
|
|
29202
29322
|
};
|
|
29323
|
+
} | {
|
|
29324
|
+
type: 'provider';
|
|
29325
|
+
/** Workspace provider identifier */
|
|
29326
|
+
provider: string;
|
|
29327
|
+
/** Provider-specific configuration */
|
|
29328
|
+
config: {
|
|
29329
|
+
[key: string]: unknown;
|
|
29330
|
+
};
|
|
29203
29331
|
};
|
|
29204
29332
|
rules?: {
|
|
29205
29333
|
operator: 'AND' | 'OR';
|
|
@@ -31234,6 +31362,14 @@ export type PatchStoredAgentsStoredAgentId_Response = {
|
|
|
31234
31362
|
/** Operation timeout in milliseconds */
|
|
31235
31363
|
operationTimeout?: number | undefined;
|
|
31236
31364
|
};
|
|
31365
|
+
} | {
|
|
31366
|
+
type: 'provider';
|
|
31367
|
+
/** Workspace provider identifier */
|
|
31368
|
+
provider: string;
|
|
31369
|
+
/** Provider-specific configuration */
|
|
31370
|
+
config: {
|
|
31371
|
+
[key: string]: unknown;
|
|
31372
|
+
};
|
|
31237
31373
|
}) | {
|
|
31238
31374
|
value: {
|
|
31239
31375
|
type: 'id';
|
|
@@ -31325,6 +31461,14 @@ export type PatchStoredAgentsStoredAgentId_Response = {
|
|
|
31325
31461
|
/** Operation timeout in milliseconds */
|
|
31326
31462
|
operationTimeout?: number | undefined;
|
|
31327
31463
|
};
|
|
31464
|
+
} | {
|
|
31465
|
+
type: 'provider';
|
|
31466
|
+
/** Workspace provider identifier */
|
|
31467
|
+
provider: string;
|
|
31468
|
+
/** Provider-specific configuration */
|
|
31469
|
+
config: {
|
|
31470
|
+
[key: string]: unknown;
|
|
31471
|
+
};
|
|
31328
31472
|
};
|
|
31329
31473
|
rules?: {
|
|
31330
31474
|
operator: 'AND' | 'OR';
|