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 (@paneui/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@paneui/cli
Command-line client for the Pane relay: hand a human a rich interactive UI by URL and capture their answer as structured data — from any agent (cron job, chat bot, CI, headless server).
Install
npm install -g @paneui/cli
# or, no install:
npx @paneui/cli <command>The binary is pane.
Setup
export PANE_URL=https://relay.paneui.com # or your self-hosted relay
pane register --name "my-agent" # provisions and saves an API keypane register writes the URL + API key to
${XDG_CONFIG_HOME:-~/.config}/pane/config.json. Subsequent commands need
only PANE_URL (or nothing) in the environment.
Override per-invocation with --url <url> and --api-key <key>.
Commands
pane register Provision an agent API key and save it locally
pane create Create a session — returns session_id, urls, tokens
pane artifact Manage reusable, versioned artifacts
pane state <id> Non-blocking snapshot: metadata + event log
pane send <id> Emit an agent event into a session
pane watch <id> Stream a session's events as JSON-lines on stdout
pane delete <id> Close / delete a session
pane keys Inspect or revoke your agent's API key
pane config Show the resolved relay config (no network call)
pane logout Clear the locally-saved URL + API keyRun pane <command> --help for command-specific options.
Output
stdout is machine-readable JSON. Errors go to stderr as
{"error":{"code","message"}} with a non-zero exit.
SESSION=$(pane create --template form --schema ./q.json | jq -r .session_id)
pane watch "$SESSION" | jq 'select(.type == "human_response")'Links
- Repo: https://github.com/aerolalit/paneui
- Spec: https://github.com/aerolalit/paneui/blob/main/docs/SPEC.md
- License: MIT