In magpie's Docker image there is no curl to run xAI's installer, and a grok binary dropped on PATH outside a .grok folder isn't taken (isGrokBuild keeps another program named grok out). GROK_BIN_DIR already took one as it is; the error now says so, and the README says where the CLI is looked for. Run: TMPDIR=<scratch> HOME=<scratch home> bun test in packages/grok (41 pass, 0 fail); bun scripts/check.mjs grok (✓). With index.mjs put back to 0.1.14, import.test's "no Grok Build … is refused first" fails on the new GROK_BIN_DIR assertion. Not tried in a real container from this commit; magpie's own fix (installing Grok Build before `magpie plugin login grok`) is in yetone/magpie.
17 lines
537 B
JSON
17 lines
537 B
JSON
{
|
|
"name": "@magpie-community/opencode-grok-auth",
|
|
"version": "0.1.15",
|
|
"description": "OpenCode provider plugin: Grok (SuperGrok / X Premium+) through the Grok Build CLI's sign-in",
|
|
"type": "module",
|
|
"main": "./index.mjs",
|
|
"exports": "./index.mjs",
|
|
"files": ["index.mjs", "README.md"],
|
|
"keywords": ["opencode", "opencode-plugin", "grok", "xai", "supergrok"],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/magpie-community/plugins.git",
|
|
"directory": "packages/grok"
|
|
}
|
|
}
|