npm · npm:ai
ai 活跃
AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.
ai 的最新稳定版本是 7.0.172,发布于 2026-11-13。Vigia 于 2026-11-13 核实。
| 最新稳定版本 | 7.0.172 |
|---|---|
| 发布时间 | 2026-11-13 05:59:50 UTC |
| 安装 | npm install ai@latest |
| 运行要求(engines) | {"node":">=22"} |
| Peer 依赖 | zod ^3.25.76 || ^4.1.8 |
| Dist 标签 | beta: 7.0.0-beta.187 ai-v5: 5.0.289 ai-v6: 6.0.331 alpha: 5.0.0-alpha.15 canary: 7.0.0-canary.176 latest: 7.0.172 snapshot: 0.0.0-f1630544-20260811180950 |
| 许可证 | Apache-2.0 |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-13 06:25:01 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-11-13 05:59:50 UTC · 0 天前 |
| 过去 12 个月的稳定版本数 | 677 |
| 已发布版本数 | 1660 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
7.0.172 | 2026-11-13 05:59:50 UTC |
6.0.331 | 2026-11-12 20:22:07 UTC |
7.0.171 | 2026-11-12 20:22:00 UTC |
7.0.170 | 2026-11-11 18:38:03 UTC |
6.0.330 | 2026-11-11 06:19:12 UTC |
5.0.289 | 2026-11-11 06:15:28 UTC |
7.0.169 | 2026-11-10 20:18:05 UTC |
6.0.329 | 2026-11-10 20:13:51 UTC |
7.0.168 | 2026-11-10 17:49:32 UTC |
6.0.328 | 2026-11-10 17:46:40 UTC |
5.0.288 | 2026-11-10 17:42:37 UTC |
5.0.287 | 2026-11-09 19:47:30 UTC |
6.0.326 | 2026-11-09 03:02:24 UTC |
7.0.166 | 2026-11-09 02:55:51 UTC |
7.0.165 | 2026-11-07 19:27:05 UTC |
6.0.325 | 2026-11-07 19:25:48 UTC |
5.0.286 | 2026-11-07 19:22:25 UTC |
6.0.324 | 2026-11-06 22:24:49 UTC |
7.0.164 | 2026-11-06 19:44:06 UTC |
7.0.163 | 2026-11-05 01:12:02 UTC |
显示 1187 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 3.0.21 |
node 18 | 6.0.331 |
node 20 | 6.0.331 |
node 22 | 7.0.172 |
node 24 | 7.0.172 |
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
ai 的最新版本是什么?
ai 的最新稳定版本是 7.0.172,发布于 2026-11-13。Vigia 于 2026-11-13 核实。
如何安装 ai 的最新版本?
运行 npm install ai@latest。最新稳定版本是 7.0.172(2026-11-13 核实)。
ai 是否已弃用?
否。注册表中 ai 未被标记为已弃用。
ai 需要哪个版本的 Node.js?
ai 7.0.172 声明的要求为:{"node":">=22"}。
ai 7.0.172 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 ai 7.0.172。
ai 是否仍在维护?
ai 在过去 12 个月内发布了 677 个稳定版本,最近一次在 0 天前。活跃度:活跃。
观察到的变更
- Fri Nov 13 2026 06:25:01 GM +0000 (Coordinated Universal Time) — released 7.0.171 → 7.0.172
- hu Nov 12 2026 22:24:54 GMT+0000 (Coordinated Universal Time) — released 7.0.171 → 7.0.171
- hu Nov 12 2026 20:24:51 GMT+0000 (Coordinated Universal Time) — released 7.0.170 → 7.0.171
- Wed Nov 11 2026 20:24:22 GM +0000 (Coordinated Universal Time) — released 7.0.169 → 7.0.170
- Wed Nov 11 2026 04:24:09 GM +0000 (Coordinated Universal Time) — released 7.0.169 → 7.0.169
- ue Nov 10 2026 20:23:58 GMT+0000 (Coordinated Universal Time) — released 7.0.168 → 7.0.169
- ue Nov 10 2026 18:23:54 GMT+0000 (Coordinated Universal Time) — released 7.0.166 → 7.0.168
- Mon Nov 09 2026 04:23:04 GM +0000 (Coordinated Universal Time) — released 7.0.165 → 7.0.166
- Sat Nov 07 2026 20:22:29 GM +0000 (Coordinated Universal Time) — released 7.0.164 → 7.0.165
- Sat Nov 07 2026 04:22:19 GM +0000 (Coordinated Universal Time) — released 7.0.164 → 7.0.164
- Fri Nov 06 2026 20:22:10 GM +0000 (Coordinated Universal Time) — released 7.0.163 → 7.0.164
- hu Nov 05 2026 04:21:42 GMT+0000 (Coordinated Universal Time) — released 7.0.163 → 7.0.163
- hu Nov 05 2026 02:21:41 GMT+0000 (Coordinated Universal Time) — released 7.0.162 → 7.0.163
- ue Nov 03 2026 02:20:55 GMT+0000 (Coordinated Universal Time) — released 7.0.161 → 7.0.162
- Mon Nov 02 2026 22:20:52 GM +0000 (Coordinated Universal Time) — released 7.0.160 → 7.0.161
- Mon Nov 02 2026 20:20:51 GM +0000 (Coordinated Universal Time) — released 7.0.159 → 7.0.160
- Sat Oct 31 2026 16:20:05 GM +0000 (Coordinated Universal Time) — released 7.0.159 → 7.0.159
- Fri Oct 30 2026 22:19:52 GM +0000 (Coordinated Universal Time) — released 7.0.158 → 7.0.159
- Fri Oct 30 2026 16:19:47 GM +0000 (Coordinated Universal Time) — released 7.0.157 → 7.0.158
- hu Oct 29 2026 18:19:29 GMT+0000 (Coordinated Universal Time) — released 7.0.156 → 7.0.157
- Wed Oct 28 2026 20:19:09 GM +0000 (Coordinated Universal Time) — released 7.0.155 → 7.0.156
- ue Oct 27 2026 20:18:52 GMT+0000 (Coordinated Universal Time) — released 7.0.154 → 7.0.155
- Mon Oct 26 2026 20:18:28 GM +0000 (Coordinated Universal Time) — released 7.0.153 → 7.0.154
- Sat Oct 24 2026 19:03:29 GM +0000 (Coordinated Universal Time) — released 7.0.152 → 7.0.153
- Fri Oct 23 2026 21:03:12 GM +0000 (Coordinated Universal Time) — released 7.0.151 → 7.0.152
- Fri Oct 23 2026 19:03:10 GM +0000 (Coordinated Universal Time) — released 7.0.150 → 7.0.151
- hu Oct 22 2026 23:02:48 GMT+0000 (Coordinated Universal Time) — released 7.0.149 → 7.0.150
- hu Oct 22 2026 19:02:45 GMT+0000 (Coordinated Universal Time) — released 7.0.148 → 7.0.149
- Wed Oct 21 2026 03:57:07 GM +0000 (Coordinated Universal Time) — released 7.0.147 → 7.0.148
- ue Oct 20 2026 19:57:02 GMT+0000 (Coordinated Universal Time) — released 7.0.146 → 7.0.147
相关软件包
- zod
- react-dropzone
- codepage
- papaparse
- graphql-ws
- cache-base
- parse-asn1
- prosemirror-tables
- metro-cache
- v8-compile-cache
- @azure/core-rest-pipeline
- xlsx
- d3-fetch
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/ai) [](https://vigia.coredls.cloud/npm/ai) [](https://vigia.coredls.cloud/npm/ai)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/ai
GET https://vigia.coredls.cloud/v1/packages/npm/ai/versions/{version}