erosolar-cli 1.7.345 → 1.7.346
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/README.md +148 -24
- package/dist/alpha-zero/agentWrapper.d.ts +84 -0
- package/dist/alpha-zero/agentWrapper.d.ts.map +1 -0
- package/dist/alpha-zero/agentWrapper.js +171 -0
- package/dist/alpha-zero/agentWrapper.js.map +1 -0
- package/dist/alpha-zero/codeEvaluator.d.ts +25 -0
- package/dist/alpha-zero/codeEvaluator.d.ts.map +1 -0
- package/dist/alpha-zero/codeEvaluator.js +273 -0
- package/dist/alpha-zero/codeEvaluator.js.map +1 -0
- package/dist/alpha-zero/competitiveRunner.d.ts +66 -0
- package/dist/alpha-zero/competitiveRunner.d.ts.map +1 -0
- package/dist/alpha-zero/competitiveRunner.js +224 -0
- package/dist/alpha-zero/competitiveRunner.js.map +1 -0
- package/dist/alpha-zero/index.d.ts +67 -0
- package/dist/alpha-zero/index.d.ts.map +1 -0
- package/dist/alpha-zero/index.js +99 -0
- package/dist/alpha-zero/index.js.map +1 -0
- package/dist/alpha-zero/introspection.d.ts +128 -0
- package/dist/alpha-zero/introspection.d.ts.map +1 -0
- package/dist/alpha-zero/introspection.js +300 -0
- package/dist/alpha-zero/introspection.js.map +1 -0
- package/dist/alpha-zero/metricsTracker.d.ts +71 -0
- package/dist/alpha-zero/metricsTracker.d.ts.map +1 -0
- package/dist/{core → alpha-zero}/metricsTracker.js +5 -2
- package/dist/alpha-zero/metricsTracker.js.map +1 -0
- package/dist/alpha-zero/security/core.d.ts +125 -0
- package/dist/alpha-zero/security/core.d.ts.map +1 -0
- package/dist/alpha-zero/security/core.js +271 -0
- package/dist/alpha-zero/security/core.js.map +1 -0
- package/dist/alpha-zero/security/google.d.ts +125 -0
- package/dist/alpha-zero/security/google.d.ts.map +1 -0
- package/dist/alpha-zero/security/google.js +311 -0
- package/dist/alpha-zero/security/google.js.map +1 -0
- package/dist/alpha-zero/security/googleLoader.d.ts +17 -0
- package/dist/alpha-zero/security/googleLoader.d.ts.map +1 -0
- package/dist/alpha-zero/security/googleLoader.js +41 -0
- package/dist/alpha-zero/security/googleLoader.js.map +1 -0
- package/dist/alpha-zero/security/index.d.ts +29 -0
- package/dist/alpha-zero/security/index.d.ts.map +1 -0
- package/dist/alpha-zero/security/index.js +32 -0
- package/dist/alpha-zero/security/index.js.map +1 -0
- package/dist/alpha-zero/security/simulation.d.ts +124 -0
- package/dist/alpha-zero/security/simulation.d.ts.map +1 -0
- package/dist/alpha-zero/security/simulation.js +277 -0
- package/dist/alpha-zero/security/simulation.js.map +1 -0
- package/dist/alpha-zero/selfModification.d.ts +109 -0
- package/dist/alpha-zero/selfModification.d.ts.map +1 -0
- package/dist/alpha-zero/selfModification.js +233 -0
- package/dist/alpha-zero/selfModification.js.map +1 -0
- package/dist/alpha-zero/types.d.ts +170 -0
- package/dist/alpha-zero/types.d.ts.map +1 -0
- package/dist/alpha-zero/types.js +31 -0
- package/dist/alpha-zero/types.js.map +1 -0
- package/dist/bin/erosolar.js +21 -5
- package/dist/bin/erosolar.js.map +1 -1
- package/dist/capabilities/agentSpawningCapability.d.ts.map +1 -1
- package/dist/capabilities/agentSpawningCapability.js +31 -56
- package/dist/capabilities/agentSpawningCapability.js.map +1 -1
- package/dist/capabilities/securityTestingCapability.d.ts +13 -0
- package/dist/capabilities/securityTestingCapability.d.ts.map +1 -0
- package/dist/capabilities/securityTestingCapability.js +25 -0
- package/dist/capabilities/securityTestingCapability.js.map +1 -0
- package/dist/contracts/agent-schemas.json +15 -0
- package/dist/contracts/tools.schema.json +9 -0
- package/dist/core/agent.d.ts +2 -2
- package/dist/core/agent.d.ts.map +1 -1
- package/dist/core/agent.js.map +1 -1
- package/dist/core/aiFlowOptimizer.d.ts +26 -0
- package/dist/core/aiFlowOptimizer.d.ts.map +1 -0
- package/dist/core/aiFlowOptimizer.js +31 -0
- package/dist/core/aiFlowOptimizer.js.map +1 -0
- package/dist/core/aiOptimizationEngine.d.ts +158 -0
- package/dist/core/aiOptimizationEngine.d.ts.map +1 -0
- package/dist/core/aiOptimizationEngine.js +428 -0
- package/dist/core/aiOptimizationEngine.js.map +1 -0
- package/dist/core/aiOptimizationIntegration.d.ts +93 -0
- package/dist/core/aiOptimizationIntegration.d.ts.map +1 -0
- package/dist/core/aiOptimizationIntegration.js +250 -0
- package/dist/core/aiOptimizationIntegration.js.map +1 -0
- package/dist/core/customCommands.d.ts +0 -1
- package/dist/core/customCommands.d.ts.map +1 -1
- package/dist/core/customCommands.js +0 -3
- package/dist/core/customCommands.js.map +1 -1
- package/dist/core/enhancedErrorRecovery.d.ts +100 -0
- package/dist/core/enhancedErrorRecovery.d.ts.map +1 -0
- package/dist/core/enhancedErrorRecovery.js +345 -0
- package/dist/core/enhancedErrorRecovery.js.map +1 -0
- package/dist/core/hooksSystem.d.ts +65 -0
- package/dist/core/hooksSystem.d.ts.map +1 -0
- package/dist/core/hooksSystem.js +273 -0
- package/dist/core/hooksSystem.js.map +1 -0
- package/dist/core/memorySystem.d.ts +48 -0
- package/dist/core/memorySystem.d.ts.map +1 -0
- package/dist/core/memorySystem.js +271 -0
- package/dist/core/memorySystem.js.map +1 -0
- package/dist/core/sessionStore.d.ts +0 -2
- package/dist/core/sessionStore.d.ts.map +1 -1
- package/dist/core/sessionStore.js +0 -1
- package/dist/core/sessionStore.js.map +1 -1
- package/dist/core/toolPreconditions.d.ts.map +1 -1
- package/dist/core/toolPreconditions.js +14 -0
- package/dist/core/toolPreconditions.js.map +1 -1
- package/dist/core/toolRuntime.d.ts +1 -22
- package/dist/core/toolRuntime.d.ts.map +1 -1
- package/dist/core/toolRuntime.js +5 -0
- package/dist/core/toolRuntime.js.map +1 -1
- package/dist/core/toolValidation.d.ts.map +1 -1
- package/dist/core/toolValidation.js +3 -14
- package/dist/core/toolValidation.js.map +1 -1
- package/dist/core/unified/errors.d.ts +189 -0
- package/dist/core/unified/errors.d.ts.map +1 -0
- package/dist/core/unified/errors.js +497 -0
- package/dist/core/unified/errors.js.map +1 -0
- package/dist/core/unified/index.d.ts +19 -0
- package/dist/core/unified/index.d.ts.map +1 -0
- package/dist/core/unified/index.js +68 -0
- package/dist/core/unified/index.js.map +1 -0
- package/dist/core/unified/schema.d.ts +101 -0
- package/dist/core/unified/schema.d.ts.map +1 -0
- package/dist/core/unified/schema.js +350 -0
- package/dist/core/unified/schema.js.map +1 -0
- package/dist/core/unified/toolRuntime.d.ts +179 -0
- package/dist/core/unified/toolRuntime.d.ts.map +1 -0
- package/dist/core/unified/toolRuntime.js +517 -0
- package/dist/core/unified/toolRuntime.js.map +1 -0
- package/dist/core/unified/tools.d.ts +127 -0
- package/dist/core/unified/tools.d.ts.map +1 -0
- package/dist/core/unified/tools.js +1333 -0
- package/dist/core/unified/tools.js.map +1 -0
- package/dist/core/unified/types.d.ts +352 -0
- package/dist/core/unified/types.d.ts.map +1 -0
- package/dist/core/unified/types.js +12 -0
- package/dist/core/unified/types.js.map +1 -0
- package/dist/core/unified/version.d.ts +209 -0
- package/dist/core/unified/version.d.ts.map +1 -0
- package/dist/core/unified/version.js +454 -0
- package/dist/core/unified/version.js.map +1 -0
- package/dist/core/validationRunner.d.ts +3 -1
- package/dist/core/validationRunner.d.ts.map +1 -1
- package/dist/core/validationRunner.js.map +1 -1
- package/dist/headless/headlessApp.d.ts.map +1 -1
- package/dist/headless/headlessApp.js +0 -21
- package/dist/headless/headlessApp.js.map +1 -1
- package/dist/mcp/sseClient.d.ts.map +1 -1
- package/dist/mcp/sseClient.js +18 -9
- package/dist/mcp/sseClient.js.map +1 -1
- package/dist/plugins/tools/build/buildPlugin.d.ts +6 -0
- package/dist/plugins/tools/build/buildPlugin.d.ts.map +1 -1
- package/dist/plugins/tools/build/buildPlugin.js +10 -4
- package/dist/plugins/tools/build/buildPlugin.js.map +1 -1
- package/dist/plugins/tools/nodeDefaults.d.ts.map +1 -1
- package/dist/plugins/tools/nodeDefaults.js +2 -0
- package/dist/plugins/tools/nodeDefaults.js.map +1 -1
- package/dist/plugins/tools/security/securityPlugin.d.ts +3 -0
- package/dist/plugins/tools/security/securityPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/security/securityPlugin.js +12 -0
- package/dist/plugins/tools/security/securityPlugin.js.map +1 -0
- package/dist/runtime/agentSession.d.ts +2 -2
- package/dist/runtime/agentSession.d.ts.map +1 -1
- package/dist/runtime/agentSession.js +2 -2
- package/dist/runtime/agentSession.js.map +1 -1
- package/dist/security/active-stack-security.d.ts +112 -0
- package/dist/security/active-stack-security.d.ts.map +1 -0
- package/dist/security/active-stack-security.js +296 -0
- package/dist/security/active-stack-security.js.map +1 -0
- package/dist/security/advanced-persistence-research.d.ts +92 -0
- package/dist/security/advanced-persistence-research.d.ts.map +1 -0
- package/dist/security/advanced-persistence-research.js +195 -0
- package/dist/security/advanced-persistence-research.js.map +1 -0
- package/dist/security/advanced-targeting.d.ts +119 -0
- package/dist/security/advanced-targeting.d.ts.map +1 -0
- package/dist/security/advanced-targeting.js +233 -0
- package/dist/security/advanced-targeting.js.map +1 -0
- package/dist/security/assessment/vulnerabilityAssessment.d.ts +104 -0
- package/dist/security/assessment/vulnerabilityAssessment.d.ts.map +1 -0
- package/dist/security/assessment/vulnerabilityAssessment.js +315 -0
- package/dist/security/assessment/vulnerabilityAssessment.js.map +1 -0
- package/dist/security/authorization/securityAuthorization.d.ts +88 -0
- package/dist/security/authorization/securityAuthorization.d.ts.map +1 -0
- package/dist/security/authorization/securityAuthorization.js +172 -0
- package/dist/security/authorization/securityAuthorization.js.map +1 -0
- package/dist/security/comprehensive-targeting.d.ts +85 -0
- package/dist/security/comprehensive-targeting.d.ts.map +1 -0
- package/dist/security/comprehensive-targeting.js +438 -0
- package/dist/security/comprehensive-targeting.js.map +1 -0
- package/dist/security/global-security-integration.d.ts +91 -0
- package/dist/security/global-security-integration.d.ts.map +1 -0
- package/dist/security/global-security-integration.js +218 -0
- package/dist/security/global-security-integration.js.map +1 -0
- package/dist/security/index.d.ts +38 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +47 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/persistence-analyzer.d.ts +56 -0
- package/dist/security/persistence-analyzer.d.ts.map +1 -0
- package/dist/security/persistence-analyzer.js +187 -0
- package/dist/security/persistence-analyzer.js.map +1 -0
- package/dist/security/persistence-cli.d.ts +36 -0
- package/dist/security/persistence-cli.d.ts.map +1 -0
- package/dist/security/persistence-cli.js +160 -0
- package/dist/security/persistence-cli.js.map +1 -0
- package/dist/security/persistence-research.d.ts +92 -0
- package/dist/security/persistence-research.d.ts.map +1 -0
- package/dist/security/persistence-research.js +364 -0
- package/dist/security/persistence-research.js.map +1 -0
- package/dist/security/research/persistenceResearch.d.ts +97 -0
- package/dist/security/research/persistenceResearch.d.ts.map +1 -0
- package/dist/security/research/persistenceResearch.js +282 -0
- package/dist/security/research/persistenceResearch.js.map +1 -0
- package/dist/security/security-integration.d.ts +74 -0
- package/dist/security/security-integration.d.ts.map +1 -0
- package/dist/security/security-integration.js +137 -0
- package/dist/security/security-integration.js.map +1 -0
- package/dist/security/security-testing-framework.d.ts +112 -0
- package/dist/security/security-testing-framework.d.ts.map +1 -0
- package/dist/security/security-testing-framework.js +364 -0
- package/dist/security/security-testing-framework.js.map +1 -0
- package/dist/security/simulation/attackSimulation.d.ts +93 -0
- package/dist/security/simulation/attackSimulation.d.ts.map +1 -0
- package/dist/security/simulation/attackSimulation.js +341 -0
- package/dist/security/simulation/attackSimulation.js.map +1 -0
- package/dist/security/strategic-operations.d.ts +100 -0
- package/dist/security/strategic-operations.d.ts.map +1 -0
- package/dist/security/strategic-operations.js +276 -0
- package/dist/security/strategic-operations.js.map +1 -0
- package/dist/security/tool-security-wrapper.d.ts +58 -0
- package/dist/security/tool-security-wrapper.d.ts.map +1 -0
- package/dist/security/tool-security-wrapper.js +156 -0
- package/dist/security/tool-security-wrapper.js.map +1 -0
- package/dist/shell/claudeCodeStreamHandler.d.ts +145 -0
- package/dist/shell/claudeCodeStreamHandler.d.ts.map +1 -0
- package/dist/shell/claudeCodeStreamHandler.js +322 -0
- package/dist/shell/claudeCodeStreamHandler.js.map +1 -0
- package/dist/shell/inputQueueManager.d.ts +144 -0
- package/dist/shell/inputQueueManager.d.ts.map +1 -0
- package/dist/shell/inputQueueManager.js +290 -0
- package/dist/shell/inputQueueManager.js.map +1 -0
- package/dist/shell/interactiveShell.d.ts +7 -31
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +166 -362
- package/dist/shell/interactiveShell.js.map +1 -1
- package/dist/shell/metricsTracker.d.ts +60 -0
- package/dist/shell/metricsTracker.d.ts.map +1 -0
- package/dist/shell/metricsTracker.js +119 -0
- package/dist/shell/metricsTracker.js.map +1 -0
- package/dist/shell/shellApp.d.ts +0 -2
- package/dist/shell/shellApp.d.ts.map +1 -1
- package/dist/shell/shellApp.js +9 -82
- package/dist/shell/shellApp.js.map +1 -1
- package/dist/shell/streamingOutputManager.d.ts +115 -0
- package/dist/shell/streamingOutputManager.d.ts.map +1 -0
- package/dist/shell/streamingOutputManager.js +225 -0
- package/dist/shell/streamingOutputManager.js.map +1 -0
- package/dist/shell/systemPrompt.d.ts.map +1 -1
- package/dist/shell/systemPrompt.js +4 -1
- package/dist/shell/systemPrompt.js.map +1 -1
- package/dist/shell/terminalInput.d.ts +120 -236
- package/dist/shell/terminalInput.d.ts.map +1 -1
- package/dist/shell/terminalInput.js +539 -1044
- package/dist/shell/terminalInput.js.map +1 -1
- package/dist/shell/terminalInputAdapter.d.ts +21 -99
- package/dist/shell/terminalInputAdapter.d.ts.map +1 -1
- package/dist/shell/terminalInputAdapter.js +30 -135
- package/dist/shell/terminalInputAdapter.js.map +1 -1
- package/dist/subagents/taskRunner.d.ts +1 -7
- package/dist/subagents/taskRunner.d.ts.map +1 -1
- package/dist/subagents/taskRunner.js +47 -180
- package/dist/subagents/taskRunner.js.map +1 -1
- package/dist/tools/securityTools.d.ts +22 -0
- package/dist/tools/securityTools.d.ts.map +1 -0
- package/dist/tools/securityTools.js +448 -0
- package/dist/tools/securityTools.js.map +1 -0
- package/dist/ui/ShellUIAdapter.d.ts +1 -7
- package/dist/ui/ShellUIAdapter.d.ts.map +1 -1
- package/dist/ui/ShellUIAdapter.js +18 -42
- package/dist/ui/ShellUIAdapter.js.map +1 -1
- package/dist/ui/display.d.ts +45 -24
- package/dist/ui/display.d.ts.map +1 -1
- package/dist/ui/display.js +259 -140
- package/dist/ui/display.js.map +1 -1
- package/dist/ui/persistentPrompt.d.ts +50 -0
- package/dist/ui/persistentPrompt.d.ts.map +1 -0
- package/dist/ui/persistentPrompt.js +92 -0
- package/dist/ui/persistentPrompt.js.map +1 -0
- package/dist/ui/terminalUISchema.d.ts +195 -0
- package/dist/ui/terminalUISchema.d.ts.map +1 -0
- package/dist/ui/terminalUISchema.js +113 -0
- package/dist/ui/terminalUISchema.js.map +1 -0
- package/dist/ui/theme.d.ts.map +1 -1
- package/dist/ui/theme.js +8 -6
- package/dist/ui/theme.js.map +1 -1
- package/dist/ui/toolDisplay.d.ts +158 -0
- package/dist/ui/toolDisplay.d.ts.map +1 -1
- package/dist/ui/toolDisplay.js +348 -0
- package/dist/ui/toolDisplay.js.map +1 -1
- package/dist/ui/unified/layout.d.ts +0 -20
- package/dist/ui/unified/layout.d.ts.map +1 -1
- package/dist/ui/unified/layout.js +216 -105
- package/dist/ui/unified/layout.js.map +1 -1
- package/package.json +4 -4
- package/scripts/deploy-security-capabilities.js +178 -0
- package/dist/core/hooks.d.ts +0 -113
- package/dist/core/hooks.d.ts.map +0 -1
- package/dist/core/hooks.js +0 -267
- package/dist/core/hooks.js.map +0 -1
- package/dist/core/metricsTracker.d.ts +0 -122
- package/dist/core/metricsTracker.d.ts.map +0 -1
- package/dist/core/metricsTracker.js.map +0 -1
- package/dist/core/securityAssessment.d.ts +0 -91
- package/dist/core/securityAssessment.d.ts.map +0 -1
- package/dist/core/securityAssessment.js +0 -580
- package/dist/core/securityAssessment.js.map +0 -1
- package/dist/core/verification.d.ts +0 -137
- package/dist/core/verification.d.ts.map +0 -1
- package/dist/core/verification.js +0 -323
- package/dist/core/verification.js.map +0 -1
- package/dist/subagents/agentConfig.d.ts +0 -27
- package/dist/subagents/agentConfig.d.ts.map +0 -1
- package/dist/subagents/agentConfig.js +0 -89
- package/dist/subagents/agentConfig.js.map +0 -1
- package/dist/subagents/agentRegistry.d.ts +0 -33
- package/dist/subagents/agentRegistry.d.ts.map +0 -1
- package/dist/subagents/agentRegistry.js +0 -162
- package/dist/subagents/agentRegistry.js.map +0 -1
- package/dist/utils/frontmatter.d.ts +0 -10
- package/dist/utils/frontmatter.d.ts.map +0 -1
- package/dist/utils/frontmatter.js +0 -78
- package/dist/utils/frontmatter.js.map +0 -1
|
@@ -3,23 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Design principles:
|
|
5
5
|
* - Single source of truth for input state
|
|
6
|
-
* - Hybrid floating/scroll approach:
|
|
7
|
-
* - Initially: chat box floats below content
|
|
8
|
-
* - When terminal fills: scroll region activates, chat box pins to bottom
|
|
9
6
|
* - Native bracketed paste support (no heuristics)
|
|
10
7
|
* - Clean cursor model with render-time wrapping
|
|
11
8
|
* - State machine for different input modes
|
|
12
9
|
* - No readline dependency for display
|
|
13
|
-
* - Text selection enabled: mouse tracking disabled by default to preserve
|
|
14
|
-
* native terminal text selection and copy/paste functionality
|
|
15
|
-
* - Scrollback navigation via keyboard: PageUp/PageDown, Ctrl+Home/End
|
|
16
10
|
*/
|
|
17
11
|
import { EventEmitter } from 'node:events';
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*/
|
|
21
|
-
export type InputMode = 'idle' | 'streaming' | 'paste';
|
|
22
|
-
export type EditGuardMode = 'display-edits' | 'ask-permission';
|
|
12
|
+
import { type InputMode, type EditGuardMode } from '../ui/terminalUISchema.js';
|
|
13
|
+
export type { InputMode, EditGuardMode } from '../ui/terminalUISchema.js';
|
|
23
14
|
/**
|
|
24
15
|
* Events emitted by TerminalInput
|
|
25
16
|
*/
|
|
@@ -71,39 +62,32 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
71
62
|
private statusMessage;
|
|
72
63
|
private overrideStatusMessage;
|
|
73
64
|
private streamingLabel;
|
|
74
|
-
private metaElapsedSeconds;
|
|
75
|
-
private metaTokensUsed;
|
|
76
|
-
private metaTokenLimit;
|
|
77
|
-
private metaThinkingMs;
|
|
78
|
-
private metaThinkingHasContent;
|
|
79
65
|
private lastRenderContent;
|
|
80
66
|
private lastRenderCursor;
|
|
81
67
|
private renderDirty;
|
|
82
68
|
private isRendering;
|
|
69
|
+
private flowModeRenderedLines;
|
|
70
|
+
private inputAreaStartRow;
|
|
71
|
+
private contentEndRow;
|
|
72
|
+
private commandSuggestions;
|
|
73
|
+
private filteredSuggestions;
|
|
74
|
+
private selectedSuggestionIndex;
|
|
75
|
+
private showSuggestions;
|
|
83
76
|
private disposed;
|
|
84
77
|
private enabled;
|
|
85
78
|
private contextUsage;
|
|
86
|
-
private contextAutoCompactThreshold;
|
|
87
|
-
private contentRow;
|
|
88
|
-
private scrollRegionActive;
|
|
89
|
-
private thinkingModeLabel;
|
|
90
|
-
private scrollbackBuffer;
|
|
91
|
-
private readonly maxScrollbackLines;
|
|
92
|
-
private scrollbackOffset;
|
|
93
|
-
private isInScrollbackMode;
|
|
94
|
-
private scrollIndicatorFrame;
|
|
95
|
-
private alternateScreenActive;
|
|
96
79
|
private editMode;
|
|
97
80
|
private verificationEnabled;
|
|
98
81
|
private autoContinueEnabled;
|
|
99
82
|
private verificationHotkey;
|
|
100
83
|
private autoContinueHotkey;
|
|
101
|
-
private
|
|
102
|
-
private
|
|
103
|
-
private
|
|
104
|
-
private
|
|
105
|
-
private streamingRenderInterval;
|
|
84
|
+
private outputInterceptorCleanup?;
|
|
85
|
+
private streamingStartTime;
|
|
86
|
+
private thinkingEnabled;
|
|
87
|
+
private modelInfo;
|
|
106
88
|
private streamingRenderTimer;
|
|
89
|
+
private displayRef;
|
|
90
|
+
private unifiedUIInitialized;
|
|
107
91
|
constructor(writeStream?: NodeJS.WriteStream, config?: TerminalInputConfig);
|
|
108
92
|
/**
|
|
109
93
|
* Enable bracketed paste mode in terminal
|
|
@@ -114,40 +98,99 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
114
98
|
*/
|
|
115
99
|
disableBracketedPaste(): void;
|
|
116
100
|
/**
|
|
117
|
-
*
|
|
118
|
-
*/
|
|
119
|
-
enableMouseTracking(): void;
|
|
120
|
-
/**
|
|
121
|
-
* Disable mouse tracking
|
|
122
|
-
*/
|
|
123
|
-
disableMouseTracking(): void;
|
|
124
|
-
/**
|
|
125
|
-
* Process raw terminal data (handles bracketed paste sequences and mouse events)
|
|
101
|
+
* Process raw terminal data (handles bracketed paste sequences)
|
|
126
102
|
* Returns true if the data was consumed (paste sequence)
|
|
127
103
|
*/
|
|
128
104
|
processRawData(data: string): {
|
|
129
105
|
consumed: boolean;
|
|
130
106
|
passthrough: string;
|
|
131
107
|
};
|
|
132
|
-
/**
|
|
133
|
-
* Handle mouse events (button, x, y coordinates, action)
|
|
134
|
-
*/
|
|
135
|
-
private handleMouseEvent;
|
|
136
108
|
/**
|
|
137
109
|
* Handle a keypress event
|
|
138
110
|
*/
|
|
139
111
|
handleKeypress(str: string | undefined, key: KeyInfo): void;
|
|
112
|
+
private bannerContent;
|
|
113
|
+
/**
|
|
114
|
+
* Set banner content to be written when unified UI initializes.
|
|
115
|
+
*/
|
|
116
|
+
setBannerContent(content: string | null): void;
|
|
117
|
+
/**
|
|
118
|
+
* Initialize the unified UI system with BOTTOM PINNED chat box.
|
|
119
|
+
*
|
|
120
|
+
* Layout:
|
|
121
|
+
* 1. Clear screen
|
|
122
|
+
* 2. Write banner at top
|
|
123
|
+
* 3. Set content cursor row after banner
|
|
124
|
+
* 4. Render chat box at bottom (sets up scroll region)
|
|
125
|
+
*/
|
|
126
|
+
initializeUnifiedUI(): void;
|
|
127
|
+
/**
|
|
128
|
+
* Clear the input area at its tracked position.
|
|
129
|
+
* Returns true if something was cleared.
|
|
130
|
+
*/
|
|
131
|
+
private clearInputArea;
|
|
132
|
+
/**
|
|
133
|
+
* Reset input area tracking state.
|
|
134
|
+
*/
|
|
135
|
+
private resetInputAreaTracking;
|
|
136
|
+
/**
|
|
137
|
+
* Render chat box - FLOATING below content (no scroll regions).
|
|
138
|
+
* Chat box appears right after content and moves down as content grows.
|
|
139
|
+
* Content and banner scroll naturally off the top of the screen.
|
|
140
|
+
*/
|
|
141
|
+
private renderFloatingInputArea;
|
|
142
|
+
/**
|
|
143
|
+
* Build Claude Code style controls line.
|
|
144
|
+
* Shows: edit mode indicator (shift+tab to cycle)
|
|
145
|
+
*/
|
|
146
|
+
private buildClaudeStyleControls;
|
|
140
147
|
/**
|
|
141
148
|
* Set the input mode
|
|
142
149
|
*
|
|
143
|
-
*
|
|
150
|
+
* BOTTOM PINNED with SSE: Chat box stays at terminal bottom.
|
|
151
|
+
* Scroll region protects chat box, content scrolls above it.
|
|
144
152
|
*/
|
|
145
153
|
setMode(mode: InputMode): void;
|
|
146
154
|
/**
|
|
147
|
-
*
|
|
148
|
-
*
|
|
155
|
+
* Set the row where content ends (for idle mode positioning).
|
|
156
|
+
* Input area will render starting from this row + 1.
|
|
149
157
|
*/
|
|
150
|
-
|
|
158
|
+
setContentEndRow(row: number): void;
|
|
159
|
+
/**
|
|
160
|
+
* Set available slash commands for auto-complete suggestions.
|
|
161
|
+
*/
|
|
162
|
+
setCommands(commands: Array<{
|
|
163
|
+
command: string;
|
|
164
|
+
description: string;
|
|
165
|
+
}>): void;
|
|
166
|
+
/**
|
|
167
|
+
* Update filtered suggestions based on current input.
|
|
168
|
+
*/
|
|
169
|
+
private updateSuggestions;
|
|
170
|
+
/**
|
|
171
|
+
* Select next suggestion (arrow down / tab).
|
|
172
|
+
*/
|
|
173
|
+
selectNextSuggestion(): void;
|
|
174
|
+
/**
|
|
175
|
+
* Select previous suggestion (arrow up / shift+tab).
|
|
176
|
+
*/
|
|
177
|
+
selectPrevSuggestion(): void;
|
|
178
|
+
/**
|
|
179
|
+
* Accept current suggestion and insert into buffer.
|
|
180
|
+
*/
|
|
181
|
+
acceptSuggestion(): boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Check if suggestions are visible.
|
|
184
|
+
*/
|
|
185
|
+
areSuggestionsVisible(): boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Toggle thinking/reasoning mode
|
|
188
|
+
*/
|
|
189
|
+
toggleThinking(): void;
|
|
190
|
+
/**
|
|
191
|
+
* Get thinking enabled state
|
|
192
|
+
*/
|
|
193
|
+
isThinkingEnabled(): boolean;
|
|
151
194
|
/**
|
|
152
195
|
* Get current mode
|
|
153
196
|
*/
|
|
@@ -166,8 +209,9 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
166
209
|
setBuffer(text: string, cursorPos?: number): void;
|
|
167
210
|
/**
|
|
168
211
|
* Clear the buffer
|
|
212
|
+
* @param skipRender - If true, don't trigger a re-render (used during submit flow)
|
|
169
213
|
*/
|
|
170
|
-
clear(): void;
|
|
214
|
+
clear(skipRender?: boolean): void;
|
|
171
215
|
/**
|
|
172
216
|
* Get queued inputs
|
|
173
217
|
*/
|
|
@@ -194,16 +238,6 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
194
238
|
* Can be shown alongside override status messages.
|
|
195
239
|
*/
|
|
196
240
|
setStreamingLabel(label: string | null): void;
|
|
197
|
-
/**
|
|
198
|
-
* Surface meta status just above the divider (e.g., elapsed time or token usage).
|
|
199
|
-
*/
|
|
200
|
-
setMetaStatus(meta: {
|
|
201
|
-
elapsedSeconds?: number | null;
|
|
202
|
-
tokensUsed?: number | null;
|
|
203
|
-
tokenLimit?: number | null;
|
|
204
|
-
thinkingMs?: number | null;
|
|
205
|
-
thinkingHasContent?: boolean;
|
|
206
|
-
}): void;
|
|
207
241
|
/**
|
|
208
242
|
* Keep mode toggles (verification/auto-continue) visible in the control bar.
|
|
209
243
|
* Hotkey labels remain stable so the bar looks the same before/during streaming.
|
|
@@ -213,59 +247,34 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
213
247
|
autoContinueEnabled: boolean;
|
|
214
248
|
verificationHotkey?: string;
|
|
215
249
|
autoContinueHotkey?: string;
|
|
216
|
-
thinkingModeLabel?: string | null;
|
|
217
|
-
thinkingHotkey?: string;
|
|
218
250
|
}): void;
|
|
219
251
|
/**
|
|
220
|
-
*
|
|
252
|
+
* Set the model info string (e.g., "OpenAI · gpt-4")
|
|
253
|
+
* This is displayed persistently above the input area.
|
|
221
254
|
*/
|
|
222
|
-
|
|
255
|
+
setModelInfo(info: string | null): void;
|
|
223
256
|
/**
|
|
224
|
-
*
|
|
257
|
+
* Clear all status messages at once (convenience method).
|
|
225
258
|
*/
|
|
226
|
-
|
|
227
|
-
model?: string | null;
|
|
228
|
-
provider?: string | null;
|
|
229
|
-
}): void;
|
|
259
|
+
clearAllStatus(): void;
|
|
230
260
|
/**
|
|
231
|
-
* Render the
|
|
232
|
-
*
|
|
233
|
-
*
|
|
234
|
-
* As content is added, contentRow advances, and the chat box moves down.
|
|
235
|
-
* No scroll regions - pure floating behavior.
|
|
261
|
+
* Render the input area.
|
|
262
|
+
* During streaming: renders at terminal bottom (with scroll region)
|
|
263
|
+
* After streaming: renders floating below content
|
|
236
264
|
*/
|
|
237
265
|
render(): void;
|
|
238
266
|
/**
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
* Content scrolls in the region above the chat box.
|
|
267
|
+
* Build status bar showing streaming/ready status and key info.
|
|
268
|
+
* This is the TOP line above the input area - minimal Claude Code style.
|
|
242
269
|
*/
|
|
243
|
-
private
|
|
270
|
+
private buildStatusBar;
|
|
244
271
|
/**
|
|
245
|
-
* Build
|
|
246
|
-
*
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Build mode controls line with all keyboard shortcuts.
|
|
251
|
-
* Shows status, all toggles, and contextual information.
|
|
252
|
-
* Enhanced with comprehensive feature status display.
|
|
272
|
+
* Build mode controls line showing toggles and context info.
|
|
273
|
+
* This is the BOTTOM line below the input area - Claude Code style layout with erosolar features.
|
|
274
|
+
*
|
|
275
|
+
* Layout: [toggles on left] ... [context info on right]
|
|
253
276
|
*/
|
|
254
277
|
private buildModeControls;
|
|
255
|
-
private formatHotkey;
|
|
256
|
-
private computeContextRemaining;
|
|
257
|
-
private computeTokensRemaining;
|
|
258
|
-
private formatElapsedLabel;
|
|
259
|
-
private formatTokenCount;
|
|
260
|
-
private visibleLength;
|
|
261
|
-
/**
|
|
262
|
-
* Debug-only snapshot used by tests to assert rendered strings without
|
|
263
|
-
* needing a TTY. Not used by production code.
|
|
264
|
-
*/
|
|
265
|
-
getDebugUiSnapshot(width?: number): {
|
|
266
|
-
meta: string[];
|
|
267
|
-
controls: string;
|
|
268
|
-
};
|
|
269
278
|
/**
|
|
270
279
|
* Force a re-render
|
|
271
280
|
*/
|
|
@@ -278,89 +287,18 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
278
287
|
* Handle terminal resize
|
|
279
288
|
*/
|
|
280
289
|
handleResize(): void;
|
|
290
|
+
private contentCursorRow;
|
|
281
291
|
/**
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
*/
|
|
285
|
-
enterStreamingScrollRegion(): void;
|
|
286
|
-
/**
|
|
287
|
-
* Exit streaming mode and restore normal operation.
|
|
288
|
-
*/
|
|
289
|
-
exitStreamingScrollRegion(): void;
|
|
290
|
-
/**
|
|
291
|
-
* Render chat box at bottom - now uses unified renderer.
|
|
292
|
-
* @deprecated Use renderPinnedChatBox() directly via render()/forceRender()
|
|
293
|
-
*/
|
|
294
|
-
private renderChatBoxAtBottom;
|
|
295
|
-
/**
|
|
296
|
-
* Stream content within the scroll region.
|
|
297
|
-
* Content is written directly and scrolls naturally.
|
|
298
|
-
*/
|
|
299
|
-
streamContent(content: string): void;
|
|
300
|
-
/**
|
|
301
|
-
* Enable scroll region (no-op in floating mode).
|
|
302
|
-
*/
|
|
303
|
-
enableScrollRegion(): void;
|
|
304
|
-
/**
|
|
305
|
-
* Disable scroll region (no-op in floating mode).
|
|
306
|
-
*/
|
|
307
|
-
disableScrollRegion(): void;
|
|
308
|
-
/**
|
|
309
|
-
* Calculate chat box height.
|
|
292
|
+
* Register with display's output interceptor.
|
|
293
|
+
* Clears chat box before writes, re-renders after with updated position.
|
|
310
294
|
*/
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* @deprecated Use streamContent() instead
|
|
314
|
-
* Register with display's output interceptor - kept for backwards compatibility
|
|
315
|
-
*/
|
|
316
|
-
registerOutputInterceptor(_display: {
|
|
295
|
+
registerOutputInterceptor(display: {
|
|
317
296
|
registerOutputInterceptor: (i: {
|
|
318
297
|
beforeWrite?: () => void;
|
|
319
298
|
afterWrite?: () => void;
|
|
320
299
|
}) => () => void;
|
|
300
|
+
getTotalWrittenLines?: () => number;
|
|
321
301
|
}): void;
|
|
322
|
-
/**
|
|
323
|
-
* Write content above the floating chat box.
|
|
324
|
-
* Works both during streaming and when idle.
|
|
325
|
-
*/
|
|
326
|
-
writeToScrollRegion(content: string): void;
|
|
327
|
-
/**
|
|
328
|
-
* Enter alternate screen buffer and clear it.
|
|
329
|
-
* This gives us full control over the terminal without affecting user's history.
|
|
330
|
-
*/
|
|
331
|
-
enterAlternateScreen(): void;
|
|
332
|
-
/**
|
|
333
|
-
* Exit alternate screen buffer.
|
|
334
|
-
* Restores the user's previous terminal content.
|
|
335
|
-
*/
|
|
336
|
-
exitAlternateScreen(): void;
|
|
337
|
-
/**
|
|
338
|
-
* Check if alternate screen buffer is currently active.
|
|
339
|
-
*/
|
|
340
|
-
isAlternateScreenActive(): boolean;
|
|
341
|
-
/**
|
|
342
|
-
* Get a snapshot of the scrollback buffer (for display on exit).
|
|
343
|
-
*/
|
|
344
|
-
getScrollbackSnapshot(): string[];
|
|
345
|
-
/**
|
|
346
|
-
* Clear the entire terminal screen and reset content position.
|
|
347
|
-
* This removes all content including the launching command.
|
|
348
|
-
*/
|
|
349
|
-
clearScreen(): void;
|
|
350
|
-
/**
|
|
351
|
-
* Reset content position to row 1.
|
|
352
|
-
* Does NOT clear the terminal - content starts from current position.
|
|
353
|
-
*/
|
|
354
|
-
resetContentPosition(): void;
|
|
355
|
-
/**
|
|
356
|
-
* Set the content row explicitly (used after banner is written).
|
|
357
|
-
* This tells the input where content should start flowing from.
|
|
358
|
-
*/
|
|
359
|
-
setContentRow(row: number): void;
|
|
360
|
-
/**
|
|
361
|
-
* Get the current content row position.
|
|
362
|
-
*/
|
|
363
|
-
getContentRow(): number;
|
|
364
302
|
/**
|
|
365
303
|
* Dispose and clean up
|
|
366
304
|
*/
|
|
@@ -389,80 +327,26 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
389
327
|
private submit;
|
|
390
328
|
private finishPaste;
|
|
391
329
|
private wrapBuffer;
|
|
392
|
-
/**
|
|
393
|
-
* Add content to the scrollback buffer for history retention
|
|
394
|
-
*/
|
|
395
|
-
private addToScrollback;
|
|
396
|
-
/**
|
|
397
|
-
* Scroll up by a number of lines (PageUp)
|
|
398
|
-
*/
|
|
399
|
-
private scrollUp;
|
|
400
|
-
/**
|
|
401
|
-
* Scroll down by a number of lines (PageDown)
|
|
402
|
-
*/
|
|
403
|
-
private scrollDown;
|
|
404
|
-
/**
|
|
405
|
-
* Jump to the top of scrollback buffer
|
|
406
|
-
*/
|
|
407
|
-
private scrollToTop;
|
|
408
|
-
/**
|
|
409
|
-
* Jump to the bottom (live mode)
|
|
410
|
-
*/
|
|
411
|
-
private scrollToBottom;
|
|
412
|
-
/**
|
|
413
|
-
* Toggle scrollback mode on/off (Alt+S hotkey)
|
|
414
|
-
*/
|
|
415
|
-
private toggleScrollbackMode;
|
|
416
|
-
/**
|
|
417
|
-
* Render the scrollback buffer view with enhanced visuals
|
|
418
|
-
* Features:
|
|
419
|
-
* - Visual scroll position indicator
|
|
420
|
-
* - Progress bar showing position in history
|
|
421
|
-
* - Keyboard navigation hints
|
|
422
|
-
* - Animated indicators
|
|
423
|
-
*/
|
|
424
|
-
private renderScrollbackView;
|
|
425
|
-
/**
|
|
426
|
-
* Build scrollback header with navigation hints
|
|
427
|
-
*/
|
|
428
|
-
private buildScrollbackHeader;
|
|
429
|
-
/**
|
|
430
|
-
* Render visual scroll track on the right side
|
|
431
|
-
*/
|
|
432
|
-
private renderScrollTrack;
|
|
433
|
-
/**
|
|
434
|
-
* Build a visual progress bar
|
|
435
|
-
*/
|
|
436
|
-
private buildProgressBar;
|
|
437
|
-
/**
|
|
438
|
-
* Get scrollback buffer content (for persistence)
|
|
439
|
-
*/
|
|
440
|
-
getScrollbackBuffer(): string[];
|
|
441
|
-
/**
|
|
442
|
-
* Load scrollback buffer (for restoration)
|
|
443
|
-
*/
|
|
444
|
-
loadScrollbackBuffer(lines: string[]): void;
|
|
445
|
-
/**
|
|
446
|
-
* Clear scrollback buffer
|
|
447
|
-
*/
|
|
448
|
-
clearScrollbackBuffer(): void;
|
|
449
330
|
private getComposedLength;
|
|
450
331
|
private assembleText;
|
|
451
332
|
private shiftPlaceholders;
|
|
452
333
|
private removeRange;
|
|
453
334
|
private insertPlainText;
|
|
454
|
-
private shouldInlineMultiline;
|
|
455
335
|
private findPlaceholderAt;
|
|
456
336
|
private buildPlaceholder;
|
|
457
337
|
private insertPastePlaceholder;
|
|
338
|
+
/**
|
|
339
|
+
* Toggle expansion of a paste placeholder at the current cursor position.
|
|
340
|
+
* When expanded, shows first 3 and last 2 lines of the content.
|
|
341
|
+
*/
|
|
342
|
+
togglePasteExpansion(): boolean;
|
|
343
|
+
private buildExpandedPlaceholder;
|
|
458
344
|
private deletePlaceholder;
|
|
459
|
-
updateContextUsage(value: number | null
|
|
345
|
+
updateContextUsage(value: number | null): void;
|
|
460
346
|
getEditMode(): EditGuardMode;
|
|
461
347
|
applyEditMode(mode: EditGuardMode): void;
|
|
462
348
|
private setEditMode;
|
|
463
349
|
toggleEditMode(): void;
|
|
464
|
-
private scheduleStreamingRender;
|
|
465
|
-
private resetStreamingRenderThrottle;
|
|
466
350
|
private scheduleRender;
|
|
467
351
|
private canRender;
|
|
468
352
|
private isTTY;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminalInput.d.ts","sourceRoot":"","sources":["../../src/shell/terminalInput.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"terminalInput.d.ts","sourceRoot":"","sources":["../../src/shell/terminalInput.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,EACL,KAAK,SAAS,EACd,KAAK,aAAa,EAGnB,MAAM,2BAA2B,CAAC;AAqCnC,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAaD;;GAEG;AACH,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,CA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