Skip to content

Commit c504cb7

Browse files
authored
Merge pull request #67 from context-dot-dev/release-please--branches--main--changes--next--components--context.dev
release: 2.12.0
2 parents 6944504 + 77eac3a commit c504cb7

13 files changed

Lines changed: 125 additions & 14 deletions

File tree

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.11.0"
2+
".": "2.12.0"
33
}

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 41
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-5dbe631ce516ca688273053ddcb58870561bd6dc76fa75df354c954d7af65a3c.yml
3-
openapi_spec_hash: 53a74c4cccbdec8590db38183840a446
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-b0c72d2fe5911c9ce155275b954198bf2152e915a7e5b9f719aad50e222b9ef8.yml
3+
openapi_spec_hash: 5cf943ea5718059b7975417b012cee28
44
config_hash: 0fb0ceca5946298c416cec0cca5260c7

‎CHANGELOG.md‎

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

3+
## 2.12.0 (2026-08-18)
4+
5+
Full Changelog: [v2.11.0...v2.12.0](https://github.com/context-dot-dev/context-typescript-sdk/compare/v2.11.0...v2.12.0)
6+
7+
### Features
8+
9+
* **api:** api update ([f75cd70](https://github.com/context-dot-dev/context-typescript-sdk/commit/f75cd70840219810ec7fb42b55f348884fe9c63f))
10+
* **api:** api update ([104dc69](https://github.com/context-dot-dev/context-typescript-sdk/commit/104dc69aa48e2cc0fb4005fe6698bb22b4141aa1))
11+
* **api:** api update ([7b284c4](https://github.com/context-dot-dev/context-typescript-sdk/commit/7b284c4b7ae5a69c3f9d086c7cef1c75be1796a3))
12+
313
## 2.11.0 (2026-08-17)
414

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

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "context.dev",
3-
"version": "2.11.0",
3+
"version": "2.12.0",
44
"description": "The official TypeScript library for the Context Dev API",
55
"author": "Context Dev <hello@context.dev>",
66
"types": "dist/index.d.ts",

‎packages/mcp-server/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dxt_version": "0.2",
33
"name": "context.dev-mcp",
4-
"version": "2.11.0",
4+
"version": "2.12.0",
55
"description": "The official MCP Server for the Context Dev API",
66
"author": {
77
"name": "Context Dev",

‎packages/mcp-server/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "context.dev-mcp",
3-
"version": "2.11.0",
3+
"version": "2.12.0",
44
"description": "The official MCP Server for the Context Dev API",
55
"author": "Context Dev <hello@context.dev>",
66
"types": "dist/index.d.ts",

‎packages/mcp-server/src/local-docs-search.ts‎

Lines changed: 6 additions & 5 deletions
Large diffs are not rendered by default.

‎packages/mcp-server/src/server.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const newMcpServer = async ({
2828
new McpServer(
2929
{
3030
name: 'context_dev_api',
31-
version: '2.11.0',
31+
version: '2.12.0',
3232
},
3333
{
3434
instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }),

‎src/resources/brand.ts‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,13 @@ export namespace BrandRetrieveResponse {
394394
* Name of the color
395395
*/
396396
name?: string;
397+
398+
/**
399+
* Where the color was observed: 'site' colors come from the website's own theme
400+
* signals (rendered page colors, manifest, theme-color meta), 'logo' colors from
401+
* logo image pixels.
402+
*/
403+
source?: 'site' | 'logo';
397404
}
398405

399406
/**
@@ -978,6 +985,13 @@ export namespace BrandRetrieveSimplifiedResponse {
978985
* Name of the color
979986
*/
980987
name?: string;
988+
989+
/**
990+
* Where the color was observed: 'site' colors come from the website's own theme
991+
* signals (rendered page colors, manifest, theme-color meta), 'logo' colors from
992+
* logo image pixels.
993+
*/
994+
source?: 'site' | 'logo';
981995
}
982996

983997
export interface Logo {

‎src/resources/news.ts‎

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,25 @@ export class News extends APIResource {
3131
}
3232

3333
export interface NewsSearchResponse {
34+
/**
35+
* Articles matching the search, in the requested order.
36+
*/
3437
data: Array<NewsSearchResponse.Data>;
3538

39+
/**
40+
* True when more results are available beyond this page.
41+
*/
3642
has_more: boolean;
3743

44+
/**
45+
* Summary information about this response.
46+
*/
3847
meta: NewsSearchResponse.Meta;
3948

49+
/**
50+
* Pass as cursor in the next request to fetch the following page. Null when there
51+
* are no more results.
52+
*/
4053
next_cursor: string | null;
4154

4255
/**
@@ -48,54 +61,117 @@ export interface NewsSearchResponse {
4861

4962
export namespace NewsSearchResponse {
5063
export interface Data {
64+
/**
65+
* Stable unique identifier for this article. Use it to deduplicate or reference an
66+
* article across requests.
67+
*/
5168
id: string;
5269

70+
/**
71+
* Bylined authors. Empty when no byline is available.
72+
*/
5373
authors: Array<string>;
5474

75+
/**
76+
* Short summary or excerpt of the article, when the publisher provides one.
77+
*/
5578
description: string | null;
5679

80+
/**
81+
* Lead image for the article, when one is available.
82+
*/
5783
image_url: string | null;
5884

85+
/**
86+
* Language the article is written in, as a lowercase ISO 639-1 code such as en.
87+
* Null when unknown.
88+
*/
5989
language: string | null;
6090

91+
/**
92+
* How the article relates to the company you searched for.
93+
*/
6194
match: Data.Match;
6295

96+
/**
97+
* When the article was published, as an ISO 8601 timestamp. Null when the
98+
* publisher does not state a reliable date.
99+
*/
63100
published_at: string | null;
64101

102+
/**
103+
* The publication that published the article.
104+
*/
65105
source: Data.Source;
66106

67107
/**
68-
* Groups matching normalized headlines published on the same UTC day.
108+
* Shared by articles covering the same story on the same day. Use it to group or
109+
* collapse syndicated copies of one announcement across outlets.
69110
*/
70111
story_id: string;
71112

113+
/**
114+
* Article headline.
115+
*/
72116
title: string;
73117

118+
/**
119+
* Kind of coverage. Use it to separate independent reporting (editorial) from
120+
* company-issued content (press_release, regulatory_filing, advisory).
121+
*/
74122
type: 'editorial' | 'press_release' | 'regulatory_filing' | 'advisory';
75123

124+
/**
125+
* Link to the article on the publisher site.
126+
*/
76127
url: string;
77128
}
78129

79130
export namespace Data {
131+
/**
132+
* How the article relates to the company you searched for.
133+
*/
80134
export interface Match {
135+
/**
136+
* How confident the match is, from 0 to 1. Null when a score is unavailable.
137+
*/
81138
confidence: number | null;
82139

140+
/**
141+
* primary when the article is mainly about the company, secondary when the company
142+
* is mentioned but is not the main subject.
143+
*/
83144
level: 'primary' | 'secondary';
84145
}
85146

147+
/**
148+
* The publication that published the article.
149+
*/
86150
export interface Source {
87151
/**
88152
* True when Context observed this article in the publisher-owned feed.
89153
*/
90154
direct: boolean;
91155

156+
/**
157+
* Website domain of the publication.
158+
*/
92159
domain: string;
93160

161+
/**
162+
* Name of the publication, such as Reuters.
163+
*/
94164
name: string;
95165
}
96166
}
97167

168+
/**
169+
* Summary information about this response.
170+
*/
98171
export interface Meta {
172+
/**
173+
* Number of articles in this page.
174+
*/
99175
count: number;
100176
}
101177

0 commit comments

Comments
 (0)