Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d6d221b
chore: sync repo
stainless-app[bot] Sep 25, 2025
18778c3
chore: update SDK settings
stainless-app[bot] Sep 25, 2025
0f63a87
perf: faster formatting
stainless-app[bot] Sep 26, 2025
2dc6c24
chore(internal): remove deprecated `compilerOptions.baseUrl` from tsc…
stainless-app[bot] Sep 26, 2025
38dfa5d
chore(internal): fix incremental formatting in some cases
stainless-app[bot] Sep 27, 2025
7203f41
chore(mcp): allow pointing `docs_search` tool at other URLs
stainless-app[bot] Sep 27, 2025
f84ecdf
chore(internal): codegen related update
stainless-app[bot] Sep 27, 2025
a3a91d5
chore(internal): ignore .eslintcache
stainless-app[bot] Sep 27, 2025
ede6ca2
fix(mcp): fix cli argument parsing logic
stainless-app[bot] Sep 30, 2025
b15b8ce
fix(mcp): resolve a linting issue in server code
stainless-app[bot] Sep 30, 2025
8fe064e
chore: update lockfile
stainless-app[bot] Sep 30, 2025
4c240a6
chore(internal): remove .eslintcache
stainless-app[bot] Oct 4, 2025
30fcefa
chore(jsdoc): fix @link annotations to refer only to parts of the pac…
stainless-app[bot] Oct 4, 2025
9053cb7
chore(internal): use npm pack for build uploads
stainless-app[bot] Oct 7, 2025
c401b96
chore: extract some types in mcp docs
stainless-app[bot] Oct 9, 2025
b0b95f5
fix(mcpb): pin @anthropic-ai/mcpb version
stainless-app[bot] Oct 31, 2025
6f50c26
chore(internal): grammar fix (it's -> its)
stainless-app[bot] Nov 4, 2025
aadf506
chore: use structured error when code execution tool errors
stainless-app[bot] Nov 4, 2025
e1ee122
chore: mcp code tool explicit error message when missing a run function
stainless-app[bot] Nov 5, 2025
b64c4e9
feat(mcp): enable optional code execution tool on http mcp servers
stainless-app[bot] Nov 5, 2025
eb5b0fb
chore(mcp): add friendlier MCP code tool errors on incorrect method i…
stainless-app[bot] Nov 6, 2025
338b1a5
chore(mcp): add line numbers to code tool errors
stainless-app[bot] Nov 6, 2025
ce47236
chore(internal): codegen related update
stainless-app[bot] Nov 6, 2025
497d3bf
chore(internal): codegen related update
stainless-app[bot] Nov 8, 2025
b2ab851
chore(mcp): clarify http auth error
stainless-app[bot] Nov 11, 2025
fec4eb2
fix(mcp): return tool execution error on jq failure
stainless-app[bot] Nov 13, 2025
b4b3ebc
chore(mcp): upgrade jq-web
stainless-app[bot] Nov 13, 2025
b9a0a71
release: 0.1.0-alpha.1
stainless-app[bot] Nov 24, 2025
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
15 changes: 15 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "Development",
"image": "mcr.microsoft.com/devcontainers/typescript-node:latest",
"features": {
"ghcr.io/devcontainers/features/node:1": {}
},
"postCreateCommand": "yarn install",
"customizations": {
"vscode": {
"extensions": ["esbenp.prettier-vscode"]
}
}
}
100 changes: 100 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/terminal49-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Bootstrap
run: ./scripts/bootstrap

- name: Check types
run: ./scripts/lint

build:
timeout-minutes: 5
name: build
runs-on: ${{ github.repository == 'stainless-sdks/terminal49-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Bootstrap
run: ./scripts/bootstrap

- name: Check build
run: ./scripts/build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/terminal49-typescript'
id: github-oidc
uses: actions/github-script@v6
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/terminal49-typescript'
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/terminal49-typescript'
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/terminal49-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Bootstrap
run: ./scripts/bootstrap

- name: Build
run: ./scripts/build

- name: Run tests
run: ./scripts/test
55 changes: 0 additions & 55 deletions .github/workflows/deploy_postman.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/generate_postman.yml

This file was deleted.

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 == 'Terminal49/API' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4

- name: Check release environment
run: |
bash ./bin/check-release-environment
env:

13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
.DS_Store
.prism.log
node_modules
yarn-error.log
codegen.log
Brewfile.lock.json
dist
dist-deno
/*.tgz
.idea/
.eslintcache
dist-bundle
*.mcpb
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CHANGELOG.md
/ecosystem-tests/*/**
/node_modules
/deno

# don't format tsc output, will break source maps
dist
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"arrowParens": "always",
"experimentalTernaries": true,
"printWidth": 110,
"singleQuote": true,
"trailingComma": "all"
}
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.1.0-alpha.1"
}
2 changes: 0 additions & 2 deletions .spectral.mjs

This file was deleted.

4 changes: 4 additions & 0 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
configured_endpoints: 34
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/terminal49%2Fterminal49-820338a73a1804825b27092740425a7f325ad0562781df54962355da1c1cc8de.yml
openapi_spec_hash: bad862a83aebd8c2a1fde66d03ffd30b
config_hash: 33ba32a88a9802d4c63096b29ab75ad9
23 changes: 0 additions & 23 deletions .stoplight.json

This file was deleted.

4 changes: 0 additions & 4 deletions .stoplight/.spectral.yml_original

This file was deleted.

Loading