erosolar-cli 1.7.213 → 1.7.214
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/dist/bin/erosolar.js +3 -0
- package/dist/bin/erosolar.js.map +1 -1
- package/dist/mcp/sseClient.d.ts.map +1 -1
- package/dist/mcp/sseClient.js +54 -27
- package/dist/mcp/sseClient.js.map +1 -1
- package/dist/shell/claudeCodeStreamHandler.d.ts.map +1 -1
- package/dist/shell/claudeCodeStreamHandler.js +11 -1
- package/dist/shell/claudeCodeStreamHandler.js.map +1 -1
- package/dist/shell/interactiveShell.d.ts +10 -0
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +69 -15
- package/dist/shell/interactiveShell.js.map +1 -1
- package/dist/shell/streamingOutputManager.d.ts +1 -0
- package/dist/shell/streamingOutputManager.d.ts.map +1 -1
- package/dist/shell/streamingOutputManager.js +15 -4
- package/dist/shell/streamingOutputManager.js.map +1 -1
- package/dist/shell/terminalInput.d.ts +18 -1
- package/dist/shell/terminalInput.d.ts.map +1 -1
- package/dist/shell/terminalInput.js +68 -3
- package/dist/shell/terminalInput.js.map +1 -1
- package/dist/shell/terminalInputAdapter.d.ts +14 -0
- package/dist/shell/terminalInputAdapter.d.ts.map +1 -1
- package/dist/shell/terminalInputAdapter.js +20 -0
- package/dist/shell/terminalInputAdapter.js.map +1 -1
- package/dist/ui/display.d.ts +14 -2
- package/dist/ui/display.d.ts.map +1 -1
- package/dist/ui/display.js +56 -14
- package/dist/ui/display.js.map +1 -1
- package/dist/ui/globalWriteLock.d.ts +12 -0
- package/dist/ui/globalWriteLock.d.ts.map +1 -0
- package/dist/ui/globalWriteLock.js +35 -0
- package/dist/ui/globalWriteLock.js.map +1 -0
- package/package.json +1 -1
- package/dist/ui/FixedInputArea.d.ts +0 -108
- package/dist/ui/FixedInputArea.d.ts.map +0 -1
- package/dist/ui/FixedInputArea.js +0 -312
- package/dist/ui/FixedInputArea.js.map +0 -1
- package/dist/ui/advancedTheme.d.ts +0 -246
- package/dist/ui/advancedTheme.d.ts.map +0 -1
- package/dist/ui/advancedTheme.js +0 -478
- package/dist/ui/advancedTheme.js.map +0 -1
- package/dist/ui/collapsibleContent.d.ts +0 -57
- package/dist/ui/collapsibleContent.d.ts.map +0 -1
- package/dist/ui/collapsibleContent.js +0 -106
- package/dist/ui/collapsibleContent.js.map +0 -1
- package/dist/ui/diffViewer.d.ts +0 -42
- package/dist/ui/diffViewer.d.ts.map +0 -1
- package/dist/ui/diffViewer.js +0 -343
- package/dist/ui/diffViewer.js.map +0 -1
- package/dist/ui/gitDisplay.d.ts +0 -45
- package/dist/ui/gitDisplay.d.ts.map +0 -1
- package/dist/ui/gitDisplay.js +0 -215
- package/dist/ui/gitDisplay.js.map +0 -1
- package/dist/ui/gitFormatter.d.ts +0 -29
- package/dist/ui/gitFormatter.d.ts.map +0 -1
- package/dist/ui/gitFormatter.js +0 -203
- package/dist/ui/gitFormatter.js.map +0 -1
- package/dist/ui/keyboardShortcuts.d.ts +0 -49
- package/dist/ui/keyboardShortcuts.d.ts.map +0 -1
- package/dist/ui/keyboardShortcuts.js +0 -128
- package/dist/ui/keyboardShortcuts.js.map +0 -1
- package/dist/ui/logFormatter.d.ts +0 -70
- package/dist/ui/logFormatter.d.ts.map +0 -1
- package/dist/ui/logFormatter.js +0 -323
- package/dist/ui/logFormatter.js.map +0 -1
- package/dist/ui/outputSummarizer.d.ts +0 -52
- package/dist/ui/outputSummarizer.d.ts.map +0 -1
- package/dist/ui/outputSummarizer.js +0 -242
- package/dist/ui/outputSummarizer.js.map +0 -1
- package/dist/ui/progressBar.d.ts +0 -51
- package/dist/ui/progressBar.d.ts.map +0 -1
- package/dist/ui/progressBar.js +0 -153
- package/dist/ui/progressBar.js.map +0 -1
- package/dist/ui/progressIndicator.d.ts +0 -69
- package/dist/ui/progressIndicator.d.ts.map +0 -1
- package/dist/ui/progressIndicator.js +0 -145
- package/dist/ui/progressIndicator.js.map +0 -1
- package/dist/ui/streamingIndicators.d.ts +0 -42
- package/dist/ui/streamingIndicators.d.ts.map +0 -1
- package/dist/ui/streamingIndicators.js +0 -155
- package/dist/ui/streamingIndicators.js.map +0 -1
- package/dist/ui/tableFormatter.d.ts +0 -31
- package/dist/ui/tableFormatter.d.ts.map +0 -1
- package/dist/ui/tableFormatter.js +0 -186
- package/dist/ui/tableFormatter.js.map +0 -1
- package/dist/ui/thinkingTracker.d.ts +0 -51
- package/dist/ui/thinkingTracker.d.ts.map +0 -1
- package/dist/ui/thinkingTracker.js +0 -115
- package/dist/ui/thinkingTracker.js.map +0 -1
- package/dist/ui/toolDisplayAdapter.d.ts +0 -66
- package/dist/ui/toolDisplayAdapter.d.ts.map +0 -1
- package/dist/ui/toolDisplayAdapter.js +0 -356
- package/dist/ui/toolDisplayAdapter.js.map +0 -1
- package/dist/ui/treeVisualizer.d.ts +0 -56
- package/dist/ui/treeVisualizer.d.ts.map +0 -1
- package/dist/ui/treeVisualizer.js +0 -247
- package/dist/ui/treeVisualizer.js.map +0 -1
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FixedInputArea - Claude Code style chat box
|
|
3
|
-
*
|
|
4
|
-
* Simple, clean implementation that keeps the input area fixed at the bottom
|
|
5
|
-
* while output scrolls above. Uses terminal scroll regions properly.
|
|
6
|
-
*
|
|
7
|
-
* Key principles:
|
|
8
|
-
* 1. ONE scroll region - set once at start, reset once at end
|
|
9
|
-
* 2. Protected bottom area - output can never touch it
|
|
10
|
-
* 3. Cursor always at input - no jumping around
|
|
11
|
-
* 4. Minimal ANSI codes - only what's necessary
|
|
12
|
-
*/
|
|
13
|
-
// ANSI escape codes
|
|
14
|
-
const ESC = '\x1b';
|
|
15
|
-
const CSI = `${ESC}[`;
|
|
16
|
-
const ANSI = {
|
|
17
|
-
// Scroll region: set scrollable area from line `top` to line `bottom`
|
|
18
|
-
setScrollRegion: (top, bottom) => `${CSI}${top};${bottom}r`,
|
|
19
|
-
// Reset scroll region to full screen
|
|
20
|
-
resetScrollRegion: () => `${CSI}r`,
|
|
21
|
-
// Move cursor to specific row and column (1-indexed)
|
|
22
|
-
moveTo: (row, col) => `${CSI}${row};${col}H`,
|
|
23
|
-
// Move cursor to column (1-indexed)
|
|
24
|
-
moveToCol: (col) => `${CSI}${col}G`,
|
|
25
|
-
// Clear from cursor to end of line
|
|
26
|
-
clearToEndOfLine: () => `${CSI}K`,
|
|
27
|
-
// Clear entire line
|
|
28
|
-
clearLine: () => `${CSI}2K`,
|
|
29
|
-
// Save cursor position
|
|
30
|
-
saveCursor: () => `${ESC}7`,
|
|
31
|
-
// Restore cursor position
|
|
32
|
-
restoreCursor: () => `${ESC}8`,
|
|
33
|
-
// Hide cursor
|
|
34
|
-
hideCursor: () => `${CSI}?25l`,
|
|
35
|
-
// Show cursor
|
|
36
|
-
showCursor: () => `${CSI}?25h`,
|
|
37
|
-
};
|
|
38
|
-
export class FixedInputArea {
|
|
39
|
-
stream;
|
|
40
|
-
reservedLines;
|
|
41
|
-
isActive = false;
|
|
42
|
-
inputBuffer = '';
|
|
43
|
-
cursorPosition = 0;
|
|
44
|
-
queuedCommands = [];
|
|
45
|
-
statusHint = '';
|
|
46
|
-
constructor(config = {}) {
|
|
47
|
-
this.stream = config.stream ?? process.stdout;
|
|
48
|
-
this.reservedLines = config.reservedLines ?? 3;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Enable the fixed input area.
|
|
52
|
-
* Call this when starting AI response/streaming.
|
|
53
|
-
*/
|
|
54
|
-
enable() {
|
|
55
|
-
if (this.isActive || !this.stream.isTTY)
|
|
56
|
-
return;
|
|
57
|
-
const rows = this.stream.rows ?? 24;
|
|
58
|
-
const scrollBottom = rows - this.reservedLines;
|
|
59
|
-
// Set scroll region to exclude the bottom reserved lines
|
|
60
|
-
this.write(ANSI.setScrollRegion(1, scrollBottom));
|
|
61
|
-
// Move cursor to bottom of scroll region (where output will flow)
|
|
62
|
-
this.write(ANSI.moveTo(scrollBottom, 1));
|
|
63
|
-
// Render the fixed input area at the bottom
|
|
64
|
-
this.renderInputArea();
|
|
65
|
-
this.isActive = true;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Disable the fixed input area.
|
|
69
|
-
* Call this when AI response/streaming ends.
|
|
70
|
-
*/
|
|
71
|
-
disable() {
|
|
72
|
-
if (!this.isActive)
|
|
73
|
-
return;
|
|
74
|
-
// Reset scroll region to full screen
|
|
75
|
-
this.write(ANSI.resetScrollRegion());
|
|
76
|
-
// Clear the reserved area (it will be replaced by normal prompt)
|
|
77
|
-
const rows = this.stream.rows ?? 24;
|
|
78
|
-
for (let i = 0; i < this.reservedLines; i++) {
|
|
79
|
-
this.write(ANSI.moveTo(rows - i, 1));
|
|
80
|
-
this.write(ANSI.clearLine());
|
|
81
|
-
}
|
|
82
|
-
// Move cursor to the bottom
|
|
83
|
-
this.write(ANSI.moveTo(rows, 1));
|
|
84
|
-
this.isActive = false;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Render the fixed input area at the bottom.
|
|
88
|
-
* This includes: separator line, input prompt, and status hints.
|
|
89
|
-
*/
|
|
90
|
-
renderInputArea() {
|
|
91
|
-
if (!this.stream.isTTY)
|
|
92
|
-
return;
|
|
93
|
-
const rows = this.stream.rows ?? 24;
|
|
94
|
-
const cols = this.stream.columns ?? 80;
|
|
95
|
-
// Save cursor position (we're in the scroll region)
|
|
96
|
-
this.write(ANSI.saveCursor());
|
|
97
|
-
// Line 1 of reserved area: Separator
|
|
98
|
-
const separatorRow = rows - this.reservedLines + 1;
|
|
99
|
-
this.write(ANSI.moveTo(separatorRow, 1));
|
|
100
|
-
this.write(ANSI.clearLine());
|
|
101
|
-
const separatorWidth = Math.min(cols - 2, 60);
|
|
102
|
-
this.write('─'.repeat(separatorWidth));
|
|
103
|
-
// Line 2 of reserved area: Input prompt
|
|
104
|
-
const inputRow = separatorRow + 1;
|
|
105
|
-
this.write(ANSI.moveTo(inputRow, 1));
|
|
106
|
-
this.write(ANSI.clearLine());
|
|
107
|
-
this.write('> ');
|
|
108
|
-
// Display input buffer (truncate if too long)
|
|
109
|
-
const maxInputWidth = cols - 4;
|
|
110
|
-
let displayInput = this.inputBuffer;
|
|
111
|
-
if (displayInput.length > maxInputWidth) {
|
|
112
|
-
displayInput = '…' + displayInput.slice(-(maxInputWidth - 1));
|
|
113
|
-
}
|
|
114
|
-
this.write(displayInput);
|
|
115
|
-
// Line 3 of reserved area: Status hints
|
|
116
|
-
const statusRow = inputRow + 1;
|
|
117
|
-
this.write(ANSI.moveTo(statusRow, 1));
|
|
118
|
-
this.write(ANSI.clearLine());
|
|
119
|
-
// Build status line
|
|
120
|
-
const hints = [];
|
|
121
|
-
if (this.queuedCommands.length > 0) {
|
|
122
|
-
hints.push(`${this.queuedCommands.length} queued`);
|
|
123
|
-
}
|
|
124
|
-
hints.push('Esc: cancel', 'Enter: queue');
|
|
125
|
-
if (this.statusHint) {
|
|
126
|
-
hints.unshift(this.statusHint);
|
|
127
|
-
}
|
|
128
|
-
this.write(` ${hints.join(' · ')}`);
|
|
129
|
-
// Position cursor at the input (after "> " and the input text)
|
|
130
|
-
const cursorCol = 3 + Math.min(this.cursorPosition, displayInput.length);
|
|
131
|
-
this.write(ANSI.moveTo(inputRow, cursorCol));
|
|
132
|
-
// Note: We do NOT restore cursor here - we WANT the cursor to stay at the input
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Handle character input.
|
|
136
|
-
*/
|
|
137
|
-
handleInput(char) {
|
|
138
|
-
// Insert character at cursor position
|
|
139
|
-
this.inputBuffer =
|
|
140
|
-
this.inputBuffer.slice(0, this.cursorPosition) +
|
|
141
|
-
char +
|
|
142
|
-
this.inputBuffer.slice(this.cursorPosition);
|
|
143
|
-
this.cursorPosition += char.length;
|
|
144
|
-
if (this.isActive) {
|
|
145
|
-
this.renderInputArea();
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Handle backspace.
|
|
150
|
-
*/
|
|
151
|
-
handleBackspace() {
|
|
152
|
-
if (this.cursorPosition > 0) {
|
|
153
|
-
this.inputBuffer =
|
|
154
|
-
this.inputBuffer.slice(0, this.cursorPosition - 1) +
|
|
155
|
-
this.inputBuffer.slice(this.cursorPosition);
|
|
156
|
-
this.cursorPosition--;
|
|
157
|
-
if (this.isActive) {
|
|
158
|
-
this.renderInputArea();
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Handle delete key.
|
|
164
|
-
*/
|
|
165
|
-
handleDelete() {
|
|
166
|
-
if (this.cursorPosition < this.inputBuffer.length) {
|
|
167
|
-
this.inputBuffer =
|
|
168
|
-
this.inputBuffer.slice(0, this.cursorPosition) +
|
|
169
|
-
this.inputBuffer.slice(this.cursorPosition + 1);
|
|
170
|
-
if (this.isActive) {
|
|
171
|
-
this.renderInputArea();
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Handle left arrow.
|
|
177
|
-
*/
|
|
178
|
-
handleLeft() {
|
|
179
|
-
if (this.cursorPosition > 0) {
|
|
180
|
-
this.cursorPosition--;
|
|
181
|
-
if (this.isActive) {
|
|
182
|
-
this.renderInputArea();
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* Handle right arrow.
|
|
188
|
-
*/
|
|
189
|
-
handleRight() {
|
|
190
|
-
if (this.cursorPosition < this.inputBuffer.length) {
|
|
191
|
-
this.cursorPosition++;
|
|
192
|
-
if (this.isActive) {
|
|
193
|
-
this.renderInputArea();
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Handle home key.
|
|
199
|
-
*/
|
|
200
|
-
handleHome() {
|
|
201
|
-
this.cursorPosition = 0;
|
|
202
|
-
if (this.isActive) {
|
|
203
|
-
this.renderInputArea();
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* Handle end key.
|
|
208
|
-
*/
|
|
209
|
-
handleEnd() {
|
|
210
|
-
this.cursorPosition = this.inputBuffer.length;
|
|
211
|
-
if (this.isActive) {
|
|
212
|
-
this.renderInputArea();
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Handle enter key - queue the current input.
|
|
217
|
-
*/
|
|
218
|
-
handleEnter() {
|
|
219
|
-
const input = this.inputBuffer.trim();
|
|
220
|
-
if (input) {
|
|
221
|
-
this.queuedCommands.push(input);
|
|
222
|
-
this.inputBuffer = '';
|
|
223
|
-
this.cursorPosition = 0;
|
|
224
|
-
if (this.isActive) {
|
|
225
|
-
this.renderInputArea();
|
|
226
|
-
}
|
|
227
|
-
return input;
|
|
228
|
-
}
|
|
229
|
-
return null;
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Handle clear line (Ctrl+U).
|
|
233
|
-
*/
|
|
234
|
-
handleClearLine() {
|
|
235
|
-
this.inputBuffer = '';
|
|
236
|
-
this.cursorPosition = 0;
|
|
237
|
-
if (this.isActive) {
|
|
238
|
-
this.renderInputArea();
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Get and clear queued commands.
|
|
243
|
-
*/
|
|
244
|
-
getQueuedCommands() {
|
|
245
|
-
const commands = this.queuedCommands;
|
|
246
|
-
this.queuedCommands = [];
|
|
247
|
-
return commands;
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* Get current input buffer (for transferring to readline after disable).
|
|
251
|
-
*/
|
|
252
|
-
getInputBuffer() {
|
|
253
|
-
return this.inputBuffer;
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
* Set input buffer (for restoring state).
|
|
257
|
-
*/
|
|
258
|
-
setInputBuffer(value) {
|
|
259
|
-
this.inputBuffer = value;
|
|
260
|
-
this.cursorPosition = value.length;
|
|
261
|
-
if (this.isActive) {
|
|
262
|
-
this.renderInputArea();
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Set status hint to display.
|
|
267
|
-
*/
|
|
268
|
-
setStatusHint(hint) {
|
|
269
|
-
this.statusHint = hint;
|
|
270
|
-
if (this.isActive) {
|
|
271
|
-
this.renderInputArea();
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
/**
|
|
275
|
-
* Check if the fixed input area is active.
|
|
276
|
-
*/
|
|
277
|
-
isEnabled() {
|
|
278
|
-
return this.isActive;
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* Force a refresh of the input area.
|
|
282
|
-
* Call this after external output that might have disrupted the display.
|
|
283
|
-
*/
|
|
284
|
-
refresh() {
|
|
285
|
-
if (this.isActive) {
|
|
286
|
-
this.renderInputArea();
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
write(data) {
|
|
290
|
-
try {
|
|
291
|
-
this.stream.write(data);
|
|
292
|
-
}
|
|
293
|
-
catch {
|
|
294
|
-
// Ignore write errors
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
// Singleton instance
|
|
299
|
-
let instance = null;
|
|
300
|
-
export function getFixedInputArea() {
|
|
301
|
-
if (!instance) {
|
|
302
|
-
instance = new FixedInputArea();
|
|
303
|
-
}
|
|
304
|
-
return instance;
|
|
305
|
-
}
|
|
306
|
-
export function resetFixedInputArea() {
|
|
307
|
-
if (instance?.isEnabled()) {
|
|
308
|
-
instance.disable();
|
|
309
|
-
}
|
|
310
|
-
instance = null;
|
|
311
|
-
}
|
|
312
|
-
//# sourceMappingURL=FixedInputArea.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FixedInputArea.js","sourceRoot":"","sources":["../../src/ui/FixedInputArea.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,oBAAoB;AACpB,MAAM,GAAG,GAAG,MAAM,CA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,EAAE,CAAC;QACd,QAAQ,GAAG,IAAI,cAAc,EAAE,CAAC;IAClC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,UAAU,mBAAmB;IACjC,IAAI,QAAQ,EAAE,SAAS,EAAE,EAAE,CAAC;QAC1B,QAAQ,CAAC,OAAO,EAAE,CAAC;IACrB,CAAC;IACD,QAAQ,GAAG,IAAI,CAAC;AAClB,CAAC"}
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Advanced Theme System - Sophisticated UI/UX for Claude Code
|
|
3
|
-
* Features gradient effects, animations, and intelligent color schemes
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Gradient color transitions for sophisticated effects
|
|
7
|
-
*/
|
|
8
|
-
export declare class GradientEffect {
|
|
9
|
-
/**
|
|
10
|
-
* Create a smooth gradient transition between colors
|
|
11
|
-
*/
|
|
12
|
-
static linearGradient(text: string, startColor: [number, number, number], endColor: [number, number, number]): string;
|
|
13
|
-
/**
|
|
14
|
-
* Create a rainbow gradient effect
|
|
15
|
-
*/
|
|
16
|
-
static rainbow(text: string): string;
|
|
17
|
-
/**
|
|
18
|
-
* Create a pulse gradient (bright to dim)
|
|
19
|
-
*/
|
|
20
|
-
static pulse(text: string, color: [number, number, number], intensity?: number): string;
|
|
21
|
-
/**
|
|
22
|
-
* Create a wave gradient effect
|
|
23
|
-
*/
|
|
24
|
-
static wave(text: string, primaryColor: [number, number, number], secondaryColor: [number, number, number]): string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Sophisticated color palettes
|
|
28
|
-
*/
|
|
29
|
-
export declare const ColorPalettes: {
|
|
30
|
-
neon: {
|
|
31
|
-
primary: [number, number, number];
|
|
32
|
-
secondary: [number, number, number];
|
|
33
|
-
accent: [number, number, number];
|
|
34
|
-
highlight: [number, number, number];
|
|
35
|
-
warning: [number, number, number];
|
|
36
|
-
error: [number, number, number];
|
|
37
|
-
success: [number, number, number];
|
|
38
|
-
info: [number, number, number];
|
|
39
|
-
};
|
|
40
|
-
aurora: {
|
|
41
|
-
primary: [number, number, number];
|
|
42
|
-
secondary: [number, number, number];
|
|
43
|
-
accent: [number, number, number];
|
|
44
|
-
highlight: [number, number, number];
|
|
45
|
-
warning: [number, number, number];
|
|
46
|
-
error: [number, number, number];
|
|
47
|
-
success: [number, number, number];
|
|
48
|
-
info: [number, number, number];
|
|
49
|
-
};
|
|
50
|
-
matrix: {
|
|
51
|
-
primary: [number, number, number];
|
|
52
|
-
secondary: [number, number, number];
|
|
53
|
-
accent: [number, number, number];
|
|
54
|
-
highlight: [number, number, number];
|
|
55
|
-
warning: [number, number, number];
|
|
56
|
-
error: [number, number, number];
|
|
57
|
-
success: [number, number, number];
|
|
58
|
-
info: [number, number, number];
|
|
59
|
-
};
|
|
60
|
-
sunset: {
|
|
61
|
-
primary: [number, number, number];
|
|
62
|
-
secondary: [number, number, number];
|
|
63
|
-
accent: [number, number, number];
|
|
64
|
-
highlight: [number, number, number];
|
|
65
|
-
warning: [number, number, number];
|
|
66
|
-
error: [number, number, number];
|
|
67
|
-
success: [number, number, number];
|
|
68
|
-
info: [number, number, number];
|
|
69
|
-
};
|
|
70
|
-
midnight: {
|
|
71
|
-
primary: [number, number, number];
|
|
72
|
-
secondary: [number, number, number];
|
|
73
|
-
accent: [number, number, number];
|
|
74
|
-
highlight: [number, number, number];
|
|
75
|
-
warning: [number, number, number];
|
|
76
|
-
error: [number, number, number];
|
|
77
|
-
success: [number, number, number];
|
|
78
|
-
info: [number, number, number];
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Animation frame generators for sophisticated effects
|
|
83
|
-
*/
|
|
84
|
-
export declare class AnimationFrames {
|
|
85
|
-
/**
|
|
86
|
-
* Generate spinner frames with smooth transitions
|
|
87
|
-
*/
|
|
88
|
-
static quantumSpinner(): string[];
|
|
89
|
-
/**
|
|
90
|
-
* Generate elegant loading dots
|
|
91
|
-
*/
|
|
92
|
-
static elegantDots(): string[];
|
|
93
|
-
/**
|
|
94
|
-
* Generate orbital spinner
|
|
95
|
-
*/
|
|
96
|
-
static orbital(): string[];
|
|
97
|
-
/**
|
|
98
|
-
* Generate pulse effect
|
|
99
|
-
*/
|
|
100
|
-
static pulse(): string[];
|
|
101
|
-
/**
|
|
102
|
-
* Generate wave effect
|
|
103
|
-
*/
|
|
104
|
-
static wave(): string[];
|
|
105
|
-
/**
|
|
106
|
-
* Generate helix spinner
|
|
107
|
-
*/
|
|
108
|
-
static helix(): string[];
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Advanced UI symbols and icons
|
|
112
|
-
*/
|
|
113
|
-
export declare const AdvancedSymbols: {
|
|
114
|
-
status: {
|
|
115
|
-
running: string;
|
|
116
|
-
pending: string;
|
|
117
|
-
success: string;
|
|
118
|
-
error: string;
|
|
119
|
-
warning: string;
|
|
120
|
-
info: string;
|
|
121
|
-
thinking: string;
|
|
122
|
-
complete: string;
|
|
123
|
-
};
|
|
124
|
-
tools: {
|
|
125
|
-
read: string;
|
|
126
|
-
write: string;
|
|
127
|
-
edit: string;
|
|
128
|
-
search: string;
|
|
129
|
-
execute: string;
|
|
130
|
-
web: string;
|
|
131
|
-
task: string;
|
|
132
|
-
glob: string;
|
|
133
|
-
};
|
|
134
|
-
progress: {
|
|
135
|
-
empty: string;
|
|
136
|
-
quarter: string;
|
|
137
|
-
half: string;
|
|
138
|
-
full: string;
|
|
139
|
-
gradient: string[];
|
|
140
|
-
};
|
|
141
|
-
arrows: {
|
|
142
|
-
right: string;
|
|
143
|
-
left: string;
|
|
144
|
-
up: string;
|
|
145
|
-
down: string;
|
|
146
|
-
curved: string;
|
|
147
|
-
double: string;
|
|
148
|
-
elegant: string;
|
|
149
|
-
branch: string;
|
|
150
|
-
end: string;
|
|
151
|
-
};
|
|
152
|
-
box: {
|
|
153
|
-
topLeft: string;
|
|
154
|
-
topRight: string;
|
|
155
|
-
bottomLeft: string;
|
|
156
|
-
bottomRight: string;
|
|
157
|
-
horizontal: string;
|
|
158
|
-
vertical: string;
|
|
159
|
-
cross: string;
|
|
160
|
-
tee: string;
|
|
161
|
-
};
|
|
162
|
-
decorative: {
|
|
163
|
-
star: string;
|
|
164
|
-
diamond: string;
|
|
165
|
-
circle: string;
|
|
166
|
-
square: string;
|
|
167
|
-
triangle: string;
|
|
168
|
-
hexagon: string;
|
|
169
|
-
sparkle: string;
|
|
170
|
-
lightning: string;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
/**
|
|
174
|
-
* Sophisticated text effects
|
|
175
|
-
*/
|
|
176
|
-
export declare class TextEffects {
|
|
177
|
-
/**
|
|
178
|
-
* Apply glitch effect to text
|
|
179
|
-
*/
|
|
180
|
-
static glitch(text: string, intensity?: number): string;
|
|
181
|
-
/**
|
|
182
|
-
* Apply neon glow effect
|
|
183
|
-
*/
|
|
184
|
-
static neonGlow(text: string, color: [number, number, number]): string;
|
|
185
|
-
/**
|
|
186
|
-
* Apply matrix rain effect
|
|
187
|
-
*/
|
|
188
|
-
static matrixRain(text: string): string;
|
|
189
|
-
/**
|
|
190
|
-
* Apply holographic effect
|
|
191
|
-
*/
|
|
192
|
-
static holographic(text: string): string;
|
|
193
|
-
/**
|
|
194
|
-
* Apply typewriter effect formatting
|
|
195
|
-
*/
|
|
196
|
-
static typewriter(text: string, _charDelay?: number): string[];
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Advanced theme manager
|
|
200
|
-
*/
|
|
201
|
-
export declare class AdvancedTheme {
|
|
202
|
-
private currentPalette;
|
|
203
|
-
private animationFrame;
|
|
204
|
-
/**
|
|
205
|
-
* Set color palette
|
|
206
|
-
*/
|
|
207
|
-
setPalette(palette: keyof typeof ColorPalettes): void;
|
|
208
|
-
/**
|
|
209
|
-
* Format with gradient
|
|
210
|
-
*/
|
|
211
|
-
gradient(text: string, type?: 'linear' | 'pulse' | 'wave' | 'rainbow'): string;
|
|
212
|
-
/**
|
|
213
|
-
* Format status with appropriate styling
|
|
214
|
-
*/
|
|
215
|
-
formatStatus(text: string, status: 'running' | 'success' | 'error' | 'warning' | 'info'): string;
|
|
216
|
-
/**
|
|
217
|
-
* Create sophisticated header
|
|
218
|
-
*/
|
|
219
|
-
createHeader(title: string, subtitle?: string): string;
|
|
220
|
-
/**
|
|
221
|
-
* Create progress bar with gradient
|
|
222
|
-
*/
|
|
223
|
-
createProgressBar(progress: number, width?: number, showPercentage?: boolean): string;
|
|
224
|
-
/**
|
|
225
|
-
* Get next animation frame
|
|
226
|
-
*/
|
|
227
|
-
getNextSpinnerFrame(type?: 'quantum' | 'elegant' | 'orbital' | 'pulse' | 'wave' | 'helix'): string;
|
|
228
|
-
/**
|
|
229
|
-
* Center text within width
|
|
230
|
-
*/
|
|
231
|
-
private center;
|
|
232
|
-
/**
|
|
233
|
-
* Create sophisticated separator
|
|
234
|
-
*/
|
|
235
|
-
createSeparator(type?: 'gradient' | 'wave' | 'dots' | 'stars'): string;
|
|
236
|
-
/**
|
|
237
|
-
* Format code block with syntax highlighting
|
|
238
|
-
*/
|
|
239
|
-
formatCodeBlock(code: string, language?: string): string;
|
|
240
|
-
/**
|
|
241
|
-
* Basic syntax highlighting
|
|
242
|
-
*/
|
|
243
|
-
private highlightSyntax;
|
|
244
|
-
}
|
|
245
|
-
export declare const advancedTheme: AdvancedTheme;
|
|
246
|
-
//# sourceMappingURL=advancedTheme.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"advancedTheme.d.ts","sourceRoot":"","sources":["../../src/ui/advancedTheme.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,qBAAa,cAAc;IACzB;;OAEG;IACH,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,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