Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
7944dbc
chore: update SDK settings
stainless-app[bot] Jul 9, 2025
296405d
chore: update SDK settings
stainless-app[bot] Jul 9, 2025
c6848aa
codegen metadata
stainless-app[bot] Jul 9, 2025
03dca37
chore: make some internal functions async
stainless-app[bot] Jul 10, 2025
f4996f0
feat(mcp): support filtering tool results by a jq expression
stainless-app[bot] Jul 11, 2025
0fc1bad
fix(mcp): relax input type for asTextContextResult
stainless-app[bot] Jul 11, 2025
180be3d
fix(mcp): support jq filtering on cloudflare workers
stainless-app[bot] Jul 16, 2025
9d6e556
chore(mcp): rework imports in tools
stainless-app[bot] Jul 16, 2025
cae3b82
chore(ts): reorder package.json imports
stainless-app[bot] Jul 17, 2025
96e93b3
chore(mcp): formatting
stainless-app[bot] Jul 17, 2025
e9ffc0e
fix(mcp): include required section for top-level properties and suppo…
stainless-app[bot] Jul 18, 2025
2bb87b2
feat(api): api update
stainless-app[bot] Jul 22, 2025
394b044
chore(internal): codegen related update
stainless-app[bot] Jul 24, 2025
00033c0
chore(internal): remove redundant imports config
stainless-app[bot] Jul 30, 2025
bd146b5
fix(mcp): reverse validJson capability option and limit scope
stainless-app[bot] Aug 1, 2025
1f865ce
fix(mcp): avoid sending `jq_filter` to base API
stainless-app[bot] Aug 1, 2025
845ad08
feat(mcp): add logging when environment variable is set
stainless-app[bot] Aug 2, 2025
08c8116
feat(mcp): remote server with passthru auth
stainless-app[bot] Aug 5, 2025
b5d9c06
chore(internal): move publish config
stainless-app[bot] Aug 7, 2025
5667ecd
chore(mcp): refactor streamable http transport
stainless-app[bot] Aug 7, 2025
9b0fb4c
feat(mcp): add unix socket option for remote MCP
stainless-app[bot] Aug 7, 2025
8010fd8
chore: update @stainless-api/prism-cli to v5.15.0
stainless-app[bot] Aug 9, 2025
23b9927
chore(internal): update comment in script
stainless-app[bot] Aug 9, 2025
26017f0
chore(internal): codegen related update
stainless-app[bot] Aug 12, 2025
e8a0802
chore(mcp): minor cleanup of types and package.json
stainless-app[bot] Aug 14, 2025
03fd93c
chore(mcp): document remote server in README.md
stainless-app[bot] Aug 15, 2025
f1f23d5
chore(deps): update dependency @types/node to v20.17.58
stainless-app[bot] Aug 16, 2025
5c2b02c
chore(mcp): update README
stainless-app[bot] Aug 16, 2025
15c4306
chore(internal): formatting change
stainless-app[bot] Aug 16, 2025
913561f
feat(mcp): parse query string as mcp client options in mcp server
stainless-app[bot] Aug 19, 2025
e721304
chore(internal): refactor array check
stainless-app[bot] Aug 19, 2025
2810aab
chore(mcp): add cors to oauth metadata route
stainless-app[bot] Aug 20, 2025
1269066
feat(mcp): add code execution tool
stainless-app[bot] Aug 20, 2025
4ea87da
chore(internal): make mcp-server publishing public by defaut
stainless-app[bot] Aug 21, 2025
1aa1c09
feat(mcp): add option to infer mcp client
stainless-app[bot] Aug 21, 2025
e99397d
chore(mcp): update package.json
stainless-app[bot] Aug 22, 2025
5be8de2
chore(mcp): update types
stainless-app[bot] Aug 22, 2025
0f2b02d
chore: add package to package.json
stainless-app[bot] Aug 22, 2025
4eb7b49
chore(internal): codegen related update
stainless-app[bot] Aug 22, 2025
bca52b4
chore(client): qualify global Blob
stainless-app[bot] Aug 22, 2025
c045122
chore: update CI script
stainless-app[bot] Aug 23, 2025
c9154b5
chore(internal): codegen related update
stainless-app[bot] Aug 24, 2025
b34cc40
feat(api): manual updates
stainless-app[bot] Aug 24, 2025
b9ee214
chore: configure new SDK language
stainless-app[bot] Aug 24, 2025
f2029a0
chore(internal): update global Error reference
stainless-app[bot] Aug 29, 2025
9b6b5ee
feat(mcp): expose client options in `streamableHTTPApp`
stainless-app[bot] Sep 3, 2025
a10002e
chore(internal): codegen related update
stainless-app[bot] Sep 3, 2025
1a551d1
feat(mcp): allow setting logging level
stainless-app[bot] Sep 3, 2025
e17398f
feat(api): api update
stainless-app[bot] Sep 5, 2025
ef25521
chore(internal): codegen related update
stainless-app[bot] Sep 5, 2025
c24a150
chore: ci build action
stainless-app[bot] Sep 6, 2025
98aac60
chore(internal): codegen related update
stainless-app[bot] Sep 6, 2025
6700d42
feat(api): api update
stainless-app[bot] Oct 23, 2025
7477c2d
feat(api): api update
stainless-app[bot] Oct 28, 2025
16d3d7b
chore(internal): codegen related update
stainless-app[bot] Oct 31, 2025
4077f6d
chore(internal): codegen related update
stainless-app[bot] Nov 4, 2025
a880b1a
chore(internal): codegen related update
stainless-app[bot] Nov 5, 2025
c51b535
chore(internal): codegen related update
stainless-app[bot] Nov 6, 2025
cb1b2de
chore(internal): codegen related update
stainless-app[bot] Nov 7, 2025
4737470
chore(internal): codegen related update
stainless-app[bot] Nov 8, 2025
198914f
chore(internal): codegen related update
stainless-app[bot] Nov 11, 2025
d467235
feat(api): api update
stainless-app[bot] Nov 11, 2025
b346b4a
chore(internal): codegen related update
stainless-app[bot] Nov 13, 2025
f141204
chore(internal): codegen related update
stainless-app[bot] Nov 26, 2025
e54e04f
chore(internal): codegen related update
stainless-app[bot] Dec 2, 2025
3c63419
chore(internal): codegen related update
stainless-app[bot] Dec 3, 2025
6cfc7a2
chore(internal): codegen related update
stainless-app[bot] Dec 5, 2025
0051b46
chore(internal): codegen related update
stainless-app[bot] Dec 6, 2025
8bd9741
chore(internal): codegen related update
stainless-app[bot] Dec 11, 2025
1757c43
feat(api): api update
stainless-app[bot] Jan 16, 2026
dabc9a7
feat(api): api update
stainless-app[bot] Jan 28, 2026
7677185
chore(mcp): up tsconfig lib version to es2022
stainless-app[bot] Jan 29, 2026
94390bc
chore(internal): codegen related update
stainless-app[bot] Jan 31, 2026
82117a6
chore(internal): codegen related update
stainless-app[bot] Feb 3, 2026
e78d81d
codegen metadata
stainless-app[bot] Feb 4, 2026
e0d836a
chore(internal): codegen related update
stainless-app[bot] Feb 5, 2026
d01b7ab
chore(internal): codegen related update
stainless-app[bot] Feb 6, 2026
df35c3f
feat(api): api update
stainless-app[bot] Feb 7, 2026
e3d038e
chore(internal): codegen related update
stainless-app[bot] Feb 10, 2026
7247d7b
chore(internal): codegen related update
stainless-app[bot] Feb 11, 2026
f51ff81
chore(internal): codegen related update
stainless-app[bot] Feb 12, 2026
9bb2822
chore(internal): codegen related update
stainless-app[bot] Feb 14, 2026
40f63e2
chore(internal): codegen related update
stainless-app[bot] Feb 18, 2026
ba5a41e
chore(internal): codegen related update
stainless-app[bot] Feb 19, 2026
23c1441
feat(api): api update
stainless-app[bot] Feb 19, 2026
3631698
chore(mcp): correctly update version in sync with sdk
stainless-app[bot] Feb 20, 2026
ff22357
feat(api): api update
stainless-app[bot] Feb 23, 2026
b7ed22d
chore(internal): upgrade @modelcontextprotocol/sdk and hono
stainless-app[bot] Feb 24, 2026
de56d4a
chore(internal): make MCP code execution location configurable via a …
stainless-app[bot] Feb 25, 2026
29a6f08
chore(internal): fix MCP Dockerfiles so they can be built without bui…
stainless-app[bot] Feb 26, 2026
f15f82d
chore(internal): fix MCP Dockerfiles so they can be built without bui…
stainless-app[bot] Feb 26, 2026
522fc90
chore(internal): codegen related update
stainless-app[bot] Feb 27, 2026
37d999e
chore(internal): codegen related update
stainless-app[bot] Mar 4, 2026
be604b5
chore(internal): codegen related update
stainless-app[bot] Mar 5, 2026
64360c0
chore(internal): codegen related update
stainless-app[bot] Mar 7, 2026
b0f7b26
chore(internal): codegen related update
stainless-app[bot] Mar 8, 2026
7e137eb
chore(internal): codegen related update
stainless-app[bot] Mar 10, 2026
440ae15
chore(internal): codegen related update
stainless-app[bot] Mar 12, 2026
9a160cf
feat(api): api update
stainless-app[bot] Mar 12, 2026
94258ad
chore(internal): codegen related update
stainless-app[bot] Mar 14, 2026
d1bdeb7
chore(internal): codegen related update
stainless-app[bot] Mar 17, 2026
d60812e
feat(api): api update
stainless-app[bot] Mar 17, 2026
dd8e619
feat(api): api update
stainless-app[bot] Mar 20, 2026
5b04161
chore(internal): codegen related update
stainless-app[bot] Mar 24, 2026
4b5a662
chore(internal): codegen related update
stainless-app[bot] Mar 25, 2026
1456ba6
chore(internal): codegen related update
stainless-app[bot] Mar 27, 2026
b749c77
chore(internal): codegen related update
stainless-app[bot] Mar 28, 2026
5062a2c
chore(internal): codegen related update
stainless-app[bot] Mar 31, 2026
e76d478
chore(internal): codegen related update
stainless-app[bot] Apr 1, 2026
0811822
chore(internal): codegen related update
stainless-app[bot] Apr 2, 2026
a964764
chore(internal): codegen related update
stainless-app[bot] Apr 3, 2026
3b62b6d
feat(api): api update
stainless-app[bot] Apr 3, 2026
f8e55dc
chore(internal): codegen related update
stainless-app[bot] Apr 7, 2026
ac3f8d4
chore(mcp-server): increase local docs search result count from 5 to 10
stainless-app[bot] Apr 9, 2026
3731058
chore(internal): codegen related update
stainless-app[bot] Apr 9, 2026
e9f78b1
chore(internal): codegen related update
stainless-app[bot] Apr 10, 2026
46f241e
chore(internal): codegen related update
stainless-app[bot] Apr 11, 2026
ac5e463
chore(internal): codegen related update
stainless-app[bot] Apr 12, 2026
69cd92b
feat(api): api update
stainless-app[bot] Apr 15, 2026
a435a45
chore(internal): codegen related update
stainless-app[bot] Apr 23, 2026
14bac3e
chore(internal): codegen related update
stainless-app[bot] Apr 28, 2026
77ae117
chore(internal): codegen related update
stainless-app[bot] Apr 29, 2026
52de4bb
chore(internal): codegen related update
stainless-app[bot] Apr 30, 2026
cdc226a
codegen metadata
stainless-app[bot] May 1, 2026
f7d0710
chore(internal): codegen related update
stainless-app[bot] May 5, 2026
516b897
chore(internal): codegen related update
stainless-app[bot] May 6, 2026
d48674e
chore(internal): codegen related update
stainless-app[bot] May 8, 2026
6f0df5b
feat(api): api update
stainless-app[bot] May 8, 2026
fec1f3c
feat(api): api update
stainless-app[bot] May 8, 2026
d49d7e5
chore(internal): codegen related update
stainless-app[bot] May 13, 2026
005dc9e
chore(internal): codegen related update
stainless-app[bot] May 19, 2026
42a0b38
feat(api): api update
stainless-app[bot] May 19, 2026
5c36448
feat(api): api update
stainless-app[bot] May 20, 2026
0c269da
feat(api): api update
stainless-app[bot] May 20, 2026
8592006
fix: treat text/plan with format: binary as raw upload
stainless-app[bot] May 26, 2026
5c4f119
chore(internal): codegen related update
stainless-app[bot] May 29, 2026
2d6cec6
fix(client): send content-type header for requests with an omitted op…
stainless-app[bot] Jun 17, 2026
1c3f870
release: 2.0.0
stainless-app[bot] Jun 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Dependencies
node_modules/
**/node_modules/

