Skip to content

Commit 377c7a6

Browse files
authored
Merge pull request #24 from context-dot-dev/release-please--branches--main--changes--next
release: 1.8.0
2 parents 8d6326e + 0c654d2 commit 377c7a6

8 files changed

Lines changed: 33 additions & 11 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-
".": "1.7.0"
2+
".": "1.8.0"
33
}

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 41
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-b0c72d2fe5911c9ce155275b954198bf2152e915a7e5b9f719aad50e222b9ef8.yml
3-
openapi_spec_hash: 5cf943ea5718059b7975417b012cee28
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-2c3f4e4b357ca78c019a3aacd006e2bb8b332d4172a300ee6c46c076a216ed3f.yml
3+
openapi_spec_hash: b89be415cf6ee594b521885a9deb25ac
44
config_hash: 0fb0ceca5946298c416cec0cca5260c7

‎CHANGELOG.md‎

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

3+
## 1.8.0 (2026-08-23)
4+
5+
Full Changelog: [v1.7.0...v1.8.0](https://github.com/context-dot-dev/context-dev-cli/compare/v1.7.0...v1.8.0)
6+
7+
### Features
8+
9+
* **api:** api update ([985ccab](https://github.com/context-dot-dev/context-dev-cli/commit/985ccab2173e91b5cf40749f33133d7c92527652))
10+
* **api:** api update ([3583e1a](https://github.com/context-dot-dev/context-dev-cli/commit/3583e1aff934cfb1ce1bad257ffbfa262b3a8733))
11+
* **api:** api update ([7b5b53f](https://github.com/context-dot-dev/context-dev-cli/commit/7b5b53f167b6bf29d2c4de02f348edc2122d5e80))
12+
* **api:** api update ([af18337](https://github.com/context-dot-dev/context-dev-cli/commit/af1833778a6a1620a5e3f0008b7f67cd5dae53c0))
13+
314
## 1.7.0 (2026-08-18)
415

516
Full Changelog: [v1.6.0...v1.7.0](https://github.com/context-dot-dev/context-dev-cli/compare/v1.6.0...v1.7.0)

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/charmbracelet/bubbletea v1.3.6
88
github.com/charmbracelet/lipgloss v1.1.0
99
github.com/charmbracelet/x/term v0.2.1
10-
github.com/context-dot-dev/context-go-sdk/v2 v2.10.0
10+
github.com/context-dot-dev/context-go-sdk/v2 v2.11.0
1111
github.com/goccy/go-yaml v1.18.0
1212
github.com/itchyny/json2yaml v0.1.4
1313
github.com/muesli/reflow v0.3.0

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 h1:payR
1818
github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91/go.mod h1:wDlXFlCrmJ8J+swcL/MnGUuYnqgQdW9rhSD61oNMb6U=
1919
github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ=
2020
github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
21-
github.com/context-dot-dev/context-go-sdk/v2 v2.10.0 h1:gw/QnKENZ8seyEPI9t9f7MjbtQGK392WFalNUKS3Xs4=
22-
github.com/context-dot-dev/context-go-sdk/v2 v2.10.0/go.mod h1:CvRANWLP0FHj5XyUwzEVX79ujdwr/2Jy375UVzKNQm8=
21+
github.com/context-dot-dev/context-go-sdk/v2 v2.11.0 h1:SsEX/lciOcEwANUhkEs6iJoEtSD2oZmnmslHtlio/Cc=
22+
github.com/context-dot-dev/context-go-sdk/v2 v2.11.0/go.mod h1:CvRANWLP0FHj5XyUwzEVX79ujdwr/2Jy375UVzKNQm8=
2323
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
2424
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
2525
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=

‎pkg/cmd/version.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
package cmd
44

5-
const Version = "1.7.0" // x-release-please-version
5+
const Version = "1.8.0" // x-release-please-version

‎pkg/cmd/web.go‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var webExtract = requestflag.WithInnerFlags(cli.Command{
2121
Flags: []cli.Flag{
2222
&requestflag.Flag[map[string]any]{
2323
Name: "schema",
24-
Usage: "JSON Schema for the returned data object. TypeScript Zod users can pass a JSON Schema generated from a Zod object; Python users can pass the equivalent JSON Schema object.",
24+
Usage: "JSON Schema for the returned data object. Image fields such as `image_urls` or `product_photos` automatically make page image references available to extraction, so product data and photos can be returned in one call. TypeScript Zod users can pass a JSON Schema generated from a Zod object; Python users can pass the equivalent JSON Schema object.",
2525
Required: true,
2626
BodyPath: "schema",
2727
},
@@ -31,6 +31,11 @@ var webExtract = requestflag.WithInnerFlags(cli.Command{
3131
Required: true,
3232
BodyPath: "url",
3333
},
34+
&requestflag.Flag[[]map[string]any]{
35+
Name: "action",
36+
Usage: "Optional browser actions executed in order on the requested page after it loads, before links are discovered or additional pages are crawled. Requires a paid plan. When actions are provided and stopAfterMs is omitted, the crawl budget defaults to 110000 ms.",
37+
BodyPath: "actions",
38+
},
3439
&requestflag.Flag[bool]{
3540
Name: "fact-check",
3641
Usage: "When true, every returned value must be grounded in facts stated on the page; fields that cannot be supported by the page are returned as null/empty. When false (default), the model may make reasonable inferences and derivations from the page content (e.g. ideal customer, competitor analysis, recommendations) while keeping verifiable specifics (names, quotes, URLs, dates, metrics) faithful to the source.",
@@ -84,7 +89,7 @@ var webExtract = requestflag.WithInnerFlags(cli.Command{
8489
},
8590
&requestflag.Flag[int64]{
8691
Name: "stop-after-ms",
87-
Usage: "Soft time budget for the crawl in milliseconds. Min: 10000 (10s). Max: 110000 (110s). Default: 80000 (80s).",
92+
Usage: "Soft time budget for the crawl in milliseconds. Min: 10000 (10s). Max: 110000 (110s). Defaults to 80000 (80s), or 110000 (110s) when browser actions are provided.",
8893
Default: 80000,
8994
BodyPath: "stopAfterMs",
9095
},
@@ -557,7 +562,7 @@ var webWebCrawlMd = requestflag.WithInnerFlags(cli.Command{
557562
},
558563
&requestflag.Flag[string]{
559564
Name: "url-regex",
560-
Usage: "Regex pattern. Only URLs matching this pattern will be followed and scraped.",
565+
Usage: "Regex pattern. Only URLs matching this pattern will be followed and scraped. An automatic prefix scope in the form ^<starting URL> follows a redirect of the starting page.",
561566
BodyPath: "urlRegex",
562567
},
563568
&requestflag.Flag[bool]{
@@ -568,7 +573,8 @@ var webWebCrawlMd = requestflag.WithInnerFlags(cli.Command{
568573
},
569574
&requestflag.Flag[int64]{
570575
Name: "wait-for-ms",
571-
Usage: "Optional browser wait time in milliseconds after initial page load for each crawled page. Min: 0. Max: 30000 (30 seconds). ",
576+
Usage: "Browser wait time in milliseconds after initial page load for each crawled page. Defaults to 3500 (3.5 seconds). Min: 0. Max: 30000 (30 seconds).",
577+
Default: 3500,
572578
BodyPath: "waitForMs",
573579
},
574580
&requestflag.Flag[string]{

‎pkg/cmd/web_test.go‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ func TestWebExtract(t *testing.T) {
1818
"web", "extract",
1919
"--schema", "{type: bar, properties: bar, required: bar, additionalProperties: bar}",
2020
"--url", "https://example.com",
21+
"--action", "{do: wait, timeMs: 0}",
2122
"--fact-check=true",
2223
"--follow-subdomains=true",
2324
"--include-frames=true",
@@ -46,6 +47,7 @@ func TestWebExtract(t *testing.T) {
4647
"web", "extract",
4748
"--schema", "{type: bar, properties: bar, required: bar, additionalProperties: bar}",
4849
"--url", "https://example.com",
50+
"--action", "{do: wait, timeMs: 0}",
4951
"--fact-check=true",
5052
"--follow-subdomains=true",
5153
"--include-frames=true",
@@ -74,6 +76,9 @@ func TestWebExtract(t *testing.T) {
7476
" required: bar\n" +
7577
" additionalProperties: bar\n" +
7678
"url: https://example.com\n" +
79+
"actions:\n" +
80+
" - do: wait\n" +
81+
" timeMs: 0\n" +
7782
"factCheck: true\n" +
7883
"followSubdomains: true\n" +
7984
"includeFrames: true\n" +

0 commit comments

Comments
 (0)