@adhdev/daemon-standalone 0.9.82-rc.547 → 0.9.82-rc.548

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
@@ -30208,10 +30208,10 @@ var require_dist3 = __commonJS({
30208
30208
  }
30209
30209
  function getDaemonBuildInfo() {
30210
30210
  if (cached2) return cached2;
30211
- const commit = readInjected(true ? "cd7beb689ebd9b05c1a0d4a78b48aec469a85df4" : void 0) ?? "unknown";
30212
- const commitShort = readInjected(true ? "cd7beb68" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30213
- const version2 = readInjected(true ? "0.9.82-rc.547" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30214
- const builtAt = readInjected(true ? "2026-07-16T12:51:48.389Z" : void 0);
30211
+ const commit = readInjected(true ? "dfd771e772756bbf5b5e28e0dcfd1cd39ff424bd" : void 0) ?? "unknown";
30212
+ const commitShort = readInjected(true ? "dfd771e7" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30213
+ const version2 = readInjected(true ? "0.9.82-rc.548" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30214
+ const builtAt = readInjected(true ? "2026-07-16T15:02:23.398Z" : void 0);
30215
30215
  cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
30216
30216
  return cached2;
30217
30217
  }
@@ -82163,6 +82163,31 @@ Run 'adhdev doctor' for detailed diagnostics.`
82163
82163
  init_state_store();
82164
82164
  init_recent_activity();
82165
82165
  init_mesh_events_utils();
82166
+ init_logger();
82167
+ function forwardConversationPrefsToCoordinator(ctx, sessionId, patch) {
82168
+ const dispatch = ctx.deps.dispatchMeshCommand;
82169
+ if (!dispatch) return;
82170
+ let settings = {};
82171
+ try {
82172
+ const state = ctx.deps.instanceManager.getInstance(sessionId)?.getState?.();
82173
+ if (state?.settings && typeof state.settings === "object") {
82174
+ settings = state.settings;
82175
+ }
82176
+ } catch {
82177
+ }
82178
+ const coordinatorDaemonId = readNonEmptyString2(settings.meshCoordinatorDaemonId);
82179
+ const meshId = readNonEmptyString2(settings.meshNodeFor);
82180
+ if (!coordinatorDaemonId || !meshId) return;
82181
+ const nodeId = readNonEmptyString2(settings.meshNodeId) || readNonEmptyString2(settings.meshLastNodeId);
82182
+ const payload = {
82183
+ event: "session:settings_changed",
82184
+ meshId,
82185
+ targetSessionId: sessionId,
82186
+ ...nodeId ? { nodeId } : {},
82187
+ sessionSettings: { ...patch }
82188
+ };
82189
+ Promise.resolve(dispatch(coordinatorDaemonId, "mesh_forward_event", payload)).catch((e) => LOG2.warn("Mesh", `[Mesh] set_conversation_prefs mirror forward to coordinator ${coordinatorDaemonId.slice(0, 12)} failed: ${e?.message || e}`));
82190
+ }
82166
82191
  var cliAgentHandlers = {
82167
82192
  launch_cli: async (ctx, args) => {
82168
82193
  const launchResult = await ctx.deps.cliManager.handleCliCommand("launch_cli", args);
@@ -82214,6 +82239,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
82214
82239
  if (!Object.keys(patch).length) return { success: false, error: "Nothing to update (hidden and/or muted required)" };
82215
82240
  inst.updateSettings(patch);
82216
82241
  ctx.deps.onStatusChange?.();
82242
+ forwardConversationPrefsToCoordinator(ctx, sessionId, patch);
82217
82243
  return { success: true, sessionId, ...patch };
82218
82244
  },
82219
82245
  agent_command: async (ctx, args) => {