claude-mem-lite 3.16.1 → 3.16.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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/adopt-content.mjs +1 -1
- package/package.json +1 -1
- package/registry-github.mjs +6 -1
- package/tool-schemas.mjs +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"plugins": [
|
|
11
11
|
{
|
|
12
12
|
"name": "claude-mem-lite",
|
|
13
|
-
"version": "3.16.
|
|
13
|
+
"version": "3.16.2",
|
|
14
14
|
"source": "./",
|
|
15
15
|
"description": "Persistent long-term memory for Claude Code via MCP — captures coding decisions, bugfixes, and context across sessions. Hybrid FTS5 + TF-IDF search with episode batching. Single SQLite DB, no external services. A lighter, lower-cost alternative to claude-mem (episode batching + a smaller model; cost savings are an internal estimate, not a measured benchmark)."
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.2",
|
|
4
4
|
"description": "Persistent long-term memory for Claude Code via MCP — captures coding decisions, bugfixes, and context across sessions. Hybrid FTS5 + TF-IDF search with episode batching. Single SQLite DB, no external services. A lighter, lower-cost alternative to claude-mem (episode batching + a smaller model; cost savings are an internal estimate, not a measured benchmark).",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "sdsrss"
|
package/README.md
CHANGED
|
@@ -269,7 +269,7 @@ surface — reach them through the CLI column in the second table.
|
|
|
269
269
|
| `mem_maintain` | `claude-mem-lite maintain scan --ops dedup,decay` | dedup / decay / cleanup / rebuild_vectors (`scan` previews, `execute` applies). |
|
|
270
270
|
| `mem_optimize` | `claude-mem-lite optimize` | LLM-powered re-enrich / normalize / cluster-merge (preview default; `--run` to apply). |
|
|
271
271
|
| `mem_export` | `claude-mem-lite export` | JSON / JSONL dump, filters by project, type, date. |
|
|
272
|
-
| `mem_fts_check` | `claude-mem-lite fts-check
|
|
272
|
+
| `mem_fts_check` | `claude-mem-lite fts-check <check\|rebuild>` | FTS5 integrity + rebuild. |
|
|
273
273
|
| `mem_browse` | `claude-mem-lite browse` | Tier-grouped dashboard (working / active / archive). |
|
|
274
274
|
| `mem_registry` | `claude-mem-lite registry <action>` | List / search / import / remove skills + agents. |
|
|
275
275
|
| `mem_use` | _MCP only_ | Load a skill / agent from the registry by name. |
|
package/README.zh-CN.md
CHANGED
|
@@ -229,7 +229,7 @@ v2.34.0 起服务端注册 17 个工具,但 `tools/list` 只暴露 6 个 **核
|
|
|
229
229
|
| `mem_maintain` | `claude-mem-lite maintain scan --ops dedup,decay` | 去重 / decay / 清理 / 向量重建(`scan` 预览,`execute` 执行)。 |
|
|
230
230
|
| `mem_optimize` | `claude-mem-lite optimize` | LLM 深度优化:re-enrich / normalize / cluster-merge(默认 preview;`--run` 执行)。 |
|
|
231
231
|
| `mem_export` | `claude-mem-lite export` | JSON / JSONL 导出,支持项目/类型/日期过滤。 |
|
|
232
|
-
| `mem_fts_check` | `claude-mem-lite fts-check
|
|
232
|
+
| `mem_fts_check` | `claude-mem-lite fts-check <check\|rebuild>` | FTS5 完整性检查与重建。 |
|
|
233
233
|
| `mem_browse` | `claude-mem-lite browse` | 分层仪表盘(working / active / archive)。 |
|
|
234
234
|
| `mem_registry` | `claude-mem-lite registry <action>` | 列 / 搜索 / 导入 / 移除 skill / agent。 |
|
|
235
235
|
| `mem_use` | _MCP only_ | 从 registry 按名载入 skill / agent。 |
|
package/adopt-content.mjs
CHANGED
|
@@ -115,7 +115,7 @@ PreToolUse hook 在你 Read / Edit / Write 文件前已自动 \`mem_recall\` 该
|
|
|
115
115
|
| 清理过期记忆 | \`${CLI_INVOKE} maintain scan --ops purge_stale\` → \`maintain execute --ops purge_stale --confirm\`(删行必须 \`--confirm\`) |
|
|
116
116
|
| 深度优化(Haiku) | \`${CLI_INVOKE} optimize\`(默认 preview;\`--run\` 执行,\`--task re-enrich,normalize,cluster-merge,smart-compress\`) |
|
|
117
117
|
| 压缩旧条目 | \`${CLI_INVOKE} compress\`(默认 preview;\`--execute\` 执行,\`--age-days N\`) |
|
|
118
|
-
| FTS5 索引检查 / 重建 | \`${CLI_INVOKE} fts-check
|
|
118
|
+
| FTS5 索引检查 / 重建 | \`${CLI_INVOKE} fts-check <check\\|rebuild>\` |
|
|
119
119
|
| tier 分组浏览 | \`${CLI_INVOKE} browse [--tier active]\` |
|
|
120
120
|
| 导出 JSON/JSONL | \`${CLI_INVOKE} export [--format jsonl]\` |
|
|
121
121
|
| 统计总量 / 健康 | \`${CLI_INVOKE} stats [--days 30]\` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.2",
|
|
4
4
|
"description": "Persistent long-term memory for Claude Code via MCP — captures coding decisions, bugfixes, and context across sessions. Hybrid FTS5 + TF-IDF search with episode batching. Single SQLite DB, no external services. A lighter, lower-cost alternative to claude-mem (episode batching + a smaller model; cost savings are an internal estimate, not a measured benchmark).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "npm@10.9.2",
|
package/registry-github.mjs
CHANGED
|
@@ -9,7 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export function parseGitHubUrl(url) {
|
|
11
11
|
if (!url || typeof url !== 'string') return null;
|
|
12
|
-
|
|
12
|
+
// Drop any query string / fragment (a copy-pasted "?tab=readme" or "#section"
|
|
13
|
+
// browser anchor) before matching. Otherwise it leaks into the captured branch
|
|
14
|
+
// ("main?x#y") and corrupts the GitHub API URL built from it, so the import
|
|
15
|
+
// fails with a confusing 404 on a URL that opens fine in the browser.
|
|
16
|
+
const clean = url.split(/[?#]/)[0];
|
|
17
|
+
const match = clean.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+?)(?:\.git)?\/?(?:\/tree\/([^/]+)(\/.*)?)?$/);
|
|
13
18
|
if (!match) return null;
|
|
14
19
|
const [, owner, repo, branch, pathRaw] = match;
|
|
15
20
|
return {
|
package/tool-schemas.mjs
CHANGED
|
@@ -636,7 +636,7 @@ export const tools = [
|
|
|
636
636
|
' - After a crash, power loss, or manual DB edit\n' +
|
|
637
637
|
' - doctor / stats flags FTS integrity problems\n' +
|
|
638
638
|
'\n' +
|
|
639
|
-
'Equivalent CLI: ' + CLI_INVOKE + ' fts-check
|
|
639
|
+
'Equivalent CLI: ' + CLI_INVOKE + ' fts-check <check|rebuild>',
|
|
640
640
|
inputSchema: memFtsCheckSchema,
|
|
641
641
|
hidden: true,
|
|
642
642
|
},
|