Skip to content

Commit 58d11be

Browse files
release: 4.1.293 (#14)
* chore: do not install brew dependencies in ./scripts/bootstrap by default * feat(mcp): enable experimental docs search tool * feat(mcp): add option for including docs tools * perf: faster formatting * chore(internal): remove deprecated `compilerOptions.baseUrl` from tsconfig.json This allows sdks to be built using tsgo - see microsoft/typescript-go#474 * chore(internal): fix incremental formatting in some cases * chore(mcp): allow pointing `docs_search` tool at other URLs * chore(internal): codegen related update * chore(internal): ignore .eslintcache * fix(mcp): fix cli argument parsing logic * fix(mcp): resolve a linting issue in server code * chore: update lockfile * chore(internal): remove .eslintcache * chore(internal): codegen related update * chore(jsdoc): fix @link annotations to refer only to parts of the package‘s public interface * chore(internal): use npm pack for build uploads * feat(api): manual updates * chore: configure new SDK language * codegen metadata * feat(api): manual updates * chore: configure new SDK language * codegen metadata * codegen metadata * feat(api): manual updates * feat(api): manual updates * feat(api): manual updates * feat(api): manual updates * feat(api): manual updates * feat(api): manual updates * feat(api): manual updates * feat(api): manual updates * codegen metadata * codegen metadata * codegen metadata * feat(api): remove limit from list routes * feat(api): manual updates * codegen metadata * feat(api): manual updates * feat(api): manual updates * feat(api): revert work in progress changes * feat(api): bump for new endpoints * codegen metadata * release: 4.1.293 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 45de3f5 commit 58d11be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1195
-1054
lines changed

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ jobs:
1919
bash ./bin/check-release-environment
2020
env:
2121
NPM_TOKEN: ${{ secrets.BEEPER_DESKTOP_NPM_TOKEN || secrets.NPM_TOKEN }}
22+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ dist
77
dist-deno
88
/*.tgz
99
.idea/
10+
.eslintcache
1011
dist-bundle
1112
*.mcpb

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.5"
2+
".": "4.1.293"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 14
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-8c712fe19f280b0b89ecc8a3ce61e9f6b165cee97ce33f66c66a7a5db339c755.yml
3-
openapi_spec_hash: 1ea71129cc1a1ccc3dc8a99566082311
4-
config_hash: 061b75b88f80bb43b4121e5e7c1255e2
1+
configured_endpoints: 15
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-0763b61997721da6f4514241bf0f7bb5f7a88c7298baf0f1b2d58036aaf7e2f1.yml
3+
openapi_spec_hash: 5158475919c04bb52fb03c6a4582188d
4+
config_hash: 15424d9ae390c7fca17dbf08619fc88b

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,59 @@
11
# Changelog
22

3+
## 4.1.293 (2025-10-16)
4+
5+
Full Changelog: [v0.1.5...v4.1.293](https://github.com/beeper/desktop-api-js/compare/v0.1.5...v4.1.293)
6+
7+
### Features
8+
9+
* **api:** bump for new endpoints ([8b4b937](https://github.com/beeper/desktop-api-js/commit/8b4b9379cc2bf313e684e4883996274cb3c45624))
10+
* **api:** manual updates ([f35c718](https://github.com/beeper/desktop-api-js/commit/f35c71843c8d3692e2cf9d5d3f060b925653ea12))
11+
* **api:** manual updates ([41bbaa1](https://github.com/beeper/desktop-api-js/commit/41bbaa182be124d0bd0b5cf5265b3fa2793bc0e1))
12+
* **api:** manual updates ([27afe3a](https://github.com/beeper/desktop-api-js/commit/27afe3a031672191b4837e996f11c6425c0c692f))
13+
* **api:** manual updates ([e12ab16](https://github.com/beeper/desktop-api-js/commit/e12ab16a4664ef6b770750225dc0e9ea53005b89))
14+
* **api:** manual updates ([914badc](https://github.com/beeper/desktop-api-js/commit/914badc5d98d1b3ab5b7d1b404c687110ef34913))
15+
* **api:** manual updates ([e657efe](https://github.com/beeper/desktop-api-js/commit/e657efe6bf48b6c76e09060ac00c8e0403213982))
16+
* **api:** manual updates ([0de85a3](https://github.com/beeper/desktop-api-js/commit/0de85a39f784415474e73187609e4ef4c5fe2cf1))
17+
* **api:** manual updates ([d7c35d2](https://github.com/beeper/desktop-api-js/commit/d7c35d27538be9752a6e15a4d17c4b5354b44b3f))
18+
* **api:** manual updates ([80f8804](https://github.com/beeper/desktop-api-js/commit/80f880478414edcba479e4717c5a1033a2545d3d))
19+
* **api:** manual updates ([e404d7e](https://github.com/beeper/desktop-api-js/commit/e404d7ebd08830f115f7468598cc275db637d508))
20+
* **api:** manual updates ([540c168](https://github.com/beeper/desktop-api-js/commit/540c168bfa982178e5ab743c9ef3986784438617))
21+
* **api:** manual updates ([3501ff9](https://github.com/beeper/desktop-api-js/commit/3501ff900847979fcf7b6e543a99364b74a979a5))
22+
* **api:** manual updates ([d1a5970](https://github.com/beeper/desktop-api-js/commit/d1a5970f917e9ddfe1060a4129feee7bb1be1414))
23+
* **api:** remove limit from list routes ([c145154](https://github.com/beeper/desktop-api-js/commit/c1451540df373793b5fd90e780faab8acf38a1dc))
24+
* **api:** revert work in progress changes ([50eb07e](https://github.com/beeper/desktop-api-js/commit/50eb07e2412770c28316f25349a6894dfca88004))
25+
* **mcp:** add option for including docs tools ([a521cb8](https://github.com/beeper/desktop-api-js/commit/a521cb8f972778c0253b657b712da7681dd78853))
26+
* **mcp:** enable experimental docs search tool ([c349699](https://github.com/beeper/desktop-api-js/commit/c349699a05745356ce3d12dc693d643a85a52d5d))
27+
28+
29+
### Bug Fixes
30+
31+
* **mcp:** fix cli argument parsing logic ([98c6489](https://github.com/beeper/desktop-api-js/commit/98c6489b8780dbe7d4ba377fb64364fb862fc7f7))
32+
* **mcp:** resolve a linting issue in server code ([2c84441](https://github.com/beeper/desktop-api-js/commit/2c8444166c9b4e6f67c9bf4827989aee65d672e8))
33+
34+
35+
### Performance Improvements
36+
37+
* faster formatting ([a4321bf](https://github.com/beeper/desktop-api-js/commit/a4321bf9c91f3043414724486c130f3b0bd25606))
38+
39+
40+
### Chores
41+
42+
* configure new SDK language ([f50310b](https://github.com/beeper/desktop-api-js/commit/f50310b4a7cc3e2286430530c8ffc867f77f7ef9))
43+
* configure new SDK language ([fee94ba](https://github.com/beeper/desktop-api-js/commit/fee94ba4b23ec91abc030ddbb872c08af43e2df8))
44+
* do not install brew dependencies in ./scripts/bootstrap by default ([cd62f83](https://github.com/beeper/desktop-api-js/commit/cd62f83fc5e6e93501df72cf49c0ee2838e02476))
45+
* fix changelog with actual entries ([45de3f5](https://github.com/beeper/desktop-api-js/commit/45de3f5a1d86486b9752e32cbd5283d6efe88434))
46+
* **internal:** codegen related update ([3598172](https://github.com/beeper/desktop-api-js/commit/3598172f0839f111c6000c9f29502d21afabee0c))
47+
* **internal:** codegen related update ([44137d6](https://github.com/beeper/desktop-api-js/commit/44137d644ffcd7407acc815a68d8df093e17f45d))
48+
* **internal:** fix incremental formatting in some cases ([697d742](https://github.com/beeper/desktop-api-js/commit/697d742608fead14c628f5d809b6a4beedff4656))
49+
* **internal:** ignore .eslintcache ([22d7f29](https://github.com/beeper/desktop-api-js/commit/22d7f29cd477bf4d22c68b51cd4b99bcf710efbd))
50+
* **internal:** remove .eslintcache ([f2a0dfb](https://github.com/beeper/desktop-api-js/commit/f2a0dfbd7930292f715ab530a6dedbf53e6ae8e3))
51+
* **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([ffaa6d6](https://github.com/beeper/desktop-api-js/commit/ffaa6d646236e88ecf997dc9a0b77733029a885b))
52+
* **internal:** use npm pack for build uploads ([31e0341](https://github.com/beeper/desktop-api-js/commit/31e0341efbad7c4b9abc13d145c477eb3676cc0b))
53+
* **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the package‘s public interface ([8cf89a9](https://github.com/beeper/desktop-api-js/commit/8cf89a9e31969a45d24179342955b2a4e931ae6f))
54+
* **mcp:** allow pointing `docs_search` tool at other URLs ([6044c34](https://github.com/beeper/desktop-api-js/commit/6044c3467dd578e2fba46fa10f83ad3240222c3f))
55+
* update lockfile ([a9a736f](https://github.com/beeper/desktop-api-js/commit/a9a736fba58dde3c39bc2f5501be1ae30f380367))
56+
357
## 0.1.5 (2025-09-19)
458

559
Full Changelog: [v0.1.4...v0.1.5](https://github.com/beeper/desktop-api-js/compare/v0.1.4...v0.1.5)

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,15 @@ a subclass of `APIError` will be thrown:
5555

5656
<!-- prettier-ignore -->
5757
```ts
58-
const response = await client.messages
59-
.send({ chatID: '1229391', text: 'Hello! Just checking in on the project status.' })
60-
.catch(async (err) => {
61-
if (err instanceof BeeperDesktop.APIError) {
62-
console.log(err.status); // 400
63-
console.log(err.name); // BadRequestError
64-
console.log(err.headers); // {server: 'nginx', ...}
65-
} else {
66-
throw err;
67-
}
68-
});
58+
const accounts = await client.accounts.list().catch(async (err) => {
59+
if (err instanceof BeeperDesktop.APIError) {
60+
console.log(err.status); // 400
61+
console.log(err.name); // BadRequestError
62+
console.log(err.headers); // {server: 'nginx', ...}
63+
} else {
64+
throw err;
65+
}
66+
});
6967
```
7068

7169
Error codes are as follows:

api.md

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
1+
# BeeperDesktop
2+
3+
Types:
4+
5+
- <code><a href="./src/resources/top-level.ts">FocusResponse</a></code>
6+
- <code><a href="./src/resources/top-level.ts">SearchResponse</a></code>
7+
8+
Methods:
9+
10+
- <code title="post /v1/focus">client.<a href="./src/index.ts">focus</a>({ ...params }) -> FocusResponse</code>
11+
- <code title="get /v1/search">client.<a href="./src/index.ts">search</a>({ ...params }) -> SearchResponse</code>
12+
113
# Shared
214

315
Types:
416

517
- <code><a href="./src/resources/shared.ts">Attachment</a></code>
6-
- <code><a href="./src/resources/shared.ts">BaseResponse</a></code>
718
- <code><a href="./src/resources/shared.ts">Error</a></code>
819
- <code><a href="./src/resources/shared.ts">Message</a></code>
920
- <code><a href="./src/resources/shared.ts">Reaction</a></code>
@@ -13,57 +24,45 @@ Types:
1324

1425
Types:
1526

16-
- <code><a href="./src/resources/accounts.ts">Account</a></code>
17-
- <code><a href="./src/resources/accounts.ts">AccountListResponse</a></code>
18-
19-
Methods:
20-
21-
- <code title="get /v0/get-accounts">client.accounts.<a href="./src/resources/accounts.ts">list</a>() -> AccountListResponse</code>
22-
23-
# App
24-
25-
Types:
26-
27-
- <code><a href="./src/resources/app.ts">AppDownloadAssetResponse</a></code>
28-
- <code><a href="./src/resources/app.ts">AppOpenResponse</a></code>
29-
- <code><a href="./src/resources/app.ts">AppSearchResponse</a></code>
27+
- <code><a href="./src/resources/accounts/accounts.ts">Account</a></code>
28+
- <code><a href="./src/resources/accounts/accounts.ts">AccountListResponse</a></code>
3029

3130
Methods:
3231

33-
- <code title="post /v0/download-asset">client.app.<a href="./src/resources/app.ts">downloadAsset</a>({ ...params }) -> AppDownloadAssetResponse</code>
34-
- <code title="post /v0/open-app">client.app.<a href="./src/resources/app.ts">open</a>({ ...params }) -> AppOpenResponse</code>
35-
- <code title="get /v0/search">client.app.<a href="./src/resources/app.ts">search</a>({ ...params }) -> AppSearchResponse</code>
32+
- <code title="get /v1/accounts">client.accounts.<a href="./src/resources/accounts/accounts.ts">list</a>() -> AccountListResponse</code>
3633

37-
# Contacts
34+
## Contacts
3835

3936
Types:
4037

41-
- <code><a href="./src/resources/contacts.ts">ContactSearchResponse</a></code>
38+
- <code><a href="./src/resources/accounts/contacts.ts">ContactSearchResponse</a></code>
4239

4340
Methods:
4441

45-
- <code title="get /v0/search-users">client.contacts.<a href="./src/resources/contacts.ts">search</a>({ ...params }) -> ContactSearchResponse</code>
42+
- <code title="get /v1/accounts/{accountID}/contacts">client.accounts.contacts.<a href="./src/resources/accounts/contacts.ts">search</a>(accountID, { ...params }) -> ContactSearchResponse</code>
4643

4744
# Chats
4845

4946
Types:
5047

5148
- <code><a href="./src/resources/chats/chats.ts">Chat</a></code>
5249
- <code><a href="./src/resources/chats/chats.ts">ChatCreateResponse</a></code>
50+
- <code><a href="./src/resources/chats/chats.ts">ChatListResponse</a></code>
5351

5452
Methods:
5553

56-
- <code title="post /v0/create-chat">client.chats.<a href="./src/resources/chats/chats.ts">create</a>({ ...params }) -> ChatCreateResponse</code>
57-
- <code title="get /v0/get-chat">client.chats.<a href="./src/resources/chats/chats.ts">retrieve</a>({ ...params }) -> Chat</code>
58-
- <code title="post /v0/archive-chat">client.chats.<a href="./src/resources/chats/chats.ts">archive</a>({ ...params }) -> BaseResponse</code>
59-
- <code title="get /v0/search-chats">client.chats.<a href="./src/resources/chats/chats.ts">search</a>({ ...params }) -> ChatsCursor</code>
54+
- <code title="post /v1/chats">client.chats.<a href="./src/resources/chats/chats.ts">create</a>({ ...params }) -> ChatCreateResponse</code>
55+
- <code title="get /v1/chats/{chatID}">client.chats.<a href="./src/resources/chats/chats.ts">retrieve</a>(chatID, { ...params }) -> Chat</code>
56+
- <code title="get /v1/chats">client.chats.<a href="./src/resources/chats/chats.ts">list</a>({ ...params }) -> ChatListResponsesCursorNoLimit</code>
57+
- <code title="post /v1/chats/{chatID}/archive">client.chats.<a href="./src/resources/chats/chats.ts">archive</a>(chatID, { ...params }) -> void</code>
58+
- <code title="get /v1/chats/search">client.chats.<a href="./src/resources/chats/chats.ts">search</a>({ ...params }) -> ChatsCursorSearch</code>
6059

6160
## Reminders
6261

6362
Methods:
6463

65-
- <code title="post /v0/set-chat-reminder">client.chats.reminders.<a href="./src/resources/chats/reminders.ts">create</a>({ ...params }) -> BaseResponse</code>
66-
- <code title="post /v0/clear-chat-reminder">client.chats.reminders.<a href="./src/resources/chats/reminders.ts">delete</a>({ ...params }) -> BaseResponse</code>
64+
- <code title="post /v1/chats/{chatID}/reminders">client.chats.reminders.<a href="./src/resources/chats/reminders.ts">create</a>(chatID, { ...params }) -> void</code>
65+
- <code title="delete /v1/chats/{chatID}/reminders">client.chats.reminders.<a href="./src/resources/chats/reminders.ts">delete</a>(chatID) -> void</code>
6766

6867
# Messages
6968

@@ -73,16 +72,16 @@ Types:
7372

7473
Methods:
7574

76-
- <code title="get /v0/search-messages">client.messages.<a href="./src/resources/messages.ts">search</a>({ ...params }) -> MessagesCursor</code>
77-
- <code title="post /v0/send-message">client.messages.<a href="./src/resources/messages.ts">send</a>({ ...params }) -> MessageSendResponse</code>
75+
- <code title="get /v1/chats/{chatID}/messages">client.messages.<a href="./src/resources/messages.ts">list</a>(chatID, { ...params }) -> MessagesCursorSortKey</code>
76+
- <code title="get /v1/messages/search">client.messages.<a href="./src/resources/messages.ts">search</a>({ ...params }) -> MessagesCursorSearch</code>
77+
- <code title="post /v1/chats/{chatID}/messages">client.messages.<a href="./src/resources/messages.ts">send</a>(chatID, { ...params }) -> MessageSendResponse</code>
7878

79-
# Token
79+
# Assets
8080

8181
Types:
8282

83-
- <code><a href="./src/resources/token.ts">RevokeRequest</a></code>
84-
- <code><a href="./src/resources/token.ts">UserInfo</a></code>
83+
- <code><a href="./src/resources/assets.ts">AssetDownloadResponse</a></code>
8584

8685
Methods:
8786

88-
- <code title="get /oauth/userinfo">client.token.<a href="./src/resources/token.ts">info</a>() -> UserInfo</code>
87+
- <code title="post /v1/assets/download">client.assets.<a href="./src/resources/assets.ts">download</a>({ ...params }) -> AssetDownloadResponse</code>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@beeper/desktop-api",
3-
"version": "0.1.5",
3+
"version": "4.1.293",
44
"description": "The official TypeScript library for the Beeper Desktop API",
55
"author": "Beeper Desktop <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ http://localhost:3000?client=cursor&capability=tool-name-length%3D40
180180
import { server, endpoints, init } from "@beeper/desktop-mcp/server";
181181

182182
// import a specific tool
183-
import getAccounts from "@beeper/desktop-mcp/tools/accounts/get-accounts";
183+
import focusApp from "@beeper/desktop-mcp/tools/top-level/focus-app";
184184

185185
// initialize the server and all endpoints
186186
init({ server, endpoints });
@@ -205,21 +205,21 @@ const myCustomEndpoint = {
205205
};
206206

207207
// initialize the server with your custom endpoints
208-
init({ server: myServer, endpoints: [getAccounts, myCustomEndpoint] });
208+
init({ server: myServer, endpoints: [focusApp, myCustomEndpoint] });
209209
```
210210

211211
## Available Tools
212212

213213
The following tools are available in this MCP server.
214214

215-
### Resource `accounts`:
215+
### Resource `$client`:
216216

217-
- `get_accounts` (`read`) tags: [accounts]: List connected accounts on this device. Use to pick account context.
217+
- `focus_app` (`write`) tags: [app]: Focus Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.
218+
- `search` (`read`) tags: [app]: Search for chats, participant name matches in groups, and the first page of messages in one call. Use this when the user asks for a specific chat, group, or person.
218219

219-
### Resource `app`:
220+
### Resource `accounts`:
220221

221-
- `open_in_app` (`write`) tags: [app]: Open Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.
222-
- `search` (`read`) tags: [app]: Search for chats, participant name matches in groups, and the first page of messages in one call. Use this when the user asks for a specific chat, group, or person.
222+
- `get_accounts` (`read`) tags: [accounts]: List connected accounts on this device.
223223

224224
### Resource `chats`:
225225

@@ -234,6 +234,7 @@ The following tools are available in this MCP server.
234234

235235
### Resource `messages`:
236236

237+
- `list_messages` (`read`) tags: [messages]: List messages from a specific chat with pagination support.
237238
- `search_messages` (`read`) tags: [messages]: Search messages across chats using Beeper's message index.
238239
- When to use: find messages by text and/or filters (chatIDs, accountIDs, chatType, media type filters, sender, date ranges).
239240
- CRITICAL: Query is LITERAL WORD MATCHING, NOT semantic search! Only finds messages containing these EXACT words.

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@beeper/desktop-mcp",
3-
"version": "0.1.5",
3+
"version": "4.1.293",
44
"description": "The official MCP Server for the Beeper Desktop API",
55
"author": "Beeper Desktop <[email protected]>",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)