@dsh-libing/memory-manager 0.1.0 → 0.1.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.
- package/CHANGELOG.md +4 -0
- package/README.md +5 -1
- package/lib/client-types/client/useMemory.d.ts +1 -0
- package/lib/client-types/shared.d.ts +2 -0
- package/lib/client.js +7 -7
- package/lib/index.d.ts +1 -1
- package/lib/index.js +28 -5
- package/lib/models.js +4 -2
- package/lib/recall.js +18 -5
- package/lib/runtime.d.ts +3 -1
- package/lib/runtime.js +40 -10
- package/lib/scope.d.ts +16 -1
- package/lib/scope.js +28 -10
- package/lib/shared.d.ts +2 -0
- package/lib/shared.js +2 -2
- package/lib/storage-worker.js +30 -10
- package/lib/store.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ dsh plugin --profile <profile> add @dsh-libing/memory-manager
|
|
|
30
30
|
>
|
|
31
31
|
> 请检索这个工作区的记忆,说明我们之前的选型理由及来源;没有记录就直接说没有。
|
|
32
32
|
|
|
33
|
-
工具需要出现在该会话实际工具目录中,可以在
|
|
33
|
+
工具需要出现在该会话实际工具目录中,可以在 工具管理中心确认调用开关:
|
|
34
34
|
|
|
35
35
|
| 工具 | 用法 |
|
|
36
36
|
| --- | --- |
|
|
@@ -63,3 +63,7 @@ dsh plugin --profile <profile> add @dsh-libing/memory-manager
|
|
|
63
63
|
owner lock 只在旧 PID 已不存在时恢复,不抢占活实例。如恢复过程本身崩溃留下 `owner.recover`,先确保该数据根没有运行实例,再人工处理;不要在运行中删除 owner 文件。
|
|
64
64
|
|
|
65
65
|
首版只提供本地关键词检索,没有向量模型、云同步、自动合并/画像或知识图谱。验收以 macOS 的真实 rc.2 Web 与安装 tarball 为准,未声明 Windows 已验证。
|
|
66
|
+
|
|
67
|
+
## 受管长期 Agent 的范围(0.1.1)
|
|
68
|
+
|
|
69
|
+
Solo Team 0.2.0 通过可选 `libingMemoryScopes` 服务提供 Session→稳定 Agent 范围。记忆仍由本插件 SQLite owner 管理;私有范围跨该 Agent 的私聊/群/工作流会话,排除其他 Agent 和 profile 个人共享记录。关闭、退出或撤销模式拒绝后续模型读取/召回。工作区共享为明确选择;普通会话仍按 canonical cwd/session/个人共享规则。受管预设失去范围服务时不静默退回工作区。真人可在原中心或会话页签复核候选。
|
|
@@ -11,6 +11,7 @@ export declare const kindSchema: z.ZodEnum<{
|
|
|
11
11
|
export declare const scopeSchema: z.ZodObject<{
|
|
12
12
|
workspace: z.ZodString;
|
|
13
13
|
session: z.ZodNullable<z.ZodString>;
|
|
14
|
+
includePersonal: z.ZodOptional<z.ZodBoolean>;
|
|
14
15
|
}, z.core.$strict>;
|
|
15
16
|
export type Scope = z.infer<typeof scopeSchema>;
|
|
16
17
|
export declare const draftSchema: z.ZodObject<{
|
|
@@ -331,6 +332,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
331
332
|
scope: z.ZodObject<{
|
|
332
333
|
workspace: z.ZodString;
|
|
333
334
|
session: z.ZodNullable<z.ZodString>;
|
|
335
|
+
includePersonal: z.ZodOptional<z.ZodBoolean>;
|
|
334
336
|
}, z.core.$strict>;
|
|
335
337
|
selectedSession: z.ZodNullable<z.ZodString>;
|
|
336
338
|
workspaces: z.ZodArray<z.ZodObject<{
|