- Introduce `@oh-my-pi/omptype` as a new ArkType-compatible schema validation package featuring a lazy JIT runtime, JSON Schema emission, and compatibility adapters. - Replace `arktype` across workspace packages and test utilities with `@oh-my-pi/omptype`. - Add benchmark suites, tests, and documentation for the new validation engine and adapters. - Update workspace build, test runner, and release configurations to include the new package.
13 lines
396 B
TypeScript
13 lines
396 B
TypeScript
/**
|
|
* Arktype schema for the `edit` tool's hashline mode payload. The schema is
|
|
* deliberately permissive (allows extra keys) so providers can attach extra
|
|
* keys without rejection; only `input` is required.
|
|
*/
|
|
import { type } from "@oh-my-pi/omptype";
|
|
|
|
export const hashlineEditParamsSchema = type({
|
|
input: "string",
|
|
});
|
|
|
|
export type HashlineParams = typeof hashlineEditParamsSchema.infer;
|