@vm0/cli 9.263.1 → 9.264.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 (107) hide show
  1. package/{agent-A37X5XHI.js → agent-KRVTXAOE.js} +6 -6
  2. package/{banking-UO5BT4LV.js → banking-QBRETSHD.js} +4 -4
  3. package/{browser-4QRQVLDA.js → browser-MQ3GQJ5U.js} +4 -4
  4. package/{chat-QB6VZHUD.js → chat-AVYE5DM6.js} +38 -16
  5. package/chat-AVYE5DM6.js.map +1 -0
  6. package/{chunk-RM3CRZ3V.js → chunk-4FZPFRJH.js} +2 -2
  7. package/{chunk-MM2THXZU.js → chunk-52KFOVUA.js} +17 -55
  8. package/chunk-52KFOVUA.js.map +1 -0
  9. package/{chunk-WNXAEDU7.js → chunk-5NWS76CB.js} +394 -204
  10. package/chunk-5NWS76CB.js.map +1 -0
  11. package/{chunk-3XRJTKOC.js → chunk-FXM2FONE.js} +2 -2
  12. package/{chunk-R5PFPDVD.js → chunk-GXNS5T7H.js} +2 -2
  13. package/{chunk-7QZTAAET.js → chunk-HZ4TCSCL.js} +4 -4
  14. package/chunk-LN2ATWKS.js +96 -0
  15. package/chunk-LN2ATWKS.js.map +1 -0
  16. package/{chunk-SZFRTXBU.js → chunk-LPA5CSUN.js} +2 -2
  17. package/{chunk-WFGOVUAO.js → chunk-LWBBI7NL.js} +11 -4
  18. package/chunk-LWBBI7NL.js.map +1 -0
  19. package/{chunk-42RDOHNK.js → chunk-OYVARVJ4.js} +2 -2
  20. package/{chunk-INWHTFKO.js → chunk-XX7HZFVS.js} +2 -2
  21. package/{computer-use-4G526LVW.js → computer-use-GFBPVCU6.js} +4 -4
  22. package/{connector-OSF6NAZ3.js → connector-CVNVQ2FS.js} +7 -7
  23. package/{credit-ILE37NVC.js → credit-FGJ4YRL4.js} +5 -5
  24. package/{developer-support-CS4NUQKS.js → developer-support-XJKZ7VM3.js} +4 -4
  25. package/{doctor-FDGQRZX4.js → doctor-ZMKXNLJY.js} +5 -5
  26. package/{feishu-IZNLUXA6.js → feishu-IJ3JASUR.js} +4 -4
  27. package/{finance-MI4RQTGE.js → finance-JKPM2EFQ.js} +4 -4
  28. package/{generate-TBMH5BJW.js → generate-3ZVBU4ON.js} +5 -5
  29. package/{github-NC36DPAV.js → github-LAXAOMUA.js} +4 -4
  30. package/{goal-E3O4CE6U.js → goal-VKVFUSJK.js} +4 -4
  31. package/{host-SEROEJ3X.js → host-72KTJI5D.js} +4 -4
  32. package/{logs-FX6QR3NW.js → logs-EX4R6ZV7.js} +7 -6
  33. package/{logs-FX6QR3NW.js.map → logs-EX4R6ZV7.js.map} +1 -1
  34. package/{mail-OJG76J7H.js → mail-RBEDA42M.js} +6 -6
  35. package/{maps-WQN5C55Q.js → maps-HMQAR5G7.js} +4 -4
  36. package/{model-TRIO5V3B.js → model-ANIDYLR3.js} +5 -5
  37. package/{model-provider-F7IDCMER.js → model-provider-RMFP42QT.js} +5 -5
  38. package/{org-L2H5G7UT.js → org-JED6LLWL.js} +4 -4
  39. package/package.json +1 -1
  40. package/{people-search-C543ABM2.js → people-search-OGILIEGA.js} +4 -4
  41. package/{phone-LIC3TOX5.js → phone-RNXHRHQO.js} +4 -4
  42. package/{preference-F2WEDROK.js → preference-BI26FJNI.js} +4 -4
  43. package/{resource-L3FONGQH.js → resource-DPAXSL3G.js} +4 -4
  44. package/{scrape-YTZCRV4O.js → scrape-DG3FZR27.js} +4 -4
  45. package/{search-5CMFCJEU.js → search-XYHWGZKU.js} +7 -6
  46. package/{search-5CMFCJEU.js.map → search-XYHWGZKU.js.map} +1 -1
  47. package/{secret-TOACFEGT.js → secret-GTKJZ32T.js} +4 -4
  48. package/{slack-24WMW2IR.js → slack-NCZP6TP5.js} +4 -4
  49. package/{teams-4JCSRJHR.js → teams-CUUCFIUH.js} +4 -4
  50. package/{telegram-N6CYEREV.js → telegram-SRGYEAHB.js} +4 -4
  51. package/{upgrade-26SROMUW.js → upgrade-EZAQOAU2.js} +3 -3
  52. package/{variable-4D7HYG5Z.js → variable-BHUUNTGW.js} +4 -4
  53. package/{video-Y2W66YOG.js → video-KDOONJZI.js} +3 -3
  54. package/{weather-QCUKUCSB.js → weather-FJ3R54OJ.js} +4 -4
  55. package/{web-K7ZZLS6C.js → web-ZW2B3ERP.js} +4 -4
  56. package/{web-search-CTSJQ6KG.js → web-search-KHYGITJK.js} +4 -4
  57. package/{whoami-XQRDEJ4Y.js → whoami-2DJHYCHI.js} +6 -6
  58. package/{workflow-3OEX2DBN.js → workflow-VYAAHYT7.js} +185 -13
  59. package/workflow-VYAAHYT7.js.map +1 -0
  60. package/zero.js +43 -43
  61. package/chat-QB6VZHUD.js.map +0 -1
  62. package/chunk-MM2THXZU.js.map +0 -1
  63. package/chunk-WFGOVUAO.js.map +0 -1
  64. package/chunk-WNXAEDU7.js.map +0 -1
  65. package/workflow-3OEX2DBN.js.map +0 -1
  66. /package/{agent-A37X5XHI.js.map → agent-KRVTXAOE.js.map} +0 -0
  67. /package/{banking-UO5BT4LV.js.map → banking-QBRETSHD.js.map} +0 -0
  68. /package/{browser-4QRQVLDA.js.map → browser-MQ3GQJ5U.js.map} +0 -0
  69. /package/{chunk-RM3CRZ3V.js.map → chunk-4FZPFRJH.js.map} +0 -0
  70. /package/{chunk-3XRJTKOC.js.map → chunk-FXM2FONE.js.map} +0 -0
  71. /package/{chunk-R5PFPDVD.js.map → chunk-GXNS5T7H.js.map} +0 -0
  72. /package/{chunk-7QZTAAET.js.map → chunk-HZ4TCSCL.js.map} +0 -0
  73. /package/{chunk-SZFRTXBU.js.map → chunk-LPA5CSUN.js.map} +0 -0
  74. /package/{chunk-42RDOHNK.js.map → chunk-OYVARVJ4.js.map} +0 -0
  75. /package/{chunk-INWHTFKO.js.map → chunk-XX7HZFVS.js.map} +0 -0
  76. /package/{computer-use-4G526LVW.js.map → computer-use-GFBPVCU6.js.map} +0 -0
  77. /package/{connector-OSF6NAZ3.js.map → connector-CVNVQ2FS.js.map} +0 -0
  78. /package/{credit-ILE37NVC.js.map → credit-FGJ4YRL4.js.map} +0 -0
  79. /package/{developer-support-CS4NUQKS.js.map → developer-support-XJKZ7VM3.js.map} +0 -0
  80. /package/{doctor-FDGQRZX4.js.map → doctor-ZMKXNLJY.js.map} +0 -0
  81. /package/{feishu-IZNLUXA6.js.map → feishu-IJ3JASUR.js.map} +0 -0
  82. /package/{finance-MI4RQTGE.js.map → finance-JKPM2EFQ.js.map} +0 -0
  83. /package/{generate-TBMH5BJW.js.map → generate-3ZVBU4ON.js.map} +0 -0
  84. /package/{github-NC36DPAV.js.map → github-LAXAOMUA.js.map} +0 -0
  85. /package/{goal-E3O4CE6U.js.map → goal-VKVFUSJK.js.map} +0 -0
  86. /package/{host-SEROEJ3X.js.map → host-72KTJI5D.js.map} +0 -0
  87. /package/{mail-OJG76J7H.js.map → mail-RBEDA42M.js.map} +0 -0
  88. /package/{maps-WQN5C55Q.js.map → maps-HMQAR5G7.js.map} +0 -0
  89. /package/{model-TRIO5V3B.js.map → model-ANIDYLR3.js.map} +0 -0
  90. /package/{model-provider-F7IDCMER.js.map → model-provider-RMFP42QT.js.map} +0 -0
  91. /package/{org-L2H5G7UT.js.map → org-JED6LLWL.js.map} +0 -0
  92. /package/{people-search-C543ABM2.js.map → people-search-OGILIEGA.js.map} +0 -0
  93. /package/{phone-LIC3TOX5.js.map → phone-RNXHRHQO.js.map} +0 -0
  94. /package/{preference-F2WEDROK.js.map → preference-BI26FJNI.js.map} +0 -0
  95. /package/{resource-L3FONGQH.js.map → resource-DPAXSL3G.js.map} +0 -0
  96. /package/{scrape-YTZCRV4O.js.map → scrape-DG3FZR27.js.map} +0 -0
  97. /package/{secret-TOACFEGT.js.map → secret-GTKJZ32T.js.map} +0 -0
  98. /package/{slack-24WMW2IR.js.map → slack-NCZP6TP5.js.map} +0 -0
  99. /package/{teams-4JCSRJHR.js.map → teams-CUUCFIUH.js.map} +0 -0
  100. /package/{telegram-N6CYEREV.js.map → telegram-SRGYEAHB.js.map} +0 -0
  101. /package/{upgrade-26SROMUW.js.map → upgrade-EZAQOAU2.js.map} +0 -0
  102. /package/{variable-4D7HYG5Z.js.map → variable-BHUUNTGW.js.map} +0 -0
  103. /package/{video-Y2W66YOG.js.map → video-KDOONJZI.js.map} +0 -0
  104. /package/{weather-QCUKUCSB.js.map → weather-FJ3R54OJ.js.map} +0 -0
  105. /package/{web-K7ZZLS6C.js.map → web-ZW2B3ERP.js.map} +0 -0
  106. /package/{web-search-CTSJQ6KG.js.map → web-search-KHYGITJK.js.map} +0 -0
  107. /package/{whoami-XQRDEJ4Y.js.map → whoami-2DJHYCHI.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
  getApiUrl
6
- } from "./chunk-RM3CRZ3V.js";
6
+ } from "./chunk-4FZPFRJH.js";
7
7
  import {
8
8
  init_esm_shims
9
9
  } from "./chunk-GPYQ24DR.js";
