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

@graphorin/core

v0.8.0

Published

Core types, contracts, and utilities for the Graphorin framework. Dependency-free root package every other @graphorin/* package depends on.

Readme

@graphorin/core

The dependency-free root package every other @graphorin/* package builds on.

@graphorin/core defines the public type system and the cross-package contracts for the Graphorin framework. It contains no runtime: every implementation (sandbox, secrets store, memory store, provider adapters, agent runtime, workflow engine, server, …) lives in a sibling package and depends on the interfaces declared here.

  • Status: v0.8.0 - type and contract surface for the v0.1 release line.
  • License: MIT - © 2026 Oleksiy Stepurenko.
  • Engines: Node.js 22+ (ESM only).
  • Runtime dependencies: none.
  • Peer dependency: zod (^3.23 || ^4) - used for schema-typed values (stateSchema, inputSchema, outputSchema, EvalScorer, …). Bring whichever Zod version your application already uses.

Installation

pnpm add @graphorin/core zod

What is in here?

The package is organized into four sub-modules with their own exports sub-paths so that consumers can import only what they need:

| Sub-path | Contents | | ------------------------- | ------------------------------------------------------------------------------------------------------- | | @graphorin/core | Re-export of the entire surface (types + contracts + utilities + channels). | | @graphorin/core/types | Plain TypeScript types: Message, AgentEvent, WorkflowEvent, RunContext, RunState, Usage, … | | @graphorin/core/contracts | Interfaces consumed by other @graphorin/* packages: Provider, MemoryStore, Tracer, Sandbox, … | | @graphorin/core/utils | Tiny dependency-free helpers: collect, mapStream, merge, withSignal, md5, xxhash, … | | @graphorin/core/channels| Workflow channel types (LatestValue, Reducer, Stream, Barrier, Ephemeral, AnyValue) plus the durable primitives sleepFor / sleepUntil, awaitExternal, and requestApproval. |

Naming notes

  • The workflow primitive set in @graphorin/core/channels is Graphorin's own design: Directive for control flow, Dispatch for dynamic tasks, pause(value) for programmatic suspension, the channel kinds LatestValue, Reducer, Stream, Barrier, Ephemeral, AnyValue, and the durable-suspension primitives sleepFor / sleepUntil (durable timers), awaitExternal (awakeables), and requestApproval (persisted approvals) that @graphorin/workflow executes. These names are part of the public API and must not be aliased to terms from other workflow libraries (a dedicated lint rule lands later in the release).
  • SecretValue is exposed here as an interface, not a class: the runtime implementation lives in @graphorin/security. Downstream packages typing parameters as SecretValue therefore depend only on @graphorin/core.

Stability

Every exported type is annotated with one of two TSDoc tags:

  • @stable - covered by semver guarantees for the v0.x line.
  • @experimental - may change between minor versions; a deprecation note in the CHANGELOG.md will accompany every removal.

The whole @graphorin/core surface ships as @stable today - the @experimental tag is used in the packages where genuinely unsettled corners live (mcp, tools, security, skills), not here. The committed API report in etc/core.api.md is diffed in CI (check-api-report), so every change to this public surface is explicit in review.

Versioning

@graphorin/core follows the same lockstep release as the rest of the @graphorin/* packages while the framework is on the 0.x line.


Graphorin · v0.8.0 · MIT License · © 2026 Oleksiy Stepurenko · https://github.com/o-stepper/graphorin