-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
202 lines (202 loc) · 5.76 KB
/
Copy pathpackage.json
File metadata and controls
202 lines (202 loc) · 5.76 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
190
191
192
193
194
195
196
197
198
199
200
201
202
{
"name": "walkthrough",
"displayName": "Walkthrough",
"description": "Parse TypeScript and Python files into semantic blocks and walk through them with highlights",
"version": "2.2.2",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "walkthrough.explain",
"title": "Walkthrough: Explain File",
"icon": {
"light": "./assets/play-button.png",
"dark": "./assets/play-button.png"
}
},
{
"command": "walkthrough.togglePause",
"title": "Walkthrough: Pause / Resume"
},
{
"command": "walkthrough.next",
"title": "Walkthrough: Next Block"
},
{
"command": "walkthrough.prev",
"title": "Walkthrough: Previous Block"
},
{
"command": "walkthrough.stop",
"title": "Walkthrough: Stop"
},
{
"command": "walkthrough.ask",
"title": "Walkthrough: Ask Question (Q&A)"
},
{
"command": "walkthrough.deepDive",
"title": "Walkthrough: Deep Dive (line-by-line)"
},
{
"command": "walkthrough.skipLine",
"title": "Walkthrough: Skip Line / Skip Block"
},
{
"command": "walkthrough.skipFile",
"title": "Walkthrough: Skip File (advance to next file)"
},
{
"command": "walkthrough.configure",
"title": "Walkthrough: Configure (API keys, provider, model)",
"icon": "$(settings-gear)"
}
],
"menus": {
"editor/title": [
{
"command": "walkthrough.explain",
"when": "editorLangId == typescript || editorLangId == typescriptreact || editorLangId == python || workspaceFolderCount > 0",
"group": "navigation"
}
]
},
"keybindings": [
{
"command": "walkthrough.explain",
"key": "ctrl+shift+e",
"mac": "cmd+shift+e",
"when": "editorLangId == typescript || editorLangId == typescriptreact || editorLangId == python || workspaceFolderCount > 0"
},
{
"command": "walkthrough.togglePause",
"key": "space",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.next",
"key": "right",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.prev",
"key": "left",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.stop",
"key": "escape",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.ask",
"key": "ctrl+shift+oem_2",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.ask",
"key": "q",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.deepDive",
"key": "ctrl+shift+i",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.deepDive",
"key": "d",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.skipLine",
"key": "ctrl+shift+oem_period",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.skipLine",
"key": "s",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.skipFile",
"key": "ctrl+shift+oem_comma",
"when": "walkthrough.running && !inputFocus"
},
{
"command": "walkthrough.skipFile",
"key": "f",
"when": "walkthrough.running && !inputFocus"
}
],
"configuration": {
"title": "Walkthrough",
"properties": {
"walkthrough.provider": {
"type": "string",
"enum": [
"groq",
"openai",
"anthropic",
"custom"
],
"enumDescriptions": [
"Groq — free, fast, open-source models (Llama, Qwen, Mixtral)",
"OpenAI — GPT-4o, GPT-4o Mini, GPT-4 Turbo",
"Anthropic — Claude Opus, Sonnet, Haiku",
"Custom — any OpenAI-compatible API endpoint"
],
"default": "groq",
"description": "LLM provider used for code narration and Q&A."
},
"walkthrough.model": {
"type": "string",
"default": "qwen/qwen3-32b",
"description": "Model ID. Use the Setup wizard (Walkthrough: Configure) to pick from a list."
},
"walkthrough.customBaseUrl": {
"type": "string",
"default": "",
"description": "Base URL for a custom OpenAI-compatible provider (e.g. https://your-api.example.com/v1)."
},
"walkthrough.embeddingProvider": {
"type": "string",
"enum": [
"local"
],
"enumDescriptions": [
"Local — all-MiniLM-L6-v2 via sentence-transformers (384 dims, no API key needed)"
],
"default": "local",
"description": "Embedding provider for codebase indexing and Q&A semantic search."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"typescript": "^5.3.0"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.90.0",
"@remotion/bundler": "^4.0.448",
"@remotion/renderer": "^4.0.448",
"tree-sitter": "^0.21.1",
"tree-sitter-python": "^0.21.0",
"tree-sitter-typescript": "^0.21.2"
}
}