fix(redis): skip confirmation for regular writes

This commit is contained in:
t8y2 committed 2026-07-09 18:59:12 +08:00
1 parent 8c8c48f9b1
commit 39d956f2e8
20 files changed
+283 -84

No files matched your search

+1 -1
View File
@@ -245,7 +245,7 @@ test("redis command tool blocks write commands in read-only MCP sessions", async
findConnection: async () => redisConnection,
executeRedisCommand: async () => {
executed = true;
return { command: "SET", safety: "confirm", value: "OK" };
return { command: "SET", safety: "write", value: "OK" };
},
};