Comment by ahmadyan
4 days ago
ack
i run .agentastic/setup.sh script on every newly created worktrees (doc: https://www.agentastic.dev/docs/how-to/git-worktrees) and we set a few env variables in that script (e.g. current-worktree-dir, etc) so your stack should be supported https://docs.orbstack.dev/docker/
don't have shut-down yet, but i can add it as well (i.e. cleaning up the env upon deletion)
would a pair of setup.sh/shutdown.sh cover majority of your workflow? what else is needed?
Can I input (part of) domain name during setup, or it can be autogenerated(can be similar to branch name but characters are limited for domain of coz)? Or both?
it is your script, so you can do whatever you want; i just provide some env variables specific to the branch, e.g.
$AGENTASTIC_BRANCH $AGENTASTIC_BASE_BRANCH $AGENTASTIC_WORKTREE_PATH $AGENTASTIC_MAIN_REPO_PATH $AGENTASTIC_COMMIT $AGENTASTIC_REPO_NAME
if you give me some examples, i see i can also add that.