@floomhq/signaldash 0.9.0 → 0.10.0
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/bin/sd.mjs +5 -1
- package/package.json +1 -1
package/bin/sd.mjs
CHANGED
|
@@ -164,10 +164,14 @@ const TOOLS = [
|
|
|
164
164
|
{ name: "wa_list_chats", ch: "wa", action: "list_chats", description: "List your WhatsApp chats." },
|
|
165
165
|
{ name: "wa_read_messages", ch: "wa", action: "read", description: "Read messages in a WhatsApp chat. args: chat_id" },
|
|
166
166
|
{ name: "wa_send_message", ch: "wa", action: "send", description: "Send a WhatsApp message (rate-safe). args: chat_id, text" },
|
|
167
|
+
{ name: "li_my_posts", path: "/li/posts", description: "List the user's own LinkedIn posts with engagement counts (reactions, comments, impressions). args: limit" },
|
|
168
|
+
{ name: "li_post_reactions", path: "/li/post_reactions", description: "Who reacted to a post — name + headline. These are warm inbound signals. args: post_id, limit" },
|
|
169
|
+
{ name: "li_post_comments", path: "/li/post_comments", description: "Comments on a post, with author. args: post_id, limit" },
|
|
170
|
+
{ name: "li_draft_post", path: "/li/create_post", description: "Draft a LinkedIn post. Returns the draft WITHOUT publishing. Publishing requires the human to approve and re-send with publish:true. args: text" },
|
|
167
171
|
];
|
|
168
172
|
function mcpTool(name) {
|
|
169
173
|
return { name, description: TOOLS.find(t => t.name === name).description,
|
|
170
|
-
inputSchema: { type: "object", properties: { chat_id: { type: "string" }, text: { type: "string" }, limit: { type: "number" } } } };
|
|
174
|
+
inputSchema: { type: "object", properties: { chat_id: { type: "string" }, text: { type: "string" }, limit: { type: "number" }, post_id: { type: "string" }, member_id: { type: "string" }, publish: { type: "boolean" } } } };
|
|
171
175
|
}
|
|
172
176
|
export async function runMcp(dependencies = {}) {
|
|
173
177
|
const input = dependencies.input || process.stdin;
|