@mofeng2223/dsh-claude-provider 0.5.3 → 0.5.4

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 +11 -13
  2. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -1864,6 +1864,7 @@ window.__ModuleLoader__.load({
1864
1864
  props.onClose(false);
1865
1865
  },
1866
1866
  onSubmit: () => {
1867
+ props.onSubmitCredential?.();
1867
1868
  apply();
1868
1869
  }
1869
1870
  })
@@ -2666,13 +2667,6 @@ window.__ModuleLoader__.load({
2666
2667
  };
2667
2668
  //#endregion
2668
2669
  //#region lib/types/client/DeepSeekOnboardingDialog.js
2669
- /**
2670
- * Official-DeepSeek first-run step. Readiness comes from the same
2671
- * provider/settings/credential join as the Models page: any provider the user
2672
- * can already talk to ends the step, and only a user with none is offered the
2673
- * official DeepSeek route. The step reuses that page's credential editor in
2674
- * the onboarding plugin's shared modal, so the key is entered once.
2675
- */
2676
2670
  /* v8 ignore next 3 -- closed-union defaults only defend future source widening */
2677
2671
  function assertNever$1(_value) {
2678
2672
  throw new Error("unexpected DeepSeek onboarding state");
@@ -2745,6 +2739,9 @@ window.__ModuleLoader__.load({
2745
2739
  readOnly: false,
2746
2740
  hideTitle: true,
2747
2741
  credentialOnly: true,
2742
+ onSubmitCredential: () => {
2743
+ props.track?.("api_key_save_click", {});
2744
+ },
2748
2745
  credentialRequired: true,
2749
2746
  autoFocusCredential: true,
2750
2747
  cancelLabelKey: "onboardingLater",
@@ -2780,7 +2777,7 @@ window.__ModuleLoader__.load({
2780
2777
  };
2781
2778
  //#endregion
2782
2779
  //#region lib/types/client/WelcomeNotice.js
2783
- /** Product-wide, versioned internal-testing notice. */
2780
+ /** Product-wide, versioned preview notice. */
2784
2781
  /**
2785
2782
  * Render the current notice until its exact copy version is acknowledged.
2786
2783
  * @param props - settings-shell owner state and welcome dependencies.
@@ -2844,7 +2841,7 @@ window.__ModuleLoader__.load({
2844
2841
  * Bump only when the notice changes materially and every user should see it
2845
2842
  * again. The acknowledgement is compared for exact equality.
2846
2843
  */
2847
- const WELCOME_NOTICE_VERSION = "2026-08-13.1";
2844
+ const WELCOME_NOTICE_VERSION = "2026-09-28.1";
2848
2845
  //#endregion
2849
2846
  //#region lib/types/client/welcome-store.js
2850
2847
  /**
@@ -3155,8 +3152,8 @@ window.__ModuleLoader__.load({
3155
3152
  settingsPathUnresolvable: "unresolvable settings path",
3156
3153
  create: "Create provider",
3157
3154
  creating: "Creating…",
3158
- welcomeTitle: "Internal Testing Notice",
3159
- welcomeBody: "DeepSeek Harness 0.1 remains in testing for Harness developers. Many areas need further improvement, and we welcome feedback from the developer community. DeepSeek Harness's core plugins and foundational APIs will continue to evolve rapidly over the coming months.\n\nWe look forward to exploring the limits of intelligence with developers around the world, building on open-source, open, reusable, and composable infrastructure. We welcome Harness developers everywhere to join the DSH plugin ecosystem.",
3155
+ welcomeTitle: "Preview Notice",
3156
+ welcomeBody: "DeepSeek Harness 0.2 is still in preview, and many areas need continued improvement and refinement. We welcome feedback and suggestions from all developers and users. The new desktop app now targets a broad range of users, while developer-related advanced features can be enabled in the settings. DeepSeek Harness’s product features and plugin APIs are expected to continue rapid iteration and evolution, and will gradually stabilize over time.\n\nWe look forward to exploring the limits of intelligence together with users and developers around the world, building on open-source, reusable, and composable infrastructure. We welcome everyone to bring their ideas to life with DeepSeek Harness and participate in the community to enrich the plugin ecosystem.",
3160
3157
  welcomeContinue: "Continue",
3161
3158
  welcomeError: "The acknowledgement could not be saved. Please try again.",
3162
3159
  onboardingTitle: "Add an API key to get started",
@@ -3284,8 +3281,8 @@ window.__ModuleLoader__.load({
3284
3281
  settingsPathUnresolvable: "无法解析设置路径",
3285
3282
  create: "创建提供商",
3286
3283
  creating: "创建中…",
3287
- welcomeTitle: "内测声明",
3288
- welcomeBody: "DeepSeek Harness 目前的 0.1 版本仍处在面向 Harness 开发者进行测试的阶段,还有许多地方需要持续改进和打磨,希望听取广大开发者的反馈建议。预计 DeepSeek Harness 的核心插件以及基础 API 都会在接下来的一段时间内快速迭代、持续演化。\n\n我们期待与全球开发者一起,在开源、开放、可复用、可组合的基础设施之上,共同探索智能上限。欢迎全球 Harness 开发者加入 DSH 插件生态。",
3284
+ welcomeTitle: "预览版说明",
3285
+ welcomeBody: "DeepSeek Harness 目前的 0.2 版本仍处于预览阶段,还有许多地方需要持续改进和打磨,希望听取广大开发者和用户的反馈建议。现在,新的桌面端面向广泛用户,开发者相关的进阶功能可在配置中开启使用。预计 DeepSeek Harness 的产品功能以及插件 API 都会继续快速迭代、持续演化,并逐渐趋于稳定。\n\n我们期待与全球用户和开发者一起,在开源、可复用、可组合的基础设施之上,共同探索智能上限。欢迎大家用 DeepSeek Harness 将想法变成现实,与社区一起丰富插件生态。",
3289
3286
  welcomeContinue: "继续",
3290
3287
  welcomeError: "暂时无法保存确认状态,请重试。",
3291
3288
  onboardingTitle: "添加一个 API Key 开始使用",
@@ -4248,6 +4245,7 @@ window.__ModuleLoader__.load({
4248
4245
  });
4249
4246
  const deepSeekOnboardingInjected = () => ({
4250
4247
  automatic: credentialOnboarding,
4248
+ track: (name, attributes) => ctx.get("productAnalytics")?.track(name, attributes),
4251
4249
  controller,
4252
4250
  hooks: { models: controller.store },
4253
4251
  operations,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mofeng2223/dsh-claude-provider",
3
- "version": "0.5.3",
4
- "description": "Custom Claude provider support for DeepSeek Harness 0.1.7-rc.2",
3
+ "version": "0.5.4",
4
+ "description": "Custom Claude provider support for DeepSeek Harness 0.2.0-rc.1",
5
5
  "author": "mofeng2223",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -62,6 +62,6 @@
62
62
  }
63
63
  },
64
64
  "devDependencies": {
65
- "@deepseek-ai/dsh-client-ui-settings-models": "0.1.7-rc.2"
65
+ "@deepseek-ai/dsh-client-ui-settings-models": "0.2.0-rc.1"
66
66
  }
67
67
  }