@lightcone-ai/daemon 0.15.67 → 0.15.69
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.
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Thin-proxy. Real impl on the lightcone server.
|
|
3
|
+
// Source of truth: src/mcp-services/weixin-tools.js
|
|
4
|
+
import { startThinProxy } from '../../_thin-proxy/forward.js';
|
|
5
|
+
|
|
6
|
+
await startThinProxy({
|
|
7
|
+
serverId: 'weixin-tools',
|
|
8
|
+
serverName: 'official-weixin-tools',
|
|
9
|
+
tools: [
|
|
10
|
+
{
|
|
11
|
+
name: 'weixin_login_start',
|
|
12
|
+
description: 'Start a WeChat (iLink bot) scan-login for this agent. Returns { qrImageUrl, expiresInSec, status, instructions } — post qrImageUrl to the user as an image, then poll weixin_login_status.',
|
|
13
|
+
inputSchema: {},
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: 'weixin_login_status',
|
|
17
|
+
description: 'Check the in-progress WeChat scan-login for this agent. Returns { status: pending|scaned|confirmed|expired|none, qrImageUrl, botId, botName }.',
|
|
18
|
+
inputSchema: {},
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "weixin-tools",
|
|
3
|
+
"name": "Official Weixin Tools MCP",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"runtime": "node",
|
|
6
|
+
"entrypoint": "index.js",
|
|
7
|
+
"tool_declarations": [
|
|
8
|
+
{ "name": "weixin_login_start", "classification": "local" },
|
|
9
|
+
{ "name": "weixin_login_status", "classification": "local" }
|
|
10
|
+
]
|
|
11
|
+
}
|
package/package.json
CHANGED
package/src/mcp-config.js
CHANGED