#!/usr/bin/env node
"use strict";var a=Object.defineProperty;var r=(e,t)=>a(e,"name",{value:t,configurable:!0});var s=Object.defineProperty,i=r((e,t)=>s(e,"name",{value:t,configurable:!0}),"i");const d=i(async function(e){const t=e.argv,o=t.findIndex(n=>n==="--chat"||n==="-c");if(o!==-1){const n=t[o+1];(n===void 0||n.startsWith("-"))&&t.splice(o+1,0,"DEFAULT_MODEL")}const c=t.findIndex(n=>n==="--mcp");if(c!==-1){const n=t[c+1];(n===void 0||n.startsWith("-"))&&t.splice(c+1,0,"stdio")}return t},"hook");module.exports=d;
