@vm0/cli 9.252.0 → 9.253.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.
- package/{agent-DJY6SYVC.js → agent-X6O3YR4M.js} +7 -7
- package/{banking-SV5ZIH44.js → banking-NGZXYSVB.js} +5 -5
- package/{chat-G2KQYYK5.js → chat-CRY62LOA.js} +6 -6
- package/{chunk-BSDS7GCS.js → chunk-2E37DQSD.js} +2 -2
- package/{chunk-QL2BWE6J.js → chunk-2YJV4T5H.js} +189 -13
- package/chunk-2YJV4T5H.js.map +1 -0
- package/{chunk-I56DJKTX.js → chunk-7JNLGFRW.js} +4 -8
- package/chunk-7JNLGFRW.js.map +1 -0
- package/{chunk-E2DKMMGY.js → chunk-7YTIE7KU.js} +3 -3
- package/{chunk-CUAL7MH6.js → chunk-FJFJLQQW.js} +2 -2
- package/{chunk-DK3C2ME6.js → chunk-KMRZUQHC.js} +8 -1
- package/chunk-KMRZUQHC.js.map +1 -0
- package/{chunk-BKSVVARX.js → chunk-LIT3JQQR.js} +2 -2
- package/{chunk-IX2GN2TI.js → chunk-LO2JYFNP.js} +2 -2
- package/{chunk-RGHA7C2O.js → chunk-RANJI5FZ.js} +2 -2
- package/{chunk-TRFIH4R5.js → chunk-RMLNBK2X.js} +2 -2
- package/{chunk-AWLNHCAC.js → chunk-XM3WOXFE.js} +4 -4
- package/{computer-use-FUBM53XG.js → computer-use-C3HZXTKZ.js} +5 -5
- package/{connector-3GCLB6HW.js → connector-DPZKQG4U.js} +8 -8
- package/{credit-SXRYMKSD.js → credit-WY6P3D6B.js} +7 -7
- package/{developer-support-LQHWOQLY.js → developer-support-RYY76Y65.js} +5 -5
- package/{doctor-RVC32BKE.js → doctor-XZH52P7J.js} +7 -7
- package/{feishu-62E2QMM5.js → feishu-HLSIBEHH.js} +5 -5
- package/{finance-HP4WFZUY.js → finance-IWVIYPXL.js} +5 -5
- package/{generate-PTBOIM6B.js → generate-IAA656VE.js} +7 -7
- package/{github-62XSFEWF.js → github-MJZJ2VLC.js} +5 -5
- package/{goal-VRWB2AS3.js → goal-7OCVIFTQ.js} +5 -5
- package/{host-OKISPSSS.js → host-KX7NPRZM.js} +5 -5
- package/{logs-53CMUU4J.js → logs-AHOU7TJL.js} +6 -6
- package/{mail-E6R5V6F6.js → mail-D3YBSKA6.js} +7 -7
- package/{maps-B7F3CODU.js → maps-AT7I4KK6.js} +5 -5
- package/{model-2VZQVFTE.js → model-7AEJV5QI.js} +6 -6
- package/{model-provider-XALJ5BZB.js → model-provider-CNTRAXGR.js} +6 -6
- package/{org-JIAZYZUL.js → org-4EOIMAMU.js} +5 -5
- package/package.json +1 -1
- package/{people-search-LZ2BRXA6.js → people-search-YIPV2HRX.js} +5 -5
- package/{phone-MXUV3YD3.js → phone-RGFGHH4G.js} +5 -5
- package/{preference-LONJZKPE.js → preference-UIFDOWCE.js} +5 -5
- package/{resource-26IQ2JCS.js → resource-UCO5W2EM.js} +5 -5
- package/{scrape-H2ZA5AJD.js → scrape-V6KXL77N.js} +5 -5
- package/{search-R62IJFT4.js → search-FKCTV4PA.js} +6 -6
- package/{secret-PHZZWEE3.js → secret-ZOUQEPTX.js} +5 -5
- package/{slack-DQJUJIWY.js → slack-4WKWNC54.js} +5 -5
- package/{teams-B5NDIX3U.js → teams-MRN5OZEA.js} +5 -5
- package/{telegram-R67CYOON.js → telegram-DJ6DOWYM.js} +5 -5
- package/{upgrade-FJKXJO6L.js → upgrade-2VYHUARI.js} +4 -4
- package/{variable-GNCE5TUG.js → variable-6SNXAUY7.js} +5 -5
- package/{video-UDPAFI36.js → video-DF4MZ6J2.js} +4 -4
- package/{weather-O6L5SALA.js → weather-PATAREUP.js} +5 -5
- package/{web-6I5S773Q.js → web-GMBMMBHY.js} +5 -5
- package/{web-search-GQAKFVCC.js → web-search-SYJ7DI6M.js} +5 -5
- package/{whoami-MEJV5DZB.js → whoami-KD3QSC6J.js} +7 -7
- package/{workflow-PEVNMY2N.js → workflow-DATIF2MF.js} +577 -41
- package/workflow-DATIF2MF.js.map +1 -0
- package/zero.js +42 -42
- package/chunk-DK3C2ME6.js.map +0 -1
- package/chunk-I56DJKTX.js.map +0 -1
- package/chunk-QL2BWE6J.js.map +0 -1
- package/workflow-PEVNMY2N.js.map +0 -1
- /package/{agent-DJY6SYVC.js.map → agent-X6O3YR4M.js.map} +0 -0
- /package/{banking-SV5ZIH44.js.map → banking-NGZXYSVB.js.map} +0 -0
- /package/{chat-G2KQYYK5.js.map → chat-CRY62LOA.js.map} +0 -0
- /package/{chunk-BSDS7GCS.js.map → chunk-2E37DQSD.js.map} +0 -0
- /package/{chunk-E2DKMMGY.js.map → chunk-7YTIE7KU.js.map} +0 -0
- /package/{chunk-CUAL7MH6.js.map → chunk-FJFJLQQW.js.map} +0 -0
- /package/{chunk-BKSVVARX.js.map → chunk-LIT3JQQR.js.map} +0 -0
- /package/{chunk-IX2GN2TI.js.map → chunk-LO2JYFNP.js.map} +0 -0
- /package/{chunk-RGHA7C2O.js.map → chunk-RANJI5FZ.js.map} +0 -0
- /package/{chunk-TRFIH4R5.js.map → chunk-RMLNBK2X.js.map} +0 -0
- /package/{chunk-AWLNHCAC.js.map → chunk-XM3WOXFE.js.map} +0 -0
- /package/{computer-use-FUBM53XG.js.map → computer-use-C3HZXTKZ.js.map} +0 -0
- /package/{connector-3GCLB6HW.js.map → connector-DPZKQG4U.js.map} +0 -0
- /package/{credit-SXRYMKSD.js.map → credit-WY6P3D6B.js.map} +0 -0
- /package/{developer-support-LQHWOQLY.js.map → developer-support-RYY76Y65.js.map} +0 -0
- /package/{doctor-RVC32BKE.js.map → doctor-XZH52P7J.js.map} +0 -0
- /package/{feishu-62E2QMM5.js.map → feishu-HLSIBEHH.js.map} +0 -0
- /package/{finance-HP4WFZUY.js.map → finance-IWVIYPXL.js.map} +0 -0
- /package/{generate-PTBOIM6B.js.map → generate-IAA656VE.js.map} +0 -0
- /package/{github-62XSFEWF.js.map → github-MJZJ2VLC.js.map} +0 -0
- /package/{goal-VRWB2AS3.js.map → goal-7OCVIFTQ.js.map} +0 -0
- /package/{host-OKISPSSS.js.map → host-KX7NPRZM.js.map} +0 -0
- /package/{logs-53CMUU4J.js.map → logs-AHOU7TJL.js.map} +0 -0
- /package/{mail-E6R5V6F6.js.map → mail-D3YBSKA6.js.map} +0 -0
- /package/{maps-B7F3CODU.js.map → maps-AT7I4KK6.js.map} +0 -0
- /package/{model-2VZQVFTE.js.map → model-7AEJV5QI.js.map} +0 -0
- /package/{model-provider-XALJ5BZB.js.map → model-provider-CNTRAXGR.js.map} +0 -0
- /package/{org-JIAZYZUL.js.map → org-4EOIMAMU.js.map} +0 -0
- /package/{people-search-LZ2BRXA6.js.map → people-search-YIPV2HRX.js.map} +0 -0
- /package/{phone-MXUV3YD3.js.map → phone-RGFGHH4G.js.map} +0 -0
- /package/{preference-LONJZKPE.js.map → preference-UIFDOWCE.js.map} +0 -0
- /package/{resource-26IQ2JCS.js.map → resource-UCO5W2EM.js.map} +0 -0
- /package/{scrape-H2ZA5AJD.js.map → scrape-V6KXL77N.js.map} +0 -0
- /package/{search-R62IJFT4.js.map → search-FKCTV4PA.js.map} +0 -0
- /package/{secret-PHZZWEE3.js.map → secret-ZOUQEPTX.js.map} +0 -0
- /package/{slack-DQJUJIWY.js.map → slack-4WKWNC54.js.map} +0 -0
- /package/{teams-B5NDIX3U.js.map → teams-MRN5OZEA.js.map} +0 -0
- /package/{telegram-R67CYOON.js.map → telegram-DJ6DOWYM.js.map} +0 -0
- /package/{upgrade-FJKXJO6L.js.map → upgrade-2VYHUARI.js.map} +0 -0
- /package/{variable-GNCE5TUG.js.map → variable-6SNXAUY7.js.map} +0 -0
- /package/{video-UDPAFI36.js.map → video-DF4MZ6J2.js.map} +0 -0
- /package/{weather-O6L5SALA.js.map → weather-PATAREUP.js.map} +0 -0
- /package/{web-6I5S773Q.js.map → web-GMBMMBHY.js.map} +0 -0
- /package/{web-search-GQAKFVCC.js.map → web-search-SYJ7DI6M.js.map} +0 -0
- /package/{whoami-MEJV5DZB.js.map → whoami-KD3QSC6J.js.map} +0 -0
package/zero.js
CHANGED
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
decodeZeroTokenPayload,
|
|
6
6
|
isFeatureEnabled
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KMRZUQHC.js";
|
|
8
8
|
import {
|
|
9
9
|
Command
|
|
10
10
|
} from "./chunk-LD4ZVU4O.js";
|
|
@@ -60,7 +60,7 @@ if (DSN) {
|
|
|
60
60
|
Sentry.init({
|
|
61
61
|
dsn: DSN,
|
|
62
62
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
63
|
-
release: "9.
|
|
63
|
+
release: "9.253.0",
|
|
64
64
|
sendDefaultPii: false,
|
|
65
65
|
tracesSampleRate: 0,
|
|
66
66
|
shutdownTimeout: 500,
|
|
@@ -79,7 +79,7 @@ if (DSN) {
|
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
81
|
Sentry.setContext("cli", {
|
|
82
|
-
version: "9.
|
|
82
|
+
version: "9.253.0",
|
|
83
83
|
command: process.argv.slice(2).join(" ")
|
|
84
84
|
});
|
|
85
85
|
Sentry.setContext("runtime", {
|
|
@@ -199,161 +199,161 @@ var ZERO_COMMAND_DEFINITIONS = [
|
|
|
199
199
|
name: "org",
|
|
200
200
|
description: "Manage organization settings, members, and providers",
|
|
201
201
|
load: async () => {
|
|
202
|
-
return (await import("./org-
|
|
202
|
+
return (await import("./org-4EOIMAMU.js")).zeroOrgCommand;
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
name: "model",
|
|
207
207
|
description: "List available models and model-switching guidance",
|
|
208
208
|
load: async () => {
|
|
209
|
-
return (await import("./model-
|
|
209
|
+
return (await import("./model-7AEJV5QI.js")).zeroModelCommand;
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
name: "model-provider",
|
|
214
214
|
description: "Inspect model provider routing",
|
|
215
215
|
load: async () => {
|
|
216
|
-
return (await import("./model-provider-
|
|
216
|
+
return (await import("./model-provider-CNTRAXGR.js")).zeroModelProviderCommand;
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
name: "agent",
|
|
221
221
|
description: "View or manage zero agents",
|
|
222
222
|
load: async () => {
|
|
223
|
-
return (await import("./agent-
|
|
223
|
+
return (await import("./agent-X6O3YR4M.js")).zeroAgentCommand;
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
name: "connector",
|
|
228
228
|
description: "Check third-party service connections (GitHub, Slack, etc.)",
|
|
229
229
|
load: async () => {
|
|
230
|
-
return (await import("./connector-
|
|
230
|
+
return (await import("./connector-DPZKQG4U.js")).zeroConnectorCommand;
|
|
231
231
|
}
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
name: "mail",
|
|
235
235
|
description: "Review and send mail through Gmail or Outlook Mail",
|
|
236
236
|
load: async () => {
|
|
237
|
-
return (await import("./mail-
|
|
237
|
+
return (await import("./mail-D3YBSKA6.js")).zeroMailCommand;
|
|
238
238
|
}
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
name: "credit",
|
|
242
242
|
description: "View or buy credits",
|
|
243
243
|
load: async () => {
|
|
244
|
-
return (await import("./credit-
|
|
244
|
+
return (await import("./credit-WY6P3D6B.js")).zeroCreditCommand;
|
|
245
245
|
}
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
name: "upgrade",
|
|
249
249
|
description: "Create a workspace plan upgrade link",
|
|
250
250
|
load: async () => {
|
|
251
|
-
return (await import("./upgrade-
|
|
251
|
+
return (await import("./upgrade-2VYHUARI.js")).zeroUpgradeCommand;
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
255
|
name: "doctor",
|
|
256
256
|
description: "Diagnose runtime issues (connector health, permission denials)",
|
|
257
257
|
load: async () => {
|
|
258
|
-
return (await import("./doctor-
|
|
258
|
+
return (await import("./doctor-XZH52P7J.js")).zeroDoctorCommand;
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
name: "preference",
|
|
263
263
|
description: "View or update user preferences (timezone, notifications)",
|
|
264
264
|
load: async () => {
|
|
265
|
-
return (await import("./preference-
|
|
265
|
+
return (await import("./preference-UIFDOWCE.js")).zeroPreferenceCommand;
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
269
|
name: "secret",
|
|
270
270
|
description: "Read or write secrets (API keys, tokens)",
|
|
271
271
|
load: async () => {
|
|
272
|
-
return (await import("./secret-
|
|
272
|
+
return (await import("./secret-ZOUQEPTX.js")).zeroSecretCommand;
|
|
273
273
|
}
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
276
|
name: "github",
|
|
277
277
|
description: "Upload and download GitHub files",
|
|
278
278
|
load: async () => {
|
|
279
|
-
return (await import("./github-
|
|
279
|
+
return (await import("./github-MJZJ2VLC.js")).zeroGithubCommand;
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
282
|
{
|
|
283
283
|
name: "slack",
|
|
284
284
|
description: "Send messages, upload files, and download files from Slack as the bot",
|
|
285
285
|
load: async () => {
|
|
286
|
-
return (await import("./slack-
|
|
286
|
+
return (await import("./slack-4WKWNC54.js")).zeroSlackCommand;
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
name: "feishu",
|
|
291
291
|
description: "Send messages to Feishu as an organization bot",
|
|
292
292
|
load: async () => {
|
|
293
|
-
return (await import("./feishu-
|
|
293
|
+
return (await import("./feishu-HLSIBEHH.js")).zeroFeishuCommand;
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
296
|
{
|
|
297
297
|
name: "teams",
|
|
298
298
|
description: "Send Microsoft Teams messages, upload files, and download files",
|
|
299
299
|
load: async () => {
|
|
300
|
-
return (await import("./teams-
|
|
300
|
+
return (await import("./teams-MRN5OZEA.js")).zeroTeamsCommand;
|
|
301
301
|
}
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
name: "telegram",
|
|
305
305
|
description: "Inspect bots, send messages, upload files, and download files from Telegram",
|
|
306
306
|
load: async () => {
|
|
307
|
-
return (await import("./telegram-
|
|
307
|
+
return (await import("./telegram-DJ6DOWYM.js")).zeroTelegramCommand;
|
|
308
308
|
}
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
311
|
name: "phone",
|
|
312
312
|
description: "Send AgentPhone messages, upload files, and download media",
|
|
313
313
|
load: async () => {
|
|
314
|
-
return (await import("./phone-
|
|
314
|
+
return (await import("./phone-RGFGHH4G.js")).zeroPhoneCommand;
|
|
315
315
|
}
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
name: "variable",
|
|
319
319
|
description: "Read or write non-sensitive configuration values",
|
|
320
320
|
load: async () => {
|
|
321
|
-
return (await import("./variable-
|
|
321
|
+
return (await import("./variable-6SNXAUY7.js")).zeroVariableCommand;
|
|
322
322
|
}
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
325
|
name: "logs",
|
|
326
326
|
description: "View and search agent run logs",
|
|
327
327
|
load: async () => {
|
|
328
|
-
return (await import("./logs-
|
|
328
|
+
return (await import("./logs-AHOU7TJL.js")).zeroLogsCommand;
|
|
329
329
|
}
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
name: "search",
|
|
333
333
|
description: "Search logs, chat, or get a recipe for external sources",
|
|
334
334
|
load: async () => {
|
|
335
|
-
return (await import("./search-
|
|
335
|
+
return (await import("./search-FKCTV4PA.js")).zeroSearchCommand;
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
339
|
name: "chat",
|
|
340
340
|
description: "Manage the current web chat thread",
|
|
341
341
|
load: async () => {
|
|
342
|
-
return (await import("./chat-
|
|
342
|
+
return (await import("./chat-CRY62LOA.js")).zeroChatCommand;
|
|
343
343
|
}
|
|
344
344
|
},
|
|
345
345
|
{
|
|
346
346
|
name: "resource",
|
|
347
347
|
description: "Pull registry resources from private R2-backed archives",
|
|
348
348
|
load: async () => {
|
|
349
|
-
return (await import("./resource-
|
|
349
|
+
return (await import("./resource-UCO5W2EM.js")).zeroResourceCommand;
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
353
|
name: "whoami",
|
|
354
354
|
description: "Show agent identity, run ID, and capabilities",
|
|
355
355
|
load: async () => {
|
|
356
|
-
return (await import("./whoami-
|
|
356
|
+
return (await import("./whoami-KD3QSC6J.js")).zeroWhoamiCommand;
|
|
357
357
|
}
|
|
358
358
|
},
|
|
359
359
|
{
|
|
@@ -367,105 +367,105 @@ var ZERO_COMMAND_DEFINITIONS = [
|
|
|
367
367
|
name: "workflow",
|
|
368
368
|
description: "Manage workflows",
|
|
369
369
|
load: async () => {
|
|
370
|
-
return (await import("./workflow-
|
|
370
|
+
return (await import("./workflow-DATIF2MF.js")).zeroWorkflowCommand;
|
|
371
371
|
}
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
374
|
name: "goal",
|
|
375
375
|
description: "Manage the current thread goal",
|
|
376
376
|
load: async () => {
|
|
377
|
-
return (await import("./goal-
|
|
377
|
+
return (await import("./goal-7OCVIFTQ.js")).zeroGoalCommand;
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
381
|
name: "developer-support",
|
|
382
382
|
description: "Submit a diagnostic report to the dev team",
|
|
383
383
|
load: async () => {
|
|
384
|
-
return (await import("./developer-support-
|
|
384
|
+
return (await import("./developer-support-RYY76Y65.js")).zeroDeveloperSupportCommand;
|
|
385
385
|
}
|
|
386
386
|
},
|
|
387
387
|
{
|
|
388
388
|
name: "computer-use",
|
|
389
389
|
description: "Desktop app computer use through Zero CLI",
|
|
390
390
|
load: async () => {
|
|
391
|
-
return (await import("./computer-use-
|
|
391
|
+
return (await import("./computer-use-C3HZXTKZ.js")).zeroComputerUseCommand;
|
|
392
392
|
}
|
|
393
393
|
},
|
|
394
394
|
{
|
|
395
395
|
name: "generate",
|
|
396
396
|
description: "Generate assets via vm0's built-in pipelines or get connector skill-invocation guidance",
|
|
397
397
|
load: async () => {
|
|
398
|
-
return (await import("./generate-
|
|
398
|
+
return (await import("./generate-IAA656VE.js")).generateCommand;
|
|
399
399
|
}
|
|
400
400
|
},
|
|
401
401
|
{
|
|
402
402
|
name: "web",
|
|
403
403
|
description: "Upload and download files via the web chat endpoint",
|
|
404
404
|
load: async () => {
|
|
405
|
-
return (await import("./web-
|
|
405
|
+
return (await import("./web-GMBMMBHY.js")).zeroWebCommand;
|
|
406
406
|
}
|
|
407
407
|
},
|
|
408
408
|
{
|
|
409
409
|
name: "video",
|
|
410
410
|
description: "Video processing utilities",
|
|
411
411
|
load: async () => {
|
|
412
|
-
return (await import("./video-
|
|
412
|
+
return (await import("./video-DF4MZ6J2.js")).zeroVideoCommand;
|
|
413
413
|
}
|
|
414
414
|
},
|
|
415
415
|
{
|
|
416
416
|
name: "host",
|
|
417
417
|
description: "Publish static sites and clone owned hosted site files",
|
|
418
418
|
load: async () => {
|
|
419
|
-
return (await import("./host-
|
|
419
|
+
return (await import("./host-KX7NPRZM.js")).zeroHostCommand;
|
|
420
420
|
}
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
423
|
name: "maps",
|
|
424
424
|
description: "Use managed zero maps services",
|
|
425
425
|
load: async () => {
|
|
426
|
-
return (await import("./maps-
|
|
426
|
+
return (await import("./maps-AT7I4KK6.js")).zeroMapsCommand;
|
|
427
427
|
}
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
430
|
name: "weather",
|
|
431
431
|
description: "Use managed Zero weather services",
|
|
432
432
|
load: async () => {
|
|
433
|
-
return (await import("./weather-
|
|
433
|
+
return (await import("./weather-PATAREUP.js")).zeroWeatherCommand;
|
|
434
434
|
}
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
437
|
name: "scrape",
|
|
438
438
|
description: "Scrape public web pages through managed zero scrape",
|
|
439
439
|
load: async () => {
|
|
440
|
-
return (await import("./scrape-
|
|
440
|
+
return (await import("./scrape-V6KXL77N.js")).zeroScrapeCommand;
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
444
|
name: "people-search",
|
|
445
445
|
description: "Find professionals through managed zero people search",
|
|
446
446
|
load: async () => {
|
|
447
|
-
return (await import("./people-search-
|
|
447
|
+
return (await import("./people-search-YIPV2HRX.js")).zeroPeopleSearchCommand;
|
|
448
448
|
}
|
|
449
449
|
},
|
|
450
450
|
{
|
|
451
451
|
name: "web-search",
|
|
452
452
|
description: "Search the public web through managed zero web search",
|
|
453
453
|
load: async () => {
|
|
454
|
-
return (await import("./web-search-
|
|
454
|
+
return (await import("./web-search-SYJ7DI6M.js")).zeroWebSearchCommand;
|
|
455
455
|
}
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
458
|
name: "finance",
|
|
459
459
|
description: "Query financial instruments through managed zero finance",
|
|
460
460
|
load: async () => {
|
|
461
|
-
return (await import("./finance-
|
|
461
|
+
return (await import("./finance-IWVIYPXL.js")).zeroFinanceCommand;
|
|
462
462
|
}
|
|
463
463
|
},
|
|
464
464
|
{
|
|
465
465
|
name: "banking",
|
|
466
466
|
description: "Use managed zero banking services",
|
|
467
467
|
load: async () => {
|
|
468
|
-
return (await import("./banking-
|
|
468
|
+
return (await import("./banking-NGZXYSVB.js")).zeroBankingCommand;
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
];
|
|
@@ -655,7 +655,7 @@ function registerZeroCommands(prog, commands, featureSwitchOverrides) {
|
|
|
655
655
|
var program = new Command();
|
|
656
656
|
program.name("zero").description(
|
|
657
657
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
658
|
-
).version("9.
|
|
658
|
+
).version("9.253.0").addHelpText("after", () => {
|
|
659
659
|
return buildZeroHelpText();
|
|
660
660
|
});
|
|
661
661
|
if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {
|
package/chunk-DK3C2ME6.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/connectors/src/feature-switch-key.ts","../../../packages/core/src/feature-switch.ts","../../../packages/core/src/feature-switch-key.ts","../../../packages/core/src/identity-hash.ts","../src/lib/api/zero-token.ts"],"sourcesContent":["/**\n * Feature switch keys\n *\n * Defines all available feature switch identifiers.\n */\nexport enum FeatureSwitchKey {\n Dummy = \"dummy\",\n ExternalConnectorCatalog = \"externalConnectorCatalog\",\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 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 CanonicalSlackIngress = \"canonicalSlackIngress\",\n CanonicalSlackWebVisibility = \"canonicalSlackWebVisibility\",\n CanonicalSlackAssets = \"canonicalSlackAssets\",\n ZeroWeather = \"zeroWeather\",\n ZeroFinance = \"zeroFinance\",\n ZeroPeopleSearch = \"zeroPeopleSearch\",\n Banking = \"banking\",\n Lab = \"lab\",\n NotionWorkflowAutomations = \"notionWorkflowAutomations\",\n GithubWorkflowRunAutomations = \"githubWorkflowRunAutomations\",\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 StructuredPrompt = \"structuredPrompt\",\n\n ZapierConnector = \"zapierConnector\",\n HtmlArtifactCommentEditing = \"htmlArtifactCommentEditing\",\n ComputerUseDesktopPlugins = \"computerUseDesktopPlugins\",\n AgentUnreadIndicators = \"agentUnreadIndicators\",\n ChatThreadUnifiedSearch = \"chatThreadUnifiedSearch\",\n ComposerChatThreadSuggestions = \"composerChatThreadSuggestions\",\n SidebarSubscriptionUsage = \"sidebarSubscriptionUsage\",\n TeamsIntegration = \"teamsIntegration\",\n FeishuIntegration = \"feishuIntegration\",\n PresentationExport = \"presentationExport\",\n Artifacts = \"artifacts\",\n HostedArtifactVersions = \"hostedArtifactVersions\",\n VideoArtifactPosters = \"videoArtifactPosters\",\n WebsiteTemplateV2 = \"websiteTemplateV2\",\n PlanUpgradeGuidance = \"planUpgradeGuidance\",\n OrgPlanEntitlementReads = \"orgPlanEntitlementReads\",\n WorkflowConnectorReadiness = \"workflowConnectorReadiness\",\n ZeroMail = \"zeroMail\",\n ComposerConnectorPermissions = \"composerConnectorPermissions\",\n ThreeColumnNav = \"threeColumnNav\",\n ChatHistoryBackfillProgress = \"chatHistoryBackfillProgress\",\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.ExternalConnectorCatalog]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Use the accepted external catalog as the global source for official connectors\",\n enabled: false,\n userOverridable: false,\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.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.CanonicalSlackIngress]: {\n maintainer: \"lancy@vm0.ai\",\n description:\n \"Route newly admitted per-user Slack threads through canonical chat ingress.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.CanonicalSlackWebVisibility]: {\n maintainer: \"lancy@vm0.ai\",\n description:\n \"Show canonical Slack chat threads in Web chat surfaces for enrolled users.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.CanonicalSlackAssets]: {\n maintainer: \"lancy@vm0.ai\",\n description:\n \"Canonicalize direct Slack inputs and run-scoped Slack file publications.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ZeroWeather]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Enable the managed Google-backed Zero Weather and Air Quality APIs and weather:read ZERO_TOKEN capability.\",\n enabled: true,\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.ZeroPeopleSearch]: {\n maintainer: \"liangyou@vm0.ai\",\n description:\n \"Enable managed Perplexity People Search and the people-search: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.GithubWorkflowRunAutomations]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Enable GitHub Actions workflow run completed event automations.\",\n enabled: true,\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 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.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.HtmlArtifactCommentEditing]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Enable the HTML artifact comment-editing workflow for collecting DOM comments and preparing instrumented working-copy edits.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\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.AgentUnreadIndicators]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Show chat unread indicators in sidebar pinned agent lists and the conversation picker.\",\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.ComposerChatThreadSuggestions]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Suggest titled chat threads from the current agent when typing @ in the chat composer.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.ChatHistoryBackfillProgress]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Progress bar under the chat thread header showing history backfill progress while older messages load.\",\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.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.PresentationExport]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Enable downloading presentation artifacts as PPTX files and uploading them as native, editable Google Slides decks.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\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 },\n [FeatureSwitchKey.VideoArtifactPosters]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Generate poster images asynchronously when video artifacts are recorded.\",\n enabled: false,\n enabledUserHashes: [\"032a75d8\"],\n },\n [FeatureSwitchKey.WebsiteTemplateV2]: {\n maintainer: \"bingjie@vm0.ai\",\n description:\n \"Generate websites from refreshed self-contained template packages. When off, website generation uses the existing package versions.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n },\n [FeatureSwitchKey.PlanUpgradeGuidance]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Show plan-upgrade guidance in Zero CLI help and render billing plan links as rich chat cards.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\n userOverridable: false,\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.ZeroMail]: {\n maintainer: \"ethan@vm0.ai\",\n description:\n \"Enable persistent Gmail and Outlook draft cards created through the Zero Mail CLI.\",\n enabled: false,\n enabledOrgIdHashes: STAFF_ORG_ID_HASHES,\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","export { FeatureSwitchKey } from \"@vm0/connectors/feature-switch-key\";\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","export interface ZeroTokenPayload {\n userId: string;\n runId: string;\n orgId: string;\n scope: string;\n capabilities: string[];\n iat: number;\n exp: number;\n}\n\n/**\n * Decode a ZERO_TOKEN JWT payload.\n * Only decodes — does NOT verify signature (server does that).\n * If no token is provided, reads from process.env.ZERO_TOKEN.\n * Returns undefined if token is missing, malformed, or not a zero-scoped token.\n */\nexport function decodeZeroTokenPayload(\n token?: string,\n): ZeroTokenPayload | undefined {\n const raw = token ?? process.env.ZERO_TOKEN;\n if (!raw) return undefined;\n\n const prefix = \"vm0_sandbox_\";\n if (!raw.startsWith(prefix)) return undefined;\n const jwt = raw.slice(prefix.length);\n\n const parts = jwt.split(\".\");\n if (parts.length !== 3) return undefined;\n\n try {\n const payload = JSON.parse(\n Buffer.from(parts[1]!, \"base64url\").toString(),\n ) as ZeroTokenPayload;\n if (payload.scope === \"zero\" && Array.isArray(payload.capabilities)) {\n return payload;\n }\n } catch {\n // Malformed token — fall through\n }\n return undefined;\n}\n"],"mappings":";;;;;;;;AAAA;;;ACAA;;;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;;;AFeA,IAAM,mBAA4D;AAAA,EAChE,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