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

@star-factory/launch-cli

v0.1.0

Published

Star permissionless launch CLI and local MCP server for agent tooling

Downloads

72

Readme

@star-factory/launch-cli

Official CLI and local stdio MCP server for launching permissionless Star tokens.

The agent never handles wallet secrets or mint keypairs. Users authorize with Star in the browser, and Star derives the launch wallet, reserves a Star vanity mint, submits the launch, and reports status.

Quickstart: launch a token in 60 seconds

# 1. Authorize this device (opens a Star login URL + user code)
npx -y @star-factory/launch-cli star launch login

# 2. Preview exactly what will be sent (no mutation)
npx -y @star-factory/launch-cli star launch create \
  --name "My Agent Token" \
  --ticker AGENT \
  --website https://example.com \
  --dry-run --json

# 3. Launch for real and wait until the token is live
npx -y @star-factory/launch-cli star launch create \
  --name "My Agent Token" \
  --ticker AGENT \
  --website https://example.com \
  --yes --wait-until live --timeout 30m --json

Install

npm install -g @star-factory/launch-cli
star --version
star --help

One-off package-manager execution:

npx -y @star-factory/launch-cli --help
pnpm dlx @star-factory/launch-cli --help
yarn dlx @star-factory/launch-cli --help

Use STAR_AGENT_CONFIG when an agent runs in a shared or temporary environment:

export STAR_AGENT_CONFIG="$(mktemp -d)/agent.json"

Use --api-url on login when testing a preview deployment. Keep the same Star URL for auth, validation, creation, and status checks.

Auth

Every mutation requires a scoped Star agent token.

star launch login --api-url https://star.fun
star launch whoami --json

login prints a Star URL and user code separately. Open the URL, sign in with Star's Privy-backed login, enter the code shown by the CLI, and let the CLI finish polling. The token is opaque, stored locally with private file permissions, and can be revoked server-side.

whoami confirms the saved session and launch wallet:

{
  "schemaVersion": "star.launch-agent/v1",
  "ok": true,
  "command": "launch.whoami",
  "data": {
    "userId": "...",
    "launchWallet": "..."
  }
}

Stop if data.launchWallet is missing. The user needs to finish wallet setup on Star.

Launch With Direct Fields

Direct fields are best for chat agents because the user can approve exactly what will be sent.

star launch validate \
  --name "My Agent Token" \
  --ticker AGENT \
  --website https://example.com \
  --json

star launch create \
  --name "My Agent Token" \
  --ticker AGENT \
  --website https://example.com \
  --dry-run \
  --json

star launch create \
  --name "My Agent Token" \
  --ticker AGENT \
  --website https://example.com \
  --yes \
  --wait-until live \
  --timeout 30m \
  --idempotency-key agent-run-001 \
  --json

Optional direct fields:

--x stardotfun
--description "Short public description"
--elevator-pitch "Why this token should exist"
--token-utility "How the token is used"

Launch From A File

Use a file when the user or agent already has a reviewed payload.

{
  "formData": {
    "projectDetails": {
      "name": "My Agent Token",
      "ticker": "AGENT"
    },
    "social": {
      "websiteUrl": "https://example.com"
    }
  }
}

Commands:

star launch validate --file launch.json --json
star launch create --file launch.json --dry-run --json
star launch create --file launch.json --yes --wait-until live --timeout 30m --json

create waits for live by default. Use --no-wait only when another process will watch status. Use --wait-until launch_requested only for low-level diagnostics.

Required Fields

| Field | Requirement | | ------------------------ | ----------------------------------------------------------------- | | name | Non-empty token or project name | | ticker | letters A-Z and digits 0-9; lowercase is accepted and normalized | | website / websiteUrl | Non-empty website; Star adds https:// when no scheme is present | | x / xUsername | X username is optional; leading @ is stripped |

Do not provide userId, wallet secrets, mint addresses, mint keypairs, quote mint settings, or fundraise configuration. Star derives the identity and launch wallet from the authenticated account.

JSON Output

Pass --json for one stable envelope per command:

{
  "schemaVersion": "star.launch-agent/v1",
  "ok": true,
  "command": "launch.create",
  "data": {
    "ok": true,
    "idempotencyKey": "agent-run-001",
    "created": {
      "projectId": "...",
      "projectSlug": "...",
      "launchId": "..."
    },
    "status": {
      "launchId": "...",
      "status": "live",
      "baseMint": "...Star"
    }
  }
}

Always keep data.created.launchId or data.status.launchId. It is the recovery handle for timeouts, failures, and support.

Status

star launch status <launchId> --watch --wait-until live --timeout 30m --json

Common statuses:

| Status | Meaning | | ------------------ | ------------------------------------------------------------- | | launch_requested | Star accepted the request and queued on-chain launch work | | live | Token launch is live | | failed | Launch stopped with a typed failure | | timeout | CLI wait timed out; keep the launch id and check status again |

Errors

| Code | Agent response | | -------------------------------------------------- | ---------------------------------------------------------------- | | AUTH_REQUIRED, TOKEN_REVOKED, SCOPE_REQUIRED | Run star launch login, then retry | | AUTH_URL_MISMATCH | Use one allowlisted Star URL through the whole flow | | AUTH_WALLET_MISSING | Ask the user to finish Star wallet setup | | CONFIRMATION_REQUIRED | Ask for approval, then retry with --yes | | VALIDATION_FAILED | Show field errors and collect corrected values | | CAPACITY_UNAVAILABLE, INVENTORY_EMPTY | Tell the user Star launch capacity is temporarily unavailable | | KEEPER_FAILED | Report the launch id and sanitized failure; do not retry blindly | | TIMEOUT | Keep the launch id and continue status checks |

MCP

star mcp serve

Tools:

  • star_auth_begin
  • star_auth_poll
  • star_auth_status
  • star_launch_requirements
  • star_launch_validate
  • star_launch_token
  • star_launch_status

Agents should parse structuredContent, not scrape text. star_launch_token accepts flat launch fields like name, ticker, websiteUrl, and optional xUsername; it requires confirmed: true unless dryRun: true.

Local Checks

node --test packages/star-launch-agent/test/*.test.mjs
npm --prefix packages/star-launch-agent run pack:check

License

MIT