dsh-xray 0.9.0 → 0.9.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
@@ -63,6 +63,7 @@ The cost view answers the question no other tool asks: **who put this in my cont
63
63
  - **Attribution** — every prompt section and tool schema is joined to the plugin that registered it, reconstructed live from the registries (ambiguous entries stay `unattributed`, never guessed).
64
64
  - **By-plugin rollup** — each plugin's per-request context tax: sections + schemas + tokens + share, ranked.
65
65
  - **Entry inspection** — `/xray/api/entry` returns any entry's live text with a chars/tokens ruler. Computed per request, never persisted.
66
+ - **Skill cost** — a dedicated view prices every skill twice: its catalog line (resident on every request once any model-invocable skill exists) and its body (billed per load). Pricing only — toggling belongs to the ecosystem's skill managers.
66
67
  - **Explained UI** — every view opens with a one-line "what am I looking at"; terms carry plain-language tooltips; the whole tab is localized (English / 中文) through the host locale service.
67
68
 
68
69
  The same data flows through three surfaces: the **X-Ray tab** (native GUI), the standalone **`/xray` page** (works even when the client-module pipeline it diagnoses is broken), and the **CLI**.
@@ -206,6 +207,7 @@ Diagnostic imaging for a running composition — complementary to [dsh-doctor](h
206
207
  | Feature | Category |
207
208
  | --- | --- |
208
209
  | Context-tax attribution & entry inspection | 💰 Optimization |
210
+ | Skill cost (catalog line + body pricing) | 💰 Optimization |
209
211
  | Layer attribution | 🔍 Inspection |
210
212
  | Declared vs. actual diff | 🔍 Inspection |
211
213
  | Conflict detection | 🔍 Inspection |
package/README.zh.md CHANGED
@@ -62,6 +62,7 @@ cost 视图回答一个别的工具都不问的问题:**这段上下文是谁放
62
62
  - **来源归因** —— 每个 prompt section 和工具 schema 都关联到注册它的插件,实时从 registry 重建(无法唯一归因的条目诚实标注 `unattributed`,绝不猜测)。
63
63
  - **按插件汇总** —— 每个插件的每请求上下文税:sections + schemas + tokens + 占比,排序呈现。
64
64
  - **条目原文查看** —— `/xray/api/entry` 返回任意条目的实时文本,附字符/token 标尺。按请求现算,绝不落盘。
65
+ - **skill 成本** —— 专属视图为每个 skill 计两笔价:catalog 行(只要存在模型可调用的 skill 就随每次请求常驻)与正文(每次加载计费)。只计价——启停归生态里的 skill 管理器。
65
66
  - **界面自解释** —— 每个视图开头一句"你在看什么";术语带白话提示;整个标签页通过宿主 locale 服务双语呈现(English / 中文)。
66
67
 
67
68
  同一份数据流经三个界面:**X 光标签页**(原生 GUI)、独立 **`/xray` 页面**(连它所诊断的 client-module 加载链路挂了都能用)、以及 **CLI**。
@@ -205,6 +206,7 @@ npx dsh-xray health # 读取运行时快照
205
206
  | 能力 | 类别 |
206
207
  | --- | --- |
207
208
  | 上下文税归因 & 条目原文查看 | 💰 优化 |
209
+ | skill 成本(catalog 行 + 正文计价) | 💰 优化 |
208
210
  | 层归因 | 🔍 检视 |
209
211
  | 声明 vs 实际 diff | 🔍 检视 |
210
212
  | 冲突检测 | 🔍 检视 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-xray",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "X-ray for your DeepSeek Harness — see what's actually loaded, why, and what it costs you.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -52,7 +52,15 @@
52
52
  "security-scan",
53
53
  "token-cost",
54
54
  "lockfile",
55
- "troubleshooting"
55
+ "troubleshooting",
56
+ "context-cost",
57
+ "token-attribution",
58
+ "context-engineering",
59
+ "llm-observability",
60
+ "skill-catalog",
61
+ "prompt-sections",
62
+ "agent-diagnostics",
63
+ "disable-cascade"
56
64
  ],
57
65
  "dsh": {
58
66
  "bundle": {