Figena
npm
npm install -g @figena/cli
figena --versionpnpm
pnpm add -g @figena/cliyarn
yarn global add @figena/cliThe CLI provides a controlled command-line experience for approved workflows.
需要整合入口?
OpenPort仍是服務整合路徑。方格CLI作為終端機、CI與Agent工作流程的補充入口。
The CLI supports documented access, diagnostics, delivery, and visibility workflows.
figena auth login,以及 logout、refresh、status。figena config 與 profile 命令,用於API地址和本地上下文。figena doctor 檢查 Node、profile、憑證、儲存權限、API版本與健康狀態。figena version 回傳 CLI/API 相容性與服務端能力。figena agents list、get、create、version create、publish 與 deploy。figena run 與 figena runs wait 支援可重複執行流程。figena runs trace 用於查看執行與已發布呼叫上下文。登入、Agent交付與執行可觀測都可以從終端機完成,同時敏感規則繼續保留在服務端。
安全存取
終端機發起登入,瀏覽器處理身分確認,CLI只保存授權後的本機會話。
只有當驗證碼和你從終端機發起的登入一致時才確認授權。
驗證碼
QFNZ-YC
Agent交付
The CLI submits an approved request and displays reviewable progress and results.
figena agents list --output json校驗 spec
由方格API檢查
建立版本
服務端版本化
發布並執行 smoke
受策略控制
追蹤執行
輸出可讀 JSON
安全邊界
The public CLI exposes documented commands without publishing internal platform design.
Install, sign in, check status, and run documented workflows from the terminal.