From 22478e2f26fc4bcc47509a449e47a7f4e0ec8a23 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 05:38:58 +0000 Subject: [PATCH 1/7] feat(api): api update --- .stats.yml | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4b9b1cb..f9f986b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 41 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-5dbe631ce516ca688273053ddcb58870561bd6dc76fa75df354c954d7af65a3c.yml -openapi_spec_hash: 53a74c4cccbdec8590db38183840a446 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-5e890b591fcd62757c51fa1decc2cccc3d52d5a83097b10775507e3485776f73.yml +openapi_spec_hash: 432ee63a7d4ffca7d5993dc0853d9c81 config_hash: 0fb0ceca5946298c416cec0cca5260c7 diff --git a/go.mod b/go.mod index 63f9b32..af46123 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/charmbracelet/bubbletea v1.3.6 github.com/charmbracelet/lipgloss v1.1.0 github.com/charmbracelet/x/term v0.2.1 - github.com/context-dot-dev/context-go-sdk/v2 v2.9.0 + github.com/context-dot-dev/context-go-sdk/v2 v2.10.0 github.com/goccy/go-yaml v1.18.0 github.com/itchyny/json2yaml v0.1.4 github.com/muesli/reflow v0.3.0 diff --git a/go.sum b/go.sum index 3554fa9..cc4035d 100644 --- a/go.sum +++ b/go.sum @@ -18,8 +18,8 @@ github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 h1:payR github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91/go.mod h1:wDlXFlCrmJ8J+swcL/MnGUuYnqgQdW9rhSD61oNMb6U= github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ= github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg= -github.com/context-dot-dev/context-go-sdk/v2 v2.9.0 h1:Lv27NRJ1PyQF9QKNjMLYvrc1uRKaBjFD3sj7YHOnGgw= -github.com/context-dot-dev/context-go-sdk/v2 v2.9.0/go.mod h1:CvRANWLP0FHj5XyUwzEVX79ujdwr/2Jy375UVzKNQm8= +github.com/context-dot-dev/context-go-sdk/v2 v2.10.0 h1:gw/QnKENZ8seyEPI9t9f7MjbtQGK392WFalNUKS3Xs4= +github.com/context-dot-dev/context-go-sdk/v2 v2.10.0/go.mod h1:CvRANWLP0FHj5XyUwzEVX79ujdwr/2Jy375UVzKNQm8= github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= From a62531c3d7588a58dc567c6c5262386ae9ae83d0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 06:44:21 +0000 Subject: [PATCH 2/7] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index f9f986b..65e1e03 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 41 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-5e890b591fcd62757c51fa1decc2cccc3d52d5a83097b10775507e3485776f73.yml -openapi_spec_hash: 432ee63a7d4ffca7d5993dc0853d9c81 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-a93ee49f1b1f7a2d95a79fa63dba0c825dcc664198a8d6d42a71c4577342cb3b.yml +openapi_spec_hash: 62ec48956bfb06100953840ac780e93f config_hash: 0fb0ceca5946298c416cec0cca5260c7 From 1fd7f1916ade03f2c1946e9d3cd8d9c1e29c119d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 06:59:12 +0000 Subject: [PATCH 3/7] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 65e1e03..01e56c8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 41 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-a93ee49f1b1f7a2d95a79fa63dba0c825dcc664198a8d6d42a71c4577342cb3b.yml -openapi_spec_hash: 62ec48956bfb06100953840ac780e93f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-f23ab92b85d838bfa0c2741f96f4bf7acf09a22cc17aa88d78ae8a1cafb0c7f0.yml +openapi_spec_hash: 641b62af26fa7bc744bbebc50aeb2ac6 config_hash: 0fb0ceca5946298c416cec0cca5260c7 From 42b486d2ef88a5dff7e3217b01adae0ab433c36f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 03:25:17 +0000 Subject: [PATCH 4/7] feat(api): api update --- .stats.yml | 4 ++-- pkg/cmd/web.go | 6 ++++++ pkg/cmd/web_test.go | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 01e56c8..5c58535 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 41 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-f23ab92b85d838bfa0c2741f96f4bf7acf09a22cc17aa88d78ae8a1cafb0c7f0.yml -openapi_spec_hash: 641b62af26fa7bc744bbebc50aeb2ac6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-a0e9f5a245a9ad4bf712a35826463af573957da6d3714136cfab643140664566.yml +openapi_spec_hash: 20f2776cd458320c8b66fec4ec4f9332 config_hash: 0fb0ceca5946298c416cec0cca5260c7 diff --git a/pkg/cmd/web.go b/pkg/cmd/web.go index 52420fa..37230d3 100644 --- a/pkg/cmd/web.go +++ b/pkg/cmd/web.go @@ -240,6 +240,12 @@ var webScreenshot = requestflag.WithInnerFlags(cli.Command{ Usage: "Capture a screenshot of a website.", Suggest: true, Flags: []cli.Flag{ + &requestflag.Flag[bool]{ + Name: "clear-popups", + Usage: "Optional parameter for comprehensive popup cleanup. If 'true', the browser dismisses detected cookie/consent UI and clears other detected obstructive popups and overlays before capture. If 'false' or not provided, this parameter requests no cleanup; handleCookiePopup can still request cookie/consent handling independently.", + Default: false, + QueryPath: "clearPopups", + }, &requestflag.Flag[string]{ Name: "color-scheme", Usage: "Optional parameter to choose the site's visual theme in the screenshot. Use 'light' or 'dark' when the site offers both appearances.", diff --git a/pkg/cmd/web_test.go b/pkg/cmd/web_test.go index 7c6cf11..d8202fb 100644 --- a/pkg/cmd/web_test.go +++ b/pkg/cmd/web_test.go @@ -158,6 +158,7 @@ func TestWebScreenshot(t *testing.T) { t, "--api-key", "string", "web", "screenshot", + "--clear-popups=true", "--color-scheme", "light", "--country", "de", "--direct-url", "https://example.com", @@ -185,6 +186,7 @@ func TestWebScreenshot(t *testing.T) { t, "--api-key", "string", "web", "screenshot", + "--clear-popups=true", "--color-scheme", "light", "--country", "de", "--direct-url", "https://example.com", From 76e3e52abe51eaf8b04a8a41dd5b879dd2a0694d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 04:35:06 +0000 Subject: [PATCH 5/7] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5c58535..60361a5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 41 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-a0e9f5a245a9ad4bf712a35826463af573957da6d3714136cfab643140664566.yml -openapi_spec_hash: 20f2776cd458320c8b66fec4ec4f9332 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-813f97d04b6924bbbeb1a89dd8f0d7b38d3241bd0126338fa00ddcb094ab6893.yml +openapi_spec_hash: 3fee1c958d5414b88e964062ea4cc808 config_hash: 0fb0ceca5946298c416cec0cca5260c7 From 1371afcd421cd77c68d3d656fb949eed88fd7bcb Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 06:17:11 +0000 Subject: [PATCH 6/7] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 60361a5..9673209 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 41 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-813f97d04b6924bbbeb1a89dd8f0d7b38d3241bd0126338fa00ddcb094ab6893.yml -openapi_spec_hash: 3fee1c958d5414b88e964062ea4cc808 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-b0c72d2fe5911c9ce155275b954198bf2152e915a7e5b9f719aad50e222b9ef8.yml +openapi_spec_hash: 5cf943ea5718059b7975417b012cee28 config_hash: 0fb0ceca5946298c416cec0cca5260c7 From 0d0c9c3090f5fc26efc7f75389907d466686c905 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 06:17:34 +0000 Subject: [PATCH 7/7] release: 1.7.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ pkg/cmd/version.go | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7deae33..cce9d1c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.6.0" + ".": "1.7.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6493c24..e2324d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 1.7.0 (2026-08-18) + +Full Changelog: [v1.6.0...v1.7.0](https://github.com/context-dot-dev/context-dev-cli/compare/v1.6.0...v1.7.0) + +### Features + +* **api:** api update ([42b486d](https://github.com/context-dot-dev/context-dev-cli/commit/42b486d2ef88a5dff7e3217b01adae0ab433c36f)) +* **api:** api update ([22478e2](https://github.com/context-dot-dev/context-dev-cli/commit/22478e2f26fc4bcc47509a449e47a7f4e0ec8a23)) + ## 1.6.0 (2026-08-17) Full Changelog: [v1.5.0...v1.6.0](https://github.com/context-dot-dev/context-dev-cli/compare/v1.5.0...v1.6.0) diff --git a/pkg/cmd/version.go b/pkg/cmd/version.go index 855000d..560ca21 100644 --- a/pkg/cmd/version.go +++ b/pkg/cmd/version.go @@ -2,4 +2,4 @@ package cmd -const Version = "1.6.0" // x-release-please-version +const Version = "1.7.0" // x-release-please-version