Skip to content

Commit 0a91186

Browse files
feat(api): api update
1 parent aed2b82 commit 0a91186

85 files changed

Lines changed: 8050 additions & 10366 deletions

Some content is hidden

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

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 72
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper/beeper-desktop-api-0427b028ffd00b4f8b75084116f801658d0279117b2d0e522d1f257c998f1fd0.yml
3-
openapi_spec_hash: af3ed0745fca6831cf2540c36050d4e6
4-
config_hash: fbf60dd7c0de7e17c7e2bb0ee09e9937
1+
configured_endpoints: 59
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper/beeper-desktop-api-85f9d588b888eaac24243e6b71c8ed3b57bba8b28d43bef94d590de60e2d8344.yml
3+
openapi_spec_hash: 7c41d922ada4b7ef51dc0e70005d8d62
4+
config_hash: 2ebcc80e2cbd2342e132f4474ec24212

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ const client = createClient({
220220
});
221221

222222
// ... then make API calls as usual.
223-
const accounts = await client.accounts.list();
223+
const account = await client.accounts.retrieve('accountID');
224224
const chat = await client.chats.create({
225225
accountID: 'accountID',
226226
participantIDs: ['string'],
@@ -246,7 +246,7 @@ const client: PartialBeeperDesktop<{ accounts: BaseAccounts }> = createClient({
246246

247247
// Function parameter type
248248
async function main(client: PartialBeeperDesktop<{ accounts: BaseAccounts }>) {
249-
const accounts = await client.accounts.list();
249+
const account = await client.accounts.retrieve('accountID');
250250
}
251251

252252
// Works with any client that has the accounts resource

api.md

Lines changed: 104 additions & 185 deletions
Large diffs are not rendered by default.

packages/mcp-server/src/code-tool-worker.ts

Lines changed: 24 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,20 @@ const fuse = new Fuse(
111111
'client.focus',
112112
'client.search',
113113
'client.accounts.list',
114+
'client.accounts.retrieve',
114115
'client.accounts.contacts.list',
115116
'client.accounts.contacts.search',
116117
'client.bridges.list',
118+
'client.bridges.retrieve',
119+
'client.bridges.retrieveCapabilities',
120+
'client.bridges.loginFlows.list',
121+
'client.bridges.connections.list',
122+
'client.bridges.connections.remove',
123+
'client.bridges.connections.retrieve',
124+
'client.bridges.loginSessions.cancel',
125+
'client.bridges.loginSessions.create',
126+
'client.bridges.loginSessions.retrieve',
127+
'client.bridges.loginSessions.steps.submit',
117128
'client.chats.archive',
118129
'client.chats.create',
119130
'client.chats.list',
@@ -139,47 +150,23 @@ const fuse = new Fuse(
139150
'client.assets.upload',
140151
'client.assets.uploadBase64',
141152
'client.info.retrieve',
142-
'client.app.status',
153+
'client.app.session',
143154
'client.app.login.email',
144155
'client.app.login.register',
145156
'client.app.login.response',
146157
'client.app.login.start',
147-
'client.app.e2ee.recoveryCode.markBackedUp',
148-
'client.app.e2ee.recoveryCode.verify',
149-
'client.app.e2ee.recoveryCode.reset.confirm',
150-
'client.app.e2ee.recoveryCode.reset.create',
151-
'client.app.e2ee.verification.accept',
152-
'client.app.e2ee.verification.cancel',
153-
'client.app.e2ee.verification.create',
154-
'client.app.e2ee.verification.qr.confirmScanned',
155-
'client.app.e2ee.verification.qr.scan',
156-
'client.app.e2ee.verification.sas.confirm',
157-
'client.app.e2ee.verification.sas.start',
158-
'client.matrix.users.retrieveProfile',
159-
'client.matrix.users.accountData.retrieve',
160-
'client.matrix.users.accountData.update',
161-
'client.matrix.rooms.create',
162-
'client.matrix.rooms.join',
163-
'client.matrix.rooms.leave',
164-
'client.matrix.rooms.accountData.retrieve',
165-
'client.matrix.rooms.accountData.update',
166-
'client.matrix.rooms.state.list',
167-
'client.matrix.rooms.state.retrieve',
168-
'client.matrix.rooms.events.retrieve',
169-
'client.matrix.bridges.auth.listFlows',
170-
'client.matrix.bridges.auth.listLogins',
171-
'client.matrix.bridges.auth.logout',
172-
'client.matrix.bridges.auth.startLogin',
173-
'client.matrix.bridges.auth.submitCookies',
174-
'client.matrix.bridges.auth.submitUserInput',
175-
'client.matrix.bridges.auth.waitForStep',
176-
'client.matrix.bridges.auth.whoami',
177-
'client.matrix.bridges.contacts.list',
178-
'client.matrix.bridges.users.resolve',
179-
'client.matrix.bridges.users.search',
180-
'client.matrix.bridges.rooms.createDm',
181-
'client.matrix.bridges.rooms.createGroup',
182-
'client.matrix.bridges.capabilities.retrieve',
158+
'client.app.login.verification.recoveryKey.verify',
159+
'client.app.login.verification.recoveryKey.reset.confirm',
160+
'client.app.login.verification.recoveryKey.reset.create',
161+
'client.app.verifications.accept',
162+
'client.app.verifications.cancel',
163+
'client.app.verifications.create',
164+
'client.app.verifications.list',
165+
'client.app.verifications.retrieve',
166+
'client.app.verifications.qr.confirmScanned',
167+
'client.app.verifications.qr.scan',
168+
'client.app.verifications.sas.confirm',
169+
'client.app.verifications.sas.start',
183170
],
184171
{ threshold: 1, shouldSort: true },
185172
);

packages/mcp-server/src/local-docs-search.ts

Lines changed: 1202 additions & 1814 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)