From d1e49427e5dfdafb653cf4b7e6c0a27b94b38ed9 Mon Sep 17 00:00:00 2001 From: Steve Calvert Date: Fri, 10 Apr 2026 08:22:16 -0700 Subject: [PATCH] fix: suppress startup message when Glean is already configured The "Work AI is connected" message on every SessionStart adds no value once the plugin is set up and feels spammy. Keep the unconfigured message since it's actionable (directs users to run mcp-setup). Co-Authored-By: Claude Opus 4.6 (1M context) --- plugins/glean-core/scripts/session-start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/glean-core/scripts/session-start.sh b/plugins/glean-core/scripts/session-start.sh index ffe4767..026e085 100755 --- a/plugins/glean-core/scripts/session-start.sh +++ b/plugins/glean-core/scripts/session-start.sh @@ -28,7 +28,7 @@ output_json() { # Check if any Glean MCP servers are configured if node -e "const c=require('$HOME/.claude.json'); process.exit(Object.keys(c.mcpServers||{}).some(k=>k.toLowerCase().includes('glean'))?0:1)" 2>/dev/null; then - output_json "$TEMPLATES_DIR/session-configured.txt" + exit 0 else output_json "$TEMPLATES_DIR/session-unconfigured.txt" fi