File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919 permissions :
2020 contents : write
21+ id-token : write
2122
2223 steps :
2324 - uses : actions/checkout@v6
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 : |
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11{
2- "." : " 0.1.0-alpha.23 "
2+ "." : " 0.1.0-alpha.24 "
33}
Original file line number Diff line number Diff line change 11configured_endpoints : 21
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-acfed4185515b0f9bfdb9b080df219b3bea1069daeb722d589564aa7d8eb32e6.yml
33openapi_spec_hash : 0fb1197c07e1f354f33d96c384e3ca3b
4- config_hash : 3e46d270da9f524c0dee35db0bcf76df
4+ config_hash : eea7be44f19f72b6b9ae93f47dd63f79
Original file line number Diff line number Diff line change 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
513Full 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 )
Original file line number Diff line number Diff line change 22
33errors=()
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-
95if [ -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" )
117fi
Original file line number Diff line number Diff line change 22
33set -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
712pnpm build
813cd dist
5762 TAG=" latest"
5863fi
5964
65+ # Install OIDC compatible npm version
66+ npm install --prefix ../oidc/ npm@11.6.2
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 "
Original file line number Diff line number Diff line change 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 <support@stainless.com>" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change 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 <support@stainless.com>" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff 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 ( ) ,
You can’t perform that action at this time.
0 commit comments