@beeper/desktop-mcp 0.1.4 → 4.1.293
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/README.md +10 -14
- package/code-tool.d.mts +1 -1
- package/code-tool.d.mts.map +1 -1
- package/code-tool.d.ts +1 -1
- package/code-tool.d.ts.map +1 -1
- package/code-tool.js +40 -6
- package/code-tool.js.map +1 -1
- package/code-tool.mjs +4 -3
- package/code-tool.mjs.map +1 -1
- package/docs-search-tool.d.mts +44 -0
- package/docs-search-tool.d.mts.map +1 -0
- package/docs-search-tool.d.ts +44 -0
- package/docs-search-tool.d.ts.map +1 -0
- package/docs-search-tool.js +43 -0
- package/docs-search-tool.js.map +1 -0
- package/docs-search-tool.mjs +39 -0
- package/docs-search-tool.mjs.map +1 -0
- package/http.d.mts +5 -1
- package/http.d.mts.map +1 -1
- package/http.d.ts +5 -1
- package/http.d.ts.map +1 -1
- package/http.js +7 -9
- package/http.js.map +1 -1
- package/http.mjs +7 -9
- package/http.mjs.map +1 -1
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/index.mjs +3 -3
- package/index.mjs.map +1 -1
- package/options.d.mts +1 -0
- package/options.d.mts.map +1 -1
- package/options.d.ts +1 -0
- package/options.d.ts.map +1 -1
- package/options.js +15 -8
- package/options.js.map +1 -1
- package/options.mjs +15 -8
- package/options.mjs.map +1 -1
- package/package.json +12 -2
- package/server.d.mts +1 -1
- package/server.d.mts.map +1 -1
- package/server.d.ts +1 -1
- package/server.d.ts.map +1 -1
- package/server.js +39 -13
- package/server.js.map +1 -1
- package/server.mjs +40 -14
- package/server.mjs.map +1 -1
- package/src/code-tool.ts +5 -3
- package/src/docs-search-tool.ts +48 -0
- package/src/http.ts +35 -23
- package/src/index.ts +3 -3
- package/src/options.ts +19 -9
- package/src/server.ts +42 -15
- package/src/tools/accounts/get-accounts.ts +3 -3
- package/src/tools/chats/archive-chat.ts +6 -6
- package/src/tools/chats/get-chat.ts +6 -7
- package/src/tools/chats/reminders/clear-chat-reminder.ts +10 -8
- package/src/tools/chats/reminders/set-chat-reminder.ts +6 -5
- package/src/tools/chats/search-chats.ts +14 -12
- package/src/tools/index.ts +6 -4
- package/src/tools/messages/list-messages.ts +51 -0
- package/src/tools/messages/search-messages.ts +15 -26
- package/src/tools/messages/send-message.ts +5 -6
- package/src/tools/{app/open-in-app.ts → top-level/focus-app.ts} +13 -8
- package/src/tools/top-level/search.ts +41 -0
- package/tools/accounts/get-accounts.js +3 -3
- package/tools/accounts/get-accounts.js.map +1 -1
- package/tools/accounts/get-accounts.mjs +3 -3
- package/tools/accounts/get-accounts.mjs.map +1 -1
- package/tools/chats/archive-chat.d.mts.map +1 -1
- package/tools/chats/archive-chat.d.ts.map +1 -1
- package/tools/chats/archive-chat.js +6 -5
- package/tools/chats/archive-chat.js.map +1 -1
- package/tools/chats/archive-chat.mjs +6 -5
- package/tools/chats/archive-chat.mjs.map +1 -1
- package/tools/chats/get-chat.d.mts.map +1 -1
- package/tools/chats/get-chat.d.ts.map +1 -1
- package/tools/chats/get-chat.js +6 -6
- package/tools/chats/get-chat.js.map +1 -1
- package/tools/chats/get-chat.mjs +6 -6
- package/tools/chats/get-chat.mjs.map +1 -1
- package/tools/chats/reminders/clear-chat-reminder.d.mts.map +1 -1
- package/tools/chats/reminders/clear-chat-reminder.d.ts.map +1 -1
- package/tools/chats/reminders/clear-chat-reminder.js +10 -7
- package/tools/chats/reminders/clear-chat-reminder.js.map +1 -1
- package/tools/chats/reminders/clear-chat-reminder.mjs +10 -7
- package/tools/chats/reminders/clear-chat-reminder.mjs.map +1 -1
- package/tools/chats/reminders/set-chat-reminder.d.mts.map +1 -1
- package/tools/chats/reminders/set-chat-reminder.d.ts.map +1 -1
- package/tools/chats/reminders/set-chat-reminder.js +6 -5
- package/tools/chats/reminders/set-chat-reminder.js.map +1 -1
- package/tools/chats/reminders/set-chat-reminder.mjs +6 -5
- package/tools/chats/reminders/set-chat-reminder.mjs.map +1 -1
- package/tools/chats/search-chats.d.mts.map +1 -1
- package/tools/chats/search-chats.d.ts.map +1 -1
- package/tools/chats/search-chats.js +13 -12
- package/tools/chats/search-chats.js.map +1 -1
- package/tools/chats/search-chats.mjs +13 -12
- package/tools/chats/search-chats.mjs.map +1 -1
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +6 -4
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +6 -4
- package/tools/index.mjs.map +1 -1
- package/tools/messages/{attachments/download-attachment.d.ts → list-messages.d.mts} +1 -1
- package/tools/messages/list-messages.d.mts.map +1 -0
- package/tools/messages/{attachments/download-attachment.d.mts → list-messages.d.ts} +1 -1
- package/tools/messages/list-messages.d.ts.map +1 -0
- package/tools/messages/list-messages.js +47 -0
- package/tools/messages/list-messages.js.map +1 -0
- package/tools/messages/list-messages.mjs +43 -0
- package/tools/messages/list-messages.mjs.map +1 -0
- package/tools/messages/search-messages.d.mts.map +1 -1
- package/tools/messages/search-messages.d.ts.map +1 -1
- package/tools/messages/search-messages.js +14 -26
- package/tools/messages/search-messages.js.map +1 -1
- package/tools/messages/search-messages.mjs +14 -26
- package/tools/messages/search-messages.mjs.map +1 -1
- package/tools/messages/send-message.d.mts.map +1 -1
- package/tools/messages/send-message.d.ts.map +1 -1
- package/tools/messages/send-message.js +5 -5
- package/tools/messages/send-message.js.map +1 -1
- package/tools/messages/send-message.mjs +5 -5
- package/tools/messages/send-message.mjs.map +1 -1
- package/tools/{app/open-in-app.d.ts → top-level/focus-app.d.mts} +1 -1
- package/tools/top-level/focus-app.d.mts.map +1 -0
- package/tools/{app/open-in-app.d.mts → top-level/focus-app.d.ts} +1 -1
- package/tools/top-level/focus-app.d.ts.map +1 -0
- package/tools/{app/open-in-app.js → top-level/focus-app.js} +13 -9
- package/tools/top-level/focus-app.js.map +1 -0
- package/tools/{app/open-in-app.mjs → top-level/focus-app.mjs} +13 -9
- package/tools/top-level/focus-app.mjs.map +1 -0
- package/tools/top-level/search.d.mts +45 -0
- package/tools/top-level/search.d.mts.map +1 -0
- package/tools/top-level/search.d.ts +45 -0
- package/tools/top-level/search.d.ts.map +1 -0
- package/tools/top-level/search.js +37 -0
- package/tools/top-level/search.js.map +1 -0
- package/tools/top-level/search.mjs +33 -0
- package/tools/top-level/search.mjs.map +1 -0
- package/src/tools/messages/attachments/download-attachment.ts +0 -42
- package/tools/app/open-in-app.d.mts.map +0 -1
- package/tools/app/open-in-app.d.ts.map +0 -1
- package/tools/app/open-in-app.js.map +0 -1
- package/tools/app/open-in-app.mjs.map +0 -1
- package/tools/messages/attachments/download-attachment.d.mts.map +0 -1
- package/tools/messages/attachments/download-attachment.d.ts.map +0 -1
- package/tools/messages/attachments/download-attachment.js +0 -39
- package/tools/messages/attachments/download-attachment.js.map +0 -1
- package/tools/messages/attachments/download-attachment.mjs +0 -35
- package/tools/messages/attachments/download-attachment.mjs.map +0 -1
|
@@ -42,4 +42,4 @@ declare const _default: {
|
|
|
42
42
|
handler: (client: BeeperDesktop, args: Record<string, unknown> | undefined) => Promise<import("@beeper/desktop-mcp/tools/types").ToolCallResult>;
|
|
43
43
|
};
|
|
44
44
|
export default _default;
|
|
45
|
-
//# sourceMappingURL=
|
|
45
|
+
//# sourceMappingURL=list-messages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-messages.d.mts","sourceRoot":"","sources":["../../src/tools/messages/list-messages.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA0BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,sEAI7F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,aAAa,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM9F,wBAA2C"}
|
|
@@ -42,4 +42,4 @@ declare const _default: {
|
|
|
42
42
|
handler: (client: BeeperDesktop, args: Record<string, unknown> | undefined) => Promise<import("@beeper/desktop-mcp/tools/types").ToolCallResult>;
|
|
43
43
|
};
|
|
44
44
|
export default _default;
|
|
45
|
-
//# sourceMappingURL=
|
|
45
|
+
//# sourceMappingURL=list-messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-messages.d.ts","sourceRoot":"","sources":["../../src/tools/messages/list-messages.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA0BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,sEAI7F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,aAAa,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM9F,wBAA2C"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const types_1 = require("@beeper/desktop-mcp/tools/types");
|
|
6
|
+
exports.metadata = {
|
|
7
|
+
resource: 'messages',
|
|
8
|
+
operation: 'read',
|
|
9
|
+
tags: ['messages'],
|
|
10
|
+
httpMethod: 'get',
|
|
11
|
+
httpPath: '/v1/chats/{chatID}/messages',
|
|
12
|
+
operationId: 'listMessages',
|
|
13
|
+
};
|
|
14
|
+
exports.tool = {
|
|
15
|
+
name: 'list_messages',
|
|
16
|
+
description: 'List messages from a specific chat with pagination support.',
|
|
17
|
+
inputSchema: {
|
|
18
|
+
type: 'object',
|
|
19
|
+
properties: {
|
|
20
|
+
chatID: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
description: 'Unique identifier of the chat.',
|
|
23
|
+
},
|
|
24
|
+
cursor: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
description: "Opaque pagination cursor; do not inspect. Use together with 'direction'.",
|
|
27
|
+
},
|
|
28
|
+
direction: {
|
|
29
|
+
type: 'string',
|
|
30
|
+
description: "Pagination direction used with 'cursor': 'before' fetches older results, 'after' fetches newer results. Defaults to 'before' when only 'cursor' is provided.",
|
|
31
|
+
enum: ['after', 'before'],
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
required: ['chatID'],
|
|
35
|
+
},
|
|
36
|
+
annotations: {
|
|
37
|
+
readOnlyHint: true,
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
const handler = async (client, args) => {
|
|
41
|
+
const { chatID, ...body } = args;
|
|
42
|
+
const response = await client.messages.list(chatID, body).asResponse();
|
|
43
|
+
return (0, types_1.asTextContentResult)(await response.json());
|
|
44
|
+
};
|
|
45
|
+
exports.handler = handler;
|
|
46
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
47
|
+
//# sourceMappingURL=list-messages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-messages.js","sourceRoot":"","sources":["../../src/tools/messages/list-messages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAgF;AAKnE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,6BAA6B;IACvC,WAAW,EAAE,cAAc;CAC5B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,6DAA6D;IAC1E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,gCAAgC;aAC9C;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0EAA0E;aACxF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,8JAA8J;gBAChK,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;aAC1B;SACF;QACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;KACrB;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAqB,EAAE,IAAyC,EAAE,EAAE;IAChG,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACxC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IACvE,OAAO,IAAA,2BAAmB,EAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { asTextContentResult } from '@beeper/desktop-mcp/tools/types';
|
|
3
|
+
export const metadata = {
|
|
4
|
+
resource: 'messages',
|
|
5
|
+
operation: 'read',
|
|
6
|
+
tags: ['messages'],
|
|
7
|
+
httpMethod: 'get',
|
|
8
|
+
httpPath: '/v1/chats/{chatID}/messages',
|
|
9
|
+
operationId: 'listMessages',
|
|
10
|
+
};
|
|
11
|
+
export const tool = {
|
|
12
|
+
name: 'list_messages',
|
|
13
|
+
description: 'List messages from a specific chat with pagination support.',
|
|
14
|
+
inputSchema: {
|
|
15
|
+
type: 'object',
|
|
16
|
+
properties: {
|
|
17
|
+
chatID: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
description: 'Unique identifier of the chat.',
|
|
20
|
+
},
|
|
21
|
+
cursor: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
description: "Opaque pagination cursor; do not inspect. Use together with 'direction'.",
|
|
24
|
+
},
|
|
25
|
+
direction: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
description: "Pagination direction used with 'cursor': 'before' fetches older results, 'after' fetches newer results. Defaults to 'before' when only 'cursor' is provided.",
|
|
28
|
+
enum: ['after', 'before'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
required: ['chatID'],
|
|
32
|
+
},
|
|
33
|
+
annotations: {
|
|
34
|
+
readOnlyHint: true,
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
export const handler = async (client, args) => {
|
|
38
|
+
const { chatID, ...body } = args;
|
|
39
|
+
const response = await client.messages.list(chatID, body).asResponse();
|
|
40
|
+
return asTextContentResult(await response.json());
|
|
41
|
+
};
|
|
42
|
+
export default { metadata, tool, handler };
|
|
43
|
+
//# sourceMappingURL=list-messages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-messages.mjs","sourceRoot":"","sources":["../../src/tools/messages/list-messages.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,iCAAiC;AAK/E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,E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AAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"search-messages.d.mts","sourceRoot":"","sources":["../../src/tools/messages/search-messages.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAkGlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,sEAI7F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,aAAa,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM9F,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-messages.d.ts","sourceRoot":"","sources":["../../src/tools/messages/search-messages.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"search-messages.d.ts","sourceRoot":"","sources":["../../src/tools/messages/search-messages.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAkGlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,sEAI7F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,aAAa,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM9F,wBAA2C"}
|
|
@@ -8,26 +8,26 @@ exports.metadata = {
|
|
|
8
8
|
operation: 'read',
|
|
9
9
|
tags: ['messages'],
|
|
10
10
|
httpMethod: 'get',
|
|
11
|
-
httpPath: '/
|
|
12
|
-
operationId: '
|
|
11
|
+
httpPath: '/v1/messages/search',
|
|
12
|
+
operationId: 'searchMessages',
|
|
13
13
|
};
|
|
14
14
|
exports.tool = {
|
|
15
15
|
name: 'search_messages',
|
|
16
|
-
description: 'Search messages across chats using Beeper\'s message index.\n- When to use: find messages by text and/or filters (chatIDs, accountIDs, chatType, media type filters, sender, date ranges).\n- CRITICAL: Query is LITERAL WORD MATCHING, NOT semantic search! Only finds messages containing these EXACT words.\n • ✅ RIGHT: query="dinner" or query="sick" or query="error" (single words users type)\n • ❌ WRONG: query="dinner plans tonight" or query="health issues" (phrases/concepts)\n • The query matches ALL words provided (in any order). Example: query="flight booking" finds messages with both "flight" AND "booking".\n-
|
|
16
|
+
description: 'Search messages across chats using Beeper\'s message index.\n- When to use: find messages by text and/or filters (chatIDs, accountIDs, chatType, media type filters, sender, date ranges).\n- CRITICAL: Query is LITERAL WORD MATCHING, NOT semantic search! Only finds messages containing these EXACT words.\n • ✅ RIGHT: query="dinner" or query="sick" or query="error" (single words users type)\n • ❌ WRONG: query="dinner plans tonight" or query="health issues" (phrases/concepts)\n • The query matches ALL words provided (in any order). Example: query="flight booking" finds messages with both "flight" AND "booking".\n- Performance: provide chatIDs/accountIDs when known. Omitted \'query\' returns results based on filters only. Partial matches enabled; \'excludeLowPriority\' defaults to true.\n- Workflow tip: To search messages in specific conversations: 1) Use find-chats to get chatIDs, 2) Use search-messages with those chatIDs.\n- IMPORTANT: Chat names vary widely. ASK the user for clarification:\n • "Which chat do you mean by family?" (could be "The Smiths", "Mom Dad Kids", etc.)\n • "What\'s the name of your work chat?" (could be "Team", company name, project name)\n • "Who are the participants?" (use scope="participants" in search-chats)\nReturns: matching messages and referenced chats.',
|
|
17
17
|
inputSchema: {
|
|
18
18
|
type: 'object',
|
|
19
19
|
properties: {
|
|
20
20
|
accountIDs: {
|
|
21
21
|
type: 'array',
|
|
22
|
-
description: 'Limit search to specific
|
|
22
|
+
description: 'Limit search to specific account IDs.',
|
|
23
23
|
items: {
|
|
24
24
|
type: 'string',
|
|
25
|
-
description: '
|
|
25
|
+
description: 'Account ID this resource belongs to.',
|
|
26
26
|
},
|
|
27
27
|
},
|
|
28
28
|
chatIDs: {
|
|
29
29
|
type: 'array',
|
|
30
|
-
description: 'Limit search to specific
|
|
30
|
+
description: 'Limit search to specific chat IDs.',
|
|
31
31
|
items: {
|
|
32
32
|
type: 'string',
|
|
33
33
|
},
|
|
@@ -66,27 +66,15 @@ exports.tool = {
|
|
|
66
66
|
},
|
|
67
67
|
limit: {
|
|
68
68
|
type: 'integer',
|
|
69
|
-
description: 'Maximum number of messages to return
|
|
69
|
+
description: 'Maximum number of messages to return.',
|
|
70
70
|
},
|
|
71
|
-
|
|
72
|
-
type: '
|
|
73
|
-
description: '
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
},
|
|
79
|
-
onlyWithLink: {
|
|
80
|
-
type: 'boolean',
|
|
81
|
-
description: 'Only return messages that contain link attachments.',
|
|
82
|
-
},
|
|
83
|
-
onlyWithMedia: {
|
|
84
|
-
type: 'boolean',
|
|
85
|
-
description: 'Only return messages that contain any type of media attachment.',
|
|
86
|
-
},
|
|
87
|
-
onlyWithVideo: {
|
|
88
|
-
type: 'boolean',
|
|
89
|
-
description: 'Only return messages that contain video attachments.',
|
|
71
|
+
mediaTypes: {
|
|
72
|
+
type: 'array',
|
|
73
|
+
description: "Filter messages by media types. Use ['any'] for any media type, or specify exact types like ['video', 'image']. Omit for no media filtering.",
|
|
74
|
+
items: {
|
|
75
|
+
type: 'string',
|
|
76
|
+
enum: ['any', 'video', 'image', 'link', 'file'],
|
|
77
|
+
},
|
|
90
78
|
},
|
|
91
79
|
query: {
|
|
92
80
|
type: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-messages.js","sourceRoot":"","sources":["../../src/tools/messages/search-messages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAgF;AAKnE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"search-messages.js","sourceRoot":"","sources":["../../src/tools/messages/search-messages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAgF;AAKnE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,gBAAgB;CAC9B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EACT,4xCAA4xC;IAC9xC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,uCAAuC;gBACpD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,sCAAsC;iBACpD;aACF;YACD,OAAO,EAAE;gBACP,IAA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I,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC;qBACvB;oBACD;wBACE,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,WAAW,EACT,+IAA+I;aAClJ;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAqB,EAAE,IAAyC,EAAE,EAAE;IAChG,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IACjE,OAAO,IAAA,2BAAmB,EAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -5,26 +5,26 @@ export const metadata = {
|
|
|
5
5
|
operation: 'read',
|
|
6
6
|
tags: ['messages'],
|
|
7
7
|
httpMethod: 'get',
|
|
8
|
-
httpPath: '/
|
|
9
|
-
operationId: '
|
|
8
|
+
httpPath: '/v1/messages/search',
|
|
9
|
+
operationId: 'searchMessages',
|
|
10
10
|
};
|
|
11
11
|
export const tool = {
|
|
12
12
|
name: 'search_messages',
|
|
13
|
-
description: 'Search messages across chats using Beeper\'s message index.\n- When to use: find messages by text and/or filters (chatIDs, accountIDs, chatType, media type filters, sender, date ranges).\n- CRITICAL: Query is LITERAL WORD MATCHING, NOT semantic search! Only finds messages containing these EXACT words.\n • ✅ RIGHT: query="dinner" or query="sick" or query="error" (single words users type)\n • ❌ WRONG: query="dinner plans tonight" or query="health issues" (phrases/concepts)\n • The query matches ALL words provided (in any order). Example: query="flight booking" finds messages with both "flight" AND "booking".\n-
|
|
13
|
+
description: 'Search messages across chats using Beeper\'s message index.\n- When to use: find messages by text and/or filters (chatIDs, accountIDs, chatType, media type filters, sender, date ranges).\n- CRITICAL: Query is LITERAL WORD MATCHING, NOT semantic search! Only finds messages containing these EXACT words.\n • ✅ RIGHT: query="dinner" or query="sick" or query="error" (single words users type)\n • ❌ WRONG: query="dinner plans tonight" or query="health issues" (phrases/concepts)\n • The query matches ALL words provided (in any order). Example: query="flight booking" finds messages with both "flight" AND "booking".\n- Performance: provide chatIDs/accountIDs when known. Omitted \'query\' returns results based on filters only. Partial matches enabled; \'excludeLowPriority\' defaults to true.\n- Workflow tip: To search messages in specific conversations: 1) Use find-chats to get chatIDs, 2) Use search-messages with those chatIDs.\n- IMPORTANT: Chat names vary widely. ASK the user for clarification:\n • "Which chat do you mean by family?" (could be "The Smiths", "Mom Dad Kids", etc.)\n • "What\'s the name of your work chat?" (could be "Team", company name, project name)\n • "Who are the participants?" (use scope="participants" in search-chats)\nReturns: matching messages and referenced chats.',
|
|
14
14
|
inputSchema: {
|
|
15
15
|
type: 'object',
|
|
16
16
|
properties: {
|
|
17
17
|
accountIDs: {
|
|
18
18
|
type: 'array',
|
|
19
|
-
description: 'Limit search to specific
|
|
19
|
+
description: 'Limit search to specific account IDs.',
|
|
20
20
|
items: {
|
|
21
21
|
type: 'string',
|
|
22
|
-
description: '
|
|
22
|
+
description: 'Account ID this resource belongs to.',
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
25
|
chatIDs: {
|
|
26
26
|
type: 'array',
|
|
27
|
-
description: 'Limit search to specific
|
|
27
|
+
description: 'Limit search to specific chat IDs.',
|
|
28
28
|
items: {
|
|
29
29
|
type: 'string',
|
|
30
30
|
},
|
|
@@ -63,27 +63,15 @@ export const tool = {
|
|
|
63
63
|
},
|
|
64
64
|
limit: {
|
|
65
65
|
type: 'integer',
|
|
66
|
-
description: 'Maximum number of messages to return
|
|
66
|
+
description: 'Maximum number of messages to return.',
|
|
67
67
|
},
|
|
68
|
-
|
|
69
|
-
type: '
|
|
70
|
-
description: '
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
onlyWithLink: {
|
|
77
|
-
type: 'boolean',
|
|
78
|
-
description: 'Only return messages that contain link attachments.',
|
|
79
|
-
},
|
|
80
|
-
onlyWithMedia: {
|
|
81
|
-
type: 'boolean',
|
|
82
|
-
description: 'Only return messages that contain any type of media attachment.',
|
|
83
|
-
},
|
|
84
|
-
onlyWithVideo: {
|
|
85
|
-
type: 'boolean',
|
|
86
|
-
description: 'Only return messages that contain video attachments.',
|
|
68
|
+
mediaTypes: {
|
|
69
|
+
type: 'array',
|
|
70
|
+
description: "Filter messages by media types. Use ['any'] for any media type, or specify exact types like ['video', 'image']. Omit for no media filtering.",
|
|
71
|
+
items: {
|
|
72
|
+
type: 'string',
|
|
73
|
+
enum: ['any', 'video', 'image', 'link', 'file'],
|
|
74
|
+
},
|
|
87
75
|
},
|
|
88
76
|
query: {
|
|
89
77
|
type: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-messages.mjs","sourceRoot":"","sources":["../../src/tools/messages/search-messages.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,iCAAiC;AAK/E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"search-messages.mjs","sourceRoot":"","sources":["../../src/tools/messages/search-messages.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,iCAAiC;AAK/E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EA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gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uCAAuC;aACrD;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,8IAA8I;gBAChJ,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;iBAChD;aACF;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,uSAAuS;aAC1S;YACD,MAAM,EAAE;gBACN,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,+IAA+I;wBACjJ,IAAI,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC;qBACvB;oBACD;wBACE,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,WAAW,EACT,+IAA+I;aAClJ;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAqB,EAAE,IAAyC,EAAE,EAAE;IAChG,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IACjE,OAAO,mBAAmB,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.d.mts","sourceRoot":"","sources":["../../src/tools/messages/send-message.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"send-message.d.mts","sourceRoot":"","sources":["../../src/tools/messages/send-message.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAuBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,sEAG7F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,aAAa,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK9F,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.d.ts","sourceRoot":"","sources":["../../src/tools/messages/send-message.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"send-message.d.ts","sourceRoot":"","sources":["../../src/tools/messages/send-message.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAuBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,sEAG7F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,aAAa,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK9F,wBAA2C"}
|
|
@@ -8,8 +8,8 @@ exports.metadata = {
|
|
|
8
8
|
operation: 'write',
|
|
9
9
|
tags: ['messages'],
|
|
10
10
|
httpMethod: 'post',
|
|
11
|
-
httpPath: '/
|
|
12
|
-
operationId: '
|
|
11
|
+
httpPath: '/v1/chats/{chatID}/messages',
|
|
12
|
+
operationId: 'sendMessage',
|
|
13
13
|
};
|
|
14
14
|
exports.tool = {
|
|
15
15
|
name: 'send_message',
|
|
@@ -19,7 +19,7 @@ exports.tool = {
|
|
|
19
19
|
properties: {
|
|
20
20
|
chatID: {
|
|
21
21
|
type: 'string',
|
|
22
|
-
description: '
|
|
22
|
+
description: 'Unique identifier of the chat.',
|
|
23
23
|
},
|
|
24
24
|
replyToMessageID: {
|
|
25
25
|
type: 'string',
|
|
@@ -35,8 +35,8 @@ exports.tool = {
|
|
|
35
35
|
annotations: {},
|
|
36
36
|
};
|
|
37
37
|
const handler = async (client, args) => {
|
|
38
|
-
const body = args;
|
|
39
|
-
return (0, types_1.asTextContentResult)(await client.messages.send(body));
|
|
38
|
+
const { chatID, ...body } = args;
|
|
39
|
+
return (0, types_1.asTextContentResult)(await client.messages.send(chatID, body));
|
|
40
40
|
};
|
|
41
41
|
exports.handler = handler;
|
|
42
42
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.js","sourceRoot":"","sources":["../../src/tools/messages/send-message.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAgF;AAKnE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,OAAO;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C"}
|
|
@@ -5,8 +5,8 @@ export const metadata = {
|
|
|
5
5
|
operation: 'write',
|
|
6
6
|
tags: ['messages'],
|
|
7
7
|
httpMethod: 'post',
|
|
8
|
-
httpPath: '/
|
|
9
|
-
operationId: '
|
|
8
|
+
httpPath: '/v1/chats/{chatID}/messages',
|
|
9
|
+
operationId: 'sendMessage',
|
|
10
10
|
};
|
|
11
11
|
export const tool = {
|
|
12
12
|
name: 'send_message',
|
|
@@ -16,7 +16,7 @@ export const tool = {
|
|
|
16
16
|
properties: {
|
|
17
17
|
chatID: {
|
|
18
18
|
type: 'string',
|
|
19
|
-
description: '
|
|
19
|
+
description: 'Unique identifier of the chat.',
|
|
20
20
|
},
|
|
21
21
|
replyToMessageID: {
|
|
22
22
|
type: 'string',
|
|
@@ -32,8 +32,8 @@ export const tool = {
|
|
|
32
32
|
annotations: {},
|
|
33
33
|
};
|
|
34
34
|
export const handler = async (client, args) => {
|
|
35
|
-
const body = args;
|
|
36
|
-
return asTextContentResult(await client.messages.send(body));
|
|
35
|
+
const { chatID, ...body } = args;
|
|
36
|
+
return asTextContentResult(await client.messages.send(chatID, body));
|
|
37
37
|
};
|
|
38
38
|
export default { metadata, tool, handler };
|
|
39
39
|
//# sourceMappingURL=send-message.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.mjs","sourceRoot":"","sources":["../../src/tools/messages/send-message.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,iCAAiC;AAK/E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"send-message.mjs","sourceRoot":"","sources":["../../src/tools/messages/send-message.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,iCAAiC;AAK/E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,6BAA6B;IACvC,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,cAAc;IACpB,WAAW,EACT,wIAAwI;IAC1I,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,gCAAgC;aAC9C;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qEAAqE;aACnF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qEAAqE;aACnF;SACF;QACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;KACrB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAqB,EAAE,IAAyC,EAAE,EAAE;IAChG,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACxC,OAAO,mBAAmB,CAAC,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACvE,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -42,4 +42,4 @@ declare const _default: {
|
|
|
42
42
|
handler: (client: BeeperDesktop, args: Record<string, unknown> | undefined) => Promise<import("@beeper/desktop-mcp/tools/types").ToolCallResult>;
|
|
43
43
|
};
|
|
44
44
|
export default _default;
|
|
45
|
-
//# sourceMappingURL=
|
|
45
|
+
//# sourceMappingURL=focus-app.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus-app.d.mts","sourceRoot":"","sources":["../../src/tools/top-level/focus-app.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA4BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,sEAG7F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,aAAa,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK9F,wBAA2C"}
|
|
@@ -42,4 +42,4 @@ declare const _default: {
|
|
|
42
42
|
handler: (client: BeeperDesktop, args: Record<string, unknown> | undefined) => Promise<import("@beeper/desktop-mcp/tools/types").ToolCallResult>;
|
|
43
43
|
};
|
|
44
44
|
export default _default;
|
|
45
|
-
//# sourceMappingURL=
|
|
45
|
+
//# sourceMappingURL=focus-app.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus-app.d.ts","sourceRoot":"","sources":["../../src/tools/top-level/focus-app.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA4BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,sEAG7F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,aAAa,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK9F,wBAA2C"}
|
|
@@ -4,16 +4,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
5
|
const types_1 = require("@beeper/desktop-mcp/tools/types");
|
|
6
6
|
exports.metadata = {
|
|
7
|
-
resource: '
|
|
7
|
+
resource: '$client',
|
|
8
8
|
operation: 'write',
|
|
9
9
|
tags: ['app'],
|
|
10
10
|
httpMethod: 'post',
|
|
11
|
-
httpPath: '/
|
|
12
|
-
operationId: '
|
|
11
|
+
httpPath: '/v1/focus',
|
|
12
|
+
operationId: 'focusApp',
|
|
13
13
|
};
|
|
14
14
|
exports.tool = {
|
|
15
|
-
name: '
|
|
16
|
-
description: '
|
|
15
|
+
name: 'focus_app',
|
|
16
|
+
description: 'Focus Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.',
|
|
17
17
|
inputSchema: {
|
|
18
18
|
type: 'object',
|
|
19
19
|
properties: {
|
|
@@ -21,13 +21,17 @@ exports.tool = {
|
|
|
21
21
|
type: 'string',
|
|
22
22
|
description: 'Optional Beeper chat ID (or local chat ID) to focus after opening the app. If omitted, only opens/focuses the app.',
|
|
23
23
|
},
|
|
24
|
+
draftAttachmentPath: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
description: 'Optional draft attachment path to populate in the message input field.',
|
|
27
|
+
},
|
|
24
28
|
draftText: {
|
|
25
29
|
type: 'string',
|
|
26
30
|
description: 'Optional draft text to populate in the message input field.',
|
|
27
31
|
},
|
|
28
|
-
|
|
32
|
+
messageID: {
|
|
29
33
|
type: 'string',
|
|
30
|
-
description: 'Optional message
|
|
34
|
+
description: 'Optional message ID. Jumps to that message in the chat when opening.',
|
|
31
35
|
},
|
|
32
36
|
},
|
|
33
37
|
required: [],
|
|
@@ -36,8 +40,8 @@ exports.tool = {
|
|
|
36
40
|
};
|
|
37
41
|
const handler = async (client, args) => {
|
|
38
42
|
const body = args;
|
|
39
|
-
return (0, types_1.asTextContentResult)(await client.
|
|
43
|
+
return (0, types_1.asTextContentResult)(await client.focus(body));
|
|
40
44
|
};
|
|
41
45
|
exports.handler = handler;
|
|
42
46
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
43
|
-
//# sourceMappingURL=
|
|
47
|
+
//# sourceMappingURL=focus-app.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus-app.js","sourceRoot":"","sources":["../../src/tools/top-level/focus-app.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAgF;AAKnE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,KAAK,CAAC;IACb,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,UAAU;CACxB,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,WAAW;IACjB,WAAW,EACT,kHAAkH;IACpH,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oHAAoH;aACvH;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wEAAwE;aACtF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6DAA6D;aAC3E;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,sEAAsE;aACpF;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAqB,EAAE,IAAyC,EAAE,EAAE;IAChG,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,IAAA,2BAAmB,EAAC,MAAM,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AACvD,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { asTextContentResult } from '@beeper/desktop-mcp/tools/types';
|
|
3
3
|
export const metadata = {
|
|
4
|
-
resource: '
|
|
4
|
+
resource: '$client',
|
|
5
5
|
operation: 'write',
|
|
6
6
|
tags: ['app'],
|
|
7
7
|
httpMethod: 'post',
|
|
8
|
-
httpPath: '/
|
|
9
|
-
operationId: '
|
|
8
|
+
httpPath: '/v1/focus',
|
|
9
|
+
operationId: 'focusApp',
|
|
10
10
|
};
|
|
11
11
|
export const tool = {
|
|
12
|
-
name: '
|
|
13
|
-
description: '
|
|
12
|
+
name: 'focus_app',
|
|
13
|
+
description: 'Focus Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.',
|
|
14
14
|
inputSchema: {
|
|
15
15
|
type: 'object',
|
|
16
16
|
properties: {
|
|
@@ -18,13 +18,17 @@ export const tool = {
|
|
|
18
18
|
type: 'string',
|
|
19
19
|
description: 'Optional Beeper chat ID (or local chat ID) to focus after opening the app. If omitted, only opens/focuses the app.',
|
|
20
20
|
},
|
|
21
|
+
draftAttachmentPath: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
description: 'Optional draft attachment path to populate in the message input field.',
|
|
24
|
+
},
|
|
21
25
|
draftText: {
|
|
22
26
|
type: 'string',
|
|
23
27
|
description: 'Optional draft text to populate in the message input field.',
|
|
24
28
|
},
|
|
25
|
-
|
|
29
|
+
messageID: {
|
|
26
30
|
type: 'string',
|
|
27
|
-
description: 'Optional message
|
|
31
|
+
description: 'Optional message ID. Jumps to that message in the chat when opening.',
|
|
28
32
|
},
|
|
29
33
|
},
|
|
30
34
|
required: [],
|
|
@@ -33,7 +37,7 @@ export const tool = {
|
|
|
33
37
|
};
|
|
34
38
|
export const handler = async (client, args) => {
|
|
35
39
|
const body = args;
|
|
36
|
-
return asTextContentResult(await client.
|
|
40
|
+
return asTextContentResult(await client.focus(body));
|
|
37
41
|
};
|
|
38
42
|
export default { metadata, tool, handler };
|
|
39
|
-
//# sourceMappingURL=
|
|
43
|
+
//# sourceMappingURL=focus-app.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus-app.mjs","sourceRoot":"","sources":["../../src/tools/top-level/focus-app.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,iCAAiC;AAK/E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,KAAK,CAAC;IACb,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,UAAU;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,WAAW;IACjB,WAAW,EACT,kHAAkH;IACpH,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oHAAoH;aACvH;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wEAAwE;aACtF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6DAA6D;aAC3E;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,sEAAsE;aACpF;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAqB,EAAE,IAAyC,EAAE,EAAE;IAChG,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,mBAAmB,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AACvD,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@beeper/desktop-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import BeeperDesktop from '@beeper/desktop-api';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: BeeperDesktop, args: Record<string, unknown> | undefined) => Promise<import("@beeper/desktop-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: BeeperDesktop, args: Record<string, unknown> | undefined) => Promise<import("@beeper/desktop-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=search.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.d.mts","sourceRoot":"","sources":["../../src/tools/top-level/search.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,iCAAiC;OAExE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,aAAa,MAAM,qBAAqB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAiBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,sEAG7F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,aAAa,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK9F,wBAA2C"}
|