@vm0/cli 9.258.3 → 9.259.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.
Files changed (109) hide show
  1. package/{agent-3YFWXWCK.js → agent-JQQRVMD7.js} +7 -7
  2. package/{banking-5C3BH6CH.js → banking-KC4W73VE.js} +5 -5
  3. package/{browser-YFUXU5UM.js → browser-LR3DADKC.js} +5 -5
  4. package/{chat-OIH6VPS4.js → chat-VIGRWHPY.js} +6 -6
  5. package/{chunk-H6E7Z574.js → chunk-5MEPMQ7A.js} +92 -15520
  6. package/chunk-5MEPMQ7A.js.map +1 -0
  7. package/{chunk-U2KCI5KZ.js → chunk-EJLAGPIJ.js} +2 -2
  8. package/{chunk-JLN2RRCR.js → chunk-GNZ2MIAC.js} +21 -6
  9. package/chunk-GNZ2MIAC.js.map +1 -0
  10. package/{chunk-7ULUPI3R.js → chunk-H5KBW6P3.js} +4 -4
  11. package/{chunk-TKX4SN4I.js → chunk-LHM5WPCO.js} +3 -3
  12. package/{chunk-WIUYNM7M.js → chunk-O6FQT7NZ.js} +369 -86
  13. package/chunk-O6FQT7NZ.js.map +1 -0
  14. package/{chunk-BEF2DQIX.js → chunk-OI4YMCJU.js} +2 -2
  15. package/{chunk-NA7HNSSZ.js → chunk-PIBXO6CM.js} +113 -15
  16. package/chunk-PIBXO6CM.js.map +1 -0
  17. package/{chunk-DMKM5PND.js → chunk-SKMQRNID.js} +2 -2
  18. package/{chunk-FZJ2XUR4.js → chunk-TMDC4SKZ.js} +2 -2
  19. package/{chunk-HRRR3UPQ.js → chunk-TZEKMC6N.js} +2 -2
  20. package/{chunk-IE6NJ5UQ.js → chunk-YXYURWWD.js} +2 -2
  21. package/{computer-use-NZMZEQLY.js → computer-use-JV3O5BCX.js} +5 -5
  22. package/{connector-3C3IDLI7.js → connector-VVOW4MSD.js} +8 -8
  23. package/{credit-AB52NZMC.js → credit-3JBUIS3Z.js} +7 -7
  24. package/{developer-support-BHII6EHU.js → developer-support-TLA5FL4Y.js} +5 -5
  25. package/{doctor-GXGSMAYS.js → doctor-X6E3PSMM.js} +7 -7
  26. package/{feishu-T2ROCETV.js → feishu-3JGPSMPR.js} +5 -5
  27. package/{finance-UTA6RYUD.js → finance-7IUZQQU7.js} +5 -5
  28. package/{generate-AJRHLIIB.js → generate-VAWWFPAY.js} +63 -19
  29. package/generate-VAWWFPAY.js.map +1 -0
  30. package/{github-NVIULCCZ.js → github-MUZGDKIN.js} +5 -5
  31. package/{goal-U3XU36JH.js → goal-WMCNENJA.js} +5 -5
  32. package/{host-GRKQH64Z.js → host-Z2HQBNVA.js} +5 -5
  33. package/{logs-V7ZXE2TQ.js → logs-WEALPJFB.js} +7 -7
  34. package/{mail-JQUBV2PI.js → mail-J7J3DQON.js} +7 -7
  35. package/{maps-GKFNOGPX.js → maps-H3P2EJE5.js} +5 -5
  36. package/{model-UAJXSOHI.js → model-A4NWK32Y.js} +6 -6
  37. package/{model-provider-I6RHB6YL.js → model-provider-7VHEZL5H.js} +6 -6
  38. package/{org-3HFKGWZJ.js → org-2YK6BT7B.js} +5 -5
  39. package/package.json +1 -1
  40. package/{people-search-ZFB6LHJB.js → people-search-HEGGKU6A.js} +5 -5
  41. package/{phone-WCU2TO6N.js → phone-QU2L7CWL.js} +5 -5
  42. package/{preference-5FUBMK7X.js → preference-GWOW6GFK.js} +5 -5
  43. package/{resource-UUUOZT3H.js → resource-GVGDKYH4.js} +6 -6
  44. package/{scrape-T3IJDQB2.js → scrape-ISQTTO7V.js} +5 -5
  45. package/{search-PJ4WOXXI.js → search-U4AJDSSZ.js} +7 -7
  46. package/{secret-IEPJWEVY.js → secret-CJLCUARN.js} +5 -5
  47. package/{slack-J7R6ZX72.js → slack-CM5JGA32.js} +5 -5
  48. package/{teams-HX55ANK4.js → teams-EV3GC4F7.js} +5 -5
  49. package/{telegram-IGWCS3MB.js → telegram-JHGCORZ2.js} +5 -5
  50. package/{upgrade-IABZ6CX4.js → upgrade-PWJB2KKS.js} +4 -4
  51. package/{variable-PZG3RMCU.js → variable-Z53I5LCW.js} +5 -5
  52. package/{video-5ZN33M7R.js → video-Y23O465D.js} +4 -4
  53. package/{weather-6QKJJPQX.js → weather-HSLWWOVB.js} +5 -5
  54. package/{web-HY3RSUJT.js → web-G3GL5JAY.js} +5 -5
  55. package/{web-search-SACA7N6J.js → web-search-5ZBSTZLR.js} +5 -5
  56. package/{whoami-XCZWHOOX.js → whoami-KFSGXKML.js} +7 -7
  57. package/{workflow-OGLYDZYD.js → workflow-WDHCAEJ6.js} +5 -5
  58. package/zero.js +43 -43
  59. package/chunk-H6E7Z574.js.map +0 -1
  60. package/chunk-JLN2RRCR.js.map +0 -1
  61. package/chunk-NA7HNSSZ.js.map +0 -1
  62. package/chunk-WIUYNM7M.js.map +0 -1
  63. package/generate-AJRHLIIB.js.map +0 -1
  64. /package/{agent-3YFWXWCK.js.map → agent-JQQRVMD7.js.map} +0 -0
  65. /package/{banking-5C3BH6CH.js.map → banking-KC4W73VE.js.map} +0 -0
  66. /package/{browser-YFUXU5UM.js.map → browser-LR3DADKC.js.map} +0 -0
  67. /package/{chat-OIH6VPS4.js.map → chat-VIGRWHPY.js.map} +0 -0
  68. /package/{chunk-U2KCI5KZ.js.map → chunk-EJLAGPIJ.js.map} +0 -0
  69. /package/{chunk-7ULUPI3R.js.map → chunk-H5KBW6P3.js.map} +0 -0
  70. /package/{chunk-TKX4SN4I.js.map → chunk-LHM5WPCO.js.map} +0 -0
  71. /package/{chunk-BEF2DQIX.js.map → chunk-OI4YMCJU.js.map} +0 -0
  72. /package/{chunk-DMKM5PND.js.map → chunk-SKMQRNID.js.map} +0 -0
  73. /package/{chunk-FZJ2XUR4.js.map → chunk-TMDC4SKZ.js.map} +0 -0
  74. /package/{chunk-HRRR3UPQ.js.map → chunk-TZEKMC6N.js.map} +0 -0
  75. /package/{chunk-IE6NJ5UQ.js.map → chunk-YXYURWWD.js.map} +0 -0
  76. /package/{computer-use-NZMZEQLY.js.map → computer-use-JV3O5BCX.js.map} +0 -0
  77. /package/{connector-3C3IDLI7.js.map → connector-VVOW4MSD.js.map} +0 -0
  78. /package/{credit-AB52NZMC.js.map → credit-3JBUIS3Z.js.map} +0 -0
  79. /package/{developer-support-BHII6EHU.js.map → developer-support-TLA5FL4Y.js.map} +0 -0
  80. /package/{doctor-GXGSMAYS.js.map → doctor-X6E3PSMM.js.map} +0 -0
  81. /package/{feishu-T2ROCETV.js.map → feishu-3JGPSMPR.js.map} +0 -0
  82. /package/{finance-UTA6RYUD.js.map → finance-7IUZQQU7.js.map} +0 -0
  83. /package/{github-NVIULCCZ.js.map → github-MUZGDKIN.js.map} +0 -0
  84. /package/{goal-U3XU36JH.js.map → goal-WMCNENJA.js.map} +0 -0
  85. /package/{host-GRKQH64Z.js.map → host-Z2HQBNVA.js.map} +0 -0
  86. /package/{logs-V7ZXE2TQ.js.map → logs-WEALPJFB.js.map} +0 -0
  87. /package/{mail-JQUBV2PI.js.map → mail-J7J3DQON.js.map} +0 -0
  88. /package/{maps-GKFNOGPX.js.map → maps-H3P2EJE5.js.map} +0 -0
  89. /package/{model-UAJXSOHI.js.map → model-A4NWK32Y.js.map} +0 -0
  90. /package/{model-provider-I6RHB6YL.js.map → model-provider-7VHEZL5H.js.map} +0 -0
  91. /package/{org-3HFKGWZJ.js.map → org-2YK6BT7B.js.map} +0 -0
  92. /package/{people-search-ZFB6LHJB.js.map → people-search-HEGGKU6A.js.map} +0 -0
  93. /package/{phone-WCU2TO6N.js.map → phone-QU2L7CWL.js.map} +0 -0
  94. /package/{preference-5FUBMK7X.js.map → preference-GWOW6GFK.js.map} +0 -0
  95. /package/{resource-UUUOZT3H.js.map → resource-GVGDKYH4.js.map} +0 -0
  96. /package/{scrape-T3IJDQB2.js.map → scrape-ISQTTO7V.js.map} +0 -0
  97. /package/{search-PJ4WOXXI.js.map → search-U4AJDSSZ.js.map} +0 -0
  98. /package/{secret-IEPJWEVY.js.map → secret-CJLCUARN.js.map} +0 -0
  99. /package/{slack-J7R6ZX72.js.map → slack-CM5JGA32.js.map} +0 -0
  100. /package/{teams-HX55ANK4.js.map → teams-EV3GC4F7.js.map} +0 -0
  101. /package/{telegram-IGWCS3MB.js.map → telegram-JHGCORZ2.js.map} +0 -0
  102. /package/{upgrade-IABZ6CX4.js.map → upgrade-PWJB2KKS.js.map} +0 -0
  103. /package/{variable-PZG3RMCU.js.map → variable-Z53I5LCW.js.map} +0 -0
  104. /package/{video-5ZN33M7R.js.map → video-Y23O465D.js.map} +0 -0
  105. /package/{weather-6QKJJPQX.js.map → weather-HSLWWOVB.js.map} +0 -0
  106. /package/{web-HY3RSUJT.js.map → web-G3GL5JAY.js.map} +0 -0
  107. /package/{web-search-SACA7N6J.js.map → web-search-5ZBSTZLR.js.map} +0 -0
  108. /package/{whoami-XCZWHOOX.js.map → whoami-KFSGXKML.js.map} +0 -0
  109. /package/{workflow-OGLYDZYD.js.map → workflow-WDHCAEJ6.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  getActiveToken,
7
7
  getBaseUrl,
8
8
  headersWithCliClientHeaders
9
- } from "./chunk-TKX4SN4I.js";
9
+ } from "./chunk-LHM5WPCO.js";
10
10
  import {
11
11
  init_esm_shims
12
12
  } from "./chunk-3VVCUQPB.js";
