Files
plugins/packages/agy-cli/package.json
T
yetone 768eafd6dc agy-cli 0.1.25: nc.exe is built under magpie's renamed Bun too (tearicerice on X)
windowsNcBuild() accepted only a runtime named bun / bun.exe. magpie's plugin
host runs the Bun it downloads as magpie-bun(.exe) (internal/plugin
bunupdate.go magpieBun), so on Windows 0.1.24 always returned null and fell
back to nc.cmd: the console window and conhost per `agy acp` MCP call stayed
(#1047). The name now matches (magpie-)?bun(.exe). An opencode build, which
reports a bun version but has no `build` command, and Node still get null.

Run: node --test packages/agy-cli/test/windows-nc.mjs on mica, 6 of 6 pass.
Broke by hand: the old regex puts the new magpie-bun.exe assertion red (1 of
6 fails). win-run on xiaomi-gpu: a copy of Bun renamed magpie-bun.exe,
platform.mjs picked it, `build --compile --windows-hide-console` exited 0,
nc.exe PE subsystem = 2 (GUI).
Siblings: no other package checks a Bun basename (grep).
Not tried: a real `agy acp` session on Windows.
2026-11-12 20:32:36 +08:00

49 lines
1.0 KiB
JSON

{
"name": "@magpie-community/opencode-agy-cli-auth",
"version": "0.1.25",
"description": "Magpie/OpenCode model provider that connects your local agy CLI through the Agent Client Protocol (agy acp), so Antigravity subscription models run through the real CLI",
"type": "module",
"main": "./opencode.mjs",
"exports": {
".": "./opencode2.mjs"
},
"files": [
"index.mjs",
"opencode.mjs",
"opencode2.mjs",
"platform.mjs",
"login.mjs",
"mcp-server.mjs",
"step-usage.mjs",
"usage.mjs",
"README.md",
"README.en.md",
"LICENSE",
"NOTICE.md",
"re2-pattern.mjs",
"array-items.mjs",
"cloak.mjs"
],
"keywords": [
"magpie",
"magpie-plugin",
"opencode",
"opencode-plugin",
"antigravity",
"agy",
"acp"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/agy-cli"
},
"scripts": {
"test": "bun test"
},
"magpie": {
"maxConcurrency": 16
}
}