Show OpenCode Go usage for database-stored logins (#8729)
OpenCode 2 keeps logins in opencode.db and never updates auth.json, so the Go usage card was missing or sent a stale key (HTTP 401). The card now reads the selected opencode-go credential from the v2 database, read-only, and keeps auth.json for OpenCode 1. A login OpenCode 2 imports keeps its account identity. Closes #6428 Co-authored-by: Ivan Pantic <panta@talentkit.io>
This commit is contained in:
1 parent
4d472c2804
commit
5f424e2e94
4 files changed
+342
-41
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import { z } from "zod";
|
||||
export const inputSchema = z.object({ path: z.string().min(1) }).strict();
|
||||
export const inputSchema = z
|
||||
.object({ store: z.enum(["file", "database"]), path: z.string().min(1) })
|
||||
.strict();
|
||||
export type Input = z.infer<typeof inputSchema>;
|
||||
Reference in new issue
Block a user