@vm0/cli 9.244.6 → 9.244.8
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-QLXX4WY7.js} +5 -5
- package/{banking-2ZRGXQJB.js → banking-WY3J5BTJ.js} +3 -3
- package/{chat-XT3ZFO2U.js → chat-L3EFI2XJ.js} +4 -4
- package/{chunk-2GMLVBYY.js → chunk-43PGP5OI.js} +4 -4
- package/{chunk-MBYTQ3JJ.js → chunk-65MTNZ44.js} +93 -34
- package/chunk-65MTNZ44.js.map +1 -0
- package/{chunk-GGJ3V5JF.js → chunk-JVIFZRZ7.js} +3 -3
- package/{chunk-J7NZ4R4R.js → chunk-KMLBXZVR.js} +2 -2
- package/{chunk-RPQMDXP2.js → chunk-LHR5Z775.js} +2 -2
- package/{chunk-MWXV2NJK.js → chunk-MA37R4QS.js} +4 -32
- package/chunk-MA37R4QS.js.map +1 -0
- package/{chunk-MZUWWKCF.js → chunk-MPSVIFKZ.js} +4 -4
- package/{chunk-OPYEYUSY.js → chunk-MX32FFQR.js} +29 -55
- package/chunk-MX32FFQR.js.map +1 -0
- package/{chunk-V33YE2AE.js → chunk-TTP663DN.js} +2 -2
- package/{chunk-LX7FTB2W.js → chunk-WCRXAO2G.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-7FYLJXZS.js} +3 -3
- package/{connector-XK7EPZWH.js → connector-BSBQIFMQ.js} +6 -6
- package/{credit-VPTX7ZTC.js → credit-JBFJY5US.js} +4 -4
- package/{developer-support-3ED5W5G3.js → developer-support-RUWSZBFP.js} +3 -3
- package/{doctor-JZG5ZNW2.js → doctor-YLD526OE.js} +3 -3
- package/{generate-PAMRL3B5.js → generate-5EMJ3PE6.js} +4 -4
- package/{github-OUIYACCV.js → github-36XCAIUP.js} +3 -3
- package/{goal-PXTE4BCJ.js → goal-FRXLYRUG.js} +3 -3
- package/{host-3KVI5HIB.js → host-X2KS3WTS.js} +4 -4
- package/index.js +11 -730
- package/index.js.map +1 -1
- package/{logs-LEPXLZOA.js → logs-WHQES7BY.js} +5 -5
- package/{mail-22YJ3HFW.js → mail-LOXCIZZN.js} +5 -5
- package/{maps-GTBQWQOV.js → maps-KQWCQLHW.js} +3 -3
- package/{model-RWQNBS3N.js → model-2BBROTMX.js} +4 -4
- package/{model-provider-6B54DC7X.js → model-provider-BOMTZ6JA.js} +4 -4
- package/{org-JEJIR4XQ.js → org-SO7ELOV6.js} +3 -3
- package/package.json +1 -1
- package/{phone-CI77EG37.js → phone-IYUG3RGY.js} +3 -3
- package/{preference-546TA23L.js → preference-TGBWXIP7.js} +3 -3
- package/{chunk-HEAUPGDO.js → resource-EA5OUVG4.js} +133 -3
- package/resource-EA5OUVG4.js.map +1 -0
- package/{scrape-VZJ67GNU.js → scrape-2S3B33RA.js} +3 -3
- package/{search-L5ICIORF.js → search-LCGK3BJI.js} +5 -5
- package/{secret-FKMH53Y4.js → secret-M5C54VAT.js} +3 -3
- package/{slack-BQ4KIZPV.js → slack-FJV2NEOT.js} +3 -3
- package/{teams-YZSKKRY4.js → teams-XBLEN2XV.js} +3 -3
- package/{telegram-HHGB5PE3.js → telegram-RE6IO7ZT.js} +3 -3
- package/{variable-4CIAHKLM.js → variable-5MVUR6U4.js} +3 -3
- package/{video-54PFQIQD.js → video-DIVG6CMM.js} +2 -2
- package/{web-BOBLQ27H.js → web-KVZL6WM4.js} +3 -3
- package/{web-search-27452WDH.js → web-search-XNJH2FXZ.js} +3 -3
- package/{whoami-5SIOEBZY.js → whoami-NQYYRWEE.js} +5 -5
- package/{workflow-62JWPXNK.js → workflow-5CGPRRAY.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-QLXX4WY7.js.map} +0 -0
- /package/{banking-2ZRGXQJB.js.map → banking-WY3J5BTJ.js.map} +0 -0
- /package/{chat-XT3ZFO2U.js.map → chat-L3EFI2XJ.js.map} +0 -0
- /package/{chunk-2GMLVBYY.js.map → chunk-43PGP5OI.js.map} +0 -0
- /package/{chunk-GGJ3V5JF.js.map → chunk-JVIFZRZ7.js.map} +0 -0
- /package/{chunk-J7NZ4R4R.js.map → chunk-KMLBXZVR.js.map} +0 -0
- /package/{chunk-RPQMDXP2.js.map → chunk-LHR5Z775.js.map} +0 -0
- /package/{chunk-MZUWWKCF.js.map → chunk-MPSVIFKZ.js.map} +0 -0
- /package/{chunk-V33YE2AE.js.map → chunk-TTP663DN.js.map} +0 -0
- /package/{chunk-LX7FTB2W.js.map → chunk-WCRXAO2G.js.map} +0 -0
- /package/{computer-use-IP4SF35H.js.map → computer-use-7FYLJXZS.js.map} +0 -0
- /package/{connector-XK7EPZWH.js.map → connector-BSBQIFMQ.js.map} +0 -0
- /package/{credit-VPTX7ZTC.js.map → credit-JBFJY5US.js.map} +0 -0
- /package/{developer-support-3ED5W5G3.js.map → developer-support-RUWSZBFP.js.map} +0 -0
- /package/{doctor-JZG5ZNW2.js.map → doctor-YLD526OE.js.map} +0 -0
- /package/{generate-PAMRL3B5.js.map → generate-5EMJ3PE6.js.map} +0 -0
- /package/{github-OUIYACCV.js.map → github-36XCAIUP.js.map} +0 -0
- /package/{goal-PXTE4BCJ.js.map → goal-FRXLYRUG.js.map} +0 -0
- /package/{host-3KVI5HIB.js.map → host-X2KS3WTS.js.map} +0 -0
- /package/{logs-LEPXLZOA.js.map → logs-WHQES7BY.js.map} +0 -0
- /package/{mail-22YJ3HFW.js.map → mail-LOXCIZZN.js.map} +0 -0
- /package/{maps-GTBQWQOV.js.map → maps-KQWCQLHW.js.map} +0 -0
- /package/{model-RWQNBS3N.js.map → model-2BBROTMX.js.map} +0 -0
- /package/{model-provider-6B54DC7X.js.map → model-provider-BOMTZ6JA.js.map} +0 -0
- /package/{org-JEJIR4XQ.js.map → org-SO7ELOV6.js.map} +0 -0
- /package/{phone-CI77EG37.js.map → phone-IYUG3RGY.js.map} +0 -0
- /package/{preference-546TA23L.js.map → preference-TGBWXIP7.js.map} +0 -0
- /package/{scrape-VZJ67GNU.js.map → scrape-2S3B33RA.js.map} +0 -0
- /package/{search-L5ICIORF.js.map → search-LCGK3BJI.js.map} +0 -0
- /package/{secret-FKMH53Y4.js.map → secret-M5C54VAT.js.map} +0 -0
- /package/{slack-BQ4KIZPV.js.map → slack-FJV2NEOT.js.map} +0 -0
- /package/{teams-YZSKKRY4.js.map → teams-XBLEN2XV.js.map} +0 -0
- /package/{telegram-HHGB5PE3.js.map → telegram-RE6IO7ZT.js.map} +0 -0
- /package/{variable-4CIAHKLM.js.map → variable-5MVUR6U4.js.map} +0 -0
- /package/{video-54PFQIQD.js.map → video-DIVG6CMM.js.map} +0 -0
- /package/{web-BOBLQ27H.js.map → web-KVZL6WM4.js.map} +0 -0
- /package/{web-search-27452WDH.js.map → web-search-XNJH2FXZ.js.map} +0 -0
- /package/{whoami-5SIOEBZY.js.map → whoami-NQYYRWEE.js.map} +0 -0
- /package/{workflow-62JWPXNK.js.map → workflow-5CGPRRAY.js.map} +0 -0
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
isSupportedFramework,
|
|
9
9
|
isUUID,
|
|
10
10
|
parseTime
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-65MTNZ44.js";
|
|
12
12
|
import {
|
|
13
13
|
searchZeroLogs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MX32FFQR.js";
|
|
15
15
|
import {
|
|
16
16
|
source_default,
|
|
17
17
|
withErrorHandler
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MA37R4QS.js";
|
|
19
19
|
import {
|
|
20
20
|
Command
|
|
21
21
|
} from "./chunk-B3W2RUBP.js";
|
|
@@ -237,4 +237,4 @@ export {
|
|
|
237
237
|
runLogsSearch,
|
|
238
238
|
searchCommand
|
|
239
239
|
};
|
|
240
|
-
//# sourceMappingURL=chunk-
|
|
240
|
+
//# sourceMappingURL=chunk-MPSVIFKZ.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
updateOrgModelPoliciesRequestSchema,
|
|
23
23
|
upsertModelProviderRequestSchema,
|
|
24
24
|
upsertModelProviderResponseSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MA37R4QS.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__esm,
|
|
@@ -3514,6 +3514,9 @@ var artifactsListResponseSchema = external_exports.object({
|
|
|
3514
3514
|
*/
|
|
3515
3515
|
syncUntil: external_exports.string().datetime().optional()
|
|
3516
3516
|
});
|
|
3517
|
+
var artifactFavoritesResponseSchema = external_exports.object({
|
|
3518
|
+
artifactUrls: external_exports.array(external_exports.string())
|
|
3519
|
+
});
|
|
3517
3520
|
var artifactFavoriteBodySchema = external_exports.object({
|
|
3518
3521
|
artifactUrl: external_exports.string().min(1)
|
|
3519
3522
|
});
|
|
@@ -3740,7 +3743,8 @@ var chatMessageRecommendedFollowupsSchema = external_exports.preprocess((value)
|
|
|
3740
3743
|
}, external_exports.array(chatMessageRecommendedFollowupSchema));
|
|
3741
3744
|
var pagedChatMessageSchema = external_exports.discriminatedUnion("role", [
|
|
3742
3745
|
pagedChatMessageBaseSchema.extend({
|
|
3743
|
-
role: external_exports.literal("user")
|
|
3746
|
+
role: external_exports.literal("user"),
|
|
3747
|
+
structuredPrompt: userMessageDocumentSchema.optional()
|
|
3744
3748
|
}).strict(),
|
|
3745
3749
|
pagedChatMessageBaseSchema.extend({
|
|
3746
3750
|
role: external_exports.literal("assistant"),
|
|
@@ -3765,6 +3769,7 @@ var chatThreadMetadataSchema = external_exports.object({
|
|
|
3765
3769
|
});
|
|
3766
3770
|
var chatThreadDraftSchema = external_exports.object({
|
|
3767
3771
|
draftContent: external_exports.string().nullable(),
|
|
3772
|
+
draftStructuredPrompt: userMessageDocumentSchema.nullable().optional(),
|
|
3768
3773
|
draftAttachments: external_exports.array(persistedAttachmentSchema).nullable()
|
|
3769
3774
|
});
|
|
3770
3775
|
var selectedModelRequestSchema = external_exports.string().min(1).superRefine((value, ctx) => {
|
|
@@ -3850,6 +3855,7 @@ var chatMessageNormalSendBodySchema = external_exports.preprocess(
|
|
|
3850
3855
|
*/
|
|
3851
3856
|
model: selectedModelRequestSchema.optional(),
|
|
3852
3857
|
runOptions: chatRunOptionsRequestSchema.optional(),
|
|
3858
|
+
structuredPrompt: userMessageDocumentSchema.optional(),
|
|
3853
3859
|
generationTemplate: generationTemplateRequestSchema.optional(),
|
|
3854
3860
|
computerUseHostId: external_exports.string().uuid().nullable().optional(),
|
|
3855
3861
|
// Optional for backward compatibility: older clients that omit this field
|
|
@@ -3938,7 +3944,8 @@ var chatThreadsContract = c15.router({
|
|
|
3938
3944
|
200: external_exports.object({
|
|
3939
3945
|
/**
|
|
3940
3946
|
* Thread ids owned by the caller that currently hold an unsent draft
|
|
3941
|
-
* (non-empty `draftContent
|
|
3947
|
+
* (non-empty `draftContent`, a structured prompt, or one+
|
|
3948
|
+
* `draftAttachments`).
|
|
3942
3949
|
*/
|
|
3943
3950
|
draftThreadIds: external_exports.array(external_exports.string())
|
|
3944
3951
|
}),
|
|
@@ -3999,6 +4006,7 @@ var chatThreadByIdContract = c15.router({
|
|
|
3999
4006
|
pathParams: chatThreadIdPathParamsSchema,
|
|
4000
4007
|
body: external_exports.object({
|
|
4001
4008
|
draftContent: external_exports.string().nullable().optional(),
|
|
4009
|
+
draftStructuredPrompt: userMessageDocumentSchema.nullable().optional(),
|
|
4002
4010
|
draftAttachments: external_exports.array(persistedAttachmentSchema).nullable().optional()
|
|
4003
4011
|
}),
|
|
4004
4012
|
responses: {
|
|
@@ -4207,6 +4215,7 @@ var chatMessagesContract = c15.router({
|
|
|
4207
4215
|
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
4208
4216
|
model: external_exports.undefined().optional(),
|
|
4209
4217
|
runOptions: external_exports.undefined().optional(),
|
|
4218
|
+
structuredPrompt: external_exports.undefined().optional(),
|
|
4210
4219
|
generationTemplate: external_exports.undefined().optional(),
|
|
4211
4220
|
computerUseHostId: external_exports.undefined().optional(),
|
|
4212
4221
|
hasTextContent: external_exports.undefined().optional(),
|
|
@@ -4225,6 +4234,7 @@ var chatMessagesContract = c15.router({
|
|
|
4225
4234
|
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
4226
4235
|
model: external_exports.undefined().optional(),
|
|
4227
4236
|
runOptions: external_exports.undefined().optional(),
|
|
4237
|
+
structuredPrompt: external_exports.undefined().optional(),
|
|
4228
4238
|
generationTemplate: external_exports.undefined().optional(),
|
|
4229
4239
|
computerUseHostId: external_exports.undefined().optional(),
|
|
4230
4240
|
hasTextContent: external_exports.undefined().optional(),
|
|
@@ -4447,6 +4457,17 @@ var artifactsContract = c15.router({
|
|
|
4447
4457
|
},
|
|
4448
4458
|
summary: "List artifacts for the caller's current organization (keyset-paginated)"
|
|
4449
4459
|
},
|
|
4460
|
+
listFavorites: {
|
|
4461
|
+
method: "GET",
|
|
4462
|
+
path: "/api/zero/artifacts/favorites",
|
|
4463
|
+
headers: authHeadersSchema,
|
|
4464
|
+
responses: {
|
|
4465
|
+
200: artifactFavoritesResponseSchema,
|
|
4466
|
+
401: apiErrorSchema,
|
|
4467
|
+
403: apiErrorSchema
|
|
4468
|
+
},
|
|
4469
|
+
summary: "List artifact favorite URLs for the caller"
|
|
4470
|
+
},
|
|
4450
4471
|
favorite: {
|
|
4451
4472
|
method: "POST",
|
|
4452
4473
|
path: "/api/zero/artifacts/favorite",
|
|
@@ -5100,15 +5121,6 @@ var connectorProvidedBindingSchema = external_exports.object({
|
|
|
5100
5121
|
optional: external_exports.boolean(),
|
|
5101
5122
|
source: connectorProvidedBindingSourceSchema
|
|
5102
5123
|
});
|
|
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
5124
|
var connectorListResponseSchema = external_exports.object({
|
|
5113
5125
|
connectors: external_exports.array(connectorResponseSchema),
|
|
5114
5126
|
configuredTypes: external_exports.array(connectorCatalogRefSchema),
|
|
@@ -9458,17 +9470,6 @@ async function getComposeVersion(composeId, version) {
|
|
|
9458
9470
|
}
|
|
9459
9471
|
handleError(result, `Version not found: ${version}`);
|
|
9460
9472
|
}
|
|
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
9473
|
|
|
9473
9474
|
// src/lib/api/domains/runs.ts
|
|
9474
9475
|
init_esm_shims();
|
|
@@ -9637,27 +9638,6 @@ async function getCheckpoint(checkpointId) {
|
|
|
9637
9638
|
handleError(result, `Checkpoint not found: ${checkpointId}`);
|
|
9638
9639
|
}
|
|
9639
9640
|
|
|
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
9641
|
// src/lib/api/domains/zero-secrets.ts
|
|
9662
9642
|
init_esm_shims();
|
|
9663
9643
|
|
|
@@ -12337,21 +12317,16 @@ async function getHostedSiteFiles(publicSlug) {
|
|
|
12337
12317
|
}
|
|
12338
12318
|
|
|
12339
12319
|
export {
|
|
12340
|
-
|
|
12341
|
-
guaranteedConnectorProvidedBindingNames,
|
|
12320
|
+
authHeadersSchema,
|
|
12342
12321
|
UNKNOWN_PERMISSION_GRANT,
|
|
12343
12322
|
firewallPoliciesSchema,
|
|
12344
|
-
|
|
12323
|
+
directRunModelProviderTypeSchema,
|
|
12324
|
+
ALL_RUN_STATUSES,
|
|
12345
12325
|
runnerGroupSchema,
|
|
12346
|
-
volumeConfigSchema,
|
|
12347
|
-
agentDefinitionSchema,
|
|
12348
12326
|
composeListItemSchema,
|
|
12349
12327
|
getComposeByName,
|
|
12350
12328
|
getComposeById,
|
|
12351
12329
|
getComposeVersion,
|
|
12352
|
-
createOrUpdateCompose,
|
|
12353
|
-
directRunModelProviderTypeSchema,
|
|
12354
|
-
ALL_RUN_STATUSES,
|
|
12355
12330
|
createRun,
|
|
12356
12331
|
getEvents,
|
|
12357
12332
|
listRuns,
|
|
@@ -12359,8 +12334,6 @@ export {
|
|
|
12359
12334
|
cancelRun,
|
|
12360
12335
|
getSession,
|
|
12361
12336
|
getCheckpoint,
|
|
12362
|
-
prepareStorage,
|
|
12363
|
-
commitStorage,
|
|
12364
12337
|
getRegistryResourceDownload,
|
|
12365
12338
|
getZeroUserPreferences,
|
|
12366
12339
|
updateZeroUserPreferences,
|
|
@@ -12393,6 +12366,7 @@ export {
|
|
|
12393
12366
|
listZeroModelPolicies,
|
|
12394
12367
|
hostedArtifactKindSchema,
|
|
12395
12368
|
zeroAgentVisibilitySchema,
|
|
12369
|
+
connectorCatalogRefSchema,
|
|
12396
12370
|
createZeroAgent,
|
|
12397
12371
|
listZeroAgents,
|
|
12398
12372
|
getZeroAgent,
|
|
@@ -12491,4 +12465,4 @@ export {
|
|
|
12491
12465
|
completeHostedSite,
|
|
12492
12466
|
getHostedSiteFiles
|
|
12493
12467
|
};
|
|
12494
|
-
//# sourceMappingURL=chunk-
|
|
12468
|
+
//# sourceMappingURL=chunk-MX32FFQR.js.map
|