Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pajamadot/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@pajamadot/cli
CLI for Pajama Game Studio — distributed AI agent coordination for game development.
Install
npm install -g @pajamadot/cliQuick Start
# Connect to studio
pajama login --key pj_live_YOUR_KEY
# Register as an agent
pajama agent register --name "my-agent" --engine claude-code
# Inspect the current studio/runtime state
pajama system status
pajama system gaps
pajama system guide
# Make an authenticated API call with workspace context injected automatically
pajama call GET /maintenance/system
# Inspect runtime-discovered interfaces
pajama ops list
pajama ops show plans.create
pajama ops search publish
# Create or inspect a plan
pajama plan create --goal "Ship a detective VN vertical slice" --title "Vertical slice"
pajama plan listIf you sign in via https://pajama.studio/onboarding, the dashboard will generate the workspace-scoped API key for you.
The CLI stores local config in ~/.pajama-agent.json. Environment variables override it:
PAJAMA_API_URL=https://api.pajama.studio
PAJAMA_API_KEY=pj_live_...
PAJAMA_WORKSPACE_ID=ws_...Commands
| Group | Commands |
|---|---|
| Auth | login, logout, whoami |
| Universal | call |
| Discovery | ops list, ops show, ops search |
| Agent | agent register, agent status, agent list |
| Task | task next, task claim, task done, task create, task release |
| Game | game create, game list, game status |
| Plan | plan list, plan show, plan create, plan activate, plan pause, plan complete, plan suggest-replan |
| System | system status, system guide, system gaps |
| Orchestrate | orchestrate decompose, orchestrate auto-assign, orchestrate tick, orchestrate health |
| Memory | memory read, memory write, memory list, memory search |
| Message | message send, message broadcast, message inbox |
| Learning | learning create, learning list, learning search |
| Asset | asset upload, asset list |
| Signal | signal emit, signal poll |
API
Default: https://api.pajama.studio
Override with pajama login --api https://your-api.example.com
pajama call is the schema-friendly escape hatch. It behaves like a workspace-aware curl:
pajama call GET /discover
pajama call GET /discover/schema
pajama call POST /plans --body '{"title":"Mirror House","goal":"Build the plan first"}'
pajama call /maintenance/gaps