Files
kilocode/packages
Sylwester Liljegren d497be6311 fix(vscode): scope file-link validation and fallback to the session root
Address markijbema review on #11218:
- validateFiles now rejects candidates that resolve outside the session
  root (absolute paths elsewhere, UNC paths, ../ traversal) before any
  fs.stat, so auto-validated model output can't probe arbitrary host paths
- the openFile dead-link fallback searches the session dir via a
  RelativePattern instead of the whole opened workspace, so it can't cross
  into another worktree/branch
- use VS Code-compatible bracket glob escaping (`[id].tsx` -> `[[]id[]].tsx`)
  so dynamic-route filenames resolve instead of falling through

Adds focused unit tests for the new vscode-free `contains` and `escapeGlob`
helpers in path-utils.
2026-06-18 20:15:49 +02:00
..
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00
2026-06-12 17:50:21 +00:00