@voltro/cli 0.50.1 → 0.51.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.
Files changed (103) hide show
  1. package/CHANGELOG.md +104 -0
  2. package/dist/{apiBuild-D3s7lx57.js → apiBuild-CPDHXF72.js} +2 -2
  3. package/dist/apiBuild-GDKuGOMV.js +2 -0
  4. package/dist/appGraph-CFmFKHb2.js +2 -0
  5. package/dist/appGraph-yRuKjOba.js +111 -0
  6. package/dist/bin.js +1 -1
  7. package/dist/{build-CFmqF39c.js → build-DETLZAFt.js} +271 -240
  8. package/dist/{checkCommand-DomvYDi1.js → checkCommand-CWcnDArJ.js} +1 -1
  9. package/dist/{checkCommand-DsKIjL6k.js → checkCommand-DNuPiWMc.js} +29 -28
  10. package/dist/{codegenCommand-C0S27nbB.js → codegenCommand-BNBHcNNj.js} +2 -2
  11. package/dist/{codemodRunner-DwY8Rjbl.js → codemodRunner-BDVixlSw.js} +278 -191
  12. package/dist/{commands-Brp4DI8u.js → commands-B1OiS9bX.js} +24 -23
  13. package/dist/{dashboardCommand-bbLfc9FW.js → dashboardCommand-C-vvPY1B.js} +5 -5
  14. package/dist/{dataCommand-k9mXTXin.js → dataCommand-C1GxXW5q.js} +279 -233
  15. package/dist/dbCommand-C27HIsGE.js +2 -0
  16. package/dist/{dbCommand-Bf7Cy0mn.js → dbCommand-If4Y1xQ-.js} +1 -1
  17. package/dist/{dev-Dz9GqA6P.js → dev-CK522MV5.js} +1 -1
  18. package/dist/{dev-C0cbqysu.js → dev-kdAg9Q7l.js} +1246 -1246
  19. package/dist/doctorCommand-BK4l18eG.js +2 -0
  20. package/dist/{doctorCommand-DyViaaCP.js → doctorCommand-nKmeW78u.js} +16 -16
  21. package/dist/{dormancyCommand-DMZPA_HW.js → dormancyCommand-CY3wa_SW.js} +1 -1
  22. package/dist/{embeddingsCommand-CMxRPkg6.js → embeddingsCommand-BDLIgje_.js} +1 -1
  23. package/dist/{envCommand-CDLr-yD4.js → envCommand-C6V_xVlT.js} +13 -13
  24. package/dist/{evolveCommand-Ct4NesL3.js → evolveCommand-D3c4DSfN.js} +2 -2
  25. package/dist/{generateCommand-BDdOxhnv.js → generateCommand-DTNPGjxo.js} +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/{infoCommand-orsKJKUy.js → infoCommand-BnRFEF1o.js} +1 -1
  28. package/dist/{migrate-D3MK9BpK.js → migrate-DehuBakM.js} +1 -1
  29. package/dist/{runtimeTrace-Bo8jWsNe.js → runtimeTrace-ZsBU7Tkx.js} +1 -1
  30. package/dist/{sdkgen-OZhiT2vz.js → sdkgen-O4XqWOjM.js} +1 -1
  31. package/dist/serveCommand-BRnPCxVd.js +2 -0
  32. package/dist/{serveCommand-YbD5VgfV.js → serveCommand-DdiYNBBu.js} +3 -3
  33. package/dist/serveEntry.js +1 -1
  34. package/dist/{start-B1nH9ahf.js → start-BLNmWkLa.js} +331 -327
  35. package/dist/{start-7b_bL8Uc.js → start-Dzicuyw8.js} +1 -1
  36. package/dist/startEntry.js +1 -1
  37. package/dist/{updateCommand-BgH6vTtq.js → updateCommand-Bs322Q78.js} +1 -1
  38. package/dist/updateCommand-eXB35SEv.js +2 -0
  39. package/dist/{webDev-BbdkzMbd.js → webDev-B-ubQEMX.js} +282 -223
  40. package/dist/webDev-DposiF3j.js +2 -0
  41. package/dist/{webhooksCommand-DjE6u0r4.js → webhooksCommand-FLYY9IXh.js} +1 -1
  42. package/package.json +35 -17
  43. package/templates/AGENTS.core.md +15 -5
  44. package/templates/AGENTS.md +16 -6
  45. package/templates/agent-docs/_index.md +1 -1
  46. package/templates/agent-docs/cli.md +29 -0
  47. package/templates/agent-docs/internationalization.md +131 -13
  48. package/templates/agent-docs/whats-new.md +75 -27
  49. package/templates/apps/api-ai/package.json +7 -7
  50. package/templates/apps/api-auth/package.json +8 -8
  51. package/templates/apps/api-backend/package.json +7 -7
  52. package/templates/apps/api-backend-deactivation/package.json +7 -7
  53. package/templates/apps/api-backend-mail/package.json +8 -8
  54. package/templates/apps/api-backend-mariadb/package.json +9 -9
  55. package/templates/apps/api-backend-sqlite/package.json +8 -8
  56. package/templates/apps/api-backend-storage/package.json +8 -8
  57. package/templates/apps/api-cms/package.json +10 -10
  58. package/templates/apps/api-collab/package.json +8 -8
  59. package/templates/apps/api-data-advanced/package.json +8 -8
  60. package/templates/apps/api-durable/package.json +8 -8
  61. package/templates/apps/api-feature-flags/package.json +9 -9
  62. package/templates/apps/api-governance/package.json +8 -8
  63. package/templates/apps/api-kv/package.json +8 -8
  64. package/templates/apps/api-moderation/package.json +8 -8
  65. package/templates/apps/api-observability/package.json +8 -8
  66. package/templates/apps/api-ratelimit/package.json +8 -8
  67. package/templates/apps/api-rbac/package.json +8 -8
  68. package/templates/apps/api-rest/package.json +7 -7
  69. package/templates/apps/api-saas/package.json +11 -11
  70. package/templates/apps/api-saas-starter/package.json +10 -10
  71. package/templates/apps/api-search/package.json +8 -8
  72. package/templates/apps/api-status/package.json +8 -8
  73. package/templates/apps/api-versioning/package.json +8 -8
  74. package/templates/apps/api-webhooks/package.json +9 -9
  75. package/templates/apps/changelog/package.json +6 -6
  76. package/templates/apps/edge-functions/package.json +2 -2
  77. package/templates/apps/frontend-admin/package.json +8 -8
  78. package/templates/apps/frontend-app/package.json +9 -9
  79. package/templates/apps/frontend-auth/package.json +8 -8
  80. package/templates/apps/frontend-blank/package.json +7 -7
  81. package/templates/apps/frontend-cms/package.json +9 -9
  82. package/templates/apps/frontend-collab/package.json +10 -10
  83. package/templates/apps/frontend-contact/package.json +7 -7
  84. package/templates/apps/frontend-dashboard/package.json +7 -7
  85. package/templates/apps/frontend-docs/package.json +7 -7
  86. package/templates/apps/frontend-i18n/package.json +6 -6
  87. package/templates/apps/frontend-landing/package.json +7 -7
  88. package/templates/apps/frontend-portal/package.json +8 -8
  89. package/templates/apps/frontend-saas/package.json +8 -8
  90. package/templates/apps/frontend-spa/package.json +7 -7
  91. package/templates/apps/frontend-ssr/package.json +7 -7
  92. package/templates/apps/frontend-ssr-api/package.json +8 -8
  93. package/templates/apps/frontend-static-blog/package.json +6 -6
  94. package/templates/apps/frontend-status/package.json +8 -8
  95. package/templates/apps/mobile-app/package.json +4 -4
  96. package/dist/apiBuild-BZ-plaQN.js +0 -2
  97. package/dist/appGraph-CM9wvUmD.js +0 -2
  98. package/dist/appGraph-Cv2W_wO5.js +0 -111
  99. package/dist/dbCommand-Bnl7MSGC.js +0 -2
  100. package/dist/doctorCommand-BlciWUJb.js +0 -2
  101. package/dist/serveCommand-Bbgg7Paq.js +0 -2
  102. package/dist/updateCommand-BweY17z-.js +0 -2
  103. package/dist/webDev-BcRFTsMA.js +0 -2
