Skip to content

Commit f312fef

Browse files
stainless-app[bot]max-parke-scaleclaude
authored
chore: release main (#404)
Co-authored-by: Max Parke <max.parke@scale.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 35fc4b8 commit f312fef

21 files changed

Lines changed: 13879 additions & 17 deletions

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ jobs:
6161
# force-include can't build via the sdist-then-wheel default.
6262
run: uv build --all-packages --wheel
6363

64+
- name: Smoke-test wheel install
65+
# Both wheels must install together into one working agentex.* namespace.
66+
run: ./scripts/check-wheel-install
67+
6468
- name: Get GitHub OIDC Token
6569
if: |-
6670
github.repository == 'stainless-sdks/agentex-sdk-python' &&

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
".": "0.13.0",
3-
"adk": "0.13.0"
2+
".": "0.13.1",
3+
"adk": "0.13.1"
44
}

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66

77
* **tracing:** emit OTel metrics for async span queue depth, batch drain, and SGP export success/failure (HTTP status labels). Disable SDK-side recording with ``AGENTEX_TRACING_METRICS=0``.
88

9+
## 0.13.1 (2026-06-17)
10+
11+
Full Changelog: [agentex-client-v0.13.0...agentex-client-v0.13.1](https://github.com/scaleapi/scale-agentex-python/compare/agentex-client-v0.13.0...agentex-client-v0.13.1)
12+
13+
### Bug Fixes
14+
15+
* **adk:** re-send task_id/agent_id in state updates for backend compatibility ([#405](https://github.com/scaleapi/scale-agentex-python/issues/405)) ([f59f26d](https://github.com/scaleapi/scale-agentex-python/commit/f59f26d4402f01318cf34d57820e121d97719986))
16+
* **packaging:** guard agentex-client surface, bump floor, smoke-test wheel install ([#406](https://github.com/scaleapi/scale-agentex-python/issues/406)) ([a5abbb9](https://github.com/scaleapi/scale-agentex-python/commit/a5abbb9669c6ab71c52e60db72676c95c20d840d))
17+
18+
19+
### Documentation
20+
21+
* drop stale keep_files / dashboard-config comments ([#401](https://github.com/scaleapi/scale-agentex-python/issues/401)) ([23858df](https://github.com/scaleapi/scale-agentex-python/commit/23858df775d0a617c6418eed28f1b68c9bf9ed5c))
22+
923
## 0.13.0 (2026-06-10)
1024

1125
Full Changelog: [agentex-client-v0.12.0...agentex-client-v0.13.0](https://github.com/scaleapi/scale-agentex-python/compare/agentex-client-v0.12.0...agentex-client-v0.13.0)

adk/CHANGELOG.md

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

3+
## 0.13.1 (2026-06-17)
4+
5+
Full Changelog: [agentex-sdk-v0.13.0...agentex-sdk-v0.13.1](https://github.com/scaleapi/scale-agentex-python/compare/agentex-sdk-v0.13.0...agentex-sdk-v0.13.1)
6+
7+
### Bug Fixes
8+
9+
* **packaging:** guard agentex-client surface, bump floor, smoke-test wheel install ([#406](https://github.com/scaleapi/scale-agentex-python/issues/406)) ([a5abbb9](https://github.com/scaleapi/scale-agentex-python/commit/a5abbb9669c6ab71c52e60db72676c95c20d840d))
10+
11+
12+
### Documentation
13+
14+
* drop stale keep_files / dashboard-config comments ([#401](https://github.com/scaleapi/scale-agentex-python/issues/401)) ([23858df](https://github.com/scaleapi/scale-agentex-python/commit/23858df775d0a617c6418eed28f1b68c9bf9ed5c))
15+
316
## 0.13.0 (2026-06-10)
417

518
Full Changelog: [agentex-sdk-v0.12.0...agentex-sdk-v0.13.0](https://github.com/scaleapi/scale-agentex-python/compare/agentex-sdk-v0.12.0...agentex-sdk-v0.13.0)

adk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ The two packages contribute disjoint files to the `agentex.*` namespace — `age
2929

3030
## Repo layout
3131

32-
This package is hand-authored and lives at `adk/` inside [scaleapi/scale-agentex-python](https://github.com/scaleapi/scale-agentex-python). The Stainless generator preserves `adk/**` via `keep_files` so its codegen never touches anything here. The sibling `agentex-client` package lives at the repo root and IS Stainless-generated.
32+
This package is hand-authored and lives at `adk/` inside [scaleapi/scale-agentex-python](https://github.com/scaleapi/scale-agentex-python). Stainless codegen never touches `adk/**` — it's outside the generated surface. The sibling `agentex-client` package lives at the repo root and IS Stainless-generated.

adk/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33
# `agentex/lib/*` to the agentex.* namespace; the REST client surface
44
# (agentex/{__init__.py, _*.py, types/, resources/}) ships from the slim
55
# sibling package `agentex-client` which is pinned as a runtime dep.
6-
#
7-
# This entire `adk/` directory must be preserved across Stainless codegen
8-
# via `keep_files: ["adk/**"]` in the Stainless dashboard config.
96
name = "agentex-sdk"
10-
version = "0.13.0"
7+
version = "0.13.1"
118
description = "Agent Development Kit (ADK) overlay for the Agentex API — FastACP server, Temporal workflows, LLM provider integrations, observability"
129
license = "Apache-2.0"
1310
authors = [
@@ -18,7 +15,7 @@ readme = "README.md"
1815
dependencies = [
1916
# Co-released in lockstep; floor-only by design — a ceiling would
2017
# eventually exclude the co-versioned slim (release-please can't bump it).
21-
"agentex-client>=0.12.0",
18+
"agentex-client>=0.13.0",
2219
# CLI surface (agentex.lib.cli.*, agentex.lib.sdk.config.*)
2320
"typer>=0.16,<0.17",
2421
"questionary>=2.0.1,<3",

pyproject.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@
22
# This is the Stainless-generated REST client. The hand-authored ADK
33
# overlay (formerly `src/agentex/lib/*`) now lives in `adk/` and ships
44
# as the sibling `agentex-sdk` package — see `adk/pyproject.toml`.
5-
#
6-
# Stainless dashboard config must:
7-
# - Rename `package_name` from `agentex-sdk` to `agentex-client`
8-
# - Reduce the dep list to the 6 bare-client deps below
9-
# - Add `adk/**` to `keep_files` so the ADK overlay persists across codegen
105
name = "agentex-client"
11-
version = "0.13.0"
6+
version = "0.13.1"
127
description = "The official Python REST client for the Agentex API"
138
dynamic = ["readme"]
149
license = "Apache-2.0"

scripts/check-wheel-install

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env bash
2+
# Smoke: agentex-client + agentex-sdk must install together into one working
3+
# agentex.* namespace. Builds + installs in a clean temp dir to avoid stale dist/.
4+
5+
set -euo pipefail
6+
7+
cd "$(dirname "$0")/.."
8+
9+
work="$(mktemp -d)"
10+
echo "==> building both wheels into $work/dist"
11+
uv build --all-packages --wheel --out-dir "$work/dist"
12+
13+
venv="$work/venv"
14+
uv venv "$venv" >/dev/null
15+
echo "==> installing both wheels into a fresh venv"
16+
uv pip install --python "$venv" "$work"/dist/agentex_client-*.whl "$work"/dist/agentex_sdk-*.whl
17+
18+
echo "==> importing the merged namespace from the installed wheels"
19+
"$venv/bin/python" - <<'PY'
20+
import agentex.lib.adk # ADK overlay — ships in agentex-sdk
21+
from agentex.types import Event # client surface — ships in agentex-client
22+
from agentex.resources import states # client surface that "didn't land" in the incident
23+
24+
print("agentex namespace OK:", Event.__name__, states.__name__)
25+
PY

src/agentex/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "agentex"
4-
__version__ = "0.13.0" # x-release-please-version
4+
__version__ = "0.13.1" # x-release-please-version

src/agentex/lib/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from agentex.lib._version_guard import verify_client_compatibility
2+
3+
# Fail fast + clearly on a skewed/incomplete agentex-client install.
4+
verify_client_compatibility()

0 commit comments

Comments
 (0)