@kueng/pac-cli
v0.1.6
Published
PAC CLI — discover and invoke Private Agent Cloud agents
Readme
@kueng/pac-cli
PAC CLI for Private Agent Cloud. Discover authorized Agents, inspect the public Contract, run executions, watch streams, confirm spend, and download artifacts.
npm install -g @kueng/pac-cli
pac --version
pac cli-skill install
pac loginUse a Token created in PAC settings. A single-organization Token is bound to that organization; an all-organizations Token can select one with pac org use.
pac login
# or non-interactively:
export PAC_TOKEN=pac_pat_...
pac whoami
pac agentsDefault API origin is https://api.pac.zhiyu.hk. Published pac always uses that unless you set PAC_GATEWAY.
Inside this repository, node packages/cli/dist/index.js (and other in-repo entry points) login against .env API_PORT and write state to .pac/, so a local session cannot stick to the global CLI. Override with aliases when you need to:
PAC_GATEWAY=local pac whoami # http://localhost:$API_PORT
PAC_GATEWAY=prod pac whoami # https://api.pac.zhiyu.hkAI Agent install guide: https://pac.zhiyu.hk/agent-install-guides/cn/pac-cli.md
