From b649e034740d7aae62e30bccf0446c846a39e282 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 22:16:50 +0000 Subject: [PATCH 1/4] feat(api): api update --- .stats.yml | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- pkg/cmd/batch.go | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index 33b7080..963533f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 37 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-960cb623c7ec84bf4dc0f5945cbc19eec9cca48271071f400d96066eaa55dbd6.yml -openapi_spec_hash: 84fd39e3f4dc964bf0c32d4e95da1b34 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-838f03b1c3584485eeded993459e6bbae058da9f6df16b7967980fbba98cc748.yml +openapi_spec_hash: 4a9db9cd9eac4ae4e2694b3d835a772f config_hash: 2bea1743c84d63bd61f8501a6ea63065 diff --git a/go.mod b/go.mod index 12f3f67..b627f73 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.5.0 + github.com/context-dot-dev/context-go-sdk/v2 v2.6.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 2e31ee8..e08a61b 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.5.0 h1:FK79MDMznyABXAUjRGO44Xmvl6Bi0nz1HBSlwYyMU6U= -github.com/context-dot-dev/context-go-sdk/v2 v2.5.0/go.mod h1:CvRANWLP0FHj5XyUwzEVX79ujdwr/2Jy375UVzKNQm8= +github.com/context-dot-dev/context-go-sdk/v2 v2.6.0 h1:Ek9DAp3uuXNZRKojMOf4Y6I11PHnXuQQFtvT4vi0BDE= +github.com/context-dot-dev/context-go-sdk/v2 v2.6.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/batch.go b/pkg/cmd/batch.go index d95a1ff..9bd5480 100644 --- a/pkg/cmd/batch.go +++ b/pkg/cmd/batch.go @@ -16,7 +16,7 @@ import ( var batchRetrieve = cli.Command{ Name: "retrieve", - Usage: "Check progress and get download links when the batch finishes. Also returns the\nrejected-URL list and webhook signing secret from submission, so nothing is lost\nif the submit response was dropped.", + Usage: "Check progress and get download links when the batch finishes. Also returns the\nrejected-URL list from submission. The webhook signing secret is not repeated\nhere — it is returned once, by the submit response.", Suggest: true, Flags: []cli.Flag{ &requestflag.Flag[string]{ From 5d7cbe43ec07e8c19f242262569d1d93ca0ab493 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 22:45:58 +0000 Subject: [PATCH 2/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 963533f..06846fb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 37 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-838f03b1c3584485eeded993459e6bbae058da9f6df16b7967980fbba98cc748.yml -openapi_spec_hash: 4a9db9cd9eac4ae4e2694b3d835a772f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-21a0195dcea548066fd6c227d634217b897900a6732a688e41c83344c2e92c94.yml +openapi_spec_hash: 388f5780dc9bf205c04b6a6214e4fafc config_hash: 2bea1743c84d63bd61f8501a6ea63065 From e216795e82dfdbf993710845866636a503bda557 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 00:43:07 +0000 Subject: [PATCH 3/4] feat(api): api update --- .stats.yml | 4 ++-- pkg/cmd/batch.go | 4 ++-- pkg/cmd/web.go | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.stats.yml b/.stats.yml index 06846fb..3b484e3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 37 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-21a0195dcea548066fd6c227d634217b897900a6732a688e41c83344c2e92c94.yml -openapi_spec_hash: 388f5780dc9bf205c04b6a6214e4fafc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-758c3a2fbd5b7be61c8e6e0ad2e6a5ec30695747bb675960d888c497647d13d7.yml +openapi_spec_hash: 00002d90bde02f67e174368ae470c597 config_hash: 2bea1743c84d63bd61f8501a6ea63065 diff --git a/pkg/cmd/batch.go b/pkg/cmd/batch.go index 9bd5480..74c4a5b 100644 --- a/pkg/cmd/batch.go +++ b/pkg/cmd/batch.go @@ -16,7 +16,7 @@ import ( var batchRetrieve = cli.Command{ Name: "retrieve", - Usage: "Check progress and get download links when the batch finishes. Also returns the\nrejected-URL list from submission. The webhook signing secret is not repeated\nhere — it is returned once, by the submit response.", + Usage: "Check progress, and get download links once the batch finishes.", Suggest: true, Flags: []cli.Flag{ &requestflag.Flag[string]{ @@ -88,7 +88,7 @@ var batchCancel = cli.Command{ var batchGetResults = cli.Command{ Name: "get-results", - Usage: "Page through the result records of a finished batch as JSON, in the same order\nas the downloadable result files. Use this instead of downloading and parsing\nthe NDJSON files yourself.", + Usage: "Page through a finished batch's results as JSON instead of downloading the\nNDJSON files.", Suggest: true, Flags: []cli.Flag{ &requestflag.Flag[string]{ diff --git a/pkg/cmd/web.go b/pkg/cmd/web.go index 483c012..9f5b105 100644 --- a/pkg/cmd/web.go +++ b/pkg/cmd/web.go @@ -247,7 +247,7 @@ var webScreenshot = requestflag.WithInnerFlags(cli.Command{ }, &requestflag.Flag[string]{ Name: "country", - Usage: "Two-letter ISO 3166-1 alpha-2 country code identifying a supported Context.dev residential proxy exit location. Must be one of Context.dev's supported countries. When provided, Context.dev fetches the target page from that country.", + Usage: "Fetch the target page through a residential proxy in this country (ISO 3166-1 alpha-2).", QueryPath: "country", }, &requestflag.Flag[string]{ @@ -461,7 +461,7 @@ var webWebCrawlMd = requestflag.WithInnerFlags(cli.Command{ }, &requestflag.Flag[string]{ Name: "country", - Usage: "Two-letter ISO 3166-1 alpha-2 country code identifying a supported Context.dev residential proxy exit location. Must be one of Context.dev's supported countries. When provided, Context.dev fetches the target page from that country.", + Usage: "Fetch the target page through a residential proxy in this country (ISO 3166-1 alpha-2).", BodyPath: "country", }, &requestflag.Flag[[]string]{ @@ -617,7 +617,7 @@ var webWebScrapeHTML = requestflag.WithInnerFlags(cli.Command{ }, &requestflag.Flag[string]{ Name: "country", - Usage: "Two-letter ISO 3166-1 alpha-2 country code identifying a supported Context.dev residential proxy exit location. Must be one of Context.dev's supported countries. When provided, Context.dev fetches the target page from that country.", + Usage: "Fetch the target page through a residential proxy in this country (ISO 3166-1 alpha-2).", QueryPath: "country", }, &requestflag.Flag[any]{ @@ -813,7 +813,7 @@ var webWebScrapeMd = requestflag.WithInnerFlags(cli.Command{ }, &requestflag.Flag[string]{ Name: "country", - Usage: "Two-letter ISO 3166-1 alpha-2 country code identifying a supported Context.dev residential proxy exit location. Must be one of Context.dev's supported countries. When provided, Context.dev fetches the target page from that country.", + Usage: "Fetch the target page through a residential proxy in this country (ISO 3166-1 alpha-2).", QueryPath: "country", }, &requestflag.Flag[any]{ From 2cbaf55c739bc93a8787766351fb090fe3601017 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 00:43:27 +0000 Subject: [PATCH 4/4] release: 1.3.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 d0ab664..2a8f4ff 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.2.0" + ".": "1.3.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 19ed089..2d370be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 1.3.0 (2026-08-01) + +Full Changelog: [v1.2.0...v1.3.0](https://github.com/context-dot-dev/context-dev-cli/compare/v1.2.0...v1.3.0) + +### Features + +* **api:** api update ([e216795](https://github.com/context-dot-dev/context-dev-cli/commit/e216795e82dfdbf993710845866636a503bda557)) +* **api:** api update ([b649e03](https://github.com/context-dot-dev/context-dev-cli/commit/b649e034740d7aae62e30bccf0446c846a39e282)) + ## 1.2.0 (2026-07-31) Full Changelog: [v1.1.0...v1.2.0](https://github.com/context-dot-dev/context-dev-cli/compare/v1.1.0...v1.2.0) diff --git a/pkg/cmd/version.go b/pkg/cmd/version.go index a9464c4..dcf0774 100644 --- a/pkg/cmd/version.go +++ b/pkg/cmd/version.go @@ -2,4 +2,4 @@ package cmd -const Version = "1.2.0" // x-release-please-version +const Version = "1.3.0" // x-release-please-version