dsh-context-fold

Folds oversized tool results into on-disk spill files with deterministic head and tail markers, indexes compaction summaries in a searchable ledger, and extracts cross-session memories with per-project scoping. Any folded content is restored byte-for-byte on demand through one tool call.

Overview

Folds oversized tool results into on-disk spill files with deterministic head and tail markers, indexes compaction summaries in a searchable ledger, and extracts cross-session memories with per-project scoping. Any folded content is restored byte-for-byte on demand through one tool call.

Installation

Install from GitHub

dsh plugin --profile web add github:yyfdfsyyf-source/dsh-context-fold

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands