@getflip/swirl-ai

中文文档
0.535.0发布于 2026/11/16SEE LICENSE IN LICENSE.mdES Module零依赖构建来源已验证近 30 天下载 2230

Swirl Design System AI package with artifacts for AI agents

原始使用文档
文档目录3 节
  1. Artifacts
  2. Package exports
  3. Versioning

@getflip/swirl-ai

Build-time artifacts for AI agents integrating with the Swirl Design System.

Looking for the MCP server? See @getflip/swirl-mcp.

Artifacts

Build-time artifacts for agents that prefer direct file access:

ArtifactPathPurpose
Agent components indexdist/agent/components-index.jsonLean catalog: tag, summary, and related components per entry.
Per-component docsdist/agent/components/<tag>.mdFull markdown docs: props, events, slots, examples, a11y info.
Custom elements manifestdist/custom-elements.manifest.jsonFull CEM schema (tags, props, events, slots, descriptions).
TypeScript typesdist/types/Type declarations for all components.

Package exports

  • @getflip/swirl-ai/agent-index → dist/agent/components-index.json
  • @getflip/swirl-ai/manifest → dist/custom-elements.manifest.json

Per-component docs are at dist/agent/components/<tag>.md.

Versioning

Artifacts are generated from @getflip/swirl-components at build time. Keep @getflip/swirl-ai and @getflip/swirl-components versions in sync.

版本与发布记录

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

版本发布日期距今
0.535.0latest2026/11/16今天
0.534.2-beta-20261116102019beta2026/11/16今天
0.534.12026/11/106 天前
0.534.02026/11/0610 天前
0.533.02026/11/0511 天前
0.533.0-beta-202611050956422026/11/0511 天前

关于 @getflip/swirl-ai 的常见问题

@getflip/swirl-ai 是什么?

Swirl Design System AI package with artifacts for AI agents

如何安装 @getflip/swirl-ai?

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

@getflip/swirl-ai 支持 TypeScript 吗?

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

@getflip/swirl-ai 支持 ESM 还是 CommonJS?

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

@getflip/swirl-ai 可以商用吗?

@getflip/swirl-ai 使用 SEE LICENSE IN LICENSE.md 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@getflip/swirl-ai 的下载量有多少?

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

@getflip/swirl-ai 还在维护吗?

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