@wjj865-code/dsh-orchestrator 0.3.0 → 0.3.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 +2 -2
  2. package/client.js +2 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -99,7 +99,7 @@ scoped 包默认是私有,**必须带 `--access public`** 才会公开;开
99
99
  @wjj865-code/dsh-orchestrator
100
100
  ```
101
101
 
102
- 也可以安装指定版本:`@wjj865-code/dsh-orchestrator@0.3.0`。
102
+ 也可以安装指定版本:`@wjj865-code/dsh-orchestrator@0.3.1`。
103
103
  2. 装完彻底退出 DSH 再启动。
104
104
  3. 以后升级:`npm version patch` → `npm publish` → 在 DSH 插件页用 registry 包的更新入口升级(DSH 的 plugin manager 对 registry 包支持 `listVersions` / `updateBundle`),不再需要卸了重装 GitHub 版。
105
105
 
@@ -212,7 +212,7 @@ scoped 包默认是私有,**必须带 `--access public`** 才会公开;开
212
212
  - **任务面板**:从会话头按钮 `conversation.header.leading` 进入(`selectPanel('orchestrator')`)。**侧栏底部 `sidebar.footer.action` 不再注册**(用户要求删掉底部「任务」入口)。面板页是 `main` 的 `key:'orchestrator'`;每条任务可「打开子会话」,走 `ctx.uiWorkspace.openSession(id)`(与平台 `ui-subagent.openChild` 同款)。任务行显示目标目录(截断 60 字)。
213
213
  - **Bot 模式**:ds-bot 用 `!important` 藏掉整个 shell 面板列表(`nav[class*="_panelList"]{display:none!important}`),所以侧栏启动器只在**纯 dsh 表面**可见;Bot 模式仍可用会话头按钮打开任务面板。不碰 ds-bot 的 `sidebar.workspaces`/`conversation.session.header`。
214
214
  - **数据**:`/api/orchestrator` POST。`{ endpoint: 'snapshot' }` 只读;`{ endpoint: 'open-main' }` 是唯一动作端点(创建/打开主会话,返回 `sessionId`)。鉴权由 connection 服务统一负责(401/403、exact 路由 owner-only);snapshot handler 只 import 查询函数、**不写台账**。面板打开时拉一次、可见时 5s 轮询,连续失败退避 30s,可按状态筛选;失败显示「台账暂不可用」,不阻塞会话(平台对 handler 异常回 400 空体,客户端会显示 `HTTP 400`)。
215
- - **产物**:`client.js` 是**经典脚本**(`window.__ModuleLoader__.load({ id:'dsh-orchestrator', factory })`,顶层无 import/export),`package.json` 声明 `dsh.client.platform:'web'`、`exports["./client"]`、`files` 含 `client.js`。MVP 无构建;`npm run check:client` 只做语法检查。
215
+ - **产物**:`client.js` 是**经典脚本**(`window.__ModuleLoader__.load({ id:'@wjj865-code/dsh-orchestrator', factory })`,顶层无 import/export),`package.json` 声明 `dsh.client.platform:'web'`、`exports["./client"]`、`files` 含 `client.js`。MVP 无构建;`npm run check:client` 只做语法检查。
216
216
 
217
217
  ## 真机冒烟清单(隔离 profile)
218
218
 
package/client.js CHANGED
@@ -1,7 +1,8 @@
1
1
  // dsh-orchestrator 客户端薄插件(经典脚本,模块加载器用 <script> 加载,顶层不能有 import/export)。
2
2
  // 槽位:sidebar.panellist 启动器入口(插件下方)、main 任务面板 + 启动器面板、conversation.header.leading 会话头按钮。
3
3
  window.__ModuleLoader__.load({
4
- id: 'dsh-orchestrator',
4
+ // 客户端工厂 id 必须等于包名(DSH client-modules 按包名索引),scoped 包也一样。
5
+ id: '@wjj865-code/dsh-orchestrator',
5
6
  factory: (require) => {
6
7
  const React = require('react')
7
8
  const h = React.createElement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wjj865-code/dsh-orchestrator",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Coordinator + task sessions for DeepSeek Harness: durable task ledger, cross-project memory, project context, progress reports, interrupt-controlled notifications, snapshots, and a browser task panel.",
5
5
  "type": "module",
6
6
  "main": "index.js",