@kilocode/sdk 7.3.53 → 7.3.63
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/gen/types.gen.d.ts +8 -0
- package/dist/v2/gen/sdk.gen.d.ts +176 -1
- package/dist/v2/gen/sdk.gen.js +384 -0
- package/dist/v2/gen/types.gen.d.ts +942 -61
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -3899,6 +3899,124 @@ export class Indexing extends HeyApiClient {
|
|
|
3899
3899
|
});
|
|
3900
3900
|
}
|
|
3901
3901
|
}
|
|
3902
|
+
export class InteractiveTerminal extends HeyApiClient {
|
|
3903
|
+
/**
|
|
3904
|
+
* List interactive terminals
|
|
3905
|
+
*
|
|
3906
|
+
* List active human-driven terminal sessions for the current instance.
|
|
3907
|
+
*/
|
|
3908
|
+
list(parameters, options) {
|
|
3909
|
+
const params = buildClientParams([parameters], [
|
|
3910
|
+
{
|
|
3911
|
+
args: [
|
|
3912
|
+
{ in: "query", key: "directory" },
|
|
3913
|
+
{ in: "query", key: "workspace" },
|
|
3914
|
+
],
|
|
3915
|
+
},
|
|
3916
|
+
]);
|
|
3917
|
+
return (options?.client ?? this.client).get({
|
|
3918
|
+
url: "/interactive-terminal",
|
|
3919
|
+
...options,
|
|
3920
|
+
...params,
|
|
3921
|
+
});
|
|
3922
|
+
}
|
|
3923
|
+
/**
|
|
3924
|
+
* Get interactive terminal
|
|
3925
|
+
*
|
|
3926
|
+
* Get metadata and retained output for an active interactive terminal.
|
|
3927
|
+
*/
|
|
3928
|
+
get(parameters, options) {
|
|
3929
|
+
const params = buildClientParams([parameters], [
|
|
3930
|
+
{
|
|
3931
|
+
args: [
|
|
3932
|
+
{ in: "path", key: "terminalID" },
|
|
3933
|
+
{ in: "query", key: "directory" },
|
|
3934
|
+
{ in: "query", key: "workspace" },
|
|
3935
|
+
],
|
|
3936
|
+
},
|
|
3937
|
+
]);
|
|
3938
|
+
return (options?.client ?? this.client).get({
|
|
3939
|
+
url: "/interactive-terminal/{terminalID}",
|
|
3940
|
+
...options,
|
|
3941
|
+
...params,
|
|
3942
|
+
});
|
|
3943
|
+
}
|
|
3944
|
+
/**
|
|
3945
|
+
* Write interactive terminal input
|
|
3946
|
+
*
|
|
3947
|
+
* Send raw keyboard input to an active interactive terminal.
|
|
3948
|
+
*/
|
|
3949
|
+
write(parameters, options) {
|
|
3950
|
+
const params = buildClientParams([parameters], [
|
|
3951
|
+
{
|
|
3952
|
+
args: [
|
|
3953
|
+
{ in: "path", key: "terminalID" },
|
|
3954
|
+
{ in: "query", key: "directory" },
|
|
3955
|
+
{ in: "query", key: "workspace" },
|
|
3956
|
+
{ key: "interactiveTerminalWriteInput", map: "body" },
|
|
3957
|
+
],
|
|
3958
|
+
},
|
|
3959
|
+
]);
|
|
3960
|
+
return (options?.client ?? this.client).post({
|
|
3961
|
+
url: "/interactive-terminal/{terminalID}/input",
|
|
3962
|
+
...options,
|
|
3963
|
+
...params,
|
|
3964
|
+
headers: {
|
|
3965
|
+
"Content-Type": "application/json",
|
|
3966
|
+
...options?.headers,
|
|
3967
|
+
...params.headers,
|
|
3968
|
+
},
|
|
3969
|
+
});
|
|
3970
|
+
}
|
|
3971
|
+
/**
|
|
3972
|
+
* Resize interactive terminal
|
|
3973
|
+
*
|
|
3974
|
+
* Resize an active interactive terminal's PTY.
|
|
3975
|
+
*/
|
|
3976
|
+
resize(parameters, options) {
|
|
3977
|
+
const params = buildClientParams([parameters], [
|
|
3978
|
+
{
|
|
3979
|
+
args: [
|
|
3980
|
+
{ in: "path", key: "terminalID" },
|
|
3981
|
+
{ in: "query", key: "directory" },
|
|
3982
|
+
{ in: "query", key: "workspace" },
|
|
3983
|
+
{ key: "interactiveTerminalResizeInput", map: "body" },
|
|
3984
|
+
],
|
|
3985
|
+
},
|
|
3986
|
+
]);
|
|
3987
|
+
return (options?.client ?? this.client).post({
|
|
3988
|
+
url: "/interactive-terminal/{terminalID}/resize",
|
|
3989
|
+
...options,
|
|
3990
|
+
...params,
|
|
3991
|
+
headers: {
|
|
3992
|
+
"Content-Type": "application/json",
|
|
3993
|
+
...options?.headers,
|
|
3994
|
+
...params.headers,
|
|
3995
|
+
},
|
|
3996
|
+
});
|
|
3997
|
+
}
|
|
3998
|
+
/**
|
|
3999
|
+
* Close interactive terminal
|
|
4000
|
+
*
|
|
4001
|
+
* Terminate an active interactive terminal and unblock its tool call.
|
|
4002
|
+
*/
|
|
4003
|
+
close(parameters, options) {
|
|
4004
|
+
const params = buildClientParams([parameters], [
|
|
4005
|
+
{
|
|
4006
|
+
args: [
|
|
4007
|
+
{ in: "path", key: "terminalID" },
|
|
4008
|
+
{ in: "query", key: "directory" },
|
|
4009
|
+
{ in: "query", key: "workspace" },
|
|
4010
|
+
],
|
|
4011
|
+
},
|
|
4012
|
+
]);
|
|
4013
|
+
return (options?.client ?? this.client).post({
|
|
4014
|
+
url: "/interactive-terminal/{terminalID}/close",
|
|
4015
|
+
...options,
|
|
4016
|
+
...params,
|
|
4017
|
+
});
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
3902
4020
|
export class Audio extends HeyApiClient {
|
|
3903
4021
|
/**
|
|
3904
4022
|
* Speech to text transcription
|
|
@@ -4266,6 +4384,82 @@ export class Heap extends HeyApiClient {
|
|
|
4266
4384
|
});
|
|
4267
4385
|
}
|
|
4268
4386
|
}
|
|
4387
|
+
export class Notebook extends HeyApiClient {
|
|
4388
|
+
/**
|
|
4389
|
+
* List pending notebook requests
|
|
4390
|
+
*
|
|
4391
|
+
* List pending native notebook requests for the routed workspace.
|
|
4392
|
+
*/
|
|
4393
|
+
list(parameters, options) {
|
|
4394
|
+
const params = buildClientParams([parameters], [
|
|
4395
|
+
{
|
|
4396
|
+
args: [
|
|
4397
|
+
{ in: "query", key: "directory" },
|
|
4398
|
+
{ in: "query", key: "workspace" },
|
|
4399
|
+
],
|
|
4400
|
+
},
|
|
4401
|
+
]);
|
|
4402
|
+
return (options?.client ?? this.client).get({
|
|
4403
|
+
url: "/kilocode/notebook",
|
|
4404
|
+
...options,
|
|
4405
|
+
...params,
|
|
4406
|
+
});
|
|
4407
|
+
}
|
|
4408
|
+
/**
|
|
4409
|
+
* Reply to a notebook request
|
|
4410
|
+
*
|
|
4411
|
+
* Complete a pending native notebook request with a structured result.
|
|
4412
|
+
*/
|
|
4413
|
+
reply(parameters, options) {
|
|
4414
|
+
const params = buildClientParams([parameters], [
|
|
4415
|
+
{
|
|
4416
|
+
args: [
|
|
4417
|
+
{ in: "path", key: "requestID" },
|
|
4418
|
+
{ in: "query", key: "directory" },
|
|
4419
|
+
{ in: "query", key: "workspace" },
|
|
4420
|
+
{ in: "body", key: "result" },
|
|
4421
|
+
],
|
|
4422
|
+
},
|
|
4423
|
+
]);
|
|
4424
|
+
return (options?.client ?? this.client).post({
|
|
4425
|
+
url: "/kilocode/notebook/{requestID}/reply",
|
|
4426
|
+
...options,
|
|
4427
|
+
...params,
|
|
4428
|
+
headers: {
|
|
4429
|
+
"Content-Type": "application/json",
|
|
4430
|
+
...options?.headers,
|
|
4431
|
+
...params.headers,
|
|
4432
|
+
},
|
|
4433
|
+
});
|
|
4434
|
+
}
|
|
4435
|
+
/**
|
|
4436
|
+
* Reject a notebook request
|
|
4437
|
+
*
|
|
4438
|
+
* Complete a pending native notebook request with a structured host error.
|
|
4439
|
+
*/
|
|
4440
|
+
reject(parameters, options) {
|
|
4441
|
+
const params = buildClientParams([parameters], [
|
|
4442
|
+
{
|
|
4443
|
+
args: [
|
|
4444
|
+
{ in: "path", key: "requestID" },
|
|
4445
|
+
{ in: "query", key: "directory" },
|
|
4446
|
+
{ in: "query", key: "workspace" },
|
|
4447
|
+
{ in: "body", key: "error" },
|
|
4448
|
+
],
|
|
4449
|
+
},
|
|
4450
|
+
]);
|
|
4451
|
+
return (options?.client ?? this.client).post({
|
|
4452
|
+
url: "/kilocode/notebook/{requestID}/reject",
|
|
4453
|
+
...options,
|
|
4454
|
+
...params,
|
|
4455
|
+
headers: {
|
|
4456
|
+
"Content-Type": "application/json",
|
|
4457
|
+
...options?.headers,
|
|
4458
|
+
...params.headers,
|
|
4459
|
+
},
|
|
4460
|
+
});
|
|
4461
|
+
}
|
|
4462
|
+
}
|
|
4269
4463
|
export class SessionImport extends HeyApiClient {
|
|
4270
4464
|
/**
|
|
4271
4465
|
* Insert project for session import
|
|
@@ -4414,6 +4608,27 @@ export class SessionImport extends HeyApiClient {
|
|
|
4414
4608
|
}
|
|
4415
4609
|
}
|
|
4416
4610
|
export class Kilocode extends HeyApiClient {
|
|
4611
|
+
/**
|
|
4612
|
+
* Check agent requirements
|
|
4613
|
+
*
|
|
4614
|
+
* Check whether the selected agent's requirements are available in the request directory.
|
|
4615
|
+
*/
|
|
4616
|
+
agentRequirements(parameters, options) {
|
|
4617
|
+
const params = buildClientParams([parameters], [
|
|
4618
|
+
{
|
|
4619
|
+
args: [
|
|
4620
|
+
{ in: "query", key: "directory" },
|
|
4621
|
+
{ in: "query", key: "workspace" },
|
|
4622
|
+
{ in: "query", key: "agent" },
|
|
4623
|
+
],
|
|
4624
|
+
},
|
|
4625
|
+
]);
|
|
4626
|
+
return (options?.client ?? this.client).get({
|
|
4627
|
+
url: "/kilocode/agent/requirements",
|
|
4628
|
+
...options,
|
|
4629
|
+
...params,
|
|
4630
|
+
});
|
|
4631
|
+
}
|
|
4417
4632
|
/**
|
|
4418
4633
|
* Remove a skill
|
|
4419
4634
|
*
|
|
@@ -4466,15 +4681,108 @@ export class Kilocode extends HeyApiClient {
|
|
|
4466
4681
|
},
|
|
4467
4682
|
});
|
|
4468
4683
|
}
|
|
4684
|
+
/**
|
|
4685
|
+
* Get session model usage
|
|
4686
|
+
*
|
|
4687
|
+
* Get token usage and direct cost by model for the complete top-level session tree.
|
|
4688
|
+
*/
|
|
4689
|
+
sessionModelUsage(parameters, options) {
|
|
4690
|
+
const params = buildClientParams([parameters], [
|
|
4691
|
+
{
|
|
4692
|
+
args: [
|
|
4693
|
+
{ in: "path", key: "sessionID" },
|
|
4694
|
+
{ in: "query", key: "directory" },
|
|
4695
|
+
{ in: "query", key: "workspace" },
|
|
4696
|
+
],
|
|
4697
|
+
},
|
|
4698
|
+
]);
|
|
4699
|
+
return (options?.client ?? this.client).get({
|
|
4700
|
+
url: "/session/{sessionID}/model-usage",
|
|
4701
|
+
...options,
|
|
4702
|
+
...params,
|
|
4703
|
+
});
|
|
4704
|
+
}
|
|
4469
4705
|
_heap;
|
|
4470
4706
|
get heap() {
|
|
4471
4707
|
return (this._heap ??= new Heap({ client: this.client }));
|
|
4472
4708
|
}
|
|
4709
|
+
_notebook;
|
|
4710
|
+
get notebook() {
|
|
4711
|
+
return (this._notebook ??= new Notebook({ client: this.client }));
|
|
4712
|
+
}
|
|
4473
4713
|
_sessionImport;
|
|
4474
4714
|
get sessionImport() {
|
|
4475
4715
|
return (this._sessionImport ??= new SessionImport({ client: this.client }));
|
|
4476
4716
|
}
|
|
4477
4717
|
}
|
|
4718
|
+
export class AnacondaDesktop extends HeyApiClient {
|
|
4719
|
+
/**
|
|
4720
|
+
* Get Anaconda Desktop setup status
|
|
4721
|
+
*
|
|
4722
|
+
* Discover the locally installed Anaconda Desktop and its active inference server.
|
|
4723
|
+
*/
|
|
4724
|
+
status(parameters, options) {
|
|
4725
|
+
const params = buildClientParams([parameters], [
|
|
4726
|
+
{
|
|
4727
|
+
args: [
|
|
4728
|
+
{ in: "query", key: "directory" },
|
|
4729
|
+
{ in: "query", key: "workspace" },
|
|
4730
|
+
],
|
|
4731
|
+
},
|
|
4732
|
+
]);
|
|
4733
|
+
return (options?.client ?? this.client).get({
|
|
4734
|
+
url: "/kilocode/anaconda-desktop/status",
|
|
4735
|
+
...options,
|
|
4736
|
+
...params,
|
|
4737
|
+
});
|
|
4738
|
+
}
|
|
4739
|
+
/**
|
|
4740
|
+
* Open Anaconda Desktop
|
|
4741
|
+
*
|
|
4742
|
+
* Open the locally installed Anaconda Desktop application.
|
|
4743
|
+
*/
|
|
4744
|
+
open(parameters, options) {
|
|
4745
|
+
const params = buildClientParams([parameters], [
|
|
4746
|
+
{
|
|
4747
|
+
args: [
|
|
4748
|
+
{ in: "query", key: "directory" },
|
|
4749
|
+
{ in: "query", key: "workspace" },
|
|
4750
|
+
],
|
|
4751
|
+
},
|
|
4752
|
+
]);
|
|
4753
|
+
return (options?.client ?? this.client).post({
|
|
4754
|
+
url: "/kilocode/anaconda-desktop/open",
|
|
4755
|
+
...options,
|
|
4756
|
+
...params,
|
|
4757
|
+
});
|
|
4758
|
+
}
|
|
4759
|
+
/**
|
|
4760
|
+
* Synchronize Anaconda Desktop provider
|
|
4761
|
+
*
|
|
4762
|
+
* Discover the active local inference server and replace Kilo provider authentication metadata.
|
|
4763
|
+
*/
|
|
4764
|
+
sync(parameters, options) {
|
|
4765
|
+
const params = buildClientParams([parameters], [
|
|
4766
|
+
{
|
|
4767
|
+
args: [
|
|
4768
|
+
{ in: "query", key: "directory" },
|
|
4769
|
+
{ in: "query", key: "workspace" },
|
|
4770
|
+
{ in: "body", key: "acknowledgeToolLimitations" },
|
|
4771
|
+
],
|
|
4772
|
+
},
|
|
4773
|
+
]);
|
|
4774
|
+
return (options?.client ?? this.client).post({
|
|
4775
|
+
url: "/kilocode/anaconda-desktop/sync",
|
|
4776
|
+
...options,
|
|
4777
|
+
...params,
|
|
4778
|
+
headers: {
|
|
4779
|
+
"Content-Type": "application/json",
|
|
4780
|
+
...options?.headers,
|
|
4781
|
+
...params.headers,
|
|
4782
|
+
},
|
|
4783
|
+
});
|
|
4784
|
+
}
|
|
4785
|
+
}
|
|
4478
4786
|
export class Network extends HeyApiClient {
|
|
4479
4787
|
/**
|
|
4480
4788
|
* List pending network waits
|
|
@@ -4601,6 +4909,70 @@ export class Remote extends HeyApiClient {
|
|
|
4601
4909
|
});
|
|
4602
4910
|
}
|
|
4603
4911
|
}
|
|
4912
|
+
export class Sandbox extends HeyApiClient {
|
|
4913
|
+
/**
|
|
4914
|
+
* Get sandbox backend support
|
|
4915
|
+
*
|
|
4916
|
+
* Get sandbox backend availability without creating a session.
|
|
4917
|
+
*/
|
|
4918
|
+
support(parameters, options) {
|
|
4919
|
+
const params = buildClientParams([parameters], [
|
|
4920
|
+
{
|
|
4921
|
+
args: [
|
|
4922
|
+
{ in: "query", key: "directory" },
|
|
4923
|
+
{ in: "query", key: "workspace" },
|
|
4924
|
+
],
|
|
4925
|
+
},
|
|
4926
|
+
]);
|
|
4927
|
+
return (options?.client ?? this.client).get({
|
|
4928
|
+
url: "/sandbox/support",
|
|
4929
|
+
...options,
|
|
4930
|
+
...params,
|
|
4931
|
+
});
|
|
4932
|
+
}
|
|
4933
|
+
/**
|
|
4934
|
+
* Get session sandbox status
|
|
4935
|
+
*
|
|
4936
|
+
* Get the effective sandbox state for one session.
|
|
4937
|
+
*/
|
|
4938
|
+
status(parameters, options) {
|
|
4939
|
+
const params = buildClientParams([parameters], [
|
|
4940
|
+
{
|
|
4941
|
+
args: [
|
|
4942
|
+
{ in: "path", key: "sessionID" },
|
|
4943
|
+
{ in: "query", key: "directory" },
|
|
4944
|
+
{ in: "query", key: "workspace" },
|
|
4945
|
+
],
|
|
4946
|
+
},
|
|
4947
|
+
]);
|
|
4948
|
+
return (options?.client ?? this.client).get({
|
|
4949
|
+
url: "/session/{sessionID}/sandbox",
|
|
4950
|
+
...options,
|
|
4951
|
+
...params,
|
|
4952
|
+
});
|
|
4953
|
+
}
|
|
4954
|
+
/**
|
|
4955
|
+
* Toggle session sandbox
|
|
4956
|
+
*
|
|
4957
|
+
* Toggle and persist the sandbox state for one session.
|
|
4958
|
+
*/
|
|
4959
|
+
toggle(parameters, options) {
|
|
4960
|
+
const params = buildClientParams([parameters], [
|
|
4961
|
+
{
|
|
4962
|
+
args: [
|
|
4963
|
+
{ in: "path", key: "sessionID" },
|
|
4964
|
+
{ in: "query", key: "directory" },
|
|
4965
|
+
{ in: "query", key: "workspace" },
|
|
4966
|
+
],
|
|
4967
|
+
},
|
|
4968
|
+
]);
|
|
4969
|
+
return (options?.client ?? this.client).post({
|
|
4970
|
+
url: "/session/{sessionID}/sandbox/toggle",
|
|
4971
|
+
...options,
|
|
4972
|
+
...params,
|
|
4973
|
+
});
|
|
4974
|
+
}
|
|
4975
|
+
}
|
|
4604
4976
|
export class Suggestion extends HeyApiClient {
|
|
4605
4977
|
/**
|
|
4606
4978
|
* List pending suggestions
|
|
@@ -4860,6 +5232,10 @@ export class KiloClient extends HeyApiClient {
|
|
|
4860
5232
|
get indexing() {
|
|
4861
5233
|
return (this._indexing ??= new Indexing({ client: this.client }));
|
|
4862
5234
|
}
|
|
5235
|
+
_interactiveTerminal;
|
|
5236
|
+
get interactiveTerminal() {
|
|
5237
|
+
return (this._interactiveTerminal ??= new InteractiveTerminal({ client: this.client }));
|
|
5238
|
+
}
|
|
4863
5239
|
_kilo;
|
|
4864
5240
|
get kilo() {
|
|
4865
5241
|
return (this._kilo ??= new Kilo({ client: this.client }));
|
|
@@ -4868,6 +5244,10 @@ export class KiloClient extends HeyApiClient {
|
|
|
4868
5244
|
get kilocode() {
|
|
4869
5245
|
return (this._kilocode ??= new Kilocode({ client: this.client }));
|
|
4870
5246
|
}
|
|
5247
|
+
_anacondaDesktop;
|
|
5248
|
+
get anacondaDesktop() {
|
|
5249
|
+
return (this._anacondaDesktop ??= new AnacondaDesktop({ client: this.client }));
|
|
5250
|
+
}
|
|
4871
5251
|
_network;
|
|
4872
5252
|
get network() {
|
|
4873
5253
|
return (this._network ??= new Network({ client: this.client }));
|
|
@@ -4876,6 +5256,10 @@ export class KiloClient extends HeyApiClient {
|
|
|
4876
5256
|
get remote() {
|
|
4877
5257
|
return (this._remote ??= new Remote({ client: this.client }));
|
|
4878
5258
|
}
|
|
5259
|
+
_sandbox;
|
|
5260
|
+
get sandbox() {
|
|
5261
|
+
return (this._sandbox ??= new Sandbox({ client: this.client }));
|
|
5262
|
+
}
|
|
4879
5263
|
_suggestion;
|
|
4880
5264
|
get suggestion() {
|
|
4881
5265
|
return (this._suggestion ??= new Suggestion({ client: this.client }));
|