跳轉到主要內容

Documentation Index

Fetch the complete documentation index at: https://docs.bricks.tools/llms.txt

Use this file to discover all available pages before exploring further.

2026 年 5 月 20 日
發佈
v2.24.4

分享 App

  • bricks app share-info <id> — 列出來源 App 已選的 release。詳見指令
  • bricks app share-new — 從共享 release 版本建立 App(可用 --app-id + --version--version-id)。

App 與 Module

  • bricks app/module release — 接受 --name 在同一個請求中重新命名。
2026 年 5 月 13 日
發佈
v2.24.3

自我更新

  • bricks update-cli — 新增指令,可就地自我更新(npm/bun/獨立執行檔皆支援);--check-update 僅回報是否有新版本,不會實際安裝。詳見指令

Buttress

  • bricks buttress scan — 掃描 LAN 上的 buttress-server,並顯示驗證狀態、綁定的工作區與各 generator 的硬體規格。詳見指令

App 與 Module 更新

  • bricks app/module update — 支援 --last-commit-id--validate 旗標以拒絕衝突推送。產生的專案新增 bun update-app 腳本,可在不變更 release 版本的情況下推送設定,並依照專案 git 狀態自動推導衝突防護資訊。

DevTools

  • 預設輸出 HTTP CDP 前端 URL;devtools:// 標示為 legacy。詳見本機除錯
  • 支援將 devtools 旗標放在子指令之前。

其他

  • 支援以 -v 作為 --version 別名。
  • bricks app/module new --init(與 ctor-init)使用者明確指定 --output 時,將其視為目標目錄。
  • 拒絕在現有 CTOR 專案內初始化新專案。
2026 年 5 月 4 日
發佈
v2.24.2

desktop-acp-bridge

  • desktop-acp-bridge 新增 --ws 模式,可將 CTOR Desktop 的 ACP socket 透過 WebSocket 對 LAN 用戶端公開,並支援 Bearer-token 驗證。詳見指令
2026 年 4 月 29 日
發佈
v2.24.1

獨立發行版

  • 新增獨立 CLI 發行版,提供 macOS、Linux、Windows 安裝程式(不需 Node.js)。安裝前置需求請參考驗證指令
  • 偵測到 bun 時優先使用 bun runtime,否則自動回退至 node
  • Unix 安裝目錄改為 ~/.bricks-cli/bin
  • PATH 中缺少安裝目錄時,自動將其加入對應的 shell rc。
2026 年 4 月 22 日
發佈
v2.24.0

重點 — AI 代理工作流程

  • 機器可讀的健康檢查 — 新增 bricks doctorbricks auth status --json,提供可程式化執行的環境診斷,詳見指令
  • resolve 指令 — 新增 resolve 子指令,用於透過名稱或別名解析 devices、apps、modules、groups 的正式 ID。
  • --dry-run 預覽 — 執行前先預覽寫入類指令的影響:device controldevice binddevice refreshdevice clear-cacheapp bindapp releasemodule releasegroup dispatchgroup refresh
  • Activity Log 與裝置指標 — 可透過 CLI 與內建 MCP server 查詢 Activity Log 資料與裝置指標。
  • 非 TTY 環境下的安全啟動 — 當 stdout 非 TTY 時顯示 help 而非 Ink UI,確保 CI 與管線呼叫行為穩定。

DevTools

  • bricks devtools — 新增多項子指令,可從終端機檢查執行中的 BRICKS 應用程式:screenshotbrick treebrick queryinput tapinput typenetwork listnetwork getstorageruntime eval,詳見 DevTools 指令