v0.1.0
First tagged release.
Added
- Swift
apple-fm-helper(--probe/--generate/--session) over an NDJSON
wire protocol, and a tested, zero-runtime-dependency Node layer. - CLI (
apple-fm):probe,generate(prompt or stdin;--system,--schema,
--stream,--temp,--max-tokens), and an interactivechatwith slash
commands (/reset,/system,/clear,/compact,/help,/quit). - Library API:
probe,generate,ChatSession,LiveSession, protocol
helpers, and types. - Native guided generation.
--schemacompiles a JSON Schema to a
GenerationSchema, so the model's output is guaranteed to conform (numeric
minimum/maximumenforced); structured output can also stream, as JSON
snapshots. - Persistent multi-turn chat.
chatreuses one on-device
LanguageModelSessionacross turns (KV-cache) instead of replaying the
transcript, and auto-compacts older turns near the context window.
Verified
- Smoke-verified on a macOS 26 / Apple Intelligence machine: probe, generate
(freeform / guided / streamed), guaranteed structured output, and multi-turn
chat.
Not yet done
- An automated on-device test in CI (AF-2) and the signed + notarized release
pipeline (AF-12, verified on the first tagged release) are tracked.