fix(usage): read OpenCode v2 Go API keys from its database

This commit is contained in:
Ivan Pantic
2026-11-04 03:22:55 +00:00
committed by paseo-bot[bot]
parent 66676d49e6
commit 0ac8175015
4 changed files with 255 additions and 40 deletions
@@ -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>;