@vm0/cli 9.275.0 → 9.275.1

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.
Files changed (101) hide show
  1. package/{agent-XK6H2544.js → agent-FSN2GJMD.js} +5 -5
  2. package/{banking-E5SI3MJU.js → banking-DQZ2AEIW.js} +4 -4
  3. package/{browser-TH4Y55RS.js → browser-NETPPDQ6.js} +4 -4
  4. package/{chat-3H5LWT6E.js → chat-A6SB23VM.js} +5 -5
  5. package/{chunk-4QPJ5DOU.js → chunk-4GU5ZKEO.js} +2 -2
  6. package/{chunk-AEWU2YM3.js → chunk-6IN6OKYZ.js} +3 -3
  7. package/{chunk-O2L7CXVZ.js → chunk-6IZATZTU.js} +28 -4
  8. package/{chunk-O2L7CXVZ.js.map → chunk-6IZATZTU.js.map} +1 -1
  9. package/{chunk-DHQFVIPZ.js → chunk-6RWOJ4OL.js} +2 -2
  10. package/{chunk-LWHSFNRK.js → chunk-G45XGQ25.js} +1 -6
  11. package/chunk-G45XGQ25.js.map +1 -0
  12. package/{chunk-GOQL4TY4.js → chunk-GRD57BA4.js} +2 -2
  13. package/{chunk-LUNHJWDP.js → chunk-H6QAMEXS.js} +3 -3
  14. package/{chunk-LUNHJWDP.js.map → chunk-H6QAMEXS.js.map} +1 -1
  15. package/{chunk-7R4SSWEY.js → chunk-HXI2NYPO.js} +2 -2
  16. package/{chunk-IEU6XSW5.js → chunk-IDXPNDWE.js} +2 -2
  17. package/{computer-use-PB4LNXCU.js → computer-use-LBGMJU3E.js} +4 -4
  18. package/{connector-KFLSG2WQ.js → connector-YSCD5UKK.js} +6 -6
  19. package/{credit-R26H5QHN.js → credit-3RU2G5JG.js} +5 -5
  20. package/{developer-support-Y7RNKJTH.js → developer-support-NIVYOD5A.js} +4 -4
  21. package/{doctor-K6BOIL62.js → doctor-EAOYULTS.js} +5 -5
  22. package/{feishu-LI3SINCU.js → feishu-FBIELF7H.js} +4 -4
  23. package/{finance-SJN3UHTH.js → finance-44VXLKJI.js} +4 -4
  24. package/{generate-RXBVINXP.js → generate-L6ZOETPQ.js} +6 -6
  25. package/{github-S7ZPKL5Q.js → github-BGFLAMOO.js} +4 -4
  26. package/{goal-QY3JEJD5.js → goal-XG7LFY7I.js} +4 -4
  27. package/{host-GZH5RHJS.js → host-DHYMUPTC.js} +4 -4
  28. package/{logs-5GRE5WAY.js → logs-GVWAF6MU.js} +6 -6
  29. package/{mail-2PT5ZIWZ.js → mail-IVJEYHBZ.js} +6 -6
  30. package/{maps-IN2UCVFP.js → maps-TZNW7NNW.js} +4 -4
  31. package/{model-PWEQPS6R.js → model-HDI53F4S.js} +5 -5
  32. package/{model-provider-LA4MKTUV.js → model-provider-PMT5UZFW.js} +5 -5
  33. package/{org-KG4LKPZV.js → org-5TZVP6FZ.js} +4 -4
  34. package/package.json +1 -1
  35. package/{people-search-UVOX2TZD.js → people-search-YTGBNW6D.js} +4 -4
  36. package/{phone-SOZRDNOK.js → phone-2WRBOJKP.js} +4 -4
  37. package/{preference-EDW74L7N.js → preference-JG75NHDC.js} +4 -4
  38. package/{recognize-5AK6UOZK.js → recognize-323KRKAP.js} +4 -4
  39. package/{resource-UWBZNZ7Q.js → resource-7T44AGQ7.js} +4 -4
  40. package/{scrape-6BVY7IQY.js → scrape-C6QBZD3G.js} +4 -4
  41. package/{search-HXLHHYC3.js → search-DJHCQ44L.js} +6 -6
  42. package/{secret-SXRVG52Q.js → secret-PHORSWLH.js} +4 -4
  43. package/{slack-CLP4POQB.js → slack-R2R3PAY7.js} +4 -4
  44. package/{teams-TLRVUYTY.js → teams-AIKZ54LZ.js} +4 -4
  45. package/{telegram-URIUGNGJ.js → telegram-Q7X3VUA7.js} +4 -4
  46. package/{upgrade-X7DU6HLO.js → upgrade-CUG54HZN.js} +3 -3
  47. package/{variable-WUYEL65V.js → variable-ULQTVWCG.js} +4 -4
  48. package/{video-4CPNBFWY.js → video-WXGC2GRR.js} +3 -3
  49. package/{weather-S4L4XU2G.js → weather-KO5ARUSQ.js} +4 -4
  50. package/{web-QMET3U3T.js → web-STMNCWSR.js} +4 -4
  51. package/{web-search-BOENA4JA.js → web-search-YHBKDKXE.js} +4 -4
  52. package/{whoami-TKHAJZ5D.js → whoami-FIJ5A7WN.js} +5 -5
  53. package/{workflow-FISYU5OY.js → workflow-6ZJ5XJCV.js} +5 -5
  54. package/zero.js +44 -44
  55. package/chunk-LWHSFNRK.js.map +0 -1
  56. /package/{agent-XK6H2544.js.map → agent-FSN2GJMD.js.map} +0 -0
  57. /package/{banking-E5SI3MJU.js.map → banking-DQZ2AEIW.js.map} +0 -0
  58. /package/{browser-TH4Y55RS.js.map → browser-NETPPDQ6.js.map} +0 -0
  59. /package/{chat-3H5LWT6E.js.map → chat-A6SB23VM.js.map} +0 -0
  60. /package/{chunk-4QPJ5DOU.js.map → chunk-4GU5ZKEO.js.map} +0 -0
  61. /package/{chunk-AEWU2YM3.js.map → chunk-6IN6OKYZ.js.map} +0 -0
  62. /package/{chunk-DHQFVIPZ.js.map → chunk-6RWOJ4OL.js.map} +0 -0
  63. /package/{chunk-GOQL4TY4.js.map → chunk-GRD57BA4.js.map} +0 -0
  64. /package/{chunk-7R4SSWEY.js.map → chunk-HXI2NYPO.js.map} +0 -0
  65. /package/{chunk-IEU6XSW5.js.map → chunk-IDXPNDWE.js.map} +0 -0
  66. /package/{computer-use-PB4LNXCU.js.map → computer-use-LBGMJU3E.js.map} +0 -0
  67. /package/{connector-KFLSG2WQ.js.map → connector-YSCD5UKK.js.map} +0 -0
  68. /package/{credit-R26H5QHN.js.map → credit-3RU2G5JG.js.map} +0 -0
  69. /package/{developer-support-Y7RNKJTH.js.map → developer-support-NIVYOD5A.js.map} +0 -0
  70. /package/{doctor-K6BOIL62.js.map → doctor-EAOYULTS.js.map} +0 -0
  71. /package/{feishu-LI3SINCU.js.map → feishu-FBIELF7H.js.map} +0 -0
  72. /package/{finance-SJN3UHTH.js.map → finance-44VXLKJI.js.map} +0 -0
  73. /package/{generate-RXBVINXP.js.map → generate-L6ZOETPQ.js.map} +0 -0
  74. /package/{github-S7ZPKL5Q.js.map → github-BGFLAMOO.js.map} +0 -0
  75. /package/{goal-QY3JEJD5.js.map → goal-XG7LFY7I.js.map} +0 -0
  76. /package/{host-GZH5RHJS.js.map → host-DHYMUPTC.js.map} +0 -0
  77. /package/{logs-5GRE5WAY.js.map → logs-GVWAF6MU.js.map} +0 -0
  78. /package/{mail-2PT5ZIWZ.js.map → mail-IVJEYHBZ.js.map} +0 -0
  79. /package/{maps-IN2UCVFP.js.map → maps-TZNW7NNW.js.map} +0 -0
  80. /package/{model-PWEQPS6R.js.map → model-HDI53F4S.js.map} +0 -0
  81. /package/{model-provider-LA4MKTUV.js.map → model-provider-PMT5UZFW.js.map} +0 -0
  82. /package/{org-KG4LKPZV.js.map → org-5TZVP6FZ.js.map} +0 -0
  83. /package/{people-search-UVOX2TZD.js.map → people-search-YTGBNW6D.js.map} +0 -0
  84. /package/{phone-SOZRDNOK.js.map → phone-2WRBOJKP.js.map} +0 -0
  85. /package/{preference-EDW74L7N.js.map → preference-JG75NHDC.js.map} +0 -0
  86. /package/{recognize-5AK6UOZK.js.map → recognize-323KRKAP.js.map} +0 -0
  87. /package/{resource-UWBZNZ7Q.js.map → resource-7T44AGQ7.js.map} +0 -0
  88. /package/{scrape-6BVY7IQY.js.map → scrape-C6QBZD3G.js.map} +0 -0
  89. /package/{search-HXLHHYC3.js.map → search-DJHCQ44L.js.map} +0 -0
  90. /package/{secret-SXRVG52Q.js.map → secret-PHORSWLH.js.map} +0 -0
  91. /package/{slack-CLP4POQB.js.map → slack-R2R3PAY7.js.map} +0 -0
  92. /package/{teams-TLRVUYTY.js.map → teams-AIKZ54LZ.js.map} +0 -0
  93. /package/{telegram-URIUGNGJ.js.map → telegram-Q7X3VUA7.js.map} +0 -0
  94. /package/{upgrade-X7DU6HLO.js.map → upgrade-CUG54HZN.js.map} +0 -0
  95. /package/{variable-WUYEL65V.js.map → variable-ULQTVWCG.js.map} +0 -0
  96. /package/{video-4CPNBFWY.js.map → video-WXGC2GRR.js.map} +0 -0
  97. /package/{weather-S4L4XU2G.js.map → weather-KO5ARUSQ.js.map} +0 -0
  98. /package/{web-QMET3U3T.js.map → web-STMNCWSR.js.map} +0 -0
  99. /package/{web-search-BOENA4JA.js.map → web-search-YHBKDKXE.js.map} +0 -0
  100. /package/{whoami-TKHAJZ5D.js.map → whoami-FIJ5A7WN.js.map} +0 -0
  101. /package/{workflow-FISYU5OY.js.map → workflow-6ZJ5XJCV.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  connectorPermissionGrantsToFirewallPolicies,
6
6
  loadConnectorPermissionInfos,
7
7
  policyIcon
8
- } from "./chunk-AEWU2YM3.js";
8
+ } from "./chunk-6IN6OKYZ.js";
9
9
  import {
10
10
  isInteractive,
11
11
  promptConfirm
@@ -21,13 +21,13 @@ import {
21
21
  listZeroUserPermissionGrants,
22
22
  updateZeroAgent,
23
23
  updateZeroAgentInstructions
24
- } from "./chunk-O2L7CXVZ.js";
25
- import "./chunk-4QPJ5DOU.js";
24
+ } from "./chunk-6IZATZTU.js";
25
+ import "./chunk-4GU5ZKEO.js";
26
26
  import "./chunk-ANOLYIPL.js";
