fix(core): clarify opencode key label

This commit is contained in:
Dax Raad
2026-06-23 20:08:45 -04:00
parent 6b38614163
commit e05fceb1e8
2 changed files with 2 additions and 2 deletions
@@ -147,7 +147,7 @@ export const OpencodePlugin = define<HttpClient.HttpClient | EventV2.Service | S
integration.name = "OpenCode"
})
draft.method.update(oauth(http))
draft.method.update({ integrationID: "opencode", method: { type: "key", label: "Service account" } })
draft.method.update({ integrationID: "opencode", method: { type: "key", label: "API key (service account)" } })
})
yield* load()
@@ -58,7 +58,7 @@ describe("OpencodePlugin", () => {
type: "oauth",
label: "OpenCode Console account",
},
{ type: "key", label: "Service account" },
{ type: "key", label: "API key (service account)" },
])
}),
)