dsh-composer-plus 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/client.js +8 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -21,7 +21,7 @@ dsh plugin --profile web add dsh-composer-plus
21
21
 
22
22
  Then restart dsh. (The CLI can't install into the desktop profile; the app manages it.)
23
23
 
24
- > dsh's pnpm skips versions younger than 24 hours. Right after a release, add the version: `dsh-composer-plus@1.0.0`.
24
+ > dsh's pnpm skips versions younger than 24 hours. Right after a release, add the version: `dsh-composer-plus@1.0.1`.
25
25
 
26
26
  ## Features
27
27
 
@@ -35,7 +35,7 @@ Then restart dsh. (The CLI can't install into the desktop profile; the app manag
35
35
  | **Copy deeplink** | Right-click a chat in the sidebar → **Copy deeplink**. Paste the `dsh-session:…` link into another chat to attach that chat as read-only context. |
36
36
  | **Allow for this chat** | When Auto Review asks you, the approval card gets **Allow for this chat**: the same tool in the same chat is allowed from then on, with any arguments. A header chip lists the grants and revokes them. Grants survive a restart. |
37
37
  | **Project status** | A project row in the sidebar shows the same spinner / waiting / done marker as its chats, so a collapsed project still tells you a chat inside is working or needs you. Hover it for details. |
38
- | **Active projects first** | When a chat starts running or needs you, its project moves to the top of the sidebar with dsh's own row animation (the same move as dragging it there). Finished projects stay where they are; drag them anywhere as usual. |
38
+ | **Active projects first** | When a chat starts running or needs you, its project moves to the top of the sidebar with dsh's own row animation (the same move as dragging it there). Finished projects stay where they are; drag them anywhere as usual. Moves are saved to dsh's project order, so turning this off keeps the current order. |
39
39
  | **Background notifications** | While dsh is in the background you get a notification when a turn finishes (first line of the reply), or when a chat needs an approval (tool name), an answer (the question) or a plan review. The Dock/taskbar badge counts waiting chats. Clicking opens that chat. |
40
40
 
41
41
  All text — buttons, tooltips, notices, notifications and the Continue message — follows the language selected in dsh (English or Chinese, the two languages dsh ships). Switching the language in dsh settings updates it live.
@@ -69,7 +69,7 @@ Tested on dsh `0.2.0-rc.2` (desktop and web) and `0.2.1-alpha.2` (web). CI runs
69
69
 
70
70
  - **No notifications on macOS:** System Settings → Notifications → DeepSeek Harness → allow. Choose **Alerts** to keep them on screen.
71
71
  - **▶, queue grips, project status, Allow for this chat or right-click missing after a dsh update:** these attach to dsh's current HTML because dsh has no slot for them yet. If dsh changes that markup they hide themselves; nothing else breaks. Please open an [issue](https://github.com/furkancak1r/dsh-composer-plus/issues).
72
- - **Install fails right after a release:** add the version (`dsh-composer-plus@1.0.0`), see the install note above.
72
+ - **Install fails right after a release:** add the version (`dsh-composer-plus@1.0.1`), see the install note above.
73
73
 
74
74
  ## Limits
75
75
 
package/client.js CHANGED
@@ -887,7 +887,7 @@ window.__ModuleLoader__.load({
887
887
  'feature.projectStatus': 'Project status',
888
888
  'feature.projectStatus.description': 'Show the running / waiting / done marker of a project\'s chats on the project row.',
889
889
  'feature.activeProjectsFirst': 'Active projects first',
890
- 'feature.activeProjectsFirst.description': 'Move a project to the top of the sidebar when one of its chats runs or needs you.',
890
+ 'feature.activeProjectsFirst.description': 'Move a project to the top of the sidebar when one of its chats runs or needs you. Moves are saved; turning this off keeps the current order.',
891
891
  'feature.notifications': 'Background notifications',
892
892
  'feature.notifications.description': 'Notify when a chat finishes or needs you while dsh is in the background, with a Dock badge.',
893
893
  'feature.allowForChat': 'Allow for this chat',
@@ -954,7 +954,7 @@ window.__ModuleLoader__.load({
954
954
  'feature.projectStatus': '项目状态',
955
955
  'feature.projectStatus.description': '在项目行上显示其对话的进行中 / 等待 / 完成标记。',
956
956
  'feature.activeProjectsFirst': '活跃项目置顶',
957
- 'feature.activeProjectsFirst.description': '当项目中的对话正在运行或需要你处理时,将该项目移到侧边栏顶部。',
957
+ 'feature.activeProjectsFirst.description': '当项目中的对话正在运行或需要你处理时,将该项目移到侧边栏顶部。移动会被保存;关闭此项后保留当前顺序。',
958
958
  'feature.notifications': '后台通知',
959
959
  'feature.notifications.description': 'dsh 在后台时,对话完成或需要你处理时发出通知,并显示程序坞角标。',
960
960
  'feature.allowForChat': '本对话内允许',
@@ -1019,7 +1019,12 @@ window.__ModuleLoader__.load({
1019
1019
  id: 'project-status',
1020
1020
  locale: LOCALE_NS,
1021
1021
  }, ProjectStatusMarkers))]);
1022
- const injectScope = (deps, setup) => (ctx.inject === undefined ? [] : [ctx.inject(deps, setup)]);
1022
+ // ctx.inject returns a Cordis fiber, not a disposer.
1023
+ const injectScope = (deps, setup) => {
1024
+ if (ctx.inject === undefined) return [];
1025
+ const fiber = ctx.inject(deps, setup);
1026
+ return [() => fiber.dispose()];
1027
+ };
1023
1028
  feature('notifications', () => injectScope(['uiSession', 'uiWorkspace', 'sessions'], (scope) => {
1024
1029
  const t = ctx.locale.bind(LOCALE_NS);
1025
1030
  scope.effect(() => watchAttention(scope.uiSession.sessionStatus, scope.sessions.list, t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-composer-plus",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "DeepSeek Harness helpers: Codex-style Changes panel, input history, Shift+Tab /plan, one-click Continue, queue drag-and-drop, Copy deeplink, Auto Review allow-for-chat, background notifications",
5
5
  "license": "MIT",
6
6
  "type": "module",