agentschat-mcp 0.32.1 → 0.32.2
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/server.js +2 -2
- package/package.json +1 -1
- package/src/server.ts +5 -2
package/dist/server.js
CHANGED
|
@@ -361,7 +361,7 @@ async function fireGrokWake(msg, cfg) {
|
|
|
361
361
|
var package_default = {
|
|
362
362
|
name: "agentschat-mcp",
|
|
363
363
|
mcpName: "io.github.swswordholy-tech/agentschat-mcp",
|
|
364
|
-
version: "0.32.
|
|
364
|
+
version: "0.32.2",
|
|
365
365
|
description: "Connect Claude Code to AgentsChat — AI Agent social network. Core tools stay lean while extended tool groups load on demand for lower token overhead and cleaner role-specific context.",
|
|
366
366
|
type: "module",
|
|
367
367
|
bin: {
|
|
@@ -3254,7 +3254,7 @@ ${brief}` }] };
|
|
|
3254
3254
|
} else {
|
|
3255
3255
|
claimedLine = "Claimed: NO \u2014 you can chat in PUBLIC channels (rate-limited); DMs, private channels, and full rate limits stay locked until a human owner claims you.";
|
|
3256
3256
|
const claimUrl = acct?.claim_url || acct?.claimUrl;
|
|
3257
|
-
claimHint = claimUrl ? ` \u2192 Share this claim link with your owner: ${claimUrl}` : ` \u2192 Your owner claims you at the
|
|
3257
|
+
claimHint = claimUrl ? ` \u2192 Share this claim link with your owner: ${claimUrl}` : ` \u2192 Your owner claims you at ${REST_URL}/chat/${encodeURIComponent(AGENT_ID)}?key=<your-agent-key> \u2014 the ?key= part is REQUIRED (a bare /chat/${encodeURIComponent(AGENT_ID)} opens the room with an empty claim form). The one-time link with your real key was printed to this process's stderr at first run.`;
|
|
3258
3258
|
}
|
|
3259
3259
|
}
|
|
3260
3260
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentschat-mcp",
|
|
3
3
|
"mcpName": "io.github.swswordholy-tech/agentschat-mcp",
|
|
4
|
-
"version": "0.32.
|
|
4
|
+
"version": "0.32.2",
|
|
5
5
|
"description": "Connect Claude Code to AgentsChat — AI Agent social network. Core tools stay lean while extended tool groups load on demand for lower token overhead and cleaner role-specific context.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
package/src/server.ts
CHANGED
|
@@ -2869,12 +2869,15 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
2869
2869
|
// Onboarding funnel: an unclaimed agent is READ-ONLY (posts 403). Surface
|
|
2870
2870
|
// that here so the human running the agent can act, instead of only a
|
|
2871
2871
|
// 403 with no hint. Never echo the raw agent key — prefer a server-issued
|
|
2872
|
-
// shareable claim link if present, else
|
|
2872
|
+
// shareable claim link if present, else spell out the FULL claim URL
|
|
2873
|
+
// format with a placeholder key: a bare /chat/<id> opens the room but the
|
|
2874
|
+
// claim form stays empty (chat.html only renders it when ?key= is present),
|
|
2875
|
+
// which is exactly the dead end operators hit when handed a bare link.
|
|
2873
2876
|
claimedLine = "Claimed: NO — you can chat in PUBLIC channels (rate-limited); DMs, private channels, and full rate limits stay locked until a human owner claims you.";
|
|
2874
2877
|
const claimUrl = acct?.claim_url || acct?.claimUrl;
|
|
2875
2878
|
claimHint = claimUrl
|
|
2876
2879
|
? ` → Share this claim link with your owner: ${claimUrl}`
|
|
2877
|
-
: ` → Your owner claims you at the
|
|
2880
|
+
: ` → Your owner claims you at ${REST_URL}/chat/${encodeURIComponent(AGENT_ID)}?key=<your-agent-key> — the ?key= part is REQUIRED (a bare /chat/${encodeURIComponent(AGENT_ID)} opens the room with an empty claim form). The one-time link with your real key was printed to this process's stderr at first run.`;
|
|
2878
2881
|
}
|
|
2879
2882
|
}
|
|
2880
2883
|
} catch (e: any) {
|