@sunshaobei/dsh-codex-auth 3.0.8 → 3.0.9

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 +1 -0
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -337,6 +337,7 @@ window.__ModuleLoader__.load({
337
337
  return () => { observer.disconnect(); marked.forEach(button => button.classList.remove("codex-auth-nav")); };
338
338
  }, "dsh-codex-auth: ChatGPT navigation icon");
339
339
  // ---- plugin detail page (plugins.bundle.config, same as dsh-context) ----
340
+ const CFG_KEY = "@sunshaobei/dsh-codex-auth"; // 必须等于包名:页面按 configured = bundles.has(pkg.name) 判断
340
341
  const settingsStore = (() => {
341
342
  let form; let state = {}; const listeners = new Set();
342
343
  const notify = () => listeners.forEach((fn) => fn());
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sunshaobei/dsh-codex-auth",
3
3
  "description": "Codex 订阅授权管理 for the dsh web surface: a dedicated settings page (authorization status, validity/expiry, one-click browser OAuth) plus an expired-credential modal when a GPT model is selected. Host half runs the full OpenAI OAuth flow (PKCE S256, localhost:1455 callback) and writes the llm-pi-ai/openai-codex grant record through ctx.credentials.",
4
- "version": "3.0.8",
4
+ "version": "3.0.9",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",