Skip to content

Commit b1f8d97

Browse files
authored
Revert "Next"
1 parent b0438d7 commit b1f8d97

Some content is hidden

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

72 files changed

+2379
-2290
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
lint:
1919
timeout-minutes: 10
2020
name: lint
21-
runs-on: ${{ github.repository == 'stainless-sdks/brand.dev-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
21+
runs-on: ${{ github.repository == 'stainless-sdks/context.dev-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2222
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
@@ -37,7 +37,7 @@ jobs:
3737
build:
3838
timeout-minutes: 5
3939
name: build
40-
runs-on: ${{ github.repository == 'stainless-sdks/brand.dev-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
40+
runs-on: ${{ github.repository == 'stainless-sdks/context.dev-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4141
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
@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: Get GitHub OIDC Token
6060
if: |-
61-
github.repository == 'stainless-sdks/brand.dev-typescript' &&
61+
github.repository == 'stainless-sdks/context.dev-typescript' &&
6262
!startsWith(github.ref, 'refs/heads/stl/')
6363
id: github-oidc
6464
uses: actions/github-script@v8
@@ -67,7 +67,7 @@ jobs:
6767

6868
- name: Upload tarball
6969
if: |-
70-
github.repository == 'stainless-sdks/brand.dev-typescript' &&
70+
github.repository == 'stainless-sdks/context.dev-typescript' &&
7171
!startsWith(github.ref, 'refs/heads/stl/')
7272
env:
7373
URL: https://pkg.stainless.com/s
@@ -77,7 +77,7 @@ jobs:
7777

7878
- name: Upload MCP Server tarball
7979
if: |-
80-
github.repository == 'stainless-sdks/brand.dev-typescript' &&
80+
github.repository == 'stainless-sdks/context.dev-typescript' &&
8181
!startsWith(github.ref, 'refs/heads/stl/')
8282
env:
8383
URL: https://pkg.stainless.com/s?subpackage=mcp-server
@@ -88,7 +88,7 @@ jobs:
8888
test:
8989
timeout-minutes: 10
9090
name: test
91-
runs-on: ${{ github.repository == 'stainless-sdks/brand.dev-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
91+
runs-on: ${{ github.repository == 'stainless-sdks/context.dev-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
9292
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
9393
steps:
9494
- uses: actions/checkout@v6

.github/workflows/publish-npm.yml

Lines changed: 4 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/context-dot-dev/deprecated-brand-typescript-sdk/actions/workflows/publish-npm.yml
3+
# You can run this workflow by navigating to https://www.github.com/context-dot-dev/typescript-sdk/actions/workflows/publish-npm.yml
44
name: Publish NPM
55
on:
66
workflow_dispatch:
@@ -18,7 +18,6 @@ jobs:
1818
runs-on: ubuntu-latest
1919
permissions:
2020
contents: write
21-
id-token: write
2221

2322
steps:
2423
- uses: actions/checkout@v6
@@ -40,10 +39,12 @@ jobs:
4039
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
4140
fi
4241
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
42+
env:
43+
NPM_TOKEN: ${{ secrets.CONTEXT_DEV_NPM_TOKEN || secrets.NPM_TOKEN }}
4344

4445
- name: Upload MCP Server DXT GitHub release asset
4546
run: |
4647
gh release upload ${{ github.event.release.tag_name }} \
47-
packages/mcp-server/brand_dev_api.mcpb
48+
packages/mcp-server/context_dev_api.mcpb
4849
env:
4950
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-doctor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ jobs:
99
release_doctor:
1010
name: release doctor
1111
runs-on: ubuntu-latest
12-
if: github.repository == 'context-dot-dev/deprecated-brand-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/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 }}
2022

.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/brand-dev%2Fbrand.dev-1cd00999a087b24743cf3a2849c9bd0ea1ed6b5a0dac3a8f0e26c6a58d26d6bf.yml
3-
openapi_spec_hash: f95a256f049293caa5abc0912939a9ff
4-
config_hash: b61862a39bc4559efa45482aa58899a1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-5fa88d5279ee91162b7b446f7612fd1e49b5c14e958aeef151e6e942af699286.yml
3+
openapi_spec_hash: b2746128fd1c16d64946e99b2b0137b9
4+
config_hash: 4cd3173ea1cce7183640aae49cfbb374

CHANGELOG.md

Lines changed: 16 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -681,154 +681,41 @@ Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/brand-dot
681681
* **client:** explicitly copy fetch in withOptions ([17dfeaf](https://github.com/brand-dot-dev/typescript-sdk/commit/17dfeaf08885c914a1ac4c0f24233c87e358f31e))
682682
* **client:** get fetchOptions type more reliably ([5b28587](https://github.com/brand-dot-dev/typescript-sdk/commit/5b285874706b67864bba4152887181c2bd380173))
683683

684+
Full Changelog: [v0.3.0...v0.3.1](https://github.com/context-dot-dev/typescript-sdk/compare/v0.3.0...v0.3.1)
684685

685686
### Chores
686687

687-
* **ci:** only run for pushes and fork pull requests ([63b08b8](https://github.com/brand-dot-dev/typescript-sdk/commit/63b08b8334584bddd085d1de493281967e57bd51))
688+
* sync repo ([0a626d0](https://github.com/context-dot-dev/typescript-sdk/commit/0a626d077271a137e22ae4af10cb476e1c51106c))
689+
* update SDK settings ([8df9c93](https://github.com/context-dot-dev/typescript-sdk/commit/8df9c93e45ceac008134e78f1d307694ecfd72e0))
688690

689-
## 0.1.0-alpha.10 (2025-06-19)
691+
## 0.3.0 (2026-03-18)
690692

691-
Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
693+
Full Changelog: [v0.2.0...v0.3.0](https://github.com/brand-dot-dev/context-typescript-sdk/compare/v0.2.0...v0.3.0)
692694

693695
### Features
694696

695-
* **api:** manual updates ([17e2f82](https://github.com/brand-dot-dev/typescript-sdk/commit/17e2f8259071877dfb71d51c107b23965bf01d35))
697+
* **api:** api update ([dc135a5](https://github.com/brand-dot-dev/context-typescript-sdk/commit/dc135a5c4a01de856d7ee19efa958af62ff4e132))
698+
* **api:** manual updates ([7cb981d](https://github.com/brand-dot-dev/context-typescript-sdk/commit/7cb981dbb19152fc272b33b119a7099410e48c50))
699+
* **api:** manual updates ([6f77533](https://github.com/brand-dot-dev/context-typescript-sdk/commit/6f77533b4bdf4ca48092d378f883d01f8142a779))
696700

697-
## 0.1.0-alpha.9 (2025-06-19)
701+
## 0.2.0 (2026-03-18)
698702

699-
Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
703+
Full Changelog: [v0.1.0...v0.2.0](https://github.com/brand-dot-dev/context-typescript-sdk/compare/v0.1.0...v0.2.0)
700704

701705
### Features
702706

703-
* **api:** manual updates ([f405c69](https://github.com/brand-dot-dev/typescript-sdk/commit/f405c69d49712539cb8623e9a5cc2b73431dd9dc))
704-
* **api:** manual updates ([437ffa2](https://github.com/brand-dot-dev/typescript-sdk/commit/437ffa2b5b4d650dafc0584ab45bafce9ccabc8e))
705-
* **client:** add support for endpoint-specific base URLs ([bd84840](https://github.com/brand-dot-dev/typescript-sdk/commit/bd848405ed7a7b7cf967dc9e9e068a3b04eb5bfd))
706-
* **mcp:** set X-Stainless-MCP header ([9f8bca8](https://github.com/brand-dot-dev/typescript-sdk/commit/9f8bca8ea75f6d11b15e3dfcbc9abeb4461257e2))
707-
708-
709-
### Bug Fixes
710-
711-
* publish script — handle NPM errors correctly ([ce784cd](https://github.com/brand-dot-dev/typescript-sdk/commit/ce784cdd350a285e46139075209405820d7624e1))
707+
* **api:** api update ([50c0ae4](https://github.com/brand-dot-dev/context-typescript-sdk/commit/50c0ae45d4f06facdbb47a61500eb64784eec547))
712708

713709

714710
### Chores
715711

716-
* **ci:** enable for pull requests ([623b5d6](https://github.com/brand-dot-dev/typescript-sdk/commit/623b5d6a5ea903ac4c2ed14841587318c3b62b75))
717-
* **client:** refactor imports ([d90fb77](https://github.com/brand-dot-dev/typescript-sdk/commit/d90fb773c0a32e7129041025cda6bf999d4750a0))
718-
* **internal:** add pure annotations, make base APIResource abstract ([d8a845c](https://github.com/brand-dot-dev/typescript-sdk/commit/d8a845cc477720993869fd020e4a65d9b49c5e1f))
719-
* **mcp:** provides high-level initMcpServer function and exports known clients ([cd28940](https://github.com/brand-dot-dev/typescript-sdk/commit/cd289406a6103a675b98405719a604b80c162f3c))
720-
* **readme:** update badges ([46380e0](https://github.com/brand-dot-dev/typescript-sdk/commit/46380e0141b9570f5e2c816c5ca90f74f781df69))
721-
* **readme:** use better example snippet for undocumented params ([56c698d](https://github.com/brand-dot-dev/typescript-sdk/commit/56c698d1f5b47609e2e3da90c18813c715bdbb84))
712+
* **internal:** support x-stainless-mcp-client-permissions headers in MCP servers ([4676c22](https://github.com/brand-dot-dev/context-typescript-sdk/commit/4676c2225c175647bcaaa336c45f770b5973dc52))
713+
* **internal:** tweak CI branches ([f9c3d86](https://github.com/brand-dot-dev/context-typescript-sdk/commit/f9c3d8651c90cbbb454cd8d8c22de1fcc1830704))
722714

723-
## 0.1.0-alpha.8 (2025-06-08)
715+
## 0.1.0 (2026-03-14)
724716

725-
Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.1.0-alpha.7...v0.1.0-alpha.8)
717+
Full Changelog: [v0.0.1...v0.1.0](https://github.com/brand-dot-dev/context-typescript-sdk/compare/v0.0.1...v0.1.0)
726718

727719
### Features
728720

729-
* **api:** manual updates ([bb954b6](https://github.com/brand-dot-dev/typescript-sdk/commit/bb954b60752ae7fe07f154657d56b006427ca4b5))
730-
731-
732-
### Chores
733-
734-
* avoid type error in certain environments ([0b97df8](https://github.com/brand-dot-dev/typescript-sdk/commit/0b97df8bf0798a7cb2d4f8d570f79dc9c599e3c7))
735-
736-
## 0.1.0-alpha.7 (2025-06-06)
737-
738-
Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.1.0-alpha.6...v0.1.0-alpha.7)
739-
740-
### Features
741-
742-
* **api:** manual updates ([d997f7b](https://github.com/brand-dot-dev/typescript-sdk/commit/d997f7b982051edb3e3a3eeb4dc6c57f7723c134))
743-
744-
## 0.1.0-alpha.6 (2025-06-06)
745-
746-
Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
747-
748-
### Features
749-
750-
* **api:** manual updates ([f9ef6a0](https://github.com/brand-dot-dev/typescript-sdk/commit/f9ef6a0bf6cb6426fec94f0abb5a6c8acc668141))
751-
752-
## 0.1.0-alpha.5 (2025-06-06)
753-
754-
Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
755-
756-
### Features
757-
758-
* **api:** manual updates ([e71b7eb](https://github.com/brand-dot-dev/typescript-sdk/commit/e71b7eb187e3acef2bc6fbf5b2beb0b47800245b))
759-
760-
## 0.1.0-alpha.4 (2025-06-06)
761-
762-
Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
763-
764-
### Features
765-
766-
* **api:** manual updates ([1cc75cd](https://github.com/brand-dot-dev/typescript-sdk/commit/1cc75cd9877da7b2280329cf4e53c7b73f067d46))
767-
* **mcp:** implement support for binary responses ([4d35e49](https://github.com/brand-dot-dev/typescript-sdk/commit/4d35e49621a740137fde22d0d50b570366697967))
768-
769-
770-
### Chores
771-
772-
* adjust eslint.config.mjs ignore pattern ([95468aa](https://github.com/brand-dot-dev/typescript-sdk/commit/95468aa42a24f2f9333d2cf240b8b604d30e4b75))
773-
* **docs:** use top-level-await in example snippets ([2376ef9](https://github.com/brand-dot-dev/typescript-sdk/commit/2376ef99f488b1b990d3adeaa783be774bd3bbdb))
774-
* **internal:** fix readablestream types in node 20 ([d753e24](https://github.com/brand-dot-dev/typescript-sdk/commit/d753e243856e1efa6d82e5a3ba5e395a6dfe3558))
775-
776-
## 0.1.0-alpha.3 (2025-06-02)
777-
778-
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
779-
780-
### Features
781-
782-
* **api:** manual updates ([dbd6df5](https://github.com/brand-dot-dev/typescript-sdk/commit/dbd6df5265d5e77ed900bffec20e42b7d9686302))
783-
784-
## 0.1.0-alpha.2 (2025-05-31)
785-
786-
Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
787-
788-
### Bug Fixes
789-
790-
* compat with more runtimes ([4595f13](https://github.com/brand-dot-dev/typescript-sdk/commit/4595f133be88a2d148b9267ccd4535eb9a558f51))
791-
792-
793-
### Chores
794-
795-
* **deps:** bump eslint-plugin-prettier ([4637721](https://github.com/brand-dot-dev/typescript-sdk/commit/4637721c6e8bb3feeaf727824ee1b2f67cd13204))
796-
* **internal:** update jest config ([261cd8e](https://github.com/brand-dot-dev/typescript-sdk/commit/261cd8e99fcb636154c5f8b669ccfcaa6d6ff6e9))
797-
798-
## 0.1.0-alpha.1 (2025-05-29)
799-
800-
Full Changelog: [v0.0.1-alpha.2...v0.1.0-alpha.1](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.0.1-alpha.2...v0.1.0-alpha.1)
801-
802-
### Features
803-
804-
* **mcp:** include http information in tools ([608a554](https://github.com/brand-dot-dev/typescript-sdk/commit/608a5549eba7d3775b4be77278e44eff460a56f3))
805-
806-
807-
### Bug Fixes
808-
809-
* **mcp:** fix cursor schema transformation issue with recursive references ([ab24ba0](https://github.com/brand-dot-dev/typescript-sdk/commit/ab24ba029cf26e71ac15da2a6dcdc55fb5c6bc20))
810-
* **mcp:** include description in dynamic tool search ([d698f91](https://github.com/brand-dot-dev/typescript-sdk/commit/d698f9173f905924424c82e0026b06fec3488572))
811-
812-
813-
### Chores
814-
815-
* improve publish-npm script --latest tag logic ([a096145](https://github.com/brand-dot-dev/typescript-sdk/commit/a0961454962591ee6e1f0179ad1abf335275235e))
816-
* **internal:** codegen related update ([0bdcf4b](https://github.com/brand-dot-dev/typescript-sdk/commit/0bdcf4b6aa36c58284b5afe76776711e1121b5b1))
817-
* **mcp:** remove duplicate assignment ([1984da9](https://github.com/brand-dot-dev/typescript-sdk/commit/1984da989afc8b54c8a81656a0c32f0a488eeb68))
818-
819-
## 0.0.1-alpha.2 (2025-05-21)
820-
821-
Full Changelog: [v0.0.1-alpha.1...v0.0.1-alpha.2](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.0.1-alpha.1...v0.0.1-alpha.2)
822-
823-
### Chores
824-
825-
* configure new SDK language ([fa4bf57](https://github.com/brand-dot-dev/typescript-sdk/commit/fa4bf57b52799969998afe320e24014cb078140c))
826-
827-
## 0.0.1-alpha.1 (2025-05-21)
828-
829-
Full Changelog: [v0.0.1-alpha.0...v0.0.1-alpha.1](https://github.com/brand-dot-dev/typescript-sdk/compare/v0.0.1-alpha.0...v0.0.1-alpha.1)
830-
831-
### Chores
832-
833-
* update SDK settings ([0ce8ece](https://github.com/brand-dot-dev/typescript-sdk/commit/0ce8ecedb16b548b04b8c09f1692249b944a1b37))
834-
* update SDK settings ([a090aec](https://github.com/brand-dot-dev/typescript-sdk/commit/a090aec93fa38eadb6a59c751447d2f164c45a6c))
721+
* **api:** manual updates ([b1780ab](https://github.com/brand-dot-dev/context-typescript-sdk/commit/b1780abcb9b87f3c940e7bff49651dfa6a78efa5))

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,25 @@ 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:context-dot-dev/deprecated-brand-typescript-sdk.git
45+
$ npm install git+ssh://git@github.com:context-dot-dev/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/context-dot-dev/deprecated-brand-typescript-sdk
53-
$ cd deprecated-brand-typescript-sdk
52+
$ git clone https://www.github.com/context-dot-dev/typescript-sdk
53+
$ cd typescript-sdk
5454

5555
# With yarn
5656
$ yarn link
5757
$ cd ../my-package
58-
$ yarn link brand.dev
58+
$ yarn link context.dev
5959

6060
# With pnpm
6161
$ pnpm link --global
6262
$ cd ../my-package
63-
$ pnpm link --global brand.dev
63+
$ pnpm link --global context.dev
6464
```
6565

6666
## Running tests
@@ -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/context-dot-dev/deprecated-brand-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/typescript-sdk/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up.
9797

9898
### Publish manually
9999

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2026 Brand Dev
189+
Copyright 2026 Context Dev
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)