@@ -648,4 +648,4 @@ export {
648
648
  generateWebVideo,
649
649
  transcribeAudio
650
650
  };
651
- //# sourceMappingURL=chunk-DMKM5PND.js.map
651
+ //# sourceMappingURL=chunk-SKMQRNID.js.map
@@ -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-TKX4SN4I.js";
6
+ } from "./chunk-LHM5WPCO.js";
7
7
  import {
8
8
  init_esm_shims
9
9
  } from "./chunk-3VVCUQPB.js";
@@ -40,4 +40,4 @@ export {
40
40
  formatModelProviderRoute,
41
41
  formatModelPolicyStatus
42
42
  };
43
- //# sourceMappingURL=chunk-FZJ2XUR4.js.map
43
+ //# sourceMappingURL=chunk-TMDC4SKZ.js.map
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  getApiUrl
6
- } from "./chunk-TKX4SN4I.js";
6
+ } from "./chunk-LHM5WPCO.js";
7
7
  import {
8
8
  init_esm_shims
9
9
  } from "./chunk-3VVCUQPB.js";
@@ -42,4 +42,4 @@ export {
42
42
  toPlatformUrl,
43
43
  getPlatformOrigin
44
44
  };
45
- //# sourceMappingURL=chunk-HRRR3UPQ.js.map
45
+ //# sourceMappingURL=chunk-TZEKMC6N.js.map
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  getZeroAgent,
6
6
  getZeroAgentUserConnectors
