@deepraxis/sdk 0.1.1-dev.ed3e72c → 0.1.1-dev.ed927d7
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/METHODS.md +2 -20
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +12 -38
- package/dist/generated/sdk.gen.js +19 -84
- package/dist/generated/types.gen.d.ts +1877 -1281
- package/dist/operations.generated.js +44 -156
- package/dist/resources.generated.d.ts +337 -107
- package/dist/resources.generated.js +1 -12
- package/package.json +1 -1
|
@@ -86,10 +86,6 @@ export type AgentManaged250 = {
|
|
|
86
86
|
session_thread_id?: null | string;
|
|
87
87
|
};
|
|
88
88
|
export type AgentManaged251 = unknown & {
|
|
89
|
-
/**
|
|
90
|
-
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
91
|
-
*/
|
|
92
|
-
permission_mode?: 'yolo';
|
|
93
89
|
/**
|
|
94
90
|
* UserToolConfirmationResult enum
|
|
95
91
|
*/
|
|
@@ -139,6 +135,10 @@ export type AgentManaged251 = unknown & {
|
|
|
139
135
|
rule_content: string;
|
|
140
136
|
}>;
|
|
141
137
|
}>;
|
|
138
|
+
/**
|
|
139
|
+
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
140
|
+
*/
|
|
141
|
+
permission_mode?: 'yolo';
|
|
142
142
|
};
|
|
143
143
|
export type AgentManaged252 = {
|
|
144
144
|
/**
|
|
@@ -203,10 +203,6 @@ export type AgentManaged186 = {
|
|
|
203
203
|
session_thread_id?: null | string;
|
|
204
204
|
};
|
|
205
205
|
export type AgentManaged187 = unknown & {
|
|
206
|
-
/**
|
|
207
|
-
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
208
|
-
*/
|
|
209
|
-
permission_mode?: 'yolo';
|
|
210
206
|
/**
|
|
211
207
|
* Unique identifier for this event.
|
|
212
208
|
*/
|
|
@@ -239,6 +235,10 @@ export type AgentManaged187 = unknown & {
|
|
|
239
235
|
* Omitted when it was routed to the primary thread.
|
|
240
236
|
*/
|
|
241
237
|
session_thread_id?: null | string;
|
|
238
|
+
/**
|
|
239
|
+
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
240
|
+
*/
|
|
241
|
+
permission_mode?: 'yolo';
|
|
242
242
|
};
|
|
243
243
|
export type AgentManaged188 = {
|
|
244
244
|
/**
|
|
@@ -1429,18 +1429,6 @@ export type AgentSseEvent = ({
|
|
|
1429
1429
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
1430
1430
|
*/
|
|
1431
1431
|
data?: {
|
|
1432
|
-
/**
|
|
1433
|
-
* Monotone permission-mode version, incremented once per mode update.
|
|
1434
|
-
*/
|
|
1435
|
-
permission_mode_version?: number;
|
|
1436
|
-
/**
|
|
1437
|
-
* The permission mode before this change, or null when none was selected.
|
|
1438
|
-
*/
|
|
1439
|
-
previous_permission_mode?: string | null;
|
|
1440
|
-
/**
|
|
1441
|
-
* The new native session permission mode; null restores configured tool policies.
|
|
1442
|
-
*/
|
|
1443
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
1444
1432
|
/**
|
|
1445
1433
|
* Unique identifier for this event.
|
|
1446
1434
|
*/
|
|
@@ -1472,6 +1460,18 @@ export type AgentSseEvent = ({
|
|
|
1472
1460
|
* The session's new title. Present only when the update changed it.
|
|
1473
1461
|
*/
|
|
1474
1462
|
title?: null | string;
|
|
1463
|
+
/**
|
|
1464
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
1465
|
+
*/
|
|
1466
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* The permission mode before this change, or null when none was selected.
|
|
1469
|
+
*/
|
|
1470
|
+
previous_permission_mode?: string | null;
|
|
1471
|
+
/**
|
|
1472
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
1473
|
+
*/
|
|
1474
|
+
permission_mode_version?: number;
|
|
1475
1475
|
/**
|
|
1476
1476
|
* Praxis extension: the changed session model, present only on /agent/v1 session.updated events. Model-only updates are omitted on /anthropic.
|
|
1477
1477
|
*/
|
|
@@ -1613,10 +1613,6 @@ export type AgentSseEvent = ({
|
|
|
1613
1613
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
1614
1614
|
*/
|
|
1615
1615
|
data?: {
|
|
1616
|
-
/**
|
|
1617
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
1618
|
-
*/
|
|
1619
|
-
full_access_available?: boolean;
|
|
1620
1616
|
/**
|
|
1621
1617
|
* Unique identifier for this event.
|
|
1622
1618
|
*/
|
|
@@ -1655,18 +1651,6 @@ export type AgentSseEvent = ({
|
|
|
1655
1651
|
* not send it back.
|
|
1656
1652
|
*/
|
|
1657
1653
|
session_thread_id?: null | string;
|
|
1658
|
-
/**
|
|
1659
|
-
* Run that produced this event; null when no run identity was recorded.
|
|
1660
|
-
*/
|
|
1661
|
-
run_id: string | null;
|
|
1662
|
-
/**
|
|
1663
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
1664
|
-
*/
|
|
1665
|
-
user_once?: true;
|
|
1666
|
-
/**
|
|
1667
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
1668
|
-
*/
|
|
1669
|
-
guarded_rule?: string;
|
|
1670
1654
|
/**
|
|
1671
1655
|
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
1672
1656
|
*/
|
|
@@ -1697,6 +1681,22 @@ export type AgentSseEvent = ({
|
|
|
1697
1681
|
rule_content: string;
|
|
1698
1682
|
}>;
|
|
1699
1683
|
}>;
|
|
1684
|
+
/**
|
|
1685
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
1686
|
+
*/
|
|
1687
|
+
full_access_available?: boolean;
|
|
1688
|
+
/**
|
|
1689
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
1690
|
+
*/
|
|
1691
|
+
user_once?: true;
|
|
1692
|
+
/**
|
|
1693
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
1694
|
+
*/
|
|
1695
|
+
guarded_rule?: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* Run that produced this event; null when no run identity was recorded.
|
|
1698
|
+
*/
|
|
1699
|
+
run_id: string | null;
|
|
1700
1700
|
};
|
|
1701
1701
|
} | {
|
|
1702
1702
|
/**
|
|
@@ -1745,10 +1745,6 @@ export type AgentSseEvent = ({
|
|
|
1745
1745
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
1746
1746
|
*/
|
|
1747
1747
|
data?: {
|
|
1748
|
-
/**
|
|
1749
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
1750
|
-
*/
|
|
1751
|
-
full_access_available?: boolean;
|
|
1752
1748
|
/**
|
|
1753
1749
|
* Unique identifier for this event.
|
|
1754
1750
|
*/
|
|
@@ -1790,6 +1786,48 @@ export type AgentSseEvent = ({
|
|
|
1790
1786
|
* `user.tool_confirmation` by `tool_use_id`, so clients do not send it back.
|
|
1791
1787
|
*/
|
|
1792
1788
|
session_thread_id?: null | string;
|
|
1789
|
+
/**
|
|
1790
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
1791
|
+
*/
|
|
1792
|
+
permission_suggestions?: Array<{
|
|
1793
|
+
/**
|
|
1794
|
+
* add_rules adds the offered allow rules.
|
|
1795
|
+
*/
|
|
1796
|
+
type: 'add_rules';
|
|
1797
|
+
/**
|
|
1798
|
+
* allow grants permission for matching calls.
|
|
1799
|
+
*/
|
|
1800
|
+
behavior: 'allow';
|
|
1801
|
+
/**
|
|
1802
|
+
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
1803
|
+
*/
|
|
1804
|
+
destination: 'agent' | 'session';
|
|
1805
|
+
/**
|
|
1806
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
1807
|
+
*/
|
|
1808
|
+
rules: Array<{
|
|
1809
|
+
/**
|
|
1810
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
1811
|
+
*/
|
|
1812
|
+
tool_name: string;
|
|
1813
|
+
/**
|
|
1814
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
1815
|
+
*/
|
|
1816
|
+
rule_content: string;
|
|
1817
|
+
}>;
|
|
1818
|
+
}>;
|
|
1819
|
+
/**
|
|
1820
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
1821
|
+
*/
|
|
1822
|
+
full_access_available?: boolean;
|
|
1823
|
+
/**
|
|
1824
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
1825
|
+
*/
|
|
1826
|
+
user_once?: true;
|
|
1827
|
+
/**
|
|
1828
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
1829
|
+
*/
|
|
1830
|
+
guarded_rule?: string;
|
|
1793
1831
|
/**
|
|
1794
1832
|
* Run that produced this event; null when no run identity was recorded.
|
|
1795
1833
|
*/
|
|
@@ -1827,44 +1865,6 @@ export type AgentSseEvent = ({
|
|
|
1827
1865
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
1828
1866
|
*/
|
|
1829
1867
|
parent_tool_use_id?: string;
|
|
1830
|
-
/**
|
|
1831
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
1832
|
-
*/
|
|
1833
|
-
user_once?: true;
|
|
1834
|
-
/**
|
|
1835
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
1836
|
-
*/
|
|
1837
|
-
guarded_rule?: string;
|
|
1838
|
-
/**
|
|
1839
|
-
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
1840
|
-
*/
|
|
1841
|
-
permission_suggestions?: Array<{
|
|
1842
|
-
/**
|
|
1843
|
-
* add_rules adds the offered allow rules.
|
|
1844
|
-
*/
|
|
1845
|
-
type: 'add_rules';
|
|
1846
|
-
/**
|
|
1847
|
-
* allow grants permission for matching calls.
|
|
1848
|
-
*/
|
|
1849
|
-
behavior: 'allow';
|
|
1850
|
-
/**
|
|
1851
|
-
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
1852
|
-
*/
|
|
1853
|
-
destination: 'agent' | 'session';
|
|
1854
|
-
/**
|
|
1855
|
-
* The complete set of rules from one offered suggestion, without changes.
|
|
1856
|
-
*/
|
|
1857
|
-
rules: Array<{
|
|
1858
|
-
/**
|
|
1859
|
-
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
1860
|
-
*/
|
|
1861
|
-
tool_name: string;
|
|
1862
|
-
/**
|
|
1863
|
-
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
1864
|
-
*/
|
|
1865
|
-
rule_content: string;
|
|
1866
|
-
}>;
|
|
1867
|
-
}>;
|
|
1868
1868
|
/**
|
|
1869
1869
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
1870
1870
|
*/
|
|
@@ -2821,261 +2821,6 @@ export type AgentSseEvent = ({
|
|
|
2821
2821
|
event: 'system.message' | 'user.message' | 'user.interrupt' | 'agent.message' | 'agent.thinking' | 'session.status_running' | 'session.status_rescheduled' | 'session.status_idle' | 'session.status_terminated' | 'agent.thread_context_compacting' | 'agent.thread_context_compacted' | 'agent.thread_context_reset' | 'session.updated' | 'session.error' | 'session.usage' | 'span.model_request_start' | 'span.model_request_end' | 'agent.tool_use' | 'agent.tool_result' | 'agent.mcp_tool_use' | 'agent.mcp_tool_result' | 'user.tool_confirmation' | 'agent.custom_tool_use' | 'user.custom_tool_result' | 'session.thread_created' | 'session.thread_status_running' | 'session.thread_status_idle' | 'session.thread_status_rescheduled' | 'session.thread_status_terminated' | 'agent.thread_message_sent' | 'agent.thread_message_received' | 'user.withdraw' | 'user.steer' | 'system.notification' | 'system.notification_suppressed' | 'system.notification_recorded' | 'session.forked' | 'session.goal_changed' | 'session.goal_verification' | 'event_start' | 'event_delta' | 'ping' | 'error';
|
|
2822
2822
|
data: AgentSseData;
|
|
2823
2823
|
};
|
|
2824
|
-
/**
|
|
2825
|
-
* Praxis extension: Streamable HTTP, SSE or trusted stdio MCP servers, persisted with the agent version. Optional fields remain omitted when not supplied.
|
|
2826
|
-
*/
|
|
2827
|
-
export type AgentManaged36 = {
|
|
2828
|
-
/**
|
|
2829
|
-
* Streamable HTTP transport.
|
|
2830
|
-
*/
|
|
2831
|
-
type: 'url';
|
|
2832
|
-
/**
|
|
2833
|
-
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
2834
|
-
*/
|
|
2835
|
-
name: string;
|
|
2836
|
-
/**
|
|
2837
|
-
* HTTP or HTTPS MCP server endpoint.
|
|
2838
|
-
*/
|
|
2839
|
-
url: string;
|
|
2840
|
-
/**
|
|
2841
|
-
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
2842
|
-
*/
|
|
2843
|
-
headers?: {
|
|
2844
|
-
[key: string]: string;
|
|
2845
|
-
};
|
|
2846
|
-
/**
|
|
2847
|
-
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
2848
|
-
*/
|
|
2849
|
-
timeout_ms?: number;
|
|
2850
|
-
} | {
|
|
2851
|
-
/**
|
|
2852
|
-
* Legacy SSE transport.
|
|
2853
|
-
*/
|
|
2854
|
-
type: 'sse';
|
|
2855
|
-
/**
|
|
2856
|
-
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
2857
|
-
*/
|
|
2858
|
-
name: string;
|
|
2859
|
-
/**
|
|
2860
|
-
* HTTP or HTTPS MCP server endpoint.
|
|
2861
|
-
*/
|
|
2862
|
-
url: string;
|
|
2863
|
-
/**
|
|
2864
|
-
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
2865
|
-
*/
|
|
2866
|
-
headers?: {
|
|
2867
|
-
[key: string]: string;
|
|
2868
|
-
};
|
|
2869
|
-
/**
|
|
2870
|
-
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
2871
|
-
*/
|
|
2872
|
-
timeout_ms?: number;
|
|
2873
|
-
} | {
|
|
2874
|
-
/**
|
|
2875
|
-
* Run a command on the agent computer.
|
|
2876
|
-
*/
|
|
2877
|
-
type: 'stdio';
|
|
2878
|
-
/**
|
|
2879
|
-
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
2880
|
-
*/
|
|
2881
|
-
name: string;
|
|
2882
|
-
/**
|
|
2883
|
-
* Executable command on the agent computer.
|
|
2884
|
-
*/
|
|
2885
|
-
command: string;
|
|
2886
|
-
/**
|
|
2887
|
-
* Command arguments; omitted means no arguments.
|
|
2888
|
-
*/
|
|
2889
|
-
args?: Array<string>;
|
|
2890
|
-
/**
|
|
2891
|
-
* Praxis extension: environment variables for the command on the agent computer.
|
|
2892
|
-
*/
|
|
2893
|
-
env?: {
|
|
2894
|
-
[key: string]: string;
|
|
2895
|
-
};
|
|
2896
|
-
/**
|
|
2897
|
-
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
2898
|
-
*/
|
|
2899
|
-
timeout_ms?: number;
|
|
2900
|
-
};
|
|
2901
|
-
/**
|
|
2902
|
-
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
2903
|
-
*/
|
|
2904
|
-
export type AgentManaged37 = {
|
|
2905
|
-
[key: string]: string;
|
|
2906
|
-
};
|
|
2907
|
-
export type AgentManaged2 = {
|
|
2908
|
-
/**
|
|
2909
|
-
* Always `low`. Lowest reasoning effort of the supported levels.
|
|
2910
|
-
*/
|
|
2911
|
-
type: 'low';
|
|
2912
|
-
};
|
|
2913
|
-
export type AgentManaged3 = {
|
|
2914
|
-
/**
|
|
2915
|
-
* Always `medium`. Middle reasoning effort.
|
|
2916
|
-
*/
|
|
2917
|
-
type: 'medium';
|
|
2918
|
-
};
|
|
2919
|
-
export type AgentManaged4 = {
|
|
2920
|
-
/**
|
|
2921
|
-
* Always `high`. High reasoning effort.
|
|
2922
|
-
*/
|
|
2923
|
-
type: 'high';
|
|
2924
|
-
};
|
|
2925
|
-
export type AgentManaged5 = {
|
|
2926
|
-
/**
|
|
2927
|
-
* Always `xhigh`. Extra-high reasoning effort, above high; only models that list it in thinking.efforts accept it.
|
|
2928
|
-
*/
|
|
2929
|
-
type: 'xhigh';
|
|
2930
|
-
};
|
|
2931
|
-
export type AgentManaged6 = {
|
|
2932
|
-
/**
|
|
2933
|
-
* Always `max`. Maximum effort level of the Managed Agents shape, above xhigh.
|
|
2934
|
-
*/
|
|
2935
|
-
type: 'max';
|
|
2936
|
-
};
|
|
2937
|
-
export type AgentManaged39 = {
|
|
2938
|
-
/**
|
|
2939
|
-
* Agents the coordinator may spawn as session threads, each resolved to a specific
|
|
2940
|
-
* version.
|
|
2941
|
-
*/
|
|
2942
|
-
agents: Array<AgentManaged40 | AgentManaged41>;
|
|
2943
|
-
/**
|
|
2944
|
-
* Always `coordinator`. The agent coordinates the roster in agents and can delegate to its members.
|
|
2945
|
-
*/
|
|
2946
|
-
type: 'coordinator';
|
|
2947
|
-
};
|
|
2948
|
-
export type AgentManaged42 = {
|
|
2949
|
-
/**
|
|
2950
|
-
* Id of the skill to attach.
|
|
2951
|
-
*/
|
|
2952
|
-
skill_id: string;
|
|
2953
|
-
/**
|
|
2954
|
-
* Always `anthropic`. A skill provided by Anthropic, identified by skill_id.
|
|
2955
|
-
*/
|
|
2956
|
-
type: 'anthropic';
|
|
2957
|
-
/**
|
|
2958
|
-
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
2959
|
-
*/
|
|
2960
|
-
version: string;
|
|
2961
|
-
};
|
|
2962
|
-
export type AgentManaged43 = {
|
|
2963
|
-
/**
|
|
2964
|
-
* Id of the skill to attach.
|
|
2965
|
-
*/
|
|
2966
|
-
skill_id: string;
|
|
2967
|
-
/**
|
|
2968
|
-
* Always `custom`. A skill created by you, identified by skill_id.
|
|
2969
|
-
*/
|
|
2970
|
-
type: 'custom';
|
|
2971
|
-
/**
|
|
2972
|
-
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
2973
|
-
*/
|
|
2974
|
-
version: string;
|
|
2975
|
-
};
|
|
2976
|
-
export type AgentManaged44 = {
|
|
2977
|
-
/**
|
|
2978
|
-
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
2979
|
-
*/
|
|
2980
|
-
configs: Array<AgentManaged45 | AgentManaged46 | AgentManaged47 | AgentManaged48 | AgentManaged49 | AgentManaged50 | AgentManaged51 | AgentManaged52 | {
|
|
2981
|
-
/**
|
|
2982
|
-
* Name of the native tool this entry configures.
|
|
2983
|
-
*/
|
|
2984
|
-
name: 'task_output' | 'task_stop' | 'monitor' | 'agent' | 'send_message' | 'codemode' | 'skill';
|
|
2985
|
-
/**
|
|
2986
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
2987
|
-
*/
|
|
2988
|
-
enabled: boolean;
|
|
2989
|
-
/**
|
|
2990
|
-
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
2991
|
-
*/
|
|
2992
|
-
permission_policy: {
|
|
2993
|
-
/**
|
|
2994
|
-
* Permission policy kind.
|
|
2995
|
-
*/
|
|
2996
|
-
type: 'always_allow' | 'always_ask';
|
|
2997
|
-
};
|
|
2998
|
-
}>;
|
|
2999
|
-
/**
|
|
3000
|
-
* Resolved default configuration for agent tools.
|
|
3001
|
-
*/
|
|
3002
|
-
default_config: AgentManaged53;
|
|
3003
|
-
/**
|
|
3004
|
-
* Always `agent_toolset_20260401`. The native toolset entry (bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message).
|
|
3005
|
-
*/
|
|
3006
|
-
type: 'agent_toolset_20260401';
|
|
3007
|
-
};
|
|
3008
|
-
/**
|
|
3009
|
-
* Exactly one toolset per declared MCP server. Tools default to enabled and always_ask; per-tool overrides inherit omitted settings.
|
|
3010
|
-
*/
|
|
3011
|
-
export type AgentManaged54 = {
|
|
3012
|
-
/**
|
|
3013
|
-
* Always `mcp_toolset`. An entry that exposes the tools of one MCP server from mcp_servers.
|
|
3014
|
-
*/
|
|
3015
|
-
type: 'mcp_toolset';
|
|
3016
|
-
/**
|
|
3017
|
-
* Name of the MCP server in mcp_servers whose tools this entry exposes.
|
|
3018
|
-
*/
|
|
3019
|
-
mcp_server_name: string;
|
|
3020
|
-
/**
|
|
3021
|
-
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
3022
|
-
*/
|
|
3023
|
-
default_config?: {
|
|
3024
|
-
/**
|
|
3025
|
-
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
3026
|
-
*/
|
|
3027
|
-
enabled?: boolean | null;
|
|
3028
|
-
/**
|
|
3029
|
-
* Permission policy for tools that configs does not name: always_allow runs calls automatically, always_ask waits for user.tool_confirmation.
|
|
3030
|
-
*/
|
|
3031
|
-
permission_policy?: null | {
|
|
3032
|
-
/**
|
|
3033
|
-
* Permission policy kind.
|
|
3034
|
-
*/
|
|
3035
|
-
type: 'always_allow' | 'always_ask';
|
|
3036
|
-
};
|
|
3037
|
-
} | null;
|
|
3038
|
-
/**
|
|
3039
|
-
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
3040
|
-
*/
|
|
3041
|
-
configs?: Array<{
|
|
3042
|
-
/**
|
|
3043
|
-
* Bare tool name reported by the MCP server.
|
|
3044
|
-
*/
|
|
3045
|
-
name: string;
|
|
3046
|
-
/**
|
|
3047
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
3048
|
-
*/
|
|
3049
|
-
enabled?: boolean | null;
|
|
3050
|
-
/**
|
|
3051
|
-
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
3052
|
-
*/
|
|
3053
|
-
permission_policy?: null | {
|
|
3054
|
-
/**
|
|
3055
|
-
* Permission policy kind.
|
|
3056
|
-
*/
|
|
3057
|
-
type: 'always_allow' | 'always_ask';
|
|
3058
|
-
};
|
|
3059
|
-
}> | null;
|
|
3060
|
-
};
|
|
3061
|
-
export type AgentManaged57 = {
|
|
3062
|
-
/**
|
|
3063
|
-
* What the custom tool does and when the model should call it.
|
|
3064
|
-
*/
|
|
3065
|
-
description: string;
|
|
3066
|
-
/**
|
|
3067
|
-
* JSON Schema for custom tool input parameters.
|
|
3068
|
-
*/
|
|
3069
|
-
input_schema: AgentManaged33;
|
|
3070
|
-
/**
|
|
3071
|
-
* Name of the custom tool, as the model sees and calls it.
|
|
3072
|
-
*/
|
|
3073
|
-
name: string;
|
|
3074
|
-
/**
|
|
3075
|
-
* Always `custom`. A custom tool defined by name, description and input_schema; its calls are answered by the client with user.custom_tool_result.
|
|
3076
|
-
*/
|
|
3077
|
-
type: 'custom';
|
|
3078
|
-
};
|
|
3079
2824
|
export type BrowserSessionCreateParams = {
|
|
3080
2825
|
/**
|
|
3081
2826
|
* 可省略;账户使用 default 项目。
|
|
@@ -8085,6 +7830,113 @@ export type AgentManaged184 = {
|
|
|
8085
7830
|
*/
|
|
8086
7831
|
type: 'session_deleted';
|
|
8087
7832
|
};
|
|
7833
|
+
/**
|
|
7834
|
+
* Praxis extension: Streamable HTTP, SSE or trusted stdio MCP servers, persisted with the agent version. Optional fields remain omitted when not supplied.
|
|
7835
|
+
*/
|
|
7836
|
+
export type AgentManaged36 = {
|
|
7837
|
+
/**
|
|
7838
|
+
* Streamable HTTP transport.
|
|
7839
|
+
*/
|
|
7840
|
+
type: 'url';
|
|
7841
|
+
/**
|
|
7842
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
7843
|
+
*/
|
|
7844
|
+
name: string;
|
|
7845
|
+
/**
|
|
7846
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
7847
|
+
*/
|
|
7848
|
+
url: string;
|
|
7849
|
+
/**
|
|
7850
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
7851
|
+
*/
|
|
7852
|
+
headers?: {
|
|
7853
|
+
[key: string]: string;
|
|
7854
|
+
};
|
|
7855
|
+
/**
|
|
7856
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
7857
|
+
*/
|
|
7858
|
+
timeout_ms?: number;
|
|
7859
|
+
} | {
|
|
7860
|
+
/**
|
|
7861
|
+
* Legacy SSE transport.
|
|
7862
|
+
*/
|
|
7863
|
+
type: 'sse';
|
|
7864
|
+
/**
|
|
7865
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
7866
|
+
*/
|
|
7867
|
+
name: string;
|
|
7868
|
+
/**
|
|
7869
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
7870
|
+
*/
|
|
7871
|
+
url: string;
|
|
7872
|
+
/**
|
|
7873
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
7874
|
+
*/
|
|
7875
|
+
headers?: {
|
|
7876
|
+
[key: string]: string;
|
|
7877
|
+
};
|
|
7878
|
+
/**
|
|
7879
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
7880
|
+
*/
|
|
7881
|
+
timeout_ms?: number;
|
|
7882
|
+
} | {
|
|
7883
|
+
/**
|
|
7884
|
+
* Run a command on the agent computer.
|
|
7885
|
+
*/
|
|
7886
|
+
type: 'stdio';
|
|
7887
|
+
/**
|
|
7888
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
7889
|
+
*/
|
|
7890
|
+
name: string;
|
|
7891
|
+
/**
|
|
7892
|
+
* Executable command on the agent computer.
|
|
7893
|
+
*/
|
|
7894
|
+
command: string;
|
|
7895
|
+
/**
|
|
7896
|
+
* Command arguments; omitted means no arguments.
|
|
7897
|
+
*/
|
|
7898
|
+
args?: Array<string>;
|
|
7899
|
+
/**
|
|
7900
|
+
* Praxis extension: environment variables for the command on the agent computer.
|
|
7901
|
+
*/
|
|
7902
|
+
env?: {
|
|
7903
|
+
[key: string]: string;
|
|
7904
|
+
};
|
|
7905
|
+
/**
|
|
7906
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
7907
|
+
*/
|
|
7908
|
+
timeout_ms?: number;
|
|
7909
|
+
};
|
|
7910
|
+
export type AgentManaged2 = {
|
|
7911
|
+
/**
|
|
7912
|
+
* Always `low`. Lowest reasoning effort of the supported levels.
|
|
7913
|
+
*/
|
|
7914
|
+
type: 'low';
|
|
7915
|
+
};
|
|
7916
|
+
export type AgentManaged3 = {
|
|
7917
|
+
/**
|
|
7918
|
+
* Always `medium`. Middle reasoning effort.
|
|
7919
|
+
*/
|
|
7920
|
+
type: 'medium';
|
|
7921
|
+
};
|
|
7922
|
+
export type AgentManaged4 = {
|
|
7923
|
+
/**
|
|
7924
|
+
* Always `high`. High reasoning effort.
|
|
7925
|
+
*/
|
|
7926
|
+
type: 'high';
|
|
7927
|
+
};
|
|
7928
|
+
export type AgentManaged5 = {
|
|
7929
|
+
/**
|
|
7930
|
+
* Always `xhigh`. Extra-high reasoning effort, above high; only models that list it in thinking.efforts accept it.
|
|
7931
|
+
*/
|
|
7932
|
+
type: 'xhigh';
|
|
7933
|
+
};
|
|
7934
|
+
export type AgentManaged6 = {
|
|
7935
|
+
/**
|
|
7936
|
+
* Always `max`. Maximum effort level of the Managed Agents shape, above xhigh.
|
|
7937
|
+
*/
|
|
7938
|
+
type: 'max';
|
|
7939
|
+
};
|
|
8088
7940
|
export type AgentManaged171 = {
|
|
8089
7941
|
/**
|
|
8090
7942
|
* Full `agent` definitions the coordinator may spawn as session threads.
|
|
@@ -8095,6 +7947,137 @@ export type AgentManaged171 = {
|
|
|
8095
7947
|
*/
|
|
8096
7948
|
type: 'coordinator';
|
|
8097
7949
|
};
|
|
7950
|
+
export type AgentManaged42 = {
|
|
7951
|
+
/**
|
|
7952
|
+
* Id of the skill to attach.
|
|
7953
|
+
*/
|
|
7954
|
+
skill_id: string;
|
|
7955
|
+
/**
|
|
7956
|
+
* Always `anthropic`. A skill provided by Anthropic, identified by skill_id.
|
|
7957
|
+
*/
|
|
7958
|
+
type: 'anthropic';
|
|
7959
|
+
/**
|
|
7960
|
+
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
7961
|
+
*/
|
|
7962
|
+
version: string;
|
|
7963
|
+
};
|
|
7964
|
+
export type AgentManaged43 = {
|
|
7965
|
+
/**
|
|
7966
|
+
* Id of the skill to attach.
|
|
7967
|
+
*/
|
|
7968
|
+
skill_id: string;
|
|
7969
|
+
/**
|
|
7970
|
+
* Always `custom`. A skill created by you, identified by skill_id.
|
|
7971
|
+
*/
|
|
7972
|
+
type: 'custom';
|
|
7973
|
+
/**
|
|
7974
|
+
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
7975
|
+
*/
|
|
7976
|
+
version: string;
|
|
7977
|
+
};
|
|
7978
|
+
export type AgentManaged44 = {
|
|
7979
|
+
/**
|
|
7980
|
+
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
7981
|
+
*/
|
|
7982
|
+
configs: Array<AgentManaged45 | AgentManaged46 | AgentManaged47 | AgentManaged48 | AgentManaged49 | AgentManaged50 | AgentManaged51 | AgentManaged52 | {
|
|
7983
|
+
/**
|
|
7984
|
+
* Name of the native tool this entry configures.
|
|
7985
|
+
*/
|
|
7986
|
+
name: 'task_output' | 'task_stop' | 'monitor' | 'agent' | 'send_message' | 'codemode' | 'skill';
|
|
7987
|
+
/**
|
|
7988
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
7989
|
+
*/
|
|
7990
|
+
enabled: boolean;
|
|
7991
|
+
/**
|
|
7992
|
+
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
7993
|
+
*/
|
|
7994
|
+
permission_policy: {
|
|
7995
|
+
/**
|
|
7996
|
+
* Permission policy kind.
|
|
7997
|
+
*/
|
|
7998
|
+
type: 'always_allow' | 'always_ask';
|
|
7999
|
+
};
|
|
8000
|
+
}>;
|
|
8001
|
+
/**
|
|
8002
|
+
* Resolved default configuration for agent tools.
|
|
8003
|
+
*/
|
|
8004
|
+
default_config: AgentManaged53;
|
|
8005
|
+
/**
|
|
8006
|
+
* Always `agent_toolset_20260401`. The native toolset entry (bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message).
|
|
8007
|
+
*/
|
|
8008
|
+
type: 'agent_toolset_20260401';
|
|
8009
|
+
};
|
|
8010
|
+
/**
|
|
8011
|
+
* Exactly one toolset per declared MCP server. Tools default to enabled and always_ask; per-tool overrides inherit omitted settings.
|
|
8012
|
+
*/
|
|
8013
|
+
export type AgentManaged54 = {
|
|
8014
|
+
/**
|
|
8015
|
+
* Always `mcp_toolset`. An entry that exposes the tools of one MCP server from mcp_servers.
|
|
8016
|
+
*/
|
|
8017
|
+
type: 'mcp_toolset';
|
|
8018
|
+
/**
|
|
8019
|
+
* Name of the MCP server in mcp_servers whose tools this entry exposes.
|
|
8020
|
+
*/
|
|
8021
|
+
mcp_server_name: string;
|
|
8022
|
+
/**
|
|
8023
|
+
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
8024
|
+
*/
|
|
8025
|
+
default_config?: {
|
|
8026
|
+
/**
|
|
8027
|
+
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
8028
|
+
*/
|
|
8029
|
+
enabled?: boolean | null;
|
|
8030
|
+
/**
|
|
8031
|
+
* Permission policy for tools that configs does not name: always_allow runs calls automatically, always_ask waits for user.tool_confirmation.
|
|
8032
|
+
*/
|
|
8033
|
+
permission_policy?: null | {
|
|
8034
|
+
/**
|
|
8035
|
+
* Permission policy kind.
|
|
8036
|
+
*/
|
|
8037
|
+
type: 'always_allow' | 'always_ask';
|
|
8038
|
+
};
|
|
8039
|
+
} | null;
|
|
8040
|
+
/**
|
|
8041
|
+
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
8042
|
+
*/
|
|
8043
|
+
configs?: Array<{
|
|
8044
|
+
/**
|
|
8045
|
+
* Bare tool name reported by the MCP server.
|
|
8046
|
+
*/
|
|
8047
|
+
name: string;
|
|
8048
|
+
/**
|
|
8049
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
8050
|
+
*/
|
|
8051
|
+
enabled?: boolean | null;
|
|
8052
|
+
/**
|
|
8053
|
+
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
8054
|
+
*/
|
|
8055
|
+
permission_policy?: null | {
|
|
8056
|
+
/**
|
|
8057
|
+
* Permission policy kind.
|
|
8058
|
+
*/
|
|
8059
|
+
type: 'always_allow' | 'always_ask';
|
|
8060
|
+
};
|
|
8061
|
+
}> | null;
|
|
8062
|
+
};
|
|
8063
|
+
export type AgentManaged57 = {
|
|
8064
|
+
/**
|
|
8065
|
+
* What the custom tool does and when the model should call it.
|
|
8066
|
+
*/
|
|
8067
|
+
description: string;
|
|
8068
|
+
/**
|
|
8069
|
+
* JSON Schema for custom tool input parameters.
|
|
8070
|
+
*/
|
|
8071
|
+
input_schema: AgentManaged33;
|
|
8072
|
+
/**
|
|
8073
|
+
* Name of the custom tool, as the model sees and calls it.
|
|
8074
|
+
*/
|
|
8075
|
+
name: string;
|
|
8076
|
+
/**
|
|
8077
|
+
* Always `custom`. A custom tool defined by name, description and input_schema; its calls are answered by the client with user.custom_tool_result.
|
|
8078
|
+
*/
|
|
8079
|
+
type: 'custom';
|
|
8080
|
+
};
|
|
8098
8081
|
/**
|
|
8099
8082
|
* Free-form string key/value pairs stored with the session, changed through sessions.update patch semantics.
|
|
8100
8083
|
*/
|
|
@@ -8290,6 +8273,23 @@ export type AgentManaged179 = {
|
|
|
8290
8273
|
export type AgentManaged183 = {
|
|
8291
8274
|
[key: string]: null | string;
|
|
8292
8275
|
};
|
|
8276
|
+
/**
|
|
8277
|
+
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
8278
|
+
*/
|
|
8279
|
+
export type AgentManaged37 = {
|
|
8280
|
+
[key: string]: string;
|
|
8281
|
+
};
|
|
8282
|
+
export type AgentManaged39 = {
|
|
8283
|
+
/**
|
|
8284
|
+
* Agents the coordinator may spawn as session threads, each resolved to a specific
|
|
8285
|
+
* version.
|
|
8286
|
+
*/
|
|
8287
|
+
agents: Array<AgentManaged40 | AgentManaged41>;
|
|
8288
|
+
/**
|
|
8289
|
+
* Always `coordinator`. The agent coordinates the roster in agents and can delegate to its members.
|
|
8290
|
+
*/
|
|
8291
|
+
type: 'coordinator';
|
|
8292
|
+
};
|
|
8293
8293
|
/**
|
|
8294
8294
|
* Praxis extension: Streamable HTTP, SSE or trusted stdio MCP servers, persisted with the agent version. Optional fields remain omitted when not supplied.
|
|
8295
8295
|
*/
|
|
@@ -13917,6 +13917,10 @@ export type CustomerGrantCodeInput = {
|
|
|
13917
13917
|
* An existing anonymous end user (anon_…) whose record joins this person when the code is exchanged.
|
|
13918
13918
|
*/
|
|
13919
13919
|
merge_customer_id?: string;
|
|
13920
|
+
/**
|
|
13921
|
+
* The visitor's own Praxis customer access token, when the browser holds one, so this sign-in keeps that anonymous visitor instead of creating a new person; it is the access_token from a previous exchange, sent from your backend and never from the browser. It must be a live anonymous (anon_…) end user of this organization. It may not be combined with merge_customer_id, and an expired, forged or foreign token answers 400 INVALID_PARAMS.
|
|
13922
|
+
*/
|
|
13923
|
+
anonymous_access_token?: string;
|
|
13920
13924
|
};
|
|
13921
13925
|
/**
|
|
13922
13926
|
* A one-time code that the browser exchanges for an access token.
|
|
@@ -17632,6 +17636,19 @@ export type DevopsChangePullRequestOpened = {
|
|
|
17632
17636
|
*/
|
|
17633
17637
|
created: boolean;
|
|
17634
17638
|
};
|
|
17639
|
+
/**
|
|
17640
|
+
* A read-only git credential for one repository, for one git request.
|
|
17641
|
+
*/
|
|
17642
|
+
export type DevopsChangeGitCredential = {
|
|
17643
|
+
/**
|
|
17644
|
+
* The user name GitHub App installation tokens require.
|
|
17645
|
+
*/
|
|
17646
|
+
username: string;
|
|
17647
|
+
/**
|
|
17648
|
+
* The installation token, read-only and limited to the change's repository; GitHub expires it within an hour. Treat it as a secret: pass it to git, never print or store it.
|
|
17649
|
+
*/
|
|
17650
|
+
password: string;
|
|
17651
|
+
};
|
|
17635
17652
|
/**
|
|
17636
17653
|
* One page of a project's pull requests, most recently updated first.
|
|
17637
17654
|
*/
|
|
@@ -21309,14 +21326,14 @@ export type SandboxListedSandbox = {
|
|
|
21309
21326
|
metadata?: SandboxSandboxMetadata;
|
|
21310
21327
|
state: SandboxSandboxState;
|
|
21311
21328
|
envdVersion: SandboxEnvdVersion;
|
|
21312
|
-
/**
|
|
21313
|
-
* What kind of machine this sandbox is, so you can decide whether to drive it as a computer without knowing which vendor placed it. full: a complete environment that runs files, commands, terminals and background processes through the data plane — drive it as a computer. light: a light machine without that. none: a single-use box that is reachable but must not be driven as a computer.
|
|
21314
|
-
*/
|
|
21315
|
-
machine?: 'light' | 'full' | 'none';
|
|
21316
21329
|
/**
|
|
21317
21330
|
* Volumes mounted into the sandbox.
|
|
21318
21331
|
*/
|
|
21319
21332
|
volumeMounts?: Array<SandboxSandboxVolumeMount>;
|
|
21333
|
+
/**
|
|
21334
|
+
* What kind of machine this sandbox is, so you can decide whether to drive it as a computer without knowing which vendor placed it. full: a complete environment that runs files, commands, terminals and background processes through the data plane — drive it as a computer. light: a light machine without that. none: a single-use box that is reachable but must not be driven as a computer.
|
|
21335
|
+
*/
|
|
21336
|
+
machine?: 'light' | 'full' | 'none';
|
|
21320
21337
|
};
|
|
21321
21338
|
/**
|
|
21322
21339
|
* Metric entry with timestamp and line
|
|
@@ -25582,18 +25599,6 @@ export type AgentSseData = {
|
|
|
25582
25599
|
*/
|
|
25583
25600
|
stopped: boolean;
|
|
25584
25601
|
} | {
|
|
25585
|
-
/**
|
|
25586
|
-
* Monotone permission-mode version, incremented once per mode update.
|
|
25587
|
-
*/
|
|
25588
|
-
permission_mode_version?: number;
|
|
25589
|
-
/**
|
|
25590
|
-
* The permission mode before this change, or null when none was selected.
|
|
25591
|
-
*/
|
|
25592
|
-
previous_permission_mode?: string | null;
|
|
25593
|
-
/**
|
|
25594
|
-
* The new native session permission mode; null restores configured tool policies.
|
|
25595
|
-
*/
|
|
25596
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
25597
25602
|
/**
|
|
25598
25603
|
* Unique identifier for this event.
|
|
25599
25604
|
*/
|
|
@@ -25625,6 +25630,18 @@ export type AgentSseData = {
|
|
|
25625
25630
|
* The session's new title. Present only when the update changed it.
|
|
25626
25631
|
*/
|
|
25627
25632
|
title?: null | string;
|
|
25633
|
+
/**
|
|
25634
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
25635
|
+
*/
|
|
25636
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
25637
|
+
/**
|
|
25638
|
+
* The permission mode before this change, or null when none was selected.
|
|
25639
|
+
*/
|
|
25640
|
+
previous_permission_mode?: string | null;
|
|
25641
|
+
/**
|
|
25642
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
25643
|
+
*/
|
|
25644
|
+
permission_mode_version?: number;
|
|
25628
25645
|
/**
|
|
25629
25646
|
* Praxis extension: the changed session model, present only on /agent/v1 session.updated events. Model-only updates are omitted on /anthropic.
|
|
25630
25647
|
*/
|
|
@@ -25721,10 +25738,6 @@ export type AgentSseData = {
|
|
|
25721
25738
|
*/
|
|
25722
25739
|
type: 'span.model_request_end';
|
|
25723
25740
|
} | {
|
|
25724
|
-
/**
|
|
25725
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
25726
|
-
*/
|
|
25727
|
-
full_access_available?: boolean;
|
|
25728
25741
|
/**
|
|
25729
25742
|
* Unique identifier for this event.
|
|
25730
25743
|
*/
|
|
@@ -25763,18 +25776,6 @@ export type AgentSseData = {
|
|
|
25763
25776
|
* not send it back.
|
|
25764
25777
|
*/
|
|
25765
25778
|
session_thread_id?: null | string;
|
|
25766
|
-
/**
|
|
25767
|
-
* Run that produced this event; null when no run identity was recorded.
|
|
25768
|
-
*/
|
|
25769
|
-
run_id: string | null;
|
|
25770
|
-
/**
|
|
25771
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
25772
|
-
*/
|
|
25773
|
-
user_once?: true;
|
|
25774
|
-
/**
|
|
25775
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
25776
|
-
*/
|
|
25777
|
-
guarded_rule?: string;
|
|
25778
25779
|
/**
|
|
25779
25780
|
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
25780
25781
|
*/
|
|
@@ -25805,6 +25806,22 @@ export type AgentSseData = {
|
|
|
25805
25806
|
rule_content: string;
|
|
25806
25807
|
}>;
|
|
25807
25808
|
}>;
|
|
25809
|
+
/**
|
|
25810
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
25811
|
+
*/
|
|
25812
|
+
full_access_available?: boolean;
|
|
25813
|
+
/**
|
|
25814
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
25815
|
+
*/
|
|
25816
|
+
user_once?: true;
|
|
25817
|
+
/**
|
|
25818
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
25819
|
+
*/
|
|
25820
|
+
guarded_rule?: string;
|
|
25821
|
+
/**
|
|
25822
|
+
* Run that produced this event; null when no run identity was recorded.
|
|
25823
|
+
*/
|
|
25824
|
+
run_id: string | null;
|
|
25808
25825
|
} | {
|
|
25809
25826
|
/**
|
|
25810
25827
|
* Unique identifier for this event.
|
|
@@ -25835,10 +25852,6 @@ export type AgentSseData = {
|
|
|
25835
25852
|
*/
|
|
25836
25853
|
run_id: string | null;
|
|
25837
25854
|
} | {
|
|
25838
|
-
/**
|
|
25839
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
25840
|
-
*/
|
|
25841
|
-
full_access_available?: boolean;
|
|
25842
25855
|
/**
|
|
25843
25856
|
* Unique identifier for this event.
|
|
25844
25857
|
*/
|
|
@@ -25880,6 +25893,48 @@ export type AgentSseData = {
|
|
|
25880
25893
|
* `user.tool_confirmation` by `tool_use_id`, so clients do not send it back.
|
|
25881
25894
|
*/
|
|
25882
25895
|
session_thread_id?: null | string;
|
|
25896
|
+
/**
|
|
25897
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
25898
|
+
*/
|
|
25899
|
+
permission_suggestions?: Array<{
|
|
25900
|
+
/**
|
|
25901
|
+
* add_rules adds the offered allow rules.
|
|
25902
|
+
*/
|
|
25903
|
+
type: 'add_rules';
|
|
25904
|
+
/**
|
|
25905
|
+
* allow grants permission for matching calls.
|
|
25906
|
+
*/
|
|
25907
|
+
behavior: 'allow';
|
|
25908
|
+
/**
|
|
25909
|
+
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
25910
|
+
*/
|
|
25911
|
+
destination: 'agent' | 'session';
|
|
25912
|
+
/**
|
|
25913
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
25914
|
+
*/
|
|
25915
|
+
rules: Array<{
|
|
25916
|
+
/**
|
|
25917
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
25918
|
+
*/
|
|
25919
|
+
tool_name: string;
|
|
25920
|
+
/**
|
|
25921
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
25922
|
+
*/
|
|
25923
|
+
rule_content: string;
|
|
25924
|
+
}>;
|
|
25925
|
+
}>;
|
|
25926
|
+
/**
|
|
25927
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
25928
|
+
*/
|
|
25929
|
+
full_access_available?: boolean;
|
|
25930
|
+
/**
|
|
25931
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
25932
|
+
*/
|
|
25933
|
+
user_once?: true;
|
|
25934
|
+
/**
|
|
25935
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
25936
|
+
*/
|
|
25937
|
+
guarded_rule?: string;
|
|
25883
25938
|
/**
|
|
25884
25939
|
* Run that produced this event; null when no run identity was recorded.
|
|
25885
25940
|
*/
|
|
@@ -25917,44 +25972,6 @@ export type AgentSseData = {
|
|
|
25917
25972
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
25918
25973
|
*/
|
|
25919
25974
|
parent_tool_use_id?: string;
|
|
25920
|
-
/**
|
|
25921
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
25922
|
-
*/
|
|
25923
|
-
user_once?: true;
|
|
25924
|
-
/**
|
|
25925
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
25926
|
-
*/
|
|
25927
|
-
guarded_rule?: string;
|
|
25928
|
-
/**
|
|
25929
|
-
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
25930
|
-
*/
|
|
25931
|
-
permission_suggestions?: Array<{
|
|
25932
|
-
/**
|
|
25933
|
-
* add_rules adds the offered allow rules.
|
|
25934
|
-
*/
|
|
25935
|
-
type: 'add_rules';
|
|
25936
|
-
/**
|
|
25937
|
-
* allow grants permission for matching calls.
|
|
25938
|
-
*/
|
|
25939
|
-
behavior: 'allow';
|
|
25940
|
-
/**
|
|
25941
|
-
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
25942
|
-
*/
|
|
25943
|
-
destination: 'agent' | 'session';
|
|
25944
|
-
/**
|
|
25945
|
-
* The complete set of rules from one offered suggestion, without changes.
|
|
25946
|
-
*/
|
|
25947
|
-
rules: Array<{
|
|
25948
|
-
/**
|
|
25949
|
-
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
25950
|
-
*/
|
|
25951
|
-
tool_name: string;
|
|
25952
|
-
/**
|
|
25953
|
-
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
25954
|
-
*/
|
|
25955
|
-
rule_content: string;
|
|
25956
|
-
}>;
|
|
25957
|
-
}>;
|
|
25958
25975
|
/**
|
|
25959
25976
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
25960
25977
|
*/
|
|
@@ -26693,232 +26710,6 @@ export type AgentSseData = {
|
|
|
26693
26710
|
message: string;
|
|
26694
26711
|
};
|
|
26695
26712
|
};
|
|
26696
|
-
/**
|
|
26697
|
-
* Agent definition the session uses after the change; null when unchanged.
|
|
26698
|
-
*/
|
|
26699
|
-
export type AgentManaged40 = {
|
|
26700
|
-
/**
|
|
26701
|
-
* Agent id (agent_...). Pass it as agent when creating a session and as agent_id in agent calls.
|
|
26702
|
-
*/
|
|
26703
|
-
id: string;
|
|
26704
|
-
/**
|
|
26705
|
-
* Always `agent`. A roster member that refers to an agent by id and pinned version.
|
|
26706
|
-
*/
|
|
26707
|
-
type: 'agent';
|
|
26708
|
-
/**
|
|
26709
|
-
* The latest saved version of the agent, the editable head; it differs from active_version after a save with apply false. Starts at 1 and increments each time the agent is modified.
|
|
26710
|
-
*/
|
|
26711
|
-
version: number;
|
|
26712
|
-
};
|
|
26713
|
-
export type AgentManaged41 = {
|
|
26714
|
-
/**
|
|
26715
|
-
* The advisor model id.
|
|
26716
|
-
*/
|
|
26717
|
-
model: string;
|
|
26718
|
-
/**
|
|
26719
|
-
* Always `advisor`. An advisor whose model is consulted for advice in a separate thread (at most one per coordinator).
|
|
26720
|
-
*/
|
|
26721
|
-
type: 'advisor';
|
|
26722
|
-
};
|
|
26723
|
-
export type AgentManaged45 = {
|
|
26724
|
-
/**
|
|
26725
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
26726
|
-
*/
|
|
26727
|
-
enabled: boolean;
|
|
26728
|
-
/**
|
|
26729
|
-
* Name of the native tool this entry configures.
|
|
26730
|
-
*/
|
|
26731
|
-
name: 'bash';
|
|
26732
|
-
/**
|
|
26733
|
-
* Permission policy for tool execution.
|
|
26734
|
-
*/
|
|
26735
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
26736
|
-
/**
|
|
26737
|
-
* Always `bash`. Selects the bash tool, which runs shell commands in the session's machine.
|
|
26738
|
-
*/
|
|
26739
|
-
type: 'bash';
|
|
26740
|
-
};
|
|
26741
|
-
export type AgentManaged46 = {
|
|
26742
|
-
/**
|
|
26743
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
26744
|
-
*/
|
|
26745
|
-
enabled: boolean;
|
|
26746
|
-
/**
|
|
26747
|
-
* Name of the native tool this entry configures.
|
|
26748
|
-
*/
|
|
26749
|
-
name: 'edit';
|
|
26750
|
-
/**
|
|
26751
|
-
* Permission policy for tool execution.
|
|
26752
|
-
*/
|
|
26753
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
26754
|
-
/**
|
|
26755
|
-
* Always `edit`. Selects the edit tool, which changes an existing file.
|
|
26756
|
-
*/
|
|
26757
|
-
type: 'edit';
|
|
26758
|
-
};
|
|
26759
|
-
export type AgentManaged47 = {
|
|
26760
|
-
/**
|
|
26761
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
26762
|
-
*/
|
|
26763
|
-
enabled: boolean;
|
|
26764
|
-
/**
|
|
26765
|
-
* Name of the native tool this entry configures.
|
|
26766
|
-
*/
|
|
26767
|
-
name: 'read';
|
|
26768
|
-
/**
|
|
26769
|
-
* Permission policy for tool execution.
|
|
26770
|
-
*/
|
|
26771
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
26772
|
-
/**
|
|
26773
|
-
* Always `read`. Selects the read tool, which reads a file.
|
|
26774
|
-
*/
|
|
26775
|
-
type: 'read';
|
|
26776
|
-
};
|
|
26777
|
-
export type AgentManaged48 = {
|
|
26778
|
-
/**
|
|
26779
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
26780
|
-
*/
|
|
26781
|
-
enabled: boolean;
|
|
26782
|
-
/**
|
|
26783
|
-
* Name of the native tool this entry configures.
|
|
26784
|
-
*/
|
|
26785
|
-
name: 'write';
|
|
26786
|
-
/**
|
|
26787
|
-
* Permission policy for tool execution.
|
|
26788
|
-
*/
|
|
26789
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
26790
|
-
/**
|
|
26791
|
-
* Always `write`. Selects the write tool, which writes a file.
|
|
26792
|
-
*/
|
|
26793
|
-
type: 'write';
|
|
26794
|
-
};
|
|
26795
|
-
export type AgentManaged49 = {
|
|
26796
|
-
/**
|
|
26797
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
26798
|
-
*/
|
|
26799
|
-
enabled: boolean;
|
|
26800
|
-
/**
|
|
26801
|
-
* Name of the native tool this entry configures.
|
|
26802
|
-
*/
|
|
26803
|
-
name: 'glob';
|
|
26804
|
-
/**
|
|
26805
|
-
* Permission policy for tool execution.
|
|
26806
|
-
*/
|
|
26807
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
26808
|
-
/**
|
|
26809
|
-
* Always `glob`. Selects the glob tool, which finds files by name pattern.
|
|
26810
|
-
*/
|
|
26811
|
-
type: 'glob';
|
|
26812
|
-
};
|
|
26813
|
-
export type AgentManaged50 = {
|
|
26814
|
-
/**
|
|
26815
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
26816
|
-
*/
|
|
26817
|
-
enabled: boolean;
|
|
26818
|
-
/**
|
|
26819
|
-
* Name of the native tool this entry configures.
|
|
26820
|
-
*/
|
|
26821
|
-
name: 'grep';
|
|
26822
|
-
/**
|
|
26823
|
-
* Permission policy for tool execution.
|
|
26824
|
-
*/
|
|
26825
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
26826
|
-
/**
|
|
26827
|
-
* Always `grep`. Selects the grep tool, which searches file contents.
|
|
26828
|
-
*/
|
|
26829
|
-
type: 'grep';
|
|
26830
|
-
};
|
|
26831
|
-
export type AgentManaged51 = {
|
|
26832
|
-
/**
|
|
26833
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
26834
|
-
*/
|
|
26835
|
-
enabled: boolean;
|
|
26836
|
-
/**
|
|
26837
|
-
* Name of the native tool this entry configures.
|
|
26838
|
-
*/
|
|
26839
|
-
name: 'web_fetch';
|
|
26840
|
-
/**
|
|
26841
|
-
* Permission policy for tool execution.
|
|
26842
|
-
*/
|
|
26843
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
26844
|
-
/**
|
|
26845
|
-
* Always `web_fetch`. Selects the web_fetch tool, which fetches a web page.
|
|
26846
|
-
*/
|
|
26847
|
-
type: 'web_fetch';
|
|
26848
|
-
/**
|
|
26849
|
-
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
26850
|
-
*/
|
|
26851
|
-
allowed_domains?: Array<string>;
|
|
26852
|
-
/**
|
|
26853
|
-
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
26854
|
-
*/
|
|
26855
|
-
blocked_domains?: Array<string>;
|
|
26856
|
-
/**
|
|
26857
|
-
* Maximum number of tokens of fetched text content included in context per call; does not apply to binary content such as PDFs. Null for no explicit limit.
|
|
26858
|
-
*/
|
|
26859
|
-
max_content_tokens?: null | number;
|
|
26860
|
-
};
|
|
26861
|
-
export type AgentManaged52 = {
|
|
26862
|
-
/**
|
|
26863
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
26864
|
-
*/
|
|
26865
|
-
enabled: boolean;
|
|
26866
|
-
/**
|
|
26867
|
-
* Name of the native tool this entry configures.
|
|
26868
|
-
*/
|
|
26869
|
-
name: 'web_search';
|
|
26870
|
-
/**
|
|
26871
|
-
* Permission policy for tool execution.
|
|
26872
|
-
*/
|
|
26873
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
26874
|
-
/**
|
|
26875
|
-
* Always `web_search`. Selects the web_search tool, which searches the web.
|
|
26876
|
-
*/
|
|
26877
|
-
type: 'web_search';
|
|
26878
|
-
/**
|
|
26879
|
-
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
26880
|
-
*/
|
|
26881
|
-
allowed_domains?: Array<string>;
|
|
26882
|
-
/**
|
|
26883
|
-
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
26884
|
-
*/
|
|
26885
|
-
blocked_domains?: Array<string>;
|
|
26886
|
-
/**
|
|
26887
|
-
* Approximate user location for search result localization.
|
|
26888
|
-
*/
|
|
26889
|
-
user_location?: null | AgentManaged27;
|
|
26890
|
-
};
|
|
26891
|
-
/**
|
|
26892
|
-
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
26893
|
-
*/
|
|
26894
|
-
export type AgentManaged53 = {
|
|
26895
|
-
/**
|
|
26896
|
-
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
26897
|
-
*/
|
|
26898
|
-
enabled: boolean;
|
|
26899
|
-
/**
|
|
26900
|
-
* Permission policy for tool execution.
|
|
26901
|
-
*/
|
|
26902
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
26903
|
-
};
|
|
26904
|
-
/**
|
|
26905
|
-
* JSON Schema of the custom tool's input object, passed to the model as the tool's parameters.
|
|
26906
|
-
*/
|
|
26907
|
-
export type AgentManaged33 = {
|
|
26908
|
-
/**
|
|
26909
|
-
* Always `object`. The input is a JSON object.
|
|
26910
|
-
*/
|
|
26911
|
-
type: 'object';
|
|
26912
|
-
/**
|
|
26913
|
-
* JSON Schema of each input property, keyed by property name.
|
|
26914
|
-
*/
|
|
26915
|
-
properties?: null | AgentManaged34;
|
|
26916
|
-
/**
|
|
26917
|
-
* Names of the input properties the model must supply.
|
|
26918
|
-
*/
|
|
26919
|
-
required?: null | Array<string>;
|
|
26920
|
-
[key: string]: unknown;
|
|
26921
|
-
};
|
|
26922
26713
|
/**
|
|
26923
26714
|
* File expiration policy
|
|
26924
26715
|
*
|
|
@@ -31731,6 +31522,16 @@ export type SandboxError = {
|
|
|
31731
31522
|
*/
|
|
31732
31523
|
message: string;
|
|
31733
31524
|
};
|
|
31525
|
+
export type AgentManaged41 = {
|
|
31526
|
+
/**
|
|
31527
|
+
* The advisor model id.
|
|
31528
|
+
*/
|
|
31529
|
+
model: string;
|
|
31530
|
+
/**
|
|
31531
|
+
* Always `advisor`. An advisor whose model is consulted for advice in a separate thread (at most one per coordinator).
|
|
31532
|
+
*/
|
|
31533
|
+
type: 'advisor';
|
|
31534
|
+
};
|
|
31734
31535
|
export type AgentManaged172 = {
|
|
31735
31536
|
/**
|
|
31736
31537
|
* Agent id (agent_...). Pass it as agent when creating a session and as agent_id in agent calls.
|
|
@@ -31773,6 +31574,205 @@ export type AgentManaged172 = {
|
|
|
31773
31574
|
*/
|
|
31774
31575
|
version: number;
|
|
31775
31576
|
};
|
|
31577
|
+
export type AgentManaged45 = {
|
|
31578
|
+
/**
|
|
31579
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
31580
|
+
*/
|
|
31581
|
+
enabled: boolean;
|
|
31582
|
+
/**
|
|
31583
|
+
* Name of the native tool this entry configures.
|
|
31584
|
+
*/
|
|
31585
|
+
name: 'bash';
|
|
31586
|
+
/**
|
|
31587
|
+
* Permission policy for tool execution.
|
|
31588
|
+
*/
|
|
31589
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
31590
|
+
/**
|
|
31591
|
+
* Always `bash`. Selects the bash tool, which runs shell commands in the session's machine.
|
|
31592
|
+
*/
|
|
31593
|
+
type: 'bash';
|
|
31594
|
+
};
|
|
31595
|
+
export type AgentManaged46 = {
|
|
31596
|
+
/**
|
|
31597
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
31598
|
+
*/
|
|
31599
|
+
enabled: boolean;
|
|
31600
|
+
/**
|
|
31601
|
+
* Name of the native tool this entry configures.
|
|
31602
|
+
*/
|
|
31603
|
+
name: 'edit';
|
|
31604
|
+
/**
|
|
31605
|
+
* Permission policy for tool execution.
|
|
31606
|
+
*/
|
|
31607
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
31608
|
+
/**
|
|
31609
|
+
* Always `edit`. Selects the edit tool, which changes an existing file.
|
|
31610
|
+
*/
|
|
31611
|
+
type: 'edit';
|
|
31612
|
+
};
|
|
31613
|
+
export type AgentManaged47 = {
|
|
31614
|
+
/**
|
|
31615
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
31616
|
+
*/
|
|
31617
|
+
enabled: boolean;
|
|
31618
|
+
/**
|
|
31619
|
+
* Name of the native tool this entry configures.
|
|
31620
|
+
*/
|
|
31621
|
+
name: 'read';
|
|
31622
|
+
/**
|
|
31623
|
+
* Permission policy for tool execution.
|
|
31624
|
+
*/
|
|
31625
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
31626
|
+
/**
|
|
31627
|
+
* Always `read`. Selects the read tool, which reads a file.
|
|
31628
|
+
*/
|
|
31629
|
+
type: 'read';
|
|
31630
|
+
};
|
|
31631
|
+
export type AgentManaged48 = {
|
|
31632
|
+
/**
|
|
31633
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
31634
|
+
*/
|
|
31635
|
+
enabled: boolean;
|
|
31636
|
+
/**
|
|
31637
|
+
* Name of the native tool this entry configures.
|
|
31638
|
+
*/
|
|
31639
|
+
name: 'write';
|
|
31640
|
+
/**
|
|
31641
|
+
* Permission policy for tool execution.
|
|
31642
|
+
*/
|
|
31643
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
31644
|
+
/**
|
|
31645
|
+
* Always `write`. Selects the write tool, which writes a file.
|
|
31646
|
+
*/
|
|
31647
|
+
type: 'write';
|
|
31648
|
+
};
|
|
31649
|
+
export type AgentManaged49 = {
|
|
31650
|
+
/**
|
|
31651
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
31652
|
+
*/
|
|
31653
|
+
enabled: boolean;
|
|
31654
|
+
/**
|
|
31655
|
+
* Name of the native tool this entry configures.
|
|
31656
|
+
*/
|
|
31657
|
+
name: 'glob';
|
|
31658
|
+
/**
|
|
31659
|
+
* Permission policy for tool execution.
|
|
31660
|
+
*/
|
|
31661
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
31662
|
+
/**
|
|
31663
|
+
* Always `glob`. Selects the glob tool, which finds files by name pattern.
|
|
31664
|
+
*/
|
|
31665
|
+
type: 'glob';
|
|
31666
|
+
};
|
|
31667
|
+
export type AgentManaged50 = {
|
|
31668
|
+
/**
|
|
31669
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
31670
|
+
*/
|
|
31671
|
+
enabled: boolean;
|
|
31672
|
+
/**
|
|
31673
|
+
* Name of the native tool this entry configures.
|
|
31674
|
+
*/
|
|
31675
|
+
name: 'grep';
|
|
31676
|
+
/**
|
|
31677
|
+
* Permission policy for tool execution.
|
|
31678
|
+
*/
|
|
31679
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
31680
|
+
/**
|
|
31681
|
+
* Always `grep`. Selects the grep tool, which searches file contents.
|
|
31682
|
+
*/
|
|
31683
|
+
type: 'grep';
|
|
31684
|
+
};
|
|
31685
|
+
export type AgentManaged51 = {
|
|
31686
|
+
/**
|
|
31687
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
31688
|
+
*/
|
|
31689
|
+
enabled: boolean;
|
|
31690
|
+
/**
|
|
31691
|
+
* Name of the native tool this entry configures.
|
|
31692
|
+
*/
|
|
31693
|
+
name: 'web_fetch';
|
|
31694
|
+
/**
|
|
31695
|
+
* Permission policy for tool execution.
|
|
31696
|
+
*/
|
|
31697
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
31698
|
+
/**
|
|
31699
|
+
* Always `web_fetch`. Selects the web_fetch tool, which fetches a web page.
|
|
31700
|
+
*/
|
|
31701
|
+
type: 'web_fetch';
|
|
31702
|
+
/**
|
|
31703
|
+
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
31704
|
+
*/
|
|
31705
|
+
allowed_domains?: Array<string>;
|
|
31706
|
+
/**
|
|
31707
|
+
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
31708
|
+
*/
|
|
31709
|
+
blocked_domains?: Array<string>;
|
|
31710
|
+
/**
|
|
31711
|
+
* Maximum number of tokens of fetched text content included in context per call; does not apply to binary content such as PDFs. Null for no explicit limit.
|
|
31712
|
+
*/
|
|
31713
|
+
max_content_tokens?: null | number;
|
|
31714
|
+
};
|
|
31715
|
+
export type AgentManaged52 = {
|
|
31716
|
+
/**
|
|
31717
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
31718
|
+
*/
|
|
31719
|
+
enabled: boolean;
|
|
31720
|
+
/**
|
|
31721
|
+
* Name of the native tool this entry configures.
|
|
31722
|
+
*/
|
|
31723
|
+
name: 'web_search';
|
|
31724
|
+
/**
|
|
31725
|
+
* Permission policy for tool execution.
|
|
31726
|
+
*/
|
|
31727
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
31728
|
+
/**
|
|
31729
|
+
* Always `web_search`. Selects the web_search tool, which searches the web.
|
|
31730
|
+
*/
|
|
31731
|
+
type: 'web_search';
|
|
31732
|
+
/**
|
|
31733
|
+
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
31734
|
+
*/
|
|
31735
|
+
allowed_domains?: Array<string>;
|
|
31736
|
+
/**
|
|
31737
|
+
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
31738
|
+
*/
|
|
31739
|
+
blocked_domains?: Array<string>;
|
|
31740
|
+
/**
|
|
31741
|
+
* Approximate user location for search result localization.
|
|
31742
|
+
*/
|
|
31743
|
+
user_location?: null | AgentManaged27;
|
|
31744
|
+
};
|
|
31745
|
+
/**
|
|
31746
|
+
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
31747
|
+
*/
|
|
31748
|
+
export type AgentManaged53 = {
|
|
31749
|
+
/**
|
|
31750
|
+
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
31751
|
+
*/
|
|
31752
|
+
enabled: boolean;
|
|
31753
|
+
/**
|
|
31754
|
+
* Permission policy for tool execution.
|
|
31755
|
+
*/
|
|
31756
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
31757
|
+
};
|
|
31758
|
+
/**
|
|
31759
|
+
* JSON Schema of the custom tool's input object, passed to the model as the tool's parameters.
|
|
31760
|
+
*/
|
|
31761
|
+
export type AgentManaged33 = {
|
|
31762
|
+
/**
|
|
31763
|
+
* Always `object`. The input is a JSON object.
|
|
31764
|
+
*/
|
|
31765
|
+
type: 'object';
|
|
31766
|
+
/**
|
|
31767
|
+
* JSON Schema of each input property, keyed by property name.
|
|
31768
|
+
*/
|
|
31769
|
+
properties?: null | AgentManaged34;
|
|
31770
|
+
/**
|
|
31771
|
+
* Names of the input properties the model must supply.
|
|
31772
|
+
*/
|
|
31773
|
+
required?: null | Array<string>;
|
|
31774
|
+
[key: string]: unknown;
|
|
31775
|
+
};
|
|
31776
31776
|
export type AgentManaged80 = {
|
|
31777
31777
|
/**
|
|
31778
31778
|
* Branch name to check out.
|
|
@@ -31819,6 +31819,23 @@ export type AgentManaged181 = {
|
|
|
31819
31819
|
*/
|
|
31820
31820
|
web_search_requests?: number;
|
|
31821
31821
|
};
|
|
31822
|
+
/**
|
|
31823
|
+
* Agent definition the session uses after the change; null when unchanged.
|
|
31824
|
+
*/
|
|
31825
|
+
export type AgentManaged40 = {
|
|
31826
|
+
/**
|
|
31827
|
+
* Agent id (agent_...). Pass it as agent when creating a session and as agent_id in agent calls.
|
|
31828
|
+
*/
|
|
31829
|
+
id: string;
|
|
31830
|
+
/**
|
|
31831
|
+
* Always `agent`. A roster member that refers to an agent by id and pinned version.
|
|
31832
|
+
*/
|
|
31833
|
+
type: 'agent';
|
|
31834
|
+
/**
|
|
31835
|
+
* The latest saved version of the agent, the editable head; it differs from active_version after a save with apply false. Starts at 1 and increments each time the agent is modified.
|
|
31836
|
+
*/
|
|
31837
|
+
version: number;
|
|
31838
|
+
};
|
|
31822
31839
|
export type AgentManaged11 = {
|
|
31823
31840
|
/**
|
|
31824
31841
|
* Reference to the agent being created or updated as a member of its own roster.
|
|
@@ -39221,49 +39238,6 @@ export type AgentManaged215 = {
|
|
|
39221
39238
|
*/
|
|
39222
39239
|
type: 'terminal';
|
|
39223
39240
|
};
|
|
39224
|
-
export type AgentManaged17 = {
|
|
39225
|
-
/**
|
|
39226
|
-
* Permission policy that allows a tool call without confirmation, subject to the session permission mode and rules.
|
|
39227
|
-
*/
|
|
39228
|
-
type: 'always_allow';
|
|
39229
|
-
};
|
|
39230
|
-
export type AgentManaged18 = {
|
|
39231
|
-
/**
|
|
39232
|
-
* Permission policy that requests confirmation before a tool call, subject to the session permission mode and rules.
|
|
39233
|
-
*/
|
|
39234
|
-
type: 'always_ask';
|
|
39235
|
-
};
|
|
39236
|
-
export type AgentManaged19 = {
|
|
39237
|
-
/**
|
|
39238
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
39239
|
-
*/
|
|
39240
|
-
type: 'auto';
|
|
39241
|
-
};
|
|
39242
|
-
export type AgentManaged27 = {
|
|
39243
|
-
/**
|
|
39244
|
-
* Approximate user location for localizing web search results.
|
|
39245
|
-
*/
|
|
39246
|
-
type: 'approximate';
|
|
39247
|
-
/**
|
|
39248
|
-
* City name.
|
|
39249
|
-
*/
|
|
39250
|
-
city?: null | string;
|
|
39251
|
-
/**
|
|
39252
|
-
* Two-letter ISO 3166-1 country code, uppercase.
|
|
39253
|
-
*/
|
|
39254
|
-
country?: null | string;
|
|
39255
|
-
/**
|
|
39256
|
-
* Region or state name.
|
|
39257
|
-
*/
|
|
39258
|
-
region?: null | string;
|
|
39259
|
-
/**
|
|
39260
|
-
* IANA timezone identifier, e.g. "America/Los_Angeles".
|
|
39261
|
-
*/
|
|
39262
|
-
timezone?: null | string;
|
|
39263
|
-
};
|
|
39264
|
-
export type AgentManaged34 = {
|
|
39265
|
-
[key: string]: unknown;
|
|
39266
|
-
};
|
|
39267
39241
|
export type OwnFileMisalignmentErrorDetailsResource = {
|
|
39268
39242
|
/**
|
|
39269
39243
|
* An optional classification; clients must accept additional values.
|
|
@@ -43010,6 +42984,49 @@ export type OrganizationChainManager = {
|
|
|
43010
42984
|
* Action taken when the sandbox times out.
|
|
43011
42985
|
*/
|
|
43012
42986
|
export type SandboxSandboxOnTimeout = 'kill' | 'pause';
|
|
42987
|
+
export type AgentManaged17 = {
|
|
42988
|
+
/**
|
|
42989
|
+
* Permission policy that allows a tool call without confirmation, subject to the session permission mode and rules.
|
|
42990
|
+
*/
|
|
42991
|
+
type: 'always_allow';
|
|
42992
|
+
};
|
|
42993
|
+
export type AgentManaged18 = {
|
|
42994
|
+
/**
|
|
42995
|
+
* Permission policy that requests confirmation before a tool call, subject to the session permission mode and rules.
|
|
42996
|
+
*/
|
|
42997
|
+
type: 'always_ask';
|
|
42998
|
+
};
|
|
42999
|
+
export type AgentManaged19 = {
|
|
43000
|
+
/**
|
|
43001
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
43002
|
+
*/
|
|
43003
|
+
type: 'auto';
|
|
43004
|
+
};
|
|
43005
|
+
export type AgentManaged27 = {
|
|
43006
|
+
/**
|
|
43007
|
+
* Approximate user location for localizing web search results.
|
|
43008
|
+
*/
|
|
43009
|
+
type: 'approximate';
|
|
43010
|
+
/**
|
|
43011
|
+
* City name.
|
|
43012
|
+
*/
|
|
43013
|
+
city?: null | string;
|
|
43014
|
+
/**
|
|
43015
|
+
* Two-letter ISO 3166-1 country code, uppercase.
|
|
43016
|
+
*/
|
|
43017
|
+
country?: null | string;
|
|
43018
|
+
/**
|
|
43019
|
+
* Region or state name.
|
|
43020
|
+
*/
|
|
43021
|
+
region?: null | string;
|
|
43022
|
+
/**
|
|
43023
|
+
* IANA timezone identifier, e.g. "America/Los_Angeles".
|
|
43024
|
+
*/
|
|
43025
|
+
timezone?: null | string;
|
|
43026
|
+
};
|
|
43027
|
+
export type AgentManaged34 = {
|
|
43028
|
+
[key: string]: unknown;
|
|
43029
|
+
};
|
|
43013
43030
|
export type AgentManaged140 = {
|
|
43014
43031
|
/**
|
|
43015
43032
|
* Permits outbound access to MCP server endpoints configured on the agent, beyond
|
|
@@ -46344,12 +46361,6 @@ export type AgentManaged206Writable = {
|
|
|
46344
46361
|
export type AgentManaged246Writable = {
|
|
46345
46362
|
[key: string]: string;
|
|
46346
46363
|
};
|
|
46347
|
-
/**
|
|
46348
|
-
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
46349
|
-
*/
|
|
46350
|
-
export type AgentManaged37Writable = {
|
|
46351
|
-
[key: string]: string;
|
|
46352
|
-
};
|
|
46353
46364
|
/**
|
|
46354
46365
|
* Models to use for completion
|
|
46355
46366
|
*/
|
|
@@ -46363,6 +46374,12 @@ export type AgentManaged173Writable = {
|
|
|
46363
46374
|
export type AgentManaged183Writable = {
|
|
46364
46375
|
[key: string]: null | string;
|
|
46365
46376
|
};
|
|
46377
|
+
/**
|
|
46378
|
+
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
46379
|
+
*/
|
|
46380
|
+
export type AgentManaged37Writable = {
|
|
46381
|
+
[key: string]: string;
|
|
46382
|
+
};
|
|
46366
46383
|
/**
|
|
46367
46384
|
* Free-form string key/value pairs.
|
|
46368
46385
|
*/
|
|
@@ -47942,10 +47959,6 @@ export type ListAgentEventsResponses = {
|
|
|
47942
47959
|
*/
|
|
47943
47960
|
message_id?: string;
|
|
47944
47961
|
} | {
|
|
47945
|
-
/**
|
|
47946
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
47947
|
-
*/
|
|
47948
|
-
full_access_available?: boolean;
|
|
47949
47962
|
/**
|
|
47950
47963
|
* Unique identifier for this event.
|
|
47951
47964
|
*/
|
|
@@ -47987,6 +48000,48 @@ export type ListAgentEventsResponses = {
|
|
|
47987
48000
|
* `user.tool_confirmation` by `tool_use_id`, so clients do not send it back.
|
|
47988
48001
|
*/
|
|
47989
48002
|
session_thread_id?: null | string;
|
|
48003
|
+
/**
|
|
48004
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
48005
|
+
*/
|
|
48006
|
+
permission_suggestions?: Array<{
|
|
48007
|
+
/**
|
|
48008
|
+
* add_rules adds the offered allow rules.
|
|
48009
|
+
*/
|
|
48010
|
+
type: 'add_rules';
|
|
48011
|
+
/**
|
|
48012
|
+
* allow grants permission for matching calls.
|
|
48013
|
+
*/
|
|
48014
|
+
behavior: 'allow';
|
|
48015
|
+
/**
|
|
48016
|
+
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
48017
|
+
*/
|
|
48018
|
+
destination: 'agent' | 'session';
|
|
48019
|
+
/**
|
|
48020
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
48021
|
+
*/
|
|
48022
|
+
rules: Array<{
|
|
48023
|
+
/**
|
|
48024
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
48025
|
+
*/
|
|
48026
|
+
tool_name: string;
|
|
48027
|
+
/**
|
|
48028
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
48029
|
+
*/
|
|
48030
|
+
rule_content: string;
|
|
48031
|
+
}>;
|
|
48032
|
+
}>;
|
|
48033
|
+
/**
|
|
48034
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
48035
|
+
*/
|
|
48036
|
+
full_access_available?: boolean;
|
|
48037
|
+
/**
|
|
48038
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
48039
|
+
*/
|
|
48040
|
+
user_once?: true;
|
|
48041
|
+
/**
|
|
48042
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
48043
|
+
*/
|
|
48044
|
+
guarded_rule?: string;
|
|
47990
48045
|
/**
|
|
47991
48046
|
* Run that produced this event; null when no run identity was recorded.
|
|
47992
48047
|
*/
|
|
@@ -48024,44 +48079,6 @@ export type ListAgentEventsResponses = {
|
|
|
48024
48079
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
48025
48080
|
*/
|
|
48026
48081
|
parent_tool_use_id?: string;
|
|
48027
|
-
/**
|
|
48028
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
48029
|
-
*/
|
|
48030
|
-
user_once?: true;
|
|
48031
|
-
/**
|
|
48032
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
48033
|
-
*/
|
|
48034
|
-
guarded_rule?: string;
|
|
48035
|
-
/**
|
|
48036
|
-
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
48037
|
-
*/
|
|
48038
|
-
permission_suggestions?: Array<{
|
|
48039
|
-
/**
|
|
48040
|
-
* add_rules adds the offered allow rules.
|
|
48041
|
-
*/
|
|
48042
|
-
type: 'add_rules';
|
|
48043
|
-
/**
|
|
48044
|
-
* allow grants permission for matching calls.
|
|
48045
|
-
*/
|
|
48046
|
-
behavior: 'allow';
|
|
48047
|
-
/**
|
|
48048
|
-
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
48049
|
-
*/
|
|
48050
|
-
destination: 'agent' | 'session';
|
|
48051
|
-
/**
|
|
48052
|
-
* The complete set of rules from one offered suggestion, without changes.
|
|
48053
|
-
*/
|
|
48054
|
-
rules: Array<{
|
|
48055
|
-
/**
|
|
48056
|
-
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
48057
|
-
*/
|
|
48058
|
-
tool_name: string;
|
|
48059
|
-
/**
|
|
48060
|
-
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
48061
|
-
*/
|
|
48062
|
-
rule_content: string;
|
|
48063
|
-
}>;
|
|
48064
|
-
}>;
|
|
48065
48082
|
/**
|
|
48066
48083
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
48067
48084
|
*/
|
|
@@ -48116,10 +48133,6 @@ export type ListAgentEventsResponses = {
|
|
|
48116
48133
|
*/
|
|
48117
48134
|
source?: 'app' | 'codemode';
|
|
48118
48135
|
} | {
|
|
48119
|
-
/**
|
|
48120
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
48121
|
-
*/
|
|
48122
|
-
full_access_available?: boolean;
|
|
48123
48136
|
/**
|
|
48124
48137
|
* Unique identifier for this event.
|
|
48125
48138
|
*/
|
|
@@ -48158,18 +48171,6 @@ export type ListAgentEventsResponses = {
|
|
|
48158
48171
|
* not send it back.
|
|
48159
48172
|
*/
|
|
48160
48173
|
session_thread_id?: null | string;
|
|
48161
|
-
/**
|
|
48162
|
-
* Run that produced this event; null when no run identity was recorded.
|
|
48163
|
-
*/
|
|
48164
|
-
run_id: string | null;
|
|
48165
|
-
/**
|
|
48166
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
48167
|
-
*/
|
|
48168
|
-
user_once?: true;
|
|
48169
|
-
/**
|
|
48170
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
48171
|
-
*/
|
|
48172
|
-
guarded_rule?: string;
|
|
48173
48174
|
/**
|
|
48174
48175
|
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
48175
48176
|
*/
|
|
@@ -48200,6 +48201,22 @@ export type ListAgentEventsResponses = {
|
|
|
48200
48201
|
rule_content: string;
|
|
48201
48202
|
}>;
|
|
48202
48203
|
}>;
|
|
48204
|
+
/**
|
|
48205
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
48206
|
+
*/
|
|
48207
|
+
full_access_available?: boolean;
|
|
48208
|
+
/**
|
|
48209
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
48210
|
+
*/
|
|
48211
|
+
user_once?: true;
|
|
48212
|
+
/**
|
|
48213
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
48214
|
+
*/
|
|
48215
|
+
guarded_rule?: string;
|
|
48216
|
+
/**
|
|
48217
|
+
* Run that produced this event; null when no run identity was recorded.
|
|
48218
|
+
*/
|
|
48219
|
+
run_id: string | null;
|
|
48203
48220
|
} | {
|
|
48204
48221
|
/**
|
|
48205
48222
|
* Unique identifier for this event.
|
|
@@ -48268,18 +48285,6 @@ export type ListAgentEventsResponses = {
|
|
|
48268
48285
|
*/
|
|
48269
48286
|
run_id: string | null;
|
|
48270
48287
|
} | AgentManaged230 | AgentManaged231 | AgentManaged232 | AgentManaged233 | AgentManaged235 | AgentManaged236 | AgentManaged237 | AgentManaged238 | AgentManaged239 | AgentManaged240 | AgentManaged241 | AgentManaged242 | AgentManaged243 | AgentManaged244 | {
|
|
48271
|
-
/**
|
|
48272
|
-
* Monotone permission-mode version, incremented once per mode update.
|
|
48273
|
-
*/
|
|
48274
|
-
permission_mode_version?: number;
|
|
48275
|
-
/**
|
|
48276
|
-
* The permission mode before this change, or null when none was selected.
|
|
48277
|
-
*/
|
|
48278
|
-
previous_permission_mode?: string | null;
|
|
48279
|
-
/**
|
|
48280
|
-
* The new native session permission mode; null restores configured tool policies.
|
|
48281
|
-
*/
|
|
48282
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
48283
48288
|
/**
|
|
48284
48289
|
* Unique identifier for this event.
|
|
48285
48290
|
*/
|
|
@@ -48311,6 +48316,18 @@ export type ListAgentEventsResponses = {
|
|
|
48311
48316
|
* The session's new title. Present only when the update changed it.
|
|
48312
48317
|
*/
|
|
48313
48318
|
title?: null | string;
|
|
48319
|
+
/**
|
|
48320
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
48321
|
+
*/
|
|
48322
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
48323
|
+
/**
|
|
48324
|
+
* The permission mode before this change, or null when none was selected.
|
|
48325
|
+
*/
|
|
48326
|
+
previous_permission_mode?: string | null;
|
|
48327
|
+
/**
|
|
48328
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
48329
|
+
*/
|
|
48330
|
+
permission_mode_version?: number;
|
|
48314
48331
|
/**
|
|
48315
48332
|
* Praxis extension: the changed session model, present only on /agent/v1 session.updated events. Model-only updates are omitted on /anthropic.
|
|
48316
48333
|
*/
|
|
@@ -49109,10 +49126,88 @@ export type ApplyAgentVersionResponses = {
|
|
|
49109
49126
|
*/
|
|
49110
49127
|
description: null | string;
|
|
49111
49128
|
/**
|
|
49112
|
-
* Praxis extension: HTTP, SSE or trusted stdio MCP servers
|
|
49129
|
+
* Praxis extension: Streamable HTTP, SSE or trusted stdio MCP servers, persisted with the agent version. Optional fields remain omitted when not supplied.
|
|
49113
49130
|
*/
|
|
49114
|
-
mcp_servers: Array<
|
|
49115
|
-
|
|
49131
|
+
mcp_servers: Array<{
|
|
49132
|
+
/**
|
|
49133
|
+
* Streamable HTTP transport.
|
|
49134
|
+
*/
|
|
49135
|
+
type: 'url';
|
|
49136
|
+
/**
|
|
49137
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
49138
|
+
*/
|
|
49139
|
+
name: string;
|
|
49140
|
+
/**
|
|
49141
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
49142
|
+
*/
|
|
49143
|
+
url: string;
|
|
49144
|
+
/**
|
|
49145
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
49146
|
+
*/
|
|
49147
|
+
headers?: {
|
|
49148
|
+
[key: string]: string;
|
|
49149
|
+
};
|
|
49150
|
+
/**
|
|
49151
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
49152
|
+
*/
|
|
49153
|
+
timeout_ms?: number;
|
|
49154
|
+
} | {
|
|
49155
|
+
/**
|
|
49156
|
+
* Legacy SSE transport.
|
|
49157
|
+
*/
|
|
49158
|
+
type: 'sse';
|
|
49159
|
+
/**
|
|
49160
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
49161
|
+
*/
|
|
49162
|
+
name: string;
|
|
49163
|
+
/**
|
|
49164
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
49165
|
+
*/
|
|
49166
|
+
url: string;
|
|
49167
|
+
/**
|
|
49168
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
49169
|
+
*/
|
|
49170
|
+
headers?: {
|
|
49171
|
+
[key: string]: string;
|
|
49172
|
+
};
|
|
49173
|
+
/**
|
|
49174
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
49175
|
+
*/
|
|
49176
|
+
timeout_ms?: number;
|
|
49177
|
+
} | {
|
|
49178
|
+
/**
|
|
49179
|
+
* Run a command on the agent computer.
|
|
49180
|
+
*/
|
|
49181
|
+
type: 'stdio';
|
|
49182
|
+
/**
|
|
49183
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
49184
|
+
*/
|
|
49185
|
+
name: string;
|
|
49186
|
+
/**
|
|
49187
|
+
* Executable command on the agent computer.
|
|
49188
|
+
*/
|
|
49189
|
+
command: string;
|
|
49190
|
+
/**
|
|
49191
|
+
* Command arguments; omitted means no arguments.
|
|
49192
|
+
*/
|
|
49193
|
+
args?: Array<string>;
|
|
49194
|
+
/**
|
|
49195
|
+
* Praxis extension: environment variables for the command on the agent computer.
|
|
49196
|
+
*/
|
|
49197
|
+
env?: {
|
|
49198
|
+
[key: string]: string;
|
|
49199
|
+
};
|
|
49200
|
+
/**
|
|
49201
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
49202
|
+
*/
|
|
49203
|
+
timeout_ms?: number;
|
|
49204
|
+
}>;
|
|
49205
|
+
/**
|
|
49206
|
+
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
49207
|
+
*/
|
|
49208
|
+
metadata: {
|
|
49209
|
+
[key: string]: string;
|
|
49210
|
+
};
|
|
49116
49211
|
/**
|
|
49117
49212
|
* Model identifier and configuration.
|
|
49118
49213
|
*/
|
|
@@ -49125,7 +49220,32 @@ export type ApplyAgentVersionResponses = {
|
|
|
49125
49220
|
* How hard Claude works on each turn. Sets `output_config.effort` on every
|
|
49126
49221
|
* Messages call the session makes.
|
|
49127
49222
|
*/
|
|
49128
|
-
effort?:
|
|
49223
|
+
effort?: {
|
|
49224
|
+
/**
|
|
49225
|
+
* Always `low`. Lowest reasoning effort of the supported levels.
|
|
49226
|
+
*/
|
|
49227
|
+
type: 'low';
|
|
49228
|
+
} | {
|
|
49229
|
+
/**
|
|
49230
|
+
* Always `medium`. Middle reasoning effort.
|
|
49231
|
+
*/
|
|
49232
|
+
type: 'medium';
|
|
49233
|
+
} | {
|
|
49234
|
+
/**
|
|
49235
|
+
* Always `high`. High reasoning effort.
|
|
49236
|
+
*/
|
|
49237
|
+
type: 'high';
|
|
49238
|
+
} | {
|
|
49239
|
+
/**
|
|
49240
|
+
* Always `xhigh`. Extra-high reasoning effort, above high; only models that list it in thinking.efforts accept it.
|
|
49241
|
+
*/
|
|
49242
|
+
type: 'xhigh';
|
|
49243
|
+
} | {
|
|
49244
|
+
/**
|
|
49245
|
+
* Always `max`. Maximum effort level of the Managed Agents shape, above xhigh.
|
|
49246
|
+
*/
|
|
49247
|
+
type: 'max';
|
|
49248
|
+
};
|
|
49129
49249
|
/**
|
|
49130
49250
|
* Geographic region for model inference. When unset, requests fall through to the
|
|
49131
49251
|
* workspace's default_inference_geo.
|
|
@@ -49145,12 +49265,48 @@ export type ApplyAgentVersionResponses = {
|
|
|
49145
49265
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
49146
49266
|
*/
|
|
49147
49267
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
49268
|
+
/**
|
|
49269
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
49270
|
+
*/
|
|
49271
|
+
max_output_tokens?: number;
|
|
49148
49272
|
};
|
|
49149
49273
|
};
|
|
49150
49274
|
/**
|
|
49151
49275
|
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
49152
49276
|
*/
|
|
49153
|
-
multiagent?: null |
|
|
49277
|
+
multiagent?: null | {
|
|
49278
|
+
/**
|
|
49279
|
+
* Agents the coordinator may spawn as session threads, each resolved to a specific
|
|
49280
|
+
* version.
|
|
49281
|
+
*/
|
|
49282
|
+
agents: Array<{
|
|
49283
|
+
/**
|
|
49284
|
+
* Agent id (agent_...). Pass it as agent when creating a session and as agent_id in agent calls.
|
|
49285
|
+
*/
|
|
49286
|
+
id: string;
|
|
49287
|
+
/**
|
|
49288
|
+
* Always `agent`. A roster member that refers to an agent by id and pinned version.
|
|
49289
|
+
*/
|
|
49290
|
+
type: 'agent';
|
|
49291
|
+
/**
|
|
49292
|
+
* The latest saved version of the agent, the editable head; it differs from active_version after a save with apply false. Starts at 1 and increments each time the agent is modified.
|
|
49293
|
+
*/
|
|
49294
|
+
version: number;
|
|
49295
|
+
} | {
|
|
49296
|
+
/**
|
|
49297
|
+
* The advisor model id.
|
|
49298
|
+
*/
|
|
49299
|
+
model: string;
|
|
49300
|
+
/**
|
|
49301
|
+
* Always `advisor`. An advisor whose model is consulted for advice in a separate thread (at most one per coordinator).
|
|
49302
|
+
*/
|
|
49303
|
+
type: 'advisor';
|
|
49304
|
+
}>;
|
|
49305
|
+
/**
|
|
49306
|
+
* Always `coordinator`. The agent coordinates the roster in agents and can delegate to its members.
|
|
49307
|
+
*/
|
|
49308
|
+
type: 'coordinator';
|
|
49309
|
+
};
|
|
49154
49310
|
/**
|
|
49155
49311
|
* Display name of the agent, as set on create or update. It is a label, not a unique key.
|
|
49156
49312
|
*/
|
|
@@ -49158,7 +49314,33 @@ export type ApplyAgentVersionResponses = {
|
|
|
49158
49314
|
/**
|
|
49159
49315
|
* Custom skills attached to the agent, each {type: "custom", skill_id, version?}: skill_id comes from skills.create or skills.list, at most 20 skills, no repeated skill_id. Omit version, or send "latest", to use the skill's newest version at the moment a session starts; a pinned version stays fixed. type anthropic returns 400: upload the skill and attach it as custom. On update, omit the field to keep the list, send an array to replace it, or send [] or null to clear it.
|
|
49160
49316
|
*/
|
|
49161
|
-
skills: Array<
|
|
49317
|
+
skills: Array<{
|
|
49318
|
+
/**
|
|
49319
|
+
* Id of the skill to attach.
|
|
49320
|
+
*/
|
|
49321
|
+
skill_id: string;
|
|
49322
|
+
/**
|
|
49323
|
+
* Always `anthropic`. A skill provided by Anthropic, identified by skill_id.
|
|
49324
|
+
*/
|
|
49325
|
+
type: 'anthropic';
|
|
49326
|
+
/**
|
|
49327
|
+
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
49328
|
+
*/
|
|
49329
|
+
version: string;
|
|
49330
|
+
} | {
|
|
49331
|
+
/**
|
|
49332
|
+
* Id of the skill to attach.
|
|
49333
|
+
*/
|
|
49334
|
+
skill_id: string;
|
|
49335
|
+
/**
|
|
49336
|
+
* Always `custom`. A skill created by you, identified by skill_id.
|
|
49337
|
+
*/
|
|
49338
|
+
type: 'custom';
|
|
49339
|
+
/**
|
|
49340
|
+
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
49341
|
+
*/
|
|
49342
|
+
version: string;
|
|
49343
|
+
}>;
|
|
49162
49344
|
/**
|
|
49163
49345
|
* System prompt given to the model at the start of every session of this agent; null when none was set.
|
|
49164
49346
|
*/
|
|
@@ -49166,7 +49348,445 @@ export type ApplyAgentVersionResponses = {
|
|
|
49166
49348
|
/**
|
|
49167
49349
|
* Tools of the agent: one agent_toolset_20260401 entry for the native tools (all resolved settings are returned, ready to send back on update), plus mcp_toolset entries and custom tool definitions. Custom calls emit agent.custom_tool_use and wait for user.custom_tool_result. Keep bash enabled to use codemode, skill and subagents.
|
|
49168
49350
|
*/
|
|
49169
|
-
tools: Array<
|
|
49351
|
+
tools: Array<{
|
|
49352
|
+
/**
|
|
49353
|
+
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
49354
|
+
*/
|
|
49355
|
+
configs: Array<{
|
|
49356
|
+
/**
|
|
49357
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49358
|
+
*/
|
|
49359
|
+
enabled: boolean;
|
|
49360
|
+
/**
|
|
49361
|
+
* Name of the native tool this entry configures.
|
|
49362
|
+
*/
|
|
49363
|
+
name: 'bash';
|
|
49364
|
+
/**
|
|
49365
|
+
* Permission policy for tool execution.
|
|
49366
|
+
*/
|
|
49367
|
+
permission_policy: {
|
|
49368
|
+
/**
|
|
49369
|
+
* Always `always_allow`. Calls run without asking.
|
|
49370
|
+
*/
|
|
49371
|
+
type: 'always_allow';
|
|
49372
|
+
} | {
|
|
49373
|
+
/**
|
|
49374
|
+
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
49375
|
+
*/
|
|
49376
|
+
type: 'always_ask';
|
|
49377
|
+
} | {
|
|
49378
|
+
/**
|
|
49379
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
49380
|
+
*/
|
|
49381
|
+
type: 'auto';
|
|
49382
|
+
};
|
|
49383
|
+
/**
|
|
49384
|
+
* Always `bash`. Selects the bash tool, which runs shell commands in the session's machine.
|
|
49385
|
+
*/
|
|
49386
|
+
type: 'bash';
|
|
49387
|
+
} | {
|
|
49388
|
+
/**
|
|
49389
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49390
|
+
*/
|
|
49391
|
+
enabled: boolean;
|
|
49392
|
+
/**
|
|
49393
|
+
* Name of the native tool this entry configures.
|
|
49394
|
+
*/
|
|
49395
|
+
name: 'edit';
|
|
49396
|
+
/**
|
|
49397
|
+
* Permission policy for tool execution.
|
|
49398
|
+
*/
|
|
49399
|
+
permission_policy: {
|
|
49400
|
+
/**
|
|
49401
|
+
* Always `always_allow`. Calls run without asking.
|
|
49402
|
+
*/
|
|
49403
|
+
type: 'always_allow';
|
|
49404
|
+
} | {
|
|
49405
|
+
/**
|
|
49406
|
+
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
49407
|
+
*/
|
|
49408
|
+
type: 'always_ask';
|
|
49409
|
+
} | {
|
|
49410
|
+
/**
|
|
49411
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
49412
|
+
*/
|
|
49413
|
+
type: 'auto';
|
|
49414
|
+
};
|
|
49415
|
+
/**
|
|
49416
|
+
* Always `edit`. Selects the edit tool, which changes an existing file.
|
|
49417
|
+
*/
|
|
49418
|
+
type: 'edit';
|
|
49419
|
+
} | {
|
|
49420
|
+
/**
|
|
49421
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49422
|
+
*/
|
|
49423
|
+
enabled: boolean;
|
|
49424
|
+
/**
|
|
49425
|
+
* Name of the native tool this entry configures.
|
|
49426
|
+
*/
|
|
49427
|
+
name: 'read';
|
|
49428
|
+
/**
|
|
49429
|
+
* Permission policy for tool execution.
|
|
49430
|
+
*/
|
|
49431
|
+
permission_policy: {
|
|
49432
|
+
/**
|
|
49433
|
+
* Always `always_allow`. Calls run without asking.
|
|
49434
|
+
*/
|
|
49435
|
+
type: 'always_allow';
|
|
49436
|
+
} | {
|
|
49437
|
+
/**
|
|
49438
|
+
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
49439
|
+
*/
|
|
49440
|
+
type: 'always_ask';
|
|
49441
|
+
} | {
|
|
49442
|
+
/**
|
|
49443
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
49444
|
+
*/
|
|
49445
|
+
type: 'auto';
|
|
49446
|
+
};
|
|
49447
|
+
/**
|
|
49448
|
+
* Always `read`. Selects the read tool, which reads a file.
|
|
49449
|
+
*/
|
|
49450
|
+
type: 'read';
|
|
49451
|
+
} | {
|
|
49452
|
+
/**
|
|
49453
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49454
|
+
*/
|
|
49455
|
+
enabled: boolean;
|
|
49456
|
+
/**
|
|
49457
|
+
* Name of the native tool this entry configures.
|
|
49458
|
+
*/
|
|
49459
|
+
name: 'write';
|
|
49460
|
+
/**
|
|
49461
|
+
* Permission policy for tool execution.
|
|
49462
|
+
*/
|
|
49463
|
+
permission_policy: {
|
|
49464
|
+
/**
|
|
49465
|
+
* Always `always_allow`. Calls run without asking.
|
|
49466
|
+
*/
|
|
49467
|
+
type: 'always_allow';
|
|
49468
|
+
} | {
|
|
49469
|
+
/**
|
|
49470
|
+
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
49471
|
+
*/
|
|
49472
|
+
type: 'always_ask';
|
|
49473
|
+
} | {
|
|
49474
|
+
/**
|
|
49475
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
49476
|
+
*/
|
|
49477
|
+
type: 'auto';
|
|
49478
|
+
};
|
|
49479
|
+
/**
|
|
49480
|
+
* Always `write`. Selects the write tool, which writes a file.
|
|
49481
|
+
*/
|
|
49482
|
+
type: 'write';
|
|
49483
|
+
} | {
|
|
49484
|
+
/**
|
|
49485
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49486
|
+
*/
|
|
49487
|
+
enabled: boolean;
|
|
49488
|
+
/**
|
|
49489
|
+
* Name of the native tool this entry configures.
|
|
49490
|
+
*/
|
|
49491
|
+
name: 'glob';
|
|
49492
|
+
/**
|
|
49493
|
+
* Permission policy for tool execution.
|
|
49494
|
+
*/
|
|
49495
|
+
permission_policy: {
|
|
49496
|
+
/**
|
|
49497
|
+
* Always `always_allow`. Calls run without asking.
|
|
49498
|
+
*/
|
|
49499
|
+
type: 'always_allow';
|
|
49500
|
+
} | {
|
|
49501
|
+
/**
|
|
49502
|
+
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
49503
|
+
*/
|
|
49504
|
+
type: 'always_ask';
|
|
49505
|
+
} | {
|
|
49506
|
+
/**
|
|
49507
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
49508
|
+
*/
|
|
49509
|
+
type: 'auto';
|
|
49510
|
+
};
|
|
49511
|
+
/**
|
|
49512
|
+
* Always `glob`. Selects the glob tool, which finds files by name pattern.
|
|
49513
|
+
*/
|
|
49514
|
+
type: 'glob';
|
|
49515
|
+
} | {
|
|
49516
|
+
/**
|
|
49517
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49518
|
+
*/
|
|
49519
|
+
enabled: boolean;
|
|
49520
|
+
/**
|
|
49521
|
+
* Name of the native tool this entry configures.
|
|
49522
|
+
*/
|
|
49523
|
+
name: 'grep';
|
|
49524
|
+
/**
|
|
49525
|
+
* Permission policy for tool execution.
|
|
49526
|
+
*/
|
|
49527
|
+
permission_policy: {
|
|
49528
|
+
/**
|
|
49529
|
+
* Always `always_allow`. Calls run without asking.
|
|
49530
|
+
*/
|
|
49531
|
+
type: 'always_allow';
|
|
49532
|
+
} | {
|
|
49533
|
+
/**
|
|
49534
|
+
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
49535
|
+
*/
|
|
49536
|
+
type: 'always_ask';
|
|
49537
|
+
} | {
|
|
49538
|
+
/**
|
|
49539
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
49540
|
+
*/
|
|
49541
|
+
type: 'auto';
|
|
49542
|
+
};
|
|
49543
|
+
/**
|
|
49544
|
+
* Always `grep`. Selects the grep tool, which searches file contents.
|
|
49545
|
+
*/
|
|
49546
|
+
type: 'grep';
|
|
49547
|
+
} | {
|
|
49548
|
+
/**
|
|
49549
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49550
|
+
*/
|
|
49551
|
+
enabled: boolean;
|
|
49552
|
+
/**
|
|
49553
|
+
* Name of the native tool this entry configures.
|
|
49554
|
+
*/
|
|
49555
|
+
name: 'web_fetch';
|
|
49556
|
+
/**
|
|
49557
|
+
* Permission policy for tool execution.
|
|
49558
|
+
*/
|
|
49559
|
+
permission_policy: {
|
|
49560
|
+
/**
|
|
49561
|
+
* Always `always_allow`. Calls run without asking.
|
|
49562
|
+
*/
|
|
49563
|
+
type: 'always_allow';
|
|
49564
|
+
} | {
|
|
49565
|
+
/**
|
|
49566
|
+
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
49567
|
+
*/
|
|
49568
|
+
type: 'always_ask';
|
|
49569
|
+
} | {
|
|
49570
|
+
/**
|
|
49571
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
49572
|
+
*/
|
|
49573
|
+
type: 'auto';
|
|
49574
|
+
};
|
|
49575
|
+
/**
|
|
49576
|
+
* Always `web_fetch`. Selects the web_fetch tool, which fetches a web page.
|
|
49577
|
+
*/
|
|
49578
|
+
type: 'web_fetch';
|
|
49579
|
+
/**
|
|
49580
|
+
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
49581
|
+
*/
|
|
49582
|
+
allowed_domains?: Array<string>;
|
|
49583
|
+
/**
|
|
49584
|
+
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
49585
|
+
*/
|
|
49586
|
+
blocked_domains?: Array<string>;
|
|
49587
|
+
/**
|
|
49588
|
+
* Maximum number of tokens of fetched text content included in context per call; does not apply to binary content such as PDFs. Null for no explicit limit.
|
|
49589
|
+
*/
|
|
49590
|
+
max_content_tokens?: null | number;
|
|
49591
|
+
} | {
|
|
49592
|
+
/**
|
|
49593
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49594
|
+
*/
|
|
49595
|
+
enabled: boolean;
|
|
49596
|
+
/**
|
|
49597
|
+
* Name of the native tool this entry configures.
|
|
49598
|
+
*/
|
|
49599
|
+
name: 'web_search';
|
|
49600
|
+
/**
|
|
49601
|
+
* Permission policy for tool execution.
|
|
49602
|
+
*/
|
|
49603
|
+
permission_policy: {
|
|
49604
|
+
/**
|
|
49605
|
+
* Always `always_allow`. Calls run without asking.
|
|
49606
|
+
*/
|
|
49607
|
+
type: 'always_allow';
|
|
49608
|
+
} | {
|
|
49609
|
+
/**
|
|
49610
|
+
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
49611
|
+
*/
|
|
49612
|
+
type: 'always_ask';
|
|
49613
|
+
} | {
|
|
49614
|
+
/**
|
|
49615
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
49616
|
+
*/
|
|
49617
|
+
type: 'auto';
|
|
49618
|
+
};
|
|
49619
|
+
/**
|
|
49620
|
+
* Always `web_search`. Selects the web_search tool, which searches the web.
|
|
49621
|
+
*/
|
|
49622
|
+
type: 'web_search';
|
|
49623
|
+
/**
|
|
49624
|
+
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
49625
|
+
*/
|
|
49626
|
+
allowed_domains?: Array<string>;
|
|
49627
|
+
/**
|
|
49628
|
+
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
49629
|
+
*/
|
|
49630
|
+
blocked_domains?: Array<string>;
|
|
49631
|
+
/**
|
|
49632
|
+
* Approximate user location for search result localization.
|
|
49633
|
+
*/
|
|
49634
|
+
user_location?: null | {
|
|
49635
|
+
/**
|
|
49636
|
+
* Location precision. Only "approximate" is supported.
|
|
49637
|
+
*/
|
|
49638
|
+
type: 'approximate';
|
|
49639
|
+
/**
|
|
49640
|
+
* City name.
|
|
49641
|
+
*/
|
|
49642
|
+
city?: null | string;
|
|
49643
|
+
/**
|
|
49644
|
+
* Two-letter ISO 3166-1 country code, uppercase.
|
|
49645
|
+
*/
|
|
49646
|
+
country?: null | string;
|
|
49647
|
+
/**
|
|
49648
|
+
* Region or state name.
|
|
49649
|
+
*/
|
|
49650
|
+
region?: null | string;
|
|
49651
|
+
/**
|
|
49652
|
+
* IANA timezone identifier, e.g. "America/Los_Angeles".
|
|
49653
|
+
*/
|
|
49654
|
+
timezone?: null | string;
|
|
49655
|
+
};
|
|
49656
|
+
} | {
|
|
49657
|
+
/**
|
|
49658
|
+
* Name of the native tool this entry configures.
|
|
49659
|
+
*/
|
|
49660
|
+
name: 'task_output' | 'task_stop' | 'monitor' | 'agent' | 'send_message' | 'codemode' | 'skill';
|
|
49661
|
+
/**
|
|
49662
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49663
|
+
*/
|
|
49664
|
+
enabled: boolean;
|
|
49665
|
+
/**
|
|
49666
|
+
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
49667
|
+
*/
|
|
49668
|
+
permission_policy: {
|
|
49669
|
+
/**
|
|
49670
|
+
* Permission policy kind.
|
|
49671
|
+
*/
|
|
49672
|
+
type: 'always_allow' | 'always_ask';
|
|
49673
|
+
};
|
|
49674
|
+
}>;
|
|
49675
|
+
/**
|
|
49676
|
+
* Resolved default configuration for agent tools.
|
|
49677
|
+
*/
|
|
49678
|
+
default_config: {
|
|
49679
|
+
/**
|
|
49680
|
+
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
49681
|
+
*/
|
|
49682
|
+
enabled: boolean;
|
|
49683
|
+
/**
|
|
49684
|
+
* Permission policy for tool execution.
|
|
49685
|
+
*/
|
|
49686
|
+
permission_policy: {
|
|
49687
|
+
/**
|
|
49688
|
+
* Always `always_allow`. Calls run without asking.
|
|
49689
|
+
*/
|
|
49690
|
+
type: 'always_allow';
|
|
49691
|
+
} | {
|
|
49692
|
+
/**
|
|
49693
|
+
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
49694
|
+
*/
|
|
49695
|
+
type: 'always_ask';
|
|
49696
|
+
} | {
|
|
49697
|
+
/**
|
|
49698
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
49699
|
+
*/
|
|
49700
|
+
type: 'auto';
|
|
49701
|
+
};
|
|
49702
|
+
};
|
|
49703
|
+
/**
|
|
49704
|
+
* Always `agent_toolset_20260401`. The native toolset entry (bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message).
|
|
49705
|
+
*/
|
|
49706
|
+
type: 'agent_toolset_20260401';
|
|
49707
|
+
} | {
|
|
49708
|
+
/**
|
|
49709
|
+
* Always `mcp_toolset`. An entry that exposes the tools of one MCP server from mcp_servers.
|
|
49710
|
+
*/
|
|
49711
|
+
type: 'mcp_toolset';
|
|
49712
|
+
/**
|
|
49713
|
+
* Name of the MCP server in mcp_servers whose tools this entry exposes.
|
|
49714
|
+
*/
|
|
49715
|
+
mcp_server_name: string;
|
|
49716
|
+
/**
|
|
49717
|
+
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
49718
|
+
*/
|
|
49719
|
+
default_config?: {
|
|
49720
|
+
/**
|
|
49721
|
+
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
49722
|
+
*/
|
|
49723
|
+
enabled?: boolean | null;
|
|
49724
|
+
/**
|
|
49725
|
+
* Permission policy for tools that configs does not name: always_allow runs calls automatically, always_ask waits for user.tool_confirmation.
|
|
49726
|
+
*/
|
|
49727
|
+
permission_policy?: null | {
|
|
49728
|
+
/**
|
|
49729
|
+
* Permission policy kind.
|
|
49730
|
+
*/
|
|
49731
|
+
type: 'always_allow' | 'always_ask';
|
|
49732
|
+
};
|
|
49733
|
+
} | null;
|
|
49734
|
+
/**
|
|
49735
|
+
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
49736
|
+
*/
|
|
49737
|
+
configs?: Array<{
|
|
49738
|
+
/**
|
|
49739
|
+
* Bare tool name reported by the MCP server.
|
|
49740
|
+
*/
|
|
49741
|
+
name: string;
|
|
49742
|
+
/**
|
|
49743
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
49744
|
+
*/
|
|
49745
|
+
enabled?: boolean | null;
|
|
49746
|
+
/**
|
|
49747
|
+
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
49748
|
+
*/
|
|
49749
|
+
permission_policy?: null | {
|
|
49750
|
+
/**
|
|
49751
|
+
* Permission policy kind.
|
|
49752
|
+
*/
|
|
49753
|
+
type: 'always_allow' | 'always_ask';
|
|
49754
|
+
};
|
|
49755
|
+
}> | null;
|
|
49756
|
+
} | {
|
|
49757
|
+
/**
|
|
49758
|
+
* What the custom tool does and when the model should call it.
|
|
49759
|
+
*/
|
|
49760
|
+
description: string;
|
|
49761
|
+
/**
|
|
49762
|
+
* JSON Schema for custom tool input parameters.
|
|
49763
|
+
*/
|
|
49764
|
+
input_schema: {
|
|
49765
|
+
/**
|
|
49766
|
+
* Always `object`. The input is a JSON object.
|
|
49767
|
+
*/
|
|
49768
|
+
type: 'object';
|
|
49769
|
+
/**
|
|
49770
|
+
* JSON Schema of each input property, keyed by property name.
|
|
49771
|
+
*/
|
|
49772
|
+
properties?: null | {
|
|
49773
|
+
[key: string]: unknown;
|
|
49774
|
+
};
|
|
49775
|
+
/**
|
|
49776
|
+
* Names of the input properties the model must supply.
|
|
49777
|
+
*/
|
|
49778
|
+
required?: null | Array<string>;
|
|
49779
|
+
[key: string]: unknown;
|
|
49780
|
+
};
|
|
49781
|
+
/**
|
|
49782
|
+
* Name of the custom tool, as the model sees and calls it.
|
|
49783
|
+
*/
|
|
49784
|
+
name: string;
|
|
49785
|
+
/**
|
|
49786
|
+
* Always `custom`. A custom tool defined by name, description and input_schema; its calls are answered by the client with user.custom_tool_result.
|
|
49787
|
+
*/
|
|
49788
|
+
type: 'custom';
|
|
49789
|
+
}>;
|
|
49170
49790
|
/**
|
|
49171
49791
|
* Always `agent`. An agent definition.
|
|
49172
49792
|
*/
|
|
@@ -49260,9 +49880,31 @@ export type ApplyAgentVersionResponses = {
|
|
|
49260
49880
|
enabled?: boolean;
|
|
49261
49881
|
}>;
|
|
49262
49882
|
/**
|
|
49263
|
-
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session
|
|
49883
|
+
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Historical agents infer kind from their computer binding and read as general.
|
|
49264
49884
|
*/
|
|
49265
49885
|
kind: 'general' | 'service' | 'assume';
|
|
49886
|
+
/**
|
|
49887
|
+
* General agents only: the agent's computers, configured like its models. default is the template its Computer starts on; allowed lists the computers resize may switch to, and a resize to anything else is refused with COMPUTER_NOT_CONFIGURED. Omit on create for {default: base, allowed: Small base-small, Base base, Large base-large}; on update, omit to keep it, send an object to replace it as a whole. Service and assume agents return 400 computers is for general agents; service agents use environment_id. /agent/v1 only.
|
|
49888
|
+
*/
|
|
49889
|
+
computers?: {
|
|
49890
|
+
/**
|
|
49891
|
+
* Template of the computer the agent's Computer starts on; must be the template of one allowed entry.
|
|
49892
|
+
*/
|
|
49893
|
+
default: string;
|
|
49894
|
+
/**
|
|
49895
|
+
* Computers the agent may switch to with the computer tool's resize, in the order they are listed.
|
|
49896
|
+
*/
|
|
49897
|
+
allowed: Array<{
|
|
49898
|
+
/**
|
|
49899
|
+
* Sandbox template name from sandbox templates.list, such as base, base-large or data. light returns 400. A template appears once.
|
|
49900
|
+
*/
|
|
49901
|
+
template: string;
|
|
49902
|
+
/**
|
|
49903
|
+
* Display name people and the model use, such as Base or Large; unique within the list ignoring case.
|
|
49904
|
+
*/
|
|
49905
|
+
name: string;
|
|
49906
|
+
}>;
|
|
49907
|
+
};
|
|
49266
49908
|
/**
|
|
49267
49909
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
49268
49910
|
*/
|
|
@@ -49580,6 +50222,10 @@ export type ApplyAgentVersionResponses = {
|
|
|
49580
50222
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
49581
50223
|
*/
|
|
49582
50224
|
allowManagedPermissionRulesOnly?: boolean;
|
|
50225
|
+
/**
|
|
50226
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
50227
|
+
*/
|
|
50228
|
+
idleCompaction?: boolean;
|
|
49583
50229
|
/**
|
|
49584
50230
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
49585
50231
|
*/
|
|
@@ -49609,10 +50255,6 @@ export type ApplyAgentVersionResponses = {
|
|
|
49609
50255
|
*/
|
|
49610
50256
|
hooks?: Array<string>;
|
|
49611
50257
|
};
|
|
49612
|
-
/**
|
|
49613
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
49614
|
-
*/
|
|
49615
|
-
idleCompaction?: boolean;
|
|
49616
50258
|
/**
|
|
49617
50259
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
49618
50260
|
*/
|
|
@@ -49644,7 +50286,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
49644
50286
|
*/
|
|
49645
50287
|
environment_id?: string | null;
|
|
49646
50288
|
/**
|
|
49647
|
-
* Default vaults of this service 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.
|
|
50289
|
+
* 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.
|
|
49648
50290
|
*/
|
|
49649
50291
|
vault_ids?: Array<string>;
|
|
49650
50292
|
/**
|
|
@@ -49862,6 +50504,10 @@ export type UnarchiveAgentResponses = {
|
|
|
49862
50504
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
49863
50505
|
*/
|
|
49864
50506
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
50507
|
+
/**
|
|
50508
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
50509
|
+
*/
|
|
50510
|
+
max_output_tokens?: number;
|
|
49865
50511
|
};
|
|
49866
50512
|
};
|
|
49867
50513
|
/**
|
|
@@ -50473,9 +51119,31 @@ export type UnarchiveAgentResponses = {
|
|
|
50473
51119
|
enabled?: boolean;
|
|
50474
51120
|
}>;
|
|
50475
51121
|
/**
|
|
50476
|
-
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session
|
|
51122
|
+
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Historical agents infer kind from their computer binding and read as general.
|
|
50477
51123
|
*/
|
|
50478
51124
|
kind: 'general' | 'service' | 'assume';
|
|
51125
|
+
/**
|
|
51126
|
+
* General agents only: the agent's computers, configured like its models. default is the template its Computer starts on; allowed lists the computers resize may switch to, and a resize to anything else is refused with COMPUTER_NOT_CONFIGURED. Omit on create for {default: base, allowed: Small base-small, Base base, Large base-large}; on update, omit to keep it, send an object to replace it as a whole. Service and assume agents return 400 computers is for general agents; service agents use environment_id. /agent/v1 only.
|
|
51127
|
+
*/
|
|
51128
|
+
computers?: {
|
|
51129
|
+
/**
|
|
51130
|
+
* Template of the computer the agent's Computer starts on; must be the template of one allowed entry.
|
|
51131
|
+
*/
|
|
51132
|
+
default: string;
|
|
51133
|
+
/**
|
|
51134
|
+
* Computers the agent may switch to with the computer tool's resize, in the order they are listed.
|
|
51135
|
+
*/
|
|
51136
|
+
allowed: Array<{
|
|
51137
|
+
/**
|
|
51138
|
+
* Sandbox template name from sandbox templates.list, such as base, base-large or data. light returns 400. A template appears once.
|
|
51139
|
+
*/
|
|
51140
|
+
template: string;
|
|
51141
|
+
/**
|
|
51142
|
+
* Display name people and the model use, such as Base or Large; unique within the list ignoring case.
|
|
51143
|
+
*/
|
|
51144
|
+
name: string;
|
|
51145
|
+
}>;
|
|
51146
|
+
};
|
|
50479
51147
|
/**
|
|
50480
51148
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
50481
51149
|
*/
|
|
@@ -50793,6 +51461,10 @@ export type UnarchiveAgentResponses = {
|
|
|
50793
51461
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
50794
51462
|
*/
|
|
50795
51463
|
allowManagedPermissionRulesOnly?: boolean;
|
|
51464
|
+
/**
|
|
51465
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
51466
|
+
*/
|
|
51467
|
+
idleCompaction?: boolean;
|
|
50796
51468
|
/**
|
|
50797
51469
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
50798
51470
|
*/
|
|
@@ -50822,10 +51494,6 @@ export type UnarchiveAgentResponses = {
|
|
|
50822
51494
|
*/
|
|
50823
51495
|
hooks?: Array<string>;
|
|
50824
51496
|
};
|
|
50825
|
-
/**
|
|
50826
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
50827
|
-
*/
|
|
50828
|
-
idleCompaction?: boolean;
|
|
50829
51497
|
/**
|
|
50830
51498
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
50831
51499
|
*/
|
|
@@ -50857,7 +51525,7 @@ export type UnarchiveAgentResponses = {
|
|
|
50857
51525
|
*/
|
|
50858
51526
|
environment_id?: string | null;
|
|
50859
51527
|
/**
|
|
50860
|
-
* Default vaults of this service 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.
|
|
51528
|
+
* 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.
|
|
50861
51529
|
*/
|
|
50862
51530
|
vault_ids?: Array<string>;
|
|
50863
51531
|
/**
|
|
@@ -51820,329 +52488,6 @@ export type GetAgentAppearanceResponses = {
|
|
|
51820
52488
|
};
|
|
51821
52489
|
};
|
|
51822
52490
|
export type GetAgentAppearanceResponse = GetAgentAppearanceResponses[keyof GetAgentAppearanceResponses];
|
|
51823
|
-
export type CreateCustomerGrantCodeData = {
|
|
51824
|
-
body: {
|
|
51825
|
-
/**
|
|
51826
|
-
* Your stable, opaque identifier for the signed-in customer, such as your database user id. Do not use an email address or phone number. "auth" is reserved, and ids starting with anon_ are reserved for anonymous customers.
|
|
51827
|
-
*/
|
|
51828
|
-
customer_id: string;
|
|
51829
|
-
/**
|
|
51830
|
-
* Existing agent version that every token of this sign-in pins. Defaults to the agent's active_version when the code is issued.
|
|
51831
|
-
*/
|
|
51832
|
-
version?: number;
|
|
51833
|
-
/**
|
|
51834
|
-
* Budget for each session the customer starts, in the same shape as a session budget. Defaults to the embed policy session budget and cannot exceed its maximum.
|
|
51835
|
-
*/
|
|
51836
|
-
budget?: {
|
|
51837
|
-
/**
|
|
51838
|
-
* Budget kind; always limit.
|
|
51839
|
-
*/
|
|
51840
|
-
type: 'limit';
|
|
51841
|
-
/**
|
|
51842
|
-
* Spending limit of each session the customer starts.
|
|
51843
|
-
*/
|
|
51844
|
-
max_list_cost: {
|
|
51845
|
-
/**
|
|
51846
|
-
* Largest list cost of each session, in US dollars, as a decimal string with at most 2 fraction digits, e.g. "0.50". "0" lets the customer sign in without spending.
|
|
51847
|
-
*/
|
|
51848
|
-
amount: string;
|
|
51849
|
-
/**
|
|
51850
|
-
* Always USD.
|
|
51851
|
-
*/
|
|
51852
|
-
currency: 'USD';
|
|
51853
|
-
};
|
|
51854
|
-
};
|
|
51855
|
-
/**
|
|
51856
|
-
* Optional context the agent receives at the start of each session, as text blocks, limited to 8192 UTF-8 bytes in total.
|
|
51857
|
-
*/
|
|
51858
|
-
system_message?: Array<{
|
|
51859
|
-
/**
|
|
51860
|
-
* The text block kind; text is the only supported kind.
|
|
51861
|
-
*/
|
|
51862
|
-
type: 'text';
|
|
51863
|
-
/**
|
|
51864
|
-
* Context text about this customer. All blocks together must fit within 8192 UTF-8 bytes.
|
|
51865
|
-
*/
|
|
51866
|
-
text: string;
|
|
51867
|
-
}>;
|
|
51868
|
-
/**
|
|
51869
|
-
* Optional system prompt override, accepted only when the embed policy allows agent overrides.
|
|
51870
|
-
*/
|
|
51871
|
-
agent_override?: {
|
|
51872
|
-
/**
|
|
51873
|
-
* Replacement system prompt, or null to clear it for this sign-in.
|
|
51874
|
-
*/
|
|
51875
|
-
system: string | null;
|
|
51876
|
-
};
|
|
51877
|
-
/**
|
|
51878
|
-
* Up to 16 string pairs copied onto every session the customer starts. The playground key is reserved.
|
|
51879
|
-
*/
|
|
51880
|
-
metadata?: {
|
|
51881
|
-
[key: string]: string;
|
|
51882
|
-
};
|
|
51883
|
-
/**
|
|
51884
|
-
* Page origin, such as https://shop.example.com, that must be one of the agent policy's allowed_origins (or localhost when the policy allows it). When set, every token of this sign-in works only from exactly this origin. Omit to accept any policy origin.
|
|
51885
|
-
*/
|
|
51886
|
-
origin?: string;
|
|
51887
|
-
/**
|
|
51888
|
-
* Seconds the code stays redeemable, from 60 to 86400. Defaults to 900.
|
|
51889
|
-
*/
|
|
51890
|
-
expires_in?: number;
|
|
51891
|
-
/**
|
|
51892
|
-
* Total lifetime of the sign-in in seconds, from 3600 to 604800 (7 days). Tokens renew within it; after it the customer signs in again. Defaults to 604800.
|
|
51893
|
-
*/
|
|
51894
|
-
max_session_seconds?: number;
|
|
51895
|
-
/**
|
|
51896
|
-
* The current access token of the anonymous customer who used this agent before signing in. Their conversations become visible to the identified customer, and the anonymous sign-in ends at exchange.
|
|
51897
|
-
*/
|
|
51898
|
-
anonymous_access_token?: string;
|
|
51899
|
-
/**
|
|
51900
|
-
* Set true to also return hosted_url, a link to the agent's Hosted chat page that carries the code in its fragment. The page exchanges the code only when the customer clicks to start, so link previews in email or chat apps do not use it up. The agent must have an identity_number, and origin cannot be set: the code is bound to no origin. Defaults to false.
|
|
51901
|
-
*/
|
|
51902
|
-
hosted?: boolean;
|
|
51903
|
-
};
|
|
51904
|
-
path: {
|
|
51905
|
-
/**
|
|
51906
|
-
* Service agent id (agent_…) or its short identity number, from agent creation or listing. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_….
|
|
51907
|
-
*/
|
|
51908
|
-
agent_id: string;
|
|
51909
|
-
};
|
|
51910
|
-
query?: never;
|
|
51911
|
-
url: '/agent/v1/agents/{agent_id}/customers/auth/grant_codes';
|
|
51912
|
-
};
|
|
51913
|
-
export type CreateCustomerGrantCodeErrors = {
|
|
51914
|
-
/**
|
|
51915
|
-
* INVALID_PARAMS: an unknown field, a reserved or malformed customer_id, an origin outside the policy, a value outside its range, or an anonymous_access_token that is not a live anonymous token of this agent. The message names the field to correct.
|
|
51916
|
-
*/
|
|
51917
|
-
400: unknown;
|
|
51918
|
-
/**
|
|
51919
|
-
* Authenticate with your backend API key or a console session.
|
|
51920
|
-
*/
|
|
51921
|
-
401: unknown;
|
|
51922
|
-
/**
|
|
51923
|
-
* CUSTOMER_BLOCKED: the customer is on the agent's blocked list; unblock them in the console first.
|
|
51924
|
-
*/
|
|
51925
|
-
403: unknown;
|
|
51926
|
-
/**
|
|
51927
|
-
* The agent is not an active service agent of your organization, or the caller is a customer access token.
|
|
51928
|
-
*/
|
|
51929
|
-
404: unknown;
|
|
51930
|
-
};
|
|
51931
|
-
export type CreateCustomerGrantCodeResponses = {
|
|
51932
|
-
/**
|
|
51933
|
-
* The one-time grant code and its expiry. Only its hash is stored; it cannot be read again.
|
|
51934
|
-
*/
|
|
51935
|
-
201: {
|
|
51936
|
-
/**
|
|
51937
|
-
* Object type, always customer_grant_code.
|
|
51938
|
-
*/
|
|
51939
|
-
type: 'customer_grant_code';
|
|
51940
|
-
/**
|
|
51941
|
-
* One-time grant code (cgc_…). Hand it to Agent Kit in the browser, which exchanges it for an access token; it is never shown again.
|
|
51942
|
-
*/
|
|
51943
|
-
code: string;
|
|
51944
|
-
/**
|
|
51945
|
-
* The customer_id that the code signs in.
|
|
51946
|
-
*/
|
|
51947
|
-
customer_id: string;
|
|
51948
|
-
/**
|
|
51949
|
-
* RFC 3339 time after which the code can no longer be exchanged.
|
|
51950
|
-
*/
|
|
51951
|
-
expires_at: string;
|
|
51952
|
-
/**
|
|
51953
|
-
* Returned only when hosted is true: https://agent.praxisusercontent.com/a/{identity_number}?mode=hosted#grant={code}. Send it to the customer before expires_at; the code stays in the fragment and never reaches a server log.
|
|
51954
|
-
*/
|
|
51955
|
-
hosted_url?: string;
|
|
51956
|
-
};
|
|
51957
|
-
};
|
|
51958
|
-
export type CreateCustomerGrantCodeResponse = CreateCustomerGrantCodeResponses[keyof CreateCustomerGrantCodeResponses];
|
|
51959
|
-
export type CreateCustomerAccessTokenData = {
|
|
51960
|
-
/**
|
|
51961
|
-
* Exactly one of grant_code (a signed-in customer) or publishable_key (an anonymous visitor).
|
|
51962
|
-
*/
|
|
51963
|
-
body: {
|
|
51964
|
-
/**
|
|
51965
|
-
* The grant code your backend received from grant_codes. It works once.
|
|
51966
|
-
*/
|
|
51967
|
-
grant_code: string;
|
|
51968
|
-
} | {
|
|
51969
|
-
/**
|
|
51970
|
-
* The agent's publishable key, for a visitor who has not signed in. Creates a new anonymous customer.
|
|
51971
|
-
*/
|
|
51972
|
-
publishable_key: string;
|
|
51973
|
-
};
|
|
51974
|
-
headers?: {
|
|
51975
|
-
/**
|
|
51976
|
-
* Browser page origin. Required for publishable_key and for a grant code bound to an origin; it must be in the agent's allowed_origins.
|
|
51977
|
-
*/
|
|
51978
|
-
Origin?: string;
|
|
51979
|
-
};
|
|
51980
|
-
path: {
|
|
51981
|
-
/**
|
|
51982
|
-
* Service agent id (agent_…) or its short identity number, from agent creation or listing. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_….
|
|
51983
|
-
*/
|
|
51984
|
-
agent_id: string;
|
|
51985
|
-
};
|
|
51986
|
-
query?: never;
|
|
51987
|
-
url: '/agent/v1/agents/{agent_id}/customers/auth/access_tokens';
|
|
51988
|
-
};
|
|
51989
|
-
export type CreateCustomerAccessTokenErrors = {
|
|
51990
|
-
/**
|
|
51991
|
-
* INVALID_PARAMS: send exactly one of grant_code or publishable_key, nothing else.
|
|
51992
|
-
*/
|
|
51993
|
-
400: unknown;
|
|
51994
|
-
/**
|
|
51995
|
-
* GRANT_CODE_INVALID: the code is unknown, already used, expired or for another agent (one answer for all four); request a new grant code from your backend. UNAUTHENTICATED: the publishable key is unknown, disabled or for another agent.
|
|
51996
|
-
*/
|
|
51997
|
-
401: unknown;
|
|
51998
|
-
/**
|
|
51999
|
-
* EMBED_BUDGET_EXHAUSTED: the publishable key's daily spending cap is reached; wait for the UTC reset or ask the owner to raise it.
|
|
52000
|
-
*/
|
|
52001
|
-
402: unknown;
|
|
52002
|
-
/**
|
|
52003
|
-
* ORIGIN_NOT_ALLOWED or EMBED_ORIGIN_NOT_ALLOWED: call from the origin the code was issued for, or from one in the agent's allowed_origins. CUSTOMER_BLOCKED: the merchant blocked this customer.
|
|
52004
|
-
*/
|
|
52005
|
-
403: unknown;
|
|
52006
|
-
/**
|
|
52007
|
-
* EMBED_RATE_LIMITED: the per-IP minute limit or the key's daily session cap is reached; wait for Retry-After or the UTC reset.
|
|
52008
|
-
*/
|
|
52009
|
-
429: unknown;
|
|
52010
|
-
/**
|
|
52011
|
-
* Issuance or rate limiting is unavailable; retry later with a new grant code if this one expires.
|
|
52012
|
-
*/
|
|
52013
|
-
503: unknown;
|
|
52014
|
-
};
|
|
52015
|
-
export type CreateCustomerAccessTokenResponses = {
|
|
52016
|
-
/**
|
|
52017
|
-
* A customer access token, its expiry and the end of the sign-in.
|
|
52018
|
-
*/
|
|
52019
|
-
201: {
|
|
52020
|
-
/**
|
|
52021
|
-
* Object type, always customer_access_token.
|
|
52022
|
-
*/
|
|
52023
|
-
type: 'customer_access_token';
|
|
52024
|
-
/**
|
|
52025
|
-
* Bearer credential for this agent's sessions on behalf of the customer. Renew it before expires_at.
|
|
52026
|
-
*/
|
|
52027
|
-
access_token: string;
|
|
52028
|
-
/**
|
|
52029
|
-
* RFC 3339 expiry of this access token: at most two hours after issue and never after session_expires_at.
|
|
52030
|
-
*/
|
|
52031
|
-
expires_at: string;
|
|
52032
|
-
/**
|
|
52033
|
-
* RFC 3339 end of the sign-in. Renewal stops working here; the customer signs in again with a new grant code.
|
|
52034
|
-
*/
|
|
52035
|
-
session_expires_at: string;
|
|
52036
|
-
/**
|
|
52037
|
-
* The customer this token acts for.
|
|
52038
|
-
*/
|
|
52039
|
-
customer: {
|
|
52040
|
-
/**
|
|
52041
|
-
* The customer id: your customer_id, or anon_ followed by 16 characters for an anonymous customer.
|
|
52042
|
-
*/
|
|
52043
|
-
id: string;
|
|
52044
|
-
/**
|
|
52045
|
-
* identified: signed in through a grant code from your backend. anonymous: a visitor admitted with the publishable key.
|
|
52046
|
-
*/
|
|
52047
|
-
type: 'identified' | 'anonymous';
|
|
52048
|
-
};
|
|
52049
|
-
};
|
|
52050
|
-
};
|
|
52051
|
-
export type CreateCustomerAccessTokenResponse = CreateCustomerAccessTokenResponses[keyof CreateCustomerAccessTokenResponses];
|
|
52052
|
-
export type RenewCustomerAccessTokenData = {
|
|
52053
|
-
body?: never;
|
|
52054
|
-
path: {
|
|
52055
|
-
/**
|
|
52056
|
-
* Service agent id (agent_…) or its short identity number, from agent creation or listing. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_….
|
|
52057
|
-
*/
|
|
52058
|
-
agent_id: string;
|
|
52059
|
-
};
|
|
52060
|
-
query?: never;
|
|
52061
|
-
url: '/agent/v1/agents/{agent_id}/customers/auth/access_tokens/renew';
|
|
52062
|
-
};
|
|
52063
|
-
export type RenewCustomerAccessTokenErrors = {
|
|
52064
|
-
/**
|
|
52065
|
-
* ACCESS_TOKEN_REVOKED: the token or its sign-in was revoked (logout, merge, or revocation by the merchant); sign the customer in again with a new grant code. Other 401 responses mean the Bearer token is missing, invalid or expired; renew before expires_at. CUSTOMER_SESSION_EXPIRED: less than 60 seconds of the sign-in remain; sign in again: request a new grant code from your backend.
|
|
52066
|
-
*/
|
|
52067
|
-
401: unknown;
|
|
52068
|
-
/**
|
|
52069
|
-
* CUSTOMER_BLOCKED: the merchant blocked this customer; unblock them before signing them in. ORIGIN_NOT_ALLOWED: the request Origin is not the origin this sign-in is bound to, or is not in the agent's allowed_origins; call from the page that signed in.
|
|
52070
|
-
*/
|
|
52071
|
-
403: unknown;
|
|
52072
|
-
/**
|
|
52073
|
-
* The token belongs to another agent, is not a customer access token, or the agent is archived or absent; use the agent_id the token was issued for.
|
|
52074
|
-
*/
|
|
52075
|
-
404: unknown;
|
|
52076
|
-
};
|
|
52077
|
-
export type RenewCustomerAccessTokenResponses = {
|
|
52078
|
-
/**
|
|
52079
|
-
* A new access token in the same sign-in. The presented token stays valid until its own expiry.
|
|
52080
|
-
*/
|
|
52081
|
-
201: {
|
|
52082
|
-
/**
|
|
52083
|
-
* Object type, always customer_access_token.
|
|
52084
|
-
*/
|
|
52085
|
-
type: 'customer_access_token';
|
|
52086
|
-
/**
|
|
52087
|
-
* Bearer credential for this agent's sessions on behalf of the customer. Renew it before expires_at.
|
|
52088
|
-
*/
|
|
52089
|
-
access_token: string;
|
|
52090
|
-
/**
|
|
52091
|
-
* RFC 3339 expiry of this access token: at most two hours after issue and never after session_expires_at.
|
|
52092
|
-
*/
|
|
52093
|
-
expires_at: string;
|
|
52094
|
-
/**
|
|
52095
|
-
* RFC 3339 end of the sign-in. Renewal stops working here; the customer signs in again with a new grant code.
|
|
52096
|
-
*/
|
|
52097
|
-
session_expires_at: string;
|
|
52098
|
-
/**
|
|
52099
|
-
* The customer this token acts for.
|
|
52100
|
-
*/
|
|
52101
|
-
customer: {
|
|
52102
|
-
/**
|
|
52103
|
-
* The customer id: your customer_id, or anon_ followed by 16 characters for an anonymous customer.
|
|
52104
|
-
*/
|
|
52105
|
-
id: string;
|
|
52106
|
-
/**
|
|
52107
|
-
* identified: signed in through a grant code from your backend. anonymous: a visitor admitted with the publishable key.
|
|
52108
|
-
*/
|
|
52109
|
-
type: 'identified' | 'anonymous';
|
|
52110
|
-
};
|
|
52111
|
-
};
|
|
52112
|
-
};
|
|
52113
|
-
export type RenewCustomerAccessTokenResponse = RenewCustomerAccessTokenResponses[keyof RenewCustomerAccessTokenResponses];
|
|
52114
|
-
export type DeleteCurrentCustomerAccessTokenData = {
|
|
52115
|
-
body?: never;
|
|
52116
|
-
path: {
|
|
52117
|
-
/**
|
|
52118
|
-
* Service agent id (agent_…) or its short identity number, from agent creation or listing. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_….
|
|
52119
|
-
*/
|
|
52120
|
-
agent_id: string;
|
|
52121
|
-
};
|
|
52122
|
-
query?: never;
|
|
52123
|
-
url: '/agent/v1/agents/{agent_id}/customers/auth/access_tokens/current';
|
|
52124
|
-
};
|
|
52125
|
-
export type DeleteCurrentCustomerAccessTokenErrors = {
|
|
52126
|
-
/**
|
|
52127
|
-
* ACCESS_TOKEN_REVOKED: the token or its sign-in was revoked (logout, merge, or revocation by the merchant); sign the customer in again with a new grant code. Other 401 responses mean the Bearer token is missing, invalid or expired; renew before expires_at.
|
|
52128
|
-
*/
|
|
52129
|
-
401: unknown;
|
|
52130
|
-
/**
|
|
52131
|
-
* CUSTOMER_BLOCKED: the merchant blocked this customer; unblock them before signing them in. ORIGIN_NOT_ALLOWED: the request Origin is not the origin this sign-in is bound to, or is not in the agent's allowed_origins; call from the page that signed in.
|
|
52132
|
-
*/
|
|
52133
|
-
403: unknown;
|
|
52134
|
-
/**
|
|
52135
|
-
* The token belongs to another agent, is not a customer access token, or the agent is archived or absent; use the agent_id the token was issued for.
|
|
52136
|
-
*/
|
|
52137
|
-
404: unknown;
|
|
52138
|
-
};
|
|
52139
|
-
export type DeleteCurrentCustomerAccessTokenResponses = {
|
|
52140
|
-
/**
|
|
52141
|
-
* Logged out: the sign-in and every access token in it are revoked, and their live event streams close.
|
|
52142
|
-
*/
|
|
52143
|
-
204: void;
|
|
52144
|
-
};
|
|
52145
|
-
export type DeleteCurrentCustomerAccessTokenResponse = DeleteCurrentCustomerAccessTokenResponses[keyof DeleteCurrentCustomerAccessTokenResponses];
|
|
52146
52491
|
export type ComputersListData = {
|
|
52147
52492
|
body?: never;
|
|
52148
52493
|
path?: never;
|
|
@@ -56115,6 +56460,10 @@ export type ForkSessionResponses = {
|
|
|
56115
56460
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
56116
56461
|
*/
|
|
56117
56462
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
56463
|
+
/**
|
|
56464
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
56465
|
+
*/
|
|
56466
|
+
max_output_tokens?: number;
|
|
56118
56467
|
};
|
|
56119
56468
|
};
|
|
56120
56469
|
/**
|
|
@@ -70037,6 +70386,10 @@ export type SessionsRetrieveResponses = {
|
|
|
70037
70386
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
70038
70387
|
*/
|
|
70039
70388
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
70389
|
+
/**
|
|
70390
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
70391
|
+
*/
|
|
70392
|
+
max_output_tokens?: number;
|
|
70040
70393
|
};
|
|
70041
70394
|
};
|
|
70042
70395
|
/**
|
|
@@ -70328,6 +70681,10 @@ export type SessionsUpdateResponses = {
|
|
|
70328
70681
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
70329
70682
|
*/
|
|
70330
70683
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
70684
|
+
/**
|
|
70685
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
70686
|
+
*/
|
|
70687
|
+
max_output_tokens?: number;
|
|
70331
70688
|
};
|
|
70332
70689
|
};
|
|
70333
70690
|
/**
|
|
@@ -70516,7 +70873,7 @@ export type AgentsListData = {
|
|
|
70516
70873
|
limit?: number;
|
|
70517
70874
|
page?: null | string;
|
|
70518
70875
|
/**
|
|
70519
|
-
* General agents use a durable computer and act for their owner; service agents use a clean environment per session
|
|
70876
|
+
* General agents use a durable computer and act for their owner; service agents use a clean environment per session; assume agents use a durable computer driven over MCP without a conversation model.
|
|
70520
70877
|
*/
|
|
70521
70878
|
kind?: 'general' | 'service' | 'assume';
|
|
70522
70879
|
};
|
|
@@ -70599,6 +70956,10 @@ export type AgentsListResponses = {
|
|
|
70599
70956
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
70600
70957
|
*/
|
|
70601
70958
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
70959
|
+
/**
|
|
70960
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
70961
|
+
*/
|
|
70962
|
+
max_output_tokens?: number;
|
|
70602
70963
|
};
|
|
70603
70964
|
};
|
|
70604
70965
|
/**
|
|
@@ -70710,9 +71071,31 @@ export type AgentsListResponses = {
|
|
|
70710
71071
|
enabled?: boolean;
|
|
70711
71072
|
}>;
|
|
70712
71073
|
/**
|
|
70713
|
-
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session
|
|
71074
|
+
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Historical agents infer kind from their computer binding and read as general.
|
|
70714
71075
|
*/
|
|
70715
71076
|
kind: 'general' | 'service' | 'assume';
|
|
71077
|
+
/**
|
|
71078
|
+
* General agents only: the agent's computers, configured like its models. default is the template its Computer starts on; allowed lists the computers resize may switch to, and a resize to anything else is refused with COMPUTER_NOT_CONFIGURED. Omit on create for {default: base, allowed: Small base-small, Base base, Large base-large}; on update, omit to keep it, send an object to replace it as a whole. Service and assume agents return 400 computers is for general agents; service agents use environment_id. /agent/v1 only.
|
|
71079
|
+
*/
|
|
71080
|
+
computers?: {
|
|
71081
|
+
/**
|
|
71082
|
+
* Template of the computer the agent's Computer starts on; must be the template of one allowed entry.
|
|
71083
|
+
*/
|
|
71084
|
+
default: string;
|
|
71085
|
+
/**
|
|
71086
|
+
* Computers the agent may switch to with the computer tool's resize, in the order they are listed.
|
|
71087
|
+
*/
|
|
71088
|
+
allowed: Array<{
|
|
71089
|
+
/**
|
|
71090
|
+
* Sandbox template name from sandbox templates.list, such as base, base-large or data. light returns 400. A template appears once.
|
|
71091
|
+
*/
|
|
71092
|
+
template: string;
|
|
71093
|
+
/**
|
|
71094
|
+
* Display name people and the model use, such as Base or Large; unique within the list ignoring case.
|
|
71095
|
+
*/
|
|
71096
|
+
name: string;
|
|
71097
|
+
}>;
|
|
71098
|
+
};
|
|
70716
71099
|
/**
|
|
70717
71100
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
70718
71101
|
*/
|
|
@@ -71030,6 +71413,10 @@ export type AgentsListResponses = {
|
|
|
71030
71413
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
71031
71414
|
*/
|
|
71032
71415
|
allowManagedPermissionRulesOnly?: boolean;
|
|
71416
|
+
/**
|
|
71417
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
71418
|
+
*/
|
|
71419
|
+
idleCompaction?: boolean;
|
|
71033
71420
|
/**
|
|
71034
71421
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
71035
71422
|
*/
|
|
@@ -71059,10 +71446,6 @@ export type AgentsListResponses = {
|
|
|
71059
71446
|
*/
|
|
71060
71447
|
hooks?: Array<string>;
|
|
71061
71448
|
};
|
|
71062
|
-
/**
|
|
71063
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
71064
|
-
*/
|
|
71065
|
-
idleCompaction?: boolean;
|
|
71066
71449
|
/**
|
|
71067
71450
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
71068
71451
|
*/
|
|
@@ -71094,7 +71477,7 @@ export type AgentsListResponses = {
|
|
|
71094
71477
|
*/
|
|
71095
71478
|
environment_id?: string | null;
|
|
71096
71479
|
/**
|
|
71097
|
-
* Default vaults of this service 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.
|
|
71480
|
+
* 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.
|
|
71098
71481
|
*/
|
|
71099
71482
|
vault_ids?: Array<string>;
|
|
71100
71483
|
/**
|
|
@@ -71166,6 +71549,10 @@ export type AgentsCreateData = {
|
|
|
71166
71549
|
* Default thinking level for this agent. A session selection takes precedence; an unsupported default falls back to the model default.
|
|
71167
71550
|
*/
|
|
71168
71551
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
71552
|
+
/**
|
|
71553
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
71554
|
+
*/
|
|
71555
|
+
max_output_tokens?: number;
|
|
71169
71556
|
};
|
|
71170
71557
|
};
|
|
71171
71558
|
/**
|
|
@@ -71245,7 +71632,7 @@ export type AgentsCreateData = {
|
|
|
71245
71632
|
enabled?: boolean;
|
|
71246
71633
|
}>;
|
|
71247
71634
|
/**
|
|
71248
|
-
* Immutable agent kind. general requires computer_id; service cannot bind a computer. Omit on create to infer from computer_id (general with a computer, service without). On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error.
|
|
71635
|
+
* Immutable agent kind. general requires computer_id; on creation, assume may omit computer_id to register a new computer named after the agent, without starting an instance; assume has no conversation model and rejects model, models, subagent_model, subagents and multiagent; service cannot bind a computer. Omit on create to infer from computer_id (general with a computer, service without). On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error.
|
|
71249
71636
|
*/
|
|
71250
71637
|
kind?: 'general' | 'service' | 'assume';
|
|
71251
71638
|
/**
|
|
@@ -71569,6 +71956,10 @@ export type AgentsCreateData = {
|
|
|
71569
71956
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
71570
71957
|
*/
|
|
71571
71958
|
allowManagedPermissionRulesOnly?: boolean;
|
|
71959
|
+
/**
|
|
71960
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
71961
|
+
*/
|
|
71962
|
+
idleCompaction?: boolean;
|
|
71572
71963
|
/**
|
|
71573
71964
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
71574
71965
|
*/
|
|
@@ -71598,10 +71989,6 @@ export type AgentsCreateData = {
|
|
|
71598
71989
|
*/
|
|
71599
71990
|
hooks?: Array<string>;
|
|
71600
71991
|
};
|
|
71601
|
-
/**
|
|
71602
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
71603
|
-
*/
|
|
71604
|
-
idleCompaction?: boolean;
|
|
71605
71992
|
/**
|
|
71606
71993
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
71607
71994
|
*/
|
|
@@ -71628,6 +72015,28 @@ export type AgentsCreateData = {
|
|
|
71628
72015
|
* 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.
|
|
71629
72016
|
*/
|
|
71630
72017
|
vault_ids?: Array<string>;
|
|
72018
|
+
/**
|
|
72019
|
+
* General agents only: the agent's computers, configured like its models. default is the template its Computer starts on; allowed lists the computers resize may switch to, and a resize to anything else is refused with COMPUTER_NOT_CONFIGURED. Omit on create for {default: base, allowed: Small base-small, Base base, Large base-large}; on update, omit to keep it, send an object to replace it as a whole. Service and assume agents return 400 computers is for general agents; service agents use environment_id. /agent/v1 only.
|
|
72020
|
+
*/
|
|
72021
|
+
computers?: {
|
|
72022
|
+
/**
|
|
72023
|
+
* Template of the computer the agent's Computer starts on; must be the template of one allowed entry.
|
|
72024
|
+
*/
|
|
72025
|
+
default: string;
|
|
72026
|
+
/**
|
|
72027
|
+
* Computers the agent may switch to with the computer tool's resize, in the order they are listed.
|
|
72028
|
+
*/
|
|
72029
|
+
allowed: Array<{
|
|
72030
|
+
/**
|
|
72031
|
+
* Sandbox template name from sandbox templates.list, such as base, base-large or data. light returns 400. A template appears once.
|
|
72032
|
+
*/
|
|
72033
|
+
template: string;
|
|
72034
|
+
/**
|
|
72035
|
+
* Display name people and the model use, such as Base or Large; unique within the list ignoring case.
|
|
72036
|
+
*/
|
|
72037
|
+
name: string;
|
|
72038
|
+
}>;
|
|
72039
|
+
};
|
|
71631
72040
|
/**
|
|
71632
72041
|
* Optional tool preset. minimal enables read, glob, grep and ask_user_question; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor.
|
|
71633
72042
|
*/
|
|
@@ -71735,6 +72144,10 @@ export type AgentsCreateResponses = {
|
|
|
71735
72144
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
71736
72145
|
*/
|
|
71737
72146
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
72147
|
+
/**
|
|
72148
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
72149
|
+
*/
|
|
72150
|
+
max_output_tokens?: number;
|
|
71738
72151
|
};
|
|
71739
72152
|
};
|
|
71740
72153
|
/**
|
|
@@ -71846,9 +72259,31 @@ export type AgentsCreateResponses = {
|
|
|
71846
72259
|
enabled?: boolean;
|
|
71847
72260
|
}>;
|
|
71848
72261
|
/**
|
|
71849
|
-
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session
|
|
72262
|
+
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Historical agents infer kind from their computer binding and read as general.
|
|
71850
72263
|
*/
|
|
71851
72264
|
kind: 'general' | 'service' | 'assume';
|
|
72265
|
+
/**
|
|
72266
|
+
* General agents only: the agent's computers, configured like its models. default is the template its Computer starts on; allowed lists the computers resize may switch to, and a resize to anything else is refused with COMPUTER_NOT_CONFIGURED. Omit on create for {default: base, allowed: Small base-small, Base base, Large base-large}; on update, omit to keep it, send an object to replace it as a whole. Service and assume agents return 400 computers is for general agents; service agents use environment_id. /agent/v1 only.
|
|
72267
|
+
*/
|
|
72268
|
+
computers?: {
|
|
72269
|
+
/**
|
|
72270
|
+
* Template of the computer the agent's Computer starts on; must be the template of one allowed entry.
|
|
72271
|
+
*/
|
|
72272
|
+
default: string;
|
|
72273
|
+
/**
|
|
72274
|
+
* Computers the agent may switch to with the computer tool's resize, in the order they are listed.
|
|
72275
|
+
*/
|
|
72276
|
+
allowed: Array<{
|
|
72277
|
+
/**
|
|
72278
|
+
* Sandbox template name from sandbox templates.list, such as base, base-large or data. light returns 400. A template appears once.
|
|
72279
|
+
*/
|
|
72280
|
+
template: string;
|
|
72281
|
+
/**
|
|
72282
|
+
* Display name people and the model use, such as Base or Large; unique within the list ignoring case.
|
|
72283
|
+
*/
|
|
72284
|
+
name: string;
|
|
72285
|
+
}>;
|
|
72286
|
+
};
|
|
71852
72287
|
/**
|
|
71853
72288
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
71854
72289
|
*/
|
|
@@ -72166,6 +72601,10 @@ export type AgentsCreateResponses = {
|
|
|
72166
72601
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
72167
72602
|
*/
|
|
72168
72603
|
allowManagedPermissionRulesOnly?: boolean;
|
|
72604
|
+
/**
|
|
72605
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
72606
|
+
*/
|
|
72607
|
+
idleCompaction?: boolean;
|
|
72169
72608
|
/**
|
|
72170
72609
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
72171
72610
|
*/
|
|
@@ -72195,10 +72634,6 @@ export type AgentsCreateResponses = {
|
|
|
72195
72634
|
*/
|
|
72196
72635
|
hooks?: Array<string>;
|
|
72197
72636
|
};
|
|
72198
|
-
/**
|
|
72199
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
72200
|
-
*/
|
|
72201
|
-
idleCompaction?: boolean;
|
|
72202
72637
|
/**
|
|
72203
72638
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
72204
72639
|
*/
|
|
@@ -72230,7 +72665,7 @@ export type AgentsCreateResponses = {
|
|
|
72230
72665
|
*/
|
|
72231
72666
|
environment_id?: string | null;
|
|
72232
72667
|
/**
|
|
72233
|
-
* Default vaults of this service 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.
|
|
72668
|
+
* 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.
|
|
72234
72669
|
*/
|
|
72235
72670
|
vault_ids?: Array<string>;
|
|
72236
72671
|
/**
|
|
@@ -72355,6 +72790,10 @@ export type AgentsRetrieveResponses = {
|
|
|
72355
72790
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
72356
72791
|
*/
|
|
72357
72792
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
72793
|
+
/**
|
|
72794
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
72795
|
+
*/
|
|
72796
|
+
max_output_tokens?: number;
|
|
72358
72797
|
};
|
|
72359
72798
|
};
|
|
72360
72799
|
/**
|
|
@@ -72470,9 +72909,31 @@ export type AgentsRetrieveResponses = {
|
|
|
72470
72909
|
enabled?: boolean;
|
|
72471
72910
|
}>;
|
|
72472
72911
|
/**
|
|
72473
|
-
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session
|
|
72912
|
+
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Historical agents infer kind from their computer binding and read as general.
|
|
72474
72913
|
*/
|
|
72475
72914
|
kind: 'general' | 'service' | 'assume';
|
|
72915
|
+
/**
|
|
72916
|
+
* General agents only: the agent's computers, configured like its models. default is the template its Computer starts on; allowed lists the computers resize may switch to, and a resize to anything else is refused with COMPUTER_NOT_CONFIGURED. Omit on create for {default: base, allowed: Small base-small, Base base, Large base-large}; on update, omit to keep it, send an object to replace it as a whole. Service and assume agents return 400 computers is for general agents; service agents use environment_id. /agent/v1 only.
|
|
72917
|
+
*/
|
|
72918
|
+
computers?: {
|
|
72919
|
+
/**
|
|
72920
|
+
* Template of the computer the agent's Computer starts on; must be the template of one allowed entry.
|
|
72921
|
+
*/
|
|
72922
|
+
default: string;
|
|
72923
|
+
/**
|
|
72924
|
+
* Computers the agent may switch to with the computer tool's resize, in the order they are listed.
|
|
72925
|
+
*/
|
|
72926
|
+
allowed: Array<{
|
|
72927
|
+
/**
|
|
72928
|
+
* Sandbox template name from sandbox templates.list, such as base, base-large or data. light returns 400. A template appears once.
|
|
72929
|
+
*/
|
|
72930
|
+
template: string;
|
|
72931
|
+
/**
|
|
72932
|
+
* Display name people and the model use, such as Base or Large; unique within the list ignoring case.
|
|
72933
|
+
*/
|
|
72934
|
+
name: string;
|
|
72935
|
+
}>;
|
|
72936
|
+
};
|
|
72476
72937
|
/**
|
|
72477
72938
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
72478
72939
|
*/
|
|
@@ -72790,6 +73251,10 @@ export type AgentsRetrieveResponses = {
|
|
|
72790
73251
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
72791
73252
|
*/
|
|
72792
73253
|
allowManagedPermissionRulesOnly?: boolean;
|
|
73254
|
+
/**
|
|
73255
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
73256
|
+
*/
|
|
73257
|
+
idleCompaction?: boolean;
|
|
72793
73258
|
/**
|
|
72794
73259
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
72795
73260
|
*/
|
|
@@ -72819,10 +73284,6 @@ export type AgentsRetrieveResponses = {
|
|
|
72819
73284
|
*/
|
|
72820
73285
|
hooks?: Array<string>;
|
|
72821
73286
|
};
|
|
72822
|
-
/**
|
|
72823
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
72824
|
-
*/
|
|
72825
|
-
idleCompaction?: boolean;
|
|
72826
73287
|
/**
|
|
72827
73288
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
72828
73289
|
*/
|
|
@@ -72854,7 +73315,7 @@ export type AgentsRetrieveResponses = {
|
|
|
72854
73315
|
*/
|
|
72855
73316
|
environment_id?: string | null;
|
|
72856
73317
|
/**
|
|
72857
|
-
* Default vaults of this service 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.
|
|
73318
|
+
* 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.
|
|
72858
73319
|
*/
|
|
72859
73320
|
vault_ids?: Array<string>;
|
|
72860
73321
|
/**
|
|
@@ -72935,6 +73396,10 @@ export type AgentsUpdateData = {
|
|
|
72935
73396
|
* Default thinking level for this agent. A session selection takes precedence; an unsupported default falls back to the model default.
|
|
72936
73397
|
*/
|
|
72937
73398
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
73399
|
+
/**
|
|
73400
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
73401
|
+
*/
|
|
73402
|
+
max_output_tokens?: number;
|
|
72938
73403
|
};
|
|
72939
73404
|
};
|
|
72940
73405
|
/**
|
|
@@ -73014,7 +73479,7 @@ export type AgentsUpdateData = {
|
|
|
73014
73479
|
enabled?: boolean;
|
|
73015
73480
|
}> | null;
|
|
73016
73481
|
/**
|
|
73017
|
-
* Immutable agent kind. general requires computer_id; service cannot bind a computer. Omit on create to infer from computer_id (general with a computer, service without). On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error.
|
|
73482
|
+
* Immutable agent kind. general requires computer_id; on creation, assume may omit computer_id to register a new computer named after the agent, without starting an instance; assume has no conversation model and rejects model, models, subagent_model, subagents and multiagent; service cannot bind a computer. Omit on create to infer from computer_id (general with a computer, service without). On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error.
|
|
73018
73483
|
*/
|
|
73019
73484
|
kind?: 'general' | 'service' | 'assume';
|
|
73020
73485
|
/**
|
|
@@ -73338,6 +73803,10 @@ export type AgentsUpdateData = {
|
|
|
73338
73803
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
73339
73804
|
*/
|
|
73340
73805
|
allowManagedPermissionRulesOnly?: boolean;
|
|
73806
|
+
/**
|
|
73807
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
73808
|
+
*/
|
|
73809
|
+
idleCompaction?: boolean;
|
|
73341
73810
|
/**
|
|
73342
73811
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
73343
73812
|
*/
|
|
@@ -73367,10 +73836,6 @@ export type AgentsUpdateData = {
|
|
|
73367
73836
|
*/
|
|
73368
73837
|
hooks?: Array<string>;
|
|
73369
73838
|
};
|
|
73370
|
-
/**
|
|
73371
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
73372
|
-
*/
|
|
73373
|
-
idleCompaction?: boolean;
|
|
73374
73839
|
/**
|
|
73375
73840
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
73376
73841
|
*/
|
|
@@ -73397,6 +73862,28 @@ export type AgentsUpdateData = {
|
|
|
73397
73862
|
* 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.
|
|
73398
73863
|
*/
|
|
73399
73864
|
vault_ids?: Array<string>;
|
|
73865
|
+
/**
|
|
73866
|
+
* General agents only: the agent's computers, configured like its models. default is the template its Computer starts on; allowed lists the computers resize may switch to, and a resize to anything else is refused with COMPUTER_NOT_CONFIGURED. Omit on create for {default: base, allowed: Small base-small, Base base, Large base-large}; on update, omit to keep it, send an object to replace it as a whole. Service and assume agents return 400 computers is for general agents; service agents use environment_id. /agent/v1 only.
|
|
73867
|
+
*/
|
|
73868
|
+
computers?: {
|
|
73869
|
+
/**
|
|
73870
|
+
* Template of the computer the agent's Computer starts on; must be the template of one allowed entry.
|
|
73871
|
+
*/
|
|
73872
|
+
default: string;
|
|
73873
|
+
/**
|
|
73874
|
+
* Computers the agent may switch to with the computer tool's resize, in the order they are listed.
|
|
73875
|
+
*/
|
|
73876
|
+
allowed: Array<{
|
|
73877
|
+
/**
|
|
73878
|
+
* Sandbox template name from sandbox templates.list, such as base, base-large or data. light returns 400. A template appears once.
|
|
73879
|
+
*/
|
|
73880
|
+
template: string;
|
|
73881
|
+
/**
|
|
73882
|
+
* Display name people and the model use, such as Base or Large; unique within the list ignoring case.
|
|
73883
|
+
*/
|
|
73884
|
+
name: string;
|
|
73885
|
+
}>;
|
|
73886
|
+
};
|
|
73400
73887
|
/**
|
|
73401
73888
|
* Optional tool preset. minimal enables read, glob, grep and ask_user_question; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor.
|
|
73402
73889
|
*/
|
|
@@ -73513,6 +74000,10 @@ export type AgentsUpdateResponses = {
|
|
|
73513
74000
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
73514
74001
|
*/
|
|
73515
74002
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
74003
|
+
/**
|
|
74004
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
74005
|
+
*/
|
|
74006
|
+
max_output_tokens?: number;
|
|
73516
74007
|
};
|
|
73517
74008
|
};
|
|
73518
74009
|
/**
|
|
@@ -73628,9 +74119,31 @@ export type AgentsUpdateResponses = {
|
|
|
73628
74119
|
enabled?: boolean;
|
|
73629
74120
|
}>;
|
|
73630
74121
|
/**
|
|
73631
|
-
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session
|
|
74122
|
+
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Historical agents infer kind from their computer binding and read as general.
|
|
73632
74123
|
*/
|
|
73633
74124
|
kind: 'general' | 'service' | 'assume';
|
|
74125
|
+
/**
|
|
74126
|
+
* General agents only: the agent's computers, configured like its models. default is the template its Computer starts on; allowed lists the computers resize may switch to, and a resize to anything else is refused with COMPUTER_NOT_CONFIGURED. Omit on create for {default: base, allowed: Small base-small, Base base, Large base-large}; on update, omit to keep it, send an object to replace it as a whole. Service and assume agents return 400 computers is for general agents; service agents use environment_id. /agent/v1 only.
|
|
74127
|
+
*/
|
|
74128
|
+
computers?: {
|
|
74129
|
+
/**
|
|
74130
|
+
* Template of the computer the agent's Computer starts on; must be the template of one allowed entry.
|
|
74131
|
+
*/
|
|
74132
|
+
default: string;
|
|
74133
|
+
/**
|
|
74134
|
+
* Computers the agent may switch to with the computer tool's resize, in the order they are listed.
|
|
74135
|
+
*/
|
|
74136
|
+
allowed: Array<{
|
|
74137
|
+
/**
|
|
74138
|
+
* Sandbox template name from sandbox templates.list, such as base, base-large or data. light returns 400. A template appears once.
|
|
74139
|
+
*/
|
|
74140
|
+
template: string;
|
|
74141
|
+
/**
|
|
74142
|
+
* Display name people and the model use, such as Base or Large; unique within the list ignoring case.
|
|
74143
|
+
*/
|
|
74144
|
+
name: string;
|
|
74145
|
+
}>;
|
|
74146
|
+
};
|
|
73634
74147
|
/**
|
|
73635
74148
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
73636
74149
|
*/
|
|
@@ -73948,6 +74461,10 @@ export type AgentsUpdateResponses = {
|
|
|
73948
74461
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
73949
74462
|
*/
|
|
73950
74463
|
allowManagedPermissionRulesOnly?: boolean;
|
|
74464
|
+
/**
|
|
74465
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
74466
|
+
*/
|
|
74467
|
+
idleCompaction?: boolean;
|
|
73951
74468
|
/**
|
|
73952
74469
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
73953
74470
|
*/
|
|
@@ -73977,10 +74494,6 @@ export type AgentsUpdateResponses = {
|
|
|
73977
74494
|
*/
|
|
73978
74495
|
hooks?: Array<string>;
|
|
73979
74496
|
};
|
|
73980
|
-
/**
|
|
73981
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
73982
|
-
*/
|
|
73983
|
-
idleCompaction?: boolean;
|
|
73984
74497
|
/**
|
|
73985
74498
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
73986
74499
|
*/
|
|
@@ -74012,7 +74525,7 @@ export type AgentsUpdateResponses = {
|
|
|
74012
74525
|
*/
|
|
74013
74526
|
environment_id?: string | null;
|
|
74014
74527
|
/**
|
|
74015
|
-
* Default vaults of this service 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.
|
|
74528
|
+
* 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.
|
|
74016
74529
|
*/
|
|
74017
74530
|
vault_ids?: Array<string>;
|
|
74018
74531
|
/**
|
|
@@ -74127,6 +74640,10 @@ export type AgentsArchiveResponses = {
|
|
|
74127
74640
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
74128
74641
|
*/
|
|
74129
74642
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
74643
|
+
/**
|
|
74644
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
74645
|
+
*/
|
|
74646
|
+
max_output_tokens?: number;
|
|
74130
74647
|
};
|
|
74131
74648
|
};
|
|
74132
74649
|
/**
|
|
@@ -74238,7 +74755,7 @@ export type AgentsArchiveResponses = {
|
|
|
74238
74755
|
enabled?: boolean;
|
|
74239
74756
|
}>;
|
|
74240
74757
|
/**
|
|
74241
|
-
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session
|
|
74758
|
+
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Historical agents infer kind from their computer binding and read as general.
|
|
74242
74759
|
*/
|
|
74243
74760
|
kind: 'general' | 'service' | 'assume';
|
|
74244
74761
|
/**
|
|
@@ -74558,6 +75075,10 @@ export type AgentsArchiveResponses = {
|
|
|
74558
75075
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
74559
75076
|
*/
|
|
74560
75077
|
allowManagedPermissionRulesOnly?: boolean;
|
|
75078
|
+
/**
|
|
75079
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
75080
|
+
*/
|
|
75081
|
+
idleCompaction?: boolean;
|
|
74561
75082
|
/**
|
|
74562
75083
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
74563
75084
|
*/
|
|
@@ -74587,10 +75108,6 @@ export type AgentsArchiveResponses = {
|
|
|
74587
75108
|
*/
|
|
74588
75109
|
hooks?: Array<string>;
|
|
74589
75110
|
};
|
|
74590
|
-
/**
|
|
74591
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
74592
|
-
*/
|
|
74593
|
-
idleCompaction?: boolean;
|
|
74594
75111
|
/**
|
|
74595
75112
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
74596
75113
|
*/
|
|
@@ -74622,7 +75139,7 @@ export type AgentsArchiveResponses = {
|
|
|
74622
75139
|
*/
|
|
74623
75140
|
environment_id?: string | null;
|
|
74624
75141
|
/**
|
|
74625
|
-
* Default vaults of this service 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.
|
|
75142
|
+
* 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.
|
|
74626
75143
|
*/
|
|
74627
75144
|
vault_ids?: Array<string>;
|
|
74628
75145
|
/**
|
|
@@ -74751,6 +75268,10 @@ export type AgentsVersionsListResponses = {
|
|
|
74751
75268
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
74752
75269
|
*/
|
|
74753
75270
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
75271
|
+
/**
|
|
75272
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
75273
|
+
*/
|
|
75274
|
+
max_output_tokens?: number;
|
|
74754
75275
|
};
|
|
74755
75276
|
};
|
|
74756
75277
|
/**
|
|
@@ -74866,9 +75387,31 @@ export type AgentsVersionsListResponses = {
|
|
|
74866
75387
|
enabled?: boolean;
|
|
74867
75388
|
}>;
|
|
74868
75389
|
/**
|
|
74869
|
-
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session
|
|
75390
|
+
* Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Historical agents infer kind from their computer binding and read as general.
|
|
74870
75391
|
*/
|
|
74871
75392
|
kind: 'general' | 'service' | 'assume';
|
|
75393
|
+
/**
|
|
75394
|
+
* General agents only: the agent's computers, configured like its models. default is the template its Computer starts on; allowed lists the computers resize may switch to, and a resize to anything else is refused with COMPUTER_NOT_CONFIGURED. Omit on create for {default: base, allowed: Small base-small, Base base, Large base-large}; on update, omit to keep it, send an object to replace it as a whole. Service and assume agents return 400 computers is for general agents; service agents use environment_id. /agent/v1 only.
|
|
75395
|
+
*/
|
|
75396
|
+
computers?: {
|
|
75397
|
+
/**
|
|
75398
|
+
* Template of the computer the agent's Computer starts on; must be the template of one allowed entry.
|
|
75399
|
+
*/
|
|
75400
|
+
default: string;
|
|
75401
|
+
/**
|
|
75402
|
+
* Computers the agent may switch to with the computer tool's resize, in the order they are listed.
|
|
75403
|
+
*/
|
|
75404
|
+
allowed: Array<{
|
|
75405
|
+
/**
|
|
75406
|
+
* Sandbox template name from sandbox templates.list, such as base, base-large or data. light returns 400. A template appears once.
|
|
75407
|
+
*/
|
|
75408
|
+
template: string;
|
|
75409
|
+
/**
|
|
75410
|
+
* Display name people and the model use, such as Base or Large; unique within the list ignoring case.
|
|
75411
|
+
*/
|
|
75412
|
+
name: string;
|
|
75413
|
+
}>;
|
|
75414
|
+
};
|
|
74872
75415
|
/**
|
|
74873
75416
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
74874
75417
|
*/
|
|
@@ -75186,6 +75729,10 @@ export type AgentsVersionsListResponses = {
|
|
|
75186
75729
|
* Store the managed permission rules switch; permission rules remain on toolsets.
|
|
75187
75730
|
*/
|
|
75188
75731
|
allowManagedPermissionRulesOnly?: boolean;
|
|
75732
|
+
/**
|
|
75733
|
+
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
75734
|
+
*/
|
|
75735
|
+
idleCompaction?: boolean;
|
|
75189
75736
|
/**
|
|
75190
75737
|
* Whether automatic memory is enabled in the saved configuration; defaults to true.
|
|
75191
75738
|
*/
|
|
@@ -75215,10 +75762,6 @@ export type AgentsVersionsListResponses = {
|
|
|
75215
75762
|
*/
|
|
75216
75763
|
hooks?: Array<string>;
|
|
75217
75764
|
};
|
|
75218
|
-
/**
|
|
75219
|
-
* Whether new sessions compact large contexts while idle before the prompt cache expires; defaults to true.
|
|
75220
|
-
*/
|
|
75221
|
-
idleCompaction?: boolean;
|
|
75222
75765
|
/**
|
|
75223
75766
|
* Case-sensitive output style name: Default adds no style instructions; Concise and Explanatory are built in. Unknown names use Default. Enabled plugin styles marked force-for-plugin override this selection. The result is frozen for the main conversation when the session starts; changes apply to new sessions. Owner instructions take precedence.
|
|
75224
75767
|
*/
|
|
@@ -75250,7 +75793,7 @@ export type AgentsVersionsListResponses = {
|
|
|
75250
75793
|
*/
|
|
75251
75794
|
environment_id?: string | null;
|
|
75252
75795
|
/**
|
|
75253
|
-
* Default vaults of this service 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.
|
|
75796
|
+
* 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.
|
|
75254
75797
|
*/
|
|
75255
75798
|
vault_ids?: Array<string>;
|
|
75256
75799
|
/**
|
|
@@ -75431,6 +75974,10 @@ export type SessionsListResponses = {
|
|
|
75431
75974
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
75432
75975
|
*/
|
|
75433
75976
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
75977
|
+
/**
|
|
75978
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
75979
|
+
*/
|
|
75980
|
+
max_output_tokens?: number;
|
|
75434
75981
|
};
|
|
75435
75982
|
};
|
|
75436
75983
|
/**
|
|
@@ -75761,6 +76308,10 @@ export type SessionsCreateResponses = {
|
|
|
75761
76308
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
75762
76309
|
*/
|
|
75763
76310
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
76311
|
+
/**
|
|
76312
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
76313
|
+
*/
|
|
76314
|
+
max_output_tokens?: number;
|
|
75764
76315
|
};
|
|
75765
76316
|
};
|
|
75766
76317
|
/**
|
|
@@ -76011,6 +76562,10 @@ export type SessionsArchiveResponses = {
|
|
|
76011
76562
|
* Default thinking effort for sessions without an explicit selection. Unsupported defaults fall back to the selected model default.
|
|
76012
76563
|
*/
|
|
76013
76564
|
reasoning?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'none';
|
|
76565
|
+
/**
|
|
76566
|
+
* Output cap for one model request, thinking included; the counterpart of Claude Code's CLAUDE_CODE_MAX_OUTPUT_TOKENS. When unset, every request uses the output limit the model declares. When set, the runtime clamps it to the model's limit.
|
|
76567
|
+
*/
|
|
76568
|
+
max_output_tokens?: number;
|
|
76014
76569
|
};
|
|
76015
76570
|
};
|
|
76016
76571
|
/**
|
|
@@ -76384,10 +76939,6 @@ export type SessionsEventsListResponses = {
|
|
|
76384
76939
|
*/
|
|
76385
76940
|
message_id?: string;
|
|
76386
76941
|
} | {
|
|
76387
|
-
/**
|
|
76388
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
76389
|
-
*/
|
|
76390
|
-
full_access_available?: boolean;
|
|
76391
76942
|
/**
|
|
76392
76943
|
* Unique identifier for this event.
|
|
76393
76944
|
*/
|
|
@@ -76429,6 +76980,48 @@ export type SessionsEventsListResponses = {
|
|
|
76429
76980
|
* `user.tool_confirmation` by `tool_use_id`, so clients do not send it back.
|
|
76430
76981
|
*/
|
|
76431
76982
|
session_thread_id?: null | string;
|
|
76983
|
+
/**
|
|
76984
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
76985
|
+
*/
|
|
76986
|
+
permission_suggestions?: Array<{
|
|
76987
|
+
/**
|
|
76988
|
+
* add_rules adds the offered allow rules.
|
|
76989
|
+
*/
|
|
76990
|
+
type: 'add_rules';
|
|
76991
|
+
/**
|
|
76992
|
+
* allow grants permission for matching calls.
|
|
76993
|
+
*/
|
|
76994
|
+
behavior: 'allow';
|
|
76995
|
+
/**
|
|
76996
|
+
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
76997
|
+
*/
|
|
76998
|
+
destination: 'agent' | 'session';
|
|
76999
|
+
/**
|
|
77000
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
77001
|
+
*/
|
|
77002
|
+
rules: Array<{
|
|
77003
|
+
/**
|
|
77004
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
77005
|
+
*/
|
|
77006
|
+
tool_name: string;
|
|
77007
|
+
/**
|
|
77008
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
77009
|
+
*/
|
|
77010
|
+
rule_content: string;
|
|
77011
|
+
}>;
|
|
77012
|
+
}>;
|
|
77013
|
+
/**
|
|
77014
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
77015
|
+
*/
|
|
77016
|
+
full_access_available?: boolean;
|
|
77017
|
+
/**
|
|
77018
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
77019
|
+
*/
|
|
77020
|
+
user_once?: true;
|
|
77021
|
+
/**
|
|
77022
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
77023
|
+
*/
|
|
77024
|
+
guarded_rule?: string;
|
|
76432
77025
|
/**
|
|
76433
77026
|
* Run that produced this event; null when no run identity was recorded.
|
|
76434
77027
|
*/
|
|
@@ -76466,44 +77059,6 @@ export type SessionsEventsListResponses = {
|
|
|
76466
77059
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
76467
77060
|
*/
|
|
76468
77061
|
parent_tool_use_id?: string;
|
|
76469
|
-
/**
|
|
76470
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
76471
|
-
*/
|
|
76472
|
-
user_once?: true;
|
|
76473
|
-
/**
|
|
76474
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
76475
|
-
*/
|
|
76476
|
-
guarded_rule?: string;
|
|
76477
|
-
/**
|
|
76478
|
-
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
76479
|
-
*/
|
|
76480
|
-
permission_suggestions?: Array<{
|
|
76481
|
-
/**
|
|
76482
|
-
* add_rules adds the offered allow rules.
|
|
76483
|
-
*/
|
|
76484
|
-
type: 'add_rules';
|
|
76485
|
-
/**
|
|
76486
|
-
* allow grants permission for matching calls.
|
|
76487
|
-
*/
|
|
76488
|
-
behavior: 'allow';
|
|
76489
|
-
/**
|
|
76490
|
-
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
76491
|
-
*/
|
|
76492
|
-
destination: 'agent' | 'session';
|
|
76493
|
-
/**
|
|
76494
|
-
* The complete set of rules from one offered suggestion, without changes.
|
|
76495
|
-
*/
|
|
76496
|
-
rules: Array<{
|
|
76497
|
-
/**
|
|
76498
|
-
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
76499
|
-
*/
|
|
76500
|
-
tool_name: string;
|
|
76501
|
-
/**
|
|
76502
|
-
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
76503
|
-
*/
|
|
76504
|
-
rule_content: string;
|
|
76505
|
-
}>;
|
|
76506
|
-
}>;
|
|
76507
77062
|
/**
|
|
76508
77063
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
76509
77064
|
*/
|
|
@@ -76558,10 +77113,6 @@ export type SessionsEventsListResponses = {
|
|
|
76558
77113
|
*/
|
|
76559
77114
|
source?: 'app' | 'codemode';
|
|
76560
77115
|
} | {
|
|
76561
|
-
/**
|
|
76562
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
76563
|
-
*/
|
|
76564
|
-
full_access_available?: boolean;
|
|
76565
77116
|
/**
|
|
76566
77117
|
* Unique identifier for this event.
|
|
76567
77118
|
*/
|
|
@@ -76600,18 +77151,6 @@ export type SessionsEventsListResponses = {
|
|
|
76600
77151
|
* not send it back.
|
|
76601
77152
|
*/
|
|
76602
77153
|
session_thread_id?: null | string;
|
|
76603
|
-
/**
|
|
76604
|
-
* Run that produced this event; null when no run identity was recorded.
|
|
76605
|
-
*/
|
|
76606
|
-
run_id: string | null;
|
|
76607
|
-
/**
|
|
76608
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
76609
|
-
*/
|
|
76610
|
-
user_once?: true;
|
|
76611
|
-
/**
|
|
76612
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
76613
|
-
*/
|
|
76614
|
-
guarded_rule?: string;
|
|
76615
77154
|
/**
|
|
76616
77155
|
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
76617
77156
|
*/
|
|
@@ -76642,6 +77181,22 @@ export type SessionsEventsListResponses = {
|
|
|
76642
77181
|
rule_content: string;
|
|
76643
77182
|
}>;
|
|
76644
77183
|
}>;
|
|
77184
|
+
/**
|
|
77185
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
77186
|
+
*/
|
|
77187
|
+
full_access_available?: boolean;
|
|
77188
|
+
/**
|
|
77189
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
77190
|
+
*/
|
|
77191
|
+
user_once?: true;
|
|
77192
|
+
/**
|
|
77193
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
77194
|
+
*/
|
|
77195
|
+
guarded_rule?: string;
|
|
77196
|
+
/**
|
|
77197
|
+
* Run that produced this event; null when no run identity was recorded.
|
|
77198
|
+
*/
|
|
77199
|
+
run_id: string | null;
|
|
76645
77200
|
} | {
|
|
76646
77201
|
/**
|
|
76647
77202
|
* Unique identifier for this event.
|
|
@@ -76710,18 +77265,6 @@ export type SessionsEventsListResponses = {
|
|
|
76710
77265
|
*/
|
|
76711
77266
|
run_id: string | null;
|
|
76712
77267
|
} | AgentManaged230 | AgentManaged231 | AgentManaged232 | AgentManaged233 | AgentManaged235 | AgentManaged236 | AgentManaged237 | AgentManaged238 | AgentManaged239 | AgentManaged240 | AgentManaged241 | AgentManaged242 | AgentManaged243 | AgentManaged244 | {
|
|
76713
|
-
/**
|
|
76714
|
-
* Monotone permission-mode version, incremented once per mode update.
|
|
76715
|
-
*/
|
|
76716
|
-
permission_mode_version?: number;
|
|
76717
|
-
/**
|
|
76718
|
-
* The permission mode before this change, or null when none was selected.
|
|
76719
|
-
*/
|
|
76720
|
-
previous_permission_mode?: string | null;
|
|
76721
|
-
/**
|
|
76722
|
-
* The new native session permission mode; null restores configured tool policies.
|
|
76723
|
-
*/
|
|
76724
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
76725
77268
|
/**
|
|
76726
77269
|
* Unique identifier for this event.
|
|
76727
77270
|
*/
|
|
@@ -76753,6 +77296,18 @@ export type SessionsEventsListResponses = {
|
|
|
76753
77296
|
* The session's new title. Present only when the update changed it.
|
|
76754
77297
|
*/
|
|
76755
77298
|
title?: null | string;
|
|
77299
|
+
/**
|
|
77300
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
77301
|
+
*/
|
|
77302
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
77303
|
+
/**
|
|
77304
|
+
* The permission mode before this change, or null when none was selected.
|
|
77305
|
+
*/
|
|
77306
|
+
previous_permission_mode?: string | null;
|
|
77307
|
+
/**
|
|
77308
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
77309
|
+
*/
|
|
77310
|
+
permission_mode_version?: number;
|
|
76756
77311
|
/**
|
|
76757
77312
|
* Praxis extension: the changed session model, present only on /agent/v1 session.updated events. Model-only updates are omitted on /anthropic.
|
|
76758
77313
|
*/
|
|
@@ -77597,10 +78152,6 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
77597
78152
|
*/
|
|
77598
78153
|
message_id?: string;
|
|
77599
78154
|
} | {
|
|
77600
|
-
/**
|
|
77601
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
77602
|
-
*/
|
|
77603
|
-
full_access_available?: boolean;
|
|
77604
78155
|
/**
|
|
77605
78156
|
* Unique identifier for this event.
|
|
77606
78157
|
*/
|
|
@@ -77642,6 +78193,48 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
77642
78193
|
* `user.tool_confirmation` by `tool_use_id`, so clients do not send it back.
|
|
77643
78194
|
*/
|
|
77644
78195
|
session_thread_id?: null | string;
|
|
78196
|
+
/**
|
|
78197
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
78198
|
+
*/
|
|
78199
|
+
permission_suggestions?: Array<{
|
|
78200
|
+
/**
|
|
78201
|
+
* add_rules adds the offered allow rules.
|
|
78202
|
+
*/
|
|
78203
|
+
type: 'add_rules';
|
|
78204
|
+
/**
|
|
78205
|
+
* allow grants permission for matching calls.
|
|
78206
|
+
*/
|
|
78207
|
+
behavior: 'allow';
|
|
78208
|
+
/**
|
|
78209
|
+
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
78210
|
+
*/
|
|
78211
|
+
destination: 'agent' | 'session';
|
|
78212
|
+
/**
|
|
78213
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
78214
|
+
*/
|
|
78215
|
+
rules: Array<{
|
|
78216
|
+
/**
|
|
78217
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
78218
|
+
*/
|
|
78219
|
+
tool_name: string;
|
|
78220
|
+
/**
|
|
78221
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
78222
|
+
*/
|
|
78223
|
+
rule_content: string;
|
|
78224
|
+
}>;
|
|
78225
|
+
}>;
|
|
78226
|
+
/**
|
|
78227
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
78228
|
+
*/
|
|
78229
|
+
full_access_available?: boolean;
|
|
78230
|
+
/**
|
|
78231
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
78232
|
+
*/
|
|
78233
|
+
user_once?: true;
|
|
78234
|
+
/**
|
|
78235
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
78236
|
+
*/
|
|
78237
|
+
guarded_rule?: string;
|
|
77645
78238
|
/**
|
|
77646
78239
|
* Run that produced this event; null when no run identity was recorded.
|
|
77647
78240
|
*/
|
|
@@ -77679,44 +78272,6 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
77679
78272
|
* Praxis extension (MCP Apps, SEP-1865): `app` when the call was made by an MCP Apps view, `codemode` when a program run by the codemode tool called an MCP tool that declares a view (the event pair exists so a client can render that view; the model already has the result in the codemode tool result); absent for the model's own calls.
|
|
77680
78273
|
*/
|
|
77681
78274
|
source?: 'app' | 'codemode';
|
|
77682
|
-
/**
|
|
77683
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
77684
|
-
*/
|
|
77685
|
-
user_once?: true;
|
|
77686
|
-
/**
|
|
77687
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
77688
|
-
*/
|
|
77689
|
-
guarded_rule?: string;
|
|
77690
|
-
/**
|
|
77691
|
-
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
77692
|
-
*/
|
|
77693
|
-
permission_suggestions?: Array<{
|
|
77694
|
-
/**
|
|
77695
|
-
* add_rules adds the offered allow rules.
|
|
77696
|
-
*/
|
|
77697
|
-
type: 'add_rules';
|
|
77698
|
-
/**
|
|
77699
|
-
* allow grants permission for matching calls.
|
|
77700
|
-
*/
|
|
77701
|
-
behavior: 'allow';
|
|
77702
|
-
/**
|
|
77703
|
-
* agent shares the grant across a general agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
77704
|
-
*/
|
|
77705
|
-
destination: 'agent' | 'session';
|
|
77706
|
-
/**
|
|
77707
|
-
* The complete set of rules from one offered suggestion, without changes.
|
|
77708
|
-
*/
|
|
77709
|
-
rules: Array<{
|
|
77710
|
-
/**
|
|
77711
|
-
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
77712
|
-
*/
|
|
77713
|
-
tool_name: string;
|
|
77714
|
-
/**
|
|
77715
|
-
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
77716
|
-
*/
|
|
77717
|
-
rule_content: string;
|
|
77718
|
-
}>;
|
|
77719
|
-
}>;
|
|
77720
78275
|
/**
|
|
77721
78276
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
77722
78277
|
*/
|
|
@@ -77771,10 +78326,6 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
77771
78326
|
*/
|
|
77772
78327
|
source?: 'app' | 'codemode';
|
|
77773
78328
|
} | {
|
|
77774
|
-
/**
|
|
77775
|
-
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
77776
|
-
*/
|
|
77777
|
-
full_access_available?: boolean;
|
|
77778
78329
|
/**
|
|
77779
78330
|
* Unique identifier for this event.
|
|
77780
78331
|
*/
|
|
@@ -77813,18 +78364,6 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
77813
78364
|
* not send it back.
|
|
77814
78365
|
*/
|
|
77815
78366
|
session_thread_id?: null | string;
|
|
77816
|
-
/**
|
|
77817
|
-
* Run that produced this event; null when no run identity was recorded.
|
|
77818
|
-
*/
|
|
77819
|
-
run_id: string | null;
|
|
77820
|
-
/**
|
|
77821
|
-
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
77822
|
-
*/
|
|
77823
|
-
user_once?: true;
|
|
77824
|
-
/**
|
|
77825
|
-
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
77826
|
-
*/
|
|
77827
|
-
guarded_rule?: string;
|
|
77828
78367
|
/**
|
|
77829
78368
|
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
77830
78369
|
*/
|
|
@@ -77855,6 +78394,22 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
77855
78394
|
rule_content: string;
|
|
77856
78395
|
}>;
|
|
77857
78396
|
}>;
|
|
78397
|
+
/**
|
|
78398
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
78399
|
+
*/
|
|
78400
|
+
full_access_available?: boolean;
|
|
78401
|
+
/**
|
|
78402
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
78403
|
+
*/
|
|
78404
|
+
user_once?: true;
|
|
78405
|
+
/**
|
|
78406
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
78407
|
+
*/
|
|
78408
|
+
guarded_rule?: string;
|
|
78409
|
+
/**
|
|
78410
|
+
* Run that produced this event; null when no run identity was recorded.
|
|
78411
|
+
*/
|
|
78412
|
+
run_id: string | null;
|
|
77858
78413
|
} | {
|
|
77859
78414
|
/**
|
|
77860
78415
|
* Unique identifier for this event.
|
|
@@ -77923,18 +78478,6 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
77923
78478
|
*/
|
|
77924
78479
|
run_id: string | null;
|
|
77925
78480
|
} | AgentManaged230 | AgentManaged231 | AgentManaged232 | AgentManaged233 | AgentManaged235 | AgentManaged236 | AgentManaged237 | AgentManaged238 | AgentManaged239 | AgentManaged240 | AgentManaged241 | AgentManaged242 | AgentManaged243 | AgentManaged244 | {
|
|
77926
|
-
/**
|
|
77927
|
-
* Monotone permission-mode version, incremented once per mode update.
|
|
77928
|
-
*/
|
|
77929
|
-
permission_mode_version?: number;
|
|
77930
|
-
/**
|
|
77931
|
-
* The permission mode before this change, or null when none was selected.
|
|
77932
|
-
*/
|
|
77933
|
-
previous_permission_mode?: string | null;
|
|
77934
|
-
/**
|
|
77935
|
-
* The new native session permission mode; null restores configured tool policies.
|
|
77936
|
-
*/
|
|
77937
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
77938
78481
|
/**
|
|
77939
78482
|
* Unique identifier for this event.
|
|
77940
78483
|
*/
|
|
@@ -77966,6 +78509,18 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
77966
78509
|
* The session's new title. Present only when the update changed it.
|
|
77967
78510
|
*/
|
|
77968
78511
|
title?: null | string;
|
|
78512
|
+
/**
|
|
78513
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
78514
|
+
*/
|
|
78515
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
78516
|
+
/**
|
|
78517
|
+
* The permission mode before this change, or null when none was selected.
|
|
78518
|
+
*/
|
|
78519
|
+
previous_permission_mode?: string | null;
|
|
78520
|
+
/**
|
|
78521
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
78522
|
+
*/
|
|
78523
|
+
permission_mode_version?: number;
|
|
77969
78524
|
/**
|
|
77970
78525
|
* Praxis extension: the changed session model, present only on /agent/v1 session.updated events. Model-only updates are omitted on /anthropic.
|
|
77971
78526
|
*/
|
|
@@ -94631,6 +95186,47 @@ export type DevopsChangesOpenPullRequestResponses = {
|
|
|
94631
95186
|
200: DevopsChangePullRequestOpened;
|
|
94632
95187
|
};
|
|
94633
95188
|
export type DevopsChangesOpenPullRequestResponse = DevopsChangesOpenPullRequestResponses[keyof DevopsChangesOpenPullRequestResponses];
|
|
95189
|
+
export type DevopsChangesGitCredentialData = {
|
|
95190
|
+
body?: never;
|
|
95191
|
+
path: {
|
|
95192
|
+
/**
|
|
95193
|
+
* The change's id, which is its branch name <type>/<slug> from a change list or create answer; the slash must be percent-encoded, so feat/run-page-v2 is sent as feat%2Frun-page-v2.
|
|
95194
|
+
*/
|
|
95195
|
+
id: string;
|
|
95196
|
+
};
|
|
95197
|
+
query?: never;
|
|
95198
|
+
url: '/devops/v1/changes/{id}:gitCredential';
|
|
95199
|
+
};
|
|
95200
|
+
export type DevopsChangesGitCredentialErrors = {
|
|
95201
|
+
/**
|
|
95202
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
95203
|
+
*/
|
|
95204
|
+
400: DevopsDevOpsError;
|
|
95205
|
+
/**
|
|
95206
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
95207
|
+
*/
|
|
95208
|
+
401: DevopsDevOpsError;
|
|
95209
|
+
/**
|
|
95210
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
95211
|
+
*/
|
|
95212
|
+
403: DevopsDevOpsError;
|
|
95213
|
+
/**
|
|
95214
|
+
* CHANGE_NOT_FOUND means no change with that id exists in this organization; list the project's changes and use an id from that answer, with its slash percent-encoded.
|
|
95215
|
+
*/
|
|
95216
|
+
404: DevopsDevOpsError;
|
|
95217
|
+
/**
|
|
95218
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
95219
|
+
*/
|
|
95220
|
+
500: DevopsDevOpsError;
|
|
95221
|
+
};
|
|
95222
|
+
export type DevopsChangesGitCredentialError = DevopsChangesGitCredentialErrors[keyof DevopsChangesGitCredentialErrors];
|
|
95223
|
+
export type DevopsChangesGitCredentialResponses = {
|
|
95224
|
+
/**
|
|
95225
|
+
* The credential in the shape git's credential protocol uses: the user name GitHub App tokens require and the token as the password.
|
|
95226
|
+
*/
|
|
95227
|
+
200: DevopsChangeGitCredential;
|
|
95228
|
+
};
|
|
95229
|
+
export type DevopsChangesGitCredentialResponse = DevopsChangesGitCredentialResponses[keyof DevopsChangesGitCredentialResponses];
|
|
94634
95230
|
export type DevopsPullRequestsListData = {
|
|
94635
95231
|
body?: never;
|
|
94636
95232
|
path: {
|