71`;super(i,i,n,o,!1,!1);this.config=a,this.name=i,this.description=n,this.parameterSchema=o}async execute(a){let i=this.config.getToolCallCommand(),n=jc(i,[this.name]);n.stdin.write...
72`);return{llmContent:u,returnDisplay:u}}return{llmContent:o,returnDisplay:o}}}class Yi{tools=new Map;discovery=null;config;constructor(a){this.config=a}registerTool(a){if(this.tool...
73`);for(let n=4;n<Math.min(8,i.length);n++){let o=i[n];if(o&&!o.includes("DevLogger")){let c=o.match(/at\s+(?:(.+?)\s+)?\(?(.+?):(\d+):\d+\)?/);if(c){let s=c[1]?.split(".").pop()?.r...
74`;this.logStream.write(s)}debug(...a){this.ensureInitialized(),this.write("DEBUG","",...a)}info(...a){this.ensureInitialized(),this.write("INFO","",...a)}warn(...a){this.ensureInit...
75`)){let s=c.trim();if(s==="[copy]"){o=!