27
27
  import {
28
28
  source_default,
29
29
  withErrorHandler
30
- } from "./chunk-7R4SSWEY.js";
30
+ } from "./chunk-HXI2NYPO.js";
31
31
  import "./chunk-32FE3MDA.js";
32
32
  import {
33
33
  Command
@@ -597,4 +597,4 @@ Notes:
597
597
  export {
598
598
  zeroAgentCommand
599
599
  };
600
- //# sourceMappingURL=agent-XK6H2544.js.map
600
+ //# sourceMappingURL=agent-FSN2GJMD.js.map
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from "node:module";
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  callZeroBanking
6
- } from "./chunk-O2L7CXVZ.js";
7
- import "./chunk-4QPJ5DOU.js";
6
+ } from "./chunk-6IZATZTU.js";
7
+ import "./chunk-4GU5ZKEO.js";
8
8
  import "./chunk-ANOLYIPL.js";
9
9
  import {
10
10
  source_default,
11
11
  withErrorHandler
12
- } from "./chunk-7R4SSWEY.js";
12
+ } from "./chunk-HXI2NYPO.js";
13
13
  import "./chunk-32FE3MDA.js";
14
14
  import {
15
15
  Command,
@@ -114,4 +114,4 @@ Notes:
114
114
  export {
115
115
  zeroBankingCommand
116
116
  };
117
- //# sourceMappingURL=banking-E5SI3MJU.js.map
117
+ //# sourceMappingURL=banking-DQZ2AEIW.js.map
@@ -8,13 +8,13 @@ import {
8
8
  leaseZeroBrowser,
9
9
  useZeroBrowser,
10
10
  zeroBrowserCreateRequestSchema
11
- } from "./chunk-O2L7CXVZ.js";
12
- import "./chunk-4QPJ5DOU.js";
11
+ } from "./chunk-6IZATZTU.js";
12
+ import "./chunk-4GU5ZKEO.js";
13
13
  import "./chunk-ANOLYIPL.js";
