Skip to content

CoreAIKit 0.4.0

Latest

Choose a tag to compare

@john-rocky john-rocky released this 25 Aug 08:34
· 9 commits to main since this release

0.3.0 does not compile against the current Xcode 27 SDK. This release does.

FoundationModels renamed LanguageModelCapabilities.init(capabilities:) to init(_:) between Xcode 27 beta 3 and beta 5. That is five call sites here and one in the model fork, and it broke the newest tag on 2026-08-16. main was fixed the same day; nothing was tagged until now. If you are pinned to from: "0.3.0" or exact: "0.3.0", move to 0.4.0.

docs/STABILITY.md now states the rule that follows from it: while the OS is in beta, an SDK change that breaks the newest tag is released as a new tag, not left on main.

Added

CoreAI.tidyTranscript(_:) — raw transcript to text a person would send, chunked and stitched around the 1024-token KV cap on iOS. CoreAI.capability(_:) — whether a feature can run and what it will cost the user, answered offline. coreai-doctor — what a given app will download. ModelStore.remoteSize/localSize/isCached/downloadPlan. Live camera tasks, scene-change sampling, and Examples/LiveCamera.

Fixed

  • Live depth no longer renders a bitmap per frame (0.13 ms against 0.78 ms).
  • Op models are evictable: all thirteen caches share ResidentCache under a process-wide residency budget, instead of an app that calls three ops keeping three models resident.
  • CI can no longer pass by pinning an Xcode nobody uses. .xcode-pin names path and build version in one place; the gate refuses to run unless the installed build is the one the pin claims and no release Xcode of the same train has appeared beside it.
  • Three examples were resolving apple/coreai-models 0.1.0 rather than the patched fork.

Changed

Parakeet is no longer described as something Apple does not have — apple/coreai-models merged its own TDT 0.6B v3 export (#136) and live streaming over it (#184), for iOS as well as macOS.

Full notes: CHANGELOG.md