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

@ted-galago/wave-cli

v0.1.4

Published

Machine-first CLI used by a Node LangGraph agent to execute semantic Wave operations against the Rails API.

Readme

@wave/cli

Machine-first CLI used by a Node LangGraph agent to execute semantic Wave operations against the Rails API.

See also:

  • ./.env.example
  • ./docs/ENVIRONMENT_CONTRACT_CHECKLIST.md

Principles

  • stdout emits exactly one JSON envelope.
  • stderr is for debug/diagnostic logs only.
  • No prompts, colors, or interactive UX.
  • JWT forwarding is centralized.

Install

npm install @wave/cli

Or run locally:

npm run dev -- tasks list --project-id 123 --organization-id 42 --base-url https://api.example.com --token token

Secure stdin auth/context examples:

printf '%s' "token-value" | wave --token-stdin --base-url https://api.example.com --organization-id 42 tasks list --page 1 --per 10

printf '%s' '{"token":"token-value","baseUrl":"https://api.example.com","organizationId":"42","agentName":"atlas"}' \
  | wave --auth-json-stdin tasks list --page 1 --per 10

Runtime Contract

Required (from flags, stdin, or env):

  • WAVE_API_TOKEN
  • WAVE_API_BASE_URL
  • WAVE_ORGANIZATION_ID

Optional env:

  • WAVE_AGENT_NAME
  • WAVE_AGENT_RUN_ID
  • WAVE_REQUEST_ID
  • WAVE_TIMEOUT_MS
  • WAVE_DEBUG
  • WAVE_OPENAPI_PATH (local contract file, e.g. openapi/wave-cli.yaml)
  • WAVE_OPENAPI_URL (hosted contract file)
  • WAVE_OPENAPI_VERSION (pinned spec version/hash)

Deterministic precedence:

  • explicit flags (--token / --jwt, --base-url, --organization-id, and tracing/runtime flags)
  • stdin context (--token-stdin or --auth-json-stdin)
  • env vars (WAVE_*)
  • failure with structured JSON error

Commands

Examples:

wave tasks list --project-id 123
wave tasks create --project-id 123 --title "Fix auth bug"
wave tasks update --id 99 --status in_progress
wave projects list
wave projects show --id 123
wave rocks update-status --id 55 --status on_track
wave meetings show --id 77
wave members show --id 44
wave meetings notes --id 77 --content "Decisions captured"
wave issues create --issue-group-id 321 --name "Auth issue" --issue-type short_term
wave foundation strategic-plans show
wave foundation strategic-objectives update --data-json '{"strategic_objective":{"summary":"Updated"}}'
wave foundation annual-objectives create --data-json '{"annual_objective":{"strategic_objective_id":"7","name":"Annual Goal"}}'
wave foundation quarterly-objectives create --data-json '{"quarterly_objective":{"strategic_objective_id":"7","annual_objective_id":"8","name":"Quarterly Goal"}}'
wave lists create --data-json '{"name":"Weekly List"}'
wave list-items create --data-json '{"list_id":"123","summary":"Follow up"}'
wave todos create --data-json '{"todo_group_id":"55","name":"Send update"}'
wave knowledge create --data-json '{"title":"Runbook","content":"..."}'
wave pulse update --id 12 --data-json '{"status":"on_track"}'

All commands require organization context via --organization-id or WAVE_ORGANIZATION_ID. You can also provide organizationId via --auth-json-stdin.

Parent-Child Create Rules

These child resources enforce parent IDs at CLI validation time:

  • list-items.create requires list_id
  • issues.create requires issue_group_id
  • todos.create requires todo_group_id
  • rocks.create requires rock_collection_id
  • scorecards.create requires measurable_group_id

If a required parent field is missing, CLI returns JSON error with exit code 2.

JSON Envelope

Success:

{
  "ok": true,
  "command": "tasks.list",
  "status": 200,
  "data": {},
  "error": null,
  "meta": {
    "requestId": "req_123"
  }
}

Failure:

{
  "ok": false,
  "command": "tasks.create",
  "status": 403,
  "data": null,
  "error": {
    "code": "forbidden",
    "message": "Forbidden",
    "details": {}
  },
  "meta": {
    "requestId": "req_124"
  }
}

Exit Codes

  • 0: success
  • 1: generic uncaught error
  • 2: invalid args/config
  • 3: missing or invalid auth
  • 4: forbidden
  • 5: not found
  • 6: validation failure
  • 7: network or upstream error