lody 0.57.1-next.39 → 0.57.1-next.40

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.
@@ -3,7 +3,7 @@ import { readFile, mkdir, writeFile, rename } from "node:fs/promises";
3
3
  import os__default from "node:os";
4
4
  import path__default from "node:path";
5
5
  import process from "node:process";
6
- const reviewViewerVersion = "0.57.1-next.39";
6
+ const reviewViewerVersion = "0.57.1-next.40";
7
7
  const reviewViewerSha256 = "50ab599b652bdf4b959b539ea948454dd588703039bd4c5c037c7877ce10696f";
8
8
  const reviewViewerFileName = "standalone.html";
9
9
  const DEFAULT_CDN_BASES = ["https://cdn.jsdelivr.net/npm", "https://unpkg.com"];
package/dist/index.js CHANGED
@@ -4188,7 +4188,7 @@ let __tla = Promise.all([
4188
4188
  }
4189
4189
  }
4190
4190
  const name$1 = "lody";
4191
- const version$3 = "0.57.1-next.39";
4191
+ const version$3 = "0.57.1-next.40";
4192
4192
  const description$1 = "Lody Agent CLI tool for managing remote command execution";
4193
4193
  const type$2 = "module";
4194
4194
  const main$4 = "dist/index.js";
@@ -10611,6 +10611,29 @@ Task description:
10611
10611
  version: string$1().optional(),
10612
10612
  error: string$1().optional()
10613
10613
  }).strict();
10614
+ const MachineAcpBinaryProgressMessageSchema = object$1({
10615
+ type: literal$1("machine/acp-binary-progress"),
10616
+ machineId: MachineIdSchema,
10617
+ agentType: string$1().trim().min(1),
10618
+ status: _enum$1([
10619
+ "checking",
10620
+ "not-installed",
10621
+ "downloading",
10622
+ "verifying",
10623
+ "extracting",
10624
+ "publishing",
10625
+ "installed",
10626
+ "unsupported-platform",
10627
+ "error"
10628
+ ]),
10629
+ downloadedBytes: number$3().int().nonnegative().optional(),
10630
+ totalBytes: number$3().int().nonnegative().optional(),
10631
+ percent: number$3().min(0).max(100).optional(),
10632
+ platformArch: string$1().optional(),
10633
+ version: string$1().optional(),
10634
+ command: string$1().optional(),
10635
+ error: string$1().optional()
10636
+ }).strict();
10614
10637
  object$1({
10615
10638
  type: literal$1("machine/bug-report"),
10616
10639
  machineId: MachineIdSchema,
@@ -10898,6 +10921,7 @@ Task description:
10898
10921
  MachineAcpCapabilitiesRefreshResponseSchema,
10899
10922
  MachineAcpBinaryStatusResponseSchema,
10900
10923
  MachineAcpBinaryInstallResponseSchema,
10924
+ MachineAcpBinaryProgressMessageSchema,
10901
10925
  SessionCodeCollabHostStartResponseSchema,
10902
10926
  SessionImageUploadResponseSchema,
10903
10927
  SessionFileUploadResponseSchema,
@@ -11428,7 +11452,8 @@ Task description:
11428
11452
  MachinePingResponseSchema,
11429
11453
  MachineAcpCapabilitiesRefreshResponseSchema,
11430
11454
  MachineAcpBinaryStatusResponseSchema,
11431
- MachineAcpBinaryInstallResponseSchema
11455
+ MachineAcpBinaryInstallResponseSchema,
11456
+ MachineAcpBinaryProgressMessageSchema
11432
11457
  ]);
11433
11458
  discriminatedUnion("type", [
11434
11459
  PermissionRequestMessageSchema,
@@ -11439,7 +11464,8 @@ Task description:
11439
11464
  MachinePingResponseSchema,
11440
11465
  MachineAcpCapabilitiesRefreshResponseSchema,
11441
11466
  MachineAcpBinaryStatusResponseSchema,
11442
- MachineAcpBinaryInstallResponseSchema
11467
+ MachineAcpBinaryInstallResponseSchema,
11468
+ MachineAcpBinaryProgressMessageSchema
11443
11469
  ]);