@@ -42,4 +42,4 @@ export {
42
42
  toPlatformUrl,
43
43
  getPlatformOrigin
44
44
  };
45
- //# sourceMappingURL=chunk-3XRJTKOC.js.map
45
+ //# sourceMappingURL=chunk-FXM2FONE.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-RM3CRZ3V.js";
6
+ } from "./chunk-4FZPFRJH.js";
7
7
  import {
8
8
  init_esm_shims
9
9
  } from "./chunk-GPYQ24DR.js";
@@ -40,4 +40,4 @@ export {
40
40
  formatModelProviderRoute,
41
41
  formatModelPolicyStatus
42
42
  };
43
- //# sourceMappingURL=chunk-R5PFPDVD.js.map
43
+ //# sourceMappingURL=chunk-GXNS5T7H.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
  resolveFirewallMetadataPolicies
6
- } from "./chunk-INWHTFKO.js";
6
+ } from "./chunk-XX7HZFVS.js";
7
7
  import {
8
8
  getZeroConnectorCatalogPermissions
9
- } from "./chunk-MM2THXZU.js";
9
+ } from "./chunk-52KFOVUA.js";
10
10
  import {
11
11
  source_default
12
- } from "./chunk-RM3CRZ3V.js";
12
+ } from "./chunk-4FZPFRJH.js";
13
13
  import {
14
14
  init_esm_shims
15
15
  } from "./chunk-GPYQ24DR.js";
@@ -89,4 +89,4 @@ export {
89
89
  policyIcon,
90
90
  loadConnectorPermissionInfos
91
91
  };
