context-mode 1.0.77 → 1.0.78
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 +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/.openclaw-plugin/openclaw.plugin.json +1 -1
- package/.openclaw-plugin/package.json +1 -1
- package/build/store.js +3 -3
- package/cli.bundle.mjs +65 -65
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/server.bundle.mjs +43 -43
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Claude Code plugins by Mert Koseoğlu",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.78"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "context-mode",
|
|
14
14
|
"source": "./",
|
|
15
15
|
"description": "Claude Code MCP plugin that saves 98% of your context window. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and intent-driven search.",
|
|
16
|
-
"version": "1.0.
|
|
16
|
+
"version": "1.0.78",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "Mert Koseoğlu"
|
|
19
19
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "context-mode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.78",
|
|
4
4
|
"description": "MCP server that saves 98% of your context window with session continuity. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and automatic state restore across compactions.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Mert Koseoğlu",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "Context Mode",
|
|
4
4
|
"kind": "tool",
|
|
5
5
|
"description": "OpenClaw plugin that saves 98% of your context window. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and intent-driven search.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.78",
|
|
7
7
|
"sandbox": {
|
|
8
8
|
"mode": "permissive",
|
|
9
9
|
"filesystem_access": "full",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "context-mode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.78",
|
|
4
4
|
"description": "OpenClaw plugin that saves 98% of your context window. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and intent-driven search.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Mert Koseoğlu",
|
package/build/store.js
CHANGED
|
@@ -564,7 +564,7 @@ export class ContentStore {
|
|
|
564
564
|
return this.#insertChunks([], source, "");
|
|
565
565
|
}
|
|
566
566
|
const chunks = this.#chunkPlainText(content, linesPerChunk);
|
|
567
|
-
return this.#insertChunks(chunks.map((c) => ({ ...c, hasCode: false })), source, content);
|
|
567
|
+
return withRetry(() => this.#insertChunks(chunks.map((c) => ({ ...c, hasCode: false })), source, content));
|
|
568
568
|
}
|
|
569
569
|
// ── Index JSON ──
|
|
570
570
|
/**
|
|
@@ -590,7 +590,7 @@ export class ContentStore {
|
|
|
590
590
|
if (chunks.length === 0) {
|
|
591
591
|
return this.indexPlainText(content, source);
|
|
592
592
|
}
|
|
593
|
-
return this.#insertChunks(chunks, source, content);
|
|
593
|
+
return withRetry(() => this.#insertChunks(chunks, source, content));
|
|
594
594
|
}
|
|
595
595
|
// ── Shared DB Insertion ──
|
|
596
596
|
/**
|
|
@@ -697,7 +697,7 @@ export class ContentStore {
|
|
|
697
697
|
stmt = this.#stmtSearchTrigram;
|
|
698
698
|
params = [sanitized, limit];
|
|
699
699
|
}
|
|
700
|
-
return this.#mapSearchRows(stmt.all(...params));
|
|
700
|
+
return withRetry(() => this.#mapSearchRows(stmt.all(...params)));
|
|
701
701
|
}
|
|
702
702
|
// ── Fuzzy Correction (Layer 3) ──
|
|
703
703
|
fuzzyCorrect(query) {
|