Skip to content

feat(paths)!: same folders on macOS as on Linux, moved from ~/Library at start - #579

Merged
leemour merged 1 commit into
mainfrom
feat/xdg-folders
Oct 11, 2026
Merged

leemour merged 1 commit into
mainfrom
feat/xdg-folders

Conversation

@leemour

@leemour leemour commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Task

Same folders on macOS as on Linux. Follow-up to cli-core#80 (cli-core 0.20.0) and cli-messaging#947 (cli-messaging 0.240.0).

What

  • src/bin/max.ts calls migrateFolders(MAX_APP) first: max-cli, the shared store and the speech models.
  • Moves to @wirecat/cli-messaging 0.240.0 and @wirecat/cli-core 0.20.0.
  • On macOS the files move from ~/Library/{Preferences,Application Support,Caches}/<app> to ~/.config, ~/.local/share and ~/.cache. Linux and Windows are unchanged.
  • A move that cannot happen now, while a serve or MCP server holds the folder, never stops the command. It prints one warning, that run uses the old folders, and the next run tries again.

Testing

  • pnpm typecheck, pnpm lint and pnpm test (1568 passed) are clean.
  • The move runs on a real Mac in cli-core's macOS CI job. A peer warning remains: cli-meetings 0.4.1 accepts cli-core only below 0.20.0. It uses only cli-core's error and text helpers, so nothing changes at runtime; a cli-meetings patch widens the range.

🤖 Generated with Claude Code

… at start

Moves to @wirecat/cli-messaging 0.240.0 and @wirecat/cli-core 0.20.0. The entry
point calls the folder move first thing, before anything resolves a path. A move
that cannot happen now warns and leaves this run on the old folders.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@leemour
leemour merged commit 621da4c into main Oct 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant