@myagentroam/node 0.9.141 → 0.9.142

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.
@@ -283,14 +283,11 @@ export class ContinuousRunCoordinator {
283
283
  }
284
284
  this.dispatchedExecutions.add(executionId);
285
285
  try {
286
- const goalMcp = pending.goal === undefined
287
- ? undefined
288
- : await this.options.goalMcp?.(pending);
289
- const scheduledMcp = await this.options.scheduledMcp?.(pending);
290
- const mailMcp = await this.options.mailMcp?.({
291
- ...pending,
292
- runId: executionId
293
- });
286
+ // Capabilities belong to this Execution, never the Run or a claimed QueueItem.
287
+ const executionInput = { ...pending, runId: executionId };
288
+ const goalMcp = pending.goal === undefined ? undefined : await this.options.goalMcp?.(executionInput);
289
+ const scheduledMcp = await this.options.scheduledMcp?.(executionInput);
290
+ const mailMcp = await this.options.mailMcp?.(executionInput);
294
291
  if (!this.goalCurrent(pending)) {
295
292
  this.dispatchedExecutions.delete(executionId);
296
293
  this.rejectStaleGoal(executionId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/node",
3
- "version": "0.9.141",
3
+ "version": "0.9.142",
4
4
  "description": "MyAgentRoam Node runtime CLI.",
5
5
  "license": "Apache-2.0 AND GPL-2.0-or-later",
6
6
  "type": "module",
@@ -35,8 +35,8 @@
35
35
  "ws": "^8.21.3",
36
36
  "zod": "4.4.3",
37
37
  "@myagentroam/marctl": "0.9.120",
38
- "@myagentroam/agent": "0.9.141",
39
- "@myagentroam/protocol": "0.9.141",
38
+ "@myagentroam/agent": "0.9.142",
39
+ "@myagentroam/protocol": "0.9.142",
40
40
  "@myagentroam/code-navigation": "0.9.129"
41
41
  },
42
42
  "devDependencies": {