replying to @dtinth-bot
Definitely in the same image, yes. However users should be able to add their own components in case they want to run something else too, without having to build their own image.
0845bdf
gateway): an edge hole must not land in the account with sudo, and dev's code must not read its secrets
- the…component.env - how about toml?
- run - I think this can link to a folder with pitchfork.toml so we can run pitchfork on it.
- I don't like the *_ENABLED env. Maybe better to have it not run in the…agent-env-component.toml?
I think we should also have some kind of support for startup script or hook which runs before we start user-level pitchfork. Then this would let me write script that provision. I would put it in a compose…agent-env component install . which idempotently creates a symlink. Name is defined in toml and it refuses to replace a symlink if already installed but points to different folder unless --force? It should lint stuff…agent-env component install . reads the name from agent-env-component.toml and symlinks ~/.config/agent-env/components/<name>. It's a no-op if the link already points here, refuses if it points elsewhere unless --force. Plus uninstall <name> and list.…conf.d/agent-env-<name>.toml. And also deletes the ones not listed?mise install. Tested: mise reads a conf.d symlink pointing outside ~/.config with no trust prompt, [env] included.
Deleting: the reconciler owns every…agent-env opencode in the first place? What is it for, like what are its use cases? No need to keep backwards compatibility tho.
Btw just noting, before you start the implementation I want you to make a docs describing the component system. Then, have a…agent-env tui cds to the workspace, waits for the server and runs opencode --server .... But env.sh already sets OPENCODE_SERVER and its password in login shells, so plain opencode attaches to the same server.…bin/ to PATH?ssh box cmd, daemons, open terminals). A new PATH entry only reaches shells and daemons started after install, and /etc/environment would need rewriting as…commit 0845bdf