@magclaw/cli-core 0.1.35 → 0.1.36

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magclaw/cli-core",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "Shared local MagClaw CLI implementation used by daemon and computer packages.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.js CHANGED
@@ -5075,7 +5075,11 @@ class MagClawDaemon {
5075
5075
  }
5076
5076
  const sessionContext = {
5077
5077
  sessionKey: message.payload?.sessionKey || message.sessionKey || '',
5078
- workspaceId: message.workspaceId || message.payload?.workspaceId || '',
5078
+ workspaceId: message.payload?.message?.workspaceId
5079
+ || message.payload?.workItem?.workspaceId
5080
+ || message.payload?.workspaceId
5081
+ || message.workspaceId
5082
+ || '',
5079
5083
  message: message.payload?.message || {},
5080
5084
  };
5081
5085
  const sessionKey = sessionContext.sessionKey || daemonConversationLaneKey({