@inspecto-dev/types 0.3.6 → 0.3.7

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/index.cjs CHANGED
@@ -34,12 +34,14 @@ __export(index_exports, {
34
34
  module.exports = __toCommonJS(index_exports);
35
35
 
36
36
  // src/providers.ts
37
- var HOST_IDE_IDS = ["vscode", "cursor", "trae", "trae-cn"];
37
+ var HOST_IDE_IDS = ["vscode", "cursor", "trae", "trae-cn", "codebuddy", "codebuddy-cn"];
38
38
  var HOST_IDE_LABELS = {
39
39
  vscode: "VS Code",
40
40
  cursor: "Cursor",
41
41
  trae: "Trae",
42
- "trae-cn": "Trae CN"
42
+ "trae-cn": "Trae CN",
43
+ codebuddy: "CodeBuddy",
44
+ "codebuddy-cn": "CodeBuddy CN"
43
45
  };
44
46
  var DUAL_MODE_PROVIDER_CAPABILITIES = {
45
47
  codex: {
@@ -74,7 +76,8 @@ var VALID_MODES = {
74
76
  codex: ["extension", "cli"],
75
77
  coco: ["cli"],
76
78
  trae: ["builtin"],
77
- cursor: ["builtin"]
79
+ cursor: ["builtin"],
80
+ codebuddy: ["builtin"]
78
81
  };
79
82
  var DEFAULT_PROVIDER_MODE = {
80
83
  copilot: "extension",
@@ -83,7 +86,8 @@ var DEFAULT_PROVIDER_MODE = {
83
86
  codex: "extension",
84
87
  coco: "cli",
85
88
  trae: "builtin",
86
- cursor: "builtin"
89
+ cursor: "builtin",
90
+ codebuddy: "builtin"
87
91
  };
88
92
 
89
93
  // src/api.ts
package/dist/index.d.cts CHANGED
@@ -19,8 +19,8 @@ interface UnpluginOptions {
19
19
  logLevel?: LogLevel;
20
20
  }
21
21
 
22
- type IdeType = 'vscode' | 'trae' | 'trae-cn' | 'cursor' | 'unknown';
23
- type Provider = 'copilot' | 'claude-code' | 'gemini' | 'codex' | 'coco' | 'trae' | 'cursor';
22
+ type IdeType = 'vscode' | 'trae' | 'trae-cn' | 'cursor' | 'codebuddy' | 'codebuddy-cn' | 'unknown';
23
+ type Provider = 'copilot' | 'claude-code' | 'gemini' | 'codex' | 'coco' | 'trae' | 'cursor' | 'codebuddy';
24
24
  type ProviderMode = 'extension' | 'cli' | 'clipboard' | 'builtin';
25
25
  interface InspectoSettings {
26
26
  ide?: IdeType;
@@ -31,7 +31,7 @@ interface InspectoSettings {
31
31
  'prompt.autoSend'?: boolean;
32
32
  'prompt.annotationResponseMode'?: 'unified' | 'per-annotation';
33
33
  }
34
- declare const HOST_IDE_IDS: readonly ["vscode", "cursor", "trae", "trae-cn"];
34
+ declare const HOST_IDE_IDS: readonly ["vscode", "cursor", "trae", "trae-cn", "codebuddy", "codebuddy-cn"];
35
35
  type SupportedHostIde = (typeof HOST_IDE_IDS)[number];
36
36
  declare const HOST_IDE_LABELS: Record<SupportedHostIde, string>;
37
37
  declare const DUAL_MODE_PROVIDER_CAPABILITIES: {
package/dist/index.d.ts CHANGED
@@ -19,8 +19,8 @@ interface UnpluginOptions {
19
19
  logLevel?: LogLevel;
20
20
  }
21
21
 
22
- type IdeType = 'vscode' | 'trae' | 'trae-cn' | 'cursor' | 'unknown';
23
- type Provider = 'copilot' | 'claude-code' | 'gemini' | 'codex' | 'coco' | 'trae' | 'cursor';
22
+ type IdeType = 'vscode' | 'trae' | 'trae-cn' | 'cursor' | 'codebuddy' | 'codebuddy-cn' | 'unknown';
23
+ type Provider = 'copilot' | 'claude-code' | 'gemini' | 'codex' | 'coco' | 'trae' | 'cursor' | 'codebuddy';
24
24
  type ProviderMode = 'extension' | 'cli' | 'clipboard' | 'builtin';
25
25
  interface InspectoSettings {
26
26
  ide?: IdeType;
@@ -31,7 +31,7 @@ interface InspectoSettings {
31
31
  'prompt.autoSend'?: boolean;
32
32
  'prompt.annotationResponseMode'?: 'unified' | 'per-annotation';
33
33
  }
34
- declare const HOST_IDE_IDS: readonly ["vscode", "cursor", "trae", "trae-cn"];
34
+ declare const HOST_IDE_IDS: readonly ["vscode", "cursor", "trae", "trae-cn", "codebuddy", "codebuddy-cn"];
35
35
  type SupportedHostIde = (typeof HOST_IDE_IDS)[number];
36
36
  declare const HOST_IDE_LABELS: Record<SupportedHostIde, string>;
37
37
  declare const DUAL_MODE_PROVIDER_CAPABILITIES: {
package/dist/index.js CHANGED
@@ -1,10 +1,12 @@
1
1
  // src/providers.ts
2
- var HOST_IDE_IDS = ["vscode", "cursor", "trae", "trae-cn"];
2
+ var HOST_IDE_IDS = ["vscode", "cursor", "trae", "trae-cn", "codebuddy", "codebuddy-cn"];
3
3
  var HOST_IDE_LABELS = {
4
4
  vscode: "VS Code",
5
5
  cursor: "Cursor",
6
6
  trae: "Trae",
7
- "trae-cn": "Trae CN"
7
+ "trae-cn": "Trae CN",
8
+ codebuddy: "CodeBuddy",
9
+ "codebuddy-cn": "CodeBuddy CN"
8
10
  };
9
11
  var DUAL_MODE_PROVIDER_CAPABILITIES = {
10
12
  codex: {
@@ -39,7 +41,8 @@ var VALID_MODES = {
39
41
  codex: ["extension", "cli"],
40
42
  coco: ["cli"],
41
43
  trae: ["builtin"],
42
- cursor: ["builtin"]
44
+ cursor: ["builtin"],
45
+ codebuddy: ["builtin"]
43
46
  };
44
47
  var DEFAULT_PROVIDER_MODE = {
45
48
  copilot: "extension",
@@ -48,7 +51,8 @@ var DEFAULT_PROVIDER_MODE = {
48
51
  codex: "extension",
49
52
  coco: "cli",
50
53
  trae: "builtin",
51
- cursor: "builtin"
54
+ cursor: "builtin",
55
+ codebuddy: "builtin"
52
56
  };
53
57
 
54
58
  // src/api.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inspecto-dev/types",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Shared TypeScript definitions for the Inspecto monorepo",
5
5
  "license": "MIT",
6
6
  "type": "module",