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

dsh-agent-fleet-patchouli

v0.1.4

Published

Patchouli memory integration for DSH Agent Fleet

Readme

dsh-agent-fleet-patchouli

Optional Patchouli integration for Agent Fleet. The package has two modules:

  • dsh-agent-fleet-patchouli/adapter mounts on Fleet and routes runtime events into Patchouli.
  • dsh-agent-fleet-patchouli/processor registers directly with Patchouli Core as a third-party processor and fans matching calls out to independently registered algorithm blocks. No ranking or automatic algorithm-selection policy is imposed yet.
  • fleet-conversation-history searches the stable Fleet message log visible to the calling participant. Shared conversations do not depend on which native Session happened to receive or send a relay.
  • fleet-team-state and fleet-team-activity expose current Team state and bounded durable activity history.
  • fleet-shared-resources searches Team resource metadata at low effort and bounded textual content at higher effort.

On the first model step of a turn, Fleet task, direct-message, and addressed Channel inputs participate in Patchouli's passive recall path. The adapter derives a bounded query from the newest relevant Fleet or human message, while ignoring Tool results, runtime snapshots, and reminders so passive recall does not repeat on every Tool step.

Generic Session history, repair history, workspace, project, artifact, and Git retrieval are provided by dsh-patchouli-native-context-service. This package keeps only Team-owned data and semantics.

Fleet-originated memory metadata uses fleetEffort with low, medium, or high. Trusted integrations may set meta.attributes.fleetEffort; Patchouli 0.1.3 model tools may request it with memory_retrieve({ query, metadata: { fleetEffort } }). The routed attribute takes precedence over tool metadata. Each Fleet algorithm declares its minimum effort, while the selected algorithm receives the same budget for its own depth decisions. Fleet retrievals with missing or invalid effort default to medium; explicit low and high remain available. Conversation history remains one stable Fleet log at every effort level.

The package does not duplicate Fleet journals or Patchouli storage. A routed Fleet event is acknowledged as stored when the durable Fleet journal has made it addressable through the read-through memory algorithms; installed Patchouli providers may also index their own representations. Patchouli's Agent Loop package remains the sole owner of the standard memory_update and memory_retrieve tools. Successful public Team and Channel memory writes and effective history recalls are mirrored into Fleet's durable activity timeline. Timeline activity requires a positive processor result: updates report handled: true with stored > 0, while retrievals must contain at least one returned item. Routing attempts, skipped updates, zero-write deduplication, empty retrievals, and failures stay out of the timeline. When the Fleet Web UI is present, the package adds a Team Memory panel for browsing those effective writes and recalls, while the regular Team timeline marks them as dedicated memory entries.