erosolar-cli 1.7.346 → 1.7.348
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 +24 -148
- package/dist/bin/erosolar.js +5 -21
- package/dist/bin/erosolar.js.map +1 -1
- package/dist/capabilities/agentSpawningCapability.d.ts.map +1 -1
- package/dist/capabilities/agentSpawningCapability.js +56 -31
- package/dist/capabilities/agentSpawningCapability.js.map +1 -1
- package/dist/contracts/agent-schemas.json +0 -15
- package/dist/contracts/tools.schema.json +0 -9
- 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/customCommands.d.ts +1 -0
- package/dist/core/customCommands.d.ts.map +1 -1
- package/dist/core/customCommands.js +3 -0
- package/dist/core/customCommands.js.map +1 -1
- package/dist/core/hooks.d.ts +113 -0
- package/dist/core/hooks.d.ts.map +1 -0
- package/dist/core/hooks.js +267 -0
- package/dist/core/hooks.js.map +1 -0
- package/dist/core/metricsTracker.d.ts +122 -0
- package/dist/core/metricsTracker.d.ts.map +1 -0
- package/dist/{alpha-zero → core}/metricsTracker.js +2 -5
- package/dist/core/metricsTracker.js.map +1 -0
- package/dist/core/securityAssessment.d.ts +91 -0
- package/dist/core/securityAssessment.d.ts.map +1 -0
- package/dist/core/securityAssessment.js +580 -0
- package/dist/core/securityAssessment.js.map +1 -0
- package/dist/core/sessionStore.d.ts +2 -0
- package/dist/core/sessionStore.d.ts.map +1 -1
- package/dist/core/sessionStore.js +1 -0
- package/dist/core/sessionStore.js.map +1 -1
- package/dist/core/toolPreconditions.d.ts.map +1 -1
- package/dist/core/toolPreconditions.js +0 -14
- package/dist/core/toolPreconditions.js.map +1 -1
- package/dist/core/toolRuntime.d.ts +22 -1
- package/dist/core/toolRuntime.d.ts.map +1 -1
- package/dist/core/toolRuntime.js +0 -5
- package/dist/core/toolRuntime.js.map +1 -1
- package/dist/core/toolValidation.d.ts.map +1 -1
- package/dist/core/toolValidation.js +14 -3
- package/dist/core/toolValidation.js.map +1 -1
- package/dist/core/validationRunner.d.ts +1 -3
- package/dist/core/validationRunner.d.ts.map +1 -1
- package/dist/core/validationRunner.js.map +1 -1
- package/dist/core/verification.d.ts +137 -0
- package/dist/core/verification.d.ts.map +1 -0
- package/dist/core/verification.js +323 -0
- package/dist/core/verification.js.map +1 -0
- package/dist/headless/headlessApp.d.ts.map +1 -1
- package/dist/headless/headlessApp.js +21 -0
- package/dist/headless/headlessApp.js.map +1 -1
- package/dist/mcp/sseClient.d.ts.map +1 -1
- package/dist/mcp/sseClient.js +9 -18
- package/dist/mcp/sseClient.js.map +1 -1
- package/dist/plugins/tools/build/buildPlugin.d.ts +0 -6
- package/dist/plugins/tools/build/buildPlugin.d.ts.map +1 -1
- package/dist/plugins/tools/build/buildPlugin.js +4 -10
- 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 +0 -2
- package/dist/plugins/tools/nodeDefaults.js.map +1 -1
- 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/shell/interactiveShell.d.ts +43 -7
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +417 -166
- package/dist/shell/interactiveShell.js.map +1 -1
- package/dist/shell/shellApp.d.ts +2 -0
- package/dist/shell/shellApp.d.ts.map +1 -1
- package/dist/shell/shellApp.js +82 -9
- package/dist/shell/shellApp.js.map +1 -1
- package/dist/shell/systemPrompt.d.ts.map +1 -1
- package/dist/shell/systemPrompt.js +1 -4
- package/dist/shell/systemPrompt.js.map +1 -1
- package/dist/shell/terminalInput.d.ts +252 -120
- package/dist/shell/terminalInput.d.ts.map +1 -1
- package/dist/shell/terminalInput.js +1117 -541
- package/dist/shell/terminalInput.js.map +1 -1
- package/dist/shell/terminalInputAdapter.d.ts +106 -24
- package/dist/shell/terminalInputAdapter.d.ts.map +1 -1
- package/dist/shell/terminalInputAdapter.js +142 -30
- package/dist/shell/terminalInputAdapter.js.map +1 -1
- package/dist/subagents/agentConfig.d.ts +27 -0
- package/dist/subagents/agentConfig.d.ts.map +1 -0
- package/dist/subagents/agentConfig.js +89 -0
- package/dist/subagents/agentConfig.js.map +1 -0
- package/dist/subagents/agentRegistry.d.ts +33 -0
- package/dist/subagents/agentRegistry.d.ts.map +1 -0
- package/dist/subagents/agentRegistry.js +162 -0
- package/dist/subagents/agentRegistry.js.map +1 -0
- package/dist/subagents/taskRunner.d.ts +7 -1
- package/dist/subagents/taskRunner.d.ts.map +1 -1
- package/dist/subagents/taskRunner.js +180 -47
- package/dist/subagents/taskRunner.js.map +1 -1
- package/dist/ui/ShellUIAdapter.d.ts +7 -1
- package/dist/ui/ShellUIAdapter.d.ts.map +1 -1
- package/dist/ui/ShellUIAdapter.js +42 -18
- package/dist/ui/ShellUIAdapter.js.map +1 -1
- package/dist/ui/display.d.ts +24 -45
- package/dist/ui/display.d.ts.map +1 -1
- package/dist/ui/display.js +140 -259
- package/dist/ui/display.js.map +1 -1
- package/dist/ui/theme.d.ts.map +1 -1
- package/dist/ui/theme.js +6 -8
- package/dist/ui/theme.js.map +1 -1
- package/dist/ui/toolDisplay.d.ts +0 -158
- package/dist/ui/toolDisplay.d.ts.map +1 -1
- package/dist/ui/toolDisplay.js +0 -348
- package/dist/ui/toolDisplay.js.map +1 -1
- package/dist/ui/unified/layout.d.ts +20 -0
- package/dist/ui/unified/layout.d.ts.map +1 -1
- package/dist/ui/unified/layout.js +105 -216
- package/dist/ui/unified/layout.js.map +1 -1
- package/dist/utils/frontmatter.d.ts +10 -0
- package/dist/utils/frontmatter.d.ts.map +1 -0
- package/dist/utils/frontmatter.js +78 -0
- package/dist/utils/frontmatter.js.map +1 -0
- package/package.json +4 -4
- package/dist/alpha-zero/agentWrapper.d.ts +0 -84
- package/dist/alpha-zero/agentWrapper.d.ts.map +0 -1
- package/dist/alpha-zero/agentWrapper.js +0 -171
- package/dist/alpha-zero/agentWrapper.js.map +0 -1
- package/dist/alpha-zero/codeEvaluator.d.ts +0 -25
- package/dist/alpha-zero/codeEvaluator.d.ts.map +0 -1
- package/dist/alpha-zero/codeEvaluator.js +0 -273
- package/dist/alpha-zero/codeEvaluator.js.map +0 -1
- package/dist/alpha-zero/competitiveRunner.d.ts +0 -66
- package/dist/alpha-zero/competitiveRunner.d.ts.map +0 -1
- package/dist/alpha-zero/competitiveRunner.js +0 -224
- package/dist/alpha-zero/competitiveRunner.js.map +0 -1
- package/dist/alpha-zero/index.d.ts +0 -67
- package/dist/alpha-zero/index.d.ts.map +0 -1
- package/dist/alpha-zero/index.js +0 -99
- package/dist/alpha-zero/index.js.map +0 -1
- package/dist/alpha-zero/introspection.d.ts +0 -128
- package/dist/alpha-zero/introspection.d.ts.map +0 -1
- package/dist/alpha-zero/introspection.js +0 -300
- package/dist/alpha-zero/introspection.js.map +0 -1
- package/dist/alpha-zero/metricsTracker.d.ts +0 -71
- package/dist/alpha-zero/metricsTracker.d.ts.map +0 -1
- package/dist/alpha-zero/metricsTracker.js.map +0 -1
- package/dist/alpha-zero/security/core.d.ts +0 -125
- package/dist/alpha-zero/security/core.d.ts.map +0 -1
- package/dist/alpha-zero/security/core.js +0 -271
- package/dist/alpha-zero/security/core.js.map +0 -1
- package/dist/alpha-zero/security/google.d.ts +0 -125
- package/dist/alpha-zero/security/google.d.ts.map +0 -1
- package/dist/alpha-zero/security/google.js +0 -311
- package/dist/alpha-zero/security/google.js.map +0 -1
- package/dist/alpha-zero/security/googleLoader.d.ts +0 -17
- package/dist/alpha-zero/security/googleLoader.d.ts.map +0 -1
- package/dist/alpha-zero/security/googleLoader.js +0 -41
- package/dist/alpha-zero/security/googleLoader.js.map +0 -1
- package/dist/alpha-zero/security/index.d.ts +0 -29
- package/dist/alpha-zero/security/index.d.ts.map +0 -1
- package/dist/alpha-zero/security/index.js +0 -32
- package/dist/alpha-zero/security/index.js.map +0 -1
- package/dist/alpha-zero/security/simulation.d.ts +0 -124
- package/dist/alpha-zero/security/simulation.d.ts.map +0 -1
- package/dist/alpha-zero/security/simulation.js +0 -277
- package/dist/alpha-zero/security/simulation.js.map +0 -1
- package/dist/alpha-zero/selfModification.d.ts +0 -109
- package/dist/alpha-zero/selfModification.d.ts.map +0 -1
- package/dist/alpha-zero/selfModification.js +0 -233
- package/dist/alpha-zero/selfModification.js.map +0 -1
- package/dist/alpha-zero/types.d.ts +0 -170
- package/dist/alpha-zero/types.d.ts.map +0 -1
- package/dist/alpha-zero/types.js +0 -31
- package/dist/alpha-zero/types.js.map +0 -1
- package/dist/capabilities/securityTestingCapability.d.ts +0 -13
- package/dist/capabilities/securityTestingCapability.d.ts.map +0 -1
- package/dist/capabilities/securityTestingCapability.js +0 -25
- package/dist/capabilities/securityTestingCapability.js.map +0 -1
- package/dist/core/aiFlowOptimizer.d.ts +0 -26
- package/dist/core/aiFlowOptimizer.d.ts.map +0 -1
- package/dist/core/aiFlowOptimizer.js +0 -31
- package/dist/core/aiFlowOptimizer.js.map +0 -1
- package/dist/core/aiOptimizationEngine.d.ts +0 -158
- package/dist/core/aiOptimizationEngine.d.ts.map +0 -1
- package/dist/core/aiOptimizationEngine.js +0 -428
- package/dist/core/aiOptimizationEngine.js.map +0 -1
- package/dist/core/aiOptimizationIntegration.d.ts +0 -93
- package/dist/core/aiOptimizationIntegration.d.ts.map +0 -1
- package/dist/core/aiOptimizationIntegration.js +0 -250
- package/dist/core/aiOptimizationIntegration.js.map +0 -1
- package/dist/core/enhancedErrorRecovery.d.ts +0 -100
- package/dist/core/enhancedErrorRecovery.d.ts.map +0 -1
- package/dist/core/enhancedErrorRecovery.js +0 -345
- package/dist/core/enhancedErrorRecovery.js.map +0 -1
- package/dist/core/hooksSystem.d.ts +0 -65
- package/dist/core/hooksSystem.d.ts.map +0 -1
- package/dist/core/hooksSystem.js +0 -273
- package/dist/core/hooksSystem.js.map +0 -1
- package/dist/core/memorySystem.d.ts +0 -48
- package/dist/core/memorySystem.d.ts.map +0 -1
- package/dist/core/memorySystem.js +0 -271
- package/dist/core/memorySystem.js.map +0 -1
- package/dist/core/unified/errors.d.ts +0 -189
- package/dist/core/unified/errors.d.ts.map +0 -1
- package/dist/core/unified/errors.js +0 -497
- package/dist/core/unified/errors.js.map +0 -1
- package/dist/core/unified/index.d.ts +0 -19
- package/dist/core/unified/index.d.ts.map +0 -1
- package/dist/core/unified/index.js +0 -68
- package/dist/core/unified/index.js.map +0 -1
- package/dist/core/unified/schema.d.ts +0 -101
- package/dist/core/unified/schema.d.ts.map +0 -1
- package/dist/core/unified/schema.js +0 -350
- package/dist/core/unified/schema.js.map +0 -1
- package/dist/core/unified/toolRuntime.d.ts +0 -179
- package/dist/core/unified/toolRuntime.d.ts.map +0 -1
- package/dist/core/unified/toolRuntime.js +0 -517
- package/dist/core/unified/toolRuntime.js.map +0 -1
- package/dist/core/unified/tools.d.ts +0 -127
- package/dist/core/unified/tools.d.ts.map +0 -1
- package/dist/core/unified/tools.js +0 -1333
- package/dist/core/unified/tools.js.map +0 -1
- package/dist/core/unified/types.d.ts +0 -352
- package/dist/core/unified/types.d.ts.map +0 -1
- package/dist/core/unified/types.js +0 -12
- package/dist/core/unified/types.js.map +0 -1
- package/dist/core/unified/version.d.ts +0 -209
- package/dist/core/unified/version.d.ts.map +0 -1
- package/dist/core/unified/version.js +0 -454
- package/dist/core/unified/version.js.map +0 -1
- package/dist/plugins/tools/security/securityPlugin.d.ts +0 -3
- package/dist/plugins/tools/security/securityPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/security/securityPlugin.js +0 -12
- package/dist/plugins/tools/security/securityPlugin.js.map +0 -1
- package/dist/security/active-stack-security.d.ts +0 -112
- package/dist/security/active-stack-security.d.ts.map +0 -1
- package/dist/security/active-stack-security.js +0 -296
- package/dist/security/active-stack-security.js.map +0 -1
- package/dist/security/advanced-persistence-research.d.ts +0 -92
- package/dist/security/advanced-persistence-research.d.ts.map +0 -1
- package/dist/security/advanced-persistence-research.js +0 -195
- package/dist/security/advanced-persistence-research.js.map +0 -1
- package/dist/security/advanced-targeting.d.ts +0 -119
- package/dist/security/advanced-targeting.d.ts.map +0 -1
- package/dist/security/advanced-targeting.js +0 -233
- package/dist/security/advanced-targeting.js.map +0 -1
- package/dist/security/assessment/vulnerabilityAssessment.d.ts +0 -104
- package/dist/security/assessment/vulnerabilityAssessment.d.ts.map +0 -1
- package/dist/security/assessment/vulnerabilityAssessment.js +0 -315
- package/dist/security/assessment/vulnerabilityAssessment.js.map +0 -1
- package/dist/security/authorization/securityAuthorization.d.ts +0 -88
- package/dist/security/authorization/securityAuthorization.d.ts.map +0 -1
- package/dist/security/authorization/securityAuthorization.js +0 -172
- package/dist/security/authorization/securityAuthorization.js.map +0 -1
- package/dist/security/comprehensive-targeting.d.ts +0 -85
- package/dist/security/comprehensive-targeting.d.ts.map +0 -1
- package/dist/security/comprehensive-targeting.js +0 -438
- package/dist/security/comprehensive-targeting.js.map +0 -1
- package/dist/security/global-security-integration.d.ts +0 -91
- package/dist/security/global-security-integration.d.ts.map +0 -1
- package/dist/security/global-security-integration.js +0 -218
- package/dist/security/global-security-integration.js.map +0 -1
- package/dist/security/index.d.ts +0 -38
- package/dist/security/index.d.ts.map +0 -1
- package/dist/security/index.js +0 -47
- package/dist/security/index.js.map +0 -1
- package/dist/security/persistence-analyzer.d.ts +0 -56
- package/dist/security/persistence-analyzer.d.ts.map +0 -1
- package/dist/security/persistence-analyzer.js +0 -187
- package/dist/security/persistence-analyzer.js.map +0 -1
- package/dist/security/persistence-cli.d.ts +0 -36
- package/dist/security/persistence-cli.d.ts.map +0 -1
- package/dist/security/persistence-cli.js +0 -160
- package/dist/security/persistence-cli.js.map +0 -1
- package/dist/security/persistence-research.d.ts +0 -92
- package/dist/security/persistence-research.d.ts.map +0 -1
- package/dist/security/persistence-research.js +0 -364
- package/dist/security/persistence-research.js.map +0 -1
- package/dist/security/research/persistenceResearch.d.ts +0 -97
- package/dist/security/research/persistenceResearch.d.ts.map +0 -1
- package/dist/security/research/persistenceResearch.js +0 -282
- package/dist/security/research/persistenceResearch.js.map +0 -1
- package/dist/security/security-integration.d.ts +0 -74
- package/dist/security/security-integration.d.ts.map +0 -1
- package/dist/security/security-integration.js +0 -137
- package/dist/security/security-integration.js.map +0 -1
- package/dist/security/security-testing-framework.d.ts +0 -112
- package/dist/security/security-testing-framework.d.ts.map +0 -1
- package/dist/security/security-testing-framework.js +0 -364
- package/dist/security/security-testing-framework.js.map +0 -1
- package/dist/security/simulation/attackSimulation.d.ts +0 -93
- package/dist/security/simulation/attackSimulation.d.ts.map +0 -1
- package/dist/security/simulation/attackSimulation.js +0 -341
- package/dist/security/simulation/attackSimulation.js.map +0 -1
- package/dist/security/strategic-operations.d.ts +0 -100
- package/dist/security/strategic-operations.d.ts.map +0 -1
- package/dist/security/strategic-operations.js +0 -276
- package/dist/security/strategic-operations.js.map +0 -1
- package/dist/security/tool-security-wrapper.d.ts +0 -58
- package/dist/security/tool-security-wrapper.d.ts.map +0 -1
- package/dist/security/tool-security-wrapper.js +0 -156
- package/dist/security/tool-security-wrapper.js.map +0 -1
- package/dist/shell/claudeCodeStreamHandler.d.ts +0 -145
- package/dist/shell/claudeCodeStreamHandler.d.ts.map +0 -1
- package/dist/shell/claudeCodeStreamHandler.js +0 -322
- package/dist/shell/claudeCodeStreamHandler.js.map +0 -1
- package/dist/shell/inputQueueManager.d.ts +0 -144
- package/dist/shell/inputQueueManager.d.ts.map +0 -1
- package/dist/shell/inputQueueManager.js +0 -290
- package/dist/shell/inputQueueManager.js.map +0 -1
- package/dist/shell/metricsTracker.d.ts +0 -60
- package/dist/shell/metricsTracker.d.ts.map +0 -1
- package/dist/shell/metricsTracker.js +0 -119
- package/dist/shell/metricsTracker.js.map +0 -1
- package/dist/shell/streamingOutputManager.d.ts +0 -115
- package/dist/shell/streamingOutputManager.d.ts.map +0 -1
- package/dist/shell/streamingOutputManager.js +0 -225
- package/dist/shell/streamingOutputManager.js.map +0 -1
- package/dist/tools/securityTools.d.ts +0 -22
- package/dist/tools/securityTools.d.ts.map +0 -1
- package/dist/tools/securityTools.js +0 -448
- package/dist/tools/securityTools.js.map +0 -1
- package/dist/ui/persistentPrompt.d.ts +0 -50
- package/dist/ui/persistentPrompt.d.ts.map +0 -1
- package/dist/ui/persistentPrompt.js +0 -92
- package/dist/ui/persistentPrompt.js.map +0 -1
- package/dist/ui/terminalUISchema.d.ts +0 -195
- package/dist/ui/terminalUISchema.d.ts.map +0 -1
- package/dist/ui/terminalUISchema.js +0 -113
- package/dist/ui/terminalUISchema.js.map +0 -1
- package/scripts/deploy-security-capabilities.js +0 -178
|
@@ -3,14 +3,23 @@
|
|
|
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
|
|
6
9
|
* - Native bracketed paste support (no heuristics)
|
|
7
10
|
* - Clean cursor model with render-time wrapping
|
|
8
11
|
* - State machine for different input modes
|
|
9
12
|
* - 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
|
|
10
16
|
*/
|
|
11
17
|
import { EventEmitter } from 'node:events';
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Input modes - determines how input is handled
|
|
20
|
+
*/
|
|
21
|
+
export type InputMode = 'idle' | 'streaming' | 'paste';
|
|
22
|
+
export type EditGuardMode = 'display-edits' | 'ask-permission';
|
|
14
23
|
/**
|
|
15
24
|
* Events emitted by TerminalInput
|
|
16
25
|
*/
|
|
@@ -21,6 +30,9 @@ export interface TerminalInputEvents {
|
|
|
21
30
|
queue: (text: string) => void;
|
|
22
31
|
toggleVerify?: () => void;
|
|
23
32
|
toggleAutoContinue?: () => void;
|
|
33
|
+
toggleThinking?: () => void;
|
|
34
|
+
toggleEditMode?: () => void;
|
|
35
|
+
clearContext?: () => void;
|
|
24
36
|
}
|
|
25
37
|
/**
|
|
26
38
|
* Queued command during streaming
|
|
@@ -62,32 +74,39 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
62
74
|
private statusMessage;
|
|
63
75
|
private overrideStatusMessage;
|
|
64
76
|
private streamingLabel;
|
|
77
|
+
private metaElapsedSeconds;
|
|
78
|
+
private metaTokensUsed;
|
|
79
|
+
private metaTokenLimit;
|
|
80
|
+
private metaThinkingMs;
|
|
81
|
+
private metaThinkingHasContent;
|
|
65
82
|
private lastRenderContent;
|
|
66
83
|
private lastRenderCursor;
|
|
67
84
|
private renderDirty;
|
|
68
85
|
private isRendering;
|
|
69
|
-
private flowModeRenderedLines;
|
|
70
|
-
private inputAreaStartRow;
|
|
71
|
-
private contentEndRow;
|
|
72
|
-
private commandSuggestions;
|
|
73
|
-
private filteredSuggestions;
|
|
74
|
-
private selectedSuggestionIndex;
|
|
75
|
-
private showSuggestions;
|
|
76
86
|
private disposed;
|
|
77
87
|
private enabled;
|
|
78
88
|
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;
|
|
79
99
|
private editMode;
|
|
80
100
|
private verificationEnabled;
|
|
81
101
|
private autoContinueEnabled;
|
|
82
102
|
private verificationHotkey;
|
|
83
103
|
private autoContinueHotkey;
|
|
84
|
-
private
|
|
85
|
-
private
|
|
86
|
-
private
|
|
87
|
-
private
|
|
104
|
+
private thinkingHotkey;
|
|
105
|
+
private modelLabel;
|
|
106
|
+
private providerLabel;
|
|
107
|
+
private lastStreamingRender;
|
|
108
|
+
private streamingRenderInterval;
|
|
88
109
|
private streamingRenderTimer;
|
|
89
|
-
private displayRef;
|
|
90
|
-
private unifiedUIInitialized;
|
|
91
110
|
constructor(writeStream?: NodeJS.WriteStream, config?: TerminalInputConfig);
|
|
92
111
|
/**
|
|
93
112
|
* Enable bracketed paste mode in terminal
|
|
@@ -98,7 +117,15 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
98
117
|
*/
|
|
99
118
|
disableBracketedPaste(): void;
|
|
100
119
|
/**
|
|
101
|
-
*
|
|
120
|
+
* Enable mouse tracking in terminal
|
|
121
|
+
*/
|
|
122
|
+
enableMouseTracking(): void;
|
|
123
|
+
/**
|
|
124
|
+
* Disable mouse tracking
|
|
125
|
+
*/
|
|
126
|
+
disableMouseTracking(): void;
|
|
127
|
+
/**
|
|
128
|
+
* Process raw terminal data (handles bracketed paste sequences and mouse events)
|
|
102
129
|
* Returns true if the data was consumed (paste sequence)
|
|
103
130
|
*/
|
|
104
131
|
processRawData(data: string): {
|
|
@@ -106,91 +133,24 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
106
133
|
passthrough: string;
|
|
107
134
|
};
|
|
108
135
|
/**
|
|
109
|
-
* Handle
|
|
110
|
-
*/
|
|
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.
|
|
136
|
+
* Handle mouse events (button, x, y coordinates, action)
|
|
130
137
|
*/
|
|
131
|
-
private
|
|
138
|
+
private handleMouseEvent;
|
|
132
139
|
/**
|
|
133
|
-
*
|
|
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)
|
|
140
|
+
* Handle a keypress event
|
|
145
141
|
*/
|
|
146
|
-
|
|
142
|
+
handleKeypress(str: string | undefined, key: KeyInfo): void;
|
|
147
143
|
/**
|
|
148
144
|
* Set the input mode
|
|
149
145
|
*
|
|
150
|
-
*
|
|
151
|
-
* Scroll region protects chat box, content scrolls above it.
|
|
146
|
+
* Content flows naturally - no scroll region pinning.
|
|
152
147
|
*/
|
|
153
148
|
setMode(mode: InputMode): void;
|
|
154
149
|
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*/
|
|
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).
|
|
150
|
+
* Legacy method - no longer used (content flows naturally).
|
|
151
|
+
* @deprecated Use setContentRow instead
|
|
176
152
|
*/
|
|
177
|
-
|
|
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;
|
|
153
|
+
setPinnedHeaderLines(_count: number): void;
|
|
194
154
|
/**
|
|
195
155
|
* Get current mode
|
|
196
156
|
*/
|
|
@@ -209,9 +169,8 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
209
169
|
setBuffer(text: string, cursorPos?: number): void;
|
|
210
170
|
/**
|
|
211
171
|
* Clear the buffer
|
|
212
|
-
* @param skipRender - If true, don't trigger a re-render (used during submit flow)
|
|
213
172
|
*/
|
|
214
|
-
clear(
|
|
173
|
+
clear(): void;
|
|
215
174
|
/**
|
|
216
175
|
* Get queued inputs
|
|
217
176
|
*/
|
|
@@ -238,6 +197,16 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
238
197
|
* Can be shown alongside override status messages.
|
|
239
198
|
*/
|
|
240
199
|
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;
|
|
241
210
|
/**
|
|
242
211
|
* Keep mode toggles (verification/auto-continue) visible in the control bar.
|
|
243
212
|
* Hotkey labels remain stable so the bar looks the same before/during streaming.
|
|
@@ -247,34 +216,59 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
247
216
|
autoContinueEnabled: boolean;
|
|
248
217
|
verificationHotkey?: string;
|
|
249
218
|
autoContinueHotkey?: string;
|
|
219
|
+
thinkingModeLabel?: string | null;
|
|
220
|
+
thinkingHotkey?: string;
|
|
250
221
|
}): void;
|
|
251
|
-
/**
|
|
252
|
-
* Set the model info string (e.g., "OpenAI · gpt-4")
|
|
253
|
-
* This is displayed persistently above the input area.
|
|
254
|
-
*/
|
|
255
|
-
setModelInfo(info: string | null): void;
|
|
256
222
|
/**
|
|
257
223
|
* Clear all status messages at once (convenience method).
|
|
258
224
|
*/
|
|
259
225
|
clearAllStatus(): void;
|
|
260
226
|
/**
|
|
261
|
-
*
|
|
262
|
-
|
|
263
|
-
|
|
227
|
+
* Surface model/provider context in the controls bar.
|
|
228
|
+
*/
|
|
229
|
+
setModelContext(options: {
|
|
230
|
+
model?: string | null;
|
|
231
|
+
provider?: string | null;
|
|
232
|
+
}): void;
|
|
233
|
+
/**
|
|
234
|
+
* Render the floating input area at contentRow.
|
|
235
|
+
*
|
|
236
|
+
* The chat box "floats" - it renders right below the last streamed content.
|
|
237
|
+
* As content is added, contentRow advances, and the chat box moves down.
|
|
238
|
+
* No scroll regions - pure floating behavior.
|
|
264
239
|
*/
|
|
265
240
|
render(): void;
|
|
266
241
|
/**
|
|
267
|
-
*
|
|
268
|
-
*
|
|
242
|
+
* Unified scroll region renderer.
|
|
243
|
+
* Chat box is ALWAYS pinned at the bottom of the terminal.
|
|
244
|
+
* Content scrolls in the region above the chat box.
|
|
269
245
|
*/
|
|
270
|
-
private
|
|
246
|
+
private renderPinnedChatBox;
|
|
271
247
|
/**
|
|
272
|
-
* Build
|
|
273
|
-
*
|
|
274
|
-
|
|
275
|
-
|
|
248
|
+
* Build compact meta line above the divider.
|
|
249
|
+
* Shows model/provider and key metrics in a single line.
|
|
250
|
+
*/
|
|
251
|
+
private buildMetaLines;
|
|
252
|
+
/**
|
|
253
|
+
* Build mode controls line with all keyboard shortcuts.
|
|
254
|
+
* Shows status, all toggles, and contextual information.
|
|
255
|
+
* Enhanced with comprehensive feature status display.
|
|
276
256
|
*/
|
|
277
257
|
private buildModeControls;
|
|
258
|
+
private formatHotkey;
|
|
259
|
+
private computeContextRemaining;
|
|
260
|
+
private computeTokensRemaining;
|
|
261
|
+
private formatElapsedLabel;
|
|
262
|
+
private formatTokenCount;
|
|
263
|
+
private visibleLength;
|
|
264
|
+
/**
|
|
265
|
+
* Debug-only snapshot used by tests to assert rendered strings without
|
|
266
|
+
* needing a TTY. Not used by production code.
|
|
267
|
+
*/
|
|
268
|
+
getDebugUiSnapshot(width?: number): {
|
|
269
|
+
meta: string[];
|
|
270
|
+
controls: string;
|
|
271
|
+
};
|
|
278
272
|
/**
|
|
279
273
|
* Force a re-render
|
|
280
274
|
*/
|
|
@@ -287,24 +281,108 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
287
281
|
* Handle terminal resize
|
|
288
282
|
*/
|
|
289
283
|
handleResize(): void;
|
|
290
|
-
private contentCursorRow;
|
|
291
284
|
/**
|
|
292
|
-
*
|
|
293
|
-
*
|
|
285
|
+
* Enter streaming mode with scroll region.
|
|
286
|
+
* Sets up terminal scroll region to exclude chat box.
|
|
287
|
+
*/
|
|
288
|
+
enterStreamingScrollRegion(): void;
|
|
289
|
+
/**
|
|
290
|
+
* Exit streaming mode and restore normal operation.
|
|
291
|
+
*/
|
|
292
|
+
exitStreamingScrollRegion(): void;
|
|
293
|
+
/**
|
|
294
|
+
* Render chat box at bottom - now uses unified renderer.
|
|
295
|
+
* @deprecated Use renderPinnedChatBox() directly via render()/forceRender()
|
|
296
|
+
*/
|
|
297
|
+
private renderChatBoxAtBottom;
|
|
298
|
+
/**
|
|
299
|
+
* Stream content within the scroll region.
|
|
300
|
+
* Content is written directly and scrolls naturally.
|
|
301
|
+
*/
|
|
302
|
+
streamContent(content: string): void;
|
|
303
|
+
/**
|
|
304
|
+
* Enable scroll region (no-op in floating mode).
|
|
294
305
|
*/
|
|
295
|
-
|
|
306
|
+
enableScrollRegion(): void;
|
|
307
|
+
/**
|
|
308
|
+
* Disable scroll region (no-op in floating mode).
|
|
309
|
+
*/
|
|
310
|
+
disableScrollRegion(): void;
|
|
311
|
+
/**
|
|
312
|
+
* Calculate chat box height.
|
|
313
|
+
*/
|
|
314
|
+
private getChatBoxHeight;
|
|
315
|
+
/**
|
|
316
|
+
* @deprecated Use streamContent() instead
|
|
317
|
+
* Register with display's output interceptor - kept for backwards compatibility
|
|
318
|
+
*/
|
|
319
|
+
registerOutputInterceptor(_display: {
|
|
296
320
|
registerOutputInterceptor: (i: {
|
|
297
321
|
beforeWrite?: () => void;
|
|
298
322
|
afterWrite?: () => void;
|
|
299
323
|
}) => () => void;
|
|
300
|
-
getTotalWrittenLines?: () => number;
|
|
301
324
|
}): void;
|
|
325
|
+
/**
|
|
326
|
+
* Write content above the floating chat box.
|
|
327
|
+
* Works both during streaming and when idle.
|
|
328
|
+
*/
|
|
329
|
+
writeToScrollRegion(content: string): void;
|
|
330
|
+
/**
|
|
331
|
+
* Enter alternate screen buffer and clear it.
|
|
332
|
+
* This gives us full control over the terminal without affecting user's history.
|
|
333
|
+
*/
|
|
334
|
+
enterAlternateScreen(): void;
|
|
335
|
+
/**
|
|
336
|
+
* Exit alternate screen buffer.
|
|
337
|
+
* Restores the user's previous terminal content.
|
|
338
|
+
*/
|
|
339
|
+
exitAlternateScreen(): void;
|
|
340
|
+
/**
|
|
341
|
+
* Check if alternate screen buffer is currently active.
|
|
342
|
+
*/
|
|
343
|
+
isAlternateScreenActive(): boolean;
|
|
344
|
+
/**
|
|
345
|
+
* Get a snapshot of the scrollback buffer (for display on exit).
|
|
346
|
+
*/
|
|
347
|
+
getScrollbackSnapshot(): string[];
|
|
348
|
+
/**
|
|
349
|
+
* Clear the entire terminal screen and reset content position.
|
|
350
|
+
* This removes all content including the launching command.
|
|
351
|
+
*/
|
|
352
|
+
clearScreen(): void;
|
|
353
|
+
/**
|
|
354
|
+
* Reset content position to row 1.
|
|
355
|
+
* Does NOT clear the terminal - content starts from current position.
|
|
356
|
+
*/
|
|
357
|
+
resetContentPosition(): void;
|
|
358
|
+
/**
|
|
359
|
+
* Set the content row explicitly (used after banner is written).
|
|
360
|
+
* This tells the input where content should start flowing from.
|
|
361
|
+
*/
|
|
362
|
+
setContentRow(row: number): void;
|
|
363
|
+
/**
|
|
364
|
+
* Get the current content row position.
|
|
365
|
+
*/
|
|
366
|
+
getContentRow(): number;
|
|
302
367
|
/**
|
|
303
368
|
* Dispose and clean up
|
|
304
369
|
*/
|
|
305
370
|
dispose(): void;
|
|
306
371
|
private handleCtrlKey;
|
|
372
|
+
/**
|
|
373
|
+
* Handle Alt/Meta key combinations for mode toggles and navigation.
|
|
374
|
+
* All major erosolar-cli features accessible via keyboard shortcuts.
|
|
375
|
+
*/
|
|
307
376
|
private handleMetaKey;
|
|
377
|
+
/**
|
|
378
|
+
* Get page size for scrollback navigation.
|
|
379
|
+
*/
|
|
380
|
+
private getPageSize;
|
|
381
|
+
/**
|
|
382
|
+
* Build scroll indicator for the divider line (Claude Code style).
|
|
383
|
+
* Shows scroll position when in scrollback mode, or history size hint when idle.
|
|
384
|
+
*/
|
|
385
|
+
private buildScrollIndicator;
|
|
308
386
|
private handleSpecialKey;
|
|
309
387
|
private insertText;
|
|
310
388
|
private insertNewline;
|
|
@@ -327,26 +405,80 @@ export declare class TerminalInput extends EventEmitter {
|
|
|
327
405
|
private submit;
|
|
328
406
|
private finishPaste;
|
|
329
407
|
private wrapBuffer;
|
|
408
|
+
/**
|
|
409
|
+
* Add content to the scrollback buffer for history retention
|
|
410
|
+
*/
|
|
411
|
+
private addToScrollback;
|
|
412
|
+
/**
|
|
413
|
+
* Scroll up by a number of lines (PageUp)
|
|
414
|
+
*/
|
|
415
|
+
private scrollUp;
|
|
416
|
+
/**
|
|
417
|
+
* Scroll down by a number of lines (PageDown)
|
|
418
|
+
*/
|
|
419
|
+
private scrollDown;
|
|
420
|
+
/**
|
|
421
|
+
* Jump to the top of scrollback buffer
|
|
422
|
+
*/
|
|
423
|
+
private scrollToTop;
|
|
424
|
+
/**
|
|
425
|
+
* Jump to the bottom (live mode)
|
|
426
|
+
*/
|
|
427
|
+
private scrollToBottom;
|
|
428
|
+
/**
|
|
429
|
+
* Toggle scrollback mode on/off (Alt+S hotkey)
|
|
430
|
+
*/
|
|
431
|
+
private toggleScrollbackMode;
|
|
432
|
+
/**
|
|
433
|
+
* Render the scrollback buffer view with enhanced visuals
|
|
434
|
+
* Features:
|
|
435
|
+
* - Visual scroll position indicator
|
|
436
|
+
* - Progress bar showing position in history
|
|
437
|
+
* - Keyboard navigation hints
|
|
438
|
+
* - Animated indicators
|
|
439
|
+
*/
|
|
440
|
+
private renderScrollbackView;
|
|
441
|
+
/**
|
|
442
|
+
* Build scrollback header with navigation hints
|
|
443
|
+
*/
|
|
444
|
+
private buildScrollbackHeader;
|
|
445
|
+
/**
|
|
446
|
+
* Render visual scroll track on the right side
|
|
447
|
+
*/
|
|
448
|
+
private renderScrollTrack;
|
|
449
|
+
/**
|
|
450
|
+
* Build a visual progress bar
|
|
451
|
+
*/
|
|
452
|
+
private buildProgressBar;
|
|
453
|
+
/**
|
|
454
|
+
* Get scrollback buffer content (for persistence)
|
|
455
|
+
*/
|
|
456
|
+
getScrollbackBuffer(): string[];
|
|
457
|
+
/**
|
|
458
|
+
* Load scrollback buffer (for restoration)
|
|
459
|
+
*/
|
|
460
|
+
loadScrollbackBuffer(lines: string[]): void;
|
|
461
|
+
/**
|
|
462
|
+
* Clear scrollback buffer
|
|
463
|
+
*/
|
|
464
|
+
clearScrollbackBuffer(): void;
|
|
330
465
|
private getComposedLength;
|
|
331
466
|
private assembleText;
|
|
332
467
|
private shiftPlaceholders;
|
|
333
468
|
private removeRange;
|
|
334
469
|
private insertPlainText;
|
|
470
|
+
private shouldInlineMultiline;
|
|
335
471
|
private findPlaceholderAt;
|
|
336
472
|
private buildPlaceholder;
|
|
337
473
|
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;
|
|
344
474
|
private deletePlaceholder;
|
|
345
|
-
updateContextUsage(value: number | null): void;
|
|
475
|
+
updateContextUsage(value: number | null, autoCompactThreshold?: number): void;
|
|
346
476
|
getEditMode(): EditGuardMode;
|
|
347
477
|
applyEditMode(mode: EditGuardMode): void;
|
|
348
478
|
private setEditMode;
|
|
349
479
|
toggleEditMode(): void;
|
|
480
|
+
private scheduleStreamingRender;
|
|
481
|
+
private resetStreamingRenderThrottle;
|
|
350
482
|
private scheduleRender;
|
|
351
483
|
private canRender;
|
|
352
484
|
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;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAuD3C;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,CAAC;AACvD,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,gBAAgB,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI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