zames_pro 2.27.0 → 2.28.0
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 +12 -13
- package/package.json +1 -1
package/dist/input.js
CHANGED
|
@@ -386,21 +386,20 @@ export class LineEditor {
|
|
|
386
386
|
return theme.warn(ctx);
|
|
387
387
|
return theme.success(ctx);
|
|
388
388
|
}
|
|
389
|
-
//
|
|
390
|
-
//
|
|
391
|
-
//
|
|
392
|
-
//
|
|
393
|
-
//
|
|
394
|
-
//
|
|
395
|
-
// is unclear which is on". With the selector they become monochrome glyphs
|
|
396
|
-
// and take the on/off color.
|
|
389
|
+
// Icons for the DeepSeek toggles: 🧠 "Deep thinking" and 🌐 "Smart search",
|
|
390
|
+
// shown before the context counter. Only the ENABLED toggles are shown, and
|
|
391
|
+
// they are teal-green. This does NOT rely on the terminal honoring the ANSI
|
|
392
|
+
// color: a disabled toggle is simply absent, so there is no ambiguity
|
|
393
|
+
// between "gray (off)" and "the emoji's own color (on)". U+FE0E forces the
|
|
394
|
+
// monochrome TEXT presentation so the green is actually visible.
|
|
397
395
|
_toggleIcons() {
|
|
398
|
-
const on = (s) => theme.toggleOn(s);
|
|
399
|
-
const off = (s) => theme.toggleOff(s);
|
|
400
396
|
const TEXT = '\uFE0E';
|
|
401
|
-
const
|
|
402
|
-
|
|
403
|
-
|
|
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(' ') + ' ' : '';
|
|
404
403
|
}
|
|
405
404
|
// Read the OS clipboard for an image and insert its marker. Used when the
|
|
406
405
|
// terminal sends no usable paste data (Ctrl+V / right-click / empty paste).
|