@cnwenf/occ 2.1.247 → 2.1.248

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.
Files changed (2) hide show
  1. package/dist/cli.js +10 -1
  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
@@ -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 ? `effort: ultracode \xB7 ${ULTRACODE_EFFORT_DESCRIPTION}` : briefOwnsGap ? undefined : getEffortNotificationText(effortValue, mainLoopModel);
691790
691799
  useBuddyNotification();
691791
691800
  const companionSpeaking = feature("BUDDY") ? useAppState((s4) => s4.companionReaction !== undefined) : false;
691792
691801
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cnwenf/occ",
3
- "version": "2.1.247",
3
+ "version": "2.1.248",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "bin": {