Skip to content

Commit 52a3fe1

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.2.0 (#12)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.502.0 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 9741915 commit 52a3fe1

File tree

15 files changed

+126
-60
lines changed

15 files changed

+126
-60
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/mcp-server
12
/bin
23
/.eslintcache
34
/.speakeasy/reports

.speakeasy/gen.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: 8ee5821f-25ad-41d5-94bd-080f4048f5d5
33
management:
44
docChecksum: 65a8cad189779a50db0e3beea8a6a0f1
55
docVersion: 0.0.0
6-
speakeasyVersion: 1.498.1
7-
generationVersion: 2.518.1
8-
releaseVersion: 0.1.3
9-
configChecksum: 15e51277f78558c302ead81bd2747547
6+
speakeasyVersion: 1.502.0
7+
generationVersion: 2.524.1
8+
releaseVersion: 0.2.0
9+
configChecksum: e7f877270d1cda2cf91c3e031b72ab63
1010
repoURL: https://github.com/speakeasy-api/bluesky-ts.git
1111
installationURL: https://github.com/speakeasy-api/bluesky-ts
1212
published: true
@@ -15,7 +15,7 @@ features:
1515
additionalDependencies: 0.1.0
1616
additionalProperties: 0.1.1
1717
constsAndDefaults: 0.1.11
18-
core: 3.20.0
18+
core: 3.21.1
1919
defaultEnabledRetries: 0.1.0
2020
devContainers: 2.90.0
2121
enumUnions: 0.1.0
@@ -26,7 +26,7 @@ features:
2626
globalSecurityFlattening: 0.1.0
2727
globalServerURLs: 2.82.4
2828
groups: 2.81.2
29-
mcpServer: 0.1.1
29+
mcpServer: 0.3.0
3030
methodArguments: 0.1.2
3131
nameOverrides: 2.81.2
3232
pagination: 2.82.8

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2ClientCredentialsEnabled: false
1919
oAuth2PasswordEnabled: false
2020
typescript:
21-
version: 0.1.3
21+
version: 0.2.0
2222
additionalDependencies:
2323
dependencies: {}
2424
devDependencies: {}

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.498.1
1+
speakeasyVersion: 1.502.0
22
sources:
33
OAS:
44
sourceNamespace: oas
5-
sourceRevisionDigest: sha256:67ea8cf97879cde6198e535a51d38ab1ea027c16f04b9ecc75abdc4e9f5ddfad
5+
sourceRevisionDigest: sha256:e1219e25d26c16987db000021f18323b34f8a5887ac8aa7c73e807baff6e3263
66
sourceBlobDigest: sha256:fc611c3f426fda575a39f6881e166ba50f7760e7c81a8a7d094b851ae6f3fbb8
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740074531
9+
- speakeasy-sdk-regen-1740161432
1010
- 0.0.0
1111
targets:
1212
bluesky:
1313
source: OAS
1414
sourceNamespace: oas
15-
sourceRevisionDigest: sha256:67ea8cf97879cde6198e535a51d38ab1ea027c16f04b9ecc75abdc4e9f5ddfad
15+
sourceRevisionDigest: sha256:e1219e25d26c16987db000021f18323b34f8a5887ac8aa7c73e807baff6e3263
1616
sourceBlobDigest: sha256:fc611c3f426fda575a39f6881e166ba50f7760e7c81a8a7d094b851ae6f3fbb8
1717
codeSamplesNamespace: oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:bf6456e86d27ecf9abb5ed822fdee96579d24b5d625e8752d26bd56d5d4c307a
18+
codeSamplesRevisionDigest: sha256:e022cc6f30be05153433d64c6f8644170041b02aea03d095c774b0d146f1de23
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ This section contains HTTP API reference docs for Bluesky and AT Protocol lexico
2727
<!-- $toc-max-depth=2 -->
2828
* [@speakeasy-api/bluesky](#speakeasy-apibluesky)
2929
* [SDK Installation](#sdk-installation)
30+
* [Requirements](#requirements)
31+
* [SDK Example Usage](#sdk-example-usage)
32+
* [Authentication](#authentication)
33+
* [Available Resources and Operations](#available-resources-and-operations)
34+
* [Standalone functions](#standalone-functions)
35+
* [React hooks with TanStack Query](#react-hooks-with-tanstack-query)
36+
* [Pagination](#pagination)
37+
* [File uploads](#file-uploads)
38+
* [Retries](#retries)
39+
* [Error Handling](#error-handling)
40+
* [Server Selection](#server-selection)
41+
* [Custom HTTP Client](#custom-http-client)
42+
* [Debugging](#debugging)
3043
* [Development](#development)
3144
* [Maturity](#maturity)
3245
* [Contributions](#contributions)
@@ -94,10 +107,12 @@ Add the following server definition to your `claude_desktop_config.json` file:
94107
"mcpServers": {
95108
"Bluesky": {
96109
"command": "npx",
97-
"args": ["-y", "--package", "@speakeasy-sdks/bluesky", "--", "mcp", "start"],
98-
"env": {
99-
"BLUESKY_BEARER": "..."
100-
}
110+
"args": [
111+
"-y", "--package", "@speakeasy-sdks/bluesky",
112+
"--",
113+
"mcp", "start",
114+
"--bearer", "..."
115+
]
101116
}
102117
}
103118
}
@@ -108,29 +123,14 @@ Add the following server definition to your `claude_desktop_config.json` file:
108123
<details>
109124
<summary>Cursor installation steps</summary>
110125

111-
1. Create a shell script called `mcp-bluesky.sh` with the following content:
112-
113-
```sh
114-
#!/bin/sh
115-
116-
export BLUESKY_BEARER="..."
117-
118-
exec npx -y --package @speakeasy-sdks/bluesky -- mcp start "$@"
119-
```
120-
121-
2. Then make it executable with the following command:
126+
Go to `Cursor Settings > Features > MCP Servers > Add new MCP server` and use the following settings:
122127

123-
```sh
124-
chmod +x mcp-bluesky.sh
125-
```
126-
127-
3. In Cursor, `Cursor Settings > Features > MCP Servers > Add new MCP server` and use the following settings:
128-
129-
| Field | Value |
130-
| ------- | ----- |
131-
| Name | Bluesky |
132-
| Type | `command` |
133-
| Command | `/path/to/mcp-bluesky.sh` |
128+
- Name: Bluesky
129+
- Type: `command`
130+
- Command:
131+
```sh
132+
npx -y --package @speakeasy-sdks/bluesky -- mcp start --bearer ...
133+
```
134134

135135
</details>
136136

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,14 @@ Based on:
6262
### Generated
6363
- [typescript v0.1.3] .
6464
### Releases
65-
- [NPM v0.1.3] https://www.npmjs.com/package/@speakeasy-sdks/bluesky/v/0.1.3 - .
65+
- [NPM v0.1.3] https://www.npmjs.com/package/@speakeasy-sdks/bluesky/v/0.1.3 - .
66+
67+
## 2025-02-25 12:23:52
68+
### Changes
69+
Based on:
70+
- OpenAPI Doc
71+
- Speakeasy CLI 1.502.0 (2.524.1) https://github.com/speakeasy-api/speakeasy
72+
### Generated
73+
- [typescript v0.2.0] .
74+
### Releases
75+
- [NPM v0.2.0] https://www.npmjs.com/package/@speakeasy-sdks/bluesky/v/0.2.0 - .

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@speakeasy-sdks/bluesky",
5-
"version": "0.1.3",
5+
"version": "0.2.0",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@speakeasy-sdks/bluesky",
3-
"version": "0.1.3",
3+
"version": "0.2.0",
44
"author": "Speakeasy",
55
"type": "module",
66
"bin": {

src/lib/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const ServerList = {
2424
} as const;
2525

2626
export type SDKOptions = {
27-
bearer?: string | (() => Promise<string>);
27+
bearer?: string | (() => Promise<string>) | undefined;
2828

2929
httpClient?: HTTPClient;
3030
/**
@@ -60,8 +60,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
6060
export const SDK_METADATA = {
6161
language: "typescript",
6262
openapiDocVersion: "0.0.0",
63-
sdkVersion: "0.1.3",
64-
genVersion: "2.518.1",
63+
sdkVersion: "0.2.0",
64+
genVersion: "2.524.1",
6565
userAgent:
66-
"speakeasy-sdk/typescript 0.1.3 2.518.1 0.0.0 @speakeasy-sdks/bluesky",
66+
"speakeasy-sdk/typescript 0.2.0 2.524.1 0.0.0 @speakeasy-sdks/bluesky",
6767
} as const;

0 commit comments

Comments
 (0)