Skip to content

Releases: cadenya/widgets-sdk

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 02:11
51ba0c1

1.4.0 (2026-09-28)

Features

  • queue conversation messages while the agent is busy (3dfb1e5)

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 17 Sep 20:37
2b0b00f

1.3.0

Adds client.session.renewWidget({ workspaceId }), which sends POST /v1/workspaces/{workspaceId}/session:renew to the configured widget host using the current widget-session bearer. No session ID is sent and the request has no body.

The response and exported WidgetSessionCredentials type contain sessionId, host, token, tokenExpiresAt, and sessionExpiresAt, matching creation credentials from @cadenya/cadenya@1.5.0 without a management SDK dependency.

Renewal requires a valid token with 60 seconds of expiry drift; hard session expiry has no tolerance. This generated SDK exposes the RPC; it does not schedule automatic renewal or replace sessions.

Structured server errors remain available through APIError.status, code, and details. The browser User-Agent suppression and conversation heartbeat behavior are preserved. Known backend structured unary-error and revoked-reconnect reason issues remain tracked separately; this package does not resolve them.

Backend prerequisite: the renewal and required-identity changes through cadenya/cadenya#419 (504a85b8). Production deployment readiness was verified before release.

Implementation · Full diff

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 22:03
65aabc2

1.2.0 (2026-09-16)

Features

  • expose conversation heartbeats and state changes (e8f78a1)

v1.1.1

Choose a tag to compare

@bobbytables bobbytables released this 15 Sep 15:12
9e35042

Fixes

  • Browser and worker clients no longer add an SDK User-Agent header, avoiding Safari CORS preflight rejection. Node clients retain the SDK header; explicit headers and authorization remain supported.
  • Nested query objects serialize to dot-delimited query parameters, with repeated array values and circular-reference rejection.

Regenerated with Redwood v0.3.3. Public resource signatures and types are unchanged.

npm install @cadenya/widgets@1.1.1

v1.1.0

Choose a tag to compare

@bobbytables bobbytables released this 26 Aug 02:46
240b962

Adds WidgetFinalizedEvent to the widget event vocabulary: widgets can now
back agents with structured output, and a finalized conversation delivers
the extracted output through the event stream instead of ending silently.