@vm0/cli 9.141.1 → 9.142.1
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-SIAYAR4M.js → chunk-MB6EHK2G.js} +61 -11
- package/{chunk-SIAYAR4M.js.map → chunk-MB6EHK2G.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +42 -12
- 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.
|
|
74086
|
+
release: "9.142.1",
|
|
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.1",
|
|
74106
74106
|
command: process.argv.slice(2).join(" ")
|
|
74107
74107
|
});
|
|
74108
74108
|
setContext("runtime", {
|
|
@@ -100716,7 +100716,8 @@ var logsListContract = c7.router({
|
|
|
100716
100716
|
headers: authHeadersSchema,
|
|
100717
100717
|
query: listQuerySchema.extend({
|
|
100718
100718
|
search: external_exports.string().optional(),
|
|
100719
|
-
agent: external_exports.string().optional(),
|
|
100719
|
+
agent: external_exports.string().uuid().optional(),
|
|
100720
|
+
// canonical Zero agent ID
|
|
100720
100721
|
name: external_exports.string().optional(),
|
|
100721
100722
|
since: external_exports.coerce.number().optional(),
|
|
100722
100723
|
status: logStatusSchema.optional(),
|
|
@@ -101350,7 +101351,8 @@ var logsSearchContract = c9.router({
|
|
|
101350
101351
|
headers: authHeadersSchema,
|
|
101351
101352
|
query: external_exports.object({
|
|
101352
101353
|
keyword: external_exports.string().min(1),
|
|
101353
|
-
agent: external_exports.string().optional(),
|
|
101354
|
+
agent: external_exports.string().uuid().optional(),
|
|
101355
|
+
// canonical Zero agent ID
|
|
101354
101356
|
runId: external_exports.string().optional(),
|
|
101355
101357
|
since: external_exports.coerce.number().optional(),
|
|
101356
101358
|
limit: external_exports.coerce.number().min(1).max(50).default(20),
|
|
@@ -102231,7 +102233,8 @@ var zeroLogsSearchContract = c12.router({
|
|
|
102231
102233
|
headers: authHeadersSchema,
|
|
102232
102234
|
query: external_exports.object({
|
|
102233
102235
|
keyword: external_exports.string().min(1),
|
|
102234
|
-
agent: external_exports.string().optional(),
|
|
102236
|
+
agent: external_exports.string().uuid().optional(),
|
|
102237
|
+
// canonical Zero agent ID
|
|
102235
102238
|
runId: external_exports.string().optional(),
|
|
102236
102239
|
since: external_exports.coerce.number().optional(),
|
|
102237
102240
|
limit: external_exports.coerce.number().min(1).max(50).default(20),
|
|
@@ -102919,7 +102922,15 @@ var modelProviderResponseSchema = external_exports.object({
|
|
|
102919
102922
|
// The corresponding server route lands in #11909; declared here so the
|
|
102920
102923
|
// platform UI does not have to bypass schema validation to read them.
|
|
102921
102924
|
workspaceName: external_exports.string().nullable().optional(),
|
|
102922
|
-
planType: external_exports.string().nullable().optional()
|
|
102925
|
+
planType: external_exports.string().nullable().optional(),
|
|
102926
|
+
// OAuth refresh state. `needsReconnect` flips to true when the firewall's
|
|
102927
|
+
// refresh attempt fails (#11921 writes this on the model_providers row).
|
|
102928
|
+
// `lastRefreshErrorCode` carries the typed code from `ChatgptRefreshError`
|
|
102929
|
+
// (e.g. `refresh_token_expired`) so the UI can render an actionable
|
|
102930
|
+
// re-connect message. Both fields are always emitted for OAuth-typed
|
|
102931
|
+
// providers; non-OAuth types default to false / null.
|
|
102932
|
+
needsReconnect: external_exports.boolean(),
|
|
102933
|
+
lastRefreshErrorCode: external_exports.string().nullable()
|
|
102923
102934
|
});
|
|
102924
102935
|
var modelProviderListResponseSchema = external_exports.object({
|
|
102925
102936
|
modelProviders: external_exports.array(modelProviderResponseSchema)
|
|
@@ -104395,7 +104406,7 @@ init_esm_shims();
|
|
|
104395
104406
|
async function listSkills() {
|
|
104396
104407
|
const config4 = await getClientConfig();
|
|
104397
104408
|
const client = initClient(zeroSkillsCollectionContract, config4);
|
|
104398
|
-
const result = await client.list();
|
|
104409
|
+
const result = await client.list({ headers: {} });
|
|
104399
104410
|
if (result.status === 200) return result.body;
|
|
104400
104411
|
handleError(result, "Failed to list skills");
|
|
104401
104412
|
}
|
|
@@ -105235,7 +105246,7 @@ async function unregisterComputerUseHost() {
|
|
|
105235
105246
|
async function getComputerUseHost() {
|
|
105236
105247
|
const config4 = await getClientConfig();
|
|
105237
105248
|
const client = initClient(zeroComputerUseHostContract, config4);
|
|
105238
|
-
const result = await client.getHost({});
|
|
105249
|
+
const result = await client.getHost({ headers: {} });
|
|
105239
105250
|
if (result.status === 200) {
|
|
105240
105251
|
return result.body;
|
|
105241
105252
|
}
|
|
@@ -105259,6 +105270,12 @@ var MIME_BY_EXTENSION = {
|
|
|
105259
105270
|
".webp": "image/webp",
|
|
105260
105271
|
".avif": "image/avif",
|
|
105261
105272
|
".svg": "image/svg+xml",
|
|
105273
|
+
".bmp": "image/bmp",
|
|
105274
|
+
".heic": "image/heic",
|
|
105275
|
+
".heif": "image/heif",
|
|
105276
|
+
".tif": "image/tiff",
|
|
105277
|
+
".tiff": "image/tiff",
|
|
105278
|
+
".psd": "image/vnd.adobe.photoshop",
|
|
105262
105279
|
".mp4": "video/mp4",
|
|
105263
105280
|
".webm": "video/webm",
|
|
105264
105281
|
".mov": "video/quicktime",
|
|
@@ -105279,16 +105296,49 @@ var MIME_BY_EXTENSION = {
|
|
|
105279
105296
|
".html": "text/html",
|
|
105280
105297
|
".htm": "text/html",
|
|
105281
105298
|
".json": "application/json",
|
|
105299
|
+
".xml": "application/xml",
|
|
105300
|
+
".yaml": "application/yaml",
|
|
105301
|
+
".yml": "application/yaml",
|
|
105302
|
+
".tsv": "text/tab-separated-values",
|
|
105282
105303
|
".doc": "application/msword",
|
|
105283
105304
|
".docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
105305
|
+
".docm": "application/vnd.ms-word.document.macroenabled.12",
|
|
105306
|
+
".dotm": "application/vnd.ms-word.template.macroenabled.12",
|
|
105307
|
+
".dotx": "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
|
|
105284
105308
|
".odt": "application/vnd.oasis.opendocument.text",
|
|
105285
105309
|
".rtf": "application/rtf",
|
|
105286
105310
|
".xls": "application/vnd.ms-excel",
|
|
105287
105311
|
".xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
105312
|
+
".xlsb": "application/vnd.ms-excel.sheet.binary.macroenabled.12",
|
|
105313
|
+
".xlsm": "application/vnd.ms-excel.sheet.macroenabled.12",
|
|
105314
|
+
".xltm": "application/vnd.ms-excel.template.macroenabled.12",
|
|
105315
|
+
".xltx": "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
|
|
105288
105316
|
".ods": "application/vnd.oasis.opendocument.spreadsheet",
|
|
105289
105317
|
".ppt": "application/vnd.ms-powerpoint",
|
|
105290
105318
|
".pptx": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
105291
|
-
".
|
|
105319
|
+
".potm": "application/vnd.ms-powerpoint.template.macroenabled.12",
|
|
105320
|
+
".potx": "application/vnd.openxmlformats-officedocument.presentationml.template",
|
|
105321
|
+
".odp": "application/vnd.oasis.opendocument.presentation",
|
|
105322
|
+
".ppsx": "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
|
|
105323
|
+
".ppsm": "application/vnd.ms-powerpoint.slideshow.macroenabled.12",
|
|
105324
|
+
".pptm": "application/vnd.ms-powerpoint.presentation.macroenabled.12",
|
|
105325
|
+
".zip": "application/zip",
|
|
105326
|
+
".rar": "application/vnd.rar",
|
|
105327
|
+
".7z": "application/x-7z-compressed",
|
|
105328
|
+
".tar": "application/x-tar",
|
|
105329
|
+
".gz": "application/gzip",
|
|
105330
|
+
".tgz": "application/gzip",
|
|
105331
|
+
".bz2": "application/x-bzip2",
|
|
105332
|
+
".xz": "application/x-xz",
|
|
105333
|
+
".pages": "application/vnd.apple.pages",
|
|
105334
|
+
".numbers": "application/vnd.apple.numbers",
|
|
105335
|
+
".key": "application/vnd.apple.keynote",
|
|
105336
|
+
".parquet": "application/vnd.apache.parquet",
|
|
105337
|
+
".sqlite": "application/vnd.sqlite3",
|
|
105338
|
+
".sqlite3": "application/vnd.sqlite3",
|
|
105339
|
+
".db": "application/vnd.sqlite3",
|
|
105340
|
+
".epub": "application/epub+zip",
|
|
105341
|
+
".ai": "application/postscript"
|
|
105292
105342
|
};
|
|
105293
105343
|
function inferContentType(localPath) {
|
|
105294
105344
|
const ext = extname(localPath).toLowerCase();
|
|
@@ -105389,7 +105439,7 @@ async function uploadWebFile(localPath, options) {
|
|
|
105389
105439
|
const bytes = readFileSync3(localPath);
|
|
105390
105440
|
const putRes = await fetch(prepared.uploadUrl, {
|
|
105391
105441
|
method: "PUT",
|
|
105392
|
-
headers: { "Content-Type": contentType },
|
|
105442
|
+
headers: { "Content-Type": prepared.contentType },
|
|
105393
105443
|
body: new Uint8Array(bytes)
|
|
105394
105444
|
});
|
|
105395
105445
|
if (!putRes.ok) {
|
|
@@ -121713,4 +121763,4 @@ undici/lib/web/fetch/body.js:
|
|
|
121713
121763
|
undici/lib/web/websocket/frame.js:
|
|
121714
121764
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
121715
121765
|
*/
|
|
121716
|
-
//# sourceMappingURL=chunk-
|
|
121766
|
+
//# sourceMappingURL=chunk-MB6EHK2G.js.map
|