@bakers-build/bakers

中文文档
0.8.0发布于 2026/11/10MITES Module近 30 天下载 9805

bakers.build meta package: the bakers plugin-host CLI + all runtime plugins. Global install target.

原始使用文档
文档目录6 节
  1. Install
  2. What it does
  3. bakers ui deep links
  4. Plugins
  5. Releasing (maintainers)
  6. License

@bakers-build/bakers

The bakers.build conductor + client CLI, published as a single self-contained npm package. Install it globally and run bakers anywhere — no repo clone, no local build (no pnpm, no tsc).

Install

npm install -g @bakers-build/bakers

The unscoped name bakers is taken on npm, so the package is scoped @bakers-build/bakers. The executable stays bakers (via the bin entry), so every command is just bakers ….

bakers --help

What it does

bakers is the conductor node and client for a bakers.build network: it registers with a Drupal control plane, claims tickets over JSON:API, and runs agents through spawn plugins (Claude, Codex, herdr, and a deterministic fake for tests). Point it at a control plane with a conductor.config.js (scaffold one with bakers init).

bakers ui is the interactive terminal cockpit, and it takes an optional target so you open the thing you are working on directly:

bakers ui BB-221                  # a ticket by identifier (case-insensitive)
bakers ui project:bakers              # a project; also ticket:<uuid> · run:<uuid>
bakers ui --here                    # this branch's ticket, else this repo's project
bakers ui BB-221 --view teaser    # a compact block instead of the tabbed detail

At most one target source (the positional, --ticket, --project, --run, --here); two exit non-zero naming both. --here reads the current branch for a ticket identifier and otherwise resolves this repo's git remote against the projects that claim it — several claimants open a picker. bakers ui --help lists every form.

Plugins

The four spawn plugins ship inside this package — nothing extra to install. Import them from the @bakers-build/bakers/plugins entry in your conductor.config.js:

import {
  drupalRemote,
  herdrWorkspace,
  claudeAgent,
  herdrExecutor,
} from '@bakers-build/bakers/plugins';

Plugin authors can build against the API surface at @bakers-build/bakers/plugin.

Releasing (maintainers)

Publishing is automated: a v*.*.* tag publishes latest, and every develop deploy publishes a test build under next. Both need an NPM_TOKEN CI/CD variable (masked, protected) with publish rights to the @bakers-build scope.

To reproduce the published artifact locally:

pnpm run prepare:publish   # stage conductor/publish/ + each plugins/*/publish/
pnpm run verify:package    # pack the staged set, install it in a temp dir, smoke-test

License

MIT — see LICENSE.

版本与发布记录

@bakers-build/bakers 共发布 76 个版本,首次发布于 2026/10/23;过去 12 个月发布了 76 个版本。

版本发布日期距今
0.8.0latest2026/11/10今天
0.7.1-next.7candidate-nextnext2026/11/10今天
0.7.1-next.62026/11/10今天
0.7.1-next.52026/11/10今天
0.7.1-next.42026/11/091 天前
0.7.1-next.32026/11/091 天前

关于 @bakers-build/bakers 的常见问题

@bakers-build/bakers 是什么?

bakers.build meta package: the bakers plugin-host CLI + all runtime plugins. Global install target.

如何安装 @bakers-build/bakers?

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

@bakers-build/bakers 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/bakers-build__bakers 是否存在。

@bakers-build/bakers 支持 ESM 还是 CommonJS?

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

@bakers-build/bakers 需要什么版本的 Node.js?

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

@bakers-build/bakers 可以商用吗?

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

@bakers-build/bakers 的下载量有多少?

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

@bakers-build/bakers 还在维护吗?

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