Skip to content

Commit 5a416e4

Browse files
authored
Merge pull request #45 from isaacus-dev/release-please--branches--main--changes--next--components--isaacus
release: 0.8.0
2 parents 0276202 + 3b2d379 commit 5a416e4

File tree

33 files changed

+6204
-181
lines changed

33 files changed

+6204
-181
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
name: CI
22
on:
33
push:
4-
branches:
5-
- main
6-
pull_request:
7-
branches:
8-
- main
9-
- next
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
1010

1111
jobs:
1212
lint:
13+
timeout-minutes: 10
1314
name: lint
14-
runs-on: ubuntu-latest
15+
runs-on: ${{ github.repository == 'stainless-sdks/isaacus-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
1516
steps:
1617
- uses: actions/checkout@v4
1718

@@ -27,8 +28,9 @@ jobs:
2728
run: ./scripts/lint
2829

2930
build:
31+
timeout-minutes: 5
3032
name: build
31-
runs-on: ubuntu-latest
33+
runs-on: ${{ github.repository == 'stainless-sdks/isaacus-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3234
permissions:
3335
contents: read
3436
id-token: write
@@ -44,7 +46,7 @@ jobs:
4446
run: ./scripts/bootstrap
4547

4648
- name: Check build
47-
run: ./scripts/build
49+
run: ./scripts/build-all
4850

4951
- name: Get GitHub OIDC Token
5052
if: github.repository == 'stainless-sdks/isaacus-typescript'
@@ -61,8 +63,9 @@ jobs:
6163
SHA: ${{ github.sha }}
6264
run: ./scripts/utils/upload-artifact.sh
6365
test:
66+
timeout-minutes: 10
6467
name: test
65-
runs-on: ubuntu-latest
68+
runs-on: ${{ github.repository == 'stainless-sdks/isaacus-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
6669
steps:
6770
- uses: actions/checkout@v4
6871

.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.7.0"
2+
".": "0.8.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 2
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-f1ac3a46ba560544c348931204998163a9c5e35c40d6096f4b078e38c2714756.yml
3-
openapi_spec_hash: c9ba9f53c0dabdb703461d772020952f
4-
config_hash: 1d15d860383a3f6da1ac388297687cc9
1+
configured_endpoints: 3
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-bc0272bf0a53ec37ca25f4a8b76bca4b90cf33c5f41816edf460daa642a5a84a.yml
3+
openapi_spec_hash: 79f28fedf89e1b719f464c064847a630
4+
config_hash: bfe30148ec88e8bbbf4a348a9fdfc00a

CHANGELOG.md

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

3+
## 0.8.0 (2025-04-30)
4+
5+
Full Changelog: [v0.7.0...v0.8.0](https://github.com/isaacus-dev/isaacus-typescript/compare/v0.7.0...v0.8.0)
6+
7+
### Features
8+
9+
* more gracefully handle $refs and work around schema limitations ([9f4e65c](https://github.com/isaacus-dev/isaacus-typescript/commit/9f4e65cf5e6d35239ba3fea7beaa73e25492c13c))
10+
11+
12+
### Chores
13+
14+
* **ci:** add timeout thresholds for CI jobs ([61c6004](https://github.com/isaacus-dev/isaacus-typescript/commit/61c600488944a696c6a5895c0f95d78f9c5738b6))
15+
* **ci:** only use depot for staging repos ([afd5100](https://github.com/isaacus-dev/isaacus-typescript/commit/afd51000ca1f48413b7cd79ef2f3f63a831b8f89))
16+
* **internal:** codegen related update ([bc21b09](https://github.com/isaacus-dev/isaacus-typescript/commit/bc21b09f139eadebd6e6fa1aa724cd116483e41b))
17+
* **internal:** refactor utils ([777d66c](https://github.com/isaacus-dev/isaacus-typescript/commit/777d66c9dbd6ee13c20ef62c165a44c96f6aa7ca))
18+
* **perf:** faster base64 decoding ([893c735](https://github.com/isaacus-dev/isaacus-typescript/commit/893c73501b1aef055e1a079a4e0ac8b474b1c46a))
19+
320
## 0.7.0 (2025-04-19)
421

522
Full Changelog: [v0.6.0...v0.7.0](https://github.com/isaacus-dev/isaacus-typescript/compare/v0.6.0...v0.7.0)

api.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,15 @@ Types:
1919
Methods:
2020

2121
- <code title="post /rerankings">client.rerankings.<a href="./src/resources/rerankings.ts">create</a>({ ...params }) -> Reranking</code>
22+
23+
# Extractions
24+
25+
## Qa
26+
27+
Types:
28+
29+
- <code><a href="./src/resources/extractions/qa.ts">AnswerExtraction</a></code>
30+
31+
Methods:
32+
33+
- <code title="post /extractions/qa">client.extractions.qa.<a href="./src/resources/extractions/qa.ts">create</a>({ ...params }) -> AnswerExtraction</code>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "isaacus",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "The official TypeScript library for the Isaacus API",
55
"author": "Isaacus <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/README.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For clients with a configuration JSON, it might look something like this:
2525
"mcpServers": {
2626
"isaacus_api": {
2727
"command": "npx",
28-
"args": ["-y", "isaacus-mcp"],
28+
"args": ["-y", "isaacus-mcp", "--client=claude"],
2929
"env": {
3030
"ISAACUS_API_KEY": "My API Key"
3131
}
@@ -52,6 +52,58 @@ All of these command-line options can be repeated, combined together, and have c
5252

5353
Use `--list` to see the list of available tools, or see below.
5454

55+
### Specifying the MCP Client
56+
57+
Different clients have varying abilities to handle arbitrary tools and schemas.
58+
59+
You can specify the client you are using with the `--client` argument, and the MCP server will automatically
60+
serve tools and schemas that are more compatible with that client.
61+
62+
- `--client=<type>`: Set all capabilities based on a known MCP client
63+
64+
- Valid values: `openai-agents`, `claude`, `claude-code`, `cursor`
65+
- Example: `--client=cursor`
66+
67+
Additionally, if you have a client not on the above list, or the client has gotten better
68+
over time, you can manually enable or disable certain capabilities:
69+
70+
- `--capability=<name>`: Specify individual client capabilities
71+
- Available capabilities:
72+
- `top-level-unions`: Enable support for top-level unions in tool schemas
73+
- `valid-json`: Enable JSON string parsing for arguments
74+
- `refs`: Enable support for $ref pointers in schemas
75+
- `unions`: Enable support for union types (anyOf) in schemas
76+
- `formats`: Enable support for format validations in schemas (e.g. date-time, email)
77+
- `tool-name-length=N`: Set maximum tool name length to N characters
78+
- Example: `--capability=top-level-unions --capability=tool-name-length=40`
79+
- Example: `--capability=top-level-unions,tool-name-length=40`
80+
81+
### Examples
82+
83+
1. Filter for read operations on cards:
84+
85+
```bash
86+
--resource=cards --operation=read
87+
```
88+
89+
2. Exclude specific tools while including others:
90+
91+
```bash
92+
--resource=cards --no-tool=create_cards
93+
```
94+
95+
3. Configure for Cursor client with custom max tool name length:
96+
97+
```bash
98+
--client=cursor --capability=tool-name-length=40
99+
```
100+
101+
4. Complex filtering with multiple criteria:
102+
103+
```bash
104+
--resource=cards,accounts --operation=read --tag=kyc --no-tool=create_cards
105+
```
106+
55107
## Importing the tools and server individually
56108

57109
```js
@@ -98,3 +150,7 @@ The following tools are available in this MCP server.
98150
### Resource `rerankings`:
99151

100152
- `create_rerankings` (`write`): Rerank legal documents by their relevance to a query with an Isaacus legal AI reranker.
153+
154+
### Resource `extractions.qa`:
155+
156+
- `create_extractions_qa` (`write`): Extract answers to questions from legal documents with an Isaacus legal AI answer extractor.

packages/mcp-server/package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
{
22
"name": "isaacus-mcp",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "The official MCP Server for the Isaacus API",
55
"author": "Isaacus <[email protected]>",
66
"types": "dist/index.d.ts",
77
"main": "dist/index.js",
88
"type": "commonjs",
9-
"repository": "github:isaacus-dev/isaacus-typescript",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/isaacus-dev/isaacus-typescript.git",
12+
"directory": "packages/mcp-server"
13+
},
14+
"homepage": "https://github.com/isaacus-dev/isaacus-typescript/tree/main/packages/mcp-server#readme",
1015
"license": "Apache-2.0",
1116
"packageManager": "[email protected]",
1217
"private": false,
@@ -24,7 +29,8 @@
2429
"dependencies": {
2530
"isaacus": "file:../../dist/",
2631
"@modelcontextprotocol/sdk": "^1.6.1",
27-
"yargs": "^17.7.2"
32+
"yargs": "^17.7.2",
33+
"ajv": "^8.17.1"
2834
},
2935
"bin": {
3036
"mcp-server": "dist/index.js"

0 commit comments

Comments
 (0)