Repository navigation
Releases
v0.15.0
Added
-
Bind a Managed Session to a BYOC MCP tunnel with
tunnel_idat creation. On Forward, set the tunnel on a Template for its sessions to inherit. Managed Deployments also accept and return the binding. Template and Deployment updates can replace or clear it. -
Add typed Forward Session budgets across create/update responses and events, including omission, explicit null clearing and decimal-string limits.
-
Add Forward Session
config.modeloverrides and modelspeedconfiguration, plus optional approval evaluation details, Outcome/status event fields and cumulative top-level Credits onsession.usage. -
Add
startup_scriptto Forward/Managed Environment models and Managed cloud/self-hosted parameters. It runs on sandbox start/resume; the external worker controls self-hosted execution. -
Add Managed Memory
version, versionredacted, and Vault creation-responsecredentialsfields. Vault creation still does not accept credentials in its request.
Fixed
- Decode Forward event
evaluated_permissionas a string and align Managed Thread/coordinator nested model effort and context-window fields. - Add the current Memory version
updatedoperation and list-item metadata/version fields; retain the legacyModifiedconstant as deprecated.
Breaking changes
- Forward
SessionEvent.EvaluatedPermissionand the Managed Thread/coordinator union modelEffortfields now use strings instead of object types.
Migration
- Compare
event.EvaluatedPermissiondirectly to"allow","ask"or"deny"; automatic approval details are underevent.Evaluation.EvaluatedPermission. - Read nested model
Effortdirectly as a string. Legacy Managed modelSpeedand ThreadUsageremain available but deprecated; current Thread responses omit usage. - Use
param.NullStruct[forward.SessionBudgetParam]()to clear a budget andparam.NullStruct[forward.ModelConfigUnionParam]()to clear an update's model override. Omit the model on create to inherit. - Treat
session.usageCredits as cumulative snapshots: replace the previous values rather than adding successive events.
Changed
- Remove resource-specific sections and inventories from the README to keep it focused on SDK setup and shared client behavior.
v0.14.0
Added
- Add automatic Thread SSE resumption for Forward and Managed, preserving the latest event cursor and request options across retryable disconnects; thread termination stops the subscription while idle events keep it open.
- Add a typed
Last-Event-IDparameter to Managed Thread streams.
v0.13.0
Added
- Automatically mark direct Forward and Managed Session creation with
__qca_sdk_created,__qca_sdk_language, and the actual__qca_sdk_version, preserving caller metadata. - Add Forward Dreams (create, list, retrieve, cancel, archive), channel pairing list/retrieve/update, and Managed OAuth start with typed requests and responses.
- Add Identity automatic memory-store control, mount access and cursor pagination, sparse managed-capability overrides, and full tools-array replacement.
- Support string Template references and Advisor model entries in Forward Multiagent rosters, Schedule file resources, and optional Run input snapshots.
- Add typed Managed OSS bucket storage with separate write credentials/read views, and Memory Store ID cursor parameters.
Fixed
- Preserve Identity
toolsarrays and explicit null when loading JSON into request parameters, so empty-array replacement and clearing overrides retain their intended semantics. - Align Forward Outcome rubric objects and Managed Agent/Dream model configuration with the official API. Dream model defaults to
autowhen omitted; object configuration supportseffortandcontext_window.
Breaking changes
- Session creation rejects conflicting values for the three reserved SDK metadata keys before sending; matching string values remain accepted. Missing or null metadata now contains the markers, which count toward API metadata limits.
- Forward event
rubricis a text/content or file/file_id object instead of a string. - Managed Agent
effortis a level string instead of an object; Agent and Dream model configuration no longer declares the unsupportedspeedfield. - Identity mount
Listnow takesIdentityMemoryStoreListParamsand returnspagination.Page[MemoryStoreMount]; supply an empty params struct to preserve an unfiltered call. - Wrap Identity tool maps in
IdentityToolsUnionParam{OfOverrides: ...}; useOfArrayfor replacement. Read maps throughTools.OfOverrides.
Migration
- Rename business fields that collide with the three
__qca_sdk_keys and leave space for automatic markers. See “SDK-created Session metadata” in the README. - See the README's “Official contract alignment” section for updated model/rubric types, pagination calls and explicit null clearing.
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).
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
MaxListCost: managed.MonetaryAmountParam{...}withMaxCreditCost: "100.00"inManagedAgentsBudgetLimitParam(keepType: "limit"). 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. - Set
IdentityID: forward.String("idn_...")in resource params; for methods without params, passforward.WithIdentityID("idn_..."). 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.