Commit 7f7356c
committed
Address PR #153 review comments
- resolvePromptFilePath: only enforce workspace-root boundary for
relative path inputs; absolute paths pass through since users
legitimately reference databases/queries outside the workspace
- download-vscode.js: use fileURLToPath() instead of URL.pathname
for cross-platform compatibility
- integration-test-runner.js: track execution counts separately
from pass/fail; runWorkflowIntegrationTests and
runPromptIntegrationTests return { executed, passed } objects
- Add test for absolute paths outside workspace being allowed1 parent cb7387b commit 7f7356c
File tree
6 files changed
+62
-38
lines changed- client/src/lib
- extensions/vscode/scripts
- server
- dist
- src/prompts
- test/src/prompts
6 files changed
+62
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
229 | 234 | | |
230 | 235 | | |
231 | | - | |
232 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
233 | 239 | | |
234 | 240 | | |
235 | 241 | | |
| |||
238 | 244 | | |
239 | 245 | | |
240 | 246 | | |
241 | | - | |
242 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
243 | 250 | | |
244 | 251 | | |
245 | 252 | | |
246 | 253 | | |
247 | 254 | | |
248 | 255 | | |
249 | 256 | | |
250 | | - | |
251 | | - | |
| 257 | + | |
252 | 258 | | |
253 | | - | |
| 259 | + | |
254 | 260 | | |
255 | | - | |
| 261 | + | |
256 | 262 | | |
257 | 263 | | |
258 | 264 | | |
259 | 265 | | |
260 | 266 | | |
261 | | - | |
| 267 | + | |
262 | 268 | | |
263 | 269 | | |
264 | 270 | | |
| |||
1183 | 1189 | | |
1184 | 1190 | | |
1185 | 1191 | | |
1186 | | - | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
1187 | 1196 | | |
1188 | 1197 | | |
1189 | | - | |
| 1198 | + | |
1190 | 1199 | | |
1191 | 1200 | | |
1192 | 1201 | | |
| |||
1285 | 1294 | | |
1286 | 1295 | | |
1287 | 1296 | | |
1288 | | - | |
| 1297 | + | |
1289 | 1298 | | |
1290 | 1299 | | |
1291 | 1300 | | |
| |||
1296 | 1305 | | |
1297 | 1306 | | |
1298 | 1307 | | |
1299 | | - | |
| 1308 | + | |
1300 | 1309 | | |
1301 | 1310 | | |
1302 | 1311 | | |
| |||
1309 | 1318 | | |
1310 | 1319 | | |
1311 | 1320 | | |
1312 | | - | |
| 1321 | + | |
1313 | 1322 | | |
1314 | 1323 | | |
1315 | | - | |
| 1324 | + | |
1316 | 1325 | | |
1317 | 1326 | | |
1318 | 1327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64506 | 64506 | | |
64507 | 64507 | | |
64508 | 64508 | | |
64509 | | - | |
64510 | | - | |
64511 | | - | |
64512 | | - | |
64513 | | - | |
64514 | | - | |
64515 | | - | |
64516 | | - | |
| 64509 | + | |
| 64510 | + | |
| 64511 | + | |
| 64512 | + | |
| 64513 | + | |
| 64514 | + | |
| 64515 | + | |
| 64516 | + | |
| 64517 | + | |
| 64518 | + | |
| 64519 | + | |
64517 | 64520 | | |
64518 | 64521 | | |
64519 | 64522 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
145 | 148 | | |
146 | 149 | | |
147 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1787 | 1787 | | |
1788 | 1788 | | |
1789 | 1789 | | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
1790 | 1798 | | |
1791 | 1799 | | |
1792 | 1800 | | |
| |||
0 commit comments