@cnwenf/occ 2.1.251 → 2.1.252
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/cli.js +14 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -154925,6 +154925,7 @@ var init_theme = __esm(() => {
|
|
|
154925
154925
|
rate_limit_empty: "rgb(39,47,111)",
|
|
154926
154926
|
fastMode: "rgb(255,106,0)",
|
|
154927
154927
|
fastModeShimmer: "rgb(255,150,50)",
|
|
154928
|
+
effortUltra: "rgb(135,0,255)",
|
|
154928
154929
|
briefLabelYou: "rgb(37,99,235)",
|
|
154929
154930
|
briefLabelClaude: "rgb(215,119,87)",
|
|
154930
154931
|
rainbow_red: "rgb(235,95,87)",
|
|
@@ -154996,6 +154997,7 @@ var init_theme = __esm(() => {
|
|
|
154996
154997
|
rate_limit_empty: "ansi:black",
|
|
154997
154998
|
fastMode: "ansi:red",
|
|
154998
154999
|
fastModeShimmer: "ansi:redBright",
|
|
155000
|
+
effortUltra: "ansi:magenta",
|
|
154999
155001
|
briefLabelYou: "ansi:blue",
|
|
155000
155002
|
briefLabelClaude: "ansi:redBright",
|
|
155001
155003
|
rainbow_red: "ansi:red",
|
|
@@ -155067,6 +155069,7 @@ var init_theme = __esm(() => {
|
|
|
155067
155069
|
rate_limit_empty: "ansi:white",
|
|
155068
155070
|
fastMode: "ansi:redBright",
|
|
155069
155071
|
fastModeShimmer: "ansi:redBright",
|
|
155072
|
+
effortUltra: "ansi:magentaBright",
|
|
155070
155073
|
briefLabelYou: "ansi:blueBright",
|
|
155071
155074
|
briefLabelClaude: "ansi:redBright",
|
|
155072
155075
|
rainbow_red: "ansi:red",
|
|
@@ -155138,6 +155141,7 @@ var init_theme = __esm(() => {
|
|
|
155138
155141
|
rate_limit_empty: "rgb(23,46,114)",
|
|
155139
155142
|
fastMode: "rgb(255,106,0)",
|
|
155140
155143
|
fastModeShimmer: "rgb(255,150,50)",
|
|
155144
|
+
effortUltra: "rgb(175,135,255)",
|
|
155141
155145
|
briefLabelYou: "rgb(37,99,235)",
|
|
155142
155146
|
briefLabelClaude: "rgb(255,153,51)",
|
|
155143
155147
|
rainbow_red: "rgb(235,95,87)",
|
|
@@ -155208,6 +155212,7 @@ var init_theme = __esm(() => {
|
|
|
155208
155212
|
rate_limit_fill: "rgb(177,185,249)",
|
|
155209
155213
|
rate_limit_empty: "rgb(80,83,112)",
|
|
155210
155214
|
fastMode: "rgb(255,120,20)",
|
|
155215
|
+
effortUltra: "rgb(175,135,255)",
|
|
155211
155216
|
fastModeShimmer: "rgb(255,165,70)",
|
|
155212
155217
|
briefLabelYou: "rgb(122,180,232)",
|
|
155213
155218
|
briefLabelClaude: "rgb(215,119,87)",
|
|
@@ -155278,6 +155283,7 @@ var init_theme = __esm(() => {
|
|
|
155278
155283
|
memoryBackgroundColor: "rgb(55, 65, 70)",
|
|
155279
155284
|
rate_limit_fill: "rgb(153,204,255)",
|
|
155280
155285
|
rate_limit_empty: "rgb(69,92,115)",
|
|
155286
|
+
effortUltra: "rgb(175,135,255)",
|
|
155281
155287
|
fastMode: "rgb(255,120,20)",
|
|
155282
155288
|
fastModeShimmer: "rgb(255,165,70)",
|
|
155283
155289
|
briefLabelYou: "rgb(122,180,232)",
|
|
@@ -567762,7 +567768,8 @@ var init_ThemePicker = __esm(() => {
|
|
|
567762
567768
|
// src/components/EffortIndicator.ts
|
|
567763
567769
|
function getEffortNotificationText(effortValue, model) {
|
|
567764
567770
|
if (isUltracodeEnabled()) {
|
|
567765
|
-
|
|
567771
|
+
const themeName = getInitialSettings().theme ?? "dark";
|
|
567772
|
+
return color("effortUltra", themeName)("ultracode");
|
|
567766
567773
|
}
|
|
567767
567774
|
if (!modelSupportsEffort(model))
|
|
567768
567775
|
return;
|
|
@@ -567786,7 +567793,8 @@ function effortLevelToSymbol(level) {
|
|
|
567786
567793
|
}
|
|
567787
567794
|
}
|
|
567788
567795
|
var init_EffortIndicator = __esm(() => {
|
|
567789
|
-
|
|
567796
|
+
init_color();
|
|
567797
|
+
init_settings2();
|
|
567790
567798
|
init_figures2();
|
|
567791
567799
|
init_effort();
|
|
567792
567800
|
init_ultracode();
|
|
@@ -690487,6 +690495,7 @@ function PromptInput({
|
|
|
690487
690495
|
const isFastMode = useAppState((s4) => isFastModeEnabled() ? s4.fastMode : false);
|
|
690488
690496
|
const effortValue = useAppState((s4) => s4.effortValue);
|
|
690489
690497
|
const [ultracodeBadgeActive, setUltracodeBadgeActive] = React136.useState(isUltracodeEnabled());
|
|
690498
|
+
const [themeName] = useTheme();
|
|
690490
690499
|
import_react255.useEffect(() => {
|
|
690491
690500
|
const iv = setInterval(() => {
|
|
690492
690501
|
const cur = isUltracodeEnabled();
|
|
@@ -691796,7 +691805,7 @@ function PromptInput({
|
|
|
691796
691805
|
const fastModeCooldown = isFastModeEnabled() ? isFastModeCooldown() : false;
|
|
691797
691806
|
const showFastIcon = isFastModeEnabled() ? isFastMode && (isFastModeAvailable() || fastModeCooldown) : false;
|
|
691798
691807
|
const showFastIconHint = useShowFastIconHint(showFastIcon ?? false);
|
|
691799
|
-
const effortNotificationText = ultracodeBadgeActive ?
|
|
691808
|
+
const effortNotificationText = ultracodeBadgeActive ? color("effortUltra", themeName)("ultracode") : briefOwnsGap ? undefined : getEffortNotificationText(effortValue, mainLoopModel);
|
|
691800
691809
|
useBuddyNotification();
|
|
691801
691810
|
const companionSpeaking = feature("BUDDY") ? useAppState((s4) => s4.companionReaction !== undefined) : false;
|
|
691802
691811
|
const {
|
|
@@ -692364,6 +692373,8 @@ var init_PromptInput = __esm(() => {
|
|
|
692364
692373
|
init_tokenBudget();
|
|
692365
692374
|
init_keyword();
|
|
692366
692375
|
init_ultracode();
|
|
692376
|
+
init_color();
|
|
692377
|
+
init_ThemeProvider();
|
|
692367
692378
|
init_AutoModeOptInDialog();
|
|
692368
692379
|
init_BridgeDialog();
|
|
692369
692380
|
init_ConfigurableShortcutHint();
|