@tnnevol/dsh-codex-auth 0.1.1-rc.2.1 → 0.1.1-rc.2.2

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/lib/client.js +18 -2
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -45731,6 +45731,23 @@ body[${SEMI_DSH_THEME_ATTRIBUTE}] .semi-icon {
45731
45731
  font-family: var(--dsw-font-family);
45732
45732
  }
45733
45733
 
45734
+ /* Primary actions are monochrome: black/white in light mode and inverted in dark mode. */
45735
+ body[${SEMI_DSH_THEME_ATTRIBUTE}]:not([data-ds-dark-theme]) .semi-button-primary:not(.semi-button-disabled),
45736
+ body[${SEMI_DSH_THEME_ATTRIBUTE}]:not([data-ds-dark-theme]) .semi-button-primary:not(.semi-button-disabled):hover,
45737
+ body[${SEMI_DSH_THEME_ATTRIBUTE}]:not([data-ds-dark-theme]) .semi-button-primary:not(.semi-button-disabled):active {
45738
+ background: #000 !important;
45739
+ border-color: #000 !important;
45740
+ color: #fff !important;
45741
+ }
45742
+
45743
+ body[${SEMI_DSH_THEME_ATTRIBUTE}][data-ds-dark-theme] .semi-button-primary:not(.semi-button-disabled),
45744
+ body[${SEMI_DSH_THEME_ATTRIBUTE}][data-ds-dark-theme] .semi-button-primary:not(.semi-button-disabled):hover,
45745
+ body[${SEMI_DSH_THEME_ATTRIBUTE}][data-ds-dark-theme] .semi-button-primary:not(.semi-button-disabled):active {
45746
+ background: #fff !important;
45747
+ border-color: #fff !important;
45748
+ color: #000 !important;
45749
+ }
45750
+
45734
45751
  body[${SEMI_DSH_THEME_ATTRIBUTE}] .semi-dropdown-wrapper {
45735
45752
  background: var(--dsw-alias-bg-layer-3);
45736
45753
  border: 1px solid var(--dsw-alias-border-l2);
@@ -46951,8 +46968,7 @@ body[${SEMI_DSH_THEME_ATTRIBUTE}] .semi-button-borderless:not(.semi-button-disab
46951
46968
  };
46952
46969
  }, [timer]);
46953
46970
  const window = usage === void 0 ? void 0 : weeklyWindow(usage);
46954
- const remaining = percent(window?.remainingPercent);
46955
- if (remaining === void 0) return null;
46971
+ const remaining = percent(window?.remainingPercent) ?? "—";
46956
46972
  const reset = resetLabel(window);
46957
46973
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
46958
46974
  style: statusStyle,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tnnevol/dsh-codex-auth",
3
3
  "displayName": "Codex Auth",
4
4
  "description": "Standalone ChatGPT OAuth account management for DeepSeek Harness.",
5
- "version": "0.1.1-rc.2.1",
5
+ "version": "0.1.1-rc.2.2",
6
6
  "author": "tnnevol",
7
7
  "repository": {
8
8
  "type": "git",