@vm0/cli 9.180.9 → 9.180.11

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.
@@ -74083,7 +74083,7 @@ if (DSN) {
74083
74083
  init2({
74084
74084
  dsn: DSN,
74085
74085
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
74086
- release: "9.180.9",
74086
+ release: "9.180.11",
74087
74087
  sendDefaultPii: false,
74088
74088
  tracesSampleRate: 0,
74089
74089
  shutdownTimeout: 500,
@@ -74102,7 +74102,7 @@ if (DSN) {
74102
74102
  }
74103
74103
  });
74104
74104
  setContext("cli", {
74105
- version: "9.180.9",
74105
+ version: "9.180.11",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -94356,6 +94356,9 @@ var storedExecutionContextSchema = external_exports.object({
94356
94356
  // Feature flags evaluated at job creation time (all switch states for user/org)
94357
94357
  featureFlags: external_exports.record(external_exports.string(), external_exports.boolean()).optional(),
94358
94358
  billableFirewalls: external_exports.array(external_exports.string()).optional(),
94359
+ // Canonical model id the proxy reports for model token usage. The API uses
94360
+ // this model id for built-in billing rows and model usage observations;
94361
+ // billing eligibility is decided from API-owned run context.
94359
94362
  modelUsageProvider: external_exports.string().optional()
94360
94363
  });
94361
94364
  var executionContextSchema = external_exports.object({
@@ -94409,6 +94412,9 @@ var executionContextSchema = external_exports.object({
94409
94412
  // Feature flags evaluated at job creation time (all switch states for user/org)
94410
94413
  featureFlags: external_exports.record(external_exports.string(), external_exports.boolean()).optional(),
94411
94414
  billableFirewalls: external_exports.array(external_exports.string()).optional(),
94415
+ // Canonical model id the proxy reports for model token usage. The API uses
94416
+ // this model id for built-in billing rows and model usage observations;
94417
+ // billing eligibility is decided from API-owned run context.
94412
94418
  modelUsageProvider: external_exports.string().optional()
94413
94419
  });
94414
94420
  var runnersJobClaimContract = c.router({
@@ -110072,8 +110078,8 @@ var artifactSnapshotsSchema = external_exports.array(
110072
110078
  name: external_exports.string(),
110073
110079
  version: external_exports.string(),
110074
110080
  mountPath: external_exports.string(),
110075
- // Internal provenance used by run creation to decide checkpoint-time
110076
- // behavior on a later resume. It is not exposed by public checkpoint APIs.
110081
+ // Legacy internal provenance accepted for older guest agents. Run creation
110082
+ // decides checkpoint-time behavior from the canonical artifact slot.
110077
110083
  generatedBy: external_exports.literal("apiAutoMemory").optional()
110078
110084
  })
110079
110085
  );
@@ -110502,7 +110508,40 @@ var webhookUsageEventContract = c20.router({
110502
110508
  404: apiErrorSchema,
110503
110509
  500: apiErrorSchema
110504
110510
  },
110505
- summary: "Receive usage event data from sandbox"
110511
+ summary: "Receive billing usage event data from sandbox"
110512
+ }
110513
+ });
110514
+ var modelUsageObservationCategorySchema = external_exports.enum([
110515
+ "tokens.input",
110516
+ "tokens.output",
110517
+ "tokens.cache_read",
110518
+ "tokens.cache_creation"
110519
+ ]);
110520
+ var webhookModelUsageObservationItemSchema = external_exports.object({
110521
+ idempotencyKey: external_exports.uuid(),
110522
+ model: external_exports.string().min(1).max(255),
110523
+ category: modelUsageObservationCategorySchema,
110524
+ quantity: external_exports.number().int().min(1)
110525
+ }).strict();
110526
+ var webhookModelUsageObservationContract = c20.router({
110527
+ send: {
110528
+ method: "POST",
110529
+ path: "/api/webhooks/agent/model-usage-observation",
110530
+ headers: authHeadersSchema,
110531
+ body: external_exports.object({
110532
+ runId: external_exports.string().min(1, "runId is required"),
110533
+ events: external_exports.array(webhookModelUsageObservationItemSchema).min(1).max(100)
110534
+ }).strict(),
110535
+ responses: {
110536
+ 200: external_exports.object({
110537
+ success: external_exports.boolean()
110538
+ }),
110539
+ 400: apiErrorSchema,
110540
+ 401: apiErrorSchema,
110541
+ 404: apiErrorSchema,
110542
+ 500: apiErrorSchema
110543
+ },
110544
+ summary: "Receive model usage observation data from sandbox"
110506
110545
  }
110507
110546
  });
110508
110547
 
@@ -134473,11 +134512,6 @@ var FEATURE_SWITCHES = {
134473
134512
  enabled: false,
134474
134513
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
134475
134514
  },
134476
- ["chatScrollToBottomButton" /* ChatScrollToBottomButton */]: {
134477
- maintainer: "ethan@vm0.ai",
134478
- description: "Show a floating scroll-to-bottom button in the bottom-right of the chat thread whenever the message list is scrolled away from the bottom. Clicking it jumps to the latest message.",
134479
- enabled: true
134480
- },
134481
134515
  ["chatRecommendedFollowups" /* ChatRecommendedFollowups */]: {
134482
134516
  maintainer: "linghan@vm0.ai",
134483
134517
  description: "Generate and show recommended follow-up prompts after completed chat runs.",
@@ -136044,4 +136078,4 @@ undici/lib/web/fetch/body.js:
136044
136078
  undici/lib/web/websocket/frame.js:
136045
136079
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
136046
136080
  */
136047
- //# sourceMappingURL=chunk-BWLXKLVD.js.map
136081
+ //# sourceMappingURL=chunk-CAIJ56SU.js.map