(entry: MakaPiToolEntry)
| 407 | } |
| 408 | |
| 409 | function readInputPath(entry: MakaPiToolEntry): string | undefined { |
| 410 | const input = entry.input; |
| 411 | const path = |
| 412 | input !== null && typeof input === 'object' ? (input as { path?: unknown }).path : undefined; |
| 413 | return typeof path === 'string' && path.length > 0 ? path : undefined; |
| 414 | } |
| 415 | |
| 416 | function readInputRef(entry: MakaPiToolEntry): string | undefined { |
| 417 | const input = entry.input; |
no outgoing calls
no test coverage detected