@tnnevol/dsh-codex-auth 0.1.0-rc.8.1 → 0.1.0-rc.8.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 +2 -2
  2. package/package.json +2 -2
package/lib/client.js CHANGED
@@ -1764,7 +1764,7 @@ window.__ModuleLoader__.load({
1764
1764
  };
1765
1765
  const markModelNameInputsReadonly = () => {
1766
1766
  const current = /* @__PURE__ */ new Set();
1767
- for (const input of document.querySelectorAll("input")) {
1767
+ for (const editor of document.querySelectorAll(`[${CODEX_EDITOR_ATTRIBUTE}="true"]`)) for (const input of editor.querySelectorAll("input")) {
1768
1768
  if (!startsWithAny(labelOf(input), MODEL_READONLY_LABELS)) continue;
1769
1769
  current.add(input);
1770
1770
  if (!originalModelNameAttributes.has(input)) originalModelNameAttributes.set(input, {
@@ -2027,8 +2027,8 @@ window.__ModuleLoader__.load({
2027
2027
  }
2028
2028
  };
2029
2029
  const updatePickers = () => {
2030
- markModelNameInputsReadonly();
2031
2030
  markEditors();
2031
+ markModelNameInputsReadonly();
2032
2032
  for (const [dialog] of originalPickerCopy) if (!document.contains(dialog)) originalPickerCopy.delete(dialog);
2033
2033
  const dialogs = [...document.querySelectorAll("[role=\"dialog\"]")];
2034
2034
  const activePicker = dialogs.find(isModelPicker);
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.0-rc.8.1",
5
+ "version": "0.1.0-rc.8.2",
6
6
  "author": "tnnevol",
7
7
  "repository": {
8
8
  "type": "git",
@@ -133,4 +133,4 @@
133
133
  "typescript": "^5.9.3",
134
134
  "vitest": "^4.1.8"
135
135
  }
136
- }
136
+ }