claudemesh-cli 1.19.2 → 1.19.3

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.
@@ -88,7 +88,7 @@ __export(exports_urls, {
88
88
  VERSION: () => VERSION,
89
89
  URLS: () => URLS
90
90
  });
91
- var URLS, VERSION = "1.19.2", env;
91
+ var URLS, VERSION = "1.19.3", env;
92
92
  var init_urls = __esm(() => {
93
93
  URLS = {
94
94
  BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
@@ -5145,7 +5145,12 @@ async function rename(slug, newName) {
5145
5145
  }
5146
5146
  try {
5147
5147
  await renameMesh2(slug, newName);
5148
+ const cfg = readConfig();
5149
+ const local = cfg.meshes.find((m) => m.slug === slug);
5150
+ if (local)
5151
+ setMeshConfig(slug, { ...local, name: newName });
5148
5152
  console.log(` ${green(icons.check)} Renamed "${slug}" to "${newName}"`);
5153
+ console.log(` ${dim('(slug stays "' + slug + '" — only the display name changed)')}`);
5149
5154
  return EXIT.SUCCESS;
5150
5155
  } catch (err) {
5151
5156
  if (err instanceof ApiError) {
@@ -5168,6 +5173,7 @@ var init_rename2 = __esm(() => {
5168
5173
  init_facade10();
5169
5174
  init_facade6();
5170
5175
  init_facade3();
5176
+ init_facade();
5171
5177
  init_styles();
5172
5178
  init_exit_codes();
5173
5179
  });
@@ -16102,4 +16108,4 @@ main().catch((err) => {
16102
16108
  process.exit(EXIT.INTERNAL_ERROR);
16103
16109
  });
16104
16110
 
16105
- //# debugId=C19F63EF3417F71E64756E2164756E21
16111
+ //# debugId=77BC12B35C8B56DE64756E2164756E21