@oxmumu3/dsh-project-companion 0.26.0 → 0.27.0
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 +2 -2
- package/docs/install.md +4 -4
- package/docs/roadmap.md +1 -1
- package/docs/verification.md +10 -0
- package/index.js +11 -2
- package/package.json +1 -1
- package/src/doctor.js +1 -1
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ dsh plugin --profile web add @oxmumu3/dsh-project-companion
|
|
|
72
72
|
| 每天早上知道该干啥 | 有限读取 Gmail、主日历、Drive、flomo、滴答和已选项目,整理有来源的进展、风险与下一步 |
|
|
73
73
|
| 按节奏跟进 | 一次提醒、一次检查、周期跟进;无值得说的变化可以静默,结果不确定不盲重发 |
|
|
74
74
|
| 读你今天该看的 | AI 资讯日报:沿用你保存的关注点,从公开 RSS 里最多 3 篇重点 + 7 篇速览,附原文链接 |
|
|
75
|
-
| 自己先体检 | `health`
|
|
75
|
+
| 自己先体检 | `health` 自检七行:助理、微信、资料来源、个人回顾、AI 资讯、投递、手机控制;只读本机,不发外部请求 |
|
|
76
76
|
|
|
77
77
|
## 可以直接这样说
|
|
78
78
|
|
|
@@ -96,7 +96,7 @@ dsh plugin --profile web add @oxmumu3/dsh-project-companion
|
|
|
96
96
|
|
|
97
97
|
## 版本与数据
|
|
98
98
|
|
|
99
|
-
- 当前版本 **`0.26.0
|
|
99
|
+
- 当前版本 **`0.27.0`**:自检新增「手机控制」一行,看得出两边接没接上;`0.26.0` 并入手机端任务控制的 Dot 侧;`0.25.0` 补上滴答账户级只读搜索。
|
|
100
100
|
- 兼容官方 Harness `0.2.0-rc.2`、`0.2.1-rc.2` 至 `rc.5`、`0.2.2-rc.1`;清单在 [compatibility.json](compatibility.json)。
|
|
101
101
|
- 数据留在本机 Harness profile 内,不经过第三方服务器;微信组件内置部分保留上游 MIT 许可,见 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)。
|
|
102
102
|
- 已知边界(Google 数据权限审核、flomo MAX、主动关注与手机收件的验收状态)统一写在[验证记录](docs/verification.md),本页不重复。
|
package/docs/install.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 安装 DSH Dot 0.
|
|
1
|
+
# 安装 DSH Dot 0.27.0
|
|
2
2
|
|
|
3
3
|
## 在创造模式中安装/更新
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
请安装或更新并启用 DSH Dot。先检查现有插件,避免重复添加和降级。从 npm 官方源实时查询 @oxmumu3/dsh-project-companion 的 latest,按查到的精确版本安装或更新,不直接采用本机缓存的旧 latest。保留已有微信绑定、账号授权、资料范围、设置和其他插件,不自动读取或新建计划。核对实际版本、启用状态,再打开 DSH Dot。
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
新用户也可在「插件 → 添加插件」填写 `@oxmumu3/dsh-project-companion`(或精确版本 `@oxmumu3/dsh-project-companion@0.
|
|
11
|
+
新用户也可在「插件 → 添加插件」填写 `@oxmumu3/dsh-project-companion`(或精确版本 `@oxmumu3/dsh-project-companion@0.27.0`),安装后启用。它是一个标准插件包,已内置独立微信组件。已有未带 namespace 的历史安装应沿原包名更新;不要将两个名称当成同一个插件重复添加。
|
|
12
12
|
|
|
13
13
|
牛村木木山制作的 DeepSeek Harness 社区插件,非 DeepSeek 或 OpenAI 官方产品。本版内置微信组件,只需添加一个标准插件包,不包含 Harness 应用或 Family 家庭助手。
|
|
14
14
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
无法联网或想用离线包时,到 [Releases](https://github.com/oxmumu3/dsh-project-companion/releases) 下载对应版本的 `.tgz`,在官方管理器填写下载后的文件实际路径;无需解压、另装微信组件或运行 macOS 脚本。
|
|
28
28
|
|
|
29
|
-
[本版发布页](https://github.com/oxmumu3/dsh-project-companion/releases/tag/v0.
|
|
29
|
+
[本版发布页](https://github.com/oxmumu3/dsh-project-companion/releases/tag/v0.27.0)记录本版变更。插件包从 npm 安装,npm 页面提供 integrity 与 provenance 可核;0.24 起 release 不再附带离线包。插件尚未上架官方插件市场,npm latest 同步为本版;不要用旧版 ZIP 或第二个微信安装包代替这条单插件路径。
|
|
30
30
|
|
|
31
31
|
## 已有用户
|
|
32
32
|
|
|
@@ -68,7 +68,7 @@ Google 品牌已验证,Gmail、日历、Drive 数据权限已提交审核但
|
|
|
68
68
|
|
|
69
69
|
## 本版验证与已知问题
|
|
70
70
|
|
|
71
|
-
0.
|
|
71
|
+
0.27.0 源码全量回归 2,365 项 / 2,328 通过 / 0 失败 / 37 跳过(跳过项均需 Family 源码树,不在本包范围)。自检只读本机状态,不发外部请求;单项探测 2 秒上限,超时或抛错显示「未知」。私人外发确认只覆盖 `personal_review.run_now` 这条路径,宿主自带的 `send_wechat`、定时投递和带内容的 `remind` / `coordinate` 不经过这道门禁——插件单方面无法覆盖全部外发路径。
|
|
72
72
|
|
|
73
73
|
自动回顾仍为实验能力:自然语言 `focus` 尚未用真实模型验证实际效果,手机端呈现也未验证。历史 flomo 范围投影与模型失败未全部归因。新用户独立扫码到收件、多日与休眠恢复、真实 macOS 输入法仍分别验收。通道报告发送不等于手机收到。详见[验证记录](verification.md)。
|
|
74
74
|
|
package/docs/roadmap.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 当前收尾 · 0.24.2 公开版本
|
|
2
2
|
|
|
3
|
-
最新公开版本 0.26.0:并入手机端任务控制的 Dot 侧(`mobileTaskScope` / `mobileQuestionState` / 桥接注册),等家庭助手暴露接口后即可用;`0.25.0`:补上滴答账户级只读搜索(`search_task` / `search` / `list_all_tasks`);此前 0.24.2:项目工具收敛到 `look`/`manage` 两个入口,新增自检、私人外发确认与回顾关注点,首次打开有示例卡,交办记录可复用。
|
|
3
|
+
最新公开版本 0.27.0:自检新增「手机控制」一行并在自检时补一次注册,手机控制两边是否接通一眼可见;0.26.0:并入手机端任务控制的 Dot 侧(`mobileTaskScope` / `mobileQuestionState` / 桥接注册),等家庭助手暴露接口后即可用;`0.25.0`:补上滴答账户级只读搜索(`search_task` / `search` / `list_all_tasks`);此前 0.24.2:项目工具收敛到 `look`/`manage` 两个入口,新增自检、私人外发确认与回顾关注点,首次打开有示例卡,交办记录可复用。
|
|
4
4
|
|
|
5
5
|
下一步按影响排序:
|
|
6
6
|
|
package/docs/verification.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# 0.27.0 验证增量
|
|
2
|
+
|
|
3
|
+
2026-11-09,自检新增「手机控制」一行。
|
|
4
|
+
|
|
5
|
+
- `node --max-old-space-size=256 --test --test-concurrency=1 test/*.test.mjs`:2,371 项 / 2,334 通过 / 0 失败 / 37 跳过(0.26.0 基线 2,370 / 2,333 / 0 / 37)。
|
|
6
|
+
- 自检用例 9 条:新增三档分档用例(没装家庭助手→未启用、版本早无接口→未启用、接口在但没注册→需要留意),并更新行数与行名断言。
|
|
7
|
+
- 探测只挂本地回调,不计入外部请求;用例断言不读私人来源。
|
|
8
|
+
|
|
9
|
+
**没有验证的**:真实家庭助手环境下的第七行输出。本机 0.44 家庭助手已装,但 Dot 0.26/0.27 需重启才会加载,届时才能看到实际取值。
|
|
10
|
+
|
|
1
11
|
# 0.26.0 验证增量
|
|
2
12
|
|
|
3
13
|
2026-11-09,把私有构建里的手机端任务控制并入公开主线(Dot 侧)。
|
package/index.js
CHANGED
|
@@ -363,16 +363,17 @@ export async function installCompanion(ctx,options={}){
|
|
|
363
363
|
});
|
|
364
364
|
familyDelegate=createFamilyOwnerDelegation({store:{get:key=>familyTable.get(key),put:(key,value)=>familyTable.put(key,familyDelegationRow.parse(value))},getBridge:getFamilyBridge,readGrantedLeases:async()=>context.delegationLeases(),readGrantedLeasesSync:()=>context.delegationLeases(),readLegacySetup:readSetup});
|
|
365
365
|
familyContext=createFamilyContextAdapter({delegation:familyDelegate,context});
|
|
366
|
-
let mobileBridge,mobileRelease;
|
|
366
|
+
let mobileBridge,mobileRelease,mobileRegistered=false;
|
|
367
367
|
const syncMobileBridge=()=>{
|
|
368
368
|
const bridge=getFamilyBridge();if(bridge===mobileBridge)return;
|
|
369
|
-
mobileRelease?.();mobileRelease=undefined;mobileBridge=bridge;
|
|
369
|
+
mobileRelease?.();mobileRelease=undefined;mobileBridge=bridge;mobileRegistered=false;
|
|
370
370
|
if(typeof bridge?.registerMobileTasks!=='function')return;
|
|
371
371
|
mobileRelease=bridge.registerMobileTasks((sessionId,messageId)=>{
|
|
372
372
|
const captured=taskResults.mobileTaskScope(sessionId,messageId);if(!captured)return null;
|
|
373
373
|
const authorize=()=>{const scope=familyDelegate.scopeFor(captured.origin.sessionId),binding=scope&&familyBinding(scope),current=binding&&taskResults.mobileTaskScope(sessionId,messageId,{expectedBinding:binding});return !disposed&¤t?.jobId===captured.jobId&&scope?.bindingRevision===captured.origin.bindingRevision&&binding?.userHash===captured.returnBinding?.userHash&&(binding?.botHash??null)===(captured.returnBinding?.botHash??null)&&familyDelegate.current(scope);};
|
|
374
374
|
return authorize()?{...captured,authorize,questionState:input=>taskResults.mobileQuestionState(sessionId,messageId,input)}:null;
|
|
375
375
|
});
|
|
376
|
+
mobileRegistered=true;
|
|
376
377
|
};
|
|
377
378
|
syncMobileBridge();
|
|
378
379
|
|
|
@@ -877,6 +878,14 @@ export async function installCompanion(ctx,options={}){
|
|
|
877
878
|
if(waiting)return{state:'warn',detail:`有 ${waiting} 条消息还没发出去,等通道或原会话恢复`};
|
|
878
879
|
return{state:'ok',detail:'没有卡住的待发消息'};
|
|
879
880
|
},
|
|
881
|
+
// 手机端控制要两个插件都在:家庭助手提供接口,Dot 注册后才能收手机指令。
|
|
882
|
+
mobile:async()=>{
|
|
883
|
+
syncMobileBridge();
|
|
884
|
+
const bridge=getFamilyBridge();
|
|
885
|
+
if(!bridge)return{state:'off',detail:'没有检测到家庭助手,手机端控制不可用,电脑端不受影响'};
|
|
886
|
+
if(typeof bridge.registerMobileTasks!=='function')return{state:'off',detail:'家庭助手版本较早,没有提供手机端控制接口'};
|
|
887
|
+
return mobileRegistered?{state:'ok',detail:'已连上家庭助手,手机端可以停止或继续任务'}:{state:'warn',detail:'家庭助手在,但注册没有完成,手机端控制可能不生效'};
|
|
888
|
+
},
|
|
880
889
|
};
|
|
881
890
|
}
|
|
882
891
|
async function doctorScan(agent){
|
package/package.json
CHANGED
package/src/doctor.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* 抛错、超时、返回值不合法的探测一律显示「未知」,绝不当作没问题。
|
|
7
7
|
*/
|
|
8
8
|
const MAX_CHARS = 1500, DETAIL_MAX = 120, DEFAULT_TIMEOUT_MS = 2000;
|
|
9
|
-
const ROWS = [['assistant', '助理'], ['wechat', '微信'], ['sources', '资料来源'], ['review', '个人回顾'], ['news', 'AI 资讯'], ['delivery', '投递']];
|
|
9
|
+
const ROWS = [['assistant', '助理'], ['wechat', '微信'], ['sources', '资料来源'], ['review', '个人回顾'], ['news', 'AI 资讯'], ['delivery', '投递'], ['mobile', '手机控制']];
|
|
10
10
|
const STATE_TEXT = { ok: '正常', warn: '需要留意', unknown: '未知', off: '未启用' };
|
|
11
11
|
const ISO = /\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?::\d\d(?:\.\d{1,6})?)?(?:Z|[+-]\d\d:?\d\d)?/g;
|
|
12
12
|
const UUID = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi;
|