92
- //# sourceMappingURL=chunk-7QZTAAET.js.map
92
+ //# sourceMappingURL=chunk-HZ4TCSCL.js.map
@@ -0,0 +1,96 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __createRequire } from "node:module";
3
+ const require = __createRequire(import.meta.url);
4
+ import {
5
+ init_esm_shims
6
+ } from "./chunk-GPYQ24DR.js";
7
+
8
+ // ../../packages/core/src/model-display-name.ts
9
+ init_esm_shims();
10
+ var MODEL_DISPLAY_NAMES = Object.freeze({
11
+ // Anthropic direct (claude-code-oauth-token, anthropic-api-key, vm0)
12
+ "claude-fable-5": "Claude Fable 5",
13
+ "claude-opus-5": "Claude Opus 5",
14
+ "claude-sonnet-5": "Claude Sonnet 5",
15
+ "claude-sonnet-4-6": "Claude Sonnet 4.6",
16
+ "claude-opus-4-8": "Claude Opus 4.8",
17
+ "claude-opus-4-6": "Claude Opus 4.6",
18
+ "claude-opus-4-7": "Claude Opus 4.7",
19
+ "claude-haiku-4-5": "Claude Haiku 4.5",
20
+ // Anthropic via OpenRouter / Vercel AI Gateway
21
+ "anthropic/claude-fable-5": "Claude Fable 5",
22
+ "anthropic/claude-opus-5": "Claude Opus 5",
23
+ "anthropic/claude-sonnet-5": "Claude Sonnet 5",
24
+ "anthropic/claude-sonnet-4.6": "Claude Sonnet 4.6",
25
+ "anthropic/claude-opus-4.8": "Claude Opus 4.8",
26
+ "anthropic/claude-opus-4.6": "Claude Opus 4.6",
27
+ "anthropic/claude-opus-4.7": "Claude Opus 4.7",
28
+ "anthropic/claude-sonnet-4.5": "Claude Sonnet 4.5",
29
+ "anthropic/claude-opus-4.5": "Claude Opus 4.5",
30
+ "anthropic/claude-haiku-4.5": "Claude Haiku 4.5",
31
+ // DeepSeek (native)
32
+ "deepseek-v4-pro": "DeepSeek V4 Pro",
33
+ "deepseek-v4-flash": "DeepSeek V4 Flash",
34
+ // DeepSeek via OpenRouter
35
+ "deepseek/deepseek-v4-pro": "DeepSeek V4 Pro",
36
+ "deepseek/deepseek-v4-flash": "DeepSeek V4 Flash",
37
+ // MiniMax
38
+ "MiniMax-M3": "MiniMax M3",
39
+ "MiniMax-M2.7": "MiniMax M2.7",
40
+ "MiniMax-M2.1": "MiniMax M2.1",
41
+ "minimax/minimax-m2.5": "MiniMax M2.5",
42
+ // Kimi / Moonshot
43
+ "kimi-k2.6": "Kimi K2.6",
44
+ "kimi-k2.5": "Kimi K2.5",
45
+ "kimi-k3": "Kimi K3",
46
+ "kimi-k2.7-code": "Kimi K2.7 Code",
47
+ "kimi-k2-thinking": "Kimi K2 Thinking",
48
+ "kimi-k2-thinking-turbo": "Kimi K2 Thinking Turbo",
49
+ "moonshotai/kimi-k2.6": "Kimi K2.6",
50
+ "moonshotai/kimi-k2.5": "Kimi K2.5",
51
+ // GLM / ZhipuAI
52
+ "glm-5.2": "GLM-5.2",
53
+ "glm-5.1": "GLM-5.1",
54
+ "glm-5": "GLM-5",
55
+ "glm-4.7": "GLM-4.7",
56
+ "glm-4.5-air": "GLM-4.5 Air",
57
+ "zai/glm-5-turbo": "GLM-5 Turbo",
58
+ "z-ai/glm-5.2": "GLM-5.2",
59
+ "z-ai/glm-5.1": "GLM-5.1",
60
+ // Minimax via OpenRouter
61
+ "minimax/minimax-m2.7": "MiniMax M2.7",
62
+ // OpenAI / Codex
63
+ "gpt-5.6-sol": "GPT 5.6 Sol",
64
+ "gpt-5.6-terra": "GPT 5.6 Terra",
65
+ "gpt-5.6-luna": "GPT 5.6 Luna",
66
+ "gpt-5.5": "GPT 5.5",
67
+ "gpt-5.4": "GPT-5.4",
68
+ "gpt-5.4-mini": "GPT-5.4 Mini",
69
+ "gpt-5.3-codex": "GPT-5.3 Codex",
70
+ "gpt-5.2": "GPT-5.2",
71
+ // Built-in image generation
72
+ "nano-banana-2": "Nano Banana 2",
73
+ "fal-ai/nano-banana-2": "Nano Banana 2",
74
+ "fal-ai/flux-pro/v1.1": "Flux Pro v1.1",
75
+ "fal-ai/flux-pro/v1.1-ultra": "Flux Pro v1.1 Ultra",
76
+ "fal-ai/qwen-image": "Qwen Image",
77
+ "fal-ai/bytedance/seedream/v4/text-to-image": "Seedream 4",
78
+ // Built-in video generation
79
+ "dreamina-seedance-2-0-260128": "Seedance 2.0",
80
+ "dreamina-seedance-2-0-fast-260128": "Seedance 2.0 Fast",
81
+ "seedance-2-0-260128": "Seedance 2.0",
82
+ "seedance-2-0-fast-260128": "Seedance 2.0 Fast",
83
+ "seedance-1-5-pro-251215": "Seedance 1.5 Pro",
84
+ "fal-ai/veo3.1": "Veo 3.1",
85
+ "fal-ai/veo3.1/fast": "Veo 3.1 Fast",
86
+ "fal-ai/kling-video/o3/standard/text-to-video": "Kling O3 Standard",
87
+ "fal-ai/kling-video/v3/4k/text-to-video": "Kling 3 4K"
88
+ });
89
+ function getModelDisplayName(model) {
90
+ return MODEL_DISPLAY_NAMES[model] ?? model;
91
+ }
92
+
93
+ export {
94
+ getModelDisplayName
95
+ };
96
+ //# sourceMappingURL=chunk-LN2ATWKS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/core/src/model-display-name.ts"],"sourcesContent":["/**\n * Human-readable display names for model IDs across all providers.\n * Falls back to the raw model ID if no mapping is found.\n */\nconst MODEL_DISPLAY_NAMES = Object.freeze<Record<string, string>>({\n // Anthropic direct (claude-code-oauth-token, anthropic-api-key, vm0)\n \"claude-fable-5\": \"Claude Fable 5\",\n \"claude-opus-5\": \"Claude Opus 5\",\n \"claude-sonnet-5\": \"Claude Sonnet 5\",\n \"claude-sonnet-4-6\": \"Claude Sonnet 4.6\",\n \"claude-opus-4-8\": \"Claude Opus 4.8\",\n \"claude-opus-4-6\": \"Claude Opus 4.6\",\n \"claude-opus-4-7\": \"Claude Opus 4.7\",\n \"claude-haiku-4-5\": \"Claude Haiku 4.5\",\n // Anthropic via OpenRouter / Vercel AI Gateway\n \"anthropic/claude-fable-5\": \"Claude Fable 5\",\n \"anthropic/claude-opus-5\": \"Claude Opus 5\",\n \"anthropic/claude-sonnet-5\": \"Claude Sonnet 5\",\n \"anthropic/claude-sonnet-4.6\": \"Claude Sonnet 4.6\",\n \"anthropic/claude-opus-4.8\": \"Claude Opus 4.8\",\n \"anthropic/claude-opus-4.6\": \"Claude Opus 4.6\",\n \"anthropic/claude-opus-4.7\": \"Claude Opus 4.7\",\n \"anthropic/claude-sonnet-4.5\": \"Claude Sonnet 4.5\",\n \"anthropic/claude-opus-4.5\": \"Claude Opus 4.5\",\n \"anthropic/claude-haiku-4.5\": \"Claude Haiku 4.5\",\n // DeepSeek (native)\n \"deepseek-v4-pro\": \"DeepSeek V4 Pro\",\n \"deepseek-v4-flash\": \"DeepSeek V4 Flash\",\n // DeepSeek via OpenRouter\n \"deepseek/deepseek-v4-pro\": \"DeepSeek V4 Pro\",\n \"deepseek/deepseek-v4-flash\": \"DeepSeek V4 Flash\",\n // MiniMax\n \"MiniMax-M3\": \"MiniMax M3\",\n \"MiniMax-M2.7\": \"MiniMax M2.7\",\n \"MiniMax-M2.1\": \"MiniMax M2.1\",\n \"minimax/minimax-m2.5\": \"MiniMax M2.5\",\n // Kimi / Moonshot\n \"kimi-k2.6\": \"Kimi K2.6\",\n \"kimi-k2.5\": \"Kimi K2.5\",\n \"kimi-k3\": \"Kimi K3\",\n \"kimi-k2.7-code\": \"Kimi K2.7 Code\",\n \"kimi-k2-thinking\": \"Kimi K2 Thinking\",\n \"kimi-k2-thinking-turbo\": \"Kimi K2 Thinking Turbo\",\n \"moonshotai/kimi-k2.6\": \"Kimi K2.6\",\n \"moonshotai/kimi-k2.5\": \"Kimi K2.5\",\n // GLM / ZhipuAI\n \"glm-5.2\": \"GLM-5.2\",\n \"glm-5.1\": \"GLM-5.1\",\n \"glm-5\": \"GLM-5\",\n \"glm-4.7\": \"GLM-4.7\",\n \"glm-4.5-air\": \"GLM-4.5 Air\",\n \"zai/glm-5-turbo\": \"GLM-5 Turbo\",\n \"z-ai/glm-5.2\": \"GLM-5.2\",\n \"z-ai/glm-5.1\": \"GLM-5.1\",\n // Minimax via OpenRouter\n \"minimax/minimax-m2.7\": \"MiniMax M2.7\",\n // OpenAI / Codex\n \"gpt-5.6-sol\": \"GPT 5.6 Sol\",\n \"gpt-5.6-terra\": \"GPT 5.6 Terra\",\n \"gpt-5.6-luna\": \"GPT 5.6 Luna\",\n \"gpt-5.5\": \"GPT 5.5\",\n \"gpt-5.4\": \"GPT-5.4\",\n \"gpt-5.4-mini\": \"GPT-5.4 Mini\",\n \"gpt-5.3-codex\": \"GPT-5.3 Codex\",\n \"gpt-5.2\": \"GPT-5.2\",\n // Built-in image generation\n \"nano-banana-2\": \"Nano Banana 2\",\n \"fal-ai/nano-banana-2\": \"Nano Banana 2\",\n \"fal-ai/flux-pro/v1.1\": \"Flux Pro v1.1\",\n \"fal-ai/flux-pro/v1.1-ultra\": \"Flux Pro v1.1 Ultra\",\n \"fal-ai/qwen-image\": \"Qwen Image\",\n \"fal-ai/bytedance/seedream/v4/text-to-image\": \"Seedream 4\",\n // Built-in video generation\n \"dreamina-seedance-2-0-260128\": \"Seedance 2.0\",\n \"dreamina-seedance-2-0-fast-260128\": \"Seedance 2.0 Fast\",\n \"seedance-2-0-260128\": \"Seedance 2.0\",\n \"seedance-2-0-fast-260128\": \"Seedance 2.0 Fast\",\n \"seedance-1-5-pro-251215\": \"Seedance 1.5 Pro\",\n \"fal-ai/veo3.1\": \"Veo 3.1\",\n \"fal-ai/veo3.1/fast\": \"Veo 3.1 Fast\",\n \"fal-ai/kling-video/o3/standard/text-to-video\": \"Kling O3 Standard\",\n \"fal-ai/kling-video/v3/4k/text-to-video\": \"Kling 3 4K\",\n});\n\n/**\n * Get a human-readable display name for a model ID.\n * Returns the raw model ID if no friendly name is defined.\n */\nexport function getModelDisplayName(model: string): string {\n return MODEL_DISPLAY_NAMES[model] ?? model;\n}\n"],"mappings":";;;;;;;;AAAA;AAIA,IAAM,sBAAsB,OAAO,OAA+B;AAAA;AAAA,EAEhE,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,oBAAoB;AAAA;AAAA,EAEpB,4BAA4B;AAAA,EAC5B,2BAA2B;AAAA,EAC3B,6BAA6B;AAAA,EAC7B,+BAA+B;AAAA,EAC/B,6BAA6B;AAAA,EAC7B,6BAA6B;AAAA,EAC7B,6BAA6B;AAAA,EAC7B,+BAA+B;AAAA,EAC/B,6BAA6B;AAAA,EAC7B,8BAA8B;AAAA;AAAA,EAE9B,mBAAmB;AAAA,EACnB,qBAAqB;AAAA;AAAA,EAErB,4BAA4B;AAAA,EAC5B,8BAA8B;AAAA;AAAA,EAE9B,cAAc;AAAA,EACd,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,wBAAwB;AAAA;AAAA,EAExB,aAAa;AAAA,EACb,aAAa;AAAA,EACb,WAAW;AAAA,EACX,kBAAkB;AAAA,EAClB,oBAAoB;AAAA,EACpB,0BAA0B;AAAA,EAC1B,wBAAwB;AAAA,EACxB,wBAAwB;AAAA;AAAA,EAExB,WAAW;AAAA,EACX,WAAW;AAAA,EACX,SAAS;AAAA,EACT,WAAW;AAAA,EACX,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA;AAAA,EAEhB,wBAAwB;AAAA;AAAA,EAExB,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,WAAW;AAAA;AAAA,EAEX,iBAAiB;AAAA,EACjB,wBAAwB;AAAA,EACxB,wBAAwB;AAAA,EACxB,8BAA8B;AAAA,EAC9B,qBAAqB;AAAA,EACrB,8CAA8C;AAAA;AAAA,EAE9C,gCAAgC;AAAA,EAChC,qCAAqC;AAAA,EACrC,uBAAuB;AAAA,EACvB,4BAA4B;AAAA,EAC5B,2BAA2B;AAAA,EAC3B,iBAAiB;AAAA,EACjB,sBAAsB;AAAA,EACtB,gDAAgD;AAAA,EAChD,0CAA0C;AAC5C,CAAC;AAMM,SAAS,oBAAoB,OAAuB;AACzD,SAAO,oBAAoB,KAAK,KAAK;AACvC;","names":[]}
@@ -6,7 +6,7 @@ import {
6
6
  getActiveToken,
7
7
  getBaseUrl,
8
8
  headersWithCliClientHeaders
9
- } from "./chunk-RM3CRZ3V.js";
9
+ } from "./chunk-4FZPFRJH.js";
10
10
  import {
11
11
  init_esm_shims
12
12
  } from "./chunk-GPYQ24DR.js";
