From 2cb5f95e56c35f5bf415999f877917625025e7ef Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Jun 2026 12:20:25 +0000 Subject: [PATCH 1/2] chore: update SDK settings --- .github/workflows/release-doctor.yml | 2 +- .stats.yml | 4 ++-- README.md | 6 +++++- cmd/context-dev/main.go | 2 +- go.mod | 2 +- pkg/cmd/ai.go | 4 ++-- pkg/cmd/ai_test.go | 4 ++-- pkg/cmd/brand.go | 4 ++-- pkg/cmd/brand_test.go | 2 +- pkg/cmd/cmd.go | 4 ++-- pkg/cmd/cmdutil.go | 2 +- pkg/cmd/cmdutil_test.go | 2 +- pkg/cmd/flagoptions.go | 8 ++++---- pkg/cmd/industry.go | 4 ++-- pkg/cmd/industry_test.go | 2 +- pkg/cmd/utility.go | 4 ++-- pkg/cmd/utility_test.go | 2 +- pkg/cmd/version.go | 2 +- pkg/cmd/web.go | 4 ++-- pkg/cmd/web_test.go | 4 ++-- 20 files changed, 36 insertions(+), 32 deletions(-) diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 861de6b..6b1e45d 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -9,7 +9,7 @@ jobs: release_doctor: name: release doctor runs-on: ubuntu-latest - if: github.repository == 'stainless-sdks/context.dev-cli' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + if: github.repository == 'context-dot-dev/context-dev-cli' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.stats.yml b/.stats.yml index db7c82e..784ab77 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 25 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-0253523aec437a0e9c67c3386fa25ed52ebbcc0073c907f0aa3586d8010d2e9d.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-508b6e971e1d1da37221163ee6625a7f348c96a0ddbf1ea2a8dc17b6cdfb74c3.yml openapi_spec_hash: 5cf86ed865b01dfe3a159a45315ebb49 -config_hash: 2b6e4424b446fe1bf93359ba758c83ed +config_hash: eebf67a9c2ccfe2641980c154d7a698e diff --git a/README.md b/README.md index abca44f..fa92c25 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ The official CLI for the [Context Dev REST API](https://docs.context.dev/). It is generated with [Stainless](https://www.stainless.com/). + + ## Installation ### Installing with Go @@ -11,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/). To test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed. ```sh -go install 'github.com/stainless-sdks/context.dev-cli/cmd/context-dev@latest' +go install 'github.com/context-dot-dev/context-dev-cli/cmd/context-dev@latest' ``` Once you have run `go install`, the binary is placed in your Go bin directory: @@ -26,6 +28,8 @@ If commands aren't found after installation, add the Go bin directory to your PA export PATH="$PATH:$(go env GOPATH)/bin" ``` + + ### Running Locally After cloning the git repository for this project, you can use the diff --git a/cmd/context-dev/main.go b/cmd/context-dev/main.go index 3fff3f8..43678b5 100644 --- a/cmd/context-dev/main.go +++ b/cmd/context-dev/main.go @@ -10,8 +10,8 @@ import ( "os" "slices" + "github.com/context-dot-dev/context-dev-cli/pkg/cmd" "github.com/context-dot-dev/context-go-sdk" - "github.com/stainless-sdks/context.dev-cli/pkg/cmd" "github.com/tidwall/gjson" "github.com/urfave/cli/v3" ) diff --git a/go.mod b/go.mod index 5eccdd4..f4a4eaf 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/stainless-sdks/context.dev-cli +module github.com/context-dot-dev/context-dev-cli go 1.25 diff --git a/pkg/cmd/ai.go b/pkg/cmd/ai.go index 5f782ff..87b1b1d 100644 --- a/pkg/cmd/ai.go +++ b/pkg/cmd/ai.go @@ -6,10 +6,10 @@ import ( "context" "fmt" + "github.com/context-dot-dev/context-dev-cli/internal/apiquery" + "github.com/context-dot-dev/context-dev-cli/internal/requestflag" "github.com/context-dot-dev/context-go-sdk" "github.com/context-dot-dev/context-go-sdk/option" - "github.com/stainless-sdks/context.dev-cli/internal/apiquery" - "github.com/stainless-sdks/context.dev-cli/internal/requestflag" "github.com/tidwall/gjson" "github.com/urfave/cli/v3" ) diff --git a/pkg/cmd/ai_test.go b/pkg/cmd/ai_test.go index 8a5a1ac..5ae0952 100644 --- a/pkg/cmd/ai_test.go +++ b/pkg/cmd/ai_test.go @@ -5,8 +5,8 @@ package cmd import ( "testing" - "github.com/stainless-sdks/context.dev-cli/internal/mocktest" - "github.com/stainless-sdks/context.dev-cli/internal/requestflag" + "github.com/context-dot-dev/context-dev-cli/internal/mocktest" + "github.com/context-dot-dev/context-dev-cli/internal/requestflag" ) func TestAIAIQuery(t *testing.T) { diff --git a/pkg/cmd/brand.go b/pkg/cmd/brand.go index ea76221..ba96e74 100644 --- a/pkg/cmd/brand.go +++ b/pkg/cmd/brand.go @@ -6,10 +6,10 @@ import ( "context" "fmt" + "github.com/context-dot-dev/context-dev-cli/internal/apiquery" + "github.com/context-dot-dev/context-dev-cli/internal/requestflag" "github.com/context-dot-dev/context-go-sdk" "github.com/context-dot-dev/context-go-sdk/option" - "github.com/stainless-sdks/context.dev-cli/internal/apiquery" - "github.com/stainless-sdks/context.dev-cli/internal/requestflag" "github.com/tidwall/gjson" "github.com/urfave/cli/v3" ) diff --git a/pkg/cmd/brand_test.go b/pkg/cmd/brand_test.go index 99c40c2..ffc41a8 100644 --- a/pkg/cmd/brand_test.go +++ b/pkg/cmd/brand_test.go @@ -5,7 +5,7 @@ package cmd import ( "testing" - "github.com/stainless-sdks/context.dev-cli/internal/mocktest" + "github.com/context-dot-dev/context-dev-cli/internal/mocktest" ) func TestBrandRetrieve(t *testing.T) { diff --git a/pkg/cmd/cmd.go b/pkg/cmd/cmd.go index 4e153e1..c8145a2 100644 --- a/pkg/cmd/cmd.go +++ b/pkg/cmd/cmd.go @@ -12,8 +12,8 @@ import ( "slices" "strings" - "github.com/stainless-sdks/context.dev-cli/internal/autocomplete" - "github.com/stainless-sdks/context.dev-cli/internal/requestflag" + "github.com/context-dot-dev/context-dev-cli/internal/autocomplete" + "github.com/context-dot-dev/context-dev-cli/internal/requestflag" docs "github.com/urfave/cli-docs/v3" "github.com/urfave/cli/v3" ) diff --git a/pkg/cmd/cmdutil.go b/pkg/cmd/cmdutil.go index 87208ae..7ffa0f7 100644 --- a/pkg/cmd/cmdutil.go +++ b/pkg/cmd/cmdutil.go @@ -16,8 +16,8 @@ import ( "strings" "syscall" + "github.com/context-dot-dev/context-dev-cli/internal/jsonview" "github.com/context-dot-dev/context-go-sdk/option" - "github.com/stainless-sdks/context.dev-cli/internal/jsonview" "github.com/charmbracelet/x/term" "github.com/itchyny/json2yaml" diff --git a/pkg/cmd/cmdutil_test.go b/pkg/cmd/cmdutil_test.go index f2eadae..1ecb22c 100644 --- a/pkg/cmd/cmdutil_test.go +++ b/pkg/cmd/cmdutil_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" "github.com/tidwall/gjson" - "github.com/stainless-sdks/context.dev-cli/internal/jsonview" + "github.com/context-dot-dev/context-dev-cli/internal/jsonview" ) func TestStreamOutput(t *testing.T) { diff --git a/pkg/cmd/flagoptions.go b/pkg/cmd/flagoptions.go index e21dadd..9f23588 100644 --- a/pkg/cmd/flagoptions.go +++ b/pkg/cmd/flagoptions.go @@ -16,11 +16,11 @@ import ( "strings" "unicode/utf8" + "github.com/context-dot-dev/context-dev-cli/internal/apiform" + "github.com/context-dot-dev/context-dev-cli/internal/apiquery" + "github.com/context-dot-dev/context-dev-cli/internal/debugmiddleware" + "github.com/context-dot-dev/context-dev-cli/internal/requestflag" "github.com/context-dot-dev/context-go-sdk/option" - "github.com/stainless-sdks/context.dev-cli/internal/apiform" - "github.com/stainless-sdks/context.dev-cli/internal/apiquery" - "github.com/stainless-sdks/context.dev-cli/internal/debugmiddleware" - "github.com/stainless-sdks/context.dev-cli/internal/requestflag" "github.com/goccy/go-yaml" "github.com/urfave/cli/v3" diff --git a/pkg/cmd/industry.go b/pkg/cmd/industry.go index 68861ee..0b150b5 100644 --- a/pkg/cmd/industry.go +++ b/pkg/cmd/industry.go @@ -6,10 +6,10 @@ import ( "context" "fmt" + "github.com/context-dot-dev/context-dev-cli/internal/apiquery" + "github.com/context-dot-dev/context-dev-cli/internal/requestflag" "github.com/context-dot-dev/context-go-sdk" "github.com/context-dot-dev/context-go-sdk/option" - "github.com/stainless-sdks/context.dev-cli/internal/apiquery" - "github.com/stainless-sdks/context.dev-cli/internal/requestflag" "github.com/tidwall/gjson" "github.com/urfave/cli/v3" ) diff --git a/pkg/cmd/industry_test.go b/pkg/cmd/industry_test.go index 709922c..d74383e 100644 --- a/pkg/cmd/industry_test.go +++ b/pkg/cmd/industry_test.go @@ -5,7 +5,7 @@ package cmd import ( "testing" - "github.com/stainless-sdks/context.dev-cli/internal/mocktest" + "github.com/context-dot-dev/context-dev-cli/internal/mocktest" ) func TestIndustryRetrieveNaics(t *testing.T) { diff --git a/pkg/cmd/utility.go b/pkg/cmd/utility.go index b2812ec..a690ee0 100644 --- a/pkg/cmd/utility.go +++ b/pkg/cmd/utility.go @@ -6,10 +6,10 @@ import ( "context" "fmt" + "github.com/context-dot-dev/context-dev-cli/internal/apiquery" + "github.com/context-dot-dev/context-dev-cli/internal/requestflag" "github.com/context-dot-dev/context-go-sdk" "github.com/context-dot-dev/context-go-sdk/option" - "github.com/stainless-sdks/context.dev-cli/internal/apiquery" - "github.com/stainless-sdks/context.dev-cli/internal/requestflag" "github.com/tidwall/gjson" "github.com/urfave/cli/v3" ) diff --git a/pkg/cmd/utility_test.go b/pkg/cmd/utility_test.go index 72d48cf..f1670ea 100644 --- a/pkg/cmd/utility_test.go +++ b/pkg/cmd/utility_test.go @@ -5,7 +5,7 @@ package cmd import ( "testing" - "github.com/stainless-sdks/context.dev-cli/internal/mocktest" + "github.com/context-dot-dev/context-dev-cli/internal/mocktest" ) func TestUtilityPrefetch(t *testing.T) { diff --git a/pkg/cmd/version.go b/pkg/cmd/version.go index ad586f4..1f71453 100644 --- a/pkg/cmd/version.go +++ b/pkg/cmd/version.go @@ -2,4 +2,4 @@ package cmd -const Version = "0.0.1" +const Version = "0.0.1" // x-release-please-version diff --git a/pkg/cmd/web.go b/pkg/cmd/web.go index 8a9249b..3ec5c57 100644 --- a/pkg/cmd/web.go +++ b/pkg/cmd/web.go @@ -6,10 +6,10 @@ import ( "context" "fmt" + "github.com/context-dot-dev/context-dev-cli/internal/apiquery" + "github.com/context-dot-dev/context-dev-cli/internal/requestflag" "github.com/context-dot-dev/context-go-sdk" "github.com/context-dot-dev/context-go-sdk/option" - "github.com/stainless-sdks/context.dev-cli/internal/apiquery" - "github.com/stainless-sdks/context.dev-cli/internal/requestflag" "github.com/tidwall/gjson" "github.com/urfave/cli/v3" ) diff --git a/pkg/cmd/web_test.go b/pkg/cmd/web_test.go index 586e952..5df8b61 100644 --- a/pkg/cmd/web_test.go +++ b/pkg/cmd/web_test.go @@ -5,8 +5,8 @@ package cmd import ( "testing" - "github.com/stainless-sdks/context.dev-cli/internal/mocktest" - "github.com/stainless-sdks/context.dev-cli/internal/requestflag" + "github.com/context-dot-dev/context-dev-cli/internal/mocktest" + "github.com/context-dot-dev/context-dev-cli/internal/requestflag" ) func TestWebExtract(t *testing.T) { From 7c4684e16b3adfbb8d507c28253e96beecc4359f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Jun 2026 12:20:41 +0000 Subject: [PATCH 2/2] release: 0.0.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 10 ++++++++++ pkg/cmd/version.go | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1332969..c7159c1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.1" + ".": "0.0.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c79765a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## 0.0.2 (2026-06-11) + +Full Changelog: [v0.0.1...v0.0.2](https://github.com/context-dot-dev/context-dev-cli/compare/v0.0.1...v0.0.2) + +### Chores + +* configure new SDK language ([e89b37b](https://github.com/context-dot-dev/context-dev-cli/commit/e89b37b1061f3d846832b13852a6a4117c49910b)) +* update SDK settings ([2cb5f95](https://github.com/context-dot-dev/context-dev-cli/commit/2cb5f95e56c35f5bf415999f877917625025e7ef)) diff --git a/pkg/cmd/version.go b/pkg/cmd/version.go index 1f71453..20f136d 100644 --- a/pkg/cmd/version.go +++ b/pkg/cmd/version.go @@ -2,4 +2,4 @@ package cmd -const Version = "0.0.1" // x-release-please-version +const Version = "0.0.2" // x-release-please-version