From c2970117b64c724fe1dc81cd0c66190ed0711936 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 21:42:35 +0000 Subject: [PATCH 1/3] chore(api): remove some nonfunctional types from the SDKs --- .stats.yml | 6 +++--- pkg/cmd/betamemorystorememory.go | 8 ++++---- pkg/cmd/betaskill.go | 11 ++++++----- pkg/cmd/betaskill_test.go | 6 +++--- pkg/cmd/betaskillversion.go | 1 + pkg/cmd/betaskillversion_test.go | 2 +- 6 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.stats.yml b/.stats.yml index c45ebbf..960a555 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 116 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic/anthropic-dffbd6e37f0be6d218800cdb283e5ad958c715021986d788e10c89c0a80a9f44.yml -openapi_spec_hash: 753042938edfcbf43eb60c63c3369a30 -config_hash: 2fc184efddefac872a2f58876711b4f5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic/anthropic-22e4e7c84b8efa6d1777ad68e350fe88205ca55933c9b1042bcf04fc6437825f.yml +openapi_spec_hash: f61203a73768b7175003b648c986e3f9 +config_hash: 6850143d4cb11e40948430dd9ee88369 diff --git a/pkg/cmd/betamemorystorememory.go b/pkg/cmd/betamemorystorememory.go index 48b7a8c..46c2e8e 100644 --- a/pkg/cmd/betamemorystorememory.go +++ b/pkg/cmd/betamemorystorememory.go @@ -152,12 +152,12 @@ var betaMemoryStoresMemoriesList = cli.Command{ }, &requestflag.Flag[int64]{ Name: "depth", - Usage: "Query parameter for depth", + Usage: "`0` (or omitted) returns all descendants below `path_prefix` (recursive). `1` returns immediate children only; deeper entries roll up as `memory_prefix` items. `depth=1` behaves like `ls`; omitting `depth` behaves like `find`.", QueryPath: "depth", }, &requestflag.Flag[int64]{ Name: "limit", - Usage: "Query parameter for limit", + Usage: "Maximum number of items to return per page. Must be between 1 and 100. Defaults to 20 when omitted. Capped at 20 when `view=full`. Both `memory` and `memory_prefix` items count toward the limit.", QueryPath: "limit", }, &requestflag.Flag[string]{ @@ -172,12 +172,12 @@ var betaMemoryStoresMemoriesList = cli.Command{ }, &requestflag.Flag[string]{ Name: "page", - Usage: "Query parameter for page", + Usage: "Opaque pagination cursor (a `page_...` value). Pass the `next_page` value from a previous response to fetch the next page; omit for the first page.", QueryPath: "page", }, &requestflag.Flag[string]{ Name: "path-prefix", - Usage: "Optional path prefix filter (raw string-prefix match; include a trailing slash for directory-scoped lists). This value appears in request URLs. Do not include secrets or personally identifiable information.", + Usage: "Optional path prefix filter. Must end with `/` (segment-aligned), e.g., `/notes/`. This value appears in request URLs. Do not include secrets or personally identifiable information.", QueryPath: "path_prefix", }, &requestflag.Flag[string]{ diff --git a/pkg/cmd/betaskill.go b/pkg/cmd/betaskill.go index 4d45a98..0c79b28 100644 --- a/pkg/cmd/betaskill.go +++ b/pkg/cmd/betaskill.go @@ -19,17 +19,18 @@ var betaSkillsCreate = cli.Command{ Usage: "Create Skill", Suggest: true, Flags: []cli.Flag{ - &requestflag.Flag[*string]{ - Name: "display-title", - Usage: "Display title for the skill.\n\nThis is a human-readable label that is not included in the prompt sent to the model.", - BodyPath: "display_title", - }, &requestflag.Flag[[]string]{ Name: "file", Usage: "Files to upload for the skill.\n\nAll files must be in the same top-level directory and must include a SKILL.md file at the root of that directory.", + Required: true, BodyPath: "files", FileInput: true, }, + &requestflag.Flag[*string]{ + Name: "display-title", + Usage: "Display title for the skill.\n\nThis is a human-readable label that is not included in the prompt sent to the model.", + BodyPath: "display_title", + }, &requestflag.Flag[[]string]{ Name: "beta", Usage: "Optional header to specify the beta version(s) you want to use.", diff --git a/pkg/cmd/betaskill_test.go b/pkg/cmd/betaskill_test.go index 51ef552..903934e 100644 --- a/pkg/cmd/betaskill_test.go +++ b/pkg/cmd/betaskill_test.go @@ -16,8 +16,8 @@ func TestBetaSkillsCreate(t *testing.T) { t, "--api-key", "string", "beta:skills", "create", + "--file", mocktest.TestFile(t, "Example data"), "--display-title", "display_title", - "--file", mocktest.TestFile(t, "[Example data]"), "--beta", "message-batches-2024-09-24", ) }) @@ -26,9 +26,9 @@ func TestBetaSkillsCreate(t *testing.T) { testFile := mocktest.TestFile(t, "Example data") // Test piping YAML data over stdin pipeDataStr := "" + - "display_title: display_title\n" + "files:\n" + - " - Example data\n" + " - Example data\n" + + "display_title: display_title\n" pipeDataStr = strings.ReplaceAll(pipeDataStr, "Example data", testFile) pipeData := []byte(pipeDataStr) mocktest.TestRunMockTestWithPipeAndFlags( diff --git a/pkg/cmd/betaskillversion.go b/pkg/cmd/betaskillversion.go index 7a89ddc..adac7be 100644 --- a/pkg/cmd/betaskillversion.go +++ b/pkg/cmd/betaskillversion.go @@ -29,6 +29,7 @@ var betaSkillsVersionsCreate = cli.Command{ &requestflag.Flag[[]string]{ Name: "file", Usage: "Files to upload for the skill.\n\nAll files must be in the same top-level directory and must include a SKILL.md file at the root of that directory.", + Required: true, BodyPath: "files", FileInput: true, }, diff --git a/pkg/cmd/betaskillversion_test.go b/pkg/cmd/betaskillversion_test.go index 462be20..f807694 100644 --- a/pkg/cmd/betaskillversion_test.go +++ b/pkg/cmd/betaskillversion_test.go @@ -17,7 +17,7 @@ func TestBetaSkillsVersionsCreate(t *testing.T) { "--api-key", "string", "beta:skills:versions", "create", "--skill-id", "skill_id", - "--file", mocktest.TestFile(t, "[Example data]"), + "--file", mocktest.TestFile(t, "Example data"), "--beta", "message-batches-2024-09-24", ) }) From c54265c572d7b20bc750a97c21031f4c5de1c68d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 22:00:34 +0000 Subject: [PATCH 2/3] feat(api): manual updates --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index da00ca2..69d223c 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/anthropics/anthropic-cli go 1.25 require ( - github.com/anthropics/anthropic-sdk-go v1.55.0 + github.com/anthropics/anthropic-sdk-go v1.55.1 github.com/charmbracelet/bubbles v0.21.0 github.com/charmbracelet/bubbletea v1.3.6 github.com/charmbracelet/lipgloss v1.1.0 diff --git a/go.sum b/go.sum index 22b6403..3296a47 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/anthropics/anthropic-sdk-go v1.55.0 h1:bBAuqAsRQaDQADZ3FqsJex1qMOdUr/kgZELLk/vnu/c= -github.com/anthropics/anthropic-sdk-go v1.55.0/go.mod h1:3EfIfmFqxH6rbiLcIP4tPFyXL/IHakx2wDG4OU+TIEI= +github.com/anthropics/anthropic-sdk-go v1.55.1 h1:GxukHUVou6AFIngxa/Aw1z79hmwg13Hmn++KE9werbM= +github.com/anthropics/anthropic-sdk-go v1.55.1/go.mod h1:3EfIfmFqxH6rbiLcIP4tPFyXL/IHakx2wDG4OU+TIEI= github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/aymanbagabas/go-udiff v0.2.0 h1:TK0fH4MteXUDspT88n8CKzvK0X9O2xu9yQjWpi6yML8= From 3ea8d894ab58640dac698a8ada03c33ba3008fe8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 22:01:20 +0000 Subject: [PATCH 3/3] release: 1.15.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ pkg/cmd/version.go | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a780111..7ccfe12 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.14.1" + ".": "1.15.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e2c483..d6a3bf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 1.15.0 (2026-07-01) + +Full Changelog: [v1.14.1...v1.15.0](https://github.com/anthropics/anthropic-cli/compare/v1.14.1...v1.15.0) + +### Features + +* **api:** manual updates ([c54265c](https://github.com/anthropics/anthropic-cli/commit/c54265c572d7b20bc750a97c21031f4c5de1c68d)) + + +### Chores + +* **api:** remove some nonfunctional types from the SDKs ([c297011](https://github.com/anthropics/anthropic-cli/commit/c2970117b64c724fe1dc81cd0c66190ed0711936)) + ## 1.14.1 (2026-07-01) Full Changelog: [v1.14.0...v1.14.1](https://github.com/anthropics/anthropic-cli/compare/v1.14.0...v1.14.1) diff --git a/pkg/cmd/version.go b/pkg/cmd/version.go index 284ed0b..8ae26c6 100644 --- a/pkg/cmd/version.go +++ b/pkg/cmd/version.go @@ -2,4 +2,4 @@ package cmd -const Version = "1.14.1" // x-release-please-version +const Version = "1.15.0" // x-release-please-version