agent-resume v0.1.3 — safe run_id matching
agent-resume v0.1.3 — safe run_id matching
New safety rule
build_resume_command now requires run_id unless session_id is explicit or use_last=true.
Accepted run_id formats:
- 13-digit epoch milliseconds, e.g.
1783217856841 - UUID4
If no candidate has an exact run_id match (score >= 100), agent-resume refuses to fall back to --last.
Why
This prevents waking the wrong chat when multiple sessions share the same cwd or similar title.
OpenCode note
Custom/local OpenCode builds can write to opencode-<channel>.db. Use:
export OPENCODE_DISABLE_CHANNEL_DB=trueto force the standard database ~/.local/share/opencode/opencode.db.