adhdev 0.9.82-rc.55 → 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/index.js CHANGED
@@ -46791,15 +46791,15 @@ function reconcileInlineMeshCache(cached2, incoming) {
46791
46791
  const cachedNodes = Array.isArray(cached2.nodes) ? cached2.nodes : [];
46792
46792
  const incomingNodes = Array.isArray(incoming.nodes) ? incoming.nodes : [];
46793
46793
  if (!cachedNodes.length || !incomingNodes.length) return { ...cached2, ...incoming };
46794
- const incomingById = /* @__PURE__ */ new Map();
46795
- for (const node of incomingNodes) {
46794
+ const cachedById = /* @__PURE__ */ new Map();
46795
+ for (const node of cachedNodes) {
46796
46796
  const nodeId = readInlineMeshNodeId(node);
46797
- if (nodeId) incomingById.set(nodeId, node);
46797
+ if (nodeId) cachedById.set(nodeId, node);
46798
46798
  }
46799
- const nodes = cachedNodes.map((cachedNode) => {
46800
- const nodeId = readInlineMeshNodeId(cachedNode);
46801
- const incomingNode = nodeId ? incomingById.get(nodeId) : void 0;
46802
- if (!incomingNode) return cachedNode;
46799
+ const nodes = incomingNodes.map((incomingNode) => {
46800
+ const nodeId = readInlineMeshNodeId(incomingNode);
46801
+ const cachedNode = nodeId ? cachedById.get(nodeId) : void 0;
46802
+ if (!cachedNode) return incomingNode;
46803
46803
  if (hasInlineMeshTransientNodeState(incomingNode)) {
46804
46804
  return { ...cachedNode, ...incomingNode };
46805
46805
  }
@@ -46954,7 +46954,7 @@ async function hydrateInlineMeshDirectTruth(args) {
46954
46954
  if (!isSelfNode && daemonId) unavailableNodeIds.push(nodeId);
46955
46955
  continue;
46956
46956
  }
46957
- if (isSelfNode && fs10.existsSync(workspace)) {
46957
+ if (fs10.existsSync(workspace)) {
46958
46958
  try {
46959
46959
  const localGit = await getGitRepoStatus(workspace, { timeoutMs: 1e4, refreshUpstream: true });
46960
46960
  if (localGit?.isGitRepo) {
@@ -69344,7 +69344,7 @@ var init_adhdev_daemon = __esm({
69344
69344
  init_version();
69345
69345
  init_src();
69346
69346
  init_runtime_defaults();
69347
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.55" });
69347
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.57" });
69348
69348
  AdhdevDaemon = class _AdhdevDaemon {
69349
69349
  localHttpServer = null;
69350
69350
  localWss = null;
@@ -70881,7 +70881,7 @@ var require_yoctocolors_cjs = __commonJS({
70881
70881
  }
70882
70882
  });
70883
70883
 
70884
- // ../../node_modules/@inquirer/figures/dist/esm/index.mjs
70884
+ // ../../node_modules/@inquirer/figures/dist/esm/index.js
70885
70885
  function isUnicodeSupported() {
70886
70886
  if (import_node_process3.default.platform !== "win32") {
70887
70887
  return import_node_process3.default.env["TERM"] !== "linux";
@@ -70893,7 +70893,7 @@ function isUnicodeSupported() {
70893
70893
  }
70894
70894
  var import_node_process3, common2, specialMainSymbols, specialFallbackSymbols, mainSymbols, fallbackSymbols, shouldUseMain, figures, esm_default, replacements;
70895
70895
  var init_esm3 = __esm({
70896
- "../../node_modules/@inquirer/figures/dist/esm/index.mjs"() {
70896
+ "../../node_modules/@inquirer/figures/dist/esm/index.js"() {
70897
70897
  "use strict";
70898
70898
  import_node_process3 = __toESM(require("process"), 1);
70899
70899
  common2 = {
@@ -71164,7 +71164,10 @@ var init_esm3 = __esm({
71164
71164
  oneNinth: "1/9",
71165
71165
  oneTenth: "1/10"
71166
71166
  };
71167
- mainSymbols = { ...common2, ...specialMainSymbols };
71167
+ mainSymbols = {
71168
+ ...common2,
71169
+ ...specialMainSymbols
71170
+ };
71168
71171
  fallbackSymbols = {
71169
71172
  ...common2,
71170
71173
  ...specialFallbackSymbols