mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-25 01:35:31 +00:00
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>
6 lines
192 B
TypeScript
6 lines
192 B
TypeScript
import { z } from "zod";
|
|
export const inputSchema = z
|
|
.object({ store: z.enum(["file", "database"]), path: z.string().min(1) })
|
|
.strict();
|
|
export type Input = z.infer<typeof inputSchema>;
|