@deepraxis/sdk 0.2.0-dev.e77a9e4 → 0.2.0-dev.ee28d4e

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.
@@ -214,7 +214,7 @@ export declare const computersRetrieve: <ThrowOnError extends boolean = false>(o
214
214
  /**
215
215
  * Update Computer
216
216
  *
217
- * Rename a computer.
217
+ * Rename a computer, declare its environment, or drop that declaration without touching the machine.
218
218
  *
219
219
  * Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.
220
220
  */
@@ -278,9 +278,9 @@ export declare const computersFilesConvert: <ThrowOnError extends boolean = fals
278
278
  *
279
279
  * Resume the computer and issue a sandbox connection.
280
280
  *
281
- * Own-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus the machine tier the computer is on now (light or heavy) and the lease that keeps it there (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the full machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.
281
+ * Own-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus tier (kept for compatibility: a Computer is one machine, so tier does not name a machine you can choose) and the lease that keeps the machine in service (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.
282
282
  *
283
- * Connect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {"need":"heavy"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy. Renew the lease while using the connection and release it with DELETE when finished.
283
+ * Connect to a computer with a caller-held lease. Omit the body or send {}: the optional need field is accepted for compatibility and changes nothing, because a Computer is one machine. Renew the lease while using the connection and release it with DELETE when finished.
284
284
  */
285
285
  export declare const connectComputer: <ThrowOnError extends boolean = false>(options: Options<ConnectComputerData, ThrowOnError>) => RequestResult<ConnectComputerResponses, ConnectComputerErrors, ThrowOnError>;
286
286
  /**
@@ -1763,7 +1763,7 @@ export declare const sessionsRetrieve: <ThrowOnError extends boolean = false>(op
1763
1763
  /**
1764
1764
  * Update session
1765
1765
  *
1766
- * Update a session's title, metadata, model or thinking selection. metadata follows patch semantics: a string value sets the key, null deletes it, a null metadata clears all keys, untouched keys stay. model must be allowed by the session's agent version; thinking is {effort} or null (null restores inheritance); a model-only change clears a session thinking that the new model does not support, and combined changes are validated against the new model, with the previous selection kept on a 400. Changes apply from the next turn, not to a turn already running. Agent overrides are not supported (400 naming the field). Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. A budget limit must exceed consumed cost; null removes it permanently for this session. Updating an archived session returns 409.
1766
+ * Update a session's title, metadata, model or thinking selection. metadata follows patch semantics: a string value sets the key, null deletes it, a null metadata clears all keys, untouched keys stay. model must be allowed by the session's agent version; thinking is {effort} or null (null restores inheritance); a model-only change clears a session thinking that the new model does not support, and combined changes are validated against the new model, with the previous selection kept on a 400. Changes apply from the next turn, not to a turn already running. Agent overrides are not supported (400 naming the field). Supports vault_ids, up to 50, owned by the current organization and not archived; secrets reach the session's machine as environment variables and are matched against its MCP servers. A budget limit must exceed consumed cost; null removes it permanently for this session. Updating an archived session returns 409.
1767
1767
  */
1768
1768
  export declare const sessionsUpdate: <ThrowOnError extends boolean = false>(options: Options<SessionsUpdateData, ThrowOnError>) => RequestResult<SessionsUpdateResponses, SessionsUpdateErrors, ThrowOnError>;
1769
1769
  /**
@@ -1811,7 +1811,7 @@ export declare const sessionsList: <ThrowOnError extends boolean = false>(option
1811
1811
  /**
1812
1812
  * Create session
1813
1813
  *
1814
- * Create a session: one conversation with an agent. Pass agent as an agent id or {type:"agent", id, version?}; an id alone, or an object without version, pins the agent's active_version (the version chosen with agents.versions.apply, not necessarily the newest saved one). Unlike Anthropic Managed Agents, omit environment_id to use the default environment saved in the agent version (node22 for a new agent), unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. The retired "light" returns 400 naming the two forms that work: "node22", or null for no machine. For service agents, explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Unlike Anthropic Managed Agents, the only inline agent override is system ({type:"agent_with_overrides", id, system}); to change the model, tools, MCP servers or skills, save a version instead. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. budget is {type:"limit", max_list_cost:{amount, currency:"USD"}} where amount is a positive decimal string of US dollars with at most 2 decimal places ("20.00" is USD 20.00); omitted budget defaults to "20.00" and null removes the limit. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion. Assume agents return 400 INVALID_PARAMS; drive them over MCP at /agent/v1/agents/{id}/mcp instead.
1814
+ * Create a session: one conversation with an agent. Pass agent as an agent id or {type:"agent", id, version?}; an id alone, or an object without version, pins the agent's active_version (the version chosen with agents.versions.apply, not necessarily the newest saved one). Unlike Anthropic Managed Agents, omit environment_id to use the default environment saved in the agent version (node22 for a new agent), unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. The retired "light" returns 400 naming the two forms that work: "node22", or null for no machine. For service agents, explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Unlike Anthropic Managed Agents, the only inline agent override is system ({type:"agent_with_overrides", id, system}); to change the model, tools, MCP servers or skills, save a version instead. vault_ids (at most 50, owned by the organization, not archived) adds vaults to the agent's own vault_ids, the ones its department or organization rule grants attach, and the session carries both sets from creation; sessions.update replaces the session's own set later. The secrets of those vaults reach the session's machine as environment variables named after the secret, in every command it runs, and are matched against its MCP servers; a service agent's session skips OAuth credentials and secrets that declare allowed_hosts, and names the platform login owns are never taken. allowed_hosts does not limit what a command does with an exported value. A session with no machine has no environment. budget is {type:"limit", max_list_cost:{amount, currency:"USD"}} where amount is a positive decimal string of US dollars with at most 2 decimal places ("20.00" is USD 20.00); omitted budget defaults to "20.00" and null removes the limit. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion. Assume agents return 400 INVALID_PARAMS; drive them over MCP at /agent/v1/agents/{id}/mcp instead.
1815
1815
  */
1816
1816
  export declare const sessionsCreate: <ThrowOnError extends boolean = false>(options: Options<SessionsCreateData, ThrowOnError>) => RequestResult<SessionsCreateResponses, SessionsCreateErrors, ThrowOnError>;
1817
1817
  /**
@@ -1931,7 +1931,7 @@ export declare const deploymentsList: <ThrowOnError extends boolean = false>(opt
1931
1931
  /**
1932
1932
  * Create deployment
1933
1933
  *
1934
- * Freeze session parameters as a deployment; this operation does not open a session. An agent reference with only an id follows the agent's active version: each run uses the version in effect at that moment, so a later agent save reaches the next run with no edit here. Name a version to pin it; only a version that is applied can be pinned, so a save made with apply false is refused with 409 AGENT_VERSION_NOT_APPLIED. Pass an agent id or versioned reference, a name, 1–50 user.message initial events and an environment_id from environments.list. environment_id and target are alternatives: send at least one of them; target:{type:"computer"} is for general agents and needs no environment_id, while target:{type:"environment"} still requires one. Unlike Anthropic Managed Agents, /agent/v1 also accepts agent_with_overrides (model, permission_mode and cwd) and target=computer for general agents, with environment_id omitted. Cron schedules use five POSIX fields and an IANA timezone. File resources are accepted. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Active schedules run every minute when due; session creation errors pause the deployment. Unsupported tools, mcp_servers, system and skills overrides return 400. Example, a weekly cron deployment on the agent's computer: {"agent":"agent_123","name":"weekly report","initial_events":[{"type":"user.message","content":[{"type":"text","text":"Write the weekly report."}]}],"target":{"type":"computer"},"schedule":{"type":"cron","expression":"0 9 * * 1","timezone":"America/Los_Angeles"}}.
1934
+ * Freeze session parameters as a deployment; this operation does not open a session. An agent reference with only an id follows the agent's active version: each run uses the version in effect at that moment, so a later agent save reaches the next run with no edit here. Name a version to pin it; only a version that is applied can be pinned, so a save made with apply false is refused with 409 AGENT_VERSION_NOT_APPLIED. Pass an agent id or versioned reference, a name, 1–50 user.message initial events and an environment_id from environments.list. environment_id and target are alternatives: send at least one of them; target:{type:"computer"} is for general agents and needs no environment_id, while target:{type:"environment"} still requires one. Unlike Anthropic Managed Agents, /agent/v1 also accepts agent_with_overrides (model, permission_mode and cwd) and target=computer for general agents, with environment_id omitted. Cron schedules use five POSIX fields and an IANA timezone. File resources are accepted. Supports vault_ids, up to 50, owned by the current organization and not archived; secrets reach the session's machine as environment variables and are matched against its MCP servers. Active schedules run every minute when due; session creation errors pause the deployment. Unsupported tools, mcp_servers, system and skills overrides return 400. Example, a weekly cron deployment on the agent's computer: {"agent":"agent_123","name":"weekly report","initial_events":[{"type":"user.message","content":[{"type":"text","text":"Write the weekly report."}]}],"target":{"type":"computer"},"schedule":{"type":"cron","expression":"0 9 * * 1","timezone":"America/Los_Angeles"}}.
1935
1935
  */
1936
1936
  export declare const deploymentsCreate: <ThrowOnError extends boolean = false>(options: Options<DeploymentsCreateData, ThrowOnError>) => RequestResult<DeploymentsCreateResponses, DeploymentsCreateErrors, ThrowOnError>;
1937
1937
  /**
@@ -5856,7 +5856,7 @@ export declare const vaultListVaults: <ThrowOnError extends boolean = false>(opt
5856
5856
  /**
5857
5857
  * Create vault
5858
5858
  *
5859
- * Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. Agent sessions and deployments accept up to 50 vault_ids and match their credentials against the session's MCP servers, so a stored static or oauth credential does serve as vault-backed MCP authentication; only environment_variable credentials are not yet placed, because the egress proxy ADR-058 §6 gives them is not built. Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.
5859
+ * Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. A session carries its agent's vaults (agent vault_ids, which a department or organization rule's grants also write) plus its own vault_ids, at most 50 together, and it matches their credentials against its MCP servers, so a stored static or oauth credential serves as vault-backed MCP authentication, and it exports their secrets to its machine as environment variables named after the secret, with real values (a service agent's session leaves out OAuth credentials and secrets that declare allowed_hosts; allowed_hosts does not limit what a command does with an exported value). Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.
5860
5860
  */
5861
5861
  export declare const vaultCreateVault: <ThrowOnError extends boolean = false>(options: Options<VaultCreateVaultData, ThrowOnError>) => RequestResult<VaultCreateVaultResponses, VaultCreateVaultErrors, ThrowOnError>;
5862
5862
  /**
@@ -558,7 +558,7 @@ export const computersRetrieve = (options) => (options.client ?? client).get({
558
558
  /**
559
559
  * Update Computer
560
560
  *
561
- * Rename a computer.
561
+ * Rename a computer, declare its environment, or drop that declaration without touching the machine.
562
562
  *
563
563
  * Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.
564
564
  */
@@ -732,9 +732,9 @@ export const computersFilesConvert = (options) => (options.client ?? client).pos
732
732
  *
733
733
  * Resume the computer and issue a sandbox connection.
734
734
  *
735
- * Own-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus the machine tier the computer is on now (light or heavy) and the lease that keeps it there (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the full machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.
735
+ * Own-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus tier (kept for compatibility: a Computer is one machine, so tier does not name a machine you can choose) and the lease that keeps the machine in service (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.
736
736
  *
737
- * Connect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {"need":"heavy"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy. Renew the lease while using the connection and release it with DELETE when finished.
737
+ * Connect to a computer with a caller-held lease. Omit the body or send {}: the optional need field is accepted for compatibility and changes nothing, because a Computer is one machine. Renew the lease while using the connection and release it with DELETE when finished.
738
738
  */
739
739
  export const connectComputer = (options) => (options.client ?? client).post({
740
740
  security: [{
@@ -5178,7 +5178,7 @@ export const sessionsRetrieve = (options) => (options.client ?? client).get({
5178
5178
  /**
5179
5179
  * Update session
5180
5180
  *
5181
- * Update a session's title, metadata, model or thinking selection. metadata follows patch semantics: a string value sets the key, null deletes it, a null metadata clears all keys, untouched keys stay. model must be allowed by the session's agent version; thinking is {effort} or null (null restores inheritance); a model-only change clears a session thinking that the new model does not support, and combined changes are validated against the new model, with the previous selection kept on a 400. Changes apply from the next turn, not to a turn already running. Agent overrides are not supported (400 naming the field). Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. A budget limit must exceed consumed cost; null removes it permanently for this session. Updating an archived session returns 409.
5181
+ * Update a session's title, metadata, model or thinking selection. metadata follows patch semantics: a string value sets the key, null deletes it, a null metadata clears all keys, untouched keys stay. model must be allowed by the session's agent version; thinking is {effort} or null (null restores inheritance); a model-only change clears a session thinking that the new model does not support, and combined changes are validated against the new model, with the previous selection kept on a 400. Changes apply from the next turn, not to a turn already running. Agent overrides are not supported (400 naming the field). Supports vault_ids, up to 50, owned by the current organization and not archived; secrets reach the session's machine as environment variables and are matched against its MCP servers. A budget limit must exceed consumed cost; null removes it permanently for this session. Updating an archived session returns 409.
5182
5182
  */
5183
5183
  export const sessionsUpdate = (options) => (options.client ?? client).post({
5184
5184
  security: [{
@@ -5334,7 +5334,7 @@ export const sessionsList = (options) => (options?.client ?? client).get({
5334
5334
  /**
5335
5335
  * Create session
5336
5336
  *
5337
- * Create a session: one conversation with an agent. Pass agent as an agent id or {type:"agent", id, version?}; an id alone, or an object without version, pins the agent's active_version (the version chosen with agents.versions.apply, not necessarily the newest saved one). Unlike Anthropic Managed Agents, omit environment_id to use the default environment saved in the agent version (node22 for a new agent), unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. The retired "light" returns 400 naming the two forms that work: "node22", or null for no machine. For service agents, explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Unlike Anthropic Managed Agents, the only inline agent override is system ({type:"agent_with_overrides", id, system}); to change the model, tools, MCP servers or skills, save a version instead. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. budget is {type:"limit", max_list_cost:{amount, currency:"USD"}} where amount is a positive decimal string of US dollars with at most 2 decimal places ("20.00" is USD 20.00); omitted budget defaults to "20.00" and null removes the limit. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion. Assume agents return 400 INVALID_PARAMS; drive them over MCP at /agent/v1/agents/{id}/mcp instead.
5337
+ * Create a session: one conversation with an agent. Pass agent as an agent id or {type:"agent", id, version?}; an id alone, or an object without version, pins the agent's active_version (the version chosen with agents.versions.apply, not necessarily the newest saved one). Unlike Anthropic Managed Agents, omit environment_id to use the default environment saved in the agent version (node22 for a new agent), unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. The retired "light" returns 400 naming the two forms that work: "node22", or null for no machine. For service agents, explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Unlike Anthropic Managed Agents, the only inline agent override is system ({type:"agent_with_overrides", id, system}); to change the model, tools, MCP servers or skills, save a version instead. vault_ids (at most 50, owned by the organization, not archived) adds vaults to the agent's own vault_ids, the ones its department or organization rule grants attach, and the session carries both sets from creation; sessions.update replaces the session's own set later. The secrets of those vaults reach the session's machine as environment variables named after the secret, in every command it runs, and are matched against its MCP servers; a service agent's session skips OAuth credentials and secrets that declare allowed_hosts, and names the platform login owns are never taken. allowed_hosts does not limit what a command does with an exported value. A session with no machine has no environment. budget is {type:"limit", max_list_cost:{amount, currency:"USD"}} where amount is a positive decimal string of US dollars with at most 2 decimal places ("20.00" is USD 20.00); omitted budget defaults to "20.00" and null removes the limit. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion. Assume agents return 400 INVALID_PARAMS; drive them over MCP at /agent/v1/agents/{id}/mcp instead.
5338
5338
  */
5339
5339
  export const sessionsCreate = (options) => (options.client ?? client).post({
5340
5340
  security: [{
@@ -5714,7 +5714,7 @@ export const deploymentsList = (options) => (options?.client ?? client).get({
5714
5714
  /**
5715
5715
  * Create deployment
5716
5716
  *
5717
- * Freeze session parameters as a deployment; this operation does not open a session. An agent reference with only an id follows the agent's active version: each run uses the version in effect at that moment, so a later agent save reaches the next run with no edit here. Name a version to pin it; only a version that is applied can be pinned, so a save made with apply false is refused with 409 AGENT_VERSION_NOT_APPLIED. Pass an agent id or versioned reference, a name, 1–50 user.message initial events and an environment_id from environments.list. environment_id and target are alternatives: send at least one of them; target:{type:"computer"} is for general agents and needs no environment_id, while target:{type:"environment"} still requires one. Unlike Anthropic Managed Agents, /agent/v1 also accepts agent_with_overrides (model, permission_mode and cwd) and target=computer for general agents, with environment_id omitted. Cron schedules use five POSIX fields and an IANA timezone. File resources are accepted. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Active schedules run every minute when due; session creation errors pause the deployment. Unsupported tools, mcp_servers, system and skills overrides return 400. Example, a weekly cron deployment on the agent's computer: {"agent":"agent_123","name":"weekly report","initial_events":[{"type":"user.message","content":[{"type":"text","text":"Write the weekly report."}]}],"target":{"type":"computer"},"schedule":{"type":"cron","expression":"0 9 * * 1","timezone":"America/Los_Angeles"}}.
5717
+ * Freeze session parameters as a deployment; this operation does not open a session. An agent reference with only an id follows the agent's active version: each run uses the version in effect at that moment, so a later agent save reaches the next run with no edit here. Name a version to pin it; only a version that is applied can be pinned, so a save made with apply false is refused with 409 AGENT_VERSION_NOT_APPLIED. Pass an agent id or versioned reference, a name, 1–50 user.message initial events and an environment_id from environments.list. environment_id and target are alternatives: send at least one of them; target:{type:"computer"} is for general agents and needs no environment_id, while target:{type:"environment"} still requires one. Unlike Anthropic Managed Agents, /agent/v1 also accepts agent_with_overrides (model, permission_mode and cwd) and target=computer for general agents, with environment_id omitted. Cron schedules use five POSIX fields and an IANA timezone. File resources are accepted. Supports vault_ids, up to 50, owned by the current organization and not archived; secrets reach the session's machine as environment variables and are matched against its MCP servers. Active schedules run every minute when due; session creation errors pause the deployment. Unsupported tools, mcp_servers, system and skills overrides return 400. Example, a weekly cron deployment on the agent's computer: {"agent":"agent_123","name":"weekly report","initial_events":[{"type":"user.message","content":[{"type":"text","text":"Write the weekly report."}]}],"target":{"type":"computer"},"schedule":{"type":"cron","expression":"0 9 * * 1","timezone":"America/Los_Angeles"}}.
5718
5718
  */
5719
5719
  export const deploymentsCreate = (options) => (options.client ?? client).post({
5720
5720
  security: [{
@@ -17087,7 +17087,7 @@ export const vaultListVaults = (options) => (options?.client ?? client).get({
17087
17087
  /**
17088
17088
  * Create vault
17089
17089
  *
17090
- * Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. Agent sessions and deployments accept up to 50 vault_ids and match their credentials against the session's MCP servers, so a stored static or oauth credential does serve as vault-backed MCP authentication; only environment_variable credentials are not yet placed, because the egress proxy ADR-058 §6 gives them is not built. Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.
17090
+ * Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. A session carries its agent's vaults (agent vault_ids, which a department or organization rule's grants also write) plus its own vault_ids, at most 50 together, and it matches their credentials against its MCP servers, so a stored static or oauth credential serves as vault-backed MCP authentication, and it exports their secrets to its machine as environment variables named after the secret, with real values (a service agent's session leaves out OAuth credentials and secrets that declare allowed_hosts; allowed_hosts does not limit what a command does with an exported value). Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.
17091
17091
  */
17092
17092
  export const vaultCreateVault = (options) => (options.client ?? client).post({
17093
17093
  security: [{
@@ -35003,6 +35003,14 @@ export type SandboxSandboxNetworkConfig = {
35003
35003
  rules?: {
35004
35004
  [key: string]: Array<SandboxSandboxNetworkRule>;
35005
35005
  };
35006
+ /**
35007
+ * Own face, persistent sandboxes only (autoPause: true, or ephemeral: false): true gives the sandbox one fixed public egress IP for its whole life, held through pause and resume and released when the sandbox is deleted. Without it the egress IP is not stable: it changes when a spot machine is reclaimed, when a paused machine starts again, and when the machine is rebuilt. An ephemeral sandbox returns INVALID_PARAMS; the E2B face refuses the field; it is placed only on capacity that declares static IPs, and without such capacity the create does not start (it never falls back to a changing IP). Billed as the usage item sandbox:public_ip:hours from allocation to release, paused time included, plus outbound traffic as usual.
35008
+ */
35009
+ staticEgressIp?: boolean;
35010
+ /**
35011
+ * Own face, read-only: the fixed public egress IP of a sandbox created with staticEgressIp: true, present once the machine has bound it; add this address to the IP allowlist of the service you call (for example a WeCom trusted IP list). Absent on a sandbox that did not ask for a static IP, because its public address can change.
35012
+ */
35013
+ readonly egressIp?: string;
35006
35014
  };
35007
35015
  /**
35008
35016
  * Sandbox lifecycle policy returned by sandbox info.
@@ -48139,7 +48147,7 @@ export type DevopsPlannedSkip = {
48139
48147
  /**
48140
48148
  * Why it is left out, which is what tells a deliberate skip apart from an oversight.
48141
48149
  */
48142
- reason: 'unchanged' | 'newer_checkpoint' | 'not_requested' | 'callee_excluded' | 'artifact_identical';
48150
+ reason: 'unchanged' | 'newer_checkpoint' | 'not_requested' | 'callee_excluded' | 'not_deployed_upstream' | 'artifact_identical';
48143
48151
  };
48144
48152
  /**
48145
48153
  * The migrations one target has pending, as the plan found them.
@@ -50994,6 +51002,58 @@ export type UpdateMediaPipelineRequestWritable = {
50994
51002
  * Models to use for completion
50995
51003
  */
50996
51004
  export type OpenaiChatModelNamesWritable = Array<OpenaiModelName & unknown>;
51005
+ export type SandboxSandboxDetailWritable = {
51006
+ /**
51007
+ * Identifier of the template from which is the sandbox created
51008
+ */
51009
+ templateID: string;
51010
+ /**
51011
+ * Alias of the template
51012
+ */
51013
+ alias?: string;
51014
+ /**
51015
+ * Identifier of the sandbox
51016
+ */
51017
+ sandboxID: string;
51018
+ /**
51019
+ * Identifier of the client
51020
+ *
51021
+ * @deprecated
51022
+ */
51023
+ clientID: string;
51024
+ /**
51025
+ * Time when the sandbox was started
51026
+ */
51027
+ startedAt: string;
51028
+ /**
51029
+ * Time when the sandbox will expire
51030
+ */
51031
+ endAt: string;
51032
+ envdVersion: SandboxEnvdVersion;
51033
+ /**
51034
+ * Access token used for envd communication
51035
+ */
51036
+ envdAccessToken?: string;
51037
+ /**
51038
+ * Whether internet access was explicitly enabled or disabled for the sandbox. Null means it was not explicitly set.
51039
+ */
51040
+ allowInternetAccess?: boolean;
51041
+ /**
51042
+ * Base domain where the sandbox traffic is accessible
51043
+ */
51044
+ domain?: string;
51045
+ cpuCount: SandboxCpuCount;
51046
+ memoryMB: SandboxMemoryMb;
51047
+ diskSizeMB: SandboxDiskSizeMb;
51048
+ metadata?: SandboxSandboxMetadata;
51049
+ state: SandboxSandboxState;
51050
+ network?: SandboxSandboxNetworkConfigWritable;
51051
+ lifecycle?: SandboxSandboxLifecycle;
51052
+ /**
51053
+ * Volumes mounted into the sandbox.
51054
+ */
51055
+ volumeMounts?: Array<SandboxSandboxVolumeMount>;
51056
+ };
50997
51057
  /**
50998
51058
  * Free-form string key/value pairs stored with the session, changed through sessions.update patch semantics.
50999
51059
  */
@@ -51573,6 +51633,94 @@ export type MediaSemanticSearchResultWritable = {
51573
51633
  */
51574
51634
  not_ready_excluded: number;
51575
51635
  };
51636
+ /**
51637
+ * Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
51638
+ */
51639
+ export type SandboxNewSandboxV2Writable = {
51640
+ /**
51641
+ * Identifier of the required template
51642
+ */
51643
+ templateID: string;
51644
+ /**
51645
+ * Lifetime of the new sandbox in seconds. Defaults to 300 seconds when omitted.
51646
+ */
51647
+ timeout?: number;
51648
+ /**
51649
+ * Lifecycle declaration on the E2B-compatible face. true creates a persistent sandbox that pauses at its timeout and can be resumed; false or absent creates an ephemeral sandbox that ends at its timeout and keeps nothing. Keep true only for long-lived computers. The own face declares with ephemeral instead.
51650
+ */
51651
+ autoPause?: boolean;
51652
+ /**
51653
+ * Controls the snapshot kind taken when the sandbox auto-pauses on timeout (only relevant when autoPause is true). When false, the auto-pause drops the in-memory state and persists only the filesystem (a filesystem-only snapshot); resuming it cold-boots (reboots) the sandbox from disk. Such a snapshot cannot be auto-resumed by traffic and must be resumed explicitly, so it cannot be combined with autoResume. Defaults to true (full memory snapshot).
51654
+ */
51655
+ autoPauseMemory?: boolean;
51656
+ autoResume?: SandboxSandboxAutoResumeConfig;
51657
+ /**
51658
+ * Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
51659
+ */
51660
+ allow_internet_access?: boolean;
51661
+ network?: SandboxSandboxNetworkConfigWritable;
51662
+ metadata?: SandboxSandboxMetadata;
51663
+ envVars?: SandboxEnvVars;
51664
+ mcp?: SandboxMcp;
51665
+ iam?: SandboxSandboxIam;
51666
+ /**
51667
+ * Volumes to mount into the sandbox, each with the volume name and the path inside the sandbox.
51668
+ */
51669
+ volumeMounts?: Array<SandboxSandboxVolumeMount>;
51670
+ /**
51671
+ * Own face, required unless sku is named: true for an ephemeral sandbox (ends at its timeout, never pauses, cannot be snapshotted), false for a persistent one (pauses, resumes, snapshots, mounts volumes). Leaving it out returns INVALID_PARAMS.
51672
+ */
51673
+ ephemeral?: boolean;
51674
+ /**
51675
+ * Own face: the machine size, a SKU id such as base-2c4g or, for an android phone, android-2c4g. Omitted, the template's default size is used.
51676
+ */
51677
+ size?: string;
51678
+ /**
51679
+ * Own face: a display name for the sandbox, 1 to 64 characters. Omitted, one is generated from the template.
51680
+ */
51681
+ name?: string;
51682
+ /**
51683
+ * Own face, android phones only: keep the create open until the phone is running or 55 seconds have passed since the request arrived; running out is not an error and answers the state reached.
51684
+ */
51685
+ waitForReady?: boolean;
51686
+ /**
51687
+ * Own face: what happens at the timeout. pause needs ephemeral: false; must agree with autoPause when both are sent.
51688
+ */
51689
+ onExpire?: 'kill' | 'pause';
51690
+ /**
51691
+ * Own face, persistent sandboxes only: pause after this many milliseconds without activity; null turns the idle pause off.
51692
+ */
51693
+ idleTimeout?: number;
51694
+ /**
51695
+ * Own face, persistent sandboxes only: whose activity resets idleTimeout. traffic (default) counts data-plane calls, preview traffic and live processes; caller counts only your own control-plane calls.
51696
+ */
51697
+ idleActivity?: 'traffic' | 'caller';
51698
+ /**
51699
+ * Own face: a demand-profile SKU <kind>.<image>.<size>, such as run.document.medium (someone waits; starts fast), job.base.large (background work that must not be cut off), batch.base.large (retried work that may be reclaimed) or computer.base.medium (keeps its disk). It fixes ephemeral, interruptible, size and the template, so those may be left out; any of them you also send must agree with it, otherwise the create fails with INVALID_PARAMS naming the field. The sandbox answers it back as sku and as the read-only label praxis.sku.
51700
+ */
51701
+ sku?: string;
51702
+ /**
51703
+ * Own face: the kind of sandbox you need, when you do not name a full sku. The sandbox completes <kind>.<image>.<size> from the template you start (its family, or custom for your own environment or snapshot) and the size you send, or medium. run is for work someone waits for (starts fast), job is background work that must not be cut off, batch is retried work that may be reclaimed (spot capacity), computer keeps its disk, and compat is the E2B-compatible persistent series. The kind fixes ephemeral and interruptible, so leave those out; if you also send them, or a sku of another kind, the create fails with INVALID_PARAMS naming the field. The light template always starts the light shell, whatever the kind says.
51704
+ */
51705
+ kind?: 'run' | 'job' | 'batch' | 'computer' | 'compat';
51706
+ /**
51707
+ * Own face, ephemeral sandboxes only: true says this sandbox may be reclaimed while it runs (a build or test you retry), which lets it run on cheaper spot capacity. A reclaimed sandbox ends with PROVIDER_FAILED; create it again. Absent or false keeps the usual capacity.
51708
+ */
51709
+ interruptible?: boolean;
51710
+ /**
51711
+ * Own face, persistent sandboxes only: what happens when the provider loses the machine. fail (default) ends the sandbox; rebuild starts a new machine under the same id with its state lost.
51712
+ */
51713
+ onLoss?: 'fail' | 'rebuild';
51714
+ /**
51715
+ * Own face: up to eight absolute paths to keep when the sandbox ends; each is packed as .tar.gz into File and listed on the killed event.
51716
+ */
51717
+ outputs?: Array<{
51718
+ /**
51719
+ * Absolute path of a directory or file inside the sandbox.
51720
+ */
51721
+ path: string;
51722
+ }>;
51723
+ };
51576
51724
  /**
51577
51725
  * Arguments the model passed to the tool.
51578
51726
  */
@@ -51651,6 +51799,43 @@ export type AnthropicAnonymous204Writable = {
51651
51799
  export type AnthropicAnonymous206Writable = {
51652
51800
  [key: string]: unknown;
51653
51801
  };
51802
+ /**
51803
+ * Network policy of the sandbox: public access, egress allow and deny lists and proxy.
51804
+ */
51805
+ export type SandboxSandboxNetworkConfigWritable = {
51806
+ /**
51807
+ * Specify if the sandbox URLs should be accessible only with authentication.
51808
+ */
51809
+ allowPublicTraffic?: boolean;
51810
+ /**
51811
+ * List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries.
51812
+ */
51813
+ allowOut?: Array<string>;
51814
+ /**
51815
+ * List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
51816
+ */
51817
+ denyOut?: Array<string>;
51818
+ egressProxy?: SandboxSandboxEgressProxyConfig;
51819
+ /**
51820
+ * Specify host mask which will be used for all sandbox requests
51821
+ */
51822
+ maskRequestHost?: string;
51823
+ /**
51824
+ * Unlike E2B, network.httpsPorts is rejected; omit it when creating a sandbox.
51825
+ */
51826
+ httpsPorts?: Array<number>;
51827
+ /**
51828
+ * Per-domain transform rules applied to matching outbound HTTPS requests. Keys may be exact DNS names (for example, "api.example.com") or a leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
51829
+ *
51830
+ */
51831
+ rules?: {
51832
+ [key: string]: Array<SandboxSandboxNetworkRule>;
51833
+ };
51834
+ /**
51835
+ * Own face, persistent sandboxes only (autoPause: true, or ephemeral: false): true gives the sandbox one fixed public egress IP for its whole life, held through pause and resume and released when the sandbox is deleted. Without it the egress IP is not stable: it changes when a spot machine is reclaimed, when a paused machine starts again, and when the machine is rebuilt. An ephemeral sandbox returns INVALID_PARAMS; the E2B face refuses the field; it is placed only on capacity that declares static IPs, and without such capacity the create does not start (it never falls back to a changing IP). Billed as the usage item sandbox:public_ip:hours from allocation to release, paused time included, plus outbound traffic as usual.
51836
+ */
51837
+ staticEgressIp?: boolean;
51838
+ };
51654
51839
  /**
51655
51840
  * Free-form string key/value pairs.
51656
51841
  */
@@ -55752,7 +55937,7 @@ export type ApplyAgentVersionResponses = {
55752
55937
  */
55753
55938
  environment_id?: string | null;
55754
55939
  /**
55755
- * Default vaults of this service or assume agent version: the vault_ids new sessions get when they name none. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
55940
+ * Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
55756
55941
  */
55757
55942
  vault_ids?: Array<string>;
55758
55943
  /**
@@ -57012,7 +57197,7 @@ export type UnarchiveAgentResponses = {
57012
57197
  */
57013
57198
  environment_id?: string | null;
57014
57199
  /**
57015
- * Default vaults of this service or assume agent version: the vault_ids new sessions get when they name none. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
57200
+ * Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
57016
57201
  */
57017
57202
  vault_ids?: Array<string>;
57018
57203
  /**
@@ -59481,9 +59666,13 @@ export type ComputersRetrieveResponse = ComputersRetrieveResponses[keyof Compute
59481
59666
  export type ComputersUpdateData = {
59482
59667
  body: {
59483
59668
  /**
59484
- * Name of the entry or object.
59669
+ * New display name, 1 to 255 characters after trimming. Omit to keep the current name.
59485
59670
  */
59486
- name: string;
59671
+ name?: string;
59672
+ /**
59673
+ * Environment recipe the computer declares (agent.environments.list or agent.environments.create, or a built-in id). A string sets the declaration and is checked as in computers.create: an unknown, foreign or archived environment is refused. null removes the declaration. Omit to leave it unchanged. Only the record changes: the machine is not touched or restarted, so the new declaration applies from the computer's next start; restart the computer once to apply it at once.
59674
+ */
59675
+ environment_id?: string | null;
59487
59676
  };
59488
59677
  path: {
59489
59678
  /**
@@ -61653,7 +61842,7 @@ export type ComputersFilesConvertResponse = ComputersFilesConvertResponses[keyof
61653
61842
  export type ConnectComputerData = {
61654
61843
  body?: {
61655
61844
  /**
61656
- * Defaults to light. light uses the lightweight shell, or the heavy instance while it is running. heavy requests a full Linux computer for interactive programs; heavy running time counts toward the daily budget in seconds.
61845
+ * Accepted for compatibility and ignored: light and heavy both reach the same machine, because a Computer is one machine. Omit it.
61657
61846
  */
61658
61847
  need?: 'light' | 'heavy';
61659
61848
  };
@@ -80923,7 +81112,7 @@ export type ListByodDevicesResponses = {
80923
81112
  */
80924
81113
  id: string;
80925
81114
  /**
80926
- * The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs only for an organization with the local-agent-connect flag on; windows is not supported yet.
81115
+ * The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
80927
81116
  */
80928
81117
  platform: 'android' | 'macos' | 'linux';
80929
81118
  /**
@@ -81022,7 +81211,7 @@ export type GetByodDeviceResponses = {
81022
81211
  */
81023
81212
  id: string;
81024
81213
  /**
81025
- * The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs only for an organization with the local-agent-connect flag on; windows is not supported yet.
81214
+ * The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
81026
81215
  */
81027
81216
  platform: 'android' | 'macos' | 'linux';
81028
81217
  /**
@@ -81132,7 +81321,7 @@ export type UpdateByodDeviceResponses = {
81132
81321
  */
81133
81322
  id: string;
81134
81323
  /**
81135
- * The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs only for an organization with the local-agent-connect flag on; windows is not supported yet.
81324
+ * The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
81136
81325
  */
81137
81326
  platform: 'android' | 'macos' | 'linux';
81138
81327
  /**
@@ -81275,7 +81464,7 @@ export type ClaimByodPairingData = {
81275
81464
  */
81276
81465
  body: {
81277
81466
  /**
81278
- * The device's platform. macos and linux are accepted only for an organization with the local-agent-connect flag on; with it off, and for any other value, the claim answers INVALID_PARAMS.
81467
+ * The device's platform. macos and linux are accepted for every organization; any other value than android, macos or linux answers INVALID_PARAMS.
81279
81468
  */
81280
81469
  platform: 'android' | 'macos' | 'linux';
81281
81470
  /**
@@ -81306,7 +81495,7 @@ export type ClaimByodPairingData = {
81306
81495
  };
81307
81496
  export type ClaimByodPairingErrors = {
81308
81497
  /**
81309
- * INVALID_PARAMS: the body is missing, platform is not android, macos or linux, or a desktop platform was claimed where local-agent-connect is off. Fix the body and resend; the code is not spent by a refused claim.
81498
+ * INVALID_PARAMS: the body is missing, platform is not android, macos or linux. Fix the body and resend; the code is not spent by a refused claim.
81310
81499
  */
81311
81500
  400: unknown;
81312
81501
  /**
@@ -83929,8 +84118,7 @@ export type SessionsUpdateData = {
83929
84118
  */
83930
84119
  title?: null | string;
83931
84120
  /**
83932
- * Vault IDs (`vlt_*`) to attach to the session. Not yet supported;
83933
- * requests setting this field are rejected. Reserved for future use.
84121
+ * The vaults this session carries, replacing the whole set it has now, including the vaults it took from its agent when it was created: send those ids again to keep them. At most 50 ids, each a vault of your organization that is not archived. The next command the session runs sees the new set: the secrets of the vaults become environment variables on its machine and are matched against its MCP servers, as sessions.create describes.
83934
84122
  */
83935
84123
  vault_ids?: Array<string>;
83936
84124
  /**
@@ -84871,7 +85059,7 @@ export type AgentsListResponses = {
84871
85059
  */
84872
85060
  environment_id?: string | null;
84873
85061
  /**
84874
- * Default vaults of this service or assume agent version: the vault_ids new sessions get when they name none. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
85062
+ * Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
84875
85063
  */
84876
85064
  vault_ids?: Array<string>;
84877
85065
  /**
@@ -85410,7 +85598,7 @@ export type AgentsCreateData = {
85410
85598
  */
85411
85599
  environment_id?: string | null;
85412
85600
  /**
85413
- * Default vaults of a service agent: the vault_ids a new session gets when it names none, so the agent's credentials follow the version. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself, [] included, overrides it. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. Personal agents get no default vaults: a non-empty value returns 400 and the field is not returned. /agent/v1 only; /anthropic neither accepts nor returns it.
85601
+ * Default vaults of the agent: the vault_ids every new session carries, so the agent's credentials follow the version. A department or organization rule's grants write this list on the agents it reaches (the agent's vaults become exactly the rule's set). Their secrets reach each session's machine as environment variables and match its MCP servers; sessions.create says which are skipped. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself adds its vaults to these and does not replace them; sessions already open keep the vaults they were created with. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. General and assume agents hold vaults on themselves the same way. /agent/v1 only; /anthropic neither accepts nor returns it.
85414
85602
  */
85415
85603
  vault_ids?: Array<string>;
85416
85604
  /**
@@ -86093,7 +86281,7 @@ export type AgentsCreateResponses = {
86093
86281
  */
86094
86282
  environment_id?: string | null;
86095
86283
  /**
86096
- * Default vaults of this service or assume agent version: the vault_ids new sessions get when they name none. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
86284
+ * Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
86097
86285
  */
86098
86286
  vault_ids?: Array<string>;
86099
86287
  /**
@@ -86764,7 +86952,7 @@ export type AgentsRetrieveResponses = {
86764
86952
  */
86765
86953
  environment_id?: string | null;
86766
86954
  /**
86767
- * Default vaults of this service or assume agent version: the vault_ids new sessions get when they name none. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
86955
+ * Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
86768
86956
  */
86769
86957
  vault_ids?: Array<string>;
86770
86958
  /**
@@ -87312,7 +87500,7 @@ export type AgentsUpdateData = {
87312
87500
  */
87313
87501
  environment_id?: string | null;
87314
87502
  /**
87315
- * Default vaults of a service agent: the vault_ids a new session gets when it names none, so the agent's credentials follow the version. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself, [] included, overrides it. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. Personal agents get no default vaults: a non-empty value returns 400 and the field is not returned. /agent/v1 only; /anthropic neither accepts nor returns it.
87503
+ * Default vaults of the agent: the vault_ids every new session carries, so the agent's credentials follow the version. A department or organization rule's grants write this list on the agents it reaches (the agent's vaults become exactly the rule's set). Their secrets reach each session's machine as environment variables and match its MCP servers; sessions.create says which are skipped. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself adds its vaults to these and does not replace them; sessions already open keep the vaults they were created with. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. General and assume agents hold vaults on themselves the same way. /agent/v1 only; /anthropic neither accepts nor returns it.
87316
87504
  */
87317
87505
  vault_ids?: Array<string>;
87318
87506
  /**
@@ -88008,7 +88196,7 @@ export type AgentsUpdateResponses = {
88008
88196
  */
88009
88197
  environment_id?: string | null;
88010
88198
  /**
88011
- * Default vaults of this service or assume agent version: the vault_ids new sessions get when they name none. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
88199
+ * Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
88012
88200
  */
88013
88201
  vault_ids?: Array<string>;
88014
88202
  /**
@@ -88634,7 +88822,7 @@ export type AgentsArchiveResponses = {
88634
88822
  */
88635
88823
  environment_id?: string | null;
88636
88824
  /**
88637
- * Default vaults of this service or assume agent version: the vault_ids new sessions get when they name none. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
88825
+ * Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
88638
88826
  */
88639
88827
  vault_ids?: Array<string>;
88640
88828
  /**
@@ -89305,7 +89493,7 @@ export type AgentsVersionsListResponses = {
89305
89493
  */
89306
89494
  environment_id?: string | null;
89307
89495
  /**
89308
- * Default vaults of this service or assume agent version: the vault_ids new sessions get when they name none. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
89496
+ * Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
89309
89497
  */
89310
89498
  vault_ids?: Array<string>;
89311
89499
  /**
@@ -121428,7 +121616,7 @@ export type GetSandboxV1SandboxesResponses = {
121428
121616
  };
121429
121617
  export type GetSandboxV1SandboxesResponse = GetSandboxV1SandboxesResponses[keyof GetSandboxV1SandboxesResponses];
121430
121618
  export type PostSandboxV1SandboxesData = {
121431
- body: SandboxNewSandboxV2;
121619
+ body: SandboxNewSandboxV2Writable;
121432
121620
  path?: never;
121433
121621
  query?: never;
121434
121622
  url: '/sandbox/v1/sandboxes';