-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
189 lines (189 loc) · 6.61 KB
/
package.json
File metadata and controls
189 lines (189 loc) · 6.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"name": "claudix-vscode",
"displayName": "Claudecode - AI 智能编程助手",
"description": "多协议 AI 智能编程助手,支持 Claude Code、OpenAI、Anthropic、Gemini 多种服务提供商。",
"version": "1.0.0",
"publisher": "Anna",
"engines": {
"vscode": "^1.98.0",
"node": ">=18.0.0"
},
"categories": [
"AI",
"Other"
],
"icon": "resources/claude-logo.png",
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.cjs",
"contributes": {
"configuration": {
"title": "Claudecode 配置",
"properties": {
"claudix.selectedModel": {
"type": "string",
"default": "default",
"description": "当前选择的模型 ID"
},
"claudix.apiKey": {
"type": "string",
"default": "",
"description": "自定义 API Key(注入 ANTHROPIC_API_KEY 环境变量,留空使用本地 CLI 认证)"
},
"claudix.baseUrl": {
"type": "string",
"default": "",
"description": "自定义 Base URL(注入 ANTHROPIC_BASE_URL 环境变量,用于反代/自部署)"
},
"claudix.customModels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "string", "description": "模型 ID(发送给 API)" },
"label": { "type": "string", "description": "显示名称" },
"description": { "type": "string", "description": "模型描述" }
},
"required": ["id", "label"]
},
"default": [],
"description": "自定义模型列表(合并到 SDK 模型选择器)"
},
"claudix.appendRule": {
"type": "string",
"default": "不要猜测,必须找出问题。调用快速上下文\n多个场景分析完整遍历分析所有项目文件\n完整分析相关数据库和字段并找出问题。\n做个任务计划,使用最优方案彻底解决问题\n修改完成之后继续做多个场景和流程的逻辑分析找出问题\n回答问题需要简洁必须使用中文思考回答\n1. Read the relevant files first before making any changes\n2. Only modify what is necessary, do not refactor other parts\n3. Keep the existing code style and naming conventions\n4. Do not delete existing functions or comments\n5. Ask before modifying if unsure\n6. Verify the code after changes to ensure no syntax errors\n7. Think step by step: analyze the problem -> propose solution -> implement -> verify",
"description": "追加规则:每次发送消息时自动追加到内容末尾"
},
"claudix.appendRuleEnabled": {
"type": "boolean",
"default": true,
"description": "是否启用追加规则"
},
"claudix.environmentVariables": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "环境变量名称"
},
"value": {
"type": "string",
"description": "环境变量值"
}
},
"required": [
"name",
"value"
]
},
"default": [],
"description": "启动 AI 时设置的环境变量"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "claudix-chat-sidebar",
"title": "Claudecode",
"icon": "resources/claude-logo.svg"
}
]
},
"views": {
"claudix-chat-sidebar": [
{
"icon": "resources/claude-logo.svg",
"type": "webview",
"id": "claudix.chatView",
"name": "Claudecode"
}
]
},
"commands": [
{
"command": "claudix.showChat",
"title": "显示 Claudecode"
},
{
"command": "claudix.openSettings",
"title": "Claudecode: 打开设置"
}
]
},
"scripts": {
"dev": "concurrently \"pnpm run dev:webview\" \"pnpm run watch:extension\"",
"dev:webview": "vite --config src/webview/vite.config.ts --port 5173 --strictPort",
"build:extension": "tsx esbuild.ts --production",
"build:webview": "vite build --config src/webview/vite.config.ts",
"build": "pnpm run build:webview && pnpm run build:extension",
"watch:extension": "tsx esbuild.ts --watch",
"watch:webview": "vite build --config src/webview/vite.config.ts --watch",
"watch": "concurrently \"pnpm run watch:extension\" \"pnpm run watch:webview\"",
"test": "vitest --run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"typecheck:webview": "vue-tsc -p src/webview/tsconfig.json --noEmit",
"typecheck:all": "pnpm run typecheck && pnpm run typecheck:webview",
"prepackage": "pnpm run build && cp README.md README.md.bak && sed -i '' 's|https://awesome.re/mentioned-badge.svg|assets/mentioned-badge.png|g' README.md",
"package": "vsce package --no-dependencies",
"postpackage": "mv README.md.bak README.md",
"lint": "eslint src --ext ts",
"lint:fix": "eslint src --ext ts --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,vue}\" && eslint src --ext ts,tsx,vue --fix"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.17",
"@types/node": "^24.10.1",
"@types/vscode": "^1.98.0",
"@typescript-eslint/eslint-plugin": "^8.48.1",
"@typescript-eslint/parser": "^8.48.1",
"@vitejs/plugin-vue": "^6.0.2",
"@vscode/vsce": "^3.7.1",
"concurrently": "^9.2.1",
"esbuild": "^0.27.1",
"eslint": "^9.39.1",
"prettier": "^3.7.4",
"tailwindcss": "^4.1.17",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vite": "^7.2.7",
"vite-plugin-svg-icons": "^2.0.1",
"vitest": "^4.0.15",
"vue-tsc": "^3.1.7"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.61",
"@anthropic-ai/sdk": "^0.71.2",
"@gn8/alien-signals-vue": "^0.1.1",
"@mdi/font": "^7.4.47",
"@modelcontextprotocol/sdk": "^1.24.3",
"@vscode/codicons": "^0.0.43",
"@vueuse/core": "^14.1.0",
"alien-signals": "^3.1.1",
"fuse.js": "^7.1.0",
"lexical": "^0.38.2",
"lexical-vue": "^0.14.1",
"marked": "^17.0.1",
"motion-v": "^1.7.4",
"path-browserify-esm": "^1.0.6",
"pinia": "^3.0.4",
"vue": "^3.5.25",
"zod": "^3.25.76"
},
"keywords": [
"vscode",
"extension",
"claude",
"ai",
"coding-assistant"
],
"repository": {
"type": "git",
"url": "https://github.com/crispvibe/Claudecode"
},
"license": "AGPL-3.0"
}