@algosuite/vo-mcp 0.2.0-beta.20 → 0.2.0-beta.21

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.
@@ -258,7 +258,7 @@ function createControlPlaneClient({
258
258
  * authenticated operator so the web shows a TRUE "runner online" signal.
259
259
  * Best-effort caller; throws on 401/non-ok so the daemon can log + retry.
260
260
  */
261
- async postHeartbeat({ runnerId: runnerId2, runnerInstanceId, operatorId, uptimeSec, activeTasks, maxConcurrency, effectiveConcurrency, measuredTaskSlots, measuredCpuSlots, measuredMemorySlots, version, daemonVersion, defaultAgent, supervisorInstanceId: supervisorInstanceId2, supervisorVersion: supervisorVersion2, supervisorCapabilities, servedRepos, servedOperators, availableAgents, accountUsage }) {
261
+ async postHeartbeat({ runnerId: runnerId2, runnerInstanceId, operatorId, uptimeSec, activeTasks, maxConcurrency, effectiveConcurrency, measuredTaskSlots, measuredCpuSlots, measuredMemorySlots, version, daemonVersion, defaultAgent, supervisorInstanceId: supervisorInstanceId2, supervisorVersion: supervisorVersion2, supervisorCapabilities, servedRepos, servedOperators, availableAgents, accountUsage, availableLocalModels }) {
262
262
  const body = { runner_id: runnerId2 };
263
263
  if (runnerInstanceId) body.runner_instance_id = runnerInstanceId;
264
264
  if (operatorId) body.operator_id = operatorId;
@@ -287,6 +287,9 @@ function createControlPlaneClient({
287
287
  if (Array.isArray(accountUsage) && accountUsage.length > 0) {
288
288
  body.account_usage = accountUsage;
289
289
  }
290
+ if (Array.isArray(availableLocalModels) && availableLocalModels.length > 0) {
291
+ body.available_local_models = availableLocalModels;
292
+ }
290
293
  const res = await req("POST", "/api/v1/runner/heartbeat", body, {
291
294
  timeoutMs: heartbeatTimeoutMs
292
295
  });