indusagi-coding-agent 0.1.38 → 0.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -7
- package/{LICENSE.md → LICENSE} +0 -1
- package/README.md +2 -4
- package/dist/cli/args.d.ts +6 -128
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +277 -472
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/config-selector.d.ts +9 -62
- package/dist/cli/config-selector.d.ts.map +1 -1
- package/dist/cli/config-selector.js +31 -146
- package/dist/cli/config-selector.js.map +1 -1
- package/dist/cli/file-processor.d.ts +1 -69
- package/dist/cli/file-processor.d.ts.map +1 -1
- package/dist/cli/file-processor.js +36 -267
- package/dist/cli/file-processor.js.map +1 -1
- package/dist/cli/list-models.d.ts +0 -60
- package/dist/cli/list-models.d.ts.map +1 -1
- package/dist/cli/list-models.js +53 -246
- package/dist/cli/list-models.js.map +1 -1
- package/dist/cli/session-picker.d.ts +1 -72
- package/dist/cli/session-picker.d.ts.map +1 -1
- package/dist/cli/session-picker.js +57 -231
- package/dist/cli/session-picker.js.map +1 -1
- package/dist/cli.js +25 -31
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +0 -42
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +62 -97
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session.d.ts +26 -2
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +78 -66
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/auth-storage.d.ts +4 -95
- package/dist/core/auth-storage.d.ts.map +1 -1
- package/dist/core/auth-storage.js +233 -288
- package/dist/core/auth-storage.js.map +1 -1
- package/dist/core/bash-executor.d.ts +0 -323
- package/dist/core/bash-executor.d.ts.map +1 -1
- package/dist/core/bash-executor.js +126 -359
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/compaction/branch-summarization.d.ts +3 -3
- package/dist/core/compaction/branch-summarization.js +16 -16
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/compaction/compaction.d.ts +3 -3
- package/dist/core/compaction/compaction.js +40 -40
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/compaction/index.d.ts +32 -4
- package/dist/core/compaction/index.d.ts.map +1 -1
- package/dist/core/compaction/index.js +30 -4
- package/dist/core/compaction/index.js.map +1 -1
- package/dist/core/compaction/utils.d.ts +1 -19
- package/dist/core/compaction/utils.d.ts.map +1 -1
- package/dist/core/compaction/utils.js +92 -113
- package/dist/core/compaction/utils.js.map +1 -1
- package/dist/core/discover-packages.d.ts +0 -4
- package/dist/core/discover-packages.d.ts.map +1 -1
- package/dist/core/discover-packages.js +41 -44
- package/dist/core/discover-packages.js.map +1 -1
- package/dist/core/event-bus.d.ts +1 -147
- package/dist/core/event-bus.d.ts.map +1 -1
- package/dist/core/event-bus.js +17 -106
- package/dist/core/event-bus.js.map +1 -1
- package/dist/core/exec.d.ts +0 -16
- package/dist/core/exec.d.ts.map +1 -1
- package/dist/core/exec.js +18 -27
- package/dist/core/exec.js.map +1 -1
- package/dist/core/export-html/ansi-to-html.ts +262 -0
- package/dist/core/export-html/index.ts +433 -0
- package/dist/core/export-html/template.html +48 -26
- package/dist/core/export-html/tool-renderer.d.ts +0 -21
- package/dist/core/export-html/tool-renderer.d.ts.map +1 -1
- package/dist/core/export-html/tool-renderer.js +35 -51
- package/dist/core/export-html/tool-renderer.js.map +1 -1
- package/dist/core/export-html/tool-renderer.ts +80 -0
- package/dist/core/export-html/vendor/highlight.min.js +401 -370
- package/dist/core/export-html/vendor/marked.min.js +71 -3
- package/dist/core/extensions/index.d.ts +7 -4
- package/dist/core/extensions/index.d.ts.map +1 -1
- package/dist/core/extensions/index.js +17 -3
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/extensions/loader.d.ts +0 -6
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +60 -56
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +3 -0
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +48 -80
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/types.d.ts +50 -23
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/footer-data-provider.d.ts +2 -15
- package/dist/core/footer-data-provider.d.ts.map +1 -1
- package/dist/core/footer-data-provider.js +21 -33
- package/dist/core/footer-data-provider.js.map +1 -1
- package/dist/core/hooks/loader.js +2 -2
- package/dist/core/hooks/loader.js.map +1 -1
- package/dist/core/index.d.ts +29 -10
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +29 -10
- package/dist/core/index.js.map +1 -1
- package/dist/core/keybindings.d.ts +2 -179
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +64 -238
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/model-registry.d.ts +26 -181
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +228 -407
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-resolver.d.ts +0 -139
- package/dist/core/model-resolver.d.ts.map +1 -1
- package/dist/core/model-resolver.js +34 -215
- package/dist/core/model-resolver.js.map +1 -1
- package/dist/core/package-manager.d.ts +25 -57
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js +326 -964
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/prompt-templates.d.ts +2 -34
- package/dist/core/prompt-templates.d.ts.map +1 -1
- package/dist/core/prompt-templates.js +122 -170
- package/dist/core/prompt-templates.js.map +1 -1
- package/dist/core/resource-loader.d.ts +19 -12
- package/dist/core/resource-loader.d.ts.map +1 -1
- package/dist/core/resource-loader.js +353 -467
- package/dist/core/resource-loader.js.map +1 -1
- package/dist/core/sdk.d.ts +2 -61
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +184 -252
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-manager.d.ts +447 -1
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +1176 -1
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/settings-manager.d.ts +9 -12
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +170 -398
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/skills.d.ts +2 -27
- package/dist/core/skills.d.ts.map +1 -1
- package/dist/core/skills.js +149 -212
- package/dist/core/skills.js.map +1 -1
- package/dist/core/subagents.d.ts +2 -2
- package/dist/core/subagents.d.ts.map +1 -1
- package/dist/core/subagents.js +21 -14
- package/dist/core/subagents.js.map +1 -1
- package/dist/core/system-prompt.d.ts +0 -11
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +168 -139
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/timings.d.ts +1 -4
- package/dist/core/timings.d.ts.map +1 -1
- package/dist/core/timings.js +34 -18
- package/dist/core/timings.js.map +1 -1
- package/dist/core/todo-store.d.ts +20 -0
- package/dist/core/todo-store.d.ts.map +1 -0
- package/dist/core/todo-store.js +60 -0
- package/dist/core/todo-store.js.map +1 -0
- package/dist/core/tools/bash.d.ts +2 -0
- package/dist/core/tools/bash.d.ts.map +1 -0
- package/dist/core/tools/bash.js +2 -0
- package/dist/core/tools/bash.js.map +1 -0
- package/dist/core/tools/bg-process.d.ts +1 -6
- package/dist/core/tools/bg-process.d.ts.map +1 -1
- package/dist/core/tools/bg-process.js +4 -18
- package/dist/core/tools/bg-process.js.map +1 -1
- package/dist/core/tools/edit-diff.d.ts +9 -0
- package/dist/core/tools/edit-diff.d.ts.map +1 -0
- package/dist/core/tools/edit-diff.js +2 -0
- package/dist/core/tools/edit-diff.js.map +1 -0
- package/dist/core/tools/edit.d.ts +2 -0
- package/dist/core/tools/edit.d.ts.map +1 -0
- package/dist/core/tools/edit.js +2 -0
- package/dist/core/tools/edit.js.map +1 -0
- package/dist/core/tools/find.d.ts +2 -0
- package/dist/core/tools/find.d.ts.map +1 -0
- package/dist/core/tools/find.js +2 -0
- package/dist/core/tools/find.js.map +1 -0
- package/dist/core/tools/grep.d.ts +2 -0
- package/dist/core/tools/grep.d.ts.map +1 -0
- package/dist/core/tools/grep.js +2 -0
- package/dist/core/tools/grep.js.map +1 -0
- package/dist/core/tools/index.d.ts +8 -2
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/ls.d.ts +2 -0
- package/dist/core/tools/ls.d.ts.map +1 -0
- package/dist/core/tools/ls.js +2 -0
- package/dist/core/tools/ls.js.map +1 -0
- package/dist/core/tools/memory.d.ts +50 -1
- package/dist/core/tools/memory.d.ts.map +1 -1
- package/dist/core/tools/memory.js +11 -7
- package/dist/core/tools/memory.js.map +1 -1
- package/dist/core/tools/path-utils.d.ts +2 -0
- package/dist/core/tools/path-utils.d.ts.map +1 -0
- package/dist/core/tools/path-utils.js +2 -0
- package/dist/core/tools/path-utils.js.map +1 -0
- package/dist/core/tools/read.d.ts +2 -0
- package/dist/core/tools/read.d.ts.map +1 -0
- package/dist/core/tools/read.js +2 -0
- package/dist/core/tools/read.js.map +1 -0
- package/dist/core/tools/registry.d.ts +0 -15
- package/dist/core/tools/registry.d.ts.map +1 -1
- package/dist/core/tools/registry.js +13 -37
- package/dist/core/tools/registry.js.map +1 -1
- package/dist/core/tools/task.d.ts +17 -23
- package/dist/core/tools/task.d.ts.map +1 -1
- package/dist/core/tools/task.js +43 -82
- package/dist/core/tools/task.js.map +1 -1
- package/dist/core/tools/todo.d.ts +17 -20
- package/dist/core/tools/todo.d.ts.map +1 -1
- package/dist/core/tools/todo.js +79 -58
- package/dist/core/tools/todo.js.map +1 -1
- package/dist/core/tools/truncate.d.ts +2 -0
- package/dist/core/tools/truncate.d.ts.map +1 -0
- package/dist/core/tools/truncate.js +2 -0
- package/dist/core/tools/truncate.js.map +1 -0
- package/dist/core/tools/webfetch.d.ts +2 -0
- package/dist/core/tools/webfetch.d.ts.map +1 -0
- package/dist/core/tools/webfetch.js +2 -0
- package/dist/core/tools/webfetch.js.map +1 -0
- package/dist/core/tools/websearch.d.ts +2 -0
- package/dist/core/tools/websearch.d.ts.map +1 -0
- package/dist/core/tools/websearch.js +2 -0
- package/dist/core/tools/websearch.js.map +1 -0
- package/dist/core/tools/write.d.ts +2 -0
- package/dist/core/tools/write.d.ts.map +1 -0
- package/dist/core/tools/write.js +2 -0
- package/dist/core/tools/write.js.map +1 -0
- package/dist/index.d.ts +35 -29
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -41
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +237 -225
- package/dist/main.js.map +1 -1
- package/dist/migrations.d.ts +0 -25
- package/dist/migrations.d.ts.map +1 -1
- package/dist/migrations.js +129 -180
- package/dist/migrations.js.map +1 -1
- package/dist/modes/index.d.ts +13 -6
- package/dist/modes/index.d.ts.map +1 -1
- package/dist/modes/index.js +11 -5
- package/dist/modes/index.js.map +1 -1
- package/dist/modes/interactive/components/armin.d.ts +8 -23
- package/dist/modes/interactive/components/armin.d.ts.map +1 -1
- package/dist/modes/interactive/components/armin.js +217 -266
- package/dist/modes/interactive/components/armin.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts +2 -168
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +61 -216
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/bash-execution.d.ts +6 -313
- package/dist/modes/interactive/components/bash-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/bash-execution.js +86 -403
- package/dist/modes/interactive/components/bash-execution.js.map +1 -1
- package/dist/modes/interactive/components/bordered-loader.d.ts +1 -3
- package/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -1
- package/dist/modes/interactive/components/bordered-loader.js +59 -29
- package/dist/modes/interactive/components/bordered-loader.js.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.d.ts +3 -3
- package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.js +30 -17
- package/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/compaction-summary-message.d.ts +3 -3
- package/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/compaction-summary-message.js +35 -18
- package/dist/modes/interactive/components/compaction-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/config-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/config-selector.js +60 -68
- package/dist/modes/interactive/components/config-selector.js.map +1 -1
- package/dist/modes/interactive/components/countdown-timer.d.ts +2 -6
- package/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -1
- package/dist/modes/interactive/components/countdown-timer.js +32 -18
- package/dist/modes/interactive/components/countdown-timer.js.map +1 -1
- package/dist/modes/interactive/components/custom-editor.d.ts +1 -5
- package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-editor.js +45 -37
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/dist/modes/interactive/components/custom-message.d.ts +5 -6
- package/dist/modes/interactive/components/custom-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-message.js +43 -53
- package/dist/modes/interactive/components/custom-message.js.map +1 -1
- package/dist/modes/interactive/components/diff.d.ts +0 -3
- package/dist/modes/interactive/components/diff.d.ts.map +1 -1
- package/dist/modes/interactive/components/diff.js +101 -108
- package/dist/modes/interactive/components/diff.js.map +1 -1
- package/dist/modes/interactive/components/dynamic-border.d.ts +7 -2
- package/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -1
- package/dist/modes/interactive/components/dynamic-border.js +24 -4
- package/dist/modes/interactive/components/dynamic-border.js.map +1 -1
- package/dist/modes/interactive/components/extension-editor.d.ts +5 -9
- package/dist/modes/interactive/components/extension-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/extension-editor.js +43 -46
- package/dist/modes/interactive/components/extension-editor.js.map +1 -1
- package/dist/modes/interactive/components/extension-input.d.ts +4 -9
- package/dist/modes/interactive/components/extension-input.d.ts.map +1 -1
- package/dist/modes/interactive/components/extension-input.js +45 -28
- package/dist/modes/interactive/components/extension-input.js.map +1 -1
- package/dist/modes/interactive/components/extension-selector.d.ts +7 -12
- package/dist/modes/interactive/components/extension-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/extension-selector.js +54 -32
- package/dist/modes/interactive/components/extension-selector.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts +2 -11
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +135 -183
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/index.d.ts +79 -30
- package/dist/modes/interactive/components/index.d.ts.map +1 -1
- package/dist/modes/interactive/components/index.js +73 -31
- package/dist/modes/interactive/components/index.js.map +1 -1
- package/dist/modes/interactive/components/keybinding-hints.d.ts +0 -18
- package/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -1
- package/dist/modes/interactive/components/keybinding-hints.js +24 -31
- package/dist/modes/interactive/components/keybinding-hints.js.map +1 -1
- package/dist/modes/interactive/components/login-dialog.d.ts +11 -24
- package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
- package/dist/modes/interactive/components/login-dialog.js +89 -86
- package/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/dist/modes/interactive/components/model-selector.d.ts +15 -19
- package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/model-selector.js +104 -157
- package/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.js +5 -5
- package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.d.ts +12 -22
- package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.js +111 -132
- package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
- package/dist/modes/interactive/components/session-selector-search.d.ts +3 -3
- package/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -1
- package/dist/modes/interactive/components/session-selector-search.js +92 -103
- package/dist/modes/interactive/components/session-selector-search.js.map +1 -1
- package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/session-selector.js +28 -39
- package/dist/modes/interactive/components/session-selector.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +111 -203
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/show-images-selector.d.ts +1 -1
- package/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/show-images-selector.js +17 -19
- package/dist/modes/interactive/components/show-images-selector.js.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.d.ts +3 -3
- package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.js +29 -19
- package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
- package/dist/modes/interactive/components/theme-selector.d.ts +2 -2
- package/dist/modes/interactive/components/theme-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/theme-selector.js +20 -25
- package/dist/modes/interactive/components/theme-selector.js.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.d.ts +1 -1
- package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.js +19 -20
- package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +12 -10
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +14 -8
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector.js +53 -60
- package/dist/modes/interactive/components/tree-selector.js.map +1 -1
- package/dist/modes/interactive/components/user-message-selector.d.ts +3 -9
- package/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/user-message-selector.js +57 -68
- package/dist/modes/interactive/components/user-message-selector.js.map +1 -1
- package/dist/modes/interactive/components/visual-truncate.d.ts +0 -12
- package/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -1
- package/dist/modes/interactive/components/visual-truncate.js +14 -22
- package/dist/modes/interactive/components/visual-truncate.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +6 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +118 -113
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +189 -39
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +8 -1
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +88 -59
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +24 -46
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +75 -409
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js +21 -360
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/dist/observability/core/config.d.ts +28 -0
- package/dist/observability/core/config.d.ts.map +1 -0
- package/dist/observability/core/config.js +150 -0
- package/dist/observability/core/config.js.map +1 -0
- package/dist/observability/core/event-bus.d.ts +15 -0
- package/dist/observability/core/event-bus.d.ts.map +1 -0
- package/dist/observability/core/event-bus.js +37 -0
- package/dist/observability/core/event-bus.js.map +1 -0
- package/dist/observability/core/index.d.ts +12 -0
- package/dist/observability/core/index.d.ts.map +1 -0
- package/dist/observability/core/index.js +14 -0
- package/dist/observability/core/index.js.map +1 -0
- package/dist/observability/core/observability.d.ts +63 -0
- package/dist/observability/core/observability.d.ts.map +1 -0
- package/dist/observability/core/observability.js +127 -0
- package/dist/observability/core/observability.js.map +1 -0
- package/dist/observability/core/span.d.ts +37 -0
- package/dist/observability/core/span.d.ts.map +1 -0
- package/dist/observability/core/span.js +90 -0
- package/dist/observability/core/span.js.map +1 -0
- package/dist/observability/core/tracer.d.ts +22 -0
- package/dist/observability/core/tracer.d.ts.map +1 -0
- package/dist/observability/core/tracer.js +79 -0
- package/dist/observability/core/tracer.js.map +1 -0
- package/dist/observability/core/types.d.ts +155 -0
- package/dist/observability/core/types.d.ts.map +1 -0
- package/dist/observability/core/types.js +38 -0
- package/dist/observability/core/types.js.map +1 -0
- package/dist/observability/exporters/base-exporter.d.ts +16 -0
- package/dist/observability/exporters/base-exporter.d.ts.map +1 -0
- package/dist/observability/exporters/base-exporter.js +26 -0
- package/dist/observability/exporters/base-exporter.js.map +1 -0
- package/dist/observability/exporters/console-exporter.d.ts +22 -0
- package/dist/observability/exporters/console-exporter.d.ts.map +1 -0
- package/dist/observability/exporters/console-exporter.js +80 -0
- package/dist/observability/exporters/console-exporter.js.map +1 -0
- package/dist/observability/exporters/file-exporter.d.ts +31 -0
- package/dist/observability/exporters/file-exporter.d.ts.map +1 -0
- package/dist/observability/exporters/file-exporter.js +120 -0
- package/dist/observability/exporters/file-exporter.js.map +1 -0
- package/dist/observability/exporters/index.d.ts +12 -0
- package/dist/observability/exporters/index.d.ts.map +1 -0
- package/dist/observability/exporters/index.js +11 -0
- package/dist/observability/exporters/index.js.map +1 -0
- package/dist/observability/exporters/langfuse-exporter.d.ts +27 -0
- package/dist/observability/exporters/langfuse-exporter.d.ts.map +1 -0
- package/dist/observability/exporters/langfuse-exporter.js +146 -0
- package/dist/observability/exporters/langfuse-exporter.js.map +1 -0
- package/dist/observability/exporters/sentry-exporter.d.ts +22 -0
- package/dist/observability/exporters/sentry-exporter.d.ts.map +1 -0
- package/dist/observability/exporters/sentry-exporter.js +121 -0
- package/dist/observability/exporters/sentry-exporter.js.map +1 -0
- package/dist/observability/index.d.ts +3 -0
- package/dist/observability/index.d.ts.map +1 -0
- package/dist/observability/index.js +3 -0
- package/dist/observability/index.js.map +1 -0
- package/dist/utils/changelog.d.ts +1 -2
- package/dist/utils/changelog.d.ts.map +1 -1
- package/dist/utils/changelog.js +53 -61
- package/dist/utils/changelog.js.map +1 -1
- package/dist/utils/clipboard-image.d.ts.map +1 -1
- package/dist/utils/clipboard-image.js +77 -83
- package/dist/utils/clipboard-image.js.map +1 -1
- package/dist/utils/clipboard.d.ts.map +1 -1
- package/dist/utils/clipboard.js +62 -49
- package/dist/utils/clipboard.js.map +1 -1
- package/dist/utils/image-convert.d.ts +6 -6
- package/dist/utils/image-convert.d.ts.map +1 -1
- package/dist/utils/image-convert.js +29 -23
- package/dist/utils/image-convert.js.map +1 -1
- package/dist/utils/image-resize.d.ts +0 -17
- package/dist/utils/image-resize.d.ts.map +1 -1
- package/dist/utils/image-resize.js +100 -138
- package/dist/utils/image-resize.js.map +1 -1
- package/dist/utils/mime.d.ts +1 -0
- package/dist/utils/mime.d.ts.map +1 -1
- package/dist/utils/mime.js +35 -15
- package/dist/utils/mime.js.map +1 -1
- package/dist/utils/photon.d.ts +4 -15
- package/dist/utils/photon.d.ts.map +1 -1
- package/dist/utils/photon.js +71 -60
- package/dist/utils/photon.js.map +1 -1
- package/dist/utils/shell.d.ts +4 -21
- package/dist/utils/shell.d.ts.map +1 -1
- package/dist/utils/shell.js +101 -124
- package/dist/utils/shell.js.map +1 -1
- package/dist/utils/sleep.d.ts +1 -1
- package/dist/utils/sleep.d.ts.map +1 -1
- package/dist/utils/sleep.js +32 -8
- package/dist/utils/sleep.js.map +1 -1
- package/dist/utils/tools-manager.d.ts +4 -2
- package/dist/utils/tools-manager.d.ts.map +1 -1
- package/dist/utils/tools-manager.js +96 -122
- package/dist/utils/tools-manager.js.map +1 -1
- package/docs/PI_MONO_MIT_REMOVAL_GUIDE.md +2132 -0
- package/docs/SAME_TO_SAME_PARITY_REPORT.md +312 -0
- package/examples/README.md +12 -0
- package/package.json +62 -88
- package/dist/modes/interactive/theme/dark.json +0 -85
- package/dist/modes/interactive/theme/light.json +0 -84
- package/dist/modes/interactive/theme/theme-schema.json +0 -335
- package/docs/FEATURES.md +0 -306
- package/docs/MCP.md +0 -341
- package/docs/MEMORY.md +0 -443
- package/examples/mcp-servers.example.json +0 -50
|
@@ -1,331 +1,24 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ============================================================================
|
|
3
|
-
* BASH EXECUTION COMPONENT - REAL-TIME BASH OUTPUT RENDERER
|
|
4
|
-
* ============================================================================
|
|
5
|
-
*
|
|
6
|
-
* PURPOSE:
|
|
7
|
-
* ============================================================================
|
|
8
|
-
* Renders live bash command execution in the interactive chat interface.
|
|
9
|
-
* This component displays:
|
|
10
|
-
*
|
|
11
|
-
* - Command invocation with dynamic border styling
|
|
12
|
-
* - Real-time streaming output (appended as chunks arrive)
|
|
13
|
-
* - Loading animation while command runs
|
|
14
|
-
* - Exit code and cancellation status
|
|
15
|
-
* - Expandable output (collapsed preview vs full output)
|
|
16
|
-
* - Truncation warnings (context limits, path to full output)
|
|
17
|
-
* - Visual line truncation with width-aware caching
|
|
18
|
-
*
|
|
19
|
-
* DESIGN:
|
|
20
|
-
* BashExecutionComponent is distinct from ToolExecutionComponent because:
|
|
21
|
-
* 1. Streaming: Output arrives chunk-by-chunk (append, not replace)
|
|
22
|
-
* 2. State: Maintains outputLines array during execution
|
|
23
|
-
* 3. Loading: Shows spinner while running
|
|
24
|
-
* 4. Borders: Dynamic borders with color based on context exclusion
|
|
25
|
-
* 5. Visual wrapping: Line-based truncation respects terminal width
|
|
26
|
-
*
|
|
27
|
-
* DIFFERENCES FROM TOOL EXECUTION:
|
|
28
|
-
* - Tool execution: Shows full tool state (args + result at once)
|
|
29
|
-
* - Bash execution: Shows streaming output with real-time updates
|
|
30
|
-
* - Tool has result.content structure, bash has outputLines array
|
|
31
|
-
* - Bash shows loader during execution, tool shows pending background
|
|
32
|
-
*
|
|
33
|
-
* DATA FLOW:
|
|
34
|
-
* ============================================================================
|
|
35
|
-
* Bash Execution Pipeline:
|
|
36
|
-
* User types: !! command text
|
|
37
|
-
* ↓
|
|
38
|
-
* InteractiveMode.handleBashCommand() captures input
|
|
39
|
-
* ↓
|
|
40
|
-
* session.bash() starts async bash execution
|
|
41
|
-
* ↓
|
|
42
|
-
* BashExecutionComponent created
|
|
43
|
-
* ↓
|
|
44
|
-
* While running, agent streams stdout via session.on('bash_output')
|
|
45
|
-
* ↓
|
|
46
|
-
* component.appendOutput(chunk) called repeatedly
|
|
47
|
-
* ↓
|
|
48
|
-
* updateDisplay() called, adds new lines to content
|
|
49
|
-
* ↓
|
|
50
|
-
* TUI invalidate() and requestRender()
|
|
51
|
-
* ↓
|
|
52
|
-
* Terminal shows streaming output with loading spinner
|
|
53
|
-
* ↓
|
|
54
|
-
* Agent emits bash_complete event
|
|
55
|
-
* ↓
|
|
56
|
-
* component.setComplete(exitCode, cancelled, truncation, fullPath)
|
|
57
|
-
* ↓
|
|
58
|
-
* Loader stops, exit code/status displayed
|
|
59
|
-
* ↓
|
|
60
|
-
* TUI displays final output
|
|
61
|
-
*
|
|
62
|
-
* Component State Lifecycle:
|
|
63
|
-
* 1. Constructor:
|
|
64
|
-
* - Initialize with command string
|
|
65
|
-
* - Create bordered container structure
|
|
66
|
-
* - Add command header with styling
|
|
67
|
-
* - Show loader with "Running..." text
|
|
68
|
-
* 2. appendOutput() calls (while running):
|
|
69
|
-
* - Strip ANSI codes and normalize line endings
|
|
70
|
-
* - Split on newlines and append to outputLines
|
|
71
|
-
* - Call updateDisplay() to refresh
|
|
72
|
-
* - TUI invalidate() → render shows new content
|
|
73
|
-
* 3. setComplete() call (when done):
|
|
74
|
-
* - Store exit code and status (error/cancelled/complete)
|
|
75
|
-
* - Stop loader animation
|
|
76
|
-
* - Call updateDisplay() final time
|
|
77
|
-
* - Display exit code or cancellation message
|
|
78
|
-
* 4. invalidate() call (on theme change):
|
|
79
|
-
* - Re-render with new colors
|
|
80
|
-
* - Keep outputLines unchanged
|
|
81
|
-
* - Re-apply truncation and styling
|
|
82
|
-
*
|
|
83
|
-
* RENDERING PIPELINE:
|
|
84
|
-
* ============================================================================
|
|
85
|
-
* Layout Structure (ASCII):
|
|
86
|
-
* ┌─────────────────────────────────────────────┐
|
|
87
|
-
* │ [Spacer 1 line] │ ← Top margin
|
|
88
|
-
* ├─────────────────────────────────────────────┤
|
|
89
|
-
* │ ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐ │ ← DynamicBorder
|
|
90
|
-
* │ $ command text │ ← Command header
|
|
91
|
-
* │ │ ← (or content)
|
|
92
|
-
* │ [spinner] Running... (C-c to cancel) │ ← Loader (if running)
|
|
93
|
-
* │ │
|
|
94
|
-
* │ output line 1 │ ← Output lines
|
|
95
|
-
* │ output line 2 │
|
|
96
|
-
* │ output line 3 │
|
|
97
|
-
* │ ... (5 more lines, to expand) │ ← Truncation hint (collapsed)
|
|
98
|
-
* │ │
|
|
99
|
-
* │ (exit 0) or (cancelled) or (exit 1) │ ← Status (if complete)
|
|
100
|
-
* │ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ │ ← DynamicBorder
|
|
101
|
-
* └─────────────────────────────────────────────┘
|
|
102
|
-
*
|
|
103
|
-
* Rendering Rules:
|
|
104
|
-
* 1. Top spacer: Always present
|
|
105
|
-
* 2. Top border: DynamicBorder with colorKey (bashMode or dim)
|
|
106
|
-
* 3. ContentContainer:
|
|
107
|
-
* - Command header: "$ command" (bold, colored)
|
|
108
|
-
* - Output lines (if available):
|
|
109
|
-
* a. If expanded: Show all outputLines
|
|
110
|
-
* b. If collapsed: Show last PREVIEW_LINES with visual truncation
|
|
111
|
-
* - Loader: Only if status="running"
|
|
112
|
-
* - Status: Only if status!="running" (complete/error/cancelled)
|
|
113
|
-
* 4. Bottom border: Same style as top border
|
|
114
|
-
*
|
|
115
|
-
* Output Line Handling:
|
|
116
|
-
* - Raw output: Received with ANSI codes
|
|
117
|
-
* - Strip ANSI: stripAnsi() removes color codes (preserve structure)
|
|
118
|
-
* - Normalize newlines: \r\n → \n, \r → \n
|
|
119
|
-
* - Split/append: newLines split on \n, append to outputLines
|
|
120
|
-
* - Styling: Apply theme.fg("muted", line) to each line
|
|
121
|
-
* - Wrapping: Visual line truncation handles width changes
|
|
122
|
-
*
|
|
123
|
-
* Preview Truncation (collapsed state):
|
|
124
|
-
* - PREVIEW_LINES = 20 (max logical lines to show when collapsed)
|
|
125
|
-
* - hiddenLineCount = availableLines.length - previewLogicalLines.length
|
|
126
|
-
* - Visual truncation: truncateToVisualLines() respects terminal width
|
|
127
|
-
* - Shown: "... N more lines" hint with expand key hint
|
|
128
|
-
*
|
|
129
|
-
* Context Truncation (for LLM):
|
|
130
|
-
* - DEFAULT_MAX_LINES = 500
|
|
131
|
-
* - DEFAULT_MAX_BYTES = 50KB
|
|
132
|
-
* - Applied BEFORE preview truncation
|
|
133
|
-
* - Only tail of output kept (prevents explosion of context)
|
|
134
|
-
* - Warning message shows truncation occurred
|
|
135
|
-
*
|
|
136
|
-
* STYLING/FORMATTING:
|
|
137
|
-
* ============================================================================
|
|
138
|
-
* Color Scheme:
|
|
139
|
-
* - Command: theme.fg("bashMode", "$ command") [colored, bold]
|
|
140
|
-
* - Border: colorKey function (bashMode or dim)
|
|
141
|
-
* - Output: theme.fg("muted", line) [neutral/gray]
|
|
142
|
-
* - Error status: theme.fg("error", "(exit 1)") [red]
|
|
143
|
-
* - Cancelled: theme.fg("warning", "(cancelled)") [yellow]
|
|
144
|
-
* - Truncation: theme.fg("warning", "[Truncated...]") [yellow]
|
|
145
|
-
* - Hints: keyHint("expandTools", "...") [key binding text]
|
|
146
|
-
*
|
|
147
|
-
* Loader Styling:
|
|
148
|
-
* - Spinner: Animated loader component
|
|
149
|
-
* - Spinner color: theme.fg(colorKey, spinner)
|
|
150
|
-
* - Text: theme.fg("muted", "Running...")
|
|
151
|
-
* - Key hint: editorKey("selectCancel") + " to cancel"
|
|
152
|
-
*
|
|
153
|
-
* Border Styling:
|
|
154
|
-
* - DynamicBorder: Fills terminal width with box characters
|
|
155
|
-
* - Color: colorKey function (respects excludeFromContext flag)
|
|
156
|
-
* - excludeFromContext: Command prefixed with !! (dim border)
|
|
157
|
-
* - Normal: bashMode color (highlighted border)
|
|
158
|
-
*
|
|
159
|
-
* Component Nesting:
|
|
160
|
-
* - BashExecutionComponent (Container)
|
|
161
|
-
* ├── Spacer(1) ← Top margin
|
|
162
|
-
* ├── DynamicBorder ← Top border
|
|
163
|
-
* ├── contentContainer (Container)
|
|
164
|
-
* │ ├── Text: "$ command" header
|
|
165
|
-
* │ ├── Text or dynamic component: Output lines
|
|
166
|
-
* │ ├── Loader ← If running
|
|
167
|
-
* │ └── Text: Status message ← If complete
|
|
168
|
-
* └── DynamicBorder ← Bottom border
|
|
169
|
-
*
|
|
170
|
-
* EXAMPLES:
|
|
171
|
-
* ============================================================================
|
|
172
|
-
*
|
|
173
|
-
* Example 1: Simple Command (Running)
|
|
174
|
-
* ────────────────────────────────────
|
|
175
|
-
* Command: "ls -la"
|
|
176
|
-
* Rendered:
|
|
177
|
-
* <blank>
|
|
178
|
-
* ┌─────────────────────────────────────────┐
|
|
179
|
-
* $ ls -la
|
|
180
|
-
* [spinner] Running... (C-c to cancel)
|
|
181
|
-
* └─────────────────────────────────────────┘
|
|
182
|
-
*
|
|
183
|
-
* Example 2: Simple Command (Complete)
|
|
184
|
-
* ──────────────────────────────────────
|
|
185
|
-
* Command: "echo hello" completed successfully
|
|
186
|
-
* Rendered:
|
|
187
|
-
* <blank>
|
|
188
|
-
* ┌─────────────────────────────────────────┐
|
|
189
|
-
* $ echo hello
|
|
190
|
-
*
|
|
191
|
-
* hello
|
|
192
|
-
* └─────────────────────────────────────────┘
|
|
193
|
-
*
|
|
194
|
-
* Example 3: Large Output (Collapsed)
|
|
195
|
-
* ────────────────────────────────────
|
|
196
|
-
* Command: "find ." with 1000 results, collapsed
|
|
197
|
-
* Rendered:
|
|
198
|
-
* <blank>
|
|
199
|
-
* ┌─────────────────────────────────────────┐
|
|
200
|
-
* $ find .
|
|
201
|
-
*
|
|
202
|
-
* ... 980 more lines (to expand)
|
|
203
|
-
* ./src/index.ts
|
|
204
|
-
* ./src/main.ts
|
|
205
|
-
* ./dist/index.js
|
|
206
|
-
* (exit 0)
|
|
207
|
-
* └─────────────────────────────────────────┘
|
|
208
|
-
*
|
|
209
|
-
* Example 4: Error Exit Code
|
|
210
|
-
* ──────────────────────────
|
|
211
|
-
* Command: "rm /nonexistent" failed
|
|
212
|
-
* Rendered:
|
|
213
|
-
* <blank>
|
|
214
|
-
* ┌─────────────────────────────────────────┐
|
|
215
|
-
* $ rm /nonexistent
|
|
216
|
-
*
|
|
217
|
-
* Cannot remove: No such file or directory
|
|
218
|
-
* (exit 1)
|
|
219
|
-
* └─────────────────────────────────────────┘
|
|
220
|
-
*
|
|
221
|
-
* Example 5: Cancelled Command
|
|
222
|
-
* ──────────────────────────────
|
|
223
|
-
* User pressed Ctrl-C during execution
|
|
224
|
-
* Rendered:
|
|
225
|
-
* <blank>
|
|
226
|
-
* ┌─────────────────────────────────────────┐
|
|
227
|
-
* $ long_running_command
|
|
228
|
-
*
|
|
229
|
-
* Processing...
|
|
230
|
-
* ... 10 more lines (to expand)
|
|
231
|
-
* (cancelled)
|
|
232
|
-
* └─────────────────────────────────────────┘
|
|
233
|
-
*
|
|
234
|
-
* INTEGRATION:
|
|
235
|
-
* ============================================================================
|
|
236
|
-
* TUI Integration:
|
|
237
|
-
* - Extends Container (indusagi/tui base component)
|
|
238
|
-
* - Uses Text, Spacer, Loader, DynamicBorder components
|
|
239
|
-
* - Theme system: theme.fg(), theme.bold()
|
|
240
|
-
* - Loader component: Animated spinner from indusagi/tui
|
|
241
|
-
* - Terminal access: this.ui.terminal.columns for width
|
|
242
|
-
*
|
|
243
|
-
* Session Integration:
|
|
244
|
-
* - Created by InteractiveMode when !! command entered
|
|
245
|
-
* - Updates come from AgentSession.on('bash_output')
|
|
246
|
-
* - Completion from AgentSession.on('bash_complete')
|
|
247
|
-
* - Stored in chatContainer like other messages
|
|
248
|
-
* - Output exported via getOutput() for BashExecutionMessage
|
|
249
|
-
*
|
|
250
|
-
* Theme Integration:
|
|
251
|
-
* - bashMode color: Border and command header color
|
|
252
|
-
* - dim color: Used if excludeFromContext=true
|
|
253
|
-
* - muted color: Output lines rendered in muted color
|
|
254
|
-
* - invalidate(): Re-renders with new theme
|
|
255
|
-
* - Colors apply dynamically at render time
|
|
256
|
-
*
|
|
257
|
-
* Real-time Updates:
|
|
258
|
-
* - appendOutput(): Non-blocking append to array
|
|
259
|
-
* - updateDisplay(): Rebuilds contentContainer
|
|
260
|
-
* - TUI calls render() after requestRender()
|
|
261
|
-
* - Suitable for high-frequency updates (many lines/sec)
|
|
262
|
-
*
|
|
263
|
-
* Performance Notes:
|
|
264
|
-
* - outputLines stored as string array (efficient append)
|
|
265
|
-
* - Visual truncation cached (recomputed on width change)
|
|
266
|
-
* - Loader is simple spinner (minimal overhead)
|
|
267
|
-
* - PREVIEW_LINES limits rendered lines when collapsed
|
|
268
|
-
* - DEFAULT_MAX_LINES prevents context explosion (500 lines cap)
|
|
269
|
-
*
|
|
270
|
-
* API:
|
|
271
|
-
* ============================================================================
|
|
272
|
-
* Constructor(command, ui, excludeFromContext):
|
|
273
|
-
* - command: String to display in header (can be long)
|
|
274
|
-
* - ui: TUI instance for requestRender() and terminal access
|
|
275
|
-
* - excludeFromContext: Boolean, true if !! prefixed (dim border)
|
|
276
|
-
*
|
|
277
|
-
* setExpanded(expanded):
|
|
278
|
-
* - expanded: Boolean, toggle between full/preview output
|
|
279
|
-
* - Updates display immediately
|
|
280
|
-
*
|
|
281
|
-
* appendOutput(chunk):
|
|
282
|
-
* - chunk: String of output to append (can be partial line)
|
|
283
|
-
* - Strips ANSI, normalizes newlines, appends to outputLines
|
|
284
|
-
* - Calls updateDisplay() and requestRender()
|
|
285
|
-
*
|
|
286
|
-
* setComplete(exitCode, cancelled, truncationResult, fullOutputPath):
|
|
287
|
-
* - exitCode: Number or undefined (exit code from bash)
|
|
288
|
-
* - cancelled: Boolean, true if user cancelled
|
|
289
|
-
* - truncationResult: Optional truncation info for context limits
|
|
290
|
-
* - fullOutputPath: Path to file with full output (if truncated)
|
|
291
|
-
* - Stops loader, sets status, calls updateDisplay()
|
|
292
|
-
*
|
|
293
|
-
* getOutput():
|
|
294
|
-
* - Returns: String of all output lines joined with newlines
|
|
295
|
-
* - Used for creating BashExecutionMessage
|
|
296
|
-
*
|
|
297
|
-
* getCommand():
|
|
298
|
-
* - Returns: String of the command that was executed
|
|
299
|
-
*/
|
|
300
1
|
import { Container, type TUI } from "indusagi/tui";
|
|
301
2
|
import { type TruncationResult } from "indusagi/agent";
|
|
302
3
|
export declare class BashExecutionComponent extends Container {
|
|
303
|
-
private command;
|
|
4
|
+
private readonly command;
|
|
5
|
+
private readonly ui;
|
|
6
|
+
private readonly contentContainer;
|
|
7
|
+
private readonly loader;
|
|
8
|
+
private readonly excludeFromContext;
|
|
304
9
|
private outputLines;
|
|
305
10
|
private status;
|
|
306
11
|
private exitCode;
|
|
307
|
-
private loader;
|
|
308
12
|
private truncationResult?;
|
|
309
13
|
private fullOutputPath?;
|
|
310
14
|
private expanded;
|
|
311
|
-
private contentContainer;
|
|
312
|
-
private ui;
|
|
313
15
|
constructor(command: string, ui: TUI, excludeFromContext?: boolean);
|
|
314
|
-
/**
|
|
315
|
-
* Set whether the output is expanded (shows full output) or collapsed (preview only).
|
|
316
|
-
*/
|
|
317
16
|
setExpanded(expanded: boolean): void;
|
|
318
17
|
invalidate(): void;
|
|
319
18
|
appendOutput(chunk: string): void;
|
|
320
19
|
setComplete(exitCode: number | undefined, cancelled: boolean, truncationResult?: TruncationResult, fullOutputPath?: string): void;
|
|
321
|
-
private updateDisplay;
|
|
322
|
-
/**
|
|
323
|
-
* Get the raw output for creating BashExecutionMessage.
|
|
324
|
-
*/
|
|
325
20
|
getOutput(): string;
|
|
326
|
-
/**
|
|
327
|
-
* Get the command that was executed.
|
|
328
|
-
*/
|
|
329
21
|
getCommand(): string;
|
|
22
|
+
private updateDisplay;
|
|
330
23
|
}
|
|
331
24
|
//# sourceMappingURL=bash-execution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bash-execution.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/bash-execution.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bash-execution.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/bash-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAwB,KAAK,GAAG,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,EAAwC,KAAK,gBAAgB,EAAgB,MAAM,gBAAgB,CAAC;AAyF3G,qBAAa,sBAAuB,SAAQ,SAAS;IACpD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAM;IACzB,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAY;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAU;IAC7C,OAAO,CAAC,WAAW,CAAgB;IACnC,OAAO,CAAC,MAAM,CAAyB;IACvC,OAAO,CAAC,QAAQ,CAAqB;IACrC,OAAO,CAAC,gBAAgB,CAAC,CAAmB;IAC5C,OAAO,CAAC,cAAc,CAAC,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAS;gBAEb,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,kBAAkB,UAAQ;IAoBhE,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAK3B,UAAU,IAAI,IAAI;IAK3B,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAKjC,WAAW,CACV,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,SAAS,EAAE,OAAO,EAClB,gBAAgB,CAAC,EAAE,gBAAgB,EACnC,cAAc,CAAC,EAAE,MAAM,GACrB,IAAI;IASP,SAAS,IAAI,MAAM;IAInB,UAAU,IAAI,MAAM;IAIpB,OAAO,CAAC,aAAa;CAkCrB"}
|