@deepseek-ai/dsh-session-stats 0.1.3-alpha.2 → 0.1.5-alpha.2

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.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/session/session-stats/README.md
5
- README.md: 829c90ed12ea17b1d03be56f94dcb818df66c03a
6
- README.zh.md: 6ce49ec864644c2cf2d0693daf2574cee771a732
5
+ README.md: 6585b0af7d3385ad6bf9186a3f246f76dadf824e
6
+ README.zh.md: 99652be5dba2a9d34216b4306eae7bd343040d96
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-session-stats` serves whole-log conversation figures — turn and step counts plus LLM, tool, first-token, and decode wall times as the `sessionStats` projection unit. Clients read the figures from the registry's snapshot and change feed, and paging or compaction cannot change them because they fold from the complete durable log. Choose it in compositions that already mount the projection registry, such as the web chat bundle whose stats strip is the reference consumer; assemblies without the registry are unaffected and their consumers fall back to window-scoped counting. Setup and field semantics come first; the fold internals live in a collapsible developer section below.
12
+ This package gives clients whole-session turn and step counts plus LLM, tool, first-token, and decode wall times through the public `sessionStats` value. The figures come from the complete durable log, so paging and compaction do not change them. Use it when a client must display consistent conversation statistics across reloads and reduced history. When whole-session statistics are unavailable, clients can use window-scoped counting instead.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-session-stats` 提供全日志会话数字——轮/步计数以及 LLM、工具、首 token、解码墙钟时间——以 `sessionStats` 投影单元的形式对外提供。客户端从注册表的快照与变更流中读取数字,且由于它们从完整持久日志折叠而来,分页或压缩都无法改变它们。在已挂载投影注册表的组合中选择它,例如 Web 聊天包(其统计条是参考消费者);没有注册表的装配不受影响,其消费者回退到窗口口径计数。设置与字段语义在前;折叠内部细节放在下方可折叠的开发者章节中。
12
+ 本包通过公开的 `sessionStats` 值,为客户端提供全会话轮次与步骤计数,以及 LLM、工具、首 token 和解码墙钟时间。这些数字来自完整的持久日志,因此分页与压缩不会改变它们。当客户端必须在重新加载或缩减历史记录后显示一致的会话统计时,请使用本包。全会话统计不可用时,客户端可改用窗口口径计数。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-stats",
3
3
  "description": "Whole-log conversation counts and wall times projection (sessionStats) for the DeepSeek Harness",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -36,20 +36,20 @@
36
36
  ],
37
37
  "license": "MIT",
38
38
  "peerDependencies": {
39
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
40
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
39
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
40
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
41
41
  "@deepseek-ai/cordis": "^4.0.2",
42
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2"
42
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2"
43
43
  },
44
44
  "dependencies": {
45
45
  "zod": "^4.4.3"
46
46
  },
47
47
  "devDependencies": {
48
+ "@deepseek-ai/cordis-plugin-include": "^1.0.7",
48
49
  "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
49
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
51
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
50
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
51
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
52
52
  "@deepseek-ai/cordis": "^4.0.2",
53
- "@deepseek-ai/cordis-plugin-include": "^1.0.7"
53
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2"
54
54
  }
55
55
  }