14
14
  import {
15
15
  source_default,
16
16
  withErrorHandler
17
- } from "./chunk-7R4SSWEY.js";
17
+ } from "./chunk-HXI2NYPO.js";
18
18
  import "./chunk-32FE3MDA.js";
19
19
  import {
20
20
  Command,
@@ -173,4 +173,4 @@ Notes:
173
173
  export {
174
174
  zeroBrowserCommand
175
175
  };
176
- //# sourceMappingURL=browser-TH4Y55RS.js.map
176
+ //# sourceMappingURL=browser-NETPPDQ6.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-YL5CDK4E.js";
12
12
  import {
13
13
  formatModelProviderRoute
14
- } from "./chunk-IEU6XSW5.js";
14
+ } from "./chunk-IDXPNDWE.js";
15
15
  import {
16
16
  chatThreadEventSchema,
17
17
  chatThreadSnapshotProjectionSchema,
@@ -27,14 +27,14 @@ import {
27
27
  sendZeroChatEvent,
28
28
  updateZeroChatThreadModelSelection,
29
29
  userMessageDocumentSchema
30
- } from "./chunk-O2L7CXVZ.js";
31
- import "./chunk-4QPJ5DOU.js";
30
+ } from "./chunk-6IZATZTU.js";
31
+ import "./chunk-4GU5ZKEO.js";
32
32
  import "./chunk-ANOLYIPL.js";
