mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-16 19:29:33 +01:00
fix(adopt): bring the docker and ssh transports up to master
Docker discovery now spawns dockerEngineArgv(), not the shell-quoted buildDockerBaseArgs(): execFile passed those quotes through, so docker --context "'default'" failed and every container behind a named context or remote daemon read as unreachable. The ssh probe and attach gain withRemoteTmuxPath() like every other remote tmux call, run in an explicit sh because the guard chain is POSIX and the remote login shell may be fish, and the probe holds a slot of the remote-ssh limiter and execs ssh so a timeout reaches it. Notes from a remote scan are no longer dropped, and every note now opens with its location. The adopted branch of killSession no longer blocks the event loop on docker or tmux, kills the in-container view by exact name, and clears the pane-exit and reconnect state the non-owned remote branch does. An adopted wrapper reports no injected statusline, since nothing could carry it. Key tables on the foreign server are left alone on purpose, and the invocation now says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a0e21109b2
commit
f464a22bc3
5 files changed
+237
-35
No files matched your search
+1
-1
@@ -1014,7 +1014,7 @@ export function resolveDockerCredentialArtifacts(
|
||||
* string; argv arrays must NOT carry literal quotes (mirror of docker-export's
|
||||
* dockerArgv).
|
||||
*/
|
||||
function dockerEngineArgv(docker: Pick<SessionDocker, 'engine' | 'context' | 'daemonHost'>): string[] {
|
||||
export function dockerEngineArgv(docker: Pick<SessionDocker, 'engine' | 'context' | 'daemonHost'>): string[] {
|
||||
const argv: string[] = [docker.engine === 'podman' ? 'podman' : 'docker'];
|
||||
if (docker.context) argv.push('--context', docker.context);
|
||||
if (docker.daemonHost) argv.push('-H', docker.daemonHost);
|
||||
|
||||
Reference in new issue
Block a user