@mindstudio-ai/remy 0.1.236 → 0.1.237

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
@@ -7032,7 +7032,10 @@ async function runTurn(params) {
7032
7032
  onEvent({
7033
7033
  type: "user_message",
7034
7034
  text: userMessage,
7035
- hidden: hidden || void 0
7035
+ hidden: hidden || void 0,
7036
+ // Include attachments so the live event can render a queued voice/image/file
7037
+ // bubble; a voice message has empty text and the transcript lives here.
7038
+ ...hasAttachments && { attachments }
7036
7039
  });
7037
7040
  const isFirstMessage = state.messages.filter((m) => m.role === "user").length === 1;
7038
7041
  const STATUS_EXCLUDED_TOOLS = /* @__PURE__ */ new Set([
@@ -8152,7 +8155,16 @@ var HeadlessSession = class {
8152
8155
  this.emit("turn_started", {}, rid);
8153
8156
  return;
8154
8157
  case "user_message":
8155
- this.emit("user_message", { text: e.text }, rid);
8158
+ this.emit(
8159
+ "user_message",
8160
+ {
8161
+ text: e.text,
8162
+ // Forward attachments so queued voice/image/file sends render live;
8163
+ // otherwise the bubble is blank until a get_history refresh.
8164
+ ...e.attachments && { attachments: e.attachments }
8165
+ },
8166
+ rid
8167
+ );
8156
8168
  return;
8157
8169
  // Terminal events — translate to `completed`.
8158
8170
  // Post-turn queue drain happens in handleMessage AFTER runTurn returns,
package/dist/index.js CHANGED
@@ -7764,7 +7764,10 @@ async function runTurn(params) {
7764
7764
  onEvent({
7765
7765
  type: "user_message",
7766
7766
  text: userMessage,
7767
- hidden: hidden || void 0
7767
+ hidden: hidden || void 0,
7768
+ // Include attachments so the live event can render a queued voice/image/file
7769
+ // bubble; a voice message has empty text and the transcript lives here.
7770
+ ...hasAttachments && { attachments }
7768
7771
  });
7769
7772
  const isFirstMessage = state.messages.filter((m) => m.role === "user").length === 1;
7770
7773
  const STATUS_EXCLUDED_TOOLS = /* @__PURE__ */ new Set([
@@ -9037,7 +9040,16 @@ var init_headless = __esm({
9037
9040
  this.emit("turn_started", {}, rid);
9038
9041
  return;
9039
9042
  case "user_message":
9040
- this.emit("user_message", { text: e.text }, rid);
9043
+ this.emit(
9044
+ "user_message",
9045
+ {
9046
+ text: e.text,
9047
+ // Forward attachments so queued voice/image/file sends render live;
9048
+ // otherwise the bubble is blank until a get_history refresh.
9049
+ ...e.attachments && { attachments: e.attachments }
9050
+ },
9051
+ rid
9052
+ );
9041
9053
  return;
9042
9054
  // Terminal events — translate to `completed`.
9043
9055
  // Post-turn queue drain happens in handleMessage AFTER runTurn returns,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/remy",
3
- "version": "0.1.236",
3
+ "version": "0.1.237",
4
4
  "description": "Remy coding agent",
5
5
  "repository": {
6
6
  "type": "git",