perf(coding-agent/utils): restructured Markit conversion flow to use lazy instance init

- Replaced the eager `markit-ai` singleton import with a lazy async factory in `markit.ts`.
- Initialized and memoized a `Markit` instance on first use, with later calls reusing it.
- Updated conversion helpers to receive the initialized `Markit` instance and execute conversions through a shared runner.
This commit is contained in:
can1357
2026-05-01 15:40:40 +02:00
parent 83b4c0cdb5
commit 8c483e5fe3
2 changed files with 16 additions and 7 deletions
+1
View File
@@ -65,3 +65,4 @@ scripts/session-stats/edit-analysis.csv
# parallel-agent worktrees
.wt/
CPU*.md