Skip to content

Commit 7379026

Browse files
authored
Merge pull request #17 from context-dot-dev/release-please--branches--main--changes--next
release: 0.14.0
2 parents c4b5e4b + e96a37a commit 7379026

11 files changed

Lines changed: 67 additions & 9 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-
".": "0.13.0"
2+
".": "0.14.0"
33
}

‎.stats.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 22
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-d5ca4cac056c38a1cb69c6d9033abe0d2b4d5858ee9a76e1172b23649ab1cca6.yml
3-
openapi_spec_hash: 8e1dd204746bcfaaf637d93b1d339eb2
4-
config_hash: 70354330f92ce169beabc98696ebb9a3
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-3ab7c195646f05374a224a980cab48a6c9844ba7aedf9dba28c7fd8273b173f2.yml
3+
openapi_spec_hash: b10ee8536928665190a110738964fccb
4+
config_hash: ff13935d1231ad44cd3822ffe39904b4

‎CHANGELOG.md‎

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

3+
## 0.14.0 (2026-05-01)
4+
5+
Full Changelog: [v0.13.0...v0.14.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.13.0...v0.14.0)
6+
7+
### Features
8+
9+
* **api:** api update ([4fea286](https://github.com/context-dot-dev/context-python-sdk/commit/4fea2861863c56e66881dbe898f12365c794568c))
10+
* **api:** manual updates ([d23341d](https://github.com/context-dot-dev/context-python-sdk/commit/d23341d351fdd33e0f101f532fc00b7af753c229))
11+
12+
13+
### Chores
14+
15+
* **internal:** reformat pyproject.toml ([d781abc](https://github.com/context-dot-dev/context-python-sdk/commit/d781abc45cc85a3ecfb98cbeb9ca6d32af32dcdf))
16+
317
## 0.13.0 (2026-04-30)
418

519
Full Changelog: [v0.12.0...v0.13.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.12.0...v0.13.0)

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ It is generated with [Stainless](https://www.stainless.com/).
1313

1414
Use the Context Dev 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.
1515

16-
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=context.dev-mcp&config=eyJuYW1lIjoiY29udGV4dC5kZXYtbWNwIiwidHJhbnNwb3J0IjoiaHR0cCIsInVybCI6Imh0dHBzOi8vY29udGV4dC1kZXYuc3RsbWNwLmNvbSIsImhlYWRlcnMiOnsieC1jb250ZXh0LWRldi1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)
17-
[![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%22context.dev-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fcontext-dev.stlmcp.com%22%2C%22headers%22%3A%7B%22x-context-dev-api-key%22%3A%22My%20API%20Key%22%7D%7D)
16+
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=context-dev-mcp&config=eyJuYW1lIjoiY29udGV4dC1kZXYtbWNwIiwidHJhbnNwb3J0IjoiaHR0cCIsInVybCI6Imh0dHBzOi8vY29udGV4dC1kZXYuc3RsbWNwLmNvbSIsImhlYWRlcnMiOnsieC1jb250ZXh0LWRldi1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)
17+
[![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%22context-dev-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fcontext-dev.stlmcp.com%22%2C%22headers%22%3A%7B%22x-context-dev-api-key%22%3A%22My%20API%20Key%22%7D%7D)
1818

1919
> Note: You may need to set environment variables in your MCP client.
2020

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "context.dev"
3-
version = "0.13.0"
3+
version = "0.14.0"
44
description = "The official Python library for the context.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -154,7 +154,7 @@ show_error_codes = true
154154
#
155155
# We also exclude our `tests` as mypy doesn't always infer
156156
# types correctly and Pyright will still catch any type errors.
157-
exclude = ['src/context/dev/_files.py', '_dev/.*.py', 'tests/.*']
157+
exclude = ["src/context/dev/_files.py", "_dev/.*.py", "tests/.*"]
158158

159159
strict_equality = true
160160
implicit_reexport = true

‎src/context/dev/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "context.dev"
4-
__version__ = "0.13.0" # x-release-please-version
4+
__version__ = "0.14.0" # x-release-please-version

‎src/context/dev/resources/web.py‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def web_crawl_md(
249249
*,
250250
url: str,
251251
follow_subdomains: bool | Omit = omit,
252+
include_frames: bool | Omit = omit,
252253
include_images: bool | Omit = omit,
253254
include_links: bool | Omit = omit,
254255
max_age_ms: int | Omit = omit,
@@ -276,6 +277,9 @@ def web_crawl_md(
276277
docs.example.com when starting from example.com). www and apex are always
277278
treated as equivalent.
278279
280+
include_frames: When true, the contents of iframes are rendered to Markdown for each crawled
281+
page.
282+
279283
include_images: Include image references in the Markdown output
280284
281285
include_links: Preserve hyperlinks in the Markdown output
@@ -313,6 +317,7 @@ def web_crawl_md(
313317
{
314318
"url": url,
315319
"follow_subdomains": follow_subdomains,
320+
"include_frames": include_frames,
316321
"include_images": include_images,
317322
"include_links": include_links,
318323
"max_age_ms": max_age_ms,
@@ -335,6 +340,7 @@ def web_scrape_html(
335340
self,
336341
*,
337342
url: str,
343+
include_frames: bool | Omit = omit,
338344
max_age_ms: int | Omit = omit,
339345
parse_pdf: bool | Omit = omit,
340346
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -350,6 +356,8 @@ def web_scrape_html(
350356
Args:
351357
url: Full URL to scrape (must include http:// or https:// protocol)
352358
359+
include_frames: When true, iframes are rendered inline into the returned HTML.
360+
353361
max_age_ms: Return a cached result if a prior scrape for the same parameters exists and is
354362
younger than this many milliseconds. Defaults to 1 day (86400000 ms) when
355363
omitted. Max is 30 days (2592000000 ms). Set to 0 to always scrape fresh.
@@ -376,6 +384,7 @@ def web_scrape_html(
376384
query=maybe_transform(
377385
{
378386
"url": url,
387+
"include_frames": include_frames,
379388
"max_age_ms": max_age_ms,
380389
"parse_pdf": parse_pdf,
381390
},
@@ -429,6 +438,7 @@ def web_scrape_md(
429438
self,
430439
*,
431440
url: str,
441+
include_frames: bool | Omit = omit,
432442
include_images: bool | Omit = omit,
433443
include_links: bool | Omit = omit,
434444
max_age_ms: int | Omit = omit,
@@ -449,6 +459,8 @@ def web_scrape_md(
449459
url: Full URL to scrape into LLM usable Markdown (must include http:// or https://
450460
protocol)
451461
462+
include_frames: When true, the contents of iframes are rendered to Markdown.
463+
452464
include_images: Include image references in Markdown output
453465
454466
include_links: Preserve hyperlinks in Markdown output
@@ -484,6 +496,7 @@ def web_scrape_md(
484496
query=maybe_transform(
485497
{
486498
"url": url,
499+
"include_frames": include_frames,
487500
"include_images": include_images,
488501
"include_links": include_links,
489502
"max_age_ms": max_age_ms,
@@ -760,6 +773,7 @@ async def web_crawl_md(
760773
*,
761774
url: str,
762775
follow_subdomains: bool | Omit = omit,
776+
include_frames: bool | Omit = omit,
763777
include_images: bool | Omit = omit,
764778
include_links: bool | Omit = omit,
765779
max_age_ms: int | Omit = omit,
@@ -787,6 +801,9 @@ async def web_crawl_md(
787801
docs.example.com when starting from example.com). www and apex are always
788802
treated as equivalent.
789803
804+
include_frames: When true, the contents of iframes are rendered to Markdown for each crawled
805+
page.
806+
790807
include_images: Include image references in the Markdown output
791808
792809
include_links: Preserve hyperlinks in the Markdown output
@@ -824,6 +841,7 @@ async def web_crawl_md(
824841
{
825842
"url": url,
826843
"follow_subdomains": follow_subdomains,
844+
"include_frames": include_frames,
827845
"include_images": include_images,
828846
"include_links": include_links,
829847
"max_age_ms": max_age_ms,
@@ -846,6 +864,7 @@ async def web_scrape_html(
846864
self,
847865
*,
848866
url: str,
867+
include_frames: bool | Omit = omit,
849868
max_age_ms: int | Omit = omit,
850869
parse_pdf: bool | Omit = omit,
851870
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -861,6 +880,8 @@ async def web_scrape_html(
861880
Args:
862881
url: Full URL to scrape (must include http:// or https:// protocol)
863882
883+
include_frames: When true, iframes are rendered inline into the returned HTML.
884+
864885
max_age_ms: Return a cached result if a prior scrape for the same parameters exists and is
865886
younger than this many milliseconds. Defaults to 1 day (86400000 ms) when
866887
omitted. Max is 30 days (2592000000 ms). Set to 0 to always scrape fresh.
@@ -887,6 +908,7 @@ async def web_scrape_html(
887908
query=await async_maybe_transform(
888909
{
889910
"url": url,
911+
"include_frames": include_frames,
890912
"max_age_ms": max_age_ms,
891913
"parse_pdf": parse_pdf,
892914
},
@@ -940,6 +962,7 @@ async def web_scrape_md(
940962
self,
941963
*,
942964
url: str,
965+
include_frames: bool | Omit = omit,
943966
include_images: bool | Omit = omit,
944967
include_links: bool | Omit = omit,
945968
max_age_ms: int | Omit = omit,
@@ -960,6 +983,8 @@ async def web_scrape_md(
960983
url: Full URL to scrape into LLM usable Markdown (must include http:// or https://
961984
protocol)
962985
986+
include_frames: When true, the contents of iframes are rendered to Markdown.
987+
963988
include_images: Include image references in Markdown output
964989
965990
include_links: Preserve hyperlinks in Markdown output
@@ -995,6 +1020,7 @@ async def web_scrape_md(
9951020
query=await async_maybe_transform(
9961021
{
9971022
"url": url,
1023+
"include_frames": include_frames,
9981024
"include_images": include_images,
9991025
"include_links": include_links,
10001026
"max_age_ms": max_age_ms,

‎src/context/dev/types/web_web_crawl_md_params.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ class WebWebCrawlMdParams(TypedDict, total=False):
2020
treated as equivalent.
2121
"""
2222

23+
include_frames: Annotated[bool, PropertyInfo(alias="includeFrames")]
24+
"""
25+
When true, the contents of iframes are rendered to Markdown for each crawled
26+
page.
27+
"""
28+
2329
include_images: Annotated[bool, PropertyInfo(alias="includeImages")]
2430
"""Include image references in the Markdown output"""
2531

‎src/context/dev/types/web_web_scrape_html_params.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ class WebWebScrapeHTMLParams(TypedDict, total=False):
1313
url: Required[str]
1414
"""Full URL to scrape (must include http:// or https:// protocol)"""
1515

16+
include_frames: Annotated[bool, PropertyInfo(alias="includeFrames")]
17+
"""When true, iframes are rendered inline into the returned HTML."""
18+
1619
max_age_ms: Annotated[int, PropertyInfo(alias="maxAgeMs")]
1720
"""
1821
Return a cached result if a prior scrape for the same parameters exists and is

‎src/context/dev/types/web_web_scrape_md_params.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ class WebWebScrapeMdParams(TypedDict, total=False):
1616
protocol)
1717
"""
1818

19+
include_frames: Annotated[bool, PropertyInfo(alias="includeFrames")]
20+
"""When true, the contents of iframes are rendered to Markdown."""
21+
1922
include_images: Annotated[bool, PropertyInfo(alias="includeImages")]
2023
"""Include image references in Markdown output"""
2124

0 commit comments

Comments
 (0)