@@ -648,4 +648,4 @@ export {
648
648
  generateWebVideo,
649
649
  transcribeAudio
650
650
  };
651
- //# sourceMappingURL=chunk-SZFRTXBU.js.map
651
+ //# sourceMappingURL=chunk-LPA5CSUN.js.map
@@ -348,10 +348,11 @@ var FEATURE_SWITCHES = {
348
348
  enabled: false,
349
349
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
350
350
  },
351
- ["newChatThreadSidebar" /* NewChatThreadSidebar */]: {
351
+ ["chatThreadSidebarAutoOpen" /* ChatThreadSidebarAutoOpen */]: {
352
352
  maintainer: "ethan@vm0.ai",
353
- description: "Thread-owned utility sidebar for chat threads: one shared shell for the artifacts list, artifact detail, email draft, browser, and automations panels. When off, the legacy search-param sidebars stay in place.",
354
- enabled: true
353
+ description: "Automatically open the latest sidebar-capable card from a running or successfully completed chat run when the utility sidebar is closed and split view is available.",
354
+ enabled: false,
355
+ enabledOrgIdHashes: STAFF_ORG_ID_HASHES
355
356
  },
356
357
  ["composerSkillSubstringSearch" /* ComposerSkillSubstringSearch */]: {
357
358
  maintainer: "yuma@vm0.ai",
@@ -450,6 +451,12 @@ var FEATURE_SWITCHES = {
450
451
  enabled: false,
451
452
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
452
453
  },
454
+ ["zeroMcp" /* ZeroMcp */]: {
455
+ maintainer: "liangyou@vm0.ai",
456
+ description: "Enable vm0-managed remote MCP servers for Zero agent runs and the Zero CLI.",
457
+ enabled: false,
458
+ userOverridable: false
459
+ },
453
460
  ["composerConnectorPermissions" /* ComposerConnectorPermissions */]: {
454
461
  maintainer: "ming@vm0.ai",
455
462
  description: "Show the configure-permissions entry in the chat composer connector popover, opening the agent\xD7connector firewall dialog inline.",
@@ -484,4 +491,4 @@ function isFeatureEnabled(key, ctx) {
484
491
  export {
485
492
  isFeatureEnabled
486
493
  };
487
- //# sourceMappingURL=chunk-WFGOVUAO.js.map
494
+ //# sourceMappingURL=chunk-LWBBI7NL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/core/src/feature-switch-key.ts","../../../packages/core/src/feature-switch.ts","../../../packages/core/src/identity-hash.ts"],"sourcesContent":["/**\n * Feature switch keys\n *\n * Defines all available feature switch identifiers.\n */\nexport enum FeatureSwitchKey {\n Dummy = \"dummy\",\n AhrefsConnector = \"ahrefsConnector\",\n BillConnector = \"billConnector\",\n BentomlConnector = \"bentomlConnector\",\n BoxConnector = \"boxConnector\",\n CanvaConnector = \"canvaConnector\",\n CalComConnector = \"calComConnector\",\n CopperConnector = \"copperConnector\",\n DatadogConnector = \"datadogConnector\",\n DeelConnector = \"deelConnector\",\n DocuSignConnector = \"docusignConnector\",\n DropboxConnector = \"dropboxConnector\",\n FigmaConnector = \"figmaConnector\",\n ExpensifyConnector = \"expensifyConnector\",\n GoogleContactsConnector = \"googleContactsConnector\",\n GoogleFormsConnector = \"googleFormsConnector\",\n JoggAiConnector = \"joggAiConnector\",\n MercuryConnector = \"mercuryConnector\",\n NeonConnector = \"neonConnector\",\n NetSuiteConnector = \"netSuiteConnector\",\n GarminConnectConnector = \"garminConnectConnector\",\n QuickBooksConnector = \"quickbooksConnector\",\n RedditConnector = \"redditConnector\",\n SupabaseConnector = \"supabaseConnector\",\n WebflowConnector = \"webflowConnector\",\n CloseConnector = \"closeConnector\",\n MetaAdsConnector = \"metaAdsConnector\",\n TikTokAdsConnector = \"tiktokAdsConnector\",\n AwsConnector = \"awsConnector\",\n PosthogConnector = \"posthogConnector\",\n PayPalConnector = \"payPalConnector\",\n RampConnector = \"rampConnector\",\n MailchimpConnector = \"mailchimpConnector\",\n ResendConnector = \"resendConnector\",\n PexelsConnector = \"pexelsConnector\",\n SpotifyConnector = \"spotifyConnector\",\n ZeroDebug = \"zeroDebug\",\n LanguagePreference = \"languagePreference\",\n ZeroFinance = \"zeroFinance\",\n ZeroBrowser = \"zeroBrowser\",\n ZeroMcp = \"zeroMcp\",\n ZeroMailReplyFollowUp = \"zeroMailReplyFollowUp\",\n Banking = \"banking\",\n Lab = \"lab\",\n NotionWorkflowAutomations = \"notionWorkflowAutomations\",\n GithubWebhookAutomations = \"githubWebhookAutomations\",\n MorningBrief = \"morningBrief\",\n ManualMorningBrief = \"manualMorningBrief\",\n TestOauthConnector = \"testOauthConnector\",\n FreshdeskConnector = \"freshdeskConnector\",\n StabilityAiConnector = \"stabilityAiConnector\",\n ZoomConnector = \"zoomConnector\",\n WorkdayConnector = \"workdayConnector\",\n CodexFastMode = \"codexFastMode\",\n CodexSessionPruning = \"codexSessionPruning\",\n ClaudeSessionPruning = \"claudeSessionPruning\",\n RealAgentInPreview = \"realAgentInPreview\",\n ComposerUploadPopover = \"composerUploadPopover\",\n StructuredPrompt = \"structuredPrompt\",\n StructuredPromptInlineTemplates = \"structuredPromptInlineTemplates\",\n\n ZapierConnector = \"zapierConnector\",\n ComputerUseDesktopPlugins = \"computerUseDesktopPlugins\",\n ChatThreadUnifiedSearch = \"chatThreadUnifiedSearch\",\n ComposerSkillSubstringSearch = \"composerSkillSubstringSearch\",\n SidebarSubscriptionUsage = \"sidebarSubscriptionUsage\",\n SlackDmSessionRouting = \"slackDmSessionRouting\",\n TeamsIntegration = \"teamsIntegration\",\n FeishuIntegration = \"feishuIntegration\",\n StrapiIntegration = \"strapiIntegration\",\n Artifacts = \"artifacts\",\n HostedArtifactVersions = \"hostedArtifactVersions\",\n VideoArtifactPosters = \"videoArtifactPosters\",\n ImageStyleR2 = \"imageStyleR2\",\n OrgPlanEntitlementReads = \"orgPlanEntitlementReads\",\n WorkflowConnectorReadiness = \"workflowConnectorReadiness\",\n ComposerConnectorPermissions = \"composerConnectorPermissions\",\n ThreeColumnNav = \"threeColumnNav\",\n ChatHistoryBackfillProgress = \"chatHistoryBackfillProgress\",\n ChatThreadSidebarAutoOpen = \"chatThreadSidebarAutoOpen\",\n}\n","/**\n * Feature switch system\n *\n * Provides centralized feature flag management with user-identity based overrides.\n * User IDs are stored as FNV-1a hashes to avoid exposing plain-text identifiers in source code.\n *\n * NOT AN AUTHORIZATION BOUNDARY. User-overridable switches can be self-enabled\n * through `POST /api/zero/feature-switches`, and `userOverridable: false` only\n * excludes a switch from that API. For money-granting, credential, or\n * privilege-escalation endpoints, gate with a hard identity check (e.g.\n * `isStaffOrg()` from `./staff-org`) instead of this system.\n */\n\nimport { FeatureSwitchKey } from \"./feature-switch-key\";\nimport { STAFF_ORG_ID_HASHES, fnv1a } from \"./identity-hash\";\n\nexport interface FeatureSwitch {\n readonly maintainer: string;\n readonly description?: string;\n readonly enabled: boolean;\n readonly enabledUserHashes?: readonly string[];\n readonly enabledEmailHashes?: readonly string[];\n readonly enabledOrgIdHashes?: readonly string[];\n readonly userOverridable?: boolean;\n}\n\nexport interface FeatureSwitchMetadata {\n readonly maintainer: string;\n readonly description?: string;\n readonly userOverridable: boolean;\n}\n\nexport interface FeatureSwitchContext {\n readonly userId?: string;\n readonly email?: string;\n readonly orgId?: string;\n readonly overrides?: Partial<Record<FeatureSwitchKey, boolean>>;\n}\n\n/**\n * Registry of all feature switches\n */\nconst FEATURE_SWITCHES: Record<FeatureSwitchKey, FeatureSwitch> = {\n [FeatureSwitchKey.Dummy]: {\n maintainer: \"ethan@vm0.ai\",\n description: \"Test-only feature switch for flag system validation\",\n enabled: true,\n },\n [FeatureSwitchKey.AhrefsConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Ahrefs SEO connector\",\n enabled: false,\n },\n [FeatureSwitchKey.BillConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the BILL Spend & Expense connector\",\n enabled: false,\n },\n [FeatureSwitchKey.BentomlConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the BentoML model serving connector\",\n enabled: false,\n },\n [FeatureSwitchKey.BoxConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Box file storage connector\",\n enabled: false,\n },\n [FeatureSwitchKey.CanvaConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Canva design connector\",\n enabled: false,\n },\n [FeatureSwitchKey.CalComConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Cal.com scheduling connector\",\n enabled: false,\n },\n [FeatureSwitchKey.CopperConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Copper CRM connector\",\n enabled: false,\n },\n [FeatureSwitchKey.DatadogConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Datadog observability connector\",\n enabled: false,\n },\n [FeatureSwitchKey.DeelConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Deel HR connector\",\n enabled: false,\n },\n [FeatureSwitchKey.DocuSignConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the DocuSign e-signature connector\",\n enabled: false,\n },\n [FeatureSwitchKey.DropboxConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Dropbox file storage connector\",\n enabled: false,\n },\n [FeatureSwitchKey.FigmaConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Figma design connector\",\n enabled: false,\n },\n [FeatureSwitchKey.ExpensifyConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Expensify accounting connector\",\n enabled: false,\n },\n [FeatureSwitchKey.GoogleContactsConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Google Contacts connector\",\n enabled: false,\n },\n [FeatureSwitchKey.GoogleFormsConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Google Forms connector\",\n enabled: false,\n },\n [FeatureSwitchKey.JoggAiConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the JoggAI video generation connector\",\n enabled: false,\n },\n [FeatureSwitchKey.MercuryConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Mercury banking connector\",\n enabled: false,\n },\n [FeatureSwitchKey.NeonConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Neon serverless Postgres connector\",\n enabled: false,\n },\n [FeatureSwitchKey.NetSuiteConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Oracle NetSuite ERP connector\",\n enabled: false,\n },\n [FeatureSwitchKey.GarminConnectConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Garmin Connect wellness connector\",\n enabled: false,\n },\n [FeatureSwitchKey.QuickBooksConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the QuickBooks accounting connector\",\n enabled: false,\n },\n [FeatureSwitchKey.RedditConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Reddit connector integration\",\n enabled: false,\n },\n [FeatureSwitchKey.SupabaseConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Supabase database connector integration\",\n enabled: false,\n },\n [FeatureSwitchKey.CloseConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Close CRM connector\",\n enabled: false,\n },\n [FeatureSwitchKey.WebflowConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Webflow site management connector\",\n enabled: false,\n },\n [FeatureSwitchKey.MetaAdsConnector]: {\n maintainer: \"ethan@vm0.ai\",\n description: \"Enable the Meta Ads Manager connector\",\n enabled: false,\n },\n [FeatureSwitchKey.TikTokAdsConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the TikTok Ads Manager connector\",\n enabled: false,\n },\n [FeatureSwitchKey.AwsConnector]: {\n maintainer: \"liangyou@vm0.ai\",\n description: \"Enable the temporary AWS remote login connector\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.PosthogConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the PostHog analytics connector\",\n enabled: false,\n },\n [FeatureSwitchKey.PayPalConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the PayPal payments connector\",\n enabled: false,\n },\n [FeatureSwitchKey.RampConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Ramp spend management connector\",\n enabled: false,\n },\n [FeatureSwitchKey.MailchimpConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Mailchimp email marketing connector\",\n enabled: false,\n },\n [FeatureSwitchKey.ResendConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Resend email service connector\",\n enabled: false,\n },\n [FeatureSwitchKey.PexelsConnector]: {\n maintainer: \"bingjie@vm0.ai\",\n description: \"Enable the Pexels stock photo and video connector\",\n enabled: false,\n },\n [FeatureSwitchKey.SpotifyConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Spotify connector integration\",\n enabled: false,\n },\n [FeatureSwitchKey.ZeroDebug]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Reveal activity debug surfaces, activity log navigation, appended system prompts, and Debug preferences\",\n enabled: false,\n },\n [FeatureSwitchKey.LanguagePreference]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Enable workspace language bootstrap, persistence, and the Settings preference entry.\",\n enabled: false,\n },\n [FeatureSwitchKey.ZeroFinance]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Enable the managed APIDojo-backed Zero Finance API and finance:read ZERO_TOKEN capability.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.Banking]: {\n maintainer: \"linghan@vm0.ai\",\n description:\n \"Enable the managed Zero Banking gateway and banking:read ZERO_TOKEN capability for Finicity-backed accounts, balances, and transactions.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.Lab]: {\n maintainer: \"ethan@vm0.ai\",\n description: \"Show the Lab page for toggling experimental features\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.MorningBrief]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Enable the daily 7:00 local-time Morning Brief email built from GitHub, Gmail, and Google Calendar.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n userOverridable: true,\n },\n [FeatureSwitchKey.ManualMorningBrief]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Show a Send now button in Settings that triggers a Morning Brief immediately for testing.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n userOverridable: true,\n },\n [FeatureSwitchKey.NotionWorkflowAutomations]: {\n maintainer: \"lancy@vm0.ai\",\n description:\n \"Enable Notion event workflow automations, starting with child pages created under a configured parent page.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.GithubWebhookAutomations]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Show creation entry points for GitHub workflow job, pull request review, deployment status, and issue comment automations.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n userOverridable: false,\n },\n [FeatureSwitchKey.TestOauthConnector]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Enable the test-oauth connector, a synthetic OAuth 2.0 provider used only for automated tests. Off in prod.\",\n enabled: false,\n },\n [FeatureSwitchKey.FreshdeskConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Freshdesk helpdesk connector\",\n enabled: false,\n },\n [FeatureSwitchKey.StabilityAiConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Stability AI image generation connector\",\n enabled: false,\n },\n [FeatureSwitchKey.ZoomConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Enable the Zoom connector (OAuth 2.0) for meetings, past participants, and cloud recordings access\",\n enabled: false,\n },\n [FeatureSwitchKey.WorkdayConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable the Workday HCM and finance connector\",\n enabled: false,\n },\n\n [FeatureSwitchKey.CodexFastMode]: {\n maintainer: \"lancy@vm0.ai\",\n description:\n \"Enable Codex fast mode for ChatGPT subscription GPT 5.5 and GPT 5.6 web chat runs.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.CodexSessionPruning]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Prune oversized Codex checkpoint histories to the latest native compact generation.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ClaudeSessionPruning]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Prune oversized Claude Code checkpoint histories to the latest native compact generation.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.RealAgentInPreview]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Send preview chat runs through real agent CLIs instead of preview mock runners.\",\n enabled: false,\n },\n [FeatureSwitchKey.ComposerUploadPopover]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Use the Upload popover in the chat composer instead of the legacy paperclip attachment button.\",\n enabled: false,\n userOverridable: false,\n },\n [FeatureSwitchKey.StructuredPrompt]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Enable structured user prompt rendering, sends, and drafts while preserving the legacy content fallback.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.StructuredPromptInlineTemplates]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Enable multiple inline artifact templates in structured chat prompts.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n userOverridable: false,\n },\n [FeatureSwitchKey.ZapierConnector]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Enable the Zapier connector. When disabled, Zapier is hidden from the connectors list and cannot be connected.\",\n enabled: false,\n },\n [FeatureSwitchKey.ComputerUseDesktopPlugins]: {\n maintainer: \"lancy@vm0.ai\",\n description:\n \"Enable Zero Desktop Computer Use plugins for local resources, starting with the bundled filesystem plugin gateway.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ChatThreadUnifiedSearch]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Show chat thread title results from the local event-driven thread cache in the command-shift-a conversation picker.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ChatThreadSidebarAutoOpen]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Automatically open the latest sidebar-capable card from a running or successfully completed chat run when the utility sidebar is closed and split view is available.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ComposerSkillSubstringSearch]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Match chat composer slash skill suggestions by any slug substring instead of only prefixes.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ChatHistoryBackfillProgress]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Chat message skeletons above the first visible message while older history loads.\",\n // Not rolled out to anyone yet; enable per-user via the Lab page.\n enabled: false,\n },\n [FeatureSwitchKey.ThreeColumnNav]: {\n maintainer: \"ming@vm0.ai\",\n description:\n \"Slack-style three-column navigation: a labeled icon rail, a pinned-agents and chat-threads list column, and the conversation pane.\",\n enabled: false,\n // Ming only for the first pass; widen to staff once it settles.\n enabledEmailHashes: [\"54757055\"], // fnv1a(\"ming@vm0.ai\")\n },\n [FeatureSwitchKey.SidebarSubscriptionUsage]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Show Codex and Claude Code personal subscription usage in the Zero sidebar footer.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.SlackDmSessionRouting]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Reuse agent/model-scoped sessions for top-level Slack direct messages after compatible callback readers are deployed.\",\n enabled: false,\n },\n [FeatureSwitchKey.TeamsIntegration]: {\n maintainer: \"linghan@vm0.ai\",\n description:\n \"Show standalone Microsoft Teams integration settings, connect flows, and Works page entry points.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.FeishuIntegration]: {\n maintainer: \"linghan@vm0.ai\",\n description:\n \"Show the Feishu direct-message integration and Works page entry point.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.StrapiIntegration]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Enable Strapi integration settings and Strapi entry-published workflow automations.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n userOverridable: false,\n },\n [FeatureSwitchKey.Artifacts]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Show the Artifacts manage page for generated artifacts in the current organization.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.HostedArtifactVersions]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Create immutable hosted artifact versions behind stable site aliases.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.VideoArtifactPosters]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Generate poster images asynchronously when video artifacts are recorded.\",\n enabled: true,\n },\n [FeatureSwitchKey.ImageStyleR2]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Resolve archive-enabled image styles from private R2 packages. When off, image style authoring continues reading vm0-skills from GitHub.\",\n enabled: true,\n },\n [FeatureSwitchKey.OrgPlanEntitlementReads]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Read runtime plan capability limits from org_plan_entitlements instead of deriving them from org_metadata.tier.\",\n enabled: true,\n userOverridable: false,\n },\n [FeatureSwitchKey.WorkflowConnectorReadiness]: {\n maintainer: \"lancy@vm0.ai\",\n description:\n \"Show the manual connector readiness check on workflow settings pages.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n userOverridable: false,\n },\n [FeatureSwitchKey.ZeroMailReplyFollowUp]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Enable Zero Mail reply follow-up after all API deployments can read Gmail event configurations with threadId.\",\n enabled: false,\n userOverridable: false,\n },\n [FeatureSwitchKey.ZeroBrowser]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Enable thread-scoped Cloud browser access in chat and the Zero CLI.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ZeroMcp]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Enable vm0-managed remote MCP servers for Zero agent runs and the Zero CLI.\",\n enabled: false,\n userOverridable: false,\n },\n [FeatureSwitchKey.ComposerConnectorPermissions]: {\n maintainer: \"ming@vm0.ai\",\n description:\n \"Show the configure-permissions entry in the chat composer connector popover, opening the agent×connector firewall dialog inline.\",\n enabled: false,\n userOverridable: true,\n },\n};\n\ninterface ResolvedHashes {\n readonly userHash?: string;\n readonly emailHash?: string;\n readonly orgIdHash?: string;\n}\n\nfunction evaluateSwitch(fs: FeatureSwitch, hashes: ResolvedHashes): boolean {\n if (fs.enabled) return true;\n if (hashes.userHash && fs.enabledUserHashes?.includes(hashes.userHash))\n return true;\n if (hashes.emailHash && fs.enabledEmailHashes?.includes(hashes.emailHash))\n return true;\n if (hashes.orgIdHash && fs.enabledOrgIdHashes?.includes(hashes.orgIdHash))\n return true;\n return false;\n}\n\n/**\n * Evaluate all feature switches at once for the given context.\n *\n * Computes identity hashes once and checks all switches synchronously.\n */\nexport function getAllFeatureStates(\n ctx?: FeatureSwitchContext,\n): Record<FeatureSwitchKey, boolean> {\n const switches = Object.values(FEATURE_SWITCHES);\n const hashes: ResolvedHashes = {\n userHash:\n ctx?.userId &&\n switches.some((s) => {\n return s.enabledUserHashes?.length;\n })\n ? fnv1a(ctx.userId)\n : undefined,\n emailHash:\n ctx?.email &&\n switches.some((s) => {\n return s.enabledEmailHashes?.length;\n })\n ? fnv1a(ctx.email.toLowerCase())\n : undefined,\n orgIdHash:\n ctx?.orgId &&\n switches.some((s) => {\n return s.enabledOrgIdHashes?.length;\n })\n ? fnv1a(ctx.orgId)\n : undefined,\n };\n\n const result = {} as Record<FeatureSwitchKey, boolean>;\n for (const key of Object.values(FeatureSwitchKey)) {\n result[key] = evaluateSwitch(FEATURE_SWITCHES[key], hashes);\n }\n\n if (ctx?.overrides) {\n for (const [key, value] of Object.entries(ctx.overrides)) {\n if (key in FEATURE_SWITCHES && value !== undefined) {\n result[key as FeatureSwitchKey] = value;\n }\n }\n }\n\n return result;\n}\n\n/**\n * Return the description for every feature switch.\n */\nexport function getFeatureSwitchDescriptions(): Record<\n FeatureSwitchKey,\n string | undefined\n> {\n const result = {} as Record<FeatureSwitchKey, string | undefined>;\n for (const key of Object.values(FeatureSwitchKey)) {\n result[key] = FEATURE_SWITCHES[key].description;\n }\n return result;\n}\n\n/**\n * Return display metadata for every feature switch.\n */\nexport function getFeatureSwitchMetadata(): Record<\n FeatureSwitchKey,\n FeatureSwitchMetadata\n> {\n const result = {} as Record<FeatureSwitchKey, FeatureSwitchMetadata>;\n for (const key of Object.values(FeatureSwitchKey)) {\n const featureSwitch = FEATURE_SWITCHES[key];\n result[key] = {\n maintainer: featureSwitch.maintainer,\n description: featureSwitch.description,\n userOverridable: featureSwitch.userOverridable !== false,\n };\n }\n return result;\n}\n\nexport function isUserOverridableFeatureSwitch(\n key: string,\n): key is FeatureSwitchKey {\n if (!(key in FEATURE_SWITCHES)) {\n return false;\n }\n return FEATURE_SWITCHES[key as FeatureSwitchKey].userOverridable !== false;\n}\n\nexport function getUserOverridableFeatureSwitchKeys(): readonly FeatureSwitchKey[] {\n return Object.values(FeatureSwitchKey).filter(isUserOverridableFeatureSwitch);\n}\n\nexport function filterUserOverridableFeatureSwitchOverrides(\n switches: Record<string, boolean>,\n): Record<string, boolean> {\n const filtered: Record<string, boolean> = {};\n for (const [key, value] of Object.entries(switches)) {\n if (isUserOverridableFeatureSwitch(key)) {\n filtered[key] = value;\n }\n }\n return filtered;\n}\n\n/**\n * Check if a feature is enabled for the given context.\n *\n * `ctx` is required so callers must pass identity (userId/orgId/email) or an\n * explicit `{}`. A switch gated by `enabledUserHashes` / `enabledOrgIdHashes`\n * silently returns `false` when ctx omits identity, which has caused bugs.\n * Client-side callers should usually read the platform `featureSwitch$` signal\n * instead — it also merges DB overrides on top of identity context.\n */\nexport function isFeatureEnabled(\n key: FeatureSwitchKey,\n ctx: FeatureSwitchContext,\n): boolean {\n const override = ctx.overrides?.[key];\n if (override !== undefined) {\n return override;\n }\n\n const featureSwitch = FEATURE_SWITCHES[key];\n if (featureSwitch.enabled) {\n return true;\n }\n if (ctx.userId && featureSwitch.enabledUserHashes?.length) {\n if (featureSwitch.enabledUserHashes.includes(fnv1a(ctx.userId)))\n return true;\n }\n if (ctx.email && featureSwitch.enabledEmailHashes?.length) {\n if (\n featureSwitch.enabledEmailHashes.includes(fnv1a(ctx.email.toLowerCase()))\n )\n return true;\n }\n if (ctx.orgId && featureSwitch.enabledOrgIdHashes?.length) {\n if (featureSwitch.enabledOrgIdHashes.includes(fnv1a(ctx.orgId)))\n return true;\n }\n return false;\n}\n","/**\n * Identity hashing — FNV-1a 32-bit hash used to reference users / orgs / emails\n * without embedding plain-text identifiers in source code.\n *\n * Shared between the feature-switch registry (UI rollout targeting) and\n * `staff-org.ts` (authorization primitive). The hash is deterministic and\n * synchronous; no crypto API needed.\n */\n\nexport function fnv1a(input: string): string {\n let h = 2166136261 >>> 0;\n for (let i = 0; i < input.length; i++) {\n h ^= input.charCodeAt(i);\n h = Math.imul(h, 16777619) >>> 0;\n }\n return h.toString(16).padStart(8, \"0\");\n}\n\n/**\n * Hashes of internal staff org IDs.\n *\n * This list is the source of truth for `isStaffOrg()` — adding an entry here\n * grants that org access to every endpoint that uses `isStaffOrg` as an\n * authorization check. Treat changes with the same care as role grants.\n */\nexport const STAFF_ORG_ID_HASHES: readonly string[] = [\n \"afce210e\", // org_3ANttyrbWYJk6JKRSTRLEsbsDLe\n];\n"],"mappings":";;;;;;;;AAAA;;;ACAA;;;ACAA;AASO,SAAS,MAAM,OAAuB;AAC3C,MAAI,IAAI,eAAe;AACvB,WAAS,IAAI,GAAG,IAAI,MAAM,QAAQ,KAAK;AACrC,SAAK,MAAM,WAAW,CAAC;AACvB,QAAI,KAAK,KAAK,GAAG,QAAQ,MAAM;AAAA,EACjC;AACA,SAAO,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG;AACvC;AASO,IAAM,sBAAyC;AAAA,EACpD;AAAA;AACF;;;ADeA,IAAM,mBAA4D;AAAA,EAChE,oBAAuB,GAAG;AAAA,IACxB,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,wCAAiC,GAAG;AAAA,IAClC,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,oCAA+B,GAAG;AAA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yB,GAAG;AAAA,IAC1B,YAAY;AAAA,IACZ,aACE;AAAA,IACF,SAAS;AAAA,IACT,iBAAiB;AAAA,EACnB;AAAA,EACA,kEAA8C,GAAG;AAAA,IAC/C,YAAY;AAAA,IACZ,aACE;AAAA,IACF,SAAS;AAAA,IACT,iBAAiB;AAAA,EACnB;AACF;AAuIO,SAAS,iBACd,KACA,KACS;AACT,QAAM,WAAW,IAAI,YAAY,GAAG;AACpC,MAAI,aAAa,QAAW;AAC1B,WAAO;AAAA,EACT;AAEA,QAAM,gBAAgB,iBAAiB,GAAG;AAC1C,MAAI,cAAc,SAAS;AACzB,WAAO;AAAA,EACT;AACA,MAAI,IAAI,UAAU,cAAc,mBAAmB,QAAQ;AACzD,QAAI,cAAc,kBAAkB,SAAS,MAAM,IAAI,MAAM,CAAC;AAC5D,aAAO;AAAA,EACX;AACA,MAAI,IAAI,SAAS,cAAc,oBAAoB,QAAQ;AACzD,QACE,cAAc,mBAAmB,SAAS,MAAM,IAAI,MAAM,YAAY,CAAC,CAAC;AAExE,aAAO;AAAA,EACX;AACA,MAAI,IAAI,SAAS,cAAc,oBAAoB,QAAQ;AACzD,QAAI,cAAc,mBAAmB,SAAS,MAAM,IAAI,KAAK,CAAC;AAC5D,aAAO;AAAA,EACX;AACA,SAAO;AACT;","names":[]}
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  getZeroAgent,
6
6
  getZeroAgentUserConnectors
7
- } from "./chunk-MM2THXZU.js";
7
+ } from "./chunk-52KFOVUA.js";
8
8
  import {
9
9
  init_esm_shims
10
10
  } from "./chunk-GPYQ24DR.js";
@@ -347,4 +347,4 @@ export {
347
347
  resolveManualGrantAuthMethod,
348
348
  resolveAgentContext
349
349
  };
350
- //# sourceMappingURL=chunk-42RDOHNK.js.map
350
+ //# sourceMappingURL=chunk-OYVARVJ4.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
  UNKNOWN_PERMISSION_GRANT
6
- } from "./chunk-MM2THXZU.js";
6
+ } from "./chunk-52KFOVUA.js";
7
7
  import {
8
8
  init_esm_shims
9
9
  } from "./chunk-GPYQ24DR.js";
