@vm0/cli 9.141.0 → 9.142.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.
|
@@ -74083,7 +74083,7 @@ if (DSN) {
|
|
|
74083
74083
|
init2({
|
|
74084
74084
|
dsn: DSN,
|
|
74085
74085
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
74086
|
-
release: "9.
|
|
74086
|
+
release: "9.142.0",
|
|
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.
|
|
74105
|
+
version: "9.142.0",
|
|
74106
74106
|
command: process.argv.slice(2).join(" ")
|
|
74107
74107
|
});
|
|
74108
74108
|
setContext("runtime", {
|
|
@@ -102919,7 +102919,15 @@ var modelProviderResponseSchema = external_exports.object({
|
|
|
102919
102919
|
// The corresponding server route lands in #11909; declared here so the
|
|
102920
102920
|
// platform UI does not have to bypass schema validation to read them.
|
|
102921
102921
|
workspaceName: external_exports.string().nullable().optional(),
|
|
102922
|
-
planType: external_exports.string().nullable().optional()
|
|
102922
|
+
planType: external_exports.string().nullable().optional(),
|
|
102923
|
+
// OAuth refresh state. `needsReconnect` flips to true when the firewall's
|
|
102924
|
+
// refresh attempt fails (#11921 writes this on the model_providers row).
|
|
102925
|
+
// `lastRefreshErrorCode` carries the typed code from `ChatgptRefreshError`
|
|
102926
|
+
// (e.g. `refresh_token_expired`) so the UI can render an actionable
|
|
102927
|
+
// re-connect message. Both fields are always emitted for OAuth-typed
|
|
102928
|
+
// providers; non-OAuth types default to false / null.
|
|
102929
|
+
needsReconnect: external_exports.boolean(),
|
|
102930
|
+
lastRefreshErrorCode: external_exports.string().nullable()
|
|
102923
102931
|
});
|
|
102924
102932
|
var modelProviderListResponseSchema = external_exports.object({
|
|
102925
102933
|
modelProviders: external_exports.array(modelProviderResponseSchema)
|
|
@@ -104502,11 +104510,17 @@ var integrationsTelegramMessageContract = c21.router({
|
|
|
104502
104510
|
var telegramBotTokenStatusSchema = external_exports.enum(["valid", "invalid", "unknown"]);
|
|
104503
104511
|
var telegramBotListItemSchema = external_exports.object({
|
|
104504
104512
|
id: external_exports.string(),
|
|
104513
|
+
kind: external_exports.enum(["custom", "official"]).optional(),
|
|
104505
104514
|
username: external_exports.string().nullable(),
|
|
104506
104515
|
agent: external_exports.object({ id: external_exports.string(), name: external_exports.string() }).nullable(),
|
|
104507
104516
|
isOwner: external_exports.boolean(),
|
|
104508
104517
|
isConnected: external_exports.boolean(),
|
|
104509
|
-
tokenStatus: telegramBotTokenStatusSchema
|
|
104518
|
+
tokenStatus: telegramBotTokenStatusSchema,
|
|
104519
|
+
official: external_exports.object({
|
|
104520
|
+
configured: external_exports.boolean(),
|
|
104521
|
+
usesDefaultAgent: external_exports.boolean(),
|
|
104522
|
+
linkedTelegramUserId: external_exports.string().nullable()
|
|
104523
|
+
}).optional()
|
|
104510
104524
|
});
|
|
104511
104525
|
var listTelegramBotsResponseSchema = external_exports.object({
|
|
104512
104526
|
bots: external_exports.array(telegramBotListItemSchema)
|
|
@@ -105253,6 +105267,12 @@ var MIME_BY_EXTENSION = {
|
|
|
105253
105267
|
".webp": "image/webp",
|
|
105254
105268
|
".avif": "image/avif",
|
|
105255
105269
|
".svg": "image/svg+xml",
|
|
105270
|
+
".bmp": "image/bmp",
|
|
105271
|
+
".heic": "image/heic",
|
|
105272
|
+
".heif": "image/heif",
|
|
105273
|
+
".tif": "image/tiff",
|
|
105274
|
+
".tiff": "image/tiff",
|
|
105275
|
+
".psd": "image/vnd.adobe.photoshop",
|
|
105256
105276
|
".mp4": "video/mp4",
|
|
105257
105277
|
".webm": "video/webm",
|
|
105258
105278
|
".mov": "video/quicktime",
|
|
@@ -105273,16 +105293,49 @@ var MIME_BY_EXTENSION = {
|
|
|
105273
105293
|
".html": "text/html",
|
|
105274
105294
|
".htm": "text/html",
|
|
105275
105295
|
".json": "application/json",
|
|
105296
|
+
".xml": "application/xml",
|
|
105297
|
+
".yaml": "application/yaml",
|
|
105298
|
+
".yml": "application/yaml",
|
|
105299
|
+
".tsv": "text/tab-separated-values",
|
|
105276
105300
|
".doc": "application/msword",
|
|
105277
105301
|
".docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
105302
|
+
".docm": "application/vnd.ms-word.document.macroenabled.12",
|
|
105303
|
+
".dotm": "application/vnd.ms-word.template.macroenabled.12",
|
|
105304
|
+
".dotx": "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
|
|
105278
105305
|
".odt": "application/vnd.oasis.opendocument.text",
|
|
105279
105306
|
".rtf": "application/rtf",
|
|
105280
105307
|
".xls": "application/vnd.ms-excel",
|
|
105281
105308
|
".xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
105309
|
+
".xlsb": "application/vnd.ms-excel.sheet.binary.macroenabled.12",
|
|
105310
|
+
".xlsm": "application/vnd.ms-excel.sheet.macroenabled.12",
|
|
105311
|
+
".xltm": "application/vnd.ms-excel.template.macroenabled.12",
|
|
105312
|
+
".xltx": "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
|
|
105282
105313
|
".ods": "application/vnd.oasis.opendocument.spreadsheet",
|
|
105283
105314
|
".ppt": "application/vnd.ms-powerpoint",
|
|
105284
105315
|
".pptx": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
105285
|
-
".
|
|
105316
|
+
".potm": "application/vnd.ms-powerpoint.template.macroenabled.12",
|
|
105317
|
+
".potx": "application/vnd.openxmlformats-officedocument.presentationml.template",
|
|
105318
|
+
".odp": "application/vnd.oasis.opendocument.presentation",
|
|
105319
|
+
".ppsx": "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
|
|
105320
|
+
".ppsm": "application/vnd.ms-powerpoint.slideshow.macroenabled.12",
|
|
105321
|
+
".pptm": "application/vnd.ms-powerpoint.presentation.macroenabled.12",
|
|
105322
|
+
".zip": "application/zip",
|
|
105323
|
+
".rar": "application/vnd.rar",
|
|
105324
|
+
".7z": "application/x-7z-compressed",
|
|
105325
|
+
".tar": "application/x-tar",
|
|
105326
|
+
".gz": "application/gzip",
|
|
105327
|
+
".tgz": "application/gzip",
|
|
105328
|
+
".bz2": "application/x-bzip2",
|
|
105329
|
+
".xz": "application/x-xz",
|
|
105330
|
+
".pages": "application/vnd.apple.pages",
|
|
105331
|
+
".numbers": "application/vnd.apple.numbers",
|
|
105332
|
+
".key": "application/vnd.apple.keynote",
|
|
105333
|
+
".parquet": "application/vnd.apache.parquet",
|
|
105334
|
+
".sqlite": "application/vnd.sqlite3",
|
|
105335
|
+
".sqlite3": "application/vnd.sqlite3",
|
|
105336
|
+
".db": "application/vnd.sqlite3",
|
|
105337
|
+
".epub": "application/epub+zip",
|
|
105338
|
+
".ai": "application/postscript"
|
|
105286
105339
|
};
|
|
105287
105340
|
function inferContentType(localPath) {
|
|
105288
105341
|
const ext = extname(localPath).toLowerCase();
|
|
@@ -105383,7 +105436,7 @@ async function uploadWebFile(localPath, options) {
|
|
|
105383
105436
|
const bytes = readFileSync3(localPath);
|
|
105384
105437
|
const putRes = await fetch(prepared.uploadUrl, {
|
|
105385
105438
|
method: "PUT",
|
|
105386
|
-
headers: { "Content-Type": contentType },
|
|
105439
|
+
headers: { "Content-Type": prepared.contentType },
|
|
105387
105440
|
body: new Uint8Array(bytes)
|
|
105388
105441
|
});
|
|
105389
105442
|
if (!putRes.ok) {
|
|
@@ -119754,12 +119807,18 @@ var telegramEnvironmentSchema = external_exports.object({
|
|
|
119754
119807
|
var telegramTokenStatusSchema = external_exports.enum(["valid", "invalid", "unknown"]);
|
|
119755
119808
|
var telegramBotSchema = external_exports.object({
|
|
119756
119809
|
id: external_exports.string(),
|
|
119810
|
+
kind: external_exports.enum(["custom", "official"]).optional(),
|
|
119757
119811
|
username: external_exports.string().nullable(),
|
|
119758
119812
|
avatarUrl: external_exports.string().nullable(),
|
|
119759
119813
|
agent: external_exports.object({ id: external_exports.string(), name: external_exports.string() }).nullable(),
|
|
119760
119814
|
isOwner: external_exports.boolean(),
|
|
119761
119815
|
isConnected: external_exports.boolean(),
|
|
119762
|
-
tokenStatus: telegramTokenStatusSchema
|
|
119816
|
+
tokenStatus: telegramTokenStatusSchema,
|
|
119817
|
+
official: external_exports.object({
|
|
119818
|
+
configured: external_exports.boolean(),
|
|
119819
|
+
usesDefaultAgent: external_exports.boolean(),
|
|
119820
|
+
linkedTelegramUserId: external_exports.string().nullable()
|
|
119821
|
+
}).optional()
|
|
119763
119822
|
});
|
|
119764
119823
|
var telegramBotStatusSchema = telegramBotSchema.extend({
|
|
119765
119824
|
domainConfigured: external_exports.boolean(),
|
|
@@ -119769,7 +119828,8 @@ var telegramListResponseSchema = external_exports.object({
|
|
|
119769
119828
|
bots: external_exports.array(telegramBotSchema)
|
|
119770
119829
|
});
|
|
119771
119830
|
var telegramUpdateBodySchema = external_exports.object({
|
|
119772
|
-
defaultAgentId: external_exports.string().trim().min(1)
|
|
119831
|
+
defaultAgentId: external_exports.string().trim().min(1).optional(),
|
|
119832
|
+
selectedAgentId: external_exports.string().trim().min(1).nullable().optional()
|
|
119773
119833
|
});
|
|
119774
119834
|
var telegramLinkStatusResponseSchema = external_exports.discriminatedUnion("linked", [
|
|
119775
119835
|
external_exports.object({
|
|
@@ -119782,6 +119842,7 @@ var telegramLinkStatusResponseSchema = external_exports.discriminatedUnion("link
|
|
|
119782
119842
|
installation: external_exports.object({
|
|
119783
119843
|
id: external_exports.string(),
|
|
119784
119844
|
botUsername: external_exports.string(),
|
|
119845
|
+
loginBotId: external_exports.string().optional(),
|
|
119785
119846
|
domainConfigured: external_exports.boolean().optional()
|
|
119786
119847
|
}).optional()
|
|
119787
119848
|
})
|
|
@@ -120231,6 +120292,11 @@ var FEATURE_SWITCHES = {
|
|
|
120231
120292
|
description: "Replace the Invite people button in the agent chat page header with a New button that creates a new chat thread",
|
|
120232
120293
|
enabled: false
|
|
120233
120294
|
},
|
|
120295
|
+
["officialTelegramBot" /* OfficialTelegramBot */]: {
|
|
120296
|
+
maintainer: "ethan@vm0.ai",
|
|
120297
|
+
description: "Show and enable the shared official Zero Telegram bot integration",
|
|
120298
|
+
enabled: true
|
|
120299
|
+
},
|
|
120234
120300
|
["chatManualHistory" /* ChatManualHistory */]: {
|
|
120235
120301
|
maintainer: "linghan@vm0.ai",
|
|
120236
120302
|
description: "Enable manual chat history loading from a Load history button at the top of a thread. When off, chat stays in the latest-50/no-history mode.",
|
|
@@ -121694,4 +121760,4 @@ undici/lib/web/fetch/body.js:
|
|
|
121694
121760
|
undici/lib/web/websocket/frame.js:
|
|
121695
121761
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
121696
121762
|
*/
|
|
121697
|
-
//# sourceMappingURL=chunk-
|
|
121763
|
+
//# sourceMappingURL=chunk-OD6W3UMZ.js.map
|