@parallelworks/client 7.139.0 → 7.140.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 +842 -32
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -2603,6 +2603,30 @@ export interface paths {
|
|
|
2603
2603
|
patch?: never;
|
|
2604
2604
|
trace?: never;
|
|
2605
2605
|
};
|
|
2606
|
+
"/api/admin/stuck-run-sweeper/dry-runs": {
|
|
2607
|
+
parameters: {
|
|
2608
|
+
query?: never;
|
|
2609
|
+
header?: never;
|
|
2610
|
+
path?: never;
|
|
2611
|
+
cookie?: never;
|
|
2612
|
+
};
|
|
2613
|
+
get?: never;
|
|
2614
|
+
put?: never;
|
|
2615
|
+
/**
|
|
2616
|
+
* Start a stuck-run dry run
|
|
2617
|
+
* @description > This is a system-level route, so the response will be independent of the currently authenticated user.
|
|
2618
|
+
*
|
|
2619
|
+
* > This is a platform-admin only route.
|
|
2620
|
+
*
|
|
2621
|
+
* Queues a stuck-run sweep that only reports, in its job log, the runs it would end now, whatever the sweeper's mode. Returns the job, or the dry run already waiting or running
|
|
2622
|
+
*/
|
|
2623
|
+
post: operations["start-stuck-run-dry-run"];
|
|
2624
|
+
delete?: never;
|
|
2625
|
+
options?: never;
|
|
2626
|
+
head?: never;
|
|
2627
|
+
patch?: never;
|
|
2628
|
+
trace?: never;
|
|
2629
|
+
};
|
|
2606
2630
|
"/api/admin/user-workspace/users/{user}/{type}/kill": {
|
|
2607
2631
|
parameters: {
|
|
2608
2632
|
query?: never;
|
|
@@ -3707,6 +3731,28 @@ export interface paths {
|
|
|
3707
3731
|
patch?: never;
|
|
3708
3732
|
trace?: never;
|
|
3709
3733
|
};
|
|
3734
|
+
"/api/code/machines/{machine}/palette": {
|
|
3735
|
+
parameters: {
|
|
3736
|
+
query?: never;
|
|
3737
|
+
header?: never;
|
|
3738
|
+
path?: never;
|
|
3739
|
+
cookie?: never;
|
|
3740
|
+
};
|
|
3741
|
+
/**
|
|
3742
|
+
* List the slash commands a new pw code session could start with
|
|
3743
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
3744
|
+
*
|
|
3745
|
+
* Lists the skills, custom commands, and prompt commands a session started in the workspace could take as its first prompt, loaded as that session would load them. The machine answers only when its owner lets sessions start remotely.
|
|
3746
|
+
*/
|
|
3747
|
+
get: operations["get-agent-workspace-palette"];
|
|
3748
|
+
put?: never;
|
|
3749
|
+
post?: never;
|
|
3750
|
+
delete?: never;
|
|
3751
|
+
options?: never;
|
|
3752
|
+
head?: never;
|
|
3753
|
+
patch?: never;
|
|
3754
|
+
trace?: never;
|
|
3755
|
+
};
|
|
3710
3756
|
"/api/code/machines/{machine}/sessions": {
|
|
3711
3757
|
parameters: {
|
|
3712
3758
|
query?: never;
|
|
@@ -3755,7 +3801,7 @@ export interface paths {
|
|
|
3755
3801
|
* Delete a pw code session
|
|
3756
3802
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
3757
3803
|
*
|
|
3758
|
-
* 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.
|
|
3804
|
+
* 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. The worktree the session works in stays on disk unless worktree=remove asks to remove it too, which the machine refuses, deleting nothing, when the session no longer works there, another session does, the session is working, or its permission mode can't edit files.
|
|
3759
3805
|
*/
|
|
3760
3806
|
delete: operations["delete-agent-session"];
|
|
3761
3807
|
options?: never;
|
|
@@ -3798,7 +3844,7 @@ export interface paths {
|
|
|
3798
3844
|
* Archive a pw code session
|
|
3799
3845
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
3800
3846
|
*
|
|
3801
|
-
* Shuts the session down and marks it archived, keeping its transcript
|
|
3847
|
+
* Shuts the session down and marks it archived, keeping its transcript. Archiving stops its work and its scheduled tasks, and the session refuses messages until it is restored. A running turn is stopped, unless afterTurn asks to archive once it ends. Refused while another host holds it live.
|
|
3802
3848
|
*/
|
|
3803
3849
|
post: operations["archive-agent-session"];
|
|
3804
3850
|
/**
|
|
@@ -4011,6 +4057,34 @@ export interface paths {
|
|
|
4011
4057
|
patch?: never;
|
|
4012
4058
|
trace?: never;
|
|
4013
4059
|
};
|
|
4060
|
+
"/api/code/machines/{machine}/sessions/{id}/group": {
|
|
4061
|
+
parameters: {
|
|
4062
|
+
query?: never;
|
|
4063
|
+
header?: never;
|
|
4064
|
+
path?: never;
|
|
4065
|
+
cookie?: never;
|
|
4066
|
+
};
|
|
4067
|
+
get?: never;
|
|
4068
|
+
/**
|
|
4069
|
+
* Put a pw code session in one of your groups
|
|
4070
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4071
|
+
*
|
|
4072
|
+
* Records on the session's machine which of your groups the session is in, replacing any other. The groups themselves, with their names, are kept in your preferences. Refused by a machine whose pw predates groups.
|
|
4073
|
+
*/
|
|
4074
|
+
put: operations["group-agent-session"];
|
|
4075
|
+
post?: never;
|
|
4076
|
+
/**
|
|
4077
|
+
* Take a pw code session out of its group
|
|
4078
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4079
|
+
*
|
|
4080
|
+
* Clears the group recorded on the session.
|
|
4081
|
+
*/
|
|
4082
|
+
delete: operations["ungroup-agent-session"];
|
|
4083
|
+
options?: never;
|
|
4084
|
+
head?: never;
|
|
4085
|
+
patch?: never;
|
|
4086
|
+
trace?: never;
|
|
4087
|
+
};
|
|
4014
4088
|
"/api/code/machines/{machine}/sessions/{id}/images": {
|
|
4015
4089
|
parameters: {
|
|
4016
4090
|
query?: never;
|
|
@@ -4204,7 +4278,7 @@ export interface paths {
|
|
|
4204
4278
|
* Get the state of a pw code session's pull requests
|
|
4205
4279
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4206
4280
|
*
|
|
4207
|
-
* Returns each pull request the session opened and whether it is open, merged, or closed, as the machine's own GitHub login reads it. A state is absent when the machine could not read it.
|
|
4281
|
+
* Returns each GitHub pull request and GitLab merge request the session opened and whether it is open, merged, or closed, as the machine's own GitHub or GitLab login reads it. A state is absent when the machine could not read it.
|
|
4208
4282
|
*/
|
|
4209
4283
|
get: operations["get-agent-session-pull-requests"];
|
|
4210
4284
|
put?: never;
|
|
@@ -4295,7 +4369,7 @@ export interface paths {
|
|
|
4295
4369
|
options?: never;
|
|
4296
4370
|
head?: never;
|
|
4297
4371
|
/**
|
|
4298
|
-
* Change a running pw code session's model, allocation or authority
|
|
4372
|
+
* Change a running pw code session's model, effort, allocation or authority
|
|
4299
4373
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4300
4374
|
*
|
|
4301
4375
|
* 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.
|
|
@@ -4347,6 +4421,138 @@ export interface paths {
|
|
|
4347
4421
|
patch?: never;
|
|
4348
4422
|
trace?: never;
|
|
4349
4423
|
};
|
|
4424
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents": {
|
|
4425
|
+
parameters: {
|
|
4426
|
+
query?: never;
|
|
4427
|
+
header?: never;
|
|
4428
|
+
path?: never;
|
|
4429
|
+
cookie?: never;
|
|
4430
|
+
};
|
|
4431
|
+
/**
|
|
4432
|
+
* List a pw code session's subagents
|
|
4433
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4434
|
+
*
|
|
4435
|
+
* Lists the subagents the session started, running or finished, in the order they started, with how each one's latest run stands. Only a session its machine is running answers: reading the list never opens a saved session, which answers 404.
|
|
4436
|
+
*/
|
|
4437
|
+
get: operations["list-agent-session-subagents"];
|
|
4438
|
+
put?: never;
|
|
4439
|
+
post?: never;
|
|
4440
|
+
delete?: never;
|
|
4441
|
+
options?: never;
|
|
4442
|
+
head?: never;
|
|
4443
|
+
patch?: never;
|
|
4444
|
+
trace?: never;
|
|
4445
|
+
};
|
|
4446
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/stop-all": {
|
|
4447
|
+
parameters: {
|
|
4448
|
+
query?: never;
|
|
4449
|
+
header?: never;
|
|
4450
|
+
path?: never;
|
|
4451
|
+
cookie?: never;
|
|
4452
|
+
};
|
|
4453
|
+
get?: never;
|
|
4454
|
+
put?: never;
|
|
4455
|
+
/**
|
|
4456
|
+
* Stop every subagent of a pw code session
|
|
4457
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4458
|
+
*
|
|
4459
|
+
* Stops the work in flight on each of the session's subagents and leaves the session's own turn running. Like interrupt, it is not held to the remote permission ceiling. A session with no subagent running answers as stopped.
|
|
4460
|
+
*/
|
|
4461
|
+
post: operations["stop-agent-session-subagents"];
|
|
4462
|
+
delete?: never;
|
|
4463
|
+
options?: never;
|
|
4464
|
+
head?: never;
|
|
4465
|
+
patch?: never;
|
|
4466
|
+
trace?: never;
|
|
4467
|
+
};
|
|
4468
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/{subId}": {
|
|
4469
|
+
parameters: {
|
|
4470
|
+
query?: never;
|
|
4471
|
+
header?: never;
|
|
4472
|
+
path?: never;
|
|
4473
|
+
cookie?: never;
|
|
4474
|
+
};
|
|
4475
|
+
/**
|
|
4476
|
+
* Get a pw code subagent's transcript
|
|
4477
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4478
|
+
*
|
|
4479
|
+
* Returns one subagent's conversation, the approvals it is waiting on, and how its latest run stands. lastSeq is where the session's event feed stood at this read: the events after it, under the subagent's id, carry what the transcript does not hold yet. A turn sent to the subagent as a message streams there in full; a task the session delegated shows only as subagent_action events, so read this again to follow one.
|
|
4480
|
+
*/
|
|
4481
|
+
get: operations["get-agent-session-subagent"];
|
|
4482
|
+
put?: never;
|
|
4483
|
+
post?: never;
|
|
4484
|
+
delete?: never;
|
|
4485
|
+
options?: never;
|
|
4486
|
+
head?: never;
|
|
4487
|
+
patch?: never;
|
|
4488
|
+
trace?: never;
|
|
4489
|
+
};
|
|
4490
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/{subId}/direction": {
|
|
4491
|
+
parameters: {
|
|
4492
|
+
query?: never;
|
|
4493
|
+
header?: never;
|
|
4494
|
+
path?: never;
|
|
4495
|
+
cookie?: never;
|
|
4496
|
+
};
|
|
4497
|
+
get?: never;
|
|
4498
|
+
put?: never;
|
|
4499
|
+
/**
|
|
4500
|
+
* Steer a pw code subagent's running work
|
|
4501
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4502
|
+
*
|
|
4503
|
+
* Hands text to the subagent's task or turn in flight, which its model reads at its next step. Not delivered means the subagent was not running; send it as a message instead.
|
|
4504
|
+
*/
|
|
4505
|
+
post: operations["steer-agent-session-subagent"];
|
|
4506
|
+
delete?: never;
|
|
4507
|
+
options?: never;
|
|
4508
|
+
head?: never;
|
|
4509
|
+
patch?: never;
|
|
4510
|
+
trace?: never;
|
|
4511
|
+
};
|
|
4512
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/{subId}/messages": {
|
|
4513
|
+
parameters: {
|
|
4514
|
+
query?: never;
|
|
4515
|
+
header?: never;
|
|
4516
|
+
path?: never;
|
|
4517
|
+
cookie?: never;
|
|
4518
|
+
};
|
|
4519
|
+
get?: never;
|
|
4520
|
+
put?: never;
|
|
4521
|
+
/**
|
|
4522
|
+
* Send a message to a pw code subagent
|
|
4523
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4524
|
+
*
|
|
4525
|
+
* Starts a turn on a subagent that is not running one. Its events arrive on the session's event feed under the subagent's id and the turn id this answers with. Refused with 409 while the subagent is mid-turn; steer it instead. The machine's daemon holds it to the rules of a message to the session.
|
|
4526
|
+
*/
|
|
4527
|
+
post: operations["send-agent-session-subagent-message"];
|
|
4528
|
+
delete?: never;
|
|
4529
|
+
options?: never;
|
|
4530
|
+
head?: never;
|
|
4531
|
+
patch?: never;
|
|
4532
|
+
trace?: never;
|
|
4533
|
+
};
|
|
4534
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/{subId}/stop": {
|
|
4535
|
+
parameters: {
|
|
4536
|
+
query?: never;
|
|
4537
|
+
header?: never;
|
|
4538
|
+
path?: never;
|
|
4539
|
+
cookie?: never;
|
|
4540
|
+
};
|
|
4541
|
+
get?: never;
|
|
4542
|
+
put?: never;
|
|
4543
|
+
/**
|
|
4544
|
+
* Stop a pw code subagent
|
|
4545
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4546
|
+
*
|
|
4547
|
+
* Stops the subagent's task or turn in flight and nothing else: the session and its other subagents keep running. Like interrupt, it is not held to the remote permission ceiling. A subagent with nothing running answers as stopped.
|
|
4548
|
+
*/
|
|
4549
|
+
post: operations["stop-agent-session-subagent"];
|
|
4550
|
+
delete?: never;
|
|
4551
|
+
options?: never;
|
|
4552
|
+
head?: never;
|
|
4553
|
+
patch?: never;
|
|
4554
|
+
trace?: never;
|
|
4555
|
+
};
|
|
4350
4556
|
"/api/code/machines/{machine}/sessions/{id}/texts": {
|
|
4351
4557
|
parameters: {
|
|
4352
4558
|
query?: never;
|
|
@@ -4369,6 +4575,50 @@ export interface paths {
|
|
|
4369
4575
|
patch?: never;
|
|
4370
4576
|
trace?: never;
|
|
4371
4577
|
};
|
|
4578
|
+
"/api/code/machines/{machine}/sessions/{id}/worktree": {
|
|
4579
|
+
parameters: {
|
|
4580
|
+
query?: never;
|
|
4581
|
+
header?: never;
|
|
4582
|
+
path?: never;
|
|
4583
|
+
cookie?: never;
|
|
4584
|
+
};
|
|
4585
|
+
/**
|
|
4586
|
+
* Get the worktree a pw code session works in
|
|
4587
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4588
|
+
*
|
|
4589
|
+
* Returns the git worktree the session moved into with EnterWorktree, what removing it would delete, and whether deleting the session can remove it. Empty while the session works where it launched, or once its worktree is gone. A session the machine isn't running answers from its saved transcript.
|
|
4590
|
+
*/
|
|
4591
|
+
get: operations["get-agent-session-worktree"];
|
|
4592
|
+
put?: never;
|
|
4593
|
+
post?: never;
|
|
4594
|
+
delete?: never;
|
|
4595
|
+
options?: never;
|
|
4596
|
+
head?: never;
|
|
4597
|
+
patch?: never;
|
|
4598
|
+
trace?: never;
|
|
4599
|
+
};
|
|
4600
|
+
"/api/code/machines/{machine}/sessions/{id}/worktree/leave": {
|
|
4601
|
+
parameters: {
|
|
4602
|
+
query?: never;
|
|
4603
|
+
header?: never;
|
|
4604
|
+
path?: never;
|
|
4605
|
+
cookie?: never;
|
|
4606
|
+
};
|
|
4607
|
+
get?: never;
|
|
4608
|
+
put?: never;
|
|
4609
|
+
/**
|
|
4610
|
+
* Move a pw code session out of its worktree
|
|
4611
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4612
|
+
*
|
|
4613
|
+
* Moves the session back to the directory it launched in, keeping its worktree on the machine, or with remove, removing the worktree and its branch too. Opens the session first when the machine isn't running it. Refused, changing nothing, while the session is working, when it no longer works in the worktree named, when another session works there, or, for remove, when the session's permission mode can't edit files.
|
|
4614
|
+
*/
|
|
4615
|
+
post: operations["leave-agent-session-worktree"];
|
|
4616
|
+
delete?: never;
|
|
4617
|
+
options?: never;
|
|
4618
|
+
head?: never;
|
|
4619
|
+
patch?: never;
|
|
4620
|
+
trace?: never;
|
|
4621
|
+
};
|
|
4372
4622
|
"/api/code/sessions": {
|
|
4373
4623
|
parameters: {
|
|
4374
4624
|
query?: never;
|
|
@@ -14345,7 +14595,7 @@ export interface paths {
|
|
|
14345
14595
|
* Connect a GitLab account with a personal access token
|
|
14346
14596
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
14347
14597
|
*
|
|
14348
|
-
* Links the user's account on a server that allows personal access tokens. The token must be active and carry the read_api scope; it is verified against the server before it is stored, and
|
|
14598
|
+
* Links the user's account on a server that allows personal access tokens. The token must be active and carry the read_api scope; it is verified against the server before it is stored in the vault, and deleted from the vault on disconnect. The platform never revokes it on the GitLab server.
|
|
14349
14599
|
*/
|
|
14350
14600
|
put: operations["connect-user-gitlab-token"];
|
|
14351
14601
|
post?: never;
|
|
@@ -20897,6 +21147,10 @@ export interface components {
|
|
|
20897
21147
|
/** @description The path inside your workspace where the resource will be mounted. */
|
|
20898
21148
|
workspacePath: string;
|
|
20899
21149
|
};
|
|
21150
|
+
AddedDirectory: {
|
|
21151
|
+
path: string;
|
|
21152
|
+
scopes?: string[] | null;
|
|
21153
|
+
};
|
|
20900
21154
|
AdminPasswordResetInputBody: {
|
|
20901
21155
|
/**
|
|
20902
21156
|
* @description Confirmation of the new password
|
|
@@ -20926,6 +21180,14 @@ export interface components {
|
|
|
20926
21180
|
/** @enum {string} */
|
|
20927
21181
|
setupStatus: "ready" | "disabled" | "setup-required" | "attention";
|
|
20928
21182
|
};
|
|
21183
|
+
AgentArchiveBody: {
|
|
21184
|
+
/** @description Archive once the running turn ends instead of stopping it. A message sent, the turn stopped, or the turn ending in an error cancels the archive. Archives at once when no turn is running. */
|
|
21185
|
+
afterTurn?: boolean;
|
|
21186
|
+
};
|
|
21187
|
+
AgentArchived: {
|
|
21188
|
+
/** @description The session archives once its running turn ends. */
|
|
21189
|
+
deferred?: boolean;
|
|
21190
|
+
};
|
|
20929
21191
|
AgentClaudeAccount: {
|
|
20930
21192
|
email?: string;
|
|
20931
21193
|
error?: string;
|
|
@@ -21039,8 +21301,16 @@ export interface components {
|
|
|
21039
21301
|
/** @description Where the machine saved the image. Send it in the message's images. */
|
|
21040
21302
|
path: string;
|
|
21041
21303
|
};
|
|
21304
|
+
AgentLeaveWorktreeBody: {
|
|
21305
|
+
/** @description Also remove the worktree, with its branch and everything in it; it stays on the machine otherwise. */
|
|
21306
|
+
remove?: boolean;
|
|
21307
|
+
/** @description With remove, the worktree's root as the session's worktree last showed it. Nothing changes when the session no longer works there. */
|
|
21308
|
+
worktreeRoot?: string;
|
|
21309
|
+
};
|
|
21042
21310
|
AgentMachine: {
|
|
21043
21311
|
agentVersion?: string;
|
|
21312
|
+
/** @description The daemon can archive a session once its running turn ends. */
|
|
21313
|
+
archiveAfterTurn?: boolean;
|
|
21044
21314
|
/** @description The daemon supports removing Claude Code accounts from the web. */
|
|
21045
21315
|
claudeAccountRemove?: boolean;
|
|
21046
21316
|
/** @description Organization and host policy allow the Claude Code integration. */
|
|
@@ -21069,6 +21339,8 @@ export interface components {
|
|
|
21069
21339
|
/** @enum {string} */
|
|
21070
21340
|
remoteMaxPermissionMode?: "" | "read-only" | "accept-edits" | "auto" | "bypass-permissions" | "plan";
|
|
21071
21341
|
remoteStart?: boolean;
|
|
21342
|
+
/** @description The daemon stores which of the reader's groups a session is in. */
|
|
21343
|
+
sessionGroups?: boolean;
|
|
21072
21344
|
/** @enum {string} */
|
|
21073
21345
|
status: "connected" | "no_daemon" | "no_agent" | "unreachable" | "unsupported_agent";
|
|
21074
21346
|
/** @description Session store the pw code daemon reported, when it answered. Machines with the same store list the same sessions, which are listed once. */
|
|
@@ -21123,7 +21395,7 @@ export interface components {
|
|
|
21123
21395
|
};
|
|
21124
21396
|
AgentPullRequest: {
|
|
21125
21397
|
/**
|
|
21126
|
-
* @description Absent when the machine could not read the pull request from GitHub.
|
|
21398
|
+
* @description Absent when the machine could not read the pull request from GitHub, or the merge request from GitLab.
|
|
21127
21399
|
* @enum {string}
|
|
21128
21400
|
*/
|
|
21129
21401
|
state?: "open" | "draft" | "merged" | "closed";
|
|
@@ -21147,6 +21419,7 @@ export interface components {
|
|
|
21147
21419
|
/** Format: date-time */
|
|
21148
21420
|
createdAt: string;
|
|
21149
21421
|
effort?: string;
|
|
21422
|
+
group?: string;
|
|
21150
21423
|
id: string;
|
|
21151
21424
|
/** Format: int64 */
|
|
21152
21425
|
inputTokens?: number;
|
|
@@ -21181,7 +21454,9 @@ export interface components {
|
|
|
21181
21454
|
id: string;
|
|
21182
21455
|
};
|
|
21183
21456
|
AgentSessionDetail: {
|
|
21457
|
+
addDirs?: components["schemas"]["AddedDirectory"][] | null;
|
|
21184
21458
|
allocation?: string;
|
|
21459
|
+
allowedDirs?: components["schemas"]["AllowedDirectory"][] | null;
|
|
21185
21460
|
approvals?: components["schemas"]["ApprovalRequest"][] | null;
|
|
21186
21461
|
/** Format: date-time */
|
|
21187
21462
|
archivedAt?: string;
|
|
@@ -21192,6 +21467,7 @@ export interface components {
|
|
|
21192
21467
|
createdAt: string;
|
|
21193
21468
|
effort?: string;
|
|
21194
21469
|
goal?: components["schemas"]["GoalStatus"];
|
|
21470
|
+
group?: string;
|
|
21195
21471
|
history: components["schemas"]["HistoryItem"][] | null;
|
|
21196
21472
|
id: string;
|
|
21197
21473
|
/** Format: int64 */
|
|
@@ -21234,11 +21510,20 @@ export interface components {
|
|
|
21234
21510
|
id: string;
|
|
21235
21511
|
machineId: string;
|
|
21236
21512
|
};
|
|
21513
|
+
AgentSessionGroupBody: {
|
|
21514
|
+
/** @description Id of one of the reader's groups, as their preferences name it. */
|
|
21515
|
+
group: string;
|
|
21516
|
+
};
|
|
21237
21517
|
AgentSessionSettingsBody: {
|
|
21238
21518
|
/** @description Allocation to bill; the daemon requires one for org provider models. */
|
|
21239
21519
|
allocation?: string;
|
|
21240
21520
|
/** @description An existing Claude Code account on the machine; applies after the current turn. */
|
|
21241
21521
|
claudeAccount?: string;
|
|
21522
|
+
/**
|
|
21523
|
+
* @description Reasoning effort from the session's next turn on: low, medium, high, xhigh or max, which a model runs at the nearest level it takes. default, none and minimal are earlier names for high, low and low.
|
|
21524
|
+
* @enum {string}
|
|
21525
|
+
*/
|
|
21526
|
+
effort?: "default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
21242
21527
|
/** @description Model id to switch the session to. */
|
|
21243
21528
|
model?: string;
|
|
21244
21529
|
/**
|
|
@@ -21247,6 +21532,30 @@ export interface components {
|
|
|
21247
21532
|
*/
|
|
21248
21533
|
permissionMode?: "read-only" | "accept-edits" | "auto" | "bypass-permissions";
|
|
21249
21534
|
};
|
|
21535
|
+
AgentSessionWorktree: {
|
|
21536
|
+
/** @description The branch git made for the worktree. */
|
|
21537
|
+
branch?: string;
|
|
21538
|
+
/**
|
|
21539
|
+
* Format: int64
|
|
21540
|
+
* @description How many commits on the worktree's branch since it was made removing it would delete.
|
|
21541
|
+
*/
|
|
21542
|
+
commitCount?: number;
|
|
21543
|
+
/** @description The first of those commits, as git log --oneline lists them. */
|
|
21544
|
+
commits?: string[] | null;
|
|
21545
|
+
/**
|
|
21546
|
+
* Format: int64
|
|
21547
|
+
* @description How many uncommitted files removing the worktree would delete.
|
|
21548
|
+
*/
|
|
21549
|
+
fileCount?: number;
|
|
21550
|
+
/** @description The first of those files, as git status --porcelain lists them. */
|
|
21551
|
+
files?: string[] | null;
|
|
21552
|
+
/** @description Deleting the session can remove the worktree with it. False for a worktree the session didn't create, or one a WorktreeCreate hook made. */
|
|
21553
|
+
removable?: boolean;
|
|
21554
|
+
/** @description The worktree's checkout on the machine. */
|
|
21555
|
+
root?: string;
|
|
21556
|
+
/** @description git could not read what removing the worktree would delete. */
|
|
21557
|
+
unchecked?: boolean;
|
|
21558
|
+
};
|
|
21250
21559
|
AgentSessionsResponse: {
|
|
21251
21560
|
machines: components["schemas"]["AgentMachine"][] | null;
|
|
21252
21561
|
/** @description Every reachable machine's sessions, newest first. A session machines sharing a store all list appears once. */
|
|
@@ -21292,6 +21601,7 @@ export interface components {
|
|
|
21292
21601
|
noteId?: string;
|
|
21293
21602
|
notice?: string;
|
|
21294
21603
|
pastes?: components["schemas"]["PasteView"][] | null;
|
|
21604
|
+
recorded?: boolean;
|
|
21295
21605
|
result?: string;
|
|
21296
21606
|
/** Format: date-time */
|
|
21297
21607
|
resumeAt?: string;
|
|
@@ -21306,6 +21616,17 @@ export interface components {
|
|
|
21306
21616
|
turnId?: string;
|
|
21307
21617
|
type: string;
|
|
21308
21618
|
};
|
|
21619
|
+
AgentSubagents: {
|
|
21620
|
+
/** @description The session's subagents in the order they started. Their status is empty when the machine's pw code is too old to say how its subagents stand. */
|
|
21621
|
+
subagents: components["schemas"]["Subagent"][] | null;
|
|
21622
|
+
};
|
|
21623
|
+
AgentWorktreeLeft: {
|
|
21624
|
+
/**
|
|
21625
|
+
* @description left keeps the worktree on the machine; remove_failed is a session that left it, but whose worktree could not be removed and stays.
|
|
21626
|
+
* @enum {string}
|
|
21627
|
+
*/
|
|
21628
|
+
outcome: "left" | "removed" | "remove_failed";
|
|
21629
|
+
};
|
|
21309
21630
|
AiConnectionInventory: {
|
|
21310
21631
|
catalogEntryId?: string;
|
|
21311
21632
|
/** @enum {string} */
|
|
@@ -21493,7 +21814,7 @@ export interface components {
|
|
|
21493
21814
|
readonly id?: string;
|
|
21494
21815
|
/** @description Allocation name */
|
|
21495
21816
|
name: string;
|
|
21496
|
-
/** @description Not chargeable: the allocation only holds budget for the allocations under it, and
|
|
21817
|
+
/** @description Not chargeable: the allocation only holds budget for the allocations under it, and can't be billed directly. */
|
|
21497
21818
|
nonChargeable?: boolean;
|
|
21498
21819
|
/** @description Parent allocation name */
|
|
21499
21820
|
parent?: string;
|
|
@@ -21712,6 +22033,11 @@ export interface components {
|
|
|
21712
22033
|
*/
|
|
21713
22034
|
used?: number;
|
|
21714
22035
|
};
|
|
22036
|
+
AllowedDirectory: {
|
|
22037
|
+
edit?: boolean;
|
|
22038
|
+
path: string;
|
|
22039
|
+
subtree?: boolean;
|
|
22040
|
+
};
|
|
21715
22041
|
AllowedInstanceTypes: {
|
|
21716
22042
|
/** @description AWS instance types the organization may launch */
|
|
21717
22043
|
aws?: string[] | null;
|
|
@@ -21920,6 +22246,7 @@ export interface components {
|
|
|
21920
22246
|
};
|
|
21921
22247
|
ApprovalRequest: {
|
|
21922
22248
|
agent?: string;
|
|
22249
|
+
allowDir?: components["schemas"]["AllowedDirectory"];
|
|
21923
22250
|
callId?: string;
|
|
21924
22251
|
command?: string;
|
|
21925
22252
|
/** Format: date-time */
|
|
@@ -21939,6 +22266,7 @@ export interface components {
|
|
|
21939
22266
|
apps: components["schemas"]["App"][];
|
|
21940
22267
|
};
|
|
21941
22268
|
ArchiveChange: {
|
|
22269
|
+
agent?: boolean;
|
|
21942
22270
|
/** Format: date-time */
|
|
21943
22271
|
at: string;
|
|
21944
22272
|
remote?: boolean;
|
|
@@ -25811,10 +26139,10 @@ export interface components {
|
|
|
25811
26139
|
CreateFirewallExclusionInputBody: {
|
|
25812
26140
|
/** Format: date-time */
|
|
25813
26141
|
expiresAt?: string;
|
|
25814
|
-
/** @description HTTP methods it applies to;
|
|
26142
|
+
/** @description HTTP methods it applies to; defaults to every method */
|
|
25815
26143
|
methods?: string[] | null;
|
|
25816
26144
|
note?: string;
|
|
25817
|
-
/** @description Route it applies to, such as /api/organizations/{organization}/users, where each {param} stands for one path segment and a trailing /* covers every path below;
|
|
26145
|
+
/** @description Route it applies to, such as /api/organizations/{organization}/users, where each {param} stands for one path segment and a trailing /* covers every path below; defaults to every route */
|
|
25818
26146
|
path?: string;
|
|
25819
26147
|
/**
|
|
25820
26148
|
* Format: int64
|
|
@@ -25839,12 +26167,12 @@ export interface components {
|
|
|
25839
26167
|
expiresAt?: string;
|
|
25840
26168
|
/** @description What block logs and evaluations report when it matches */
|
|
25841
26169
|
message: string;
|
|
25842
|
-
/** @description HTTP methods it applies to;
|
|
26170
|
+
/** @description HTTP methods it applies to; defaults to every method */
|
|
25843
26171
|
methods?: string[] | null;
|
|
25844
26172
|
note?: string;
|
|
25845
26173
|
/** @enum {string} */
|
|
25846
26174
|
operator: "rx" | "pm" | "streq" | "beginsWith" | "endsWith" | "contains" | "within" | "ipMatch" | "eq" | "gt" | "ge" | "lt" | "le" | "detectSQLi" | "detectXSS";
|
|
25847
|
-
/** @description Route it applies to, such as /api/organizations/{organization}/users, where each {param} stands for one path segment and a trailing /* covers every path below;
|
|
26175
|
+
/** @description Route it applies to, such as /api/organizations/{organization}/users, where each {param} stands for one path segment and a trailing /* covers every path below; defaults to every route */
|
|
25848
26176
|
path?: string;
|
|
25849
26177
|
/**
|
|
25850
26178
|
* Format: int64
|
|
@@ -26374,6 +26702,11 @@ export interface components {
|
|
|
26374
26702
|
allocation?: string;
|
|
26375
26703
|
/** @description An existing Claude Code account on the machine; used for subscription models. */
|
|
26376
26704
|
claudeAccount?: string;
|
|
26705
|
+
/**
|
|
26706
|
+
* @description Reasoning effort: low, medium, high, xhigh or max, which a model runs at the nearest level it takes. The machine's saved level is used when empty. default, none and minimal are earlier names for high, low and low.
|
|
26707
|
+
* @enum {string}
|
|
26708
|
+
*/
|
|
26709
|
+
effort?: "" | "default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
26377
26710
|
/** @description Model id; the machine's default is used when empty. */
|
|
26378
26711
|
model?: string;
|
|
26379
26712
|
/**
|
|
@@ -26607,7 +26940,7 @@ export interface components {
|
|
|
26607
26940
|
user: string;
|
|
26608
26941
|
};
|
|
26609
26942
|
CredentialListingError: {
|
|
26610
|
-
/** @description The failure was
|
|
26943
|
+
/** @description The failure was internal to the platform; its details are in the billing service's log, not here. */
|
|
26611
26944
|
internal?: boolean;
|
|
26612
26945
|
/** @description The cloud provider's error response. Empty for an internal failure. */
|
|
26613
26946
|
message: string;
|
|
@@ -26687,7 +27020,7 @@ export interface components {
|
|
|
26687
27020
|
CustomResourceTagsOutputBody: {
|
|
26688
27021
|
/** @description Tag keys the platform applies automatically and reserves; they cannot be used as custom keys. Keys beginning with 'pw-' are also reserved. */
|
|
26689
27022
|
reservedKeys: string[] | null;
|
|
26690
|
-
/** @description Custom tags applied to every cloud resource provisioned for the organization. Cloud providers cap how many tags a resource can hold (for example 10 on Oracle and 15 on Azure DNS zones); when a resource would exceed its cap, tags are applied
|
|
27023
|
+
/** @description Custom tags applied to every cloud resource provisioned for the organization. Cloud providers cap how many tags a resource can hold (for example 10 on Oracle and 15 on Azure DNS zones); when a resource would exceed its cap, the platform's tracking tags are applied first, then as many custom tags as fit. */
|
|
26691
27024
|
tags: components["schemas"]["CustomResourceTag"][] | null;
|
|
26692
27025
|
};
|
|
26693
27026
|
CustomSku: {
|
|
@@ -27445,7 +27778,7 @@ export interface components {
|
|
|
27445
27778
|
EvaluateFirewallRequestInputBody: {
|
|
27446
27779
|
/** @description Request body; give a Content-Type header too, so it is parsed the way the server would parse it */
|
|
27447
27780
|
body?: string;
|
|
27448
|
-
/** @description Address the request comes from; defaults to 192.0.2.1,
|
|
27781
|
+
/** @description Address the request comes from; defaults to 192.0.2.1, an address reserved for documentation */
|
|
27449
27782
|
clientIp?: string;
|
|
27450
27783
|
/** @description Request headers; Host defaults to localhost */
|
|
27451
27784
|
headers?: {
|
|
@@ -27972,7 +28305,7 @@ export interface components {
|
|
|
27972
28305
|
createdBy: string;
|
|
27973
28306
|
/**
|
|
27974
28307
|
* Format: date-time
|
|
27975
|
-
* @description When it stops applying;
|
|
28308
|
+
* @description When it stops applying; without it, applies until deleted
|
|
27976
28309
|
*/
|
|
27977
28310
|
expiresAt?: string;
|
|
27978
28311
|
/**
|
|
@@ -28025,7 +28358,7 @@ export interface components {
|
|
|
28025
28358
|
createdBy: string;
|
|
28026
28359
|
/**
|
|
28027
28360
|
* Format: date-time
|
|
28028
|
-
* @description When it stops applying;
|
|
28361
|
+
* @description When it stops applying; without it, applies until deleted
|
|
28029
28362
|
*/
|
|
28030
28363
|
expiresAt?: string;
|
|
28031
28364
|
/**
|
|
@@ -28169,7 +28502,7 @@ export interface components {
|
|
|
28169
28502
|
FlatError: {
|
|
28170
28503
|
/** @description Cloud service provider */
|
|
28171
28504
|
csp: string;
|
|
28172
|
-
/** @description The failure was
|
|
28505
|
+
/** @description The failure was internal to the platform, such as a database error; its details are in the billing service's log, not here. */
|
|
28173
28506
|
internal?: boolean;
|
|
28174
28507
|
/** @description The cloud provider's error response. Empty for an internal failure. */
|
|
28175
28508
|
message: string;
|
|
@@ -30581,7 +30914,7 @@ export interface components {
|
|
|
30581
30914
|
fromMain?: boolean;
|
|
30582
30915
|
images?: components["schemas"]["ImageContent"][] | null;
|
|
30583
30916
|
/** @enum {string} */
|
|
30584
|
-
kind: "user" | "assistant" | "thinking" | "tool_call" | "tool_result" | "notice" | "error" | "plan_view" | "goal_view" | "goal_progress" | "turn_end" | "recap" | "compaction";
|
|
30917
|
+
kind: "user" | "assistant" | "thinking" | "tool_call" | "tool_result" | "notice" | "warning" | "error" | "plan_view" | "goal_view" | "goal_progress" | "turn_end" | "recap" | "compaction";
|
|
30585
30918
|
pastes?: components["schemas"]["PasteView"][] | null;
|
|
30586
30919
|
planBody?: string;
|
|
30587
30920
|
/** Format: int64 */
|
|
@@ -35350,7 +35683,7 @@ export interface components {
|
|
|
35350
35683
|
platformName?: string;
|
|
35351
35684
|
/** @description Platform-wide enabled previews. */
|
|
35352
35685
|
previews: string[] | null;
|
|
35353
|
-
/** @description Indicates if the platform advertises the QUIC tunnel transport. Clients use this to decide whether to dial QUIC first
|
|
35686
|
+
/** @description Indicates if the platform advertises the QUIC tunnel transport. Clients use this to decide whether to dial QUIC first, falling back to WebSocket, and skip it where QUIC isn't offered. */
|
|
35354
35687
|
quicTunnelEnabled: boolean;
|
|
35355
35688
|
/** @description Whether Sentry error tracking is enabled. */
|
|
35356
35689
|
sentryEnabled?: boolean;
|
|
@@ -35479,15 +35812,15 @@ export interface components {
|
|
|
35479
35812
|
licenseGracePeriod?: boolean;
|
|
35480
35813
|
/** @description Minimum agent semantic version. Agents below this version are rejected at handshake and disconnected when already connected. Empty disables enforcement. */
|
|
35481
35814
|
minimumAgentVersion?: string;
|
|
35482
|
-
/** @description Which orphaned cloud resources
|
|
35815
|
+
/** @description Which orphaned cloud resources are deleted on the next orphan pass. Each switch is off until a platform admin turns it on. Empty, with orphanRemovalsUnreadable set, while they can't be read. */
|
|
35483
35816
|
orphanRemovals: components["schemas"]["OrphanRemovalSettings"];
|
|
35484
|
-
/** @description Whether
|
|
35817
|
+
/** @description Whether the stored orphan removal switches could not be read, such as a value of the wrong type. No orphaned resources are removed while they can't be read. */
|
|
35485
35818
|
orphanRemovalsUnreadable?: boolean;
|
|
35486
35819
|
/** @description Body served at /.well-known/pki-validation/{filename}. */
|
|
35487
35820
|
pkiValidationContent?: string;
|
|
35488
35821
|
/** @description Filename served at /.well-known/pki-validation/. Empty disables the endpoint. */
|
|
35489
35822
|
pkiValidationFilename?: string;
|
|
35490
|
-
/** @description Whether to advertise the QUIC tunnel transport to clients. When on
|
|
35823
|
+
/** @description Whether to advertise the QUIC tunnel transport to clients. When on, and the QUIC listener bound at startup, clients discover QUIC via /api/settings and dial it first, falling back to WebSocket. Off by default, so that clients don't try QUIC first where it isn't routed. */
|
|
35491
35824
|
quicTunnelEnabled: boolean;
|
|
35492
35825
|
/** @description Sentry DSN for backend services. */
|
|
35493
35826
|
sentryDsn?: string;
|
|
@@ -35514,8 +35847,10 @@ export interface components {
|
|
|
35514
35847
|
* @enum {string}
|
|
35515
35848
|
*/
|
|
35516
35849
|
sshHostKeyVerification: "off" | "warn" | "enforce";
|
|
35517
|
-
/** @description Whether to advertise resumable SSH sessions, letting tunneled connections to supporting agents survive tunnel drops and ingress restarts. Off by default; turning it off
|
|
35850
|
+
/** @description Whether to advertise resumable SSH sessions, letting tunneled connections to supporting agents survive tunnel drops and ingress restarts. Off by default; turning it off takes effect at once: new connections are no longer resumable. */
|
|
35518
35851
|
sshResumeEnabled: boolean;
|
|
35852
|
+
/** @description Whether the stuck-run sweeper only reports the runs it would end, in its job log on Background jobs (queue ingress-sweep-kept), and ends none. It wins over stuckRunSweeperEnabled. Off by default. */
|
|
35853
|
+
stuckRunSweeperDryRun: boolean;
|
|
35519
35854
|
/** @description Whether the stuck-run sweeper is enabled. When on, workflow runs whose executor stops sending heartbeats are automatically finalized. On by default; turn it off only if a deployment cannot keep executor heartbeats flowing. */
|
|
35520
35855
|
stuckRunSweeperEnabled: boolean;
|
|
35521
35856
|
/** @description Markdown Terms & Conditions shown to new users during onboarding. Empty disables the prompt. */
|
|
@@ -37940,7 +38275,7 @@ export interface components {
|
|
|
37940
38275
|
instanceType?: string;
|
|
37941
38276
|
};
|
|
37942
38277
|
ReserveSubdomainBody: {
|
|
37943
|
-
/** @description The subdomain to reserve: a label ("my-app"), which
|
|
38278
|
+
/** @description The subdomain to reserve: a label ("my-app"), which is placed under the platform's default sessions domain, or the full host under any registered sessions domain ("my-app.<sessions domain>"). */
|
|
37944
38279
|
subdomain: string;
|
|
37945
38280
|
};
|
|
37946
38281
|
ReservedSubdomainResponse: {
|
|
@@ -38140,7 +38475,7 @@ export interface components {
|
|
|
38140
38475
|
accountId?: string;
|
|
38141
38476
|
/** @description CloudAccount (or legacy key) name. */
|
|
38142
38477
|
accountName?: string;
|
|
38143
|
-
/** @description The cloud provider's error from the last credential fetch. Empty when the
|
|
38478
|
+
/** @description The cloud provider's error from the last credential fetch. Empty when the failure was internal to the platform, such as in the vault or database; those details are in the billing service's log. */
|
|
38144
38479
|
credentialError?: string;
|
|
38145
38480
|
/**
|
|
38146
38481
|
* Format: date-time
|
|
@@ -38470,7 +38805,7 @@ export interface components {
|
|
|
38470
38805
|
overlapHours?: number;
|
|
38471
38806
|
};
|
|
38472
38807
|
RunError: {
|
|
38473
|
-
/** @description The failure was
|
|
38808
|
+
/** @description The failure was internal to the platform, such as a database error; its details are in the billing service's log, not here. */
|
|
38474
38809
|
internal?: boolean;
|
|
38475
38810
|
/** @description The cloud provider's error response. Empty for an internal failure. */
|
|
38476
38811
|
message: string;
|
|
@@ -39213,7 +39548,9 @@ export interface components {
|
|
|
39213
39548
|
version: string;
|
|
39214
39549
|
};
|
|
39215
39550
|
SessionState: {
|
|
39551
|
+
addDirs?: components["schemas"]["AddedDirectory"][] | null;
|
|
39216
39552
|
allocation?: string;
|
|
39553
|
+
allowedDirs?: components["schemas"]["AllowedDirectory"][] | null;
|
|
39217
39554
|
attribution?: boolean;
|
|
39218
39555
|
/** Format: int64 */
|
|
39219
39556
|
autoCompactWindow?: number;
|
|
@@ -39902,6 +40239,44 @@ export interface components {
|
|
|
39902
40239
|
*/
|
|
39903
40240
|
value?: string;
|
|
39904
40241
|
};
|
|
40242
|
+
Subagent: {
|
|
40243
|
+
agentType?: string;
|
|
40244
|
+
awaitingApproval?: boolean;
|
|
40245
|
+
background?: boolean;
|
|
40246
|
+
color?: string;
|
|
40247
|
+
current?: boolean;
|
|
40248
|
+
description?: string;
|
|
40249
|
+
/** Format: date-time */
|
|
40250
|
+
endedAt?: string;
|
|
40251
|
+
id: string;
|
|
40252
|
+
model?: string;
|
|
40253
|
+
/** Format: date-time */
|
|
40254
|
+
startedAt?: string;
|
|
40255
|
+
/** @enum {string} */
|
|
40256
|
+
status: "running" | "done" | "failed" | "stopped";
|
|
40257
|
+
usage?: components["schemas"]["SubagentUsage"];
|
|
40258
|
+
};
|
|
40259
|
+
SubagentDetail: {
|
|
40260
|
+
agentType?: string;
|
|
40261
|
+
approvals: components["schemas"]["ApprovalRequest"][] | null;
|
|
40262
|
+
awaitingApproval?: boolean;
|
|
40263
|
+
background?: boolean;
|
|
40264
|
+
color?: string;
|
|
40265
|
+
current?: boolean;
|
|
40266
|
+
description?: string;
|
|
40267
|
+
/** Format: date-time */
|
|
40268
|
+
endedAt?: string;
|
|
40269
|
+
history: components["schemas"]["HistoryItem"][] | null;
|
|
40270
|
+
id: string;
|
|
40271
|
+
/** Format: int64 */
|
|
40272
|
+
lastSeq: number;
|
|
40273
|
+
model?: string;
|
|
40274
|
+
/** Format: date-time */
|
|
40275
|
+
startedAt?: string;
|
|
40276
|
+
/** @enum {string} */
|
|
40277
|
+
status: "running" | "done" | "failed" | "stopped";
|
|
40278
|
+
usage?: components["schemas"]["SubagentUsage"];
|
|
40279
|
+
};
|
|
39905
40280
|
SubagentUsage: {
|
|
39906
40281
|
/** Format: int64 */
|
|
39907
40282
|
inputTokens?: number;
|
|
@@ -40441,7 +40816,7 @@ export interface components {
|
|
|
40441
40816
|
maintenanceMode?: boolean;
|
|
40442
40817
|
/** @description Minimum agent semantic version. Empty disables enforcement. */
|
|
40443
40818
|
minimumAgentVersion?: string;
|
|
40444
|
-
/** @description Which orphaned cloud resources
|
|
40819
|
+
/** @description Which orphaned cloud resources are deleted; switches left out keep their value. */
|
|
40445
40820
|
orphanRemovals?: components["schemas"]["OrphanRemovalSettings"];
|
|
40446
40821
|
/** @description Body served at /.well-known/pki-validation/{filename}. */
|
|
40447
40822
|
pkiValidationContent?: string;
|
|
@@ -40482,6 +40857,8 @@ export interface components {
|
|
|
40482
40857
|
sshHostKeyVerification?: "off" | "warn" | "enforce";
|
|
40483
40858
|
/** @description Whether to advertise resumable SSH sessions to clients. */
|
|
40484
40859
|
sshResumeEnabled?: boolean;
|
|
40860
|
+
/** @description Whether the stuck-run sweeper only reports the runs it would end. */
|
|
40861
|
+
stuckRunSweeperDryRun?: boolean;
|
|
40485
40862
|
/** @description Whether the stuck-run sweeper is enabled. */
|
|
40486
40863
|
stuckRunSweeperEnabled?: boolean;
|
|
40487
40864
|
/** @description Markdown Terms & Conditions shown to new users during onboarding. Empty disables the prompt. */
|
|
@@ -46474,6 +46851,35 @@ export interface operations {
|
|
|
46474
46851
|
};
|
|
46475
46852
|
};
|
|
46476
46853
|
};
|
|
46854
|
+
"start-stuck-run-dry-run": {
|
|
46855
|
+
parameters: {
|
|
46856
|
+
query?: never;
|
|
46857
|
+
header?: never;
|
|
46858
|
+
path?: never;
|
|
46859
|
+
cookie?: never;
|
|
46860
|
+
};
|
|
46861
|
+
requestBody?: never;
|
|
46862
|
+
responses: {
|
|
46863
|
+
/** @description Accepted */
|
|
46864
|
+
202: {
|
|
46865
|
+
headers: {
|
|
46866
|
+
[name: string]: unknown;
|
|
46867
|
+
};
|
|
46868
|
+
content: {
|
|
46869
|
+
"application/json": components["schemas"]["BackgroundJob"];
|
|
46870
|
+
};
|
|
46871
|
+
};
|
|
46872
|
+
/** @description Error */
|
|
46873
|
+
default: {
|
|
46874
|
+
headers: {
|
|
46875
|
+
[name: string]: unknown;
|
|
46876
|
+
};
|
|
46877
|
+
content: {
|
|
46878
|
+
"application/json": components["schemas"]["Error"];
|
|
46879
|
+
};
|
|
46880
|
+
};
|
|
46881
|
+
};
|
|
46882
|
+
};
|
|
46477
46883
|
"kill-user-workspace": {
|
|
46478
46884
|
parameters: {
|
|
46479
46885
|
query?: never;
|
|
@@ -48484,6 +48890,43 @@ export interface operations {
|
|
|
48484
48890
|
};
|
|
48485
48891
|
};
|
|
48486
48892
|
};
|
|
48893
|
+
"get-agent-workspace-palette": {
|
|
48894
|
+
parameters: {
|
|
48895
|
+
query: {
|
|
48896
|
+
/** @description Absolute path of the directory the session would start in. */
|
|
48897
|
+
workspace: string;
|
|
48898
|
+
/** @description Model the session would start with: a Claude model leaves out the commands Claude Code does not support. */
|
|
48899
|
+
model?: string;
|
|
48900
|
+
};
|
|
48901
|
+
header?: never;
|
|
48902
|
+
path: {
|
|
48903
|
+
/** @description Machine id from the machines list. */
|
|
48904
|
+
machine: string;
|
|
48905
|
+
};
|
|
48906
|
+
cookie?: never;
|
|
48907
|
+
};
|
|
48908
|
+
requestBody?: never;
|
|
48909
|
+
responses: {
|
|
48910
|
+
/** @description OK */
|
|
48911
|
+
200: {
|
|
48912
|
+
headers: {
|
|
48913
|
+
[name: string]: unknown;
|
|
48914
|
+
};
|
|
48915
|
+
content: {
|
|
48916
|
+
"application/json": components["schemas"]["AgentPalette"];
|
|
48917
|
+
};
|
|
48918
|
+
};
|
|
48919
|
+
/** @description Error */
|
|
48920
|
+
default: {
|
|
48921
|
+
headers: {
|
|
48922
|
+
[name: string]: unknown;
|
|
48923
|
+
};
|
|
48924
|
+
content: {
|
|
48925
|
+
"application/json": components["schemas"]["Error"];
|
|
48926
|
+
};
|
|
48927
|
+
};
|
|
48928
|
+
};
|
|
48929
|
+
};
|
|
48487
48930
|
"list-agent-machine-sessions": {
|
|
48488
48931
|
parameters: {
|
|
48489
48932
|
query?: never;
|
|
@@ -48588,7 +49031,12 @@ export interface operations {
|
|
|
48588
49031
|
};
|
|
48589
49032
|
"delete-agent-session": {
|
|
48590
49033
|
parameters: {
|
|
48591
|
-
query?:
|
|
49034
|
+
query?: {
|
|
49035
|
+
/** @description remove also removes the worktree EnterWorktree made for the session, with its branch and everything in it; it stays otherwise. */
|
|
49036
|
+
worktree?: "keep" | "remove";
|
|
49037
|
+
/** @description With worktree=remove, the worktree's root as the session's worktree last showed it. The machine refuses when the session no longer works there. */
|
|
49038
|
+
worktreeRoot?: string;
|
|
49039
|
+
};
|
|
48592
49040
|
header?: never;
|
|
48593
49041
|
path: {
|
|
48594
49042
|
/** @description Machine id from the machines list. */
|
|
@@ -48668,14 +49116,20 @@ export interface operations {
|
|
|
48668
49116
|
};
|
|
48669
49117
|
cookie?: never;
|
|
48670
49118
|
};
|
|
48671
|
-
requestBody?:
|
|
49119
|
+
requestBody?: {
|
|
49120
|
+
content: {
|
|
49121
|
+
"application/json": components["schemas"]["AgentArchiveBody"];
|
|
49122
|
+
};
|
|
49123
|
+
};
|
|
48672
49124
|
responses: {
|
|
48673
|
-
/** @description
|
|
48674
|
-
|
|
49125
|
+
/** @description OK */
|
|
49126
|
+
200: {
|
|
48675
49127
|
headers: {
|
|
48676
49128
|
[name: string]: unknown;
|
|
48677
49129
|
};
|
|
48678
|
-
content
|
|
49130
|
+
content: {
|
|
49131
|
+
"application/json": components["schemas"]["AgentArchived"];
|
|
49132
|
+
};
|
|
48679
49133
|
};
|
|
48680
49134
|
/** @description Error */
|
|
48681
49135
|
default: {
|
|
@@ -49047,6 +49501,74 @@ export interface operations {
|
|
|
49047
49501
|
};
|
|
49048
49502
|
};
|
|
49049
49503
|
};
|
|
49504
|
+
"group-agent-session": {
|
|
49505
|
+
parameters: {
|
|
49506
|
+
query?: never;
|
|
49507
|
+
header?: never;
|
|
49508
|
+
path: {
|
|
49509
|
+
/** @description Machine id from the machines list. */
|
|
49510
|
+
machine: string;
|
|
49511
|
+
/** @description Session id as the daemon reports it. */
|
|
49512
|
+
id: string;
|
|
49513
|
+
};
|
|
49514
|
+
cookie?: never;
|
|
49515
|
+
};
|
|
49516
|
+
requestBody: {
|
|
49517
|
+
content: {
|
|
49518
|
+
"application/json": components["schemas"]["AgentSessionGroupBody"];
|
|
49519
|
+
};
|
|
49520
|
+
};
|
|
49521
|
+
responses: {
|
|
49522
|
+
/** @description No Content */
|
|
49523
|
+
204: {
|
|
49524
|
+
headers: {
|
|
49525
|
+
[name: string]: unknown;
|
|
49526
|
+
};
|
|
49527
|
+
content?: never;
|
|
49528
|
+
};
|
|
49529
|
+
/** @description Error */
|
|
49530
|
+
default: {
|
|
49531
|
+
headers: {
|
|
49532
|
+
[name: string]: unknown;
|
|
49533
|
+
};
|
|
49534
|
+
content: {
|
|
49535
|
+
"application/json": components["schemas"]["Error"];
|
|
49536
|
+
};
|
|
49537
|
+
};
|
|
49538
|
+
};
|
|
49539
|
+
};
|
|
49540
|
+
"ungroup-agent-session": {
|
|
49541
|
+
parameters: {
|
|
49542
|
+
query?: never;
|
|
49543
|
+
header?: never;
|
|
49544
|
+
path: {
|
|
49545
|
+
/** @description Machine id from the machines list. */
|
|
49546
|
+
machine: string;
|
|
49547
|
+
/** @description Session id as the daemon reports it. */
|
|
49548
|
+
id: string;
|
|
49549
|
+
};
|
|
49550
|
+
cookie?: never;
|
|
49551
|
+
};
|
|
49552
|
+
requestBody?: never;
|
|
49553
|
+
responses: {
|
|
49554
|
+
/** @description No Content */
|
|
49555
|
+
204: {
|
|
49556
|
+
headers: {
|
|
49557
|
+
[name: string]: unknown;
|
|
49558
|
+
};
|
|
49559
|
+
content?: never;
|
|
49560
|
+
};
|
|
49561
|
+
/** @description Error */
|
|
49562
|
+
default: {
|
|
49563
|
+
headers: {
|
|
49564
|
+
[name: string]: unknown;
|
|
49565
|
+
};
|
|
49566
|
+
content: {
|
|
49567
|
+
"application/json": components["schemas"]["Error"];
|
|
49568
|
+
};
|
|
49569
|
+
};
|
|
49570
|
+
};
|
|
49571
|
+
};
|
|
49050
49572
|
"upload-agent-session-image": {
|
|
49051
49573
|
parameters: {
|
|
49052
49574
|
query?: never;
|
|
@@ -49610,6 +50132,222 @@ export interface operations {
|
|
|
49610
50132
|
};
|
|
49611
50133
|
};
|
|
49612
50134
|
};
|
|
50135
|
+
"list-agent-session-subagents": {
|
|
50136
|
+
parameters: {
|
|
50137
|
+
query?: never;
|
|
50138
|
+
header?: never;
|
|
50139
|
+
path: {
|
|
50140
|
+
/** @description Machine id from the machines list. */
|
|
50141
|
+
machine: string;
|
|
50142
|
+
/** @description Session id as the daemon reports it. */
|
|
50143
|
+
id: string;
|
|
50144
|
+
};
|
|
50145
|
+
cookie?: never;
|
|
50146
|
+
};
|
|
50147
|
+
requestBody?: never;
|
|
50148
|
+
responses: {
|
|
50149
|
+
/** @description OK */
|
|
50150
|
+
200: {
|
|
50151
|
+
headers: {
|
|
50152
|
+
[name: string]: unknown;
|
|
50153
|
+
};
|
|
50154
|
+
content: {
|
|
50155
|
+
"application/json": components["schemas"]["AgentSubagents"];
|
|
50156
|
+
};
|
|
50157
|
+
};
|
|
50158
|
+
/** @description Error */
|
|
50159
|
+
default: {
|
|
50160
|
+
headers: {
|
|
50161
|
+
[name: string]: unknown;
|
|
50162
|
+
};
|
|
50163
|
+
content: {
|
|
50164
|
+
"application/json": components["schemas"]["Error"];
|
|
50165
|
+
};
|
|
50166
|
+
};
|
|
50167
|
+
};
|
|
50168
|
+
};
|
|
50169
|
+
"stop-agent-session-subagents": {
|
|
50170
|
+
parameters: {
|
|
50171
|
+
query?: never;
|
|
50172
|
+
header?: never;
|
|
50173
|
+
path: {
|
|
50174
|
+
/** @description Machine id from the machines list. */
|
|
50175
|
+
machine: string;
|
|
50176
|
+
/** @description Session id as the daemon reports it. */
|
|
50177
|
+
id: string;
|
|
50178
|
+
};
|
|
50179
|
+
cookie?: never;
|
|
50180
|
+
};
|
|
50181
|
+
requestBody?: never;
|
|
50182
|
+
responses: {
|
|
50183
|
+
/** @description No Content */
|
|
50184
|
+
204: {
|
|
50185
|
+
headers: {
|
|
50186
|
+
[name: string]: unknown;
|
|
50187
|
+
};
|
|
50188
|
+
content?: never;
|
|
50189
|
+
};
|
|
50190
|
+
/** @description Error */
|
|
50191
|
+
default: {
|
|
50192
|
+
headers: {
|
|
50193
|
+
[name: string]: unknown;
|
|
50194
|
+
};
|
|
50195
|
+
content: {
|
|
50196
|
+
"application/json": components["schemas"]["Error"];
|
|
50197
|
+
};
|
|
50198
|
+
};
|
|
50199
|
+
};
|
|
50200
|
+
};
|
|
50201
|
+
"get-agent-session-subagent": {
|
|
50202
|
+
parameters: {
|
|
50203
|
+
query?: never;
|
|
50204
|
+
header?: never;
|
|
50205
|
+
path: {
|
|
50206
|
+
/** @description Machine id from the machines list. */
|
|
50207
|
+
machine: string;
|
|
50208
|
+
/** @description Session id as the daemon reports it. */
|
|
50209
|
+
id: string;
|
|
50210
|
+
/** @description Subagent id from the session's subagents. */
|
|
50211
|
+
subId: string;
|
|
50212
|
+
};
|
|
50213
|
+
cookie?: never;
|
|
50214
|
+
};
|
|
50215
|
+
requestBody?: never;
|
|
50216
|
+
responses: {
|
|
50217
|
+
/** @description OK */
|
|
50218
|
+
200: {
|
|
50219
|
+
headers: {
|
|
50220
|
+
[name: string]: unknown;
|
|
50221
|
+
};
|
|
50222
|
+
content: {
|
|
50223
|
+
"application/json": components["schemas"]["SubagentDetail"];
|
|
50224
|
+
};
|
|
50225
|
+
};
|
|
50226
|
+
/** @description Error */
|
|
50227
|
+
default: {
|
|
50228
|
+
headers: {
|
|
50229
|
+
[name: string]: unknown;
|
|
50230
|
+
};
|
|
50231
|
+
content: {
|
|
50232
|
+
"application/json": components["schemas"]["Error"];
|
|
50233
|
+
};
|
|
50234
|
+
};
|
|
50235
|
+
};
|
|
50236
|
+
};
|
|
50237
|
+
"steer-agent-session-subagent": {
|
|
50238
|
+
parameters: {
|
|
50239
|
+
query?: never;
|
|
50240
|
+
header?: never;
|
|
50241
|
+
path: {
|
|
50242
|
+
/** @description Machine id from the machines list. */
|
|
50243
|
+
machine: string;
|
|
50244
|
+
/** @description Session id as the daemon reports it. */
|
|
50245
|
+
id: string;
|
|
50246
|
+
/** @description Subagent id from the session's subagents. */
|
|
50247
|
+
subId: string;
|
|
50248
|
+
};
|
|
50249
|
+
cookie?: never;
|
|
50250
|
+
};
|
|
50251
|
+
requestBody: {
|
|
50252
|
+
content: {
|
|
50253
|
+
"application/json": components["schemas"]["AgentDirectionBody"];
|
|
50254
|
+
};
|
|
50255
|
+
};
|
|
50256
|
+
responses: {
|
|
50257
|
+
/** @description OK */
|
|
50258
|
+
200: {
|
|
50259
|
+
headers: {
|
|
50260
|
+
[name: string]: unknown;
|
|
50261
|
+
};
|
|
50262
|
+
content: {
|
|
50263
|
+
"application/json": components["schemas"]["AgentDirectionDelivered"];
|
|
50264
|
+
};
|
|
50265
|
+
};
|
|
50266
|
+
/** @description Error */
|
|
50267
|
+
default: {
|
|
50268
|
+
headers: {
|
|
50269
|
+
[name: string]: unknown;
|
|
50270
|
+
};
|
|
50271
|
+
content: {
|
|
50272
|
+
"application/json": components["schemas"]["Error"];
|
|
50273
|
+
};
|
|
50274
|
+
};
|
|
50275
|
+
};
|
|
50276
|
+
};
|
|
50277
|
+
"send-agent-session-subagent-message": {
|
|
50278
|
+
parameters: {
|
|
50279
|
+
query?: never;
|
|
50280
|
+
header?: never;
|
|
50281
|
+
path: {
|
|
50282
|
+
/** @description Machine id from the machines list. */
|
|
50283
|
+
machine: string;
|
|
50284
|
+
/** @description Session id as the daemon reports it. */
|
|
50285
|
+
id: string;
|
|
50286
|
+
/** @description Subagent id from the session's subagents. */
|
|
50287
|
+
subId: string;
|
|
50288
|
+
};
|
|
50289
|
+
cookie?: never;
|
|
50290
|
+
};
|
|
50291
|
+
requestBody: {
|
|
50292
|
+
content: {
|
|
50293
|
+
"application/json": components["schemas"]["SendMessageBody"];
|
|
50294
|
+
};
|
|
50295
|
+
};
|
|
50296
|
+
responses: {
|
|
50297
|
+
/** @description OK */
|
|
50298
|
+
200: {
|
|
50299
|
+
headers: {
|
|
50300
|
+
[name: string]: unknown;
|
|
50301
|
+
};
|
|
50302
|
+
content: {
|
|
50303
|
+
"application/json": components["schemas"]["AgentMessageAccepted"];
|
|
50304
|
+
};
|
|
50305
|
+
};
|
|
50306
|
+
/** @description Error */
|
|
50307
|
+
default: {
|
|
50308
|
+
headers: {
|
|
50309
|
+
[name: string]: unknown;
|
|
50310
|
+
};
|
|
50311
|
+
content: {
|
|
50312
|
+
"application/json": components["schemas"]["Error"];
|
|
50313
|
+
};
|
|
50314
|
+
};
|
|
50315
|
+
};
|
|
50316
|
+
};
|
|
50317
|
+
"stop-agent-session-subagent": {
|
|
50318
|
+
parameters: {
|
|
50319
|
+
query?: never;
|
|
50320
|
+
header?: never;
|
|
50321
|
+
path: {
|
|
50322
|
+
/** @description Machine id from the machines list. */
|
|
50323
|
+
machine: string;
|
|
50324
|
+
/** @description Session id as the daemon reports it. */
|
|
50325
|
+
id: string;
|
|
50326
|
+
/** @description Subagent id from the session's subagents. */
|
|
50327
|
+
subId: string;
|
|
50328
|
+
};
|
|
50329
|
+
cookie?: never;
|
|
50330
|
+
};
|
|
50331
|
+
requestBody?: never;
|
|
50332
|
+
responses: {
|
|
50333
|
+
/** @description No Content */
|
|
50334
|
+
204: {
|
|
50335
|
+
headers: {
|
|
50336
|
+
[name: string]: unknown;
|
|
50337
|
+
};
|
|
50338
|
+
content?: never;
|
|
50339
|
+
};
|
|
50340
|
+
/** @description Error */
|
|
50341
|
+
default: {
|
|
50342
|
+
headers: {
|
|
50343
|
+
[name: string]: unknown;
|
|
50344
|
+
};
|
|
50345
|
+
content: {
|
|
50346
|
+
"application/json": components["schemas"]["Error"];
|
|
50347
|
+
};
|
|
50348
|
+
};
|
|
50349
|
+
};
|
|
50350
|
+
};
|
|
49613
50351
|
"upload-agent-session-paste": {
|
|
49614
50352
|
parameters: {
|
|
49615
50353
|
query?: never;
|
|
@@ -49648,6 +50386,78 @@ export interface operations {
|
|
|
49648
50386
|
};
|
|
49649
50387
|
};
|
|
49650
50388
|
};
|
|
50389
|
+
"get-agent-session-worktree": {
|
|
50390
|
+
parameters: {
|
|
50391
|
+
query?: never;
|
|
50392
|
+
header?: never;
|
|
50393
|
+
path: {
|
|
50394
|
+
/** @description Machine id from the machines list. */
|
|
50395
|
+
machine: string;
|
|
50396
|
+
/** @description Session id as the daemon reports it. */
|
|
50397
|
+
id: string;
|
|
50398
|
+
};
|
|
50399
|
+
cookie?: never;
|
|
50400
|
+
};
|
|
50401
|
+
requestBody?: never;
|
|
50402
|
+
responses: {
|
|
50403
|
+
/** @description OK */
|
|
50404
|
+
200: {
|
|
50405
|
+
headers: {
|
|
50406
|
+
[name: string]: unknown;
|
|
50407
|
+
};
|
|
50408
|
+
content: {
|
|
50409
|
+
"application/json": components["schemas"]["AgentSessionWorktree"];
|
|
50410
|
+
};
|
|
50411
|
+
};
|
|
50412
|
+
/** @description Error */
|
|
50413
|
+
default: {
|
|
50414
|
+
headers: {
|
|
50415
|
+
[name: string]: unknown;
|
|
50416
|
+
};
|
|
50417
|
+
content: {
|
|
50418
|
+
"application/json": components["schemas"]["Error"];
|
|
50419
|
+
};
|
|
50420
|
+
};
|
|
50421
|
+
};
|
|
50422
|
+
};
|
|
50423
|
+
"leave-agent-session-worktree": {
|
|
50424
|
+
parameters: {
|
|
50425
|
+
query?: never;
|
|
50426
|
+
header?: never;
|
|
50427
|
+
path: {
|
|
50428
|
+
/** @description Machine id from the machines list. */
|
|
50429
|
+
machine: string;
|
|
50430
|
+
/** @description Session id as the daemon reports it. */
|
|
50431
|
+
id: string;
|
|
50432
|
+
};
|
|
50433
|
+
cookie?: never;
|
|
50434
|
+
};
|
|
50435
|
+
requestBody: {
|
|
50436
|
+
content: {
|
|
50437
|
+
"application/json": components["schemas"]["AgentLeaveWorktreeBody"];
|
|
50438
|
+
};
|
|
50439
|
+
};
|
|
50440
|
+
responses: {
|
|
50441
|
+
/** @description OK */
|
|
50442
|
+
200: {
|
|
50443
|
+
headers: {
|
|
50444
|
+
[name: string]: unknown;
|
|
50445
|
+
};
|
|
50446
|
+
content: {
|
|
50447
|
+
"application/json": components["schemas"]["AgentWorktreeLeft"];
|
|
50448
|
+
};
|
|
50449
|
+
};
|
|
50450
|
+
/** @description Error */
|
|
50451
|
+
default: {
|
|
50452
|
+
headers: {
|
|
50453
|
+
[name: string]: unknown;
|
|
50454
|
+
};
|
|
50455
|
+
content: {
|
|
50456
|
+
"application/json": components["schemas"]["Error"];
|
|
50457
|
+
};
|
|
50458
|
+
};
|
|
50459
|
+
};
|
|
50460
|
+
};
|
|
49651
50461
|
"list-agent-sessions": {
|
|
49652
50462
|
parameters: {
|
|
49653
50463
|
query?: never;
|