@beeper/desktop-mcp 0.1.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.
Files changed (234) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +252 -0
  3. package/code-tool-paths.cjs +6 -0
  4. package/code-tool-paths.cjs.map +1 -0
  5. package/code-tool-paths.d.cts +2 -0
  6. package/code-tool-paths.d.cts.map +1 -0
  7. package/code-tool-types.d.mts +14 -0
  8. package/code-tool-types.d.mts.map +1 -0
  9. package/code-tool-types.d.ts +14 -0
  10. package/code-tool-types.d.ts.map +1 -0
  11. package/code-tool-types.js +4 -0
  12. package/code-tool-types.js.map +1 -0
  13. package/code-tool-types.mjs +3 -0
  14. package/code-tool-types.mjs.map +1 -0
  15. package/code-tool-worker.d.mts +5 -0
  16. package/code-tool-worker.d.mts.map +1 -0
  17. package/code-tool-worker.d.ts +5 -0
  18. package/code-tool-worker.d.ts.map +1 -0
  19. package/code-tool-worker.js +45 -0
  20. package/code-tool-worker.js.map +1 -0
  21. package/code-tool-worker.mjs +40 -0
  22. package/code-tool-worker.mjs.map +1 -0
  23. package/code-tool.d.mts +12 -0
  24. package/code-tool.d.mts.map +1 -0
  25. package/code-tool.d.ts +12 -0
  26. package/code-tool.d.ts.map +1 -0
  27. package/code-tool.js +123 -0
  28. package/code-tool.js.map +1 -0
  29. package/code-tool.mjs +120 -0
  30. package/code-tool.mjs.map +1 -0
  31. package/compat.d.mts +58 -0
  32. package/compat.d.mts.map +1 -0
  33. package/compat.d.ts +58 -0
  34. package/compat.d.ts.map +1 -0
  35. package/compat.js +387 -0
  36. package/compat.js.map +1 -0
  37. package/compat.mjs +378 -0
  38. package/compat.mjs.map +1 -0
  39. package/dynamic-tools.d.mts +12 -0
  40. package/dynamic-tools.d.mts.map +1 -0
  41. package/dynamic-tools.d.ts +12 -0
  42. package/dynamic-tools.d.ts.map +1 -0
  43. package/dynamic-tools.js +135 -0
  44. package/dynamic-tools.js.map +1 -0
  45. package/dynamic-tools.mjs +132 -0
  46. package/dynamic-tools.mjs.map +1 -0
  47. package/filtering.d.mts +2 -0
  48. package/filtering.d.mts.map +1 -0
  49. package/filtering.d.ts +2 -0
  50. package/filtering.d.ts.map +1 -0
  51. package/filtering.js +20 -0
  52. package/filtering.js.map +1 -0
  53. package/filtering.mjs +13 -0
  54. package/filtering.mjs.map +1 -0
  55. package/headers.d.mts +4 -0
  56. package/headers.d.mts.map +1 -0
  57. package/headers.d.ts +4 -0
  58. package/headers.d.ts.map +1 -0
  59. package/headers.js +22 -0
  60. package/headers.js.map +1 -0
  61. package/headers.mjs +18 -0
  62. package/headers.mjs.map +1 -0
  63. package/http.d.mts +5 -0
  64. package/http.d.mts.map +1 -0
  65. package/http.d.ts +5 -0
  66. package/http.d.ts.map +1 -0
  67. package/http.js +127 -0
  68. package/http.js.map +1 -0
  69. package/http.mjs +119 -0
  70. package/http.mjs.map +1 -0
  71. package/index.d.mts +3 -0
  72. package/index.d.mts.map +1 -0
  73. package/index.d.ts +3 -0
  74. package/index.d.ts.map +1 -0
  75. package/index.js +91 -0
  76. package/index.js.map +1 -0
  77. package/index.mjs +89 -0
  78. package/index.mjs.map +1 -0
  79. package/options.d.mts +19 -0
  80. package/options.d.mts.map +1 -0
  81. package/options.d.ts +19 -0
  82. package/options.d.ts.map +1 -0
  83. package/options.js +417 -0
  84. package/options.js.map +1 -0
  85. package/options.mjs +410 -0
  86. package/options.mjs.map +1 -0
  87. package/package.json +206 -0
  88. package/server.d.mts +35 -0
  89. package/server.d.mts.map +1 -0
  90. package/server.d.ts +35 -0
  91. package/server.d.ts.map +1 -0
  92. package/server.js +151 -0
  93. package/server.js.map +1 -0
  94. package/server.mjs +137 -0
  95. package/server.mjs.map +1 -0
  96. package/src/code-tool-paths.cts +3 -0
  97. package/src/code-tool-types.ts +14 -0
  98. package/src/code-tool-worker.ts +46 -0
  99. package/src/code-tool.ts +144 -0
  100. package/src/compat.ts +483 -0
  101. package/src/dynamic-tools.ts +159 -0
  102. package/src/filtering.ts +14 -0
  103. package/src/headers.ts +23 -0
  104. package/src/http.ts +137 -0
  105. package/src/index.ts +108 -0
  106. package/src/options.ts +456 -0
  107. package/src/server.ts +184 -0
  108. package/src/stdio.ts +13 -0
  109. package/src/tools/accounts/get-accounts.ts +34 -0
  110. package/src/tools/app/open-app.ts +47 -0
  111. package/src/tools/chats/archive-chat.ts +42 -0
  112. package/src/tools/chats/get-chat.ts +46 -0
  113. package/src/tools/chats/search-chats.ts +101 -0
  114. package/src/tools/index.ts +89 -0
  115. package/src/tools/messages/get-attachment.ts +42 -0
  116. package/src/tools/messages/search-messages.ts +133 -0
  117. package/src/tools/messages/send-message.ts +46 -0
  118. package/src/tools/reminders/clear-chat-reminder.ts +38 -0
  119. package/src/tools/reminders/set-chat-reminder.ts +53 -0
  120. package/src/tools/types.ts +103 -0
  121. package/src/tools.ts +1 -0
  122. package/src/tsconfig.json +11 -0
  123. package/stdio.d.mts +3 -0
  124. package/stdio.d.mts.map +1 -0
  125. package/stdio.d.ts +3 -0
  126. package/stdio.d.ts.map +1 -0
  127. package/stdio.js +14 -0
  128. package/stdio.js.map +1 -0
  129. package/stdio.mjs +10 -0
  130. package/stdio.mjs.map +1 -0
  131. package/tools/accounts/get-accounts.d.mts +45 -0
  132. package/tools/accounts/get-accounts.d.mts.map +1 -0
  133. package/tools/accounts/get-accounts.d.ts +45 -0
  134. package/tools/accounts/get-accounts.d.ts.map +1 -0
  135. package/tools/accounts/get-accounts.js +31 -0
  136. package/tools/accounts/get-accounts.js.map +1 -0
  137. package/tools/accounts/get-accounts.mjs +27 -0
  138. package/tools/accounts/get-accounts.mjs.map +1 -0
  139. package/tools/app/open-app.d.mts +45 -0
  140. package/tools/app/open-app.d.mts.map +1 -0
  141. package/tools/app/open-app.d.ts +45 -0
  142. package/tools/app/open-app.d.ts.map +1 -0
  143. package/tools/app/open-app.js +43 -0
  144. package/tools/app/open-app.js.map +1 -0
  145. package/tools/app/open-app.mjs +39 -0
  146. package/tools/app/open-app.mjs.map +1 -0
  147. package/tools/chats/archive-chat.d.mts +45 -0
  148. package/tools/chats/archive-chat.d.mts.map +1 -0
  149. package/tools/chats/archive-chat.d.ts +45 -0
  150. package/tools/chats/archive-chat.d.ts.map +1 -0
  151. package/tools/chats/archive-chat.js +39 -0
  152. package/tools/chats/archive-chat.js.map +1 -0
  153. package/tools/chats/archive-chat.mjs +35 -0
  154. package/tools/chats/archive-chat.mjs.map +1 -0
  155. package/tools/chats/get-chat.d.mts +45 -0
  156. package/tools/chats/get-chat.d.mts.map +1 -0
  157. package/tools/chats/get-chat.d.ts +45 -0
  158. package/tools/chats/get-chat.d.ts.map +1 -0
  159. package/tools/chats/get-chat.js +41 -0
  160. package/tools/chats/get-chat.js.map +1 -0
  161. package/tools/chats/get-chat.mjs +37 -0
  162. package/tools/chats/get-chat.mjs.map +1 -0
  163. package/tools/chats/search-chats.d.mts +45 -0
  164. package/tools/chats/search-chats.d.mts.map +1 -0
  165. package/tools/chats/search-chats.d.ts +45 -0
  166. package/tools/chats/search-chats.d.ts.map +1 -0
  167. package/tools/chats/search-chats.js +90 -0
  168. package/tools/chats/search-chats.js.map +1 -0
  169. package/tools/chats/search-chats.mjs +86 -0
  170. package/tools/chats/search-chats.mjs.map +1 -0
  171. package/tools/index.d.mts +10 -0
  172. package/tools/index.d.mts.map +1 -0
  173. package/tools/index.d.ts +10 -0
  174. package/tools/index.d.ts.map +1 -0
  175. package/tools/index.js +73 -0
  176. package/tools/index.js.map +1 -0
  177. package/tools/index.mjs +66 -0
  178. package/tools/index.mjs.map +1 -0
  179. package/tools/messages/get-attachment.d.mts +45 -0
  180. package/tools/messages/get-attachment.d.mts.map +1 -0
  181. package/tools/messages/get-attachment.d.ts +45 -0
  182. package/tools/messages/get-attachment.d.ts.map +1 -0
  183. package/tools/messages/get-attachment.js +39 -0
  184. package/tools/messages/get-attachment.js.map +1 -0
  185. package/tools/messages/get-attachment.mjs +35 -0
  186. package/tools/messages/get-attachment.mjs.map +1 -0
  187. package/tools/messages/search-messages.d.mts +45 -0
  188. package/tools/messages/search-messages.d.mts.map +1 -0
  189. package/tools/messages/search-messages.d.ts +45 -0
  190. package/tools/messages/search-messages.d.ts.map +1 -0
  191. package/tools/messages/search-messages.js +121 -0
  192. package/tools/messages/search-messages.js.map +1 -0
  193. package/tools/messages/search-messages.mjs +117 -0
  194. package/tools/messages/search-messages.mjs.map +1 -0
  195. package/tools/messages/send-message.d.mts +45 -0
  196. package/tools/messages/send-message.d.mts.map +1 -0
  197. package/tools/messages/send-message.d.ts +45 -0
  198. package/tools/messages/send-message.d.ts.map +1 -0
  199. package/tools/messages/send-message.js +43 -0
  200. package/tools/messages/send-message.js.map +1 -0
  201. package/tools/messages/send-message.mjs +39 -0
  202. package/tools/messages/send-message.mjs.map +1 -0
  203. package/tools/reminders/clear-chat-reminder.d.mts +45 -0
  204. package/tools/reminders/clear-chat-reminder.d.mts.map +1 -0
  205. package/tools/reminders/clear-chat-reminder.d.ts +45 -0
  206. package/tools/reminders/clear-chat-reminder.d.ts.map +1 -0
  207. package/tools/reminders/clear-chat-reminder.js +35 -0
  208. package/tools/reminders/clear-chat-reminder.js.map +1 -0
  209. package/tools/reminders/clear-chat-reminder.mjs +31 -0
  210. package/tools/reminders/clear-chat-reminder.mjs.map +1 -0
  211. package/tools/reminders/set-chat-reminder.d.mts +45 -0
  212. package/tools/reminders/set-chat-reminder.d.mts.map +1 -0
  213. package/tools/reminders/set-chat-reminder.d.ts +45 -0
  214. package/tools/reminders/set-chat-reminder.d.ts.map +1 -0
  215. package/tools/reminders/set-chat-reminder.js +50 -0
  216. package/tools/reminders/set-chat-reminder.js.map +1 -0
  217. package/tools/reminders/set-chat-reminder.mjs +46 -0
  218. package/tools/reminders/set-chat-reminder.mjs.map +1 -0
  219. package/tools/types.d.mts +51 -0
  220. package/tools/types.d.mts.map +1 -0
  221. package/tools/types.d.ts +51 -0
  222. package/tools/types.d.ts.map +1 -0
  223. package/tools/types.js +46 -0
  224. package/tools/types.js.map +1 -0
  225. package/tools/types.mjs +42 -0
  226. package/tools/types.mjs.map +1 -0
  227. package/tools.d.mts +2 -0
  228. package/tools.d.mts.map +1 -0
  229. package/tools.d.ts +2 -0
  230. package/tools.d.ts.map +1 -0
  231. package/tools.js +18 -0
  232. package/tools.js.map +1 -0
  233. package/tools.mjs +2 -0
  234. package/tools.mjs.map +1 -0
