@kilocode/sdk 7.0.48 → 7.0.49
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/v2/gen/sdk.gen.d.ts +19 -19
- package/dist/v2/gen/sdk.gen.js +19 -19
- package/dist/v2/gen/types.gen.d.ts +4 -4
- package/package.json +7 -28
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -29,13 +29,13 @@ export declare class Config extends HeyApiClient {
|
|
|
29
29
|
/**
|
|
30
30
|
* Get global configuration
|
|
31
31
|
*
|
|
32
|
-
* Retrieve the current global
|
|
32
|
+
* Retrieve the current global Kilo configuration settings and preferences.
|
|
33
33
|
*/
|
|
34
34
|
get<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalConfigGetResponses, unknown, ThrowOnError, "fields">;
|
|
35
35
|
/**
|
|
36
36
|
* Update global configuration
|
|
37
37
|
*
|
|
38
|
-
* Update global
|
|
38
|
+
* Update global Kilo configuration settings and preferences.
|
|
39
39
|
*/
|
|
40
40
|
update<ThrowOnError extends boolean = false>(parameters?: {
|
|
41
41
|
config?: Config3;
|
|
@@ -45,19 +45,19 @@ export declare class Global extends HeyApiClient {
|
|
|
45
45
|
/**
|
|
46
46
|
* Get health
|
|
47
47
|
*
|
|
48
|
-
* Get health information about the
|
|
48
|
+
* Get health information about the Kilo server.
|
|
49
49
|
*/
|
|
50
50
|
health<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalHealthResponses, unknown, ThrowOnError, "fields">;
|
|
51
51
|
/**
|
|
52
52
|
* Get global events
|
|
53
53
|
*
|
|
54
|
-
* Subscribe to global events from the
|
|
54
|
+
* Subscribe to global events from the Kilo system using server-sent events.
|
|
55
55
|
*/
|
|
56
56
|
event<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<GlobalEventResponses, unknown>>;
|
|
57
57
|
/**
|
|
58
58
|
* Dispose instance
|
|
59
59
|
*
|
|
60
|
-
* Clean up and dispose all
|
|
60
|
+
* Clean up and dispose all Kilo instances, releasing all resources.
|
|
61
61
|
*/
|
|
62
62
|
dispose<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalDisposeResponses, unknown, ThrowOnError, "fields">;
|
|
63
63
|
private _config?;
|
|
@@ -86,7 +86,7 @@ export declare class Project extends HeyApiClient {
|
|
|
86
86
|
/**
|
|
87
87
|
* List all projects
|
|
88
88
|
*
|
|
89
|
-
* Get a list of projects that have been opened with
|
|
89
|
+
* Get a list of projects that have been opened with Kilo.
|
|
90
90
|
*/
|
|
91
91
|
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
92
92
|
directory?: string;
|
|
@@ -95,7 +95,7 @@ export declare class Project extends HeyApiClient {
|
|
|
95
95
|
/**
|
|
96
96
|
* Get current project
|
|
97
97
|
*
|
|
98
|
-
* Retrieve the currently active project that
|
|
98
|
+
* Retrieve the currently active project that Kilo is working with.
|
|
99
99
|
*/
|
|
100
100
|
current<ThrowOnError extends boolean = false>(parameters?: {
|
|
101
101
|
directory?: string;
|
|
@@ -128,7 +128,7 @@ export declare class Pty extends HeyApiClient {
|
|
|
128
128
|
/**
|
|
129
129
|
* List PTY sessions
|
|
130
130
|
*
|
|
131
|
-
* Get a list of all active pseudo-terminal (PTY) sessions managed by
|
|
131
|
+
* Get a list of all active pseudo-terminal (PTY) sessions managed by Kilo.
|
|
132
132
|
*/
|
|
133
133
|
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
134
134
|
directory?: string;
|
|
@@ -200,7 +200,7 @@ export declare class Config2 extends HeyApiClient {
|
|
|
200
200
|
/**
|
|
201
201
|
* Get configuration
|
|
202
202
|
*
|
|
203
|
-
* Retrieve the current
|
|
203
|
+
* Retrieve the current Kilo configuration settings and preferences.
|
|
204
204
|
*/
|
|
205
205
|
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
206
206
|
directory?: string;
|
|
@@ -209,7 +209,7 @@ export declare class Config2 extends HeyApiClient {
|
|
|
209
209
|
/**
|
|
210
210
|
* Update configuration
|
|
211
211
|
*
|
|
212
|
-
* Update
|
|
212
|
+
* Update Kilo configuration settings and preferences.
|
|
213
213
|
*/
|
|
214
214
|
update<ThrowOnError extends boolean = false>(parameters?: {
|
|
215
215
|
directory?: string;
|
|
@@ -286,7 +286,7 @@ export declare class Session extends HeyApiClient {
|
|
|
286
286
|
/**
|
|
287
287
|
* List sessions
|
|
288
288
|
*
|
|
289
|
-
* Get a list of all
|
|
289
|
+
* Get a list of all Kilo sessions across projects, sorted by most recently updated. Archived sessions are excluded by default.
|
|
290
290
|
*/
|
|
291
291
|
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
292
292
|
directory?: string;
|
|
@@ -394,7 +394,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
394
394
|
/**
|
|
395
395
|
* List sessions
|
|
396
396
|
*
|
|
397
|
-
* Get a list of all
|
|
397
|
+
* Get a list of all Kilo sessions, sorted by most recently updated.
|
|
398
398
|
*/
|
|
399
399
|
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
400
400
|
directory?: string;
|
|
@@ -407,7 +407,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
407
407
|
/**
|
|
408
408
|
* Create session
|
|
409
409
|
*
|
|
410
|
-
* Create a new
|
|
410
|
+
* Create a new Kilo session for interacting with AI assistants and managing conversations.
|
|
411
411
|
*/
|
|
412
412
|
create<ThrowOnError extends boolean = false>(parameters?: {
|
|
413
413
|
directory?: string;
|
|
@@ -439,7 +439,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
439
439
|
/**
|
|
440
440
|
* Get session
|
|
441
441
|
*
|
|
442
|
-
* Retrieve detailed information about a specific
|
|
442
|
+
* Retrieve detailed information about a specific Kilo session.
|
|
443
443
|
*/
|
|
444
444
|
get<ThrowOnError extends boolean = false>(parameters: {
|
|
445
445
|
sessionID: string;
|
|
@@ -1303,7 +1303,7 @@ export declare class Instance extends HeyApiClient {
|
|
|
1303
1303
|
/**
|
|
1304
1304
|
* Dispose instance
|
|
1305
1305
|
*
|
|
1306
|
-
* Clean up and dispose the current
|
|
1306
|
+
* Clean up and dispose the current Kilo instance, releasing all resources.
|
|
1307
1307
|
*/
|
|
1308
1308
|
dispose<ThrowOnError extends boolean = false>(parameters?: {
|
|
1309
1309
|
directory?: string;
|
|
@@ -1314,7 +1314,7 @@ export declare class Path extends HeyApiClient {
|
|
|
1314
1314
|
/**
|
|
1315
1315
|
* Get paths
|
|
1316
1316
|
*
|
|
1317
|
-
* Retrieve the current working directory and related path information for the
|
|
1317
|
+
* Retrieve the current working directory and related path information for the Kilo instance.
|
|
1318
1318
|
*/
|
|
1319
1319
|
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
1320
1320
|
directory?: string;
|
|
@@ -1336,7 +1336,7 @@ export declare class Command extends HeyApiClient {
|
|
|
1336
1336
|
/**
|
|
1337
1337
|
* List commands
|
|
1338
1338
|
*
|
|
1339
|
-
* Get a list of all available commands in the
|
|
1339
|
+
* Get a list of all available commands in the Kilo system.
|
|
1340
1340
|
*/
|
|
1341
1341
|
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1342
1342
|
directory?: string;
|
|
@@ -1362,7 +1362,7 @@ export declare class App extends HeyApiClient {
|
|
|
1362
1362
|
/**
|
|
1363
1363
|
* List agents
|
|
1364
1364
|
*
|
|
1365
|
-
* Get a list of all available AI agents in the
|
|
1365
|
+
* Get a list of all available AI agents in the Kilo system.
|
|
1366
1366
|
*/
|
|
1367
1367
|
agents<ThrowOnError extends boolean = false>(parameters?: {
|
|
1368
1368
|
directory?: string;
|
|
@@ -1371,7 +1371,7 @@ export declare class App extends HeyApiClient {
|
|
|
1371
1371
|
/**
|
|
1372
1372
|
* List skills
|
|
1373
1373
|
*
|
|
1374
|
-
* Get a list of all available skills in the
|
|
1374
|
+
* Get a list of all available skills in the Kilo system.
|
|
1375
1375
|
*/
|
|
1376
1376
|
skills<ThrowOnError extends boolean = false>(parameters?: {
|
|
1377
1377
|
directory?: string;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -25,7 +25,7 @@ export class Config extends HeyApiClient {
|
|
|
25
25
|
/**
|
|
26
26
|
* Get global configuration
|
|
27
27
|
*
|
|
28
|
-
* Retrieve the current global
|
|
28
|
+
* Retrieve the current global Kilo configuration settings and preferences.
|
|
29
29
|
*/
|
|
30
30
|
get(options) {
|
|
31
31
|
return (options?.client ?? this.client).get({
|
|
@@ -36,7 +36,7 @@ export class Config extends HeyApiClient {
|
|
|
36
36
|
/**
|
|
37
37
|
* Update global configuration
|
|
38
38
|
*
|
|
39
|
-
* Update global
|
|
39
|
+
* Update global Kilo configuration settings and preferences.
|
|
40
40
|
*/
|
|
41
41
|
update(parameters, options) {
|
|
42
42
|
const params = buildClientParams([parameters], [{ args: [{ key: "config", map: "body" }] }]);
|
|
@@ -56,7 +56,7 @@ export class Global extends HeyApiClient {
|
|
|
56
56
|
/**
|
|
57
57
|
* Get health
|
|
58
58
|
*
|
|
59
|
-
* Get health information about the
|
|
59
|
+
* Get health information about the Kilo server.
|
|
60
60
|
*/
|
|
61
61
|
health(options) {
|
|
62
62
|
return (options?.client ?? this.client).get({
|
|
@@ -67,7 +67,7 @@ export class Global extends HeyApiClient {
|
|
|
67
67
|
/**
|
|
68
68
|
* Get global events
|
|
69
69
|
*
|
|
70
|
-
* Subscribe to global events from the
|
|
70
|
+
* Subscribe to global events from the Kilo system using server-sent events.
|
|
71
71
|
*/
|
|
72
72
|
event(options) {
|
|
73
73
|
return (options?.client ?? this.client).sse.get({
|
|
@@ -78,7 +78,7 @@ export class Global extends HeyApiClient {
|
|
|
78
78
|
/**
|
|
79
79
|
* Dispose instance
|
|
80
80
|
*
|
|
81
|
-
* Clean up and dispose all
|
|
81
|
+
* Clean up and dispose all Kilo instances, releasing all resources.
|
|
82
82
|
*/
|
|
83
83
|
dispose(options) {
|
|
84
84
|
return (options?.client ?? this.client).post({
|
|
@@ -135,7 +135,7 @@ export class Project extends HeyApiClient {
|
|
|
135
135
|
/**
|
|
136
136
|
* List all projects
|
|
137
137
|
*
|
|
138
|
-
* Get a list of projects that have been opened with
|
|
138
|
+
* Get a list of projects that have been opened with Kilo.
|
|
139
139
|
*/
|
|
140
140
|
list(parameters, options) {
|
|
141
141
|
const params = buildClientParams([parameters], [
|
|
@@ -155,7 +155,7 @@ export class Project extends HeyApiClient {
|
|
|
155
155
|
/**
|
|
156
156
|
* Get current project
|
|
157
157
|
*
|
|
158
|
-
* Retrieve the currently active project that
|
|
158
|
+
* Retrieve the currently active project that Kilo is working with.
|
|
159
159
|
*/
|
|
160
160
|
current(parameters, options) {
|
|
161
161
|
const params = buildClientParams([parameters], [
|
|
@@ -206,7 +206,7 @@ export class Pty extends HeyApiClient {
|
|
|
206
206
|
/**
|
|
207
207
|
* List PTY sessions
|
|
208
208
|
*
|
|
209
|
-
* Get a list of all active pseudo-terminal (PTY) sessions managed by
|
|
209
|
+
* Get a list of all active pseudo-terminal (PTY) sessions managed by Kilo.
|
|
210
210
|
*/
|
|
211
211
|
list(parameters, options) {
|
|
212
212
|
const params = buildClientParams([parameters], [
|
|
@@ -349,7 +349,7 @@ export class Config2 extends HeyApiClient {
|
|
|
349
349
|
/**
|
|
350
350
|
* Get configuration
|
|
351
351
|
*
|
|
352
|
-
* Retrieve the current
|
|
352
|
+
* Retrieve the current Kilo configuration settings and preferences.
|
|
353
353
|
*/
|
|
354
354
|
get(parameters, options) {
|
|
355
355
|
const params = buildClientParams([parameters], [
|
|
@@ -369,7 +369,7 @@ export class Config2 extends HeyApiClient {
|
|
|
369
369
|
/**
|
|
370
370
|
* Update configuration
|
|
371
371
|
*
|
|
372
|
-
* Update
|
|
372
|
+
* Update Kilo configuration settings and preferences.
|
|
373
373
|
*/
|
|
374
374
|
update(parameters, options) {
|
|
375
375
|
const params = buildClientParams([parameters], [
|
|
@@ -533,7 +533,7 @@ export class Session extends HeyApiClient {
|
|
|
533
533
|
/**
|
|
534
534
|
* List sessions
|
|
535
535
|
*
|
|
536
|
-
* Get a list of all
|
|
536
|
+
* Get a list of all Kilo sessions across projects, sorted by most recently updated. Archived sessions are excluded by default.
|
|
537
537
|
*/
|
|
538
538
|
list(parameters, options) {
|
|
539
539
|
const params = buildClientParams([parameters], [
|
|
@@ -761,7 +761,7 @@ export class Session2 extends HeyApiClient {
|
|
|
761
761
|
/**
|
|
762
762
|
* List sessions
|
|
763
763
|
*
|
|
764
|
-
* Get a list of all
|
|
764
|
+
* Get a list of all Kilo sessions, sorted by most recently updated.
|
|
765
765
|
*/
|
|
766
766
|
list(parameters, options) {
|
|
767
767
|
const params = buildClientParams([parameters], [
|
|
@@ -785,7 +785,7 @@ export class Session2 extends HeyApiClient {
|
|
|
785
785
|
/**
|
|
786
786
|
* Create session
|
|
787
787
|
*
|
|
788
|
-
* Create a new
|
|
788
|
+
* Create a new Kilo session for interacting with AI assistants and managing conversations.
|
|
789
789
|
*/
|
|
790
790
|
create(parameters, options) {
|
|
791
791
|
const params = buildClientParams([parameters], [
|
|
@@ -855,7 +855,7 @@ export class Session2 extends HeyApiClient {
|
|
|
855
855
|
/**
|
|
856
856
|
* Get session
|
|
857
857
|
*
|
|
858
|
-
* Retrieve detailed information about a specific
|
|
858
|
+
* Retrieve detailed information about a specific Kilo session.
|
|
859
859
|
*/
|
|
860
860
|
get(parameters, options) {
|
|
861
861
|
const params = buildClientParams([parameters], [
|
|
@@ -2647,7 +2647,7 @@ export class Instance extends HeyApiClient {
|
|
|
2647
2647
|
/**
|
|
2648
2648
|
* Dispose instance
|
|
2649
2649
|
*
|
|
2650
|
-
* Clean up and dispose the current
|
|
2650
|
+
* Clean up and dispose the current Kilo instance, releasing all resources.
|
|
2651
2651
|
*/
|
|
2652
2652
|
dispose(parameters, options) {
|
|
2653
2653
|
const params = buildClientParams([parameters], [
|
|
@@ -2669,7 +2669,7 @@ export class Path extends HeyApiClient {
|
|
|
2669
2669
|
/**
|
|
2670
2670
|
* Get paths
|
|
2671
2671
|
*
|
|
2672
|
-
* Retrieve the current working directory and related path information for the
|
|
2672
|
+
* Retrieve the current working directory and related path information for the Kilo instance.
|
|
2673
2673
|
*/
|
|
2674
2674
|
get(parameters, options) {
|
|
2675
2675
|
const params = buildClientParams([parameters], [
|
|
@@ -2713,7 +2713,7 @@ export class Command extends HeyApiClient {
|
|
|
2713
2713
|
/**
|
|
2714
2714
|
* List commands
|
|
2715
2715
|
*
|
|
2716
|
-
* Get a list of all available commands in the
|
|
2716
|
+
* Get a list of all available commands in the Kilo system.
|
|
2717
2717
|
*/
|
|
2718
2718
|
list(parameters, options) {
|
|
2719
2719
|
const params = buildClientParams([parameters], [
|
|
@@ -2764,7 +2764,7 @@ export class App extends HeyApiClient {
|
|
|
2764
2764
|
/**
|
|
2765
2765
|
* List agents
|
|
2766
2766
|
*
|
|
2767
|
-
* Get a list of all available AI agents in the
|
|
2767
|
+
* Get a list of all available AI agents in the Kilo system.
|
|
2768
2768
|
*/
|
|
2769
2769
|
agents(parameters, options) {
|
|
2770
2770
|
const params = buildClientParams([parameters], [
|
|
@@ -2784,7 +2784,7 @@ export class App extends HeyApiClient {
|
|
|
2784
2784
|
/**
|
|
2785
2785
|
* List skills
|
|
2786
2786
|
*
|
|
2787
|
-
* Get a list of all available skills in the
|
|
2787
|
+
* Get a list of all available skills in the Kilo system.
|
|
2788
2788
|
*/
|
|
2789
2789
|
skills(parameters, options) {
|
|
2790
2790
|
const params = buildClientParams([parameters], [
|
|
@@ -845,7 +845,7 @@ export type GlobalEvent = {
|
|
|
845
845
|
*/
|
|
846
846
|
export type LogLevel = "DEBUG" | "INFO" | "WARN" | "ERROR";
|
|
847
847
|
/**
|
|
848
|
-
* Server configuration for
|
|
848
|
+
* Server configuration for kilo serve and web commands
|
|
849
849
|
*/
|
|
850
850
|
export type ServerConfig = {
|
|
851
851
|
/**
|
|
@@ -861,7 +861,7 @@ export type ServerConfig = {
|
|
|
861
861
|
*/
|
|
862
862
|
mdns?: boolean;
|
|
863
863
|
/**
|
|
864
|
-
* Custom domain name for mDNS service (default:
|
|
864
|
+
* Custom domain name for mDNS service (default: kilo.local)
|
|
865
865
|
*/
|
|
866
866
|
mdnsDomain?: string;
|
|
867
867
|
/**
|
|
@@ -1108,7 +1108,7 @@ export type Config = {
|
|
|
1108
1108
|
logLevel?: LogLevel;
|
|
1109
1109
|
server?: ServerConfig;
|
|
1110
1110
|
/**
|
|
1111
|
-
* Command configuration, see https://
|
|
1111
|
+
* Command configuration, see https://kilo.ai/docs/commands
|
|
1112
1112
|
*/
|
|
1113
1113
|
command?: {
|
|
1114
1114
|
[key: string]: {
|
|
@@ -1182,7 +1182,7 @@ export type Config = {
|
|
|
1182
1182
|
[key: string]: AgentConfig | undefined;
|
|
1183
1183
|
};
|
|
1184
1184
|
/**
|
|
1185
|
-
* Agent configuration, see https://
|
|
1185
|
+
* Agent configuration, see https://kilo.ai/docs/agents
|
|
1186
1186
|
*/
|
|
1187
1187
|
agent?: {
|
|
1188
1188
|
plan?: AgentConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@kilocode/sdk",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.49",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -27,34 +27,16 @@
|
|
|
27
27
|
"types": "./dist/server.d.ts"
|
|
28
28
|
},
|
|
29
29
|
"./v2": {
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
"types": "./dist/v2/index.d.d.ts"
|
|
33
|
-
},
|
|
34
|
-
"default": {
|
|
35
|
-
"import": "./dist/v2/index.js",
|
|
36
|
-
"types": "./dist/v2/index.d.ts"
|
|
37
|
-
}
|
|
30
|
+
"import": "./dist/v2/index.js",
|
|
31
|
+
"types": "./dist/v2/index.d.ts"
|
|
38
32
|
},
|
|
39
33
|
"./v2/client": {
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
"types": "./dist/v2/client.d.d.ts"
|
|
43
|
-
},
|
|
44
|
-
"default": {
|
|
45
|
-
"import": "./dist/v2/client.js",
|
|
46
|
-
"types": "./dist/v2/client.d.ts"
|
|
47
|
-
}
|
|
34
|
+
"import": "./dist/v2/client.js",
|
|
35
|
+
"types": "./dist/v2/client.d.ts"
|
|
48
36
|
},
|
|
49
37
|
"./v2/gen/client": {
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
"types": "./dist/v2/gen/client/index.d.d.ts"
|
|
53
|
-
},
|
|
54
|
-
"default": {
|
|
55
|
-
"import": "./dist/v2/gen/client/index.js",
|
|
56
|
-
"types": "./dist/v2/gen/client/index.d.ts"
|
|
57
|
-
}
|
|
38
|
+
"import": "./dist/v2/gen/client/index.js",
|
|
39
|
+
"types": "./dist/v2/gen/client/index.d.ts"
|
|
58
40
|
},
|
|
59
41
|
"./v2/server": {
|
|
60
42
|
"import": "./dist/v2/server.js",
|
|
@@ -72,8 +54,5 @@
|
|
|
72
54
|
"@typescript/native-preview": "7.0.0-dev.20251207.1"
|
|
73
55
|
},
|
|
74
56
|
"dependencies": {},
|
|
75
|
-
"publishConfig": {
|
|
76
|
-
"directory": "dist"
|
|
77
|
-
},
|
|
78
57
|
"peerDependencies": {}
|
|
79
58
|
}
|