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-mnemon-provider-openviking

v0.5.7

Published

OpenViking Provider child for the Memory Spaces Source.

Readme

dsh-mnemon-provider-openviking

An adapter for an existing OpenViking HTTP service and its filesystem-shaped memory resources.

Requires a reachable OpenViking endpoint supporting POST /api/v1/content/write with mode: "create", wait: true, and tags. Agent-authored memories use unique Markdown files; the adapter verifies completed indexing and exact full-content readback before returning stored with a reversible id. It does not create extraction sessions.

The supported scope is viking://user/<user>/memories. Existing viking://user/memories settings resolve through the configured user or authenticated /api/v1/system/status identity, without rewriting the local registry. A failed response, timeout, or mismatched readback produces an error instead of a committed receipt. The error includes the requested URI because remote content may remain; inspect it before retrying. Existing memories remain readable, and downgrading does not remove files written by this adapter.

Use

The default dsh-mnemon Starter already installs this package. Enable and configure the service on the dsh-mnemon page under Plugins, then inspect its synchronized Memory Spaces.

For a user API key without Admin API access, including managed OpenViking Service endpoints, fill endpoint, apiKey, account, and User key owner (skip admin) (discoveryUser) with the supplied account/user identifiers. The adapter validates viking://user/<discoveryUser>/memories through the read-only /api/v1/fs/ls data API and synchronizes that one space. It sends no account/user identity headers in this mode: the key determines the authenticated tenant, and account identifies the local projection rather than overriding that identity. Use an existing accessible memory root; an absent root, rejected key, invalid response, or denied owner fails the save and preserves previous settings. Health-only success is insufficient. This path does not verify write permission or certify a particular cloud deployment; exact writes still require the content API above.

Leave discoveryUser empty for the existing admin discovery flow. There is no automatic fallback after an admin error. Nonempty discoveryUser requires a safe user ID, an explicit account, and an API key; manually configured memory owners must match it. The new setting uses the existing service registry format. Before downgrading to an adapter without this field, clear it using the current version and use admin-capable configuration, or disable the service and restore an older compatible configuration. Reconnection and downgrade never delete remote memories.

For a custom composition, install this package alongside dsh-mnemon-source-memory-spaces and include it in that Source's config.providers:

providers:
  - use: dsh-mnemon-provider-openviking
    instanceId: openviking

This is a Memory Spaces child module, not a top-level Source or a complete Strategy. It registers through dsh-mnemon-source-memory-spaces/provider-sdk; each parent Source owns its child Fibers, connection settings and lifetime. Credentials stay on the Host.

Provider setup and capability matrix · 中文指南

Develop independently

From a source checkout with the declared dependencies installed, run pnpm verify. Tests, build and public exports belong to this package, without importing another package's controllers or repository configuration. Use the Source's public /testing fixtures for child registration and driver conformance; live service tests require a separately authorized environment.

To test a disposable local OpenViking service (never a personal store), run MNEMON_OPENVIKING_TEST_ENDPOINT=http://127.0.0.1:1933 pnpm exec vitest run tests/integration.spec.ts. Supply MNEMON_OPENVIKING_TEST_API_KEY when the service requires authentication. It creates one synthetic canary in the default user's namespace, reads/searches/browses it, and deletes its exact URI. Ordinary verification skips this optional integration test. Admin discovery requires a key allowed to enumerate users; ROOT keys cannot access tenant data in api_key mode. The user-key regression uses deterministic responses, not a live cloud account.

Plugin author guide