Repository navigation
Releases: QoderAI/qoder-cloud-agents-sdk-python
Releases · QoderAI/qoder-cloud-agents-sdk-python
Release list
v0.12.0
Added
- Forward resource search for Environments, Skills, Vaults, and Files, with PAT Identity scope in the query.
- Managed resource search for Agents, Sessions, Deployments, Environments, Skills, Vaults, Files, and Memory Stores, including typed metadata and resource filters.
- Automatic Search beta headers and POST body cursor pagination that preserves filters and request options across pages.
v0.11.0
Changed
- Clarify that the Forward Decision API is in Beta and its behavior may change in future updates.
Breaking changes
- Align Beta Forward Decision responses with the updated API: remove
usage, therefusalanswer type/field, and internal context fields (policy_version,token_estimator,estimated_input_tokens,max_input_tokens,snapshot_at,scan_limited,truncated,truncation_reasons).
Fixed
- Accept Decision responses without
usagewhen strict response validation is enabled.
v0.10.0
Added
- Add Forward Decisions for synchronous evaluation of explicit state or accessible Session history, with choice and score questions, idempotent creation, retrieval, cursor pagination, and typed context truncation/token-estimate metadata.
v0.9.0
Added
- Add Forward Webhook endpoint creation, listing, retrieval, partial update, deletion, enable/disable and synthetic test delivery.
- Add raw-body webhook signature verification with HMAC-SHA256, multiple v1 signatures and a 300-second timestamp window; include receiver examples and offline contracts.
v0.8.0
Fixed
- Align existing Managed Session and Deployment resource types with generic HTTP(S)
git_repository, including write-only credentials, branch/commit checkout, and optional GitHub authorization for public repositories. - Add Forward Template
max_tool_rounds, Batchignore_idle_window/queue_reason, and Session listsearch; preserve omitted, null, false, and zero values according to each API contract. - Expose Forward Session outcome evaluations and Thread statistics/Credits, Schedule and Run source/input-version metadata, and trigger time boundaries.
- Support Forward MemoryStore creation with a native
mount(Identity, Template, and optional access), preserving the create request's idempotency key for retries. - Expose self-hosted Environment setup scripts, Forward Environment binding metadata, Managed MemoryStore status/count/size, and Dream output file paths.
- Decode flat
agent.artifact_deliveredfields and diagnosticsession.error.error.qoder_error_codein Managed event history, Session SSE, and Thread SSE. No additional API endpoints are introduced.
Migration
- Omitting
max_tool_roundson update preserves the configured limit; null clears it.ignore_idle_windowaccepts a boolean, with false as the server default. - Treat an absent Schedule Run input version or Thread usage as unknown, not zero. Use
retry_statusrather thanqoder_error_codeto decide whether execution can retry.
v0.7.0
Fixed
- Align Managed Session budgets with the official decimal-string
max_credit_costcontract, shared by Deployment budgets. The limit covers cumulative model and sandbox Credits; reaching it rejects the next user message without interrupting the current turn. - Expose Managed and Forward Session
model_credits,sandbox_runtime_credits, andtotal_credits; decode top-levelsession.usageCredits and per-callmodel_usage.credits/ compactionusage.credits. Session usage may be absent. Legacy response token/list-cost fields remain available. - Route Identity ownership through query parameters on existing Forward Environment, Skill/Version, Vault/Credential, and File operations, including multipart uploads and content downloads.
- Allow existing channel pairing creation with either a code or
channel_pairing_id, and expose pairing scope details. No additional API endpoints are introduced.
Migration
- Breaking budget field change: Replace
{"type": "limit", "max_list_cost": {...}}with{"type": "limit", "max_credit_cost": "100.00"}. Amounts are positive decimal strings, not currency objects. Omitting a budget update preserves the limit; explicit null removes it. - Consume the three top-level Credits fields from
session.usageevents. Replace cumulative snapshots rather than adding them; compaction Credits are already included in Session totals. - Pass the keyword argument
identity_id="idn_..."to resource methods. Use this only with a PAT. With a SAT, omitidentity_id; the server infers ownership from the token and rejects explicit values (including an empty string). - Channel pairing requests must provide exactly one of
codeorchannel_pairing_id; existing code-based calls remain supported.
v0.6.0
Added
- Forward Drive Beta: typed directory listing, upload/download signed URLs, entry deletion and Drive clearing, with required Identity scope, independent cursor pagination, service ordering and canonical directory query encoding.
- Template
managed_tool_config.enabled_toolsin create/update requests and responses, including omission, empty-list and null semantics. Runnable Drive examples keep storage requests separate from QCA authentication; opt-in CN/Global lifecycle tests cover PAT, admin SAT and Identity SAT.
v0.5.0
Added
- Forward admin and Identity SAT issuance and Forward SAT revocation, using explicit per-call SA Key authentication, typed issuance/revocation metadata, and no automatic retries. Existing platform credentials and PAT/SAT business authentication remain unchanged.
- Forward Realtime (Beta): synchronous/asynchronous Conversation creation with stable idempotency keys, independent history pages, and WebSocket connections that wait for readiness, preserve typed/unknown events, reuse PAT/SAT/Credential authentication, and expose text/PCM16, interruption, playback receipt, and verified graceful-close helpers.
- Bounded Realtime queues, protocol/timeout errors, opt-in CN/Global connection and history smoke checks, and text/PCM/history examples. Adds websockets 16.x while retaining Python 3.10 support; no automatic reconnect/replay or Realtime Template configuration API.
- Realtime SA access requires a Forward-issued bound SAT and a Realtime-enabled Template; a platform SAT from
ServiceAccountCredentialalone does not establish the required Forward binding.
Fixed
- Accept string-valued Managed model effort in Agent and Session responses, including strict response validation, while retaining support for structured effort values.
v0.4.0
Added
- Read-only SA Key and SAT authentication examples, plus explicit PAT/SA selection for existing business examples without duplicating scenarios.
- Shared PAT and Service Account authentication for Forward and Managed, including explicit SA mode, direct SAT access, and lazy SA Key exchange with an instance-owned cache, early renewal, concurrent request sharing, and failure cooldown.
- Separate CN/Global SA authentication smoke checks for both API surfaces, covering automatic exchange and direct SAT use, plus opt-in write/read, Session SSE and cleanup verification.
Changed
- Support
QODER_ACCESS_TOKENfor the selected mode. SA never falls back toQODER_PAT; ordinary clients never implicitly readQODER_SA_KEY. - Add
access_token,auth_mode, and matching sync/async SA credentials. Client copies retain authentication mode and source. - Explicit credentials now take precedence over ambient PAT. Explicit
patplus a legacy custom credential retains PAT precedence.
Migration
- For an existing SAT, select SA mode and supply the neutral token option. For automatic exchange, construct a Service Account credential with explicit region and scopes; do not combine it with a static token. Existing PAT calls require no new mode argument.
- Applications that configured both an ambient PAT and an explicit credential now use the credential. Remove the credential and configure an explicit PAT to retain personal-user authentication.
Fixed
- The Deployment example waits for an assistant reply and completion before cleaning up its session, and fails when the run has no session or execution stops with an error.
v0.3.0
Added
- Forward Vault Credential updates for secret rotation and metadata merge patches, with automatic retries disabled for write-only updates.
- Forward Usage aggregation by Identity and Template using hourly
start_at/end_atwindows in Asia/Shanghai, with fractionalactive_secondsand multi-ID filters. Legacy timestamp parameters are not exposed. - Managed Session cancellation with the lightweight acknowledgement for both active and idle sessions, plus deployment-scoped Run listing and retrieval.