@restregular/dsh-powerup 0.8.17 → 0.8.18

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.
Files changed (2) hide show
  1. package/client.js +1 -1
  2. package/package.json +98 -98
package/client.js CHANGED
@@ -83,7 +83,7 @@
83
83
  const promptCreateDraft = { workspaceId: null, title: '', text: '', scope: 'current' };
84
84
  /** Fallback bucket when the hero cannot resolve an owning workspace yet. */
85
85
  const UNSCOPED_WORKSPACE = '__unscoped__';
86
- const VERSION = '0.8.17';
86
+ const VERSION = '0.8.18';
87
87
  const MENU_GAP = 8;
88
88
  const MENU_WIDTH = 248;
89
89
  /** Reference scheme understood by the Host's `powerup_step_read` tool. */
package/package.json CHANGED
@@ -1,98 +1,98 @@
1
- {
2
- "name": "@restregular/dsh-powerup",
3
- "version": "0.8.17",
4
- "description": "Power-Up — small, opt-in upgrades for DeepSeek Harness. Adds a right-click action menu to the Trajectory ledger, an optional stop reason in the session header's background jobs panel (appended to the injected completion notice), and an install control for third-party plugins from the Plugins page: read versions from the configured registries, install the version in the input through the Add plugin path (removing the old copy first), mark restart-needed installs, hand Power-Up's own install to the background, and optionally restart DSH. One-click install skips the enable and restart questions and can apply those actions automatically with configurable defaults. The ledger menu also copies a step reference (session id + step id) that the read-only powerup_step_read tool resolves back into the raw session data. · 为 DeepSeek Harness 提供小型增强:在轨迹页面右键记录即可复制、引用、查看详情或从该记录 Fork;右键「复制步骤引用」得到「会话 ID + 步骤 ID」,Agent 用只读工具 powerup_step_read 即可取回该步骤的完整原始数据;在会话顶部的后台任务面板手动停止任务时可填写停止原因,原因会附加到任务结束后的会话提示;并在插件页为第三方已安装插件提供安装按钮,从安装源读取版本,按输入框中的版本沿用「添加插件」流程安装(先卸载旧版),支持待重启标记、Power-Up 自身后台安装与可选重启;安装面板提供「一键安装」,按输入框版本安装并跳过启用/重启询问,默认自动启用并重启,可在 Power-Up 页面调整默认行为。 · 侧边栏启动器:把左侧边栏的面板按钮变成随宽度自适应的图标网格(图标在上、文字在下),支持拖拽排序与分组(拖到另一个图标中间即合并为分组,点击分组弹出浮层展示内部图标),可随时整体关闭;网格里自带「返回会话」「重启 DSH」「关闭 DSH」三个按钮,它们和「更多」一样可以拖进分组,重启/关闭沿用插件安装流程的确认对话框。 · 会话切换:把会话标题变成可点击,点击后弹出下拉列表,列出正在运行中的会话标题(带工作区名称前缀),点击即可切换到对应会话。 · 定位当前会话:工作区按钮栏新增按钮,把当前会话在工作区列表中展开并居中显示,自动展开折叠的工作区。 · 工作区提示词:在 Power-Up 设置页启用后,新会话行的 Agent 预设右侧出现下拉列表,可为当前工作区选择已保存的提示词——点击提示词填入输入框继续编辑,或点右侧「直接发送」立即发出;下拉里可一键创建新的提示词,并在 Power-Up 页新增「工作区提示词」标签页统一管理(标题可选,缺省显示正文开头摘要),UI 参考 dsh-memory 的分段标签与卡片样式。 · 会话内「创建新的提示词」走会话弹窗,固定归属当前工作区(仅可改为所有工作区);设置页同样可管理新建,工作区列表为自定义样式下拉。提示词保存在工作区目录 .dsh/dsh-powerup/prompts.json,不再存浏览器。会话标题弹窗的任务圆点区分运行/阻塞(等待询问工具回答),任务结束后保留到用户切换过去才消失。 · 提示词管理面板按工作区分组展示(分组可折叠),每条提示词默认折叠只显示标题与编辑/删除;会话内新建提示词的弹窗关闭后保留已填内容,重新打开可继续编辑。 · 所有功能均可在 Power-Up 页面独立启用/禁用,弹窗统一为宿主原生样式。",
5
- "icon": "./icon.svg",
6
- "type": "module",
7
- "main": "index.js",
8
- "exports": {
9
- ".": "./index.js",
10
- "./client": "./client.js",
11
- "./locale/*.json": "./locale/*.json",
12
- "./icon": "./icon.svg",
13
- "./cordis.patch.yml": "./cordis.patch.yml",
14
- "./package.json": "./package.json"
15
- },
16
- "files": [
17
- "index.js",
18
- "client.js",
19
- "cordis.patch.yml",
20
- "lib/restart.js",
21
- "lib/restart-helper.cjs",
22
- "lib/step-reference.js",
23
- "lib/step-tool.js",
24
- "locale/*.json",
25
- "icon.svg",
26
- "README.md",
27
- "LICENSE"
28
- ],
29
- "dsh": {
30
- "bundle": {
31
- "patch": "./cordis.patch.yml"
32
- },
33
- "client": {
34
- "platform": "web",
35
- "immediately": true,
36
- "inject": [
37
- "@deepseek-ai/dsh-client-locale",
38
- "@deepseek-ai/dsh-client-ui-layout",
39
- "@deepseek-ai/dsh-client-ui-conversation",
40
- "@deepseek-ai/dsh-client-ui-session",
41
- "@deepseek-ai/dsh-api-session-controller",
42
- "@deepseek-ai/dsh-client-ui-workspace"
43
- ]
44
- }
45
- },
46
- "peerDependencies": {
47
- "@deepseek-ai/cordis": "*",
48
- "@deepseek-ai/dsh-tools": "*"
49
- },
50
- "peerDependenciesMeta": {
51
- "@deepseek-ai/cordis": {
52
- "optional": true
53
- },
54
- "@deepseek-ai/dsh-tools": {
55
- "optional": true
56
- }
57
- },
58
- "repository": {
59
- "type": "git",
60
- "url": "git+https://github.com/RestRegular/dsh-powerup.git"
61
- },
62
- "homepage": "https://github.com/RestRegular/dsh-powerup#readme",
63
- "bugs": {
64
- "url": "https://github.com/RestRegular/dsh-powerup/issues"
65
- },
66
- "keywords": [
67
- "dsh-plugin",
68
- "deepseek-harness",
69
- "deepseek",
70
- "trajectory",
71
- "context-menu",
72
- "step-reference",
73
- "background-jobs",
74
- "job-control",
75
- "power-up",
76
- "sidebar",
77
- "launcher",
78
- "drag-sort",
79
- "folder",
80
- "restart",
81
- "close",
82
- "session-switch",
83
- "workspace",
84
- "locate"
85
- ],
86
- "publishConfig": {
87
- "access": "public",
88
- "registry": "https://registry.npmjs.org/"
89
- },
90
- "engines": {
91
- "node": ">=22.13.0"
92
- },
93
- "scripts": {
94
- "test": "node test/smoke.mjs && node test/host.mjs"
95
- },
96
- "license": "MIT",
97
- "author": "RestRegular"
98
- }
1
+ {
2
+ "name": "@restregular/dsh-powerup",
3
+ "version": "0.8.18",
4
+ "description": "为 DeepSeek Harness 提供一组可选的小型增强:轨迹右键菜单与步骤引用、后台任务停止原因、插件一键安装、侧边栏图标网格、会话切换、定位当前会话、工作区提示词;所有功能均可在 Power-Up 页面独立开关。 · Opt-in upgrades for DeepSeek Harness: Trajectory context menu and step references, job stop reasons, one-click plugin install, an adaptive sidebar launcher, session switching, locating the current session, and workspace prompts — each toggled independently on the Power-Up page.",
5
+ "icon": "./icon.svg",
6
+ "type": "module",
7
+ "main": "index.js",
8
+ "exports": {
9
+ ".": "./index.js",
10
+ "./client": "./client.js",
11
+ "./locale/*.json": "./locale/*.json",
12
+ "./icon": "./icon.svg",
13
+ "./cordis.patch.yml": "./cordis.patch.yml",
14
+ "./package.json": "./package.json"
15
+ },
16
+ "files": [
17
+ "index.js",
18
+ "client.js",
19
+ "cordis.patch.yml",
20
+ "lib/restart.js",
21
+ "lib/restart-helper.cjs",
22
+ "lib/step-reference.js",
23
+ "lib/step-tool.js",
24
+ "locale/*.json",
25
+ "icon.svg",
26
+ "README.md",
27
+ "LICENSE"
28
+ ],
29
+ "dsh": {
30
+ "bundle": {
31
+ "patch": "./cordis.patch.yml"
32
+ },
33
+ "client": {
34
+ "platform": "web",
35
+ "immediately": true,
36
+ "inject": [
37
+ "@deepseek-ai/dsh-client-locale",
38
+ "@deepseek-ai/dsh-client-ui-layout",
39
+ "@deepseek-ai/dsh-client-ui-conversation",
40
+ "@deepseek-ai/dsh-client-ui-session",
41
+ "@deepseek-ai/dsh-api-session-controller",
42
+ "@deepseek-ai/dsh-client-ui-workspace"
43
+ ]
44
+ }
45
+ },
46
+ "peerDependencies": {
47
+ "@deepseek-ai/cordis": "*",
48
+ "@deepseek-ai/dsh-tools": "*"
49
+ },
50
+ "peerDependenciesMeta": {
51
+ "@deepseek-ai/cordis": {
52
+ "optional": true
53
+ },
54
+ "@deepseek-ai/dsh-tools": {
55
+ "optional": true
56
+ }
57
+ },
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "git+https://github.com/RestRegular/dsh-powerup.git"
61
+ },
62
+ "homepage": "https://github.com/RestRegular/dsh-powerup#readme",
63
+ "bugs": {
64
+ "url": "https://github.com/RestRegular/dsh-powerup/issues"
65
+ },
66
+ "keywords": [
67
+ "dsh-plugin",
68
+ "deepseek-harness",
69
+ "deepseek",
70
+ "trajectory",
71
+ "context-menu",
72
+ "step-reference",
73
+ "background-jobs",
74
+ "job-control",
75
+ "power-up",
76
+ "sidebar",
77
+ "launcher",
78
+ "drag-sort",
79
+ "folder",
80
+ "restart",
81
+ "close",
82
+ "session-switch",
83
+ "workspace",
84
+ "locate"
85
+ ],
86
+ "publishConfig": {
87
+ "access": "public",
88
+ "registry": "https://registry.npmjs.org/"
89
+ },
90
+ "engines": {
91
+ "node": ">=22.13.0"
92
+ },
93
+ "scripts": {
94
+ "test": "node test/smoke.mjs && node test/host.mjs"
95
+ },
96
+ "license": "MIT",
97
+ "author": "RestRegular"
98
+ }