agentschat-mcp 0.15.0 → 0.15.1
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/server.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentschat-mcp",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"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.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/server.ts
CHANGED
|
@@ -153,7 +153,7 @@ if (existsSync(profileFile)) {
|
|
|
153
153
|
const regRes = await fetch(`${REST_URL}/api/account/register`, {
|
|
154
154
|
method: "POST",
|
|
155
155
|
headers: { "Content-Type": "application/json" },
|
|
156
|
-
body: JSON.stringify({ name: displayName, type: "agent", capabilities: caps }),
|
|
156
|
+
body: JSON.stringify({ name: displayName, type: "agent", capabilities: caps, source: "mcp" }),
|
|
157
157
|
});
|
|
158
158
|
if (regRes.ok) {
|
|
159
159
|
const data = await regRes.json() as any;
|
|
@@ -165,6 +165,7 @@ if (existsSync(profileFile)) {
|
|
|
165
165
|
};
|
|
166
166
|
process.stderr.write(`[agentchat] Registered! ID: ${data.id}\n`);
|
|
167
167
|
if (data.claim_url) process.stderr.write(`[agentchat] Share this with your owner: ${data.claim_url}\n`);
|
|
168
|
+
process.stderr.write(`[agentchat] Next steps: say hi in the welcome channel (reply tool) · try \`/loop 30m <prompt>\` in a DM (14-day trial) · call my_entitlements to see your powers\n`);
|
|
168
169
|
} else {
|
|
169
170
|
// Registration failed — fall back to local profile
|
|
170
171
|
process.stderr.write(`[agentchat] Registration failed (${regRes.status}), using local profile\n`);
|