(value?: string, piped?: string)
| 38 | } |
| 39 | |
| 40 | function resolveRunInput(value?: string, piped?: string): string | undefined { |
| 41 | if (!value) { |
| 42 | return piped |
| 43 | } |
| 44 | |
| 45 | if (!piped) { |
| 46 | return value |
| 47 | } |
| 48 | |
| 49 | return value + "\n" + piped |
| 50 | } |
| 51 | |
| 52 | type FilePart = { |
| 53 | type: "file" |