@vm0/cli 9.129.2 → 9.130.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/{chunk-F23UIP5L.js → chunk-V5JAHNBR.js} +32 -23
- package/{chunk-F23UIP5L.js.map → chunk-V5JAHNBR.js.map} +1 -1
- package/index.js +56 -37
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +164 -5
- 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.
|
|
73645
|
+
release: "9.130.0",
|
|
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.
|
|
73664
|
+
version: "9.130.0",
|
|
73665
73665
|
command: process.argv.slice(2).join(" ")
|
|
73666
73666
|
});
|
|
73667
73667
|
setContext("runtime", {
|
|
@@ -116616,6 +116616,8 @@ var voiceChatCandidateTaskSchema = external_exports.object({
|
|
|
116616
116616
|
callId: external_exports.string(),
|
|
116617
116617
|
prompt: external_exports.string(),
|
|
116618
116618
|
status: voiceChatCandidateTaskStatusSchema,
|
|
116619
|
+
result: external_exports.string().nullable(),
|
|
116620
|
+
resultUpdatedAt: external_exports.string().nullable(),
|
|
116619
116621
|
assistantMessages: external_exports.array(voiceChatCandidateTaskResultEntrySchema),
|
|
116620
116622
|
error: external_exports.string().nullable(),
|
|
116621
116623
|
createdAt: external_exports.string(),
|
|
@@ -116737,6 +116739,19 @@ var zeroVoiceChatCandidateContract = c52.router({
|
|
|
116737
116739
|
},
|
|
116738
116740
|
summary: "Keep a voice-chat-candidate session alive"
|
|
116739
116741
|
},
|
|
116742
|
+
triggerReasoning: {
|
|
116743
|
+
method: "POST",
|
|
116744
|
+
path: "/api/zero/voice-chat-candidate/:id/trigger-reasoning",
|
|
116745
|
+
headers: authHeadersSchema,
|
|
116746
|
+
pathParams: external_exports.object({ id: external_exports.uuid() }),
|
|
116747
|
+
body: external_exports.object({}),
|
|
116748
|
+
responses: {
|
|
116749
|
+
200: okResponseSchema2,
|
|
116750
|
+
401: apiErrorSchema,
|
|
116751
|
+
404: apiErrorSchema
|
|
116752
|
+
},
|
|
116753
|
+
summary: "Queue a reasoner tick for a voice-chat-candidate session (respects CAS lock and debounce)"
|
|
116754
|
+
},
|
|
116740
116755
|
appendItem: {
|
|
116741
116756
|
method: "POST",
|
|
116742
116757
|
path: "/api/zero/voice-chat-candidate/:id/items",
|
|
@@ -119702,21 +119717,23 @@ function collectVolumeVersions(value, previous) {
|
|
|
119702
119717
|
}
|
|
119703
119718
|
return { ...previous, [volumeName]: version2 };
|
|
119704
119719
|
}
|
|
119705
|
-
function
|
|
119720
|
+
function parseMount(value, flagLabel) {
|
|
119706
119721
|
const parts = value.split(":");
|
|
119707
119722
|
if (parts.length < 2 || parts.length > 3) {
|
|
119708
119723
|
throw new Error(
|
|
119709
|
-
`Invalid
|
|
119724
|
+
`Invalid ${flagLabel} format: ${value} (expected name:/path or name:version:/path)`
|
|
119710
119725
|
);
|
|
119711
119726
|
}
|
|
119712
119727
|
const name = parts[0];
|
|
119713
119728
|
const mountPath = parts.length === 3 ? parts[2] : parts[1];
|
|
119714
119729
|
if (!name) {
|
|
119715
|
-
throw new Error(
|
|
119730
|
+
throw new Error(
|
|
119731
|
+
`Invalid ${flagLabel} format: ${value} (name cannot be empty)`
|
|
119732
|
+
);
|
|
119716
119733
|
}
|
|
119717
119734
|
if (!mountPath.startsWith("/")) {
|
|
119718
119735
|
throw new Error(
|
|
119719
|
-
`Invalid
|
|
119736
|
+
`Invalid ${flagLabel} mount path: ${mountPath} (must start with /)`
|
|
119720
119737
|
);
|
|
119721
119738
|
}
|
|
119722
119739
|
if (parts.length === 2) {
|
|
@@ -119725,13 +119742,16 @@ function parseVolume(value) {
|
|
|
119725
119742
|
const version2 = parts[1];
|
|
119726
119743
|
if (!version2) {
|
|
119727
119744
|
throw new Error(
|
|
119728
|
-
`Invalid
|
|
119745
|
+
`Invalid ${flagLabel} format: ${value} (version cannot be empty)`
|
|
119729
119746
|
);
|
|
119730
119747
|
}
|
|
119731
119748
|
return { name, version: version2, mountPath };
|
|
119732
119749
|
}
|
|
119733
|
-
function
|
|
119734
|
-
return [...previous,
|
|
119750
|
+
function collectMounts(value, previous) {
|
|
119751
|
+
return [...previous, parseMount(value, "volume")];
|
|
119752
|
+
}
|
|
119753
|
+
function collectArtifacts(value, previous) {
|
|
119754
|
+
return [...previous, parseMount(value, "artifact")];
|
|
119735
119755
|
}
|
|
119736
119756
|
function parsePermissionPolicies(json2) {
|
|
119737
119757
|
if (!json2) return void 0;
|
|
@@ -119813,17 +119833,6 @@ function parseIdentifier(identifier) {
|
|
|
119813
119833
|
}
|
|
119814
119834
|
return { name: identifier };
|
|
119815
119835
|
}
|
|
119816
|
-
function parseArtifact(value) {
|
|
119817
|
-
if (!value) return void 0;
|
|
119818
|
-
const colonIndex = value.indexOf(":");
|
|
119819
|
-
if (colonIndex > 0 && colonIndex < value.length - 1) {
|
|
119820
|
-
return {
|
|
119821
|
-
artifactName: value.slice(0, colonIndex),
|
|
119822
|
-
artifactVersion: value.slice(colonIndex + 1)
|
|
119823
|
-
};
|
|
119824
|
-
}
|
|
119825
|
-
return { artifactName: value };
|
|
119826
|
-
}
|
|
119827
119836
|
function renderRunCreated(response) {
|
|
119828
119837
|
if (response.status === "queued") {
|
|
119829
119838
|
console.log(source_default.yellow("\u26A0 Run queued \u2014 concurrency limit reached"));
|
|
@@ -120138,14 +120147,14 @@ export {
|
|
|
120138
120147
|
EventRenderer,
|
|
120139
120148
|
collectKeyValue,
|
|
120140
120149
|
collectVolumeVersions,
|
|
120141
|
-
|
|
120150
|
+
collectMounts,
|
|
120151
|
+
collectArtifacts,
|
|
120142
120152
|
parsePermissionPolicies,
|
|
120143
120153
|
isUUID,
|
|
120144
120154
|
extractVarNames,
|
|
120145
120155
|
extractSecretNames,
|
|
120146
120156
|
loadValues,
|
|
120147
120157
|
parseIdentifier,
|
|
120148
|
-
parseArtifact,
|
|
120149
120158
|
renderRunCreated,
|
|
120150
120159
|
pollEvents,
|
|
120151
120160
|
showNextSteps,
|
|
@@ -120160,4 +120169,4 @@ undici/lib/web/fetch/body.js:
|
|
|
120160
120169
|
undici/lib/web/websocket/frame.js:
|
|
120161
120170
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
120162
120171
|
*/
|
|
120163
|
-
//# sourceMappingURL=chunk-
|
|
120172
|
+
//# sourceMappingURL=chunk-V5JAHNBR.js.map
|