Skip to content

Commit cbc215a

Browse files
release: 0.1.0-alpha.11 (#12)
* feat(api): sort org projects by creation time * feat: make build api return documented specs as urls * codegen metadata * chore(internal): codegen related update * chore: configure new SDK language * chore: add docs to RequestOptions type * feat: add multipart form support to HAR snippets * chore(internal): codegen related update * feat(api): punch v0 api for sdk previews * feat(api): manual updates * release: 0.1.0-alpha.11 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 7371e67 commit cbc215a

Some content is hidden

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

43 files changed

+192
-144
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-alpha.10"
2+
".": "0.1.0-alpha.11"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 17
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-0eed0c3c47bb630ed692f2de1c5228e3e1a29f52489851aecc0b9f9f3b5bce61.yml
3-
openapi_spec_hash: c62aa08b1662b81b6ede9e298e4f1882
4-
config_hash: 90634c69edf6c56b14785217d1b0c0e0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-f8b160dfac6cc8d6951e42fe594883938f255f414d30e4e27a63dbb3060b5010.yml
3+
openapi_spec_hash: 0de103ac1222087e3b8779ceb9ac54cd
4+
config_hash: 63f70c18bae6c2b8fab57901a1050afc

CHANGELOG.md

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

3+
## 0.1.0-alpha.11 (2025-07-07)
4+
5+
Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/stainless-api/stainless-api-typescript/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
6+
7+
### Features
8+
9+
* add multipart form support to HAR snippets ([c043687](https://github.com/stainless-api/stainless-api-typescript/commit/c043687d7e799e4cb1b1fb3382f3649d459f6299))
10+
* **api:** manual updates ([6c0b3ca](https://github.com/stainless-api/stainless-api-typescript/commit/6c0b3ca6afb8e7ea6fd8dffeb3b5f6dc8c463ccf))
11+
* **api:** punch v0 api for sdk previews ([2b37773](https://github.com/stainless-api/stainless-api-typescript/commit/2b37773f2e5ac7ce0d698e4a989107fac977ebf3))
12+
* **api:** sort org projects by creation time ([eb5909e](https://github.com/stainless-api/stainless-api-typescript/commit/eb5909ebb4e9ac06b008625e778a45590aedb2a3))
13+
* make build api return documented specs as urls ([a25d287](https://github.com/stainless-api/stainless-api-typescript/commit/a25d287a46b99eb56a378086aac917b2ede3612e))
14+
15+
16+
### Chores
17+
18+
* add docs to RequestOptions type ([f8c8bdc](https://github.com/stainless-api/stainless-api-typescript/commit/f8c8bdc65a046977d5fc007b9c5668d813286fc4))
19+
* configure new SDK language ([5623733](https://github.com/stainless-api/stainless-api-typescript/commit/5623733743fb753fb66d2447b18afd1919335bc6))
20+
* **internal:** codegen related update ([f00bea3](https://github.com/stainless-api/stainless-api-typescript/commit/f00bea39ea62699b4b2fb8904ee7ebed98b8b8e6))
21+
* **internal:** codegen related update ([d7c6cea](https://github.com/stainless-api/stainless-api-typescript/commit/d7c6ceaccee206d3056a8cdf73c4a626179535e1))
22+
323
## 0.1.0-alpha.10 (2025-07-02)
424

525
Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/stainless-api/stainless-api-typescript/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import Stainless from '@stainless-api/sdk';
2424

2525
const client = new Stainless({
2626
apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted
27-
environment: 'staging', // defaults to 'production'
2827
});
2928

3029
const buildObject = await client.builds.create({ project: 'project', revision: 'string' });
@@ -42,7 +41,6 @@ import Stainless from '@stainless-api/sdk';
4241

4342
const client = new Stainless({
4443
apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted
45-
environment: 'staging', // defaults to 'production'
4644
});
4745

4846
const params: Stainless.BuildCreateParams = { project: 'project', revision: 'string' };

api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Methods:
1212
- <code title="post /v0/projects">client.projects.<a href="./src/resources/projects/projects.ts">create</a>({ ...params }) -> ProjectCreateResponse</code>
1313
- <code title="get /v0/projects/{project}">client.projects.<a href="./src/resources/projects/projects.ts">retrieve</a>({ ...params }) -> ProjectRetrieveResponse</code>
1414
- <code title="patch /v0/projects/{project}">client.projects.<a href="./src/resources/projects/projects.ts">update</a>({ ...params }) -> ProjectUpdateResponse</code>
15-
- <code title="get /v0/projects">client.projects.<a href="./src/resources/projects/projects.ts">list</a>({ ...params }) -> ProjectListResponsesList</code>
15+
- <code title="get /v0/projects">client.projects.<a href="./src/resources/projects/projects.ts">list</a>({ ...params }) -> ProjectListResponsesPage</code>
1616

1717
## Branches
1818

@@ -49,7 +49,7 @@ Methods:
4949

5050
- <code title="post /v0/builds">client.builds.<a href="./src/resources/builds/builds.ts">create</a>({ ...params }) -> BuildObject</code>
5151
- <code title="get /v0/builds/{buildId}">client.builds.<a href="./src/resources/builds/builds.ts">retrieve</a>(buildID) -> BuildObject</code>
52-
- <code title="get /v0/builds">client.builds.<a href="./src/resources/builds/builds.ts">list</a>({ ...params }) -> BuildObjectsList</code>
52+
- <code title="get /v0/builds">client.builds.<a href="./src/resources/builds/builds.ts">list</a>({ ...params }) -> BuildObjectsPage</code>
5353
- <code title="post /v0/builds/compare">client.builds.<a href="./src/resources/builds/builds.ts">compare</a>({ ...params }) -> BuildCompareResponse</code>
5454

5555
## Diagnostics
@@ -60,7 +60,7 @@ Types:
6060

6161
Methods:
6262

63-
- <code title="get /v0/builds/{buildId}/diagnostics">client.builds.diagnostics.<a href="./src/resources/builds/diagnostics.ts">list</a>(buildID, { ...params }) -> DiagnosticListResponsesList</code>
63+
- <code title="get /v0/builds/{buildId}/diagnostics">client.builds.diagnostics.<a href="./src/resources/builds/diagnostics.ts">list</a>(buildID, { ...params }) -> DiagnosticListResponsesPage</code>
6464

6565
## TargetOutputs
6666

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stainless-api/sdk",
3-
"version": "0.1.0-alpha.10",
3+
"version": "0.1.0-alpha.11",
44
"description": "The official TypeScript library for the Stainless API",
55
"author": "Stainless <>",
66
"types": "dist/index.d.ts",

packages/mcp-server/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ You can run the MCP Server directly via `npx`:
1111
```sh
1212
export STAINLESS_API_KEY="My API Key"
1313
export STAINLESS_PROJECT="example-project"
14-
export STAINLESS_ENVIRONMENT="production"
15-
npx -y @stainless-api/mcp@latest
14+
npx -y @stainless-api/sdk-mcp@latest
1615
```
1716

1817
### Via MCP Client
@@ -27,11 +26,10 @@ For clients with a configuration JSON, it might look something like this:
2726
"mcpServers": {
2827
"stainless_api_sdk_api": {
2928
"command": "npx",
30-
"args": ["-y", "@stainless-api/mcp", "--client=claude", "--tools=all"],
29+
"args": ["-y", "@stainless-api/sdk-mcp", "--client=claude", "--tools=all"],
3130
"env": {
3231
"STAINLESS_API_KEY": "My API Key",
33-
"STAINLESS_PROJECT": "example-project",
34-
"STAINLESS_ENVIRONMENT": "production"
32+
"STAINLESS_PROJECT": "example-project"
3533
}
3634
}
3735
}
@@ -134,10 +132,10 @@ over time, you can manually enable or disable certain capabilities:
134132

135133
```js
136134
// Import the server, generated endpoints, or the init function
137-
import { server, endpoints, init } from "@stainless-api/mcp/server";
135+
import { server, endpoints, init } from "@stainless-api/sdk-mcp/server";
138136

139137
// import a specific tool
140-
import createProjects from "@stainless-api/mcp/tools/projects/create-projects";
138+
import createProjects from "@stainless-api/sdk-mcp/tools/projects/create-projects";
141139

142140
// initialize the server and all endpoints
143141
init({ server, endpoints });
@@ -174,7 +172,7 @@ The following tools are available in this MCP server.
174172
- `create_projects` (`write`): Create a new project
175173
- `retrieve_projects` (`read`): Retrieve a project by name
176174
- `update_projects` (`write`): Update a project's properties
177-
- `list_projects` (`read`): List projects in an organization
175+
- `list_projects` (`read`): List projects in an organization, from oldest to newest
178176

179177
### Resource `projects.branches`:
180178

packages/mcp-server/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ cp tsconfig.dist-src.json dist/src/tsconfig.json
2929

3030
chmod +x dist/index.js
3131

32-
DIST_PATH=./dist PKG_IMPORT_PATH=@stainless-api/mcp/ node ../../scripts/utils/postprocess-files.cjs
32+
DIST_PATH=./dist PKG_IMPORT_PATH=@stainless-api/sdk-mcp/ node ../../scripts/utils/postprocess-files.cjs

packages/mcp-server/jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const config: JestConfigWithTsJest = {
77
'^.+\\.(t|j)sx?$': ['@swc/jest', { sourceMaps: 'inline' }],
88
},
99
moduleNameMapper: {
10-
'^@stainless-api/mcp$': '<rootDir>/src/index.ts',
11-
'^@stainless-api/mcp/(.*)$': '<rootDir>/src/$1',
10+
'^@stainless-api/sdk-mcp$': '<rootDir>/src/index.ts',
11+
'^@stainless-api/sdk-mcp/(.*)$': '<rootDir>/src/$1',
1212
},
1313
modulePathIgnorePatterns: ['<rootDir>/dist/'],
1414
testPathIgnorePatterns: ['scripts'],

packages/mcp-server/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@stainless-api/mcp",
3-
"version": "0.1.0-alpha.10",
2+
"name": "@stainless-api/sdk-mcp",
3+
"version": "0.1.0-alpha.11",
44
"description": "The official MCP Server for the Stainless API",
55
"author": "Stainless <>",
66
"types": "dist/index.d.ts",
@@ -54,8 +54,8 @@
5454
"typescript": "5.8.3"
5555
},
5656
"imports": {
57-
"@stainless-api/mcp": ".",
58-
"@stainless-api/mcp/*": "./src/*"
57+
"@stainless-api/sdk-mcp": ".",
58+
"@stainless-api/sdk-mcp/*": "./src/*"
5959
},
6060
"exports": {
6161
".": {

0 commit comments

Comments
 (0)