Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.0"
".": "0.3.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 25
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-3024c2681b0acf12535d68f39c1b49113330548513a54b276116cd3f2eda182e.yml
openapi_spec_hash: ab3a6473e575381cacd245bf54dcf0f7
config_hash: b0f343b2ab3baebad7b0d6d51f0f16fc
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-4903d5902cec6a80f42b9adaa9cf0defa9805ff22d7ae96970d209a4f867e195.yml
openapi_spec_hash: 1097891c23530dfe0155f23170daf973
config_hash: c7b0cdaba3b9797b77efd89e1754d803
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.3.0 (2026-06-25)

Full Changelog: [v0.2.0...v0.3.0](https://github.com/context-dot-dev/context-dev-cli/compare/v0.2.0...v0.3.0)

### Features

* **api:** api update ([e4387a5](https://github.com/context-dot-dev/context-dev-cli/commit/e4387a54271251c65f16cfd1dce035e177393db2))

## 0.2.0 (2026-06-21)

Full Changelog: [v0.1.0...v0.2.0](https://github.com/context-dot-dev/context-dev-cli/compare/v0.1.0...v0.2.0)
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package cmd

const Version = "0.2.0" // x-release-please-version
const Version = "0.3.0" // x-release-please-version
5 changes: 5 additions & 0 deletions pkg/cmd/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ var webScreenshot = requestflag.WithInnerFlags(cli.Command{
Usage: "Optional parameter to specify which page type to screenshot. If provided, the system will scrape the domain's links and use heuristics to find the most appropriate URL for the specified page type (30 supported languages). If not provided, screenshots the main domain landing page. Only applicable when using 'domain', not 'directUrl'.",
QueryPath: "page",
},
&requestflag.Flag[int64]{
Name: "scroll-offset",
Usage: "Optional vertical scroll offset in pixels for capturing a long page in viewport-sized chunks. When provided, the full page is captured once and the returned image is the viewport-sized slice that begins at this Y offset (e.g. request scrollOffset=0, then 1080, then 2160 to walk a 1920x1080 landing page top to bottom). The final slice may be shorter than the viewport height. Takes precedence over fullScreenshot. Max: 100000.",
QueryPath: "scrollOffset",
},
&requestflag.Flag[int64]{
Name: "timeout-ms",
Usage: "Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed value is 300000ms (5 minutes).",
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/web_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ func TestWebScreenshot(t *testing.T) {
"--handle-cookie-popup", "true",
"--max-age-ms", "0",
"--page", "login",
"--scroll-offset", "0",
"--timeout-ms", "1000",
"--viewport", "{height: 240, width: 240}",
"--wait-for-ms", "0",
Expand All @@ -168,6 +169,7 @@ func TestWebScreenshot(t *testing.T) {
"--handle-cookie-popup", "true",
"--max-age-ms", "0",
"--page", "login",
"--scroll-offset", "0",
"--timeout-ms", "1000",
"--viewport.height", "240",
"--viewport.width", "240",
Expand Down
Loading