@parallelworks/client 7.105.0 → 7.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/api.d.ts +1000 -5
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -1577,6 +1577,216 @@ export interface paths {
|
|
|
1577
1577
|
patch?: never;
|
|
1578
1578
|
trace?: never;
|
|
1579
1579
|
};
|
|
1580
|
+
"/api/agents/machines/{machine}/sessions": {
|
|
1581
|
+
parameters: {
|
|
1582
|
+
query?: never;
|
|
1583
|
+
header?: never;
|
|
1584
|
+
path?: never;
|
|
1585
|
+
cookie?: never;
|
|
1586
|
+
};
|
|
1587
|
+
/**
|
|
1588
|
+
* List pw code sessions on one machine
|
|
1589
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1590
|
+
*
|
|
1591
|
+
* Returns the pw code sessions one machine's daemon reports, with the machine's reachability.
|
|
1592
|
+
*/
|
|
1593
|
+
get: operations["list-agent-machine-sessions"];
|
|
1594
|
+
put?: never;
|
|
1595
|
+
/**
|
|
1596
|
+
* Start a pw code session on a machine
|
|
1597
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1598
|
+
*
|
|
1599
|
+
* Starts a session in the given workspace on the machine. The machine allows this only when its owner turned remoteControl on, and clamps the session to the machine's remoteMaxPermissionMode.
|
|
1600
|
+
*/
|
|
1601
|
+
post: operations["create-agent-session"];
|
|
1602
|
+
delete?: never;
|
|
1603
|
+
options?: never;
|
|
1604
|
+
head?: never;
|
|
1605
|
+
patch?: never;
|
|
1606
|
+
trace?: never;
|
|
1607
|
+
};
|
|
1608
|
+
"/api/agents/machines/{machine}/sessions/{id}": {
|
|
1609
|
+
parameters: {
|
|
1610
|
+
query?: never;
|
|
1611
|
+
header?: never;
|
|
1612
|
+
path?: never;
|
|
1613
|
+
cookie?: never;
|
|
1614
|
+
};
|
|
1615
|
+
/**
|
|
1616
|
+
* Get a pw code session transcript
|
|
1617
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1618
|
+
*
|
|
1619
|
+
* Returns one session's transcript and state as its machine's daemon reports them. Live updates stream from /ws/agents/machines/{machine}/sessions/{id}/events.
|
|
1620
|
+
*/
|
|
1621
|
+
get: operations["get-agent-session"];
|
|
1622
|
+
put?: never;
|
|
1623
|
+
post?: never;
|
|
1624
|
+
/**
|
|
1625
|
+
* Delete a pw code session
|
|
1626
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1627
|
+
*
|
|
1628
|
+
* Removes the session and its transcripts from the machine. Destroying a session is wider than sending it a turn, so the machine's daemon holds it to the same limit: a session that refuses remote drive can only be deleted from the machine itself.
|
|
1629
|
+
*/
|
|
1630
|
+
delete: operations["delete-agent-session"];
|
|
1631
|
+
options?: never;
|
|
1632
|
+
head?: never;
|
|
1633
|
+
patch?: never;
|
|
1634
|
+
trace?: never;
|
|
1635
|
+
};
|
|
1636
|
+
"/api/agents/machines/{machine}/sessions/{id}/approvals/{approvalId}": {
|
|
1637
|
+
parameters: {
|
|
1638
|
+
query?: never;
|
|
1639
|
+
header?: never;
|
|
1640
|
+
path?: never;
|
|
1641
|
+
cookie?: never;
|
|
1642
|
+
};
|
|
1643
|
+
get?: never;
|
|
1644
|
+
put?: never;
|
|
1645
|
+
/**
|
|
1646
|
+
* Answer a pw code approval request
|
|
1647
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1648
|
+
*
|
|
1649
|
+
* Answers an approval the agent is waiting on. The machine's daemon decides whether the answer is allowed: a session running above the remote permission ceiling can only be answered from the machine itself, and an answer sent from here never grants standing directory access.
|
|
1650
|
+
*/
|
|
1651
|
+
post: operations["answer-agent-session-approval"];
|
|
1652
|
+
delete?: never;
|
|
1653
|
+
options?: never;
|
|
1654
|
+
head?: never;
|
|
1655
|
+
patch?: never;
|
|
1656
|
+
trace?: never;
|
|
1657
|
+
};
|
|
1658
|
+
"/api/agents/machines/{machine}/sessions/{id}/fork": {
|
|
1659
|
+
parameters: {
|
|
1660
|
+
query?: never;
|
|
1661
|
+
header?: never;
|
|
1662
|
+
path?: never;
|
|
1663
|
+
cookie?: never;
|
|
1664
|
+
};
|
|
1665
|
+
get?: never;
|
|
1666
|
+
put?: never;
|
|
1667
|
+
/**
|
|
1668
|
+
* Copy a pw code session
|
|
1669
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1670
|
+
*
|
|
1671
|
+
* Copies the session and its subagent transcripts into a new one on the same machine, leaving the original untouched. Refused while the session is mid-turn, and while another host holds it live.
|
|
1672
|
+
*/
|
|
1673
|
+
post: operations["fork-agent-session"];
|
|
1674
|
+
delete?: never;
|
|
1675
|
+
options?: never;
|
|
1676
|
+
head?: never;
|
|
1677
|
+
patch?: never;
|
|
1678
|
+
trace?: never;
|
|
1679
|
+
};
|
|
1680
|
+
"/api/agents/machines/{machine}/sessions/{id}/interrupt": {
|
|
1681
|
+
parameters: {
|
|
1682
|
+
query?: never;
|
|
1683
|
+
header?: never;
|
|
1684
|
+
path?: never;
|
|
1685
|
+
cookie?: never;
|
|
1686
|
+
};
|
|
1687
|
+
get?: never;
|
|
1688
|
+
put?: never;
|
|
1689
|
+
/**
|
|
1690
|
+
* Stop the turn a pw code session is running
|
|
1691
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1692
|
+
*
|
|
1693
|
+
* Stops the work in flight and nothing else. This one route is not held to the remote permission ceiling: a session that refuses to be driven from here can still be stopped from here.
|
|
1694
|
+
*/
|
|
1695
|
+
post: operations["interrupt-agent-session"];
|
|
1696
|
+
delete?: never;
|
|
1697
|
+
options?: never;
|
|
1698
|
+
head?: never;
|
|
1699
|
+
patch?: never;
|
|
1700
|
+
trace?: never;
|
|
1701
|
+
};
|
|
1702
|
+
"/api/agents/machines/{machine}/sessions/{id}/messages": {
|
|
1703
|
+
parameters: {
|
|
1704
|
+
query?: never;
|
|
1705
|
+
header?: never;
|
|
1706
|
+
path?: never;
|
|
1707
|
+
cookie?: never;
|
|
1708
|
+
};
|
|
1709
|
+
get?: never;
|
|
1710
|
+
put?: never;
|
|
1711
|
+
/**
|
|
1712
|
+
* Send a message to a pw code session
|
|
1713
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1714
|
+
*
|
|
1715
|
+
* Sends a message to the session, starting a turn or queueing behind the one in flight. The machine's daemon decides whether it is allowed: a session running above the remote permission ceiling, or one whose lease another host holds, can only be driven from the machine itself.
|
|
1716
|
+
*/
|
|
1717
|
+
post: operations["send-agent-session-message"];
|
|
1718
|
+
delete?: never;
|
|
1719
|
+
options?: never;
|
|
1720
|
+
head?: never;
|
|
1721
|
+
patch?: never;
|
|
1722
|
+
trace?: never;
|
|
1723
|
+
};
|
|
1724
|
+
"/api/agents/machines/{machine}/sessions/{id}/rename": {
|
|
1725
|
+
parameters: {
|
|
1726
|
+
query?: never;
|
|
1727
|
+
header?: never;
|
|
1728
|
+
path?: never;
|
|
1729
|
+
cookie?: never;
|
|
1730
|
+
};
|
|
1731
|
+
get?: never;
|
|
1732
|
+
put?: never;
|
|
1733
|
+
/**
|
|
1734
|
+
* Rename a pw code session
|
|
1735
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1736
|
+
*
|
|
1737
|
+
* Renames the session in the machine's store. Refused while the session is mid-turn, and while another host holds it live.
|
|
1738
|
+
*/
|
|
1739
|
+
post: operations["rename-agent-session"];
|
|
1740
|
+
delete?: never;
|
|
1741
|
+
options?: never;
|
|
1742
|
+
head?: never;
|
|
1743
|
+
patch?: never;
|
|
1744
|
+
trace?: never;
|
|
1745
|
+
};
|
|
1746
|
+
"/api/agents/machines/{machine}/sessions/{id}/settings": {
|
|
1747
|
+
parameters: {
|
|
1748
|
+
query?: never;
|
|
1749
|
+
header?: never;
|
|
1750
|
+
path?: never;
|
|
1751
|
+
cookie?: never;
|
|
1752
|
+
};
|
|
1753
|
+
get?: never;
|
|
1754
|
+
put?: never;
|
|
1755
|
+
post?: never;
|
|
1756
|
+
delete?: never;
|
|
1757
|
+
options?: never;
|
|
1758
|
+
head?: never;
|
|
1759
|
+
/**
|
|
1760
|
+
* Change a running pw code session's model, allocation or authority
|
|
1761
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1762
|
+
*
|
|
1763
|
+
* Changes what a live session runs as, and answers with its new state. The machine's daemon decides whether it is allowed: the session must be live, an org provider model needs an allocation, and a session already running above the remote permission ceiling can only be changed from the machine itself.
|
|
1764
|
+
*/
|
|
1765
|
+
patch: operations["update-agent-session-settings"];
|
|
1766
|
+
trace?: never;
|
|
1767
|
+
};
|
|
1768
|
+
"/api/agents/sessions": {
|
|
1769
|
+
parameters: {
|
|
1770
|
+
query?: never;
|
|
1771
|
+
header?: never;
|
|
1772
|
+
path?: never;
|
|
1773
|
+
cookie?: never;
|
|
1774
|
+
};
|
|
1775
|
+
/**
|
|
1776
|
+
* List pw code sessions across your machines
|
|
1777
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
1778
|
+
*
|
|
1779
|
+
* Asks every connected cluster and instance you can log in to for its pw code sessions and returns them together with each machine's reachability. Nothing is stored: the answer is what the machines report right now.
|
|
1780
|
+
*/
|
|
1781
|
+
get: operations["list-agent-sessions"];
|
|
1782
|
+
put?: never;
|
|
1783
|
+
post?: never;
|
|
1784
|
+
delete?: never;
|
|
1785
|
+
options?: never;
|
|
1786
|
+
head?: never;
|
|
1787
|
+
patch?: never;
|
|
1788
|
+
trace?: never;
|
|
1789
|
+
};
|
|
1580
1790
|
"/api/ai-usage/breakdown": {
|
|
1581
1791
|
parameters: {
|
|
1582
1792
|
query?: never;
|
|
@@ -12086,6 +12296,28 @@ export interface paths {
|
|
|
12086
12296
|
patch?: never;
|
|
12087
12297
|
trace?: never;
|
|
12088
12298
|
};
|
|
12299
|
+
"/api/organizations/{organization}/users/{user}/resource-groups/{name}/resources/{resourceId}": {
|
|
12300
|
+
parameters: {
|
|
12301
|
+
query?: never;
|
|
12302
|
+
header?: never;
|
|
12303
|
+
path?: never;
|
|
12304
|
+
cookie?: never;
|
|
12305
|
+
};
|
|
12306
|
+
get?: never;
|
|
12307
|
+
put?: never;
|
|
12308
|
+
post?: never;
|
|
12309
|
+
/**
|
|
12310
|
+
* Unassign a resource from its resource group
|
|
12311
|
+
* @description > This is a system-level route, so the response will be independent of the currently authenticated user.
|
|
12312
|
+
*
|
|
12313
|
+
* Leaves an off resource with no resource group; its owner must assign one before it can start again.
|
|
12314
|
+
*/
|
|
12315
|
+
delete: operations["unassign-resource-group-resource"];
|
|
12316
|
+
options?: never;
|
|
12317
|
+
head?: never;
|
|
12318
|
+
patch?: never;
|
|
12319
|
+
trace?: never;
|
|
12320
|
+
};
|
|
12089
12321
|
"/api/organizations/{organization}/users/{user}/resource-groups/{name}/resources/{resourceId}/move": {
|
|
12090
12322
|
parameters: {
|
|
12091
12323
|
query?: never;
|
|
@@ -15941,7 +16173,28 @@ export interface paths {
|
|
|
15941
16173
|
trace?: never;
|
|
15942
16174
|
};
|
|
15943
16175
|
}
|
|
15944
|
-
export
|
|
16176
|
+
export interface webhooks {
|
|
16177
|
+
agentSessionEvents: {
|
|
16178
|
+
parameters: {
|
|
16179
|
+
query?: never;
|
|
16180
|
+
header?: never;
|
|
16181
|
+
path?: never;
|
|
16182
|
+
cookie?: never;
|
|
16183
|
+
};
|
|
16184
|
+
/**
|
|
16185
|
+
* pw code session event feed
|
|
16186
|
+
* @description One JSON frame per message on the WebSocket at /ws/agents/machines/{machine}/sessions/{id}/events?after=N. Pass the last seq seen as after to resume; a replay_truncated frame means the transcript must be refetched.
|
|
16187
|
+
*/
|
|
16188
|
+
get: operations["agent-session-events"];
|
|
16189
|
+
put?: never;
|
|
16190
|
+
post?: never;
|
|
16191
|
+
delete?: never;
|
|
16192
|
+
options?: never;
|
|
16193
|
+
head?: never;
|
|
16194
|
+
patch?: never;
|
|
16195
|
+
trace?: never;
|
|
16196
|
+
};
|
|
16197
|
+
}
|
|
15945
16198
|
export interface components {
|
|
15946
16199
|
schemas: {
|
|
15947
16200
|
AIModelConfig: {
|
|
@@ -16512,6 +16765,141 @@ export interface components {
|
|
|
16512
16765
|
/** @enum {string} */
|
|
16513
16766
|
setupStatus: "ready" | "disabled" | "setup-required" | "attention";
|
|
16514
16767
|
};
|
|
16768
|
+
AgentMachine: {
|
|
16769
|
+
agentVersion?: string;
|
|
16770
|
+
error?: string;
|
|
16771
|
+
/** @description Hostname the daemon reported, when it answered. */
|
|
16772
|
+
hostname?: string;
|
|
16773
|
+
/** @description Hex ObjectID of the cluster, pool, or instance document. */
|
|
16774
|
+
id: string;
|
|
16775
|
+
/** @enum {string} */
|
|
16776
|
+
kind: "cloud" | "existing" | "instance";
|
|
16777
|
+
name: string;
|
|
16778
|
+
/** @description Platform username of the resource owner. */
|
|
16779
|
+
owner: string;
|
|
16780
|
+
/** @enum {string} */
|
|
16781
|
+
remoteMaxPermissionMode?: "" | "read-only" | "accept-edits" | "bypass-permissions" | "plan";
|
|
16782
|
+
remoteStart?: boolean;
|
|
16783
|
+
/** @enum {string} */
|
|
16784
|
+
status: "connected" | "no_daemon" | "no_agent" | "unreachable" | "unsupported_agent";
|
|
16785
|
+
};
|
|
16786
|
+
AgentMachineSessionsResponse: {
|
|
16787
|
+
machine: components["schemas"]["AgentMachine"];
|
|
16788
|
+
sessions: components["schemas"]["AgentSession"][] | null;
|
|
16789
|
+
};
|
|
16790
|
+
AgentMessageAccepted: {
|
|
16791
|
+
/** @description True when the message is waiting behind the turn already running. */
|
|
16792
|
+
queued: boolean;
|
|
16793
|
+
/** @description Identifies the turn this message runs as; its stream events carry the same id. */
|
|
16794
|
+
turnId: string;
|
|
16795
|
+
};
|
|
16796
|
+
AgentRenameBody: {
|
|
16797
|
+
/** @description What to call the session in the list. */
|
|
16798
|
+
name: string;
|
|
16799
|
+
};
|
|
16800
|
+
AgentSession: {
|
|
16801
|
+
allocation?: string;
|
|
16802
|
+
approvals?: components["schemas"]["ApprovalRequest"][] | null;
|
|
16803
|
+
autoName?: string;
|
|
16804
|
+
/** Format: date-time */
|
|
16805
|
+
createdAt: string;
|
|
16806
|
+
effort?: string;
|
|
16807
|
+
id: string;
|
|
16808
|
+
liveHost?: string;
|
|
16809
|
+
machineId: string;
|
|
16810
|
+
/** Format: int64 */
|
|
16811
|
+
messages: number;
|
|
16812
|
+
model: string;
|
|
16813
|
+
name?: string;
|
|
16814
|
+
permissionMode?: string;
|
|
16815
|
+
preview: string;
|
|
16816
|
+
remoteControl?: boolean;
|
|
16817
|
+
/** @enum {string} */
|
|
16818
|
+
status: "idle" | "running" | "awaiting_approval" | "live_elsewhere";
|
|
16819
|
+
/** Format: date-time */
|
|
16820
|
+
turnStartedAt?: string;
|
|
16821
|
+
/** Format: date-time */
|
|
16822
|
+
updatedAt: string;
|
|
16823
|
+
workspace: string;
|
|
16824
|
+
};
|
|
16825
|
+
AgentSessionDetail: {
|
|
16826
|
+
allocation?: string;
|
|
16827
|
+
approvals?: components["schemas"]["ApprovalRequest"][] | null;
|
|
16828
|
+
autoName?: string;
|
|
16829
|
+
/** Format: date-time */
|
|
16830
|
+
createdAt: string;
|
|
16831
|
+
effort?: string;
|
|
16832
|
+
history: components["schemas"]["HistoryItem"][] | null;
|
|
16833
|
+
id: string;
|
|
16834
|
+
/** Format: int64 */
|
|
16835
|
+
lastSeq?: number;
|
|
16836
|
+
liveHost?: string;
|
|
16837
|
+
machineId: string;
|
|
16838
|
+
/** Format: int64 */
|
|
16839
|
+
messages: number;
|
|
16840
|
+
model: string;
|
|
16841
|
+
name?: string;
|
|
16842
|
+
permissionMode?: string;
|
|
16843
|
+
preview: string;
|
|
16844
|
+
remoteControl?: boolean;
|
|
16845
|
+
/** @enum {string} */
|
|
16846
|
+
status: "idle" | "running" | "awaiting_approval" | "live_elsewhere";
|
|
16847
|
+
/** Format: date-time */
|
|
16848
|
+
turnStartedAt?: string;
|
|
16849
|
+
/** Format: date-time */
|
|
16850
|
+
updatedAt: string;
|
|
16851
|
+
workspace: string;
|
|
16852
|
+
workspaceUntrusted?: boolean;
|
|
16853
|
+
};
|
|
16854
|
+
AgentSessionForked: {
|
|
16855
|
+
/** @description Session id of the copy. */
|
|
16856
|
+
id: string;
|
|
16857
|
+
machineId: string;
|
|
16858
|
+
};
|
|
16859
|
+
AgentSessionSettingsBody: {
|
|
16860
|
+
/** @description Allocation to bill; the daemon requires one for org provider models. */
|
|
16861
|
+
allocation?: string;
|
|
16862
|
+
/** @description Model id to switch the session to. */
|
|
16863
|
+
model?: string;
|
|
16864
|
+
/**
|
|
16865
|
+
* @description Authority the session runs with; the machine refuses anything above its remoteMaxPermissionMode.
|
|
16866
|
+
* @enum {string}
|
|
16867
|
+
*/
|
|
16868
|
+
permissionMode?: "read-only" | "accept-edits" | "bypass-permissions";
|
|
16869
|
+
};
|
|
16870
|
+
AgentSessionsResponse: {
|
|
16871
|
+
machines: components["schemas"]["AgentMachine"][] | null;
|
|
16872
|
+
/** @description Every reachable machine's sessions, newest first. */
|
|
16873
|
+
sessions: components["schemas"]["AgentSession"][] | null;
|
|
16874
|
+
};
|
|
16875
|
+
AgentStreamEvent: {
|
|
16876
|
+
agentType?: string;
|
|
16877
|
+
approval?: components["schemas"]["ApprovalRequest"];
|
|
16878
|
+
approvalId?: string;
|
|
16879
|
+
args?: string;
|
|
16880
|
+
background?: boolean;
|
|
16881
|
+
client?: string;
|
|
16882
|
+
color?: string;
|
|
16883
|
+
content?: string;
|
|
16884
|
+
goalProgress?: components["schemas"]["GoalProgress"];
|
|
16885
|
+
id?: string;
|
|
16886
|
+
interim?: boolean;
|
|
16887
|
+
isError?: boolean;
|
|
16888
|
+
/** Format: int64 */
|
|
16889
|
+
iters?: number;
|
|
16890
|
+
mcp?: components["schemas"]["MCPStatus"];
|
|
16891
|
+
name?: string;
|
|
16892
|
+
newId?: string;
|
|
16893
|
+
result?: string;
|
|
16894
|
+
/** Format: int64 */
|
|
16895
|
+
seq: number;
|
|
16896
|
+
/** Format: int64 */
|
|
16897
|
+
startLine?: number;
|
|
16898
|
+
state?: components["schemas"]["SessionState"];
|
|
16899
|
+
turn?: components["schemas"]["TurnResult"];
|
|
16900
|
+
turnId?: string;
|
|
16901
|
+
type: string;
|
|
16902
|
+
};
|
|
16515
16903
|
AiConnectionInventory: {
|
|
16516
16904
|
catalogEntryId?: string;
|
|
16517
16905
|
/** @enum {string} */
|
|
@@ -16872,6 +17260,40 @@ export interface components {
|
|
|
16872
17260
|
*/
|
|
16873
17261
|
subjectType: "userId" | "username";
|
|
16874
17262
|
};
|
|
17263
|
+
ApprovalAnswer: {
|
|
17264
|
+
allowDir?: boolean;
|
|
17265
|
+
allowed?: boolean;
|
|
17266
|
+
chat?: boolean;
|
|
17267
|
+
clear?: boolean;
|
|
17268
|
+
denyMessage?: string;
|
|
17269
|
+
feedback?: string;
|
|
17270
|
+
/** @enum {string} */
|
|
17271
|
+
mode?: "" | "read-only" | "accept-edits" | "bypass-permissions" | "plan";
|
|
17272
|
+
plan?: string;
|
|
17273
|
+
text?: string;
|
|
17274
|
+
};
|
|
17275
|
+
ApprovalRequest: {
|
|
17276
|
+
agent?: string;
|
|
17277
|
+
command?: string;
|
|
17278
|
+
/** Format: date-time */
|
|
17279
|
+
createdAt: string;
|
|
17280
|
+
header?: string;
|
|
17281
|
+
id: string;
|
|
17282
|
+
/** @enum {string} */
|
|
17283
|
+
kind: "confirm" | "ask" | "plan";
|
|
17284
|
+
mode?: string;
|
|
17285
|
+
multiSelect?: boolean;
|
|
17286
|
+
options?: components["schemas"]["AskOption"][] | null;
|
|
17287
|
+
plan?: string;
|
|
17288
|
+
planPath?: string;
|
|
17289
|
+
question?: string;
|
|
17290
|
+
reason?: string;
|
|
17291
|
+
subagentId?: string;
|
|
17292
|
+
};
|
|
17293
|
+
AskOption: {
|
|
17294
|
+
description?: string;
|
|
17295
|
+
label: string;
|
|
17296
|
+
};
|
|
16875
17297
|
AssignedOrganization: {
|
|
16876
17298
|
displayName: string;
|
|
16877
17299
|
id: string;
|
|
@@ -19474,7 +19896,9 @@ export interface components {
|
|
|
19474
19896
|
reservationId?: string;
|
|
19475
19897
|
suspendTime?: number;
|
|
19476
19898
|
tier1?: boolean;
|
|
19899
|
+
useNodeGroup?: boolean;
|
|
19477
19900
|
usePlacementGroup?: boolean;
|
|
19901
|
+
workloadPolicy?: boolean;
|
|
19478
19902
|
zone?: string;
|
|
19479
19903
|
zones?: string[] | null;
|
|
19480
19904
|
};
|
|
@@ -19519,6 +19943,10 @@ export interface components {
|
|
|
19519
19943
|
createdAt?: string;
|
|
19520
19944
|
/** @description The cloud provider's identifier for the node */
|
|
19521
19945
|
cspId?: string;
|
|
19946
|
+
/** @description Why the node failed, as one of our own causes (e.g. capacity_not_granted) */
|
|
19947
|
+
failureCause?: string;
|
|
19948
|
+
/** @description The cloud provider's own explanation for the failure */
|
|
19949
|
+
failureMessage?: string;
|
|
19522
19950
|
/** @description The node ID */
|
|
19523
19951
|
id: string;
|
|
19524
19952
|
/** @description The node hostname */
|
|
@@ -19626,7 +20054,9 @@ export interface components {
|
|
|
19626
20054
|
reservationId?: string;
|
|
19627
20055
|
suspendTime?: number;
|
|
19628
20056
|
tier1?: boolean;
|
|
20057
|
+
useNodeGroup?: boolean;
|
|
19629
20058
|
usePlacementGroup?: boolean;
|
|
20059
|
+
workloadPolicy?: boolean;
|
|
19630
20060
|
zone?: string;
|
|
19631
20061
|
zones?: string[] | null;
|
|
19632
20062
|
};
|
|
@@ -20349,6 +20779,11 @@ export interface components {
|
|
|
20349
20779
|
buckets?: string[] | null;
|
|
20350
20780
|
/** @description Environment to schedule the kernel's worker onto. Cluster targets only. */
|
|
20351
20781
|
environmentId?: string;
|
|
20782
|
+
/**
|
|
20783
|
+
* Format: double
|
|
20784
|
+
* @description Memory ceiling (GB) for the kernel's processes. Workspace targets only; defaults to half the workspace's own limit and may not exceed it.
|
|
20785
|
+
*/
|
|
20786
|
+
memoryLimit?: number;
|
|
20352
20787
|
/** @description Kernel name. Auto-generated if omitted. */
|
|
20353
20788
|
name?: string;
|
|
20354
20789
|
/** @description Run the kernel on the cluster's controller agent directly instead of scheduling a worker. Cluster targets only; starts immediately with no Slurm allocation. */
|
|
@@ -20357,7 +20792,7 @@ export interface components {
|
|
|
20357
20792
|
schedulingParams?: {
|
|
20358
20793
|
[key: string]: unknown;
|
|
20359
20794
|
};
|
|
20360
|
-
/** @description Cluster or instance the kernel runs on. */
|
|
20795
|
+
/** @description Cluster or instance the kernel runs on, or "user-workspace" to run it on the caller's own workspace. */
|
|
20361
20796
|
targetId: string;
|
|
20362
20797
|
/** @description Run the kernel on this existing compute worker instead of scheduling a new one. */
|
|
20363
20798
|
workerId?: string;
|
|
@@ -20719,6 +21154,21 @@ export interface components {
|
|
|
20719
21154
|
/** @description Display name for the key. */
|
|
20720
21155
|
title: string;
|
|
20721
21156
|
};
|
|
21157
|
+
CreateSessionBody: {
|
|
21158
|
+
/** @description Allocation to bill the session to. Required for org provider models. */
|
|
21159
|
+
allocation?: string;
|
|
21160
|
+
/** @description Model id; the machine's default is used when empty. */
|
|
21161
|
+
model?: string;
|
|
21162
|
+
/**
|
|
21163
|
+
* @description Authority the session runs with, clamped by the machine to its remoteMaxPermissionMode; the machine's default is used when empty.
|
|
21164
|
+
* @enum {string}
|
|
21165
|
+
*/
|
|
21166
|
+
permissionMode?: "" | "read-only" | "accept-edits" | "bypass-permissions";
|
|
21167
|
+
/** @description Starts the first turn immediately when set. */
|
|
21168
|
+
prompt?: string;
|
|
21169
|
+
/** @description Absolute path on the machine to run in. Offer the caller workspaces their existing sessions already use. */
|
|
21170
|
+
workspace: string;
|
|
21171
|
+
};
|
|
20722
21172
|
CreateSkuRuleBody: {
|
|
20723
21173
|
/**
|
|
20724
21174
|
* Format: double
|
|
@@ -22266,6 +22716,26 @@ export interface components {
|
|
|
22266
22716
|
/** @description Matches across every server the caller is connected to. */
|
|
22267
22717
|
projects: components["schemas"]["GitlabProjectListing"][] | null;
|
|
22268
22718
|
};
|
|
22719
|
+
GoalProgress: {
|
|
22720
|
+
condition?: string;
|
|
22721
|
+
/** Format: int64 */
|
|
22722
|
+
elapsedMs?: number;
|
|
22723
|
+
err?: string;
|
|
22724
|
+
/** @enum {string} */
|
|
22725
|
+
outcome?: "" | "achieved" | "stopped";
|
|
22726
|
+
reason?: string;
|
|
22727
|
+
/** Format: int64 */
|
|
22728
|
+
tokens?: number;
|
|
22729
|
+
/** Format: int64 */
|
|
22730
|
+
turns?: number;
|
|
22731
|
+
};
|
|
22732
|
+
GoalStatus: {
|
|
22733
|
+
active?: boolean;
|
|
22734
|
+
checking?: boolean;
|
|
22735
|
+
/** Format: int64 */
|
|
22736
|
+
elapsedMs?: number;
|
|
22737
|
+
paused?: boolean;
|
|
22738
|
+
};
|
|
22269
22739
|
GoogleBucket: {
|
|
22270
22740
|
/**
|
|
22271
22741
|
* @description The requesting user's access level for this bucket.
|
|
@@ -22660,7 +23130,9 @@ export interface components {
|
|
|
22660
23130
|
reservationId?: string;
|
|
22661
23131
|
suspendTime?: number;
|
|
22662
23132
|
tier1?: boolean;
|
|
23133
|
+
useNodeGroup?: boolean;
|
|
22663
23134
|
usePlacementGroup?: boolean;
|
|
23135
|
+
workloadPolicy?: boolean;
|
|
22664
23136
|
zone?: string;
|
|
22665
23137
|
zones?: string[] | null;
|
|
22666
23138
|
};
|
|
@@ -23120,6 +23592,15 @@ export interface components {
|
|
|
23120
23592
|
/** @description The Helm release's computed values (chart defaults merged with overrides) in YAML format */
|
|
23121
23593
|
values: string;
|
|
23122
23594
|
};
|
|
23595
|
+
HistoryItem: {
|
|
23596
|
+
fromMain?: boolean;
|
|
23597
|
+
/** @enum {string} */
|
|
23598
|
+
kind: "user" | "assistant" | "thinking" | "tool_call" | "tool_result" | "notice" | "plan_view" | "goal_view" | "goal_progress";
|
|
23599
|
+
planBody?: string;
|
|
23600
|
+
text?: string;
|
|
23601
|
+
toolArgs?: string;
|
|
23602
|
+
toolName?: string;
|
|
23603
|
+
};
|
|
23123
23604
|
IconRef: {
|
|
23124
23605
|
/** @description SHA256 hex of a blob already in the caller's thumbnail library. Mutually exclusive with presetUrl. */
|
|
23125
23606
|
etag?: string;
|
|
@@ -23635,6 +24116,11 @@ export interface components {
|
|
|
23635
24116
|
readonly errorMessage?: string;
|
|
23636
24117
|
/** @description Kernel ID. */
|
|
23637
24118
|
readonly id: string;
|
|
24119
|
+
/**
|
|
24120
|
+
* Format: double
|
|
24121
|
+
* @description Memory ceiling (GB) applied to the kernel's processes.
|
|
24122
|
+
*/
|
|
24123
|
+
readonly memoryLimit?: number;
|
|
23638
24124
|
/** @description Kernel name. */
|
|
23639
24125
|
name?: string;
|
|
23640
24126
|
/** @description Hostname of the compute node the kernel runs on. */
|
|
@@ -23654,7 +24140,7 @@ export interface components {
|
|
|
23654
24140
|
* @description Compute the kernel runs on.
|
|
23655
24141
|
* @enum {string}
|
|
23656
24142
|
*/
|
|
23657
|
-
readonly targetType?: "cluster" | "instance" | "controller";
|
|
24143
|
+
readonly targetType?: "cluster" | "instance" | "controller" | "workspace";
|
|
23658
24144
|
/** @description Base path the kernel's Jupyter server is served at. */
|
|
23659
24145
|
readonly url: string;
|
|
23660
24146
|
/** @description ID of the compute worker running the kernel. */
|
|
@@ -24530,6 +25016,14 @@ export interface components {
|
|
|
24530
25016
|
/** @description Zone of the Lustre */
|
|
24531
25017
|
zone?: string;
|
|
24532
25018
|
};
|
|
25019
|
+
MCPStatus: {
|
|
25020
|
+
err?: string;
|
|
25021
|
+
/** Format: int64 */
|
|
25022
|
+
prompts?: number;
|
|
25023
|
+
server: string;
|
|
25024
|
+
/** Format: int64 */
|
|
25025
|
+
tools?: number;
|
|
25026
|
+
};
|
|
24533
25027
|
MachineLearningWorkspace: {
|
|
24534
25028
|
/**
|
|
24535
25029
|
* Format: date-time
|
|
@@ -25331,6 +25825,8 @@ export interface components {
|
|
|
25331
25825
|
MoveResourceInputBody: {
|
|
25332
25826
|
/** @description Target resource group name */
|
|
25333
25827
|
resourceGroup: string;
|
|
25828
|
+
/** @description Username of the target resource group's owner. Required only to pick between groups that share a name. */
|
|
25829
|
+
resourceGroupUser?: string;
|
|
25334
25830
|
};
|
|
25335
25831
|
Name: {
|
|
25336
25832
|
familyName?: string;
|
|
@@ -29398,6 +29894,11 @@ export interface components {
|
|
|
29398
29894
|
/** @description Organization name */
|
|
29399
29895
|
organization: string;
|
|
29400
29896
|
};
|
|
29897
|
+
RemotePolicy: {
|
|
29898
|
+
maxPermissionMode: string;
|
|
29899
|
+
newSessions: boolean;
|
|
29900
|
+
start: boolean;
|
|
29901
|
+
};
|
|
29401
29902
|
RemoteWorkflowSettings: {
|
|
29402
29903
|
/** @description Branch name. */
|
|
29403
29904
|
branch?: string;
|
|
@@ -29810,6 +30311,8 @@ export interface components {
|
|
|
29810
30311
|
* @description Amount used of the current allocation (includes billing estimates)
|
|
29811
30312
|
*/
|
|
29812
30313
|
readonly allocationUsed?: number;
|
|
30314
|
+
/** @description True when the caller may manage this resource group: share it, change its allocation, move or unassign any resource in it, delete it */
|
|
30315
|
+
readonly canAdmin?: boolean;
|
|
29813
30316
|
/**
|
|
29814
30317
|
* Format: int64
|
|
29815
30318
|
* @description Number of assigned resources in a failed state
|
|
@@ -29862,6 +30365,8 @@ export interface components {
|
|
|
29862
30365
|
* @description Amount used of the current allocation (includes billing estimates)
|
|
29863
30366
|
*/
|
|
29864
30367
|
readonly allocationUsed?: number;
|
|
30368
|
+
/** @description True when the caller may manage this resource group: share it, change its allocation, move or unassign any resource in it, delete it */
|
|
30369
|
+
readonly canAdmin?: boolean;
|
|
29865
30370
|
/**
|
|
29866
30371
|
* Format: int64
|
|
29867
30372
|
* @description Number of assigned resources in a failed state
|
|
@@ -30337,6 +30842,10 @@ export interface components {
|
|
|
30337
30842
|
/** @description The identifier for this secret. */
|
|
30338
30843
|
id: string;
|
|
30339
30844
|
};
|
|
30845
|
+
SendMessageBody: {
|
|
30846
|
+
/** @description The message to send. Empty continues the turn, which is how the terminal wakes background work. */
|
|
30847
|
+
text: string;
|
|
30848
|
+
};
|
|
30340
30849
|
SentrySettings: {
|
|
30341
30850
|
/** @description Whether custom DSNs are configured (false means using Parallel Works defaults). */
|
|
30342
30851
|
customDsn: boolean;
|
|
@@ -30566,6 +31075,42 @@ export interface components {
|
|
|
30566
31075
|
/** @description Software version. */
|
|
30567
31076
|
version: string;
|
|
30568
31077
|
};
|
|
31078
|
+
SessionState: {
|
|
31079
|
+
allocation?: string;
|
|
31080
|
+
attribution?: boolean;
|
|
31081
|
+
/** Format: int64 */
|
|
31082
|
+
autoCompactWindow?: number;
|
|
31083
|
+
autoName?: string;
|
|
31084
|
+
effectiveEffort?: string;
|
|
31085
|
+
effort?: string;
|
|
31086
|
+
effortActive?: boolean;
|
|
31087
|
+
goal?: components["schemas"]["GoalStatus"];
|
|
31088
|
+
/** Format: int64 */
|
|
31089
|
+
inputTokens?: number;
|
|
31090
|
+
model: string;
|
|
31091
|
+
name?: string;
|
|
31092
|
+
noToolsMode?: boolean;
|
|
31093
|
+
/** Format: int64 */
|
|
31094
|
+
outputTokens?: number;
|
|
31095
|
+
pendingSubagentWork?: boolean;
|
|
31096
|
+
permissionMode?: string;
|
|
31097
|
+
providerUsageAvailable?: boolean;
|
|
31098
|
+
remoteControl?: boolean;
|
|
31099
|
+
remotePolicy: components["schemas"]["RemotePolicy"];
|
|
31100
|
+
remoteUrl?: string;
|
|
31101
|
+
/** Format: int64 */
|
|
31102
|
+
sessionRetentionDays?: number;
|
|
31103
|
+
/** Format: int64 */
|
|
31104
|
+
subagentConcurrency?: number;
|
|
31105
|
+
/** Format: int64 */
|
|
31106
|
+
subagentDepth?: number;
|
|
31107
|
+
subagentModel?: string;
|
|
31108
|
+
subagentsDisabled?: boolean;
|
|
31109
|
+
supportedEfforts?: string[] | null;
|
|
31110
|
+
toolCallingMode?: string;
|
|
31111
|
+
toolsDisabled?: boolean;
|
|
31112
|
+
usageStatusLine?: string;
|
|
31113
|
+
};
|
|
30569
31114
|
SetActiveInputBody: {
|
|
30570
31115
|
/** @description Whether the user can sign in */
|
|
30571
31116
|
active: boolean;
|
|
@@ -31359,6 +31904,19 @@ export interface components {
|
|
|
31359
31904
|
/** @description Shared team IDs. */
|
|
31360
31905
|
teams?: string[];
|
|
31361
31906
|
};
|
|
31907
|
+
TurnResult: {
|
|
31908
|
+
blockedByHook?: string;
|
|
31909
|
+
/** Format: double */
|
|
31910
|
+
estimatedCost?: number;
|
|
31911
|
+
/** Format: int64 */
|
|
31912
|
+
inputTokens?: number;
|
|
31913
|
+
/** Format: int64 */
|
|
31914
|
+
iters?: number;
|
|
31915
|
+
model?: string;
|
|
31916
|
+
/** Format: int64 */
|
|
31917
|
+
outputTokens?: number;
|
|
31918
|
+
skills?: string[] | null;
|
|
31919
|
+
};
|
|
31362
31920
|
Unit: {
|
|
31363
31921
|
Rules: components["schemas"]["UnitRule"][] | null;
|
|
31364
31922
|
/**
|
|
@@ -35496,6 +36054,385 @@ export interface operations {
|
|
|
35496
36054
|
};
|
|
35497
36055
|
};
|
|
35498
36056
|
};
|
|
36057
|
+
"list-agent-machine-sessions": {
|
|
36058
|
+
parameters: {
|
|
36059
|
+
query?: never;
|
|
36060
|
+
header?: never;
|
|
36061
|
+
path: {
|
|
36062
|
+
/** @description Machine id from the machines list. */
|
|
36063
|
+
machine: string;
|
|
36064
|
+
};
|
|
36065
|
+
cookie?: never;
|
|
36066
|
+
};
|
|
36067
|
+
requestBody?: never;
|
|
36068
|
+
responses: {
|
|
36069
|
+
/** @description OK */
|
|
36070
|
+
200: {
|
|
36071
|
+
headers: {
|
|
36072
|
+
[name: string]: unknown;
|
|
36073
|
+
};
|
|
36074
|
+
content: {
|
|
36075
|
+
"application/json": components["schemas"]["AgentMachineSessionsResponse"];
|
|
36076
|
+
};
|
|
36077
|
+
};
|
|
36078
|
+
/** @description Error */
|
|
36079
|
+
default: {
|
|
36080
|
+
headers: {
|
|
36081
|
+
[name: string]: unknown;
|
|
36082
|
+
};
|
|
36083
|
+
content: {
|
|
36084
|
+
"application/json": components["schemas"]["Error"];
|
|
36085
|
+
};
|
|
36086
|
+
};
|
|
36087
|
+
};
|
|
36088
|
+
};
|
|
36089
|
+
"create-agent-session": {
|
|
36090
|
+
parameters: {
|
|
36091
|
+
query?: never;
|
|
36092
|
+
header?: never;
|
|
36093
|
+
path: {
|
|
36094
|
+
/** @description Machine id from the machines list. */
|
|
36095
|
+
machine: string;
|
|
36096
|
+
};
|
|
36097
|
+
cookie?: never;
|
|
36098
|
+
};
|
|
36099
|
+
requestBody: {
|
|
36100
|
+
content: {
|
|
36101
|
+
"application/json": components["schemas"]["CreateSessionBody"];
|
|
36102
|
+
};
|
|
36103
|
+
};
|
|
36104
|
+
responses: {
|
|
36105
|
+
/** @description Created */
|
|
36106
|
+
201: {
|
|
36107
|
+
headers: {
|
|
36108
|
+
[name: string]: unknown;
|
|
36109
|
+
};
|
|
36110
|
+
content: {
|
|
36111
|
+
"application/json": components["schemas"]["AgentSessionDetail"];
|
|
36112
|
+
};
|
|
36113
|
+
};
|
|
36114
|
+
/** @description Error */
|
|
36115
|
+
default: {
|
|
36116
|
+
headers: {
|
|
36117
|
+
[name: string]: unknown;
|
|
36118
|
+
};
|
|
36119
|
+
content: {
|
|
36120
|
+
"application/json": components["schemas"]["Error"];
|
|
36121
|
+
};
|
|
36122
|
+
};
|
|
36123
|
+
};
|
|
36124
|
+
};
|
|
36125
|
+
"get-agent-session": {
|
|
36126
|
+
parameters: {
|
|
36127
|
+
query?: never;
|
|
36128
|
+
header?: never;
|
|
36129
|
+
path: {
|
|
36130
|
+
/** @description Machine id from the machines list. */
|
|
36131
|
+
machine: string;
|
|
36132
|
+
/** @description Session id as the daemon reports it. */
|
|
36133
|
+
id: string;
|
|
36134
|
+
};
|
|
36135
|
+
cookie?: never;
|
|
36136
|
+
};
|
|
36137
|
+
requestBody?: never;
|
|
36138
|
+
responses: {
|
|
36139
|
+
/** @description OK */
|
|
36140
|
+
200: {
|
|
36141
|
+
headers: {
|
|
36142
|
+
[name: string]: unknown;
|
|
36143
|
+
};
|
|
36144
|
+
content: {
|
|
36145
|
+
"application/json": components["schemas"]["AgentSessionDetail"];
|
|
36146
|
+
};
|
|
36147
|
+
};
|
|
36148
|
+
/** @description Error */
|
|
36149
|
+
default: {
|
|
36150
|
+
headers: {
|
|
36151
|
+
[name: string]: unknown;
|
|
36152
|
+
};
|
|
36153
|
+
content: {
|
|
36154
|
+
"application/json": components["schemas"]["Error"];
|
|
36155
|
+
};
|
|
36156
|
+
};
|
|
36157
|
+
};
|
|
36158
|
+
};
|
|
36159
|
+
"delete-agent-session": {
|
|
36160
|
+
parameters: {
|
|
36161
|
+
query?: never;
|
|
36162
|
+
header?: never;
|
|
36163
|
+
path: {
|
|
36164
|
+
/** @description Machine id from the machines list. */
|
|
36165
|
+
machine: string;
|
|
36166
|
+
/** @description Session id as the daemon reports it. */
|
|
36167
|
+
id: string;
|
|
36168
|
+
};
|
|
36169
|
+
cookie?: never;
|
|
36170
|
+
};
|
|
36171
|
+
requestBody?: never;
|
|
36172
|
+
responses: {
|
|
36173
|
+
/** @description No Content */
|
|
36174
|
+
204: {
|
|
36175
|
+
headers: {
|
|
36176
|
+
[name: string]: unknown;
|
|
36177
|
+
};
|
|
36178
|
+
content?: never;
|
|
36179
|
+
};
|
|
36180
|
+
/** @description Error */
|
|
36181
|
+
default: {
|
|
36182
|
+
headers: {
|
|
36183
|
+
[name: string]: unknown;
|
|
36184
|
+
};
|
|
36185
|
+
content: {
|
|
36186
|
+
"application/json": components["schemas"]["Error"];
|
|
36187
|
+
};
|
|
36188
|
+
};
|
|
36189
|
+
};
|
|
36190
|
+
};
|
|
36191
|
+
"answer-agent-session-approval": {
|
|
36192
|
+
parameters: {
|
|
36193
|
+
query?: never;
|
|
36194
|
+
header?: never;
|
|
36195
|
+
path: {
|
|
36196
|
+
/** @description Machine id from the machines list. */
|
|
36197
|
+
machine: string;
|
|
36198
|
+
/** @description Session id as the daemon reports it. */
|
|
36199
|
+
id: string;
|
|
36200
|
+
/** @description Approval id from the session detail or an approval_request event. */
|
|
36201
|
+
approvalId: string;
|
|
36202
|
+
};
|
|
36203
|
+
cookie?: never;
|
|
36204
|
+
};
|
|
36205
|
+
requestBody: {
|
|
36206
|
+
content: {
|
|
36207
|
+
"application/json": components["schemas"]["ApprovalAnswer"];
|
|
36208
|
+
};
|
|
36209
|
+
};
|
|
36210
|
+
responses: {
|
|
36211
|
+
/** @description No Content */
|
|
36212
|
+
204: {
|
|
36213
|
+
headers: {
|
|
36214
|
+
[name: string]: unknown;
|
|
36215
|
+
};
|
|
36216
|
+
content?: never;
|
|
36217
|
+
};
|
|
36218
|
+
/** @description Error */
|
|
36219
|
+
default: {
|
|
36220
|
+
headers: {
|
|
36221
|
+
[name: string]: unknown;
|
|
36222
|
+
};
|
|
36223
|
+
content: {
|
|
36224
|
+
"application/json": components["schemas"]["Error"];
|
|
36225
|
+
};
|
|
36226
|
+
};
|
|
36227
|
+
};
|
|
36228
|
+
};
|
|
36229
|
+
"fork-agent-session": {
|
|
36230
|
+
parameters: {
|
|
36231
|
+
query?: never;
|
|
36232
|
+
header?: never;
|
|
36233
|
+
path: {
|
|
36234
|
+
/** @description Machine id from the machines list. */
|
|
36235
|
+
machine: string;
|
|
36236
|
+
/** @description Session id as the daemon reports it. */
|
|
36237
|
+
id: string;
|
|
36238
|
+
};
|
|
36239
|
+
cookie?: never;
|
|
36240
|
+
};
|
|
36241
|
+
requestBody?: never;
|
|
36242
|
+
responses: {
|
|
36243
|
+
/** @description Created */
|
|
36244
|
+
201: {
|
|
36245
|
+
headers: {
|
|
36246
|
+
[name: string]: unknown;
|
|
36247
|
+
};
|
|
36248
|
+
content: {
|
|
36249
|
+
"application/json": components["schemas"]["AgentSessionForked"];
|
|
36250
|
+
};
|
|
36251
|
+
};
|
|
36252
|
+
/** @description Error */
|
|
36253
|
+
default: {
|
|
36254
|
+
headers: {
|
|
36255
|
+
[name: string]: unknown;
|
|
36256
|
+
};
|
|
36257
|
+
content: {
|
|
36258
|
+
"application/json": components["schemas"]["Error"];
|
|
36259
|
+
};
|
|
36260
|
+
};
|
|
36261
|
+
};
|
|
36262
|
+
};
|
|
36263
|
+
"interrupt-agent-session": {
|
|
36264
|
+
parameters: {
|
|
36265
|
+
query?: never;
|
|
36266
|
+
header?: never;
|
|
36267
|
+
path: {
|
|
36268
|
+
/** @description Machine id from the machines list. */
|
|
36269
|
+
machine: string;
|
|
36270
|
+
/** @description Session id as the daemon reports it. */
|
|
36271
|
+
id: string;
|
|
36272
|
+
};
|
|
36273
|
+
cookie?: never;
|
|
36274
|
+
};
|
|
36275
|
+
requestBody?: never;
|
|
36276
|
+
responses: {
|
|
36277
|
+
/** @description No Content */
|
|
36278
|
+
204: {
|
|
36279
|
+
headers: {
|
|
36280
|
+
[name: string]: unknown;
|
|
36281
|
+
};
|
|
36282
|
+
content?: never;
|
|
36283
|
+
};
|
|
36284
|
+
/** @description Error */
|
|
36285
|
+
default: {
|
|
36286
|
+
headers: {
|
|
36287
|
+
[name: string]: unknown;
|
|
36288
|
+
};
|
|
36289
|
+
content: {
|
|
36290
|
+
"application/json": components["schemas"]["Error"];
|
|
36291
|
+
};
|
|
36292
|
+
};
|
|
36293
|
+
};
|
|
36294
|
+
};
|
|
36295
|
+
"send-agent-session-message": {
|
|
36296
|
+
parameters: {
|
|
36297
|
+
query?: never;
|
|
36298
|
+
header?: never;
|
|
36299
|
+
path: {
|
|
36300
|
+
/** @description Machine id from the machines list. */
|
|
36301
|
+
machine: string;
|
|
36302
|
+
/** @description Session id as the daemon reports it. */
|
|
36303
|
+
id: string;
|
|
36304
|
+
};
|
|
36305
|
+
cookie?: never;
|
|
36306
|
+
};
|
|
36307
|
+
requestBody: {
|
|
36308
|
+
content: {
|
|
36309
|
+
"application/json": components["schemas"]["SendMessageBody"];
|
|
36310
|
+
};
|
|
36311
|
+
};
|
|
36312
|
+
responses: {
|
|
36313
|
+
/** @description OK */
|
|
36314
|
+
200: {
|
|
36315
|
+
headers: {
|
|
36316
|
+
[name: string]: unknown;
|
|
36317
|
+
};
|
|
36318
|
+
content: {
|
|
36319
|
+
"application/json": components["schemas"]["AgentMessageAccepted"];
|
|
36320
|
+
};
|
|
36321
|
+
};
|
|
36322
|
+
/** @description Error */
|
|
36323
|
+
default: {
|
|
36324
|
+
headers: {
|
|
36325
|
+
[name: string]: unknown;
|
|
36326
|
+
};
|
|
36327
|
+
content: {
|
|
36328
|
+
"application/json": components["schemas"]["Error"];
|
|
36329
|
+
};
|
|
36330
|
+
};
|
|
36331
|
+
};
|
|
36332
|
+
};
|
|
36333
|
+
"rename-agent-session": {
|
|
36334
|
+
parameters: {
|
|
36335
|
+
query?: never;
|
|
36336
|
+
header?: never;
|
|
36337
|
+
path: {
|
|
36338
|
+
/** @description Machine id from the machines list. */
|
|
36339
|
+
machine: string;
|
|
36340
|
+
/** @description Session id as the daemon reports it. */
|
|
36341
|
+
id: string;
|
|
36342
|
+
};
|
|
36343
|
+
cookie?: never;
|
|
36344
|
+
};
|
|
36345
|
+
requestBody: {
|
|
36346
|
+
content: {
|
|
36347
|
+
"application/json": components["schemas"]["AgentRenameBody"];
|
|
36348
|
+
};
|
|
36349
|
+
};
|
|
36350
|
+
responses: {
|
|
36351
|
+
/** @description No Content */
|
|
36352
|
+
204: {
|
|
36353
|
+
headers: {
|
|
36354
|
+
[name: string]: unknown;
|
|
36355
|
+
};
|
|
36356
|
+
content?: never;
|
|
36357
|
+
};
|
|
36358
|
+
/** @description Error */
|
|
36359
|
+
default: {
|
|
36360
|
+
headers: {
|
|
36361
|
+
[name: string]: unknown;
|
|
36362
|
+
};
|
|
36363
|
+
content: {
|
|
36364
|
+
"application/json": components["schemas"]["Error"];
|
|
36365
|
+
};
|
|
36366
|
+
};
|
|
36367
|
+
};
|
|
36368
|
+
};
|
|
36369
|
+
"update-agent-session-settings": {
|
|
36370
|
+
parameters: {
|
|
36371
|
+
query?: never;
|
|
36372
|
+
header?: never;
|
|
36373
|
+
path: {
|
|
36374
|
+
/** @description Machine id from the machines list. */
|
|
36375
|
+
machine: string;
|
|
36376
|
+
/** @description Session id as the daemon reports it. */
|
|
36377
|
+
id: string;
|
|
36378
|
+
};
|
|
36379
|
+
cookie?: never;
|
|
36380
|
+
};
|
|
36381
|
+
requestBody: {
|
|
36382
|
+
content: {
|
|
36383
|
+
"application/json": components["schemas"]["AgentSessionSettingsBody"];
|
|
36384
|
+
};
|
|
36385
|
+
};
|
|
36386
|
+
responses: {
|
|
36387
|
+
/** @description OK */
|
|
36388
|
+
200: {
|
|
36389
|
+
headers: {
|
|
36390
|
+
[name: string]: unknown;
|
|
36391
|
+
};
|
|
36392
|
+
content: {
|
|
36393
|
+
"application/json": components["schemas"]["SessionState"];
|
|
36394
|
+
};
|
|
36395
|
+
};
|
|
36396
|
+
/** @description Error */
|
|
36397
|
+
default: {
|
|
36398
|
+
headers: {
|
|
36399
|
+
[name: string]: unknown;
|
|
36400
|
+
};
|
|
36401
|
+
content: {
|
|
36402
|
+
"application/json": components["schemas"]["Error"];
|
|
36403
|
+
};
|
|
36404
|
+
};
|
|
36405
|
+
};
|
|
36406
|
+
};
|
|
36407
|
+
"list-agent-sessions": {
|
|
36408
|
+
parameters: {
|
|
36409
|
+
query?: never;
|
|
36410
|
+
header?: never;
|
|
36411
|
+
path?: never;
|
|
36412
|
+
cookie?: never;
|
|
36413
|
+
};
|
|
36414
|
+
requestBody?: never;
|
|
36415
|
+
responses: {
|
|
36416
|
+
/** @description OK */
|
|
36417
|
+
200: {
|
|
36418
|
+
headers: {
|
|
36419
|
+
[name: string]: unknown;
|
|
36420
|
+
};
|
|
36421
|
+
content: {
|
|
36422
|
+
"application/json": components["schemas"]["AgentSessionsResponse"];
|
|
36423
|
+
};
|
|
36424
|
+
};
|
|
36425
|
+
/** @description Error */
|
|
36426
|
+
default: {
|
|
36427
|
+
headers: {
|
|
36428
|
+
[name: string]: unknown;
|
|
36429
|
+
};
|
|
36430
|
+
content: {
|
|
36431
|
+
"application/json": components["schemas"]["Error"];
|
|
36432
|
+
};
|
|
36433
|
+
};
|
|
36434
|
+
};
|
|
36435
|
+
};
|
|
35499
36436
|
"get-user-ai-usage-breakdown": {
|
|
35500
36437
|
parameters: {
|
|
35501
36438
|
query?: {
|
|
@@ -56766,6 +57703,42 @@ export interface operations {
|
|
|
56766
57703
|
};
|
|
56767
57704
|
};
|
|
56768
57705
|
};
|
|
57706
|
+
"unassign-resource-group-resource": {
|
|
57707
|
+
parameters: {
|
|
57708
|
+
query?: never;
|
|
57709
|
+
header?: never;
|
|
57710
|
+
path: {
|
|
57711
|
+
/** @description The name of the organization. */
|
|
57712
|
+
organization: string;
|
|
57713
|
+
/** @description Username of the target user. */
|
|
57714
|
+
user: string;
|
|
57715
|
+
/** @description Resource group name */
|
|
57716
|
+
name: string;
|
|
57717
|
+
/** @description Id of the resource to unassign */
|
|
57718
|
+
resourceId: string;
|
|
57719
|
+
};
|
|
57720
|
+
cookie?: never;
|
|
57721
|
+
};
|
|
57722
|
+
requestBody?: never;
|
|
57723
|
+
responses: {
|
|
57724
|
+
/** @description No Content */
|
|
57725
|
+
204: {
|
|
57726
|
+
headers: {
|
|
57727
|
+
[name: string]: unknown;
|
|
57728
|
+
};
|
|
57729
|
+
content?: never;
|
|
57730
|
+
};
|
|
57731
|
+
/** @description Error */
|
|
57732
|
+
default: {
|
|
57733
|
+
headers: {
|
|
57734
|
+
[name: string]: unknown;
|
|
57735
|
+
};
|
|
57736
|
+
content: {
|
|
57737
|
+
"application/json": components["schemas"]["Error"];
|
|
57738
|
+
};
|
|
57739
|
+
};
|
|
57740
|
+
};
|
|
57741
|
+
};
|
|
56769
57742
|
"move-resource-group-resource": {
|
|
56770
57743
|
parameters: {
|
|
56771
57744
|
query?: never;
|
|
@@ -61076,8 +62049,10 @@ export interface operations {
|
|
|
61076
62049
|
allocation?: string;
|
|
61077
62050
|
/** @description Sort field and direction */
|
|
61078
62051
|
sort?: "name" | "-name";
|
|
61079
|
-
/** @description
|
|
61080
|
-
|
|
62052
|
+
/** @description Also require this user to be able to bill the group. Narrows the caller's own list, so it reveals nothing they cannot already see. */
|
|
62053
|
+
usableBy?: string;
|
|
62054
|
+
/** @description Include the groups an organization admin may open but has no share on. For deciding whether to link to a group, not for choosing where to bill. */
|
|
62055
|
+
openable?: boolean;
|
|
61081
62056
|
/** @description Only resource groups whose current allocation may fund this resource type; groups with no allocation or an unrestricted allocation always match */
|
|
61082
62057
|
allows?: "aws" | "azure" | "google" | "oracle" | "openstack" | "kubernetes" | "ai";
|
|
61083
62058
|
};
|
|
@@ -64104,4 +65079,24 @@ export interface operations {
|
|
|
64104
65079
|
};
|
|
64105
65080
|
};
|
|
64106
65081
|
};
|
|
65082
|
+
"agent-session-events": {
|
|
65083
|
+
parameters: {
|
|
65084
|
+
query?: never;
|
|
65085
|
+
header?: never;
|
|
65086
|
+
path?: never;
|
|
65087
|
+
cookie?: never;
|
|
65088
|
+
};
|
|
65089
|
+
requestBody?: never;
|
|
65090
|
+
responses: {
|
|
65091
|
+
/** @description A session event frame */
|
|
65092
|
+
200: {
|
|
65093
|
+
headers: {
|
|
65094
|
+
[name: string]: unknown;
|
|
65095
|
+
};
|
|
65096
|
+
content: {
|
|
65097
|
+
"application/json": components["schemas"]["AgentStreamEvent"];
|
|
65098
|
+
};
|
|
65099
|
+
};
|
|
65100
|
+
};
|
|
65101
|
+
};
|
|
64107
65102
|
}
|