@@ -130,4 +130,4 @@ export {
130
130
  resolveFirewallMetadataPolicies,
131
131
  permissionGrantsToFirewallPolicies
132
132
  };
133
- //# sourceMappingURL=chunk-INWHTFKO.js.map
133
+ //# sourceMappingURL=chunk-XX7HZFVS.js.map
@@ -12,12 +12,12 @@ import {
12
12
  fetchComputerUseScreenshot,
13
13
  getComputerUseCommand,
14
14
  listComputerUseHosts
15
- } from "./chunk-MM2THXZU.js";
16
- import "./chunk-SZFRTXBU.js";
15
+ } from "./chunk-52KFOVUA.js";
16
+ import "./chunk-LPA5CSUN.js";
17
17
  import {
18
18
  ApiRequestError,
19
19
  withErrorHandler
20
- } from "./chunk-RM3CRZ3V.js";
20
+ } from "./chunk-4FZPFRJH.js";
21
21
  import "./chunk-MD3YWUKO.js";
22
22
  import {
23
23
  Command
@@ -970,4 +970,4 @@ export {
970
970
  formatComputerUseResultForConsole,
971
971
  zeroComputerUseCommand
972
972
  };
973
- //# sourceMappingURL=computer-use-4G526LVW.js.map
973
+ //# sourceMappingURL=computer-use-GFBPVCU6.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-INWHTFKO.js";
6
+ } from "./chunk-XX7HZFVS.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-42RDOHNK.js";
20
+ } from "./chunk-OYVARVJ4.js";
21
21
  import {
22
22
  UNKNOWN_PERMISSION_GRANT,
23
23
  connectZeroConnectorManualGrant,
@@ -33,19 +33,19 @@ import {
33
33
  getZeroCustomConnector,
34
34
  listZeroConnectorCatalogStatus,
35
35
  listZeroCustomConnectors
36
- } from "./chunk-MM2THXZU.js";
37
- import "./chunk-SZFRTXBU.js";
36
+ } from "./chunk-52KFOVUA.js";
37
+ import "./chunk-LPA5CSUN.js";
38
38
  import {
39
39
  getPlatformOrigin,
40
40
  toPlatformUrl
41
- } from "./chunk-3XRJTKOC.js";
41
+ } from "./chunk-FXM2FONE.js";
42
42
  import "./chunk-MA22KQYU.js";
