agent-resume v0.1.4 — short marker matching
Changed
- Replaced timestamp/UUID-first correlation with a simple
marker.
- Accepted marker format: exactly 5 ASCII alphanumeric chars
[A-Za-z0-9]{5}.
- The MCP server records
called_at_ms itself, so the model does not need to know current time.
use_last is disabled for resume matching; it can wake the wrong chat.
build_resume_command now requires marker unless explicit session_id is provided.
- If no candidate has an exact marker match (
score >= 100), resume is refused.
Example
MARKER=Q7xK2
opencode run --title "agent-resume-$MARKER" "Do the task. Marker: $MARKER"
AGENT_RESUME_AGENT=opencode ./agent_resume.py resume --cwd "$PWD" --marker "$MARKER" --job-id job-123 --log-file /tmp/job.log