@vm0/cli 9.180.9 → 9.180.10
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/{chunk-BWLXKLVD.js → chunk-WWEZ5FQ6.js} +43 -4
- package/{chunk-BWLXKLVD.js.map → chunk-WWEZ5FQ6.js.map} +1 -1
- package/index.js +9 -9
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +2 -2
- package/zero.js.map +1 -1
|
@@ -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.
|
|
74086
|
+
release: "9.180.10",
|
|
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.
|
|
74105
|
+
version: "9.180.10",
|
|
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({
|
|
@@ -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
|
|
|
@@ -136044,4 +136083,4 @@ undici/lib/web/fetch/body.js:
|
|
|
136044
136083
|
undici/lib/web/websocket/frame.js:
|
|
136045
136084
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
136046
136085
|
*/
|
|
136047
|
-
//# sourceMappingURL=chunk-
|
|
136086
|
+
//# sourceMappingURL=chunk-WWEZ5FQ6.js.map
|