Skip to content

v1.0.0 — /fresh command

Choose a tag to compare

@orangeofcarl0-sys orangeofcarl0-sys released this 15 Aug 19:54
· 10 commits to master since this release

What

/fresh — one command to retire a large session and keep working:

  1. summarize via ctx.compaction.compactNow (reuses dsh's manual compaction)
  2. start a new session inheriting the old session's cwd + agent preset
  3. archive the old session (frees its live event tree — the ~700MB/session OOM driver)

Each step degrades independently; a busy/cancelled compaction still starts the new session and archives.

Install

dsh plugin --profile web add github:orangeofcarl0-sys/dsh-fresh-start

17 tests ALL PASS. Verified on dsh 0.1.0-rc.6.