@cnwenf/occ 2.1.247 → 2.1.249
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 +11 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -526687,6 +526687,7 @@ function getDefaultAppState() {
|
|
|
526687
526687
|
authVersion: 0,
|
|
526688
526688
|
initialMessage: null,
|
|
526689
526689
|
effortValue: undefined,
|
|
526690
|
+
ultracode: false,
|
|
526690
526691
|
activeOverlays: new Set,
|
|
526691
526692
|
fastMode: false,
|
|
526692
526693
|
activeGoal: undefined
|
|
@@ -567761,7 +567762,7 @@ var init_ThemePicker = __esm(() => {
|
|
|
567761
567762
|
// src/components/EffortIndicator.ts
|
|
567762
567763
|
function getEffortNotificationText(effortValue, model) {
|
|
567763
567764
|
if (isUltracodeEnabled()) {
|
|
567764
|
-
return
|
|
567765
|
+
return "\x1B[38;2;135;0;255multracode\x1B[0m";
|
|
567765
567766
|
}
|
|
567766
567767
|
if (!modelSupportsEffort(model))
|
|
567767
567768
|
return;
|
|
@@ -690484,6 +690485,14 @@ function PromptInput({
|
|
|
690484
690485
|
const thinkingEnabled = useAppState((s4) => s4.thinkingEnabled);
|
|
690485
690486
|
const isFastMode = useAppState((s4) => isFastModeEnabled() ? s4.fastMode : false);
|
|
690486
690487
|
const effortValue = useAppState((s4) => s4.effortValue);
|
|
690488
|
+
const [ultracodeBadgeActive, setUltracodeBadgeActive] = React136.useState(isUltracodeEnabled());
|
|
690489
|
+
import_react255.useEffect(() => {
|
|
690490
|
+
const iv = setInterval(() => {
|
|
690491
|
+
const cur = isUltracodeEnabled();
|
|
690492
|
+
setUltracodeBadgeActive((prev) => prev !== cur ? cur : prev);
|
|
690493
|
+
}, 500);
|
|
690494
|
+
return () => clearInterval(iv);
|
|
690495
|
+
}, []);
|
|
690487
690496
|
const viewedTeammate = getViewedTeammateTask(store.getState());
|
|
690488
690497
|
const viewingAgentName = viewedTeammate?.identity.agentName;
|
|
690489
690498
|
const viewingAgentColor = viewedTeammate?.identity.color && AGENT_COLORS.includes(viewedTeammate.identity.color) ? viewedTeammate.identity.color : undefined;
|
|
@@ -691786,7 +691795,7 @@ function PromptInput({
|
|
|
691786
691795
|
const fastModeCooldown = isFastModeEnabled() ? isFastModeCooldown() : false;
|
|
691787
691796
|
const showFastIcon = isFastModeEnabled() ? isFastMode && (isFastModeAvailable() || fastModeCooldown) : false;
|
|
691788
691797
|
const showFastIconHint = useShowFastIconHint(showFastIcon ?? false);
|
|
691789
|
-
const effortNotificationText = briefOwnsGap ? undefined : getEffortNotificationText(effortValue, mainLoopModel);
|
|
691798
|
+
const effortNotificationText = ultracodeBadgeActive ? "\x1B[38;2;135;0;255multracode\x1B[0m" : briefOwnsGap ? undefined : getEffortNotificationText(effortValue, mainLoopModel);
|
|
691790
691799
|
useBuddyNotification();
|
|
691791
691800
|
const companionSpeaking = feature("BUDDY") ? useAppState((s4) => s4.companionReaction !== undefined) : false;
|
|
691792
691801
|
const {
|