@vm0/cli 9.132.0 → 9.132.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-3OOH3FG4.js → chunk-ZKOPXRWA.js} +43 -96
- package/chunk-ZKOPXRWA.js.map +1 -0
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +24 -219
- package/zero.js.map +1 -1
- package/chunk-3OOH3FG4.js.map +0 -1
|
@@ -66268,7 +66268,7 @@ if (DSN) {
|
|
|
66268
66268
|
init2({
|
|
66269
66269
|
dsn: DSN,
|
|
66270
66270
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
66271
|
-
release: "9.132.
|
|
66271
|
+
release: "9.132.1",
|
|
66272
66272
|
sendDefaultPii: false,
|
|
66273
66273
|
tracesSampleRate: 0,
|
|
66274
66274
|
shutdownTimeout: 500,
|
|
@@ -66287,7 +66287,7 @@ if (DSN) {
|
|
|
66287
66287
|
}
|
|
66288
66288
|
});
|
|
66289
66289
|
setContext("cli", {
|
|
66290
|
-
version: "9.132.
|
|
66290
|
+
version: "9.132.1",
|
|
66291
66291
|
command: process.argv.slice(2).join(" ")
|
|
66292
66292
|
});
|
|
66293
66293
|
setContext("runtime", {
|
|
@@ -86647,32 +86647,6 @@ var agentmail = {
|
|
|
86647
86647
|
}
|
|
86648
86648
|
};
|
|
86649
86649
|
|
|
86650
|
-
// ../../packages/core/src/contracts/connectors/agentphone.ts
|
|
86651
|
-
init_esm_shims();
|
|
86652
|
-
var agentphone = {
|
|
86653
|
-
agentphone: {
|
|
86654
|
-
label: "AgentPhone",
|
|
86655
|
-
environmentMapping: {
|
|
86656
|
-
AGENTPHONE_TOKEN: "$secrets.AGENTPHONE_TOKEN"
|
|
86657
|
-
},
|
|
86658
|
-
helpText: "Connect your AgentPhone account to make and receive phone calls, send SMS, manage phone numbers, and build voice AI agents",
|
|
86659
|
-
authMethods: {
|
|
86660
|
-
"api-token": {
|
|
86661
|
-
label: "API Key",
|
|
86662
|
-
helpText: "1. Sign up at [agentphone.to](https://agentphone.to)\n2. Go to **Dashboard > API Keys**\n3. Create a new API key and copy it (starts with `sk_live_`)",
|
|
86663
|
-
secrets: {
|
|
86664
|
-
AGENTPHONE_TOKEN: {
|
|
86665
|
-
label: "API Key",
|
|
86666
|
-
required: true,
|
|
86667
|
-
placeholder: "sk_live_..."
|
|
86668
|
-
}
|
|
86669
|
-
}
|
|
86670
|
-
}
|
|
86671
|
-
},
|
|
86672
|
-
defaultAuthMethod: "api-token"
|
|
86673
|
-
}
|
|
86674
|
-
};
|
|
86675
|
-
|
|
86676
86650
|
// ../../packages/core/src/contracts/connectors/airtable.ts
|
|
86677
86651
|
init_esm_shims();
|
|
86678
86652
|
var airtable = {
|
|
@@ -90067,6 +90041,32 @@ var browserbase = {
|
|
|
90067
90041
|
}
|
|
90068
90042
|
};
|
|
90069
90043
|
|
|
90044
|
+
// ../../packages/core/src/contracts/connectors/browser-use.ts
|
|
90045
|
+
init_esm_shims();
|
|
90046
|
+
var browserUse = {
|
|
90047
|
+
"browser-use": {
|
|
90048
|
+
label: "Browser Use",
|
|
90049
|
+
environmentMapping: {
|
|
90050
|
+
BROWSER_USE_TOKEN: "$secrets.BROWSER_USE_TOKEN"
|
|
90051
|
+
},
|
|
90052
|
+
helpText: "Connect Browser Use to run AI-powered browser automation tasks \u2014 submit natural-language prompts and let agents complete web tasks in hosted browsers",
|
|
90053
|
+
authMethods: {
|
|
90054
|
+
"api-token": {
|
|
90055
|
+
label: "API Key",
|
|
90056
|
+
helpText: "1. Sign in at [cloud.browser-use.com](https://cloud.browser-use.com)\n2. Go to **Settings \u2192 API Keys**\n3. Click **Create new key**\n4. Copy the generated API key",
|
|
90057
|
+
secrets: {
|
|
90058
|
+
BROWSER_USE_TOKEN: {
|
|
90059
|
+
label: "API Key",
|
|
90060
|
+
required: true,
|
|
90061
|
+
placeholder: "bu_CoffeeSafeLocalCoffeeSafeLocalCoffee"
|
|
90062
|
+
}
|
|
90063
|
+
}
|
|
90064
|
+
}
|
|
90065
|
+
},
|
|
90066
|
+
defaultAuthMethod: "api-token"
|
|
90067
|
+
}
|
|
90068
|
+
};
|
|
90069
|
+
|
|
90070
90070
|
// ../../packages/core/src/contracts/connectors/browserless.ts
|
|
90071
90071
|
init_esm_shims();
|
|
90072
90072
|
var browserless = {
|
|
@@ -92066,7 +92066,6 @@ var CONNECTOR_TYPES_DEF = {
|
|
|
92066
92066
|
...axiom,
|
|
92067
92067
|
...ahrefs,
|
|
92068
92068
|
...agentmail,
|
|
92069
|
-
...agentphone,
|
|
92070
92069
|
...airtable,
|
|
92071
92070
|
...anthropicManagedAgents,
|
|
92072
92071
|
...github,
|
|
@@ -92168,6 +92167,7 @@ var CONNECTOR_TYPES_DEF = {
|
|
|
92168
92167
|
...braveSearch,
|
|
92169
92168
|
...brightData,
|
|
92170
92169
|
...browserbase,
|
|
92170
|
+
...browserUse,
|
|
92171
92171
|
...browserless,
|
|
92172
92172
|
...fireflies,
|
|
92173
92173
|
...firecrawl,
|
|
@@ -92529,8 +92529,6 @@ var triggerSourceSchema = external_exports.enum([
|
|
|
92529
92529
|
"github",
|
|
92530
92530
|
"cli",
|
|
92531
92531
|
"agent",
|
|
92532
|
-
"phone",
|
|
92533
|
-
"imessage",
|
|
92534
92532
|
"voice-chat"
|
|
92535
92533
|
]);
|
|
92536
92534
|
var logEntrySchema = external_exports.object({
|
|
@@ -93515,16 +93513,13 @@ var agentEventSchema = external_exports.object({
|
|
|
93515
93513
|
type: external_exports.string(),
|
|
93516
93514
|
sequenceNumber: external_exports.number().int().nonnegative()
|
|
93517
93515
|
}).passthrough();
|
|
93518
|
-
var artifactSnapshotsSchema = external_exports.
|
|
93519
|
-
external_exports.
|
|
93520
|
-
|
|
93521
|
-
external_exports.
|
|
93522
|
-
|
|
93523
|
-
|
|
93524
|
-
|
|
93525
|
-
})
|
|
93526
|
-
)
|
|
93527
|
-
]);
|
|
93516
|
+
var artifactSnapshotsSchema = external_exports.array(
|
|
93517
|
+
external_exports.object({
|
|
93518
|
+
name: external_exports.string(),
|
|
93519
|
+
version: external_exports.string(),
|
|
93520
|
+
mountPath: external_exports.string()
|
|
93521
|
+
})
|
|
93522
|
+
);
|
|
93528
93523
|
var volumeVersionsSnapshotSchema = external_exports.object({
|
|
93529
93524
|
versions: external_exports.record(external_exports.string(), external_exports.string())
|
|
93530
93525
|
});
|
|
@@ -93608,10 +93603,9 @@ var webhookCheckpointsContract = c11.router({
|
|
|
93608
93603
|
64,
|
|
93609
93604
|
"cliAgentSessionHistoryHash must be a 64-character SHA-256 hex string"
|
|
93610
93605
|
),
|
|
93611
|
-
// Multi-artifact snapshot payload.
|
|
93612
|
-
// `
|
|
93613
|
-
//
|
|
93614
|
-
// persisted verbatim to checkpoints.artifact_snapshots.
|
|
93606
|
+
// Multi-artifact snapshot payload. Canonical
|
|
93607
|
+
// `Array<{name, version, mountPath}>` form persisted verbatim to
|
|
93608
|
+
// checkpoints.artifact_snapshots.
|
|
93615
93609
|
artifactSnapshots: artifactSnapshotsSchema.optional(),
|
|
93616
93610
|
volumeVersionsSnapshot: volumeVersionsSnapshotSchema.optional()
|
|
93617
93611
|
}).strict(),
|
|
@@ -95019,11 +95013,13 @@ var chatThreadMessagesContract = c13.router({
|
|
|
95019
95013
|
pathParams: external_exports.object({ threadId: external_exports.string() }),
|
|
95020
95014
|
query: external_exports.object({
|
|
95021
95015
|
sinceId: external_exports.string().uuid().optional(),
|
|
95016
|
+
beforeId: external_exports.string().uuid().optional(),
|
|
95022
95017
|
limit: external_exports.coerce.number().min(1).max(50).default(50)
|
|
95023
95018
|
}),
|
|
95024
95019
|
responses: {
|
|
95025
95020
|
200: external_exports.object({
|
|
95026
|
-
messages: external_exports.array(pagedChatMessageSchema)
|
|
95021
|
+
messages: external_exports.array(pagedChatMessageSchema),
|
|
95022
|
+
hasMore: external_exports.boolean().optional()
|
|
95027
95023
|
}),
|
|
95028
95024
|
401: apiErrorSchema,
|
|
95029
95025
|
404: apiErrorSchema
|
|
@@ -96664,52 +96660,6 @@ async function getComputerUseHost() {
|
|
|
96664
96660
|
handleError(result, "Failed to get computer-use host");
|
|
96665
96661
|
}
|
|
96666
96662
|
|
|
96667
|
-
// src/lib/api/domains/phone-calls.ts
|
|
96668
|
-
init_esm_shims();
|
|
96669
|
-
async function fetchJson(path3, init3) {
|
|
96670
|
-
const config4 = await getClientConfig();
|
|
96671
|
-
const url2 = `${config4.baseUrl}${path3}`;
|
|
96672
|
-
const res = await fetch(url2, {
|
|
96673
|
-
...init3,
|
|
96674
|
-
headers: {
|
|
96675
|
-
...config4.baseHeaders,
|
|
96676
|
-
...init3?.body ? { "Content-Type": "application/json" } : {},
|
|
96677
|
-
...init3?.headers
|
|
96678
|
-
}
|
|
96679
|
-
});
|
|
96680
|
-
if (!res.ok) {
|
|
96681
|
-
const body = await res.json().catch(() => {
|
|
96682
|
-
return {};
|
|
96683
|
-
});
|
|
96684
|
-
throw new ApiRequestError(
|
|
96685
|
-
body.error ?? `Request failed with status ${res.status}`,
|
|
96686
|
-
"API_ERROR",
|
|
96687
|
-
res.status
|
|
96688
|
-
);
|
|
96689
|
-
}
|
|
96690
|
-
return await res.json();
|
|
96691
|
-
}
|
|
96692
|
-
async function createPhoneCall(body) {
|
|
96693
|
-
return fetchJson("/api/zero/phone-calls", {
|
|
96694
|
-
method: "POST",
|
|
96695
|
-
body: JSON.stringify(body)
|
|
96696
|
-
});
|
|
96697
|
-
}
|
|
96698
|
-
async function listPhoneCalls(query) {
|
|
96699
|
-
const params = new URLSearchParams();
|
|
96700
|
-
if (query?.limit) params.set("limit", String(query.limit));
|
|
96701
|
-
if (query?.offset) params.set("offset", String(query.offset));
|
|
96702
|
-
const qs = params.toString();
|
|
96703
|
-
return fetchJson(
|
|
96704
|
-
`/api/zero/phone-calls${qs ? `?${qs}` : ""}`
|
|
96705
|
-
);
|
|
96706
|
-
}
|
|
96707
|
-
async function getPhoneCallDetail(callId) {
|
|
96708
|
-
return fetchJson(
|
|
96709
|
-
`/api/zero/phone-calls/${encodeURIComponent(callId)}`
|
|
96710
|
-
);
|
|
96711
|
-
}
|
|
96712
|
-
|
|
96713
96663
|
// src/lib/api/domains/web.ts
|
|
96714
96664
|
init_esm_shims();
|
|
96715
96665
|
import { createWriteStream as createWriteStream2, readFileSync as readFileSync3, statSync } from "fs";
|
|
@@ -97998,9 +97948,6 @@ export {
|
|
|
97998
97948
|
registerComputerUseHost,
|
|
97999
97949
|
unregisterComputerUseHost,
|
|
98000
97950
|
getComputerUseHost,
|
|
98001
|
-
createPhoneCall,
|
|
98002
|
-
listPhoneCalls,
|
|
98003
|
-
getPhoneCallDetail,
|
|
98004
97951
|
downloadWebFile,
|
|
98005
97952
|
uploadWebFile,
|
|
98006
97953
|
getInstructionsFilename,
|
|
@@ -98037,4 +97984,4 @@ undici/lib/web/fetch/body.js:
|
|
|
98037
97984
|
undici/lib/web/websocket/frame.js:
|
|
98038
97985
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
98039
97986
|
*/
|
|
98040
|
-
//# sourceMappingURL=chunk-
|
|
97987
|
+
//# sourceMappingURL=chunk-ZKOPXRWA.js.map
|