@vm0/cli 9.276.0 → 9.276.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 (106) hide show
  1. package/{agent-W7PHJUVB.js → agent-Y2VPFJTJ.js} +5 -5
  2. package/{banking-O7T5PBM3.js → banking-Y5WT7M34.js} +4 -4
  3. package/{browser-ZG7ZF46W.js → browser-H55S7OEH.js} +4 -4
  4. package/{chat-HJMQOQ4I.js → chat-P6UC665V.js} +5 -5
  5. package/{chunk-L3GNJDD6.js → chunk-52BQC77O.js} +2 -2
  6. package/{chunk-TGZRWEM5.js → chunk-7MOGRZIF.js} +7 -1
  7. package/chunk-7MOGRZIF.js.map +1 -0
  8. package/{chunk-3WAJCD24.js → chunk-DCTUWMGG.js} +174 -1687
  9. package/chunk-DCTUWMGG.js.map +1 -0
  10. package/{chunk-3UTY4STV.js → chunk-JPHMTCJS.js} +130 -249
  11. package/chunk-JPHMTCJS.js.map +1 -0
  12. package/{chunk-BINP2SIK.js → chunk-NUK6BSMQ.js} +2 -2
  13. package/{chunk-VF6NEP63.js → chunk-OHA5XMTM.js} +2 -2
  14. package/{chunk-DNRMAFE7.js → chunk-VH6AYJ2T.js} +6 -4
  15. package/{chunk-DNRMAFE7.js.map → chunk-VH6AYJ2T.js.map} +1 -1
  16. package/{chunk-7L3QU2TW.js → chunk-WVWTGU3D.js} +2 -2
  17. package/chunk-X6A4NKYJ.js +2582 -0
  18. package/chunk-X6A4NKYJ.js.map +1 -0
  19. package/{computer-use-6QJW3BGZ.js → computer-use-IIMQVGVS.js} +4 -4
  20. package/{connector-JZ2LKHX6.js → connector-BOSPE34U.js} +8 -7
  21. package/{connector-JZ2LKHX6.js.map → connector-BOSPE34U.js.map} +1 -1
  22. package/{credit-E54GPGW4.js → credit-HCG4ZY2S.js} +5 -5
  23. package/{developer-support-HEKO46UO.js → developer-support-OQFPD6WL.js} +4 -4
  24. package/{doctor-5T7XB6F7.js → doctor-4MUE6KKK.js} +5 -5
  25. package/{feishu-PSHSAE4U.js → feishu-ZZAR72ZM.js} +4 -4
  26. package/{finance-SK24ZFH5.js → finance-QPLN4RKW.js} +4 -4
  27. package/{generate-PWII6LXX.js → generate-KGLIGGYD.js} +367 -10
  28. package/generate-KGLIGGYD.js.map +1 -0
  29. package/{github-BXDFR3GI.js → github-IVVDB43M.js} +4 -4
  30. package/{goal-7TZI6AXS.js → goal-O5AXGFTU.js} +4 -4
  31. package/{host-5T4TVL7F.js → host-25ULGADV.js} +4 -4
  32. package/{logs-55XWHCPG.js → logs-JUK326FY.js} +6 -6
  33. package/{mail-OE6L2CHN.js → mail-FTPC3QXX.js} +6 -6
  34. package/{maps-L6C46N3N.js → maps-EWXICPSJ.js} +4 -4
  35. package/{model-6GXITD4Q.js → model-OOYMO6RP.js} +5 -5
  36. package/{model-provider-UKVWA22U.js → model-provider-JTY2NTCE.js} +5 -5
  37. package/{org-UYC3RD7F.js → org-JOUYJEBD.js} +4 -4
  38. package/package.json +1 -1
  39. package/{people-search-ZCQGVJFI.js → people-search-Y64QIJ7A.js} +4 -4
  40. package/{phone-ATTTOOE7.js → phone-DT3XBSU4.js} +4 -4
  41. package/{preference-KOCJ2LAB.js → preference-JUOFGAIR.js} +4 -4
  42. package/{recognize-2HRC7AQW.js → recognize-WSEXD3D2.js} +4 -4
  43. package/{resource-IBNZRCB7.js → resource-OMELMO73.js} +4 -4
  44. package/{scrape-MJYF5WW6.js → scrape-CHKGSKK6.js} +4 -4
  45. package/{search-AJRMWA6A.js → search-5TB6SYTY.js} +6 -6
  46. package/{secret-C6BJFOWU.js → secret-AIV5RRZT.js} +4 -4
  47. package/{slack-5VGLSWXM.js → slack-5FG5YGYU.js} +4 -4
  48. package/{teams-XASRTN32.js → teams-PZQSLTEP.js} +4 -4
  49. package/{telegram-2HS7B3CT.js → telegram-NKZQNHE3.js} +4 -4
  50. package/{upgrade-X3HGDTJP.js → upgrade-ARASMGTA.js} +3 -3
  51. package/{variable-OGD73T2Q.js → variable-C5UWLXPG.js} +4 -4
  52. package/{video-PUUGUN6K.js → video-FHJSJDWV.js} +3 -3
  53. package/{weather-LFI7A6PF.js → weather-UEPFRQEG.js} +4 -4
  54. package/{web-44A7VBPM.js → web-3LQQFMED.js} +4 -4
  55. package/{web-search-OERDKWJY.js → web-search-TXH5O7YM.js} +4 -4
  56. package/{whoami-E3272IN4.js → whoami-IFTY3LVR.js} +5 -5
  57. package/{workflow-F6EZ27SX.js → workflow-RLCIZUED.js} +5 -5
  58. package/zero.js +44 -44
  59. package/chunk-3UTY4STV.js.map +0 -1
  60. package/chunk-3WAJCD24.js.map +0 -1
  61. package/chunk-BWCUF4IV.js +0 -659
  62. package/chunk-BWCUF4IV.js.map +0 -1
  63. package/chunk-TGZRWEM5.js.map +0 -1
  64. package/generate-PWII6LXX.js.map +0 -1
  65. /package/{agent-W7PHJUVB.js.map → agent-Y2VPFJTJ.js.map} +0 -0
  66. /package/{banking-O7T5PBM3.js.map → banking-Y5WT7M34.js.map} +0 -0
  67. /package/{browser-ZG7ZF46W.js.map → browser-H55S7OEH.js.map} +0 -0
  68. /package/{chat-HJMQOQ4I.js.map → chat-P6UC665V.js.map} +0 -0
  69. /package/{chunk-L3GNJDD6.js.map → chunk-52BQC77O.js.map} +0 -0
  70. /package/{chunk-BINP2SIK.js.map → chunk-NUK6BSMQ.js.map} +0 -0
  71. /package/{chunk-VF6NEP63.js.map → chunk-OHA5XMTM.js.map} +0 -0
  72. /package/{chunk-7L3QU2TW.js.map → chunk-WVWTGU3D.js.map} +0 -0
  73. /package/{computer-use-6QJW3BGZ.js.map → computer-use-IIMQVGVS.js.map} +0 -0
  74. /package/{credit-E54GPGW4.js.map → credit-HCG4ZY2S.js.map} +0 -0
  75. /package/{developer-support-HEKO46UO.js.map → developer-support-OQFPD6WL.js.map} +0 -0
  76. /package/{doctor-5T7XB6F7.js.map → doctor-4MUE6KKK.js.map} +0 -0
  77. /package/{feishu-PSHSAE4U.js.map → feishu-ZZAR72ZM.js.map} +0 -0
  78. /package/{finance-SK24ZFH5.js.map → finance-QPLN4RKW.js.map} +0 -0
  79. /package/{github-BXDFR3GI.js.map → github-IVVDB43M.js.map} +0 -0
  80. /package/{goal-7TZI6AXS.js.map → goal-O5AXGFTU.js.map} +0 -0
  81. /package/{host-5T4TVL7F.js.map → host-25ULGADV.js.map} +0 -0
  82. /package/{logs-55XWHCPG.js.map → logs-JUK326FY.js.map} +0 -0
  83. /package/{mail-OE6L2CHN.js.map → mail-FTPC3QXX.js.map} +0 -0
  84. /package/{maps-L6C46N3N.js.map → maps-EWXICPSJ.js.map} +0 -0
  85. /package/{model-6GXITD4Q.js.map → model-OOYMO6RP.js.map} +0 -0
  86. /package/{model-provider-UKVWA22U.js.map → model-provider-JTY2NTCE.js.map} +0 -0
  87. /package/{org-UYC3RD7F.js.map → org-JOUYJEBD.js.map} +0 -0
  88. /package/{people-search-ZCQGVJFI.js.map → people-search-Y64QIJ7A.js.map} +0 -0
  89. /package/{phone-ATTTOOE7.js.map → phone-DT3XBSU4.js.map} +0 -0
  90. /package/{preference-KOCJ2LAB.js.map → preference-JUOFGAIR.js.map} +0 -0
  91. /package/{recognize-2HRC7AQW.js.map → recognize-WSEXD3D2.js.map} +0 -0
  92. /package/{resource-IBNZRCB7.js.map → resource-OMELMO73.js.map} +0 -0
  93. /package/{scrape-MJYF5WW6.js.map → scrape-CHKGSKK6.js.map} +0 -0
  94. /package/{search-AJRMWA6A.js.map → search-5TB6SYTY.js.map} +0 -0
  95. /package/{secret-C6BJFOWU.js.map → secret-AIV5RRZT.js.map} +0 -0
  96. /package/{slack-5VGLSWXM.js.map → slack-5FG5YGYU.js.map} +0 -0
  97. /package/{teams-XASRTN32.js.map → teams-PZQSLTEP.js.map} +0 -0
  98. /package/{telegram-2HS7B3CT.js.map → telegram-NKZQNHE3.js.map} +0 -0
  99. /package/{upgrade-X3HGDTJP.js.map → upgrade-ARASMGTA.js.map} +0 -0
  100. /package/{variable-OGD73T2Q.js.map → variable-C5UWLXPG.js.map} +0 -0
  101. /package/{video-PUUGUN6K.js.map → video-FHJSJDWV.js.map} +0 -0
  102. /package/{weather-LFI7A6PF.js.map → weather-UEPFRQEG.js.map} +0 -0
  103. /package/{web-44A7VBPM.js.map → web-3LQQFMED.js.map} +0 -0
  104. /package/{web-search-OERDKWJY.js.map → web-search-TXH5O7YM.js.map} +0 -0
  105. /package/{whoami-E3272IN4.js.map → whoami-IFTY3LVR.js.map} +0 -0
  106. /package/{workflow-F6EZ27SX.js.map → workflow-RLCIZUED.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  connectorPermissionGrantsToFirewallPolicies,
6
6
  loadConnectorPermissionInfos,
7
7
  policyIcon
8
- } from "./chunk-DNRMAFE7.js";
8
+ } from "./chunk-VH6AYJ2T.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-3WAJCD24.js";
25
- import "./chunk-BWCUF4IV.js";
24
+ } from "./chunk-DCTUWMGG.js";
25
+ import "./chunk-X6A4NKYJ.js";
26
26
  import "./chunk-ANOLYIPL.js";
