@vm0/cli 9.141.1 → 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.141.1",
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.141.1",
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)
@@ -105259,6 +105267,12 @@ var MIME_BY_EXTENSION = {
105259
105267
  ".webp": "image/webp",
105260
105268
  ".avif": "image/avif",
105261
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",
105262
105276
  ".mp4": "video/mp4",
105263
105277
  ".webm": "video/webm",
105264
105278
  ".mov": "video/quicktime",
@@ -105279,16 +105293,49 @@ var MIME_BY_EXTENSION = {
105279
105293
  ".html": "text/html",
105280
105294
  ".htm": "text/html",
105281
105295
  ".json": "application/json",
105296
+ ".xml": "application/xml",
105297
+ ".yaml": "application/yaml",
105298
+ ".yml": "application/yaml",
105299
+ ".tsv": "text/tab-separated-values",
105282
105300
  ".doc": "application/msword",
105283
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",
105284
105305
  ".odt": "application/vnd.oasis.opendocument.text",
105285
105306
  ".rtf": "application/rtf",
105286
105307
  ".xls": "application/vnd.ms-excel",
105287
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",
105288
105313
  ".ods": "application/vnd.oasis.opendocument.spreadsheet",
105289
105314
  ".ppt": "application/vnd.ms-powerpoint",
105290
105315
  ".pptx": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
105291
- ".odp": "application/vnd.oasis.opendocument.presentation"
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"
105292
105339
  };
105293
105340
  function inferContentType(localPath) {
105294
105341
  const ext = extname(localPath).toLowerCase();
@@ -105389,7 +105436,7 @@ async function uploadWebFile(localPath, options) {
105389
105436
  const bytes = readFileSync3(localPath);
105390
105437
  const putRes = await fetch(prepared.uploadUrl, {
105391
105438
  method: "PUT",
105392
- headers: { "Content-Type": contentType },
105439
+ headers: { "Content-Type": prepared.contentType },
105393
105440
  body: new Uint8Array(bytes)
105394
105441
  });
105395
105442
  if (!putRes.ok) {
@@ -121713,4 +121760,4 @@ undici/lib/web/fetch/body.js:
121713
121760
  undici/lib/web/websocket/frame.js:
121714
121761
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
121715
121762
  */
121716
- //# sourceMappingURL=chunk-SIAYAR4M.js.map
121763
+ //# sourceMappingURL=chunk-OD6W3UMZ.js.map