Skip to content

release: 0.11.9#389

Merged
stainless-app[bot] merged 21 commits into
mainfrom
release-please--branches--main--changes--next
Jun 2, 2026
Merged

release: 0.11.9#389
stainless-app[bot] merged 21 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Jun 1, 2026

Automated Release PR

Linear: AGX1-309: Agentex SDK: add register-build endpoint + publish


0.11.9 (2026-06-02)

Full Changelog: v0.11.8...v0.11.9

Features

  • api: add register build api endpoint (30c5da4)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

Greptile Summary

This is an automated Stainless SDK release (0.11.8 → 0.11.9) adding the register_build API endpoint, which lets clients register an agent at build time before it is deployed.

  • Adds register_build method to both AgentsResource and AsyncAgentsResource, along with raw-response and streaming-response wrappers, following existing patterns exactly.
  • Introduces AgentRegisterBuildParams TypedDict and exports it from the types package; adds \"BuildOnly\" to the Agent.status Literal union.
  • Version bump across pyproject.toml, _version.py, .release-please-manifest.json, and CHANGELOG.md; endpoint count in .stats.yml increments from 63 to 64.

Confidence Score: 5/5

This PR is safe to merge — it is a clean, auto-generated SDK addition with no logic changes to existing endpoints.

The change adds a single new method on the agents resource, mirroring every established pattern in the file (TypedDict params, omit defaults, sync/async parity, raw/streaming wrappers). The new 'BuildOnly' status is an additive, non-breaking change to the Agent model. No existing behaviour is altered.

No files require special attention.

Important Files Changed

Filename Overview
src/agentex/resources/agents/agents.py Adds register_build method to both sync and async agent resource classes, plus raw/streaming response wrappers — mirrors the existing patterns cleanly.
src/agentex/types/agent_register_build_params.py New TypedDict for register_build parameters with correct Required markers and Optional typing.
src/agentex/types/agent.py Adds 'BuildOnly' to the Agent status Literal union to reflect the new pre-deploy registration state.
src/agentex/types/init.py Exports the new AgentRegisterBuildParams type from the types package.
tests/api_resources/test_agents.py Adds four sync and four async test cases for register_build, all skipped per repo convention (mock server disabled).

Sequence Diagram

sequenceDiagram
    participant Client
    participant AgentsResource
    participant API as /agents/register-build

    Client->>AgentsResource: register_build(description, name, [agent_input_type, principal_context, registration_metadata])
    AgentsResource->>API: POST /agents/register-build (body)
    API-->>AgentsResource: Agent (status: "BuildOnly")
    AgentsResource-->>Client: Agent
Loading

Reviews (3): Last reviewed commit: "release: 0.11.9" | Re-trigger Greptile

max-parke-scale and others added 19 commits May 26, 2026 17:48
)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Declan Brady <declan.brady@scale.com>
Co-authored-by: Michael Chou <michael.chou@scale.com>
…ts adapter (#375)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…nc + temporal) (#377)

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>
Co-authored-by: Max Parke <max.parke@scale.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Declan Brady <declan.brady@scale.com>
Co-authored-by: Michael Chou <michael.chou@scale.com>
Co-authored-by: Daniel Miller <daniel.miller@scale.com>
Co-authored-by: Matteo Librizzi <matteo.librizzi@scale.com>
…into-next-2

# Conflicts:
#	src/agentex/lib/core/tracing/span_queue.py
#	tests/lib/core/tracing/test_span_queue.py
chore: back-merge main into next (merge commit to clear release PR #382)
Add OpenTelemetry metrics for async span queue processing and SGP export:
queue depth, batch lag, drain duration, shutdown flush timing, and
export success/failure counters with bounded HTTP status labels.

Introduce AGENTEX_TRACING_METRICS=0|false|no|off kill switch to disable
SDK-side recording without code changes.

Linear: SGPINF-1863
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
….7-into-next

# Conflicts:
#	CHANGELOG.md
#	src/agentex/lib/core/tracing/span_queue.py
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 373b8cf to 120ce91 Compare June 2, 2026 16:46
@stainless-app stainless-app Bot changed the title release: 0.11.9 release: 0.12.0 Jun 2, 2026
@declan-scale declan-scale changed the title release: 0.12.0 release: 0.11.9 Jun 2, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 120ce91 to a1bdfb5 Compare June 2, 2026 16:46
@stainless-app stainless-app Bot changed the title release: 0.11.9 release: 0.12.0 Jun 2, 2026
@declan-scale declan-scale changed the title release: 0.12.0 release: 0.11.9 Jun 2, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from a1bdfb5 to b4089e5 Compare June 2, 2026 16:47
@stainless-app stainless-app Bot changed the title release: 0.11.9 release: 0.12.0 Jun 2, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from b4089e5 to 67534c9 Compare June 2, 2026 16:47
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 67534c9 to 04c439d Compare June 2, 2026 16:47
@declan-scale declan-scale changed the title release: 0.12.0 release: 0.11.9 Jun 2, 2026
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Jun 2, 2026

Release version edited manually

The Pull Request version has been manually set to 0.11.9 and will be used for the release.

If you instead want to use the version number 0.12.0 generated from conventional commits, just remove the label autorelease: custom version from this Pull Request.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 04c439d to 63dfe39 Compare June 2, 2026 16:50
@stainless-app stainless-app Bot merged commit 413b755 into main Jun 2, 2026
46 checks passed
@stainless-app stainless-app Bot deleted the release-please--branches--main--changes--next branch June 2, 2026 18:07
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Jun 2, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants