spawn/packages/cli/src/shared/parse.ts
A 4bff229238
refactor: remove dead deepMerge export from parse.ts (#2663)
deepMerge was exported from shared/parse.ts but never imported or called
from any other module. Biome confirms it as an unused variable. Removing
it eliminates dead code and the now-unused isPlainObject import.

Co-authored-by: spawn-qa-bot <qa@openrouter.ai>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 13:57:47 -07:00

9 lines
313 B
TypeScript

export { parseJsonObj, parseJsonWith } from "@openrouter/spawn-shared";
// CLI-specific schema — not in shared package
import * as v from "valibot";
/** Schema for responses containing a `version` field (npm registry, GitHub releases). */
export const PkgVersionSchema = v.object({
version: v.string(),
});