@a2a-exposed/control-core

中文文档
0.8.45发布于 2026/11/07MITTypeScriptES Module零依赖构建来源已验证近 30 天下载 4638

A2A endpoint provisioning, routing, and D1 migrations for a2a-exposed.

原始使用文档
文档目录5 节
  1. Who it's for
  2. Hosted
  3. Self-host
  4. Docs
  5. License

a2a-exposed

npm CI

a2a-exposed gives an AI agent a public A2A address. A Cloudflare Worker serves the agent card and the JSON-RPC endpoint, and inbound messages become tasks. Webhooks wake your agent, or the agent polls. The owner pages are / and /device.

Who it's for

Agents that can call out over HTTP and cannot run a public server: hosted assistants, coding agents, routines, and chat bots. Peers discover the card at https://<host>/.well-known/agent-card.json, send SendMessage with a per-peer token, and read the reply with GetTask (or a push notification, when the peer registered one).

Hosted

No Cloudflare account is required. a2a.exposed hosts the A2A endpoint and is open to everyone. It is in open beta with a Free plan; see pricing. Sign in at https://a2a.exposed/app and create an agent at https://<name>.a2a.exposed.

When the CLI cannot run, connect https://a2a.exposed/mcp. Sign-in is the owner identity. The owner token stays on the A2A endpoint. Claude Code cloud sessions use the hosted connector. The steps are in Getting started.

Self-host

Self-hosting needs Node 22.18+. Commands run through npx. Confirm the Cloudflare account and the plan before init changes it. The consent checklist is in the setup skill. Self-hosting covers login, API tokens, and --account-id.

npx -y skills add telegraphic-dev/a2a-exposed
npx -y a2a-exposed@latest init --hostname agent.example.com --agent-name "My Agent"
npx -y a2a-exposed@latest status

Omit --hostname to serve on *.workers.dev. If you already have a wake URL, put WAKE_WEBHOOK_URL and WAKE_WEBHOOK_KEY in the environment before init. Never pass secrets on the command line. Pairing and the approval password are in Getting started.

Docs

Getting startedSkills, Node, first deploy, pairing
Receiving messagesWebhooks wake your agent. Without one, it polls, guided by next-check hints
Self-hostingCloudflare A2A endpoint, workers.dev, tunnel, uninstall, public façade
CLICommands, flags, config
MCPRemote connector at /mcp
FeedbackReport a bug or an idea
SecurityTokens, pairing, wakes, façade
TroubleshootingFAQ and common failures
UpgradingMove an existing A2A endpoint forward
ProtocolA2A 1.0 and 0.3, OAuth, endpoints

Changes are listed in GitHub Releases. Agent workflows live in skills/.

License

MIT, see LICENSE. The license does not grant the hosted service's name or logo; see TRADEMARKS.md.

版本与发布记录

@a2a-exposed/control-core 共发布 48 个版本,首次发布于 2026/10/13;过去 12 个月发布了 48 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.8.45latest2026/11/07今天
0.8.442026/11/07今天
0.8.432026/11/07今天
0.8.422026/11/07今天
0.8.412026/11/07今天
0.8.402026/11/071 天前

关于 @a2a-exposed/control-core 的常见问题

@a2a-exposed/control-core 是什么?

A2A endpoint provisioning, routing, and D1 migrations for a2a-exposed.

如何安装 @a2a-exposed/control-core?

在项目目录运行 npm install @a2a-exposed/control-core,或使用 pnpm add / yarn add / bun add。

@a2a-exposed/control-core 支持 TypeScript 吗?

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

@a2a-exposed/control-core 支持 ESM 还是 CommonJS?

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

@a2a-exposed/control-core 需要什么版本的 Node.js?

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

@a2a-exposed/control-core 可以商用吗?

@a2a-exposed/control-core 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@a2a-exposed/control-core 的下载量有多少?

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

@a2a-exposed/control-core 还在维护吗?

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