@kilocode/sdk 7.7.7 → 7.7.12

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.
@@ -2172,7 +2172,7 @@ export declare class Marketplace extends HeyApiClient {
2172
2172
  /**
2173
2173
  * Install a marketplace item
2174
2174
  *
2175
- * Install a marketplace MCP server, agent, or skill into project or global Kilo config.
2175
+ * Install a marketplace MCP server, agent, skill, or plugin into project or global Kilo config.
2176
2176
  */
2177
2177
  install<ThrowOnError extends boolean = false>(parameters: {
2178
2178
  directory?: string;
@@ -2186,7 +2186,7 @@ export declare class Marketplace extends HeyApiClient {
2186
2186
  /**
2187
2187
  * Remove a marketplace item
2188
2188
  *
2189
- * Remove a marketplace MCP server, agent, or skill from project or global Kilo config.
2189
+ * Remove a marketplace MCP server, agent, skill, or plugin from project or global Kilo config.
2190
2190
  */
2191
2191
  remove<ThrowOnError extends boolean = false>(parameters: {
2192
2192
  directory?: string;
@@ -2417,7 +2417,7 @@ export declare class SessionImport extends HeyApiClient {
2417
2417
  partID?: string;
2418
2418
  snapshot?: string;
2419
2419
  diff?: string;
2420
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
2420
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
2421
2421
  };
2422
2422
  permission?: {
2423
2423
  [key: string]: unknown;
@@ -4357,7 +4357,7 @@ export class Marketplace extends HeyApiClient {
4357
4357
  /**
4358
4358
  * Install a marketplace item
4359
4359
  *
4360
- * Install a marketplace MCP server, agent, or skill into project or global Kilo config.
4360
+ * Install a marketplace MCP server, agent, skill, or plugin into project or global Kilo config.
4361
4361
  */
4362
4362
  install(parameters, options) {
4363
4363
  const params = buildClientParams([parameters], [
@@ -4385,7 +4385,7 @@ export class Marketplace extends HeyApiClient {
4385
4385
  /**
4386
4386
  * Remove a marketplace item
4387
4387
  *
4388
- * Remove a marketplace MCP server, agent, or skill from project or global Kilo config.
4388
+ * Remove a marketplace MCP server, agent, skill, or plugin from project or global Kilo config.
4389
4389
  */
4390
4390
  remove(parameters, options) {
4391
4391
  const params = buildClientParams([parameters], [
@@ -272,7 +272,7 @@ export type Session = {
272
272
  partID?: string;
273
273
  snapshot?: string;
274
274
  diff?: string;
275
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
275
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
276
276
  };
277
277
  };
278
278
  export type OutputFormatText = {
@@ -2031,7 +2031,6 @@ export type Config = {
2031
2031
  image_generation?: boolean;
2032
2032
  image_generation_model?: string;
2033
2033
  native_notebook_tools?: boolean;
2034
- task_model_selection?: boolean;
2035
2034
  code_mode?: boolean;
2036
2035
  speech_to_text_model?: string;
2037
2036
  speech_to_text_base_url?: string;
@@ -2278,7 +2277,7 @@ export type GlobalSession = {
2278
2277
  partID?: string;
2279
2278
  snapshot?: string;
2280
2279
  diff?: string;
2281
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
2280
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
2282
2281
  };
2283
2282
  project: ProjectSummary | null;
2284
2283
  worktreeName?: string;
@@ -2587,7 +2586,7 @@ export type Session1 = {
2587
2586
  partID?: string;
2588
2587
  snapshot?: string;
2589
2588
  diff?: string;
2590
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
2589
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
2591
2590
  };
2592
2591
  };
2593
2592
  export type Session2 = {
@@ -2640,7 +2639,7 @@ export type Session2 = {
2640
2639
  partID?: string;
2641
2640
  snapshot?: string;
2642
2641
  diff?: string;
2643
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
2642
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
2644
2643
  };
2645
2644
  };
2646
2645
  export type NotFoundError = {
@@ -2699,7 +2698,7 @@ export type Session3 = {
2699
2698
  partID?: string;
2700
2699
  snapshot?: string;
2701
2700
  diff?: string;
2702
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
2701
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
2703
2702
  };
2704
2703
  };
2705
2704
  export type Session4 = {
@@ -2752,7 +2751,7 @@ export type Session4 = {
2752
2751
  partID?: string;
2753
2752
  snapshot?: string;
2754
2753
  diff?: string;
2755
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
2754
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
2756
2755
  };
2757
2756
  };
2758
2757
  export type Session5 = {
@@ -2805,7 +2804,7 @@ export type Session5 = {
2805
2804
  partID?: string;
2806
2805
  snapshot?: string;
2807
2806
  diff?: string;
2808
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
2807
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
2809
2808
  };
2810
2809
  };
2811
2810
  export type Session6 = {
@@ -2858,7 +2857,7 @@ export type Session6 = {
2858
2857
  partID?: string;
2859
2858
  snapshot?: string;
2860
2859
  diff?: string;
2861
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
2860
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
2862
2861
  };
2863
2862
  };
2864
2863
  export type Session7 = {
@@ -2911,7 +2910,7 @@ export type Session7 = {
2911
2910
  partID?: string;
2912
2911
  snapshot?: string;
2913
2912
  diff?: string;
2914
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
2913
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
2915
2914
  };
2916
2915
  };
2917
2916
  export type TextPartInput = {
@@ -3014,7 +3013,7 @@ export type Session8 = {
3014
3013
  partID?: string;
3015
3014
  snapshot?: string;
3016
3015
  diff?: string;
3017
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
3016
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
3018
3017
  };
3019
3018
  };
3020
3019
  export type Session9 = {
@@ -3067,7 +3066,7 @@ export type Session9 = {
3067
3066
  partID?: string;
3068
3067
  snapshot?: string;
3069
3068
  diff?: string;
3070
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
3069
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
3071
3070
  };
3072
3071
  };
3073
3072
  export type EventTuiPromptAppend2 = {
@@ -3390,6 +3389,10 @@ export type McpInstallationMethod = {
3390
3389
  parameters?: Array<McpParameter>;
3391
3390
  prerequisites?: Array<string>;
3392
3391
  };
3392
+ export type McpSkill = {
3393
+ id: string;
3394
+ content: string;
3395
+ };
3393
3396
  export type McpMarketplaceItem = {
3394
3397
  id: string;
3395
3398
  name: string;
@@ -3403,6 +3406,7 @@ export type McpMarketplaceItem = {
3403
3406
  url: string;
3404
3407
  content: string | Array<McpInstallationMethod>;
3405
3408
  parameters?: Array<McpParameter>;
3409
+ skills?: Array<McpSkill>;
3406
3410
  };
3407
3411
  export type AgentMarketplaceItem = {
3408
3412
  id: string;
@@ -3449,7 +3453,20 @@ export type SkillMarketplaceItem = {
3449
3453
  displayName: string;
3450
3454
  displayCategory: string;
3451
3455
  };
3452
- export type MarketplaceItem = McpMarketplaceItem | AgentMarketplaceItem | SkillMarketplaceItem;
3456
+ export type PluginMarketplaceItem = {
3457
+ id: string;
3458
+ name: string;
3459
+ description: string;
3460
+ category: string;
3461
+ author?: string;
3462
+ authorUrl?: string;
3463
+ prerequisites?: Array<string>;
3464
+ suggest_for?: MarketplaceSuggestFor;
3465
+ type: "plugin";
3466
+ content: string;
3467
+ url?: string;
3468
+ };
3469
+ export type MarketplaceItem = McpMarketplaceItem | AgentMarketplaceItem | SkillMarketplaceItem | PluginMarketplaceItem;
3453
3470
  export type MarketplaceInstalledMetadata = {
3454
3471
  project: {
3455
3472
  [key: string]: {
@@ -3471,6 +3488,7 @@ export type McpInstallItem = {
3471
3488
  type: "mcp";
3472
3489
  id: string;
3473
3490
  content: string | Array<McpInstallationMethod>;
3491
+ skills?: Array<McpSkill>;
3474
3492
  };
3475
3493
  export type AgentInstallItem = {
3476
3494
  type: "agent";
@@ -3500,17 +3518,23 @@ export type SkillInstallItem = {
3500
3518
  id: string;
3501
3519
  content: string;
3502
3520
  };
3503
- export type MarketplaceInstallItem = McpInstallItem | AgentInstallItem | SkillInstallItem;
3521
+ export type PluginInstallItem = {
3522
+ type: "plugin";
3523
+ id: string;
3524
+ content: string;
3525
+ };
3526
+ export type MarketplaceInstallItem = McpInstallItem | AgentInstallItem | SkillInstallItem | PluginInstallItem;
3504
3527
  export type MarketplaceInstallResult = {
3505
3528
  success: boolean;
3506
3529
  slug: string;
3507
3530
  error?: string;
3508
3531
  filePath?: string;
3532
+ filePaths?: Array<string>;
3509
3533
  line?: number;
3510
3534
  };
3511
3535
  export type MarketplaceItemRef = {
3512
3536
  id: string;
3513
- type: "mcp" | "agent" | "skill";
3537
+ type: "mcp" | "agent" | "skill" | "plugin";
3514
3538
  };
3515
3539
  export type MarketplaceRemoveResult = {
3516
3540
  success: boolean;
@@ -4831,7 +4855,7 @@ export type RevertState = {
4831
4855
  snapshot?: string;
4832
4856
  diff?: string;
4833
4857
  files?: Array<FileDiff>;
4834
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
4858
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
4835
4859
  };
4836
4860
  export type EventSessionNextRevertStaged = {
4837
4861
  id: string;
@@ -14893,6 +14917,7 @@ export type KilocodeSessionModelUsageResponses = {
14893
14917
  */
14894
14918
  200: {
14895
14919
  sessionIDs: Array<string>;
14920
+ sessionCost?: number;
14896
14921
  totals: {
14897
14922
  steps: number;
14898
14923
  cost: number;
@@ -15611,7 +15636,7 @@ export type KilocodeSessionImportSessionData = {
15611
15636
  partID?: string;
15612
15637
  snapshot?: string;
15613
15638
  diff?: string;
15614
- workspace?: "restored" | "snapshots-disabled" | "unavailable";
15639
+ workspace?: "restored" | "snapshots-disabled" | "unavailable" | "not-a-git-repo";
15615
15640
  };
15616
15641
  permission?: {
15617
15642
  [key: string]: unknown;
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.7.7",
4
+ "version": "7.7.12",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {