github craft-ai-agents/craft-agents-oss v0.10.4

5 hours ago

v0.10.4 — GLM-5 family on z.ai + Pi SDK uplift

Features

  • GLM-5.2 and the GLM-5 family now available on z.ai — the Pi SDK uplift regenerates the model catalog from models.dev, so z.ai's GLM-5.2, GLM-5.1, and GLM-5-turbo surface automatically on the existing z.ai provider, with correct thinking / reasoning_effort handling (fixed upstream). Previously GLM-5.2 was only reachable through a hand-rolled OpenAI-compatible endpoint where reasoning effort misbehaved. (694d4b1c)
  • Automatic config.json backups on startup — Craft Agent now snapshots config.json on every startup and keeps the newest three backups, so a corrupted or bad config write can be recovered. (a5e62bc8)

Improvements

  • Pi SDK uplifted to 0.79.9 (scope migration to @earendil-works) — the three Pi packages (pi-ai, pi-coding-agent, pi-agent-core) move from the now-frozen @mariozechner/* scope at 0.73.1 to the rebranded @earendil-works/* scope at 0.79.9, across all manifests and the lockfile. Newer models for existing Pi providers (OpenRouter, z.ai, and others) appear automatically via the regenerated models.dev catalog. GitHub Copilot device-code login now consumes the SDK's structured onDeviceCode callback in place of a fragile free-text regex. No user-facing API breakage; the full typecheck and targeted Pi test suites pass clean. (694d4b1c)

Bug Fixes

  • Session titles now follow your chosen language — AI-generated titles read your Appearance → Language setting directly from disk instead of the app's in-memory locale, which could still be on its English fallback when the first title generated. If you haven't picked a language, titles now auto-detect the language you're writing in rather than defaulting to English. Fixes #885. (3ed130c0)
  • Auto-update now keeps a diagnostic log — the update lifecycle is recorded to an always-on log at ~/.craft-agent/logs/auto-update.log, even in release builds where the normal debug log is off. This makes "the update downloaded but never installed" reports diagnosable. Partially addresses #891 (diagnostics only; the ShipIt install hand-off fix is a follow-up). (0e2005ca)
  • Config backups no longer overwrite an existing same-day backup — the earliest good snapshot from each day is preserved instead of being clobbered by a later same-day startup. (42c79906)

Breaking Changes

  • None.

Don't miss a new craft-agents-oss release

NewReleases is sending notifications on new releases.