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/.stats.yml b/.stats.yml index 4b9b1cb..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-5dbe631ce516ca688273053ddcb58870561bd6dc76fa75df354c954d7af65a3c.yml -openapi_spec_hash: 53a74c4cccbdec8590db38183840a446 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-b0c72d2fe5911c9ce155275b954198bf2152e915a7e5b9f719aad50e222b9ef8.yml +openapi_spec_hash: 5cf943ea5718059b7975417b012cee28 config_hash: 0fb0ceca5946298c416cec0cca5260c7 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/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= 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 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",