File tree Expand file tree Collapse file tree 11 files changed +27
-16
lines changed
Expand file tree Collapse file tree 11 files changed +27
-16
lines changed 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.CAS_PARSER_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 1717 - name : Check release environment
1818 run : |
1919 bash ./bin/check-release-environment
20- env :
21- NPM_TOKEN : ${{ secrets.CAS_PARSER_NPM_TOKEN || secrets.NPM_TOKEN }}
2220
Original file line number Diff line number Diff line change 11{
2- "." : " 1.7.0 "
2+ "." : " 1.7.1 "
33}
Original file line number Diff line number Diff line change 11configured_endpoints : 17
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser%2Fcas-parser-56b0f699c5437d9e5326626d35dfc972c17d01f12cb416c7f4854c8ea6d0e95e.yml
33openapi_spec_hash : 158f405c1880706266d83e6ff16b9d2f
4- config_hash : ab495a165f0919b37cbf9efbd0f0e6ef
4+ config_hash : 41c337f5cda03b13880617490f82bad0
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 1.7.1 (2026-02-14)
4+
5+ Full Changelog: [ v1.7.0...v1.7.1] ( https://github.com/CASParser/cas-parser-node/compare/v1.7.0...v1.7.1 )
6+
7+ ### Chores
8+
9+ * update SDK settings ([ 23b293e] ( https://github.com/CASParser/cas-parser-node/commit/23b293e0c90438e9460d17e8c5ff6946b7c9fa6c ) )
10+ * update SDK settings ([ 02786ba] ( https://github.com/CASParser/cas-parser-node/commit/02786ba97ae061d050df6c5037335c3125813d30 ) )
11+ * update SDK settings ([ 0c860c9] ( https://github.com/CASParser/cas-parser-node/commit/0c860c9d7f0251a8d2a0bb179304912a5ec2423f ) )
12+
313## 1.7.0 (2026-02-14)
414
515Full Changelog: [ v1.6.2...v1.7.0] ( https://github.com/CASParser/cas-parser-node/compare/v1.6.2...v1.7.0 )
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-
95lenErrors=${# errors[@]}
106
117if [[ lenErrors -gt 0 ]]; then
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" : " cas-parser-node" ,
3- "version" : " 1.7.0 " ,
3+ "version" : " 1.7.1 " ,
44 "description" : " The official TypeScript library for the Cas Parser API" ,
55 "author" : " Cas Parser <sameer@casparser.in>" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " cas-parser-node-mcp" ,
3- "version" : " 1.7.0 " ,
3+ "version" : " 1.7.1 " ,
44 "description" : " The official MCP Server for the Cas Parser API" ,
55 "author" : " Cas Parser <sameer@casparser.in>" ,
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 : 'cas_parser_node_api' ,
59- version : '1.7.0 ' ,
59+ version : '1.7.1 ' ,
6060 } ,
6161 {
6262 instructions : await getInstructions ( ) ,
You can’t perform that action at this time.
0 commit comments