@deepseek-ai/dsh-tool-session-query 0.2.1-alpha.1 → 0.2.1-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 +5 -5
- package/README.md +3 -3
- package/README.zh.md +3 -3
- package/package.json +26 -26
package/README.i18n.yaml
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
|
|
2
2
|
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
3
|
# After editing either side, bring the other along and re-record with:
|
|
4
|
-
# pnpm run verify-translation-pairing --write packages/
|
|
4
|
+
# pnpm run verify-translation-pairing --write packages/experimental/tool-session-query/README.md
|
|
5
5
|
/:
|
|
6
6
|
en: f6e08c67514237ad
|
|
7
7
|
zh: cfcb09b6263a9b00
|
|
8
8
|
/deepseek-ai-dsh-tool-session-query:
|
|
9
|
-
en:
|
|
10
|
-
zh:
|
|
9
|
+
en: b5808fddb3f84df3
|
|
10
|
+
zh: becb2efb056e9db9
|
|
11
11
|
/deepseek-ai-dsh-tool-session-query/summary:
|
|
12
|
-
en:
|
|
13
|
-
zh:
|
|
12
|
+
en: 8f37f26ebcb6c746
|
|
13
|
+
zh: 63f2a7f393822280
|
|
14
14
|
/deepseek-ai-dsh-tool-session-query/table-of-contents:
|
|
15
15
|
en: d152484eb41ac6b4
|
|
16
16
|
zh: 09388d293f9be9cb
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
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.
|
|
12
|
+
Use the experimental `dsh-tool-session-query` tools 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
|
|
|
@@ -102,8 +102,8 @@ Each executor derives the caller, normalizes the model's arguments into service
|
|
|
102
102
|
Read these pages when the package-level contract is not enough. They move from the tool surface to the underlying service, the schema catalog, and the design evidence.
|
|
103
103
|
|
|
104
104
|
- [Generated tool catalog](../../../docs/tool-catalog.md#deepseek-aidsh-tool-session-query) — the five tool schemas as the model sees them.
|
|
105
|
-
- [dsh-session-query](
|
|
106
|
-
- [dsh-session-query-sqlite](
|
|
105
|
+
- [dsh-session-query](../../session-query/session-query/README.md) — the service these tools call.
|
|
106
|
+
- [dsh-session-query-sqlite](../../session-query/session-query-sqlite/README.md) — the full-text backend behind the two search tools.
|
|
107
107
|
- [Session Query subsystem reference](../../../docs/subsystems/session-query.md) — the type-level contract under the tools.
|
|
108
108
|
- [Model-facing session query tools](../../../.agents/notes/archived/feature/2026-07-24-model-facing-session-query-tools.md) — workspace authority, cursor-free results, and spill decisions.
|
|
109
109
|
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@ kind: "package-reference"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
使用实验性的 `dsh-tool-session-query` 工具可让模型搜索既往会话、检查事件匹配、追踪会话或事件关系,并读取精确事件数据。它的五个只读工具返回无游标文本;只有目标会话的 `cwd` 与调用方完全匹配时才允许跨会话访问,没有 `cwd` 的调用方只能检查自己。搜索会排除调用方会话,并在达到部署结果上限时要求模型缩小查询。本包是 opt-in;启用后,每次模型请求都会增加固定指引与五个工具 schema。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -102,8 +102,8 @@ kind: "package-reference"
|
|
|
102
102
|
当包级约定不够用时阅读以下页面。它们从工具表面逐步进入底层服务、schema 目录与设计证据。
|
|
103
103
|
|
|
104
104
|
- [生成的工具目录](../../../docs/tool-catalog.zh.md#deepseek-aidsh-tool-session-query)——模型看到的五个工具 schema。
|
|
105
|
-
- [dsh-session-query](
|
|
106
|
-
- [dsh-session-query-sqlite](
|
|
105
|
+
- [dsh-session-query](../../session-query/session-query/README.zh.md)——这些工具调用的服务。
|
|
106
|
+
- [dsh-session-query-sqlite](../../session-query/session-query-sqlite/README.zh.md)——两个搜索工具背后的全文后端。
|
|
107
107
|
- [会话查询子系统参考](../../../docs/subsystems/session-query.zh.md)——工具之下的类型级约定。
|
|
108
108
|
- [面向模型的会话查询工具](../../../.agents/notes/archived/feature/2026-07-24-model-facing-session-query-tools.md)——工作区授权、无游标结果与 spill 决策。
|
|
109
109
|
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
11
|
-
"directory": "packages/
|
|
11
|
+
"directory": "packages/experimental/tool-session-query"
|
|
12
12
|
},
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "lib/index.js",
|
|
@@ -27,35 +27,35 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/
|
|
31
|
-
"@deepseek-ai/dsh-
|
|
32
|
-
"@deepseek-ai/dsh-
|
|
33
|
-
"@deepseek-ai/dsh-session
|
|
34
|
-
"@deepseek-ai/dsh-session-
|
|
35
|
-
"@deepseek-ai/dsh-
|
|
36
|
-
"@deepseek-ai/dsh-
|
|
37
|
-
"@deepseek-ai/dsh-
|
|
38
|
-
"@deepseek-ai/
|
|
30
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
31
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.2",
|
|
32
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.2",
|
|
33
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.2",
|
|
34
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.2",
|
|
35
|
+
"@deepseek-ai/dsh-session-query": "0.2.1-alpha.2",
|
|
36
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.2",
|
|
37
|
+
"@deepseek-ai/dsh-timeout": "0.2.1-alpha.2",
|
|
38
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.2"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@deepseek-ai/dsh-brand": "0.2.1-alpha.
|
|
41
|
+
"@deepseek-ai/dsh-brand": "0.2.1-alpha.2",
|
|
42
42
|
"@deepseek-ai/schemastery": "~3.18.5-alpha.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
46
|
-
"@deepseek-ai/dsh-agent
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/dsh-
|
|
49
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
50
|
-
"@deepseek-ai/dsh-session-persistence": "0.2.1-alpha.
|
|
51
|
-
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-alpha.
|
|
52
|
-
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.
|
|
53
|
-
"@deepseek-ai/dsh-session-query": "0.2.1-alpha.
|
|
54
|
-
"@deepseek-ai/dsh-session-query-sqlite": "0.2.1-alpha.
|
|
55
|
-
"@deepseek-ai/dsh-session-title": "0.2.1-alpha.
|
|
56
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.
|
|
57
|
-
"@deepseek-ai/dsh-timeout": "0.2.1-alpha.
|
|
58
|
-
"@deepseek-ai/dsh-tool-call-timeout-policy": "0.2.1-alpha.
|
|
59
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
46
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.2",
|
|
47
|
+
"@deepseek-ai/dsh-agent-loop": "0.2.1-alpha.2",
|
|
48
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.2",
|
|
49
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.2",
|
|
50
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.1-alpha.2",
|
|
51
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.2",
|
|
53
|
+
"@deepseek-ai/dsh-session-query": "0.2.1-alpha.2",
|
|
54
|
+
"@deepseek-ai/dsh-session-query-sqlite": "0.2.1-alpha.2",
|
|
55
|
+
"@deepseek-ai/dsh-session-title": "0.2.1-alpha.2",
|
|
56
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.2",
|
|
57
|
+
"@deepseek-ai/dsh-timeout": "0.2.1-alpha.2",
|
|
58
|
+
"@deepseek-ai/dsh-tool-call-timeout-policy": "0.2.1-alpha.2",
|
|
59
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.2"
|
|
60
60
|
}
|
|
61
61
|
}
|