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

@arcridge/sundial

v0.1.1

Published

Sundial project-local CLI and Decision Record store logic.

Downloads

371

Readme

sundial

Decision-aware coding autonomy for staff-engineer-supervised AI work. Sundial turns engineer judgment into reusable agent context by storing accepted decisions as plain markdown Decision Records (DRs) inside your project.

When an agent encounters a consequential choice without precedent, it writes a candidate DR instead of silently inventing a new rule. You review candidates in a file-backed Candidate Inbox (or in the companion VS Code extension), accept or reject them, and retire older DRs as they age out. Accepted DRs become durable project memory that the next agent run consults before designing or coding.

  • Open source, file-backed, no vendor lock-in
  • One-line install
  • Works with Claude Code and Codex CLI off the shelf
  • Companion VS Code extension for the Candidate Inbox

Install

npm install -g sundial

Requires Node.js >= 20.

Quickstart

Initialize a project:

sundial init --root /path/to/project --claude --codex

init always creates .sundial/ and starter domains. Runtime assets are opt-in:

  • --claude writes missing Claude Code project assets to .claude/skills/ and .claude/CLAUDE.md from CLI templates.
  • --codex writes missing Codex project assets to .agents/skills/ and AGENTS.md from CLI templates.
  • Pass both flags to bootstrap both runtimes.

Refresh installed skill files later without rerunning store init:

sundial update --claude --codex

The update command discovers the nearest ancestor .sundial store by default; pass --root /path/to/project to target a specific project. Sundial-owned instruction blocks in files such as AGENTS.md and .claude/CLAUDE.md are repaired or refreshed without overwriting user-authored content outside those blocks.

How it works

  1. Retrieve precedent. Before design or coding, the agent consults accepted DRs.
  2. Create candidates. When the agent hits a consequential choice with no precedent, it writes a candidate DR.
  3. Review the inbox. The engineer edits, accepts, or rejects candidates and retires DRs that no longer apply.
  4. Improve future work. Accepted DRs become durable project memory.
project/
  .sundial/
    domains.md
    drs/
      accepted/
        adr-001-testing-strategy.md
        dr-014-agent-permissions.md
      candidates/
        cand-027-error-boundaries.md
      rejected/
      retired/

Commands

sundial init --root <path> [--claude] [--codex]
sundial update --claude --codex
sundial status
sundial bootstrap --provider claude
sundial bootstrap --provider codex
sundial domains

sundial dr list [--status accepted]
sundial dr get DR-0001
sundial dr retrieve --domain <domain>
sundial dr disable DR-0001
sundial dr enable DR-0001
sundial dr retire DR-0001 [--by DR-0002]
sundial dr promote CAND-0003 --from rejected

sundial candidate create --title "Decision title" --domain <domain> --decision "Do the thing"
sundial candidate list
sundial candidate show CAND-0001
sundial candidate accept CAND-0001
sundial candidate reject CAND-0001 --reason "Covered by DR-0001"
sundial candidate retire CAND-0001 [--by DR-0001]

Notes:

  • Enabled accepted DRs are the only precedent retrieved by dr retrieve.
  • Candidate DRs can include a proposed domain with a description; accepting the DR appends that proposal to .sundial/domains.md.
  • DRs can include a ## Appendix section for human-facing explanatory context; short and medium retrieval omit it.

VS Code

A companion VS Code extension contributes a Sundial activity bar view with a Candidate Inbox, a Sundial: Initialize Project command, and a Sundial: Bootstrap Decisions command. Bootstrap invokes the selected Claude or Codex CLI and requires it to create DR candidates through sundial candidate create, so candidates use the normal lifecycle path. The extension expects the sundial CLI to be available on PATH.

Links

  • Source: https://github.com/bjackson-arcridge/sundial
  • Issues: https://github.com/bjackson-arcridge/sundial/issues
  • About: https://arcridgelabs.com/sundial.html

License

Apache 2.0