@vm0/runner 3.10.2 → 3.10.3

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/index.js +184 -146
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -8328,29 +8328,67 @@ var platformArtifactDownloadContract = c15.router({
8328
8328
  }
8329
8329
  });
8330
8330
 
8331
- // ../../packages/core/src/contracts/public/agents.ts
8331
+ // ../../packages/core/src/contracts/llm.ts
8332
8332
  import { z as z24 } from "zod";
8333
8333
  var c16 = initContract();
8334
- var publicAgentSchema = z24.object({
8335
- id: z24.string(),
8336
- name: z24.string(),
8337
- currentVersionId: z24.string().nullable(),
8334
+ var messageRoleSchema = z24.enum(["user", "assistant", "system"]);
8335
+ var chatMessageSchema = z24.object({
8336
+ role: messageRoleSchema,
8337
+ content: z24.string()
8338
+ });
8339
+ var tokenUsageSchema = z24.object({
8340
+ promptTokens: z24.number(),
8341
+ completionTokens: z24.number(),
8342
+ totalTokens: z24.number()
8343
+ });
8344
+ var llmChatRequestSchema = z24.object({
8345
+ model: z24.string().min(1).optional(),
8346
+ messages: z24.array(chatMessageSchema).min(1, "At least one message is required"),
8347
+ stream: z24.boolean().optional().default(false)
8348
+ });
8349
+ var llmChatResponseSchema = z24.object({
8350
+ content: z24.string(),
8351
+ model: z24.string(),
8352
+ usage: tokenUsageSchema
8353
+ });
8354
+ var llmChatContract = c16.router({
8355
+ chat: {
8356
+ method: "POST",
8357
+ path: "/api/llm/chat",
8358
+ body: llmChatRequestSchema,
8359
+ responses: {
8360
+ 200: llmChatResponseSchema,
8361
+ 400: apiErrorSchema,
8362
+ 500: apiErrorSchema,
8363
+ 503: apiErrorSchema
8364
+ },
8365
+ summary: "Send a chat completion request to OpenRouter"
8366
+ }
8367
+ });
8368
+
8369
+ // ../../packages/core/src/contracts/public/agents.ts
8370
+ import { z as z25 } from "zod";
8371
+ var c17 = initContract();
8372
+ var publicAgentSchema = z25.object({
8373
+ id: z25.string(),
8374
+ name: z25.string(),
8375
+ currentVersionId: z25.string().nullable(),
8338
8376
  createdAt: timestampSchema,
8339
8377
  updatedAt: timestampSchema
8340
8378
  });
8341
- var agentVersionSchema = z24.object({
8342
- id: z24.string(),
8343
- agentId: z24.string(),
8344
- versionNumber: z24.number(),
8379
+ var agentVersionSchema = z25.object({
8380
+ id: z25.string(),
8381
+ agentId: z25.string(),
8382
+ versionNumber: z25.number(),
8345
8383
  createdAt: timestampSchema
8346
8384
  });
8347
8385
  var publicAgentDetailSchema = publicAgentSchema;
8348
8386
  var paginatedAgentsSchema = createPaginatedResponseSchema(publicAgentSchema);
8349
8387
  var paginatedAgentVersionsSchema = createPaginatedResponseSchema(agentVersionSchema);
8350
8388
  var agentListQuerySchema = listQuerySchema.extend({
8351
- name: z24.string().optional()
8389
+ name: z25.string().optional()
8352
8390
  });
8353
- var publicAgentsListContract = c16.router({
8391
+ var publicAgentsListContract = c17.router({
8354
8392
  list: {
8355
8393
  method: "GET",
8356
8394
  path: "/v1/agents",
@@ -8365,13 +8403,13 @@ var publicAgentsListContract = c16.router({
8365
8403
  description: "List all agents in the current scope with pagination. Use the `name` query parameter to filter by agent name."
8366
8404
  }
8367
8405
  });
8368
- var publicAgentByIdContract = c16.router({
8406
+ var publicAgentByIdContract = c17.router({
8369
8407
  get: {
8370
8408
  method: "GET",
8371
8409
  path: "/v1/agents/:id",
8372
8410
  headers: authHeadersSchema,
8373
- pathParams: z24.object({
8374
- id: z24.string().min(1, "Agent ID is required")
8411
+ pathParams: z25.object({
8412
+ id: z25.string().min(1, "Agent ID is required")
8375
8413
  }),
8376
8414
  responses: {
8377
8415
  200: publicAgentDetailSchema,
@@ -8383,13 +8421,13 @@ var publicAgentByIdContract = c16.router({
8383
8421
  description: "Get agent details by ID"
8384
8422
  }
8385
8423
  });
8386
- var publicAgentVersionsContract = c16.router({
8424
+ var publicAgentVersionsContract = c17.router({
8387
8425
  list: {
8388
8426
  method: "GET",
8389
8427
  path: "/v1/agents/:id/versions",
8390
8428
  headers: authHeadersSchema,
8391
- pathParams: z24.object({
8392
- id: z24.string().min(1, "Agent ID is required")
8429
+ pathParams: z25.object({
8430
+ id: z25.string().min(1, "Agent ID is required")
8393
8431
  }),
8394
8432
  query: listQuerySchema,
8395
8433
  responses: {
@@ -8404,9 +8442,9 @@ var publicAgentVersionsContract = c16.router({
8404
8442
  });
8405
8443
 
8406
8444
  // ../../packages/core/src/contracts/public/runs.ts
8407
- import { z as z25 } from "zod";
8408
- var c17 = initContract();
8409
- var publicRunStatusSchema = z25.enum([
8445
+ import { z as z26 } from "zod";
8446
+ var c18 = initContract();
8447
+ var publicRunStatusSchema = z26.enum([
8410
8448
  "pending",
8411
8449
  "running",
8412
8450
  "completed",
@@ -8414,54 +8452,54 @@ var publicRunStatusSchema = z25.enum([
8414
8452
  "timeout",
8415
8453
  "cancelled"
8416
8454
  ]);
8417
- var publicRunSchema = z25.object({
8418
- id: z25.string(),
8419
- agentId: z25.string(),
8420
- agentName: z25.string(),
8455
+ var publicRunSchema = z26.object({
8456
+ id: z26.string(),
8457
+ agentId: z26.string(),
8458
+ agentName: z26.string(),
8421
8459
  status: publicRunStatusSchema,
8422
- prompt: z25.string(),
8460
+ prompt: z26.string(),
8423
8461
  createdAt: timestampSchema,
8424
8462
  startedAt: timestampSchema.nullable(),
8425
8463
  completedAt: timestampSchema.nullable()
8426
8464
  });
8427
8465
  var publicRunDetailSchema = publicRunSchema.extend({
8428
- error: z25.string().nullable(),
8429
- executionTimeMs: z25.number().nullable(),
8430
- checkpointId: z25.string().nullable(),
8431
- sessionId: z25.string().nullable(),
8432
- artifactName: z25.string().nullable(),
8433
- artifactVersion: z25.string().nullable(),
8434
- volumes: z25.record(z25.string(), z25.string()).optional()
8466
+ error: z26.string().nullable(),
8467
+ executionTimeMs: z26.number().nullable(),
8468
+ checkpointId: z26.string().nullable(),
8469
+ sessionId: z26.string().nullable(),
8470
+ artifactName: z26.string().nullable(),
8471
+ artifactVersion: z26.string().nullable(),
8472
+ volumes: z26.record(z26.string(), z26.string()).optional()
8435
8473
  });
8436
8474
  var paginatedRunsSchema = createPaginatedResponseSchema(publicRunSchema);
8437
- var createRunRequestSchema = z25.object({
8475
+ var createRunRequestSchema = z26.object({
8438
8476
  // Agent identification (one of: agent, agentId, sessionId, checkpointId)
8439
- agent: z25.string().optional(),
8477
+ agent: z26.string().optional(),
8440
8478
  // Agent name
8441
- agentId: z25.string().optional(),
8479
+ agentId: z26.string().optional(),
8442
8480
  // Agent ID
8443
- agentVersion: z25.string().optional(),
8481
+ agentVersion: z26.string().optional(),
8444
8482
  // Version specifier (e.g., "latest", "v1", specific ID)
8445
8483
  // Continue session
8446
- sessionId: z25.string().optional(),
8484
+ sessionId: z26.string().optional(),
8447
8485
  // Resume from checkpoint
8448
- checkpointId: z25.string().optional(),
8486
+ checkpointId: z26.string().optional(),
8449
8487
  // Required
8450
- prompt: z25.string().min(1, "Prompt is required"),
8488
+ prompt: z26.string().min(1, "Prompt is required"),
8451
8489
  // Optional configuration
8452
- variables: z25.record(z25.string(), z25.string()).optional(),
8453
- secrets: z25.record(z25.string(), z25.string()).optional(),
8454
- artifactName: z25.string().optional(),
8490
+ variables: z26.record(z26.string(), z26.string()).optional(),
8491
+ secrets: z26.record(z26.string(), z26.string()).optional(),
8492
+ artifactName: z26.string().optional(),
8455
8493
  // Artifact name to mount
8456
- artifactVersion: z25.string().optional(),
8494
+ artifactVersion: z26.string().optional(),
8457
8495
  // Artifact version (defaults to latest)
8458
- volumes: z25.record(z25.string(), z25.string()).optional()
8496
+ volumes: z26.record(z26.string(), z26.string()).optional()
8459
8497
  // volume_name -> version
8460
8498
  });
8461
8499
  var runListQuerySchema = listQuerySchema.extend({
8462
8500
  status: publicRunStatusSchema.optional()
8463
8501
  });
8464
- var publicRunsListContract = c17.router({
8502
+ var publicRunsListContract = c18.router({
8465
8503
  list: {
8466
8504
  method: "GET",
8467
8505
  path: "/v1/runs",
@@ -8493,13 +8531,13 @@ var publicRunsListContract = c17.router({
8493
8531
  description: "Create and execute a new agent run. Returns 202 Accepted as runs execute asynchronously."
8494
8532
  }
8495
8533
  });
8496
- var publicRunByIdContract = c17.router({
8534
+ var publicRunByIdContract = c18.router({
8497
8535
  get: {
8498
8536
  method: "GET",
8499
8537
  path: "/v1/runs/:id",
8500
8538
  headers: authHeadersSchema,
8501
- pathParams: z25.object({
8502
- id: z25.string().min(1, "Run ID is required")
8539
+ pathParams: z26.object({
8540
+ id: z26.string().min(1, "Run ID is required")
8503
8541
  }),
8504
8542
  responses: {
8505
8543
  200: publicRunDetailSchema,
@@ -8511,15 +8549,15 @@ var publicRunByIdContract = c17.router({
8511
8549
  description: "Get run details by ID"
8512
8550
  }
8513
8551
  });
8514
- var publicRunCancelContract = c17.router({
8552
+ var publicRunCancelContract = c18.router({
8515
8553
  cancel: {
8516
8554
  method: "POST",
8517
8555
  path: "/v1/runs/:id/cancel",
8518
8556
  headers: authHeadersSchema,
8519
- pathParams: z25.object({
8520
- id: z25.string().min(1, "Run ID is required")
8557
+ pathParams: z26.object({
8558
+ id: z26.string().min(1, "Run ID is required")
8521
8559
  }),
8522
- body: z25.undefined(),
8560
+ body: z26.undefined(),
8523
8561
  responses: {
8524
8562
  200: publicRunDetailSchema,
8525
8563
  400: publicApiErrorSchema,
@@ -8532,27 +8570,27 @@ var publicRunCancelContract = c17.router({
8532
8570
  description: "Cancel a pending or running execution"
8533
8571
  }
8534
8572
  });
8535
- var logEntrySchema = z25.object({
8573
+ var logEntrySchema = z26.object({
8536
8574
  timestamp: timestampSchema,
8537
- type: z25.enum(["agent", "system", "network"]),
8538
- level: z25.enum(["debug", "info", "warn", "error"]),
8539
- message: z25.string(),
8540
- metadata: z25.record(z25.string(), z25.unknown()).optional()
8575
+ type: z26.enum(["agent", "system", "network"]),
8576
+ level: z26.enum(["debug", "info", "warn", "error"]),
8577
+ message: z26.string(),
8578
+ metadata: z26.record(z26.string(), z26.unknown()).optional()
8541
8579
  });
8542
8580
  var paginatedLogsSchema = createPaginatedResponseSchema(logEntrySchema);
8543
8581
  var logsQuerySchema = listQuerySchema.extend({
8544
- type: z25.enum(["agent", "system", "network", "all"]).default("all"),
8582
+ type: z26.enum(["agent", "system", "network", "all"]).default("all"),
8545
8583
  since: timestampSchema.optional(),
8546
8584
  until: timestampSchema.optional(),
8547
- order: z25.enum(["asc", "desc"]).default("asc")
8585
+ order: z26.enum(["asc", "desc"]).default("asc")
8548
8586
  });
8549
- var publicRunLogsContract = c17.router({
8587
+ var publicRunLogsContract = c18.router({
8550
8588
  getLogs: {
8551
8589
  method: "GET",
8552
8590
  path: "/v1/runs/:id/logs",
8553
8591
  headers: authHeadersSchema,
8554
- pathParams: z25.object({
8555
- id: z25.string().min(1, "Run ID is required")
8592
+ pathParams: z26.object({
8593
+ id: z26.string().min(1, "Run ID is required")
8556
8594
  }),
8557
8595
  query: logsQuerySchema,
8558
8596
  responses: {
@@ -8565,30 +8603,30 @@ var publicRunLogsContract = c17.router({
8565
8603
  description: "Get unified logs for a run. Combines agent, system, and network logs."
8566
8604
  }
8567
8605
  });
8568
- var metricPointSchema = z25.object({
8606
+ var metricPointSchema = z26.object({
8569
8607
  timestamp: timestampSchema,
8570
- cpuPercent: z25.number(),
8571
- memoryUsedMb: z25.number(),
8572
- memoryTotalMb: z25.number(),
8573
- diskUsedMb: z25.number(),
8574
- diskTotalMb: z25.number()
8575
- });
8576
- var metricsSummarySchema = z25.object({
8577
- avgCpuPercent: z25.number(),
8578
- maxMemoryUsedMb: z25.number(),
8579
- totalDurationMs: z25.number().nullable()
8580
- });
8581
- var metricsResponseSchema2 = z25.object({
8582
- data: z25.array(metricPointSchema),
8608
+ cpuPercent: z26.number(),
8609
+ memoryUsedMb: z26.number(),
8610
+ memoryTotalMb: z26.number(),
8611
+ diskUsedMb: z26.number(),
8612
+ diskTotalMb: z26.number()
8613
+ });
8614
+ var metricsSummarySchema = z26.object({
8615
+ avgCpuPercent: z26.number(),
8616
+ maxMemoryUsedMb: z26.number(),
8617
+ totalDurationMs: z26.number().nullable()
8618
+ });
8619
+ var metricsResponseSchema2 = z26.object({
8620
+ data: z26.array(metricPointSchema),
8583
8621
  summary: metricsSummarySchema
8584
8622
  });
8585
- var publicRunMetricsContract = c17.router({
8623
+ var publicRunMetricsContract = c18.router({
8586
8624
  getMetrics: {
8587
8625
  method: "GET",
8588
8626
  path: "/v1/runs/:id/metrics",
8589
8627
  headers: authHeadersSchema,
8590
- pathParams: z25.object({
8591
- id: z25.string().min(1, "Run ID is required")
8628
+ pathParams: z26.object({
8629
+ id: z26.string().min(1, "Run ID is required")
8592
8630
  }),
8593
8631
  responses: {
8594
8632
  200: metricsResponseSchema2,
@@ -8600,7 +8638,7 @@ var publicRunMetricsContract = c17.router({
8600
8638
  description: "Get CPU, memory, and disk metrics for a run"
8601
8639
  }
8602
8640
  });
8603
- var sseEventTypeSchema = z25.enum([
8641
+ var sseEventTypeSchema = z26.enum([
8604
8642
  "status",
8605
8643
  // Run status change
8606
8644
  "output",
@@ -8612,26 +8650,26 @@ var sseEventTypeSchema = z25.enum([
8612
8650
  "heartbeat"
8613
8651
  // Keep-alive
8614
8652
  ]);
8615
- var sseEventSchema = z25.object({
8653
+ var sseEventSchema = z26.object({
8616
8654
  event: sseEventTypeSchema,
8617
- data: z25.unknown(),
8618
- id: z25.string().optional()
8655
+ data: z26.unknown(),
8656
+ id: z26.string().optional()
8619
8657
  // For Last-Event-ID reconnection
8620
8658
  });
8621
- var publicRunEventsContract = c17.router({
8659
+ var publicRunEventsContract = c18.router({
8622
8660
  streamEvents: {
8623
8661
  method: "GET",
8624
8662
  path: "/v1/runs/:id/events",
8625
8663
  headers: authHeadersSchema,
8626
- pathParams: z25.object({
8627
- id: z25.string().min(1, "Run ID is required")
8664
+ pathParams: z26.object({
8665
+ id: z26.string().min(1, "Run ID is required")
8628
8666
  }),
8629
- query: z25.object({
8630
- lastEventId: z25.string().optional()
8667
+ query: z26.object({
8668
+ lastEventId: z26.string().optional()
8631
8669
  // For reconnection
8632
8670
  }),
8633
8671
  responses: {
8634
- 200: z25.any(),
8672
+ 200: z26.any(),
8635
8673
  // SSE stream - actual content is text/event-stream
8636
8674
  401: publicApiErrorSchema,
8637
8675
  404: publicApiErrorSchema,
@@ -8643,28 +8681,28 @@ var publicRunEventsContract = c17.router({
8643
8681
  });
8644
8682
 
8645
8683
  // ../../packages/core/src/contracts/public/artifacts.ts
8646
- import { z as z26 } from "zod";
8647
- var c18 = initContract();
8648
- var publicArtifactSchema = z26.object({
8649
- id: z26.string(),
8650
- name: z26.string(),
8651
- currentVersionId: z26.string().nullable(),
8652
- size: z26.number(),
8684
+ import { z as z27 } from "zod";
8685
+ var c19 = initContract();
8686
+ var publicArtifactSchema = z27.object({
8687
+ id: z27.string(),
8688
+ name: z27.string(),
8689
+ currentVersionId: z27.string().nullable(),
8690
+ size: z27.number(),
8653
8691
  // Total size in bytes
8654
- fileCount: z26.number(),
8692
+ fileCount: z27.number(),
8655
8693
  createdAt: timestampSchema,
8656
8694
  updatedAt: timestampSchema
8657
8695
  });
8658
- var artifactVersionSchema = z26.object({
8659
- id: z26.string(),
8696
+ var artifactVersionSchema = z27.object({
8697
+ id: z27.string(),
8660
8698
  // SHA-256 content hash
8661
- artifactId: z26.string(),
8662
- size: z26.number(),
8699
+ artifactId: z27.string(),
8700
+ size: z27.number(),
8663
8701
  // Size in bytes
8664
- fileCount: z26.number(),
8665
- message: z26.string().nullable(),
8702
+ fileCount: z27.number(),
8703
+ message: z27.string().nullable(),
8666
8704
  // Optional commit message
8667
- createdBy: z26.string(),
8705
+ createdBy: z27.string(),
8668
8706
  createdAt: timestampSchema
8669
8707
  });
8670
8708
  var publicArtifactDetailSchema = publicArtifactSchema.extend({
@@ -8674,7 +8712,7 @@ var paginatedArtifactsSchema = createPaginatedResponseSchema(publicArtifactSchem
8674
8712
  var paginatedArtifactVersionsSchema = createPaginatedResponseSchema(
8675
8713
  artifactVersionSchema
8676
8714
  );
8677
- var publicArtifactsListContract = c18.router({
8715
+ var publicArtifactsListContract = c19.router({
8678
8716
  list: {
8679
8717
  method: "GET",
8680
8718
  path: "/v1/artifacts",
@@ -8689,13 +8727,13 @@ var publicArtifactsListContract = c18.router({
8689
8727
  description: "List all artifacts in the current scope with pagination"
8690
8728
  }
8691
8729
  });
8692
- var publicArtifactByIdContract = c18.router({
8730
+ var publicArtifactByIdContract = c19.router({
8693
8731
  get: {
8694
8732
  method: "GET",
8695
8733
  path: "/v1/artifacts/:id",
8696
8734
  headers: authHeadersSchema,
8697
- pathParams: z26.object({
8698
- id: z26.string().min(1, "Artifact ID is required")
8735
+ pathParams: z27.object({
8736
+ id: z27.string().min(1, "Artifact ID is required")
8699
8737
  }),
8700
8738
  responses: {
8701
8739
  200: publicArtifactDetailSchema,
@@ -8707,13 +8745,13 @@ var publicArtifactByIdContract = c18.router({
8707
8745
  description: "Get artifact details by ID"
8708
8746
  }
8709
8747
  });
8710
- var publicArtifactVersionsContract = c18.router({
8748
+ var publicArtifactVersionsContract = c19.router({
8711
8749
  list: {
8712
8750
  method: "GET",
8713
8751
  path: "/v1/artifacts/:id/versions",
8714
8752
  headers: authHeadersSchema,
8715
- pathParams: z26.object({
8716
- id: z26.string().min(1, "Artifact ID is required")
8753
+ pathParams: z27.object({
8754
+ id: z27.string().min(1, "Artifact ID is required")
8717
8755
  }),
8718
8756
  query: listQuerySchema,
8719
8757
  responses: {
@@ -8726,20 +8764,20 @@ var publicArtifactVersionsContract = c18.router({
8726
8764
  description: "List all versions of an artifact with pagination"
8727
8765
  }
8728
8766
  });
8729
- var publicArtifactDownloadContract = c18.router({
8767
+ var publicArtifactDownloadContract = c19.router({
8730
8768
  download: {
8731
8769
  method: "GET",
8732
8770
  path: "/v1/artifacts/:id/download",
8733
8771
  headers: authHeadersSchema,
8734
- pathParams: z26.object({
8735
- id: z26.string().min(1, "Artifact ID is required")
8772
+ pathParams: z27.object({
8773
+ id: z27.string().min(1, "Artifact ID is required")
8736
8774
  }),
8737
- query: z26.object({
8738
- versionId: z26.string().optional()
8775
+ query: z27.object({
8776
+ versionId: z27.string().optional()
8739
8777
  // Defaults to current version
8740
8778
  }),
8741
8779
  responses: {
8742
- 302: z26.undefined(),
8780
+ 302: z27.undefined(),
8743
8781
  // Redirect to presigned URL
8744
8782
  401: publicApiErrorSchema,
8745
8783
  404: publicApiErrorSchema,
@@ -8751,28 +8789,28 @@ var publicArtifactDownloadContract = c18.router({
8751
8789
  });
8752
8790
 
8753
8791
  // ../../packages/core/src/contracts/public/volumes.ts
8754
- import { z as z27 } from "zod";
8755
- var c19 = initContract();
8756
- var publicVolumeSchema = z27.object({
8757
- id: z27.string(),
8758
- name: z27.string(),
8759
- currentVersionId: z27.string().nullable(),
8760
- size: z27.number(),
8792
+ import { z as z28 } from "zod";
8793
+ var c20 = initContract();
8794
+ var publicVolumeSchema = z28.object({
8795
+ id: z28.string(),
8796
+ name: z28.string(),
8797
+ currentVersionId: z28.string().nullable(),
8798
+ size: z28.number(),
8761
8799
  // Total size in bytes
8762
- fileCount: z27.number(),
8800
+ fileCount: z28.number(),
8763
8801
  createdAt: timestampSchema,
8764
8802
  updatedAt: timestampSchema
8765
8803
  });
8766
- var volumeVersionSchema = z27.object({
8767
- id: z27.string(),
8804
+ var volumeVersionSchema = z28.object({
8805
+ id: z28.string(),
8768
8806
  // SHA-256 content hash
8769
- volumeId: z27.string(),
8770
- size: z27.number(),
8807
+ volumeId: z28.string(),
8808
+ size: z28.number(),
8771
8809
  // Size in bytes
8772
- fileCount: z27.number(),
8773
- message: z27.string().nullable(),
8810
+ fileCount: z28.number(),
8811
+ message: z28.string().nullable(),
8774
8812
  // Optional commit message
8775
- createdBy: z27.string(),
8813
+ createdBy: z28.string(),
8776
8814
  createdAt: timestampSchema
8777
8815
  });
8778
8816
  var publicVolumeDetailSchema = publicVolumeSchema.extend({
@@ -8780,7 +8818,7 @@ var publicVolumeDetailSchema = publicVolumeSchema.extend({
8780
8818
  });
8781
8819
  var paginatedVolumesSchema = createPaginatedResponseSchema(publicVolumeSchema);
8782
8820
  var paginatedVolumeVersionsSchema = createPaginatedResponseSchema(volumeVersionSchema);
8783
- var publicVolumesListContract = c19.router({
8821
+ var publicVolumesListContract = c20.router({
8784
8822
  list: {
8785
8823
  method: "GET",
8786
8824
  path: "/v1/volumes",
@@ -8795,13 +8833,13 @@ var publicVolumesListContract = c19.router({
8795
8833
  description: "List all volumes in the current scope with pagination"
8796
8834
  }
8797
8835
  });
8798
- var publicVolumeByIdContract = c19.router({
8836
+ var publicVolumeByIdContract = c20.router({
8799
8837
  get: {
8800
8838
  method: "GET",
8801
8839
  path: "/v1/volumes/:id",
8802
8840
  headers: authHeadersSchema,
8803
- pathParams: z27.object({
8804
- id: z27.string().min(1, "Volume ID is required")
8841
+ pathParams: z28.object({
8842
+ id: z28.string().min(1, "Volume ID is required")
8805
8843
  }),
8806
8844
  responses: {
8807
8845
  200: publicVolumeDetailSchema,
@@ -8813,13 +8851,13 @@ var publicVolumeByIdContract = c19.router({
8813
8851
  description: "Get volume details by ID"
8814
8852
  }
8815
8853
  });
8816
- var publicVolumeVersionsContract = c19.router({
8854
+ var publicVolumeVersionsContract = c20.router({
8817
8855
  list: {
8818
8856
  method: "GET",
8819
8857
  path: "/v1/volumes/:id/versions",
8820
8858
  headers: authHeadersSchema,
8821
- pathParams: z27.object({
8822
- id: z27.string().min(1, "Volume ID is required")
8859
+ pathParams: z28.object({
8860
+ id: z28.string().min(1, "Volume ID is required")
8823
8861
  }),
8824
8862
  query: listQuerySchema,
8825
8863
  responses: {
@@ -8832,20 +8870,20 @@ var publicVolumeVersionsContract = c19.router({
8832
8870
  description: "List all versions of a volume with pagination"
8833
8871
  }
8834
8872
  });
8835
- var publicVolumeDownloadContract = c19.router({
8873
+ var publicVolumeDownloadContract = c20.router({
8836
8874
  download: {
8837
8875
  method: "GET",
8838
8876
  path: "/v1/volumes/:id/download",
8839
8877
  headers: authHeadersSchema,
8840
- pathParams: z27.object({
8841
- id: z27.string().min(1, "Volume ID is required")
8878
+ pathParams: z28.object({
8879
+ id: z28.string().min(1, "Volume ID is required")
8842
8880
  }),
8843
- query: z27.object({
8844
- versionId: z27.string().optional()
8881
+ query: z28.object({
8882
+ versionId: z28.string().optional()
8845
8883
  // Defaults to current version
8846
8884
  }),
8847
8885
  responses: {
8848
- 302: z27.undefined(),
8886
+ 302: z28.undefined(),
8849
8887
  // Redirect to presigned URL
8850
8888
  401: publicApiErrorSchema,
8851
8889
  404: publicApiErrorSchema,
@@ -11156,7 +11194,7 @@ var benchmarkCommand = new Command4("benchmark").description(
11156
11194
  });
11157
11195
 
11158
11196
  // src/index.ts
11159
- var version = true ? "3.10.2" : "0.1.0";
11197
+ var version = true ? "3.10.3" : "0.1.0";
11160
11198
  program.name("vm0-runner").version(version).description("Self-hosted runner for VM0 agents");
11161
11199
  program.addCommand(startCommand);
11162
11200
  program.addCommand(doctorCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/runner",
3
- "version": "3.10.2",
3
+ "version": "3.10.3",
4
4
  "description": "Self-hosted runner for VM0 agents",
5
5
  "repository": {
6
6
  "type": "git",