Skip to content

Fix macOS global config path to match ECA server#7

Merged
ericdallo merged 1 commit intomasterfrom
fix/macos-config-path
Apr 29, 2026
Merged

Fix macOS global config path to match ECA server#7
ericdallo merged 1 commit intomasterfrom
fix/macos-config-path

Conversation

@afucher
Copy link
Copy Markdown
Member

@afucher afucher commented Apr 29, 2026

Summary

  • Remove the darwin-specific branch in getGlobalConfigPath() that resolved to ~/Library/Application Support/eca/config.json
  • The ECA server uses ~/.config/eca/config.json on all platforms (including macOS), so the Settings → Global Config tab was pointing to the wrong file
  • Update the corresponding unit test to expect the corrected path

Context

The macOS-specific path was introduced in commit 0d3b6c0 when the global config feature was added. The companion fix for eca-vscode is at editor-code-assistant/eca-vscode#(see linked PR).

Test plan

  • All existing tests pass (201 tests, 12 suites)
  • editor-actions.test.ts updated to assert ~/.config/eca/config.json on darwin

🤖 Generated with eca

Remove the darwin-specific branch in getGlobalConfigPath() that
resolved to ~/Library/Application Support/eca/config.json. The ECA
server uses ~/.config/eca/config.json on all platforms (including
macOS), so the Settings → Global Config tab was pointing to the
wrong file.

🤖 Generated with [eca](https://eca.dev)

Co-Authored-By: eca-agent <git@eca.dev>
@ericdallo ericdallo merged commit 9c6a898 into master Apr 29, 2026
2 checks 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.

2 participants