jialing-code 1.1.0 → 1.1.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.
@@ -80,12 +80,14 @@ import"./chunk-qz2x630m.js";
80
80
  import"./chunk-7sb5axvf.js";
81
81
  import"./chunk-v9smspw2.js";
82
82
  import {
83
+ getAPIProvider,
83
84
  getCustomApiKeyStatus,
84
85
  getUserAgent,
85
86
  init_auth,
86
87
  init_authPortable,
87
88
  init_config1 as init_config,
88
89
  init_http,
90
+ init_providers,
89
91
  isAnthropicAuthEnabled,
90
92
  normalizeApiKeyForConfig
91
93
  } from "./chunk-3f7rypmf.js";
@@ -190,8 +192,12 @@ init_ink();
190
192
  init_errorUtils();
191
193
  init_http();
192
194
  init_log();
195
+ init_providers();
193
196
  var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
194
197
  async function checkEndpoints() {
198
+ if (getAPIProvider() === "openai") {
199
+ return { success: true };
200
+ }
195
201
  try {
196
202
  const oauthConfig = getOauthConfig();
197
203
  const tokenUrl = new URL(oauthConfig.TOKEN_URL);
@@ -3705,7 +3705,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
3705
3705
  onboardingShown = true;
3706
3706
  const {
3707
3707
  Onboarding
3708
- } = await import("./chunk-jkxqhv6y.js");
3708
+ } = await import("./chunk-67tnhqaa.js");
3709
3709
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Onboarding, {
3710
3710
  onDone: () => {
3711
3711
  completeOnboarding();
package/dist/cli.js CHANGED
@@ -186,7 +186,7 @@ async function main() {
186
186
  const { startCapturingEarlyInput } = await import("./chunk-ywxd4qw4.js");
187
187
  startCapturingEarlyInput();
188
188
  profileCheckpoint("cli_before_main_import");
189
- const { main: cliMain } = await import("./chunk-h8wj1a74.js");
189
+ const { main: cliMain } = await import("./chunk-v41xday5.js");
190
190
  profileCheckpoint("cli_after_main_import");
191
191
  await cliMain();
192
192
  profileCheckpoint("cli_after_main_complete");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jialing-code",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "嘉陵江-code — 终端 AI 编程助手,支持 22+ 大模型厂商,默认本地 Ollama 零配置启动",
5
5
  "type": "module",
6
6
  "author": "嘉陵江-code",