@vxil/cli 0.24.0 → 0.24.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 (2) hide show
  1. package/dist/vxil-main.js +25 -3
  2. package/package.json +1 -1
package/dist/vxil-main.js CHANGED
@@ -5082,6 +5082,27 @@ var CopilotConfigSchema = Type.Object({
5082
5082
  }, { default: {} })
5083
5083
  });
5084
5084
  var DENY_FUNCTION_SCOPES = /* @__PURE__ */ new Set(["admin", "*", "features:write", "functions:write", "secrets:write"]);
5085
+ var FEATURE_KEYS = [
5086
+ "notifications",
5087
+ "jobs",
5088
+ "auth",
5089
+ "rate-limits",
5090
+ "files",
5091
+ "webhooks",
5092
+ "comments",
5093
+ "cms",
5094
+ "mcp",
5095
+ "realtime",
5096
+ "presence",
5097
+ "orgs",
5098
+ "activity-feed",
5099
+ "vector-search",
5100
+ "ai",
5101
+ "rag",
5102
+ "payments",
5103
+ "functions",
5104
+ "copilot"
5105
+ ];
5085
5106
 
5086
5107
  // src/lib.ts
5087
5108
  var MAX_FN_BINDINGS = 8;
@@ -5150,7 +5171,7 @@ function lowerAllTriggerBindings(def, name) {
5150
5171
  var CONFIG_FILENAMES = ["vxil.config.ts", "vxil.config.mjs", "vxil.config.js"];
5151
5172
  var VXIL_CONFIG_PKG_VERSION = "0.17.0";
5152
5173
  var VXIL_SDK_PKG_VERSION = "0.24.0";
5153
- var VXIL_CLI_PKG_VERSION = "0.24.0";
5174
+ var VXIL_CLI_PKG_VERSION = "0.24.1";
5154
5175
  function ensureScaffoldPackageJson(cwd, opts = {}) {
5155
5176
  const file = resolve(cwd, "package.json");
5156
5177
  const wanted = {
@@ -15925,7 +15946,8 @@ var FEATURE_ALIASES = {
15925
15946
  feeds: "activity-feed",
15926
15947
  ratelimits: "rate-limits"
15927
15948
  };
15928
- var NOT_DECLARED = /* @__PURE__ */ new Set(["functions", "mcp", "users", "tenant_users"]);
15949
+ var NOT_DECLARED = /* @__PURE__ */ new Set(["functions", "mcp"]);
15950
+ var CONFIG_FEATURES = new Set(FEATURE_KEYS);
15929
15951
  function quickstartFeatureBody(feature, slug) {
15930
15952
  if (feature === "notifications") return { provider: "mock", fromEmail: quickstartFromEmail(slug), inboxEnabled: true };
15931
15953
  if (feature === "payments") return { provider: "mock" };
@@ -15935,7 +15957,7 @@ function quickstartConfigFeatures(features) {
15935
15957
  const out = [];
15936
15958
  for (const f of features) {
15937
15959
  const key = FEATURE_ALIASES[f] ?? f;
15938
- if (NOT_DECLARED.has(key) || out.includes(key)) continue;
15960
+ if (!CONFIG_FEATURES.has(key) || NOT_DECLARED.has(key) || out.includes(key)) continue;
15939
15961
  out.push(key);
15940
15962
  }
15941
15963
  return out;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vxil/cli",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "private": false,
5
5
  "description": "The vxil CLI — init, quickstart, push, gen, secrets, keys, migrate, doctor, diff, functions, payments; installs the `vxil` command (npm i -g @vxil/cli).",
6
6
  "license": "MIT",