@deepseek-ai/dsh-tool-session-query 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-query/tool-session-query/README.md
5
- README.md: 92df4e1781a7d507d43cf3907f553affc1604492
6
- README.zh.md: a27765220160a24be135cadb76a8839c150cacea
5
+ README.md: 61aca36ef987c260d50ec3e0aec69c8626171e3c
6
+ README.zh.md: e622f19464a3bbbfa0e315e439f9cf19edb16ddc
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-tool-session-query` gives the model five read-only tools over session history: `session_search`, `session_event_search`, `session_trace`, `session_event_trace`, and `session_event_read`. The tools are workspace-authorized — a model can only reach sessions whose `cwd` exactly matches its own caller session — and results are cursor-free plain text, so the model can search prior work and follow a useful hit into its lineage or exact event data. The package is opt-in and not mounted by shipped host compositions: mounting it adds one concise guidance section and the five schemas to every request. Configuration and usage come first; the implementation internals live in a collapsible developer section below.
12
+ Use `dsh-tool-session-query` to let a model search earlier sessions, inspect event matches, trace session or event relationships, and read exact event data. Its five read-only tools return cursor-free text and authorize cross-session access only when the target session's `cwd` exactly matches the caller's; callers without a `cwd` can inspect only themselves. Search excludes the caller session and asks the model to narrow its query when the deployment result cap is reached. The package is opt-in, and enabling it adds fixed guidance plus five tool schemas to every model request.
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-tool-session-query` 给模型提供五个会话历史只读工具:`session_search`、`session_event_search`、`session_trace`、`session_event_trace` 与 `session_event_read`。工具经工作区授权——模型只能访问 `cwd` 与其自身调用方会话完全相同的会话——结果是无游标的纯文本,因此模型可以搜索既往工作,并顺着有用命中进入其血缘或精确事件数据。本包是 opt-in,已发布宿主组合默认不挂载:挂载后每次请求都会增加一个精简指引章节与五个 schema。配置与用法在前;实现内部细节放在下方可折叠的开发者章节中。
12
+ 使用 `dsh-tool-session-query` 可让模型搜索既往会话、检查事件匹配、追踪会话或事件关系,并读取精确事件数据。它的五个只读工具返回无游标文本;只有目标会话的 `cwd` 与调用方完全匹配时才允许跨会话访问,没有 `cwd` 的调用方只能检查自己。搜索会排除调用方会话,并在达到部署结果上限时要求模型缩小查询。本包是 opt-in;启用后,每次模型请求都会增加固定指引与五个工具 schema。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-session-query",
3
3
  "description": "Workspace-authorized model-facing session history search, trace, and event read tools",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -28,34 +28,34 @@
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
30
  "@deepseek-ai/cordis": "^4.0.2",
31
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
32
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
33
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
34
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
35
- "@deepseek-ai/dsh-session-query": "^0.1.3-alpha.2",
36
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
37
- "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.2",
38
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2"
31
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.2",
32
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
33
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
34
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2",
35
+ "@deepseek-ai/dsh-session-query": "^0.1.5-alpha.2",
36
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
37
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.2",
38
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.2"
39
39
  },
40
40
  "dependencies": {
41
- "@deepseek-ai/dsh-brand": "^0.1.3-alpha.2",
41
+ "@deepseek-ai/dsh-brand": "^0.1.5-alpha.2",
42
42
  "@deepseek-ai/schemastery": "^3.18.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@deepseek-ai/cordis": "^4.0.2",
46
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
47
- "@deepseek-ai/dsh-agent-loop": "^0.1.3-alpha.2",
48
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
49
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-session-persistence": "^0.1.3-alpha.2",
51
- "@deepseek-ai/dsh-session-query": "^0.1.3-alpha.2",
52
- "@deepseek-ai/dsh-session-query-sqlite": "^0.1.3-alpha.2",
53
- "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.3-alpha.2",
54
- "@deepseek-ai/dsh-session-title": "^0.1.3-alpha.2",
55
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
56
- "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.2",
57
- "@deepseek-ai/dsh-tool-call-timeout-policy": "^0.1.3-alpha.2",
58
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
59
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2"
46
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.2",
47
+ "@deepseek-ai/dsh-agent-loop": "^0.1.5-alpha.2",
48
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
49
+ "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.5-alpha.2",
50
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
51
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2",
52
+ "@deepseek-ai/dsh-session-persistence": "^0.1.5-alpha.2",
53
+ "@deepseek-ai/dsh-session-query": "^0.1.5-alpha.2",
54
+ "@deepseek-ai/dsh-session-query-sqlite": "^0.1.5-alpha.2",
55
+ "@deepseek-ai/dsh-session-title": "^0.1.5-alpha.2",
56
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
57
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.2",
58
+ "@deepseek-ai/dsh-tool-call-timeout-policy": "^0.1.5-alpha.2",
59
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.2"
60
60
  }
61
61
  }