@yottameta/yotta-memory 0.5.1 → 0.5.2
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/SKILL.md +2 -2
- package/bin/yotta-memory.js +4 -2
- package/package.json +1 -1
- package/references/protocol.md +1 -1
package/SKILL.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: yotta-memory
|
|
3
3
|
description: "元忆 —— 有权限边界的文件式智能体记忆。文件式、零依赖、可 diff/回滚:让任何 AI 智能体活过会话,开工 recall 恢复上下文、重要信息 remember 落盘、收工归档。类型体系 FACT(公共共享)/ PREF / BOUND / COMMIT(私密隔离)。触发:记住、别忘了、记一笔、记忆、remember、recall、跨会话、上次说到、续测、交接、归档、记忆盘、共享记忆、局域网记忆"
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
license: MIT
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# yotta-memory(元忆)— 有权限边界的文件式智能体记忆
|
|
9
9
|
|
|
10
10
|
> 一句话:元忆 —— 有权限边界的文件式智能体记忆(不注入、可 diff、能回滚;FACT 共享、PREF / BOUND / COMMIT 私密隔离)。
|
|
11
|
-
> 版本:0.5.
|
|
11
|
+
> 版本:0.5.2 | 最后更新:2026-08-25
|
|
12
12
|
|
|
13
13
|
## 这是什么
|
|
14
14
|
|
package/bin/yotta-memory.js
CHANGED
|
@@ -12,7 +12,7 @@ const crypto = require('crypto');
|
|
|
12
12
|
const http = require('http');
|
|
13
13
|
const child_process = require('child_process');
|
|
14
14
|
|
|
15
|
-
const VERSION = '0.5.
|
|
15
|
+
const VERSION = '0.5.2';
|
|
16
16
|
const TYPES = ['FACT', 'PREF', 'BOUND', 'COMMIT'];
|
|
17
17
|
const TYPE_DIRS = { FACT: 'facts', PREF: 'prefs', BOUND: 'bounds', COMMIT: 'commits' };
|
|
18
18
|
const PUBLIC_DIR = 'facts';
|
|
@@ -964,7 +964,9 @@ const LAN_TASK_NAME = 'YottaMemoryServe';
|
|
|
964
964
|
function lanTaskRunCmd(opts) {
|
|
965
965
|
const host = opts.host || '0.0.0.0';
|
|
966
966
|
const port = opts.port || 8787;
|
|
967
|
-
|
|
967
|
+
// schtasks /tr 不接受多余内嵌引号:路径无空格不加引号,含空格/引号用 \" 转义(0.5.2 修复)
|
|
968
|
+
const q = (p) => /[\s"]/.test(p) ? '\\"' + p.replace(/"/g, '\\"') + '\\"' : p;
|
|
969
|
+
return q(process.execPath) + ' ' + q(__filename) + ' serve --host ' + host + ' --port ' + port;
|
|
968
970
|
}
|
|
969
971
|
function cmdLanEnable(opts) {
|
|
970
972
|
if (process.platform !== 'win32') {
|
package/package.json
CHANGED
package/references/protocol.md
CHANGED