43
43
  import {
44
44
  ApiRequestError,
45
45
  getApiUrl,
46
46
  source_default,
47
47
  withErrorHandler
48
- } from "./chunk-RM3CRZ3V.js";
48
+ } from "./chunk-4FZPFRJH.js";
49
49
  import "./chunk-MD3YWUKO.js";
50
50
  import {
51
51
  Command,
@@ -1554,4 +1554,4 @@ var zeroConnectorCommand = new Command().name("connector").description("Manage a
1554
1554
  export {
1555
1555
  zeroConnectorCommand
1556
1556
  };
1557
- //# sourceMappingURL=connector-OSF6NAZ3.js.map
1557
+ //# sourceMappingURL=connector-CVNVQ2FS.js.map
@@ -10,19 +10,19 @@ import {
10
10
  createZeroCreditCheckout,
11
11
  getZeroBillingStatus,
12
12
  getZeroOrgMembers
13
- } from "./chunk-MM2THXZU.js";
14
- import "./chunk-SZFRTXBU.js";
13
+ } from "./chunk-52KFOVUA.js";
14
+ import "./chunk-LPA5CSUN.js";
15
15
  import {
16
16
  planUpgradeUrl
17
17
  } from "./chunk-2NW76WYJ.js";
18
18
  import {
19
19
  getPlatformOrigin
20
- } from "./chunk-3XRJTKOC.js";
20
+ } from "./chunk-FXM2FONE.js";
21
21
  import "./chunk-MA22KQYU.js";
