@vm0/cli 9.129.2 → 9.131.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-65M57PU6.js} +43 -24
- package/{chunk-F23UIP5L.js.map → chunk-65M57PU6.js.map} +1 -1
- package/index.js +56 -37
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +241 -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.131.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.131.0",
|
|
73665
73665
|
command: process.argv.slice(2).join(" ")
|
|
73666
73666
|
});
|
|
73667
73667
|
setContext("runtime", {
|
|
@@ -115601,6 +115601,15 @@ var creditExpirySchema = external_exports.object({
|
|
|
115601
115601
|
expiringNextCycle: external_exports.number(),
|
|
115602
115602
|
nextExpiryDate: external_exports.string().nullable()
|
|
115603
115603
|
});
|
|
115604
|
+
var creditBreakdownSegmentSchema = external_exports.object({
|
|
115605
|
+
category: external_exports.enum(["plan", "free", "promotional", "payAsYouGo"]),
|
|
115606
|
+
label: external_exports.string(),
|
|
115607
|
+
credits: external_exports.number(),
|
|
115608
|
+
// Only set on `plan` segments. Lets the UI decide whether a segment
|
|
115609
|
+
// represents the current plan or leftover credits from a previous plan
|
|
115610
|
+
// without round-tripping through the `label` string.
|
|
115611
|
+
tier: external_exports.enum(["pro", "team"]).optional()
|
|
115612
|
+
});
|
|
115604
115613
|
var billingStatusResponseSchema = external_exports.object({
|
|
115605
115614
|
tier: external_exports.string(),
|
|
115606
115615
|
credits: external_exports.number(),
|
|
@@ -115609,7 +115618,8 @@ var billingStatusResponseSchema = external_exports.object({
|
|
|
115609
115618
|
cancelAtPeriodEnd: external_exports.boolean(),
|
|
115610
115619
|
hasSubscription: external_exports.boolean(),
|
|
115611
115620
|
autoRecharge: autoRechargeSchema,
|
|
115612
|
-
creditExpiry: creditExpirySchema
|
|
115621
|
+
creditExpiry: creditExpirySchema,
|
|
115622
|
+
creditBreakdown: external_exports.array(creditBreakdownSegmentSchema)
|
|
115613
115623
|
});
|
|
115614
115624
|
var checkoutResponseSchema = external_exports.object({
|
|
115615
115625
|
url: external_exports.string()
|
|
@@ -116616,6 +116626,8 @@ var voiceChatCandidateTaskSchema = external_exports.object({
|
|
|
116616
116626
|
callId: external_exports.string(),
|
|
116617
116627
|
prompt: external_exports.string(),
|
|
116618
116628
|
status: voiceChatCandidateTaskStatusSchema,
|
|
116629
|
+
result: external_exports.string().nullable(),
|
|
116630
|
+
resultUpdatedAt: external_exports.string().nullable(),
|
|
116619
116631
|
assistantMessages: external_exports.array(voiceChatCandidateTaskResultEntrySchema),
|
|
116620
116632
|
error: external_exports.string().nullable(),
|
|
116621
116633
|
createdAt: external_exports.string(),
|
|
@@ -116737,6 +116749,19 @@ var zeroVoiceChatCandidateContract = c52.router({
|
|
|
116737
116749
|
},
|
|
116738
116750
|
summary: "Keep a voice-chat-candidate session alive"
|
|
116739
116751
|
},
|
|
116752
|
+
triggerReasoning: {
|
|
116753
|
+
method: "POST",
|
|
116754
|
+
path: "/api/zero/voice-chat-candidate/:id/trigger-reasoning",
|
|
116755
|
+
headers: authHeadersSchema,
|
|
116756
|
+
pathParams: external_exports.object({ id: external_exports.uuid() }),
|
|
116757
|
+
body: external_exports.object({}),
|
|
116758
|
+
responses: {
|
|
116759
|
+
200: okResponseSchema2,
|
|
116760
|
+
401: apiErrorSchema,
|
|
116761
|
+
404: apiErrorSchema
|
|
116762
|
+
},
|
|
116763
|
+
summary: "Queue a reasoner tick for a voice-chat-candidate session (respects CAS lock and debounce)"
|
|
116764
|
+
},
|
|
116740
116765
|
appendItem: {
|
|
116741
116766
|
method: "POST",
|
|
116742
116767
|
path: "/api/zero/voice-chat-candidate/:id/items",
|
|
@@ -119702,21 +119727,23 @@ function collectVolumeVersions(value, previous) {
|
|
|
119702
119727
|
}
|
|
119703
119728
|
return { ...previous, [volumeName]: version2 };
|
|
119704
119729
|
}
|
|
119705
|
-
function
|
|
119730
|
+
function parseMount(value, flagLabel) {
|
|
119706
119731
|
const parts = value.split(":");
|
|
119707
119732
|
if (parts.length < 2 || parts.length > 3) {
|
|
119708
119733
|
throw new Error(
|
|
119709
|
-
`Invalid
|
|
119734
|
+
`Invalid ${flagLabel} format: ${value} (expected name:/path or name:version:/path)`
|
|
119710
119735
|
);
|
|
119711
119736
|
}
|
|
119712
119737
|
const name = parts[0];
|
|
119713
119738
|
const mountPath = parts.length === 3 ? parts[2] : parts[1];
|
|
119714
119739
|
if (!name) {
|
|
119715
|
-
throw new Error(
|
|
119740
|
+
throw new Error(
|
|
119741
|
+
`Invalid ${flagLabel} format: ${value} (name cannot be empty)`
|
|
119742
|
+
);
|
|
119716
119743
|
}
|
|
119717
119744
|
if (!mountPath.startsWith("/")) {
|
|
119718
119745
|
throw new Error(
|
|
119719
|
-
`Invalid
|
|
119746
|
+
`Invalid ${flagLabel} mount path: ${mountPath} (must start with /)`
|
|
119720
119747
|
);
|
|
119721
119748
|
}
|
|
119722
119749
|
if (parts.length === 2) {
|
|
@@ -119725,13 +119752,16 @@ function parseVolume(value) {
|
|
|
119725
119752
|
const version2 = parts[1];
|
|
119726
119753
|
if (!version2) {
|
|
119727
119754
|
throw new Error(
|
|
119728
|
-
`Invalid
|
|
119755
|
+
`Invalid ${flagLabel} format: ${value} (version cannot be empty)`
|
|
119729
119756
|
);
|
|
119730
119757
|
}
|
|
119731
119758
|
return { name, version: version2, mountPath };
|
|
119732
119759
|
}
|
|
119733
|
-
function
|
|
119734
|
-
return [...previous,
|
|
119760
|
+
function collectMounts(value, previous) {
|
|
119761
|
+
return [...previous, parseMount(value, "volume")];
|
|
119762
|
+
}
|
|
119763
|
+
function collectArtifacts(value, previous) {
|
|
119764
|
+
return [...previous, parseMount(value, "artifact")];
|
|
119735
119765
|
}
|
|
119736
119766
|
function parsePermissionPolicies(json2) {
|
|
119737
119767
|
if (!json2) return void 0;
|
|
@@ -119813,17 +119843,6 @@ function parseIdentifier(identifier) {
|
|
|
119813
119843
|
}
|
|
119814
119844
|
return { name: identifier };
|
|
119815
119845
|
}
|
|
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
119846
|
function renderRunCreated(response) {
|
|
119828
119847
|
if (response.status === "queued") {
|
|
119829
119848
|
console.log(source_default.yellow("\u26A0 Run queued \u2014 concurrency limit reached"));
|
|
@@ -120138,14 +120157,14 @@ export {
|
|
|
120138
120157
|
EventRenderer,
|
|
120139
120158
|
collectKeyValue,
|
|
120140
120159
|
collectVolumeVersions,
|
|
120141
|
-
|
|
120160
|
+
collectMounts,
|
|
120161
|
+
collectArtifacts,
|
|
120142
120162
|
parsePermissionPolicies,
|
|
120143
120163
|
isUUID,
|
|
120144
120164
|
extractVarNames,
|
|
120145
120165
|
extractSecretNames,
|
|
120146
120166
|
loadValues,
|
|
120147
120167
|
parseIdentifier,
|
|
120148
|
-
parseArtifact,
|
|
120149
120168
|
renderRunCreated,
|
|
120150
120169
|
pollEvents,
|
|
120151
120170
|
showNextSteps,
|
|
@@ -120160,4 +120179,4 @@ undici/lib/web/fetch/body.js:
|
|
|
120160
120179
|
undici/lib/web/websocket/frame.js:
|
|
120161
120180
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
120162
120181
|
*/
|
|
120163
|
-
//# sourceMappingURL=chunk-
|
|
120182
|
+
//# sourceMappingURL=chunk-65M57PU6.js.map
|