Skip to content

v2.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Nov 09:29
· 7 commits to main since this release
d1b51f2

Added

  • Add Swift client session export and import through AgentRuntime.exportSession() and importSession(_:). Clients can adopt supplied ChatGPT credentials without interactive sign-in or filesystem discovery.
  • Add a versioned JSON transfer format containing the access token, account metadata, and required expiry, with typed validation errors and redacted diagnostics. Refresh and ID tokens are excluded.
  • Add offline round-trip, malformed-input, expiry, redaction, session lifecycle, no-retry, and existing TypeScript authentication-conversion checks.

Changed

  • Imported sessions remain in memory and require explicit replacement after expiry or authentication rejection. The built-in text generation runner does not automatically retry with imported credentials; existing sign-in behavior remains unchanged.
  • Increase comprehensive CI job timeouts so required verification can finish without premature cancellation.

Upgrading

  • Select Swift package version 2.2.0. Session export/import is opt-in; existing integrations remain supported.
  • Exported JSON contains sensitive plaintext credentials. Use authenticated transport and encrypted storage. Local validation does not verify provider acceptance. See session transfer for the format, provider restrictions, and expiry behavior.
  • Requires Swift 6.1+, iOS 17+, and macOS 14+.
  • The independently published Cloud npm package remains at 0.2.5; no backend or TypeScript production API changes are included.

What's Changed

  • Fix premature timeouts in comprehensive CI by @timazed in #29
  • Add client session export and import by @timazed in #30
  • Prepare CodexKit 2.2.0 release by @timazed in #31

Full Changelog: v2.1.0...v2.2.0