22
22
  import {
23
23
  source_default,
24
24
  withErrorHandler
25
- } from "./chunk-RM3CRZ3V.js";
25
+ } from "./chunk-4FZPFRJH.js";
26
26
  import {
27
27
  decodeZeroTokenPayload
28
28
  } from "./chunk-MD3YWUKO.js";
@@ -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-ILE37NVC.js.map
166
+ //# sourceMappingURL=credit-FGJ4YRL4.js.map
@@ -4,12 +4,12 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  requestDeveloperSupportConsent,
6
6
  submitDeveloperSupport
7
- } from "./chunk-MM2THXZU.js";
8
- import "./chunk-SZFRTXBU.js";
7
+ } from "./chunk-52KFOVUA.js";
8
+ import "./chunk-LPA5CSUN.js";
9
9
  import "./chunk-MA22KQYU.js";
10
10
  import {
11
11
  withErrorHandler
12
- } from "./chunk-RM3CRZ3V.js";
12
+ } from "./chunk-4FZPFRJH.js";
13
13
  import "./chunk-MD3YWUKO.js";
14
14
  import {
15
15
  Command
@@ -61,4 +61,4 @@ Notes:
61
61
  export {
62
62
  zeroDeveloperSupportCommand
63
63
  };
64
- //# sourceMappingURL=developer-support-CS4NUQKS.js.map
64
+ //# sourceMappingURL=developer-support-XJKZ7VM3.js.map
@@ -9,19 +9,19 @@ import {
9
9
  getZeroBillingStatus,
10
10
  getZeroOrg,
11
11
  getZeroOrgMembers
12
- } from "./chunk-MM2THXZU.js";
13
- import "./chunk-SZFRTXBU.js";
12
+ } from "./chunk-52KFOVUA.js";
13
+ import "./chunk-LPA5CSUN.js";
14
14
  import {
15
15
  planUpgradeUrl
16
16
  } from "./chunk-2NW76WYJ.js";
