You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use macOS 27's fm CLI as a free local LLM for housekeeping #340
From the Apple research round: macOS 27 (Sept 2026) ships an fm CLI — on-device + Private Cloud Compute inference from the shell, no API keys, no account, no auth.
Solenta is Electron, so it cannot call Foundation Models directly, but it can shell out to fm for the unglamorous LLM work cloud agents should not bill for: memory consolidation summaries (#301), notification batching, thread titles, commit-message polish, kanban triage labels. Zero cost, zero keys, private by default; degrade gracefully off-Mac. A Mac-only moat cross-platform tools cannot match.
Built on branch coder/use-macos-27-s-fm-cli-as-a-free-local-ll-78ef98 (not merged, not pushed).
78096b5electron/fm.js — best-effort one-shot prompt runner around the fm CLI. Returns null off-Mac, pre-macOS-27, on timeout and on non-zero exit, so every caller keeps its existing fallback. Deliberately not a providers.js entry: fm has no tool loop and no resumable session, so listing it there would surface it in the model picker as an agent it is not.
f3be813 + 1461fc4 — commit-message suggestion tries fm before resolving the provider, so a Mac with no billed CLI installed still gets a subject instead of "CLI is not installed".
ac52c3f + 19ca856 — thread auto-titles after the first completed assistant reply, via afterSuccessfulTurn in runner.js, fire-and-forget. Never overwrites a user-set title; the run-once marker is written only when a title actually lands.
Verification: 1025 pass / 1 fail on the electron suite, the failure being the known web-integration reconnect baseline. npm run typecheck clean.
Scope note: of the five targets in this issue, only commit messages were an existing billed LLM call. Notification batching and kanban triage do no LLM work today, and memory consolidation (#301) has no code yet — the seam will be there when it lands. Follow-up #366 tracks verifying the argv guess against the real CLI.
Activity
currentbits commentedon Aug 17, 2026
Built on branch
coder/use-macos-27-s-fm-cli-as-a-free-local-ll-78ef98(not merged, not pushed).78096b5electron/fm.js— best-effort one-shot prompt runner around thefmCLI. Returnsnulloff-Mac, pre-macOS-27, on timeout and on non-zero exit, so every caller keeps its existing fallback. Deliberately not aproviders.jsentry:fmhas no tool loop and no resumable session, so listing it there would surface it in the model picker as an agent it is not.f3be813+1461fc4— commit-message suggestion triesfmbefore resolving the provider, so a Mac with no billed CLI installed still gets a subject instead of "CLI is not installed".ac52c3f+19ca856— thread auto-titles after the first completed assistant reply, viaafterSuccessfulTurninrunner.js, fire-and-forget. Never overwrites a user-set title; the run-once marker is written only when a title actually lands.Verification:
1025 pass / 1 failon the electron suite, the failure being the knownweb-integrationreconnect baseline.npm run typecheckclean.Scope note: of the five targets in this issue, only commit messages were an existing billed LLM call. Notification batching and kanban triage do no LLM work today, and memory consolidation (#301) has no code yet — the seam will be there when it lands. Follow-up #366 tracks verifying the argv guess against the real CLI.