@1claw/sdk 0.40.0 → 0.40.1
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/api-types.d.ts +59 -0
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/resources/bindings.d.ts +3 -1
- package/dist/resources/bindings.d.ts.map +1 -1
- package/dist/resources/bindings.js +4 -0
- package/dist/resources/bindings.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1586,6 +1586,26 @@ export interface paths {
|
|
|
1586
1586
|
patch?: never;
|
|
1587
1587
|
trace?: never;
|
|
1588
1588
|
};
|
|
1589
|
+
"/v1/agents/{agent_id}/bindings/{binding_id}/rotate-credential": {
|
|
1590
|
+
parameters: {
|
|
1591
|
+
query?: never;
|
|
1592
|
+
header?: never;
|
|
1593
|
+
path?: never;
|
|
1594
|
+
cookie?: never;
|
|
1595
|
+
};
|
|
1596
|
+
get?: never;
|
|
1597
|
+
put?: never;
|
|
1598
|
+
/**
|
|
1599
|
+
* Rotate a binding credential
|
|
1600
|
+
* @description Overwrite the stored credential for a binding without touching its config or guardrails. Human-only. The credential value is never returned.
|
|
1601
|
+
*/
|
|
1602
|
+
post: operations["rotateBindingCredential"];
|
|
1603
|
+
delete?: never;
|
|
1604
|
+
options?: never;
|
|
1605
|
+
head?: never;
|
|
1606
|
+
patch?: never;
|
|
1607
|
+
trace?: never;
|
|
1608
|
+
};
|
|
1589
1609
|
"/v1/agents/{agent_id}/execute": {
|
|
1590
1610
|
parameters: {
|
|
1591
1611
|
query?: never;
|
|
@@ -7264,6 +7284,8 @@ export interface components {
|
|
|
7264
7284
|
[key: string]: unknown;
|
|
7265
7285
|
};
|
|
7266
7286
|
is_active: boolean;
|
|
7287
|
+
/** @description Whether a credential is stored for this binding. The value itself is never returned. */
|
|
7288
|
+
credential_set?: boolean;
|
|
7267
7289
|
/** Format: date-time */
|
|
7268
7290
|
created_at: string;
|
|
7269
7291
|
/** Format: date-time */
|
|
@@ -7300,6 +7322,11 @@ export interface components {
|
|
|
7300
7322
|
error?: string | null;
|
|
7301
7323
|
duration_ms: number;
|
|
7302
7324
|
redactions_applied: number;
|
|
7325
|
+
/**
|
|
7326
|
+
* @description Where the intent actually ran. Reported truthfully — never claims TEE when it ran in the Vault.
|
|
7327
|
+
* @enum {string}
|
|
7328
|
+
*/
|
|
7329
|
+
execution_surface?: "vault" | "tee";
|
|
7303
7330
|
};
|
|
7304
7331
|
ExecutionEventResponse: {
|
|
7305
7332
|
/** Format: uuid */
|
|
@@ -10069,6 +10096,38 @@ export interface operations {
|
|
|
10069
10096
|
404: components["responses"]["NotFound"];
|
|
10070
10097
|
};
|
|
10071
10098
|
};
|
|
10099
|
+
rotateBindingCredential: {
|
|
10100
|
+
parameters: {
|
|
10101
|
+
query?: never;
|
|
10102
|
+
header?: never;
|
|
10103
|
+
path: {
|
|
10104
|
+
agent_id: components["parameters"]["AgentId"];
|
|
10105
|
+
binding_id: string;
|
|
10106
|
+
};
|
|
10107
|
+
cookie?: never;
|
|
10108
|
+
};
|
|
10109
|
+
requestBody: {
|
|
10110
|
+
content: {
|
|
10111
|
+
"application/json": {
|
|
10112
|
+
/** @description New credential material (object or string). Stored server-side. */
|
|
10113
|
+
credential: unknown;
|
|
10114
|
+
};
|
|
10115
|
+
};
|
|
10116
|
+
};
|
|
10117
|
+
responses: {
|
|
10118
|
+
/** @description Updated binding */
|
|
10119
|
+
200: {
|
|
10120
|
+
headers: {
|
|
10121
|
+
[name: string]: unknown;
|
|
10122
|
+
};
|
|
10123
|
+
content: {
|
|
10124
|
+
"application/json": components["schemas"]["BindingResponse"];
|
|
10125
|
+
};
|
|
10126
|
+
};
|
|
10127
|
+
403: components["responses"]["Forbidden"];
|
|
10128
|
+
404: components["responses"]["NotFound"];
|
|
10129
|
+
};
|
|
10130
|
+
};
|
|
10072
10131
|
executeIntent: {
|
|
10073
10132
|
parameters: {
|
|
10074
10133
|
query?: never;
|