On Windows the plugin reads kiro-cli's database from %APPDATA%\kiro-cli,
while accounts.test.mjs and builderid.test.mjs wrote and removed it under
~/.local/share. With #1067's EBUSY fix in, these were the last 2 of
#966's 8 Windows reds: "kiro-cli's sign-in, with no way known, keeps the
bare email" and "kiro-cli's Builder ID sign-in ... Builder ID's profile".
The tests now set APPDATA inside the temp HOME before loading the plugin,
so no real %APPDATA% is read or removed, and use that folder on win32.
The version bump releases #1067's statement finalizing.
Run: packages/kiro on Windows 11 (Bun 1.4.2, temp HOME/USERPROFILE)
183 pass 0 fail (2 fail at a9f16031 without this); WSL Ubuntu 24.04
183 pass 0 fail; bun scripts/check.mjs kiro ok.
Not tried: macOS (the change is win32-only).
Fixes #966
13 lines
536 B
JSON
13 lines
536 B
JSON
{
|
|
"name": "@magpie-community/opencode-kiro-auth",
|
|
"version": "0.1.38",
|
|
"description": "Kiro subscriptions (Free, Pro, Pro+, Power) in OpenCode and magpie",
|
|
"type": "module",
|
|
"main": "./opencode.mjs",
|
|
"exports": { ".": "./opencode2.mjs" },
|
|
"files": ["index.mjs", "opencode.mjs", "opencode2.mjs", "README.md"],
|
|
"keywords": ["opencode", "opencode-plugin", "magpie", "kiro"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/kiro" }
|
|
}
|