adhdev 0.9.82-rc.56 → 0.9.82-rc.57

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
@@ -47779,15 +47779,15 @@ function reconcileInlineMeshCache(cached2, incoming) {
47779
47779
  const cachedNodes = Array.isArray(cached2.nodes) ? cached2.nodes : [];
47780
47780
  const incomingNodes = Array.isArray(incoming.nodes) ? incoming.nodes : [];
47781
47781
  if (!cachedNodes.length || !incomingNodes.length) return { ...cached2, ...incoming };
47782
- const incomingById = /* @__PURE__ */ new Map();
47783
- for (const node of incomingNodes) {
47782
+ const cachedById = /* @__PURE__ */ new Map();
47783
+ for (const node of cachedNodes) {
47784
47784
  const nodeId = readInlineMeshNodeId(node);
47785
- if (nodeId) incomingById.set(nodeId, node);
47785
+ if (nodeId) cachedById.set(nodeId, node);
47786
47786
  }
47787
- const nodes = cachedNodes.map((cachedNode) => {
47788
- const nodeId = readInlineMeshNodeId(cachedNode);
47789
- const incomingNode = nodeId ? incomingById.get(nodeId) : void 0;
47790
- if (!incomingNode) return cachedNode;
47787
+ const nodes = incomingNodes.map((incomingNode) => {
47788
+ const nodeId = readInlineMeshNodeId(incomingNode);
47789
+ const cachedNode = nodeId ? cachedById.get(nodeId) : void 0;
47790
+ if (!cachedNode) return incomingNode;
47791
47791
  if (hasInlineMeshTransientNodeState(incomingNode)) {
47792
47792
  return { ...cachedNode, ...incomingNode };
47793
47793
  }
@@ -47942,7 +47942,7 @@ async function hydrateInlineMeshDirectTruth(args) {
47942
47942
  if (!isSelfNode && daemonId) unavailableNodeIds.push(nodeId);
47943
47943
  continue;
47944
47944
  }
47945
- if (isSelfNode && fs10.existsSync(workspace)) {
47945
+ if (fs10.existsSync(workspace)) {
47946
47946
  try {
47947
47947
  const localGit = await getGitRepoStatus(workspace, { timeoutMs: 1e4, refreshUpstream: true });
47948
47948
  if (localGit?.isGitRepo) {
@@ -60102,7 +60102,7 @@ var require_yoctocolors_cjs = __commonJS({
60102
60102
  }
60103
60103
  });
60104
60104
 
60105
- // ../../node_modules/@inquirer/figures/dist/esm/index.mjs
60105
+ // ../../node_modules/@inquirer/figures/dist/esm/index.js
60106
60106
  function isUnicodeSupported() {
60107
60107
  if (import_node_process3.default.platform !== "win32") {
60108
60108
  return import_node_process3.default.env["TERM"] !== "linux";
@@ -60114,7 +60114,7 @@ function isUnicodeSupported() {
60114
60114
  }
60115
60115
  var import_node_process3, common2, specialMainSymbols, specialFallbackSymbols, mainSymbols, fallbackSymbols, shouldUseMain, figures, esm_default, replacements;
60116
60116
  var init_esm3 = __esm({
60117
- "../../node_modules/@inquirer/figures/dist/esm/index.mjs"() {
60117
+ "../../node_modules/@inquirer/figures/dist/esm/index.js"() {
60118
60118
  "use strict";
60119
60119
  import_node_process3 = __toESM(require("process"), 1);
60120
60120
  common2 = {
@@ -60385,7 +60385,10 @@ var init_esm3 = __esm({
60385
60385
  oneNinth: "1/9",
60386
60386
  oneTenth: "1/10"
60387
60387
  };
60388
- mainSymbols = { ...common2, ...specialMainSymbols };
60388
+ mainSymbols = {
60389
+ ...common2,
60390
+ ...specialMainSymbols
60391
+ };
60389
60392
  fallbackSymbols = {
60390
60393
  ...common2,
60391
60394
  ...specialFallbackSymbols
@@ -100514,7 +100517,7 @@ var init_adhdev_daemon = __esm({
100514
100517
  init_version();
100515
100518
  init_src();
100516
100519
  init_runtime_defaults();
100517
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.56" });
100520
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.57" });
100518
100521
  AdhdevDaemon = class _AdhdevDaemon {
100519
100522
  localHttpServer = null;
100520
100523
  localWss = null;