Skip to content

Commit 380c9f9

Browse files
authored
Merge pull request #7 from beeper/release-please--branches--main--changes--next--components--desktop-api
release: 0.1.1
2 parents 1d6e6fa + b9f824a commit 380c9f9

File tree

21 files changed

+115
-187
lines changed

21 files changed

+115
-187
lines changed

.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.0"
2+
".": "0.1.1"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 12
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-e3b1a49dc833ea325071831c8e3e2f334bd20cff0ef19a1aae941572a14bcd99.yml
3-
openapi_spec_hash: 551b8c5126992f153faedc2f2272559c
4-
config_hash: dae4a4716f364a03ad112465d14b9abb
1+
configured_endpoints: 11
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-ff79ddeffb7d3ee69bbabaa4f4e3051a884252dacd7a677a70ab6295903d53eb.yml
3+
openapi_spec_hash: 39158aeb3bd015168d92abc1874e4c00
4+
config_hash: ae5017d645e2880125f279c28822d82b

CHANGELOG.md

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

3+
## 0.1.1 (2025-08-30)
4+
5+
Full Changelog: [v0.1.0...v0.1.1](https://github.com/beeper/desktop-api-js/compare/v0.1.0...v0.1.1)
6+
7+
### Features
8+
9+
* **api:** update via SDK Studio ([ff0f2d1](https://github.com/beeper/desktop-api-js/commit/ff0f2d1d794048508a4c1f49ea8c55bd7509dcbc))
10+
* **api:** update via SDK Studio ([2351642](https://github.com/beeper/desktop-api-js/commit/2351642f28ac706c6df9a6347663a09332fd528b))
11+
* **api:** update via SDK Studio ([d57e238](https://github.com/beeper/desktop-api-js/commit/d57e238e055b2e466687ba57753ef7d9fb5a49ef))
12+
* **api:** update via SDK Studio ([f70db5c](https://github.com/beeper/desktop-api-js/commit/f70db5c5d50a54d1cb24e438ad4289ab43c5dcd6))
13+
* **api:** update via SDK Studio ([e49f662](https://github.com/beeper/desktop-api-js/commit/e49f662122dce794ab0eb4a3e9d5a17160827f0e))
14+
15+
16+
### Chores
17+
18+
* **internal:** update global Error reference ([0fe12b0](https://github.com/beeper/desktop-api-js/commit/0fe12b0418efa09a71a64c164a1b6236a287522b))
19+
20+
21+
### Documentation
22+
23+
* link to developers.beeper.com ([4c14d75](https://github.com/beeper/desktop-api-js/commit/4c14d75b66bd9c2e66d2c2a390885c4d5076dd3b))
24+
325
## 0.1.0 (2025-08-27)
426

527
Full Changelog: [v0.0.1...v0.1.0](https://github.com/beeper/desktop-api-js/compare/v0.0.1...v0.1.0)

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# Beeper Desktop TypeScript API Library
1+
# Beeper Desktop API TypeScript Library
22

33
[![NPM version](<https://img.shields.io/npm/v/@beeper/desktop-api.svg?label=npm%20(stable)>)](https://npmjs.org/package/@beeper/desktop-api) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@beeper/desktop-api)
44

5-
This library provides convenient access to the Beeper Desktop REST API from server-side TypeScript or JavaScript.
5+
This library provides convenient access to the Beeper Desktop API from server-side TypeScript or JavaScript.
66

7-
The REST API documentation can be found on [www.beeper.com](https://www.beeper.com/desktop-api). The full API of this library can be found in [api.md](api.md).
8-
9-
It is generated with [Stainless](https://www.stainless.com/).
7+
The documentation for Beeper Desktop API can be found on [developers.beeper.com/desktop-api](https://developers.beeper.com/desktop-api/). The full API of this library can be found in [api.md](api.md).
108

119
## Installation
1210

@@ -44,7 +42,7 @@ const client = new BeeperDesktop({
4442
accessToken: process.env['BEEPER_ACCESS_TOKEN'], // This is the default and can be omitted
4543
});
4644

47-
const accounts: BeeperDesktop.AccountListResponse = await client.accounts.list();
45+
const getAccountsResponse: BeeperDesktop.GetAccountsResponse = await client.accounts.list();
4846
```
4947

5048
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
@@ -174,9 +172,9 @@ const response = await client.accounts.list().asResponse();
174172
console.log(response.headers.get('X-My-Header'));
175173
console.log(response.statusText); // access the underlying Response object
176174

177-
const { data: accounts, response: raw } = await client.accounts.list().withResponse();
175+
const { data: getAccountsResponse, response: raw } = await client.accounts.list().withResponse();
178176
console.log(raw.headers.get('X-My-Header'));
179-
console.log(accounts.accounts);
177+
console.log(getAccountsResponse.accounts);
180178
```
181179

182180
### Logging

api.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,9 @@ Types:
1313

1414
# Accounts
1515

16-
Types:
17-
18-
- <code><a href="./src/resources/accounts.ts">AccountListResponse</a></code>
19-
2016
Methods:
2117

22-
- <code title="get /v0/get-accounts">client.accounts.<a href="./src/resources/accounts.ts">list</a>() -> AccountListResponse</code>
18+
- <code title="get /v0/get-accounts">client.accounts.<a href="./src/resources/accounts.ts">list</a>() -> GetAccountsResponse</code>
2319

2420
# App
2521

@@ -63,14 +59,14 @@ Methods:
6359
- <code title="post /v0/clear-chat-reminder">client.reminders.<a href="./src/resources/reminders.ts">clear</a>({ ...params }) -> BaseResponse</code>
6460
- <code title="post /v0/set-chat-reminder">client.reminders.<a href="./src/resources/reminders.ts">set</a>({ ...params }) -> BaseResponse</code>
6561

66-
# OAuth
62+
# Token
6763

6864
Types:
6965

70-
- <code><a href="./src/resources/oauth.ts">RevokeRequest</a></code>
71-
- <code><a href="./src/resources/oauth.ts">UserInfo</a></code>
66+
- <code><a href="./src/resources/token.ts">GetAccountsResponse</a></code>
67+
- <code><a href="./src/resources/token.ts">RevokeRequest</a></code>
68+
- <code><a href="./src/resources/token.ts">UserInfo</a></code>
7269

7370
Methods:
7471

75-
- <code title="get /oauth/userinfo">client.oauth.<a href="./src/resources/oauth.ts">getUserInfo</a>() -> UserInfo</code>
76-
- <code title="post /oauth/revoke">client.oauth.<a href="./src/resources/oauth.ts">revokeToken</a>({ ...params }) -> void</code>
72+
- <code title="get /oauth/userinfo">client.token.<a href="./src/resources/token.ts">info</a>() -> UserInfo</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.0",
3+
"version": "0.1.1",
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: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Beeper Desktop TypeScript MCP Server
22

3-
It is generated with [Stainless](https://www.stainless.com/).
4-
53
## Installation
64

75
### Direct invocation
@@ -244,7 +242,6 @@ The following tools are available in this MCP server.
244242
- `clear_chat_reminder` (`write`) tags: [reminders]: Clear a chat reminder.
245243
- `set_chat_reminder` (`write`) tags: [reminders]: Set a reminder for a chat at a specific time.
246244

247-
### Resource `oauth`:
245+
### Resource `token`:
248246

249-
- `get_user_info_oauth` (`read`): Returns information about the authenticated user/token
250-
- `revoke_token_oauth` (`write`): Revoke an access token or refresh token (RFC 7009)
247+
- `info_token` (`read`): Returns information about the authenticated user/token

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-api-mcp",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "The official MCP Server for the Beeper Desktop API",
55
"author": "Beeper Desktop <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const newMcpServer = () =>
3232
new McpServer(
3333
{
3434
name: 'beeper_desktop_api_api',
35-
version: '0.1.0',
35+
version: '0.1.1',
3636
},
3737
{
3838
capabilities: { tools: {}, logging: {} },

packages/mcp-server/src/tools/accounts/get-accounts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
1818
export const tool: Tool = {
1919
name: 'get_accounts',
2020
description:
21-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList connected accounts on this device. Use to pick account context.\n\n# Response Schema\n```json\n{\n type: 'object',\n description: 'Response payload for listing connected Beeper accounts.',\n properties: {\n accounts: {\n type: 'array',\n description: 'Connected accounts the user can act through. Includes accountID, network, and user identity.',\n items: {\n $ref: '#/$defs/account'\n }\n }\n },\n required: [ 'accounts'\n ],\n $defs: {\n account: {\n type: 'object',\n description: 'A chat account added to Beeper',\n properties: {\n accountID: {\n type: 'string',\n description: 'Chat account added to Beeper. Use this to route account-scoped actions.'\n },\n network: {\n type: 'string',\n description: 'Display-only human-readable network name (e.g., \\'WhatsApp\\', \\'Messenger\\'). You MUST use \\'accountID\\' to perform actions.'\n },\n user: {\n $ref: '#/$defs/user'\n }\n },\n required: [ 'accountID',\n 'network',\n 'user'\n ]\n },\n user: {\n type: 'object',\n description: 'A person on or reachable through Beeper. Values are best-effort and can vary by network.',\n properties: {\n id: {\n type: 'string',\n description: 'Stable Beeper user ID. Use as the primary key when referencing a person.'\n },\n cannotMessage: {\n type: 'boolean',\n description: 'True if Beeper cannot initiate messages to this user (e.g., blocked, network restriction, or no DM path). The user may still message you.'\n },\n email: {\n type: 'string',\n description: 'Email address if known. Not guaranteed verified.'\n },\n fullName: {\n type: 'string',\n description: 'Display name as shown in clients (e.g., \\'Alice Example\\'). May include emojis.'\n },\n imgURL: {\n type: 'string',\n description: 'Avatar image URL if available. May be temporary or local-only to this device; download promptly if durable access is needed.'\n },\n isSelf: {\n type: 'boolean',\n description: 'True if this user represents the authenticated account\\'s own identity.'\n },\n phoneNumber: {\n type: 'string',\n description: 'User\\'s phone number in E.164 format (e.g., \\'+14155552671\\'). Omit if unknown.'\n },\n username: {\n type: 'string',\n description: 'Human-readable handle if available (e.g., \\'@alice\\'). May be network-specific and not globally unique.'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
21+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList connected accounts on this device. Use to pick account context.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/get_accounts_response',\n $defs: {\n get_accounts_response: {\n type: 'object',\n description: 'Response payload for listing connected Beeper accounts.',\n properties: {\n accounts: {\n type: 'array',\n description: 'Connected accounts the user can act through. Includes accountID, network, and user identity.',\n items: {\n $ref: '#/$defs/account'\n }\n }\n },\n required: [ 'accounts'\n ]\n },\n account: {\n type: 'object',\n description: 'A chat account added to Beeper',\n properties: {\n accountID: {\n type: 'string',\n description: 'Chat account added to Beeper. Use this to route account-scoped actions.'\n },\n network: {\n type: 'string',\n description: 'Display-only human-readable network name (e.g., \\'WhatsApp\\', \\'Messenger\\'). You MUST use \\'accountID\\' to perform actions.'\n },\n user: {\n $ref: '#/$defs/user'\n }\n },\n required: [ 'accountID',\n 'network',\n 'user'\n ]\n },\n user: {\n type: 'object',\n description: 'A person on or reachable through Beeper. Values are best-effort and can vary by network.',\n properties: {\n id: {\n type: 'string',\n description: 'Stable Beeper user ID. Use as the primary key when referencing a person.'\n },\n cannotMessage: {\n type: 'boolean',\n description: 'True if Beeper cannot initiate messages to this user (e.g., blocked, network restriction, or no DM path). The user may still message you.'\n },\n email: {\n type: 'string',\n description: 'Email address if known. Not guaranteed verified.'\n },\n fullName: {\n type: 'string',\n description: 'Display name as shown in clients (e.g., \\'Alice Example\\'). May include emojis.'\n },\n imgURL: {\n type: 'string',\n description: 'Avatar image URL if available. May be temporary or local-only to this device; download promptly if durable access is needed.'\n },\n isSelf: {\n type: 'boolean',\n description: 'True if this user represents the authenticated account\\'s own identity.'\n },\n phoneNumber: {\n type: 'string',\n description: 'User\\'s phone number in E.164 format (e.g., \\'+14155552671\\'). Omit if unknown.'\n },\n username: {\n type: 'string',\n description: 'Human-readable handle if available (e.g., \\'@alice\\'). May be network-specific and not globally unique.'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
2222
inputSchema: {
2323
type: 'object',
2424
properties: {

0 commit comments

Comments
 (0)