import{Pt as e}from"./src-BOCweS1p.js";import{qa as t}from"./app-server-manager-signals-Yn0WSnoY.js";function n({agentMode:n,workspaceRoots:r,config:i,configOverrides:a,input:o,commentAttachments:s,collaborationMode:c,responsesapiClientMetadata:l,serviceTier:u,cwd:d,fileAttachments:f,addedFiles:p,memoryPreferences:m,threadSource:h,workspaceKind:g=`project`,projectlessOutputDirectory:_,projectAssignment:v,additionalDeveloperInstructions:y}){if(g===`projectless`&&_==null)throw Error(`Projectless conversations require an output directory`);let b=t([...f,...p]),x=e(n,r,i);return{input:o,commentAttachments:s,workspaceRoots:r,collaborationMode:c,...l===void 0?{}:{responsesapiClientMetadata:l},serviceTier:u,permissions:x,approvalsReviewer:x.approvalsReviewer,cwd:d,attachments:b,workspaceKind:g,...v===void 0?{}:{projectAssignment:v},...h===void 0?{}:{threadSource:h},...a===void 0?{}:{config:a},...g===`projectless`?{projectlessOutputDirectory:_}:{},...m===void 0?{}:{memoryPreferences:m},...y===void 0?{}:{additionalDeveloperInstructions:y}}}export{n as t};
//# sourceMappingURL=build-start-conversation-params-D8zijBOw.js.map