(name: string)
| 17 | } |
| 18 | |
| 19 | const editOk = (name: string): MsgLike => ({ role: 'tool', name, content: 'Applied 1 edit (syntax validated)' }); |
| 20 | const editErr = (name: string): MsgLike => ({ role: 'tool', name, content: '[SYNTAX_REJECTED] would break file' }); |
| 21 | const shellRun = (cmd: string): MsgLike => ({ role: 'assistant', tool_calls: [{ function: { name: 'shell', arguments: JSON.stringify({ command: cmd }) } }] }); |
| 22 | const shellOut = (out: string): MsgLike => ({ role: 'tool', name: 'shell', content: out }); |
no outgoing calls
no test coverage detected