Skip to content

release: v1.13.7 — per-session state + inactive block fixes + preserve first user - #197

Merged
ranxianglei merged 1 commit into
masterfrom
2026-07-25_release-v1.13.7
Jul 25, 2026
Merged

release: v1.13.7 — per-session state + inactive block fixes + preserve first user#197
ranxianglei merged 1 commit into
masterfrom
2026-07-25_release-v1.13.7

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Summary

Stable release bundling three bug-fix PRs merged since v1.13.7-dev.1:

PR #184 — Per-Session SessionState Registry

Fixes subagent state isolation: child sessions no longer overwrite parent's modelContextLimit. Introduces SessionStateRegistry (Map<sessionID, SessionState>) with shared compressionTiming and soft-cap eviction. Also reverts over-aggressive baseline = 0 back to baseline = currentTokens.

PR #193 — Inactive Block Fixes

  • decompress no longer rejects inactive standalone blocks (user-decompressed, GC'd, orphaned)
  • acp_status shows all blocks (active + inactive) with [inactive] marker
  • toFile fallback fixed for inactive blocks
  • /acp decompress slash command consistency

PR #196 — Preserve First User Message

Fixes the month-long zero-user session freeze (zhipuai-lb code 1214). Replaces preserve-last-user with preserve-first-user: the first user message is unconditionally force-preserved regardless of prune state. Dual-agent reviewed (Oracle + General, both APPROVE).

Also bundled (test/CI only)

Test plan

  • typecheck: PASS
  • 851 tests pass
  • build: PASS
  • ./scripts/ci/check-pr.sh: All checks passed

After merge, CI auto-tags v1.13.7, publishes to npm latest, creates GitHub Release.

Ultraworked with Sisyphus

…e first user

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@ranxianglei
ranxianglei merged commit c6a5d18 into master Jul 25, 2026
5 checks passed
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