Skip to content

Commit bffd4be

Browse files
authored
Merge pull request #26 from stainless-api/release-please--branches--main--changes--next--components--sdk
release: 0.1.0-alpha.24
2 parents 0fa60f8 + 85667fb commit bffd4be

File tree

11 files changed

+25
-15
lines changed

11 files changed

+25
-15
lines changed

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
permissions:
2020
contents: write
21+
id-token: write
2122

2223
steps:
2324
- uses: actions/checkout@v6
@@ -42,8 +43,6 @@ jobs:
4243
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
4344
fi
4445
pnpm tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
45-
env:
46-
NPM_TOKEN: ${{ secrets.STAINLESS_NPM_TOKEN || secrets.NPM_TOKEN }}
4746
4847
- name: Upload MCP Server DXT GitHub release asset
4948
run: |

.github/workflows/release-doctor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ jobs:
1818
run: |
1919
bash ./bin/check-release-environment
2020
env:
21-
NPM_TOKEN: ${{ secrets.STAINLESS_NPM_TOKEN || secrets.NPM_TOKEN }}
2221
DOCKERHUB_TOKEN: ${{ secrets.STAINLESS_DOCKERHUB_TOKEN || secrets.DOCKERHUB_TOKEN }}
2322

.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.23"
2+
".": "0.1.0-alpha.24"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-acfed4185515b0f9bfdb9b080df219b3bea1069daeb722d589564aa7d8eb32e6.yml
33
openapi_spec_hash: 0fb1197c07e1f354f33d96c384e3ca3b
4-
config_hash: 3e46d270da9f524c0dee35db0bcf76df
4+
config_hash: eea7be44f19f72b6b9ae93f47dd63f79

CHANGELOG.md

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

3+
## 0.1.0-alpha.24 (2026-02-17)
4+
5+
Full Changelog: [v0.1.0-alpha.23...v0.1.0-alpha.24](https://github.com/stainless-api/stainless-api-typescript/compare/v0.1.0-alpha.23...v0.1.0-alpha.24)
6+
7+
### Chores
8+
9+
* update SDK settings ([0e3c189](https://github.com/stainless-api/stainless-api-typescript/commit/0e3c189fa08b2c2861075f7ed9b6ac4f3c525979))
10+
311
## 0.1.0-alpha.23 (2026-02-17)
412

513
Full Changelog: [v0.1.0-alpha.22...v0.1.0-alpha.23](https://github.com/stainless-api/stainless-api-typescript/compare/v0.1.0-alpha.22...v0.1.0-alpha.23)

bin/check-release-environment

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
errors=()
44

5-
if [ -z "${NPM_TOKEN}" ]; then
6-
errors+=("The NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
7-
fi
8-
95
if [ -z "${DOCKERHUB_TOKEN}" ]; then
106
errors+=("The DOCKERHUB_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
117
fi

bin/publish-npm

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
set -eux
44

5-
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
5+
if [[ ${NPM_TOKEN:-} ]]; then
6+
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
7+
elif [[ ! ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:-} ]]; then
8+
echo "ERROR: NPM_TOKEN must be set if not running in a Github Action with id-token permission"
9+
exit 1
10+
fi
611

712
pnpm build
813
cd dist
@@ -57,5 +62,8 @@ else
5762
TAG="latest"
5863
fi
5964

65+
# Install OIDC compatible npm version
66+
npm install --prefix ../oidc/ [email protected]
67+
6068
# Publish with the appropriate tag
61-
pnpm publish --no-git-checks --tag "$TAG"
69+
pnpm publish --npm-path "$(cd ../ && pwd)/oidc/node_modules/.bin/npm" --no-git-checks --tag "$TAG"

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.23",
3+
"version": "0.1.0-alpha.24",
44
"description": "The official TypeScript library for the Stainless API",
55
"author": "Stainless <[email protected]>",
66
"types": "dist/index.d.ts",

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": "@stainless-api/sdk-mcp",
3-
"version": "0.1.0-alpha.23",
3+
"version": "0.1.0-alpha.24",
44
"description": "The official MCP Server for the Stainless API",
55
"author": "Stainless <[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
@@ -56,7 +56,7 @@ export const newMcpServer = async () =>
5656
new McpServer(
5757
{
5858
name: 'stainless_api_sdk_api',
59-
version: '0.1.0-alpha.23',
59+
version: '0.1.0-alpha.24',
6060
},
6161
{
6262
instructions: await getInstructions(),

0 commit comments

Comments
 (0)