返回 CodeWhale
package.json
根目录 / extensions / vscode / package.json
1 {
2 "name": "codewhale-vscode",
3 "displayName": "CodeWhale",
4 "description": "Official CodeWhale VS Code integration scaffold for local runtime attach and terminal launch.",
5 "version": "0.9.4",
6 "publisher": "codewhale",
7 "license": "MIT",
8 "repository": {
9 "type": "git",
10 "url": "https://github.com/Hmbown/CodeWhale.git",
11 "directory": "extensions/vscode"
12 },
13 "engines": {
14 "vscode": "^1.90.0"
15 },
16 "categories": [
17 "Other"
18 ],
19 "activationEvents": [
20 "onCommand:codewhale.openTerminal",
21 "onCommand:codewhale.startRuntime",
22 "onCommand:codewhale.checkRuntime",
23 "onCommand:codewhale.refreshAgentView",
24 "onCommand:codewhale.refreshSnapshots",
25 "onCommand:codewhale.openRuntimeDocs",
26 "onView:codewhale.runtimeStatus"
27 ],
28 "main": "./out/extension.js",
29 "files": [
30 "out",
31 "media",
32 "README.md",
33 "LICENSE"
34 ],
35 "contributes": {
36 "commands": [
37 {
38 "command": "codewhale.openTerminal",
39 "title": "CodeWhale: Open Terminal"
40 },
41 {
42 "command": "codewhale.startRuntime",
43 "title": "CodeWhale: Start Local Runtime"
44 },
45 {
46 "command": "codewhale.checkRuntime",
47 "title": "CodeWhale: Check Runtime"
48 },
49 {
50 "command": "codewhale.refreshAgentView",
51 "title": "CodeWhale: Refresh Agent View"
52 },
53 {
54 "command": "codewhale.refreshSnapshots",
55 "title": "CodeWhale: Refresh Restore Points"
56 },
57 {
58 "command": "codewhale.openRuntimeDocs",
59 "title": "CodeWhale: Open Runtime API Docs"
60 }
61 ],
62 "configuration": {
63 "title": "CodeWhale",
64 "properties": {
65 "codewhale.commandPath": {
66 "type": "string",
67 "default": "codewhale",
68 "description": "Command or absolute path used to launch CodeWhale."
69 },
70 "codewhale.runtimeHost": {
71 "type": "string",
72 "default": "127.0.0.1",
73 "description": "Local host used for CodeWhale runtime attach checks."
74 },
75 "codewhale.runtimePort": {
76 "type": "number",
77 "default": 7878,
78 "minimum": 1,
79 "maximum": 65535,
80 "description": "Local port used for CodeWhale runtime attach checks."
81 },
82 "codewhale.runtimeToken": {
83 "type": "string",
84 "default": "",
85 "description": "Optional bearer token for authenticated runtime endpoints."
86 },
87 "codewhale.agentViewRefreshIntervalSeconds": {
88 "type": "number",
89 "default": 15,
90 "minimum": 0,
91 "maximum": 300,
92 "description": "Seconds between read-only Agent View refreshes. Set to 0 to disable automatic refresh."
93 }
94 }
95 },
96 "viewsContainers": {
97 "activitybar": [
98 {
99 "id": "codewhale",
100 "title": "CodeWhale",
101 "icon": "media/codewhale.svg"
102 }
103 ]
104 },
105 "views": {
106 "codewhale": [
107 {
108 "type": "webview",
109 "id": "codewhale.runtimeStatus",
110 "name": "Agent View"
111 }
112 ]
113 }
114 },
115 "scripts": {
116 "compile": "tsc -p ./",
117 "check": "npm run compile",
118 "package": "vsce package --no-dependencies"
119 },
120 "devDependencies": {
121 "@types/node": "^20.19.27",
122 "@types/vscode": "^1.90.0",
123 "@vscode/vsce": "^3.7.0",
124 "typescript": "^5.9.3"
125 }
126 }
127
127 lines JSON