@windypro-rourou/dsh-logcat 0.6.0 → 0.6.1

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/README.md CHANGED
@@ -74,12 +74,11 @@ dsh plugin --profile web update # 升到当前 major 内最新
74
74
  dsh plugin --profile web add @windypro-rourou/dsh-logcat@preview
75
75
  ```
76
76
 
77
- ## 发布策略(main / preview 双通道)
77
+ ## 发布策略(main / latest 为主)
78
78
 
79
- - **`main` 分支 + npm `latest` 标签**:稳定正式版,**低频发布**,每次至少凑够 3-4 个功能再发,
80
- 避免频繁更新提醒打扰用户。
81
- - **`preview` 分支 + npm `preview` 标签**:日常迭代,有啥更啥(高频),供尝鲜用户测试;
82
- 凑够足够功能后合并回 `main` 批量发布正式版。
79
+ - **`main` 分支 + npm `latest` 标签**:正式版,更新的主要通道 —— 功能攒够一批就发,直接推 main/latest。
80
+ - **`preview` 分支 + npm `preview` 标签**:可选尝鲜通道(高频小步迭代)。正式版发布后如无新的试验特性,
81
+ preview 标签可能停留在上一个预览版本,不必理会。
83
82
  - 版本自检会按安装通道提示(正式版用户只看 `latest`,preview 用户只看 `preview`,互不打扰)。
84
83
 
85
84
  ```bash
package/lib/client.js CHANGED
@@ -90,7 +90,7 @@ window.__ModuleLoader__.load({
90
90
  .lc-line.crash .tag { color: #ef5350; font-weight: 700; }
91
91
  .lc-line.crash .msg { color: #ef5350; }
92
92
  .lc-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: light-dark(#9aa0a8, #7c838d); font-size: 13px; }
93
- .lc-status { display: flex; align-items: center; gap: 14px; padding: 5px 14px; border-top: 1px solid light-dark(rgba(0,0,0,.1), rgba(255,255,255,.12)); flex: none; font-size: 11px; color: light-dark(#6b7078, #9aa0a8); }
93
+ .lc-status { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 5px 14px; border-top: 1px solid light-dark(rgba(0,0,0,.1), rgba(255,255,255,.12)); flex: none; font-size: 11px; color: light-dark(#6b7078, #9aa0a8); }
94
94
  .lc-status b { font-weight: 600; color: inherit; }
95
95
  .lc-tabs { display: flex; gap: 4px; padding: 6px 12px 0; border-bottom: 1px solid light-dark(rgba(0,0,0,.08), rgba(255,255,255,.1)); flex: none; }
96
96
  .lc-tab { border: 0; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 7px 7px 0 0; cursor: pointer; opacity: .75; }
@@ -1127,7 +1127,7 @@ window.__ModuleLoader__.load({
1127
1127
  h("div", { className: "lc-status" },
1128
1128
  h("span", null,
1129
1129
  h("b", null, adbReady ? "adb 就绪" : "未找到 adb"),
1130
- " · " + (adbPath || "—"),
1130
+ h("span", { title: adbPath || undefined }, " · " + (adbPath !== "" ? (adbPath || "—").split(/[\\/]/).pop() : "—")),
1131
1131
  !adbReady
1132
1132
  ? h("button", {
1133
1133
  type: "button",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@windypro-rourou/dsh-logcat",
3
3
  "description": "Android Logcat viewer for the dsh web GUI: auto-connects to any adb device in debug mode, live logcat stream with level/keyword filters, pause/clear/export, plus agent tools (logcat_recent). Hot-pluggable — mounted via ~/.dsh/cordis.patch.yml + a profile node_modules copy, no dsh source changes.",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.22.0",
7
7
  "engines": {