7
- } from "./chunk-WIUYNM7M.js";
7
+ } from "./chunk-O6FQT7NZ.js";
8
8
  import {
9
9
  init_esm_shims
10
10
  } from "./chunk-3VVCUQPB.js";
@@ -347,4 +347,4 @@ export {
347
347
  resolveManualGrantAuthMethod,
348
348
  resolveAgentContext
349
349
  };
350
- //# sourceMappingURL=chunk-IE6NJ5UQ.js.map
350
+ //# sourceMappingURL=chunk-YXYURWWD.js.map
@@ -12,13 +12,13 @@ import {
12
12
  fetchComputerUseScreenshot,
13
13
  getComputerUseCommand,
14
14
  listComputerUseHosts
15
- } from "./chunk-WIUYNM7M.js";
16
- import "./chunk-DMKM5PND.js";
15
+ } from "./chunk-O6FQT7NZ.js";
16
+ import "./chunk-SKMQRNID.js";
17
17
  import {
18
18
  ApiRequestError,
19
19
  withErrorHandler
20
- } from "./chunk-TKX4SN4I.js";
21
- import "./chunk-JLN2RRCR.js";
20
+ } from "./chunk-LHM5WPCO.js";
21
+ import "./chunk-GNZ2MIAC.js";
22
22
  import {
23
23
  Command
24
24
  } from "./chunk-LD4ZVU4O.js";
