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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@dubdubdublabs/agent-sync

v0.1.13

Published

Lightweight HTTP API to run or resume coding agents (Codex + Claude) on a workspace machine and persist normalized transcripts to InstantDB. Provider adapters live in `src/providers/`; persistence uses `@repo/agent-trajectory-persist`.

Downloads

1,289

Readme

agent-sync API server

Lightweight HTTP API to run or resume coding agents (Codex + Claude) on a workspace machine and persist normalized transcripts to InstantDB. Provider adapters live in src/providers/; persistence uses @repo/agent-trajectory-persist.

Build / run

  • Build: bun run build (bundles to dist/bundle/server.js).
  • Run dev (hot): bun run dev:server
  • Run built bundle: bun run --bun dist/bundle/server.js (or via the bin agent-sync).

Endpoints

  • GET /health
  • POST /runs – start a run. Body matches RunRequestSchema (provider, prompt?, model?, reasoningEffort?, etc.).
  • POST /runs/:id/resume – resume a trajectory.
  • POST /runs/:id/stop – stop a specific trajectory.
  • GET /runs/:id – status snapshot.

Schema alignment

  • Request/response schemas live in @repo/agent-trajectory-core/api-schema (Zod). The server, TRPC, and frontend share these for validation and options.
  • Reasoning support is model-aware (e.g., xhigh only on gpt-5.1-codex-max; Claude reasoning only on Opus).

Stop semantics

  • Stop is per-trajectory via POST /runs/:id/stop; the server aborts the specific run and marks it stopped. No DB polling.

Notes

  • Designed to run inside VM images under pm2 as agent-sync-api (default port 43117, path /operator/agent-sync).
  • Providers: Codex via @openai/codex-sdk; Claude via @anthropic-ai/claude-agent-sdk.

Build & publish

  • bun run build produces dist/bundle/server.js.
  • Package name @dubdubdublabs/agent-sync (public).