@restregular/dsh-powerup 0.8.6 → 0.8.8
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.md +3 -2
- package/client.js +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,8 +117,9 @@ entries other plugins add) become an icon grid instead of a one-per-row list:
|
|
|
117
117
|
its own (chat glyph + label) that calls `layout.selectPanel(null)` to return
|
|
118
118
|
to the Conversation; it highlights when no global panel is selected, can be
|
|
119
119
|
placed anywhere by dragging, and never joins a folder either.
|
|
120
|
-
- **A synthetic "Restart DSH" tile.** A second Power-Up tile (
|
|
121
|
-
|
|
120
|
+
- **A synthetic "Restart DSH" tile.** A second Power-Up tile (a ring with the
|
|
121
|
+
arrowhead tangent to the top, i.e. the arrow lines up with the arc) plus
|
|
122
|
+
`重启` / `Restart` opens the same restart confirmation the pending-restart
|
|
122
123
|
bar uses: the tile only calls into that React prompt, so there is one dialog,
|
|
123
124
|
one capability read (`GET /dsh-powerup/api/restart`) and one set of copy. The
|
|
124
125
|
confirmation explains that running tasks are interrupted; only a runtime that
|
package/client.js
CHANGED
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
const NS = 'dsh-powerup';
|
|
71
71
|
const SETTINGS_KEY = 'dsh-powerup:settings:v1';
|
|
72
|
-
const VERSION = '0.8.
|
|
72
|
+
const VERSION = '0.8.8';
|
|
73
73
|
const MENU_GAP = 8;
|
|
74
74
|
const MENU_WIDTH = 248;
|
|
75
75
|
/** Reference scheme understood by the Host's `powerup_step_read` tool. */
|
|
@@ -558,8 +558,12 @@
|
|
|
558
558
|
const LAUNCHER_RESTART_KEY = '__restart';
|
|
559
559
|
/** 16-grid chat glyph for the synthetic "back to conversation" tile. */
|
|
560
560
|
const LAUNCHER_CHAT_ICON = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path d="M2.8 3.4h10.4v6.8H7.4L4.4 12.8v-2.6H2.8V3.4Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/></svg>';
|
|
561
|
-
/**
|
|
562
|
-
|
|
561
|
+
/**
|
|
562
|
+
* 16-grid restart glyph: a ring with the arrowhead sitting exactly on the
|
|
563
|
+
* top tangent, so the wedge and the arc line up instead of floating off
|
|
564
|
+
* the opening (the previous Material glyph read as detached).
|
|
565
|
+
*/
|
|
566
|
+
const LAUNCHER_RESTART_ICON = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path d="M11.94 5.34A4.75 4.75 0 1 1 8 3.25" stroke="currentColor" stroke-width="1.55" stroke-linecap="round"/><path d="M7.85 1.45 11 3.25 7.85 5.05Z" fill="currentColor"/></svg>';
|
|
563
567
|
/**
|
|
564
568
|
* Bridge to the Plugins overlay's React restart prompt. The launcher is
|
|
565
569
|
* plain DOM and cannot render React, so the overlay publishes its opener
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restregular/dsh-powerup",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
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」两个按钮,重启沿用插件安装流程的确认对话框。",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"type": "module",
|