Releases: renekris/opencode-lowmem
Release list
opencode 1.18.21-lowmem.17
Resource-bounded fork of anomalyco/opencode — full capability, bounded footprint.
Since lowmem.11: two behavioral hardening rounds, a child-session ordering rework, docs consolidation, and a passive-CPU port. Highlights:
Memory (long sessions)
- Streamed chunks coalesce in the UI before store writes (120 ms), replacing quadratic per-chunk concatenation for every session — including background subagents.
PartUpdatedpublishes shallow snapshots instead of deep clones; shell-tool state and plugin events get isolated copies, so delayed clients and plugins can't observe retro-edited parts.- Deleting a session now truly clears its UI store buckets: messages, parts, diffs, todos, status, permissions, questions, orphans, and eviction bookkeeping — with a tombstone that ignores late events instead of resurrecting them.
message.removeddrops its part bucket immediately.
Child session list (daily TUI)
- Children reorder only when they receive a message (delegation, task continuation, direct input) — tool rounds, permissions, and compaction never shuffle the list. Newest-50 window, roots excluded, viewed out-of-window children pin in; the run-UI footer reports an honest N of 50.
- Run-mode subagent tabs keep the newest 50 finished agents and revive an evicted one automatically if it asks again.
Passive CPU
- Idle-status dedupe (port of upstream #40984 by zcxGGmu): repeated "session is idle" writes no longer re-broadcast status events to every connected client.
Packaging / docs
- Build round now derives from the highest existing tag, not tag count.
- README is the single authoritative fork document (PORTS.md deleted); port table carries upstream author credit; deferred-ports section records anomalyco#43769/anomalyco#40698 with the tree-shape evidence.
Install:
curl -fsSL https://raw.githubusercontent.com/renekris/opencode-lowmem/lowmem/scripts/fork-install.sh | bashSee the README for the full feature, port, and backlog tables.
opencode 1.18.21-lowmem.7
No functional changes vs lowmem.6 (publishing/docs/tooling only). First release also distributed on npm (npm i -g opencode-lowmem); adds the release installer script (scripts/fork-install.sh) with SHA-256 digest verification, plus the npm platform-package pipeline (CI workflow + assembler with glibc/musl libc split).
opencode 1.18.21-lowmem.6
Reliability ports: anomalyco#43881 (retry clean-EOF empty provider streams — a flaky gateway can no longer end a turn silently; adds a regression test), anomalyco#42176 (mark finish: "error" on stream failures), anomalyco#43607 (SSE heartbeat comments no longer reset the chunk timeout). PORTS.md gains the durability/rebase policy and upstream watch-list. Recommended round.
opencode 1.18.21-lowmem.5
Fixes from review: upstream permission/question ordering preserved when entering child sessions, and deterministic causal tie-break for same-millisecond session IDs.
opencode 1.18.21-lowmem.4
Conveyor-consistent child-session navigation in the TUI: footer and session list now agree (creation-time order, causal same-millisecond tie-break); tab-cycling wraps through child sessions in the order they were created.
v1.18.21-lowmem.11
Resource-bounded fork of anomalyco/opencode — full capability, bounded footprint.
This round: consolidated clean history (10 feature commits on top of v1.18.21), dropped npm distribution (releases are GitHub-only), hardened payload eviction (failed-hydration re-arm, plugin getter refetch, orphan-part gating), narrowed the clean-EOF retry to truly-empty attempts, and restored array listener semantics in the anomalyco#38939 port.
Install:
curl -fsSL https://raw.githubusercontent.com/renekris/opencode-lowmem/lowmem/scripts/fork-install.sh | bashSee the README for the feature table and PORTS.md for the port manifest with upstream credit.
opencode 1.18.21-lowmem.3
Background subagent tabs settle only on opencode's own synthetic injection parts — user/model text can no longer spoof a settlement, and background.extend jobs stay running until the real completion signal arrives.
opencode 1.18.21-lowmem.2
Subagent memory bounds: keep-last-N eviction (50 completed tabs/details; running, pinned, and blocker-holding sessions exempt), oldest-first "conveyor" list ordering so the newest finished agent is always at the bottom. Evicted sessions revive automatically if they later queue a permission or question.
opencode 1.18.21-lowmem.1
Initial lowmem round. Ports of unmerged upstream PRs: anomalyco#39930 (bounded compacted-history hydration), anomalyco#42150 (O(N) delta accumulation), anomalyco#38939 (PubSub listener leak), anomalyco#41950 (config cache isolation). Local customs: diff-patch caps (100KB/patch, 256KB aggregate, metadata-only summaries). Adds scripts/fork-build.sh and the lowmem versioning scheme. See FORK.md and PORTS.md on the default branch.