Skip to content

chore: release main#464

Open
stainless-app[bot] wants to merge 5 commits into
mainfrom
release-please--branches--main--changes--next
Open

chore: release main#464
stainless-app[bot] wants to merge 5 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

✨ Stainless prepared a new release

agentex-client: 0.21.0

0.21.0 (2026-07-24)

Full Changelog: agentex-client-v0.20.0...agentex-client-v0.21.0

Features

  • api: add include_live parameter to schedules list method (199fd6a)
  • stlc: configurable CI runner and private-production-repo support in workflow templates (23c1b6b)
agentex-sdk: 0.21.0

0.21.0 (2026-07-24)

Full Changelog: agentex-sdk-v0.20.0...agentex-sdk-v0.21.0

Chores

  • agentex-sdk: Synchronize agentex versions

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 a Stainless-generated release PR bumping both agentex-client and agentex-sdk from 0.20.0 to 0.21.0. The substantive code changes add a new include_live query parameter to the schedules list API and introduce an observability-correlation module that tags business spans with the active OTel/ddtrace context.

  • Schedules API (schedules.py, schedule_list_params.py, all schedule response types): adds include_live: bool as an optional query parameter and live_data_available: Optional[bool] to every schedule response model, consistently across both sync and async clients.
  • Observability correlation (obs_ids.py, trace.py): new obs_correlation() helper reads SGP_OBS_MODE to select ddtrace, OTel, or dual-stack context and tags business spans with obs.trace_id/obs.span_id, preserving the run-level trace_id (task ID) unchanged.
  • CI workflow (ci.yml): broadens the depot-runner condition from an exact repo name match to startsWith(github.repository, 'stainless-sdks/'), supporting private-production-repo forks.

Confidence Score: 5/5

Safe to merge — all changes are additive, backward-compatible, and consistently applied across sync and async surfaces.

The observability correlation module is well-guarded (optional imports, no fabricated IDs, env-var mode selection), the schedule API additions are straightforward optional fields, and the CI change is a narrowly scoped broadening of a string-prefix check. No existing behavior is modified.

No files require special attention.

Important Files Changed

Filename Overview
src/agentex/lib/core/tracing/obs_ids.py New module that extracts OTel/ddtrace trace and span IDs for business-span correlation; gracefully handles missing optional deps, respects SGP_OBS_MODE, and never fabricates IDs.
src/agentex/lib/core/tracing/trace.py Integrates obs_correlation() into both Trace and AsyncTrace.start_span; uses spread-merge pattern to non-destructively inject obs.trace_id/obs.span_id into serialized_data.
src/agentex/resources/agents/schedules.py Adds include_live optional parameter to both sync and async list() methods, wired correctly through maybe_transform into the query dict.
src/agentex/types/agents/schedule_list_params.py Adds include_live: bool to ScheduleListParams TypedDict, consistent with the new API parameter.
.github/workflows/ci.yml Broadens depot-runner condition from exact repo match to prefix match, enabling the workflow to work in private-production repo forks under stainless-sdks/.
tests/api_resources/agents/test_schedules.py Test coverage updated for both sync and async list() to include include_live=True in the all-params variant.

Reviews (4): Last reviewed commit: "chore: release main" | Re-trigger Greptile

@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 7f14903 to e70f46e Compare July 21, 2026 18:29
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from e70f46e to 74d4c40 Compare July 21, 2026 23:06
NiteshDhanpal and others added 2 commits July 23, 2026 23:18
…ty trace (#465)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 74d4c40 to 2365a59 Compare July 24, 2026 06:19
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.

1 participant