@aedis/cli

中文文档
0.9.0发布于 2026/11/04Apache-2.0ES Module构建来源已验证近 30 天下载 3906

Add Aedis UI components to your app with verified provenance: signed releases, exact and aged dependencies, no install scripts.

原始使用文档

@aedis/cli

Adds Aedis UI components to your app with verified provenance: the registry release is checked (Sigstore signature and SLSA provenance of the repository's release workflow, built by the Aedis platform) before any file is written, npm dependencies are pinned to exact versions at least 7 days old, and no install script runs.

npx @aedis/[email protected] init
npx @aedis/[email protected] add button approval-card
npx @aedis/[email protected] diff

Always pin the version, as above. Never run npx aedis: the unscoped aedis package on npm is not this one.

Commands: init (config, theme, cn and the security primitives; --preset <id> from ui.aedis.build/create), add <item...>, diff [item...], theme import <file.json>, lint [registry.json], mcp (read-only docs server for coding agents). --registry github:<owner>/<repo>@<tag> installs a third-party registry under the same checks.

Source, issues and the security policy: github.com/aedis-build/aedis-ui. Apache-2.0.

版本与发布记录

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

版本发布日期距今
0.9.0latest2026/11/042 天前
0.8.02026/11/015 天前
0.7.02026/10/316 天前
0.6.02026/10/316 天前
0.5.22026/10/297 天前
0.5.12026/10/297 天前

关于 @aedis/cli 的常见问题

@aedis/cli 是什么?

Add Aedis UI components to your app with verified provenance: signed releases, exact and aged dependencies, no install scripts.

如何安装 @aedis/cli?

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

@aedis/cli 支持 TypeScript 吗?

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

@aedis/cli 支持 ESM 还是 CommonJS?

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

@aedis/cli 需要什么版本的 Node.js?

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

@aedis/cli 可以商用吗?

@aedis/cli 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@aedis/cli 的下载量有多少?

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

@aedis/cli 还在维护吗?

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