dsh-browser-cdp 1.14.11 → 1.14.13

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/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 1.14.13 (2026-11-25)
2
+
3
+ **「重新查看引导」按钮改为圆角描边胶囊(对齐统一引导件新样式)。**
4
+
5
+ - 上一版发出去的仍是旧的下划线文字链接:统一引导真源 `_tools/guide-kit/guide.tsx` 已把 `.sgGuideRestart` 换成 `border-radius:999px` + 1px 描边 + 微底 + hover 主色强调(参照 dsh-prime-memory `8a530f0` 的按钮调整),但本仓 `lib/client.js` 没跟着重建,于是 1.14.12 在分节顶部把这个链接挤成一个小方框。
6
+ - 本版只重建产物并补一个补丁版:`src/client/guide.tsx` 与真源逐字一致(`guide-kit sync --check` 通过),引导步骤、跳过标记、入口位置均与 1.14.12 一致,无行为变更。
7
+
8
+ ## 1.14.12 (2026-11-25)
9
+
10
+ **引导重开入口从分节底部移到上方。**
11
+
12
+ - 「重新查看引导」现在排在分节首位(`GuidePanel` 之前),与其余八个接了统一引导的插件同形态——跳过之后不必滚到分节底才能重开。跳过标记、十语外壳与三步正文逐字未动(`dsh.guide.browser-cdp.skipped`)。
13
+
1
14
  ## 1.14.11 (2026-11-24)
2
15
 
3
16
  **三件事同版出厂:① 页面动作药丸(页面与面板说同一句话)② 首次使用引导(设置分节三步教学)③ 侧栏元数据面(8 项:这页什么状态、谁在驱动)。**
package/dsh-plugin.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://dsh.community/schemas/dsh-plugin-0.15.json",
3
3
  "id": "dsh-browser-cdp",
4
4
  "name": "dsh-browser-cdp",
5
- "version": "1.14.11",
5
+ "version": "1.14.13",
6
6
  "manifestVersion": "0.15",
7
7
  "facets": {
8
8
  "host": {
package/lib/client.js CHANGED
@@ -538,7 +538,8 @@ const GUIDE_CSS = `
538
538
  .sgGuideBtn{appearance:none;font:inherit;font-size:12px;padding:5px 12px;border-radius:8px;border:1px solid var(--dsw-alias-border-l2, rgba(127,127,127,.3));background:transparent;color:var(--dsw-alias-label-primary, currentColor);cursor:pointer}
539
539
  .sgGuideBtn-primary{background:var(--dsw-alias-button-primary-fill, #4d6bfe);border-color:transparent;color:#fff}
540
540
  .sgGuideBtn-skip{margin-right:auto;color:var(--dsw-alias-label-tertiary, rgba(127,127,127,.9));border-color:transparent;text-decoration:underline}
541
- .sgGuideRestart{appearance:none;font:inherit;font-size:12px;padding:0;border:0;background:transparent;color:var(--dsw-alias-link-primary, #4d6bfe);cursor:pointer;text-decoration:underline}
541
+ .sgGuideRestart{appearance:none;font:inherit;font-size:12px;line-height:1.4;padding:4px 12px;border-radius:999px;border:1px solid var(--dsw-alias-border-l2, rgba(127,127,127,.35));background:var(--dsw-alias-bg-layer-2, rgba(127,127,127,.06));color:var(--dsw-alias-label-primary, currentColor);cursor:pointer;text-decoration:none}
542
+ .sgGuideRestart:hover{border-color:var(--dsw-alias-button-primary-fill, #4d6bfe);color:var(--dsw-alias-button-primary-fill, #4d6bfe)}
542
543
  `;
543
544
  function injectGuideCss() {
544
545
  try {
@@ -572,7 +573,7 @@ function useLangTick() {
572
573
  }, []);
573
574
  }
574
575
  /**
575
- * 引导主体:3 步以内的小教学 + 恒定可见的 Skip。
576
+ * 引导主体:≤10 步的小教学(惯例:末条讲「用量端点」贴士)+ 恒定可见的 Skip。
576
577
  *
577
578
  * `onClose` 由宿主卡面传:Skip/Done 都会调用它(Skip 同时写标记)。
578
579
  */
@@ -2624,7 +2625,15 @@ function FamilySettingsCard(props) {
2624
2625
  return h("div", { style: {
2625
2626
  display: "grid",
2626
2627
  gap: "8px"
2627
- } }, guideOpen ? h(GuidePanel, {
2628
+ } }, h("div", {
2629
+ key: "guide-restart",
2630
+ style: { paddingBottom: "2px" }
2631
+ }, h(GuideRestartButton, {
2632
+ ns: "browser-cdp",
2633
+ onOpen: function() {
2634
+ setGuideOpen(true);
2635
+ }
2636
+ })), guideOpen ? h(GuidePanel, {
2628
2637
  key: "guide",
2629
2638
  ns: "browser-cdp",
2630
2639
  steps: guideSteps(BROWSER_CDP_GUIDE_STEPS),
@@ -2645,15 +2654,7 @@ function FamilySettingsCard(props) {
2645
2654
  writable,
2646
2655
  scope
2647
2656
  });
2648
- }), h("div", {
2649
- key: "guide-restart",
2650
- style: { paddingTop: "2px" }
2651
- }, h(GuideRestartButton, {
2652
- ns: "browser-cdp",
2653
- onOpen: function() {
2654
- setGuideOpen(true);
2655
- }
2656
- })));
2657
+ }));
2657
2658
  }
2658
2659
  function FamGroup(props) {
2659
2660
  var group = props.group;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-browser-cdp",
3
- "version": "1.14.11",
3
+ "version": "1.14.13",
4
4
  "description": "dsh-browser-cdp: visible agent browser for DSH — drives the vendored ego-compatible Chromium over CDP, and can also attach to a running Chrome/Edge/Brave or route through egolite, Tabbit and Lightpanda backends. 35 structured bcdp_* tools; only bcdp_status stays resident by default (lazy injection, −91.9% schema per turn for non-browser sessions). Realtime watch panel with direct click/scroll/IME input, element picks quoted into the composer, human-verification notices; non-CDP channels sync frames by 3s polling. Web shell: floating watch ball without dsh-better-sidebar, sidebar tab with it. Headless/TUI hosts: tools-only. [DSH 0.1.0-rc.2 ~ 0.2.2-rc.1: declarative settings via Config .volatile() fields on 0.1.7+; imperative installSection / module-level registration + describe/mutate bridge on 0.1.0 ~ 0.1.5 (experimental, pending farm). Client peers stay optional so gen-1 hosts without dsh-client-store still load; for a production install on the current line use the 0.17.x line]",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",