zames_pro 2.27.0 → 2.28.1
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 +13 -12
- package/package.json +1 -1
package/dist/input.js
CHANGED
|
@@ -386,20 +386,21 @@ export class LineEditor {
|
|
|
386
386
|
return theme.warn(ctx);
|
|
387
387
|
return theme.success(ctx);
|
|
388
388
|
}
|
|
389
|
-
//
|
|
390
|
-
//
|
|
391
|
-
//
|
|
392
|
-
//
|
|
393
|
-
//
|
|
394
|
-
//
|
|
395
|
-
//
|
|
396
|
-
// and take the on/off color.
|
|
389
|
+
// Icons for the DeepSeek toggles: 🧠 "Deep thinking" and 🌐 "Smart search",
|
|
390
|
+
// shown before the context counter. BOTH icons are always visible so the
|
|
391
|
+
// operator can compare states; the state is encoded STRUCTURALLY (not only
|
|
392
|
+
// by color, which many terminals ignore for emoji):
|
|
393
|
+
// 🧠 (green, plain) — the toggle is ON
|
|
394
|
+
// (🧠) (dim, brackets) — the toggle is OFF
|
|
395
|
+
// The brackets are a reliable, color-independent cue that the toggle is off.
|
|
397
396
|
_toggleIcons() {
|
|
398
|
-
const on = (s) => theme.toggleOn(s);
|
|
399
|
-
const off = (s) => theme.toggleOff(s);
|
|
400
397
|
const TEXT = '\uFE0E';
|
|
401
|
-
const
|
|
402
|
-
|
|
398
|
+
const mark = (onState, glyph) => {
|
|
399
|
+
const g = glyph + TEXT;
|
|
400
|
+
return onState ? theme.toggleOn(g) : theme.toggleOff('(' + g + ')');
|
|
401
|
+
};
|
|
402
|
+
const brain = mark(this.thinkingEnabled, '🧠');
|
|
403
|
+
const globe = mark(this.searchEnabled, '🌐');
|
|
403
404
|
return brain + ' ' + globe + ' ';
|
|
404
405
|
}
|
|
405
406
|
// Read the OS clipboard for an image and insert its marker. Used when the
|