// @bun
var{defineProperty:s,getOwnPropertyNames:m,getOwnPropertyDescriptor:p}=Object,k=Object.prototype.hasOwnProperty;function z(a){return this[a]}var g=(a)=>{var t=(o??=new WeakMap).get(a),r;if(t)return t;if(t=s({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var n of m(a))if(!k.call(t,n))s(t,n,{get:z.bind(a,n),enumerable:!(r=p(a,n))||r.enumerable})}return o.set(a,t),t},o;var T=(a)=>a;function f(a,t){this[a]=T.bind(null,t)}var h=(a,t)=>{for(var r in t)s(a,r,{get:t[r],enumerable:!0,configurable:!0,set:f.bind(t,r)})};var S=(a,t)=>()=>(a&&(t=a(a=0)),t);import{ZodSchemaType as c}from"@contractspec/lib.schema";import*as e from"zod";var y=e.enum(["api","db","ui","workflows","policy","docs","tests","other"]),i=e.object({id:e.string().min(1),title:e.string().min(1),surface:e.array(y),why:e.string().min(1),acceptance:e.array(e.string().min(1)),agentPrompt:e.string().min(1),dependsOn:e.array(e.string().min(1)).optional()}),w=new c(i,{name:"Task"}),d=e.object({packId:e.string().min(1),patchId:e.string().min(1),overview:e.string().min(1),tasks:e.array(i)}),P=new c(d,{name:"TaskPack"});export{P as TaskPackModel,w as TaskModel};
