Files
paseo/plugins/opencode-go-usage-source/shared/input.ts
T
paseo-bot[bot]andIvan Pantic 5f424e2e94 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>
2026-11-23 21:54:04 +07:00

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>;