Commit Graph

2 Commits

Author SHA1 Message Date
Filip131311 8c2a313c76 chore: format codebase with Prettier
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 14:53:58 +02:00
Ignacy Łątka cd41fa4d3b fix: write profiler output to /tmp instead of project root (#73)
* fix: write profiler output to /tmp instead of project root

The profiler was creating an argent-profiler-cwd/ directory inside the
user's project root. Output is now written to /tmp/argent-profiler-cwd/
using os.tmpdir() so no artifacts are left in the project tree.

* fix: remove project_root from profiler tools, drop getDebugDir param

No backwards compatibility needed — project_root is stripped from
ios-profiler-start and profiler-load schemas entirely, and getDebugDir
takes no arguments now that the path is always /tmp/argent-profiler-cwd/.

* fix: remove stale project_root from skill docs, add dump.test.ts

- SKILL.md and diagnostic-tools.md still referenced project_root for
  profiler-load after it was removed from the schema — now corrected
- Add 17 tests covering getDebugDir, writeDump, writeDumpCompact,
  readCpuProfile, and readCommitTree (all passing)
2026-04-03 14:23:38 +02:00