Skip to content

release: v0.11.2 — pi session resume + scoped follow-ups - #44

Merged
subinium merged 1 commit into
mainfrom
release/0.11.2
May 23, 2026
Merged

subinium merged 1 commit into
mainfrom
release/0.11.2

Conversation

@subinium

Copy link
Copy Markdown
Owner

Builds on @shellus's pi work in #43 (already merged to main, commits f727ba4..afc2c09, authorship preserved) and scopes it into a clean pi-only release.

Kept from #43 (verified)

  • pi resume by id — pi --session '<id>'. Verified against the pi-mono source (resolveSessionPath, packages/coding-agent/src/main.ts): a bare id with no //\/.jsonl is prefix-matched against the session store, and since agf wraps resume as cd '<project_path>' && pi --session '<id>', pi resolves it locally and resumes directly (no fork prompt). Confirmed on pi 0.53.0.
  • Keep every session per project selectable — dedup-to-latest removed now that resume-by-id works.
  • pi prompt summaries + full History — parity with other agents.
  • CACHE_VERSION 5 — one-time rescan on upgrade.

Follow-ups in this PR

  • Revert the default-to-cwd search query — the merged PR pre-filled the search box with $PWD when agf ran with no query. That changed no-arg behavior for every agent (empty list in non-project dirs) and re-introduced the cwd special-casing deliberately removed in v0.11.0 (the cwd-match sort boost made time-sort look broken). Deferred to a future opt-in setting.
  • Bound pi parse_session with a 512 KiB read budget — collecting every prompt requires reading the whole JSONL, but pi transcripts can reach several MB and the CACHE_VERSION bump forces a cold rescan for everyone on upgrade. The read loop now stops after 512 KiB (header is line 1, always captured), mirroring read_head_tail (added v0.10.1 after large Claude logs stalled the TUI).
  • Restore the Kiro resume-latest note — kiro-cli chat --resume has no per-session flag; note moved onto Agent::Kiro in resume_cmd.
  • Regression test for the byte-budget cap.

Test plan

  • cargo fmt --all --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test — 31 passed
  • cargo build --release; agf list works across agents; agf --version → 0.11.2
  • Diff scoped to 7 intended files; other agents' resume_cmd unchanged

Builds on @shellus's pi work (#43, commits f727ba4..afc2c09, authorship
preserved) and scopes it to a clean pi-only release.

Kept from #43:
- pi resume by id (pi --session '<id>'), verified against pi-mono source
- keep every session per project selectable
- pi prompt summaries + full History parity
- CACHE_VERSION 5 (one-time rescan on upgrade)

Follow-ups in this commit:
- revert the default-to-cwd search query: it changed no-arg behavior for
  every agent and re-introduced the cwd special-casing removed in v0.11.0
- bound pi parse_session with a 512 KiB read budget so the forced cold
  rescan can't stall on multi-MB transcripts (mirrors read_head_tail)
- restore the Kiro resume-latest note on Agent::Kiro::resume_cmd
- regression test for the byte-budget cap

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@subinium
subinium merged commit 01beebd into main May 23, 2026
5 checks passed
@subinium
subinium deleted the release/0.11.2 branch May 23, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant