(progress: {
data: ShellProgress;
})
| 53 | |
| 54 | // Progress UI — shared across both shell backends (both emit ShellProgress) |
| 55 | const onProgress = (progress: { |
| 56 | data: ShellProgress; |
| 57 | }) => { |
| 58 | setToolJSX({ |
| 59 | jsx: <> |
| 60 | <BashModeProgress input={inputString!} progress={progress.data} verbose={context.options.verbose} /> |
| 61 | {jsx} |
| 62 | </>, |
| 63 | shouldHidePromptInput: false, |
| 64 | showSpinner: false |
| 65 | }); |
| 66 | }; |
| 67 | |
| 68 | // User-initiated `!` commands run outside sandbox. Both shell tools honor |
| 69 | // dangerouslyDisableSandbox (checked against areUnsandboxedCommandsAllowed() |
no outgoing calls
no test coverage detected