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

@atcx/contract

v7.14.0

Published

atc's public contract: the daemon's request contract, the event, session record, hello and config schemas, the error codes, the session env names, the state paths, and the gateway's routes and registry schema

Readme

The schemas and constants a program needs to talk to an atc daemon and read what it writes.

atc hosts coding-agent sessions in a daemon, and this package holds the daemon's side of the conversation: the oRPC request contract, the event and session record schemas, the hello answer, the error codes, the session environment names, and the paths of the daemon's sockets and state. The daemon and every atc client build on the same package, and each atc release publishes it at its own version. To start, resolve the daemon's socket with resolveAtcPaths, send daemon.hello, and pass the answer to checkDaemon to learn whether the daemon speaks your version of the contract.

Install

The package ships an ES module with its type declarations, for Node or Bun. It depends on Zod 4 and oRPC's contract library.

bun add @atcx/contract

oRPC's declarations import @opentelemetry/api, which oRPC lists only as an optional peer. A project that type-checks the declarations of its dependencies, with skipLibCheck off, installs it beside the package:

bun add -d @opentelemetry/api

Features

  • The request contract. DAEMON_CONTRACT, the oRPC contract of every daemon procedure, with each input and answer schema.
  • Events and records. DAEMON_EVENT_SCHEMA for the event stream, and PUBLISHED_RECORD_SCHEMA for the session record a session's helpers read.
  • Checking a daemon. checkDaemon compares the major version in the hello answer with the contract's, and lists the features that differ.
  • The gateway. GATEWAY_PATHS, the routes atc-gateway serves grouped as browser, machine and probe paths, and GATEWAY_REGISTRY_SCHEMA, the rules of the gateway's registry file.
  • The light entry. @atcx/contract/light holds the session environment names, the state paths and the error codes without the request contract, for a process that starts once per event.

Configuration

CONFIG_FILE_SCHEMA parses the top-level keys of atc's config.json, and the configuration guide describes each key.

Documentation

The published contract covers what the package holds and how its version moves with atc's.