27
27
  import {
28
28
  source_default,
29
29
  withErrorHandler
30
- } from "./chunk-BINP2SIK.js";
30
+ } from "./chunk-NUK6BSMQ.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-W7PHJUVB.js.map
600
+ //# sourceMappingURL=agent-Y2VPFJTJ.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-3WAJCD24.js";
7
- import "./chunk-BWCUF4IV.js";
6
+ } from "./chunk-DCTUWMGG.js";
7
+ import "./chunk-X6A4NKYJ.js";
8
8
  import "./chunk-ANOLYIPL.js";
9
9
  import {
10
10
  source_default,
11
11
  withErrorHandler
12
- } from "./chunk-BINP2SIK.js";
12
+ } from "./chunk-NUK6BSMQ.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-O7T5PBM3.js.map
117
+ //# sourceMappingURL=banking-Y5WT7M34.js.map
@@ -8,13 +8,13 @@ import {
8
8
  leaseZeroBrowser,
9
9
  useZeroBrowser,
10
10
  zeroBrowserCreateRequestSchema
11
- } from "./chunk-3WAJCD24.js";
12
- import "./chunk-BWCUF4IV.js";
11
+ } from "./chunk-DCTUWMGG.js";
12
+ import "./chunk-X6A4NKYJ.js";
13
13
  import "./chunk-ANOLYIPL.js";