@@ -0,0 +1,2 @@
1
+ import { b as e, y as t } from "./doctorCommand-nKmeW78u.js";
2
+ export { t as runDoctorCommand, e as runServePreflight };
@@ -1,8 +1,8 @@
1
- import { Ht as e, Ut as t, Vt as n } from "./dev-C0cbqysu.js";
2
- import { at as r, it as i, ot as a, s as o, st as s, t as c, w as l, y as u } from "./webDev-BbdkzMbd.js";
1
+ import { Ht as e, Ut as t, Vt as n } from "./dev-kdAg9Q7l.js";
2
+ import { at as r, ct as i, ot as a, s as o, st as s, t as c, w as l, y as u } from "./webDev-B-ubQEMX.js";
3
3
  import { x as d } from "./frameworkTableAssembly-BwJVEKLr.js";
4
4
  import { n as f } from "./pageConvention-cEiRxdab.js";
5
- import { r as p, u as m } from "./apiBuild-D3s7lx57.js";
5
+ import { r as p, u as m } from "./apiBuild-CPDHXF72.js";
6
6
  import { n as h, r as g, t as ee } from "./cliOutput-D1tSBoRM.js";
7
7
  import { n as _, t as te } from "./tsconfigPaths-BWXBWgcl.js";
8
8
  import { n as ne, r as re } from "./fileTaxonomy-CJfgOllU.js";
