@kilocode/sdk 7.0.48 → 7.0.50

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.
@@ -29,13 +29,13 @@ export declare class Config extends HeyApiClient {
29
29
  /**
30
30
  * Get global configuration
31
31
  *
32
- * Retrieve the current global OpenCode configuration settings and preferences.
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 OpenCode configuration settings and preferences.
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 OpenCode server.
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 OpenCode system using server-sent events.
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 OpenCode instances, releasing all resources.
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 OpenCode.
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 OpenCode is working with.
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 OpenCode.
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 OpenCode configuration settings and preferences.
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 OpenCode configuration settings and preferences.
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 OpenCode sessions across projects, sorted by most recently updated. Archived sessions are excluded by default.
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 OpenCode sessions, sorted by most recently updated.
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 OpenCode session for interacting with AI assistants and managing conversations.
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 OpenCode session.
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 OpenCode instance, releasing all resources.
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 OpenCode instance.
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 OpenCode system.
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 OpenCode system.
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 OpenCode system.
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;
@@ -25,7 +25,7 @@ export class Config extends HeyApiClient {
25
25
  /**
26
26
  * Get global configuration
27
27
  *
28
- * Retrieve the current global OpenCode configuration settings and preferences.
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 OpenCode configuration settings and preferences.
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 OpenCode server.
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 OpenCode system using server-sent events.
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 OpenCode instances, releasing all resources.
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 OpenCode.
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 OpenCode is working with.
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 OpenCode.
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 OpenCode configuration settings and preferences.
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 OpenCode configuration settings and preferences.
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 OpenCode sessions across projects, sorted by most recently updated. Archived sessions are excluded by default.
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 OpenCode sessions, sorted by most recently updated.
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 OpenCode session for interacting with AI assistants and managing conversations.
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 OpenCode session.
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 OpenCode instance, releasing all resources.
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 OpenCode instance.
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 OpenCode system.
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 OpenCode system.
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 OpenCode system.
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 opencode serve and web commands
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: opencode.local)
864
+ * Custom domain name for mDNS service (default: kilo.local)
865
865
  */
866
866
  mdnsDomain?: string;
867
867
  /**
@@ -984,6 +984,7 @@ export type ProviderConfig = {
984
984
  };
985
985
  recommendedIndex?: number;
986
986
  prompt?: "codex" | "gemini" | "beast" | "anthropic" | "trinity" | "anthropic_without_todo";
987
+ isFree?: boolean;
987
988
  experimental?: boolean;
988
989
  status?: "alpha" | "beta" | "deprecated";
989
990
  options?: {
@@ -1108,7 +1109,7 @@ export type Config = {
1108
1109
  logLevel?: LogLevel;
1109
1110
  server?: ServerConfig;
1110
1111
  /**
1111
- * Command configuration, see https://opencode.ai/docs/commands
1112
+ * Command configuration, see https://kilo.ai/docs/commands
1112
1113
  */
1113
1114
  command?: {
1114
1115
  [key: string]: {
@@ -1182,7 +1183,7 @@ export type Config = {
1182
1183
  [key: string]: AgentConfig | undefined;
1183
1184
  };
1184
1185
  /**
1185
- * Agent configuration, see https://opencode.ai/docs/agents
1186
+ * Agent configuration, see https://kilo.ai/docs/agents
1186
1187
  */
1187
1188
  agent?: {
1188
1189
  plan?: AgentConfig;
@@ -1393,6 +1394,7 @@ export type Model = {
1393
1394
  };
1394
1395
  recommendedIndex?: number;
1395
1396
  prompt?: "codex" | "gemini" | "beast" | "anthropic" | "trinity" | "anthropic_without_todo";
1397
+ isFree?: boolean;
1396
1398
  };
1397
1399
  export type Provider = {
1398
1400
  id: string;
@@ -3561,6 +3563,7 @@ export type ProviderListResponses = {
3561
3563
  };
3562
3564
  recommendedIndex?: number;
3563
3565
  prompt?: "codex" | "gemini" | "beast" | "anthropic" | "trinity" | "anthropic_without_todo";
3566
+ isFree?: boolean;
3564
3567
  experimental?: boolean;
3565
3568
  status?: "alpha" | "beta" | "deprecated";
3566
3569
  options: {
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.48",
4
+ "version": "7.0.50",
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
- "types": {
31
- "import": "./dist/v2/index.d.js",
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
- "types": {
41
- "import": "./dist/v2/client.d.js",
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
- "types": {
51
- "import": "./dist/v2/gen/client/index.d.js",
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",
@@ -69,11 +51,8 @@
69
51
  "@tsconfig/node22": "22.0.2",
70
52
  "@types/node": "22.13.9",
71
53
  "typescript": "5.8.2",
72
- "@typescript/native-preview": "7.0.0-dev.20251207.1"
54
+ "@typescript/native-preview": "7.0.0-dev.20260316.1"
73
55
  },
74
56
  "dependencies": {},
75
- "publishConfig": {
76
- "directory": "dist"
77
- },
78
57
  "peerDependencies": {}
79
58
  }