14
14
  import {
15
15
  source_default,
16
16
  withErrorHandler
17
- } from "./chunk-BINP2SIK.js";
17
+ } from "./chunk-NUK6BSMQ.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-ZG7ZF46W.js.map
176
+ //# sourceMappingURL=browser-H55S7OEH.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-YL5CDK4E.js";
12
12
  import {
13
13
  formatModelProviderRoute
14
- } from "./chunk-7L3QU2TW.js";
14
+ } from "./chunk-WVWTGU3D.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-3WAJCD24.js";
31
- import "./chunk-BWCUF4IV.js";
30
+ } from "./chunk-DCTUWMGG.js";
31
+ import "./chunk-X6A4NKYJ.js";
32
32
  import "./chunk-ANOLYIPL.js";
33
33
  import {
34
34
  getApiUrl,
35
35
  source_default,
36
36
  withErrorHandler
37
- } from "./chunk-BINP2SIK.js";
37
+ } from "./chunk-NUK6BSMQ.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-HJMQOQ4I.js.map
1174
+ //# sourceMappingURL=chat-P6UC665V.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getZeroAgent,
6
6
  getZeroAgentCustomConnectors,
7
7
  getZeroAgentUserConnectors
8
- } from "./chunk-3WAJCD24.js";
8
+ } from "./chunk-DCTUWMGG.js";
9
9
  import {
10
10
  init_esm_shims
11
11
  } from "./chunk-AUWSMG4F.js";
