@myagentroam/marctl 0.10.7 → 0.10.8

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/sessions.mjs +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/marctl",
3
- "version": "0.10.7",
3
+ "version": "0.10.8",
4
4
  "description": "MyAgentRoam command-line interface for authorized Node access.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/src/sessions.mjs CHANGED
@@ -161,6 +161,8 @@ export async function runSessionCommand({ args, client, env, stdin, WebSocketCla
161
161
  if (args.action === 'current' && env.MAR_CTL_SESSION_ID) body.sessionId = env.MAR_CTL_SESSION_ID;
162
162
  if (args.action === 'start' && env.MAR_CTL_SESSION_ID)
163
163
  body.parentSessionId = env.MAR_CTL_SESSION_ID;
164
+ if (['start', 'send'].includes(args.action) && env.MAR_CTL_SESSION_ID)
165
+ body.sourceSessionId = env.MAR_CTL_SESSION_ID;
164
166
  if (args.messageFile !== undefined || args.message !== undefined)
165
167
  body.content = await messageContent(
166
168
  args,