@antseed/connected-apps

中文文档
0.1.9发布于 2026/11/04TypeScriptES Module近 30 天下载 3470

Connect local AI tools (Codex, Claude Code, OpenCode, Droid, pi, Zed, …) to the AntSeed buyer proxy by patching their own config files. Shared by the AntSeed CLI and desktop app

原始使用文档

@antseed/connected-apps

Connects local AI tools to the AntSeed buyer proxy by editing each tool's own config file. One copy is shared by the CLI (antseed apps …) and the desktop app's Connected apps screen.

ModuleContents
config-patchapplyConfigPatch / writeConfigPatch / removeConfigPatch for every format (opencode, codex, droid, pi, crush, goose, hermes, zed, claude-code, t3code, claude-desktop), plus read-only isConfigPatchInstalled / isConfigPatchConnected
defaultsDEFAULT_APP_PROFILES, the built-in app catalog, and mergeWithDefaultAppProfiles
wslWSL discovery and the applied-WSL-targets memory used on Windows
statusTyped catalog (loadConnectedAppProfiles) and per-app status snapshots
stateRead/update the desktop's system-proxy/system-proxy.desktop.json so CLI changes appear in the desktop UI

Behaviour guarantees (unchanged from the desktop implementation it was moved from): the original config is copied to <file>.antseed.bak once before the first edit; disconnect removes only what AntSeed added; formats that replace user values (Droid, Claude Code) record them in a <file>.antseed.state.json sidecar and restore them on disconnect; WSL installs on Windows are patched and unpatched too; configs patched by older desktop versions disconnect cleanly.

The patched configs carry only the antseed model alias, which the buyer resolves to its current default route. The Claude Desktop profile points at the desktop app's local Claude gateway, so it needs the desktop app running.

This package is Node-only and has no Electron dependency.

版本与发布记录

@antseed/connected-apps 共发布 11 个版本,首次发布于 2026/10/12;过去 12 个月发布了 11 个版本。

版本发布日期距今
0.1.9latest2026/11/042 天前
0.1.82026/11/015 天前
0.1.72026/10/315 天前
0.1.62026/10/316 天前
0.1.52026/10/2610 天前
0.1.42026/10/1819 天前

关于 @antseed/connected-apps 的常见问题

@antseed/connected-apps 是什么?

Connect local AI tools (Codex, Claude Code, OpenCode, Droid, pi, Zed, …) to the AntSeed buyer proxy by patching their own config files. Shared by the AntSeed CLI and desktop app

如何安装 @antseed/connected-apps?

在项目目录运行 npm install @antseed/connected-apps,或使用 pnpm add / yarn add / bun add。

@antseed/connected-apps 支持 TypeScript 吗?

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

@antseed/connected-apps 支持 ESM 还是 CommonJS?

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

@antseed/connected-apps 可以商用吗?

@antseed/connected-apps 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@antseed/connected-apps 的下载量有多少?

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

@antseed/connected-apps 还在维护吗?

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