@vm0/cli 9.256.1 → 9.257.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/{agent-EVQN2LPX.js → agent-6PNU7NKA.js} +6 -6
- package/{banking-YA4UBYKV.js → banking-LIKZNNA3.js} +4 -4
- package/{browser-K37YB6WN.js → browser-4R2YDR62.js} +48 -22
- package/browser-4R2YDR62.js.map +1 -0
- package/{chat-UFNIPVLN.js → chat-PSSM3NZI.js} +5 -5
- package/{chunk-M4F24YFV.js → chunk-AXPECIRA.js} +7 -6
- package/chunk-AXPECIRA.js.map +1 -0
- package/{chunk-SLUCBVKQ.js → chunk-DIK5B4ZQ.js} +71 -56
- package/{chunk-SLUCBVKQ.js.map → chunk-DIK5B4ZQ.js.map} +1 -1
- package/{chunk-ITSKDZFI.js → chunk-KDNGT5NT.js} +2 -30
- package/chunk-KDNGT5NT.js.map +1 -0
- package/{chunk-AAZBHQPP.js → chunk-NAXSTGVS.js} +2 -2
- package/{chunk-P2FBG2BA.js → chunk-OMZ7JNGC.js} +2 -2
- package/{chunk-KLSQEQC4.js → chunk-RKOGVYZD.js} +3 -3
- package/{chunk-OQSXOSCD.js → chunk-RLKJ2XNZ.js} +2 -2
- package/{chunk-CIALZM7O.js → chunk-TP7AVH5K.js} +2 -2
- package/{chunk-VQ3ILWFQ.js → chunk-ZQOFNY34.js} +4 -4
- package/{computer-use-C6VLY2LY.js → computer-use-54M26ZHL.js} +4 -4
- package/{connector-SJF25IFP.js → connector-NQP2OC55.js} +7 -7
- package/{credit-LYZ2HJ6F.js → credit-IHTXTFPT.js} +5 -5
- package/{developer-support-3ISSXZCF.js → developer-support-Z2A6DWF7.js} +4 -4
- package/{doctor-ISR6CR7B.js → doctor-KTLE2XJI.js} +5 -5
- package/{feishu-3MULYZGN.js → feishu-GKPQY3AW.js} +4 -4
- package/{finance-7BH57FKM.js → finance-KIIZG3ZI.js} +4 -4
- package/{generate-5RN37TB2.js → generate-76I6OUDC.js} +5 -5
- package/{github-V6IISTKM.js → github-YU7FN4T4.js} +4 -4
- package/{goal-VHURZA6I.js → goal-XJUAREVX.js} +4 -4
- package/{host-FPYIZNEY.js → host-7BZHM6UL.js} +4 -4
- package/{logs-SOU4VJKD.js → logs-6HBWQTDR.js} +5 -5
- package/{mail-CYM7COJU.js → mail-UHSIDK2L.js} +6 -6
- package/{maps-M743J55Y.js → maps-E7UDZIQW.js} +4 -4
- package/{model-UP6QUEBW.js → model-JNX4ATJD.js} +5 -5
- package/{model-provider-OFR5IFKC.js → model-provider-3OJOREKY.js} +5 -5
- package/{org-TMYRDS6T.js → org-HFW3TZVX.js} +4 -4
- package/package.json +1 -1
- package/{people-search-PGGRVJE2.js → people-search-P4DUITUE.js} +4 -4
- package/{phone-XDSMT3L2.js → phone-HEDFCVAX.js} +4 -4
- package/{preference-HJZXDNPF.js → preference-ZFGOHT3I.js} +4 -4
- package/{resource-EPIY47XQ.js → resource-JOLB3ZCJ.js} +4 -4
- package/{scrape-RARAUZOC.js → scrape-YMTMJRHW.js} +4 -4
- package/{search-DXXHHWDZ.js → search-ZJJZXAVE.js} +5 -5
- package/{secret-AGFBP5RY.js → secret-HE7UT6PO.js} +4 -4
- package/{slack-K2QEL2LI.js → slack-CMNXWUKS.js} +4 -4
- package/{teams-KIJXDVOL.js → teams-ZSHKKQUD.js} +4 -4
- package/{telegram-S5K3IMKH.js → telegram-VLCEN6MM.js} +4 -4
- package/{upgrade-6I5DNVPS.js → upgrade-WX3U7MZI.js} +3 -3
- package/{variable-IRTOV55E.js → variable-H54WRRXG.js} +4 -4
- package/{video-3ZDBT2PC.js → video-XJJZZYSG.js} +3 -3
- package/{weather-4TPUCJLD.js → weather-XWXK6CZY.js} +4 -4
- package/{web-ZK5I2YXJ.js → web-5UY5AYFW.js} +4 -4
- package/{web-search-OI6ACM3G.js → web-search-4MQUXAQH.js} +4 -4
- package/{whoami-FJGFKNBS.js → whoami-XWFEH6TT.js} +6 -6
- package/{workflow-4ODQQIVH.js → workflow-GAXXRI6N.js} +4 -4
- package/zero.js +42 -42
- package/browser-K37YB6WN.js.map +0 -1
- package/chunk-ITSKDZFI.js.map +0 -1
- package/chunk-M4F24YFV.js.map +0 -1
- /package/{agent-EVQN2LPX.js.map → agent-6PNU7NKA.js.map} +0 -0
- /package/{banking-YA4UBYKV.js.map → banking-LIKZNNA3.js.map} +0 -0
- /package/{chat-UFNIPVLN.js.map → chat-PSSM3NZI.js.map} +0 -0
- /package/{chunk-AAZBHQPP.js.map → chunk-NAXSTGVS.js.map} +0 -0
- /package/{chunk-P2FBG2BA.js.map → chunk-OMZ7JNGC.js.map} +0 -0
- /package/{chunk-KLSQEQC4.js.map → chunk-RKOGVYZD.js.map} +0 -0
- /package/{chunk-OQSXOSCD.js.map → chunk-RLKJ2XNZ.js.map} +0 -0
- /package/{chunk-CIALZM7O.js.map → chunk-TP7AVH5K.js.map} +0 -0
- /package/{chunk-VQ3ILWFQ.js.map → chunk-ZQOFNY34.js.map} +0 -0
- /package/{computer-use-C6VLY2LY.js.map → computer-use-54M26ZHL.js.map} +0 -0
- /package/{connector-SJF25IFP.js.map → connector-NQP2OC55.js.map} +0 -0
- /package/{credit-LYZ2HJ6F.js.map → credit-IHTXTFPT.js.map} +0 -0
- /package/{developer-support-3ISSXZCF.js.map → developer-support-Z2A6DWF7.js.map} +0 -0
- /package/{doctor-ISR6CR7B.js.map → doctor-KTLE2XJI.js.map} +0 -0
- /package/{feishu-3MULYZGN.js.map → feishu-GKPQY3AW.js.map} +0 -0
- /package/{finance-7BH57FKM.js.map → finance-KIIZG3ZI.js.map} +0 -0
- /package/{generate-5RN37TB2.js.map → generate-76I6OUDC.js.map} +0 -0
- /package/{github-V6IISTKM.js.map → github-YU7FN4T4.js.map} +0 -0
- /package/{goal-VHURZA6I.js.map → goal-XJUAREVX.js.map} +0 -0
- /package/{host-FPYIZNEY.js.map → host-7BZHM6UL.js.map} +0 -0
- /package/{logs-SOU4VJKD.js.map → logs-6HBWQTDR.js.map} +0 -0
- /package/{mail-CYM7COJU.js.map → mail-UHSIDK2L.js.map} +0 -0
- /package/{maps-M743J55Y.js.map → maps-E7UDZIQW.js.map} +0 -0
- /package/{model-UP6QUEBW.js.map → model-JNX4ATJD.js.map} +0 -0
- /package/{model-provider-OFR5IFKC.js.map → model-provider-3OJOREKY.js.map} +0 -0
- /package/{org-TMYRDS6T.js.map → org-HFW3TZVX.js.map} +0 -0
- /package/{people-search-PGGRVJE2.js.map → people-search-P4DUITUE.js.map} +0 -0
- /package/{phone-XDSMT3L2.js.map → phone-HEDFCVAX.js.map} +0 -0
- /package/{preference-HJZXDNPF.js.map → preference-ZFGOHT3I.js.map} +0 -0
- /package/{resource-EPIY47XQ.js.map → resource-JOLB3ZCJ.js.map} +0 -0
- /package/{scrape-RARAUZOC.js.map → scrape-YMTMJRHW.js.map} +0 -0
- /package/{search-DXXHHWDZ.js.map → search-ZJJZXAVE.js.map} +0 -0
- /package/{secret-AGFBP5RY.js.map → secret-HE7UT6PO.js.map} +0 -0
- /package/{slack-K2QEL2LI.js.map → slack-CMNXWUKS.js.map} +0 -0
- /package/{teams-KIJXDVOL.js.map → teams-ZSHKKQUD.js.map} +0 -0
- /package/{telegram-S5K3IMKH.js.map → telegram-VLCEN6MM.js.map} +0 -0
- /package/{upgrade-6I5DNVPS.js.map → upgrade-WX3U7MZI.js.map} +0 -0
- /package/{variable-IRTOV55E.js.map → variable-H54WRRXG.js.map} +0 -0
- /package/{video-3ZDBT2PC.js.map → video-XJJZZYSG.js.map} +0 -0
- /package/{weather-4TPUCJLD.js.map → weather-XWXK6CZY.js.map} +0 -0
- /package/{web-ZK5I2YXJ.js.map → web-5UY5AYFW.js.map} +0 -0
- /package/{web-search-OI6ACM3G.js.map → web-search-4MQUXAQH.js.map} +0 -0
- /package/{whoami-FJGFKNBS.js.map → whoami-XWFEH6TT.js.map} +0 -0
- /package/{workflow-4ODQQIVH.js.map → workflow-GAXXRI6N.js.map} +0 -0
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
updateOrgModelPoliciesRequestSchema,
|
|
22
22
|
upsertModelProviderRequestSchema,
|
|
23
23
|
upsertModelProviderResponseSchema
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AXPECIRA.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__esm,
|
|
@@ -8846,10 +8846,6 @@ function buildHeaders(token) {
|
|
|
8846
8846
|
if (token) {
|
|
8847
8847
|
headers.Authorization = `Bearer ${token}`;
|
|
8848
8848
|
}
|
|
8849
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
8850
|
-
if (bypassSecret) {
|
|
8851
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
8852
|
-
}
|
|
8853
8849
|
return headers;
|
|
8854
8850
|
}
|
|
8855
8851
|
async function getComputerUseClientConfig() {
|
|
@@ -8986,8 +8982,7 @@ async function fetchComputerUsePluginContent(commandId) {
|
|
|
8986
8982
|
// ../../packages/api-contracts/src/contracts/zero-browser.ts
|
|
8987
8983
|
init_esm_shims();
|
|
8988
8984
|
var c28 = initContract();
|
|
8989
|
-
var
|
|
8990
|
-
var ZERO_BROWSER_MAX_TIMEOUT_MINUTES = 240;
|
|
8985
|
+
var ZERO_BROWSER_IDLE_LEASE_MINUTES = 10;
|
|
8991
8986
|
var ZERO_BROWSER_DEFAULT_MAX_CREDITS = 500;
|
|
8992
8987
|
var ZERO_BROWSER_MAX_CREDITS = 1e5;
|
|
8993
8988
|
var zeroBrowserStatusSchema = external_exports.enum([
|
|
@@ -8999,7 +8994,9 @@ var zeroBrowserStatusSchema = external_exports.enum([
|
|
|
8999
8994
|
"error"
|
|
9000
8995
|
]);
|
|
9001
8996
|
var zeroBrowserSuspensionReasonSchema = external_exports.enum([
|
|
8997
|
+
// Historical reason kept for rows written before the idle lease existed.
|
|
9002
8998
|
"run_end",
|
|
8999
|
+
"idle",
|
|
9003
9000
|
"timeout",
|
|
9004
9001
|
"budget",
|
|
9005
9002
|
"provider",
|
|
@@ -9016,6 +9013,9 @@ var zeroBrowserSessionSchema = external_exports.object({
|
|
|
9016
9013
|
maxCredits: external_exports.number().int().positive(),
|
|
9017
9014
|
grossCredits: external_exports.number().int().nonnegative(),
|
|
9018
9015
|
creditsCharged: external_exports.number().int().nonnegative(),
|
|
9016
|
+
// When Zero reclaims the live provider instance unless somebody leases it
|
|
9017
|
+
// again. Null once no provider instance is running.
|
|
9018
|
+
idleExpiresAt: external_exports.iso.datetime().nullable(),
|
|
9019
9019
|
suspendedAt: external_exports.iso.datetime().nullable(),
|
|
9020
9020
|
suspensionReason: zeroBrowserSuspensionReasonSchema.nullable(),
|
|
9021
9021
|
createdAt: external_exports.iso.datetime(),
|
|
@@ -9026,7 +9026,6 @@ var zeroBrowserCreateRequestSchema = external_exports.object({
|
|
|
9026
9026
|
proxyCountryCode: external_exports.string().trim().length(2).transform((value) => {
|
|
9027
9027
|
return value.toLowerCase();
|
|
9028
9028
|
}).nullable().default(null),
|
|
9029
|
-
timeoutMinutes: external_exports.number().int().min(1).max(ZERO_BROWSER_MAX_TIMEOUT_MINUTES).default(ZERO_BROWSER_DEFAULT_TIMEOUT_MINUTES),
|
|
9030
9029
|
maxCredits: external_exports.number().int().min(1).max(ZERO_BROWSER_MAX_CREDITS).default(ZERO_BROWSER_DEFAULT_MAX_CREDITS)
|
|
9031
9030
|
});
|
|
9032
9031
|
var browserIdParamsSchema = external_exports.object({
|
|
@@ -9063,6 +9062,17 @@ var zeroBrowserContract = c28.router({
|
|
|
9063
9062
|
},
|
|
9064
9063
|
summary: "Create a new managed browser for the current chat thread using the user's shared profile"
|
|
9065
9064
|
},
|
|
9065
|
+
use: {
|
|
9066
|
+
method: "POST",
|
|
9067
|
+
path: "/api/zero/browsers/use",
|
|
9068
|
+
headers: authHeadersSchema,
|
|
9069
|
+
body: external_exports.object({}),
|
|
9070
|
+
responses: {
|
|
9071
|
+
200: browserConnectionResponseSchema,
|
|
9072
|
+
...commonErrorResponses
|
|
9073
|
+
},
|
|
9074
|
+
summary: "Create, reuse, or resume the current chat thread's managed browser and extend its idle lease"
|
|
9075
|
+
},
|
|
9066
9076
|
resume: {
|
|
9067
9077
|
method: "POST",
|
|
9068
9078
|
path: "/api/zero/browsers/resume",
|
|
@@ -9072,7 +9082,42 @@ var zeroBrowserContract = c28.router({
|
|
|
9072
9082
|
200: browserConnectionResponseSchema,
|
|
9073
9083
|
...commonErrorResponses
|
|
9074
9084
|
},
|
|
9075
|
-
summary: "
|
|
9085
|
+
summary: "Compatibility alias of use for CLI versions that predate zero browser use"
|
|
9086
|
+
},
|
|
9087
|
+
lease: {
|
|
9088
|
+
method: "POST",
|
|
9089
|
+
path: "/api/zero/browsers/lease",
|
|
9090
|
+
headers: authHeadersSchema,
|
|
9091
|
+
body: external_exports.object({}),
|
|
9092
|
+
responses: {
|
|
9093
|
+
200: browserResponseSchema,
|
|
9094
|
+
...commonErrorResponses
|
|
9095
|
+
},
|
|
9096
|
+
summary: "Extend the idle lease of the current chat thread's live browser"
|
|
9097
|
+
},
|
|
9098
|
+
leaseById: {
|
|
9099
|
+
method: "POST",
|
|
9100
|
+
path: "/api/zero/browsers/:browserId/lease",
|
|
9101
|
+
headers: authHeadersSchema,
|
|
9102
|
+
pathParams: browserIdParamsSchema,
|
|
9103
|
+
body: external_exports.object({}),
|
|
9104
|
+
responses: {
|
|
9105
|
+
200: browserResponseSchema,
|
|
9106
|
+
...commonErrorResponses
|
|
9107
|
+
},
|
|
9108
|
+
summary: "Extend the idle lease of a live browser from its viewer"
|
|
9109
|
+
},
|
|
9110
|
+
resumeById: {
|
|
9111
|
+
method: "POST",
|
|
9112
|
+
path: "/api/zero/browsers/:browserId/resume",
|
|
9113
|
+
headers: authHeadersSchema,
|
|
9114
|
+
pathParams: browserIdParamsSchema,
|
|
9115
|
+
body: external_exports.object({}),
|
|
9116
|
+
responses: {
|
|
9117
|
+
200: browserResponseSchema,
|
|
9118
|
+
...commonErrorResponses
|
|
9119
|
+
},
|
|
9120
|
+
summary: "Resume a suspended browser from its viewer and start billing it"
|
|
9076
9121
|
},
|
|
9077
9122
|
current: {
|
|
9078
9123
|
method: "GET",
|
|
@@ -9110,15 +9155,25 @@ async function createZeroBrowser(body) {
|
|
|
9110
9155
|
}
|
|
9111
9156
|
handleError(result, "Failed to create a new managed browser");
|
|
9112
9157
|
}
|
|
9113
|
-
async function
|
|
9114
|
-
const result = await (await client()).
|
|
9158
|
+
async function useZeroBrowser() {
|
|
9159
|
+
const result = await (await client()).use({
|
|
9115
9160
|
headers: {},
|
|
9116
9161
|
body: {}
|
|
9117
9162
|
});
|
|
9118
9163
|
if (result.status === 200) {
|
|
9119
9164
|
return result.body;
|
|
9120
9165
|
}
|
|
9121
|
-
handleError(result, "Failed to
|
|
9166
|
+
handleError(result, "Failed to open the managed browser");
|
|
9167
|
+
}
|
|
9168
|
+
async function leaseZeroBrowser() {
|
|
9169
|
+
const result = await (await client()).lease({
|
|
9170
|
+
headers: {},
|
|
9171
|
+
body: {}
|
|
9172
|
+
});
|
|
9173
|
+
if (result.status === 200) {
|
|
9174
|
+
return result.body.browser;
|
|
9175
|
+
}
|
|
9176
|
+
handleError(result, "Failed to extend the managed browser lease");
|
|
9122
9177
|
}
|
|
9123
9178
|
async function getCurrentZeroBrowser() {
|
|
9124
9179
|
const result = await (await client()).current({ headers: {} });
|
|
@@ -9135,10 +9190,6 @@ function authenticatedJsonHeaders(token) {
|
|
|
9135
9190
|
Authorization: `Bearer ${token}`,
|
|
9136
9191
|
"Content-Type": "application/json"
|
|
9137
9192
|
};
|
|
9138
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
9139
|
-
if (bypassSecret) {
|
|
9140
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
9141
|
-
}
|
|
9142
9193
|
return headers;
|
|
9143
9194
|
}
|
|
9144
9195
|
function isRecord2(value) {
|
|
@@ -9192,10 +9243,6 @@ function authenticatedJsonHeaders2(token) {
|
|
|
9192
9243
|
Authorization: `Bearer ${token}`,
|
|
9193
9244
|
"Content-Type": "application/json"
|
|
9194
9245
|
};
|
|
9195
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
9196
|
-
if (bypassSecret) {
|
|
9197
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
9198
|
-
}
|
|
9199
9246
|
return headers;
|
|
9200
9247
|
}
|
|
9201
9248
|
function isRecord3(value) {
|
|
@@ -9660,10 +9707,6 @@ function authenticatedJsonHeaders3(token) {
|
|
|
9660
9707
|
Authorization: `Bearer ${token}`,
|
|
9661
9708
|
"Content-Type": "application/json"
|
|
9662
9709
|
};
|
|
9663
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
9664
|
-
if (bypassSecret) {
|
|
9665
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
9666
|
-
}
|
|
9667
9710
|
return headers;
|
|
9668
9711
|
}
|
|
9669
9712
|
function isRecord4(value) {
|
|
@@ -12345,10 +12388,6 @@ async function downloadSlackFile(fileId, outPath) {
|
|
|
12345
12388
|
const headers = {
|
|
12346
12389
|
Authorization: `Bearer ${token}`
|
|
12347
12390
|
};
|
|
12348
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
12349
|
-
if (bypassSecret) {
|
|
12350
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
12351
|
-
}
|
|
12352
12391
|
const response = await fetch(url, {
|
|
12353
12392
|
headers: headersWithCliClientHeaders(headers)
|
|
12354
12393
|
});
|
|
@@ -12433,10 +12472,6 @@ async function downloadTelegramFile(fileId, botId, outPath) {
|
|
|
12433
12472
|
const headers = {
|
|
12434
12473
|
Authorization: `Bearer ${token}`
|
|
12435
12474
|
};
|
|
12436
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
12437
|
-
if (bypassSecret) {
|
|
12438
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
12439
|
-
}
|
|
12440
12475
|
const response = await fetch(url, {
|
|
12441
12476
|
headers: headersWithCliClientHeaders(headers)
|
|
12442
12477
|
});
|
|
@@ -12511,10 +12546,6 @@ async function downloadTeamsFile(fileId, outPath) {
|
|
|
12511
12546
|
const headers = {
|
|
12512
12547
|
Authorization: `Bearer ${token}`
|
|
12513
12548
|
};
|
|
12514
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
12515
|
-
if (bypassSecret) {
|
|
12516
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
12517
|
-
}
|
|
12518
12549
|
const response = await fetch(url, {
|
|
12519
12550
|
headers: headersWithCliClientHeaders(headers)
|
|
12520
12551
|
});
|
|
@@ -12594,10 +12625,6 @@ async function downloadFeishuFile(messageId, fileKey, resourceType, installation
|
|
|
12594
12625
|
const headers = {
|
|
12595
12626
|
Authorization: `Bearer ${token}`
|
|
12596
12627
|
};
|
|
12597
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
12598
|
-
if (bypassSecret) {
|
|
12599
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
12600
|
-
}
|
|
12601
12628
|
const response = await fetch(url, {
|
|
12602
12629
|
headers: headersWithCliClientHeaders(headers)
|
|
12603
12630
|
});
|
|
@@ -12670,10 +12697,6 @@ async function downloadGithubFile(fileUrl, outPath, filename) {
|
|
|
12670
12697
|
const headers = {
|
|
12671
12698
|
Authorization: `Bearer ${token}`
|
|
12672
12699
|
};
|
|
12673
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
12674
|
-
if (bypassSecret) {
|
|
12675
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
12676
|
-
}
|
|
12677
12700
|
const response = await fetch(url, {
|
|
12678
12701
|
headers: headersWithCliClientHeaders(headers)
|
|
12679
12702
|
});
|
|
@@ -12748,10 +12771,6 @@ async function downloadPhoneFile(fileId, outPath) {
|
|
|
12748
12771
|
const headers = {
|
|
12749
12772
|
Authorization: `Bearer ${token}`
|
|
12750
12773
|
};
|
|
12751
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
12752
|
-
if (bypassSecret) {
|
|
12753
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
12754
|
-
}
|
|
12755
12774
|
const response = await fetch(url, {
|
|
12756
12775
|
headers: headersWithCliClientHeaders(headers)
|
|
12757
12776
|
});
|
|
@@ -12827,10 +12846,6 @@ function authHeaders(token, options = {}) {
|
|
|
12827
12846
|
if (options.json) {
|
|
12828
12847
|
headers["Content-Type"] = "application/json";
|
|
12829
12848
|
}
|
|
12830
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
12831
|
-
if (bypassSecret) {
|
|
12832
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
12833
|
-
}
|
|
12834
12849
|
return headers;
|
|
12835
12850
|
}
|
|
12836
12851
|
async function parseErrorBody4(response, fallback) {
|
|
@@ -13067,13 +13082,13 @@ export {
|
|
|
13067
13082
|
createComputerUseAuthorizationRequest,
|
|
13068
13083
|
fetchComputerUseScreenshot,
|
|
13069
13084
|
fetchComputerUsePluginContent,
|
|
13070
|
-
|
|
13071
|
-
ZERO_BROWSER_MAX_TIMEOUT_MINUTES,
|
|
13085
|
+
ZERO_BROWSER_IDLE_LEASE_MINUTES,
|
|
13072
13086
|
ZERO_BROWSER_DEFAULT_MAX_CREDITS,
|
|
13073
13087
|
ZERO_BROWSER_MAX_CREDITS,
|
|
13074
13088
|
zeroBrowserCreateRequestSchema,
|
|
13075
13089
|
createZeroBrowser,
|
|
13076
|
-
|
|
13090
|
+
useZeroBrowser,
|
|
13091
|
+
leaseZeroBrowser,
|
|
13077
13092
|
getCurrentZeroBrowser,
|
|
13078
13093
|
callZeroMaps,
|
|
13079
13094
|
callZeroWeather,
|
|
@@ -13109,4 +13124,4 @@ export {
|
|
|
13109
13124
|
getHostedSiteFiles,
|
|
13110
13125
|
getHostedSiteDeployments
|
|
13111
13126
|
};
|
|
13112
|
-
//# sourceMappingURL=chunk-
|
|
13127
|
+
//# sourceMappingURL=chunk-DIK5B4ZQ.js.map
|