dsh-codex-oauth 0.2.6 → 0.2.7
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/client/index.jsx +1 -1
- package/lib/client.js +1 -2
- package/package.json +1 -1
package/client/index.jsx
CHANGED
|
@@ -45,7 +45,7 @@ function CodexSettings() {
|
|
|
45
45
|
h("span", null, label),
|
|
46
46
|
state.status === "loading" ? null : h("button", { type: "button", disabled: busy || state.status === "signing-in", onClick: signedIn ? signOut : signIn }, signedIn ? "退出登录" : "使用 ChatGPT 登录")),
|
|
47
47
|
state.status === "error" ? h("p", { style: { color: "var(--dsw-alias-state-error-primary)" } }, state.message) : null,
|
|
48
|
-
|
|
48
|
+
);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export const name = "dsh-codex-oauth-client";
|
package/lib/client.js
CHANGED
|
@@ -101,8 +101,7 @@ function CodexSettings() {
|
|
|
101
101
|
h("span", null, label),
|
|
102
102
|
state.status === "loading" ? null : h("button", { type: "button", disabled: busy || state.status === "signing-in", onClick: signedIn ? signOut : signIn }, signedIn ? "\u9000\u51FA\u767B\u5F55" : "\u4F7F\u7528 ChatGPT \u767B\u5F55")
|
|
103
103
|
),
|
|
104
|
-
state.status === "error" ? h("p", { style: { color: "var(--dsw-alias-state-error-primary)" } }, state.message) : null
|
|
105
|
-
h("p", { style: { margin: 0, color: "var(--dsw-alias-label-secondary)", fontSize: 13 } }, "\u51ED\u636E\u4FDD\u5B58\u5728 DSH_HOME/.openai-codex-auth.json\uFF0C\u4E0D\u4F1A\u8BFB\u53D6 Pi \u6216 Codex CLI \u7684\u767B\u5F55\u6587\u4EF6\u3002")
|
|
104
|
+
state.status === "error" ? h("p", { style: { color: "var(--dsw-alias-state-error-primary)" } }, state.message) : null
|
|
106
105
|
);
|
|
107
106
|
}
|
|
108
107
|
var name = "dsh-codex-oauth-client";
|