Skip to content

Fix macOS global config path to match ECA server#22

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

Fix macOS global config path to match ECA server#22
ericdallo merged 1 commit into
mainfrom
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
  • This regression was introduced in commit 3a1eeeb which ported the path logic from eca-desktop

Context

The original inline logic in webview.ts correctly used ~/.config/eca/config.json on all platforms. When the new editor-actions.ts module was extracted (commit 3a1eeeb), it copied eca-desktop's darwin-specific branch that diverges from the ECA server. The companion fix for eca-desktop is at editor-code-assistant/eca-desktop#(see linked PR).

Test plan

  • Verified the path resolves to ~/.config/eca/config.json on macOS
  • eca-desktop test suite passes with the same change

🤖 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 d6ab8d7 into main Apr 29, 2026
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