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.1.0"
".": "2.2.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 29
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-7dbd739a81e6aaf7fc7ef1858606e7d572d309af55082a66431d9292e655e66f.yml
openapi_spec_hash: a6374d5d718a7bd9d3d54fb657e2bd9d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-51ebe668b198157ccb18984017dd2fe35f7675220e8b933b03325b3c459ef2a6.yml
openapi_spec_hash: b3ed94bd6b59d4e32fc2c5aa8187d6b2
config_hash: ff35e224e809656528c44163aa41bebd
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 2.2.0 (2026-07-08)

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

### Features

* **api:** api update ([c71ac97](https://github.com/context-dot-dev/context-typescript-sdk/commit/c71ac97e5477184b2bbcc7c976c992a4a1902a16))
* **api:** api update ([fb65bd7](https://github.com/context-dot-dev/context-typescript-sdk/commit/fb65bd76461f0ef77e32d3e8dac116cb390ba857))
* **api:** api update ([bc07c8f](https://github.com/context-dot-dev/context-typescript-sdk/commit/bc07c8fff5342c52b0e01b7318f05ca2370ad9cd))
* **api:** api update ([402e2e6](https://github.com/context-dot-dev/context-typescript-sdk/commit/402e2e663d543e7f44c87ba1365015073e020d55))
* **api:** api update ([99e1084](https://github.com/context-dot-dev/context-typescript-sdk/commit/99e10847896b8f97d0ef1db3bc236c2720fb65cc))

## 2.1.0 (2026-07-06)

Full Changelog: [v2.0.0...v2.1.0](https://github.com/context-dot-dev/context-typescript-sdk/compare/v2.0.0...v2.1.0)
Expand Down
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.1.0",
"version": "2.2.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.1.0",
"version": "2.2.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.1.0",
"version": "2.2.0",
"description": "The official MCP Server for the Context Dev API",
"author": "Context Dev <hello@context.dev>",
"types": "dist/index.d.ts",
Expand Down
38 changes: 19 additions & 19 deletions packages/mcp-server/src/local-docs-search.ts

Large diffs are not rendered by default.

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.1.0',
version: '2.2.0',
},
{
instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }),
Expand Down
26 changes: 25 additions & 1 deletion src/resources/brand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ export class Brand extends APIResource {
/**
* Retrieve logos, backdrops, colors, industry, description, and more. Provide
* exactly one lookup identifier in the request body: a domain, company name, email
* address, stock ticker, or transaction descriptor.
* address, stock ticker, transaction descriptor, or direct URL. Note:
* `by_direct_url` fetches brand data only from the provided URL — not from the
* entire internet.
*
* @example
* ```ts
Expand Down Expand Up @@ -1025,6 +1027,7 @@ export type BrandRetrieveParams =
| BrandRetrieveParams.BrandRetrieveByNameRequest
| BrandRetrieveParams.BrandRetrieveByEmailRequest
| BrandRetrieveParams.BrandRetrieveByTickerRequest
| BrandRetrieveParams.BrandRetrieveByDirectURLRequest
| BrandRetrieveParams.BrandRetrieveFromTransactionRequest;

export declare namespace BrandRetrieveParams {
Expand Down Expand Up @@ -1663,6 +1666,27 @@ export declare namespace BrandRetrieveParams {
timeoutMS?: number;
}

export interface BrandRetrieveByDirectURLRequest {
/**
* Full http(s) URL to fetch brand data from (e.g.,
* 'https://stripe.com/enterprise'). Only this URL is fetched — not the entire
* internet.
*/
direct_url: string;

/**
* Discriminator for direct-URL-based brand retrieval.
*/
type: 'by_direct_url';

/**
* Optional timeout in milliseconds for the request. If the request takes longer
* than this value, it will be aborted with a 408 status code. Maximum allowed
* value is 300000ms (5 minutes).
*/
timeoutMS?: number;
}

export interface BrandRetrieveFromTransactionRequest {
/**
* Transaction information to identify the brand.
Expand Down
Loading
Loading