patchcord 0.5.68 → 0.5.69
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/bin/patchcord.mjs +2 -1
- package/package.json +1 -1
package/bin/patchcord.mjs
CHANGED
|
@@ -1358,7 +1358,8 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd?.startsWith("--")) {
|
|
|
1358
1358
|
// page skips its type picker (the user already chose on the
|
|
1359
1359
|
// dashboard tile).
|
|
1360
1360
|
const toolParam = toolSlug ? `&tool=${encodeURIComponent(toolSlug)}` : "";
|
|
1361
|
-
const
|
|
1361
|
+
const cwdParam = `&cwd=${encodeURIComponent(process.cwd())}`;
|
|
1362
|
+
const connectUrl = `https://patchcord.dev/connect?session=${sessionId}${toolParam}${cwdParam}`;
|
|
1362
1363
|
|
|
1363
1364
|
if (canOpenBrowser()) {
|
|
1364
1365
|
const opened = openBrowser(connectUrl);
|