commandcode 0.1.10: a Go request says the agent's folder and git repository, not the home's (#86)
Found beside #86. A Go key's chat completion goes to /alpha/generate with the CLI's config, which said workingDir: homedir() and isGitRepo: false whatever folder the agent worked in. It now takes the folder and the git state magpie tells the plugin's fetch (x-magpie-work-dir, x-magpie-work-git). Untold, it is the CLI's config outside a project in the home, as before (a git word without a folder means nothing). The headers are taken off every request, the Provider API's too. Run: bun test in packages/commandcode (33 pass, new workplace.test.mjs), bun scripts/check.mjs commandcode. With the old index.mjs both new tests fail. Not tried with a real Go account.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@magpie-community/opencode-commandcode-auth",
|
||||
"version": "0.1.9",
|
||||
"version": "0.1.10",
|
||||
"description": "Command Code plans (Pro, GOAT, Max, Ultra, Go, Teams) in OpenCode and magpie",
|
||||
"type": "module",
|
||||
"main": "./index.mjs",
|
||||
|
||||
Reference in New Issue
Block a user