diff --git a/.changeset/remove-tmux.md b/.changeset/remove-tmux.md new file mode 100644 index 0000000..b80cfcc --- /dev/null +++ b/.changeset/remove-tmux.md @@ -0,0 +1,5 @@ +--- +"@spawn-dock/cli": patch +--- + +fix: execute agent directly via ssh instead of attaching tmux in spawn command diff --git a/packages/app/src/docker-git/spawn.ts b/packages/app/src/docker-git/spawn.ts index 324389b..552d47f 100644 --- a/packages/app/src/docker-git/spawn.ts +++ b/packages/app/src/docker-git/spawn.ts @@ -11,7 +11,11 @@ import { type TemplateConfig } from "@effect-template/lib/core/domain" import type { SpawnCommand } from "@effect-template/lib/core/spawn-domain" -import { runCommandCapture, runCommandExitCode, runCommandWithExitCodes } from "@effect-template/lib/shell/command-runner" +import { + runCommandCapture, + runCommandExitCode, + runCommandWithExitCodes +} from "@effect-template/lib/shell/command-runner" import { readProjectConfig } from "@effect-template/lib/shell/config" import { CommandFailedError, SpawnProjectDirError, SpawnSetupError } from "@effect-template/lib/shell/errors" import { createProject } from "@effect-template/lib/usecases/actions"