@heylemon/lemonade 0.5.6 → 0.5.7

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.
@@ -32,16 +32,15 @@ export async function runAgentTurnWithFallback(params) {
32
32
  isHeartbeat: params.isHeartbeat,
33
33
  });
34
34
  }
35
- // Emit a task_info event so frontend can surface WhatsApp/Slack/sub-agent tasks
35
+ // Emit a task_info event so frontend can surface WhatsApp/Slack tasks
36
36
  const originatingChannel = params.sessionCtx.OriginatingChannel;
37
- const isSubagentRun = params.sessionKey?.includes("subagent:");
38
- if (params.sessionKey && (originatingChannel || isSubagentRun)) {
37
+ if (originatingChannel && params.sessionKey) {
39
38
  emitAgentEvent({
40
39
  runId,
41
40
  stream: "task_info",
42
41
  data: {
43
42
  prompt: params.commandBody?.slice(0, 200),
44
- channel: originatingChannel ?? "subagent",
43
+ channel: originatingChannel,
45
44
  sessionKey: params.sessionKey,
46
45
  startedAt: Date.now(),
47
46
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.6",
3
- "commit": "4bf76e27450b18906a3a8800e4b66e99decf4247",
4
- "builtAt": "2026-02-26T09:58:58.228Z"
2
+ "version": "0.5.7",
3
+ "commit": "afa819caa1ebbbf3880064fe1ff0a3477acf29ba",
4
+ "builtAt": "2026-02-26T11:33:31.094Z"
5
5
  }
@@ -1 +1 @@
1
- 33f31b6577b848c647a79c03a83900a51e63581297cb241916b883d47818842e
1
+ 7f6082891d1a864a62d566ed58f346f2d5a322b0615844b6eeb3eca4862e28e8
@@ -35,7 +35,7 @@ export async function handleTaskEventsHttpRequest(req, res, opts) {
35
35
  if (evt.stream !== "notification") {
36
36
  const sk = evt.sessionKey ?? "";
37
37
  const isMessagingChannel = sk.includes("whatsapp") || sk.includes("slack");
38
- const isSubagent = sk.includes("subagent:");
38
+ const isSubagent = sk.includes(":subagent:");
39
39
  if (!isMessagingChannel && !isSubagent && evt.stream !== "task_info")
40
40
  return;
41
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heylemon/lemonade",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "AI gateway CLI for Lemon - local AI assistant with integrations",
5
5
  "publishConfig": {
6
6
  "access": "restricted"