@vm0/cli 9.176.3 → 9.176.5
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/{chunk-PK542UZ7.js → chunk-4XXIJOZP.js} +277 -309
- package/{chunk-PK542UZ7.js.map → chunk-4XXIJOZP.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +93 -326
- package/zero.js.map +1 -1
|
@@ -74083,7 +74083,7 @@ if (DSN) {
|
|
|
74083
74083
|
init2({
|
|
74084
74084
|
dsn: DSN,
|
|
74085
74085
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
74086
|
-
release: "9.176.
|
|
74086
|
+
release: "9.176.5",
|
|
74087
74087
|
sendDefaultPii: false,
|
|
74088
74088
|
tracesSampleRate: 0,
|
|
74089
74089
|
shutdownTimeout: 500,
|
|
@@ -74102,7 +74102,7 @@ if (DSN) {
|
|
|
74102
74102
|
}
|
|
74103
74103
|
});
|
|
74104
74104
|
setContext("cli", {
|
|
74105
|
-
version: "9.176.
|
|
74105
|
+
version: "9.176.5",
|
|
74106
74106
|
command: process.argv.slice(2).join(" ")
|
|
74107
74107
|
});
|
|
74108
74108
|
setContext("runtime", {
|
|
@@ -74194,295 +74194,8 @@ function configureGlobalProxyFromEnv() {
|
|
|
74194
74194
|
}
|
|
74195
74195
|
}
|
|
74196
74196
|
|
|
74197
|
-
// ../../packages/connectors/src/feature-switch-key.ts
|
|
74198
|
-
init_esm_shims();
|
|
74199
|
-
|
|
74200
74197
|
// src/lib/api/zero-token.ts
|
|
74201
74198
|
init_esm_shims();
|
|
74202
|
-
|
|
74203
|
-
// ../../packages/core/src/feature-switch.ts
|
|
74204
|
-
init_esm_shims();
|
|
74205
|
-
|
|
74206
|
-
// ../../packages/core/src/feature-switch-key.ts
|
|
74207
|
-
init_esm_shims();
|
|
74208
|
-
|
|
74209
|
-
// ../../packages/core/src/identity-hash.ts
|
|
74210
|
-
init_esm_shims();
|
|
74211
|
-
function fnv1a(input) {
|
|
74212
|
-
let h = 2166136261 >>> 0;
|
|
74213
|
-
for (let i = 0; i < input.length; i++) {
|
|
74214
|
-
h ^= input.charCodeAt(i);
|
|
74215
|
-
h = Math.imul(h, 16777619) >>> 0;
|
|
74216
|
-
}
|
|
74217
|
-
return h.toString(16).padStart(8, "0");
|
|
74218
|
-
}
|
|
74219
|
-
var STAFF_ORG_ID_HASHES = [
|
|
74220
|
-
"afce210e"
|
|
74221
|
-
// org_3ANttyrbWYJk6JKRSTRLEsbsDLe
|
|
74222
|
-
];
|
|
74223
|
-
|
|
74224
|
-
// ../../packages/core/src/feature-switch.ts
|
|
74225
|
-
var FEATURE_SWITCHES = {
|
|
74226
|
-
["dummy" /* Dummy */]: {
|
|
74227
|
-
maintainer: "ethan@vm0.ai",
|
|
74228
|
-
description: "Test-only feature switch for flag system validation",
|
|
74229
|
-
enabled: true
|
|
74230
|
-
},
|
|
74231
|
-
["ahrefsConnector" /* AhrefsConnector */]: {
|
|
74232
|
-
maintainer: "ethan@vm0.ai",
|
|
74233
|
-
description: "Enable the Ahrefs SEO connector",
|
|
74234
|
-
enabled: false
|
|
74235
|
-
},
|
|
74236
|
-
["bentomlConnector" /* BentomlConnector */]: {
|
|
74237
|
-
maintainer: "ethan@vm0.ai",
|
|
74238
|
-
description: "Enable the BentoML model serving connector",
|
|
74239
|
-
enabled: false
|
|
74240
|
-
},
|
|
74241
|
-
["canvaConnector" /* CanvaConnector */]: {
|
|
74242
|
-
maintainer: "ethan@vm0.ai",
|
|
74243
|
-
description: "Enable the Canva design connector",
|
|
74244
|
-
enabled: false
|
|
74245
|
-
},
|
|
74246
|
-
["deelConnector" /* DeelConnector */]: {
|
|
74247
|
-
maintainer: "ethan@vm0.ai",
|
|
74248
|
-
description: "Enable the Deel HR connector",
|
|
74249
|
-
enabled: false
|
|
74250
|
-
},
|
|
74251
|
-
["docusignConnector" /* DocuSignConnector */]: {
|
|
74252
|
-
maintainer: "ethan@vm0.ai",
|
|
74253
|
-
description: "Enable the DocuSign e-signature connector",
|
|
74254
|
-
enabled: false
|
|
74255
|
-
},
|
|
74256
|
-
["dropboxConnector" /* DropboxConnector */]: {
|
|
74257
|
-
maintainer: "ethan@vm0.ai",
|
|
74258
|
-
description: "Enable the Dropbox file storage connector",
|
|
74259
|
-
enabled: false
|
|
74260
|
-
},
|
|
74261
|
-
["figmaConnector" /* FigmaConnector */]: {
|
|
74262
|
-
maintainer: "ethan@vm0.ai",
|
|
74263
|
-
description: "Enable the Figma design connector",
|
|
74264
|
-
enabled: false
|
|
74265
|
-
},
|
|
74266
|
-
["mercuryConnector" /* MercuryConnector */]: {
|
|
74267
|
-
maintainer: "ethan@vm0.ai",
|
|
74268
|
-
description: "Enable the Mercury banking connector",
|
|
74269
|
-
enabled: false
|
|
74270
|
-
},
|
|
74271
|
-
["neonConnector" /* NeonConnector */]: {
|
|
74272
|
-
maintainer: "ethan@vm0.ai",
|
|
74273
|
-
description: "Enable the Neon serverless Postgres connector",
|
|
74274
|
-
enabled: false
|
|
74275
|
-
},
|
|
74276
|
-
["garminConnectConnector" /* GarminConnectConnector */]: {
|
|
74277
|
-
maintainer: "ethan@vm0.ai",
|
|
74278
|
-
description: "Enable the Garmin Connect wellness connector",
|
|
74279
|
-
enabled: false
|
|
74280
|
-
},
|
|
74281
|
-
["redditConnector" /* RedditConnector */]: {
|
|
74282
|
-
maintainer: "ethan@vm0.ai",
|
|
74283
|
-
description: "Enable the Reddit connector integration",
|
|
74284
|
-
enabled: false
|
|
74285
|
-
},
|
|
74286
|
-
["supabaseConnector" /* SupabaseConnector */]: {
|
|
74287
|
-
maintainer: "ethan@vm0.ai",
|
|
74288
|
-
description: "Enable the Supabase database connector integration",
|
|
74289
|
-
enabled: false
|
|
74290
|
-
},
|
|
74291
|
-
["closeConnector" /* CloseConnector */]: {
|
|
74292
|
-
maintainer: "ethan@vm0.ai",
|
|
74293
|
-
description: "Enable the Close CRM connector",
|
|
74294
|
-
enabled: false
|
|
74295
|
-
},
|
|
74296
|
-
["webflowConnector" /* WebflowConnector */]: {
|
|
74297
|
-
maintainer: "ethan@vm0.ai",
|
|
74298
|
-
description: "Enable the Webflow site management connector",
|
|
74299
|
-
enabled: false
|
|
74300
|
-
},
|
|
74301
|
-
["outlookMailConnector" /* OutlookMailConnector */]: {
|
|
74302
|
-
maintainer: "ethan@vm0.ai",
|
|
74303
|
-
description: "Enable the Outlook Mail connector",
|
|
74304
|
-
enabled: false
|
|
74305
|
-
},
|
|
74306
|
-
["outlookCalendarConnector" /* OutlookCalendarConnector */]: {
|
|
74307
|
-
maintainer: "ethan@vm0.ai",
|
|
74308
|
-
description: "Enable the Outlook Calendar connector",
|
|
74309
|
-
enabled: false
|
|
74310
|
-
},
|
|
74311
|
-
["metaAdsConnector" /* MetaAdsConnector */]: {
|
|
74312
|
-
maintainer: "ethan@vm0.ai",
|
|
74313
|
-
description: "Enable the Meta Ads Manager connector",
|
|
74314
|
-
enabled: false
|
|
74315
|
-
},
|
|
74316
|
-
["stripeConnector" /* StripeConnector */]: {
|
|
74317
|
-
maintainer: "ethan@vm0.ai",
|
|
74318
|
-
description: "Enable the Stripe payment connector integration",
|
|
74319
|
-
enabled: false
|
|
74320
|
-
},
|
|
74321
|
-
["posthogConnector" /* PosthogConnector */]: {
|
|
74322
|
-
maintainer: "ethan@vm0.ai",
|
|
74323
|
-
description: "Enable the PostHog analytics connector",
|
|
74324
|
-
enabled: false
|
|
74325
|
-
},
|
|
74326
|
-
["pwaOfflineCache" /* PwaOfflineCache */]: {
|
|
74327
|
-
maintainer: "ethan@vm0.ai",
|
|
74328
|
-
description: "Enable PWA offline caching (static asset cache-first, offline fallback page, and service worker updateViaCache: none)",
|
|
74329
|
-
enabled: true
|
|
74330
|
-
},
|
|
74331
|
-
["mailchimpConnector" /* MailchimpConnector */]: {
|
|
74332
|
-
maintainer: "ethan@vm0.ai",
|
|
74333
|
-
description: "Enable the Mailchimp email marketing connector",
|
|
74334
|
-
enabled: false
|
|
74335
|
-
},
|
|
74336
|
-
["resendConnector" /* ResendConnector */]: {
|
|
74337
|
-
maintainer: "ethan@vm0.ai",
|
|
74338
|
-
description: "Enable the Resend email service connector",
|
|
74339
|
-
enabled: false
|
|
74340
|
-
},
|
|
74341
|
-
["spotifyConnector" /* SpotifyConnector */]: {
|
|
74342
|
-
maintainer: "ethan@vm0.ai",
|
|
74343
|
-
description: "Enable the Spotify connector integration",
|
|
74344
|
-
enabled: false
|
|
74345
|
-
},
|
|
74346
|
-
["githubIntegration" /* GitHubIntegration */]: {
|
|
74347
|
-
maintainer: "linghan@vm0.ai",
|
|
74348
|
-
description: "Show the GitHub integration card on the Works page for installing GitHub, connecting users, and managing label listeners. Off by default; individuals opt in via the feature-switch overrides API.",
|
|
74349
|
-
enabled: false
|
|
74350
|
-
},
|
|
74351
|
-
["dataExport" /* DataExport */]: {
|
|
74352
|
-
maintainer: "ethan@vm0.ai",
|
|
74353
|
-
description: "Show the data export option in account menu",
|
|
74354
|
-
enabled: false
|
|
74355
|
-
},
|
|
74356
|
-
["zeroDebug" /* ZeroDebug */]: {
|
|
74357
|
-
maintainer: "ethan@vm0.ai",
|
|
74358
|
-
description: "Reveal activity debug surfaces, activity log navigation, appended system prompts, and Debug preferences",
|
|
74359
|
-
enabled: false
|
|
74360
|
-
},
|
|
74361
|
-
["computerUse" /* ComputerUse */]: {
|
|
74362
|
-
maintainer: "ethan@vm0.ai",
|
|
74363
|
-
description: "Enable remote desktop host registration",
|
|
74364
|
-
enabled: false
|
|
74365
|
-
},
|
|
74366
|
-
["larkConnector" /* LarkConnector */]: {
|
|
74367
|
-
maintainer: "liangyou@vm0.ai",
|
|
74368
|
-
description: "Enable the Lark connector while tenant access-token exchange is being repaired.",
|
|
74369
|
-
enabled: false
|
|
74370
|
-
},
|
|
74371
|
-
["lab" /* Lab */]: {
|
|
74372
|
-
maintainer: "ethan@vm0.ai",
|
|
74373
|
-
description: "Show the Lab page for toggling experimental features",
|
|
74374
|
-
enabled: false,
|
|
74375
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
74376
|
-
},
|
|
74377
|
-
["auditLink" /* AuditLink */]: {
|
|
74378
|
-
maintainer: "ethan@vm0.ai",
|
|
74379
|
-
description: "Show audit log links in integration replies",
|
|
74380
|
-
enabled: false
|
|
74381
|
-
},
|
|
74382
|
-
["audioOutput" /* AudioOutput */]: {
|
|
74383
|
-
maintainer: "lancy@vm0.ai",
|
|
74384
|
-
description: "Enable audio output in chat (TTS read-aloud + auto-read) \u2014 gates the volume/read buttons and the /api/zero/voice-io/tts route",
|
|
74385
|
-
enabled: false
|
|
74386
|
-
},
|
|
74387
|
-
["autoSkill" /* AutoSkill */]: {
|
|
74388
|
-
maintainer: "lancy@vm0.ai",
|
|
74389
|
-
description: "Enable automatic skill creation in agent prompts",
|
|
74390
|
-
enabled: false
|
|
74391
|
-
},
|
|
74392
|
-
["testOauthConnector" /* TestOauthConnector */]: {
|
|
74393
|
-
maintainer: "liangyou@vm0.ai",
|
|
74394
|
-
description: "Enable the test-oauth connector, a synthetic OAuth 2.0 provider used only for automated tests. Off in prod.",
|
|
74395
|
-
enabled: false
|
|
74396
|
-
},
|
|
74397
|
-
["chatHeaderNewButton" /* ChatHeaderNewButton */]: {
|
|
74398
|
-
maintainer: "ethan@vm0.ai",
|
|
74399
|
-
description: "Replace the Invite people button in the agent chat page header with a New button that creates a new chat thread",
|
|
74400
|
-
enabled: false
|
|
74401
|
-
},
|
|
74402
|
-
["chatMessageStartButton" /* ChatMessageStartButton */]: {
|
|
74403
|
-
maintainer: "linghan@vm0.ai",
|
|
74404
|
-
description: "Show an icon button in assistant message group actions that scrolls back to the start of that message group.",
|
|
74405
|
-
enabled: false
|
|
74406
|
-
},
|
|
74407
|
-
["chatThreadRename" /* ChatThreadRename */]: {
|
|
74408
|
-
maintainer: "ethan@vm0.ai",
|
|
74409
|
-
description: "Adds a Rename chat item to the sidebar thread kebab menu. When the user renames a thread, automated title generation is suppressed for that thread.",
|
|
74410
|
-
enabled: false
|
|
74411
|
-
},
|
|
74412
|
-
["freshdeskConnector" /* FreshdeskConnector */]: {
|
|
74413
|
-
maintainer: "ethan@vm0.ai",
|
|
74414
|
-
description: "Enable the Freshdesk helpdesk connector",
|
|
74415
|
-
enabled: false
|
|
74416
|
-
},
|
|
74417
|
-
["stabilityAiConnector" /* StabilityAiConnector */]: {
|
|
74418
|
-
maintainer: "ethan@vm0.ai",
|
|
74419
|
-
description: "Enable the Stability AI image generation connector",
|
|
74420
|
-
enabled: false
|
|
74421
|
-
},
|
|
74422
|
-
["zoomConnector" /* ZoomConnector */]: {
|
|
74423
|
-
maintainer: "ethan@vm0.ai",
|
|
74424
|
-
description: "Enable the Zoom connector (OAuth 2.0) for meetings, past participants, and cloud recordings access",
|
|
74425
|
-
enabled: false
|
|
74426
|
-
},
|
|
74427
|
-
["apiKeys" /* ApiKeys */]: {
|
|
74428
|
-
maintainer: "ethan@vm0.ai",
|
|
74429
|
-
description: "Gate the custom /settings/api-keys UI for issuing personal access tokens used by the /api/v1 public surface. When disabled, the settings page redirects to / and the sidebar menu item is hidden. The backend /api/v1 verification does NOT consult this flag \u2014 previously issued PATs continue to work.",
|
|
74430
|
-
enabled: false
|
|
74431
|
-
},
|
|
74432
|
-
["apiBackend" /* ApiBackend */]: {
|
|
74433
|
-
maintainer: "ethan@vm0.ai",
|
|
74434
|
-
description: "Route platform API traffic to the api backend host instead of the www backend host. Unported endpoints continue through the api backend's web fallback proxy.",
|
|
74435
|
-
enabled: false,
|
|
74436
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
74437
|
-
},
|
|
74438
|
-
["zapierConnector" /* ZapierConnector */]: {
|
|
74439
|
-
maintainer: "ethan@vm0.ai",
|
|
74440
|
-
description: "Enable the Zapier connector. When disabled, Zapier is hidden from the connectors list and cannot be connected.",
|
|
74441
|
-
enabled: false
|
|
74442
|
-
},
|
|
74443
|
-
["hostedSites" /* HostedSites */]: {
|
|
74444
|
-
maintainer: "lancy@vm0.ai",
|
|
74445
|
-
description: "Enable static hosted-site deployments from zero host.",
|
|
74446
|
-
enabled: true
|
|
74447
|
-
},
|
|
74448
|
-
["sandboxIoLimiters" /* SandboxIoLimiters */]: {
|
|
74449
|
-
maintainer: "liangyou@vm0.ai",
|
|
74450
|
-
description: "Enable runner-provided disk and network device rate limiters for sandbox VMs.",
|
|
74451
|
-
enabled: false,
|
|
74452
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
74453
|
-
},
|
|
74454
|
-
["chatArtifactSidebar" /* ChatArtifactSidebar */]: {
|
|
74455
|
-
maintainer: "ethan@vm0.ai",
|
|
74456
|
-
description: "Replace the inline attachment text editor and modal lightbox with a single page-level artifact sidebar (50/50 with the chat thread area, URL-routed via ?artifact=, fullscreen-capable). When on, inline text/markdown attachments render as anchor chips, all preview chips route to the sidebar, and the artifacts drawer is hidden.",
|
|
74457
|
-
enabled: false,
|
|
74458
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
74459
|
-
}
|
|
74460
|
-
};
|
|
74461
|
-
function isFeatureEnabled(key, ctx) {
|
|
74462
|
-
const override = ctx.overrides?.[key];
|
|
74463
|
-
if (override !== void 0) {
|
|
74464
|
-
return override;
|
|
74465
|
-
}
|
|
74466
|
-
const featureSwitch = FEATURE_SWITCHES[key];
|
|
74467
|
-
if (featureSwitch.enabled) {
|
|
74468
|
-
return true;
|
|
74469
|
-
}
|
|
74470
|
-
if (ctx.userId && featureSwitch.enabledUserHashes?.length) {
|
|
74471
|
-
if (featureSwitch.enabledUserHashes.includes(fnv1a(ctx.userId)))
|
|
74472
|
-
return true;
|
|
74473
|
-
}
|
|
74474
|
-
if (ctx.email && featureSwitch.enabledEmailHashes?.length) {
|
|
74475
|
-
if (featureSwitch.enabledEmailHashes.includes(fnv1a(ctx.email.toLowerCase())))
|
|
74476
|
-
return true;
|
|
74477
|
-
}
|
|
74478
|
-
if (ctx.orgId && featureSwitch.enabledOrgIdHashes?.length) {
|
|
74479
|
-
if (featureSwitch.enabledOrgIdHashes.includes(fnv1a(ctx.orgId)))
|
|
74480
|
-
return true;
|
|
74481
|
-
}
|
|
74482
|
-
return false;
|
|
74483
|
-
}
|
|
74484
|
-
|
|
74485
|
-
// src/lib/api/zero-token.ts
|
|
74486
74199
|
function decodeZeroTokenPayload(token) {
|
|
74487
74200
|
const raw = token ?? process.env.ZERO_TOKEN;
|
|
74488
74201
|
if (!raw) return void 0;
|
|
@@ -74502,15 +74215,6 @@ function decodeZeroTokenPayload(token) {
|
|
|
74502
74215
|
}
|
|
74503
74216
|
return void 0;
|
|
74504
74217
|
}
|
|
74505
|
-
function zeroTokenAllowsFeatureSwitch(key, payload = decodeZeroTokenPayload()) {
|
|
74506
|
-
if (!payload) return true;
|
|
74507
|
-
const tokenValue = payload.featureSwitches?.[key];
|
|
74508
|
-
if (typeof tokenValue === "boolean") return tokenValue;
|
|
74509
|
-
return isFeatureEnabled(key, {
|
|
74510
|
-
userId: payload.userId,
|
|
74511
|
-
orgId: payload.orgId
|
|
74512
|
-
});
|
|
74513
|
-
}
|
|
74514
74218
|
|
|
74515
74219
|
// ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
74516
74220
|
init_esm_shims();
|
|
@@ -97521,6 +97225,11 @@ var airtable = {
|
|
|
97521
97225
|
|
|
97522
97226
|
// ../../packages/connectors/src/connectors/docusign.ts
|
|
97523
97227
|
init_esm_shims();
|
|
97228
|
+
|
|
97229
|
+
// ../../packages/connectors/src/feature-switch-key.ts
|
|
97230
|
+
init_esm_shims();
|
|
97231
|
+
|
|
97232
|
+
// ../../packages/connectors/src/connectors/docusign.ts
|
|
97524
97233
|
var docusign = {
|
|
97525
97234
|
docusign: {
|
|
97526
97235
|
label: "DocuSign",
|
|
@@ -97663,7 +97372,9 @@ var gumroad = {
|
|
|
97663
97372
|
]
|
|
97664
97373
|
},
|
|
97665
97374
|
access: {
|
|
97666
|
-
kind: "
|
|
97375
|
+
kind: "refresh-token",
|
|
97376
|
+
accessToken: "GUMROAD_ACCESS_TOKEN",
|
|
97377
|
+
refreshToken: "GUMROAD_REFRESH_TOKEN",
|
|
97667
97378
|
envBindings: {
|
|
97668
97379
|
GUMROAD_TOKEN: "$secrets.GUMROAD_ACCESS_TOKEN"
|
|
97669
97380
|
}
|
|
@@ -107521,11 +107232,15 @@ var storedExecutionContextSchema = external_exports.object({
|
|
|
107521
107232
|
storageManifest: storageManifestSchema.nullable(),
|
|
107522
107233
|
environment: external_exports.record(external_exports.string(), external_exports.string()).nullable(),
|
|
107523
107234
|
resumeSession: resumeSessionSchema.nullable(),
|
|
107235
|
+
// AES-256-GCM encrypted Record<string, string>. Keys are the runtime secret
|
|
107236
|
+
// names used by `${{ secrets.NAME }}`; connector/model-provider keys are env
|
|
107237
|
+
// aliases, not backing storage secret names.
|
|
107524
107238
|
encryptedSecrets: external_exports.string().nullable(),
|
|
107525
|
-
//
|
|
107526
|
-
//
|
|
107239
|
+
// Maps firewall auth secret env aliases (the `NAME` in `${{ secrets.NAME }}`) to
|
|
107240
|
+
// their connector or provider owner. Keys are env aliases, not storage secret names.
|
|
107527
107241
|
secretConnectorMap: external_exports.record(external_exports.string(), external_exports.string()).nullable().optional(),
|
|
107528
|
-
//
|
|
107242
|
+
// Same keys as secretConnectorMap; adds source details when the owner alone
|
|
107243
|
+
// is not enough to locate access storage (for example, personal model providers).
|
|
107529
107244
|
secretConnectorMetadataMap: secretConnectorMetadataMapSchema.nullable().optional(),
|
|
107530
107245
|
cliAgentType: external_exports.string(),
|
|
107531
107246
|
// Debug flag to force real Claude in mock environments (internal use only)
|
|
@@ -107568,12 +107283,19 @@ var executionContextSchema = external_exports.object({
|
|
|
107568
107283
|
storageManifest: storageManifestSchema.nullable(),
|
|
107569
107284
|
environment: external_exports.record(external_exports.string(), external_exports.string()).nullable(),
|
|
107570
107285
|
resumeSession: resumeSessionSchema.nullable(),
|
|
107286
|
+
// Plain secret values used by the runner for redaction. These are values, not
|
|
107287
|
+
// names, and are base64-encoded only when exported through VM0_SECRET_VALUES.
|
|
107571
107288
|
secretValues: external_exports.array(external_exports.string()).nullable(),
|
|
107572
|
-
// AES-256-GCM encrypted Record<string, string
|
|
107289
|
+
// AES-256-GCM encrypted Record<string, string>, passed through to mitm-addon
|
|
107290
|
+
// for auth resolution. Keys are runtime secret names used by
|
|
107291
|
+
// `${{ secrets.NAME }}`; connector/model-provider keys are env aliases, not
|
|
107292
|
+
// backing storage secret names.
|
|
107573
107293
|
encryptedSecrets: external_exports.string().nullable(),
|
|
107574
|
-
// Maps secret
|
|
107294
|
+
// Maps firewall auth secret env aliases (the `NAME` in `${{ secrets.NAME }}`) to
|
|
107295
|
+
// their connector or provider owner. Keys are env aliases, not storage secret names.
|
|
107575
107296
|
secretConnectorMap: external_exports.record(external_exports.string(), external_exports.string()).nullable().optional(),
|
|
107576
|
-
//
|
|
107297
|
+
// Same keys as secretConnectorMap; adds source details when the owner alone
|
|
107298
|
+
// is not enough to locate access storage (for example, personal model providers).
|
|
107577
107299
|
secretConnectorMetadataMap: secretConnectorMetadataMapSchema.nullable().optional(),
|
|
107578
107300
|
cliAgentType: external_exports.string(),
|
|
107579
107301
|
// Debug flag to force real Claude in mock environments (internal use only)
|
|
@@ -107996,7 +107718,7 @@ var firewallAuthResponseSchema = external_exports.object({
|
|
|
107996
107718
|
headers: external_exports.record(external_exports.string(), external_exports.string()),
|
|
107997
107719
|
base: external_exports.string().optional(),
|
|
107998
107720
|
query: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
107999
|
-
// Effective addon cache expiry as Unix seconds.
|
|
107721
|
+
// Effective addon cache expiry as Unix seconds. Access token expiry is the
|
|
108000
107722
|
// normal source; billable firewall auth can shorten it to force credit
|
|
108001
107723
|
// re-authorization. Null means non-expiring only for non-billable auth.
|
|
108002
107724
|
expiresAt: external_exports.number().nullable(),
|
|
@@ -108007,18 +107729,24 @@ var firewallAuthResponseSchema = external_exports.object({
|
|
|
108007
107729
|
var webhookFirewallAuthContract = c18.router({
|
|
108008
107730
|
/**
|
|
108009
107731
|
* POST /api/webhooks/agent/firewall/auth
|
|
108010
|
-
* Resolve firewall auth templates and refresh
|
|
107732
|
+
* Resolve firewall auth templates and refresh access tokens on demand.
|
|
108011
107733
|
*/
|
|
108012
107734
|
resolve: {
|
|
108013
107735
|
method: "POST",
|
|
108014
107736
|
path: "/api/webhooks/agent/firewall/auth",
|
|
108015
107737
|
headers: authHeadersSchema,
|
|
108016
107738
|
body: external_exports.object({
|
|
107739
|
+
// Encrypted runtime secret namespace. After decryption, keys are the
|
|
107740
|
+
// `NAME` in `${{ secrets.NAME }}`.
|
|
108017
107741
|
encryptedSecrets: external_exports.string().min(1),
|
|
108018
107742
|
authHeaders: external_exports.record(external_exports.string(), external_exports.string()),
|
|
108019
107743
|
authBase: external_exports.string().optional(),
|
|
108020
107744
|
authQuery: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
107745
|
+
// Maps firewall auth secret env aliases (the `NAME` in `${{ secrets.NAME }}`)
|
|
107746
|
+
// to the connector or provider owner that can refresh/resolve access.
|
|
108021
107747
|
secretConnectorMap: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
107748
|
+
// Same keys as secretConnectorMap; adds source details when the owner
|
|
107749
|
+
// alone is not enough to locate access storage.
|
|
108022
107750
|
secretConnectorMetadataMap: secretConnectorMetadataMapSchema.optional(),
|
|
108023
107751
|
vars: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
108024
107752
|
// Set by mitm from billableFirewalls. Server uses this only to bound
|
|
@@ -131181,6 +130909,247 @@ function getInstructionsFilename(framework) {
|
|
|
131181
130909
|
return FRAMEWORK_INSTRUCTIONS_FILENAMES[validated];
|
|
131182
130910
|
}
|
|
131183
130911
|
|
|
130912
|
+
// ../../packages/core/src/feature-switch-key.ts
|
|
130913
|
+
init_esm_shims();
|
|
130914
|
+
|
|
130915
|
+
// ../../packages/core/src/feature-switch.ts
|
|
130916
|
+
init_esm_shims();
|
|
130917
|
+
|
|
130918
|
+
// ../../packages/core/src/identity-hash.ts
|
|
130919
|
+
init_esm_shims();
|
|
130920
|
+
var STAFF_ORG_ID_HASHES = [
|
|
130921
|
+
"afce210e"
|
|
130922
|
+
// org_3ANttyrbWYJk6JKRSTRLEsbsDLe
|
|
130923
|
+
];
|
|
130924
|
+
|
|
130925
|
+
// ../../packages/core/src/feature-switch.ts
|
|
130926
|
+
var FEATURE_SWITCHES = {
|
|
130927
|
+
["dummy" /* Dummy */]: {
|
|
130928
|
+
maintainer: "ethan@vm0.ai",
|
|
130929
|
+
description: "Test-only feature switch for flag system validation",
|
|
130930
|
+
enabled: true
|
|
130931
|
+
},
|
|
130932
|
+
["ahrefsConnector" /* AhrefsConnector */]: {
|
|
130933
|
+
maintainer: "ethan@vm0.ai",
|
|
130934
|
+
description: "Enable the Ahrefs SEO connector",
|
|
130935
|
+
enabled: false
|
|
130936
|
+
},
|
|
130937
|
+
["bentomlConnector" /* BentomlConnector */]: {
|
|
130938
|
+
maintainer: "ethan@vm0.ai",
|
|
130939
|
+
description: "Enable the BentoML model serving connector",
|
|
130940
|
+
enabled: false
|
|
130941
|
+
},
|
|
130942
|
+
["canvaConnector" /* CanvaConnector */]: {
|
|
130943
|
+
maintainer: "ethan@vm0.ai",
|
|
130944
|
+
description: "Enable the Canva design connector",
|
|
130945
|
+
enabled: false
|
|
130946
|
+
},
|
|
130947
|
+
["deelConnector" /* DeelConnector */]: {
|
|
130948
|
+
maintainer: "ethan@vm0.ai",
|
|
130949
|
+
description: "Enable the Deel HR connector",
|
|
130950
|
+
enabled: false
|
|
130951
|
+
},
|
|
130952
|
+
["docusignConnector" /* DocuSignConnector */]: {
|
|
130953
|
+
maintainer: "ethan@vm0.ai",
|
|
130954
|
+
description: "Enable the DocuSign e-signature connector",
|
|
130955
|
+
enabled: false
|
|
130956
|
+
},
|
|
130957
|
+
["dropboxConnector" /* DropboxConnector */]: {
|
|
130958
|
+
maintainer: "ethan@vm0.ai",
|
|
130959
|
+
description: "Enable the Dropbox file storage connector",
|
|
130960
|
+
enabled: false
|
|
130961
|
+
},
|
|
130962
|
+
["figmaConnector" /* FigmaConnector */]: {
|
|
130963
|
+
maintainer: "ethan@vm0.ai",
|
|
130964
|
+
description: "Enable the Figma design connector",
|
|
130965
|
+
enabled: false
|
|
130966
|
+
},
|
|
130967
|
+
["mercuryConnector" /* MercuryConnector */]: {
|
|
130968
|
+
maintainer: "ethan@vm0.ai",
|
|
130969
|
+
description: "Enable the Mercury banking connector",
|
|
130970
|
+
enabled: false
|
|
130971
|
+
},
|
|
130972
|
+
["neonConnector" /* NeonConnector */]: {
|
|
130973
|
+
maintainer: "ethan@vm0.ai",
|
|
130974
|
+
description: "Enable the Neon serverless Postgres connector",
|
|
130975
|
+
enabled: false
|
|
130976
|
+
},
|
|
130977
|
+
["garminConnectConnector" /* GarminConnectConnector */]: {
|
|
130978
|
+
maintainer: "ethan@vm0.ai",
|
|
130979
|
+
description: "Enable the Garmin Connect wellness connector",
|
|
130980
|
+
enabled: false
|
|
130981
|
+
},
|
|
130982
|
+
["redditConnector" /* RedditConnector */]: {
|
|
130983
|
+
maintainer: "ethan@vm0.ai",
|
|
130984
|
+
description: "Enable the Reddit connector integration",
|
|
130985
|
+
enabled: false
|
|
130986
|
+
},
|
|
130987
|
+
["supabaseConnector" /* SupabaseConnector */]: {
|
|
130988
|
+
maintainer: "ethan@vm0.ai",
|
|
130989
|
+
description: "Enable the Supabase database connector integration",
|
|
130990
|
+
enabled: false
|
|
130991
|
+
},
|
|
130992
|
+
["closeConnector" /* CloseConnector */]: {
|
|
130993
|
+
maintainer: "ethan@vm0.ai",
|
|
130994
|
+
description: "Enable the Close CRM connector",
|
|
130995
|
+
enabled: false
|
|
130996
|
+
},
|
|
130997
|
+
["webflowConnector" /* WebflowConnector */]: {
|
|
130998
|
+
maintainer: "ethan@vm0.ai",
|
|
130999
|
+
description: "Enable the Webflow site management connector",
|
|
131000
|
+
enabled: false
|
|
131001
|
+
},
|
|
131002
|
+
["outlookMailConnector" /* OutlookMailConnector */]: {
|
|
131003
|
+
maintainer: "ethan@vm0.ai",
|
|
131004
|
+
description: "Enable the Outlook Mail connector",
|
|
131005
|
+
enabled: false
|
|
131006
|
+
},
|
|
131007
|
+
["outlookCalendarConnector" /* OutlookCalendarConnector */]: {
|
|
131008
|
+
maintainer: "ethan@vm0.ai",
|
|
131009
|
+
description: "Enable the Outlook Calendar connector",
|
|
131010
|
+
enabled: false
|
|
131011
|
+
},
|
|
131012
|
+
["metaAdsConnector" /* MetaAdsConnector */]: {
|
|
131013
|
+
maintainer: "ethan@vm0.ai",
|
|
131014
|
+
description: "Enable the Meta Ads Manager connector",
|
|
131015
|
+
enabled: false
|
|
131016
|
+
},
|
|
131017
|
+
["stripeConnector" /* StripeConnector */]: {
|
|
131018
|
+
maintainer: "ethan@vm0.ai",
|
|
131019
|
+
description: "Enable the Stripe payment connector integration",
|
|
131020
|
+
enabled: false
|
|
131021
|
+
},
|
|
131022
|
+
["posthogConnector" /* PosthogConnector */]: {
|
|
131023
|
+
maintainer: "ethan@vm0.ai",
|
|
131024
|
+
description: "Enable the PostHog analytics connector",
|
|
131025
|
+
enabled: false
|
|
131026
|
+
},
|
|
131027
|
+
["mailchimpConnector" /* MailchimpConnector */]: {
|
|
131028
|
+
maintainer: "ethan@vm0.ai",
|
|
131029
|
+
description: "Enable the Mailchimp email marketing connector",
|
|
131030
|
+
enabled: false
|
|
131031
|
+
},
|
|
131032
|
+
["resendConnector" /* ResendConnector */]: {
|
|
131033
|
+
maintainer: "ethan@vm0.ai",
|
|
131034
|
+
description: "Enable the Resend email service connector",
|
|
131035
|
+
enabled: false
|
|
131036
|
+
},
|
|
131037
|
+
["spotifyConnector" /* SpotifyConnector */]: {
|
|
131038
|
+
maintainer: "ethan@vm0.ai",
|
|
131039
|
+
description: "Enable the Spotify connector integration",
|
|
131040
|
+
enabled: false
|
|
131041
|
+
},
|
|
131042
|
+
["githubIntegration" /* GitHubIntegration */]: {
|
|
131043
|
+
maintainer: "linghan@vm0.ai",
|
|
131044
|
+
description: "Show the GitHub integration card on the Works page for installing GitHub, connecting users, and managing label listeners. Off by default; individuals opt in via the feature-switch overrides API.",
|
|
131045
|
+
enabled: false
|
|
131046
|
+
},
|
|
131047
|
+
["dataExport" /* DataExport */]: {
|
|
131048
|
+
maintainer: "ethan@vm0.ai",
|
|
131049
|
+
description: "Show the data export option in account menu",
|
|
131050
|
+
enabled: false
|
|
131051
|
+
},
|
|
131052
|
+
["zeroDebug" /* ZeroDebug */]: {
|
|
131053
|
+
maintainer: "ethan@vm0.ai",
|
|
131054
|
+
description: "Reveal activity debug surfaces, activity log navigation, appended system prompts, and Debug preferences",
|
|
131055
|
+
enabled: false
|
|
131056
|
+
},
|
|
131057
|
+
["computerUse" /* ComputerUse */]: {
|
|
131058
|
+
maintainer: "ethan@vm0.ai",
|
|
131059
|
+
description: "Enable remote desktop host registration",
|
|
131060
|
+
enabled: false
|
|
131061
|
+
},
|
|
131062
|
+
["larkConnector" /* LarkConnector */]: {
|
|
131063
|
+
maintainer: "liangyou@vm0.ai",
|
|
131064
|
+
description: "Enable the Lark connector while tenant access-token exchange is being repaired.",
|
|
131065
|
+
enabled: false
|
|
131066
|
+
},
|
|
131067
|
+
["lab" /* Lab */]: {
|
|
131068
|
+
maintainer: "ethan@vm0.ai",
|
|
131069
|
+
description: "Show the Lab page for toggling experimental features",
|
|
131070
|
+
enabled: false,
|
|
131071
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
131072
|
+
},
|
|
131073
|
+
["auditLink" /* AuditLink */]: {
|
|
131074
|
+
maintainer: "ethan@vm0.ai",
|
|
131075
|
+
description: "Show audit log links in integration replies",
|
|
131076
|
+
enabled: false
|
|
131077
|
+
},
|
|
131078
|
+
["audioOutput" /* AudioOutput */]: {
|
|
131079
|
+
maintainer: "lancy@vm0.ai",
|
|
131080
|
+
description: "Enable audio output in chat (TTS read-aloud + auto-read) \u2014 gates the volume/read buttons and the /api/zero/voice-io/tts route",
|
|
131081
|
+
enabled: false
|
|
131082
|
+
},
|
|
131083
|
+
["autoSkill" /* AutoSkill */]: {
|
|
131084
|
+
maintainer: "lancy@vm0.ai",
|
|
131085
|
+
description: "Enable automatic skill creation in agent prompts",
|
|
131086
|
+
enabled: false
|
|
131087
|
+
},
|
|
131088
|
+
["testOauthConnector" /* TestOauthConnector */]: {
|
|
131089
|
+
maintainer: "liangyou@vm0.ai",
|
|
131090
|
+
description: "Enable the test-oauth connector, a synthetic OAuth 2.0 provider used only for automated tests. Off in prod.",
|
|
131091
|
+
enabled: false
|
|
131092
|
+
},
|
|
131093
|
+
["chatHeaderNewButton" /* ChatHeaderNewButton */]: {
|
|
131094
|
+
maintainer: "ethan@vm0.ai",
|
|
131095
|
+
description: "Replace the Invite people button in the agent chat page header with a New button that creates a new chat thread",
|
|
131096
|
+
enabled: false
|
|
131097
|
+
},
|
|
131098
|
+
["chatMessageStartButton" /* ChatMessageStartButton */]: {
|
|
131099
|
+
maintainer: "linghan@vm0.ai",
|
|
131100
|
+
description: "Show an icon button in assistant message group actions that scrolls back to the start of that message group.",
|
|
131101
|
+
enabled: false
|
|
131102
|
+
},
|
|
131103
|
+
["chatThreadRename" /* ChatThreadRename */]: {
|
|
131104
|
+
maintainer: "ethan@vm0.ai",
|
|
131105
|
+
description: "Adds a Rename chat item to the sidebar thread kebab menu. When the user renames a thread, automated title generation is suppressed for that thread.",
|
|
131106
|
+
enabled: false
|
|
131107
|
+
},
|
|
131108
|
+
["freshdeskConnector" /* FreshdeskConnector */]: {
|
|
131109
|
+
maintainer: "ethan@vm0.ai",
|
|
131110
|
+
description: "Enable the Freshdesk helpdesk connector",
|
|
131111
|
+
enabled: false
|
|
131112
|
+
},
|
|
131113
|
+
["stabilityAiConnector" /* StabilityAiConnector */]: {
|
|
131114
|
+
maintainer: "ethan@vm0.ai",
|
|
131115
|
+
description: "Enable the Stability AI image generation connector",
|
|
131116
|
+
enabled: false
|
|
131117
|
+
},
|
|
131118
|
+
["zoomConnector" /* ZoomConnector */]: {
|
|
131119
|
+
maintainer: "ethan@vm0.ai",
|
|
131120
|
+
description: "Enable the Zoom connector (OAuth 2.0) for meetings, past participants, and cloud recordings access",
|
|
131121
|
+
enabled: false
|
|
131122
|
+
},
|
|
131123
|
+
["apiKeys" /* ApiKeys */]: {
|
|
131124
|
+
maintainer: "ethan@vm0.ai",
|
|
131125
|
+
description: "Gate the custom /settings/api-keys UI for issuing personal access tokens used by the /api/v1 public surface. When disabled, the settings page redirects to / and the sidebar menu item is hidden. The backend /api/v1 verification does NOT consult this flag \u2014 previously issued PATs continue to work.",
|
|
131126
|
+
enabled: false
|
|
131127
|
+
},
|
|
131128
|
+
["apiBackend" /* ApiBackend */]: {
|
|
131129
|
+
maintainer: "ethan@vm0.ai",
|
|
131130
|
+
description: "Route platform API traffic to the api backend host instead of the www backend host. Unported endpoints continue through the api backend's web fallback proxy.",
|
|
131131
|
+
enabled: false,
|
|
131132
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
131133
|
+
},
|
|
131134
|
+
["zapierConnector" /* ZapierConnector */]: {
|
|
131135
|
+
maintainer: "ethan@vm0.ai",
|
|
131136
|
+
description: "Enable the Zapier connector. When disabled, Zapier is hidden from the connectors list and cannot be connected.",
|
|
131137
|
+
enabled: false
|
|
131138
|
+
},
|
|
131139
|
+
["sandboxIoLimiters" /* SandboxIoLimiters */]: {
|
|
131140
|
+
maintainer: "liangyou@vm0.ai",
|
|
131141
|
+
description: "Enable runner-provided disk and network device rate limiters for sandbox VMs.",
|
|
131142
|
+
enabled: false,
|
|
131143
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
131144
|
+
},
|
|
131145
|
+
["chatArtifactSidebar" /* ChatArtifactSidebar */]: {
|
|
131146
|
+
maintainer: "ethan@vm0.ai",
|
|
131147
|
+
description: "Replace the inline attachment text editor and modal lightbox with a single page-level artifact sidebar (50/50 with the chat thread area, URL-routed via ?artifact=, fullscreen-capable). When on, inline text/markdown attachments render as anchor chips, all preview chips route to the sidebar, and the artifacts drawer is hidden.",
|
|
131148
|
+
enabled: false,
|
|
131149
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
131150
|
+
}
|
|
131151
|
+
};
|
|
131152
|
+
|
|
131184
131153
|
// ../../packages/core/src/staff-org.ts
|
|
131185
131154
|
init_esm_shims();
|
|
131186
131155
|
|
|
@@ -132546,7 +132515,6 @@ export {
|
|
|
132546
132515
|
source_default,
|
|
132547
132516
|
decodeCliTokenPayload,
|
|
132548
132517
|
decodeZeroTokenPayload,
|
|
132549
|
-
zeroTokenAllowsFeatureSwitch,
|
|
132550
132518
|
loadConfig,
|
|
132551
132519
|
saveConfig,
|
|
132552
132520
|
getToken,
|
|
@@ -132733,4 +132701,4 @@ undici/lib/web/fetch/body.js:
|
|
|
132733
132701
|
undici/lib/web/websocket/frame.js:
|
|
132734
132702
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
132735
132703
|
*/
|
|
132736
|
-
//# sourceMappingURL=chunk-
|
|
132704
|
+
//# sourceMappingURL=chunk-4XXIJOZP.js.map
|