From 2c05dc0aa6c98240255eb9a05ce03d700dd6fd3b Mon Sep 17 00:00:00 2001 From: jiashuoz Date: Fri, 11 Sep 2026 11:37:43 -0700 Subject: [PATCH] chore(sdk): release the contract catch-up as 0.0.4, not 0.1.0 Every release this SDK has made is a patch step -- 0.0.1, 0.0.2, 0.0.3 -- and the closest precedent is #9, which refreshed the contract snapshot and regenerated as 0.0.2 rather than taking a minor. The 0.1.0 in the catch-up came from semver reasoning about the breaking facade rename, not from this repository's practice, and nothing was published under it. Under npm's rules the choice costs a consumer nothing either way: `^0.0.3` pins exactly, so neither 0.0.4 nor 0.1.0 reaches an existing caller without an explicit bump. What differs is the signal, and a minor here would claim a milestone the package has not reached. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01AiYiPkSwvRWDfthQUtx11Q --- scripts/generate-sdks.sh | 2 +- sdk/go/README.md | 2 +- sdk/go/configuration.go | 2 +- sdk/python/agentdrive_sdk/__init__.py | 2 +- sdk/python/agentdrive_sdk/generated/__init__.py | 2 +- sdk/python/agentdrive_sdk/generated/api_client.py | 2 +- sdk/python/agentdrive_sdk/generated/configuration.py | 2 +- sdk/python/pyproject.toml | 2 +- sdk/typescript/package-lock.json | 4 ++-- sdk/typescript/package.json | 2 +- tests/test_sdk_version.py | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/generate-sdks.sh b/scripts/generate-sdks.sh index c6ff70e..4b98044 100755 --- a/scripts/generate-sdks.sh +++ b/scripts/generate-sdks.sh @@ -9,7 +9,7 @@ ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" SPEC_INPUT="${1:-sdk/openapi.json}" SPEC="$(python3 "$ROOT/scripts/resolve_repo_path.py" "$ROOT" "$SPEC_INPUT")" cd "$ROOT" -VERSION="${SDK_VERSION:-0.1.0}" +VERSION="${SDK_VERSION:-0.0.4}" GIT_HOST="github.com" GIT_USER="tokencanopy" GIT_REPO="agentdrive-sdk" diff --git a/sdk/go/README.md b/sdk/go/README.md index 9650b2d..d69593d 100644 --- a/sdk/go/README.md +++ b/sdk/go/README.md @@ -6,7 +6,7 @@ AgentDrive is an agent-focused artifact store: drive-scoped folders, artifacts, This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: <PINNED> -- Package version: 0.1.0 +- Package version: 0.0.4 - Generator version: 7.16.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen diff --git a/sdk/go/configuration.go b/sdk/go/configuration.go index 351b3f0..1ca78ac 100644 --- a/sdk/go/configuration.go +++ b/sdk/go/configuration.go @@ -89,7 +89,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.1.0/go", + UserAgent: "OpenAPI-Generator/0.0.4/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/sdk/python/agentdrive_sdk/__init__.py b/sdk/python/agentdrive_sdk/__init__.py index f4f7bd9..1791a49 100644 --- a/sdk/python/agentdrive_sdk/__init__.py +++ b/sdk/python/agentdrive_sdk/__init__.py @@ -86,4 +86,4 @@ "split_parent_path", ] -__version__ = "0.1.0" +__version__ = "0.0.4" diff --git a/sdk/python/agentdrive_sdk/generated/__init__.py b/sdk/python/agentdrive_sdk/generated/__init__.py index 7a03d43..d08cf2c 100644 --- a/sdk/python/agentdrive_sdk/generated/__init__.py +++ b/sdk/python/agentdrive_sdk/generated/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "0.1.0" +__version__ = "0.0.4" # Define package exports __all__ = [ diff --git a/sdk/python/agentdrive_sdk/generated/api_client.py b/sdk/python/agentdrive_sdk/generated/api_client.py index 6b678fb..ed2353f 100644 --- a/sdk/python/agentdrive_sdk/generated/api_client.py +++ b/sdk/python/agentdrive_sdk/generated/api_client.py @@ -91,7 +91,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.1.0/python' + self.user_agent = 'OpenAPI-Generator/0.0.4/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/sdk/python/agentdrive_sdk/generated/configuration.py b/sdk/python/agentdrive_sdk/generated/configuration.py index 705f7db..c4d9a9e 100644 --- a/sdk/python/agentdrive_sdk/generated/configuration.py +++ b/sdk/python/agentdrive_sdk/generated/configuration.py @@ -511,7 +511,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: <PINNED>\n"\ - "SDK Package Version: 0.1.0".\ + "SDK Package Version: 0.0.4".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml index 1c66a8e..7f97623 100644 --- a/sdk/python/pyproject.toml +++ b/sdk/python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "agentdrive_sdk" -version = "0.1.0" +version = "0.0.4" description = "AgentDrive" authors = [ {name = "OpenAPI Generator Community",email = "team@openapitools.org"}, diff --git a/sdk/typescript/package-lock.json b/sdk/typescript/package-lock.json index e9bab6a..62537ef 100644 --- a/sdk/typescript/package-lock.json +++ b/sdk/typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tokencanopy/agentdrive-sdk", - "version": "0.1.0", + "version": "0.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@tokencanopy/agentdrive-sdk", - "version": "0.1.0", + "version": "0.0.4", "devDependencies": { "typescript": "^4.0 || ^5.0" } diff --git a/sdk/typescript/package.json b/sdk/typescript/package.json index e88d0a9..ffe99e0 100644 --- a/sdk/typescript/package.json +++ b/sdk/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tokencanopy/agentdrive-sdk", - "version": "0.1.0", + "version": "0.0.4", "description": "OpenAPI client for @tokencanopy/agentdrive-sdk", "author": "OpenAPI-Generator", "repository": { diff --git a/tests/test_sdk_version.py b/tests/test_sdk_version.py index b528c46..f9aafc4 100644 --- a/tests/test_sdk_version.py +++ b/tests/test_sdk_version.py @@ -6,7 +6,7 @@ from pathlib import Path -EXPECTED_VERSION = "0.1.0" +EXPECTED_VERSION = "0.0.4" ROOT = Path(__file__).resolve().parents[1]