Skip to content

v1.4.5 — Agent Completion Detection Fix

Choose a tag to compare

@github-actions github-actions released this 10 Apr 10:45

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:

  1. A shell prompt ($/%/➜) — but Claude Code doesn't return to shell after finishing, it shows its own ❯ prompt. This never matched.
  2. A ✻ completion marker — but only checked the last 3 lines of the terminal buffer. The marker scrolled out of view almost immediately.
  3. A 90-second safety net — worked, but too slow.

What's fixed

New detection priority:

  1. ✻ completion marker in last 15 buffer lines (after 2s idle)
  2. ❯ Claude prompt idle (after 8s) — NEW primary signal. Detects that Claude finished its task and is waiting for input
  3. Shell prompt idle (after 8s) — catches cases where Claude Code exited entirely
  4. 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