@shadowforge0/aquifer-memory 1.9.0 → 1.9.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/README.md +33 -4
- package/README_CN.md +9 -1
- package/README_TW.md +5 -2
- package/consumers/cli.js +55 -34
- package/consumers/codex-active-checkpoint.js +3 -1
- package/consumers/codex-current-memory.js +10 -6
- package/consumers/codex.js +5 -2
- package/consumers/default/daily-entries.js +2 -2
- package/consumers/default/index.js +40 -30
- package/consumers/default/prompts/summary.js +2 -2
- package/consumers/mcp.js +56 -49
- package/consumers/openclaw-ext/index.js +1 -1
- package/consumers/openclaw-ext/openclaw.plugin.json +1 -1
- package/consumers/openclaw-ext/package.json +1 -1
- package/consumers/openclaw-plugin.js +66 -23
- package/consumers/shared/compat-recall.js +101 -0
- package/consumers/shared/openclaw-product-tools.js +130 -0
- package/consumers/shared/recall-format.js +2 -2
- package/core/aquifer.js +385 -20
- package/core/backends/local.js +60 -1
- package/core/finalization-review.js +88 -42
- package/core/interface.js +629 -0
- package/core/mcp-manifest.js +11 -3
- package/core/memory-bootstrap.js +25 -27
- package/core/memory-consolidation.js +564 -42
- package/core/memory-explain.js +20 -51
- package/core/memory-promotion.js +392 -55
- package/core/memory-recall.js +26 -48
- package/core/memory-records.js +91 -103
- package/core/memory-type-policy.js +298 -0
- package/core/postgres-migrations.js +9 -0
- package/core/session-checkpoint-producer.js +3 -1
- package/core/session-checkpoints.js +1 -1
- package/core/session-finalization.js +2 -2
- package/docs/getting-started.md +16 -3
- package/docs/setup.md +61 -2
- package/package.json +2 -2
- package/schema/004-completion.sql +4 -4
- package/schema/010-v1-finalization-review.sql +72 -0
- package/schema/020-v1-assistant-shaping-memory.sql +30 -0
- package/scripts/backfill-canonical-key.js +1 -1
- package/scripts/diagnose-fts-zh.js +1 -1
- package/scripts/extract-insights-from-recent-sessions.js +4 -4
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* [--days 14] \
|
|
18
18
|
* [--max-sessions 50] \
|
|
19
19
|
* [--types preference,pattern,frustration,workflow] \
|
|
20
|
-
* [--schema
|
|
20
|
+
* [--schema aquifer] \
|
|
21
21
|
* [--tenant-id default] \
|
|
22
22
|
* [--dry-run]
|
|
23
23
|
*
|
|
@@ -71,7 +71,7 @@ function parseArgs(argv) {
|
|
|
71
71
|
days: 14,
|
|
72
72
|
maxSessions: 50,
|
|
73
73
|
types: ['preference', 'pattern', 'frustration', 'workflow'],
|
|
74
|
-
schema: process.env.AQUIFER_SCHEMA || '
|
|
74
|
+
schema: process.env.AQUIFER_SCHEMA || 'aquifer',
|
|
75
75
|
tenantId: process.env.AQUIFER_TENANT_ID || 'default',
|
|
76
76
|
dryRun: false,
|
|
77
77
|
};
|
|
@@ -109,8 +109,8 @@ themes. Returning only 2-3 on a rich window means you're under-extracting.
|
|
|
109
109
|
Returning 0 is only correct when the window is genuinely sparse.
|
|
110
110
|
|
|
111
111
|
## Insight types
|
|
112
|
-
- preference: stable user preference (e.g. "
|
|
113
|
-
- pattern: recurring behaviour or decision (e.g. "
|
|
112
|
+
- preference: stable user preference (e.g. "The user prefers terse responses with no trailing summaries")
|
|
113
|
+
- pattern: recurring behaviour or decision (e.g. "The user runs a planning workflow before non-trivial schema changes")
|
|
114
114
|
- frustration: repeated pain point (e.g. "Cron jobs.json prompt parse keeps breaking on minor LLM output drift")
|
|
115
115
|
- workflow: reusable procedure that worked (e.g. "Aquifer release: pack tarball -> bump gateway pkg -> migrate -> restart")
|
|
116
116
|
|