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

@sumicom/quicksave-shared

v0.8.6

Published

Shared types and utilities for Quicksave

Downloads

2,441

Readme

@sumicom/quicksave-shared

Shared TypeScript types, crypto utilities, and wire-format helpers used by all three Quicksave apps (agent, pwa, relay). Not intended for external consumption — it's published so the agent and PWA can depend on it via the normal npm resolution, not because it has a stable standalone API.

Modules

| Entry | Contents | | ----------------------------- | -------------------------------------------------------------------------- | | @sumicom/quicksave-shared | Everything (re-exports all of the below) | | .../crypto | NaCl box/sign wrappers, gzip+encrypt envelope helpers | | .../protocol | Message envelope helpers, handshake types, message-type narrowing |

What lives here

  • types.ts — the canonical MessageType enum and every payload / response type exchanged between PWA and agent (claude:*, git:*, agent:*, ai:*, push:*, etc.). This is the wire contract.
  • cards.tsCard / CardEvent data model used for streamed assistant output (user text, assistant text, thinking, tool calls, subagent blocks, system). Consumed by StreamCardBuilder in the agent and by CardRenderer in the PWA.
  • crypto.ts — X25519 + XSalsa20-Poly1305 box for E2E message encryption; Ed25519 for signed HTTP calls to the relay's push routes; gzip+encrypt envelope used for all wire messages.
  • protocol.ts — helpers for building and parsing the Message<T> envelope that wraps every request, response, and push.
  • permissions.ts — permission-mode enum (bypassPermissions, acceptEdits, default, plan) and per-mode auto-approve tables.
  • defaults.ts — default signaling URL and other shared constants.

Wire contract note

Anything added to or changed in MessageType in types.ts is a protocol change — both the agent's MessageHandler and the PWA hooks (useClaudeOperations, useGitOperations) must be updated at the same time. See docs/references/quicksave-architecture.md §四 for the full message-type catalog and bus-path mappings.

License

MIT