@agent-cards/checkout

中文文档
0.24.1发布于 2026/11/06UNLICENSEDTypeScriptES Module近 30 天下载 7.7万

The older name of @agent-cards/sdk, Agentcard's SDK. Every export is re-exported from there for one release; install @agent-cards/sdk directly.

原始使用文档

@agent-cards/checkout

The older name of @agent-cards/sdk, Agentcard's SDK. This package re-exports every entry of @agent-cards/sdk (., ./cdp, ./playwright, ./preflight) for one release, so an import of @agent-cards/checkout keeps working while you rename it. The two JSON files under ./preflight/ are not re-exported: read them from @agent-cards/sdk/preflight/catalog.json and @agent-cards/sdk/preflight/schemas.json.

// before
import { VaultClient } from '@agent-cards/checkout';
// after
import { Agentcard } from '@agent-cards/sdk';

VaultClient constructs the same client as Agentcard and stays for the same one release.

版本与发布记录

@agent-cards/checkout 共发布 59 个版本,首次发布于 2026/08/26;过去 12 个月发布了 59 个版本。

版本发布日期距今
0.24.1latest2026/11/061 天前
0.24.02026/10/2910 天前
0.23.282026/10/2315 天前
0.23.272026/10/2315 天前
0.23.262026/10/2315 天前
0.23.252026/10/2316 天前

关于 @agent-cards/checkout 的常见问题

@agent-cards/checkout 是什么?

The older name of @agent-cards/sdk, Agentcard's SDK. Every export is re-exported from there for one release; install @agent-cards/sdk directly.

如何安装 @agent-cards/checkout?

在项目目录运行 npm install @agent-cards/checkout,或使用 pnpm add / yarn add / bun add。

@agent-cards/checkout 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@agent-cards/checkout 支持 ESM 还是 CommonJS?

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

@agent-cards/checkout 需要什么版本的 Node.js?

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

@agent-cards/checkout 可以商用吗?

@agent-cards/checkout 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@agent-cards/checkout 的下载量有多少?

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

@agent-cards/checkout 还在维护吗?

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