@vm0/cli 9.244.6 → 9.244.7
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-AOWGKKI7.js → agent-2TIFNP32.js} +5 -5
- package/{banking-2ZRGXQJB.js → banking-UR7XJI3L.js} +3 -3
- package/{chat-XT3ZFO2U.js → chat-5N4C3FDV.js} +4 -4
- package/{chunk-MWXV2NJK.js → chunk-26BGLMA3.js} +4 -32
- package/chunk-26BGLMA3.js.map +1 -0
- package/{chunk-MZUWWKCF.js → chunk-5QJVQEHO.js} +4 -4
- package/{chunk-2GMLVBYY.js → chunk-7KSTVBNN.js} +4 -4
- package/{chunk-J7NZ4R4R.js → chunk-BIJC6U3G.js} +2 -2
- package/{chunk-MBYTQ3JJ.js → chunk-E32I3TNQ.js} +15 -34
- package/chunk-E32I3TNQ.js.map +1 -0
- package/{chunk-RPQMDXP2.js → chunk-JWDLLCI3.js} +2 -2
- package/{chunk-GGJ3V5JF.js → chunk-M6GLCPCJ.js} +3 -3
- package/{chunk-OPYEYUSY.js → chunk-NR6ANGRK.js} +15 -55
- package/chunk-NR6ANGRK.js.map +1 -0
- package/{chunk-LX7FTB2W.js → chunk-QCG2H3VD.js} +2 -2
- package/{chunk-V33YE2AE.js → chunk-STMJYQTH.js} +2 -2
- package/{chunk-PB66MQ5U.js → chunk-ZUSDQG2O.js} +2 -7
- package/{chunk-PB66MQ5U.js.map → chunk-ZUSDQG2O.js.map} +1 -1
- package/{computer-use-IP4SF35H.js → computer-use-3WUKJYHK.js} +3 -3
- package/{connector-XK7EPZWH.js → connector-PDEOFNTE.js} +6 -6
- package/{credit-VPTX7ZTC.js → credit-ET4RS32X.js} +4 -4
- package/{developer-support-3ED5W5G3.js → developer-support-3DJEJT2A.js} +3 -3
- package/{doctor-JZG5ZNW2.js → doctor-F7OWYXXH.js} +3 -3
- package/{generate-PAMRL3B5.js → generate-4GKWSL6P.js} +4 -4
- package/{github-OUIYACCV.js → github-S5HFK2IC.js} +3 -3
- package/{goal-PXTE4BCJ.js → goal-ISJWIT2Q.js} +3 -3
- package/{host-3KVI5HIB.js → host-T52XQ2SZ.js} +4 -4
- package/index.js +11 -730
- package/index.js.map +1 -1
- package/{logs-LEPXLZOA.js → logs-D4IL5OLR.js} +5 -5
- package/{mail-22YJ3HFW.js → mail-JXO3GW72.js} +5 -5
- package/{maps-GTBQWQOV.js → maps-T3YFBRLP.js} +3 -3
- package/{model-RWQNBS3N.js → model-GJRTV6E5.js} +4 -4
- package/{model-provider-6B54DC7X.js → model-provider-T4VN4HNU.js} +4 -4
- package/{org-JEJIR4XQ.js → org-GNNU77Y5.js} +3 -3
- package/package.json +1 -1
- package/{phone-CI77EG37.js → phone-EQ4R2GBO.js} +3 -3
- package/{preference-546TA23L.js → preference-3FHEQPKG.js} +3 -3
- package/{chunk-HEAUPGDO.js → resource-EOO2VATC.js} +133 -3
- package/resource-EOO2VATC.js.map +1 -0
- package/{scrape-VZJ67GNU.js → scrape-TZCFJY6X.js} +3 -3
- package/{search-L5ICIORF.js → search-RXP4DMUC.js} +5 -5
- package/{secret-FKMH53Y4.js → secret-S4ZCVY2X.js} +3 -3
- package/{slack-BQ4KIZPV.js → slack-7YJFUJE6.js} +3 -3
- package/{teams-YZSKKRY4.js → teams-45MMUROF.js} +3 -3
- package/{telegram-HHGB5PE3.js → telegram-7ZCSI24W.js} +3 -3
- package/{variable-4CIAHKLM.js → variable-O33TDP4J.js} +3 -3
- package/{video-54PFQIQD.js → video-D5LSABFJ.js} +2 -2
- package/{web-BOBLQ27H.js → web-JW7AH2UT.js} +3 -3
- package/{web-search-27452WDH.js → web-search-MHFQFZS6.js} +3 -3
- package/{whoami-5SIOEBZY.js → whoami-5DJLOQUZ.js} +5 -5
- package/{workflow-62JWPXNK.js → workflow-TXG3RBJR.js} +3 -3
- package/zero.js +35 -35
- package/chunk-HEAUPGDO.js.map +0 -1
- package/chunk-MBYTQ3JJ.js.map +0 -1
- package/chunk-MWXV2NJK.js.map +0 -1
- package/chunk-OPYEYUSY.js.map +0 -1
- package/resource-HRVLBG7N.js +0 -143
- package/resource-HRVLBG7N.js.map +0 -1
- /package/{agent-AOWGKKI7.js.map → agent-2TIFNP32.js.map} +0 -0
- /package/{banking-2ZRGXQJB.js.map → banking-UR7XJI3L.js.map} +0 -0
- /package/{chat-XT3ZFO2U.js.map → chat-5N4C3FDV.js.map} +0 -0
- /package/{chunk-MZUWWKCF.js.map → chunk-5QJVQEHO.js.map} +0 -0
- /package/{chunk-2GMLVBYY.js.map → chunk-7KSTVBNN.js.map} +0 -0
- /package/{chunk-J7NZ4R4R.js.map → chunk-BIJC6U3G.js.map} +0 -0
- /package/{chunk-RPQMDXP2.js.map → chunk-JWDLLCI3.js.map} +0 -0
- /package/{chunk-GGJ3V5JF.js.map → chunk-M6GLCPCJ.js.map} +0 -0
- /package/{chunk-LX7FTB2W.js.map → chunk-QCG2H3VD.js.map} +0 -0
- /package/{chunk-V33YE2AE.js.map → chunk-STMJYQTH.js.map} +0 -0
- /package/{computer-use-IP4SF35H.js.map → computer-use-3WUKJYHK.js.map} +0 -0
- /package/{connector-XK7EPZWH.js.map → connector-PDEOFNTE.js.map} +0 -0
- /package/{credit-VPTX7ZTC.js.map → credit-ET4RS32X.js.map} +0 -0
- /package/{developer-support-3ED5W5G3.js.map → developer-support-3DJEJT2A.js.map} +0 -0
- /package/{doctor-JZG5ZNW2.js.map → doctor-F7OWYXXH.js.map} +0 -0
- /package/{generate-PAMRL3B5.js.map → generate-4GKWSL6P.js.map} +0 -0
- /package/{github-OUIYACCV.js.map → github-S5HFK2IC.js.map} +0 -0
- /package/{goal-PXTE4BCJ.js.map → goal-ISJWIT2Q.js.map} +0 -0
- /package/{host-3KVI5HIB.js.map → host-T52XQ2SZ.js.map} +0 -0
- /package/{logs-LEPXLZOA.js.map → logs-D4IL5OLR.js.map} +0 -0
- /package/{mail-22YJ3HFW.js.map → mail-JXO3GW72.js.map} +0 -0
- /package/{maps-GTBQWQOV.js.map → maps-T3YFBRLP.js.map} +0 -0
- /package/{model-RWQNBS3N.js.map → model-GJRTV6E5.js.map} +0 -0
- /package/{model-provider-6B54DC7X.js.map → model-provider-T4VN4HNU.js.map} +0 -0
- /package/{org-JEJIR4XQ.js.map → org-GNNU77Y5.js.map} +0 -0
- /package/{phone-CI77EG37.js.map → phone-EQ4R2GBO.js.map} +0 -0
- /package/{preference-546TA23L.js.map → preference-3FHEQPKG.js.map} +0 -0
- /package/{scrape-VZJ67GNU.js.map → scrape-TZCFJY6X.js.map} +0 -0
- /package/{search-L5ICIORF.js.map → search-RXP4DMUC.js.map} +0 -0
- /package/{secret-FKMH53Y4.js.map → secret-S4ZCVY2X.js.map} +0 -0
- /package/{slack-BQ4KIZPV.js.map → slack-7YJFUJE6.js.map} +0 -0
- /package/{teams-YZSKKRY4.js.map → teams-45MMUROF.js.map} +0 -0
- /package/{telegram-HHGB5PE3.js.map → telegram-7ZCSI24W.js.map} +0 -0
- /package/{variable-4CIAHKLM.js.map → variable-O33TDP4J.js.map} +0 -0
- /package/{video-54PFQIQD.js.map → video-D5LSABFJ.js.map} +0 -0
- /package/{web-BOBLQ27H.js.map → web-JW7AH2UT.js.map} +0 -0
- /package/{web-search-27452WDH.js.map → web-search-MHFQFZS6.js.map} +0 -0
- /package/{whoami-5SIOEBZY.js.map → whoami-5DJLOQUZ.js.map} +0 -0
- /package/{workflow-62JWPXNK.js.map → workflow-TXG3RBJR.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
MODEL_PROVIDER_TYPES
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-26BGLMA3.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
9
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
formatModelProviderRoute,
|
|
41
41
|
formatModelPolicyStatus
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=chunk-
|
|
43
|
+
//# sourceMappingURL=chunk-JWDLLCI3.js.map
|
|
@@ -50,7 +50,7 @@ if (DSN) {
|
|
|
50
50
|
Sentry.init({
|
|
51
51
|
dsn: DSN,
|
|
52
52
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
53
|
-
release: "9.244.
|
|
53
|
+
release: "9.244.7",
|
|
54
54
|
sendDefaultPii: false,
|
|
55
55
|
tracesSampleRate: 0,
|
|
56
56
|
shutdownTimeout: 500,
|
|
@@ -69,7 +69,7 @@ if (DSN) {
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
Sentry.setContext("cli", {
|
|
72
|
-
version: "9.244.
|
|
72
|
+
version: "9.244.7",
|
|
73
73
|
command: process.argv.slice(2).join(" ")
|
|
74
74
|
});
|
|
75
75
|
Sentry.setContext("runtime", {
|
|
@@ -146,4 +146,4 @@ async function configureGlobalProxyFromEnv() {
|
|
|
146
146
|
export {
|
|
147
147
|
configureGlobalProxyFromEnv
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-M6GLCPCJ.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
updateOrgModelPoliciesRequestSchema,
|
|
23
23
|
upsertModelProviderRequestSchema,
|
|
24
24
|
upsertModelProviderResponseSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-26BGLMA3.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__esm,
|
|
@@ -3740,7 +3740,8 @@ var chatMessageRecommendedFollowupsSchema = external_exports.preprocess((value)
|
|
|
3740
3740
|
}, external_exports.array(chatMessageRecommendedFollowupSchema));
|
|
3741
3741
|
var pagedChatMessageSchema = external_exports.discriminatedUnion("role", [
|
|
3742
3742
|
pagedChatMessageBaseSchema.extend({
|
|
3743
|
-
role: external_exports.literal("user")
|
|
3743
|
+
role: external_exports.literal("user"),
|
|
3744
|
+
structuredPrompt: userMessageDocumentSchema.optional()
|
|
3744
3745
|
}).strict(),
|
|
3745
3746
|
pagedChatMessageBaseSchema.extend({
|
|
3746
3747
|
role: external_exports.literal("assistant"),
|
|
@@ -3765,6 +3766,7 @@ var chatThreadMetadataSchema = external_exports.object({
|
|
|
3765
3766
|
});
|
|
3766
3767
|
var chatThreadDraftSchema = external_exports.object({
|
|
3767
3768
|
draftContent: external_exports.string().nullable(),
|
|
3769
|
+
draftStructuredPrompt: userMessageDocumentSchema.nullable().optional(),
|
|
3768
3770
|
draftAttachments: external_exports.array(persistedAttachmentSchema).nullable()
|
|
3769
3771
|
});
|
|
3770
3772
|
var selectedModelRequestSchema = external_exports.string().min(1).superRefine((value, ctx) => {
|
|
@@ -3850,6 +3852,7 @@ var chatMessageNormalSendBodySchema = external_exports.preprocess(
|
|
|
3850
3852
|
*/
|
|
3851
3853
|
model: selectedModelRequestSchema.optional(),
|
|
3852
3854
|
runOptions: chatRunOptionsRequestSchema.optional(),
|
|
3855
|
+
structuredPrompt: userMessageDocumentSchema.optional(),
|
|
3853
3856
|
generationTemplate: generationTemplateRequestSchema.optional(),
|
|
3854
3857
|
computerUseHostId: external_exports.string().uuid().nullable().optional(),
|
|
3855
3858
|
// Optional for backward compatibility: older clients that omit this field
|
|
@@ -3938,7 +3941,8 @@ var chatThreadsContract = c15.router({
|
|
|
3938
3941
|
200: external_exports.object({
|
|
3939
3942
|
/**
|
|
3940
3943
|
* Thread ids owned by the caller that currently hold an unsent draft
|
|
3941
|
-
* (non-empty `draftContent
|
|
3944
|
+
* (non-empty `draftContent`, a structured prompt, or one+
|
|
3945
|
+
* `draftAttachments`).
|
|
3942
3946
|
*/
|
|
3943
3947
|
draftThreadIds: external_exports.array(external_exports.string())
|
|
3944
3948
|
}),
|
|
@@ -3999,6 +4003,7 @@ var chatThreadByIdContract = c15.router({
|
|
|
3999
4003
|
pathParams: chatThreadIdPathParamsSchema,
|
|
4000
4004
|
body: external_exports.object({
|
|
4001
4005
|
draftContent: external_exports.string().nullable().optional(),
|
|
4006
|
+
draftStructuredPrompt: userMessageDocumentSchema.nullable().optional(),
|
|
4002
4007
|
draftAttachments: external_exports.array(persistedAttachmentSchema).nullable().optional()
|
|
4003
4008
|
}),
|
|
4004
4009
|
responses: {
|
|
@@ -4207,6 +4212,7 @@ var chatMessagesContract = c15.router({
|
|
|
4207
4212
|
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
4208
4213
|
model: external_exports.undefined().optional(),
|
|
4209
4214
|
runOptions: external_exports.undefined().optional(),
|
|
4215
|
+
structuredPrompt: external_exports.undefined().optional(),
|
|
4210
4216
|
generationTemplate: external_exports.undefined().optional(),
|
|
4211
4217
|
computerUseHostId: external_exports.undefined().optional(),
|
|
4212
4218
|
hasTextContent: external_exports.undefined().optional(),
|
|
@@ -4225,6 +4231,7 @@ var chatMessagesContract = c15.router({
|
|
|
4225
4231
|
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
4226
4232
|
model: external_exports.undefined().optional(),
|
|
4227
4233
|
runOptions: external_exports.undefined().optional(),
|
|
4234
|
+
structuredPrompt: external_exports.undefined().optional(),
|
|
4228
4235
|
generationTemplate: external_exports.undefined().optional(),
|
|
4229
4236
|
computerUseHostId: external_exports.undefined().optional(),
|
|
4230
4237
|
hasTextContent: external_exports.undefined().optional(),
|
|
@@ -5100,15 +5107,6 @@ var connectorProvidedBindingSchema = external_exports.object({
|
|
|
5100
5107
|
optional: external_exports.boolean(),
|
|
5101
5108
|
source: connectorProvidedBindingSourceSchema
|
|
5102
5109
|
});
|
|
5103
|
-
function guaranteedConnectorProvidedBindingNames(args) {
|
|
5104
|
-
const names = /* @__PURE__ */ new Set();
|
|
5105
|
-
for (const binding of args.bindings) {
|
|
5106
|
-
if (binding.namespace === args.namespace && !binding.optional) {
|
|
5107
|
-
names.add(binding.name);
|
|
5108
|
-
}
|
|
5109
|
-
}
|
|
5110
|
-
return names;
|
|
5111
|
-
}
|
|
5112
5110
|
var connectorListResponseSchema = external_exports.object({
|
|
5113
5111
|
connectors: external_exports.array(connectorResponseSchema),
|
|
5114
5112
|
configuredTypes: external_exports.array(connectorCatalogRefSchema),
|
|
@@ -9458,17 +9456,6 @@ async function getComposeVersion(composeId, version) {
|
|
|
9458
9456
|
}
|
|
9459
9457
|
handleError(result, `Version not found: ${version}`);
|
|
9460
9458
|
}
|
|
9461
|
-
async function createOrUpdateCompose(body) {
|
|
9462
|
-
const config = await getClientConfig();
|
|
9463
|
-
const client = initClient(composesMainContract, config);
|
|
9464
|
-
const result = await client.create({
|
|
9465
|
-
body
|
|
9466
|
-
});
|
|
9467
|
-
if (result.status === 200 || result.status === 201) {
|
|
9468
|
-
return result.body;
|
|
9469
|
-
}
|
|
9470
|
-
handleError(result, "Failed to create compose");
|
|
9471
|
-
}
|
|
9472
9459
|
|
|
9473
9460
|
// src/lib/api/domains/runs.ts
|
|
9474
9461
|
init_esm_shims();
|
|
@@ -9637,27 +9624,6 @@ async function getCheckpoint(checkpointId) {
|
|
|
9637
9624
|
handleError(result, `Checkpoint not found: ${checkpointId}`);
|
|
9638
9625
|
}
|
|
9639
9626
|
|
|
9640
|
-
// src/lib/api/domains/storages.ts
|
|
9641
|
-
init_esm_shims();
|
|
9642
|
-
async function prepareStorage(body) {
|
|
9643
|
-
const config = await getClientConfig();
|
|
9644
|
-
const client = initClient(storagesPrepareContract, config);
|
|
9645
|
-
const result = await client.prepare({ body });
|
|
9646
|
-
if (result.status === 200) {
|
|
9647
|
-
return result.body;
|
|
9648
|
-
}
|
|
9649
|
-
handleError(result, "Failed to prepare storage");
|
|
9650
|
-
}
|
|
9651
|
-
async function commitStorage(body) {
|
|
9652
|
-
const config = await getClientConfig();
|
|
9653
|
-
const client = initClient(storagesCommitContract, config);
|
|
9654
|
-
const result = await client.commit({ body });
|
|
9655
|
-
if (result.status === 200) {
|
|
9656
|
-
return result.body;
|
|
9657
|
-
}
|
|
9658
|
-
handleError(result, "Failed to commit storage");
|
|
9659
|
-
}
|
|
9660
|
-
|
|
9661
9627
|
// src/lib/api/domains/zero-secrets.ts
|
|
9662
9628
|
init_esm_shims();
|
|
9663
9629
|
|
|
@@ -12337,21 +12303,16 @@ async function getHostedSiteFiles(publicSlug) {
|
|
|
12337
12303
|
}
|
|
12338
12304
|
|
|
12339
12305
|
export {
|
|
12340
|
-
|
|
12341
|
-
guaranteedConnectorProvidedBindingNames,
|
|
12306
|
+
authHeadersSchema,
|
|
12342
12307
|
UNKNOWN_PERMISSION_GRANT,
|
|
12343
12308
|
firewallPoliciesSchema,
|
|
12344
|
-
|
|
12309
|
+
directRunModelProviderTypeSchema,
|
|
12310
|
+
ALL_RUN_STATUSES,
|
|
12345
12311
|
runnerGroupSchema,
|
|
12346
|
-
volumeConfigSchema,
|
|
12347
|
-
agentDefinitionSchema,
|
|
12348
12312
|
composeListItemSchema,
|
|
12349
12313
|
getComposeByName,
|
|
12350
12314
|
getComposeById,
|
|
12351
12315
|
getComposeVersion,
|
|
12352
|
-
createOrUpdateCompose,
|
|
12353
|
-
directRunModelProviderTypeSchema,
|
|
12354
|
-
ALL_RUN_STATUSES,
|
|
12355
12316
|
createRun,
|
|
12356
12317
|
getEvents,
|
|
12357
12318
|
listRuns,
|
|
@@ -12359,8 +12320,6 @@ export {
|
|
|
12359
12320
|
cancelRun,
|
|
12360
12321
|
getSession,
|
|
12361
12322
|
getCheckpoint,
|
|
12362
|
-
prepareStorage,
|
|
12363
|
-
commitStorage,
|
|
12364
12323
|
getRegistryResourceDownload,
|
|
12365
12324
|
getZeroUserPreferences,
|
|
12366
12325
|
updateZeroUserPreferences,
|
|
@@ -12393,6 +12352,7 @@ export {
|
|
|
12393
12352
|
listZeroModelPolicies,
|
|
12394
12353
|
hostedArtifactKindSchema,
|
|
12395
12354
|
zeroAgentVisibilitySchema,
|
|
12355
|
+
connectorCatalogRefSchema,
|
|
12396
12356
|
createZeroAgent,
|
|
12397
12357
|
listZeroAgents,
|
|
12398
12358
|
getZeroAgent,
|
|
@@ -12491,4 +12451,4 @@ export {
|
|
|
12491
12451
|
completeHostedSite,
|
|
12492
12452
|
getHostedSiteFiles
|
|
12493
12453
|
};
|
|
12494
|
-
//# sourceMappingURL=chunk-
|
|
12454
|
+
//# sourceMappingURL=chunk-NR6ANGRK.js.map
|