@deepseek-ai/dsh-experimental-inspector-profile 0.2.1-alpha.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DeepSeek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,34 @@
1
+ # Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
2
+ # section, a hash of its English and Chinese blocks outside code blocks and generated regions.
3
+ # After editing either side, bring the other along and re-record with:
4
+ # pnpm run verify-translation-pairing --write packages/experimental/inspector-profile/README.md
5
+ /:
6
+ en: aa49ff99ef11a495
7
+ zh: f84909651e2f37a7
8
+ /deepseek-ai-dsh-experimental-inspector-profile:
9
+ en: a83fef9afaa2d5c3
10
+ zh: 95ff381e7be3afe6
11
+ /deepseek-ai-dsh-experimental-inspector-profile/summary:
12
+ en: 959f9bb18e5e99ad
13
+ zh: f0b00539b5ab40fd
14
+ /deepseek-ai-dsh-experimental-inspector-profile/table-of-contents:
15
+ en: 76368b6b1da79c80
16
+ zh: 52384aee991ac542
17
+ /deepseek-ai-dsh-experimental-inspector-profile/use-this-package:
18
+ en: 919c4baad08a10a6
19
+ zh: 0f0c82abda2f3630
20
+ /deepseek-ai-dsh-experimental-inspector-profile/understand-the-implementation:
21
+ en: c9afee7b01eff431
22
+ zh: c2d1209c14a42088
23
+ /deepseek-ai-dsh-experimental-inspector-profile/model-experience:
24
+ en: 315bc90149039d2d
25
+ zh: 047edcb035f61b74
26
+ /deepseek-ai-dsh-experimental-inspector-profile/model-experience/kv-cache-effect:
27
+ en: 5204b2605806c13d
28
+ zh: b6a76f5152f7f503
29
+ /deepseek-ai-dsh-experimental-inspector-profile/known-limitations-and-deferred-work:
30
+ en: 309c542ad0a9de41
31
+ zh: d2a3ac173d11afa6
32
+ /deepseek-ai-dsh-experimental-inspector-profile/known-limitations-and-deferred-work/dev-note:
33
+ en: e67f633dc6fe7773
34
+ zh: 8ec3e73528ddb1a6
package/README.md ADDED
@@ -0,0 +1,71 @@
1
+ ---
2
+ description: "Optional Web profile layer for raw Session logs and Chat node inspection."
3
+ kind: "package-bundle"
4
+ ---
5
+
6
+ # @deepseek-ai/dsh-experimental-inspector-profile
7
+
8
+ English | [中文](README.zh.md)
9
+
10
+ ## Summary
11
+
12
+ Enable this optional bundle to inspect Session data in the Sidebar and open NodeJS Inspector in the bottom panel. It enables both inspectors and Host fetch capture; the bundle itself is off by default in Plugin Manager.
13
+
14
+ ## Table of Contents
15
+
16
+ - [Use this package](#use-this-package)
17
+ - [Understand the implementation](#understand-the-implementation)
18
+ - [Model Experience](#model-experience)
19
+ - [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
20
+ - [Dev Note](#dev-note)
21
+
22
+ -----
23
+
24
+ <a id="use-this-package"></a>
25
+ ## Use this package
26
+
27
+ Enable **Developer Tools** in Plugin Manager's official group. This selects `@deepseek-ai/dsh-experimental-inspector-profile` for the current Web profile.
28
+
29
+ Open **Session Log** from the Sidebar's new-tab menu or guide. [Session Inspector](../session-inspector/README.md) provides one view with selectable Raw Log and Chat Group presentations; Raw Log is selected initially.
30
+
31
+ Press **Ctrl/Cmd+Shift+.** to open or collapse **NodeJS Inspector** in the bottom panel with the packaged DevTools frontend. Enabling this bundle starts the local debugging backend and unredacted Host fetch capture; no user override or debugging argument is required.
32
+
33
+ -----
34
+
35
+ <a id="understand-the-implementation"></a>
36
+ ## Understand the implementation
37
+
38
+ <details>
39
+ <summary>Implementation internals — click to expand</summary>
40
+
41
+ [`cordis.patch.yml`](cordis.patch.yml) enables Session Inspector and the NodeJS Inspector backend with `captureFetch: true`, independently of debugging flags. See the Inspector [README](../inspector/README.md) for debugging and capture behavior. Each plugin owns its behavior and lifetime.
42
+
43
+ </details>
44
+
45
+ -----
46
+
47
+ <a id="model-experience"></a>
48
+ ## Model Experience
49
+
50
+ None, as this bundle mounts developer inspection plugins without contributing model context.
51
+
52
+ #### KV Cache effect
53
+
54
+ None; the bundle adds no request content.
55
+
56
+ ## Known Limitations and Deferred Work
57
+
58
+ <a id="known-limitations-and-deferred-work"></a>
59
+
60
+ - **Web only** — the inspection views require the Web application's Session services.
61
+ - **Internal diagnostics** — the component switch remains available, but there is no dedicated Web debugging button. Explicit activation enables unredacted capture and local code execution; see the [security restrictions](../inspector/README.md#security).
62
+
63
+ <a id="dev-note"></a>
64
+ ### Dev Note
65
+
66
+ <details>
67
+ <summary>Working context for maintainers — click to expand</summary>
68
+
69
+ None.
70
+
71
+ </details>
package/README.zh.md ADDED
@@ -0,0 +1,71 @@
1
+ ---
2
+ description: "用于原始 Session 日志与聊天节点检查的可选 Web profile 层。"
3
+ kind: "package-bundle"
4
+ ---
5
+
6
+ # @deepseek-ai/dsh-experimental-inspector-profile
7
+
8
+ [English](README.md) | 中文
9
+
10
+ ## 概述
11
+
12
+ 启用这个可选组合包,即可在 Sidebar 检查 Session 数据,并在底部面板打开 NodeJS 诊断。组合包启用两个 Inspector 和 Host fetch 采集;组合包自身在插件管理器中默认关闭。
13
+
14
+ ## 目录
15
+
16
+ - [使用本包](#use-this-package)
17
+ - [理解实现](#understand-the-implementation)
18
+ - [模型体验](#model-experience)
19
+ - [已知限制与延期工作](#known-limitations-and-deferred-work)
20
+ - [开发备注](#dev-note)
21
+
22
+ -----
23
+
24
+ <a id="use-this-package"></a>
25
+ ## 使用本包
26
+
27
+ 在插件管理器的官方分组中启用**开发者工具**,即可为当前 Web profile 选择 `@deepseek-ai/dsh-experimental-inspector-profile`。
28
+
29
+ 从 Sidebar 的新建 tab 菜单或引导页打开**会话数据诊断**。[Session Inspector](../session-inspector/README.zh.md) 提供一个视图,可选择原始数据或对话分组展示形式,初始选中原始数据。
30
+
31
+ 按 **Ctrl/Cmd+Shift+.** 可展开或收起底部面板中的 **NodeJS 诊断**,使用打包后的 DevTools 前端。启用组合包会启动本地调试后端和未经脱敏的 Host fetch 采集,不需要用户配置覆盖或调试参数。
32
+
33
+ -----
34
+
35
+ <a id="understand-the-implementation"></a>
36
+ ## 理解实现
37
+
38
+ <details>
39
+ <summary>实现内部细节 — 点击展开</summary>
40
+
41
+ [`cordis.patch.yml`](cordis.patch.yml) 启用会话数据诊断 和 NodeJS 诊断 后端,并设置 `captureFetch: true`,不依赖调试参数。调试与采集行为见 Inspector [README](../inspector/README.zh.md)。每个插件负责自身行为与生命周期。
42
+
43
+ </details>
44
+
45
+ -----
46
+
47
+ <a id="model-experience"></a>
48
+ ## 模型体验
49
+
50
+ 无,因为本组合包挂载开发者检查插件,不贡献模型上下文。
51
+
52
+ #### KV Cache 影响
53
+
54
+ 无;本组合包不增加请求内容。
55
+
56
+ ## 已知限制与延期工作
57
+
58
+ <a id="known-limitations-and-deferred-work"></a>
59
+
60
+ - **仅支持 Web** — 检查视图依赖 Web 应用的 Session 服务。
61
+ - **内部诊断** — 组件开关保持可用,但没有专用 Web 调试按钮。显式启用后会进行未脱敏采集并允许执行本地代码,请参阅[安全限制](../inspector/README.zh.md#security)。
62
+
63
+ <a id="dev-note"></a>
64
+ ### 开发备注
65
+
66
+ <details>
67
+ <summary>维护者工作上下文 — 点击展开</summary>
68
+
69
+ 无。
70
+
71
+ </details>
@@ -0,0 +1,8 @@
1
+ - insert:
2
+ - id: experimental-inspector
3
+ name: '@deepseek-ai/dsh-experimental-inspector'
4
+ disabled: false
5
+ config:
6
+ captureFetch: true
7
+ - id: session-inspector
8
+ name: '@deepseek-ai/dsh-experimental-session-inspector'
package/icon.svg ADDED
@@ -0,0 +1,12 @@
1
+ <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="15.5" cy="15.5" r="8.5" fill="url(#a)" />
3
+ <circle cx="15.5" cy="15.5" r="5" fill="#FFFFFF" />
4
+ <path d="M13.2 15.5L14.9 17.2L18.2 13.9" stroke="#145AF3" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" />
5
+ <path d="M22 22L29 29" stroke="#145AF3" stroke-width="3.2" stroke-linecap="round" />
6
+ <defs>
7
+ <linearGradient id="a" x1="7" y1="7" x2="24" y2="24" gradientUnits="userSpaceOnUse">
8
+ <stop stop-color="#7CB7FF" />
9
+ <stop offset="1" stop-color="#45D9E7" />
10
+ </linearGradient>
11
+ </defs>
12
+ </svg>
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ /** Inspector profile layer; runtime composition lives in cordis.patch.yml. */
2
+ export {};
3
+ //# sourceMappingURL=index.d.ts.map
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Developer Tools",
4
+ "description": "Inspect and debug raw session data, grouped chat messages, and the NodeJS backend."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "开发者工具",
4
+ "description": "查看调试会话原始数据、聊天消息分组数据,以及调试 NodeJS 后端"
5
+ }
6
+ }
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "@deepseek-ai/dsh-experimental-inspector-profile",
3
+ "description": "Optional Web bundle for raw Session logs and Chat node inspection",
4
+ "version": "0.2.1-alpha.1",
5
+ "icon": "./icon.svg",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
12
+ "directory": "packages/experimental/inspector-profile"
13
+ },
14
+ "type": "module",
15
+ "main": "lib/index.js",
16
+ "types": "lib/types/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./lib/types/index.d.ts",
20
+ "default": "./lib/index.js"
21
+ },
22
+ "./cordis.patch.yml": "./cordis.patch.yml",
23
+ "./locale/*.json": "./locale/*.json",
24
+ "./src/*": "./src/*",
25
+ "./package.json": "./package.json"
26
+ },
27
+ "files": [
28
+ "icon.svg",
29
+ "locale/*.json",
30
+ "lib/index.js",
31
+ "cordis.patch.yml",
32
+ "lib/types/**/*.d.ts"
33
+ ],
34
+ "license": "MIT",
35
+ "dsh": {
36
+ "bundle": {
37
+ "patch": "./cordis.patch.yml"
38
+ }
39
+ },
40
+ "dependencies": {
41
+ "@deepseek-ai/dsh-experimental-session-inspector": "0.2.1-alpha.1",
42
+ "@deepseek-ai/dsh-experimental-inspector": "0.2.1-alpha.1"
43
+ },
44
+ "peerDependencies": {
45
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1"
46
+ },
47
+ "devDependencies": {
48
+ "js-yaml": "^4.2.0",
49
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1",
50
+ "@deepseek-ai/cordis-plugin-include": "~1.0.10-alpha.1"
51
+ }
52
+ }