Home

mweinbach / agent-coworker

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

feat: add bounded Workspace Map to system and subagent prompts

6 months ago

035ff7f
Authored
Cursor Agent4/15/2026, 12:54:14 AM
Generate a depth- and size-limited directory name tree (no file contents),
skip noisy folders like node_modules, prioritize key repo files, and
inject after optional project instructions. Child agents receive the same
map via loadAgentPrompt.

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

Parent7c45982

4 files changed
  • src/prompt.ts+21−1
  • src/workspace/map.ts+219−0
  • test/prompt.test.ts+11−3
  • test/workspace.map.test.ts+173−0