@mindstudio-ai/remy 0.1.173 → 0.1.174

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/headless.js CHANGED
@@ -6857,7 +6857,14 @@ var HeadlessSession = class {
6857
6857
  if (requestId) {
6858
6858
  payload.requestId = requestId;
6859
6859
  }
6860
- process.stdout.write(JSON.stringify(payload) + "\n");
6860
+ const line = JSON.stringify(payload) + "\n";
6861
+ if (event === "history") {
6862
+ log14.info("Wrote history event to stdout", {
6863
+ requestId,
6864
+ bytes: line.length
6865
+ });
6866
+ }
6867
+ process.stdout.write(line);
6861
6868
  }
6862
6869
  /**
6863
6870
  * Emit a `completed` event and mark completedEmitted. Includes
@@ -7439,6 +7446,15 @@ var HeadlessSession = class {
7439
7446
  startIndex--;
7440
7447
  }
7441
7448
  const endIndex = before;
7449
+ log14.info("History response", {
7450
+ requestId,
7451
+ startIndex,
7452
+ endIndex,
7453
+ count: endIndex - startIndex,
7454
+ totalMessageCount: total,
7455
+ beforeParam: rawBefore,
7456
+ limitParam: rawLimit
7457
+ });
7442
7458
  this.dispatchSimple(requestId, "history", () => ({
7443
7459
  messages: this.state.messages.slice(startIndex, endIndex),
7444
7460
  startIndex,
package/dist/index.js CHANGED
@@ -7611,7 +7611,14 @@ var init_headless = __esm({
7611
7611
  if (requestId) {
7612
7612
  payload.requestId = requestId;
7613
7613
  }
7614
- process.stdout.write(JSON.stringify(payload) + "\n");
7614
+ const line = JSON.stringify(payload) + "\n";
7615
+ if (event === "history") {
7616
+ log14.info("Wrote history event to stdout", {
7617
+ requestId,
7618
+ bytes: line.length
7619
+ });
7620
+ }
7621
+ process.stdout.write(line);
7615
7622
  }
7616
7623
  /**
7617
7624
  * Emit a `completed` event and mark completedEmitted. Includes
@@ -8193,6 +8200,15 @@ var init_headless = __esm({
8193
8200
  startIndex--;
8194
8201
  }
8195
8202
  const endIndex = before;
8203
+ log14.info("History response", {
8204
+ requestId,
8205
+ startIndex,
8206
+ endIndex,
8207
+ count: endIndex - startIndex,
8208
+ totalMessageCount: total,
8209
+ beforeParam: rawBefore,
8210
+ limitParam: rawLimit
8211
+ });
8196
8212
  this.dispatchSimple(requestId, "history", () => ({
8197
8213
  messages: this.state.messages.slice(startIndex, endIndex),
8198
8214
  startIndex,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/remy",
3
- "version": "0.1.173",
3
+ "version": "0.1.174",
4
4
  "description": "MindStudio coding agent",
5
5
  "repository": {
6
6
  "type": "git",