Function
exec
(command: string, options: { cwd?: string; encoding: "utf8"; backend?: string })
Source from the content-addressed store, hash-verified
| 292 | const workspace = { |
| 293 | runtime: { |
| 294 | async exec(command: string, options: { cwd?: string; encoding: "utf8"; backend?: string }) { |
| 295 | calls.push({ command, cwd: options.cwd, backend: options.backend }); |
| 296 | const result: ExecResult<"utf8"> = { |
| 297 | exitCode: 2, |
| 298 | stdout: "abcdef", |
| 299 | stderr: "uvwxyz", |
| 300 | pushed: 0, |
| 301 | pulled: 0, |
| 302 | skipped: [], |
| 303 | }; |
| 304 | return { result: async () => result } as ExecHandle<"utf8">; |
| 305 | }, |
| 306 | }, |
| 307 | }; |
| 308 | const tools = createAITools({ |
Callers
nothing calls this directly
Tested by
no test coverage detected