@kenz1117/dsh-ui-usage-billing 1.8.14 → 1.8.15

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.en.md CHANGED
@@ -131,12 +131,12 @@ Settings are stored in `DSH_HOME/.dsh-usage-peak-schedule.json`, configurable vi
131
131
 
132
132
  ## 🚀 Quick start
133
133
 
134
- One codebase currently supports DSH `0.1.2-alpha.1` through `0.2.3-alpha.3`. Stable and preview releases share the same compatibility matrix: stable releases use npm `latest`, while previews use `alpha`. npm `latest` currently points to stable `1.8.14` (everything in `1.8.13`, the verified `1.8.3-alpha.19` preview, and PR #151 — write endpoints behind a reverse proxy with `trustedHosts` no longer return 403); `alpha` remains at `1.8.3-alpha.19`, whose content is covered by this stable release, and the next preview starts at `1.8.3-alpha.20`.
134
+ One codebase currently supports DSH `0.1.2-alpha.1` through `0.2.3-alpha.3`. Stable and preview releases share the same compatibility matrix: stable releases use npm `latest`, while previews use `alpha`. npm `latest` currently points to stable `1.8.15` (everything in `1.8.14`, the verified `1.8.3-alpha.21` preview — four sidebar entry forms and per-source off-peak queue judging — plus `1.8.3-alpha.22` with relay quota probe exclusions); `alpha` remains at `1.8.3-alpha.22`, whose content is covered by this stable release, and the next preview starts at `1.8.3-alpha.23`.
135
135
 
136
136
  `dsh plugin add` requires an explicit `--profile`. Pinning an exact version is recommended so a package manager's release cooldown cannot resolve a different version. Install the current stable release with:
137
137
 
138
138
  ```sh
139
- dsh plugin --profile web add npm:@kenz1117/dsh-ui-usage-billing@1.8.14
139
+ dsh plugin --profile web add npm:@kenz1117/dsh-ui-usage-billing@1.8.15
140
140
  ```
141
141
 
142
142
  Default installations can also use `@latest`. Check the host with `dsh --version` or `npm ls -g @deepseek-ai/dsh`.
@@ -276,7 +276,7 @@ For on-machine debugging: `dsh plugin --profile web add "link:<absolute path to
276
276
 
277
277
  ## 📦 Release
278
278
 
279
- This standalone npm package maintains one `main` codebase. Stable releases use non-prerelease versions and npm `latest`; previews use prerelease versions and npm `alpha`. npm `latest` currently points to stable `1.8.14`, while `alpha` remains at `1.8.3-alpha.19`; see [COMPATIBILITY.md](COMPATIBILITY.md).
279
+ This standalone npm package maintains one `main` codebase. Stable releases use non-prerelease versions and npm `latest`; previews use prerelease versions and npm `alpha`. npm `latest` currently points to stable `1.8.15`, while `alpha` remains at `1.8.3-alpha.22`; see [COMPATIBILITY.md](COMPATIBILITY.md).
280
280
 
281
281
  ```sh
282
282
  pnpm test && pnpm run build # full tests + build before release
@@ -291,7 +291,7 @@ The host discovers the browser side automatically via the `dsh.client` declarati
291
291
 
292
292
  - **Permission level: high**: reads durable Session logs, calls vendor / subscription / balance / pricing APIs, reads `apiKeyEnv` through the credentials seam, and writes the ledger, snapshots and task queue under the harness home. The plugin itself has **no** command-execution / shell capability; only explicit enqueueing creates a host Session and submits a Prompt, while Agent tools remain governed by the host's existing permissions and approvals.
293
293
  - **Update channel: `user-reviewed`**: with file / network / credential capabilities, DSH STORE requires local manual confirmation on every install; review the repo, pinned commit, lifecycle scripts, and impact scope before installing.
294
- - **Compatibility**: stable and preview releases from the current `main` share one matrix covering DSH `0.1.2-alpha.1` through `0.2.3-alpha.3`, with 41 per-version declarations. The current stable release is `1.8.14` (npm `latest`; `1.8.13`, the verified `1.8.3-alpha.19` preview, and PR #151 — write endpoints behind a reverse proxy with `trustedHosts` no longer return 403); the preview channel remains `1.8.3-alpha.19` (npm `alpha`), whose content is covered by this stable release. Release channels and monitoring are documented in [COMPATIBILITY.md](COMPATIBILITY.md). Node.js `^22.19.0 || >=24.0.0`.
294
+ - **Compatibility**: stable and preview releases from the current `main` share one matrix covering DSH `0.1.2-alpha.1` through `0.2.3-alpha.3`, with 41 per-version declarations. The current stable release is `1.8.15` (npm `latest`; `1.8.14`, the verified `1.8.3-alpha.21` preview, and `1.8.3-alpha.22`); the preview channel remains `1.8.3-alpha.22` (npm `alpha`), whose content is covered by this stable release. Release channels and monitoring are documented in [COMPATIBILITY.md](COMPATIBILITY.md). Node.js `^22.19.0 || >=24.0.0`.
295
295
  - **Lifecycle**: no `preinstall` / `install` / `postinstall` / `prepare` (ready on install).
296
296
  - **No impersonation**: adds only its own entry id `ui-usage-billing`; `@deepseek-ai/dsh-*` packages are `peerDependencies` only (no reinstall / replace / shadowing of official components); the package uses the third-party namespace `@kenz1117/*`.
297
297
  - **Build artifacts**: runtime files `lib/*` and `cordis.patch.yml` are committed at the pinned commit and declared in `files`.
package/README.md CHANGED
@@ -130,12 +130,12 @@
130
130
 
131
131
  ## 🚀 快速开始
132
132
 
133
- 当前维护 DSH `0.1.2-alpha.1` ~ `0.2.3-alpha.3` 的一份代码。正式版与预览版共享同一兼容矩阵:正式版使用 npm `latest`,预览版使用 `alpha`。当前 `latest` 指向 `1.8.14` 正式版(= `1.8.13` + 已验收的 `1.8.3-alpha.19` + PR #151 反代写操作 403 修复);`alpha` 仍指向 `1.8.3-alpha.19`(其内容已由本正式版覆盖),下一轮预览从 `1.8.3-alpha.20` 起。
133
+ 当前维护 DSH `0.1.2-alpha.1` ~ `0.2.3-alpha.3` 的一份代码。正式版与预览版共享同一兼容矩阵:正式版使用 npm `latest`,预览版使用 `alpha`。当前 `latest` 指向 `1.8.15` 正式版(= `1.8.14` + 已验收的 `1.8.3-alpha.21`:侧栏入口四档形态、低谷队列按来源判档,并含 `1.8.3-alpha.22` 的中转站额度探测排除项);`alpha` 仍指向 `1.8.3-alpha.22`(其内容已由本正式版覆盖),下一轮预览从 `1.8.3-alpha.23` 起。
134
134
 
135
135
  `dsh plugin add` 需要显式 `--profile`,且建议钉具体版本号,避免包管理器的发布冷静期解析到其他版本。当前正式版安装命令:
136
136
 
137
137
  ```sh
138
- dsh plugin --profile web add npm:@kenz1117/dsh-ui-usage-billing@1.8.14
138
+ dsh plugin --profile web add npm:@kenz1117/dsh-ui-usage-billing@1.8.15
139
139
  ```
140
140
 
141
141
  默认安装也可使用 `@latest`。可用 `dsh --version` 或 `npm ls -g @deepseek-ai/dsh` 确认宿主版本。
@@ -295,7 +295,7 @@ pnpm run build # tsc -b && tsdown,产出 lib/index.js 与 lib/client.js
295
295
 
296
296
  ## 📦 发布
297
297
 
298
- 本包为独立 npm 包,只维护一份 `main` 代码。正式版使用非预发布版本号并切 `latest`,预览版使用预发布版本号并切 `alpha`;当前 `latest` 指向 `1.8.14` 正式版,`alpha` 仍指向 `1.8.3-alpha.19`,详见 [COMPATIBILITY.md](COMPATIBILITY.md)。
298
+ 本包为独立 npm 包,只维护一份 `main` 代码。正式版使用非预发布版本号并切 `latest`,预览版使用预发布版本号并切 `alpha`;当前 `latest` 指向 `1.8.15` 正式版,`alpha` 仍指向 `1.8.3-alpha.22`,详见 [COMPATIBILITY.md](COMPATIBILITY.md)。
299
299
 
300
300
  ```sh
301
301
  pnpm test && pnpm run build # 发版前全量测试 + 构建
@@ -310,7 +310,7 @@ npm dist-tag add @kenz1117/dsh-ui-usage-billing@<版本> latest # 正式版
310
310
 
311
311
  - **权限等级:high**:读取持久会话日志(文件)、访问多厂商官方 / 订阅 / 余额 / 定价 API(网络)、经凭据 seam 读取 `apiKeyEnv`(凭据)、写入 harness home 下的账本、快照与任务队列(持久状态)。插件自身**不含**命令执行 / Shell;仅用户显式入队时才经宿主创建会话并提交 Prompt,Agent 的工具调用仍由宿主原有权限与审批控制。
312
312
  - **更新通道:`user-reviewed`**:本插件具备文件 / 网络 / 凭据能力,DSH STORE 采用每次安装需本机人工确认的通道;安装前请复核仓库、固定 Commit、生命周期脚本与影响范围。
313
- - **兼容范围**:当前 `main` 的正式版与预览版共享同一兼容矩阵,适配 DSH `0.1.2-alpha.1` ~ `0.2.3-alpha.3`,共 41 项逐版本声明。当前正式版为 `1.8.14`(npm `latest`,= `1.8.13` + 已验收的 `1.8.3-alpha.19` + PR #151 反代写操作 403 修复),预览通道仍为 `1.8.3-alpha.19`(npm `alpha`,其内容已由本正式版覆盖)。发行通道与监控机制见 [COMPATIBILITY.md](COMPATIBILITY.md)。Node.js `^22.19.0 || >=24.0.0`。
313
+ - **兼容范围**:当前 `main` 的正式版与预览版共享同一兼容矩阵,适配 DSH `0.1.2-alpha.1` ~ `0.2.3-alpha.3`,共 41 项逐版本声明。当前正式版为 `1.8.15`(npm `latest`,= `1.8.14` + 已验收的 `1.8.3-alpha.21` + `1.8.3-alpha.22`),预览通道仍为 `1.8.3-alpha.22`(npm `alpha`,其内容已由本正式版覆盖)。发行通道与监控机制见 [COMPATIBILITY.md](COMPATIBILITY.md)。Node.js `^22.19.0 || >=24.0.0`。
314
314
  - **生命周期**:无 `preinstall` / `install` / `postinstall` / `prepare`(安装即用)。
315
315
  - **不冒用官方**:仅新增自有 entry id `ui-usage-billing`;对 `@deepseek-ai/dsh-*` 仅为 `peerDependencies` 依赖(不重复安装 / 不替换 / 不遮蔽官方组件),包名使用第三方命名空间 `@kenz1117/*`。
316
316
  - **打包产物**:运行文件 `lib/*` 与 `cordis.patch.yml` 已随固定 Commit 提交并声明在 `files`。