@beekeeperstudio/bks-ai-shell

中文文档
3.4.0发布于 2026/10/28GPL-3.0ES Module零依赖构建来源已验证近 30 天下载 4666

用于分析数据库和生成查询的养蜂员工作室插件

中文使用文档
文档目录3 节
  1. 发展
  2. 部署
  3. 安全说明

AI 壳牌

请 AI 分析您的数据库并生成 SQL 查询 .

ai-shell-demo

发展

# Clone the repo
git clone [email protected]:beekeeper-studio/bks-ai-shell.git

# Go to the directory
cd bks-ai-shell

# Link the directory to Beekeeper Studio plugins
ln -s $(pwd) ~/.config/beekeeper-studio/plugins/bks-ai-shell
# On Windows, replace $(pwd) with %cd%

# Install dependencies
yarn install

# Start development
yarn dev

最后,打开"养蜂人工作室"5.3或更新鲜(或重新启动应用程序).

部署

建设生产项目:

yarn build

安全说明

此应用程序使用 anthropic-dangerous-direct-browser-access: true 允许浏览器使用 Anthropic API 的头条 。 虽然这个演示是方便的,但请注意,这种方法会使你的API键暴露在生产环境中潜在的安全风险.

版本与发布记录

@beekeeperstudio/bks-ai-shell 共发布 14 个版本,首次发布于 2026/02/06;过去 12 个月发布了 14 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
3.4.0latest2026/10/2810 天前
3.3.62026/10/2811 天前
3.3.52026/10/0830 天前
3.3.42026/09/042 个月前
3.3.32026/09/042 个月前
3.3.22026/08/132 个月前

关于 @beekeeperstudio/bks-ai-shell 的常见问题

@beekeeperstudio/bks-ai-shell 是什么?

用于分析数据库和生成查询的养蜂员工作室插件

如何安装 @beekeeperstudio/bks-ai-shell?

在项目目录运行 npm install @beekeeperstudio/bks-ai-shell,或使用 pnpm add / yarn add / bun add。

@beekeeperstudio/bks-ai-shell 支持 TypeScript 吗?

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

@beekeeperstudio/bks-ai-shell 支持 ESM 还是 CommonJS?

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

@beekeeperstudio/bks-ai-shell 可以商用吗?

@beekeeperstudio/bks-ai-shell 使用 GPL-3.0 许可。强 Copyleft:分发包含该代码的软件时,整个作品需以 GPL-3.0 兼容许可开源,并附带专利与反锁定条款。仅内部使用不触发此义务。以上为概括,不构成法律意见,请以许可原文为准。

@beekeeperstudio/bks-ai-shell 的下载量有多少?

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

@beekeeperstudio/bks-ai-shell 还在维护吗?

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