@parallelworks/client 7.139.0 → 7.141.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 +1478 -202
- 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;
|
|
@@ -3613,6 +3637,28 @@ export interface paths {
|
|
|
3613
3637
|
patch?: never;
|
|
3614
3638
|
trace?: never;
|
|
3615
3639
|
};
|
|
3640
|
+
"/api/code/machines/{machine}/claude-code/accounts/{name}/move": {
|
|
3641
|
+
parameters: {
|
|
3642
|
+
query?: never;
|
|
3643
|
+
header?: never;
|
|
3644
|
+
path?: never;
|
|
3645
|
+
cookie?: never;
|
|
3646
|
+
};
|
|
3647
|
+
get?: never;
|
|
3648
|
+
put?: never;
|
|
3649
|
+
/**
|
|
3650
|
+
* Move a Claude Code account's sessions to another account
|
|
3651
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
3652
|
+
*
|
|
3653
|
+
* Move a Claude Code account's sessions to another account. Switches every live session running Claude Code on the account to another, as the session settings route does for one: a turn waiting at the account's usage limit continues at once, and a running one switches after it. Every session on an account shares its usage limit, so this moves them off a spent one together. The daemon enforces each session's control policy.
|
|
3654
|
+
*/
|
|
3655
|
+
post: operations["move-agent-machine-claude-account-sessions"];
|
|
3656
|
+
delete?: never;
|
|
3657
|
+
options?: never;
|
|
3658
|
+
head?: never;
|
|
3659
|
+
patch?: never;
|
|
3660
|
+
trace?: never;
|
|
3661
|
+
};
|
|
3616
3662
|
"/api/code/machines/{machine}/claude-code/logins": {
|
|
3617
3663
|
parameters: {
|
|
3618
3664
|
query?: never;
|
|
@@ -3707,6 +3753,50 @@ export interface paths {
|
|
|
3707
3753
|
patch?: never;
|
|
3708
3754
|
trace?: never;
|
|
3709
3755
|
};
|
|
3756
|
+
"/api/code/machines/{machine}/directories": {
|
|
3757
|
+
parameters: {
|
|
3758
|
+
query?: never;
|
|
3759
|
+
header?: never;
|
|
3760
|
+
path?: never;
|
|
3761
|
+
cookie?: never;
|
|
3762
|
+
};
|
|
3763
|
+
/**
|
|
3764
|
+
* List the folders a new pw code session could start in
|
|
3765
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
3766
|
+
*
|
|
3767
|
+
* Lists the folders in one directory of the machine, as the account its sessions run as sees them, leaving out files and anything the machine's deny rules cover. The machine answers only when its owner lets sessions start remotely.
|
|
3768
|
+
*/
|
|
3769
|
+
get: operations["list-agent-machine-directories"];
|
|
3770
|
+
put?: never;
|
|
3771
|
+
post?: never;
|
|
3772
|
+
delete?: never;
|
|
3773
|
+
options?: never;
|
|
3774
|
+
head?: never;
|
|
3775
|
+
patch?: never;
|
|
3776
|
+
trace?: never;
|
|
3777
|
+
};
|
|
3778
|
+
"/api/code/machines/{machine}/palette": {
|
|
3779
|
+
parameters: {
|
|
3780
|
+
query?: never;
|
|
3781
|
+
header?: never;
|
|
3782
|
+
path?: never;
|
|
3783
|
+
cookie?: never;
|
|
3784
|
+
};
|
|
3785
|
+
/**
|
|
3786
|
+
* List the slash commands a new pw code session could start with
|
|
3787
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
3788
|
+
*
|
|
3789
|
+
* 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.
|
|
3790
|
+
*/
|
|
3791
|
+
get: operations["get-agent-workspace-palette"];
|
|
3792
|
+
put?: never;
|
|
3793
|
+
post?: never;
|
|
3794
|
+
delete?: never;
|
|
3795
|
+
options?: never;
|
|
3796
|
+
head?: never;
|
|
3797
|
+
patch?: never;
|
|
3798
|
+
trace?: never;
|
|
3799
|
+
};
|
|
3710
3800
|
"/api/code/machines/{machine}/sessions": {
|
|
3711
3801
|
parameters: {
|
|
3712
3802
|
query?: never;
|
|
@@ -3755,7 +3845,7 @@ export interface paths {
|
|
|
3755
3845
|
* Delete a pw code session
|
|
3756
3846
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
3757
3847
|
*
|
|
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.
|
|
3848
|
+
* 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
3849
|
*/
|
|
3760
3850
|
delete: operations["delete-agent-session"];
|
|
3761
3851
|
options?: never;
|
|
@@ -3798,7 +3888,7 @@ export interface paths {
|
|
|
3798
3888
|
* Archive a pw code session
|
|
3799
3889
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
3800
3890
|
*
|
|
3801
|
-
* Shuts the session down and marks it archived, keeping its transcript
|
|
3891
|
+
* 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
3892
|
*/
|
|
3803
3893
|
post: operations["archive-agent-session"];
|
|
3804
3894
|
/**
|
|
@@ -3945,6 +4035,28 @@ export interface paths {
|
|
|
3945
4035
|
patch?: never;
|
|
3946
4036
|
trace?: never;
|
|
3947
4037
|
};
|
|
4038
|
+
"/api/code/machines/{machine}/sessions/{id}/direction/withdraw": {
|
|
4039
|
+
parameters: {
|
|
4040
|
+
query?: never;
|
|
4041
|
+
header?: never;
|
|
4042
|
+
path?: never;
|
|
4043
|
+
cookie?: never;
|
|
4044
|
+
};
|
|
4045
|
+
get?: never;
|
|
4046
|
+
put?: never;
|
|
4047
|
+
/**
|
|
4048
|
+
* Take back text steered into a pw code session's turn
|
|
4049
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4050
|
+
*
|
|
4051
|
+
* Takes back text steered into the running turn that the model has not read yet, as removing a pending message does in the pw code terminal. Answers with the ids taken back; the model already read the rest. Like taking back a queued message, it is not held to the remote permission ceiling.
|
|
4052
|
+
*/
|
|
4053
|
+
post: operations["withdraw-agent-session-direction"];
|
|
4054
|
+
delete?: never;
|
|
4055
|
+
options?: never;
|
|
4056
|
+
head?: never;
|
|
4057
|
+
patch?: never;
|
|
4058
|
+
trace?: never;
|
|
4059
|
+
};
|
|
3948
4060
|
"/api/code/machines/{machine}/sessions/{id}/fork": {
|
|
3949
4061
|
parameters: {
|
|
3950
4062
|
query?: never;
|
|
@@ -4002,7 +4114,7 @@ export interface paths {
|
|
|
4002
4114
|
* Set, show, or clear a pw code session's goal
|
|
4003
4115
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4004
4116
|
*
|
|
4005
|
-
* Runs /goal with the same arguments the terminal takes. Setting or resuming a goal starts a turn on the session.
|
|
4117
|
+
* Runs /goal with the same arguments the terminal takes, and answers with the goal as the call left it. Setting or resuming a goal starts a turn on the session. A bare edit only reads the goal, and is the one form that joins nothing to the conversation.
|
|
4006
4118
|
*/
|
|
4007
4119
|
post: operations["set-agent-session-goal"];
|
|
4008
4120
|
delete?: never;
|
|
@@ -4011,6 +4123,34 @@ export interface paths {
|
|
|
4011
4123
|
patch?: never;
|
|
4012
4124
|
trace?: never;
|
|
4013
4125
|
};
|
|
4126
|
+
"/api/code/machines/{machine}/sessions/{id}/group": {
|
|
4127
|
+
parameters: {
|
|
4128
|
+
query?: never;
|
|
4129
|
+
header?: never;
|
|
4130
|
+
path?: never;
|
|
4131
|
+
cookie?: never;
|
|
4132
|
+
};
|
|
4133
|
+
get?: never;
|
|
4134
|
+
/**
|
|
4135
|
+
* Put a pw code session in one of your groups
|
|
4136
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4137
|
+
*
|
|
4138
|
+
* 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.
|
|
4139
|
+
*/
|
|
4140
|
+
put: operations["group-agent-session"];
|
|
4141
|
+
post?: never;
|
|
4142
|
+
/**
|
|
4143
|
+
* Take a pw code session out of its group
|
|
4144
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4145
|
+
*
|
|
4146
|
+
* Clears the group recorded on the session.
|
|
4147
|
+
*/
|
|
4148
|
+
delete: operations["ungroup-agent-session"];
|
|
4149
|
+
options?: never;
|
|
4150
|
+
head?: never;
|
|
4151
|
+
patch?: never;
|
|
4152
|
+
trace?: never;
|
|
4153
|
+
};
|
|
4014
4154
|
"/api/code/machines/{machine}/sessions/{id}/images": {
|
|
4015
4155
|
parameters: {
|
|
4016
4156
|
query?: never;
|
|
@@ -4204,7 +4344,7 @@ export interface paths {
|
|
|
4204
4344
|
* Get the state of a pw code session's pull requests
|
|
4205
4345
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4206
4346
|
*
|
|
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.
|
|
4347
|
+
* 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
4348
|
*/
|
|
4209
4349
|
get: operations["get-agent-session-pull-requests"];
|
|
4210
4350
|
put?: never;
|
|
@@ -4295,7 +4435,7 @@ export interface paths {
|
|
|
4295
4435
|
options?: never;
|
|
4296
4436
|
head?: never;
|
|
4297
4437
|
/**
|
|
4298
|
-
* Change a running pw code session's model, allocation or authority
|
|
4438
|
+
* Change a running pw code session's model, effort, allocation or authority
|
|
4299
4439
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4300
4440
|
*
|
|
4301
4441
|
* 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 +4487,182 @@ export interface paths {
|
|
|
4347
4487
|
patch?: never;
|
|
4348
4488
|
trace?: never;
|
|
4349
4489
|
};
|
|
4490
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents": {
|
|
4491
|
+
parameters: {
|
|
4492
|
+
query?: never;
|
|
4493
|
+
header?: never;
|
|
4494
|
+
path?: never;
|
|
4495
|
+
cookie?: never;
|
|
4496
|
+
};
|
|
4497
|
+
/**
|
|
4498
|
+
* List a pw code session's subagents
|
|
4499
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4500
|
+
*
|
|
4501
|
+
* 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.
|
|
4502
|
+
*/
|
|
4503
|
+
get: operations["list-agent-session-subagents"];
|
|
4504
|
+
put?: never;
|
|
4505
|
+
post?: never;
|
|
4506
|
+
delete?: never;
|
|
4507
|
+
options?: never;
|
|
4508
|
+
head?: never;
|
|
4509
|
+
patch?: never;
|
|
4510
|
+
trace?: never;
|
|
4511
|
+
};
|
|
4512
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/stop-all": {
|
|
4513
|
+
parameters: {
|
|
4514
|
+
query?: never;
|
|
4515
|
+
header?: never;
|
|
4516
|
+
path?: never;
|
|
4517
|
+
cookie?: never;
|
|
4518
|
+
};
|
|
4519
|
+
get?: never;
|
|
4520
|
+
put?: never;
|
|
4521
|
+
/**
|
|
4522
|
+
* Stop every subagent of a pw code session
|
|
4523
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4524
|
+
*
|
|
4525
|
+
* 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.
|
|
4526
|
+
*/
|
|
4527
|
+
post: operations["stop-agent-session-subagents"];
|
|
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}": {
|
|
4535
|
+
parameters: {
|
|
4536
|
+
query?: never;
|
|
4537
|
+
header?: never;
|
|
4538
|
+
path?: never;
|
|
4539
|
+
cookie?: never;
|
|
4540
|
+
};
|
|
4541
|
+
/**
|
|
4542
|
+
* Get a pw code subagent's transcript
|
|
4543
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4544
|
+
*
|
|
4545
|
+
* 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.
|
|
4546
|
+
*/
|
|
4547
|
+
get: operations["get-agent-session-subagent"];
|
|
4548
|
+
put?: never;
|
|
4549
|
+
post?: never;
|
|
4550
|
+
delete?: never;
|
|
4551
|
+
options?: never;
|
|
4552
|
+
head?: never;
|
|
4553
|
+
patch?: never;
|
|
4554
|
+
trace?: never;
|
|
4555
|
+
};
|
|
4556
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/{subId}/direction": {
|
|
4557
|
+
parameters: {
|
|
4558
|
+
query?: never;
|
|
4559
|
+
header?: never;
|
|
4560
|
+
path?: never;
|
|
4561
|
+
cookie?: never;
|
|
4562
|
+
};
|
|
4563
|
+
get?: never;
|
|
4564
|
+
put?: never;
|
|
4565
|
+
/**
|
|
4566
|
+
* Steer a pw code subagent's running work
|
|
4567
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4568
|
+
*
|
|
4569
|
+
* 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.
|
|
4570
|
+
*/
|
|
4571
|
+
post: operations["steer-agent-session-subagent"];
|
|
4572
|
+
delete?: never;
|
|
4573
|
+
options?: never;
|
|
4574
|
+
head?: never;
|
|
4575
|
+
patch?: never;
|
|
4576
|
+
trace?: never;
|
|
4577
|
+
};
|
|
4578
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/{subId}/direction/withdraw": {
|
|
4579
|
+
parameters: {
|
|
4580
|
+
query?: never;
|
|
4581
|
+
header?: never;
|
|
4582
|
+
path?: never;
|
|
4583
|
+
cookie?: never;
|
|
4584
|
+
};
|
|
4585
|
+
get?: never;
|
|
4586
|
+
put?: never;
|
|
4587
|
+
/**
|
|
4588
|
+
* Take back text steered into a pw code subagent's work
|
|
4589
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4590
|
+
*
|
|
4591
|
+
* Takes back text steered into the subagent's work in flight that its model has not read yet. Answers with the ids taken back; the model already read the rest.
|
|
4592
|
+
*/
|
|
4593
|
+
post: operations["withdraw-agent-session-subagent-direction"];
|
|
4594
|
+
delete?: never;
|
|
4595
|
+
options?: never;
|
|
4596
|
+
head?: never;
|
|
4597
|
+
patch?: never;
|
|
4598
|
+
trace?: never;
|
|
4599
|
+
};
|
|
4600
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/{subId}/dismiss": {
|
|
4601
|
+
parameters: {
|
|
4602
|
+
query?: never;
|
|
4603
|
+
header?: never;
|
|
4604
|
+
path?: never;
|
|
4605
|
+
cookie?: never;
|
|
4606
|
+
};
|
|
4607
|
+
get?: never;
|
|
4608
|
+
put?: never;
|
|
4609
|
+
/**
|
|
4610
|
+
* Take a pw code subagent off the session's list
|
|
4611
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4612
|
+
*
|
|
4613
|
+
* Takes a subagent that is not running off the session's list for every window showing the session, and says so with a subagent_dismissed event on its feed. It is not deleted: its transcript still opens, a message or the session's model can still give it work, and running again lists it again. Refused with 409 while it runs; stop it first. Like stop, it is not held to the remote permission ceiling.
|
|
4614
|
+
*/
|
|
4615
|
+
post: operations["dismiss-agent-session-subagent"];
|
|
4616
|
+
delete?: never;
|
|
4617
|
+
options?: never;
|
|
4618
|
+
head?: never;
|
|
4619
|
+
patch?: never;
|
|
4620
|
+
trace?: never;
|
|
4621
|
+
};
|
|
4622
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/{subId}/messages": {
|
|
4623
|
+
parameters: {
|
|
4624
|
+
query?: never;
|
|
4625
|
+
header?: never;
|
|
4626
|
+
path?: never;
|
|
4627
|
+
cookie?: never;
|
|
4628
|
+
};
|
|
4629
|
+
get?: never;
|
|
4630
|
+
put?: never;
|
|
4631
|
+
/**
|
|
4632
|
+
* Send a message to a pw code subagent
|
|
4633
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4634
|
+
*
|
|
4635
|
+
* 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.
|
|
4636
|
+
*/
|
|
4637
|
+
post: operations["send-agent-session-subagent-message"];
|
|
4638
|
+
delete?: never;
|
|
4639
|
+
options?: never;
|
|
4640
|
+
head?: never;
|
|
4641
|
+
patch?: never;
|
|
4642
|
+
trace?: never;
|
|
4643
|
+
};
|
|
4644
|
+
"/api/code/machines/{machine}/sessions/{id}/subagents/{subId}/stop": {
|
|
4645
|
+
parameters: {
|
|
4646
|
+
query?: never;
|
|
4647
|
+
header?: never;
|
|
4648
|
+
path?: never;
|
|
4649
|
+
cookie?: never;
|
|
4650
|
+
};
|
|
4651
|
+
get?: never;
|
|
4652
|
+
put?: never;
|
|
4653
|
+
/**
|
|
4654
|
+
* Stop a pw code subagent
|
|
4655
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4656
|
+
*
|
|
4657
|
+
* 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.
|
|
4658
|
+
*/
|
|
4659
|
+
post: operations["stop-agent-session-subagent"];
|
|
4660
|
+
delete?: never;
|
|
4661
|
+
options?: never;
|
|
4662
|
+
head?: never;
|
|
4663
|
+
patch?: never;
|
|
4664
|
+
trace?: never;
|
|
4665
|
+
};
|
|
4350
4666
|
"/api/code/machines/{machine}/sessions/{id}/texts": {
|
|
4351
4667
|
parameters: {
|
|
4352
4668
|
query?: never;
|
|
@@ -4369,6 +4685,72 @@ export interface paths {
|
|
|
4369
4685
|
patch?: never;
|
|
4370
4686
|
trace?: never;
|
|
4371
4687
|
};
|
|
4688
|
+
"/api/code/machines/{machine}/sessions/{id}/transcript": {
|
|
4689
|
+
parameters: {
|
|
4690
|
+
query?: never;
|
|
4691
|
+
header?: never;
|
|
4692
|
+
path?: never;
|
|
4693
|
+
cookie?: never;
|
|
4694
|
+
};
|
|
4695
|
+
/**
|
|
4696
|
+
* Get a pw code session transcript, its end first
|
|
4697
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4698
|
+
*
|
|
4699
|
+
* Returns the session as get-agent-session does, with its history in two parts: tail holds the session and the end of its history, and older the history before it. The tail is written first, so a reader on a slow connection can show where the conversation stands while the rest arrives.
|
|
4700
|
+
*/
|
|
4701
|
+
get: operations["get-agent-session-transcript"];
|
|
4702
|
+
put?: never;
|
|
4703
|
+
post?: never;
|
|
4704
|
+
delete?: never;
|
|
4705
|
+
options?: never;
|
|
4706
|
+
head?: never;
|
|
4707
|
+
patch?: never;
|
|
4708
|
+
trace?: never;
|
|
4709
|
+
};
|
|
4710
|
+
"/api/code/machines/{machine}/sessions/{id}/worktree": {
|
|
4711
|
+
parameters: {
|
|
4712
|
+
query?: never;
|
|
4713
|
+
header?: never;
|
|
4714
|
+
path?: never;
|
|
4715
|
+
cookie?: never;
|
|
4716
|
+
};
|
|
4717
|
+
/**
|
|
4718
|
+
* Get the worktree a pw code session works in
|
|
4719
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4720
|
+
*
|
|
4721
|
+
* 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.
|
|
4722
|
+
*/
|
|
4723
|
+
get: operations["get-agent-session-worktree"];
|
|
4724
|
+
put?: never;
|
|
4725
|
+
post?: never;
|
|
4726
|
+
delete?: never;
|
|
4727
|
+
options?: never;
|
|
4728
|
+
head?: never;
|
|
4729
|
+
patch?: never;
|
|
4730
|
+
trace?: never;
|
|
4731
|
+
};
|
|
4732
|
+
"/api/code/machines/{machine}/sessions/{id}/worktree/leave": {
|
|
4733
|
+
parameters: {
|
|
4734
|
+
query?: never;
|
|
4735
|
+
header?: never;
|
|
4736
|
+
path?: never;
|
|
4737
|
+
cookie?: never;
|
|
4738
|
+
};
|
|
4739
|
+
get?: never;
|
|
4740
|
+
put?: never;
|
|
4741
|
+
/**
|
|
4742
|
+
* Move a pw code session out of its worktree
|
|
4743
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
4744
|
+
*
|
|
4745
|
+
* 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.
|
|
4746
|
+
*/
|
|
4747
|
+
post: operations["leave-agent-session-worktree"];
|
|
4748
|
+
delete?: never;
|
|
4749
|
+
options?: never;
|
|
4750
|
+
head?: never;
|
|
4751
|
+
patch?: never;
|
|
4752
|
+
trace?: never;
|
|
4753
|
+
};
|
|
4372
4754
|
"/api/code/sessions": {
|
|
4373
4755
|
parameters: {
|
|
4374
4756
|
query?: never;
|
|
@@ -14345,7 +14727,7 @@ export interface paths {
|
|
|
14345
14727
|
* Connect a GitLab account with a personal access token
|
|
14346
14728
|
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
14347
14729
|
*
|
|
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
|
|
14730
|
+
* 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
14731
|
*/
|
|
14350
14732
|
put: operations["connect-user-gitlab-token"];
|
|
14351
14733
|
post?: never;
|
|
@@ -20316,7 +20698,7 @@ export interface webhooks {
|
|
|
20316
20698
|
};
|
|
20317
20699
|
/**
|
|
20318
20700
|
* pw code session event feed
|
|
20319
|
-
* @description One JSON frame per message on the WebSocket at /ws/code/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.
|
|
20701
|
+
* @description One JSON frame per message on the WebSocket at /ws/code/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. With previews=refs the images a tool read come without their previews, each of which is read from the session's image route with preview=true.
|
|
20320
20702
|
*/
|
|
20321
20703
|
get: operations["agent-session-events"];
|
|
20322
20704
|
put?: never;
|
|
@@ -20897,6 +21279,10 @@ export interface components {
|
|
|
20897
21279
|
/** @description The path inside your workspace where the resource will be mounted. */
|
|
20898
21280
|
workspacePath: string;
|
|
20899
21281
|
};
|
|
21282
|
+
AddedDirectory: {
|
|
21283
|
+
path: string;
|
|
21284
|
+
scopes?: string[] | null;
|
|
21285
|
+
};
|
|
20900
21286
|
AdminPasswordResetInputBody: {
|
|
20901
21287
|
/**
|
|
20902
21288
|
* @description Confirmation of the new password
|
|
@@ -20926,6 +21312,14 @@ export interface components {
|
|
|
20926
21312
|
/** @enum {string} */
|
|
20927
21313
|
setupStatus: "ready" | "disabled" | "setup-required" | "attention";
|
|
20928
21314
|
};
|
|
21315
|
+
AgentArchiveBody: {
|
|
21316
|
+
/** @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. */
|
|
21317
|
+
afterTurn?: boolean;
|
|
21318
|
+
};
|
|
21319
|
+
AgentArchived: {
|
|
21320
|
+
/** @description The session archives once its running turn ends. */
|
|
21321
|
+
deferred?: boolean;
|
|
21322
|
+
};
|
|
20929
21323
|
AgentClaudeAccount: {
|
|
20930
21324
|
email?: string;
|
|
20931
21325
|
error?: string;
|
|
@@ -20939,6 +21333,7 @@ export interface components {
|
|
|
20939
21333
|
name: string;
|
|
20940
21334
|
plan?: string;
|
|
20941
21335
|
refreshing?: boolean;
|
|
21336
|
+
sessions?: string[] | null;
|
|
20942
21337
|
signInRequired?: boolean;
|
|
20943
21338
|
usage?: string;
|
|
20944
21339
|
/** Format: date-time */
|
|
@@ -20946,6 +21341,16 @@ export interface components {
|
|
|
20946
21341
|
/** Format: double */
|
|
20947
21342
|
weeklyUsedPercent?: number;
|
|
20948
21343
|
};
|
|
21344
|
+
AgentClaudeAccountMoveBody: {
|
|
21345
|
+
/** @description Session id to leave on its account, such as the one the caller switches itself. */
|
|
21346
|
+
except?: string;
|
|
21347
|
+
/** @description Claude Code account on the machine to move the sessions to. */
|
|
21348
|
+
to: string;
|
|
21349
|
+
};
|
|
21350
|
+
AgentClaudeAccountMoved: {
|
|
21351
|
+
/** @description Ids of the sessions now on the account moved to. A session the caller may not drive stays where it is. */
|
|
21352
|
+
moved: string[] | null;
|
|
21353
|
+
};
|
|
20949
21354
|
AgentClaudeLoginEvent: {
|
|
20950
21355
|
data?: string;
|
|
20951
21356
|
login: components["schemas"]["ClaudeLogin"];
|
|
@@ -21009,6 +21414,31 @@ export interface components {
|
|
|
21009
21414
|
AgentDirectionDelivered: {
|
|
21010
21415
|
/** @description False when no turn was running to take the text; send it as a message instead. */
|
|
21011
21416
|
delivered: boolean;
|
|
21417
|
+
/** @description Names the delivered text, for taking it back before the model reads it and for matching the user_note event that reports it did. Empty from a machine whose pw code is too old to take it back. */
|
|
21418
|
+
id?: string;
|
|
21419
|
+
};
|
|
21420
|
+
AgentDirectionWithdrawBody: {
|
|
21421
|
+
/** @description The ids steering the text answered with. */
|
|
21422
|
+
ids: string[] | null;
|
|
21423
|
+
};
|
|
21424
|
+
AgentDirectionWithdrawn: {
|
|
21425
|
+
/** @description The ids taken back. The model already read the rest. */
|
|
21426
|
+
withdrawn: string[] | null;
|
|
21427
|
+
};
|
|
21428
|
+
AgentDirectories: {
|
|
21429
|
+
/** @description The folders in the directory, by name. */
|
|
21430
|
+
entries: components["schemas"]["AgentDirectory"][] | null;
|
|
21431
|
+
/** @description Home directory of the account the machine's sessions run as. */
|
|
21432
|
+
home?: string;
|
|
21433
|
+
/** @description Absolute path of the directory listed, with ~ expanded. */
|
|
21434
|
+
path: string;
|
|
21435
|
+
/** @description The directory holds more folders than one answer lists; a filter reaches the rest. */
|
|
21436
|
+
truncated?: boolean;
|
|
21437
|
+
};
|
|
21438
|
+
AgentDirectory: {
|
|
21439
|
+
name: string;
|
|
21440
|
+
/** @description The folder holds a .git, as a repository or one of its worktrees does. */
|
|
21441
|
+
repository?: boolean;
|
|
21012
21442
|
};
|
|
21013
21443
|
AgentEnrollmentBody: {
|
|
21014
21444
|
/** @description Name of your PW CLI cluster the agent connects to */
|
|
@@ -21016,6 +21446,26 @@ export interface components {
|
|
|
21016
21446
|
/** @description Host name of the node the agent runs on, as the node reported it */
|
|
21017
21447
|
host: string;
|
|
21018
21448
|
};
|
|
21449
|
+
AgentGoalResult: {
|
|
21450
|
+
/** @description The unfinished goal's condition, empty with none standing. */
|
|
21451
|
+
condition?: string;
|
|
21452
|
+
/** @description What /goal printed. */
|
|
21453
|
+
output: string;
|
|
21454
|
+
/** @description Why the last check found the goal unmet. */
|
|
21455
|
+
reason?: string;
|
|
21456
|
+
/** @description Where the goal's loop stands after the call. */
|
|
21457
|
+
status?: components["schemas"]["GoalStatus"];
|
|
21458
|
+
/**
|
|
21459
|
+
* Format: int64
|
|
21460
|
+
* @description Tokens the session has spent over those turns.
|
|
21461
|
+
*/
|
|
21462
|
+
tokens?: number;
|
|
21463
|
+
/**
|
|
21464
|
+
* Format: int64
|
|
21465
|
+
* @description Checks the unfinished goal has made since it was set, or since the session was last restored. A machine from before this field leaves it out.
|
|
21466
|
+
*/
|
|
21467
|
+
turns?: number;
|
|
21468
|
+
};
|
|
21019
21469
|
AgentImageBody: {
|
|
21020
21470
|
/** @description The image, base64. Up to 6MiB. */
|
|
21021
21471
|
data: string;
|
|
@@ -21039,8 +21489,16 @@ export interface components {
|
|
|
21039
21489
|
/** @description Where the machine saved the image. Send it in the message's images. */
|
|
21040
21490
|
path: string;
|
|
21041
21491
|
};
|
|
21492
|
+
AgentLeaveWorktreeBody: {
|
|
21493
|
+
/** @description Also remove the worktree, with its branch and everything in it; it stays on the machine otherwise. */
|
|
21494
|
+
remove?: boolean;
|
|
21495
|
+
/** @description With remove, the worktree's root as the session's worktree last showed it. Nothing changes when the session no longer works there. */
|
|
21496
|
+
worktreeRoot?: string;
|
|
21497
|
+
};
|
|
21042
21498
|
AgentMachine: {
|
|
21043
21499
|
agentVersion?: string;
|
|
21500
|
+
/** @description The daemon can archive a session once its running turn ends. */
|
|
21501
|
+
archiveAfterTurn?: boolean;
|
|
21044
21502
|
/** @description The daemon supports removing Claude Code accounts from the web. */
|
|
21045
21503
|
claudeAccountRemove?: boolean;
|
|
21046
21504
|
/** @description Organization and host policy allow the Claude Code integration. */
|
|
@@ -21051,6 +21509,8 @@ export interface components {
|
|
|
21051
21509
|
claudeLogin?: boolean;
|
|
21052
21510
|
/** @description Machine id the pw code daemon reported, when it answered. A local computer with the same id as a resource is the same host and is listed only as the resource. */
|
|
21053
21511
|
daemonId?: string;
|
|
21512
|
+
/** @description The daemon lists the machine's folders, for choosing where a session starts. */
|
|
21513
|
+
directories?: boolean;
|
|
21054
21514
|
error?: string;
|
|
21055
21515
|
/** @description Hostname the daemon reported, when it answered. */
|
|
21056
21516
|
hostname?: string;
|
|
@@ -21069,6 +21529,8 @@ export interface components {
|
|
|
21069
21529
|
/** @enum {string} */
|
|
21070
21530
|
remoteMaxPermissionMode?: "" | "read-only" | "accept-edits" | "auto" | "bypass-permissions" | "plan";
|
|
21071
21531
|
remoteStart?: boolean;
|
|
21532
|
+
/** @description The daemon stores which of the reader's groups a session is in. */
|
|
21533
|
+
sessionGroups?: boolean;
|
|
21072
21534
|
/** @enum {string} */
|
|
21073
21535
|
status: "connected" | "no_daemon" | "no_agent" | "unreachable" | "unsupported_agent";
|
|
21074
21536
|
/** @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 +21585,7 @@ export interface components {
|
|
|
21123
21585
|
};
|
|
21124
21586
|
AgentPullRequest: {
|
|
21125
21587
|
/**
|
|
21126
|
-
* @description Absent when the machine could not read the pull request from GitHub.
|
|
21588
|
+
* @description Absent when the machine could not read the pull request from GitHub, or the merge request from GitLab.
|
|
21127
21589
|
* @enum {string}
|
|
21128
21590
|
*/
|
|
21129
21591
|
state?: "open" | "draft" | "merged" | "closed";
|
|
@@ -21147,6 +21609,7 @@ export interface components {
|
|
|
21147
21609
|
/** Format: date-time */
|
|
21148
21610
|
createdAt: string;
|
|
21149
21611
|
effort?: string;
|
|
21612
|
+
group?: string;
|
|
21150
21613
|
id: string;
|
|
21151
21614
|
/** Format: int64 */
|
|
21152
21615
|
inputTokens?: number;
|
|
@@ -21174,6 +21637,9 @@ export interface components {
|
|
|
21174
21637
|
turnStartedAt?: string;
|
|
21175
21638
|
/** Format: date-time */
|
|
21176
21639
|
updatedAt: string;
|
|
21640
|
+
/** Format: date-time */
|
|
21641
|
+
usageLimitResumeAt?: string;
|
|
21642
|
+
waitingForUsageLimit?: boolean;
|
|
21177
21643
|
workspace: string;
|
|
21178
21644
|
};
|
|
21179
21645
|
AgentSessionCleared: {
|
|
@@ -21181,7 +21647,9 @@ export interface components {
|
|
|
21181
21647
|
id: string;
|
|
21182
21648
|
};
|
|
21183
21649
|
AgentSessionDetail: {
|
|
21650
|
+
addDirs?: components["schemas"]["AddedDirectory"][] | null;
|
|
21184
21651
|
allocation?: string;
|
|
21652
|
+
allowedDirs?: components["schemas"]["AllowedDirectory"][] | null;
|
|
21185
21653
|
approvals?: components["schemas"]["ApprovalRequest"][] | null;
|
|
21186
21654
|
/** Format: date-time */
|
|
21187
21655
|
archivedAt?: string;
|
|
@@ -21192,6 +21660,7 @@ export interface components {
|
|
|
21192
21660
|
createdAt: string;
|
|
21193
21661
|
effort?: string;
|
|
21194
21662
|
goal?: components["schemas"]["GoalStatus"];
|
|
21663
|
+
group?: string;
|
|
21195
21664
|
history: components["schemas"]["HistoryItem"][] | null;
|
|
21196
21665
|
id: string;
|
|
21197
21666
|
/** Format: int64 */
|
|
@@ -21234,11 +21703,20 @@ export interface components {
|
|
|
21234
21703
|
id: string;
|
|
21235
21704
|
machineId: string;
|
|
21236
21705
|
};
|
|
21706
|
+
AgentSessionGroupBody: {
|
|
21707
|
+
/** @description Id of one of the reader's groups, as their preferences name it. */
|
|
21708
|
+
group: string;
|
|
21709
|
+
};
|
|
21237
21710
|
AgentSessionSettingsBody: {
|
|
21238
21711
|
/** @description Allocation to bill; the daemon requires one for org provider models. */
|
|
21239
21712
|
allocation?: string;
|
|
21240
21713
|
/** @description An existing Claude Code account on the machine; applies after the current turn. */
|
|
21241
21714
|
claudeAccount?: string;
|
|
21715
|
+
/**
|
|
21716
|
+
* @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.
|
|
21717
|
+
* @enum {string}
|
|
21718
|
+
*/
|
|
21719
|
+
effort?: "default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
21242
21720
|
/** @description Model id to switch the session to. */
|
|
21243
21721
|
model?: string;
|
|
21244
21722
|
/**
|
|
@@ -21247,6 +21725,30 @@ export interface components {
|
|
|
21247
21725
|
*/
|
|
21248
21726
|
permissionMode?: "read-only" | "accept-edits" | "auto" | "bypass-permissions";
|
|
21249
21727
|
};
|
|
21728
|
+
AgentSessionWorktree: {
|
|
21729
|
+
/** @description The branch git made for the worktree. */
|
|
21730
|
+
branch?: string;
|
|
21731
|
+
/**
|
|
21732
|
+
* Format: int64
|
|
21733
|
+
* @description How many commits on the worktree's branch since it was made removing it would delete.
|
|
21734
|
+
*/
|
|
21735
|
+
commitCount?: number;
|
|
21736
|
+
/** @description The first of those commits, as git log --oneline lists them. */
|
|
21737
|
+
commits?: string[] | null;
|
|
21738
|
+
/**
|
|
21739
|
+
* Format: int64
|
|
21740
|
+
* @description How many uncommitted files removing the worktree would delete.
|
|
21741
|
+
*/
|
|
21742
|
+
fileCount?: number;
|
|
21743
|
+
/** @description The first of those files, as git status --porcelain lists them. */
|
|
21744
|
+
files?: string[] | null;
|
|
21745
|
+
/** @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. */
|
|
21746
|
+
removable?: boolean;
|
|
21747
|
+
/** @description The worktree's checkout on the machine. */
|
|
21748
|
+
root?: string;
|
|
21749
|
+
/** @description git could not read what removing the worktree would delete. */
|
|
21750
|
+
unchecked?: boolean;
|
|
21751
|
+
};
|
|
21250
21752
|
AgentSessionsResponse: {
|
|
21251
21753
|
machines: components["schemas"]["AgentMachine"][] | null;
|
|
21252
21754
|
/** @description Every reachable machine's sessions, newest first. A session machines sharing a store all list appears once. */
|
|
@@ -21292,6 +21794,7 @@ export interface components {
|
|
|
21292
21794
|
noteId?: string;
|
|
21293
21795
|
notice?: string;
|
|
21294
21796
|
pastes?: components["schemas"]["PasteView"][] | null;
|
|
21797
|
+
recorded?: boolean;
|
|
21295
21798
|
result?: string;
|
|
21296
21799
|
/** Format: date-time */
|
|
21297
21800
|
resumeAt?: string;
|
|
@@ -21306,6 +21809,23 @@ export interface components {
|
|
|
21306
21809
|
turnId?: string;
|
|
21307
21810
|
type: string;
|
|
21308
21811
|
};
|
|
21812
|
+
AgentSubagents: {
|
|
21813
|
+
/** @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. */
|
|
21814
|
+
subagents: components["schemas"]["Subagent"][] | null;
|
|
21815
|
+
};
|
|
21816
|
+
AgentTranscript: {
|
|
21817
|
+
/** @description The history before the tail's, oldest first. The whole history is older followed by tail.history. */
|
|
21818
|
+
older: components["schemas"]["HistoryItem"][] | null;
|
|
21819
|
+
/** @description The session, with the end of its history: what a reader sees first. */
|
|
21820
|
+
tail: components["schemas"]["AgentSessionDetail"];
|
|
21821
|
+
};
|
|
21822
|
+
AgentWorktreeLeft: {
|
|
21823
|
+
/**
|
|
21824
|
+
* @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.
|
|
21825
|
+
* @enum {string}
|
|
21826
|
+
*/
|
|
21827
|
+
outcome: "left" | "removed" | "remove_failed";
|
|
21828
|
+
};
|
|
21309
21829
|
AiConnectionInventory: {
|
|
21310
21830
|
catalogEntryId?: string;
|
|
21311
21831
|
/** @enum {string} */
|
|
@@ -21493,7 +22013,7 @@ export interface components {
|
|
|
21493
22013
|
readonly id?: string;
|
|
21494
22014
|
/** @description Allocation name */
|
|
21495
22015
|
name: string;
|
|
21496
|
-
/** @description Not chargeable: the allocation only holds budget for the allocations under it, and
|
|
22016
|
+
/** @description Not chargeable: the allocation only holds budget for the allocations under it, and can't be billed directly. */
|
|
21497
22017
|
nonChargeable?: boolean;
|
|
21498
22018
|
/** @description Parent allocation name */
|
|
21499
22019
|
parent?: string;
|
|
@@ -21712,6 +22232,11 @@ export interface components {
|
|
|
21712
22232
|
*/
|
|
21713
22233
|
used?: number;
|
|
21714
22234
|
};
|
|
22235
|
+
AllowedDirectory: {
|
|
22236
|
+
edit?: boolean;
|
|
22237
|
+
path: string;
|
|
22238
|
+
subtree?: boolean;
|
|
22239
|
+
};
|
|
21715
22240
|
AllowedInstanceTypes: {
|
|
21716
22241
|
/** @description AWS instance types the organization may launch */
|
|
21717
22242
|
aws?: string[] | null;
|
|
@@ -21920,6 +22445,7 @@ export interface components {
|
|
|
21920
22445
|
};
|
|
21921
22446
|
ApprovalRequest: {
|
|
21922
22447
|
agent?: string;
|
|
22448
|
+
allowDir?: components["schemas"]["AllowedDirectory"];
|
|
21923
22449
|
callId?: string;
|
|
21924
22450
|
command?: string;
|
|
21925
22451
|
/** Format: date-time */
|
|
@@ -21939,6 +22465,7 @@ export interface components {
|
|
|
21939
22465
|
apps: components["schemas"]["App"][];
|
|
21940
22466
|
};
|
|
21941
22467
|
ArchiveChange: {
|
|
22468
|
+
agent?: boolean;
|
|
21942
22469
|
/** Format: date-time */
|
|
21943
22470
|
at: string;
|
|
21944
22471
|
remote?: boolean;
|
|
@@ -25811,10 +26338,10 @@ export interface components {
|
|
|
25811
26338
|
CreateFirewallExclusionInputBody: {
|
|
25812
26339
|
/** Format: date-time */
|
|
25813
26340
|
expiresAt?: string;
|
|
25814
|
-
/** @description HTTP methods it applies to;
|
|
26341
|
+
/** @description HTTP methods it applies to; defaults to every method */
|
|
25815
26342
|
methods?: string[] | null;
|
|
25816
26343
|
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;
|
|
26344
|
+
/** @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
26345
|
path?: string;
|
|
25819
26346
|
/**
|
|
25820
26347
|
* Format: int64
|
|
@@ -25839,12 +26366,12 @@ export interface components {
|
|
|
25839
26366
|
expiresAt?: string;
|
|
25840
26367
|
/** @description What block logs and evaluations report when it matches */
|
|
25841
26368
|
message: string;
|
|
25842
|
-
/** @description HTTP methods it applies to;
|
|
26369
|
+
/** @description HTTP methods it applies to; defaults to every method */
|
|
25843
26370
|
methods?: string[] | null;
|
|
25844
26371
|
note?: string;
|
|
25845
26372
|
/** @enum {string} */
|
|
25846
26373
|
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;
|
|
26374
|
+
/** @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
26375
|
path?: string;
|
|
25849
26376
|
/**
|
|
25850
26377
|
* Format: int64
|
|
@@ -26374,6 +26901,11 @@ export interface components {
|
|
|
26374
26901
|
allocation?: string;
|
|
26375
26902
|
/** @description An existing Claude Code account on the machine; used for subscription models. */
|
|
26376
26903
|
claudeAccount?: string;
|
|
26904
|
+
/**
|
|
26905
|
+
* @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.
|
|
26906
|
+
* @enum {string}
|
|
26907
|
+
*/
|
|
26908
|
+
effort?: "" | "default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
26377
26909
|
/** @description Model id; the machine's default is used when empty. */
|
|
26378
26910
|
model?: string;
|
|
26379
26911
|
/**
|
|
@@ -26607,7 +27139,7 @@ export interface components {
|
|
|
26607
27139
|
user: string;
|
|
26608
27140
|
};
|
|
26609
27141
|
CredentialListingError: {
|
|
26610
|
-
/** @description The failure was
|
|
27142
|
+
/** @description The failure was internal to the platform; its details are in the billing service's log, not here. */
|
|
26611
27143
|
internal?: boolean;
|
|
26612
27144
|
/** @description The cloud provider's error response. Empty for an internal failure. */
|
|
26613
27145
|
message: string;
|
|
@@ -26687,7 +27219,7 @@ export interface components {
|
|
|
26687
27219
|
CustomResourceTagsOutputBody: {
|
|
26688
27220
|
/** @description Tag keys the platform applies automatically and reserves; they cannot be used as custom keys. Keys beginning with 'pw-' are also reserved. */
|
|
26689
27221
|
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
|
|
27222
|
+
/** @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
27223
|
tags: components["schemas"]["CustomResourceTag"][] | null;
|
|
26692
27224
|
};
|
|
26693
27225
|
CustomSku: {
|
|
@@ -27445,7 +27977,7 @@ export interface components {
|
|
|
27445
27977
|
EvaluateFirewallRequestInputBody: {
|
|
27446
27978
|
/** @description Request body; give a Content-Type header too, so it is parsed the way the server would parse it */
|
|
27447
27979
|
body?: string;
|
|
27448
|
-
/** @description Address the request comes from; defaults to 192.0.2.1,
|
|
27980
|
+
/** @description Address the request comes from; defaults to 192.0.2.1, an address reserved for documentation */
|
|
27449
27981
|
clientIp?: string;
|
|
27450
27982
|
/** @description Request headers; Host defaults to localhost */
|
|
27451
27983
|
headers?: {
|
|
@@ -27972,7 +28504,7 @@ export interface components {
|
|
|
27972
28504
|
createdBy: string;
|
|
27973
28505
|
/**
|
|
27974
28506
|
* Format: date-time
|
|
27975
|
-
* @description When it stops applying;
|
|
28507
|
+
* @description When it stops applying; without it, applies until deleted
|
|
27976
28508
|
*/
|
|
27977
28509
|
expiresAt?: string;
|
|
27978
28510
|
/**
|
|
@@ -28025,7 +28557,7 @@ export interface components {
|
|
|
28025
28557
|
createdBy: string;
|
|
28026
28558
|
/**
|
|
28027
28559
|
* Format: date-time
|
|
28028
|
-
* @description When it stops applying;
|
|
28560
|
+
* @description When it stops applying; without it, applies until deleted
|
|
28029
28561
|
*/
|
|
28030
28562
|
expiresAt?: string;
|
|
28031
28563
|
/**
|
|
@@ -28169,7 +28701,7 @@ export interface components {
|
|
|
28169
28701
|
FlatError: {
|
|
28170
28702
|
/** @description Cloud service provider */
|
|
28171
28703
|
csp: string;
|
|
28172
|
-
/** @description The failure was
|
|
28704
|
+
/** @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
28705
|
internal?: boolean;
|
|
28174
28706
|
/** @description The cloud provider's error response. Empty for an internal failure. */
|
|
28175
28707
|
message: string;
|
|
@@ -28788,6 +29320,8 @@ export interface components {
|
|
|
28788
29320
|
tokens?: number;
|
|
28789
29321
|
/** Format: int64 */
|
|
28790
29322
|
turns?: number;
|
|
29323
|
+
/** Format: int64 */
|
|
29324
|
+
waitedMs?: number;
|
|
28791
29325
|
};
|
|
28792
29326
|
GoalStatus: {
|
|
28793
29327
|
active?: boolean;
|
|
@@ -30578,10 +31112,12 @@ export interface components {
|
|
|
30578
31112
|
HistoryItem: {
|
|
30579
31113
|
callId?: string;
|
|
30580
31114
|
decision?: components["schemas"]["ToolDecision"];
|
|
31115
|
+
/** Format: int64 */
|
|
31116
|
+
durationMs?: number;
|
|
30581
31117
|
fromMain?: boolean;
|
|
30582
31118
|
images?: components["schemas"]["ImageContent"][] | null;
|
|
30583
31119
|
/** @enum {string} */
|
|
30584
|
-
kind: "user" | "assistant" | "thinking" | "tool_call" | "tool_result" | "notice" | "error" | "plan_view" | "goal_view" | "goal_progress" | "turn_end" | "recap" | "compaction";
|
|
31120
|
+
kind: "user" | "assistant" | "thinking" | "tool_call" | "tool_result" | "notice" | "warning" | "error" | "plan_view" | "goal_view" | "goal_progress" | "turn_end" | "recap" | "compaction";
|
|
30585
31121
|
pastes?: components["schemas"]["PasteView"][] | null;
|
|
30586
31122
|
planBody?: string;
|
|
30587
31123
|
/** Format: int64 */
|
|
@@ -30696,11 +31232,15 @@ export interface components {
|
|
|
30696
31232
|
};
|
|
30697
31233
|
ImageContent: {
|
|
30698
31234
|
data: string;
|
|
31235
|
+
/** Format: int64 */
|
|
31236
|
+
height?: number;
|
|
30699
31237
|
mime: string;
|
|
30700
31238
|
originalMime?: string;
|
|
30701
31239
|
/** Format: int64 */
|
|
30702
31240
|
originalSize?: number;
|
|
30703
31241
|
ref?: string;
|
|
31242
|
+
/** Format: int64 */
|
|
31243
|
+
width?: number;
|
|
30704
31244
|
};
|
|
30705
31245
|
ImportResourceBody: {
|
|
30706
31246
|
/** @description Check the import and list the owner's resource groups without importing. */
|
|
@@ -30793,6 +31333,12 @@ export interface components {
|
|
|
30793
31333
|
architecture?: string;
|
|
30794
31334
|
/** @description Features the instance's connected agent supports, such as files and files-write. Absent when no agent is connected. */
|
|
30795
31335
|
readonly capabilities?: ("files" | "files-write")[] | null;
|
|
31336
|
+
/**
|
|
31337
|
+
* Format: date-time
|
|
31338
|
+
* @description When the Instance was created and first provisioned (RFC 3339).
|
|
31339
|
+
* @example 2023-01-01T00:00:00Z
|
|
31340
|
+
*/
|
|
31341
|
+
readonly createdAt?: string;
|
|
30796
31342
|
/**
|
|
30797
31343
|
* @description The cloud service provider for the Instance.
|
|
30798
31344
|
* @example aws
|
|
@@ -30911,6 +31457,12 @@ export interface components {
|
|
|
30911
31457
|
status?: string;
|
|
30912
31458
|
/** @description User-facing message describing the current status (e.g., why a create job was skipped). */
|
|
30913
31459
|
readonly statusDescription?: string;
|
|
31460
|
+
/**
|
|
31461
|
+
* Format: date-time
|
|
31462
|
+
* @description When the Instance last changed status, such as when it started running (RFC 3339).
|
|
31463
|
+
* @example 2023-01-01T00:05:00Z
|
|
31464
|
+
*/
|
|
31465
|
+
readonly statusUpdatedAt?: string;
|
|
30914
31466
|
/**
|
|
30915
31467
|
* @description The tags associated with the Instance.
|
|
30916
31468
|
* @example [
|
|
@@ -35350,7 +35902,7 @@ export interface components {
|
|
|
35350
35902
|
platformName?: string;
|
|
35351
35903
|
/** @description Platform-wide enabled previews. */
|
|
35352
35904
|
previews: string[] | null;
|
|
35353
|
-
/** @description Indicates if the platform advertises the QUIC tunnel transport. Clients use this to decide whether to dial QUIC first
|
|
35905
|
+
/** @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
35906
|
quicTunnelEnabled: boolean;
|
|
35355
35907
|
/** @description Whether Sentry error tracking is enabled. */
|
|
35356
35908
|
sentryEnabled?: boolean;
|
|
@@ -35479,15 +36031,15 @@ export interface components {
|
|
|
35479
36031
|
licenseGracePeriod?: boolean;
|
|
35480
36032
|
/** @description Minimum agent semantic version. Agents below this version are rejected at handshake and disconnected when already connected. Empty disables enforcement. */
|
|
35481
36033
|
minimumAgentVersion?: string;
|
|
35482
|
-
/** @description Which orphaned cloud resources
|
|
36034
|
+
/** @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
36035
|
orphanRemovals: components["schemas"]["OrphanRemovalSettings"];
|
|
35484
|
-
/** @description Whether
|
|
36036
|
+
/** @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
36037
|
orphanRemovalsUnreadable?: boolean;
|
|
35486
36038
|
/** @description Body served at /.well-known/pki-validation/{filename}. */
|
|
35487
36039
|
pkiValidationContent?: string;
|
|
35488
36040
|
/** @description Filename served at /.well-known/pki-validation/. Empty disables the endpoint. */
|
|
35489
36041
|
pkiValidationFilename?: string;
|
|
35490
|
-
/** @description Whether to advertise the QUIC tunnel transport to clients. When on
|
|
36042
|
+
/** @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
36043
|
quicTunnelEnabled: boolean;
|
|
35492
36044
|
/** @description Sentry DSN for backend services. */
|
|
35493
36045
|
sentryDsn?: string;
|
|
@@ -35514,8 +36066,10 @@ export interface components {
|
|
|
35514
36066
|
* @enum {string}
|
|
35515
36067
|
*/
|
|
35516
36068
|
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
|
|
36069
|
+
/** @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
36070
|
sshResumeEnabled: boolean;
|
|
36071
|
+
/** @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. */
|
|
36072
|
+
stuckRunSweeperDryRun: boolean;
|
|
35519
36073
|
/** @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
36074
|
stuckRunSweeperEnabled: boolean;
|
|
35521
36075
|
/** @description Markdown Terms & Conditions shown to new users during onboarding. Empty disables the prompt. */
|
|
@@ -37940,7 +38494,7 @@ export interface components {
|
|
|
37940
38494
|
instanceType?: string;
|
|
37941
38495
|
};
|
|
37942
38496
|
ReserveSubdomainBody: {
|
|
37943
|
-
/** @description The subdomain to reserve: a label ("my-app"), which
|
|
38497
|
+
/** @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
38498
|
subdomain: string;
|
|
37945
38499
|
};
|
|
37946
38500
|
ReservedSubdomainResponse: {
|
|
@@ -38140,7 +38694,7 @@ export interface components {
|
|
|
38140
38694
|
accountId?: string;
|
|
38141
38695
|
/** @description CloudAccount (or legacy key) name. */
|
|
38142
38696
|
accountName?: string;
|
|
38143
|
-
/** @description The cloud provider's error from the last credential fetch. Empty when the
|
|
38697
|
+
/** @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
38698
|
credentialError?: string;
|
|
38145
38699
|
/**
|
|
38146
38700
|
* Format: date-time
|
|
@@ -38470,7 +39024,7 @@ export interface components {
|
|
|
38470
39024
|
overlapHours?: number;
|
|
38471
39025
|
};
|
|
38472
39026
|
RunError: {
|
|
38473
|
-
/** @description The failure was
|
|
39027
|
+
/** @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
39028
|
internal?: boolean;
|
|
38475
39029
|
/** @description The cloud provider's error response. Empty for an internal failure. */
|
|
38476
39030
|
message: string;
|
|
@@ -39213,12 +39767,16 @@ export interface components {
|
|
|
39213
39767
|
version: string;
|
|
39214
39768
|
};
|
|
39215
39769
|
SessionState: {
|
|
39770
|
+
addDirs?: components["schemas"]["AddedDirectory"][] | null;
|
|
39216
39771
|
allocation?: string;
|
|
39772
|
+
allowedDirs?: components["schemas"]["AllowedDirectory"][] | null;
|
|
39217
39773
|
attribution?: boolean;
|
|
39218
39774
|
/** Format: int64 */
|
|
39219
39775
|
autoCompactWindow?: number;
|
|
39220
39776
|
autoName?: string;
|
|
39221
39777
|
/** Format: int64 */
|
|
39778
|
+
backgroundMonitors?: number;
|
|
39779
|
+
/** Format: int64 */
|
|
39222
39780
|
backgroundShells?: number;
|
|
39223
39781
|
claudeAccount?: string;
|
|
39224
39782
|
effectiveAllocation?: string;
|
|
@@ -39902,6 +40460,44 @@ export interface components {
|
|
|
39902
40460
|
*/
|
|
39903
40461
|
value?: string;
|
|
39904
40462
|
};
|
|
40463
|
+
Subagent: {
|
|
40464
|
+
agentType?: string;
|
|
40465
|
+
awaitingApproval?: boolean;
|
|
40466
|
+
background?: boolean;
|
|
40467
|
+
color?: string;
|
|
40468
|
+
current?: boolean;
|
|
40469
|
+
description?: string;
|
|
40470
|
+
/** Format: date-time */
|
|
40471
|
+
endedAt?: string;
|
|
40472
|
+
id: string;
|
|
40473
|
+
model?: string;
|
|
40474
|
+
/** Format: date-time */
|
|
40475
|
+
startedAt?: string;
|
|
40476
|
+
/** @enum {string} */
|
|
40477
|
+
status: "running" | "done" | "failed" | "stopped";
|
|
40478
|
+
usage?: components["schemas"]["SubagentUsage"];
|
|
40479
|
+
};
|
|
40480
|
+
SubagentDetail: {
|
|
40481
|
+
agentType?: string;
|
|
40482
|
+
approvals: components["schemas"]["ApprovalRequest"][] | null;
|
|
40483
|
+
awaitingApproval?: boolean;
|
|
40484
|
+
background?: boolean;
|
|
40485
|
+
color?: string;
|
|
40486
|
+
current?: boolean;
|
|
40487
|
+
description?: string;
|
|
40488
|
+
/** Format: date-time */
|
|
40489
|
+
endedAt?: string;
|
|
40490
|
+
history: components["schemas"]["HistoryItem"][] | null;
|
|
40491
|
+
id: string;
|
|
40492
|
+
/** Format: int64 */
|
|
40493
|
+
lastSeq: number;
|
|
40494
|
+
model?: string;
|
|
40495
|
+
/** Format: date-time */
|
|
40496
|
+
startedAt?: string;
|
|
40497
|
+
/** @enum {string} */
|
|
40498
|
+
status: "running" | "done" | "failed" | "stopped";
|
|
40499
|
+
usage?: components["schemas"]["SubagentUsage"];
|
|
40500
|
+
};
|
|
39905
40501
|
SubagentUsage: {
|
|
39906
40502
|
/** Format: int64 */
|
|
39907
40503
|
inputTokens?: number;
|
|
@@ -40441,7 +41037,7 @@ export interface components {
|
|
|
40441
41037
|
maintenanceMode?: boolean;
|
|
40442
41038
|
/** @description Minimum agent semantic version. Empty disables enforcement. */
|
|
40443
41039
|
minimumAgentVersion?: string;
|
|
40444
|
-
/** @description Which orphaned cloud resources
|
|
41040
|
+
/** @description Which orphaned cloud resources are deleted; switches left out keep their value. */
|
|
40445
41041
|
orphanRemovals?: components["schemas"]["OrphanRemovalSettings"];
|
|
40446
41042
|
/** @description Body served at /.well-known/pki-validation/{filename}. */
|
|
40447
41043
|
pkiValidationContent?: string;
|
|
@@ -40482,6 +41078,8 @@ export interface components {
|
|
|
40482
41078
|
sshHostKeyVerification?: "off" | "warn" | "enforce";
|
|
40483
41079
|
/** @description Whether to advertise resumable SSH sessions to clients. */
|
|
40484
41080
|
sshResumeEnabled?: boolean;
|
|
41081
|
+
/** @description Whether the stuck-run sweeper only reports the runs it would end. */
|
|
41082
|
+
stuckRunSweeperDryRun?: boolean;
|
|
40485
41083
|
/** @description Whether the stuck-run sweeper is enabled. */
|
|
40486
41084
|
stuckRunSweeperEnabled?: boolean;
|
|
40487
41085
|
/** @description Markdown Terms & Conditions shown to new users during onboarding. Empty disables the prompt. */
|
|
@@ -46474,6 +47072,35 @@ export interface operations {
|
|
|
46474
47072
|
};
|
|
46475
47073
|
};
|
|
46476
47074
|
};
|
|
47075
|
+
"start-stuck-run-dry-run": {
|
|
47076
|
+
parameters: {
|
|
47077
|
+
query?: never;
|
|
47078
|
+
header?: never;
|
|
47079
|
+
path?: never;
|
|
47080
|
+
cookie?: never;
|
|
47081
|
+
};
|
|
47082
|
+
requestBody?: never;
|
|
47083
|
+
responses: {
|
|
47084
|
+
/** @description Accepted */
|
|
47085
|
+
202: {
|
|
47086
|
+
headers: {
|
|
47087
|
+
[name: string]: unknown;
|
|
47088
|
+
};
|
|
47089
|
+
content: {
|
|
47090
|
+
"application/json": components["schemas"]["BackgroundJob"];
|
|
47091
|
+
};
|
|
47092
|
+
};
|
|
47093
|
+
/** @description Error */
|
|
47094
|
+
default: {
|
|
47095
|
+
headers: {
|
|
47096
|
+
[name: string]: unknown;
|
|
47097
|
+
};
|
|
47098
|
+
content: {
|
|
47099
|
+
"application/json": components["schemas"]["Error"];
|
|
47100
|
+
};
|
|
47101
|
+
};
|
|
47102
|
+
};
|
|
47103
|
+
};
|
|
46477
47104
|
"kill-user-workspace": {
|
|
46478
47105
|
parameters: {
|
|
46479
47106
|
query?: never;
|
|
@@ -48312,6 +48939,42 @@ export interface operations {
|
|
|
48312
48939
|
};
|
|
48313
48940
|
};
|
|
48314
48941
|
};
|
|
48942
|
+
"move-agent-machine-claude-account-sessions": {
|
|
48943
|
+
parameters: {
|
|
48944
|
+
query?: never;
|
|
48945
|
+
header?: never;
|
|
48946
|
+
path: {
|
|
48947
|
+
machine: string;
|
|
48948
|
+
name: string;
|
|
48949
|
+
};
|
|
48950
|
+
cookie?: never;
|
|
48951
|
+
};
|
|
48952
|
+
requestBody: {
|
|
48953
|
+
content: {
|
|
48954
|
+
"application/json": components["schemas"]["AgentClaudeAccountMoveBody"];
|
|
48955
|
+
};
|
|
48956
|
+
};
|
|
48957
|
+
responses: {
|
|
48958
|
+
/** @description OK */
|
|
48959
|
+
200: {
|
|
48960
|
+
headers: {
|
|
48961
|
+
[name: string]: unknown;
|
|
48962
|
+
};
|
|
48963
|
+
content: {
|
|
48964
|
+
"application/json": components["schemas"]["AgentClaudeAccountMoved"];
|
|
48965
|
+
};
|
|
48966
|
+
};
|
|
48967
|
+
/** @description Error */
|
|
48968
|
+
default: {
|
|
48969
|
+
headers: {
|
|
48970
|
+
[name: string]: unknown;
|
|
48971
|
+
};
|
|
48972
|
+
content: {
|
|
48973
|
+
"application/json": components["schemas"]["Error"];
|
|
48974
|
+
};
|
|
48975
|
+
};
|
|
48976
|
+
};
|
|
48977
|
+
};
|
|
48315
48978
|
"start-agent-claude-login": {
|
|
48316
48979
|
parameters: {
|
|
48317
48980
|
query?: never;
|
|
@@ -48484,6 +49147,80 @@ export interface operations {
|
|
|
48484
49147
|
};
|
|
48485
49148
|
};
|
|
48486
49149
|
};
|
|
49150
|
+
"list-agent-machine-directories": {
|
|
49151
|
+
parameters: {
|
|
49152
|
+
query?: {
|
|
49153
|
+
/** @description Directory to list: an absolute path, or one starting at ~ for the home directory, which an empty path lists. */
|
|
49154
|
+
path?: string;
|
|
49155
|
+
/** @description Keeps the folders whose names hold this text, in any case, those starting with it first. */
|
|
49156
|
+
filter?: string;
|
|
49157
|
+
};
|
|
49158
|
+
header?: never;
|
|
49159
|
+
path: {
|
|
49160
|
+
/** @description Machine id from the machines list. */
|
|
49161
|
+
machine: string;
|
|
49162
|
+
};
|
|
49163
|
+
cookie?: never;
|
|
49164
|
+
};
|
|
49165
|
+
requestBody?: never;
|
|
49166
|
+
responses: {
|
|
49167
|
+
/** @description OK */
|
|
49168
|
+
200: {
|
|
49169
|
+
headers: {
|
|
49170
|
+
[name: string]: unknown;
|
|
49171
|
+
};
|
|
49172
|
+
content: {
|
|
49173
|
+
"application/json": components["schemas"]["AgentDirectories"];
|
|
49174
|
+
};
|
|
49175
|
+
};
|
|
49176
|
+
/** @description Error */
|
|
49177
|
+
default: {
|
|
49178
|
+
headers: {
|
|
49179
|
+
[name: string]: unknown;
|
|
49180
|
+
};
|
|
49181
|
+
content: {
|
|
49182
|
+
"application/json": components["schemas"]["Error"];
|
|
49183
|
+
};
|
|
49184
|
+
};
|
|
49185
|
+
};
|
|
49186
|
+
};
|
|
49187
|
+
"get-agent-workspace-palette": {
|
|
49188
|
+
parameters: {
|
|
49189
|
+
query: {
|
|
49190
|
+
/** @description Absolute path of the directory the session would start in. */
|
|
49191
|
+
workspace: string;
|
|
49192
|
+
/** @description Model the session would start with: a Claude model leaves out the commands Claude Code does not support. */
|
|
49193
|
+
model?: string;
|
|
49194
|
+
};
|
|
49195
|
+
header?: never;
|
|
49196
|
+
path: {
|
|
49197
|
+
/** @description Machine id from the machines list. */
|
|
49198
|
+
machine: string;
|
|
49199
|
+
};
|
|
49200
|
+
cookie?: never;
|
|
49201
|
+
};
|
|
49202
|
+
requestBody?: never;
|
|
49203
|
+
responses: {
|
|
49204
|
+
/** @description OK */
|
|
49205
|
+
200: {
|
|
49206
|
+
headers: {
|
|
49207
|
+
[name: string]: unknown;
|
|
49208
|
+
};
|
|
49209
|
+
content: {
|
|
49210
|
+
"application/json": components["schemas"]["AgentPalette"];
|
|
49211
|
+
};
|
|
49212
|
+
};
|
|
49213
|
+
/** @description Error */
|
|
49214
|
+
default: {
|
|
49215
|
+
headers: {
|
|
49216
|
+
[name: string]: unknown;
|
|
49217
|
+
};
|
|
49218
|
+
content: {
|
|
49219
|
+
"application/json": components["schemas"]["Error"];
|
|
49220
|
+
};
|
|
49221
|
+
};
|
|
49222
|
+
};
|
|
49223
|
+
};
|
|
48487
49224
|
"list-agent-machine-sessions": {
|
|
48488
49225
|
parameters: {
|
|
48489
49226
|
query?: never;
|
|
@@ -48554,8 +49291,14 @@ export interface operations {
|
|
|
48554
49291
|
};
|
|
48555
49292
|
"get-agent-session": {
|
|
48556
49293
|
parameters: {
|
|
48557
|
-
query?:
|
|
48558
|
-
|
|
49294
|
+
query?: {
|
|
49295
|
+
/** @description Set to refs, each image in the history that has a ref comes with empty data: its preview is read from the session's image route with preview=true. Previews are most of what a transcript with pictures weighs. A machine whose pw predates this sends every preview. */
|
|
49296
|
+
previews?: "refs";
|
|
49297
|
+
};
|
|
49298
|
+
header?: {
|
|
49299
|
+
/** @description The ETag of a transcript you hold. While the session has not changed, the answer is 304 with no body, and its machine does not send the transcript again. */
|
|
49300
|
+
"If-None-Match"?: string;
|
|
49301
|
+
};
|
|
48559
49302
|
path: {
|
|
48560
49303
|
/** @description Machine id from the machines list. */
|
|
48561
49304
|
machine: string;
|
|
@@ -48569,6 +49312,8 @@ export interface operations {
|
|
|
48569
49312
|
/** @description OK */
|
|
48570
49313
|
200: {
|
|
48571
49314
|
headers: {
|
|
49315
|
+
"Cache-Control"?: string;
|
|
49316
|
+
ETag?: string;
|
|
48572
49317
|
[name: string]: unknown;
|
|
48573
49318
|
};
|
|
48574
49319
|
content: {
|
|
@@ -48588,7 +49333,12 @@ export interface operations {
|
|
|
48588
49333
|
};
|
|
48589
49334
|
"delete-agent-session": {
|
|
48590
49335
|
parameters: {
|
|
48591
|
-
query?:
|
|
49336
|
+
query?: {
|
|
49337
|
+
/** @description remove also removes the worktree EnterWorktree made for the session, with its branch and everything in it; it stays otherwise. */
|
|
49338
|
+
worktree?: "keep" | "remove";
|
|
49339
|
+
/** @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. */
|
|
49340
|
+
worktreeRoot?: string;
|
|
49341
|
+
};
|
|
48592
49342
|
header?: never;
|
|
48593
49343
|
path: {
|
|
48594
49344
|
/** @description Machine id from the machines list. */
|
|
@@ -48657,6 +49407,44 @@ export interface operations {
|
|
|
48657
49407
|
};
|
|
48658
49408
|
};
|
|
48659
49409
|
"archive-agent-session": {
|
|
49410
|
+
parameters: {
|
|
49411
|
+
query?: never;
|
|
49412
|
+
header?: never;
|
|
49413
|
+
path: {
|
|
49414
|
+
/** @description Machine id from the machines list. */
|
|
49415
|
+
machine: string;
|
|
49416
|
+
/** @description Session id as the daemon reports it. */
|
|
49417
|
+
id: string;
|
|
49418
|
+
};
|
|
49419
|
+
cookie?: never;
|
|
49420
|
+
};
|
|
49421
|
+
requestBody?: {
|
|
49422
|
+
content: {
|
|
49423
|
+
"application/json": components["schemas"]["AgentArchiveBody"];
|
|
49424
|
+
};
|
|
49425
|
+
};
|
|
49426
|
+
responses: {
|
|
49427
|
+
/** @description OK */
|
|
49428
|
+
200: {
|
|
49429
|
+
headers: {
|
|
49430
|
+
[name: string]: unknown;
|
|
49431
|
+
};
|
|
49432
|
+
content: {
|
|
49433
|
+
"application/json": components["schemas"]["AgentArchived"];
|
|
49434
|
+
};
|
|
49435
|
+
};
|
|
49436
|
+
/** @description Error */
|
|
49437
|
+
default: {
|
|
49438
|
+
headers: {
|
|
49439
|
+
[name: string]: unknown;
|
|
49440
|
+
};
|
|
49441
|
+
content: {
|
|
49442
|
+
"application/json": components["schemas"]["Error"];
|
|
49443
|
+
};
|
|
49444
|
+
};
|
|
49445
|
+
};
|
|
49446
|
+
};
|
|
49447
|
+
"restore-agent-session": {
|
|
48660
49448
|
parameters: {
|
|
48661
49449
|
query?: never;
|
|
48662
49450
|
header?: never;
|
|
@@ -48688,7 +49476,7 @@ export interface operations {
|
|
|
48688
49476
|
};
|
|
48689
49477
|
};
|
|
48690
49478
|
};
|
|
48691
|
-
"
|
|
49479
|
+
"background-agent-session-commands": {
|
|
48692
49480
|
parameters: {
|
|
48693
49481
|
query?: never;
|
|
48694
49482
|
header?: never;
|
|
@@ -48720,7 +49508,263 @@ export interface operations {
|
|
|
48720
49508
|
};
|
|
48721
49509
|
};
|
|
48722
49510
|
};
|
|
48723
|
-
"
|
|
49511
|
+
"get-agent-session-claude-accounts": {
|
|
49512
|
+
parameters: {
|
|
49513
|
+
query?: {
|
|
49514
|
+
account?: string;
|
|
49515
|
+
refresh?: boolean;
|
|
49516
|
+
namesOnly?: boolean;
|
|
49517
|
+
};
|
|
49518
|
+
header?: never;
|
|
49519
|
+
path: {
|
|
49520
|
+
machine: string;
|
|
49521
|
+
id: string;
|
|
49522
|
+
};
|
|
49523
|
+
cookie?: never;
|
|
49524
|
+
};
|
|
49525
|
+
requestBody?: never;
|
|
49526
|
+
responses: {
|
|
49527
|
+
/** @description OK */
|
|
49528
|
+
200: {
|
|
49529
|
+
headers: {
|
|
49530
|
+
[name: string]: unknown;
|
|
49531
|
+
};
|
|
49532
|
+
content: {
|
|
49533
|
+
"application/json": components["schemas"]["AgentClaudeAccount"][] | null;
|
|
49534
|
+
};
|
|
49535
|
+
};
|
|
49536
|
+
/** @description Error */
|
|
49537
|
+
default: {
|
|
49538
|
+
headers: {
|
|
49539
|
+
[name: string]: unknown;
|
|
49540
|
+
};
|
|
49541
|
+
content: {
|
|
49542
|
+
"application/json": components["schemas"]["Error"];
|
|
49543
|
+
};
|
|
49544
|
+
};
|
|
49545
|
+
};
|
|
49546
|
+
};
|
|
49547
|
+
"clear-agent-session": {
|
|
49548
|
+
parameters: {
|
|
49549
|
+
query?: never;
|
|
49550
|
+
header?: never;
|
|
49551
|
+
path: {
|
|
49552
|
+
/** @description Machine id from the machines list. */
|
|
49553
|
+
machine: string;
|
|
49554
|
+
/** @description Session id as the daemon reports it. */
|
|
49555
|
+
id: string;
|
|
49556
|
+
};
|
|
49557
|
+
cookie?: never;
|
|
49558
|
+
};
|
|
49559
|
+
requestBody?: never;
|
|
49560
|
+
responses: {
|
|
49561
|
+
/** @description OK */
|
|
49562
|
+
200: {
|
|
49563
|
+
headers: {
|
|
49564
|
+
[name: string]: unknown;
|
|
49565
|
+
};
|
|
49566
|
+
content: {
|
|
49567
|
+
"application/json": components["schemas"]["AgentSessionCleared"];
|
|
49568
|
+
};
|
|
49569
|
+
};
|
|
49570
|
+
/** @description Error */
|
|
49571
|
+
default: {
|
|
49572
|
+
headers: {
|
|
49573
|
+
[name: string]: unknown;
|
|
49574
|
+
};
|
|
49575
|
+
content: {
|
|
49576
|
+
"application/json": components["schemas"]["Error"];
|
|
49577
|
+
};
|
|
49578
|
+
};
|
|
49579
|
+
};
|
|
49580
|
+
};
|
|
49581
|
+
"run-agent-session-command": {
|
|
49582
|
+
parameters: {
|
|
49583
|
+
query?: never;
|
|
49584
|
+
header?: never;
|
|
49585
|
+
path: {
|
|
49586
|
+
/** @description Machine id from the machines list. */
|
|
49587
|
+
machine: string;
|
|
49588
|
+
/** @description Session id as the daemon reports it. */
|
|
49589
|
+
id: string;
|
|
49590
|
+
};
|
|
49591
|
+
cookie?: never;
|
|
49592
|
+
};
|
|
49593
|
+
requestBody: {
|
|
49594
|
+
content: {
|
|
49595
|
+
"application/json": components["schemas"]["AgentCommandBody"];
|
|
49596
|
+
};
|
|
49597
|
+
};
|
|
49598
|
+
responses: {
|
|
49599
|
+
/** @description OK */
|
|
49600
|
+
200: {
|
|
49601
|
+
headers: {
|
|
49602
|
+
[name: string]: unknown;
|
|
49603
|
+
};
|
|
49604
|
+
content: {
|
|
49605
|
+
"application/json": components["schemas"]["AgentCommandOutput"];
|
|
49606
|
+
};
|
|
49607
|
+
};
|
|
49608
|
+
/** @description Error */
|
|
49609
|
+
default: {
|
|
49610
|
+
headers: {
|
|
49611
|
+
[name: string]: unknown;
|
|
49612
|
+
};
|
|
49613
|
+
content: {
|
|
49614
|
+
"application/json": components["schemas"]["Error"];
|
|
49615
|
+
};
|
|
49616
|
+
};
|
|
49617
|
+
};
|
|
49618
|
+
};
|
|
49619
|
+
"compact-agent-session": {
|
|
49620
|
+
parameters: {
|
|
49621
|
+
query?: never;
|
|
49622
|
+
header?: never;
|
|
49623
|
+
path: {
|
|
49624
|
+
/** @description Machine id from the machines list. */
|
|
49625
|
+
machine: string;
|
|
49626
|
+
/** @description Session id as the daemon reports it. */
|
|
49627
|
+
id: string;
|
|
49628
|
+
};
|
|
49629
|
+
cookie?: never;
|
|
49630
|
+
};
|
|
49631
|
+
requestBody: {
|
|
49632
|
+
content: {
|
|
49633
|
+
"application/json": components["schemas"]["AgentCompactBody"];
|
|
49634
|
+
};
|
|
49635
|
+
};
|
|
49636
|
+
responses: {
|
|
49637
|
+
/** @description OK */
|
|
49638
|
+
200: {
|
|
49639
|
+
headers: {
|
|
49640
|
+
[name: string]: unknown;
|
|
49641
|
+
};
|
|
49642
|
+
content: {
|
|
49643
|
+
"application/json": components["schemas"]["AgentCompacted"];
|
|
49644
|
+
};
|
|
49645
|
+
};
|
|
49646
|
+
/** @description Error */
|
|
49647
|
+
default: {
|
|
49648
|
+
headers: {
|
|
49649
|
+
[name: string]: unknown;
|
|
49650
|
+
};
|
|
49651
|
+
content: {
|
|
49652
|
+
"application/json": components["schemas"]["Error"];
|
|
49653
|
+
};
|
|
49654
|
+
};
|
|
49655
|
+
};
|
|
49656
|
+
};
|
|
49657
|
+
"steer-agent-session": {
|
|
49658
|
+
parameters: {
|
|
49659
|
+
query?: never;
|
|
49660
|
+
header?: never;
|
|
49661
|
+
path: {
|
|
49662
|
+
/** @description Machine id from the machines list. */
|
|
49663
|
+
machine: string;
|
|
49664
|
+
/** @description Session id as the daemon reports it. */
|
|
49665
|
+
id: string;
|
|
49666
|
+
};
|
|
49667
|
+
cookie?: never;
|
|
49668
|
+
};
|
|
49669
|
+
requestBody: {
|
|
49670
|
+
content: {
|
|
49671
|
+
"application/json": components["schemas"]["AgentDirectionBody"];
|
|
49672
|
+
};
|
|
49673
|
+
};
|
|
49674
|
+
responses: {
|
|
49675
|
+
/** @description OK */
|
|
49676
|
+
200: {
|
|
49677
|
+
headers: {
|
|
49678
|
+
[name: string]: unknown;
|
|
49679
|
+
};
|
|
49680
|
+
content: {
|
|
49681
|
+
"application/json": components["schemas"]["AgentDirectionDelivered"];
|
|
49682
|
+
};
|
|
49683
|
+
};
|
|
49684
|
+
/** @description Error */
|
|
49685
|
+
default: {
|
|
49686
|
+
headers: {
|
|
49687
|
+
[name: string]: unknown;
|
|
49688
|
+
};
|
|
49689
|
+
content: {
|
|
49690
|
+
"application/json": components["schemas"]["Error"];
|
|
49691
|
+
};
|
|
49692
|
+
};
|
|
49693
|
+
};
|
|
49694
|
+
};
|
|
49695
|
+
"withdraw-agent-session-direction": {
|
|
49696
|
+
parameters: {
|
|
49697
|
+
query?: never;
|
|
49698
|
+
header?: never;
|
|
49699
|
+
path: {
|
|
49700
|
+
/** @description Machine id from the machines list. */
|
|
49701
|
+
machine: string;
|
|
49702
|
+
/** @description Session id as the daemon reports it. */
|
|
49703
|
+
id: string;
|
|
49704
|
+
};
|
|
49705
|
+
cookie?: never;
|
|
49706
|
+
};
|
|
49707
|
+
requestBody: {
|
|
49708
|
+
content: {
|
|
49709
|
+
"application/json": components["schemas"]["AgentDirectionWithdrawBody"];
|
|
49710
|
+
};
|
|
49711
|
+
};
|
|
49712
|
+
responses: {
|
|
49713
|
+
/** @description OK */
|
|
49714
|
+
200: {
|
|
49715
|
+
headers: {
|
|
49716
|
+
[name: string]: unknown;
|
|
49717
|
+
};
|
|
49718
|
+
content: {
|
|
49719
|
+
"application/json": components["schemas"]["AgentDirectionWithdrawn"];
|
|
49720
|
+
};
|
|
49721
|
+
};
|
|
49722
|
+
/** @description Error */
|
|
49723
|
+
default: {
|
|
49724
|
+
headers: {
|
|
49725
|
+
[name: string]: unknown;
|
|
49726
|
+
};
|
|
49727
|
+
content: {
|
|
49728
|
+
"application/json": components["schemas"]["Error"];
|
|
49729
|
+
};
|
|
49730
|
+
};
|
|
49731
|
+
};
|
|
49732
|
+
};
|
|
49733
|
+
"fork-agent-session": {
|
|
49734
|
+
parameters: {
|
|
49735
|
+
query?: never;
|
|
49736
|
+
header?: never;
|
|
49737
|
+
path: {
|
|
49738
|
+
/** @description Machine id from the machines list. */
|
|
49739
|
+
machine: string;
|
|
49740
|
+
/** @description Session id as the daemon reports it. */
|
|
49741
|
+
id: string;
|
|
49742
|
+
};
|
|
49743
|
+
cookie?: never;
|
|
49744
|
+
};
|
|
49745
|
+
requestBody?: never;
|
|
49746
|
+
responses: {
|
|
49747
|
+
/** @description Created */
|
|
49748
|
+
201: {
|
|
49749
|
+
headers: {
|
|
49750
|
+
[name: string]: unknown;
|
|
49751
|
+
};
|
|
49752
|
+
content: {
|
|
49753
|
+
"application/json": components["schemas"]["AgentSessionForked"];
|
|
49754
|
+
};
|
|
49755
|
+
};
|
|
49756
|
+
/** @description Error */
|
|
49757
|
+
default: {
|
|
49758
|
+
headers: {
|
|
49759
|
+
[name: string]: unknown;
|
|
49760
|
+
};
|
|
49761
|
+
content: {
|
|
49762
|
+
"application/json": components["schemas"]["Error"];
|
|
49763
|
+
};
|
|
49764
|
+
};
|
|
49765
|
+
};
|
|
49766
|
+
};
|
|
49767
|
+
"get-agent-session-github-image": {
|
|
48724
49768
|
parameters: {
|
|
48725
49769
|
query?: never;
|
|
48726
49770
|
header?: never;
|
|
@@ -48729,10 +49773,91 @@ export interface operations {
|
|
|
48729
49773
|
machine: string;
|
|
48730
49774
|
/** @description Session id as the daemon reports it. */
|
|
48731
49775
|
id: string;
|
|
49776
|
+
/** @description The id in the attachment's github.com/user-attachments/assets/{asset} URL. */
|
|
49777
|
+
asset: string;
|
|
48732
49778
|
};
|
|
48733
49779
|
cookie?: never;
|
|
48734
49780
|
};
|
|
48735
49781
|
requestBody?: never;
|
|
49782
|
+
responses: {
|
|
49783
|
+
/** @description The image, as PNG, JPEG, GIF or WebP. */
|
|
49784
|
+
200: {
|
|
49785
|
+
headers: {
|
|
49786
|
+
"Cache-Control"?: string;
|
|
49787
|
+
"Content-Type"?: string;
|
|
49788
|
+
"X-Content-Type-Options"?: string;
|
|
49789
|
+
[name: string]: unknown;
|
|
49790
|
+
};
|
|
49791
|
+
content: {
|
|
49792
|
+
"image/*": string;
|
|
49793
|
+
};
|
|
49794
|
+
};
|
|
49795
|
+
/** @description Error */
|
|
49796
|
+
default: {
|
|
49797
|
+
headers: {
|
|
49798
|
+
[name: string]: unknown;
|
|
49799
|
+
};
|
|
49800
|
+
content: {
|
|
49801
|
+
"application/json": components["schemas"]["Error"];
|
|
49802
|
+
};
|
|
49803
|
+
};
|
|
49804
|
+
};
|
|
49805
|
+
};
|
|
49806
|
+
"set-agent-session-goal": {
|
|
49807
|
+
parameters: {
|
|
49808
|
+
query?: never;
|
|
49809
|
+
header?: never;
|
|
49810
|
+
path: {
|
|
49811
|
+
/** @description Machine id from the machines list. */
|
|
49812
|
+
machine: string;
|
|
49813
|
+
/** @description Session id as the daemon reports it. */
|
|
49814
|
+
id: string;
|
|
49815
|
+
};
|
|
49816
|
+
cookie?: never;
|
|
49817
|
+
};
|
|
49818
|
+
requestBody: {
|
|
49819
|
+
content: {
|
|
49820
|
+
"application/json": components["schemas"]["AgentCommandArgs"];
|
|
49821
|
+
};
|
|
49822
|
+
};
|
|
49823
|
+
responses: {
|
|
49824
|
+
/** @description OK */
|
|
49825
|
+
200: {
|
|
49826
|
+
headers: {
|
|
49827
|
+
[name: string]: unknown;
|
|
49828
|
+
};
|
|
49829
|
+
content: {
|
|
49830
|
+
"application/json": components["schemas"]["AgentGoalResult"];
|
|
49831
|
+
};
|
|
49832
|
+
};
|
|
49833
|
+
/** @description Error */
|
|
49834
|
+
default: {
|
|
49835
|
+
headers: {
|
|
49836
|
+
[name: string]: unknown;
|
|
49837
|
+
};
|
|
49838
|
+
content: {
|
|
49839
|
+
"application/json": components["schemas"]["Error"];
|
|
49840
|
+
};
|
|
49841
|
+
};
|
|
49842
|
+
};
|
|
49843
|
+
};
|
|
49844
|
+
"group-agent-session": {
|
|
49845
|
+
parameters: {
|
|
49846
|
+
query?: never;
|
|
49847
|
+
header?: never;
|
|
49848
|
+
path: {
|
|
49849
|
+
/** @description Machine id from the machines list. */
|
|
49850
|
+
machine: string;
|
|
49851
|
+
/** @description Session id as the daemon reports it. */
|
|
49852
|
+
id: string;
|
|
49853
|
+
};
|
|
49854
|
+
cookie?: never;
|
|
49855
|
+
};
|
|
49856
|
+
requestBody: {
|
|
49857
|
+
content: {
|
|
49858
|
+
"application/json": components["schemas"]["AgentSessionGroupBody"];
|
|
49859
|
+
};
|
|
49860
|
+
};
|
|
48736
49861
|
responses: {
|
|
48737
49862
|
/** @description No Content */
|
|
48738
49863
|
204: {
|
|
@@ -48752,7 +49877,189 @@ export interface operations {
|
|
|
48752
49877
|
};
|
|
48753
49878
|
};
|
|
48754
49879
|
};
|
|
48755
|
-
"
|
|
49880
|
+
"ungroup-agent-session": {
|
|
49881
|
+
parameters: {
|
|
49882
|
+
query?: never;
|
|
49883
|
+
header?: never;
|
|
49884
|
+
path: {
|
|
49885
|
+
/** @description Machine id from the machines list. */
|
|
49886
|
+
machine: string;
|
|
49887
|
+
/** @description Session id as the daemon reports it. */
|
|
49888
|
+
id: string;
|
|
49889
|
+
};
|
|
49890
|
+
cookie?: never;
|
|
49891
|
+
};
|
|
49892
|
+
requestBody?: never;
|
|
49893
|
+
responses: {
|
|
49894
|
+
/** @description No Content */
|
|
49895
|
+
204: {
|
|
49896
|
+
headers: {
|
|
49897
|
+
[name: string]: unknown;
|
|
49898
|
+
};
|
|
49899
|
+
content?: never;
|
|
49900
|
+
};
|
|
49901
|
+
/** @description Error */
|
|
49902
|
+
default: {
|
|
49903
|
+
headers: {
|
|
49904
|
+
[name: string]: unknown;
|
|
49905
|
+
};
|
|
49906
|
+
content: {
|
|
49907
|
+
"application/json": components["schemas"]["Error"];
|
|
49908
|
+
};
|
|
49909
|
+
};
|
|
49910
|
+
};
|
|
49911
|
+
};
|
|
49912
|
+
"upload-agent-session-image": {
|
|
49913
|
+
parameters: {
|
|
49914
|
+
query?: never;
|
|
49915
|
+
header?: never;
|
|
49916
|
+
path: {
|
|
49917
|
+
/** @description Machine id from the machines list. */
|
|
49918
|
+
machine: string;
|
|
49919
|
+
/** @description Session id as the daemon reports it. */
|
|
49920
|
+
id: string;
|
|
49921
|
+
};
|
|
49922
|
+
cookie?: never;
|
|
49923
|
+
};
|
|
49924
|
+
requestBody: {
|
|
49925
|
+
content: {
|
|
49926
|
+
"application/json": components["schemas"]["AgentImageBody"];
|
|
49927
|
+
};
|
|
49928
|
+
};
|
|
49929
|
+
responses: {
|
|
49930
|
+
/** @description OK */
|
|
49931
|
+
200: {
|
|
49932
|
+
headers: {
|
|
49933
|
+
[name: string]: unknown;
|
|
49934
|
+
};
|
|
49935
|
+
content: {
|
|
49936
|
+
"application/json": components["schemas"]["AgentImageSaved"];
|
|
49937
|
+
};
|
|
49938
|
+
};
|
|
49939
|
+
/** @description Error */
|
|
49940
|
+
default: {
|
|
49941
|
+
headers: {
|
|
49942
|
+
[name: string]: unknown;
|
|
49943
|
+
};
|
|
49944
|
+
content: {
|
|
49945
|
+
"application/json": components["schemas"]["Error"];
|
|
49946
|
+
};
|
|
49947
|
+
};
|
|
49948
|
+
};
|
|
49949
|
+
};
|
|
49950
|
+
"get-agent-session-image": {
|
|
49951
|
+
parameters: {
|
|
49952
|
+
query?: {
|
|
49953
|
+
/** @description Answers the image's preview, as the transcript carries it unless read with previews=refs, in place of the image at full size. */
|
|
49954
|
+
preview?: boolean;
|
|
49955
|
+
};
|
|
49956
|
+
header?: never;
|
|
49957
|
+
path: {
|
|
49958
|
+
/** @description Machine id from the machines list. */
|
|
49959
|
+
machine: string;
|
|
49960
|
+
/** @description Session id as the daemon reports it. */
|
|
49961
|
+
id: string;
|
|
49962
|
+
/** @description The ref of an image in the session's transcript or event feed. */
|
|
49963
|
+
ref: string;
|
|
49964
|
+
};
|
|
49965
|
+
cookie?: never;
|
|
49966
|
+
};
|
|
49967
|
+
requestBody?: never;
|
|
49968
|
+
responses: {
|
|
49969
|
+
/** @description The image, as PNG, JPEG, GIF or WebP. */
|
|
49970
|
+
200: {
|
|
49971
|
+
headers: {
|
|
49972
|
+
"Cache-Control"?: string;
|
|
49973
|
+
"Content-Type"?: string;
|
|
49974
|
+
"X-Content-Type-Options"?: string;
|
|
49975
|
+
[name: string]: unknown;
|
|
49976
|
+
};
|
|
49977
|
+
content: {
|
|
49978
|
+
"image/*": string;
|
|
49979
|
+
};
|
|
49980
|
+
};
|
|
49981
|
+
/** @description Error */
|
|
49982
|
+
default: {
|
|
49983
|
+
headers: {
|
|
49984
|
+
[name: string]: unknown;
|
|
49985
|
+
};
|
|
49986
|
+
content: {
|
|
49987
|
+
"application/json": components["schemas"]["Error"];
|
|
49988
|
+
};
|
|
49989
|
+
};
|
|
49990
|
+
};
|
|
49991
|
+
};
|
|
49992
|
+
"interrupt-agent-session": {
|
|
49993
|
+
parameters: {
|
|
49994
|
+
query?: never;
|
|
49995
|
+
header?: never;
|
|
49996
|
+
path: {
|
|
49997
|
+
/** @description Machine id from the machines list. */
|
|
49998
|
+
machine: string;
|
|
49999
|
+
/** @description Session id as the daemon reports it. */
|
|
50000
|
+
id: string;
|
|
50001
|
+
};
|
|
50002
|
+
cookie?: never;
|
|
50003
|
+
};
|
|
50004
|
+
requestBody?: never;
|
|
50005
|
+
responses: {
|
|
50006
|
+
/** @description No Content */
|
|
50007
|
+
204: {
|
|
50008
|
+
headers: {
|
|
50009
|
+
[name: string]: unknown;
|
|
50010
|
+
};
|
|
50011
|
+
content?: never;
|
|
50012
|
+
};
|
|
50013
|
+
/** @description Error */
|
|
50014
|
+
default: {
|
|
50015
|
+
headers: {
|
|
50016
|
+
[name: string]: unknown;
|
|
50017
|
+
};
|
|
50018
|
+
content: {
|
|
50019
|
+
"application/json": components["schemas"]["Error"];
|
|
50020
|
+
};
|
|
50021
|
+
};
|
|
50022
|
+
};
|
|
50023
|
+
};
|
|
50024
|
+
"send-agent-session-message": {
|
|
50025
|
+
parameters: {
|
|
50026
|
+
query?: never;
|
|
50027
|
+
header?: never;
|
|
50028
|
+
path: {
|
|
50029
|
+
/** @description Machine id from the machines list. */
|
|
50030
|
+
machine: string;
|
|
50031
|
+
/** @description Session id as the daemon reports it. */
|
|
50032
|
+
id: string;
|
|
50033
|
+
};
|
|
50034
|
+
cookie?: never;
|
|
50035
|
+
};
|
|
50036
|
+
requestBody: {
|
|
50037
|
+
content: {
|
|
50038
|
+
"application/json": components["schemas"]["SendMessageBody"];
|
|
50039
|
+
};
|
|
50040
|
+
};
|
|
50041
|
+
responses: {
|
|
50042
|
+
/** @description OK */
|
|
50043
|
+
200: {
|
|
50044
|
+
headers: {
|
|
50045
|
+
[name: string]: unknown;
|
|
50046
|
+
};
|
|
50047
|
+
content: {
|
|
50048
|
+
"application/json": components["schemas"]["AgentMessageAccepted"];
|
|
50049
|
+
};
|
|
50050
|
+
};
|
|
50051
|
+
/** @description Error */
|
|
50052
|
+
default: {
|
|
50053
|
+
headers: {
|
|
50054
|
+
[name: string]: unknown;
|
|
50055
|
+
};
|
|
50056
|
+
content: {
|
|
50057
|
+
"application/json": components["schemas"]["Error"];
|
|
50058
|
+
};
|
|
50059
|
+
};
|
|
50060
|
+
};
|
|
50061
|
+
};
|
|
50062
|
+
"get-agent-session-claude-models": {
|
|
48756
50063
|
parameters: {
|
|
48757
50064
|
query?: {
|
|
48758
50065
|
account?: string;
|
|
@@ -48774,7 +50081,7 @@ export interface operations {
|
|
|
48774
50081
|
[name: string]: unknown;
|
|
48775
50082
|
};
|
|
48776
50083
|
content: {
|
|
48777
|
-
"application/json": components["schemas"]["
|
|
50084
|
+
"application/json": components["schemas"]["AgentClaudeModel"][] | null;
|
|
48778
50085
|
};
|
|
48779
50086
|
};
|
|
48780
50087
|
/** @description Error */
|
|
@@ -48788,7 +50095,7 @@ export interface operations {
|
|
|
48788
50095
|
};
|
|
48789
50096
|
};
|
|
48790
50097
|
};
|
|
48791
|
-
"
|
|
50098
|
+
"get-agent-session-palette": {
|
|
48792
50099
|
parameters: {
|
|
48793
50100
|
query?: never;
|
|
48794
50101
|
header?: never;
|
|
@@ -48808,7 +50115,7 @@ export interface operations {
|
|
|
48808
50115
|
[name: string]: unknown;
|
|
48809
50116
|
};
|
|
48810
50117
|
content: {
|
|
48811
|
-
"application/json": components["schemas"]["
|
|
50118
|
+
"application/json": components["schemas"]["AgentPalette"];
|
|
48812
50119
|
};
|
|
48813
50120
|
};
|
|
48814
50121
|
/** @description Error */
|
|
@@ -48822,7 +50129,7 @@ export interface operations {
|
|
|
48822
50129
|
};
|
|
48823
50130
|
};
|
|
48824
50131
|
};
|
|
48825
|
-
"
|
|
50132
|
+
"pin-agent-session": {
|
|
48826
50133
|
parameters: {
|
|
48827
50134
|
query?: never;
|
|
48828
50135
|
header?: never;
|
|
@@ -48834,20 +50141,14 @@ export interface operations {
|
|
|
48834
50141
|
};
|
|
48835
50142
|
cookie?: never;
|
|
48836
50143
|
};
|
|
48837
|
-
requestBody
|
|
48838
|
-
content: {
|
|
48839
|
-
"application/json": components["schemas"]["AgentCommandBody"];
|
|
48840
|
-
};
|
|
48841
|
-
};
|
|
50144
|
+
requestBody?: never;
|
|
48842
50145
|
responses: {
|
|
48843
|
-
/** @description
|
|
48844
|
-
|
|
50146
|
+
/** @description No Content */
|
|
50147
|
+
204: {
|
|
48845
50148
|
headers: {
|
|
48846
50149
|
[name: string]: unknown;
|
|
48847
50150
|
};
|
|
48848
|
-
content
|
|
48849
|
-
"application/json": components["schemas"]["AgentCommandOutput"];
|
|
48850
|
-
};
|
|
50151
|
+
content?: never;
|
|
48851
50152
|
};
|
|
48852
50153
|
/** @description Error */
|
|
48853
50154
|
default: {
|
|
@@ -48860,7 +50161,7 @@ export interface operations {
|
|
|
48860
50161
|
};
|
|
48861
50162
|
};
|
|
48862
50163
|
};
|
|
48863
|
-
"
|
|
50164
|
+
"unpin-agent-session": {
|
|
48864
50165
|
parameters: {
|
|
48865
50166
|
query?: never;
|
|
48866
50167
|
header?: never;
|
|
@@ -48872,20 +50173,14 @@ export interface operations {
|
|
|
48872
50173
|
};
|
|
48873
50174
|
cookie?: never;
|
|
48874
50175
|
};
|
|
48875
|
-
requestBody
|
|
48876
|
-
content: {
|
|
48877
|
-
"application/json": components["schemas"]["AgentCompactBody"];
|
|
48878
|
-
};
|
|
48879
|
-
};
|
|
50176
|
+
requestBody?: never;
|
|
48880
50177
|
responses: {
|
|
48881
|
-
/** @description
|
|
48882
|
-
|
|
50178
|
+
/** @description No Content */
|
|
50179
|
+
204: {
|
|
48883
50180
|
headers: {
|
|
48884
50181
|
[name: string]: unknown;
|
|
48885
50182
|
};
|
|
48886
|
-
content
|
|
48887
|
-
"application/json": components["schemas"]["AgentCompacted"];
|
|
48888
|
-
};
|
|
50183
|
+
content?: never;
|
|
48889
50184
|
};
|
|
48890
50185
|
/** @description Error */
|
|
48891
50186
|
default: {
|
|
@@ -48898,7 +50193,7 @@ export interface operations {
|
|
|
48898
50193
|
};
|
|
48899
50194
|
};
|
|
48900
50195
|
};
|
|
48901
|
-
"
|
|
50196
|
+
"run-agent-session-plan": {
|
|
48902
50197
|
parameters: {
|
|
48903
50198
|
query?: never;
|
|
48904
50199
|
header?: never;
|
|
@@ -48912,7 +50207,7 @@ export interface operations {
|
|
|
48912
50207
|
};
|
|
48913
50208
|
requestBody: {
|
|
48914
50209
|
content: {
|
|
48915
|
-
"application/json": components["schemas"]["
|
|
50210
|
+
"application/json": components["schemas"]["AgentCommandArgs"];
|
|
48916
50211
|
};
|
|
48917
50212
|
};
|
|
48918
50213
|
responses: {
|
|
@@ -48922,7 +50217,7 @@ export interface operations {
|
|
|
48922
50217
|
[name: string]: unknown;
|
|
48923
50218
|
};
|
|
48924
50219
|
content: {
|
|
48925
|
-
"application/json": components["schemas"]["
|
|
50220
|
+
"application/json": components["schemas"]["AgentPlanResult"];
|
|
48926
50221
|
};
|
|
48927
50222
|
};
|
|
48928
50223
|
/** @description Error */
|
|
@@ -48936,7 +50231,7 @@ export interface operations {
|
|
|
48936
50231
|
};
|
|
48937
50232
|
};
|
|
48938
50233
|
};
|
|
48939
|
-
"
|
|
50234
|
+
"get-agent-session-pull-requests": {
|
|
48940
50235
|
parameters: {
|
|
48941
50236
|
query?: never;
|
|
48942
50237
|
header?: never;
|
|
@@ -48950,13 +50245,13 @@ export interface operations {
|
|
|
48950
50245
|
};
|
|
48951
50246
|
requestBody?: never;
|
|
48952
50247
|
responses: {
|
|
48953
|
-
/** @description
|
|
48954
|
-
|
|
50248
|
+
/** @description OK */
|
|
50249
|
+
200: {
|
|
48955
50250
|
headers: {
|
|
48956
50251
|
[name: string]: unknown;
|
|
48957
50252
|
};
|
|
48958
50253
|
content: {
|
|
48959
|
-
"application/json": components["schemas"]["
|
|
50254
|
+
"application/json": components["schemas"]["AgentPullRequests"];
|
|
48960
50255
|
};
|
|
48961
50256
|
};
|
|
48962
50257
|
/** @description Error */
|
|
@@ -48970,7 +50265,7 @@ export interface operations {
|
|
|
48970
50265
|
};
|
|
48971
50266
|
};
|
|
48972
50267
|
};
|
|
48973
|
-
"
|
|
50268
|
+
"withdraw-agent-session-message": {
|
|
48974
50269
|
parameters: {
|
|
48975
50270
|
query?: never;
|
|
48976
50271
|
header?: never;
|
|
@@ -48979,24 +50274,19 @@ export interface operations {
|
|
|
48979
50274
|
machine: string;
|
|
48980
50275
|
/** @description Session id as the daemon reports it. */
|
|
48981
50276
|
id: string;
|
|
48982
|
-
/** @description The id
|
|
48983
|
-
|
|
50277
|
+
/** @description The turn id the message was accepted as. */
|
|
50278
|
+
turnId: string;
|
|
48984
50279
|
};
|
|
48985
50280
|
cookie?: never;
|
|
48986
50281
|
};
|
|
48987
50282
|
requestBody?: never;
|
|
48988
50283
|
responses: {
|
|
48989
|
-
/** @description
|
|
48990
|
-
|
|
50284
|
+
/** @description No Content */
|
|
50285
|
+
204: {
|
|
48991
50286
|
headers: {
|
|
48992
|
-
"Cache-Control"?: string;
|
|
48993
|
-
"Content-Type"?: string;
|
|
48994
|
-
"X-Content-Type-Options"?: string;
|
|
48995
50287
|
[name: string]: unknown;
|
|
48996
50288
|
};
|
|
48997
|
-
content
|
|
48998
|
-
"image/*": string;
|
|
48999
|
-
};
|
|
50289
|
+
content?: never;
|
|
49000
50290
|
};
|
|
49001
50291
|
/** @description Error */
|
|
49002
50292
|
default: {
|
|
@@ -49009,7 +50299,7 @@ export interface operations {
|
|
|
49009
50299
|
};
|
|
49010
50300
|
};
|
|
49011
50301
|
};
|
|
49012
|
-
"
|
|
50302
|
+
"recap-agent-session": {
|
|
49013
50303
|
parameters: {
|
|
49014
50304
|
query?: never;
|
|
49015
50305
|
header?: never;
|
|
@@ -49021,20 +50311,14 @@ export interface operations {
|
|
|
49021
50311
|
};
|
|
49022
50312
|
cookie?: never;
|
|
49023
50313
|
};
|
|
49024
|
-
requestBody
|
|
49025
|
-
content: {
|
|
49026
|
-
"application/json": components["schemas"]["AgentCommandArgs"];
|
|
49027
|
-
};
|
|
49028
|
-
};
|
|
50314
|
+
requestBody?: never;
|
|
49029
50315
|
responses: {
|
|
49030
|
-
/** @description
|
|
49031
|
-
|
|
50316
|
+
/** @description No Content */
|
|
50317
|
+
204: {
|
|
49032
50318
|
headers: {
|
|
49033
50319
|
[name: string]: unknown;
|
|
49034
50320
|
};
|
|
49035
|
-
content
|
|
49036
|
-
"application/json": components["schemas"]["AgentCommandOutput"];
|
|
49037
|
-
};
|
|
50321
|
+
content?: never;
|
|
49038
50322
|
};
|
|
49039
50323
|
/** @description Error */
|
|
49040
50324
|
default: {
|
|
@@ -49047,7 +50331,7 @@ export interface operations {
|
|
|
49047
50331
|
};
|
|
49048
50332
|
};
|
|
49049
50333
|
};
|
|
49050
|
-
"
|
|
50334
|
+
"rename-agent-session": {
|
|
49051
50335
|
parameters: {
|
|
49052
50336
|
query?: never;
|
|
49053
50337
|
header?: never;
|
|
@@ -49061,18 +50345,16 @@ export interface operations {
|
|
|
49061
50345
|
};
|
|
49062
50346
|
requestBody: {
|
|
49063
50347
|
content: {
|
|
49064
|
-
"application/json": components["schemas"]["
|
|
50348
|
+
"application/json": components["schemas"]["AgentRenameBody"];
|
|
49065
50349
|
};
|
|
49066
50350
|
};
|
|
49067
50351
|
responses: {
|
|
49068
|
-
/** @description
|
|
49069
|
-
|
|
50352
|
+
/** @description No Content */
|
|
50353
|
+
204: {
|
|
49070
50354
|
headers: {
|
|
49071
50355
|
[name: string]: unknown;
|
|
49072
50356
|
};
|
|
49073
|
-
content
|
|
49074
|
-
"application/json": components["schemas"]["AgentImageSaved"];
|
|
49075
|
-
};
|
|
50357
|
+
content?: never;
|
|
49076
50358
|
};
|
|
49077
50359
|
/** @description Error */
|
|
49078
50360
|
default: {
|
|
@@ -49085,7 +50367,7 @@ export interface operations {
|
|
|
49085
50367
|
};
|
|
49086
50368
|
};
|
|
49087
50369
|
};
|
|
49088
|
-
"
|
|
50370
|
+
"update-agent-session-settings": {
|
|
49089
50371
|
parameters: {
|
|
49090
50372
|
query?: never;
|
|
49091
50373
|
header?: never;
|
|
@@ -49094,56 +50376,23 @@ export interface operations {
|
|
|
49094
50376
|
machine: string;
|
|
49095
50377
|
/** @description Session id as the daemon reports it. */
|
|
49096
50378
|
id: string;
|
|
49097
|
-
/** @description The ref of an image in the session's transcript or event feed. */
|
|
49098
|
-
ref: string;
|
|
49099
50379
|
};
|
|
49100
50380
|
cookie?: never;
|
|
49101
50381
|
};
|
|
49102
|
-
requestBody
|
|
50382
|
+
requestBody: {
|
|
50383
|
+
content: {
|
|
50384
|
+
"application/json": components["schemas"]["AgentSessionSettingsBody"];
|
|
50385
|
+
};
|
|
50386
|
+
};
|
|
49103
50387
|
responses: {
|
|
49104
|
-
/** @description
|
|
50388
|
+
/** @description OK */
|
|
49105
50389
|
200: {
|
|
49106
50390
|
headers: {
|
|
49107
|
-
"Cache-Control"?: string;
|
|
49108
|
-
"Content-Type"?: string;
|
|
49109
|
-
"X-Content-Type-Options"?: string;
|
|
49110
50391
|
[name: string]: unknown;
|
|
49111
50392
|
};
|
|
49112
50393
|
content: {
|
|
49113
|
-
"
|
|
49114
|
-
};
|
|
49115
|
-
};
|
|
49116
|
-
/** @description Error */
|
|
49117
|
-
default: {
|
|
49118
|
-
headers: {
|
|
49119
|
-
[name: string]: unknown;
|
|
49120
|
-
};
|
|
49121
|
-
content: {
|
|
49122
|
-
"application/json": components["schemas"]["Error"];
|
|
49123
|
-
};
|
|
49124
|
-
};
|
|
49125
|
-
};
|
|
49126
|
-
};
|
|
49127
|
-
"interrupt-agent-session": {
|
|
49128
|
-
parameters: {
|
|
49129
|
-
query?: never;
|
|
49130
|
-
header?: never;
|
|
49131
|
-
path: {
|
|
49132
|
-
/** @description Machine id from the machines list. */
|
|
49133
|
-
machine: string;
|
|
49134
|
-
/** @description Session id as the daemon reports it. */
|
|
49135
|
-
id: string;
|
|
49136
|
-
};
|
|
49137
|
-
cookie?: never;
|
|
49138
|
-
};
|
|
49139
|
-
requestBody?: never;
|
|
49140
|
-
responses: {
|
|
49141
|
-
/** @description No Content */
|
|
49142
|
-
204: {
|
|
49143
|
-
headers: {
|
|
49144
|
-
[name: string]: unknown;
|
|
50394
|
+
"application/json": components["schemas"]["SessionState"];
|
|
49145
50395
|
};
|
|
49146
|
-
content?: never;
|
|
49147
50396
|
};
|
|
49148
50397
|
/** @description Error */
|
|
49149
50398
|
default: {
|
|
@@ -49156,7 +50405,7 @@ export interface operations {
|
|
|
49156
50405
|
};
|
|
49157
50406
|
};
|
|
49158
50407
|
};
|
|
49159
|
-
"
|
|
50408
|
+
"run-agent-session-shell": {
|
|
49160
50409
|
parameters: {
|
|
49161
50410
|
query?: never;
|
|
49162
50411
|
header?: never;
|
|
@@ -49170,7 +50419,7 @@ export interface operations {
|
|
|
49170
50419
|
};
|
|
49171
50420
|
requestBody: {
|
|
49172
50421
|
content: {
|
|
49173
|
-
"application/json": components["schemas"]["
|
|
50422
|
+
"application/json": components["schemas"]["AgentShellBody"];
|
|
49174
50423
|
};
|
|
49175
50424
|
};
|
|
49176
50425
|
responses: {
|
|
@@ -49180,7 +50429,7 @@ export interface operations {
|
|
|
49180
50429
|
[name: string]: unknown;
|
|
49181
50430
|
};
|
|
49182
50431
|
content: {
|
|
49183
|
-
"application/json": components["schemas"]["
|
|
50432
|
+
"application/json": components["schemas"]["AgentShellOutput"];
|
|
49184
50433
|
};
|
|
49185
50434
|
};
|
|
49186
50435
|
/** @description Error */
|
|
@@ -49194,30 +50443,26 @@ export interface operations {
|
|
|
49194
50443
|
};
|
|
49195
50444
|
};
|
|
49196
50445
|
};
|
|
49197
|
-
"
|
|
50446
|
+
"stop-agent-session": {
|
|
49198
50447
|
parameters: {
|
|
49199
|
-
query?:
|
|
49200
|
-
account?: string;
|
|
49201
|
-
refresh?: boolean;
|
|
49202
|
-
namesOnly?: boolean;
|
|
49203
|
-
};
|
|
50448
|
+
query?: never;
|
|
49204
50449
|
header?: never;
|
|
49205
50450
|
path: {
|
|
50451
|
+
/** @description Machine id from the machines list. */
|
|
49206
50452
|
machine: string;
|
|
50453
|
+
/** @description Session id as the daemon reports it. */
|
|
49207
50454
|
id: string;
|
|
49208
50455
|
};
|
|
49209
50456
|
cookie?: never;
|
|
49210
50457
|
};
|
|
49211
50458
|
requestBody?: never;
|
|
49212
50459
|
responses: {
|
|
49213
|
-
/** @description
|
|
49214
|
-
|
|
50460
|
+
/** @description No Content */
|
|
50461
|
+
204: {
|
|
49215
50462
|
headers: {
|
|
49216
50463
|
[name: string]: unknown;
|
|
49217
50464
|
};
|
|
49218
|
-
content
|
|
49219
|
-
"application/json": components["schemas"]["AgentClaudeModel"][] | null;
|
|
49220
|
-
};
|
|
50465
|
+
content?: never;
|
|
49221
50466
|
};
|
|
49222
50467
|
/** @description Error */
|
|
49223
50468
|
default: {
|
|
@@ -49230,7 +50475,7 @@ export interface operations {
|
|
|
49230
50475
|
};
|
|
49231
50476
|
};
|
|
49232
50477
|
};
|
|
49233
|
-
"
|
|
50478
|
+
"list-agent-session-subagents": {
|
|
49234
50479
|
parameters: {
|
|
49235
50480
|
query?: never;
|
|
49236
50481
|
header?: never;
|
|
@@ -49250,7 +50495,7 @@ export interface operations {
|
|
|
49250
50495
|
[name: string]: unknown;
|
|
49251
50496
|
};
|
|
49252
50497
|
content: {
|
|
49253
|
-
"application/json": components["schemas"]["
|
|
50498
|
+
"application/json": components["schemas"]["AgentSubagents"];
|
|
49254
50499
|
};
|
|
49255
50500
|
};
|
|
49256
50501
|
/** @description Error */
|
|
@@ -49264,7 +50509,7 @@ export interface operations {
|
|
|
49264
50509
|
};
|
|
49265
50510
|
};
|
|
49266
50511
|
};
|
|
49267
|
-
"
|
|
50512
|
+
"stop-agent-session-subagents": {
|
|
49268
50513
|
parameters: {
|
|
49269
50514
|
query?: never;
|
|
49270
50515
|
header?: never;
|
|
@@ -49296,7 +50541,7 @@ export interface operations {
|
|
|
49296
50541
|
};
|
|
49297
50542
|
};
|
|
49298
50543
|
};
|
|
49299
|
-
"
|
|
50544
|
+
"get-agent-session-subagent": {
|
|
49300
50545
|
parameters: {
|
|
49301
50546
|
query?: never;
|
|
49302
50547
|
header?: never;
|
|
@@ -49305,17 +50550,21 @@ export interface operations {
|
|
|
49305
50550
|
machine: string;
|
|
49306
50551
|
/** @description Session id as the daemon reports it. */
|
|
49307
50552
|
id: string;
|
|
50553
|
+
/** @description Subagent id from the session's subagents. */
|
|
50554
|
+
subId: string;
|
|
49308
50555
|
};
|
|
49309
50556
|
cookie?: never;
|
|
49310
50557
|
};
|
|
49311
50558
|
requestBody?: never;
|
|
49312
50559
|
responses: {
|
|
49313
|
-
/** @description
|
|
49314
|
-
|
|
50560
|
+
/** @description OK */
|
|
50561
|
+
200: {
|
|
49315
50562
|
headers: {
|
|
49316
50563
|
[name: string]: unknown;
|
|
49317
50564
|
};
|
|
49318
|
-
content
|
|
50565
|
+
content: {
|
|
50566
|
+
"application/json": components["schemas"]["SubagentDetail"];
|
|
50567
|
+
};
|
|
49319
50568
|
};
|
|
49320
50569
|
/** @description Error */
|
|
49321
50570
|
default: {
|
|
@@ -49328,7 +50577,7 @@ export interface operations {
|
|
|
49328
50577
|
};
|
|
49329
50578
|
};
|
|
49330
50579
|
};
|
|
49331
|
-
"
|
|
50580
|
+
"steer-agent-session-subagent": {
|
|
49332
50581
|
parameters: {
|
|
49333
50582
|
query?: never;
|
|
49334
50583
|
header?: never;
|
|
@@ -49337,12 +50586,14 @@ export interface operations {
|
|
|
49337
50586
|
machine: string;
|
|
49338
50587
|
/** @description Session id as the daemon reports it. */
|
|
49339
50588
|
id: string;
|
|
50589
|
+
/** @description Subagent id from the session's subagents. */
|
|
50590
|
+
subId: string;
|
|
49340
50591
|
};
|
|
49341
50592
|
cookie?: never;
|
|
49342
50593
|
};
|
|
49343
50594
|
requestBody: {
|
|
49344
50595
|
content: {
|
|
49345
|
-
"application/json": components["schemas"]["
|
|
50596
|
+
"application/json": components["schemas"]["AgentDirectionBody"];
|
|
49346
50597
|
};
|
|
49347
50598
|
};
|
|
49348
50599
|
responses: {
|
|
@@ -49352,7 +50603,7 @@ export interface operations {
|
|
|
49352
50603
|
[name: string]: unknown;
|
|
49353
50604
|
};
|
|
49354
50605
|
content: {
|
|
49355
|
-
"application/json": components["schemas"]["
|
|
50606
|
+
"application/json": components["schemas"]["AgentDirectionDelivered"];
|
|
49356
50607
|
};
|
|
49357
50608
|
};
|
|
49358
50609
|
/** @description Error */
|
|
@@ -49366,7 +50617,7 @@ export interface operations {
|
|
|
49366
50617
|
};
|
|
49367
50618
|
};
|
|
49368
50619
|
};
|
|
49369
|
-
"
|
|
50620
|
+
"withdraw-agent-session-subagent-direction": {
|
|
49370
50621
|
parameters: {
|
|
49371
50622
|
query?: never;
|
|
49372
50623
|
header?: never;
|
|
@@ -49375,10 +50626,16 @@ export interface operations {
|
|
|
49375
50626
|
machine: string;
|
|
49376
50627
|
/** @description Session id as the daemon reports it. */
|
|
49377
50628
|
id: string;
|
|
50629
|
+
/** @description Subagent id from the session's subagents. */
|
|
50630
|
+
subId: string;
|
|
49378
50631
|
};
|
|
49379
50632
|
cookie?: never;
|
|
49380
50633
|
};
|
|
49381
|
-
requestBody
|
|
50634
|
+
requestBody: {
|
|
50635
|
+
content: {
|
|
50636
|
+
"application/json": components["schemas"]["AgentDirectionWithdrawBody"];
|
|
50637
|
+
};
|
|
50638
|
+
};
|
|
49382
50639
|
responses: {
|
|
49383
50640
|
/** @description OK */
|
|
49384
50641
|
200: {
|
|
@@ -49386,7 +50643,7 @@ export interface operations {
|
|
|
49386
50643
|
[name: string]: unknown;
|
|
49387
50644
|
};
|
|
49388
50645
|
content: {
|
|
49389
|
-
"application/json": components["schemas"]["
|
|
50646
|
+
"application/json": components["schemas"]["AgentDirectionWithdrawn"];
|
|
49390
50647
|
};
|
|
49391
50648
|
};
|
|
49392
50649
|
/** @description Error */
|
|
@@ -49400,7 +50657,7 @@ export interface operations {
|
|
|
49400
50657
|
};
|
|
49401
50658
|
};
|
|
49402
50659
|
};
|
|
49403
|
-
"
|
|
50660
|
+
"dismiss-agent-session-subagent": {
|
|
49404
50661
|
parameters: {
|
|
49405
50662
|
query?: never;
|
|
49406
50663
|
header?: never;
|
|
@@ -49409,8 +50666,8 @@ export interface operations {
|
|
|
49409
50666
|
machine: string;
|
|
49410
50667
|
/** @description Session id as the daemon reports it. */
|
|
49411
50668
|
id: string;
|
|
49412
|
-
/** @description
|
|
49413
|
-
|
|
50669
|
+
/** @description Subagent id from the session's subagents. */
|
|
50670
|
+
subId: string;
|
|
49414
50671
|
};
|
|
49415
50672
|
cookie?: never;
|
|
49416
50673
|
};
|
|
@@ -49434,7 +50691,7 @@ export interface operations {
|
|
|
49434
50691
|
};
|
|
49435
50692
|
};
|
|
49436
50693
|
};
|
|
49437
|
-
"
|
|
50694
|
+
"send-agent-session-subagent-message": {
|
|
49438
50695
|
parameters: {
|
|
49439
50696
|
query?: never;
|
|
49440
50697
|
header?: never;
|
|
@@ -49443,17 +50700,25 @@ export interface operations {
|
|
|
49443
50700
|
machine: string;
|
|
49444
50701
|
/** @description Session id as the daemon reports it. */
|
|
49445
50702
|
id: string;
|
|
50703
|
+
/** @description Subagent id from the session's subagents. */
|
|
50704
|
+
subId: string;
|
|
49446
50705
|
};
|
|
49447
50706
|
cookie?: never;
|
|
49448
50707
|
};
|
|
49449
|
-
requestBody
|
|
50708
|
+
requestBody: {
|
|
50709
|
+
content: {
|
|
50710
|
+
"application/json": components["schemas"]["SendMessageBody"];
|
|
50711
|
+
};
|
|
50712
|
+
};
|
|
49450
50713
|
responses: {
|
|
49451
|
-
/** @description
|
|
49452
|
-
|
|
50714
|
+
/** @description OK */
|
|
50715
|
+
200: {
|
|
49453
50716
|
headers: {
|
|
49454
50717
|
[name: string]: unknown;
|
|
49455
50718
|
};
|
|
49456
|
-
content
|
|
50719
|
+
content: {
|
|
50720
|
+
"application/json": components["schemas"]["AgentMessageAccepted"];
|
|
50721
|
+
};
|
|
49457
50722
|
};
|
|
49458
50723
|
/** @description Error */
|
|
49459
50724
|
default: {
|
|
@@ -49466,7 +50731,7 @@ export interface operations {
|
|
|
49466
50731
|
};
|
|
49467
50732
|
};
|
|
49468
50733
|
};
|
|
49469
|
-
"
|
|
50734
|
+
"stop-agent-session-subagent": {
|
|
49470
50735
|
parameters: {
|
|
49471
50736
|
query?: never;
|
|
49472
50737
|
header?: never;
|
|
@@ -49475,14 +50740,12 @@ export interface operations {
|
|
|
49475
50740
|
machine: string;
|
|
49476
50741
|
/** @description Session id as the daemon reports it. */
|
|
49477
50742
|
id: string;
|
|
50743
|
+
/** @description Subagent id from the session's subagents. */
|
|
50744
|
+
subId: string;
|
|
49478
50745
|
};
|
|
49479
50746
|
cookie?: never;
|
|
49480
50747
|
};
|
|
49481
|
-
requestBody
|
|
49482
|
-
content: {
|
|
49483
|
-
"application/json": components["schemas"]["AgentRenameBody"];
|
|
49484
|
-
};
|
|
49485
|
-
};
|
|
50748
|
+
requestBody?: never;
|
|
49486
50749
|
responses: {
|
|
49487
50750
|
/** @description No Content */
|
|
49488
50751
|
204: {
|
|
@@ -49502,7 +50765,7 @@ export interface operations {
|
|
|
49502
50765
|
};
|
|
49503
50766
|
};
|
|
49504
50767
|
};
|
|
49505
|
-
"
|
|
50768
|
+
"upload-agent-session-paste": {
|
|
49506
50769
|
parameters: {
|
|
49507
50770
|
query?: never;
|
|
49508
50771
|
header?: never;
|
|
@@ -49516,17 +50779,17 @@ export interface operations {
|
|
|
49516
50779
|
};
|
|
49517
50780
|
requestBody: {
|
|
49518
50781
|
content: {
|
|
49519
|
-
"application/json": components["schemas"]["
|
|
50782
|
+
"application/json": components["schemas"]["AgentPasteUpload"];
|
|
49520
50783
|
};
|
|
49521
50784
|
};
|
|
49522
50785
|
responses: {
|
|
49523
|
-
/** @description
|
|
49524
|
-
|
|
50786
|
+
/** @description Created */
|
|
50787
|
+
201: {
|
|
49525
50788
|
headers: {
|
|
49526
50789
|
[name: string]: unknown;
|
|
49527
50790
|
};
|
|
49528
50791
|
content: {
|
|
49529
|
-
"application/json": components["schemas"]["
|
|
50792
|
+
"application/json": components["schemas"]["AgentPasteSaved"];
|
|
49530
50793
|
};
|
|
49531
50794
|
};
|
|
49532
50795
|
/** @description Error */
|
|
@@ -49540,10 +50803,18 @@ export interface operations {
|
|
|
49540
50803
|
};
|
|
49541
50804
|
};
|
|
49542
50805
|
};
|
|
49543
|
-
"
|
|
50806
|
+
"get-agent-session-transcript": {
|
|
49544
50807
|
parameters: {
|
|
49545
|
-
query?:
|
|
49546
|
-
|
|
50808
|
+
query?: {
|
|
50809
|
+
/** @description Set to refs, each image in the history that has a ref comes with empty data: its preview is read from the session's image route with preview=true. */
|
|
50810
|
+
previews?: "refs";
|
|
50811
|
+
/** @description About how many history items the tail holds. It is longer when no item that near the end starts cleanly: a tool result is never parted from its call. */
|
|
50812
|
+
tail?: number;
|
|
50813
|
+
};
|
|
50814
|
+
header?: {
|
|
50815
|
+
/** @description The ETag of a transcript you hold. While the session has not changed, the answer is 304 with no body, and its machine does not send the transcript again. */
|
|
50816
|
+
"If-None-Match"?: string;
|
|
50817
|
+
};
|
|
49547
50818
|
path: {
|
|
49548
50819
|
/** @description Machine id from the machines list. */
|
|
49549
50820
|
machine: string;
|
|
@@ -49552,19 +50823,17 @@ export interface operations {
|
|
|
49552
50823
|
};
|
|
49553
50824
|
cookie?: never;
|
|
49554
50825
|
};
|
|
49555
|
-
requestBody
|
|
49556
|
-
content: {
|
|
49557
|
-
"application/json": components["schemas"]["AgentShellBody"];
|
|
49558
|
-
};
|
|
49559
|
-
};
|
|
50826
|
+
requestBody?: never;
|
|
49560
50827
|
responses: {
|
|
49561
50828
|
/** @description OK */
|
|
49562
50829
|
200: {
|
|
49563
50830
|
headers: {
|
|
50831
|
+
"Cache-Control"?: string;
|
|
50832
|
+
ETag?: string;
|
|
49564
50833
|
[name: string]: unknown;
|
|
49565
50834
|
};
|
|
49566
50835
|
content: {
|
|
49567
|
-
"application/json": components["schemas"]["
|
|
50836
|
+
"application/json": components["schemas"]["AgentTranscript"];
|
|
49568
50837
|
};
|
|
49569
50838
|
};
|
|
49570
50839
|
/** @description Error */
|
|
@@ -49578,7 +50847,7 @@ export interface operations {
|
|
|
49578
50847
|
};
|
|
49579
50848
|
};
|
|
49580
50849
|
};
|
|
49581
|
-
"
|
|
50850
|
+
"get-agent-session-worktree": {
|
|
49582
50851
|
parameters: {
|
|
49583
50852
|
query?: never;
|
|
49584
50853
|
header?: never;
|
|
@@ -49592,12 +50861,14 @@ export interface operations {
|
|
|
49592
50861
|
};
|
|
49593
50862
|
requestBody?: never;
|
|
49594
50863
|
responses: {
|
|
49595
|
-
/** @description
|
|
49596
|
-
|
|
50864
|
+
/** @description OK */
|
|
50865
|
+
200: {
|
|
49597
50866
|
headers: {
|
|
49598
50867
|
[name: string]: unknown;
|
|
49599
50868
|
};
|
|
49600
|
-
content
|
|
50869
|
+
content: {
|
|
50870
|
+
"application/json": components["schemas"]["AgentSessionWorktree"];
|
|
50871
|
+
};
|
|
49601
50872
|
};
|
|
49602
50873
|
/** @description Error */
|
|
49603
50874
|
default: {
|
|
@@ -49610,7 +50881,7 @@ export interface operations {
|
|
|
49610
50881
|
};
|
|
49611
50882
|
};
|
|
49612
50883
|
};
|
|
49613
|
-
"
|
|
50884
|
+
"leave-agent-session-worktree": {
|
|
49614
50885
|
parameters: {
|
|
49615
50886
|
query?: never;
|
|
49616
50887
|
header?: never;
|
|
@@ -49624,17 +50895,17 @@ export interface operations {
|
|
|
49624
50895
|
};
|
|
49625
50896
|
requestBody: {
|
|
49626
50897
|
content: {
|
|
49627
|
-
"application/json": components["schemas"]["
|
|
50898
|
+
"application/json": components["schemas"]["AgentLeaveWorktreeBody"];
|
|
49628
50899
|
};
|
|
49629
50900
|
};
|
|
49630
50901
|
responses: {
|
|
49631
|
-
/** @description
|
|
49632
|
-
|
|
50902
|
+
/** @description OK */
|
|
50903
|
+
200: {
|
|
49633
50904
|
headers: {
|
|
49634
50905
|
[name: string]: unknown;
|
|
49635
50906
|
};
|
|
49636
50907
|
content: {
|
|
49637
|
-
"application/json": components["schemas"]["
|
|
50908
|
+
"application/json": components["schemas"]["AgentWorktreeLeft"];
|
|
49638
50909
|
};
|
|
49639
50910
|
};
|
|
49640
50911
|
/** @description Error */
|
|
@@ -49651,7 +50922,10 @@ export interface operations {
|
|
|
49651
50922
|
"list-agent-sessions": {
|
|
49652
50923
|
parameters: {
|
|
49653
50924
|
query?: never;
|
|
49654
|
-
header?:
|
|
50925
|
+
header?: {
|
|
50926
|
+
/** @description The ETag of a listing you hold. While nothing in it has changed, the answer is 304 with no body, and the machines are not asked to send their sessions again. */
|
|
50927
|
+
"If-None-Match"?: string;
|
|
50928
|
+
};
|
|
49655
50929
|
path?: never;
|
|
49656
50930
|
cookie?: never;
|
|
49657
50931
|
};
|
|
@@ -49660,6 +50934,8 @@ export interface operations {
|
|
|
49660
50934
|
/** @description OK */
|
|
49661
50935
|
200: {
|
|
49662
50936
|
headers: {
|
|
50937
|
+
"Cache-Control"?: string;
|
|
50938
|
+
ETag?: string;
|
|
49663
50939
|
[name: string]: unknown;
|
|
49664
50940
|
};
|
|
49665
50941
|
content: {
|