11444
11470
  discriminatedUnion("type", [
11445
11471
  SessionCreateRequestSchema,
@@ -11470,7 +11496,8 @@ Task description:
11470
11496
  MachineAcpBinaryStatusRequestSchema,
11471
11497
  MachineAcpBinaryStatusResponseSchema,
11472
11498
  MachineAcpBinaryInstallRequestSchema,
11473
- MachineAcpBinaryInstallResponseSchema
11499
+ MachineAcpBinaryInstallResponseSchema,
11500
+ MachineAcpBinaryProgressMessageSchema
11474
11501
  ]);
11475
11502
  discriminatedUnion("type", [
11476
11503
  SessionCreateResponseSchema,
@@ -11492,7 +11519,8 @@ Task description:
11492
11519
  MachineAcpBinaryStatusRequestSchema,
11493
11520
  MachineAcpBinaryStatusResponseSchema,
11494
11521
  MachineAcpBinaryInstallRequestSchema,
11495
- MachineAcpBinaryInstallResponseSchema
11522
+ MachineAcpBinaryInstallResponseSchema,
11523
+ MachineAcpBinaryProgressMessageSchema
11496
11524
  ]);
11497
11525
  _enum$1([
11498
11526
  "user",
@@ -100860,13 +100888,19 @@ ${value}`;
100860
100888
  return;
100861
100889
  }
100862
100890
  case "machine/acp-capabilities-refresh": {
100891
+ let progressWrites = Promise.resolve();
100892
+ const appendProgress = (progress) => {
100893
+ progressWrites = progressWrites.then(() => this.appendResultResponse(request2.replyTo, request2.id, request2.method, progress)).catch(() => void 0);
100894
+ };
100863
100895
  const response2 = await this.deps.refreshMachineAcpCapabilities({
100864
100896
  cliType: request2.params.cliType,
100865
100897
  agentType: request2.params.agentType,
100866
100898
  customAcp: request2.params.customAcp,
100867
100899
  runtimeOverrides: request2.params.runtimeOverrides,
100868
- env: request2.params.env
100900
+ env: request2.params.env,
100901
+ onAcpBinaryProgress: appendProgress
100869
100902
  });
100903
+ await progressWrites;
100870
100904
  await this.appendResultResponse(request2.replyTo, request2.id, request2.method, response2);
100871
100905
  return;
100872
100906
  }
@@ -100892,9 +100926,15 @@ ${value}`;
100892
100926
  });
100893
100927
  return;
100894
100928
  }
100929
+ let progressWrites = Promise.resolve();
100930
+ const appendProgress = (progress) => {
100931
+ progressWrites = progressWrites.then(() => this.appendResultResponse(request2.replyTo, request2.id, request2.method, progress)).catch(() => void 0);
100932
+ };
100895
100933
  const response2 = await this.deps.installMachineAcpBinary({
100896
- agentType: request2.params.agentType
100934
+ agentType: request2.params.agentType,
100935
+ onAcpBinaryProgress: appendProgress
100897
100936
  });
100937
+ await progressWrites;
100898
100938
  await this.appendResultResponse(request2.replyTo, request2.id, request2.method, response2);
100899
100939
  return;
100900
100940
  }
@@ -115709,9 +115749,25 @@ ${error2.message}` : execaMessage;
115709
115749
  }
115710
115750
  return serverBaseUrl;
115711
115751
  }
115712
- function formatUnknownError$1(error2) {
115752
+ function formatUnknownError$1(error2, seen = /* @__PURE__ */ new Set()) {
115753
+ if (seen.has(error2)) {
115754
+ return "[circular cause]";
115755
+ }
115756
+ const nextSeen = new Set(seen);
115757
+ nextSeen.add(error2);
115713
115758
  if (error2 instanceof Error) {
115714
- return error2.message || error2.name;
115759
+ const parts2 = [
115760
+ error2.message || error2.name
115761
+ ];
115762
+ const code2 = readErrorCode(error2);
115763
+ if (code2) {
115764
+ parts2.push(`code=${code2}`);
115765
+ }
115766
+ const cause = readErrorCause(error2);
115767
+ if (cause !== void 0) {
115768
+ parts2.push(`cause=${formatUnknownError$1(cause, nextSeen)}`);
115769
+ }
115770
+ return parts2.join("; ");
115715
115771
  }
115716
115772
  if (typeof error2 === "string") {
115717
115773
  return error2;
@@ -115722,6 +115778,13 @@ ${error2.message}` : execaMessage;
115722
115778
  return String(error2);
