@yoooclaw/phone-notifications 1.10.0 → 1.10.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/dist/index.cjs +3826 -3648
- package/dist/index.cjs.map +1 -1
- package/package.json +1 -1
- package/skills/notification-to-memory/references/step-1-scan-pending.md +8 -4
- package/skills/notification-to-memory/references/step-2-process-dates.md +11 -5
- package/skills/notification-to-memory/references/write-memory-lancedb-plugin.md +6 -31
- package/skills/notification-to-memory/references/write-memory-openclaw-native.md +2 -22
package/package.json
CHANGED
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
不要假设通知目录固定。先执行:
|
|
8
8
|
|
|
9
|
-
```
|
|
10
|
-
|
|
9
|
+
```text
|
|
10
|
+
Use exec with:
|
|
11
|
+
command: openclaw ntf storage-path
|
|
12
|
+
yieldMs: 30000
|
|
11
13
|
```
|
|
12
14
|
|
|
13
15
|
返回示例:
|
|
@@ -58,8 +60,10 @@ openclaw ntf storage-path
|
|
|
58
60
|
|
|
59
61
|
先执行 `openclaw ntf storage-path` 确认目录可用,再使用 CLI 命令扫描 checkpoint 之后的未处理条目:
|
|
60
62
|
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
+
```text
|
|
64
|
+
Use exec with:
|
|
65
|
+
command: openclaw ntf sync scan
|
|
66
|
+
yieldMs: 30000
|
|
63
67
|
```
|
|
64
68
|
|
|
65
69
|
返回示例:
|
|
@@ -27,8 +27,10 @@
|
|
|
27
27
|
|
|
28
28
|
## 2.1 获取未处理通知详情
|
|
29
29
|
|
|
30
|
-
```
|
|
31
|
-
|
|
30
|
+
```text
|
|
31
|
+
Use exec with:
|
|
32
|
+
command: openclaw ntf sync fetch --date 2026-03-02
|
|
33
|
+
yieldMs: 30000
|
|
32
34
|
```
|
|
33
35
|
|
|
34
36
|
返回规则:
|
|
@@ -64,9 +66,13 @@ bash skills/notification-to-memory/scripts/select-memory-prompt.sh
|
|
|
64
66
|
|
|
65
67
|
每个批次完成后,必须按以下顺序执行
|
|
66
68
|
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
```text
|
|
70
|
+
Use exec with:
|
|
71
|
+
command: openclaw ntf sync commit --date 2026-03-02
|
|
72
|
+
yieldMs: 30000
|
|
73
|
+
|
|
74
|
+
Then read:
|
|
75
|
+
skills/notification-to-memory/SKILL.md
|
|
70
76
|
```
|
|
71
77
|
|
|
72
78
|
以上两行必须连续执行,第二行不可跳过。若跳过重新读取主 `SKILL.md`,会造成严重遗忘,并直接影响后续批次或后续日期的处理质量。
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
# 记忆写入提示词
|
|
2
2
|
|
|
3
|
-
本次记忆写入使用混合模式:
|
|
4
|
-
|
|
5
3
|
- 有价值的记忆信息,使用 `memory_store` 写入
|
|
6
|
-
- `USER.md
|
|
4
|
+
- `USER.md`继续按 Markdown 文件方式更新
|
|
7
5
|
|
|
8
|
-
## 一、使用 `memory_store`
|
|
6
|
+
## 一、使用 `memory_store` 写入有价值的记忆信息
|
|
9
7
|
|
|
10
8
|
所有需要长期保留的重要信息,必须调用 `memory_store` 存储。工具参数、自动去重、长度限制、分类和重要度的完整定义,以工具本身的官方说明为准,这里不重复展开。
|
|
11
9
|
|
|
@@ -13,17 +11,6 @@
|
|
|
13
11
|
|
|
14
12
|
只把值得保留、未来可能复用、会持续影响判断的有价值信息写入 `memory_store`。
|
|
15
13
|
|
|
16
|
-
可优先考虑以下内容:
|
|
17
|
-
- Scope Rule:长期适用的规则、边界、权限范围、默认处理原则
|
|
18
|
-
- Durable Decisions:已确认并会持续生效的决定,不记录仍在讨论中的方案
|
|
19
|
-
- Durable Preferences:稳定偏好、习惯、协作偏好,不记录一时口味或临时要求
|
|
20
|
-
- Project Context:理解项目必需且短期内不易变化的背景、约束、目标
|
|
21
|
-
- Company Dynamics:会长期影响协作判断的稳定组织信息,不记录日常进展播报
|
|
22
|
-
- Stable Social Graph:长期稳定的人物关系、角色分工、协作连接
|
|
23
|
-
- Core Team / Personal / Professional Circles:核心人物及其稳定关系圈,仅在后续确实会反复用到时记录
|
|
24
|
-
- Ongoing Reminders:需要长期跟踪的持续性提醒,不记录一次性待办或短期催办
|
|
25
|
-
- Key Upcoming Dates:已确认且后续很可能再次用到的重要日期,不记录临时安排
|
|
26
|
-
|
|
27
14
|
不要写入:
|
|
28
15
|
- 原始通知内容、过程性讨论、零散聊天细节
|
|
29
16
|
- 一次性待办、临时安排、短期计划
|
|
@@ -32,32 +19,20 @@
|
|
|
32
19
|
|
|
33
20
|
如果拿不准是否值得保留,默认不要调用 `memory_store`。
|
|
34
21
|
|
|
35
|
-
##
|
|
22
|
+
## 二、使用 `edit` 工具更新 USER.md
|
|
23
|
+
|
|
24
|
+
关于用户信息的记忆,继续按 Markdown 文件方式维护 `USER.md`;不存在则创建独立的 `USER.md` 文件。
|
|
36
25
|
|
|
37
|
-
|
|
26
|
+
更新 `USER.md` 时,明确使用 `edit` 工具修改文件内容,不要只在回复里描述应如何更新,也不要将用户信息改写到其他记忆文件中。
|
|
38
27
|
|
|
39
28
|
可参考维度,可按实际数据扩展:
|
|
40
29
|
- Identity, Work, Finance
|
|
41
30
|
- Travel, Devices & Smart Home
|
|
42
31
|
- Health & Habits
|
|
43
32
|
- Content & Communication Preferences
|
|
44
|
-
|
|
45
|
-
## 三、继续更新 SOCIAL.md
|
|
46
|
-
|
|
47
|
-
更新社交关系;不存在则创建 `SOCIAL.md`。
|
|
48
|
-
|
|
49
|
-
重要:社交关系放这里,不放入 `USER.md`。
|
|
50
|
-
|
|
51
|
-
可参考维度,可按实际数据扩展:
|
|
52
33
|
- Method & Confidence
|
|
53
34
|
- Person Summary (Inferred)
|
|
54
35
|
- Relationship Distribution
|
|
55
36
|
- Core Team / Family / Friends Circles
|
|
56
37
|
- Important Group/Circle Threads
|
|
57
38
|
- Relationship Hypotheses
|
|
58
|
-
|
|
59
|
-
## 四、继续更新 SOUL.md
|
|
60
|
-
|
|
61
|
-
更新偏好;不存在则创建 `SOUL.md`。
|
|
62
|
-
|
|
63
|
-
只有检测到明确偏好时才更新。
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## 更新 USER.md
|
|
6
6
|
|
|
7
|
-
更新关于用户信息的记忆文件;不存在则创建独立的 `USER.md` 文件,不能将用户信息写入 `
|
|
7
|
+
更新关于用户信息的记忆文件;不存在则创建独立的 `USER.md` 文件,不能将用户信息写入 `MEMORY.md`。
|
|
8
8
|
|
|
9
9
|
可参考维度,可按实际数据扩展:
|
|
10
10
|
- Identity, Work, Finance
|
|
@@ -40,24 +40,4 @@
|
|
|
40
40
|
- 尚未确认的猜测、草案、可能会很快变化的信息
|
|
41
41
|
- 只对当前会话有用、之后大概率不会再复用的细节
|
|
42
42
|
|
|
43
|
-
如果拿不准是否属于“长期、稳定、提炼后的记忆”,默认不要写入 `MEMORY.md`。
|
|
44
|
-
|
|
45
|
-
## 更新 SOCIAL.md
|
|
46
|
-
|
|
47
|
-
更新社交关系;不存在则创建 `SOCIAL.md`。
|
|
48
|
-
|
|
49
|
-
重要:社交关系放这里,不放入 `USER.md`。
|
|
50
|
-
|
|
51
|
-
可参考维度,可按实际数据扩展:
|
|
52
|
-
- Method & Confidence
|
|
53
|
-
- Person Summary (Inferred)
|
|
54
|
-
- Relationship Distribution
|
|
55
|
-
- Core Team / Family / Friends Circles
|
|
56
|
-
- Important Group/Circle Threads
|
|
57
|
-
- Relationship Hypotheses
|
|
58
|
-
|
|
59
|
-
## 更新 SOUL.md
|
|
60
|
-
|
|
61
|
-
更新偏好;不存在则创建 `SOUL.md`。
|
|
62
|
-
|
|
63
|
-
只有检测到明确偏好时才更新。
|
|
43
|
+
如果拿不准是否属于“长期、稳定、提炼后的记忆”,默认不要写入 `MEMORY.md`。
|