-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 4.46 KB
/
package.json
File metadata and controls
152 lines (152 loc) · 4.46 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
{
"name": "code-sidecar",
"displayName": "CodeSidecar",
"description": "",
"version": "0.0.1",
"engines": {
"vscode": "^1.106.1"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "code-sidecar.analyzeSelectedCode",
"title": "CodeSidecar",
"category": "CodeSidecar"
}
],
"menus": {
"editor/context": [
{
"command": "code-sidecar.analyzeSelectedCode",
"when": "editorHasSelection",
"group": "navigation"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "code-sidecar-ActivityBar",
"title": "CodeSidecar",
"icon": "assets/icons/icon.svg"
}
]
},
"views": {
"code-sidecar-ActivityBar": [
{
"type": "webview",
"id": "code-sidecar.SidebarProvider",
"name": "CodeSidecar",
"icon": "assets/icons/icon.svg"
}
]
},
"configuration": {
"title": "CodeSidecar",
"properties": {
"codeSidecar.api.baseUrl": {
"type": "string",
"default": "",
"description": "Base URL for the LLM API endpoint"
},
"codeSidecar.api.model": {
"type": "string",
"default": "",
"description": "Model name to use for LLM requests"
},
"codeSidecar.api.temperature": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 2,
"description": "Temperature for LLM responses (0-2). Lower values = more deterministic. Recommended: 0 for code tasks."
},
"codeSidecar.api.maxTokens": {
"type": "number",
"default": 16384,
"minimum": 1,
"description": "Maximum tokens for LLM responses. Higher values allow longer code generation."
},
"codeSidecar.permissions.allowReadByDefault": {
"type": "boolean",
"default": true,
"description": "Allow file read operations without confirmation"
},
"codeSidecar.permissions.allowWriteByDefault": {
"type": "boolean",
"default": false,
"description": "Allow file write operations without confirmation"
},
"codeSidecar.permissions.allowExecuteByDefault": {
"type": "boolean",
"default": false,
"description": "Allow command execution without confirmation"
},
"codeSidecar.permissions.alwaysConfirm": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"delete",
"execute"
],
"description": "Operations that always require confirmation"
},
"codeSidecar.maxLoopCount": {
"type": "number",
"default": 50,
"minimum": 1,
"maximum": 200,
"description": "Maximum number of ReAct loop iterations per task"
},
"codeSidecar.contextWindowSize": {
"type": "number",
"default": 128000,
"minimum": 1000,
"description": "Context window size in tokens. Should match your model's context limit."
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"esbuild": "node esbuild.js",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"tsc": "tsc --noEmit --project tsconfig.json",
"package": "pnpm run check-types && pnpm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/diff": "^7.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.106.1",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"code-sidecar-shared": "workspace:*",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.3"
},
"dependencies": {
"diff": "^7.0.0",
"openai": "^6.9.1"
}
}