@memfork/cli 0.1.54 → 0.1.55
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/dist/commands/install.js +4 -2
- package/package.json +1 -1
package/dist/commands/install.js
CHANGED
|
@@ -222,13 +222,15 @@ function upsertCodexMcp(tomlPath, creds) {
|
|
|
222
222
|
// `disabled_tools` denies the raw MemWal write tools so the agent cannot
|
|
223
223
|
// bypass the on-chain DAG. All persistence is forced through `memfork commit`
|
|
224
224
|
// (which writes MemWal *and* anchors on Sui). Recall + health + restore stay
|
|
225
|
-
// enabled
|
|
226
|
-
//
|
|
225
|
+
// enabled and are auto-approved (read-only / diagnostic — no approval needed).
|
|
226
|
+
// Users who want raw, unanchored memory can install the standalone MemWal
|
|
227
|
+
// plugin instead.
|
|
227
228
|
const block = `
|
|
228
229
|
[mcp_servers.memwal]
|
|
229
230
|
url = "${creds.relayerUrl}"
|
|
230
231
|
http_headers = { Authorization = "Bearer ${creds.delegateKey}", x-memwal-account-id = "${creds.accountId}" }
|
|
231
232
|
disabled_tools = ["memwal_remember", "memwal_remember_bulk", "memwal_analyze"]
|
|
233
|
+
default_tools_approval_mode = "auto"
|
|
232
234
|
`;
|
|
233
235
|
if (existing.includes("[mcp_servers.memwal]")) {
|
|
234
236
|
// Replace the existing block — from the header through every following line
|