@@ -970,4 +970,4 @@ export {
970
970
  formatComputerUseResultForConsole,
971
971
  zeroComputerUseCommand
972
972
  };
973
- //# sourceMappingURL=computer-use-NZMZEQLY.js.map
973
+ //# sourceMappingURL=computer-use-JV3O5BCX.js.map
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  findFirewallMetadataPermission
6
- } from "./chunk-U2KCI5KZ.js";
6
+ } from "./chunk-EJLAGPIJ.js";
7
7
  import {
8
8
  CALLBACK_PROMPT_PLACEHOLDER,
9
9
  addRequestedCallbackSearchParams,
@@ -17,7 +17,7 @@ import {
17
17
  resolveAgentContext,
18
18
  resolveManualGrantAuthMethod,
19
19
  searchPublicConnectorCatalog
20
- } from "./chunk-IE6NJ5UQ.js";
20
+ } from "./chunk-YXYURWWD.js";
21
21
  import {
22
22
  UNKNOWN_PERMISSION_GRANT,
23
23
  connectZeroConnectorManualGrant,
@@ -32,20 +32,20 @@ import {
32
32
  getZeroCustomConnector,
33
33
  listZeroConnectorCatalogStatus,
34
34
  listZeroCustomConnectors
35
- } from "./chunk-WIUYNM7M.js";
36
- import "./chunk-DMKM5PND.js";
35
+ } from "./chunk-O6FQT7NZ.js";
36
+ import "./chunk-SKMQRNID.js";
37
37
  import {
38
38
  getPlatformOrigin,
39
39
  toPlatformUrl
40
- } from "./chunk-HRRR3UPQ.js";
40
+ } from "./chunk-TZEKMC6N.js";
41
41
  import "./chunk-SB7EZ2ZO.js";
42
42
  import {
43
43
  ApiRequestError,
44
44
  getApiUrl,
45
45
  source_default,
46
46
  withErrorHandler
47
- } from "./chunk-TKX4SN4I.js";
48
- import "./chunk-JLN2RRCR.js";
47
+ } from "./chunk-LHM5WPCO.js";
48
+ import "./chunk-GNZ2MIAC.js";
49
49
  import {
50
50
  Command,
51
51
  Option
@@ -1489,4 +1489,4 @@ var zeroConnectorCommand = new Command().name("connector").description("Manage a
1489
1489
  export {
1490
1490
  zeroConnectorCommand
1491
1491
  };
1492
- //# sourceMappingURL=connector-3C3IDLI7.js.map
1492
+ //# sourceMappingURL=connector-VVOW4MSD.js.map
@@ -5,27 +5,27 @@ import {
5
5
  currentPlanAllowsVideo,
6
6
  currentPlanCanBuyCredits,
7
7
  currentTokenCanReadBilling
8
- } from "./chunk-BEF2DQIX.js";
8
+ } from "./chunk-OI4YMCJU.js";
9
9
  import {
10
10
  createZeroCreditCheckout,
11
11
  getZeroBillingStatus,
12
12
  getZeroOrgMembers
13
- } from "./chunk-WIUYNM7M.js";
14
- import "./chunk-DMKM5PND.js";
13
+ } from "./chunk-O6FQT7NZ.js";
14
+ import "./chunk-SKMQRNID.js";
15
15
  import {
16
16
  planUpgradeUrl
17
17
  } from "./chunk-W75R7EZF.js";
18
18
  import {
19
19
  getPlatformOrigin
20
- } from "./chunk-HRRR3UPQ.js";
20
+ } from "./chunk-TZEKMC6N.js";
21
21
  import "./chunk-SB7EZ2ZO.js";
