Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.9.0"
".": "2.10.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: 38
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-155e4761d62255841349c0f8a01b0a9c463ea1d1f2d6c4fd8d1a75c8bef6f226.yml
openapi_spec_hash: ab91f77e7c9d992400cbc7fc8a9e76c1
config_hash: bff282047fafdad771fb7ec685f56944
configured_endpoints: 40
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-a0dda03bbb600917cfb9add468cc4c8c84351a8dbbf61644dbc353263ca1748f.yml
openapi_spec_hash: c24264f32a46d9317aac5af9d6a396f7
config_hash: 920678668dd2da6f8966fbf1b8fde4e2
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 2.10.0 (2026-08-07)

Full Changelog: [v2.9.0...v2.10.0](https://github.com/context-dot-dev/context-typescript-sdk/compare/v2.9.0...v2.10.0)

### Features

* **api:** api update ([2ccf412](https://github.com/context-dot-dev/context-typescript-sdk/commit/2ccf412ff26bf695c25e1b1202a42c7f4ab6421f))
* **api:** api update ([3baa8e2](https://github.com/context-dot-dev/context-typescript-sdk/commit/3baa8e25511876ecf0648928ef55787b94c7fffd))
* **api:** api update ([86ef735](https://github.com/context-dot-dev/context-typescript-sdk/commit/86ef735d675b348ebbbed6aa391162b450a4cc27))
* **api:** api update ([21cab16](https://github.com/context-dot-dev/context-typescript-sdk/commit/21cab16a097d178c4eeae4494121a3ff916af5fd))
* **api:** api update ([8189242](https://github.com/context-dot-dev/context-typescript-sdk/commit/81892426571cb9676d8b8e04e2c2f2e9fc0b5b3a))
* **api:** api update ([7d20482](https://github.com/context-dot-dev/context-typescript-sdk/commit/7d20482b2067563e536e5afd6d0e020a46f2daf4))
* **api:** api update ([38a76ed](https://github.com/context-dot-dev/context-typescript-sdk/commit/38a76ed4ba43440692353175b92e2047a0b4ab73))
* **api:** manual updates ([4a208a8](https://github.com/context-dot-dev/context-typescript-sdk/commit/4a208a8eb3f3903cc5a9b0d68857775f24f0c6c1))

## 2.9.0 (2026-08-05)

Full Changelog: [v2.8.0...v2.9.0](https://github.com/context-dot-dev/context-typescript-sdk/compare/v2.8.0...v2.9.0)
Expand Down
14 changes: 13 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ Types:
- <code><a href="./src/resources/batch.ts">Intake</a></code>
- <code><a href="./src/resources/batch.ts">BatchRetrieveResponse</a></code>
- <code><a href="./src/resources/batch.ts">BatchListResponse</a></code>
- <code><a href="./src/resources/batch.ts">BatchDeleteResponse</a></code>
- <code><a href="./src/resources/batch.ts">BatchCancelResponse</a></code>
- <code><a href="./src/resources/batch.ts">BatchGetResultsResponse</a></code>
- <code><a href="./src/resources/batch.ts">BatchSubmitResponse</a></code>
Expand All @@ -139,6 +140,17 @@ Methods:

- <code title="get /batch/{batch_id}">client.batch.<a href="./src/resources/batch.ts">retrieve</a>(batchID) -> BatchRetrieveResponse</code>
- <code title="get /batch/list">client.batch.<a href="./src/resources/batch.ts">list</a>({ ...params }) -> BatchListResponse</code>
- <code title="delete /batch/{batch_id}">client.batch.<a href="./src/resources/batch.ts">delete</a>(batchID) -> BatchDeleteResponse</code>
- <code title="post /batch/{batch_id}/cancel">client.batch.<a href="./src/resources/batch.ts">cancel</a>(batchID) -> BatchCancelResponse</code>
- <code title="get /batch/{batch_id}/results">client.batch.<a href="./src/resources/batch.ts">getResults</a>(batchID, { ...params }) -> BatchGetResultsResponse</code>
- <code title="post /people/retrieve">client.batch.<a href="./src/resources/batch.ts">submit</a>({ ...params }) -> BatchSubmitResponse</code>
- <code title="post /batch/submit">client.batch.<a href="./src/resources/batch.ts">submit</a>({ ...params }) -> BatchSubmitResponse</code>

# People

Types:

- <code><a href="./src/resources/people.ts">PersonEnrichResponse</a></code>

Methods:

- <code title="post /people/enrich">client.people.<a href="./src/resources/people.ts">enrich</a>({ ...params }) -> PersonEnrichResponse</code>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "context.dev",
"version": "2.9.0",
"version": "2.10.0",
"description": "The official TypeScript library for the Context Dev API",
"author": "Context Dev <hello@context.dev>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dxt_version": "0.2",
"name": "context.dev-mcp",
"version": "2.9.0",
"version": "2.10.0",
"description": "The official MCP Server for the Context Dev API",
"author": {
"name": "Context Dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "context.dev-mcp",
"version": "2.9.0",
"version": "2.10.0",
"description": "The official MCP Server for the Context Dev API",
"author": "Context Dev <hello@context.dev>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions packages/mcp-server/src/code-tool-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,12 @@ const fuse = new Fuse(
'client.monitors.run',
'client.monitors.update',
'client.batch.cancel',
'client.batch.delete',
'client.batch.getResults',
'client.batch.list',
'client.batch.retrieve',
'client.batch.submit',
'client.people.enrich',
],
{ threshold: 1, shouldSort: true },
);
Expand Down
181 changes: 149 additions & 32 deletions packages/mcp-server/src/local-docs-search.ts

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion packages/mcp-server/src/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ export const sdkMethods: SdkMethod[] = [
httpMethod: 'get',
httpPath: '/batch/list',
},
{
clientCallName: 'client.batch.delete',
fullyQualifiedName: 'batch.delete',
httpMethod: 'delete',
httpPath: '/batch/{batch_id}',
},
{
clientCallName: 'client.batch.cancel',
fullyQualifiedName: 'batch.cancel',
Expand All @@ -236,7 +242,13 @@ export const sdkMethods: SdkMethod[] = [
clientCallName: 'client.batch.submit',
fullyQualifiedName: 'batch.submit',
httpMethod: 'post',
httpPath: '/people/retrieve',
httpPath: '/batch/submit',
},
{
clientCallName: 'client.people.enrich',
fullyQualifiedName: 'people.enrich',
httpMethod: 'post',
httpPath: '/people/enrich',
},
];

Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const newMcpServer = async ({
new McpServer(
{
name: 'context_dev_api',
version: '2.9.0',
version: '2.10.0',
},
{
instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }),
Expand Down
14 changes: 14 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
import {
Batch,
BatchCancelResponse,
BatchDeleteResponse,
BatchGetResultsParams,
BatchGetResultsResponse,
BatchListParams,
Expand Down Expand Up @@ -81,6 +82,7 @@ import {
WebhookDelivery,
} from './resources/monitors';
import { Parse, ParseHandleParams, ParseHandleResponse } from './resources/parse';
import { People, PersonEnrichParams, PersonEnrichResponse } from './resources/people';
import { Utility, UtilityPrefetchParams, UtilityPrefetchResponse } from './resources/utility';
import {
Web,
Expand Down Expand Up @@ -834,7 +836,11 @@ export class ContextDev {
* Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
*/
monitors: API.Monitors = new API.Monitors(this);
/**
* Scrape many pages or crawl a site asynchronously.
*/
batch: API.Batch = new API.Batch(this);
people: API.People = new API.People(this);
}

ContextDev.Parse = Parse;
Expand All @@ -845,6 +851,7 @@ ContextDev.Industry = Industry;
ContextDev.Utility = Utility;
ContextDev.Monitors = Monitors;
ContextDev.Batch = Batch;
ContextDev.People = People;

export declare namespace ContextDev {
export type RequestOptions = Opts.RequestOptions;
Expand Down Expand Up @@ -947,11 +954,18 @@ export declare namespace ContextDev {
type Intake as Intake,
type BatchRetrieveResponse as BatchRetrieveResponse,
type BatchListResponse as BatchListResponse,
type BatchDeleteResponse as BatchDeleteResponse,
type BatchCancelResponse as BatchCancelResponse,
type BatchGetResultsResponse as BatchGetResultsResponse,
type BatchSubmitResponse as BatchSubmitResponse,
type BatchListParams as BatchListParams,
type BatchGetResultsParams as BatchGetResultsParams,
type BatchSubmitParams as BatchSubmitParams,
};

export {
People as People,
type PersonEnrichResponse as PersonEnrichResponse,
type PersonEnrichParams as PersonEnrichParams,
};
}
Loading
Loading