Skip to content

Support for plugins#349

Merged
ericdallo merged 7 commits intomasterfrom
plugins
Mar 10, 2026
Merged

Support for plugins#349
ericdallo merged 7 commits intomasterfrom
plugins

Conversation

@ericdallo
Copy link
Copy Markdown
Member

@ericdallo ericdallo commented Mar 9, 2026

Fixes #334

This adds a plugin system to ECA:

  1. user configures:
{
"plugins": {
        "nubank": {
            "source": "https://github.com/my-org/my-plugins.git"  // or "/path/to/my-plugins"
        },
        "install": ["my-plugin"]
    }
}
  1. when starting ECA, eca clones the repo and read the .eca-plugin/marketplace.json file which points to plugins (folders which have eca config)
  2. ECA read the plugins mentioned in install and merge with its final config.

User can also /plugins or /plugins-install <plugin@marketplace-name> which would add to its install eca config

ericdallo and others added 3 commits March 9, 2026 19:40
…new commands

The resolve-all! unit tests used keyword keys (:install, :my-source) but the
function expects string keys matching JSON config normalization. The commands
integration test was missing the new plugins and plugin-install entries.

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

Co-Authored-By: eca <noreply@eca.dev>
@ericdallo ericdallo marked this pull request as ready for review March 10, 2026 13:41
@ericdallo ericdallo merged commit 1e70a3e into master Mar 10, 2026
7 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.

Support plugins / import external ECA configs

1 participant