adhdev 0.5.37 → 0.5.38

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
@@ -18479,6 +18479,8 @@ var require_dist = __commonJS({
18479
18479
  agentStreams = [];
18480
18480
  messages = [];
18481
18481
  activeModal = null;
18482
+ currentModel = "";
18483
+ currentMode = "";
18482
18484
  lastAgentStatus = "idle";
18483
18485
  generatingStartedAt = 0;
18484
18486
  monitor;
@@ -18518,6 +18520,8 @@ var require_dist = __commonJS({
18518
18520
  activeModal: this.activeModal,
18519
18521
  inputContent: ""
18520
18522
  } : null,
18523
+ currentModel: this.currentModel || void 0,
18524
+ currentPlan: this.currentMode || void 0,
18521
18525
  agentStreams: this.agentStreams,
18522
18526
  instanceId: this.instanceId,
18523
18527
  lastUpdated: Date.now(),
@@ -18530,6 +18534,8 @@ var require_dist = __commonJS({
18530
18534
  if (data?.streams) this.agentStreams = data.streams;
18531
18535
  if (data?.messages) this.messages = data.messages;
18532
18536
  if (data?.activeModal !== void 0) this.activeModal = data.activeModal;
18537
+ if (data?.model) this.currentModel = data.model;
18538
+ if (data?.mode) this.currentMode = data.mode;
18533
18539
  if (data?.status) {
18534
18540
  const newStatus = data.status;
18535
18541
  this.detectTransition(newStatus, data);
@@ -25161,6 +25167,7 @@ ${installInfo}`
25161
25167
  messages: data.messages || [],
25162
25168
  inputContent: data.inputContent || "",
25163
25169
  model: data.model,
25170
+ mode: data.mode,
25164
25171
  activeModal: data.activeModal
25165
25172
  };
25166
25173
  if (state.messages.length > 0) {
@@ -30394,7 +30401,7 @@ var init_adhdev_daemon = __esm({
30394
30401
  fs2 = __toESM(require("fs"));
30395
30402
  path2 = __toESM(require("path"));
30396
30403
  import_chalk = __toESM(require("chalk"));
30397
- pkgVersion = "0.5.37";
30404
+ pkgVersion = "0.5.38";
30398
30405
  if (pkgVersion === "unknown") {
30399
30406
  try {
30400
30407
  const possiblePaths = [
@@ -30486,7 +30493,9 @@ var init_adhdev_daemon = __esm({
30486
30493
  streams: [stream],
30487
30494
  messages: stream.messages || [],
30488
30495
  status: stream.status || "idle",
30489
- activeModal: stream.activeModal || null
30496
+ activeModal: stream.activeModal || null,
30497
+ model: stream.model || void 0,
30498
+ mode: stream.mode || void 0
30490
30499
  });
30491
30500
  }
30492
30501
  }