Repository navigation
Conversation
vp run eca starts eca-cli, ECA's terminal client, which runs the image's eca server. The server takes ~ from the passwd entry rather than HOME, so the spec pins XDG_CONFIG_HOME, XDG_CACHE_HOME and XDG_STATE_HOME on the /config mount, and skills are mounted into $XDG_CONFIG_HOME/eca/skills instead of the shared ~/.agents/skills. --ikwid adds --trust. Tasks run eca-cli -p with the prompt after --, since eca-cli rejects unknown options and joins the other arguments into the prompt. No ACP (ECA has its own protocol), no resume hint, and no llm wiring: providers live in ECA's config.json. vp import eca copies ~/.config/eca by category and, as credentials, its config.json (where /login saves API keys) and the logins file in ~/.cache/eca. The rest of the cache, chats keyed by host workspace paths included, is neither copied nor reported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M6h7CCHj8pyyh7P8UWKzHW
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M6h7CCHj8pyyh7P8UWKzHW
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
1 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Registers ECA (Editor Code Assistant) as agent
eca(shortcutvp e, imagevibepod/eca:latest). The image is VibePod/vibepod-agents#33; this PR'sdefault-imagesjob fails until that image is published.vp run ecastartseca-cli, ECA's terminal client, which runs the image'seca serverover stdio./config,HOME=/config, plusXDG_CONFIG_HOME,XDG_CACHE_HOME,XDG_STATE_HOMEunder it (also set in the image)--ikwid--trust: tool calls that would ask run without asking;denyrules still applyeca-cli -p [flags] -- "<prompt>"(headless_options_before_prompt: eca-cli rejects unknown options and joins the other arguments into the prompt)/config/.config/eca/skillsllm/--providerWhy the XDG variables. The ECA server is a GraalVM native image and, like any JVM program, takes
~from the passwd entry rather than$HOME. ECA keeps its config in$XDG_CONFIG_HOME/eca, its logins (db.transit.json) and per-workspace chats in$XDG_CACHE_HOME/eca, and eca-cli its state in$XDG_STATE_HOME/eca. Pinning all three keeps that state on the mount even when the passwd home is not/config. That happens under rootless Podman withkeep-id, where Podman generates the entry; without the variables, logins could land under the working directory, which is the project. For the same reason, skills are mounted into$XDG_CONFIG_HOME/eca/skills(ECA's own global skills dir) rather than~/.agents/skills, andvp import ecadoes not list the shared~/.agents/skills. This is noted inAGENTS.md.Import.
~/.config/ecais copied by category:AGENTS.mdandrules/as memory;skills/,commands/andagents/as skills;hooks/as hooks; the rest as settings.config.jsonis classified as a credential, because/loginsaves the API keys of key-based providers into it (same treatment as Copilot'sconfig.json). From~/.cache/eca, onlydb.transit.json(OAuth and MCP logins, a credential) is a root. Chats there are keyed by each workspace's host path, which never matches/workspace, so the rest of the cache is neither copied nor reported.No
llm_env_map. Providers live in ECA'sconfig.json. The built-in OpenAI provider speaks the Responses API, so an OpenAI-compatible base URL can't simply be routed through it. ECA is added totest_unsupported_agent_rejected_before_key_readand to the "rejected" note indocs/providers.md.Docs: a new "ECA (Editor Code Assistant)" section, the agent tables, and a row in the per-project state table (
eca-cli -cand/chatssee every project at/workspace; the workaround is a per-projectXDG_CACHE_HOME, which moves logins too). There is no screenshot yet, since the image has not been run.Testing
python -m pytest: 1775 passed, 3 skipped (with a throwawayVP_CONFIG_DIR)ruff check,ruff format --check,mypy src,scripts/check_import_docs.py,mkdocs build --strict: clean. The one INFO about#ikwid-mode---ikwidpredates this change.core.cljoption spec,headless.clj,upgrade.clj;cache.clj,skills.clj,network.clj,oauth.clj), not only from the docs.default-imagesfails only onvibepod/eca:latest, as expected until Vibepod fails to start on MacBook until Docker is restarted #33 in vibepod-agents is released.eca 0.173.1,eca-cli 0.1.107on amd64 and arm64).To check live (with
VP_IMAGE_ECA=vibepod/eca:local)/login(Copilot device code, Anthropic code to paste), the login persists across runsvp run eca -p 127.0.0.1:1455:1455(the ECA OAuth callback binds all interfaces, per the code; not tried)vp run eca -- -c "two words"andvp run eca --ikwidvp task create eca "Say hello"with and without--ikwid;vp board work -a ecaparses the result block from-poutputvp skills add …shows up in eca-cli's/pickervp logs start: ECA's requests show up in the dashboardvp import eca --dry-runon a host with ECA~/.config/vibepod/agents/eca/, nothing written into the workspacedocs/assets/eca.pngand the README gallery entryPossible follow-ups
eca serverover stdio. A raw-stdio mode, like--acpbut for ECA's protocol, would let them run the server in a VibePod container.--providersupport via a generated custom provider inECA_CONFIG, once verified against a real endpoint.https://claude.ai/code/session_01M6h7CCHj8pyyh7P8UWKzHW
Generated by Claude Code