# Build outputs
dist/
**/dist/

# Git
.git/
.gitignore

# CI/CD
.github/
.gitlab-ci.yml
.travis.yml

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

# Testing
test/
tests/
__tests__/
*.test.js
*.spec.js
coverage/
.nyc_output/

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment
.env
.env.*

# Temporary files
*.tmp
*.temp
.cache/

# Examples and scripts
examples/
bin/

# Other packages (we only need mcp-server)
packages/*/
!packages/mcp-server/
55 changes: 36 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
Expand All @@ -17,14 +19,14 @@ jobs:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/beagle-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'
node-version: '22'

- name: Bootstrap
run: ./scripts/bootstrap
Expand All @@ -36,17 +38,17 @@ jobs:
timeout-minutes: 5
name: build
runs-on: ${{ github.repository == 'stainless-sdks/beagle-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'
node-version: '22'

- name: Bootstrap
run: ./scripts/bootstrap
Expand All @@ -55,29 +57,44 @@ jobs:
run: ./scripts/build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/beagle-typescript'
if: |-
github.repository == 'stainless-sdks/beagle-typescript' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v6
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/beagle-typescript'
if: |-
github.repository == 'stainless-sdks/beagle-typescript' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
SHA: ${{ github.sha }}
run: ./scripts/utils/upload-artifact.sh

- name: Upload MCP Server tarball
if: |-
github.repository == 'stainless-sdks/beagle-typescript' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s?subpackage=mcp-server
AUTH: ${{ steps.github-oidc.outputs.github_token }}
SHA: ${{ github.sha }}
BASE_PATH: packages/mcp-server
run: ./scripts/utils/upload-artifact.sh
test:
timeout-minutes: 10
name: test
runs-on: ${{ github.repository == 'stainless-sdks/beagle-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'

Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# This workflow is triggered when a GitHub release is created.
# It can also be run manually to re-publish to NPM in case it failed for some reason.
# You can run this workflow by navigating to https://www.github.com/corgi-tech/beagle-sdks/actions/workflows/publish-npm.yml
name: Publish NPM
on:
workflow_dispatch:
inputs:
path:
description: The path to run the release in, e.g. '.' or 'packages/mcp-server'
required: true

release:
types: [published]

jobs:
publish:
name: publish
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: '20'

- name: Install dependencies
run: |
yarn install

- name: Publish to NPM
run: |
if [ -n "$INPUT_PATH" ]; then
PATHS_RELEASED="[\"$INPUT_PATH\"]"
else
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
fi
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
env:
INPUT_PATH: ${{ github.event.inputs.path }}
NPM_TOKEN: ${{ secrets.BEAGLE_NPM_TOKEN || secrets.NPM_TOKEN }}

- name: Upload MCP Server DXT GitHub release asset
run: |
gh release upload ${{ github.event.release.tag_name }} \
packages/mcp-server/corgi_tech_beagle_api.mcpb
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release Doctor
on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'corgi-tech/beagle-sdks' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Check release environment
run: |
bash ./bin/check-release-environment
env:
NPM_TOKEN: ${{ secrets.BEAGLE_NPM_TOKEN || secrets.NPM_TOKEN }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.prism.log
.stdy.log
node_modules
yarn-error.log
codegen.log
Expand All @@ -7,4 +8,6 @@ dist
dist-deno
/*.tgz
.idea/

.eslintcache
dist-bundle
*.mcpb
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CHANGELOG.md
/ecosystem-tests/*/**
/node_modules
/deno
/packages/mcp-server/manifest.json

# don't format tsc output, will break source maps
dist
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "2.0.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/corgi%2Fbeagle-908d2651f3ed6cddeba543bca341006e4bd15ff2f1bb1fd4442b896d7c66c547.yml
openapi_spec_hash: 33e9e4dc59e701afb846264d6fa1915e
config_hash: 4309531b38d4521cda66ab537f120fd5
configured_endpoints: 18
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/corgi/beagle-561a4b9ddd891c8254be3d774ba13871197ce79b11e00ad692e591f991290fc3.yml
openapi_spec_hash: 9a6cedbb9cea871f5d9c5634cf3f5f2a
config_hash: a50e91a2233ab4faad057e676e3cfe49
Loading
Loading