Skip to content

Commit ef79410

Browse files
feat(api): make filter optional for Spend Velocity Auth Rules
fix(api): rename WIRE_DRAWDOWN_REQUEST to WIRE_INBOUND_DRAWDOWN_REQUEST
1 parent 9468191 commit ef79410

39 files changed

+14
-5483
lines changed

.github/workflows/ci.yml

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

2929
- name: Bootstrap
3030
run: ./scripts/bootstrap
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set up Node
4747
uses: actions/setup-node@v4
4848
with:
49-
node-version: '22'
49+
node-version: '20'
5050

5151
- name: Bootstrap
5252
run: ./scripts/bootstrap
@@ -68,15 +68,6 @@ jobs:
6868
AUTH: ${{ steps.github-oidc.outputs.github_token }}
6969
SHA: ${{ github.sha }}
7070
run: ./scripts/utils/upload-artifact.sh
71-
72-
- name: Upload MCP Server tarball
73-
if: github.repository == 'stainless-sdks/lithic-typescript'
74-
env:
75-
URL: https://pkg.stainless.com/s?subpackage=mcp-server
76-
AUTH: ${{ steps.github-oidc.outputs.github_token }}
77-
SHA: ${{ github.sha }}
78-
BASE_PATH: packages/mcp-server
79-
run: ./scripts/utils/upload-artifact.sh
8071
test:
8172
timeout-minutes: 10
8273
name: test
@@ -88,14 +79,11 @@ jobs:
8879
- name: Set up Node
8980
uses: actions/setup-node@v4
9081
with:
91-
node-version: '22'
82+
node-version: '20'
9283

9384
- name: Bootstrap
9485
run: ./scripts/bootstrap
9586

96-
- name: Build
97-
run: ./scripts/build
98-
9987
- name: Run tests
10088
run: ./scripts/test
10189
examples:

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
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
117

128
release:
139
types: [published]
@@ -16,8 +12,6 @@ jobs:
1612
publish:
1713
name: publish
1814
runs-on: ubuntu-latest
19-
permissions:
20-
contents: write
2115

2216
steps:
2317
- uses: actions/checkout@v4
@@ -33,18 +27,6 @@ jobs:
3327
3428
- name: Publish to NPM
3529
run: |
36-
if [ -n "${{ github.event.inputs.path }}" ]; then
37-
PATHS_RELEASED='[\"${{ github.event.inputs.path }}\"]'
38-
else
39-
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
40-
fi
41-
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
30+
bash ./bin/publish-npm
4231
env:
4332
NPM_TOKEN: ${{ secrets.LITHIC_NPM_TOKEN || secrets.NPM_TOKEN }}
44-
45-
- name: Upload MCP Server DXT GitHub release asset
46-
run: |
47-
gh release upload ${{ github.event.release.tag_name }} \
48-
packages/mcp-server/lithic_api.mcpb
49-
env:
50-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

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

.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

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 176
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-4ecc06edca2cfad4eaf11573611e89823fda5f56370bac5cd02a498a6b277d09.yml
3-
openapi_spec_hash: 8f4a30bec4348cbde85b1e65bef9189a
4-
config_hash: 654d63a7fa4221244d9fcb292c5bd581
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c06c4d54858775fef1de57e33d471e997cb28fe0c925fd7b08ba45fdd335e938.yml
3+
openapi_spec_hash: 23745357b2171bcdfb5d30bfef1df48d
4+
config_hash: 9dddee5f7af579864599849cb28a0770

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ This library provides convenient access to the Lithic REST API from server-side
66

77
The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). The full API of this library can be found in [api.md](api.md).
88

9-
## MCP Server
10-
11-
Use the Lithic 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.
12-
13-
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=lithic-mcp&config=eyJuYW1lIjoibGl0aGljLW1jcCIsInRyYW5zcG9ydCI6InNzZSIsInVybCI6Imh0dHBzOi8vbGl0aGljLnN0bG1jcC5jb20vc3NlIn0)
14-
[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22lithic-mcp%22%2C%22type%22%3A%22sse%22%2C%22url%22%3A%22https%3A%2F%2Flithic.stlmcp.com%2Fsse%22%7D)
15-
16-
> Note: You may need to set environment variables in your MCP client.
17-
189
## Installation
1910

2011
```sh

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default tseslint.config(
3434
},
3535
},
3636
{
37-
files: ['tests/**', 'examples/**', 'packages/**'],
37+
files: ['tests/**', 'examples/**'],
3838
rules: {
3939
'no-restricted-imports': 'off',
4040
},

packages/mcp-server/.dockerignore

Lines changed: 0 additions & 66 deletions
This file was deleted.

packages/mcp-server/Dockerfile

Lines changed: 0 additions & 71 deletions
This file was deleted.

packages/mcp-server/README.md

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)