115723
115779
  }
115724
115780
  }
115781
+ function readErrorCode(error2) {
115782
+ const code2 = error2.code;
115783
+ return typeof code2 === "string" && code2.length > 0 ? code2 : void 0;
115784
+ }
115785
+ function readErrorCause(error2) {
115786
+ return error2.cause;
115787
+ }
115725
115788
  function getDownloadPercent(downloadedBytes, totalBytes) {
115726
115789
  if (!Number.isFinite(totalBytes) || totalBytes <= 0) {
115727
115790
  return void 0;
@@ -117386,7 +117449,8 @@ ${fallbackStderrTail}` : errorMessage;
117386
117449
  agentType: options.agentType,
117387
117450
  customAcp: options.customAcp,
117388
117451
  runtimeOverrides: options.runtimeOverrides,
117389
- extraArgs: options.extraArgs
117452
+ extraArgs: options.extraArgs,
117453
+ onManagedRuntimeProgress: options.onManagedRuntimeProgress
117390
117454
  });
117391
117455
  const launcher = resolveAcpLauncher(launch.command);
117392
117456
  const spawnAnalyticsProps = {
@@ -117736,8 +117800,9 @@ ${fallbackStderrTail}` : errorMessage;
117736
117800
  description: model.description ?? void 0
117737
117801
  }));
117738
117802
  }
