@restregular/dsh-powerup 0.19.17 → 0.19.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 +8 -8
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -98,7 +98,7 @@
98
98
  const requirementCreateDraft = { workspaceId: null, title: '', text: '', scope: 'current' };
99
99
  /** Fallback bucket when the hero cannot resolve an owning workspace yet. */
100
100
  const UNSCOPED_WORKSPACE = '__unscoped__';
101
- const VERSION = '0.19.17';
101
+ const VERSION = '0.19.18';
102
102
  const MENU_GAP = 8;
103
103
  const MENU_WIDTH = 248;
104
104
  /** Reference scheme understood by the Host's `powerup_step_read` tool. */
@@ -12612,13 +12612,13 @@ html[data-platform="darwin"] .dsh-powerup-scrolltop:hover{background:var(--dsw-s
12612
12612
  {
12613
12613
  slot: 'main',
12614
12614
  options: { key: 'powerup' },
12615
- component: () => h(PowerUpPage, { ctx }),
12615
+ component: (props, ctx) => h(PowerUpPage, { ctx }),
12616
12616
  label: 'dsh-powerup: main page',
12617
12617
  },
12618
12618
  {
12619
12619
  slot: 'shell.overlay',
12620
12620
  options: { id: 'powerup-context-menu', order: 55 },
12621
- component: () => h(PowerUpOverlay, { ctx }),
12621
+ component: (props, ctx) => h(PowerUpOverlay, { ctx }),
12622
12622
  label: 'dsh-powerup: context menu',
12623
12623
  },
12624
12624
  {
@@ -12656,7 +12656,7 @@ html[data-platform="darwin"] .dsh-powerup-scrolltop:hover{background:var(--dsw-s
12656
12656
  {
12657
12657
  slot: 'conversation.input.right',
12658
12658
  options: { id: 'powerup-dual-send', order: 80 },
12659
- component: (props) => h(DualSendButtons, {
12659
+ component: (props, ctx) => h(DualSendButtons, {
12660
12660
  ...props,
12661
12661
  ctx,
12662
12662
  t: (key, params) => translateCurrent(key, params),
@@ -12666,7 +12666,7 @@ html[data-platform="darwin"] .dsh-powerup-scrolltop:hover{background:var(--dsw-s
12666
12666
  {
12667
12667
  slot: 'conversation.input.right',
12668
12668
  options: { id: 'powerup-direct-ask', order: 82 },
12669
- component: (props) => h(DirectAskButton, {
12669
+ component: (props, ctx) => h(DirectAskButton, {
12670
12670
  ...props,
12671
12671
  ctx,
12672
12672
  t: (key, params) => translateCurrent(key, params),
@@ -12676,7 +12676,7 @@ html[data-platform="darwin"] .dsh-powerup-scrolltop:hover{background:var(--dsw-s
12676
12676
  {
12677
12677
  slot: 'conversation.input.right',
12678
12678
  options: { id: 'powerup-quick-replies', order: 84 },
12679
- component: (props) => h(QuickReplies, {
12679
+ component: (props, ctx) => h(QuickReplies, {
12680
12680
  ...props,
12681
12681
  ctx,
12682
12682
  t: (key, params) => translateCurrent(key, params),
@@ -12697,7 +12697,7 @@ html[data-platform="darwin"] .dsh-powerup-scrolltop:hover{background:var(--dsw-s
12697
12697
  {
12698
12698
  slot: 'conversation.view',
12699
12699
  options: { id: 'powerup-settings', order: 20, label: () => translateCurrent('mask.viewTabLabel') },
12700
- component: (props) => h(WorkspaceSettingsView, { ...props, ctx }),
12700
+ component: (props, ctx) => h(WorkspaceSettingsView, { ...props, ctx }),
12701
12701
  label: 'dsh-powerup: workspace settings view',
12702
12702
  },
12703
12703
  // The update control drives the built-in plugin manager through its
@@ -12740,7 +12740,7 @@ html[data-platform="darwin"] .dsh-powerup-scrolltop:hover{background:var(--dsw-s
12740
12740
  const register = (slot, options, component, label) => {
12741
12741
  try {
12742
12742
  ctx.effect(
12743
- () => slots.inject(slot, () => slots.register({ name: slot, ...options }, component)),
12743
+ () => slots.inject(slot, () => slots.register({ name: slot, ...options }, (props) => component(props, ctx))),
12744
12744
  label,
12745
12745
  );
12746
12746
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restregular/dsh-powerup",
3
- "version": "0.19.17",
3
+ "version": "0.19.18",
4
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, workspace prompts, and non-blocking model-generated structured task progress — each toggled independently on the Power-Up page.",
5
5
  "icon": "./icon.svg",
6
6
  "type": "module",