@clawos-dev/clawd 0.2.89-beta.166.ca76654 → 0.2.89-beta.167.d5ecb39
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/dist/cli.cjs +4 -6
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -22947,13 +22947,11 @@ var SessionManager = class {
|
|
|
22947
22947
|
const { ownerPersonaId: _stripped, ...rest } = file;
|
|
22948
22948
|
return this.deps.store.write(rest);
|
|
22949
22949
|
}
|
|
22950
|
-
// mirror peer sessions:删本机 mirror SessionFile
|
|
22951
|
-
//
|
|
22952
|
-
//
|
|
22953
|
-
// listAllOwned 还能扫出来 → sidebar 刷新页面 mirror 复活)。deleteOwned 跟 listAllOwned
|
|
22954
|
-
// 一对,对账齐全。idempotent:找不到不 throw。**不广播 session:deleted**。
|
|
22950
|
+
// mirror peer sessions:删本机 mirror SessionFile。mirror 一律落 default(mirrorUpsert
|
|
22951
|
+
// 强制走 deps.store + strip ownerPersonaId),删也只删 default。idempotent:找不到
|
|
22952
|
+
// 不 throw(store.delete 内部 ENOENT 兜底返 false 不 throw)。**不广播 session:deleted**。
|
|
22955
22953
|
mirrorRemove(sessionId) {
|
|
22956
|
-
this.
|
|
22954
|
+
this.deps.store.delete(sessionId);
|
|
22957
22955
|
}
|
|
22958
22956
|
// observer 上报"jsonl 写入了一条 user 行"时调用:在 buffer 里找到与之对应的、
|
|
22959
22957
|
// 还没建立映射的最早一条 synth user_text,记下 synth → real 映射。
|
package/package.json
CHANGED