mirror of
https://github.com/morluto/rea
synced 2026-10-27 14:42:18 -04:00
941d7101dd
Introduce deterministic deep-provider discovery and immutable per-target routing while retaining disjoint artifact and native capability families. Expose provider selection consistently through MCP, CLI, environment configuration, session status, prompt completion, typed diagnostics, and generated documentation. Preserve exact provider/profile provenance without request racing or transparent fallback. Cover overlapping providers, ambiguity, rejection details, cancellation, restoration, package installation, and real Hopper target switching.
16 lines
580 B
TypeScript
16 lines
580 B
TypeScript
import { z } from "zod";
|
|
import { analysisProviderSelectorSchema } from "./providerSelection.js";
|
|
|
|
/** Input contract for opening a target with an optional staged snapshot. */
|
|
export const openBinaryInputSchema = z.object({
|
|
path: z.string().min(1),
|
|
provider_id: analysisProviderSelectorSchema.optional(),
|
|
snapshot_path: z.string().min(1).optional(),
|
|
});
|
|
|
|
/** Input contract for closing a target after an optional atomic snapshot. */
|
|
export const closeBinaryInputSchema = z.object({
|
|
snapshot_path: z.string().min(1).optional(),
|
|
overwrite: z.boolean().default(false),
|
|
});
|