@@ -1350,7 +1350,7 @@ var le = /* @__PURE__ */ new Set([
1350
1350
  let t = Wt.get(e);
1351
1351
  if (t !== void 0) return t;
1352
1352
  let n = (async () => {
1353
- let { walk: t, loadDiscovered: n } = await import("./dev-Dz9GqA6P.js"), r = await t(e);
1353
+ let { walk: t, loadDiscovered: n } = await import("./dev-CK522MV5.js"), r = await t(e);
1354
1354
  return {
1355
1355
  files: r,
1356
1356
  discovered: await n(r)
@@ -1475,7 +1475,7 @@ var le = /* @__PURE__ */ new Set([
1475
1475
  }
1476
1476
  }, J = async (r) => {
1477
1477
  try {
1478
- let { loadApiConfig: i } = await import("./dev-Dz9GqA6P.js"), { discovered: a } = await U(r), o = e(await i(r)), s = {
1478
+ let { loadApiConfig: i } = await import("./dev-CK522MV5.js"), { discovered: a } = await U(r), o = e(await i(r)), s = {
1479
1479
  queries: a.queries,
1480
1480
  mutations: a.mutations,
1481
1481
  actions: a.actions,
@@ -1559,7 +1559,7 @@ var le = /* @__PURE__ */ new Set([
1559
1559
  }, nn = async (e) => nt({
1560
1560
  hasWorkflows: async () => (await U(e)).discovered.workflows.length > 0,
1561
1561
  openStore: async () => {
1562
- let { loadApiConfig: t, buildStore: n } = await import("./dev-Dz9GqA6P.js"), r = await t(e);
1562
+ let { loadApiConfig: t, buildStore: n } = await import("./dev-CK522MV5.js"), r = await t(e);
1563
1563
  if (r === null) throw Error("no app.config.ts in this directory");
1564
1564
  let i = await n(r, void 0);
1565
1565
  return {
@@ -1639,7 +1639,7 @@ var le = /* @__PURE__ */ new Set([
1639
1639
  }
1640
1640
  }, ln = async (e) => {
1641
1641
  try {
1642
- let { loadApiConfig: t } = await import("./dev-Dz9GqA6P.js"), n = (await t(e))?.doctor?.scopeVocabulary;
1642
+ let { loadApiConfig: t } = await import("./dev-CK522MV5.js"), n = (await t(e))?.doctor?.scopeVocabulary;
1643
1643
  if (typeof n != "string") return [];
1644
1644
  let [r, i] = n.split("#");
1645
1645
  if (r === void 0 || i === void 0) return [];
@@ -1656,7 +1656,7 @@ var le = /* @__PURE__ */ new Set([
1656
1656
  findings: []
1657
1657
  });
1658
1658
  try {
1659
- let { offlineManifest: n, toInput: r } = await import("./checkCommand-DomvYDi1.js"), { buildAppGraph: i, checkAppGraph: a } = await import("./appGraph-CM9wvUmD.js"), o = await n(e), s = r(o.manifest, o.tables), c = await ln(e), l = [.../* @__PURE__ */ new Set([...s.scopes ?? [], ...c])];
1659
+ let { offlineManifest: n, toInput: r } = await import("./checkCommand-CWcnDArJ.js"), { buildAppGraph: i, checkAppGraph: a } = await import("./appGraph-CFmFKHb2.js"), o = await n(e), s = r(o.manifest, o.tables), c = await ln(e), l = [.../* @__PURE__ */ new Set([...s.scopes ?? [], ...c])];
1660
1660
  if (l.length === 0) {
1661
1661
  try {
1662
1662
  let { loadAppSchemaInputs: t } = await import("./frameworkTableAssembly-CVDB2hCq.js");
@@ -1710,7 +1710,7 @@ var le = /* @__PURE__ */ new Set([
1710
1710
  if (n === void 0 || r.length === 0) return;
1711
1711
  let i = [];
1712
1712
  try {
1713
- let { loadApiConfig: t } = await import("./dev-Dz9GqA6P.js");
1713
+ let { loadApiConfig: t } = await import("./dev-CK522MV5.js");
1714
1714
  i = (await t(e))?.locales ?? [];
1715
1715
  } catch {
1716
1716
  return;
@@ -1728,7 +1728,7 @@ var le = /* @__PURE__ */ new Set([
1728
1728
  if (!S(t)) return !1;
1729
1729
  let n = [];
1730
1730
  try {
1731
- let { walkPagesTree: e } = await import("./webDev-BcRFTsMA.js");
1731
+ let { walkPagesTree: e } = await import("./webDev-DposiF3j.js");
1732
1732
  n = (await e(t)).pages.map((e) => e.pattern);
1733
1733
  } catch {
1734
1734
  return !1;
@@ -1741,7 +1741,7 @@ var le = /* @__PURE__ */ new Set([
1741
1741
  }, pn = async (e) => {
1742
1742
  let { discovered: t } = await U(e), n = [];
1743
1743
  try {
1744
- let { loadApiConfig: t } = await import("./dev-Dz9GqA6P.js");
1744
+ let { loadApiConfig: t } = await import("./dev-CK522MV5.js");
1745
1745
  n = ((await t(e))?.plugins ?? []).map((e) => {
1746
1746
  let t = (e.extendSchema?.tables ?? []).map((e) => {
1747
1747
  let t = e;
@@ -1886,7 +1886,7 @@ var le = /* @__PURE__ */ new Set([
1886
1886
  return n.unchecked.length > $ && console.log(` … and ${n.unchecked.length - $} more — \`voltro doctor --json\` prints every one (\`authz.unchecked\`).`), i === void 0 ? (console.log(`\nNo ${X} yet, so this run is advisory. To start the ratchet:`), console.log("\n voltro doctor --write-authz-allowlist\n"), console.log("That records today's unchecked handlers as DEBT and fails every run after on"), console.log("anything NEW. Fix a handler and its line stops mattering — the scan reports it as"), console.log("guarded whether or not the line is still there."), !1) : (console.log(`\n${n.unchecked.length} executor(s) with no access check are not in ${X}.`), console.log("Add a guard, or add the tag to that file if it is genuinely open."), console.log("\nBefore hand-rolling another check: `guards: [{ action, resourceType, resource }]`"), console.log("answers \"may this subject act on THIS row\" declaratively, and an app whose"), console.log("relationships live in its own tables registers its own tuple source rather than"), console.log("copying data into a framework table. See the authorization docs."), !0);
1887
1887
  }, yn = async (e) => {
1888
1888
  try {
1889
- let { loadApiConfig: t } = await import("./dev-Dz9GqA6P.js"), { decidedSchemaReport: n } = await import("./doctorDecidedSchema-BlbWgCD_.js"), r = await t(e);
1889
+ let { loadApiConfig: t } = await import("./dev-CK522MV5.js"), { decidedSchemaReport: n } = await import("./doctorDecidedSchema-BlbWgCD_.js"), r = await t(e);
1890
1890
  return r == null ? null : n({
1891
1891
  ...r.schema ? { declared: r.schema } : {},
1892
1892
  ...r.store === void 0 ? {} : { store: r.store },
@@ -1911,8 +1911,8 @@ var le = /* @__PURE__ */ new Set([
1911
1911
  fileTaxonomy: re(o).findings,
1912
1912
  junctionFks: (await W(o))?.issues ?? [],
1913
1913
  eventDelivery: await G(o),
1914
- duplicateInstances: i(o),
1915
- versionSkew: r(o) ?? null,
1914
+ duplicateInstances: r(o),
1915
+ versionSkew: a(o) ?? null,
1916
1916
  serverOnly: (await q(o)).status,
1917
1917
  accessDecisions: await J(o),
1918
1918
  webhookVerification: await Y(o),
@@ -1924,9 +1924,9 @@ var le = /* @__PURE__ */ new Set([
1924
1924
  }), 0;
1925
1925
  let c = ct(o, t);
1926
1926
  z(o), At(o), Ht(o), ne(o), await It(o), await an(o), await rn(o), await Gt(o), await Xt(o), await Yt(o), await bn(o), await Zt(o), await pn(o), await un(o), await cn(o), await dn(o);
1927
- let l = await tn(o), u = await vn(o, e.includes("--write-authz-allowlist")), d = await Qt(o), f = await en(o), p = await fn(o), m = s(r(o));
1927
+ let l = await tn(o), u = await vn(o, e.includes("--write-authz-allowlist")), d = await Qt(o), f = await en(o), p = await fn(o), m = i(a(o));
1928
1928
  m !== void 0 && (console.log(""), console.log(m));
1929
- let _ = a(i(o));
1929
+ let _ = s(r(o));
1930
1930
  return _ !== void 0 && console.log(`\n${_}`), l || u || d || p || f ? Math.max(c, 1) : c;
1931
1931
  };
1932
1932
  //#endregion
@@ -1,4 +1,4 @@
1
- import { c as e, i as t } from "./dev-C0cbqysu.js";
1
+ import { c as e, i as t } from "./dev-kdAg9Q7l.js";
2
2
  import { n, t as r } from "./cliArgs-D4p8n7EE.js";
3
3
  import { r as i } from "./appPort-B_HpJ_ck.js";
4
4
  import { resolve as a } from "node:path";
@@ -1,4 +1,4 @@
1
- import { c as e, i as t } from "./dev-C0cbqysu.js";
1
+ import { c as e, i as t } from "./dev-kdAg9Q7l.js";
2
2
  import { Effect as n } from "effect";
3
3
  import { embedMany as r } from "@voltro/ai";
4
4
  //#region src/embeddingsBackfill.ts
@@ -1,5 +1,5 @@
1
- import { c as e } from "./dev-C0cbqysu.js";
2
- import { _t as t, gt as n, mt as r, pt as i } from "./webDev-BbdkzMbd.js";
1
+ import { c as e } from "./dev-kdAg9Q7l.js";
2
+ import { _t as t, ht as n, mt as r, vt as i } from "./webDev-B-ubQEMX.js";
3
3
  import { join as a } from "node:path";
4
4
  import { promises as o } from "node:fs";
5
5
  import { createLogger as s } from "@voltro/logger";
@@ -21,27 +21,27 @@ var u = s({ scope: "voltro:env" }), d = "# Environment for this app", f = async
21
21
  }, h = async (e) => {
22
22
  let t = await f(e);
23
23
  if (!t) return u.error("no app.config.ts found in the current directory"), 1;
24
- let n = i(t.name, t.input), r = `${p("KEY", 32)} ${p("OWNER", 16)} ${p("ACCESS", 8)} ${p("REQ", 4)} SET`;
25
- u.info(`env manifest — ${n.app} (${n.summary.total} vars, ${n.summary.set} set)`), m(r);
24
+ let n = r(t.name, t.input), i = `${p("KEY", 32)} ${p("OWNER", 16)} ${p("ACCESS", 8)} ${p("REQ", 4)} SET`;
25
+ u.info(`env manifest — ${n.app} (${n.summary.total} vars, ${n.summary.set} set)`), m(i);
26
26
  for (let e of n.entries) {
27
27
  let t = e.isSet ? "✓" : e.satisfied ? "·" : "✗";
28
28
  m(`${p(e.key, 32)} ${p(e.owner, 16)} ${p(e.access, 8)} ${p(e.required ? "yes" : "", 4)} ${t}`);
29
29
  }
30
30
  return n.summary.missingRequired > 0 ? (u.error(`${n.summary.missingRequired} required var(s) are unset`), 1) : 0;
31
31
  }, g = async (e, t) => {
32
- let n = await f(e);
33
- if (!n) return u.error("no app.config.ts found in the current directory"), 1;
34
- let i = r(n.input, ["Environment for this app — generated from app.config.ts `env` + plugin declarations.", "Regenerate with `voltro env sync`. Copy to `.env` and fill in the blanks."]), s = a(e, ".env.example"), c = await o.readFile(s, "utf8").catch(() => null);
32
+ let r = await f(e);
33
+ if (!r) return u.error("no app.config.ts found in the current directory"), 1;
34
+ let i = n(r.input, ["Environment for this app — generated from app.config.ts `env` + plugin declarations.", "Regenerate with `voltro env sync`. Copy to `.env` and fill in the blanks."]), s = a(e, ".env.example"), c = await o.readFile(s, "utf8").catch(() => null);
35
35
  if (c !== null && !c.startsWith(d) && !t) {
36
36
  let t = a(e, ".env.example.generated");
37
37
  return await o.writeFile(t, i, "utf8"), u.warn(".env.example exists and is not framework-generated — wrote .env.example.generated instead", { hint: "merge it by hand, or pass --force to overwrite .env.example" }), 0;
38
38
  }
39
- return await o.writeFile(s, i, "utf8"), u.info("wrote .env.example", { app: n.name }), 0;
40
- }, _ = async (r) => {
41
- let i = await e(r).catch(() => null);
42
- if (!i) return u.error("no app.config.ts found in the current directory"), 1;
43
- let a = l(i.env) ? i.env : void 0;
44
- return a ? (i.type === "web" ? (await n(r, a), u.info("wrote src/voltro-env.d.ts (publicEnv augmentation)", { app: i.name ?? "app" })) : (await t(r, a), u.info("wrote env.generated.d.ts (serverEnv augmentation)", { app: i.name ?? "app" })), 0) : (u.warn("no `defineEnv` declared in app.config.ts — nothing to generate", { hint: "add `env: defineEnv({ ... })` to app.config.ts (see @voltro/env)" }), 0);
39
+ return await o.writeFile(s, i, "utf8"), u.info("wrote .env.example", { app: r.name }), 0;
40
+ }, _ = async (n) => {
41
+ let r = await e(n).catch(() => null);
42
+ if (!r) return u.error("no app.config.ts found in the current directory"), 1;
43
+ let a = l(r.env) ? r.env : void 0;
44
+ return a ? (r.type === "web" ? (await t(n, a), u.info("wrote src/voltro-env.d.ts (publicEnv augmentation)", { app: r.name ?? "app" })) : (await i(n, a), u.info("wrote env.generated.d.ts (serverEnv augmentation)", { app: r.name ?? "app" })), 0) : (u.warn("no `defineEnv` declared in app.config.ts — nothing to generate", { hint: "add `env: defineEnv({ ... })` to app.config.ts (see @voltro/env)" }), 0);
45
45
  }, v = () => {
46
46
  let e = c();
47
47
  return u.info(`${e.length} framework env vars for turbo.json globalPassThroughEnv:`), m(JSON.stringify([...e].sort(), null, 2)), u.info("merge these into the workspace turbo.json `globalPassThroughEnv` array (+ your own app vars)."), 0;
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./cliOutput-D1tSBoRM.js";
2
- import { t } from "./checkCommand-DsKIjL6k.js";
3
- import { i as n, n as r } from "./codemodRunner-DwY8Rjbl.js";
2
+ import { t } from "./checkCommand-DNuPiWMc.js";
3
+ import { i as n, n as r } from "./codemodRunner-BDVixlSw.js";
4
4
  import { basename as i, join as a, resolve as o } from "node:path";
5
5
  import { branchNamespaceName as s, planBranchProvision as c } from "@voltro/database";
6
6
  import { readFile as l } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { r as e } from "./appGraph-Cv2W_wO5.js";
1
+ import { r as e } from "./appGraph-yRuKjOba.js";
2
2
  import { dirname as t, join as n } from "node:path";
3
3
  import { promises as r } from "node:fs";
4
4
  import { createLogger as i } from "@voltro/logger";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "./commands-Brp4DI8u.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "./commands-B1OiS9bX.js";
2
2
  import { r as o } from "./templates-BR-fb4SP.js";
3
3
  //#region src/index.ts
4
4
  var s = "framework";
@@ -1,5 +1,5 @@
1
1
  import { n as e, r as t, t as n } from "./cliOutput-D1tSBoRM.js";
2
- import { o as r } from "./updateCommand-BgH6vTtq.js";
2
+ import { o as r } from "./updateCommand-Bs322Q78.js";
3
3
  import { join as i, resolve as a } from "node:path";
4
4
  import { readFileSync as o, readdirSync as s, statSync as c } from "node:fs";
5
5
  //#region src/infoCommand.ts
@@ -79,7 +79,7 @@ var _ = /* @__PURE__ */ new Set([
79
79
  let t = u(e.find((e) => !e.startsWith("-")) ?? process.cwd());
80
80
  return s(S(t), { scope: "voltro:migrate" });
81
81
  }
82
- let { runDbCommand: t } = await import("./dbCommand-Bnl7MSGC.js");
82
+ let { runDbCommand: t } = await import("./dbCommand-C27HIsGE.js");
83
83
  return t(["apply", ...e]);
84
84
  };
85
85
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as e } from "./apiBuild-D3s7lx57.js";
1
+ import { n as e } from "./apiBuild-CPDHXF72.js";
2
2
  import { join as t, resolve as n, sep as r } from "node:path";
3
3
  import { existsSync as i, promises as a } from "node:fs";
4
4
  import { createLogger as o } from "@voltro/logger";
@@ -422,7 +422,7 @@ let package = Package(
422
422
  await l.mkdir(o(e), { recursive: !0 }), await l.writeFile(e, n.content, "utf8");
423
423
  }
424
424
  }, X = async (e) => {
425
- let { offlineManifest: t } = await import("./checkCommand-DomvYDi1.js"), { manifest: n } = await t(e);
425
+ let { offlineManifest: t } = await import("./checkCommand-CWcnDArJ.js"), { manifest: n } = await t(e);
426
426
  return n;
427
427
  }, Z = async (e) => {
428
428
  let t = J(await (e.manifestProvider ?? X)(e.root), {
@@ -0,0 +1,2 @@
1
+ import { n as e } from "./serveCommand-DdiYNBBu.js";
2
+ export { e as runServeDispatch };
@@ -4,10 +4,10 @@ import { r as n, t as r } from "./appModuleLoader-C9r9mxZt.js";
4
4
  import { t as i } from "./bootRefusal-pgvDxlrU.js";
5
5
  import { n as a, r as o } from "./startupRunner-CEqQq7ax.js";
6
6
  import { t as s } from "./interruptedReplace-C3O3M1MM.js";
7
- import { $ as c, $t as l, A as u, At as d, Bt as f, C as ee, Cn as te, Ct as ne, D as p, Dt as m, E as h, En as re, Et as g, F as ie, Ft as ae, G as oe, Gt as se, H as _, Ht as ce, I as le, It as ue, J as de, Jt as v, K as y, Kt as fe, L as b, Lt as pe, M as me, Mt as he, N as ge, Nt as _e, O as ve, Ot as ye, P as be, Pt as xe, Q as Se, Qt as Ce, R as x, Rt as we, S as Te, St as Ee, T as De, Tn as Oe, Tt as S, U as ke, V as Ae, W as je, Wt as Me, X as Ne, Xt as Pe, Y as Fe, Yt as C, Z as Ie, Zt as Le, _ as w, _n as Re, _t as T, an as ze, at as Be, b as Ve, bn as He, bt as Ue, c as We, cn as Ge, ct as Ke, dn as qe, dt as Je, en as Ye, et as Xe, f as Ze, fn as Qe, ft as $e, g as et, gt as tt, h as nt, hn as rt, ht as it, i as at, in as ot, it as st, j as ct, jt as lt, k as ut, kt as dt, ln as ft, lt as pt, m as mt, mn as ht, mt as gt, nn as _t, nt as E, o as D, on as vt, ot as O, p as k, pn as yt, pt as bt, q as xt, qt as St, r as Ct, rn as A, rt as wt, sn as j, st as Tt, t as Et, tn as Dt, tt as Ot, u as kt, un as At, ut as jt, v as Mt, vn as Nt, vt as M, w as N, wn as Pt, wt as Ft, x as It, xn as Lt, xt as Rt, y as zt, yn as Bt, yt as Vt, zt as Ht } from "./dev-C0cbqysu.js";
7
+ import { $ as c, $t as l, A as u, At as d, Bt as f, C as ee, Cn as te, Ct as ne, D as p, Dt as m, E as h, En as re, Et as g, F as ie, Ft as ae, G as oe, Gt as se, H as _, Ht as ce, I as le, It as ue, J as de, Jt as v, K as y, Kt as fe, L as b, Lt as pe, M as me, Mt as he, N as ge, Nt as _e, O as ve, Ot as ye, P as be, Pt as xe, Q as Se, Qt as Ce, R as x, Rt as we, S as Te, St as Ee, T as De, Tn as Oe, Tt as S, U as ke, V as Ae, W as je, Wt as Me, X as Ne, Xt as Pe, Y as Fe, Yt as C, Z as Ie, Zt as Le, _ as w, _n as Re, _t as T, an as ze, at as Be, b as Ve, bn as He, bt as Ue, c as We, cn as Ge, ct as Ke, dn as qe, dt as Je, en as Ye, et as Xe, f as Ze, fn as Qe, ft as $e, g as et, gt as tt, h as nt, hn as rt, ht as it, i as at, in as ot, it as st, j as ct, jt as lt, k as ut, kt as dt, ln as ft, lt as pt, m as mt, mn as ht, mt as gt, nn as _t, nt as E, o as D, on as vt, ot as O, p as k, pn as yt, pt as bt, q as xt, qt as St, r as Ct, rn as A, rt as wt, sn as j, st as Tt, t as Et, tn as Dt, tt as Ot, u as kt, un as At, ut as jt, v as Mt, vn as Nt, vt as M, w as N, wn as Pt, wt as Ft, x as It, xn as Lt, xt as Rt, y as zt, yn as Bt, yt as Vt, zt as Ht } from "./dev-kdAg9Q7l.js";
8
8
  import { n as Ut } from "./cliArgs-D4p8n7EE.js";
9
9
  import { r as P } from "./appPort-B_HpJ_ck.js";
10
- import { ht as Wt, pt as Gt } from "./webDev-BbdkzMbd.js";
10
+ import { gt as Wt, mt as Gt } from "./webDev-B-ubQEMX.js";
11
11
  import { r as F } from "./dialectDriver-czCHYpeH.js";
12
12
  import { i as Kt, n as qt } from "./connectionConfig-Bk9IC7D0.js";
13
13
  import { c as Jt, n as I, o as Yt } from "./seedRunner-Dgsiwk_e.js";
@@ -18,7 +18,7 @@ import { h as pn, o as mn } from "./inspect-CtL_xTbu.js";
18
18
  import { n as hn } from "./mssqlClusterPatch-_4cE_nun.js";
19
19
  import { i as gn, n as _n, r as vn, t as yn } from "./webhookDiscovery-CphsQe59.js";
20
20
  import { t as bn } from "./inspectMetrics-CfdKLh6t.js";
21
- import { r as xn, u as Sn } from "./apiBuild-D3s7lx57.js";
21
+ import { r as xn, u as Sn } from "./apiBuild-CPDHXF72.js";
22
22
  import { t as Cn } from "./bootTiming-BdyP9nYw.js";
23
23
  import { a as wn, o as Tn, t as En } from "./dataProfile-Du3ztYxv.js";
24
24
  import L, { basename as Dn, join as On } from "node:path";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./serveCommand-YbD5VgfV.js";
1
+ import { t as e } from "./serveCommand-DdiYNBBu.js";
2
2
  import { t } from "./loadEnv-D9nEOClM.js";
3
3
  import { r as n } from "./appModuleLoader-C9r9mxZt.js";
4
4
  import { i as r } from "./dialectDriver-czCHYpeH.js";