@memoire-ai/collector 0.1.2 → 0.1.3
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +35 -35
- package/package.json +3 -3
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
> @memoire/collector@0.1.
|
|
2
|
+
> @memoire-ai/collector@0.1.2 test /Users/dekai/Documents/esprit/Memoire/packages/collector
|
|
3
3
|
> node --test dist/*.test.js
|
|
4
4
|
|
|
5
|
-
✔ ClientSummarizer parses Anthropic responses (
|
|
6
|
-
✔ ClientSummarizer parses native Claude JSON output (0.
|
|
7
|
-
✔ ClientSummarizer parses native Codex JSONL output (0.
|
|
8
|
-
✔ ClientSummarizer returns null on command failure (0.
|
|
9
|
-
✔ ClientSummarizer truncates summary to 180 chars (0.
|
|
10
|
-
✔ ClientSummarizer limits concepts to 12 (0.
|
|
11
|
-
✔ ClientSummarizer handles session_summary details (0.
|
|
12
|
-
✔ readMemoireConfig loads the shared config file (0.
|
|
13
|
-
✔ createCollectorFromConfig instantiates a collector from the shared config (
|
|
14
|
-
✔ createCollectorFromConfig enables client-side summarization from config (0.
|
|
15
|
-
✔ createCollectorFromConfig does not enable summarizer without anthropic key (
|
|
16
|
-
✔ createCollectorFromConfig uses native Claude mode when requested and CLI is available (0.
|
|
17
|
-
✔ createCollectorFromConfig uses native Codex mode when requested and CLI is available (0.
|
|
18
|
-
✔ buildCursorRulesContent compacts oversized resume content into the token budget (3.
|
|
19
|
-
✔ buildCursorRulesContent keeps structured cursor rules bounded too (0.
|
|
20
|
-
✔ ContentDedup allows first occurrence (0.
|
|
21
|
-
✔ ContentDedup blocks duplicate within window (0.
|
|
22
|
-
✔ ContentDedup allows different content (0.
|
|
23
|
-
✔ ContentDedup allows content after window expires (
|
|
24
|
-
✔ ContentDedup disabled when windowMs is 0 (0.
|
|
25
|
-
✔ ContentDedup distinguishes same content with different keys (0.
|
|
26
|
-
✔ ContentDedup.destroy cleans up (0.
|
|
27
|
-
✔ hooks send user prompts as prompt events with request framing (
|
|
28
|
-
✔ hooks classify decisions, attempts, conventions, and branch events (
|
|
29
|
-
✔ inferToolUseEventType respects hints and failure signals (0.
|
|
30
|
-
✔ stripPrivateTags removes single private block (
|
|
31
|
-
✔ stripPrivateTags removes multiple private blocks (0.
|
|
32
|
-
✔ stripPrivateTags handles multiline private content (0.
|
|
33
|
-
✔ stripPrivateTags is case-insensitive (0.
|
|
34
|
-
✔ stripPrivateTags returns content unchanged when no tags present (0.
|
|
35
|
-
✔ stripPrivateTags returns empty string for fully private content (0.
|
|
36
|
-
✔ stripPrivateFromOptions strips strings and string arrays (
|
|
37
|
-
✔ stripPrivateFromOptions returns undefined for undefined input (0.
|
|
5
|
+
✔ ClientSummarizer parses Anthropic responses (31.799625ms)
|
|
6
|
+
✔ ClientSummarizer parses native Claude JSON output (0.246959ms)
|
|
7
|
+
✔ ClientSummarizer parses native Codex JSONL output (0.175ms)
|
|
8
|
+
✔ ClientSummarizer returns null on command failure (0.112625ms)
|
|
9
|
+
✔ ClientSummarizer truncates summary to 180 chars (0.252375ms)
|
|
10
|
+
✔ ClientSummarizer limits concepts to 12 (0.389875ms)
|
|
11
|
+
✔ ClientSummarizer handles session_summary details (0.324542ms)
|
|
12
|
+
✔ readMemoireConfig loads the shared config file (0.949208ms)
|
|
13
|
+
✔ createCollectorFromConfig instantiates a collector from the shared config (5.255958ms)
|
|
14
|
+
✔ createCollectorFromConfig enables client-side summarization from config (0.5655ms)
|
|
15
|
+
✔ createCollectorFromConfig does not enable summarizer without anthropic key (0.434417ms)
|
|
16
|
+
✔ createCollectorFromConfig uses native Claude mode when requested and CLI is available (0.725334ms)
|
|
17
|
+
✔ createCollectorFromConfig uses native Codex mode when requested and CLI is available (0.565125ms)
|
|
18
|
+
✔ buildCursorRulesContent compacts oversized resume content into the token budget (3.0425ms)
|
|
19
|
+
✔ buildCursorRulesContent keeps structured cursor rules bounded too (0.584292ms)
|
|
20
|
+
✔ ContentDedup allows first occurrence (0.954166ms)
|
|
21
|
+
✔ ContentDedup blocks duplicate within window (0.218666ms)
|
|
22
|
+
✔ ContentDedup allows different content (0.131542ms)
|
|
23
|
+
✔ ContentDedup allows content after window expires (81.667792ms)
|
|
24
|
+
✔ ContentDedup disabled when windowMs is 0 (0.19275ms)
|
|
25
|
+
✔ ContentDedup distinguishes same content with different keys (0.077584ms)
|
|
26
|
+
✔ ContentDedup.destroy cleans up (0.084084ms)
|
|
27
|
+
✔ hooks send user prompts as prompt events with request framing (2.237958ms)
|
|
28
|
+
✔ hooks classify decisions, attempts, conventions, and branch events (3.696167ms)
|
|
29
|
+
✔ inferToolUseEventType respects hints and failure signals (0.200666ms)
|
|
30
|
+
✔ stripPrivateTags removes single private block (1.836459ms)
|
|
31
|
+
✔ stripPrivateTags removes multiple private blocks (0.142084ms)
|
|
32
|
+
✔ stripPrivateTags handles multiline private content (0.100084ms)
|
|
33
|
+
✔ stripPrivateTags is case-insensitive (0.143917ms)
|
|
34
|
+
✔ stripPrivateTags returns content unchanged when no tags present (0.154292ms)
|
|
35
|
+
✔ stripPrivateTags returns empty string for fully private content (0.079542ms)
|
|
36
|
+
✔ stripPrivateFromOptions strips strings and string arrays (0.927791ms)
|
|
37
|
+
✔ stripPrivateFromOptions returns undefined for undefined input (0.054ms)
|
|
38
38
|
ℹ tests 33
|
|
39
39
|
ℹ suites 0
|
|
40
40
|
ℹ pass 33
|
|
@@ -42,4 +42,4 @@
|
|
|
42
42
|
ℹ cancelled 0
|
|
43
43
|
ℹ skipped 0
|
|
44
44
|
ℹ todo 0
|
|
45
|
-
ℹ duration_ms
|
|
45
|
+
ℹ duration_ms 218.344125
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memoire-ai/collector",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@memoire-ai/shared": "0.1.
|
|
15
|
-
"@memoire-ai/sdk": "0.1.
|
|
14
|
+
"@memoire-ai/shared": "0.1.3",
|
|
15
|
+
"@memoire-ai/sdk": "0.1.3"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^20.0.0",
|