claudemesh-cli 1.0.0-alpha.40 → 1.0.0-alpha.41
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/entrypoints/cli.js
CHANGED
|
@@ -88,7 +88,7 @@ __export(exports_urls, {
|
|
|
88
88
|
VERSION: () => VERSION,
|
|
89
89
|
URLS: () => URLS
|
|
90
90
|
});
|
|
91
|
-
var URLS, VERSION = "1.0.0-alpha.
|
|
91
|
+
var URLS, VERSION = "1.0.0-alpha.41", env;
|
|
92
92
|
var init_urls = __esm(() => {
|
|
93
93
|
URLS = {
|
|
94
94
|
BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
|
|
@@ -4621,6 +4621,19 @@ async function runJoin(args) {
|
|
|
4621
4621
|
console.error(" claudemesh join ic://join/eyJ2IjoxLC4uLn0 (v1 legacy)");
|
|
4622
4622
|
process.exit(1);
|
|
4623
4623
|
}
|
|
4624
|
+
if (!link.includes("://")) {
|
|
4625
|
+
const existing = readConfig().meshes.find((m) => m.slug === link || m.name === link);
|
|
4626
|
+
if (existing) {
|
|
4627
|
+
console.log(`Already in "${existing.slug}" on this machine.`);
|
|
4628
|
+
console.log("");
|
|
4629
|
+
console.log(`Use it in the current directory:`);
|
|
4630
|
+
console.log(` claudemesh launch --mesh ${existing.slug}`);
|
|
4631
|
+
console.log("");
|
|
4632
|
+
console.log(`Or list peers:`);
|
|
4633
|
+
console.log(` claudemesh peers --mesh ${existing.slug}`);
|
|
4634
|
+
return;
|
|
4635
|
+
}
|
|
4636
|
+
}
|
|
4624
4637
|
const v2Code = parseV2InviteInput(link);
|
|
4625
4638
|
if (v2Code) {
|
|
4626
4639
|
await runJoinV2(v2Code);
|
|
@@ -12675,4 +12688,4 @@ main().catch((err) => {
|
|
|
12675
12688
|
process.exit(EXIT.INTERNAL_ERROR);
|
|
12676
12689
|
});
|
|
12677
12690
|
|
|
12678
|
-
//# debugId=
|
|
12691
|
+
//# debugId=8EADAA692E07F7AD64756E2164756E21
|