Skip to content

Releases: gaelic-ghost/SwiftASB

v0.0.1

18 Apr 02:18

Choose a tag to compare

What changed

  • Added a real public CodexAppServer, CodexThread, and CodexTurnHandle surface for initialize, thread start, turn start, and typed event streaming.
  • Fixed the live stdio transport and JSON-RPC notification decoding against the real local Codex CLI app-server.
  • Added live integration coverage for raw transport initialize, thread start, single-turn completion, cross-thread concurrency, and same-thread overlap behavior.
  • Codified the public concurrency model: concurrent turns across different threads are supported, while overlapping turns on the same thread are rejected client-side.
  • Rewrote the README into a release-oriented shape with runtime assumptions, a minimal usage example, and a clearer current package status.

Breaking changes

  • None, but this is an experimental 0.0.1 package and the public API should still be treated as early.

Migration and upgrade notes

  • SwiftASB depends on a local Codex CLI runtime.
  • Different threads may host concurrent turns.
  • A second turn on the same thread now throws CodexAppServerError.invalidState until the upstream app-server exposes a reliable independent lifecycle for overlapping same-thread turns.

Verification performed

  • swift test
  • env SWIFTASB_ENABLE_LIVE_CODEX_TRANSPORT_TESTS=1 swift test
  • env SWIFTASB_ENABLE_LIVE_CODEX_SINGLE_TURN_TESTS=1 swift test
  • env SWIFTASB_ENABLE_LIVE_CODEX_CROSS_THREAD_TESTS=1 swift test
  • env SWIFTASB_ENABLE_LIVE_CODEX_SAME_THREAD_TESTS=1 swift test