Skip to content

Commit 47ce95e

Browse files
authored
Merge pull request #20 from sentdm/release-please--branches--main--changes--next--components--sentdm
release: 0.9.0
2 parents c0b4513 + 5ec0a69 commit 47ce95e

74 files changed

Lines changed: 4733 additions & 252 deletions

Some content is hidden

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

.dockerignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Dependencies
2+
node_modules/
3+
**/node_modules/
4+
5+
# Build outputs
6+
dist/
7+
**/dist/
8+
9+
# Git
10+
.git/
11+
.gitignore
12+
13+
# CI/CD
14+
.github/
15+
.gitlab-ci.yml
16+
.travis.yml
17+
18+
# IDE
19+
.vscode/
20+
.idea/
21+
*.swp
22+
*.swo
23+
*~
24+
25+
# OS
26+
.DS_Store
27+
Thumbs.db
28+
29+
# Testing
30+
test/
31+
tests/
32+
__tests__/
33+
*.test.js
34+
*.spec.js
35+
coverage/
36+
.nyc_output/
37+
38+
# Logs
39+
*.log
40+
npm-debug.log*
41+
yarn-debug.log*
42+
yarn-error.log*
43+
44+
# Environment
45+
.env
46+
.env.*
47+
48+
# Temporary files
49+
*.tmp
50+
*.temp
51+
.cache/
52+
53+
# Examples and scripts
54+
examples/
55+
bin/
56+
57+
# Other packages (we only need mcp-server)
58+
packages/*/
59+
!packages/mcp-server/

.github/workflows/ci.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
- name: Set up Node
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: '20'
27+
node-version: '22'
2828

2929
- name: Set up pnpm
3030
uses: pnpm/action-setup@v4
3131
with:
32-
version: '10.27.0'
32+
version: '10.30.1'
3333

3434
- name: Bootstrap
3535
run: ./scripts/bootstrap
@@ -51,12 +51,12 @@ jobs:
5151
- name: Set up Node
5252
uses: actions/setup-node@v4
5353
with:
54-
node-version: '20'
54+
node-version: '22'
5555

5656
- name: Set up pnpm
5757
uses: pnpm/action-setup@v4
5858
with:
59-
version: '10.27.0'
59+
version: '10.30.1'
6060

6161
- name: Bootstrap
6262
run: ./scripts/bootstrap
@@ -65,19 +65,34 @@ jobs:
6565
run: ./scripts/build
6666

6767
- name: Get GitHub OIDC Token
68-
if: github.repository == 'stainless-sdks/sent-dm-typescript'
68+
if: |-
69+
github.repository == 'stainless-sdks/sent-dm-typescript' &&
70+
!startsWith(github.ref, 'refs/heads/stl/')
6971
id: github-oidc
7072
uses: actions/github-script@v8
7173
with:
7274
script: core.setOutput('github_token', await core.getIDToken());
7375

7476
- name: Upload tarball
75-
if: github.repository == 'stainless-sdks/sent-dm-typescript'
77+
if: |-
78+
github.repository == 'stainless-sdks/sent-dm-typescript' &&
79+
!startsWith(github.ref, 'refs/heads/stl/')
7680
env:
7781
URL: https://pkg.stainless.com/s
7882
AUTH: ${{ steps.github-oidc.outputs.github_token }}
7983
SHA: ${{ github.sha }}
8084
run: ./scripts/utils/upload-artifact.sh
85+
86+
- name: Upload MCP Server tarball
87+
if: |-
88+
github.repository == 'stainless-sdks/sent-dm-typescript' &&
89+
!startsWith(github.ref, 'refs/heads/stl/')
90+
env:
91+
URL: https://pkg.stainless.com/s?subpackage=mcp-server
92+
AUTH: ${{ steps.github-oidc.outputs.github_token }}
93+
SHA: ${{ github.sha }}
94+
BASE_PATH: packages/mcp-server
95+
run: ./scripts/utils/upload-artifact.sh
8196
test:
8297
timeout-minutes: 10
8398
name: test
@@ -89,15 +104,18 @@ jobs:
89104
- name: Set up Node
90105
uses: actions/setup-node@v4
91106
with:
92-
node-version: '20'
107+
node-version: '22'
93108

94109
- name: Set up pnpm
95110
uses: pnpm/action-setup@v4
96111
with:
97-
version: '10.27.0'
112+
version: '10.30.1'
98113

99114
- name: Bootstrap
100115
run: ./scripts/bootstrap
101116

117+
- name: Build
118+
run: ./scripts/build
119+
102120
- name: Run tests
103121
run: ./scripts/test

.github/workflows/publish-npm.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
name: Publish NPM
55
on:
66
workflow_dispatch:
7+
inputs:
8+
path:
9+
description: The path to run the release in, e.g. '.' or 'packages/mcp-server'
10+
required: true
711

812
release:
913
types: [published]
@@ -13,7 +17,7 @@ jobs:
1317
name: publish
1418
runs-on: ubuntu-latest
1519
permissions:
16-
contents: read
20+
contents: write
1721
id-token: write
1822

1923
steps:
@@ -33,4 +37,16 @@ jobs:
3337
3438
- name: Publish to NPM
3539
run: |
36-
bash ./bin/publish-npm
40+
if [ -n "${{ github.event.inputs.path }}" ]; then
41+
PATHS_RELEASED='[\"${{ github.event.inputs.path }}\"]'
42+
else
43+
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
44+
fi
45+
pnpm tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
46+
47+
- name: Upload MCP Server DXT GitHub release asset
48+
run: |
49+
gh release upload ${{ github.event.release.tag_name }} \
50+
packages/mcp-server/sentdm_sentdm_api.mcpb
51+
env:
52+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ dist-deno
88
/*.tgz
99
.idea/
1010
.eslintcache
11-
11+
dist-bundle
12+
*.mcpb

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ CHANGELOG.md
44
/deno
55

66
# don't format tsc output, will break source maps
7-
/dist
7+
dist

.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.8.0"
2+
".": "0.9.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: 44
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-433bfd8c688a6b6d2d4f964bb59121d692798f4e2bb6cb47f6110c4f0e1f638d.yml
3-
openapi_spec_hash: 5378295d401c8c1152c1946cc7dbd69f
4-
config_hash: 43a0daa5b05d44a1620e3da0ea6f4fdc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-c1e54655c045f25bd08ecc70c87f938e429911c413c09957d83d3eb9eaab2372.yml
3+
openapi_spec_hash: 44b7f99e2660bde83eff178b9d4ec00c
4+
config_hash: d475a61f5b59375bf562f85f19b80409

CHANGELOG.md

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

3+
## 0.9.0 (2026-03-11)
4+
5+
Full Changelog: [v0.8.0...v0.9.0](https://github.com/sentdm/sent-dm-typescript/compare/v0.8.0...v0.9.0)
6+
7+
### Features
8+
9+
* **api:** api update ([14ad67f](https://github.com/sentdm/sent-dm-typescript/commit/14ad67f946a9ebb44229c588772cc41c821d5075))
10+
* **api:** api update ([a124e59](https://github.com/sentdm/sent-dm-typescript/commit/a124e591573537a534771e85415b7bc729269fb1))
11+
* **api:** api update ([4ea5ea5](https://github.com/sentdm/sent-dm-typescript/commit/4ea5ea51923d418980c4ead2f47e8403b30d44df))
12+
* **api:** api update ([d593916](https://github.com/sentdm/sent-dm-typescript/commit/d593916905bea20251d7d0f516cadfba72d58676))
13+
* **api:** api update ([e26adb5](https://github.com/sentdm/sent-dm-typescript/commit/e26adb5fc0afbcf4f3ecc61996d1a7ed2168617d))
14+
* **api:** api update ([df3f0cd](https://github.com/sentdm/sent-dm-typescript/commit/df3f0cdb77e18ad481f3aa772490d56cf144a64a))
15+
* **api:** api update ([0fe5e05](https://github.com/sentdm/sent-dm-typescript/commit/0fe5e05522bf32a41e83ec22bcc9c74f604d076e))
16+
* **api:** api update ([9b7140b](https://github.com/sentdm/sent-dm-typescript/commit/9b7140b3afa11e433f3bd8ccbb63259a852f413f))
17+
* **api:** api update ([6750b65](https://github.com/sentdm/sent-dm-typescript/commit/6750b65ad79bcb0723cfde1333aeeb275bdbbde8))
18+
* **api:** api update ([904c6db](https://github.com/sentdm/sent-dm-typescript/commit/904c6db65bfd54d0be716e61644c345898962cb3))
19+
* **api:** api update ([bcf6976](https://github.com/sentdm/sent-dm-typescript/commit/bcf6976de86cc1c93958cc64bdc070cfedccf4f1))
20+
* **api:** api update ([e34f2c0](https://github.com/sentdm/sent-dm-typescript/commit/e34f2c06bae1105a994ef30ddecc259c63484986))
21+
* **api:** api update ([920e6a5](https://github.com/sentdm/sent-dm-typescript/commit/920e6a54a211e972437b2b8a2980b6e27f62e313))
22+
* **api:** api update ([17df948](https://github.com/sentdm/sent-dm-typescript/commit/17df948c5df8120d086eb69d04b29626494aa7b8))
23+
* **mcp:** add an option to disable code tool ([120013f](https://github.com/sentdm/sent-dm-typescript/commit/120013f466279e750a6b0af92bb772088cc548be))
24+
25+
26+
### Bug Fixes
27+
28+
* **client:** preserve URL params already embedded in path ([d06a3dd](https://github.com/sentdm/sent-dm-typescript/commit/d06a3dd0e9d56286acfbcac35fee543e144611ea))
29+
* **mcp:** update prompt ([3143fa6](https://github.com/sentdm/sent-dm-typescript/commit/3143fa610c5a0e26ae4c9e245eb28d060a288874))
30+
31+
32+
### Chores
33+
34+
* **ci:** skip uploading artifacts on stainless-internal branches ([f7871a4](https://github.com/sentdm/sent-dm-typescript/commit/f7871a4c60fd943bca4a7a73d194a0dab98e9fe7))
35+
* **internal:** codegen related update ([d77d3a3](https://github.com/sentdm/sent-dm-typescript/commit/d77d3a3e4430d1ee9bf7d8d2a618a01bbda19cd0))
36+
* **internal:** codegen related update ([68a0b71](https://github.com/sentdm/sent-dm-typescript/commit/68a0b71ddb82f316837c7add8c648a7dc0180ed6))
37+
* **internal:** codegen related update ([0e8793c](https://github.com/sentdm/sent-dm-typescript/commit/0e8793cee686d5c022388283956523950d1e4e40))
38+
* **internal:** codegen related update ([7bbf075](https://github.com/sentdm/sent-dm-typescript/commit/7bbf07563948ff1945982942a84e034bf4492d5d))
39+
* **internal:** codegen related update ([3c5415b](https://github.com/sentdm/sent-dm-typescript/commit/3c5415baa6fedf31ee08917060bdac2e0da065e3))
40+
* **internal:** codegen related update ([10d4830](https://github.com/sentdm/sent-dm-typescript/commit/10d48301f2fc662118566554fa435fa286949909))
41+
* **internal:** codegen related update ([cdbde6f](https://github.com/sentdm/sent-dm-typescript/commit/cdbde6f9ae275bb614267effef7e6b1b750bfd7a))
42+
* **internal:** codegen related update ([d12b158](https://github.com/sentdm/sent-dm-typescript/commit/d12b1588c66c97db67ebe4453c090f2854c3b1e0))
43+
* **internal:** codegen related update ([4e1ba57](https://github.com/sentdm/sent-dm-typescript/commit/4e1ba57cbec3cf32ce04c485d545b616f8834d0b))
44+
* **internal:** codegen related update ([a8a21df](https://github.com/sentdm/sent-dm-typescript/commit/a8a21df35a84125c0ffa8ce2e58f12eb69c5fb28))
45+
* **internal:** codegen related update ([9891015](https://github.com/sentdm/sent-dm-typescript/commit/98910153af8fb73576500d6baeda52ffa3c7c130))
46+
* **internal:** codegen related update ([f7f87e9](https://github.com/sentdm/sent-dm-typescript/commit/f7f87e9be5432fe695893b7b5743b7c9ef2fd847))
47+
* **internal:** codegen related update ([6019d24](https://github.com/sentdm/sent-dm-typescript/commit/6019d242d4606ebd2af97e573373859018605af8))
48+
* **internal:** codegen related update ([2fb0f6e](https://github.com/sentdm/sent-dm-typescript/commit/2fb0f6e955fb38684be7dfd6a0a35fecd250a58b))
49+
* **internal:** codegen related update ([eec9d8c](https://github.com/sentdm/sent-dm-typescript/commit/eec9d8ce556750de69b1219b51b0c2abf2ddcab9))
50+
* **internal:** codegen related update ([b78f90b](https://github.com/sentdm/sent-dm-typescript/commit/b78f90b29f6ee53a60c8f0f04ff56d2b6cad8b62))
51+
* **internal:** codegen related update ([62bb43a](https://github.com/sentdm/sent-dm-typescript/commit/62bb43a8cdc56d3ffde3b0f0956d9d15e0cb9f6e))
52+
* **internal:** codegen related update ([57db8bd](https://github.com/sentdm/sent-dm-typescript/commit/57db8bd09ea4fe553c7205f54033d7906ceb9b06))
53+
* **internal:** codegen related update ([4809458](https://github.com/sentdm/sent-dm-typescript/commit/480945876f28d91ae64d29d873f22b6842427214))
54+
* **internal:** codegen related update ([6bc3047](https://github.com/sentdm/sent-dm-typescript/commit/6bc304740f9d1aa64379e50a50565944698e3f2d))
55+
* **internal:** codegen related update ([6a5d8fe](https://github.com/sentdm/sent-dm-typescript/commit/6a5d8feac2c4de91c4a10fc42dff41a7903bae9e))
56+
* **internal:** codegen related update ([f085de1](https://github.com/sentdm/sent-dm-typescript/commit/f085de140d71af9798ebb0c4f419fdfaea467421))
57+
* **internal:** fix MCP Dockerfiles so they can be built without buildkit ([1f9a560](https://github.com/sentdm/sent-dm-typescript/commit/1f9a560ea6cb47a91f6d120c289f6405c7a39e2a))
58+
* **internal:** fix MCP Dockerfiles so they can be built without buildkit ([00c1562](https://github.com/sentdm/sent-dm-typescript/commit/00c156226476460526105ecc60da00c4026a6f68))
59+
* **internal:** move stringifyQuery implementation to internal function ([8222503](https://github.com/sentdm/sent-dm-typescript/commit/82225030eb43318f4e364c5dfddf0dce656980cb))
60+
* **internal:** update dependencies to address dependabot vulnerabilities ([9d2a513](https://github.com/sentdm/sent-dm-typescript/commit/9d2a5139c26f42e5a71396b0a225fc9fcdc3e73a))
61+
* **internal:** use x-stainless-mcp-client-envs header for MCP remote code tool calls ([2bf2d10](https://github.com/sentdm/sent-dm-typescript/commit/2bf2d100c358c4288c108fc21f2d1f30b8e847aa))
62+
* **mcp-server:** improve instructions ([b56b908](https://github.com/sentdm/sent-dm-typescript/commit/b56b90826d7f0a8ddfe39dcf2909619840473318))
63+
* **mcp-server:** return access instructions for 404 without API key ([56b399f](https://github.com/sentdm/sent-dm-typescript/commit/56b399f8b8a1fa1c253ee56991a283179c574036))
64+
365
## 0.8.0 (2026-02-18)
466

567
Full Changelog: [v0.7.2...v0.8.0](https://github.com/sentdm/sent-dm-typescript/compare/v0.7.2...v0.8.0)

CONTRIBUTING.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,11 @@ $ yarn link @sentdm/sentdm
6060
# With pnpm
6161
$ pnpm link --global
6262
$ cd ../my-package
63-
$ pnpm link -global @sentdm/sentdm
63+
$ pnpm link --global @sentdm/sentdm
6464
```
6565

6666
## Running tests
6767

68-
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
69-
70-
```sh
71-
$ npx prism mock path/to/your/openapi.yml
72-
```
73-
7468
```sh
7569
$ pnpm run test
7670
```

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm).
88

99
It is generated with [Stainless](https://www.stainless.com/).
1010

11+
## MCP Server
12+
13+
Use the Sent Dm MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
14+
15+
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40sentdm%2Fs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xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40sentdm%2Fsentdm-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40sentdm%2Fsentdm-mcp%22%5D%2C%22env%22%3A%7B%22SENT_DM_API_KEY%22%3A%22My%20API%20Key%22%7D%7D)
17+
18+
> Note: You may need to set environment variables in your MCP client.
19+
1120
## Installation
1221

1322
```sh

0 commit comments

Comments
 (0)