npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@treeseed/dsh-chapters

v0.1.16

Published

dsh plugin: verbatim chapter archive + zero-token index for small-context models

Readme

dsh-chapters

Long memory for local AI: a DeepSeek Harness plugin that archives agent conversations as verbatim chapters, continues sessions from a Table of Contents at zero inference-token cost, and turns that archive into a shared, searchable knowledge pool. Published on npm as @treeseed/dsh-chapters; source at treeseed-ai/dsh-chapters.

All documentation lives on the documentation site — this README is a doorway, not a duplicate.

📖 https://treeseed-ai.github.io/dsh-chapters/

Install (the whole setup)

dsh plugin --profile web add @treeseed/dsh-chapters      # install into your harness profile
dsh plugin --profile web update @treeseed/dsh-chapters   # keep current — restart `dsh web` after

--profile <name> is required on every dsh plugin command (web = the browser harness profile). After restart you have the fork button, six agent tools, four /chapters-* commands — and the optional chapters preset that routes /compact through the zero-token engine.

Find the right page for your question

| You want to… | Go to | |---|---| | understand what this is / why (the ten benefits) | Home → “What it gives you” | | install, upgrade, uninstall, verify provenance | §23 Install, upgrade, provenance | | run your first compaction/continuation | §1 Quickstart → §2 Your first continuation | | link a shared knowledge pool (git or TreeDX) | §3 Link a knowledge pool · §10 The pool | | run any command — exact syntax, scope, outputs | §15 Commands | | know what the agent-facing tools do | §16 Agent tools | | tune a threshold, budget, or trigger | §17 Configuration | | understand why not summaries / the economics | §5 Why not summaries? | | read the design rules the system won't break | §6 The four invariants | | the theory behind retrieval-over-compression (RLM) | §8 Recursive context theory | | propose/approve rules for agents | §13 Rules & governance | | debug something (“seems broken, is it?”) | §4 FAQ & troubleshooting | | prompt-cache / llama.cpp behavior | §21 Cache behavior on llama.cpp | | see measured results (production run + benchmarks) | §19 Benchmarks · §20 Field study | | compare with other memory approaches | §22 The alternatives, compared | | check security/privacy boundaries | §27 Security & privacy | | release history & known-fixed incidents | §26 Changelog | | develop the plugin itself | §24 Developing → the engineering specs below |

Developing / contributing

The site's Part VI covers the daily loop; the repository itself holds the engineering truth for agents:

  • AGENTS.md — working spec for AI agents developing this repo (invariants, budget, hard rules)
  • docs/ — deep specs: contract.md (host API facts), architecture.md (mechanics), development.md (build/test loop + tape system), verify.md (every claim's procedure), knowledge-repo.md (design record), host-compaction-seam.md, provider.md
  • benchmarks: npm run bench — three arms, local model, never CI (protocol)

Feature requests and bugs: open an issue — measured reports get measured answers.

License

Apache-2.0 — see LICENSE. Your conversations, chapters, and knowledge pools stay yours.