zames_pro 2.28.1 → 2.28.2
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/input.js +11 -13
- package/package.json +1 -1
package/dist/input.js
CHANGED
|
@@ -387,21 +387,19 @@ export class LineEditor {
|
|
|
387
387
|
return theme.success(ctx);
|
|
388
388
|
}
|
|
389
389
|
// Icons for the DeepSeek toggles: 🧠 "Deep thinking" and 🌐 "Smart search",
|
|
390
|
-
// shown before the context counter.
|
|
391
|
-
//
|
|
392
|
-
//
|
|
393
|
-
//
|
|
394
|
-
//
|
|
395
|
-
// The brackets are a reliable, color-independent cue that the toggle is off.
|
|
390
|
+
// shown before the context counter. Only the ENABLED toggle is shown, in
|
|
391
|
+
// green. A hidden icon means OFF — this does not rely on the terminal
|
|
392
|
+
// honoring the ANSI color (it ignores it for emoji), so there is no
|
|
393
|
+
// ambiguity. U+FE0E forces the monochrome TEXT presentation so the green is
|
|
394
|
+
// actually visible.
|
|
396
395
|
_toggleIcons() {
|
|
397
396
|
const TEXT = '\uFE0E';
|
|
398
|
-
const
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
return brain + ' ' + globe + ' ';
|
|
397
|
+
const parts = [];
|
|
398
|
+
if (this.thinkingEnabled)
|
|
399
|
+
parts.push(theme.toggleOn('🧠' + TEXT));
|
|
400
|
+
if (this.searchEnabled)
|
|
401
|
+
parts.push(theme.toggleOn('🌐' + TEXT));
|
|
402
|
+
return parts.length ? parts.join(' ') + ' ' : '';
|
|
405
403
|
}
|
|
406
404
|
// Read the OS clipboard for an image and insert its marker. Used when the
|
|
407
405
|
// terminal sends no usable paste data (Ctrl+V / right-click / empty paste).
|