Repository navigation
v1.4.5 — Agent Completion Detection Fix
Fix
The agent tracker now reliably detects when Claude Code finishes and moves the session to To Review.
What was broken
Previously the tracker looked for:
- A shell prompt (
$/%/➜) — but Claude Code doesn't return to shell after finishing, it shows its own❯prompt. This never matched. - A
✻completion marker — but only checked the last 3 lines of the terminal buffer. The marker scrolled out of view almost immediately. - A 90-second safety net — worked, but too slow.
What's fixed
New detection priority:
✻completion marker in last 15 buffer lines (after 2s idle)❯Claude prompt idle (after 8s) — NEW primary signal. Detects that Claude finished its task and is waiting for input- Shell prompt idle (after 8s) — catches cases where Claude Code exited entirely
- Safety net (30s idle) — fallback, reduced from 90s
Install
Copy main.js, manifest.json, and styles.css into .obsidian/plugins/modular-context/ and reload Obsidian.
Full Changelog: 1.4.4...1.4.5