17
17
  import {
18
18
  getPlatformOrigin
19
- } from "./chunk-3XRJTKOC.js";
19
+ } from "./chunk-FXM2FONE.js";
20
20
  import "./chunk-MA22KQYU.js";
21
21
  import {
22
22
  source_default,
23
23
  withErrorHandler
24
- } from "./chunk-RM3CRZ3V.js";
24
+ } from "./chunk-4FZPFRJH.js";
25
25
  import "./chunk-MD3YWUKO.js";
26
26
  import {
27
27
  Command
@@ -122,4 +122,4 @@ Notes:
122
122
  export {
123
123
  zeroDoctorCommand
124
124
  };
125
- //# sourceMappingURL=doctor-FDGQRZX4.js.map
125
+ //# sourceMappingURL=doctor-ZMKXNLJY.js.map
@@ -7,13 +7,13 @@ import {
7
7
  downloadFeishuFile,
8
8
  initFeishuFileUpload,
9
9
  sendFeishuMessage
10
- } from "./chunk-MM2THXZU.js";
11
- import "./chunk-SZFRTXBU.js";
10
+ } from "./chunk-52KFOVUA.js";
11
+ import "./chunk-LPA5CSUN.js";
12
12
  import "./chunk-MA22KQYU.js";
13
13
  import {
14
14
  source_default,
15
15
  withErrorHandler
16
- } from "./chunk-RM3CRZ3V.js";
16
+ } from "./chunk-4FZPFRJH.js";
17
17
  import "./chunk-MD3YWUKO.js";
18
18
  import {
19
19
  Command
@@ -274,4 +274,4 @@ Examples:
274
274
  export {
275
275
  zeroFeishuCommand
276
276
  };
277
- //# sourceMappingURL=feishu-IZNLUXA6.js.map
277
+ //# sourceMappingURL=feishu-IJ3JASUR.js.map
@@ -14,13 +14,13 @@ import {
14
14
  zeroFinanceQuoteRequestSchema,
15
15
  zeroFinanceRangeSchema,
16
16
  zeroFinanceSearchRequestSchema
17
- } from "./chunk-MM2THXZU.js";
18
- import "./chunk-SZFRTXBU.js";
17
+ } from "./chunk-52KFOVUA.js";
18
+ import "./chunk-LPA5CSUN.js";
19
19
  import "./chunk-MA22KQYU.js";
20
20
  import {
21
21
  source_default,
22
22
  withErrorHandler
23
- } from "./chunk-RM3CRZ3V.js";
23
+ } from "./chunk-4FZPFRJH.js";
24
24
  import "./chunk-MD3YWUKO.js";
25
25
  import {
26
26
  Command,
@@ -125,4 +125,4 @@ Notes:
125
125
  export {
126
126
  zeroFinanceCommand
127
127
  };
128
- //# sourceMappingURL=finance-MI4RQTGE.js.map
128
+ //# sourceMappingURL=finance-JKPM2EFQ.js.map
@@ -28,24 +28,24 @@ import {
28
28
  getZeroBillingStatus,
29
29
  listZeroConnectorCatalog,
30
30
  listZeroConnectorCatalogStatus
31
- } from "./chunk-MM2THXZU.js";
31
+ } from "./chunk-52KFOVUA.js";
32
32
  import {
33
33
  generateWebImage,
34
34
  generateWebVideo,
35
35
  generateWebVoice
36
- } from "./chunk-SZFRTXBU.js";
36
+ } from "./chunk-LPA5CSUN.js";
37
37
  import {
38
38
  planUpgradeUrl
39
39
  } from "./chunk-2NW76WYJ.js";
40
40
  import {
41
41
  getPlatformOrigin
42
- } from "./chunk-3XRJTKOC.js";
42
+ } from "./chunk-FXM2FONE.js";
43
43
  import "./chunk-MA22KQYU.js";
44
44
  import {
45
45
  ApiRequestError,
46
46
  source_default,
47
47
  withErrorHandler
48
- } from "./chunk-RM3CRZ3V.js";
48
+ } from "./chunk-4FZPFRJH.js";
49
49
  import "./chunk-MD3YWUKO.js";
50
50
  import {
51
51
  Command,
@@ -2828,4 +2828,4 @@ var generateCommand = new Command().name("generate").description(
2828
2828
  export {
2829
2829
  generateCommand
2830
2830
  };
2831
- //# sourceMappingURL=generate-TBMH5BJW.js.map
2831
+ //# sourceMappingURL=generate-3ZVBU4ON.js.map
@@ -5,12 +5,12 @@ import {
5
5
  completeGithubFileUpload,
6
6
  downloadGithubFile,
7
7
  initGithubFileUpload
8
- } from "./chunk-MM2THXZU.js";
9
- import "./chunk-SZFRTXBU.js";
8
+ } from "./chunk-52KFOVUA.js";
9
+ import "./chunk-LPA5CSUN.js";
10
10
  import "./chunk-MA22KQYU.js";
11
11
  import {
12
12
  withErrorHandler
13
- } from "./chunk-RM3CRZ3V.js";
13
+ } from "./chunk-4FZPFRJH.js";
14
14
  import "./chunk-MD3YWUKO.js";
15
15
  import {
16
16
  Command
@@ -201,4 +201,4 @@ Examples:
201
201
  export {
202
202
  zeroGithubCommand
203
203
  };
204
- //# sourceMappingURL=github-NC36DPAV.js.map
204
+ //# sourceMappingURL=github-LAXAOMUA.js.map
@@ -10,12 +10,12 @@ import {
10
10
  getGoal,
11
11
  pauseGoal,
12
12
  resumeGoal
13
- } from "./chunk-MM2THXZU.js";
14
- import "./chunk-SZFRTXBU.js";
13
+ } from "./chunk-52KFOVUA.js";
14
+ import "./chunk-LPA5CSUN.js";
15
15
  import "./chunk-MA22KQYU.js";
16
16
  import {
17
17
  withErrorHandler
18
- } from "./chunk-RM3CRZ3V.js";
18
+ } from "./chunk-4FZPFRJH.js";
19
19
  import "./chunk-MD3YWUKO.js";
20
20
  import {
21
21
  Command
@@ -78,4 +78,4 @@ var zeroGoalCommand = new Command().name("goal").description("Manage the current
78
78
  export {
79
79
  zeroGoalCommand
80
80
  };
81
- //# sourceMappingURL=goal-E3O4CE6U.js.map
81
+ //# sourceMappingURL=goal-VKVFUSJK.js.map
@@ -7,13 +7,13 @@ import {
7
7
  getHostedSiteFiles,
8
8
  hostedArtifactKindSchema,
9
9
  prepareHostedSite
10
- } from "./chunk-MM2THXZU.js";
11
- import "./chunk-SZFRTXBU.js";
10
+ } from "./chunk-52KFOVUA.js";
11
+ import "./chunk-LPA5CSUN.js";
12
12
  import "./chunk-MA22KQYU.js";
13
13
  import {
14
14
  source_default,
15
15
  withErrorHandler
16
- } from "./chunk-RM3CRZ3V.js";
16
+ } from "./chunk-4FZPFRJH.js";
17
17
  import "./chunk-MD3YWUKO.js";
18
18
  import {
19
19
  Command,
@@ -657,4 +657,4 @@ Notes:
657
657
  export {
658
658
  zeroHostCommand
659
659
  };
660
- //# sourceMappingURL=host-SEROEJ3X.js.map
660
+ //# sourceMappingURL=host-72KTJI5D.js.map