@parallelworks/client 7.105.0 → 7.106.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 +986 -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,137 @@ 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
|
+
updatedAt: string;
|
|
16821
|
+
workspace: string;
|
|
16822
|
+
};
|
|
16823
|
+
AgentSessionDetail: {
|
|
16824
|
+
allocation?: string;
|
|
16825
|
+
approvals?: components["schemas"]["ApprovalRequest"][] | null;
|
|
16826
|
+
autoName?: string;
|
|
16827
|
+
/** Format: date-time */
|
|
16828
|
+
createdAt: string;
|
|
16829
|
+
effort?: string;
|
|
16830
|
+
history: components["schemas"]["HistoryItem"][] | null;
|
|
16831
|
+
id: string;
|
|
16832
|
+
/** Format: int64 */
|
|
16833
|
+
lastSeq?: number;
|
|
16834
|
+
liveHost?: string;
|
|
16835
|
+
machineId: string;
|
|
16836
|
+
/** Format: int64 */
|
|
16837
|
+
messages: number;
|
|
16838
|
+
model: string;
|
|
16839
|
+
name?: string;
|
|
16840
|
+
permissionMode?: string;
|
|
16841
|
+
preview: string;
|
|
16842
|
+
remoteControl?: boolean;
|
|
16843
|
+
/** @enum {string} */
|
|
16844
|
+
status: "idle" | "running" | "awaiting_approval" | "live_elsewhere";
|
|
16845
|
+
/** Format: date-time */
|
|
16846
|
+
updatedAt: string;
|
|
16847
|
+
workspace: string;
|
|
16848
|
+
workspaceUntrusted?: boolean;
|
|
16849
|
+
};
|
|
16850
|
+
AgentSessionForked: {
|
|
16851
|
+
/** @description Session id of the copy. */
|
|
16852
|
+
id: string;
|
|
16853
|
+
machineId: string;
|
|
16854
|
+
};
|
|
16855
|
+
AgentSessionSettingsBody: {
|
|
16856
|
+
/** @description Allocation to bill; the daemon requires one for org provider models. */
|
|
16857
|
+
allocation?: string;
|
|
16858
|
+
/** @description Model id to switch the session to. */
|
|
16859
|
+
model?: string;
|
|
16860
|
+
/**
|
|
16861
|
+
* @description Authority the session runs with; the machine refuses anything above its remoteMaxPermissionMode.
|
|
16862
|
+
* @enum {string}
|
|
16863
|
+
*/
|
|
16864
|
+
permissionMode?: "read-only" | "accept-edits" | "bypass-permissions";
|
|
16865
|
+
};
|
|
16866
|
+
AgentSessionsResponse: {
|
|
16867
|
+
machines: components["schemas"]["AgentMachine"][] | null;
|
|
16868
|
+
/** @description Every reachable machine's sessions, newest first. */
|
|
16869
|
+
sessions: components["schemas"]["AgentSession"][] | null;
|
|
16870
|
+
};
|
|
16871
|
+
AgentStreamEvent: {
|
|
16872
|
+
agentType?: string;
|
|
16873
|
+
approval?: components["schemas"]["ApprovalRequest"];
|
|
16874
|
+
approvalId?: string;
|
|
16875
|
+
args?: string;
|
|
16876
|
+
background?: boolean;
|
|
16877
|
+
client?: string;
|
|
16878
|
+
color?: string;
|
|
16879
|
+
content?: string;
|
|
16880
|
+
goalProgress?: components["schemas"]["GoalProgress"];
|
|
16881
|
+
id?: string;
|
|
16882
|
+
interim?: boolean;
|
|
16883
|
+
isError?: boolean;
|
|
16884
|
+
/** Format: int64 */
|
|
16885
|
+
iters?: number;
|
|
16886
|
+
mcp?: components["schemas"]["MCPStatus"];
|
|
16887
|
+
name?: string;
|
|
16888
|
+
newId?: string;
|
|
16889
|
+
result?: string;
|
|
16890
|
+
/** Format: int64 */
|
|
16891
|
+
seq: number;
|
|
16892
|
+
/** Format: int64 */
|
|
16893
|
+
startLine?: number;
|
|
16894
|
+
state?: components["schemas"]["SessionState"];
|
|
16895
|
+
turn?: components["schemas"]["TurnResult"];
|
|
16896
|
+
turnId?: string;
|
|
16897
|
+
type: string;
|
|
16898
|
+
};
|
|
16515
16899
|
AiConnectionInventory: {
|
|
16516
16900
|
catalogEntryId?: string;
|
|
16517
16901
|
/** @enum {string} */
|
|
@@ -16872,6 +17256,40 @@ export interface components {
|
|
|
16872
17256
|
*/
|
|
16873
17257
|
subjectType: "userId" | "username";
|
|
16874
17258
|
};
|
|
17259
|
+
ApprovalAnswer: {
|
|
17260
|
+
allowDir?: boolean;
|
|
17261
|
+
allowed?: boolean;
|
|
17262
|
+
chat?: boolean;
|
|
17263
|
+
clear?: boolean;
|
|
17264
|
+
denyMessage?: string;
|
|
17265
|
+
feedback?: string;
|
|
17266
|
+
/** @enum {string} */
|
|
17267
|
+
mode?: "" | "read-only" | "accept-edits" | "bypass-permissions" | "plan";
|
|
17268
|
+
plan?: string;
|
|
17269
|
+
text?: string;
|
|
17270
|
+
};
|
|
17271
|
+
ApprovalRequest: {
|
|
17272
|
+
agent?: string;
|
|
17273
|
+
command?: string;
|
|
17274
|
+
/** Format: date-time */
|
|
17275
|
+
createdAt: string;
|
|
17276
|
+
header?: string;
|
|
17277
|
+
id: string;
|
|
17278
|
+
/** @enum {string} */
|
|
17279
|
+
kind: "confirm" | "ask" | "plan";
|
|
17280
|
+
mode?: string;
|
|
17281
|
+
multiSelect?: boolean;
|
|
17282
|
+
options?: components["schemas"]["AskOption"][] | null;
|
|
17283
|
+
plan?: string;
|
|
17284
|
+
planPath?: string;
|
|
17285
|
+
question?: string;
|
|
17286
|
+
reason?: string;
|
|
17287
|
+
subagentId?: string;
|
|
17288
|
+
};
|
|
17289
|
+
AskOption: {
|
|
17290
|
+
description?: string;
|
|
17291
|
+
label: string;
|
|
17292
|
+
};
|
|
16875
17293
|
AssignedOrganization: {
|
|
16876
17294
|
displayName: string;
|
|
16877
17295
|
id: string;
|
|
@@ -20349,6 +20767,11 @@ export interface components {
|
|
|
20349
20767
|
buckets?: string[] | null;
|
|
20350
20768
|
/** @description Environment to schedule the kernel's worker onto. Cluster targets only. */
|
|
20351
20769
|
environmentId?: string;
|
|
20770
|
+
/**
|
|
20771
|
+
* Format: double
|
|
20772
|
+
* @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.
|
|
20773
|
+
*/
|
|
20774
|
+
memoryLimit?: number;
|
|
20352
20775
|
/** @description Kernel name. Auto-generated if omitted. */
|
|
20353
20776
|
name?: string;
|
|
20354
20777
|
/** @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 +20780,7 @@ export interface components {
|
|
|
20357
20780
|
schedulingParams?: {
|
|
20358
20781
|
[key: string]: unknown;
|
|
20359
20782
|
};
|
|
20360
|
-
/** @description Cluster or instance the kernel runs on. */
|
|
20783
|
+
/** @description Cluster or instance the kernel runs on, or "user-workspace" to run it on the caller's own workspace. */
|
|
20361
20784
|
targetId: string;
|
|
20362
20785
|
/** @description Run the kernel on this existing compute worker instead of scheduling a new one. */
|
|
20363
20786
|
workerId?: string;
|
|
@@ -20719,6 +21142,21 @@ export interface components {
|
|
|
20719
21142
|
/** @description Display name for the key. */
|
|
20720
21143
|
title: string;
|
|
20721
21144
|
};
|
|
21145
|
+
CreateSessionBody: {
|
|
21146
|
+
/** @description Allocation to bill the session to. Required for org provider models. */
|
|
21147
|
+
allocation?: string;
|
|
21148
|
+
/** @description Model id; the machine's default is used when empty. */
|
|
21149
|
+
model?: string;
|
|
21150
|
+
/**
|
|
21151
|
+
* @description Authority the session runs with, clamped by the machine to its remoteMaxPermissionMode; the machine's default is used when empty.
|
|
21152
|
+
* @enum {string}
|
|
21153
|
+
*/
|
|
21154
|
+
permissionMode?: "" | "read-only" | "accept-edits" | "bypass-permissions";
|
|
21155
|
+
/** @description Starts the first turn immediately when set. */
|
|
21156
|
+
prompt?: string;
|
|
21157
|
+
/** @description Absolute path on the machine to run in. Offer the caller workspaces their existing sessions already use. */
|
|
21158
|
+
workspace: string;
|
|
21159
|
+
};
|
|
20722
21160
|
CreateSkuRuleBody: {
|
|
20723
21161
|
/**
|
|
20724
21162
|
* Format: double
|
|
@@ -22266,6 +22704,26 @@ export interface components {
|
|
|
22266
22704
|
/** @description Matches across every server the caller is connected to. */
|
|
22267
22705
|
projects: components["schemas"]["GitlabProjectListing"][] | null;
|
|
22268
22706
|
};
|
|
22707
|
+
GoalProgress: {
|
|
22708
|
+
condition?: string;
|
|
22709
|
+
/** Format: int64 */
|
|
22710
|
+
elapsedMs?: number;
|
|
22711
|
+
err?: string;
|
|
22712
|
+
/** @enum {string} */
|
|
22713
|
+
outcome?: "" | "achieved" | "stopped";
|
|
22714
|
+
reason?: string;
|
|
22715
|
+
/** Format: int64 */
|
|
22716
|
+
tokens?: number;
|
|
22717
|
+
/** Format: int64 */
|
|
22718
|
+
turns?: number;
|
|
22719
|
+
};
|
|
22720
|
+
GoalStatus: {
|
|
22721
|
+
active?: boolean;
|
|
22722
|
+
checking?: boolean;
|
|
22723
|
+
/** Format: int64 */
|
|
22724
|
+
elapsedMs?: number;
|
|
22725
|
+
paused?: boolean;
|
|
22726
|
+
};
|
|
22269
22727
|
GoogleBucket: {
|
|
22270
22728
|
/**
|
|
22271
22729
|
* @description The requesting user's access level for this bucket.
|
|
@@ -23120,6 +23578,15 @@ export interface components {
|
|
|
23120
23578
|
/** @description The Helm release's computed values (chart defaults merged with overrides) in YAML format */
|
|
23121
23579
|
values: string;
|
|
23122
23580
|
};
|
|
23581
|
+
HistoryItem: {
|
|
23582
|
+
fromMain?: boolean;
|
|
23583
|
+
/** @enum {string} */
|
|
23584
|
+
kind: "user" | "assistant" | "thinking" | "tool_call" | "tool_result" | "notice" | "plan_view" | "goal_view" | "goal_progress";
|
|
23585
|
+
planBody?: string;
|
|
23586
|
+
text?: string;
|
|
23587
|
+
toolArgs?: string;
|
|
23588
|
+
toolName?: string;
|
|
23589
|
+
};
|
|
23123
23590
|
IconRef: {
|
|
23124
23591
|
/** @description SHA256 hex of a blob already in the caller's thumbnail library. Mutually exclusive with presetUrl. */
|
|
23125
23592
|
etag?: string;
|
|
@@ -23635,6 +24102,11 @@ export interface components {
|
|
|
23635
24102
|
readonly errorMessage?: string;
|
|
23636
24103
|
/** @description Kernel ID. */
|
|
23637
24104
|
readonly id: string;
|
|
24105
|
+
/**
|
|
24106
|
+
* Format: double
|
|
24107
|
+
* @description Memory ceiling (GB) applied to the kernel's processes.
|
|
24108
|
+
*/
|
|
24109
|
+
readonly memoryLimit?: number;
|
|
23638
24110
|
/** @description Kernel name. */
|
|
23639
24111
|
name?: string;
|
|
23640
24112
|
/** @description Hostname of the compute node the kernel runs on. */
|
|
@@ -23654,7 +24126,7 @@ export interface components {
|
|
|
23654
24126
|
* @description Compute the kernel runs on.
|
|
23655
24127
|
* @enum {string}
|
|
23656
24128
|
*/
|
|
23657
|
-
readonly targetType?: "cluster" | "instance" | "controller";
|
|
24129
|
+
readonly targetType?: "cluster" | "instance" | "controller" | "workspace";
|
|
23658
24130
|
/** @description Base path the kernel's Jupyter server is served at. */
|
|
23659
24131
|
readonly url: string;
|
|
23660
24132
|
/** @description ID of the compute worker running the kernel. */
|
|
@@ -24530,6 +25002,14 @@ export interface components {
|
|
|
24530
25002
|
/** @description Zone of the Lustre */
|
|
24531
25003
|
zone?: string;
|
|
24532
25004
|
};
|
|
25005
|
+
MCPStatus: {
|
|
25006
|
+
err?: string;
|
|
25007
|
+
/** Format: int64 */
|
|
25008
|
+
prompts?: number;
|
|
25009
|
+
server: string;
|
|
25010
|
+
/** Format: int64 */
|
|
25011
|
+
tools?: number;
|
|
25012
|
+
};
|
|
24533
25013
|
MachineLearningWorkspace: {
|
|
24534
25014
|
/**
|
|
24535
25015
|
* Format: date-time
|
|
@@ -25331,6 +25811,8 @@ export interface components {
|
|
|
25331
25811
|
MoveResourceInputBody: {
|
|
25332
25812
|
/** @description Target resource group name */
|
|
25333
25813
|
resourceGroup: string;
|
|
25814
|
+
/** @description Username of the target resource group's owner. Required only to pick between groups that share a name. */
|
|
25815
|
+
resourceGroupUser?: string;
|
|
25334
25816
|
};
|
|
25335
25817
|
Name: {
|
|
25336
25818
|
familyName?: string;
|
|
@@ -29398,6 +29880,11 @@ export interface components {
|
|
|
29398
29880
|
/** @description Organization name */
|
|
29399
29881
|
organization: string;
|
|
29400
29882
|
};
|
|
29883
|
+
RemotePolicy: {
|
|
29884
|
+
maxPermissionMode: string;
|
|
29885
|
+
newSessions: boolean;
|
|
29886
|
+
start: boolean;
|
|
29887
|
+
};
|
|
29401
29888
|
RemoteWorkflowSettings: {
|
|
29402
29889
|
/** @description Branch name. */
|
|
29403
29890
|
branch?: string;
|
|
@@ -29810,6 +30297,8 @@ export interface components {
|
|
|
29810
30297
|
* @description Amount used of the current allocation (includes billing estimates)
|
|
29811
30298
|
*/
|
|
29812
30299
|
readonly allocationUsed?: number;
|
|
30300
|
+
/** @description True when the caller may manage this resource group: share it, change its allocation, move or unassign any resource in it, delete it */
|
|
30301
|
+
readonly canAdmin?: boolean;
|
|
29813
30302
|
/**
|
|
29814
30303
|
* Format: int64
|
|
29815
30304
|
* @description Number of assigned resources in a failed state
|
|
@@ -29862,6 +30351,8 @@ export interface components {
|
|
|
29862
30351
|
* @description Amount used of the current allocation (includes billing estimates)
|
|
29863
30352
|
*/
|
|
29864
30353
|
readonly allocationUsed?: number;
|
|
30354
|
+
/** @description True when the caller may manage this resource group: share it, change its allocation, move or unassign any resource in it, delete it */
|
|
30355
|
+
readonly canAdmin?: boolean;
|
|
29865
30356
|
/**
|
|
29866
30357
|
* Format: int64
|
|
29867
30358
|
* @description Number of assigned resources in a failed state
|
|
@@ -30337,6 +30828,10 @@ export interface components {
|
|
|
30337
30828
|
/** @description The identifier for this secret. */
|
|
30338
30829
|
id: string;
|
|
30339
30830
|
};
|
|
30831
|
+
SendMessageBody: {
|
|
30832
|
+
/** @description The message to send. Empty continues the turn, which is how the terminal wakes background work. */
|
|
30833
|
+
text: string;
|
|
30834
|
+
};
|
|
30340
30835
|
SentrySettings: {
|
|
30341
30836
|
/** @description Whether custom DSNs are configured (false means using Parallel Works defaults). */
|
|
30342
30837
|
customDsn: boolean;
|
|
@@ -30566,6 +31061,42 @@ export interface components {
|
|
|
30566
31061
|
/** @description Software version. */
|
|
30567
31062
|
version: string;
|
|
30568
31063
|
};
|
|
31064
|
+
SessionState: {
|
|
31065
|
+
allocation?: string;
|
|
31066
|
+
attribution?: boolean;
|
|
31067
|
+
/** Format: int64 */
|
|
31068
|
+
autoCompactWindow?: number;
|
|
31069
|
+
autoName?: string;
|
|
31070
|
+
effectiveEffort?: string;
|
|
31071
|
+
effort?: string;
|
|
31072
|
+
effortActive?: boolean;
|
|
31073
|
+
goal?: components["schemas"]["GoalStatus"];
|
|
31074
|
+
/** Format: int64 */
|
|
31075
|
+
inputTokens?: number;
|
|
31076
|
+
model: string;
|
|
31077
|
+
name?: string;
|
|
31078
|
+
noToolsMode?: boolean;
|
|
31079
|
+
/** Format: int64 */
|
|
31080
|
+
outputTokens?: number;
|
|
31081
|
+
pendingSubagentWork?: boolean;
|
|
31082
|
+
permissionMode?: string;
|
|
31083
|
+
providerUsageAvailable?: boolean;
|
|
31084
|
+
remoteControl?: boolean;
|
|
31085
|
+
remotePolicy: components["schemas"]["RemotePolicy"];
|
|
31086
|
+
remoteUrl?: string;
|
|
31087
|
+
/** Format: int64 */
|
|
31088
|
+
sessionRetentionDays?: number;
|
|
31089
|
+
/** Format: int64 */
|
|
31090
|
+
subagentConcurrency?: number;
|
|
31091
|
+
/** Format: int64 */
|
|
31092
|
+
subagentDepth?: number;
|
|
31093
|
+
subagentModel?: string;
|
|
31094
|
+
subagentsDisabled?: boolean;
|
|
31095
|
+
supportedEfforts?: string[] | null;
|
|
31096
|
+
toolCallingMode?: string;
|
|
31097
|
+
toolsDisabled?: boolean;
|
|
31098
|
+
usageStatusLine?: string;
|
|
31099
|
+
};
|
|
30569
31100
|
SetActiveInputBody: {
|
|
30570
31101
|
/** @description Whether the user can sign in */
|
|
30571
31102
|
active: boolean;
|
|
@@ -31359,6 +31890,19 @@ export interface components {
|
|
|
31359
31890
|
/** @description Shared team IDs. */
|
|
31360
31891
|
teams?: string[];
|
|
31361
31892
|
};
|
|
31893
|
+
TurnResult: {
|
|
31894
|
+
blockedByHook?: string;
|
|
31895
|
+
/** Format: double */
|
|
31896
|
+
estimatedCost?: number;
|
|
31897
|
+
/** Format: int64 */
|
|
31898
|
+
inputTokens?: number;
|
|
31899
|
+
/** Format: int64 */
|
|
31900
|
+
iters?: number;
|
|
31901
|
+
model?: string;
|
|
31902
|
+
/** Format: int64 */
|
|
31903
|
+
outputTokens?: number;
|
|
31904
|
+
skills?: string[] | null;
|
|
31905
|
+
};
|
|
31362
31906
|
Unit: {
|
|
31363
31907
|
Rules: components["schemas"]["UnitRule"][] | null;
|
|
31364
31908
|
/**
|
|
@@ -35496,6 +36040,385 @@ export interface operations {
|
|
|
35496
36040
|
};
|
|
35497
36041
|
};
|
|
35498
36042
|
};
|
|
36043
|
+
"list-agent-machine-sessions": {
|
|
36044
|
+
parameters: {
|
|
36045
|
+
query?: never;
|
|
36046
|
+
header?: never;
|
|
36047
|
+
path: {
|
|
36048
|
+
/** @description Machine id from the machines list. */
|
|
36049
|
+
machine: string;
|
|
36050
|
+
};
|
|
36051
|
+
cookie?: never;
|
|
36052
|
+
};
|
|
36053
|
+
requestBody?: never;
|
|
36054
|
+
responses: {
|
|
36055
|
+
/** @description OK */
|
|
36056
|
+
200: {
|
|
36057
|
+
headers: {
|
|
36058
|
+
[name: string]: unknown;
|
|
36059
|
+
};
|
|
36060
|
+
content: {
|
|
36061
|
+
"application/json": components["schemas"]["AgentMachineSessionsResponse"];
|
|
36062
|
+
};
|
|
36063
|
+
};
|
|
36064
|
+
/** @description Error */
|
|
36065
|
+
default: {
|
|
36066
|
+
headers: {
|
|
36067
|
+
[name: string]: unknown;
|
|
36068
|
+
};
|
|
36069
|
+
content: {
|
|
36070
|
+
"application/json": components["schemas"]["Error"];
|
|
36071
|
+
};
|
|
36072
|
+
};
|
|
36073
|
+
};
|
|
36074
|
+
};
|
|
36075
|
+
"create-agent-session": {
|
|
36076
|
+
parameters: {
|
|
36077
|
+
query?: never;
|
|
36078
|
+
header?: never;
|
|
36079
|
+
path: {
|
|
36080
|
+
/** @description Machine id from the machines list. */
|
|
36081
|
+
machine: string;
|
|
36082
|
+
};
|
|
36083
|
+
cookie?: never;
|
|
36084
|
+
};
|
|
36085
|
+
requestBody: {
|
|
36086
|
+
content: {
|
|
36087
|
+
"application/json": components["schemas"]["CreateSessionBody"];
|
|
36088
|
+
};
|
|
36089
|
+
};
|
|
36090
|
+
responses: {
|
|
36091
|
+
/** @description Created */
|
|
36092
|
+
201: {
|
|
36093
|
+
headers: {
|
|
36094
|
+
[name: string]: unknown;
|
|
36095
|
+
};
|
|
36096
|
+
content: {
|
|
36097
|
+
"application/json": components["schemas"]["AgentSessionDetail"];
|
|
36098
|
+
};
|
|
36099
|
+
};
|
|
36100
|
+
/** @description Error */
|
|
36101
|
+
default: {
|
|
36102
|
+
headers: {
|
|
36103
|
+
[name: string]: unknown;
|
|
36104
|
+
};
|
|
36105
|
+
content: {
|
|
36106
|
+
"application/json": components["schemas"]["Error"];
|
|
36107
|
+
};
|
|
36108
|
+
};
|
|
36109
|
+
};
|
|
36110
|
+
};
|
|
36111
|
+
"get-agent-session": {
|
|
36112
|
+
parameters: {
|
|
36113
|
+
query?: never;
|
|
36114
|
+
header?: never;
|
|
36115
|
+
path: {
|
|
36116
|
+
/** @description Machine id from the machines list. */
|
|
36117
|
+
machine: string;
|
|
36118
|
+
/** @description Session id as the daemon reports it. */
|
|
36119
|
+
id: string;
|
|
36120
|
+
};
|
|
36121
|
+
cookie?: never;
|
|
36122
|
+
};
|
|
36123
|
+
requestBody?: never;
|
|
36124
|
+
responses: {
|
|
36125
|
+
/** @description OK */
|
|
36126
|
+
200: {
|
|
36127
|
+
headers: {
|
|
36128
|
+
[name: string]: unknown;
|
|
36129
|
+
};
|
|
36130
|
+
content: {
|
|
36131
|
+
"application/json": components["schemas"]["AgentSessionDetail"];
|
|
36132
|
+
};
|
|
36133
|
+
};
|
|
36134
|
+
/** @description Error */
|
|
36135
|
+
default: {
|
|
36136
|
+
headers: {
|
|
36137
|
+
[name: string]: unknown;
|
|
36138
|
+
};
|
|
36139
|
+
content: {
|
|
36140
|
+
"application/json": components["schemas"]["Error"];
|
|
36141
|
+
};
|
|
36142
|
+
};
|
|
36143
|
+
};
|
|
36144
|
+
};
|
|
36145
|
+
"delete-agent-session": {
|
|
36146
|
+
parameters: {
|
|
36147
|
+
query?: never;
|
|
36148
|
+
header?: never;
|
|
36149
|
+
path: {
|
|
36150
|
+
/** @description Machine id from the machines list. */
|
|
36151
|
+
machine: string;
|
|
36152
|
+
/** @description Session id as the daemon reports it. */
|
|
36153
|
+
id: string;
|
|
36154
|
+
};
|
|
36155
|
+
cookie?: never;
|
|
36156
|
+
};
|
|
36157
|
+
requestBody?: never;
|
|
36158
|
+
responses: {
|
|
36159
|
+
/** @description No Content */
|
|
36160
|
+
204: {
|
|
36161
|
+
headers: {
|
|
36162
|
+
[name: string]: unknown;
|
|
36163
|
+
};
|
|
36164
|
+
content?: never;
|
|
36165
|
+
};
|
|
36166
|
+
/** @description Error */
|
|
36167
|
+
default: {
|
|
36168
|
+
headers: {
|
|
36169
|
+
[name: string]: unknown;
|
|
36170
|
+
};
|
|
36171
|
+
content: {
|
|
36172
|
+
"application/json": components["schemas"]["Error"];
|
|
36173
|
+
};
|
|
36174
|
+
};
|
|
36175
|
+
};
|
|
36176
|
+
};
|
|
36177
|
+
"answer-agent-session-approval": {
|
|
36178
|
+
parameters: {
|
|
36179
|
+
query?: never;
|
|
36180
|
+
header?: never;
|
|
36181
|
+
path: {
|
|
36182
|
+
/** @description Machine id from the machines list. */
|
|
36183
|
+
machine: string;
|
|
36184
|
+
/** @description Session id as the daemon reports it. */
|
|
36185
|
+
id: string;
|
|
36186
|
+
/** @description Approval id from the session detail or an approval_request event. */
|
|
36187
|
+
approvalId: string;
|
|
36188
|
+
};
|
|
36189
|
+
cookie?: never;
|
|
36190
|
+
};
|
|
36191
|
+
requestBody: {
|
|
36192
|
+
content: {
|
|
36193
|
+
"application/json": components["schemas"]["ApprovalAnswer"];
|
|
36194
|
+
};
|
|
36195
|
+
};
|
|
36196
|
+
responses: {
|
|
36197
|
+
/** @description No Content */
|
|
36198
|
+
204: {
|
|
36199
|
+
headers: {
|
|
36200
|
+
[name: string]: unknown;
|
|
36201
|
+
};
|
|
36202
|
+
content?: never;
|
|
36203
|
+
};
|
|
36204
|
+
/** @description Error */
|
|
36205
|
+
default: {
|
|
36206
|
+
headers: {
|
|
36207
|
+
[name: string]: unknown;
|
|
36208
|
+
};
|
|
36209
|
+
content: {
|
|
36210
|
+
"application/json": components["schemas"]["Error"];
|
|
36211
|
+
};
|
|
36212
|
+
};
|
|
36213
|
+
};
|
|
36214
|
+
};
|
|
36215
|
+
"fork-agent-session": {
|
|
36216
|
+
parameters: {
|
|
36217
|
+
query?: never;
|
|
36218
|
+
header?: never;
|
|
36219
|
+
path: {
|
|
36220
|
+
/** @description Machine id from the machines list. */
|
|
36221
|
+
machine: string;
|
|
36222
|
+
/** @description Session id as the daemon reports it. */
|
|
36223
|
+
id: string;
|
|
36224
|
+
};
|
|
36225
|
+
cookie?: never;
|
|
36226
|
+
};
|
|
36227
|
+
requestBody?: never;
|
|
36228
|
+
responses: {
|
|
36229
|
+
/** @description Created */
|
|
36230
|
+
201: {
|
|
36231
|
+
headers: {
|
|
36232
|
+
[name: string]: unknown;
|
|
36233
|
+
};
|
|
36234
|
+
content: {
|
|
36235
|
+
"application/json": components["schemas"]["AgentSessionForked"];
|
|
36236
|
+
};
|
|
36237
|
+
};
|
|
36238
|
+
/** @description Error */
|
|
36239
|
+
default: {
|
|
36240
|
+
headers: {
|
|
36241
|
+
[name: string]: unknown;
|
|
36242
|
+
};
|
|
36243
|
+
content: {
|
|
36244
|
+
"application/json": components["schemas"]["Error"];
|
|
36245
|
+
};
|
|
36246
|
+
};
|
|
36247
|
+
};
|
|
36248
|
+
};
|
|
36249
|
+
"interrupt-agent-session": {
|
|
36250
|
+
parameters: {
|
|
36251
|
+
query?: never;
|
|
36252
|
+
header?: never;
|
|
36253
|
+
path: {
|
|
36254
|
+
/** @description Machine id from the machines list. */
|
|
36255
|
+
machine: string;
|
|
36256
|
+
/** @description Session id as the daemon reports it. */
|
|
36257
|
+
id: string;
|
|
36258
|
+
};
|
|
36259
|
+
cookie?: never;
|
|
36260
|
+
};
|
|
36261
|
+
requestBody?: never;
|
|
36262
|
+
responses: {
|
|
36263
|
+
/** @description No Content */
|
|
36264
|
+
204: {
|
|
36265
|
+
headers: {
|
|
36266
|
+
[name: string]: unknown;
|
|
36267
|
+
};
|
|
36268
|
+
content?: never;
|
|
36269
|
+
};
|
|
36270
|
+
/** @description Error */
|
|
36271
|
+
default: {
|
|
36272
|
+
headers: {
|
|
36273
|
+
[name: string]: unknown;
|
|
36274
|
+
};
|
|
36275
|
+
content: {
|
|
36276
|
+
"application/json": components["schemas"]["Error"];
|
|
36277
|
+
};
|
|
36278
|
+
};
|
|
36279
|
+
};
|
|
36280
|
+
};
|
|
36281
|
+
"send-agent-session-message": {
|
|
36282
|
+
parameters: {
|
|
36283
|
+
query?: never;
|
|
36284
|
+
header?: never;
|
|
36285
|
+
path: {
|
|
36286
|
+
/** @description Machine id from the machines list. */
|
|
36287
|
+
machine: string;
|
|
36288
|
+
/** @description Session id as the daemon reports it. */
|
|
36289
|
+
id: string;
|
|
36290
|
+
};
|
|
36291
|
+
cookie?: never;
|
|
36292
|
+
};
|
|
36293
|
+
requestBody: {
|
|
36294
|
+
content: {
|
|
36295
|
+
"application/json": components["schemas"]["SendMessageBody"];
|
|
36296
|
+
};
|
|
36297
|
+
};
|
|
36298
|
+
responses: {
|
|
36299
|
+
/** @description OK */
|
|
36300
|
+
200: {
|
|
36301
|
+
headers: {
|
|
36302
|
+
[name: string]: unknown;
|
|
36303
|
+
};
|
|
36304
|
+
content: {
|
|
36305
|
+
"application/json": components["schemas"]["AgentMessageAccepted"];
|
|
36306
|
+
};
|
|
36307
|
+
};
|
|
36308
|
+
/** @description Error */
|
|
36309
|
+
default: {
|
|
36310
|
+
headers: {
|
|
36311
|
+
[name: string]: unknown;
|
|
36312
|
+
};
|
|
36313
|
+
content: {
|
|
36314
|
+
"application/json": components["schemas"]["Error"];
|
|
36315
|
+
};
|
|
36316
|
+
};
|
|
36317
|
+
};
|
|
36318
|
+
};
|
|
36319
|
+
"rename-agent-session": {
|
|
36320
|
+
parameters: {
|
|
36321
|
+
query?: never;
|
|
36322
|
+
header?: never;
|
|
36323
|
+
path: {
|
|
36324
|
+
/** @description Machine id from the machines list. */
|
|
36325
|
+
machine: string;
|
|
36326
|
+
/** @description Session id as the daemon reports it. */
|
|
36327
|
+
id: string;
|
|
36328
|
+
};
|
|
36329
|
+
cookie?: never;
|
|
36330
|
+
};
|
|
36331
|
+
requestBody: {
|
|
36332
|
+
content: {
|
|
36333
|
+
"application/json": components["schemas"]["AgentRenameBody"];
|
|
36334
|
+
};
|
|
36335
|
+
};
|
|
36336
|
+
responses: {
|
|
36337
|
+
/** @description No Content */
|
|
36338
|
+
204: {
|
|
36339
|
+
headers: {
|
|
36340
|
+
[name: string]: unknown;
|
|
36341
|
+
};
|
|
36342
|
+
content?: never;
|
|
36343
|
+
};
|
|
36344
|
+
/** @description Error */
|
|
36345
|
+
default: {
|
|
36346
|
+
headers: {
|
|
36347
|
+
[name: string]: unknown;
|
|
36348
|
+
};
|
|
36349
|
+
content: {
|
|
36350
|
+
"application/json": components["schemas"]["Error"];
|
|
36351
|
+
};
|
|
36352
|
+
};
|
|
36353
|
+
};
|
|
36354
|
+
};
|
|
36355
|
+
"update-agent-session-settings": {
|
|
36356
|
+
parameters: {
|
|
36357
|
+
query?: never;
|
|
36358
|
+
header?: never;
|
|
36359
|
+
path: {
|
|
36360
|
+
/** @description Machine id from the machines list. */
|
|
36361
|
+
machine: string;
|
|
36362
|
+
/** @description Session id as the daemon reports it. */
|
|
36363
|
+
id: string;
|
|
36364
|
+
};
|
|
36365
|
+
cookie?: never;
|
|
36366
|
+
};
|
|
36367
|
+
requestBody: {
|
|
36368
|
+
content: {
|
|
36369
|
+
"application/json": components["schemas"]["AgentSessionSettingsBody"];
|
|
36370
|
+
};
|
|
36371
|
+
};
|
|
36372
|
+
responses: {
|
|
36373
|
+
/** @description OK */
|
|
36374
|
+
200: {
|
|
36375
|
+
headers: {
|
|
36376
|
+
[name: string]: unknown;
|
|
36377
|
+
};
|
|
36378
|
+
content: {
|
|
36379
|
+
"application/json": components["schemas"]["SessionState"];
|
|
36380
|
+
};
|
|
36381
|
+
};
|
|
36382
|
+
/** @description Error */
|
|
36383
|
+
default: {
|
|
36384
|
+
headers: {
|
|
36385
|
+
[name: string]: unknown;
|
|
36386
|
+
};
|
|
36387
|
+
content: {
|
|
36388
|
+
"application/json": components["schemas"]["Error"];
|
|
36389
|
+
};
|
|
36390
|
+
};
|
|
36391
|
+
};
|
|
36392
|
+
};
|
|
36393
|
+
"list-agent-sessions": {
|
|
36394
|
+
parameters: {
|
|
36395
|
+
query?: never;
|
|
36396
|
+
header?: never;
|
|
36397
|
+
path?: never;
|
|
36398
|
+
cookie?: never;
|
|
36399
|
+
};
|
|
36400
|
+
requestBody?: never;
|
|
36401
|
+
responses: {
|
|
36402
|
+
/** @description OK */
|
|
36403
|
+
200: {
|
|
36404
|
+
headers: {
|
|
36405
|
+
[name: string]: unknown;
|
|
36406
|
+
};
|
|
36407
|
+
content: {
|
|
36408
|
+
"application/json": components["schemas"]["AgentSessionsResponse"];
|
|
36409
|
+
};
|
|
36410
|
+
};
|
|
36411
|
+
/** @description Error */
|
|
36412
|
+
default: {
|
|
36413
|
+
headers: {
|
|
36414
|
+
[name: string]: unknown;
|
|
36415
|
+
};
|
|
36416
|
+
content: {
|
|
36417
|
+
"application/json": components["schemas"]["Error"];
|
|
36418
|
+
};
|
|
36419
|
+
};
|
|
36420
|
+
};
|
|
36421
|
+
};
|
|
35499
36422
|
"get-user-ai-usage-breakdown": {
|
|
35500
36423
|
parameters: {
|
|
35501
36424
|
query?: {
|
|
@@ -56766,6 +57689,42 @@ export interface operations {
|
|
|
56766
57689
|
};
|
|
56767
57690
|
};
|
|
56768
57691
|
};
|
|
57692
|
+
"unassign-resource-group-resource": {
|
|
57693
|
+
parameters: {
|
|
57694
|
+
query?: never;
|
|
57695
|
+
header?: never;
|
|
57696
|
+
path: {
|
|
57697
|
+
/** @description The name of the organization. */
|
|
57698
|
+
organization: string;
|
|
57699
|
+
/** @description Username of the target user. */
|
|
57700
|
+
user: string;
|
|
57701
|
+
/** @description Resource group name */
|
|
57702
|
+
name: string;
|
|
57703
|
+
/** @description Id of the resource to unassign */
|
|
57704
|
+
resourceId: string;
|
|
57705
|
+
};
|
|
57706
|
+
cookie?: never;
|
|
57707
|
+
};
|
|
57708
|
+
requestBody?: never;
|
|
57709
|
+
responses: {
|
|
57710
|
+
/** @description No Content */
|
|
57711
|
+
204: {
|
|
57712
|
+
headers: {
|
|
57713
|
+
[name: string]: unknown;
|
|
57714
|
+
};
|
|
57715
|
+
content?: never;
|
|
57716
|
+
};
|
|
57717
|
+
/** @description Error */
|
|
57718
|
+
default: {
|
|
57719
|
+
headers: {
|
|
57720
|
+
[name: string]: unknown;
|
|
57721
|
+
};
|
|
57722
|
+
content: {
|
|
57723
|
+
"application/json": components["schemas"]["Error"];
|
|
57724
|
+
};
|
|
57725
|
+
};
|
|
57726
|
+
};
|
|
57727
|
+
};
|
|
56769
57728
|
"move-resource-group-resource": {
|
|
56770
57729
|
parameters: {
|
|
56771
57730
|
query?: never;
|
|
@@ -61076,8 +62035,10 @@ export interface operations {
|
|
|
61076
62035
|
allocation?: string;
|
|
61077
62036
|
/** @description Sort field and direction */
|
|
61078
62037
|
sort?: "name" | "-name";
|
|
61079
|
-
/** @description
|
|
61080
|
-
|
|
62038
|
+
/** @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. */
|
|
62039
|
+
usableBy?: string;
|
|
62040
|
+
/** @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. */
|
|
62041
|
+
openable?: boolean;
|
|
61081
62042
|
/** @description Only resource groups whose current allocation may fund this resource type; groups with no allocation or an unrestricted allocation always match */
|
|
61082
62043
|
allows?: "aws" | "azure" | "google" | "oracle" | "openstack" | "kubernetes" | "ai";
|
|
61083
62044
|
};
|
|
@@ -64104,4 +65065,24 @@ export interface operations {
|
|
|
64104
65065
|
};
|
|
64105
65066
|
};
|
|
64106
65067
|
};
|
|
65068
|
+
"agent-session-events": {
|
|
65069
|
+
parameters: {
|
|
65070
|
+
query?: never;
|
|
65071
|
+
header?: never;
|
|
65072
|
+
path?: never;
|
|
65073
|
+
cookie?: never;
|
|
65074
|
+
};
|
|
65075
|
+
requestBody?: never;
|
|
65076
|
+
responses: {
|
|
65077
|
+
/** @description A session event frame */
|
|
65078
|
+
200: {
|
|
65079
|
+
headers: {
|
|
65080
|
+
[name: string]: unknown;
|
|
65081
|
+
};
|
|
65082
|
+
content: {
|
|
65083
|
+
"application/json": components["schemas"]["AgentStreamEvent"];
|
|
65084
|
+
};
|
|
65085
|
+
};
|
|
65086
|
+
};
|
|
65087
|
+
};
|
|
64107
65088
|
}
|