dsh-ollama-usage 0.1.6 → 0.1.7

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/README.md +3 -3
  2. package/package.json +12 -4
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![npm version](https://img.shields.io/npm/v/dsh-ollama-usage?color=7c66e8&label=npm)](https://www.npmjs.com/package/dsh-ollama-usage)
8
8
  [![GitHub release](https://img.shields.io/github/v/release/SeverusZh/dsh-ollama-usage?color=b39df7&label=release)](https://github.com/SeverusZh/dsh-ollama-usage/releases)
9
9
  [![License](https://img.shields.io/badge/license-MIT-9ece6a)](LICENSE)
10
- [![dsh](https://img.shields.io/badge/dsh-%E2%89%A50.1.2--alpha.4-7aa2f7)](https://github.com/deepseek-ai/dsh)
10
+ [![dsh](https://img.shields.io/badge/dsh-%E2%89%A50.1.2--rc.1-7aa2f7)](https://github.com/deepseek-ai/dsh)
11
11
 
12
12
  可视化你的 **Ollama Cloud** 用量余量 —— 每 5 小时会话用量 + 周用量,
13
13
  侧边栏极简双横条常驻显示,设置页完整面板,Key 与快照持久化,自动刷新。
@@ -20,8 +20,8 @@ panel, persisted credentials & snapshots, auto-refresh.*
20
20
 
21
21
  ---
22
22
 
23
- > **兼容性 / Compatibility**:v0.1.6 支持 DSH **≥0.1.2-alpha.4**(真实 alpha.4 RPC envelope 探针全过);旧版 DSH(0.1.0-rc.5 ~ rc.8)请使用最后兼容的 npm 版本 **0.1.5**。
24
- > v0.1.6 targets DSH **≥0.1.2-alpha.4**; for older DSH releases use the last compatible npm version **0.1.5**.
23
+ > **兼容性 / Compatibility**:v0.1.6 支持 DSH **≥0.1.2-alpha.4**,已在当前运行时 **0.1.2-rc.1** 实测(RPC envelope 探针全过);旧版 DSH(0.1.0-rc.5 ~ rc.8)请使用最后兼容的 npm 版本 **0.1.5**。
24
+ > v0.1.6 targets DSH **≥0.1.2-alpha.4**, verified on the current runtime **0.1.2-rc.1**; for older DSH releases use the last compatible npm version **0.1.5**.
25
25
 
26
26
  ## ✨ 功能特性 Features
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-ollama-usage",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "DeepSeek Harness 插件:可视化 Ollama Cloud 账号用量余量(每 5 小时会话用量 + 周用量),支持侧边栏双横条、设置页面板、API Key 与用量快照持久化、自动刷新与登录引导。Ollama Pro usage & remaining-quota visualization for DeepSeek Harness: 5-hour session + weekly quota bars in the sidebar footer, a full settings panel, persisted API key and usage snapshots, auto-refresh and login guidance.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -24,6 +24,14 @@
24
24
  "connection",
25
25
  "timer"
26
26
  ]
27
+ },
28
+ "compatibility": {
29
+ "dshReleases": {
30
+ "0.1.5-rc.1": "compatible",
31
+ "0.1.5-rc.2": "compatible",
32
+ "0.1.6-alpha.2": "compatible"
33
+ },
34
+ "node": ">=20"
27
35
  }
28
36
  },
29
37
  "dshhub": {
@@ -58,8 +66,8 @@
58
66
  "README.md",
59
67
  "LICENSE"
60
68
  ],
61
- "dependencies": {
62
- "@deepseek-ai/dsh-home-paths": "^0.1.2-alpha.4"
69
+ "peerDependencies": {
70
+ "@deepseek-ai/dsh-home-paths": "^0.1.5-rc.1"
63
71
  },
64
72
  "repository": {
65
73
  "type": "git",
@@ -85,4 +93,4 @@
85
93
  "scripts": {
86
94
  "test": "DSH_HOME=.tmp-dsh-home HOME=.tmp-home node test/bridge-smoke.mjs && DSH_HOME=.tmp-env-dsh-home HOME=.tmp-env-home node test/rpc-envelope-alpha4.mjs"
87
95
  }
88
- }
96
+ }