-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 3.47 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 3.47 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
{
"name": "ccr-settings",
"activationEvents": ["onStartupFinished"],
"displayName": "CCR Settings",
"description": "Manage claude-code-router configuration file",
"version": "1.0.5",
"repository": {
"type": "git",
"url": "https://github.com/VonSdite/Claude-Code-Router-Settings.git"
},
"license": "MIT",
"publisher": "VonSdite",
"icon": "icon.png",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "ccr.openSettingsPanel",
"title": "ccr: Open Settings Panel"
},
{
"command": "ccr.openCCRConfigFile",
"title": "ccr: Open CCR config.json"
},
{
"command": "ccr.openCCSettingsFile",
"title": "ccr: Open CC settings.json"
},
{
"command": "ccr.restartCCR",
"title": "ccr: Restart CCR"
},
{
"command": "ccr.quickSwitch",
"title": "ccr: Quick Switch Default、Think、Long Context、Background Model"
},
{
"command": "ccr.quickSwitchDefault",
"title": "ccr: Switch Default Model"
},
{
"command": "ccr.quickSwitchThink",
"title": "ccr: Switch Think Model"
},
{
"command": "ccr.quickSwitchLongContext",
"title": "ccr: Switch Long Context Model"
},
{
"command": "ccr.quickSwitchBackground",
"title": "ccr: Switch Background Model"
},
{
"command": "ccr.quickSwitchWebSearch",
"title": "ccr: Switch Web Search Model"
},
{
"command": "ccr.quickSwitchImage",
"title": "ccr: Switch Image Model"
}
],
"menus": {},
"configuration": {
"title": "claude-code-router",
"properties": {
"ccr.ccrConfigPath": {
"type": "string",
"default": "",
"description": "Path to the claude-code-router config.json file. If empty, uses system default path: Windows: %USERPROFILE%/.claude-code-router/config.json, Linux/Mac: ~/.claude-code-router/config.json"
},
"ccr.ccSettingsPath": {
"type": "string",
"default": "",
"description": "Path to the Claude Code settings.json file. If empty, uses system default path: Windows: %USERPROFILE%/.claude/settings.json, Linux/Mac: ~/.claude/settings.json"
}
}
}
},
"scripts": {
"lint": "eslint .",
"vscode:prepublish": "npm run compile-prod",
"compile": "webpack --mode development",
"compile-prod": "webpack --mode production",
"watch": "webpack --watch --mode development"
},
"devDependencies": {
"@types/vscode": "^1.85.0",
"@types/node": "18.x",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"eslint": "^8.54.0",
"typescript": "^5.3.0",
"ts-loader": "^9.5.1",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}