context-mode 1.0.18 → 1.0.20
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/build/db-base.js +5 -0
- package/build/executor.js +11 -4
- package/build/lifecycle.d.ts +21 -0
- package/build/lifecycle.js +68 -0
- package/build/server.js +4 -1
- package/build/session/db.js +0 -21
- package/cli.bundle.mjs +81 -81
- package/hooks/core/formatters.mjs +6 -2
- package/package.json +1 -1
- package/server.bundle.mjs +66 -66
- package/build/sync/batcher.d.ts +0 -23
- package/build/sync/batcher.js +0 -74
- package/build/sync/cloud-post.d.ts +0 -12
- package/build/sync/cloud-post.js +0 -38
- package/build/sync/config.d.ts +0 -4
- package/build/sync/config.js +0 -64
- package/build/sync/index.d.ts +0 -12
- package/build/sync/index.js +0 -55
- package/build/sync/sanitizer.d.ts +0 -13
- package/build/sync/sanitizer.js +0 -86
- package/build/sync/sender.d.ts +0 -15
- package/build/sync/sender.js +0 -30
- package/build/sync/types.d.ts +0 -31
- package/build/sync/types.js +0 -1
|
@@ -9,7 +9,7 @@ export const formatters = {
|
|
|
9
9
|
hookSpecificOutput: {
|
|
10
10
|
hookEventName: "PreToolUse",
|
|
11
11
|
permissionDecision: "deny",
|
|
12
|
-
reason,
|
|
12
|
+
permissionDecisionReason: reason,
|
|
13
13
|
},
|
|
14
14
|
}),
|
|
15
15
|
ask: () => ({
|
|
@@ -21,6 +21,8 @@ export const formatters = {
|
|
|
21
21
|
modify: (updatedInput) => ({
|
|
22
22
|
hookSpecificOutput: {
|
|
23
23
|
hookEventName: "PreToolUse",
|
|
24
|
+
permissionDecision: "allow",
|
|
25
|
+
permissionDecisionReason: "Routed to context-mode sandbox",
|
|
24
26
|
updatedInput,
|
|
25
27
|
},
|
|
26
28
|
}),
|
|
@@ -46,7 +48,7 @@ export const formatters = {
|
|
|
46
48
|
"vscode-copilot": {
|
|
47
49
|
deny: (reason) => ({
|
|
48
50
|
permissionDecision: "deny",
|
|
49
|
-
reason,
|
|
51
|
+
permissionDecisionReason: reason,
|
|
50
52
|
}),
|
|
51
53
|
ask: () => ({
|
|
52
54
|
permissionDecision: "ask",
|
|
@@ -54,6 +56,8 @@ export const formatters = {
|
|
|
54
56
|
modify: (updatedInput) => ({
|
|
55
57
|
hookSpecificOutput: {
|
|
56
58
|
hookEventName: "PreToolUse",
|
|
59
|
+
permissionDecision: "allow",
|
|
60
|
+
permissionDecisionReason: "Routed to context-mode sandbox",
|
|
57
61
|
updatedInput,
|
|
58
62
|
},
|
|
59
63
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "context-mode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP plugin that saves 98% of your context window. Works with Claude Code, Gemini CLI, VS Code Copilot, OpenCode, and Codex CLI. Sandboxed code execution, FTS5 knowledge base, and intent-driven search.",
|
|
6
6
|
"author": "Mert Koseoğlu",
|