22
22
  import {
23
23
  source_default,
24
24
  withErrorHandler
25
- } from "./chunk-TKX4SN4I.js";
25
+ } from "./chunk-LHM5WPCO.js";
26
26
  import {
27
27
  decodeZeroTokenPayload
28
- } from "./chunk-JLN2RRCR.js";
28
+ } from "./chunk-GNZ2MIAC.js";
29
29
  import {
30
30
  Command,
31
31
  Option
@@ -163,4 +163,4 @@ var zeroCreditCommand = new Command().name("credit").description("View credit ba
163
163
  export {
164
164
  zeroCreditCommand
165
165
  };
166
- //# sourceMappingURL=credit-AB52NZMC.js.map
166
+ //# sourceMappingURL=credit-3JBUIS3Z.js.map
@@ -4,13 +4,13 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  requestDeveloperSupportConsent,
6
6
  submitDeveloperSupport
7
- } from "./chunk-WIUYNM7M.js";
8
- import "./chunk-DMKM5PND.js";
7
+ } from "./chunk-O6FQT7NZ.js";
8
+ import "./chunk-SKMQRNID.js";
9
9
  import "./chunk-SB7EZ2ZO.js";
10
10
  import {
11
11
  withErrorHandler
12
- } from "./chunk-TKX4SN4I.js";
13
- import "./chunk-JLN2RRCR.js";
12
+ } from "./chunk-LHM5WPCO.js";
13
+ import "./chunk-GNZ2MIAC.js";
14
14
  import {
15
15
  Command
16
16
  } from "./chunk-LD4ZVU4O.js";
@@ -61,4 +61,4 @@ Notes:
61
61
  export {
62
62
  zeroDeveloperSupportCommand
63
63
  };
64
- //# sourceMappingURL=developer-support-BHII6EHU.js.map
64
+ //# sourceMappingURL=developer-support-TLA5FL4Y.js.map
@@ -4,25 +4,25 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  currentPlanAllowsVideo,
6
6
  currentPlanCanBuyCredits
7
- } from "./chunk-BEF2DQIX.js";
7
+ } from "./chunk-OI4YMCJU.js";
8
8
  import {
9
9
  getZeroBillingStatus,
10
10
  getZeroOrg,
11
11
  getZeroOrgMembers
12
- } from "./chunk-WIUYNM7M.js";
13
- import "./chunk-DMKM5PND.js";
12
+ } from "./chunk-O6FQT7NZ.js";
13
+ import "./chunk-SKMQRNID.js";
14
14
  import {
15
15
  planUpgradeUrl
16
16
  } from "./chunk-W75R7EZF.js";
17
17
  import {
18
18
  getPlatformOrigin
19
- } from "./chunk-HRRR3UPQ.js";
19
+ } from "./chunk-TZEKMC6N.js";
20
20
  import "./chunk-SB7EZ2ZO.js";
21
21
  import {
22
22
  source_default,
23
23
  withErrorHandler
24
- } from "./chunk-TKX4SN4I.js";
25
- import "./chunk-JLN2RRCR.js";
24
+ } from "./chunk-LHM5WPCO.js";
25
+ import "./chunk-GNZ2MIAC.js";
26
26
  import {
27
27
  Command
28
28
  } from "./chunk-LD4ZVU4O.js";
@@ -122,4 +122,4 @@ Notes:
122
122
  export {
123
123
  zeroDoctorCommand
124
124
  };
125
- //# sourceMappingURL=doctor-GXGSMAYS.js.map
125
+ //# sourceMappingURL=doctor-X6E3PSMM.js.map
@@ -7,14 +7,14 @@ import {
7
7
  downloadFeishuFile,
8
8
  initFeishuFileUpload,
9
9
  sendFeishuMessage
10
- } from "./chunk-WIUYNM7M.js";
11
- import "./chunk-DMKM5PND.js";
10
+ } from "./chunk-O6FQT7NZ.js";
11
+ import "./chunk-SKMQRNID.js";
12
12
  import "./chunk-SB7EZ2ZO.js";
13
13
  import {
14
14
  source_default,
15
15
  withErrorHandler
16
- } from "./chunk-TKX4SN4I.js";
17
- import "./chunk-JLN2RRCR.js";
16
+ } from "./chunk-LHM5WPCO.js";
17
+ import "./chunk-GNZ2MIAC.js";
18
18
  import {
19
19
  Command
20
20
  } from "./chunk-LD4ZVU4O.js";
@@ -274,4 +274,4 @@ Examples:
274
274
  export {
275
275
  zeroFeishuCommand
276
276
  };
