Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix: sanitize workspace map labels for markdown safety

6 months ago

cb100a6
Authored
Cursor Agent4/15/2026, 1:20:46 AM
Escape newlines, control characters, and backticks in displayed paths and
entry names so fenced trees cannot be broken by unusual filenames.

Co-authored-by: Max Weinbach <mweinbach@users.noreply.github.com>

Parent8c1f80b

2 files changed
  • src/workspace/map.ts+22−4
  • test/workspace.map.test.ts+19−0