Releases: gaelic-ghost/SwiftASB
Releases · gaelic-ghost/SwiftASB
v0.0.1
What changed
- Added a real public
CodexAppServer,CodexThread, andCodexTurnHandlesurface 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.1package 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.invalidStateuntil the upstream app-server exposes a reliable independent lifecycle for overlapping same-thread turns.
Verification performed
swift testenv SWIFTASB_ENABLE_LIVE_CODEX_TRANSPORT_TESTS=1 swift testenv SWIFTASB_ENABLE_LIVE_CODEX_SINGLE_TURN_TESTS=1 swift testenv SWIFTASB_ENABLE_LIVE_CODEX_CROSS_THREAD_TESTS=1 swift testenv SWIFTASB_ENABLE_LIVE_CODEX_SAME_THREAD_TESTS=1 swift test