277
- //# sourceMappingURL=feishu-T2ROCETV.js.map
277
+ //# sourceMappingURL=feishu-3JGPSMPR.js.map
@@ -14,14 +14,14 @@ import {
14
14
  zeroFinanceQuoteRequestSchema,
15
15
  zeroFinanceRangeSchema,
16
16
  zeroFinanceSearchRequestSchema
17
- } from "./chunk-WIUYNM7M.js";
18
- import "./chunk-DMKM5PND.js";
17
+ } from "./chunk-O6FQT7NZ.js";
18
+ import "./chunk-SKMQRNID.js";
19
19
  import "./chunk-SB7EZ2ZO.js";
20
20
  import {
21
21
  source_default,
22
22
  withErrorHandler
23
- } from "./chunk-TKX4SN4I.js";
24
- import "./chunk-JLN2RRCR.js";
23
+ } from "./chunk-LHM5WPCO.js";
24
+ import "./chunk-GNZ2MIAC.js";
25
25
  import {
26
26
  Command,
27
27
  InvalidArgumentError,
@@ -125,4 +125,4 @@ Notes:
125
125
  export {
126
126
  zeroFinanceCommand
127
127
  };
128
- //# sourceMappingURL=finance-UTA6RYUD.js.map
128
+ //# sourceMappingURL=finance-7IUZQQU7.js.map
@@ -18,35 +18,35 @@ import {
18
18
  resolvePresentationRunbookColorToken,
19
19
  selectResourceCandidates,
20
20
  toGenerationTarget
21
- } from "./chunk-NA7HNSSZ.js";
21
+ } from "./chunk-PIBXO6CM.js";
22
22
  import {
23
23
  currentPlanAllowsVideo,
24
24
  currentTokenCanReadBilling
25
- } from "./chunk-BEF2DQIX.js";
25
+ } from "./chunk-OI4YMCJU.js";
26
26
  import {
27
27
  getZeroAgentUserConnectors,
28
28
  getZeroBillingStatus,
29
29
  listZeroConnectorCatalog,
30
30
  listZeroConnectorCatalogStatus
31
- } from "./chunk-WIUYNM7M.js";
31
+ } from "./chunk-O6FQT7NZ.js";
32
32
  import {
33
33
  generateWebImage,
34
34
  generateWebVideo,
35
35
  generateWebVoice
36
- } from "./chunk-DMKM5PND.js";
36
+ } from "./chunk-SKMQRNID.js";
37
37
  import {
38
38
  planUpgradeUrl
39
39
  } from "./chunk-W75R7EZF.js";
40
40
  import {
41
41
  getPlatformOrigin
42
- } from "./chunk-HRRR3UPQ.js";
42
+ } from "./chunk-TZEKMC6N.js";
43
43
  import "./chunk-SB7EZ2ZO.js";
