@vm0/cli 9.131.1 → 9.131.2
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-BS3XRRR3.js → chunk-A7EYNH3B.js} +9 -107
- package/{chunk-BS3XRRR3.js.map → chunk-A7EYNH3B.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +2 -118
- package/zero.js.map +1 -1
|
@@ -73642,7 +73642,7 @@ if (DSN) {
|
|
|
73642
73642
|
init2({
|
|
73643
73643
|
dsn: DSN,
|
|
73644
73644
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
73645
|
-
release: "9.131.
|
|
73645
|
+
release: "9.131.2",
|
|
73646
73646
|
sendDefaultPii: false,
|
|
73647
73647
|
tracesSampleRate: 0,
|
|
73648
73648
|
shutdownTimeout: 500,
|
|
@@ -73661,7 +73661,7 @@ if (DSN) {
|
|
|
73661
73661
|
}
|
|
73662
73662
|
});
|
|
73663
73663
|
setContext("cli", {
|
|
73664
|
-
version: "9.131.
|
|
73664
|
+
version: "9.131.2",
|
|
73665
73665
|
command: process.argv.slice(2).join(" ")
|
|
73666
73666
|
});
|
|
73667
73667
|
setContext("runtime", {
|
|
@@ -110862,13 +110862,7 @@ var unifiedRunRequestSchema = external_exports.object({
|
|
|
110862
110862
|
agentComposeId: external_exports.string().optional(),
|
|
110863
110863
|
agentComposeVersionId: external_exports.string().optional(),
|
|
110864
110864
|
conversationId: external_exports.string().optional(),
|
|
110865
|
-
//
|
|
110866
|
-
// compat window. The POST /api/agent/runs handler rewrites them into the
|
|
110867
|
-
// new `artifacts` array before dispatch — prefer `artifacts` in new code.
|
|
110868
|
-
artifactName: external_exports.string().optional(),
|
|
110869
|
-
artifactVersion: external_exports.string().optional(),
|
|
110870
|
-
// Multi-mount artifacts, each with its own mountPath. When provided, the
|
|
110871
|
-
// server ignores artifactName/artifactVersion.
|
|
110865
|
+
// Multi-mount artifacts, each with its own mountPath.
|
|
110872
110866
|
artifacts: external_exports.array(
|
|
110873
110867
|
external_exports.object({
|
|
110874
110868
|
name: external_exports.string(),
|
|
@@ -110905,7 +110899,7 @@ var unifiedRunRequestSchema = external_exports.object({
|
|
|
110905
110899
|
triggerSource: triggerSourceSchema.optional(),
|
|
110906
110900
|
// Per-permission policies (e.g., { "github": { "actions:read": "allow" } })
|
|
110907
110901
|
permissionPolicies: firewallPoliciesSchema.optional()
|
|
110908
|
-
}).
|
|
110902
|
+
}).strict();
|
|
110909
110903
|
var createRunResponseSchema = external_exports.object({
|
|
110910
110904
|
runId: external_exports.string(),
|
|
110911
110905
|
status: runStatusSchema,
|
|
@@ -111599,10 +111593,6 @@ var agentEventSchema = external_exports.object({
|
|
|
111599
111593
|
type: external_exports.string(),
|
|
111600
111594
|
sequenceNumber: external_exports.number().int().nonnegative()
|
|
111601
111595
|
}).passthrough();
|
|
111602
|
-
var artifactSnapshotSchema = external_exports.object({
|
|
111603
|
-
artifactName: external_exports.string(),
|
|
111604
|
-
artifactVersion: external_exports.string()
|
|
111605
|
-
});
|
|
111606
111596
|
var volumeVersionsSnapshotSchema = external_exports.object({
|
|
111607
111597
|
versions: external_exports.record(external_exports.string(), external_exports.string())
|
|
111608
111598
|
});
|
|
@@ -111686,15 +111676,11 @@ var webhookCheckpointsContract = c6.router({
|
|
|
111686
111676
|
64,
|
|
111687
111677
|
"cliAgentSessionHistoryHash must be a 64-character SHA-256 hex string"
|
|
111688
111678
|
),
|
|
111689
|
-
//
|
|
111690
|
-
//
|
|
111691
|
-
// server folds it into artifactSnapshots before persisting.
|
|
111692
|
-
artifactSnapshot: artifactSnapshotSchema.optional(),
|
|
111693
|
-
// Multi-artifact snapshot map: artifact name → version id. Authoritative
|
|
111694
|
-
// payload persisted to checkpoints.artifact_snapshots.
|
|
111679
|
+
// Multi-artifact snapshot map: artifact name → version id.
|
|
111680
|
+
// Authoritative payload persisted to checkpoints.artifact_snapshots.
|
|
111695
111681
|
artifactSnapshots: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
111696
111682
|
volumeVersionsSnapshot: volumeVersionsSnapshotSchema.optional()
|
|
111697
|
-
}),
|
|
111683
|
+
}).strict(),
|
|
111698
111684
|
responses: {
|
|
111699
111685
|
200: external_exports.object({
|
|
111700
111686
|
checkpointId: external_exports.string(),
|
|
@@ -114699,8 +114685,6 @@ var zeroComposesListContract = c25.router({
|
|
|
114699
114685
|
init_esm_shims();
|
|
114700
114686
|
var zeroRunRequestSchema = unifiedRunRequestSchema.omit({
|
|
114701
114687
|
triggerSource: true,
|
|
114702
|
-
artifactName: true,
|
|
114703
|
-
artifactVersion: true,
|
|
114704
114688
|
artifacts: true,
|
|
114705
114689
|
disallowedTools: true,
|
|
114706
114690
|
volumeVersions: true,
|
|
@@ -116894,14 +116878,7 @@ var zeroVoiceChatTasksContract = c53.router({
|
|
|
116894
116878
|
// ../../packages/core/src/contracts/tasks.ts
|
|
116895
116879
|
init_esm_shims();
|
|
116896
116880
|
var c54 = initContract();
|
|
116897
|
-
var taskTypeSchema = external_exports.enum([
|
|
116898
|
-
"chat",
|
|
116899
|
-
"schedule",
|
|
116900
|
-
"slack",
|
|
116901
|
-
"email",
|
|
116902
|
-
"voice_chat",
|
|
116903
|
-
"agent"
|
|
116904
|
-
]);
|
|
116881
|
+
var taskTypeSchema = external_exports.enum(["chat", "schedule", "slack", "email", "agent"]);
|
|
116905
116882
|
var taskAgentSchema = external_exports.object({
|
|
116906
116883
|
id: external_exports.string(),
|
|
116907
116884
|
name: external_exports.string(),
|
|
@@ -116920,7 +116897,6 @@ var taskItemSchema = external_exports.object({
|
|
|
116920
116897
|
scheduleId: external_exports.string().optional(),
|
|
116921
116898
|
slackThreadSessionId: external_exports.string().optional(),
|
|
116922
116899
|
emailThreadSessionId: external_exports.string().optional(),
|
|
116923
|
-
voiceChatSessionId: external_exports.string().optional(),
|
|
116924
116900
|
agentRunId: external_exports.string().optional(),
|
|
116925
116901
|
createdAt: external_exports.string(),
|
|
116926
116902
|
updatedAt: external_exports.string()
|
|
@@ -118795,75 +118771,6 @@ async function getPhoneCallDetail(callId) {
|
|
|
118795
118771
|
);
|
|
118796
118772
|
}
|
|
118797
118773
|
|
|
118798
|
-
// src/lib/api/domains/zero-voice-chat-context.ts
|
|
118799
|
-
init_esm_shims();
|
|
118800
|
-
async function getVoiceChatContextEvents(sessionId, after) {
|
|
118801
|
-
const config4 = await getClientConfig();
|
|
118802
|
-
const client = initClient(zeroVoiceChatContextContract, config4);
|
|
118803
|
-
const result = await client.getEvents({
|
|
118804
|
-
params: { id: sessionId },
|
|
118805
|
-
query: { after },
|
|
118806
|
-
headers: {}
|
|
118807
|
-
});
|
|
118808
|
-
if (result.status === 200) {
|
|
118809
|
-
return result.body;
|
|
118810
|
-
}
|
|
118811
|
-
handleError(result, "Failed to get voice-chat context events");
|
|
118812
|
-
}
|
|
118813
|
-
async function appendVoiceChatContextEvent(sessionId, body) {
|
|
118814
|
-
const config4 = await getClientConfig();
|
|
118815
|
-
const client = initClient(zeroVoiceChatContextContract, config4);
|
|
118816
|
-
const result = await client.appendEvent({
|
|
118817
|
-
params: { id: sessionId },
|
|
118818
|
-
body,
|
|
118819
|
-
headers: {}
|
|
118820
|
-
});
|
|
118821
|
-
if (result.status === 200) {
|
|
118822
|
-
return result.body.event;
|
|
118823
|
-
}
|
|
118824
|
-
handleError(result, "Failed to append voice-chat context event");
|
|
118825
|
-
}
|
|
118826
|
-
|
|
118827
|
-
// src/lib/api/domains/zero-voice-chat-tasks.ts
|
|
118828
|
-
init_esm_shims();
|
|
118829
|
-
async function createVoiceChatTask(sessionId, body) {
|
|
118830
|
-
const config4 = await getClientConfig();
|
|
118831
|
-
const client = initClient(zeroVoiceChatTasksContract, config4);
|
|
118832
|
-
const result = await client.createTask({
|
|
118833
|
-
params: { id: sessionId },
|
|
118834
|
-
body,
|
|
118835
|
-
headers: {}
|
|
118836
|
-
});
|
|
118837
|
-
if (result.status === 200) {
|
|
118838
|
-
return result.body.task;
|
|
118839
|
-
}
|
|
118840
|
-
handleError(result, "Failed to create voice-chat task");
|
|
118841
|
-
}
|
|
118842
|
-
async function getVoiceChatTask(sessionId, taskId) {
|
|
118843
|
-
const config4 = await getClientConfig();
|
|
118844
|
-
const client = initClient(zeroVoiceChatTasksContract, config4);
|
|
118845
|
-
const result = await client.getTask({
|
|
118846
|
-
params: { id: sessionId, taskId },
|
|
118847
|
-
headers: {}
|
|
118848
|
-
});
|
|
118849
|
-
if (result.status === 200) {
|
|
118850
|
-
return result.body.task;
|
|
118851
|
-
}
|
|
118852
|
-
handleError(result, "Failed to get voice-chat task");
|
|
118853
|
-
}
|
|
118854
|
-
async function listVoiceChatTasks(sessionId) {
|
|
118855
|
-
const config4 = await getClientConfig();
|
|
118856
|
-
const client = initClient(zeroVoiceChatTasksContract, config4);
|
|
118857
|
-
const result = await client.listTasks({
|
|
118858
|
-
params: { id: sessionId },
|
|
118859
|
-
headers: {}
|
|
118860
|
-
});
|
|
118861
|
-
if (result.status === 200) {
|
|
118862
|
-
return result.body.tasks;
|
|
118863
|
-
}
|
|
118864
|
-
handleError(result, "Failed to list voice-chat tasks");
|
|
118865
|
-
}
|
|
118866
|
-
|
|
118867
118774
|
// src/lib/api/domains/web.ts
|
|
118868
118775
|
init_esm_shims();
|
|
118869
118776
|
import { createWriteStream as createWriteStream2, readFileSync as readFileSync3, statSync } from "fs";
|
|
@@ -120132,11 +120039,6 @@ export {
|
|
|
120132
120039
|
createPhoneCall,
|
|
120133
120040
|
listPhoneCalls,
|
|
120134
120041
|
getPhoneCallDetail,
|
|
120135
|
-
getVoiceChatContextEvents,
|
|
120136
|
-
appendVoiceChatContextEvent,
|
|
120137
|
-
createVoiceChatTask,
|
|
120138
|
-
getVoiceChatTask,
|
|
120139
|
-
listVoiceChatTasks,
|
|
120140
120042
|
downloadWebFile,
|
|
120141
120043
|
uploadWebFile,
|
|
120142
120044
|
require_prompts3 as require_prompts,
|
|
@@ -120172,4 +120074,4 @@ undici/lib/web/fetch/body.js:
|
|
|
120172
120074
|
undici/lib/web/websocket/frame.js:
|
|
120173
120075
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
120174
120076
|
*/
|
|
120175
|
-
//# sourceMappingURL=chunk-
|
|
120077
|
+
//# sourceMappingURL=chunk-A7EYNH3B.js.map
|