@vm0/cli 9.140.4 → 9.140.6
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.
|
@@ -74083,7 +74083,7 @@ if (DSN) {
|
|
|
74083
74083
|
init2({
|
|
74084
74084
|
dsn: DSN,
|
|
74085
74085
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
74086
|
-
release: "9.140.
|
|
74086
|
+
release: "9.140.6",
|
|
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.140.
|
|
74105
|
+
version: "9.140.6",
|
|
74106
74106
|
command: process.argv.slice(2).join(" ")
|
|
74107
74107
|
});
|
|
74108
74108
|
setContext("runtime", {
|
|
@@ -120075,10 +120075,16 @@ var FEATURE_SWITCHES = {
|
|
|
120075
120075
|
description: "Gate the codex framework via BYOK OpenAI provider in zero web. When off, the openai-api-key tile is hidden in the add-provider dialog and POST /api/zero/model-providers with type=openai-api-key returns 404. Staff-only during rollout; per-user toggle via Lab.",
|
|
120076
120076
|
enabled: false,
|
|
120077
120077
|
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
120078
|
+
},
|
|
120079
|
+
["idbMessage" /* IdbMessage */]: {
|
|
120080
|
+
maintainer: "ethan@vm0.ai",
|
|
120081
|
+
description: "Cache chat thread messages in IndexedDB for instant cold open. When off, every thread open fetches messages from the server.",
|
|
120082
|
+
enabled: false,
|
|
120083
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
120078
120084
|
}
|
|
120079
120085
|
};
|
|
120080
120086
|
function isFeatureEnabled(key, ctx) {
|
|
120081
|
-
const override = ctx
|
|
120087
|
+
const override = ctx.overrides?.[key];
|
|
120082
120088
|
if (override !== void 0) {
|
|
120083
120089
|
return override;
|
|
120084
120090
|
}
|
|
@@ -120086,15 +120092,15 @@ function isFeatureEnabled(key, ctx) {
|
|
|
120086
120092
|
if (featureSwitch.enabled) {
|
|
120087
120093
|
return true;
|
|
120088
120094
|
}
|
|
120089
|
-
if (ctx
|
|
120095
|
+
if (ctx.userId && featureSwitch.enabledUserHashes?.length) {
|
|
120090
120096
|
if (featureSwitch.enabledUserHashes.includes(fnv1a(ctx.userId)))
|
|
120091
120097
|
return true;
|
|
120092
120098
|
}
|
|
120093
|
-
if (ctx
|
|
120099
|
+
if (ctx.email && featureSwitch.enabledEmailHashes?.length) {
|
|
120094
120100
|
if (featureSwitch.enabledEmailHashes.includes(fnv1a(ctx.email.toLowerCase())))
|
|
120095
120101
|
return true;
|
|
120096
120102
|
}
|
|
120097
|
-
if (ctx
|
|
120103
|
+
if (ctx.orgId && featureSwitch.enabledOrgIdHashes?.length) {
|
|
120098
120104
|
if (featureSwitch.enabledOrgIdHashes.includes(fnv1a(ctx.orgId)))
|
|
120099
120105
|
return true;
|
|
120100
120106
|
}
|
|
@@ -121451,4 +121457,4 @@ undici/lib/web/fetch/body.js:
|
|
|
121451
121457
|
undici/lib/web/websocket/frame.js:
|
|
121452
121458
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
121453
121459
|
*/
|
|
121454
|
-
//# sourceMappingURL=chunk-
|
|
121460
|
+
//# sourceMappingURL=chunk-V4YLSCV6.js.map
|