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

@orca-pt/cli

v1.0.3

Published

CLI tool for managing Orca projects - Quick setup and deployment

Readme

@orca-pt/cli

Command-line interface for Orca project setup, authentication, agent inspection, and shipment workflows.

Installation

Install globally:

npm install -g @orca-pt/cli

Run without installing:

npx @orca-pt/cli --help

Primary command is orca. A fallback alias orcapt is also available.

Requirements

  • Node.js 14+
  • Docker (for ship deploy)
  • Valid workspace token
  • Access to an Orca API environment

API Target Configuration

The CLI resolves API target in this order:

  1. ORCA_API_URL
  2. ORCA_API_<ENV>_URL (where ENV is LOCAL, STAGE, or PROD)
  3. ORCA_ENV defaults (local, stage, prod)

Examples:

# One-off command
ORCA_API_URL="http://localhost:8081" orca login

# Session-wide
export ORCA_API_URL="http://localhost:8081"
orca login

Authentication

orca login
orca status
orca logout

Login flow:

  • Prompts for workspace and token
  • Tries tenant auto-resolution using tenant = workspace
  • If tenant resolution fails, prompts for tenant slug as fallback
  • Saves credentials locally in ~/.orcapt/config.json

Command Reference

Use orca --help and orca <command> --help for full details.

Core commands

  • orca login
  • orca logout
  • orca status
  • orca fetch doc
  • orca ui init|start|remove

Agent discovery

  • orca agents ls [--search <text>] [--per-page <number>]
  • orca agent <name|slug|id>

orca agent returns details such as type, endpoint, description, source, docs URL, and runtime flags.

Project setup

  • orca kickstart python [options]
  • orca kickstart node [options]
  • orca kickstart go

Common kickstart options:

--directory <name>
--port <frontend-port>
--agent-port <backend-port>
--no-start

Shipment (Lambda and EC2)

ship is the shipment namespace.

Lambda deploy:

orca ship deploy <function-name> --image <registry/image:tag> [options]

Options:

--image <image>         # required
--memory <mb>           # default: 512
--timeout <seconds>     # default: 30
--env <key=value>       # repeatable
--env-file <path>

Lambda management under shipment namespace:

orca ship lambda list
orca ship lambda info <function-name>
orca ship lambda invoke <function-name> [--payload <json>] [--path <path>]
orca ship lambda logs <function-name> [--since <time>] [--page <n>] [--per-page <n>] [--tail]
orca ship lambda remove <function-name>

EC2/Hetzner deploy via runner:

orca ship ec2 deploy <app-name> --image <registry/image:tag> [options]
orca ship ec2 stop <deployment-id>
orca ship ec2 status <deployment-id>
orca ship ec2 logs <deployment-id> [--page <n>] [--per-page <n>]

EC2 deploy options:

--image <image>                 # required
--internal-port <port>          # required internal app port
--push                          # tag/push local image to Docker Hub first
--tag <tag>                     # custom tag when using --push
--container-name <name>
--env <key=value>               # repeatable
--env-file <path>
--command <command>

Example: Deploy from a Dockerfile (Lambda)

From your project directory:

docker build -t my-agent:latest .
orca ship deploy my-agent-fn --image my-agent:latest

Example: Deploy to EC2 runner

docker build -t my-agent:latest .
orca ship ec2 deploy my-agent --image my-agent:latest --internal-port 3000
orca ship ec2 status <deployment-id>
orca ship ec2 logs <deployment-id>

Notes

  • Some legacy command groups are intentionally hidden from top-level help but may remain callable for compatibility.
  • CLI route integrations are organized under /api/v1/cli/* in Orca API.

Troubleshooting

  • Verify API target:
echo $ORCA_API_URL
  • Verify authentication:
orca status
  • Ensure Docker is running before shipment:
docker ps