erosolar-cli 1.7.354 → 1.7.356
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 -43
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +166 -417
- 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 +125 -250
- package/dist/shell/terminalInput.d.ts.map +1 -1
- package/dist/shell/terminalInput.js +612 -1071
- package/dist/shell/terminalInput.js.map +1 -1
- package/dist/shell/terminalInputAdapter.d.ts +24 -106
- package/dist/shell/terminalInputAdapter.d.ts.map +1 -1
- package/dist/shell/terminalInputAdapter.js +30 -139
- 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 +49 -200
- 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 +274 -148
- 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
|
*/
|
|
@@ -30,9 +21,6 @@ export interface TerminalInputEvents {
|
|
|
30
21
|
queue: (text: string) => void;
|
|
31
22
|
toggleVerify?: () => void;
|
|
32
23
|
toggleAutoContinue?: () => void;
|
|
33
|
-
toggleThinking?: () => void;
|
|
34
|
-
toggleEditMode?: () => void;
|
|
35
|
-
clearContext?: () => void;
|
|
36
24
|
}
|
|
37
25
|
/**
|
|
38
26
|
* Queued command during streaming
|
|
@@ -74,39 +62,32 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
74
62
|
private statusMessage;
|
|
75
63
|
private overrideStatusMessage;
|
|
76
64
|
private streamingLabel;
|
|
77
|
-
private metaElapsedSeconds;
|
|
78
|
-
private metaTokensUsed;
|
|
79
|
-
private metaTokenLimit;
|
|
80
|
-
private metaThinkingMs;
|
|
81
|
-
private metaThinkingHasContent;
|
|
82
65
|
private lastRenderContent;
|
|
83
66
|
private lastRenderCursor;
|
|
84
67
|
private renderDirty;
|
|
85
68
|
private isRendering;
|
|
69
|
+
private flowModeRenderedLines;
|
|
70
|
+
private inputAreaStartRow;
|
|
71
|
+
private contentEndRow;
|
|
72
|
+
private commandSuggestions;
|
|
73
|
+
private filteredSuggestions;
|
|
74
|
+
private selectedSuggestionIndex;
|
|
75
|
+
private showSuggestions;
|
|
86
76
|
private disposed;
|
|
87
77
|
private enabled;
|
|
88
78
|
private contextUsage;
|
|
89
|
-
private contextAutoCompactThreshold;
|
|
90
|
-
private contentRow;
|
|
91
|
-
private scrollRegionActive;
|
|
92
|
-
private thinkingModeLabel;
|
|
93
|
-
private scrollbackBuffer;
|
|
94
|
-
private readonly maxScrollbackLines;
|
|
95
|
-
private scrollbackOffset;
|
|
96
|
-
private isInScrollbackMode;
|
|
97
|
-
private scrollIndicatorFrame;
|
|
98
|
-
private alternateScreenActive;
|
|
99
79
|
private editMode;
|
|
100
80
|
private verificationEnabled;
|
|
101
81
|
private autoContinueEnabled;
|
|
102
82
|
private verificationHotkey;
|
|
103
83
|
private autoContinueHotkey;
|
|
104
|
-
private
|
|
105
|
-
private
|
|
106
|
-
private
|
|
107
|
-
private
|
|
108
|
-
private streamingRenderInterval;
|
|
84
|
+
private outputInterceptorCleanup?;
|
|
85
|
+
private streamingStartTime;
|
|
86
|
+
private thinkingEnabled;
|
|
87
|
+
private modelInfo;
|
|
109
88
|
private streamingRenderTimer;
|
|
89
|
+
private displayRef;
|
|
90
|
+
private unifiedUIInitialized;
|
|
110
91
|
constructor(writeStream?: NodeJS.WriteStream, config?: TerminalInputConfig);
|
|
111
92
|
/**
|
|
112
93
|
* Enable bracketed paste mode in terminal
|
|
@@ -117,40 +98,94 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
117
98
|
*/
|
|
118
99
|
disableBracketedPaste(): void;
|
|
119
100
|
/**
|
|
120
|
-
*
|
|
121
|
-
|
|
122
|
-
enableMouseTracking(): void;
|
|
123
|
-
/**
|
|
124
|
-
* Disable mouse tracking
|
|
125
|
-
*/
|
|
126
|
-
disableMouseTracking(): void;
|
|
127
|
-
/**
|
|
128
|
-
* Process raw terminal data (handles bracketed paste sequences, mouse events, and escape sequences)
|
|
129
|
-
* Returns true if the data was consumed (paste sequence, mouse event, etc.)
|
|
101
|
+
* Process raw terminal data (handles bracketed paste sequences)
|
|
102
|
+
* Returns true if the data was consumed (paste sequence)
|
|
130
103
|
*/
|
|
131
104
|
processRawData(data: string): {
|
|
132
105
|
consumed: boolean;
|
|
133
106
|
passthrough: string;
|
|
134
107
|
};
|
|
135
|
-
/**
|
|
136
|
-
* Handle mouse events (button, x, y coordinates, action)
|
|
137
|
-
*/
|
|
138
|
-
private handleMouseEvent;
|
|
139
108
|
/**
|
|
140
109
|
* Handle a keypress event
|
|
141
110
|
*/
|
|
142
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;
|
|
143
142
|
/**
|
|
144
143
|
* Set the input mode
|
|
145
144
|
*
|
|
146
|
-
*
|
|
145
|
+
* BOTTOM PINNED with SSE: Chat box stays at terminal bottom.
|
|
146
|
+
* Scroll region protects chat box, content scrolls above it.
|
|
147
147
|
*/
|
|
148
148
|
setMode(mode: InputMode): void;
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
151
|
-
*
|
|
150
|
+
* Set the row where content ends (for idle mode positioning).
|
|
151
|
+
* Input area will render starting from this row + 1.
|
|
152
|
+
*/
|
|
153
|
+
setContentEndRow(row: number): void;
|
|
154
|
+
/**
|
|
155
|
+
* Set available slash commands for auto-complete suggestions.
|
|
156
|
+
*/
|
|
157
|
+
setCommands(commands: Array<{
|
|
158
|
+
command: string;
|
|
159
|
+
description: string;
|
|
160
|
+
}>): void;
|
|
161
|
+
/**
|
|
162
|
+
* Update filtered suggestions based on current input.
|
|
163
|
+
*/
|
|
164
|
+
private updateSuggestions;
|
|
165
|
+
/**
|
|
166
|
+
* Select next suggestion (arrow down / tab).
|
|
167
|
+
*/
|
|
168
|
+
selectNextSuggestion(): void;
|
|
169
|
+
/**
|
|
170
|
+
* Select previous suggestion (arrow up / shift+tab).
|
|
171
|
+
*/
|
|
172
|
+
selectPrevSuggestion(): void;
|
|
173
|
+
/**
|
|
174
|
+
* Accept current suggestion and insert into buffer.
|
|
152
175
|
*/
|
|
153
|
-
|
|
176
|
+
acceptSuggestion(): boolean;
|
|
177
|
+
/**
|
|
178
|
+
* Check if suggestions are visible.
|
|
179
|
+
*/
|
|
180
|
+
areSuggestionsVisible(): boolean;
|
|
181
|
+
/**
|
|
182
|
+
* Toggle thinking/reasoning mode
|
|
183
|
+
*/
|
|
184
|
+
toggleThinking(): void;
|
|
185
|
+
/**
|
|
186
|
+
* Get thinking enabled state
|
|
187
|
+
*/
|
|
188
|
+
isThinkingEnabled(): boolean;
|
|
154
189
|
/**
|
|
155
190
|
* Get current mode
|
|
156
191
|
*/
|
|
@@ -169,8 +204,9 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
169
204
|
setBuffer(text: string, cursorPos?: number): void;
|
|
170
205
|
/**
|
|
171
206
|
* Clear the buffer
|
|
207
|
+
* @param skipRender - If true, don't trigger a re-render (used during submit flow)
|
|
172
208
|
*/
|
|
173
|
-
clear(): void;
|
|
209
|
+
clear(skipRender?: boolean): void;
|
|
174
210
|
/**
|
|
175
211
|
* Get queued inputs
|
|
176
212
|
*/
|
|
@@ -197,16 +233,6 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
197
233
|
* Can be shown alongside override status messages.
|
|
198
234
|
*/
|
|
199
235
|
setStreamingLabel(label: string | null): void;
|
|
200
|
-
/**
|
|
201
|
-
* Surface meta status just above the divider (e.g., elapsed time or token usage).
|
|
202
|
-
*/
|
|
203
|
-
setMetaStatus(meta: {
|
|
204
|
-
elapsedSeconds?: number | null;
|
|
205
|
-
tokensUsed?: number | null;
|
|
206
|
-
tokenLimit?: number | null;
|
|
207
|
-
thinkingMs?: number | null;
|
|
208
|
-
thinkingHasContent?: boolean;
|
|
209
|
-
}): void;
|
|
210
236
|
/**
|
|
211
237
|
* Keep mode toggles (verification/auto-continue) visible in the control bar.
|
|
212
238
|
* Hotkey labels remain stable so the bar looks the same before/during streaming.
|
|
@@ -216,58 +242,45 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
216
242
|
autoContinueEnabled: boolean;
|
|
217
243
|
verificationHotkey?: string;
|
|
218
244
|
autoContinueHotkey?: string;
|
|
219
|
-
thinkingModeLabel?: string | null;
|
|
220
|
-
thinkingHotkey?: string;
|
|
221
245
|
}): void;
|
|
222
246
|
/**
|
|
223
|
-
*
|
|
247
|
+
* Set the model info string (e.g., "OpenAI · gpt-4")
|
|
248
|
+
* This is displayed persistently above the input area.
|
|
224
249
|
*/
|
|
225
|
-
|
|
250
|
+
setModelInfo(info: string | null): void;
|
|
226
251
|
/**
|
|
227
|
-
*
|
|
252
|
+
* Clear all status messages at once (convenience method).
|
|
228
253
|
*/
|
|
229
|
-
|
|
230
|
-
model?: string | null;
|
|
231
|
-
provider?: string | null;
|
|
232
|
-
}): void;
|
|
254
|
+
clearAllStatus(): void;
|
|
233
255
|
/**
|
|
234
|
-
* Render the
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
* As content is added, contentRow advances, and the chat box moves down.
|
|
238
|
-
* No scroll regions - pure floating behavior.
|
|
256
|
+
* Render the input area.
|
|
257
|
+
* During streaming: renders at terminal bottom (with scroll region)
|
|
258
|
+
* After streaming: renders floating below content
|
|
239
259
|
*/
|
|
240
260
|
render(): void;
|
|
241
261
|
/**
|
|
242
|
-
*
|
|
243
|
-
* Chat box is ALWAYS pinned at the bottom of the terminal.
|
|
244
|
-
* Content scrolls in the region above the chat box.
|
|
262
|
+
* Build the structured input layout according to the UI schema.
|
|
245
263
|
*/
|
|
246
|
-
private
|
|
264
|
+
private buildInputLayout;
|
|
265
|
+
private buildDivider;
|
|
266
|
+
private buildInputLines;
|
|
267
|
+
private buildSuggestions;
|
|
268
|
+
private renderPromptLine;
|
|
269
|
+
private visibleLength;
|
|
270
|
+
private fitToWidth;
|
|
271
|
+
private truncateToWidth;
|
|
247
272
|
/**
|
|
248
|
-
* Build
|
|
249
|
-
*
|
|
273
|
+
* Build status bar showing streaming/ready status and key info.
|
|
274
|
+
* This is the TOP line above the input area - minimal Claude Code style.
|
|
250
275
|
*/
|
|
251
|
-
private
|
|
276
|
+
private buildStatusBar;
|
|
252
277
|
/**
|
|
253
|
-
* Build mode controls line
|
|
254
|
-
*
|
|
278
|
+
* Build mode controls line showing toggles and context info.
|
|
279
|
+
* This is the BOTTOM line below the input area - Claude Code style layout with erosolar features.
|
|
280
|
+
*
|
|
281
|
+
* Layout: [toggles on left] ... [context info on right]
|
|
255
282
|
*/
|
|
256
283
|
private buildModeControls;
|
|
257
|
-
private formatHotkey;
|
|
258
|
-
private computeContextRemaining;
|
|
259
|
-
private computeTokensRemaining;
|
|
260
|
-
private formatElapsedLabel;
|
|
261
|
-
private formatTokenCount;
|
|
262
|
-
private visibleLength;
|
|
263
|
-
/**
|
|
264
|
-
* Debug-only snapshot used by tests to assert rendered strings without
|
|
265
|
-
* needing a TTY. Not used by production code.
|
|
266
|
-
*/
|
|
267
|
-
getDebugUiSnapshot(width?: number): {
|
|
268
|
-
meta: string[];
|
|
269
|
-
controls: string;
|
|
270
|
-
};
|
|
271
284
|
/**
|
|
272
285
|
* Force a re-render
|
|
273
286
|
*/
|
|
@@ -280,108 +293,24 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
280
293
|
* Handle terminal resize
|
|
281
294
|
*/
|
|
282
295
|
handleResize(): void;
|
|
296
|
+
private contentCursorRow;
|
|
283
297
|
/**
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*/
|
|
287
|
-
enterStreamingScrollRegion(): void;
|
|
288
|
-
/**
|
|
289
|
-
* Exit streaming mode and restore normal operation.
|
|
290
|
-
*/
|
|
291
|
-
exitStreamingScrollRegion(): void;
|
|
292
|
-
/**
|
|
293
|
-
* Render chat box at bottom - now uses unified renderer.
|
|
294
|
-
* @deprecated Use renderPinnedChatBox() directly via render()/forceRender()
|
|
295
|
-
*/
|
|
296
|
-
private renderChatBoxAtBottom;
|
|
297
|
-
/**
|
|
298
|
-
* Stream content within the scroll region.
|
|
299
|
-
* Content is written directly and scrolls naturally.
|
|
300
|
-
*/
|
|
301
|
-
streamContent(content: string): void;
|
|
302
|
-
/**
|
|
303
|
-
* Enable scroll region (no-op in floating mode).
|
|
298
|
+
* Register with display's output interceptor.
|
|
299
|
+
* Clears chat box before writes, re-renders after with updated position.
|
|
304
300
|
*/
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Disable scroll region (no-op in floating mode).
|
|
308
|
-
*/
|
|
309
|
-
disableScrollRegion(): void;
|
|
310
|
-
/**
|
|
311
|
-
* Calculate chat box height.
|
|
312
|
-
*/
|
|
313
|
-
private getChatBoxHeight;
|
|
314
|
-
/**
|
|
315
|
-
* @deprecated Use streamContent() instead
|
|
316
|
-
* Register with display's output interceptor - kept for backwards compatibility
|
|
317
|
-
*/
|
|
318
|
-
registerOutputInterceptor(_display: {
|
|
301
|
+
registerOutputInterceptor(display: {
|
|
319
302
|
registerOutputInterceptor: (i: {
|
|
320
303
|
beforeWrite?: () => void;
|
|
321
304
|
afterWrite?: () => void;
|
|
322
305
|
}) => () => void;
|
|
306
|
+
getTotalWrittenLines?: () => number;
|
|
323
307
|
}): void;
|
|
324
|
-
/**
|
|
325
|
-
* Write content above the floating chat box.
|
|
326
|
-
* Works both during streaming and when idle.
|
|
327
|
-
*/
|
|
328
|
-
writeToScrollRegion(content: string): void;
|
|
329
|
-
/**
|
|
330
|
-
* Enter alternate screen buffer and clear it.
|
|
331
|
-
* This gives us full control over the terminal without affecting user's history.
|
|
332
|
-
*/
|
|
333
|
-
enterAlternateScreen(): void;
|
|
334
|
-
/**
|
|
335
|
-
* Exit alternate screen buffer.
|
|
336
|
-
* Restores the user's previous terminal content.
|
|
337
|
-
*/
|
|
338
|
-
exitAlternateScreen(): void;
|
|
339
|
-
/**
|
|
340
|
-
* Check if alternate screen buffer is currently active.
|
|
341
|
-
*/
|
|
342
|
-
isAlternateScreenActive(): boolean;
|
|
343
|
-
/**
|
|
344
|
-
* Get a snapshot of the scrollback buffer (for display on exit).
|
|
345
|
-
*/
|
|
346
|
-
getScrollbackSnapshot(): string[];
|
|
347
|
-
/**
|
|
348
|
-
* Clear the entire terminal screen and reset content position.
|
|
349
|
-
* This removes all content including the launching command.
|
|
350
|
-
*/
|
|
351
|
-
clearScreen(): void;
|
|
352
|
-
/**
|
|
353
|
-
* Reset content position to row 1.
|
|
354
|
-
* Does NOT clear the terminal - content starts from current position.
|
|
355
|
-
*/
|
|
356
|
-
resetContentPosition(): void;
|
|
357
|
-
/**
|
|
358
|
-
* Set the content row explicitly (used after banner is written).
|
|
359
|
-
* This tells the input where content should start flowing from.
|
|
360
|
-
*/
|
|
361
|
-
setContentRow(row: number): void;
|
|
362
|
-
/**
|
|
363
|
-
* Get the current content row position.
|
|
364
|
-
*/
|
|
365
|
-
getContentRow(): number;
|
|
366
308
|
/**
|
|
367
309
|
* Dispose and clean up
|
|
368
310
|
*/
|
|
369
311
|
dispose(): void;
|
|
370
312
|
private handleCtrlKey;
|
|
371
|
-
/**
|
|
372
|
-
* Handle Alt/Meta key combinations for mode toggles and navigation.
|
|
373
|
-
* All major erosolar-cli features accessible via keyboard shortcuts.
|
|
374
|
-
*/
|
|
375
313
|
private handleMetaKey;
|
|
376
|
-
/**
|
|
377
|
-
* Get page size for scrollback navigation.
|
|
378
|
-
*/
|
|
379
|
-
private getPageSize;
|
|
380
|
-
/**
|
|
381
|
-
* Build scroll indicator for the divider line (Claude Code style).
|
|
382
|
-
* Shows scroll position when in scrollback mode, or history size hint when idle.
|
|
383
|
-
*/
|
|
384
|
-
private buildScrollIndicator;
|
|
385
314
|
private handleSpecialKey;
|
|
386
315
|
private insertText;
|
|
387
316
|
private insertNewline;
|
|
@@ -404,80 +333,26 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
404
333
|
private submit;
|
|
405
334
|
private finishPaste;
|
|
406
335
|
private wrapBuffer;
|
|
407
|
-
/**
|
|
408
|
-
* Add content to the scrollback buffer for history retention
|
|
409
|
-
*/
|
|
410
|
-
private addToScrollback;
|
|
411
|
-
/**
|
|
412
|
-
* Scroll up by a number of lines (PageUp)
|
|
413
|
-
*/
|
|
414
|
-
private scrollUp;
|
|
415
|
-
/**
|
|
416
|
-
* Scroll down by a number of lines (PageDown)
|
|
417
|
-
*/
|
|
418
|
-
private scrollDown;
|
|
419
|
-
/**
|
|
420
|
-
* Jump to the top of scrollback buffer
|
|
421
|
-
*/
|
|
422
|
-
private scrollToTop;
|
|
423
|
-
/**
|
|
424
|
-
* Jump to the bottom (live mode)
|
|
425
|
-
*/
|
|
426
|
-
private scrollToBottom;
|
|
427
|
-
/**
|
|
428
|
-
* Toggle scrollback mode on/off (Alt+S hotkey)
|
|
429
|
-
*/
|
|
430
|
-
private toggleScrollbackMode;
|
|
431
|
-
/**
|
|
432
|
-
* Render the scrollback buffer view with enhanced visuals
|
|
433
|
-
* Features:
|
|
434
|
-
* - Visual scroll position indicator
|
|
435
|
-
* - Progress bar showing position in history
|
|
436
|
-
* - Keyboard navigation hints
|
|
437
|
-
* - Animated indicators
|
|
438
|
-
*/
|
|
439
|
-
private renderScrollbackView;
|
|
440
|
-
/**
|
|
441
|
-
* Build scrollback header with navigation hints
|
|
442
|
-
*/
|
|
443
|
-
private buildScrollbackHeader;
|
|
444
|
-
/**
|
|
445
|
-
* Render visual scroll track on the right side
|
|
446
|
-
*/
|
|
447
|
-
private renderScrollTrack;
|
|
448
|
-
/**
|
|
449
|
-
* Build a visual progress bar
|
|
450
|
-
*/
|
|
451
|
-
private buildProgressBar;
|
|
452
|
-
/**
|
|
453
|
-
* Get scrollback buffer content (for persistence)
|
|
454
|
-
*/
|
|
455
|
-
getScrollbackBuffer(): string[];
|
|
456
|
-
/**
|
|
457
|
-
* Load scrollback buffer (for restoration)
|
|
458
|
-
*/
|
|
459
|
-
loadScrollbackBuffer(lines: string[]): void;
|
|
460
|
-
/**
|
|
461
|
-
* Clear scrollback buffer
|
|
462
|
-
*/
|
|
463
|
-
clearScrollbackBuffer(): void;
|
|
464
336
|
private getComposedLength;
|
|
465
337
|
private assembleText;
|
|
466
338
|
private shiftPlaceholders;
|
|
467
339
|
private removeRange;
|
|
468
340
|
private insertPlainText;
|
|
469
|
-
private shouldInlineMultiline;
|
|
470
341
|
private findPlaceholderAt;
|
|
471
342
|
private buildPlaceholder;
|
|
472
343
|
private insertPastePlaceholder;
|
|
344
|
+
/**
|
|
345
|
+
* Toggle expansion of a paste placeholder at the current cursor position.
|
|
346
|
+
* When expanded, shows first 3 and last 2 lines of the content.
|
|
347
|
+
*/
|
|
348
|
+
togglePasteExpansion(): boolean;
|
|
349
|
+
private buildExpandedPlaceholder;
|
|
473
350
|
private deletePlaceholder;
|
|
474
|
-
updateContextUsage(value: number | null
|
|
351
|
+
updateContextUsage(value: number | null): void;
|
|
475
352
|
getEditMode(): EditGuardMode;
|
|
476
353
|
applyEditMode(mode: EditGuardMode): void;
|
|
477
354
|
private setEditMode;
|
|
478
355
|
toggleEditMode(): void;
|
|
479
|
-
private scheduleStreamingRender;
|
|
480
|
-
private resetStreamingRenderThrottle;
|
|
481
356
|
private scheduleRender;
|
|
482
357
|
private canRender;
|
|
483
358
|
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,MAA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