@clipboard-health/groundcrew 2.3.4 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/workspaces.js +4 -4
- package/package.json +1 -1
package/dist/lib/workspaces.js
CHANGED
|
@@ -187,12 +187,12 @@ const cmuxAdapter = {
|
|
|
187
187
|
const inheritedRemote = await probeCurrentCmuxRemote(signal);
|
|
188
188
|
const newWorkspaceArguments = ["--json", "new-workspace", "--name", spec.name];
|
|
189
189
|
if (inheritedRemote === undefined) {
|
|
190
|
-
newWorkspaceArguments.push("--
|
|
190
|
+
newWorkspaceArguments.push("--cwd", spec.cwd, "--command", spec.command);
|
|
191
191
|
}
|
|
192
192
|
else {
|
|
193
|
-
// Skip --
|
|
194
|
-
//
|
|
195
|
-
//
|
|
193
|
+
// Skip --cwd: the path is on the SSH remote and would fall back to
|
|
194
|
+
// $HOME (macOS) when cmux tries to chdir locally. The wrapped ssh
|
|
195
|
+
// command does its own `cd` on the remote side.
|
|
196
196
|
newWorkspaceArguments.push("--command", buildSshWrappedCommand(spec, inheritedRemote));
|
|
197
197
|
}
|
|
198
198
|
const output = await runWorkspaceCommand("cmux", newWorkspaceArguments, signal);
|
package/package.json
CHANGED