@myagentroam/node 0.10.67 → 0.11.0

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/connector.js CHANGED
@@ -1329,6 +1329,7 @@ export class NodeConnector {
1329
1329
  this.workspaceCoordinator.invalidateChanges(workspaceId);
1330
1330
  this.workspaceSessionService.invalidate(workspaceId);
1331
1331
  this.workspaceCoordinator.clearWatches(workspaceId);
1332
+ this.workspaceWorkbenchService.clearWorkspace(workspaceId);
1332
1333
  this.promptCompletion?.invalidateWorkspace(workspaceId);
1333
1334
  });
1334
1335
  this.workspaceWorkbenchService = new WorkspaceWorkbenchService({
@@ -277,13 +277,13 @@ export class OpenCodeManagedRunController {
277
277
  ? existingImagePaths
278
278
  : await this.host.persistAttachments(input.cwd, input.runId, input.attachments);
279
279
  const execution = this.runner.execution.get(input.runId);
280
- if (execution !== undefined) {
281
- execution.responseLatency = new ResponseLatencyTracker();
282
- execution.responsePartKinds = new Map();
283
- execution.responseStartedAt = Date.now();
284
- execution.responseMessages = new Set();
285
- execution.generationTiming = new GenerationTimingTracker();
286
- }
280
+ if (execution?.abort !== abort || abort.signal.aborted)
281
+ return;
282
+ execution.responseLatency = new ResponseLatencyTracker();
283
+ execution.responsePartKinds = new Map();
284
+ execution.responseStartedAt = Date.now();
285
+ execution.responseMessages = new Set();
286
+ execution.generationTiming = new GenerationTimingTracker();
287
287
  await client.prompt({
288
288
  directory: input.cwd,
289
289
  sessionID: nativeSessionId,
@@ -198,6 +198,8 @@ export class ContinuousRunCoordinator {
198
198
  return 'ACCEPTED';
199
199
  }
200
200
  if (startsAcceptedRun) {
201
+ if (this.options.runtime.sessionQueue(sessionId).version !== queueVersionBeforeSettle)
202
+ this.publish(sessionId);
201
203
  this.schedule(sessionId);
202
204
  return 'STARTED';
203
205
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/node",
3
- "version": "0.10.67",
3
+ "version": "0.11.0",
4
4
  "description": "MyAgentRoam Node runtime CLI.",
5
5
  "license": "Apache-2.0 AND GPL-2.0-or-later",
6
6
  "type": "module",
@@ -37,10 +37,10 @@
37
37
  "playwright": "1.62.1",
38
38
  "ws": "^8.21.3",
39
39
  "zod": "4.4.3",
40
- "@myagentroam/agent": "0.10.67",
41
- "@myagentroam/code-navigation": "0.10.1",
42
- "@myagentroam/protocol": "0.10.67",
43
- "@myagentroam/marctl": "0.10.12"
40
+ "@myagentroam/agent": "0.11.0",
41
+ "@myagentroam/marctl": "0.11.0",
42
+ "@myagentroam/code-navigation": "0.11.0",
43
+ "@myagentroam/protocol": "0.11.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/ws": "^8.18.1"