@algolia/wizard

中文文档
0.122.0发布于 2026/11/06ISCES Module近 30 天下载 7548

Magically implement Algolia functionality in your codebase

原始使用文档

@algolia/wizard

An Agent-driven CLI that implements Algolia functionality directly in your codebase.

Wizard runs workflows — ordered sequences of steps that inspect your project, talk to Algolia APIs, and make AI-authored changes to your repo.

Install & run

# run the default workflow
npx @algolia/wizard

# run a specific workflow by id
npx @algolia/wizard <workflow-id>

On first run, Wizard checks whether you're signed in to the Algolia CLI. If you aren't, it runs algolia auth login --non-interactive — the browser opens for sign-in, and no prompts land in the wizard's terminal. It then asks which Algolia application to work in (skipping the question when the account has only one) and makes it current with algolia application select.

You'll also be asked once to consent to AI-authored changes to the repository.

Contributing

Development setup, architecture notes, and release process live in CONTRIBUTING.md.

版本与发布记录

@algolia/wizard 共发布 258 个版本,首次发布于 2026/07/28;过去 12 个月发布了 258 个版本。

版本发布日期距今
0.122.0latest2026/11/061 天前
0.121.02026/11/052 天前
0.120.02026/11/053 天前
0.119.02026/11/025 天前
0.118.02026/11/025 天前
0.117.02026/10/309 天前

其他发布通道:rc → 0.103.0-rc.217.764。

关于 @algolia/wizard 的常见问题

@algolia/wizard 是什么?

Magically implement Algolia functionality in your codebase

如何安装 @algolia/wizard?

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

@algolia/wizard 支持 TypeScript 吗?

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

@algolia/wizard 支持 ESM 还是 CommonJS?

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

@algolia/wizard 需要什么版本的 Node.js?

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

@algolia/wizard 可以商用吗?

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

@algolia/wizard 的下载量有多少?

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

@algolia/wizard 还在维护吗?

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