whale-memory-core 0.15.0 → 0.18.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/README.md +14 -0
- package/bin/whale-memory-mcp.mjs +276 -0
- package/demo.mjs +44 -33
- package/index.d.ts +16 -15
- package/index.js +18 -17
- package/lib/archive.d.ts +22 -22
- package/lib/archive.js +171 -135
- package/lib/as-of.d.ts +5 -5
- package/lib/as-of.js +32 -32
- package/lib/book.d.ts +4 -4
- package/lib/book.js +75 -75
- package/lib/chapter-events.d.ts +39 -39
- package/lib/chapter-events.js +89 -89
- package/lib/detail-recall.d.ts +15 -0
- package/lib/detail-recall.js +174 -0
- package/lib/event-log.d.ts +10 -10
- package/lib/event-log.js +61 -61
- package/lib/evidence-from-experience.d.ts +8 -8
- package/lib/evidence-from-experience.js +62 -62
- package/lib/evidence-policy.js +2 -2
- package/lib/fact-timeline-contract.d.ts +73 -0
- package/lib/fact-timeline-contract.js +226 -0
- package/lib/fact-timeline-query.d.ts +29 -0
- package/lib/fact-timeline-query.js +97 -0
- package/lib/file-lock.js +1 -1
- package/lib/later-events.d.ts +21 -21
- package/lib/later-events.js +80 -80
- package/lib/link-events.d.ts +15 -15
- package/lib/link-events.js +33 -33
- package/lib/query-match.js +55 -0
- package/lib/recall-events.d.ts +24 -24
- package/lib/recall-events.js +97 -97
- package/lib/recap.d.ts +23 -23
- package/lib/recap.js +79 -79
- package/lib/seal-events.d.ts +25 -25
- package/lib/seal-events.js +82 -82
- package/lib/self-experience.d.ts +180 -175
- package/lib/self-experience.js +624 -560
- package/lib/self-memory.js +70 -68
- package/lib/self-prompt.js +8 -4
- package/lib/self-settings.js +2 -2
- package/lib/unfinished-events.d.ts +26 -26
- package/lib/unfinished-events.js +105 -105
- package/lib/unsaid.d.ts +28 -28
- package/lib/unsaid.js +105 -105
- package/lib/waking.d.ts +1 -1
- package/lib/waking.js +99 -92
- package/package.json +127 -113
package/package.json
CHANGED
|
@@ -1,113 +1,127 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "whale-memory-core",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Self-layer autobiographical memory core: then / later, append-only. Vault, evidence and consolidation live in the QQ Agent plugin.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./index.js",
|
|
7
|
-
"types": "./index.d.ts",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "whale-memory-core",
|
|
3
|
+
"version": "0.18.2",
|
|
4
|
+
"description": "Self-layer autobiographical memory core: then / later, append-only. Vault, evidence and consolidation live in the QQ Agent plugin.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"types": "./index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"whale-memory-mcp": "./bin/whale-memory-mcp.mjs"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./index.d.ts",
|
|
14
|
+
"default": "./index.js"
|
|
15
|
+
},
|
|
16
|
+
"./self-experience": {
|
|
17
|
+
"types": "./lib/self-experience.d.ts",
|
|
18
|
+
"default": "./lib/self-experience.js"
|
|
19
|
+
},
|
|
20
|
+
"./self-memory": {
|
|
21
|
+
"types": "./lib/self-memory.d.ts",
|
|
22
|
+
"default": "./lib/self-memory.js"
|
|
23
|
+
},
|
|
24
|
+
"./waking": {
|
|
25
|
+
"types": "./lib/waking.d.ts",
|
|
26
|
+
"default": "./lib/waking.js"
|
|
27
|
+
},
|
|
28
|
+
"./self-prompt": {
|
|
29
|
+
"types": "./lib/self-prompt.d.ts",
|
|
30
|
+
"default": "./lib/self-prompt.js"
|
|
31
|
+
},
|
|
32
|
+
"./self-settings": {
|
|
33
|
+
"types": "./lib/self-settings.d.ts",
|
|
34
|
+
"default": "./lib/self-settings.js"
|
|
35
|
+
},
|
|
36
|
+
"./recall-events": {
|
|
37
|
+
"types": "./lib/recall-events.d.ts",
|
|
38
|
+
"default": "./lib/recall-events.js"
|
|
39
|
+
},
|
|
40
|
+
"./later-events": {
|
|
41
|
+
"types": "./lib/later-events.d.ts",
|
|
42
|
+
"default": "./lib/later-events.js"
|
|
43
|
+
},
|
|
44
|
+
"./file-lock": {
|
|
45
|
+
"types": "./lib/file-lock.d.ts",
|
|
46
|
+
"default": "./lib/file-lock.js"
|
|
47
|
+
},
|
|
48
|
+
"./evidence-policy": {
|
|
49
|
+
"types": "./lib/evidence-policy.d.ts",
|
|
50
|
+
"default": "./lib/evidence-policy.js"
|
|
51
|
+
},
|
|
52
|
+
"./evidence-from-experience": {
|
|
53
|
+
"types": "./lib/evidence-from-experience.d.ts",
|
|
54
|
+
"default": "./lib/evidence-from-experience.js"
|
|
55
|
+
},
|
|
56
|
+
"./unfinished-events": {
|
|
57
|
+
"types": "./lib/unfinished-events.d.ts",
|
|
58
|
+
"default": "./lib/unfinished-events.js"
|
|
59
|
+
},
|
|
60
|
+
"./seal-events": {
|
|
61
|
+
"types": "./lib/seal-events.d.ts",
|
|
62
|
+
"default": "./lib/seal-events.js"
|
|
63
|
+
},
|
|
64
|
+
"./recap": {
|
|
65
|
+
"types": "./lib/recap.d.ts",
|
|
66
|
+
"default": "./lib/recap.js"
|
|
67
|
+
},
|
|
68
|
+
"./link-events": {
|
|
69
|
+
"types": "./lib/link-events.d.ts",
|
|
70
|
+
"default": "./lib/link-events.js"
|
|
71
|
+
},
|
|
72
|
+
"./chapter-events": {
|
|
73
|
+
"types": "./lib/chapter-events.d.ts",
|
|
74
|
+
"default": "./lib/chapter-events.js"
|
|
75
|
+
},
|
|
76
|
+
"./book": {
|
|
77
|
+
"types": "./lib/book.d.ts",
|
|
78
|
+
"default": "./lib/book.js"
|
|
79
|
+
},
|
|
80
|
+
"./unsaid": {
|
|
81
|
+
"types": "./lib/unsaid.d.ts",
|
|
82
|
+
"default": "./lib/unsaid.js"
|
|
83
|
+
},
|
|
84
|
+
"./archive": {
|
|
85
|
+
"types": "./lib/archive.d.ts",
|
|
86
|
+
"default": "./lib/archive.js"
|
|
87
|
+
},
|
|
88
|
+
"./timeline": {
|
|
89
|
+
"types": "./lib/fact-timeline-contract.d.ts",
|
|
90
|
+
"default": "./lib/fact-timeline-contract.js"
|
|
91
|
+
},
|
|
92
|
+
"./timeline-query": {
|
|
93
|
+
"types": "./lib/fact-timeline-query.d.ts",
|
|
94
|
+
"default": "./lib/fact-timeline-query.js"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"files": [
|
|
98
|
+
"index.js",
|
|
99
|
+
"index.d.ts",
|
|
100
|
+
"lib",
|
|
101
|
+
"bin",
|
|
102
|
+
"demo.mjs",
|
|
103
|
+
"README.md"
|
|
104
|
+
],
|
|
105
|
+
"engines": {
|
|
106
|
+
"node": ">=20"
|
|
107
|
+
},
|
|
108
|
+
"scripts": {
|
|
109
|
+
"demo": "node demo.mjs"
|
|
110
|
+
},
|
|
111
|
+
"keywords": [
|
|
112
|
+
"ai-companion",
|
|
113
|
+
"agent-memory",
|
|
114
|
+
"long-term-memory",
|
|
115
|
+
"autobiographical-memory",
|
|
116
|
+
"llm",
|
|
117
|
+
"mcp",
|
|
118
|
+
"model-context-protocol"
|
|
119
|
+
],
|
|
120
|
+
"license": "MIT",
|
|
121
|
+
"repository": {
|
|
122
|
+
"type": "git",
|
|
123
|
+
"url": "git+https://github.com/firefly1office/whale-memory.git",
|
|
124
|
+
"directory": "packages/core"
|
|
125
|
+
},
|
|
126
|
+
"sideEffects": false
|
|
127
|
+
}
|