@@ -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=open-app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"open-app.d.ts","sourceRoot":"","sources":["../../src/tools/app/open-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,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"}
@@ -0,0 +1,43 @@
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: 'app',
8
+ operation: 'write',
9
+ tags: ['app'],
10
+ httpMethod: 'post',
11
+ httpPath: '/v0/open-app',
12
+ operationId: 'open_app',
13
+ };
14
+ exports.tool = {
15
+ name: 'open_app',
16
+ description: 'Open Beeper, optionally focusing a chat or message, or pre-filling a draft.',
17
+ inputSchema: {
18
+ type: 'object',
19
+ properties: {
20
+ chatID: {
21
+ type: 'string',
22
+ description: 'Optional Beeper chat ID to focus after opening the app. If omitted, only opens/focuses the app.',
23
+ },
24
+ draftText: {
25
+ type: 'string',
26
+ description: 'Optional draft text to populate in the message input field.',
27
+ },
28
+ messageSortKey: {
29
+ type: 'string',
30
+ description: 'Optional message sort key. Jumps to that message in the chat when opening.',
31
+ },
32
+ },
33
+ required: [],
34
+ },
35
+ annotations: {},
36
+ };
37
+ const handler = async (client, args) => {
38
+ const body = args;
39
+ return (0, types_1.asTextContentResult)(await client.app.focus(body));
40
+ };
41
+ exports.handler = handler;
42
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
43
+ //# sourceMappingURL=open-app.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"open-app.js","sourceRoot":"","sources":["../../src/tools/app/open-app.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAgF;AAKnE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,KAAK,CAAC;IACb,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,cAAc;IACxB,WAAW,EAAE,UAAU;CACxB,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,6EAA6E;IAC1F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iGAAiG;aACpG;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6DAA6D;aAC3E;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4EAA4E;aAC1F;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,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AAC3D,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,39 @@
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: 'app',
5
+ operation: 'write',
6
+ tags: ['app'],
7
+ httpMethod: 'post',
8
+ httpPath: '/v0/open-app',
9
+ operationId: 'open_app',
10
+ };
11
+ export const tool = {
12
+ name: 'open_app',
13
+ description: 'Open Beeper, optionally focusing a chat or message, or pre-filling a draft.',
14
+ inputSchema: {
15
+ type: 'object',
16
+ properties: {
17
+ chatID: {
18
+ type: 'string',
19
+ description: 'Optional Beeper chat ID to focus after opening the app. If omitted, only opens/focuses the app.',
20
+ },
21
+ draftText: {
22
+ type: 'string',
23
+ description: 'Optional draft text to populate in the message input field.',
24
+ },
25
+ messageSortKey: {
26
+ type: 'string',
27
+ description: 'Optional message sort key. Jumps to that message in the chat when opening.',
28
+ },
29
+ },
30
+ required: [],
31
+ },
32
+ annotations: {},
33
+ };
34
+ export const handler = async (client, args) => {
35
+ const body = args;
36
+ return asTextContentResult(await client.app.focus(body));
37
+ };
38
+ export default { metadata, tool, handler };
39
+ //# sourceMappingURL=open-app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"open-app.mjs","sourceRoot":"","sources":["../../src/tools/app/open-app.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,iCAAiC;AAK/E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,KAAK,CAAC;IACb,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,cAAc;IACxB,WAAW,EAAE,UAAU;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,6EAA6E;IAC1F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iGAAiG;aACpG;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6DAA6D;aAC3E;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4EAA4E;aAC1F;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,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AAC3D,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=archive-chat.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archive-chat.d.mts","sourceRoot":"","sources":["../../src/tools/chats/archive-chat.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,IAkBlB,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"}
@@ -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=archive-chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archive-chat.d.ts","sourceRoot":"","sources":["../../src/tools/chats/archive-chat.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,IAkBlB,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"}
@@ -0,0 +1,39 @@
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: 'chats',
8
+ operation: 'write',
9
+ tags: ['chats'],
10
+ httpMethod: 'post',
11
+ httpPath: '/v0/archive-chat',
12
+ operationId: 'archive_chat',
13
+ };
14
+ exports.tool = {
15
+ name: 'archive_chat',
16
+ description: 'Archive or unarchive a chat.',
17
+ inputSchema: {
18
+ type: 'object',
19
+ properties: {
20
+ chatID: {
21
+ type: 'string',
22
+ description: 'The identifier of the chat to archive or unarchive',
23
+ },
24
+ archived: {
25
+ type: 'boolean',
26
+ description: 'True to archive, false to unarchive',
27
+ },
28
+ },
29
+ required: ['chatID'],
30
+ },
31
+ annotations: {},
32
+ };
33
+ const handler = async (client, args) => {
34
+ const body = args;
35
+ return (0, types_1.asTextContentResult)(await client.chats.archive(body));
36
+ };
37
+ exports.handler = handler;
38
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
39
+ //# sourceMappingURL=archive-chat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archive-chat.js","sourceRoot":"","sources":["../../src/tools/chats/archive-chat.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAgF;AAKnE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,kBAAkB;IAC5B,WAAW,EAAE,cAAc;CAC5B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,8BAA8B;IAC3C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oDAAoD;aAClE;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,qCAAqC;aACnD;SACF;QACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;KACrB;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,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC/D,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,35 @@
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: 'chats',
5
+ operation: 'write',
6
+ tags: ['chats'],
7
+ httpMethod: 'post',
8
+ httpPath: '/v0/archive-chat',
9
+ operationId: 'archive_chat',
10
+ };
11
+ export const tool = {
12
+ name: 'archive_chat',
13
+ description: 'Archive or unarchive a chat.',
14
+ inputSchema: {
15
+ type: 'object',
16
+ properties: {
17
+ chatID: {
18
+ type: 'string',
19
+ description: 'The identifier of the chat to archive or unarchive',
20
+ },
21
+ archived: {
22
+ type: 'boolean',
23
+ description: 'True to archive, false to unarchive',
24
+ },
25
+ },
26
+ required: ['chatID'],
27
+ },
28
+ annotations: {},
29
+ };
30
+ export const handler = async (client, args) => {
31
+ const body = args;
32
+ return asTextContentResult(await client.chats.archive(body));
33
+ };
34
+ export default { metadata, tool, handler };
35
+ //# sourceMappingURL=archive-chat.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archive-chat.mjs","sourceRoot":"","sources":["../../src/tools/chats/archive-chat.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,iCAAiC;AAK/E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,kBAAkB;IAC5B,WAAW,EAAE,cAAc;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,8BAA8B;IAC3C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oDAAoD;aAClE;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,qCAAqC;aACnD;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,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,mBAAmB,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC/D,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=get-chat.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat.d.mts","sourceRoot":"","sources":["../../src/tools/chats/get-chat.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,IAsBlB,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"}
@@ -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=get-chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat.d.ts","sourceRoot":"","sources":["../../src/tools/chats/get-chat.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,IAsBlB,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"}
@@ -0,0 +1,41 @@
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: 'chats',
8
+ operation: 'read',
9
+ tags: ['chats'],
10
+ httpMethod: 'get',
11
+ httpPath: '/v0/get-chat',
12
+ operationId: 'get_chat',
13
+ };
14
+ exports.tool = {
15
+ name: 'get_chat',
16
+ description: 'Get chat details: metadata, participants (limited), last activity.',
17
+ inputSchema: {
18
+ type: 'object',
19
+ properties: {
20
+ chatID: {
21
+ type: 'string',
22
+ description: "Unique identifier of the chat to retrieve. Not available for iMessage chats. Participants are limited by 'maxParticipantCount'.",
23
+ },
24
+ maxParticipantCount: {
25
+ type: 'integer',
26
+ description: 'Maximum number of participants to return. Use -1 for all; otherwise 0–500. Defaults to 20.',
27
+ },
28
+ },
29
+ required: ['chatID'],
30
+ },
31
+ annotations: {
32
+ readOnlyHint: true,
33
+ },
34
+ };
35
+ const handler = async (client, args) => {
36
+ const body = args;
37
+ return (0, types_1.asTextContentResult)(await client.chats.get(body));
38
+ };
39
+ exports.handler = handler;
40
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
41
+ //# sourceMappingURL=get-chat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat.js","sourceRoot":"","sources":["../../src/tools/chats/get-chat.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAgF;AAKnE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,cAAc;IACxB,WAAW,EAAE,UAAU;CACxB,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,oEAAoE;IACjF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iIAAiI;aACpI;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,4FAA4F;aAC/F;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,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,IAAA,2BAAmB,EAAC,MAAM,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AAC3D,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,37 @@
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: 'chats',
5
+ operation: 'read',
6
+ tags: ['chats'],
7
+ httpMethod: 'get',
8
+ httpPath: '/v0/get-chat',
9
+ operationId: 'get_chat',
10
+ };
11
+ export const tool = {
12
+ name: 'get_chat',
13
+ description: 'Get chat details: metadata, participants (limited), last activity.',
14
+ inputSchema: {
15
+ type: 'object',
16
+ properties: {
17
+ chatID: {
18
+ type: 'string',
19
+ description: "Unique identifier of the chat to retrieve. Not available for iMessage chats. Participants are limited by 'maxParticipantCount'.",
20
+ },
21
+ maxParticipantCount: {
22
+ type: 'integer',
23
+ description: 'Maximum number of participants to return. Use -1 for all; otherwise 0–500. Defaults to 20.',
24
+ },
25
+ },
26
+ required: ['chatID'],
27
+ },
28
+ annotations: {
29
+ readOnlyHint: true,
30
+ },
31
+ };
32
+ export const handler = async (client, args) => {
33
+ const body = args;
34
+ return asTextContentResult(await client.chats.get(body));
35
+ };
36
+ export default { metadata, tool, handler };
37
+ //# sourceMappingURL=get-chat.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat.mjs","sourceRoot":"","sources":["../../src/tools/chats/get-chat.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,iCAAiC;AAK/E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,cAAc;IACxB,WAAW,EAAE,UAAU;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,oEAAoE;IACjF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iIAAiI;aACpI;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,4FAA4F;aAC/F;SACF;QACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;KACrB;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,OAAO,mBAAmB,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AAC3D,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-chats.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-chats.d.mts","sourceRoot":"","sources":["../../src/tools/chats/search-chats.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,IA4ElB,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,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-chats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-chats.d.ts","sourceRoot":"","sources":["../../src/tools/chats/search-chats.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,IA4ElB,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"}