@agentdeck/bridge

中文文档
2.1.1发布于 2026/11/08MITTypeScriptES Module构建来源已验证近 30 天下载 1709

AgentDeck CLI and daemon — steer Claude Code, Codex, and OpenCode sessions from Stream Deck, tablets, e-ink, ESP32 panels, and your terminal

原始使用文档
文档目录4 节
  1. Usage
  2. Platform notes
  3. Links
  4. License

@agentdeck/bridge

The agentdeck CLI and daemon for AgentDeck — a bidirectional local control system that puts AI coding agent sessions (Claude Code, Codex, OpenCode) on physical control surfaces and a terminal dashboard.

Most users should install through the setup wizard instead of this package directly:

npx @agentdeck/setup

Direct install:

npm install -g @agentdeck/bridge

Usage

agentdeck daemon install  # install hooks and start the daemon on login
claude                    # or: codex / opencode
agentdeck dashboard       # terminal dashboard
agentdeck daemon start    # start the daemon hub manually (port 9120)
agentdeck devices         # list connected display devices
agentdeck qr              # pairing QR for the iOS/Android companion apps
agentdeck --help          # full command reference

The daemon is the hub every dashboard client talks to. Normal agent commands report through lifecycle hooks or native event channels and can be steered where the observed session exposes a real delivery path.

The legacy agentdeck claude|codex|opencode|monitor per-session bridges are a long-term compatibility path with no removal planned (#273). Prefer daemon-first for ordinary local sessions. The managed path stays for immediate terminal steering and the workflows that have no daemon-first equivalent.

Full CLI reference: https://github.com/puritysb/AgentDeck/blob/master/docs/cli.md

Platform notes

  • Node.js 22+ on macOS, Windows 11, or Linux. Native modules install from prebuilt binaries; a compiler is only needed when a prebuild is missing.
  • The published package is identical on every platform — it carries no machine-built binaries. On macOS 26+, the voice/judge helper (agentdeck-fm-helper, Apple Foundation Models + on-device speech) compiles itself on first use into ~/.agentdeck/fm-helper/; this requires Xcode Command Line Tools (xcode-select --install). Without them, voice features report exactly what is missing and everything else keeps working.
  • Windows specifics (ConPTY, Scheduled Task autostart): https://github.com/puritysb/AgentDeck/blob/master/docs/windows.md
  • Linux specifics (systemd user unit, no Stream Deck app): https://github.com/puritysb/AgentDeck/blob/master/docs/linux.md

License

MIT

版本与发布记录

@agentdeck/bridge 共发布 54 个版本,首次发布于 2026/02/28;过去 12 个月发布了 54 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
2.1.1latest2026/11/081 天前
2.1.02026/11/064 天前
2.0.02026/11/027 天前
1.9.62026/10/2911 天前
1.9.52026/10/2812 天前
1.9.42026/10/2713 天前

关于 @agentdeck/bridge 的常见问题

@agentdeck/bridge 是什么?

AgentDeck CLI and daemon — steer Claude Code, Codex, and OpenCode sessions from Stream Deck, tablets, e-ink, ESP32 panels, and your terminal

如何安装 @agentdeck/bridge?

在项目目录运行 npm install @agentdeck/bridge,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 agentdeck,可以用 npx agentdeck 直接运行。

@agentdeck/bridge 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@agentdeck/bridge 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@agentdeck/bridge 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js 22.x || 24.x || 26.x。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@agentdeck/bridge 可以商用吗?

@agentdeck/bridge 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@agentdeck/bridge 的下载量有多少?

根据 npm 官方下载统计,@agentdeck/bridge 在 2026/10/05 – 2026/11/03 这 30 天内被下载 1,709 次,日均约 57 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@agentdeck/bridge 还在维护吗?

最新版本 2.1.1 发布于 2026/11/08(1 天前);至今共发布 54 个版本,其中过去 12 个月发布了 54 个;首次发布于 2026/02/28。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。