Skip to content

Commit c9d7471

Browse files
authored
Merge pull request #4 from context-dot-dev/release-please--branches--main--changes--next--components--context.dev
release: 0.4.0
2 parents 6d0baed + 1671c01 commit c9d7471

File tree

18 files changed

+72
-42
lines changed

18 files changed

+72
-42
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
timeout-minutes: 10
2020
name: lint
2121
runs-on: ${{ github.repository == 'stainless-sdks/context.dev-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
22-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
22+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2323
steps:
2424
- uses: actions/checkout@v6
2525

@@ -38,7 +38,7 @@ jobs:
3838
timeout-minutes: 5
3939
name: build
4040
runs-on: ${{ github.repository == 'stainless-sdks/context.dev-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
41-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
41+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
4242
permissions:
4343
contents: read
4444
id-token: write

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow is triggered when a GitHub release is created.
22
# It can also be run manually to re-publish to NPM in case it failed for some reason.
3-
# You can run this workflow by navigating to https://www.github.com/brand-dot-dev/context-typescript-sdk/actions/workflows/publish-npm.yml
3+
# You can run this workflow by navigating to https://www.github.com/context-dot-dev/context-typescript-sdk/actions/workflows/publish-npm.yml
44
name: Publish NPM
55
on:
66
workflow_dispatch:
@@ -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
@@ -39,8 +40,6 @@ jobs:
3940
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
4041
fi
4142
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
42-
env:
43-
NPM_TOKEN: ${{ secrets.CONTEXT_DEV_NPM_TOKEN || secrets.NPM_TOKEN }}
4443
4544
- name: Upload MCP Server DXT GitHub release asset
4645
run: |

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ jobs:
99
release_doctor:
1010
name: release doctor
1111
runs-on: ubuntu-latest
12-
if: github.repository == 'brand-dot-dev/context-typescript-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
12+
if: github.repository == 'context-dot-dev/context-typescript-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
1515
- uses: actions/checkout@v6
1616

1717
- name: Check release environment
1818
run: |
1919
bash ./bin/check-release-environment
20-
env:
21-
NPM_TOKEN: ${{ secrets.CONTEXT_DEV_NPM_TOKEN || secrets.NPM_TOKEN }}
2220

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.prism.log
2+
.stdy.log
23
node_modules
34
yarn-error.log
45
codegen.log

.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.3.0"
2+
".": "0.4.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 20
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-c2e94e0c758b1aaba120c2a4231842fff0a120acc471fe24c7a81221e13a0482.yml
3-
openapi_spec_hash: aabc231b46b1ca3375882f96c378c665
4-
config_hash: ab5135cc119f83ae2821f9445ed99d16
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-3a8af8deb24e840300df2b1a74edfb075287af9f38e6d343960ba75fce00ab68.yml
3+
openapi_spec_hash: acc99bb843c5c7d630bc2a80b1b97444
4+
config_hash: 80cc0bee9b5635f8cd6ec09e92226d88

CHANGELOG.md

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

3+
## 0.4.0 (2026-03-25)
4+
5+
Full Changelog: [v0.3.1...v0.4.0](https://github.com/context-dot-dev/context-typescript-sdk/compare/v0.3.1...v0.4.0)
6+
7+
### Features
8+
9+
* **api:** api update ([dc135a5](https://github.com/context-dot-dev/context-typescript-sdk/commit/dc135a5c4a01de856d7ee19efa958af62ff4e132))
10+
* **api:** api update ([50c0ae4](https://github.com/context-dot-dev/context-typescript-sdk/commit/50c0ae45d4f06facdbb47a61500eb64784eec547))
11+
* **api:** manual updates ([7cb981d](https://github.com/context-dot-dev/context-typescript-sdk/commit/7cb981dbb19152fc272b33b119a7099410e48c50))
12+
* **api:** manual updates ([6f77533](https://github.com/context-dot-dev/context-typescript-sdk/commit/6f77533b4bdf4ca48092d378f883d01f8142a779))
13+
* **api:** manual updates ([b1780ab](https://github.com/context-dot-dev/context-typescript-sdk/commit/b1780abcb9b87f3c940e7bff49651dfa6a78efa5))
14+
15+
16+
### Chores
17+
18+
* **internal:** support x-stainless-mcp-client-permissions headers in MCP servers ([4676c22](https://github.com/context-dot-dev/context-typescript-sdk/commit/4676c2225c175647bcaaa336c45f770b5973dc52))
19+
* **internal:** tweak CI branches ([f9c3d86](https://github.com/context-dot-dev/context-typescript-sdk/commit/f9c3d8651c90cbbb454cd8d8c22de1fcc1830704))
20+
* sync repo ([19ef94c](https://github.com/context-dot-dev/context-typescript-sdk/commit/19ef94cb1c75159e8dead8d21fa38a360d127be9))
21+
* update SDK settings ([bacb300](https://github.com/context-dot-dev/context-typescript-sdk/commit/bacb30007ccdb47aed126e558100d5ab5e5043f3))
22+
23+
## 0.3.1 (2026-03-25)
24+
25+
Full Changelog: [v0.3.0...v0.3.1](https://github.com/context-dot-dev/typescript-sdk/compare/v0.3.0...v0.3.1)
26+
27+
### Chores
28+
29+
* sync repo ([0a626d0](https://github.com/context-dot-dev/typescript-sdk/commit/0a626d077271a137e22ae4af10cb476e1c51106c))
30+
* update SDK settings ([8df9c93](https://github.com/context-dot-dev/typescript-sdk/commit/8df9c93e45ceac008134e78f1d307694ecfd72e0))
31+
332
## 0.3.0 (2026-03-18)
433

534
Full Changelog: [v0.2.0...v0.3.0](https://github.com/brand-dot-dev/context-typescript-sdk/compare/v0.2.0...v0.3.0)

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ If you’d like to use the repository from source, you can either install from g
4242
To install via git:
4343

4444
```sh
45-
$ npm install git+ssh://git@github.com:brand-dot-dev/context-typescript-sdk.git
45+
$ npm install git+ssh://git@github.com:context-dot-dev/context-typescript-sdk.git
4646
```
4747

4848
Alternatively, to link a local copy of the repo:
4949

5050
```sh
5151
# Clone
52-
$ git clone https://www.github.com/brand-dot-dev/context-typescript-sdk
52+
$ git clone https://www.github.com/context-dot-dev/context-typescript-sdk
5353
$ cd context-typescript-sdk
5454

5555
# With yarn
@@ -93,7 +93,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
9393

9494
### Publish with a GitHub workflow
9595

96-
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/brand-dot-dev/context-typescript-sdk/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up.
96+
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/context-dot-dev/context-typescript-sdk/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up.
9797

9898
### Publish manually
9999

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
344344

345345
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
346346

347-
We are keen for your feedback; please open an [issue](https://www.github.com/brand-dot-dev/context-typescript-sdk/issues) with questions, bugs, or suggestions.
347+
We are keen for your feedback; please open an [issue](https://www.github.com/context-dot-dev/context-typescript-sdk/issues) with questions, bugs, or suggestions.
348348

349349
## Requirements
350350

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
lenErrors=${#errors[@]}
106

117
if [[ lenErrors -gt 0 ]]; then

0 commit comments

Comments
 (0)