adhdev 0.9.76-rc.3 → 0.9.76-rc.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/cli/index.js CHANGED
@@ -90303,7 +90303,7 @@ var init_adhdev_daemon = __esm({
90303
90303
  init_version();
90304
90304
  init_src();
90305
90305
  init_runtime_defaults();
90306
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.76-rc.3" });
90306
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.76-rc.5" });
90307
90307
  AdhdevDaemon = class _AdhdevDaemon {
90308
90308
  localHttpServer = null;
90309
90309
  localWss = null;
@@ -91524,8 +91524,54 @@ ${err?.stack || ""}`);
91524
91524
  // src/wizard.ts
91525
91525
  var wizard_exports = {};
91526
91526
  __export(wizard_exports, {
91527
+ buildSetupReleaseContext: () => buildSetupReleaseContext,
91528
+ readLatestPublishedCliVersion: () => readLatestPublishedCliVersion,
91527
91529
  runWizard: () => runWizard
91528
91530
  });
91531
+ function normalizeSetupReleaseChannel(value) {
91532
+ if (typeof value !== "string") return null;
91533
+ const normalized = value.trim().toLowerCase();
91534
+ if (normalized === "stable" || normalized === "latest") return "stable";
91535
+ if (normalized === "preview" || normalized === "next") return "preview";
91536
+ return null;
91537
+ }
91538
+ function inferReleaseChannelFromServerUrl(serverUrl) {
91539
+ if (typeof serverUrl !== "string") return null;
91540
+ const normalized = serverUrl.trim().toLowerCase();
91541
+ if (!normalized) return null;
91542
+ if (normalized.includes("api-preview.adhf.dev") || normalized.includes("dev.adhf.dev")) return "preview";
91543
+ if (normalized.includes("api.adhf.dev") || normalized.includes("adhf.dev")) return "stable";
91544
+ return null;
91545
+ }
91546
+ function buildDashboardUrl(serverUrl, channel) {
91547
+ try {
91548
+ const url2 = new URL(serverUrl);
91549
+ if (url2.hostname === "api-preview.adhf.dev") return "https://dev.adhf.dev/dashboard";
91550
+ if (url2.hostname === "api.adhf.dev") return "https://adhf.dev/dashboard";
91551
+ if (url2.hostname === "127.0.0.1" || url2.hostname === "localhost") {
91552
+ url2.port = url2.port === "3100" ? "3000" : url2.port;
91553
+ url2.pathname = "/dashboard";
91554
+ url2.search = "";
91555
+ url2.hash = "";
91556
+ return url2.toString();
91557
+ }
91558
+ } catch {
91559
+ }
91560
+ return channel === "preview" ? "https://dev.adhf.dev/dashboard" : "https://adhf.dev/dashboard";
91561
+ }
91562
+ function buildSetupReleaseContext(options = {}) {
91563
+ const env3 = options.env || process.env;
91564
+ const envServerUrl = typeof env3.ADHDEV_SERVER_URL === "string" && env3.ADHDEV_SERVER_URL.trim() ? env3.ADHDEV_SERVER_URL.trim() : null;
91565
+ const config2 = options.config || {};
91566
+ const channel = normalizeSetupReleaseChannel(config2.updateChannel) || inferReleaseChannelFromServerUrl(envServerUrl) || inferReleaseChannelFromServerUrl(config2.serverUrl) || "stable";
91567
+ const serverUrl = envServerUrl || CHANNEL_SERVER_URL2[channel];
91568
+ return {
91569
+ channel,
91570
+ npmTag: CHANNEL_NPM_TAG2[channel],
91571
+ serverUrl,
91572
+ dashboardUrl: buildDashboardUrl(serverUrl, channel)
91573
+ };
91574
+ }
91529
91575
  async function openBrowser(url2) {
91530
91576
  const mod = await import("open");
91531
91577
  return mod.default(url2);
@@ -91534,10 +91580,10 @@ function hasCloudMachineAuth() {
91534
91580
  const config2 = loadConfig();
91535
91581
  return Boolean(config2.machineSecret && config2.machineSecret.trim());
91536
91582
  }
91537
- function readLatestPublishedCliVersion(execFileSyncLocal) {
91583
+ function readLatestPublishedCliVersion(execFileSyncLocal, npmTag = "latest") {
91538
91584
  const surface = resolveCurrentGlobalInstallSurface({ packageName: "adhdev" });
91539
91585
  try {
91540
- return execFileSyncLocal(surface.npmExecutable, [...surface.npmArgsPrefix || [], "view", "adhdev", "version"], {
91586
+ return execFileSyncLocal(surface.npmExecutable, [...surface.npmArgsPrefix || [], "view", `adhdev@${npmTag}`, "version"], {
91541
91587
  encoding: "utf-8",
91542
91588
  timeout: 5e3,
91543
91589
  stdio: ["pipe", "pipe", "pipe"],
@@ -91568,38 +91614,41 @@ function readInstalledGlobalCliVersion(execFileSyncLocal) {
91568
91614
  }
91569
91615
  async function runWizard(options = {}) {
91570
91616
  console.log(LOGO);
91617
+ const config2 = loadConfig();
91618
+ const releaseContext = buildSetupReleaseContext({ config: config2 });
91571
91619
  if (isSetupComplete() && hasCloudMachineAuth() && !options.force) {
91572
- const config2 = loadConfig();
91573
91620
  console.log(source_default.green("\u2713") + " ADHDev is already configured.");
91574
91621
  console.log(source_default.gray(` Account: ${config2.userEmail || "not logged in"}`));
91622
+ console.log(source_default.gray(` Server: ${releaseContext.serverUrl}`));
91575
91623
  console.log();
91576
- await checkForUpdate();
91577
- await startDaemonFlow();
91624
+ await checkForUpdate(releaseContext);
91625
+ await startDaemonFlow(releaseContext);
91578
91626
  return;
91579
91627
  }
91580
- await quickSetup();
91628
+ await quickSetup(releaseContext);
91581
91629
  }
91582
- async function checkForUpdate() {
91630
+ async function checkForUpdate(releaseContext) {
91583
91631
  try {
91584
91632
  const { execFileSync: execFileSync6 } = await import("child_process");
91585
91633
  const currentVersion = resolvePackageVersion();
91586
- const latestVersion = readLatestPublishedCliVersion(execFileSync6);
91634
+ const latestVersion = readLatestPublishedCliVersion(execFileSync6, releaseContext.npmTag);
91587
91635
  if (!latestVersion) return;
91588
91636
  if (!currentVersion || !latestVersion || currentVersion === latestVersion) return;
91589
- console.log(source_default.yellow(` Update available: ${currentVersion} \u2192 ${latestVersion}`));
91637
+ console.log(source_default.yellow(` Update available (${releaseContext.channel}/${releaseContext.npmTag}): ${currentVersion} \u2192 ${latestVersion}`));
91590
91638
  const { doUpdate } = await (await Promise.resolve().then(() => (init_lib(), lib_exports))).default.prompt([{
91591
91639
  type: "confirm",
91592
91640
  name: "doUpdate",
91593
- message: `Update adhdev CLI to v${latestVersion}?`,
91641
+ message: `Update adhdev CLI to v${latestVersion} from ${releaseContext.npmTag}?`,
91594
91642
  default: true
91595
91643
  }]);
91596
91644
  if (!doUpdate) {
91597
- console.log(source_default.gray(" Skipping update. Run: npm install -g adhdev@latest\n"));
91645
+ console.log(source_default.gray(` Skipping update. Run: npm install -g adhdev@${releaseContext.npmTag}
91646
+ `));
91598
91647
  return;
91599
91648
  }
91600
91649
  const spinner = (await Promise.resolve().then(() => (init_ora(), ora_exports))).default("Updating adhdev CLI...").start();
91601
91650
  try {
91602
- const installCommand = buildPinnedGlobalInstallCommand({ packageName: "adhdev", targetVersion: "latest" });
91651
+ const installCommand = buildPinnedGlobalInstallCommand({ packageName: "adhdev", targetVersion: releaseContext.npmTag });
91603
91652
  execFileSync6(installCommand.command, installCommand.args, {
91604
91653
  encoding: "utf-8",
91605
91654
  timeout: 6e4,
@@ -91610,14 +91659,17 @@ async function checkForUpdate() {
91610
91659
  console.log();
91611
91660
  } catch (e) {
91612
91661
  spinner.fail("Update failed");
91613
- console.log(source_default.gray(" Manual: npm install -g adhdev@latest\n"));
91662
+ console.log(source_default.gray(` Manual: npm install -g adhdev@${releaseContext.npmTag}
91663
+ `));
91614
91664
  }
91615
91665
  } catch {
91616
91666
  }
91617
91667
  }
91618
- async function quickSetup() {
91668
+ async function quickSetup(releaseContext) {
91619
91669
  console.log(source_default.bold("\n\u{1F680} Quick Setup\n"));
91620
- const loginResult = await loginFlow();
91670
+ console.log(source_default.gray(` Channel: ${releaseContext.channel} (${releaseContext.npmTag})`));
91671
+ console.log(source_default.gray(` Server: ${releaseContext.serverUrl}`));
91672
+ const loginResult = await loginFlow(releaseContext);
91621
91673
  const setupDate = (/* @__PURE__ */ new Date()).toISOString();
91622
91674
  if (!loginResult) {
91623
91675
  updateConfig({
@@ -91628,7 +91680,9 @@ async function quickSetup() {
91628
91680
  setupDate,
91629
91681
  userEmail: null,
91630
91682
  userName: null,
91631
- machineSecret: null
91683
+ machineSecret: null,
91684
+ updateChannel: releaseContext.channel,
91685
+ serverUrl: releaseContext.serverUrl
91632
91686
  });
91633
91687
  console.log(source_default.yellow("\u26A0 Setup is not complete without login. Run `adhdev setup` after signing in."));
91634
91688
  }
@@ -91639,14 +91693,16 @@ async function quickSetup() {
91639
91693
  userEmail: loginResult.email,
91640
91694
  userName: loginResult.name,
91641
91695
  setupDate,
91696
+ updateChannel: releaseContext.channel,
91697
+ serverUrl: releaseContext.serverUrl,
91642
91698
  ...loginResult.registeredMachineId ? { registeredMachineId: loginResult.registeredMachineId } : {}
91643
91699
  };
91644
91700
  updateConfig(configUpdate);
91645
91701
  console.log(source_default.green(` \u2713 Machine registered`));
91646
91702
  }
91647
- await installCliOnly();
91703
+ await installCliOnly(releaseContext);
91648
91704
  if (loginResult) {
91649
- await startDaemonFlow();
91705
+ await startDaemonFlow(releaseContext);
91650
91706
  } else {
91651
91707
  console.log(source_default.gray(" Start daemon after login: adhdev setup"));
91652
91708
  console.log();
@@ -91655,6 +91711,7 @@ async function quickSetup() {
91655
91711
  console.log(source_default.bold("\n\u{1F389} Setup Complete!\n"));
91656
91712
  console.log(` ${source_default.bold("User:")} ${loginResult?.email || "not logged in"}`);
91657
91713
  console.log(` ${source_default.bold("Status:")} ${loginResult ? source_default.green("Ready to connect") : source_default.yellow("Login required")}`);
91714
+ console.log(` ${source_default.bold("Server:")} ${releaseContext.serverUrl}`);
91658
91715
  console.log();
91659
91716
  console.log(source_default.gray(" Next steps:"));
91660
91717
  console.log(source_default.gray(` ${loginResult ? "adhdev daemon \u2014 Start the main daemon (IDE / remote features)" : "adhdev setup \u2014 Sign in to finish setup and enable the daemon"}`));
@@ -91665,11 +91722,12 @@ async function quickSetup() {
91665
91722
  console.log(source_default.gray(" adhdev launch claude \u2014 Start Claude Code agent"));
91666
91723
  console.log(source_default.gray(" adhdev status \u2014 Check setup status"));
91667
91724
  console.log();
91668
- console.log(source_default.cyan(" Dashboard: https://adhf.dev/dashboard"));
91725
+ console.log(source_default.cyan(` Dashboard: ${releaseContext.dashboardUrl}`));
91669
91726
  console.log();
91670
91727
  }
91671
- async function loginFlow() {
91728
+ async function loginFlow(releaseContext) {
91672
91729
  console.log(source_default.bold("\n\u{1F510} Login to ADHDev\n"));
91730
+ console.log(source_default.gray(` Auth server: ${releaseContext.serverUrl}`));
91673
91731
  const { wantLogin } = await lib_default.prompt([
91674
91732
  {
91675
91733
  type: "confirm",
@@ -91686,7 +91744,7 @@ async function loginFlow() {
91686
91744
  try {
91687
91745
  const config2 = loadConfig();
91688
91746
  const os31 = await import("os");
91689
- const res = await fetch(`${SERVER_URL}/auth/cli/init`, {
91747
+ const res = await fetch(`${releaseContext.serverUrl}/auth/cli/init`, {
91690
91748
  method: "POST",
91691
91749
  headers: { "Content-Type": "application/json" },
91692
91750
  body: JSON.stringify({
@@ -91728,7 +91786,7 @@ async function loginFlow() {
91728
91786
  while (Date.now() - startTime < timeout) {
91729
91787
  await new Promise((r) => setTimeout(r, 3e3));
91730
91788
  try {
91731
- const res = await fetch(`${SERVER_URL}/auth/cli/poll`, {
91789
+ const res = await fetch(`${releaseContext.serverUrl}/auth/cli/poll`, {
91732
91790
  method: "POST",
91733
91791
  headers: { "Content-Type": "application/json" },
91734
91792
  body: JSON.stringify({ deviceCode })
@@ -91758,9 +91816,9 @@ async function loginFlow() {
91758
91816
  console.log();
91759
91817
  console.log(source_default.yellow(" To fix this, do one of the following:"));
91760
91818
  console.log(source_default.gray(" 1. Remove an unused machine from the dashboard:"));
91761
- console.log(source_default.gray(" https://adhf.dev/account \u2192 Registered Machines \u2192 \u2715 Remove"));
91819
+ console.log(source_default.gray(` ${releaseContext.dashboardUrl.replace(/\/dashboard$/, "/account")} \u2192 Registered Machines \u2192 \u2715 Remove`));
91762
91820
  console.log(source_default.gray(" 2. Upgrade your plan:"));
91763
- console.log(source_default.gray(" https://adhf.dev/account?tab=billing"));
91821
+ console.log(source_default.gray(` ${releaseContext.dashboardUrl.replace(/\/dashboard$/, "/account?tab=billing")}`));
91764
91822
  console.log();
91765
91823
  console.log(source_default.gray(" Then run `adhdev setup` again."));
91766
91824
  console.log();
@@ -91772,11 +91830,12 @@ async function loginFlow() {
91772
91830
  pollSpinner.fail("Authentication timed out");
91773
91831
  return null;
91774
91832
  }
91775
- async function startDaemonFlow() {
91833
+ async function startDaemonFlow(releaseContext) {
91776
91834
  const { isDaemonRunning: isDaemonRunning2 } = await Promise.resolve().then(() => (init_adhdev_daemon(), adhdev_daemon_exports));
91777
91835
  if (isDaemonRunning2()) {
91778
91836
  console.log(source_default.green(" \u2713 Daemon is already running"));
91779
- console.log(source_default.gray(" Dashboard: https://adhf.dev/dashboard\n"));
91837
+ console.log(source_default.gray(` Dashboard: ${releaseContext.dashboardUrl}
91838
+ `));
91780
91839
  return;
91781
91840
  }
91782
91841
  const { startDaemon } = await lib_default.prompt([
@@ -91830,7 +91889,7 @@ async function startDaemonFlow() {
91830
91889
  } else {
91831
91890
  daemonSpinner.warn("Daemon starting in background (may take a few seconds)");
91832
91891
  }
91833
- console.log(source_default.gray(" Dashboard: https://adhf.dev/dashboard"));
91892
+ console.log(source_default.gray(` Dashboard: ${releaseContext.dashboardUrl}`));
91834
91893
  console.log(source_default.gray(` Logs: ${logPath}`));
91835
91894
  console.log();
91836
91895
  } catch (e) {
@@ -91838,7 +91897,7 @@ async function startDaemonFlow() {
91838
91897
  console.log(source_default.gray(" Manual: adhdev daemon\n"));
91839
91898
  }
91840
91899
  }
91841
- async function installCliOnly() {
91900
+ async function installCliOnly(releaseContext) {
91842
91901
  const { execFileSync: execFileSyncLocal } = await import("child_process");
91843
91902
  const currentVersion = readInstalledGlobalCliVersion(execFileSyncLocal);
91844
91903
  const isNpx = process.env.npm_execpath?.includes("npx") || process.argv[1]?.includes("npx") || process.argv[1]?.includes("_npx");
@@ -91851,7 +91910,7 @@ async function installCliOnly() {
91851
91910
  console.log();
91852
91911
  if (currentVersion) {
91853
91912
  console.log(source_default.green(` \u2713 Currently installed: v${currentVersion}`));
91854
- const latestVersion = readLatestPublishedCliVersion(execFileSyncLocal);
91913
+ const latestVersion = readLatestPublishedCliVersion(execFileSyncLocal, releaseContext.npmTag);
91855
91914
  if (latestVersion && currentVersion === latestVersion) {
91856
91915
  console.log(source_default.gray(" (Already up to date)"));
91857
91916
  return;
@@ -91860,12 +91919,12 @@ async function installCliOnly() {
91860
91919
  const { doUpdate } = await lib_default.prompt([{
91861
91920
  type: "confirm",
91862
91921
  name: "doUpdate",
91863
- message: `Update to latest version${latestVersion ? ` (v${latestVersion})` : ""}?`,
91922
+ message: `Update to ${releaseContext.npmTag} version${latestVersion ? ` (v${latestVersion})` : ""}?`,
91864
91923
  default: true
91865
91924
  }]);
91866
91925
  if (!doUpdate) return;
91867
91926
  } else {
91868
- console.log(source_default.gray(" Updating to latest..."));
91927
+ console.log(source_default.gray(` Updating to ${releaseContext.npmTag}...`));
91869
91928
  }
91870
91929
  } else {
91871
91930
  console.log(source_default.yellow(" \u2717 Not installed globally"));
@@ -91873,7 +91932,7 @@ async function installCliOnly() {
91873
91932
  const { doInstall } = await lib_default.prompt([{
91874
91933
  type: "confirm",
91875
91934
  name: "doInstall",
91876
- message: "Install adhdev CLI globally? (npm install -g adhdev)",
91935
+ message: `Install adhdev CLI globally? (npm install -g adhdev@${releaseContext.npmTag})`,
91877
91936
  default: true
91878
91937
  }]);
91879
91938
  if (!doInstall) {
@@ -91886,14 +91945,14 @@ async function installCliOnly() {
91886
91945
  }
91887
91946
  const installSpinner = ora2("Installing adhdev CLI...").start();
91888
91947
  try {
91889
- const installCommand = buildPinnedGlobalInstallCommand({ packageName: "adhdev", targetVersion: "latest" });
91948
+ const installCommand = buildPinnedGlobalInstallCommand({ packageName: "adhdev", targetVersion: releaseContext.npmTag });
91890
91949
  execFileSyncLocal(installCommand.command, installCommand.args, {
91891
91950
  encoding: "utf-8",
91892
91951
  timeout: 6e4,
91893
91952
  stdio: ["pipe", "pipe", "pipe"],
91894
91953
  ...installCommand.execOptions
91895
91954
  });
91896
- const newVersion = readInstalledGlobalCliVersion(execFileSyncLocal) || "latest";
91955
+ const newVersion = readInstalledGlobalCliVersion(execFileSyncLocal) || releaseContext.npmTag;
91897
91956
  installSpinner.succeed(`adhdev CLI ${currentVersion ? "updated" : "installed"} \u2713 (v${newVersion})`);
91898
91957
  console.log(source_default.gray(" Try: adhdev daemon"));
91899
91958
  console.log();
@@ -91904,11 +91963,11 @@ async function installCliOnly() {
91904
91963
  if (osModule.platform() === "win32") {
91905
91964
  console.log(source_default.gray(" On Windows, run PowerShell as Administrator"));
91906
91965
  }
91907
- console.log(source_default.gray(" Manual: npm install -g adhdev@latest"));
91966
+ console.log(source_default.gray(` Manual: npm install -g adhdev@${releaseContext.npmTag}`));
91908
91967
  console.log();
91909
91968
  }
91910
91969
  }
91911
- var SERVER_URL, LOGO, DIVIDER;
91970
+ var CHANNEL_NPM_TAG2, CHANNEL_SERVER_URL2, LOGO, DIVIDER;
91912
91971
  var init_wizard = __esm({
91913
91972
  "src/wizard.ts"() {
91914
91973
  "use strict";
@@ -91917,7 +91976,14 @@ var init_wizard = __esm({
91917
91976
  init_ora();
91918
91977
  init_src();
91919
91978
  init_version();
91920
- SERVER_URL = process.env.ADHDEV_SERVER_URL || "https://api.adhf.dev";
91979
+ CHANNEL_NPM_TAG2 = {
91980
+ stable: "latest",
91981
+ preview: "next"
91982
+ };
91983
+ CHANNEL_SERVER_URL2 = {
91984
+ stable: "https://api.adhf.dev",
91985
+ preview: "https://api-preview.adhf.dev"
91986
+ };
91921
91987
  LOGO = `
91922
91988
  ${source_default.cyan("\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557")}
91923
91989
  ${source_default.cyan("\u2551")} ${source_default.bold.white("\u{1F9A6} ADHDev Setup Wizard")} ${source_default.cyan("\u2551")}
@@ -93941,8 +94007,8 @@ var DEFAULT_TRACE_FOLLOW_INTERVAL_MS = 1500;
93941
94007
  var DEFAULT_DAEMON_PORT_TEXT = String(DEFAULT_DAEMON_PORT);
93942
94008
  var DEV_SERVER_PORT2 = 19280;
93943
94009
  var DEV_SERVER_BASE_URL = `http://127.0.0.1:${DEV_SERVER_PORT2}`;
93944
- var CHANNEL_NPM_TAG2 = { stable: "latest", preview: "next" };
93945
- var CHANNEL_SERVER_URL2 = {
94010
+ var CHANNEL_NPM_TAG3 = { stable: "latest", preview: "next" };
94011
+ var CHANNEL_SERVER_URL3 = {
93946
94012
  stable: "https://api.adhf.dev",
93947
94013
  preview: "https://api-preview.adhf.dev"
93948
94014
  };
@@ -93962,11 +94028,11 @@ async function resolveConfiguredUpdateChannel() {
93962
94028
  }
93963
94029
  }
93964
94030
  function releaseChannelLabel(channel) {
93965
- return `${channel} (${CHANNEL_NPM_TAG2[channel]})`;
94031
+ return `${channel} (${CHANNEL_NPM_TAG3[channel]})`;
93966
94032
  }
93967
94033
  async function persistReleaseChannel(channel) {
93968
94034
  const { updateConfig: updateConfig2 } = await Promise.resolve().then(() => (init_src(), src_exports));
93969
- updateConfig2({ updateChannel: channel, serverUrl: CHANNEL_SERVER_URL2[channel] });
94035
+ updateConfig2({ updateChannel: channel, serverUrl: CHANNEL_SERVER_URL3[channel] });
93970
94036
  }
93971
94037
  function hideCommand(command) {
93972
94038
  command._hidden = true;
@@ -94291,7 +94357,7 @@ async function runDaemonUpgrade(options, pkgVersion3) {
94291
94357
  return;
94292
94358
  }
94293
94359
  const configuredChannel = requestedChannel || await resolveConfiguredUpdateChannel();
94294
- const npmTag = CHANNEL_NPM_TAG2[configuredChannel];
94360
+ const npmTag = CHANNEL_NPM_TAG3[configuredChannel];
94295
94361
  if (requestedChannel) {
94296
94362
  await persistReleaseChannel(configuredChannel);
94297
94363
  }
@@ -94962,7 +95028,7 @@ function registerDaemonCommands(program2, pkgVersion3) {
94962
95028
  const current = normalizeReleaseChannel2(config2.updateChannel) || "stable";
94963
95029
  console.log(source_default.bold("\n ADHDev Channel\n"));
94964
95030
  console.log(` ${source_default.bold("Channel:")} ${releaseChannelLabel(current)}`);
94965
- console.log(` ${source_default.bold("Server:")} ${config2.serverUrl || CHANNEL_SERVER_URL2[current]}`);
95031
+ console.log(` ${source_default.bold("Server:")} ${config2.serverUrl || CHANNEL_SERVER_URL3[current]}`);
94966
95032
  console.log();
94967
95033
  });
94968
95034
  channel.command("set <channel>").description("Set the ADHDev channel: stable/latest or preview/next").action(async (channelName) => {
@@ -94977,7 +95043,7 @@ function registerDaemonCommands(program2, pkgVersion3) {
94977
95043
  await persistReleaseChannel(selected);
94978
95044
  console.log(source_default.green(`
94979
95045
  \u2713 Channel set to ${releaseChannelLabel(selected)}`));
94980
- console.log(source_default.gray(` Server: ${CHANNEL_SERVER_URL2[selected]}`));
95046
+ console.log(source_default.gray(` Server: ${CHANNEL_SERVER_URL3[selected]}`));
94981
95047
  console.log(source_default.gray(` Update: adhdev update --channel ${selected}
94982
95048
  `));
94983
95049
  });