33
33
  import {
34
34
  getApiUrl,
35
35
  source_default,
36
36
  withErrorHandler
37
- } from "./chunk-7R4SSWEY.js";
37
+ } from "./chunk-HXI2NYPO.js";
38
38
  import {
39
39
  decodeZeroTokenPayload
40
40
  } from "./chunk-32FE3MDA.js";
@@ -1171,4 +1171,4 @@ Examples:
1171
1171
  export {
1172
1172
  zeroChatCommand
1173
1173
  };
1174
- //# sourceMappingURL=chat-3H5LWT6E.js.map
1174
+ //# sourceMappingURL=chat-A6SB23VM.js.map
@@ -6,7 +6,7 @@ import {
6
6
  getActiveToken,
7
7
  getBaseUrl,
8
8
  headersWithCliClientHeaders
9
- } from "./chunk-7R4SSWEY.js";
9
+ } from "./chunk-HXI2NYPO.js";
10
10
  import {
11
11
  init_esm_shims
12
12
  } from "./chunk-AUWSMG4F.js";
@@ -656,4 +656,4 @@ export {
656
656
  generateWebVideo,
657
657
  transcribeAudio
658
658
  };
659
- //# sourceMappingURL=chunk-4QPJ5DOU.js.map
659
+ //# sourceMappingURL=chunk-4GU5ZKEO.js.map
@@ -4,10 +4,10 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  UNKNOWN_PERMISSION_GRANT,
6
6
  getZeroConnectorCatalogPermissions
7
- } from "./chunk-O2L7CXVZ.js";
7
+ } from "./chunk-6IZATZTU.js";
8
8
  import {
9
9
  source_default
10
- } from "./chunk-7R4SSWEY.js";
10
+ } from "./chunk-HXI2NYPO.js";
11
11
  import {
12
12
  init_esm_shims
13
13
  } from "./chunk-AUWSMG4F.js";
@@ -206,4 +206,4 @@ export {
206
206
  loadConnectorPermissionInfos,
207
207
  connectorPermissionGrantsToFirewallPolicies
208
208
  };
