Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

fix(docker): warn-only on /app/data permission check, remove exit 1 (#3036)

Andrianata Daud656154868723
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ad3b14559d..46e9b601f1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -276,6 +276,14 @@
- **mcp:** move `enforceScopes` guard before `MCP_TOOL_MAP` lookup, add inline `scopes` parameter to `withScopeEnforcement()`, and declare scopes on all 24 dynamic tool definitions (memory, skills, plugins, gamification, compression) to fix scope enforcement for dynamic MCP tool groups (#2958)
+### ✨ New Features
+
+- **notion:** add Notion as an MCP context source — 6 tools (`notion_search`, `notion_list_databases`, `notion_get_database`, `notion_query_database`, `notion_read`, `notion_append_blocks`) scoped under `read:notion` / `write:notion`, with dashboard "Context Sources" tab, settings API, and token persistence in `key_value` table (#2959)
+
+### 🔧 Bug Fixes
+
+- **mcp:** move `enforceScopes` guard before `MCP_TOOL_MAP` lookup, add inline `scopes` parameter to `withScopeEnforcement()`, and declare scopes on all 24 dynamic tool definitions (memory, skills, plugins, gamification, compression) to fix scope enforcement for dynamic MCP tool groups (#2958)
+
---
## [3.8.7] — 2026-05-29
diff --git a/scripts/check-permissions.sh b/scripts/check-permissions.sh
index 88e2dba4bc..a58d046351 100755
--- a/scripts/check-permissions.sh
+++ b/scripts/check-permissions.sh
@@ -11,9 +11,8 @@ fi
if [ -d "/app/data" ] && [ ! -w "/app/data" ]; then
echo "WARNING: /app/data is not writable by the current user (UID $(id -u))."
echo "Run this on the Docker host to fix:"
- echo " sudo chown -R 1000:1000 ./data"
+ echo " sudo chown -R $(id -u):$(id -g) /app/data"
echo " chmod -R u+rwX ./data"
- exit 1
fi
exec "$@"