@vm0/cli 9.208.1 → 9.209.0
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-HJC27CUJ.js → chunk-QXLY7TX2.js} +80 -15
- package/{chunk-HJC27CUJ.js.map → chunk-QXLY7TX2.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +277 -9
- package/zero.js.map +1 -1
|
@@ -80408,7 +80408,7 @@ if (DSN) {
|
|
|
80408
80408
|
init2({
|
|
80409
80409
|
dsn: DSN,
|
|
80410
80410
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
80411
|
-
release: "9.
|
|
80411
|
+
release: "9.209.0",
|
|
80412
80412
|
sendDefaultPii: false,
|
|
80413
80413
|
tracesSampleRate: 0,
|
|
80414
80414
|
shutdownTimeout: 500,
|
|
@@ -80427,7 +80427,7 @@ if (DSN) {
|
|
|
80427
80427
|
}
|
|
80428
80428
|
});
|
|
80429
80429
|
setContext("cli", {
|
|
80430
|
-
version: "9.
|
|
80430
|
+
version: "9.209.0",
|
|
80431
80431
|
command: process.argv.slice(2).join(" ")
|
|
80432
80432
|
});
|
|
80433
80433
|
setContext("runtime", {
|
|
@@ -111341,16 +111341,51 @@ var c93 = initContract();
|
|
|
111341
111341
|
var travelModeSchema = external_exports.enum(["driving", "walking", "bicycling", "transit"]);
|
|
111342
111342
|
var placeSearchFieldsetSchema = external_exports.enum(["pro", "enterprise"]);
|
|
111343
111343
|
var placeDetailFieldsetSchema = external_exports.enum(["essentials", "pro", "enterprise"]);
|
|
111344
|
+
var osmLayerSchema = external_exports.enum(["roads", "buildings", "water", "parks"]);
|
|
111345
|
+
var osmStyleSchema = external_exports.enum(["standard", "guide"]);
|
|
111346
|
+
var osmBBoxSchema = external_exports.object({
|
|
111347
|
+
west: external_exports.number().min(-180).max(180),
|
|
111348
|
+
south: external_exports.number().min(-90).max(90),
|
|
111349
|
+
east: external_exports.number().min(-180).max(180),
|
|
111350
|
+
north: external_exports.number().min(-90).max(90)
|
|
111351
|
+
});
|
|
111352
|
+
var osmCenterSchema = external_exports.object({
|
|
111353
|
+
lat: external_exports.number().min(-90).max(90),
|
|
111354
|
+
lng: external_exports.number().min(-180).max(180)
|
|
111355
|
+
});
|
|
111356
|
+
var osmMarkerSchema = external_exports.object({
|
|
111357
|
+
lat: external_exports.number().min(-90).max(90),
|
|
111358
|
+
lng: external_exports.number().min(-180).max(180),
|
|
111359
|
+
label: external_exports.string().trim().min(1).max(80).optional()
|
|
111360
|
+
});
|
|
111361
|
+
var osmAreaRequestBaseSchema = external_exports.object({
|
|
111362
|
+
bbox: osmBBoxSchema.optional(),
|
|
111363
|
+
center: osmCenterSchema.optional(),
|
|
111364
|
+
radiusMeters: external_exports.number().int().min(50).max(5e3).optional()
|
|
111365
|
+
});
|
|
111366
|
+
var defaultOsmLayers = ["roads", "buildings", "water", "parks"];
|
|
111367
|
+
function validateOsmArea(schema) {
|
|
111368
|
+
return schema.refine((value) => {
|
|
111369
|
+
return value.bbox !== void 0 ? value.center === void 0 && value.radiusMeters === void 0 : value.center !== void 0 && value.radiusMeters !== void 0;
|
|
111370
|
+
}, "Provide either bbox or center with radiusMeters").refine((value) => {
|
|
111371
|
+
if (!value.bbox) {
|
|
111372
|
+
return true;
|
|
111373
|
+
}
|
|
111374
|
+
return value.bbox.east > value.bbox.west && value.bbox.north > value.bbox.south;
|
|
111375
|
+
}, "bbox east/north must be greater than west/south");
|
|
111376
|
+
}
|
|
111344
111377
|
var zeroMapsOperationSchema = external_exports.enum([
|
|
111345
111378
|
"geocode",
|
|
111346
111379
|
"reverse-geocode",
|
|
111347
111380
|
"directions",
|
|
111348
111381
|
"places.search",
|
|
111349
|
-
"places.details"
|
|
111382
|
+
"places.details",
|
|
111383
|
+
"osm.download",
|
|
111384
|
+
"osm.render"
|
|
111350
111385
|
]);
|
|
111351
111386
|
var zeroMapsResponseSchema = external_exports.object({
|
|
111352
111387
|
operation: zeroMapsOperationSchema,
|
|
111353
|
-
provider: external_exports.
|
|
111388
|
+
provider: external_exports.enum(["google-maps", "openstreetmap"]),
|
|
111354
111389
|
creditsCharged: external_exports.number(),
|
|
111355
111390
|
billingCategory: external_exports.string(),
|
|
111356
111391
|
billingQuantity: external_exports.number(),
|
|
@@ -111382,6 +111417,25 @@ var zeroMapsPlacesDetailsRequestSchema = external_exports.object({
|
|
|
111382
111417
|
placeId: external_exports.string().trim().min(1),
|
|
111383
111418
|
fields: placeDetailFieldsetSchema.default("essentials")
|
|
111384
111419
|
});
|
|
111420
|
+
var zeroMapsOsmDownloadRequestSchema = validateOsmArea(
|
|
111421
|
+
osmAreaRequestBaseSchema.extend({
|
|
111422
|
+
layers: external_exports.array(osmLayerSchema).min(1).max(4).default(() => {
|
|
111423
|
+
return [...defaultOsmLayers];
|
|
111424
|
+
})
|
|
111425
|
+
})
|
|
111426
|
+
);
|
|
111427
|
+
var zeroMapsOsmRenderRequestSchema = validateOsmArea(
|
|
111428
|
+
osmAreaRequestBaseSchema.extend({
|
|
111429
|
+
layers: external_exports.array(osmLayerSchema).min(1).max(4).default(() => {
|
|
111430
|
+
return [...defaultOsmLayers];
|
|
111431
|
+
}),
|
|
111432
|
+
width: external_exports.number().int().min(320).max(2048).default(1536),
|
|
111433
|
+
height: external_exports.number().int().min(240).max(2048).default(1024),
|
|
111434
|
+
style: osmStyleSchema.default("standard"),
|
|
111435
|
+
title: external_exports.string().trim().min(1).max(120).optional(),
|
|
111436
|
+
markers: external_exports.array(osmMarkerSchema).max(100).default([])
|
|
111437
|
+
})
|
|
111438
|
+
);
|
|
111385
111439
|
var mapsResponses = {
|
|
111386
111440
|
200: zeroMapsResponseSchema,
|
|
111387
111441
|
400: apiErrorSchema,
|
|
@@ -111431,6 +111485,22 @@ var zeroMapsContract = c93.router({
|
|
|
111431
111485
|
body: zeroMapsPlacesDetailsRequestSchema,
|
|
111432
111486
|
responses: mapsResponses,
|
|
111433
111487
|
summary: "Fetch place details through managed Zero Maps"
|
|
111488
|
+
},
|
|
111489
|
+
osmDownload: {
|
|
111490
|
+
method: "POST",
|
|
111491
|
+
path: "/api/zero/maps/osm/download",
|
|
111492
|
+
headers: authHeadersSchema,
|
|
111493
|
+
body: zeroMapsOsmDownloadRequestSchema,
|
|
111494
|
+
responses: mapsResponses,
|
|
111495
|
+
summary: "Download OpenStreetMap features through managed Zero Maps"
|
|
111496
|
+
},
|
|
111497
|
+
osmRender: {
|
|
111498
|
+
method: "POST",
|
|
111499
|
+
path: "/api/zero/maps/osm/render",
|
|
111500
|
+
headers: authHeadersSchema,
|
|
111501
|
+
body: zeroMapsOsmRenderRequestSchema,
|
|
111502
|
+
responses: mapsResponses,
|
|
111503
|
+
summary: "Render OpenStreetMap features to PNG through managed Zero Maps"
|
|
111434
111504
|
}
|
|
111435
111505
|
});
|
|
111436
111506
|
|
|
@@ -112335,14 +112405,12 @@ var FEATURE_SWITCHES = {
|
|
|
112335
112405
|
["chatTemplatePicker" /* ChatTemplatePicker */]: {
|
|
112336
112406
|
maintainer: "linghan@vm0.ai",
|
|
112337
112407
|
description: "Show the Template picker in the Zero chat composer for per-message generation template selection.",
|
|
112338
|
-
enabled:
|
|
112339
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
112408
|
+
enabled: true
|
|
112340
112409
|
},
|
|
112341
112410
|
["videoTemplatePicker" /* VideoTemplatePicker */]: {
|
|
112342
112411
|
maintainer: "bingjie@vm0.ai",
|
|
112343
112412
|
description: "Show the Video template picker tab in the Zero chat composer for AI video generation with curated templates.",
|
|
112344
|
-
enabled:
|
|
112345
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
112413
|
+
enabled: true
|
|
112346
112414
|
},
|
|
112347
112415
|
["memoryViewer" /* MemoryViewer */]: {
|
|
112348
112416
|
maintainer: "lancy@vm0.ai",
|
|
@@ -112359,8 +112427,7 @@ var FEATURE_SWITCHES = {
|
|
|
112359
112427
|
["presentationHtmlPptxDownload" /* PresentationHtmlPptxDownload */]: {
|
|
112360
112428
|
maintainer: "bingjie@vm0.ai",
|
|
112361
112429
|
description: "Show a PPTX download action for presentation HTML artifacts.",
|
|
112362
|
-
enabled:
|
|
112363
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
112430
|
+
enabled: true
|
|
112364
112431
|
},
|
|
112365
112432
|
["chatSlashWorkflowCommands" /* ChatSlashWorkflowCommands */]: {
|
|
112366
112433
|
maintainer: "bingjie@vm0.ai",
|
|
@@ -112382,14 +112449,12 @@ var FEATURE_SWITCHES = {
|
|
|
112382
112449
|
["mobileSingleLineComposer" /* MobileSingleLineComposer */]: {
|
|
112383
112450
|
maintainer: "ethan@vm0.ai",
|
|
112384
112451
|
description: "Default the chat composer to a single-line resting height on mobile (below the md breakpoint) instead of the three-line desktop height.",
|
|
112385
|
-
enabled:
|
|
112386
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
112452
|
+
enabled: true
|
|
112387
112453
|
},
|
|
112388
112454
|
["customConnectorProposals" /* CustomConnectorProposals */]: {
|
|
112389
112455
|
maintainer: "ethan@vm0.ai",
|
|
112390
112456
|
description: "Enable custom connector proposal cards, multi-field custom connector definitions, and agent-driven custom connector setup.",
|
|
112391
|
-
enabled:
|
|
112392
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
112457
|
+
enabled: true
|
|
112393
112458
|
},
|
|
112394
112459
|
["computerUseDelegatedAuthorization" /* ComputerUseDelegatedAuthorization */]: {
|
|
112395
112460
|
maintainer: "lancy@vm0.ai",
|
|
@@ -114134,4 +114199,4 @@ undici/lib/web/fetch/body.js:
|
|
|
114134
114199
|
undici/lib/web/websocket/frame.js:
|
|
114135
114200
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
114136
114201
|
*/
|
|
114137
|
-
//# sourceMappingURL=chunk-
|
|
114202
|
+
//# sourceMappingURL=chunk-QXLY7TX2.js.map
|