Skip to content

Commit c35cc44

Browse files
stainless-app[bot]batuhan
authored andcommitted
feat(api): update via SDK Studio
1 parent 380257b commit c35cc44

File tree

12 files changed

+27
-27
lines changed

12 files changed

+27
-27
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 11
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-54f86eb1bfab2924ae119521878ce7d58611b34a545f90785012bbb8dc834a7e.yml
3-
openapi_spec_hash: 4a5284590c2632f7064c855a51549069
4-
config_hash: 7dc381def4ce8ae02ec03672ffc66fa1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-87403f8095d7110ee66f45c0f912bd20d151b4de5bd43a009f5918da42bb4b7c.yml
3+
openapi_spec_hash: 00e1ccee7456b50ecbb748292853a1b8
4+
config_hash: 0a8ca10ff0088139cac8e3b0d0a1730a

packages/mcp-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ The following tools are available in this MCP server.
244244
• "What's the name of your work chat?" (could be "Team", company name, project name)
245245
• "Who are the participants?" (use participantQuery in find-chats)
246246
Returns: matching messages and referenced chats.
247-
- `send_message` (`write`) tags: [messages]: Send a text message to a chat. Can reply to an existing message.
247+
- `send_message` (`write`) tags: [messages]: Send a text message to a specific chat. Supports replying to existing messages. Returns the sent message ID and a deeplink to the chat
248248

249249
### Resource `reminders`:
250250

packages/mcp-server/src/tools/app/open-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const tool: Tool = {
2323
chatID: {
2424
type: 'string',
2525
description:
26-
'Optional Beeper chat ID to focus after opening the app. If omitted, only opens/focuses the app.',
26+
'Optional Beeper chat ID (or local chat ID) to focus after opening the app. If omitted, only opens/focuses the app.',
2727
},
2828
draftText: {
2929
type: 'string',

packages/mcp-server/src/tools/chats/archive-chat.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export const tool: Tool = {
2222
properties: {
2323
chatID: {
2424
type: 'string',
25-
description: 'The identifier of the chat to archive or unarchive',
25+
description:
26+
'The identifier of the chat to archive or unarchive (accepts both chatID and local chat ID)',
2627
},
2728
archived: {
2829
type: 'boolean',

packages/mcp-server/src/tools/messages/send-message.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ export const metadata: Metadata = {
1616

1717
export const tool: Tool = {
1818
name: 'send_message',
19-
description: 'Send a text message to a chat. Can reply to an existing message.',
19+
description:
20+
'Send a text message to a specific chat. Supports replying to existing messages. Returns the sent message ID and a deeplink to the chat',
2021
inputSchema: {
2122
type: 'object',
2223
properties: {
2324
chatID: {
2425
type: 'string',
25-
description: 'The identifier of the chat where the message will send',
26+
description:
27+
'The identifier of the chat where the message will send (accepts both chatID and local chat ID)',
2628
},
2729
replyToMessageID: {
2830
type: 'string',

packages/mcp-server/src/tools/reminders/clear-chat-reminder.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export const tool: Tool = {
2222
properties: {
2323
chatID: {
2424
type: 'string',
25-
description: 'The identifier of the chat to clear reminder from',
25+
description:
26+
'The identifier of the chat to clear reminder from (accepts both chatID and local chat ID)',
2627
},
2728
},
2829
required: ['chatID'],

packages/mcp-server/src/tools/reminders/set-chat-reminder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const tool: Tool = {
2222
properties: {
2323
chatID: {
2424
type: 'string',
25-
description: 'The identifier of the chat to set reminder for',
25+
description: 'The identifier of the chat to set reminder for (accepts both chatID and local chat ID)',
2626
},
2727
reminder: {
2828
type: 'object',

src/resources/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export interface AppFocusResponse {
3737

3838
export interface AppFocusParams {
3939
/**
40-
* Optional Beeper chat ID to focus after opening the app. If omitted, only
41-
* opens/focuses the app.
40+
* Optional Beeper chat ID (or local chat ID) to focus after opening the app. If
41+
* omitted, only opens/focuses the app.
4242
*/
4343
chatID?: string;
4444

src/resources/chats.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ export interface ChatGetResponse {
126126
lastReadMessageSortKey?: number | string;
127127

128128
/**
129-
* Local numeric chat ID specific to this Beeper Desktop installation. null for
130-
* iMessage chats.
129+
* Local chat ID specific to this Beeper Desktop installation.
131130
*/
132131
localChatID?: string | null;
133132
}
@@ -156,7 +155,8 @@ export namespace ChatGetResponse {
156155

157156
export interface ChatArchiveParams {
158157
/**
159-
* The identifier of the chat to archive or unarchive
158+
* The identifier of the chat to archive or unarchive (accepts both chatID and
159+
* local chat ID)
160160
*/
161161
chatID: string;
162162

src/resources/messages.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class Messages extends APIResource {
5050

5151
/**
5252
* Send a text message to a specific chat. Supports replying to existing messages.
53-
* Returns the sent message ID and a deeplink to the chat
53+
* Returns the sent message ID.
5454
*
5555
* @example
5656
* ```ts
@@ -83,12 +83,6 @@ export interface MessageGetAttachmentResponse {
8383
}
8484

8585
export interface MessageSendResponse extends Shared.BaseResponse {
86-
/**
87-
* Link to the chat where the message was sent. This should always be shown to the
88-
* user.
89-
*/
90-
deeplink: string;
91-
9286
/**
9387
* Stable message ID.
9488
*/
@@ -189,7 +183,8 @@ export interface MessageSearchParams extends CursorParams {
189183

190184
export interface MessageSendParams {
191185
/**
192-
* The identifier of the chat where the message will send
186+
* The identifier of the chat where the message will send (accepts both chatID and
187+
* local chat ID)
193188
*/
194189
chatID: string;
195190

0 commit comments

Comments
 (0)