44
44
  import {
45
45
  ApiRequestError,
46
46
  source_default,
47
47
  withErrorHandler
48
- } from "./chunk-TKX4SN4I.js";
49
- import "./chunk-JLN2RRCR.js";
48
+ } from "./chunk-LHM5WPCO.js";
49
+ import "./chunk-GNZ2MIAC.js";
50
50
  import {
51
51
  Command,
52
52
  InvalidArgumentError,
@@ -754,11 +754,21 @@ async function runLister(generationType, options = {}) {
754
754
  async function dispatchGenerate(options) {
755
755
  const provider = options.provider?.trim();
756
756
  if (provider && provider !== "built-in") {
757
+ if (options.requireExecutionFor) {
758
+ throw new Error(
759
+ `${options.requireExecutionFor} is only available for direct built-in generation`
760
+ );
761
+ }
757
762
  await printConnectorGuidance(options.generationType, provider);
758
763
  return { outcome: "handled" };
759
764
  }
760
765
  const resolvedPrompt = resolvePrompt(options.prompt);
761
766
  if (resolvedPrompt === null) {
767
+ if (options.requireExecutionFor) {
768
+ throw new Error(
769
+ `${options.requireExecutionFor} is only available for direct built-in generation`
770
+ );
771
+ }
762
772
  if (options.listOnMissingPrompt === false) {
763
773
  throw new Error(options.missingPromptError ?? "Prompt is required");
764
774
  }
@@ -910,7 +920,7 @@ function createImageGenerateCommand(config) {
910
920
  ).option(
911
921
  "--all",
912
922
  "When listing providers (no --prompt given), include unavailable or not-yet-authorized connectors"
913
- ).option(
923
+ ).option("--json", "Print the complete generation result as JSON").option(
914
924
  "--model <model>",
915
925
  "Model: gpt-image-1 (default), gpt-image-2, gpt-image-1.5, gpt-image-1-mini, flux-pro-1.1, flux-pro-1.1-ultra, qwen-image, seedream4, or nano-banana-2",
916
926
  "gpt-image-1"
@@ -963,8 +973,9 @@ ${config.examples}
963
973
 
964
974
  Output:
965
975
  Prints the generated /f/ image file URL and metadata with --compiled-prompt
966
- or --raw-prompt. With --style <id> --prompt "..." --compile, prints a
967
- prompt-compilation packet for the current agent.
976
+ or --raw-prompt. Use --json for the complete result object. With
977
+ --style <id> --prompt "..." --compile, prints a prompt-compilation packet
978
+ for the current agent.
968
979
 
969
980
  Notes:
970
981
  - Authenticates via ZERO_TOKEN (requires file:write capability)
@@ -1014,12 +1025,18 @@ ${formatRegistryListing(styles, "image styles")}`;
1014
1025
  prompt: resolvePromptInput(options),
1015
1026
  all: options.all,
1016
1027
  listOnMissingPrompt: !hasImagePromptModeRequest(options),
1017
- missingPromptError: options.compile || options.style ? "--compile requires --prompt <text> or piped stdin" : void 0
1028
+ missingPromptError: options.compile || options.style ? "--compile requires --prompt <text> or piped stdin" : void 0,
1029
+ requireExecutionFor: options.json ? "--json" : void 0
1018
1030
  });
1019
1031
  if (dispatch.outcome === "handled") return;
1020
1032
  const resolvedPrompt = dispatch.prompt;
1021
1033
  const mode = resolveImagePromptMode(options, config.usageCommand);
1022
1034
  if (mode === "compile") {
1035
+ if (options.json) {
1036
+ throw new Error(
1037
+ "--json is only available for direct built-in generation"
1038
+ );
1039
+ }
1023
1040
  const styleId = options.style;
1024
1041
  if (!styleId) {
1025
1042
  throw new Error("--compile requires --style <id>");
@@ -1074,6 +1091,10 @@ ${formatRegistryListing(styles, "image styles")}`;
1074
1091
  inputFidelity,
1075
1092
  imagePromptStrength
1076
1093
  });
1094
+ if (options.json) {
1095
+ console.log(JSON.stringify(result));
1096
+ return;
1097
+ }
1077
1098
  console.log(source_default.green(`\u2713 Image generated: ${result.url}`));
1078
1099
  console.log(source_default.dim(` File: ${result.filename}`));
1079
1100
  console.log(source_default.dim(` Size: ${result.imageSize}`));
@@ -2375,7 +2396,7 @@ function createVideoGenerateCommand(config) {
2375
2396
  ).option("--template <id>", "Registered video template id").option(
2376
2397
  "--all",
2377
2398
  "When listing providers (no --prompt given), include unavailable or not-yet-authorized connectors"
2378
- ).option(
2399
+ ).option("--json", "Print the complete generation result as JSON").option(
2379
2400
  "--model <model>",
2380
2401
  "Model: dreamina-seedance-2.0-fast, dreamina-seedance-2.0, seedance-1.5-pro, veo3.1-fast, or kling-v3-4k",
2381
2402
  "dreamina-seedance-2.0-fast"
@@ -2409,7 +2430,8 @@ Examples:
2409
2430
  ${config.examples}
2410
2431
 
2411
2432
  Output:
2412
- Prints the generated /f/ video file URL and metadata
2433
+ Prints the generated /f/ video file URL and metadata. Use --json for the
2434
+ complete result object.
2413
2435
 
2414
2436
  Notes:
2415
2437
  - Authenticates via ZERO_TOKEN (requires file:write capability)
@@ -2434,11 +2456,17 @@ Models:
2434
2456
  generationType: config.generationType,
2435
2457
  provider: options.provider,
2436
2458
  prompt: options.prompt,
2437
- all: options.all
2459
+ all: options.all,
2460
+ requireExecutionFor: options.json ? "--json" : void 0
2438
2461
  });
2439
2462
  if (dispatch.outcome === "handled") return;
2440
2463
  const prompt = dispatch.prompt;
2441
2464
  if (options.template) {
2465
+ if (options.json) {
2466
+ throw new Error(
2467
+ "--json is only available for direct built-in generation"
2468
+ );
2469
+ }
2442
2470
  const template = findVideoTemplate(options.template);
2443
2471
  if (!template) {
2444
2472
  throw unknownTemplateError3(options.template, config.usageCommand);
@@ -2479,6 +2507,10 @@ Models:
2479
2507
  firstFrameImageUrl: options.firstFrameImageUrl,
2480
2508
  lastFrameImageUrl: options.lastFrameImageUrl
2481
2509
  });
2510
+ if (options.json) {
2511
+ console.log(JSON.stringify(result));
2512
+ return;
2513
+ }
2482
2514
  console.log(source_default.green(`\u2713 Video generated: ${result.url}`));
2483
2515
  console.log(source_default.dim(` File: ${result.filename}`));
2484
2516
  console.log(source_default.dim(` Duration: ${result.duration}`));
@@ -2610,6 +2642,11 @@ ${formatRegistryListing(templates, "website templates")}`;
2610
2642
  }
2611
2643
  resolvedTemplate = entry;
2612
2644
  }
2645
+ const templateSelectionRules = resolvedTemplate ? ["Use the explicitly selected template."] : [
2646
+ "For landing, marketing, official brand or product, and launch pages, select a vm0 built-in website template.",
2647
+ "For other HTML or website requests, select an Open Design template based on intent; when ambiguous, prefer Open Design.",
2648
+ "Built-in website candidates have `source.archive`; candidates without it are Open Design templates."
2649
+ ];
2613
2650
  const packet = createHtmlArtifactAuthoringPacket({
2614
2651
  kind: "website",
2615
2652
  prompt,
@@ -2622,6 +2659,7 @@ ${formatRegistryListing(templates, "website templates")}`;
2622
2659
  ],
2623
2660
  artifactRules: [
2624
2661
  "Build the usable website as the first screen; do not output a landing-page plan.",
2662
+ ...templateSelectionRules,
2625
2663
  "If it is a marketing site, make the product or offer visible in the first viewport.",
2626
2664
  "For app or tool surfaces, prioritize dense, scannable, task-focused UI over decorative sections.",
2627
2665
  "Use responsive HTML/CSS and verify the page works at mobile and desktop widths."
@@ -2643,15 +2681,16 @@ function createVoiceGenerateCommand(config) {
2643
2681
  ).option(
2644
2682
  "--all",
2645
2683
  "When listing providers (no --prompt given), include unavailable or not-yet-authorized connectors"
2646
- ).option("--voice <voice>", "OpenAI voice to use", "marin").option("--instructions <text>", "Voice style instructions").addHelpText(
2684
+ ).option("--json", "Print the complete generation result as JSON").option("--voice <voice>", "OpenAI voice to use", "marin").option("--instructions <text>", "Voice style instructions").addHelpText(
2647
2685
  "after",
2648
2686
  `
2649
2687
  Examples:
2650
2688
  ${config.examples}
2651
2689
 
2652
2690
  Output:
2653
- Prints the generated /f/ audio file URL and metadata. With no --prompt
2654
- and no piped input, prints the provider menu instead.
2691
+ Prints the generated /f/ audio file URL and metadata. Use --json for the
2692
+ complete result object. With no --prompt and no piped input, prints the
2693
+ provider menu instead.
2655
2694
 
2656
2695
  Notes:
2657
2696
  - Authenticates via ZERO_TOKEN (requires file:write capability)
@@ -2663,7 +2702,8 @@ Notes:
2663
2702
  generationType: config.generationType,
2664
2703
  provider: options.provider,
2665
2704
  prompt: options.prompt ?? options.text,
2666
- all: options.all
2705
+ all: options.all,
2706
+ requireExecutionFor: options.json ? "--json" : void 0
2667
2707
  });
2668
2708
  if (dispatch.outcome === "handled") return;
2669
2709
  const text = dispatch.prompt;
@@ -2672,6 +2712,10 @@ Notes:
2672
2712
  voice: options.voice,
2673
2713
  instructions: options.instructions
2674
2714
  });
2715
+ if (options.json) {
2716
+ console.log(JSON.stringify(result));
2717
+ return;
2718
+ }
2675
2719
  console.log(source_default.green(`\u2713 Voice generated: ${result.url}`));
2676
2720
  console.log(source_default.dim(` File: ${result.filename}`));
2677
2721
  console.log(source_default.dim(` Duration: ${result.durationSeconds}s`));
@@ -2784,4 +2828,4 @@ var generateCommand = new Command().name("generate").description(
2784
2828
  export {
2785
2829
  generateCommand
2786
2830
  };
2787
- //# sourceMappingURL=generate-AJRHLIIB.js.map
2831
+ //# sourceMappingURL=generate-VAWWFPAY.js.map