209
- //# sourceMappingURL=chunk-AEWU2YM3.js.map
209
+ //# sourceMappingURL=chunk-6IN6OKYZ.js.map
@@ -21,7 +21,7 @@ import {
21
21
  updateOrgModelPoliciesRequestSchema,
22
22
  upsertModelProviderRequestSchema,
23
23
  upsertModelProviderResponseSchema
24
- } from "./chunk-7R4SSWEY.js";
24
+ } from "./chunk-HXI2NYPO.js";
25
25
  import {
26
26
  __commonJS,
27
27
  __esm,
@@ -6978,11 +6978,35 @@ var runnersHeartbeatContract = c22.router({
6978
6978
  // ../../packages/api-contracts/src/contracts/storages.ts
6979
6979
  init_esm_shims();
6980
6980
  var MAX_FILE_SIZE_BYTES = 104857600;
6981
+ var STORAGE_MANIFEST_MAX_FILES = 5e4;
6982
+ var STORAGE_MANIFEST_MAX_PATH_BYTES = 8 * 1024 * 1024;
6981
6983
  var fileEntryWithHashSchema = external_exports.object({
6982
6984
  path: external_exports.string().min(1, "File path is required"),
6983
6985
  hash: external_exports.string().length(64, "Hash must be SHA-256 (64 hex chars)"),
6984
6986
  size: external_exports.number().int().min(0, "Size must be non-negative").max(MAX_FILE_SIZE_BYTES, "File size exceeds 100MB limit")
6985
6987
  });
6988
+ var storageManifestPathEncoder = new TextEncoder();
6989
+ var storageManifestFilesSchema = external_exports.array(fileEntryWithHashSchema).max(
6990
+ STORAGE_MANIFEST_MAX_FILES,
6991
+ `Storage manifest exceeds ${STORAGE_MANIFEST_MAX_FILES} files`
6992
+ ).refine(
6993
+ (files) => {
6994
+ if (files.length > STORAGE_MANIFEST_MAX_FILES) {
6995
+ return true;
6996
+ }
6997
+ let pathBytes = 0;
6998
+ for (const file of files) {
6999
+ pathBytes += storageManifestPathEncoder.encode(file.path).byteLength;
7000
+ if (pathBytes > STORAGE_MANIFEST_MAX_PATH_BYTES) {
7001
+ return false;
7002
+ }
7003
+ }
7004
+ return true;
7005
+ },
7006
+ {
7007
+ message: `Storage manifest paths exceed ${STORAGE_MANIFEST_MAX_PATH_BYTES} UTF-8 bytes`
7008
+ }
7009
+ );
6986
7010
  var storageChangesSchema = external_exports.object({
6987
7011
  added: external_exports.array(external_exports.string()),
6988
7012
  modified: external_exports.array(external_exports.string()),
@@ -7544,7 +7568,7 @@ var webhookStoragesPrepareContract = c23.router({
7544
7568
  * mounts.
7545
7569
  */
7546
7570
  storageId: external_exports.string().uuid(),
7547
- files: external_exports.array(fileEntryWithHashSchema),
7571
+ files: storageManifestFilesSchema,
7548
7572
  parentVersionId: external_exports.string().optional(),
7549
7573
  force: external_exports.boolean().optional(),
7550
7574
  baseVersion: external_exports.string().optional(),
@@ -7583,7 +7607,7 @@ var webhookStoragesCommitContract = c23.router({
7583
7607
  storageId: external_exports.string().uuid(),
7584
7608
  versionId: external_exports.string().min(1, "Version ID is required"),
7585
7609
  parentVersionId: external_exports.string().optional(),
7586
- files: external_exports.array(fileEntryWithHashSchema),
7610
+ files: storageManifestFilesSchema,
7587
7611
  message: external_exports.string().optional()
7588
7612
  }),
7589
7613
  responses: {
@@ -13524,4 +13548,4 @@ export {
13524
13548
  getHostedSiteFiles,
13525
13549
  getHostedSiteDeployments
13526
13550
  };
13527
- //# sourceMappingURL=chunk-O2L7CXVZ.js.map
13551
+ //# sourceMappingURL=chunk-6IZATZTU.js.map