117739
- async function fetchAcpCapabilities(cliType, agentType, logger2, env2, customAcp, runtimeOverrides) {
117740
- if (cliType === "builtin" && !hasBuiltinRuntimeOverrideValues(runtimeOverrides)) {
117803
+ async function fetchAcpCapabilities(cliType, agentType, logger2, env2, customAcp, runtimeOverrides, options = {}) {
117804
+ const allowStaticBuiltinCapabilities = options.allowStaticBuiltinCapabilities ?? true;
117805
+ if (allowStaticBuiltinCapabilities && cliType === "builtin" && !hasBuiltinRuntimeOverrideValues(runtimeOverrides)) {
117741
117806
  const staticCapabilities = await getStaticBuiltinAcpCapabilities(agentType);
117742
117807
  if (staticCapabilities) {
117743
117808
  logger2.debug(`[acp-capabilities] Using static builtin capabilities (agentType=${agentType})`);
@@ -117778,6 +117843,7 @@ ${fallbackStderrTail}` : errorMessage;
117778
117843
  runtimeOverrides,
117779
117844
  workdir,
117780
117845
  env: probeEnv,
117846
+ onManagedRuntimeProgress: options.onManagedRuntimeProgress,
117781
117847
  logger: logger2,
117782
117848
  terminalManager: noopTerminalManager2,
117783
117849
  terminalEnabled: false,
@@ -121881,6 +121947,19 @@ $mem | ConvertTo-Json -Compress
121881
121947
  } : {}
121882
121948
  };
121883
121949
  };
121950
+ const managedRuntimeAgentType = (runtimeName) => runtimeName === "claude-code" ? "claude" : "codex";
121951
+ const managedRuntimeProgressStatus = (phase) => phase === "complete" ? "installed" : phase;
121952
+ const toManagedRuntimeProgressMessage = (machineId, event) => ({
121953
+ type: "machine/acp-binary-progress",
121954
+ machineId,
121955
+ agentType: managedRuntimeAgentType(event.runtimeName),
121956
+ status: managedRuntimeProgressStatus(event.phase),
121957
+ downloadedBytes: event.downloadedBytes,
121958
+ totalBytes: event.totalBytes,
121959
+ percent: event.percent,
121960
+ platformArch: event.platformArch,
121961
+ version: event.version
121962
+ });
121884
121963
  class SessionExecutionService {
121885
121964
  constructor(deps) {
121886
121965
  this.deps = deps;
@@ -123994,7 +124073,7 @@ $mem | ConvertTo-Json -Compress
123994
124073
  message: "pong"
123995
124074
  };
123996
124075
  }
123997
- async refreshMachineAcpCapabilities(message) {
124076
+ async refreshMachineAcpCapabilities(message, options = {}) {
123998
124077
  if (message.machineId !== this.deps.machineId) {
123999
124078
  return {
124000
124079
  type: "machine/acp-capabilities-refresh_response",
@@ -124007,11 +124086,17 @@ $mem | ConvertTo-Json -Compress
124007
124086
  }
124008
124087
  const dedupeKey = computeAcpRefreshDedupeKey(message.cliType, message.agentType, message.env, message.customAcp, message.runtimeOverrides);
124009
124088
  this.deps.logger.debug(`[acp-capabilities] Refresh requested (cliType=${message.cliType} agentType=${message.agentType})`);
124010
- return await this.inFlightAcpRefresh.run(dedupeKey, () => this.executeAcpRefresh(message));
124089
+ return await this.inFlightAcpRefresh.run(dedupeKey, () => this.executeAcpRefresh(message, options));
124011
124090
  }
124012
- async executeAcpRefresh(message) {
124091
+ async executeAcpRefresh(message, options = {}) {
124013
124092
  try {
124014
- const { modes, models, configOptions, availableCommands } = await this.deps.fetchAcpCapabilities(message.cliType, message.agentType, message.env, message.customAcp, message.runtimeOverrides);
124093
+ await this.emitBuiltinRuntimeStatusForRefresh(message, options.onAcpBinaryProgress);
124094
+ const { modes, models, configOptions, availableCommands } = await this.deps.fetchAcpCapabilities(message.cliType, message.agentType, message.env, message.customAcp, message.runtimeOverrides, {
124095
+ allowStaticBuiltinCapabilities: false,
124096
+ onManagedRuntimeProgress: (event) => {
124097
+ options.onAcpBinaryProgress?.(toManagedRuntimeProgressMessage(this.deps.machineId, event));
124098
+ }
124099
+ });
124015
124100
  await this.deps.workspaceDocument.updateAcpCapabilities(this.deps.machineId, message.cliType, message.agentType, modes, models, configOptions, availableCommands, getAcpCapabilitySourceVersion({
124016
124101
  cliType: message.cliType,
124017
124102
  agentType: message.agentType,
@@ -124047,6 +124132,33 @@ $mem | ConvertTo-Json -Compress
124047
124132
  };
124048
124133
  }
124049
124134
  }
124135
+ async emitBuiltinRuntimeStatusForRefresh(message, onProgress) {
124136
+ if (!onProgress || message.cliType !== "builtin") {
124137
+ return;
124138
+ }
124139
+ if (hasBuiltinRuntimeOverrideValues(message.runtimeOverrides)) {
124140
+ return;
124141
+ }
124142
+ const runtimeName = this.resolveManagedRuntimeName(message.agentType);
124143
+ if (!runtimeName) {
124144
+ return;
124145
+ }
124146
+ const status = await getManagedAgentRuntimeManager().getRuntimeStatus(runtimeName);
124147
+ onProgress({
124148
+ type: "machine/acp-binary-progress",
124149
+ machineId: this.deps.machineId,
124150
+ agentType: message.agentType,
124151
+ status: status.kind === "installed" ? "installed" : status.kind === "unsupported-platform" ? "unsupported-platform" : "not-installed",
124152
+ command: status.kind === "installed" ? status.command : void 0,
124153
+ platformArch: "platformArch" in status ? status.platformArch : void 0,
124154
+ version: "version" in status ? status.version : void 0
124155
+ });
124156
+ }
124157
+ resolveManagedRuntimeName(agentType) {
124158
+ if (agentType === "codex") return "codex";
124159
+ if (agentType === "claude") return "claude-code";
124160
+ return null;
124161
+ }
124050
124162
  resolveAcpBinaryRequest(message) {
124051
124163
  if (message.machineId !== this.deps.machineId) {
124052
124164
  return {
@@ -124121,7 +124233,7 @@ $mem | ConvertTo-Json -Compress
124121
124233
  };
124122
124234
  }
124123
124235
  }
124124
- async installMachineAcpBinary(message) {
124236
+ async installMachineAcpBinary(message, options = {}) {
124125
124237
  const base = {
124126
124238
  type: "machine/acp-binary-install_response",
124127
124239
  machineId: this.deps.machineId,
@@ -124139,7 +124251,21 @@ $mem | ConvertTo-Json -Compress
124139
124251
  return await this.inFlightAcpBinaryInstall.run(`managed:${resolved.runtimeName}`, async () => {
124140
124252
  try {
124141
124253
  this.deps.logger.debug(`[managed-runtime] Installing ${resolved.runtimeName}`);
124142
- const command2 = await getManagedAgentRuntimeManager().ensureRuntime(resolved.runtimeName);
124254
+ const runtimeStatus = await getManagedAgentRuntimeManager().getRuntimeStatus(resolved.runtimeName);
124255
+ options.onAcpBinaryProgress?.({
124256
+ type: "machine/acp-binary-progress",
124257
+ machineId: this.deps.machineId,
124258
+ agentType: message.agentType,
124259
+ status: runtimeStatus.kind === "installed" ? "installed" : runtimeStatus.kind === "unsupported-platform" ? "unsupported-platform" : "not-installed",
124260
+ command: runtimeStatus.kind === "installed" ? runtimeStatus.command : void 0,
124261
+ platformArch: "platformArch" in runtimeStatus ? runtimeStatus.platformArch : void 0,
124262
+ version: "version" in runtimeStatus ? runtimeStatus.version : void 0
124263
+ });
124264
+ const command2 = await getManagedAgentRuntimeManager().ensureRuntime(resolved.runtimeName, {
124265
+ onProgress: (event) => {
124266
+ options.onAcpBinaryProgress?.(toManagedRuntimeProgressMessage(this.deps.machineId, event));
124267
+ }
124268
+ });
124143
124269
  const version2 = getManagedAgentRuntimeManager().getDefinition(resolved.runtimeName).version;
124144
124270
  return {
124145
124271
  ...base,
@@ -124168,6 +124294,13 @@ $mem | ConvertTo-Json -Compress
124168
124294
  tier: "A"
124169
124295
  });
124170
124296
  this.deps.logger.debug(`[managed-runtime] Install failed for ${resolved.runtimeName}: ${errorMessage}`);
124297
+ options.onAcpBinaryProgress?.({
124298
+ type: "machine/acp-binary-progress",
124299
+ machineId: this.deps.machineId,
124300
+ agentType: message.agentType,
124301
+ status: "error",
124302
+ error: errorMessage
124303
+ });
124171
124304
  return {
124172
124305
  ...base,
124173
124306
  success: false,
@@ -124180,7 +124313,32 @@ $mem | ConvertTo-Json -Compress
124180
124313
  return await this.inFlightAcpBinaryInstall.run(`${agent2.id}@${agent2.version}`, async () => {
124181
124314
  try {
124182
124315
  this.deps.logger.debug(`[acp-binary] Installing ${agent2.id}@${agent2.version}`);
124316
+ const status = await getAcpBinaryManager().getBinaryStatus(agent2);
124317
+ options.onAcpBinaryProgress?.({
124318
+ type: "machine/acp-binary-progress",
124319
+ machineId: this.deps.machineId,
124320
+ agentType: message.agentType,
124321
+ status: status.kind === "installed" ? "installed" : status.kind === "unsupported-platform" ? "unsupported-platform" : status.kind === "not-applicable" ? "installed" : "not-installed",
124322
+ command: status.kind === "installed" ? status.command : void 0,
124323
+ platformArch: "platformArch" in status ? status.platformArch : void 0
124324
+ });
124325
+ if (status.kind === "not-installed") {
124326
+ options.onAcpBinaryProgress?.({
124327
+ type: "machine/acp-binary-progress",
124328
+ machineId: this.deps.machineId,
124329
+ agentType: message.agentType,
124330
+ status: "downloading",
124331
+ platformArch: status.platformArch
124332
+ });
124333
+ }
124183
124334
  const launch = await getAcpBinaryManager().ensureBinary(agent2);
124335
+ options.onAcpBinaryProgress?.({
124336
+ type: "machine/acp-binary-progress",
124337
+ machineId: this.deps.machineId,
124338
+ agentType: message.agentType,
124339
+ status: "installed",
124340
+ command: launch.command
124341
+ });
124184
124342
  return {
124185
124343
  ...base,
124186
124344
  success: true,
@@ -124189,6 +124347,13 @@ $mem | ConvertTo-Json -Compress
124189
124347
  } catch (error2) {
124190
124348
  const errorMessage = error2 instanceof AcpBinaryUnsupportedPlatformError ? error2.message : formatErrorMessage(error2);
124191
124349
  this.deps.logger.debug(`[acp-binary] Install failed for ${agent2.id}: ${errorMessage}`);
124350
+ options.onAcpBinaryProgress?.({
124351
+ type: "machine/acp-binary-progress",
124352
+ machineId: this.deps.machineId,
124353
+ agentType: message.agentType,
124354
+ status: "error",
124355
+ error: errorMessage
124356
+ });
124192
124357
  return {
124193
124358
  ...base,
124194
124359
  success: false,
@@ -134339,7 +134504,7 @@ ${escapeHtmlScriptContent(VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT)}
134339
134504
  await this.syncLiveActivitySummary(userId);
134340
134505
  },
134341
134506
  collectMachineResources: async () => await this.collectMachineResources(),
134342
- fetchAcpCapabilities: async (cliType, agentType, env2, customAcp, runtimeOverrides) => await this.fetchAcpCapabilities(cliType, agentType, env2, customAcp, runtimeOverrides),
134507
+ fetchAcpCapabilities: async (cliType, agentType, env2, customAcp, runtimeOverrides, options) => await this.fetchAcpCapabilities(cliType, agentType, env2, customAcp, runtimeOverrides, options),
134343
134508
  evictForMemoryPressure: async (excludeSessionId) => await this.evictForMemoryPressureFn(excludeSessionId)
134344
134509
  });
134345
134510
  this.previewService = new PreviewService({
@@ -134392,7 +134557,7 @@ ${escapeHtmlScriptContent(VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT)}
134392
134557
  workspaceId: this.workspaceId,
134393
134558
  requestId
134394
134559
  }),
134395
- refreshMachineAcpCapabilities: async ({ cliType, agentType, customAcp, runtimeOverrides, env: env2 }) => await this.executionService.refreshMachineAcpCapabilities({
134560
+ refreshMachineAcpCapabilities: async ({ cliType, agentType, customAcp, runtimeOverrides, env: env2, onAcpBinaryProgress }) => await this.executionService.refreshMachineAcpCapabilities({
134396
134561
  type: "machine/acp-capabilities-refresh",
134397
134562
  machineId: this.machineId,
134398
134563
  workspaceId: this.workspaceId,
@@ -134401,6 +134566,8 @@ ${escapeHtmlScriptContent(VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT)}
134401
134566
  customAcp,
134402
134567
  runtimeOverrides,
134403
134568
  env: env2
134569
+ }, {
134570
+ onAcpBinaryProgress
134404
134571
  }),
134405
134572
  getMachineAcpBinaryStatus: async ({ agentType }) => await this.executionService.getMachineAcpBinaryStatus({
134406
134573
  type: "machine/acp-binary-status",
@@ -134408,11 +134575,13 @@ ${escapeHtmlScriptContent(VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT)}
134408
134575
  workspaceId: this.workspaceId,
134409
134576
  agentType
134410
134577
  }),
134411
- installMachineAcpBinary: async ({ agentType }) => await this.executionService.installMachineAcpBinary({
134578
+ installMachineAcpBinary: async ({ agentType, onAcpBinaryProgress }) => await this.executionService.installMachineAcpBinary({
134412
134579
  type: "machine/acp-binary-install",
134413
134580
  machineId: this.machineId,
134414
134581
  workspaceId: this.workspaceId,
134415
134582
  agentType
134583
+ }, {
134584
+ onAcpBinaryProgress
134416
134585
  }),
134417
134586
  submitBugReport: async ({ description: description2, reporterUserId, requestToken }) => await submitBugReportFromMachine({
134418
134587
  workspaceId: this.workspaceId,
@@ -138595,7 +138764,9 @@ ${escapeHtmlScriptContent(VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT)}
138595
138764
  dispatchContext.send(response2);
138596
138765
  }
138597
138766
  async handleMachineAcpCapabilitiesRefresh(message, dispatchContext = this.createRuntimeDispatchContext()) {
138598
- const response2 = await this.executionService.refreshMachineAcpCapabilities(message);
138767
+ const response2 = await this.executionService.refreshMachineAcpCapabilities(message, {
138768
+ onAcpBinaryProgress: (progress) => dispatchContext.send(progress)
138769
+ });
138599
138770
  dispatchContext.send(response2);
138600
138771
  }
138601
138772
  async handleMachineAcpBinaryStatus(message, dispatchContext = this.createRuntimeDispatchContext()) {
@@ -138603,11 +138774,13 @@ ${escapeHtmlScriptContent(VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT)}
138603
138774
  dispatchContext.send(response2);
138604
138775
  }
138605
138776
  async handleMachineAcpBinaryInstall(message, dispatchContext = this.createRuntimeDispatchContext()) {
138606
- const response2 = await this.executionService.installMachineAcpBinary(message);
138777
+ const response2 = await this.executionService.installMachineAcpBinary(message, {
138778
+ onAcpBinaryProgress: (progress) => dispatchContext.send(progress)
138779
+ });
138607
138780
  dispatchContext.send(response2);
138608
138781
  }
138609
- async fetchAcpCapabilities(cliType, agentType, env2, customAcp, runtimeOverrides) {
138610
- return fetchAcpCapabilities(cliType, agentType, this.logger, env2, customAcp, runtimeOverrides);
138782
+ async fetchAcpCapabilities(cliType, agentType, env2, customAcp, runtimeOverrides, options) {
138783
+ return fetchAcpCapabilities(cliType, agentType, this.logger, env2, customAcp, runtimeOverrides, options);
138611
138784
  }
138612
138785
  async collectMachineResources() {
138613
138786
  const totalMemory = os__default.totalmem();
@@ -182933,7 +183106,7 @@ ${entry.text}`).join("\n\n");
182933
183106
  data = createReviewBundleSnapshot(bundle);
182934
183107
  }
182935
183108
  const { injectReviewSnapshot } = await import("./chunks/index-VoI6Ds2-.js");
182936
- const { resolveReviewViewerTemplate } = await import("./chunks/review-viewer-DdCYABrD.js");
183109
+ const { resolveReviewViewerTemplate } = await import("./chunks/review-viewer-GqdaLJpY.js");
182937
183110
  const template = await resolveReviewViewerTemplate();
182938
183111
  const html = injectReviewSnapshot(template, data);
182939
183112
  const outputPath = options.output ? path__default$1.resolve(options.output) : defaultHtmlOutputPath(inputPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lody",
3
- "version": "0.57.1-next.39",
3
+ "version": "0.57.1-next.40",
4
4
  "description": "Lody Agent CLI tool for managing remote command execution",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -76,14 +76,14 @@
76
76
  "zod": "^4.1.5",
77
77
  "zstd-stream": "^1.1.0",
78
78
  "@lody/cli-supervisor": "0.0.1",
79
+ "@lody/code-review-helper": "0.0.0",
79
80
  "@lody/convex": "0.0.1",
80
81
  "@lody/loro-streams-rpc": "0.0.1",
81
82
  "@lody/shared": "0.0.1",
82
- "@lody/code-review-helper": "0.0.0",
83
- "acp-extension-core": "0.0.5",
84
- "lody-code-review-viewer": "0.57.1-next.39",
83
+ "acp-extension-claude": "0.54.4",
85
84
  "acp-extension-codex": "1.0.1",
86
- "acp-extension-claude": "0.54.4"
85
+ "acp-extension-core": "0.0.5",
86
+ "lody-code-review-viewer": "0.57.1-next.40"
87
87
  },
88
88
  "files": [
89
89
  "dist",