claudemesh-cli 1.0.0-alpha.19 → 1.0.0-alpha.20
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
|
@@ -4407,13 +4407,13 @@ async function createMesh2(name, opts) {
|
|
|
4407
4407
|
} catch {}
|
|
4408
4408
|
if (!userId)
|
|
4409
4409
|
throw new Error("Invalid token — run `claudemesh login` again");
|
|
4410
|
+
const kp = await generateKeypair3();
|
|
4410
4411
|
const result = await request({
|
|
4411
4412
|
path: "/cli/mesh/create",
|
|
4412
4413
|
method: "POST",
|
|
4413
|
-
body: { user_id: userId, name, ...opts },
|
|
4414
|
+
body: { user_id: userId, name, pubkey: kp.publicKey, ...opts },
|
|
4414
4415
|
baseUrl: BROKER_HTTP2
|
|
4415
4416
|
});
|
|
4416
|
-
const kp = await generateKeypair3();
|
|
4417
4417
|
const mesh = {
|
|
4418
4418
|
meshId: result.id,
|
|
4419
4419
|
memberId: result.member_id,
|
|
@@ -10245,4 +10245,4 @@ main().catch((err) => {
|
|
|
10245
10245
|
process.exit(EXIT.INTERNAL_ERROR);
|
|
10246
10246
|
});
|
|
10247
10247
|
|
|
10248
|
-
//# debugId=
|
|
10248
|
+
//# debugId=F48ABC56B328BF2F64756E2164756E21
|