(error: unknown)
| 360 | } |
| 361 | |
| 362 | function boundedChildError(error: unknown): string { |
| 363 | const message = error instanceof Error ? error.message : 'unknown error'; |
| 364 | return message.length <= CHILD_PROGRESS_ERROR_MAX_CHARS |
| 365 | ? message |
| 366 | : `${message.slice(0, CHILD_PROGRESS_ERROR_MAX_CHARS - 1)}…`; |
| 367 | } |
| 368 | |
| 369 | export function buildSubagentListTool(): MakaTool< |
| 370 | { view?: 'selection' | 'catalog'; cursor?: string }, |
no outgoing calls
no test coverage detected