@ateam-ai/mcp 0.4.60 → 0.4.61
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/package.json +1 -1
- package/src/tools.js +14 -1
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -5527,7 +5527,20 @@ export async function handleToolCall(name, args, sessionId) {
|
|
|
5527
5527
|
"",
|
|
5528
5528
|
hasEnvVars
|
|
5529
5529
|
? "Environment variables (ADAS_API_KEY) were detected, but they are not sufficient for tenant-aware operations. You must call ateam_auth explicitly to confirm which tenant you intend to use."
|
|
5530
|
-
|
|
5530
|
+
// "No authentication found." was TRUE and pointed at the WRONG CAUSE.
|
|
5531
|
+
// Auth is held in this process's memory and does NOT survive a
|
|
5532
|
+
// restart, so a container rebuild silently logs out every connected
|
|
5533
|
+
// session — and the message read like a first-time setup problem,
|
|
5534
|
+
// sending the reader to go get an API key they already had.
|
|
5535
|
+
// 2026-08-21: a Builder deploy logged out a live session mid-work
|
|
5536
|
+
// and cost a human round-trip to diagnose. State both causes; the
|
|
5537
|
+
// second is the likelier one for a session that was working a
|
|
5538
|
+
// moment ago.
|
|
5539
|
+
: "No authentication found in this process. TWO CAUSES, and the second is easy to miss:\n" +
|
|
5540
|
+
" (a) this session never authenticated, or\n" +
|
|
5541
|
+
" (b) THE MCP SERVER RESTARTED. Auth lives in memory and does not survive a restart, so a\n" +
|
|
5542
|
+
" container rebuild or redeploy logs out every connected session with no warning.\n" +
|
|
5543
|
+
"If your tools were working minutes ago, it is (b) — nothing is misconfigured, just re-run ateam_auth.",
|
|
5531
5544
|
"",
|
|
5532
5545
|
"Please ask the user to:",
|
|
5533
5546
|
"1. Get their API key at: https://mcp.ateam-ai.com/get-api-key",
|