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

@0xhoneyjar/quests-protocol

v0.1.2

Published

Sealed wire-format schemas for quest engagement — substrate-graded step submission + verdict (instance-1 · cycle 2026-05-03). Future shapes: quest defs, completion criteria, badges, raffles, completion events.

Downloads

420

Readme

packages/protocol — sealed quest schemas

Wire-format contracts for quest engagement. Bridges every freeside-quests consumer (worlds, ruggy, dashboards, future MCP wrappers) to a single coherent vocabulary.

Contract version: 1.0.0 · authority: Effect Schema · sealed.

Current contents

Cycle 2026-05-03 substrate-integration (instance-1) lands the substrate-step submission/verdict pair — the over-the-wire envelope for substrate-graded activity steps in cubquests-interface.

| export | purpose | |---|---| | SubstrateStepSubmission | Gateway → Kafka → construct. Discriminated payload (essay/url/structured), trace correlation, lowercased EVM wallet, contract-version stamping. | | SubstrateStepVerdict | Construct → Kafka → resolution listener. Status (APPROVED / REJECTED / NEEDS_HUMAN), confidence on [0,1], human-readable reasoning, optional per-construct dimensions. | | SubstrateStepPayload | Discriminated union of supported submission shapes. Additive minor bumps. | | VerdictStatus | Literal union — terminal states + human-routing. | | SUBSTRATE_STEP_CONTRACT_VERSION | "1.0.0" — semver string for wire-format compatibility checks. |

Three boundaries validate against these schemas:

  1. freeside-quests/apps/api gateway — validates inbound submission, wraps in Hounfour CompletionRequest, publishes to Kafka.
  2. Substrate construct (e.g. 0xHoneyJar/construct-lore-essay-grader) — validates narrower per-construct input; emits verdict back into the result topic.
  3. freeside-quests/apps/worker resolution listener — validates inbound verdict before any DB update, badge issuance, or Discord ping.

Doctrine

Substrate-graded steps are a primitive of the substrate-construct convention. See ~/vault/wiki/concepts/substrate-mental-model-for-product-builders.md — the operator authors lore + grading instructions; the construct enforces them. The protocol package owns the seam.

Future shapes

Source: world-sprawl/cubquests/ + world-sprawl/cubquests-dashboard/. Per ../../docs/EXTRACTION-MAP.md. Not yet shipped:

| file | purpose | |---|---| | quest.schema.ts | Quest definition — title, description, completion criteria, rewards, partner attribution, dates | | completion-criteria.schema.ts | Typed completion criteria (held NFT count, trait match, social action, onchain action, partner-specific) | | badge.schema.ts | Badge definition + issuance criteria + visual asset references | | raffle.schema.ts | Raffle entry + draw + winner schemas | | event.schema.ts | Quest-completion NATS event shape (quests.completion.{world}.{quest_id}). NEW. | | webhook-payload.schema.ts | HMAC-signed webhook payload format. NEW. | | types.ts | Branded TS types — QuestId, BadgeId, CompletionEventId, PartnerSlug |

Governance

Same as freeside-worlds/packages/protocol/VERSIONING.md — imported verbatim from loa-constructs/.claude/schemas/VERSIONING.md. Enum-locked, additive-only minors. Major bumps require new file + migration plan + stable $id.

Consumers

  • freeside-quests/packages/engine — substrate-step dispatch validates against these schemas
  • freeside-quests/packages/ports/ — type ports off these schemas (post-extraction)
  • freeside-quests/packages/adapters/quest-engine-client.ts — validates over wire (post-extraction)
  • freeside-quests/packages/mcp-tools/ — agent-callable surface (post-extraction)
  • world-sprawl/cubquests-dashboard/ — impl validates inputs/outputs against these (post-extraction)
  • 0xHoneyJar/freeside-ruggy — consumes event schemas + completion fan-out (post-extraction)
  • freeside-worlds — world manifests reference compose_with: freeside-quests
  • (future worlds) Purupuru Year 2, Honey Port, Mibera — typed access via ports