@@ -355,4 +355,4 @@ export {
355
355
  resolveAgentContext,
356
356
  resolveConnectorDiscoveryAgentContext
357
357
  };
358
- //# sourceMappingURL=chunk-L3GNJDD6.js.map
358
+ //# sourceMappingURL=chunk-52BQC77O.js.map
@@ -118,6 +118,12 @@ var FEATURE_SWITCHES = {
118
118
  description: "Enable the JoggAI video generation connector",
119
119
  enabled: true
120
120
  },
121
+ ["joggAiBuiltIn" /* JoggAiBuiltIn */]: {
122
+ maintainer: "yuma@vm0.ai",
123
+ description: "Enable vm0-managed JoggAI talking-avatar video generation",
124
+ enabled: false,
125
+ enabledOrgIdHashes: STAFF_ORG_ID_HASHES
126
+ },
121
127
  ["mercuryConnector" /* MercuryConnector */]: {
122
128
  maintainer: "yuma@vm0.ai",
123
129
  description: "Enable the Mercury banking connector",
@@ -485,4 +491,4 @@ function isFeatureEnabled(key, ctx) {
485
491
  export {
486
492
  isFeatureEnabled
487
493
  };
488
- //# sourceMappingURL=chunk-TGZRWEM5.js.map
494
+ //# sourceMappingURL=chunk-7MOGRZIF.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 JoggAiBuiltIn = \"joggAiBuiltIn\",\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 ZeroBrowser = \"zeroBrowser\",\n ZeroChatMessaging = \"zeroChatMessaging\",\n ZeroImageRecognition = \"zeroImageRecognition\",\n ZeroMailReplyFollowUp = \"zeroMailReplyFollowUp\",\n RustZeroCli = \"rustZeroCli\",\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 RealAgentInPreview = \"realAgentInPreview\",\n ComposerUploadPopover = \"composerUploadPopover\",\n StructuredPromptInlineTemplates = \"structuredPromptInlineTemplates\",\n CustomModelGateways = \"customModelGateways\",\n\n ZapierConnector = \"zapierConnector\",\n ComputerUseDesktopPlugins = \"computerUseDesktopPlugins\",\n ChatThreadUnifiedSearch = \"chatThreadUnifiedSearch\",\n ChatErrorRecovery = \"chatErrorRecovery\",\n PwaChatKeyboardGestures = \"pwaChatKeyboardGestures\",\n SidebarSubscriptionUsage = \"sidebarSubscriptionUsage\",\n TeamsIntegration = \"teamsIntegration\",\n FeishuIntegration = \"feishuIntegration\",\n StrapiIntegration = \"strapiIntegration\",\n ArtifactKeyV2 = \"artifactKeyV2\",\n HostedArtifactVersions = \"hostedArtifactVersions\",\n HtmlResourceIndex = \"htmlResourceIndex\",\n WorkflowConnectorReadiness = \"workflowConnectorReadiness\",\n ComposerConnectorPermissions = \"composerConnectorPermissions\",\n ThreeColumnNav = \"threeColumnNav\",\n ChatThreadSidebarAutoOpen = \"chatThreadSidebarAutoOpen\",\n ArtifactSidebarInlineOpen = \"artifactSidebarInlineOpen\",\n CustomConnectorCliCreate = \"customConnectorCliCreate\",\n CustomConnectorOAuth2 = \"customConnectorOAuth2\",\n MermaidDiagrams = \"mermaidDiagrams\",\n CustomConnectorPermissions = \"customConnectorPermissions\",\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. Every registered switch accepts user overrides\n * through `POST /api/zero/feature-switches`. 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}\n\nexport interface FeatureSwitchMetadata {\n readonly maintainer: string;\n readonly description?: string;\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\nconst CUSTOM_MODEL_GATEWAY_ORG_ID_HASHES = [\n ...STAFF_ORG_ID_HASHES,\n \"a6e60503\", // geo rollout workspace\n] as const;\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: true,\n },\n [FeatureSwitchKey.JoggAiBuiltIn]: {\n maintainer: \"yuma@vm0.ai\",\n description: \"Enable vm0-managed JoggAI talking-avatar video generation\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\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.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 },\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 },\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 },\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.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 },\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 },\n [FeatureSwitchKey.CustomModelGateways]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Enable admin-defined Anthropic Messages and OpenAI Responses model gateway connections.\",\n enabled: false,\n enabledOrgIdHashes: CUSTOM_MODEL_GATEWAY_ORG_ID_HASHES,\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.ChatErrorRecovery]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Replace supported Codex and Claude Code limit errors with recovery actions in chat.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.PwaChatKeyboardGestures]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Keep the PWA chat composer pinned above the software keyboard and support swipe-to-dismiss gestures.\",\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.MermaidDiagrams]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Render ```mermaid code blocks in assistant markdown as diagrams, and tell the web chat agent that they are rendered.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ArtifactSidebarInlineOpen]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Open an artifact clicked in a chat thread inside the already-open artifact sidebar instead of stacking the page-global lightbox over it.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\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.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 },\n [FeatureSwitchKey.ArtifactKeyV2]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Store new user artifacts under flat, ten-character hashed public keys.\",\n enabled: true,\n },\n [FeatureSwitchKey.HostedArtifactVersions]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Create immutable hosted artifact versions behind stable site aliases.\",\n enabled: true,\n },\n [FeatureSwitchKey.HtmlResourceIndex]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Use target-specific static indexes for HTML generation resource selection.\",\n enabled: true,\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 },\n [FeatureSwitchKey.ZeroMailReplyFollowUp]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Enable Zero Mail reply follow-up for staff after all API deployments can read Gmail event configurations with threadId.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\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.ZeroChatMessaging]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Advertise zero chat create, send, and cancel in the agent system prompt without gating the CLI commands or API.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ZeroImageRecognition]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Enable managed image recognition for Zero runs whose selected model does not support image input.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.RustZeroCli]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Use the runner-bundled Rust zero-cli entry point for Zero CLI commands.\",\n enabled: 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 },\n [FeatureSwitchKey.CustomConnectorCliCreate]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Allow Zero CLI agents to create and configure custom connectors directly.\",\n enabled: true,\n },\n [FeatureSwitchKey.CustomConnectorOAuth2]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Allow org admins to add OAuth 2.0 authentication to custom connectors.\",\n enabled: true,\n },\n [FeatureSwitchKey.CustomConnectorPermissions]: {\n maintainer: \"yuma@vm0.ai\",\n description:\n \"Allow users to manage agent permission grants for custom connectors.\",\n enabled: 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 };\n }\n return result;\n}\n\n/** Keep overrides for currently registered feature switches. */\nexport function filterFeatureSwitchOverrides(\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 (key in FEATURE_SWITCHES) {\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,QAA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