Replace createCursorRole/createHermesRole with adapter + prompt + zod meta. Add shared compileRoleSpec, cursor ask adapter, nerve.yaml extract defaults. Refs #248 Made-with: Cursor
7 lines
234 B
TypeScript
7 lines
234 B
TypeScript
import { z } from "zod";
|
|
|
|
export const plannerMetaSchema = z.object({
|
|
ready: z.boolean().describe("true if requirements are clear and a workflow can be implemented"),
|
|
});
|
|
export type PlannerMeta = z.infer<typeof plannerMetaSchema>;
|