void 0.9.3 → 0.10.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 (104) hide show
  1. package/dist/{auth-cmd-CPkWrQR9.mjs → auth-cmd-DBnbrX9Y.mjs} +2 -2
  2. package/dist/{better-auth-shared-CmEQZs1T.d.mts → better-auth-shared-a7H3wk9J.d.mts} +2 -2
  3. package/dist/{cache-1SVxZ7BK.mjs → cache-DNX0hLsO.mjs} +1 -1
  4. package/dist/{cancel-deploy-JaFClLr7.mjs → cancel-deploy-CDzkVaYZ.mjs} +1 -1
  5. package/dist/cli/cli.mjs +205 -36
  6. package/dist/{client-DIfOFf1W.mjs → client-D4awzTnj.mjs} +149 -45
  7. package/dist/{create-project-DCUrFJxa.mjs → create-project-CGodxfzH.mjs} +1 -1
  8. package/dist/{db-UW4IYQFw.mjs → db-ERzz4oly.mjs} +14 -14
  9. package/dist/{delete-CYknzwXU.mjs → delete-CJZGDLBR.mjs} +1 -1
  10. package/dist/{deploy-RQXpVBL-.mjs → deploy-Cwa5sooV.mjs} +74 -102
  11. package/dist/{domain-B7RntQ1r.mjs → domain-WvoAHE6w.mjs} +1 -1
  12. package/dist/{env-C_ZcxxED.mjs → env-Cx4czPsR.mjs} +1 -1
  13. package/dist/{env-helpers-Bd2wVdxz.d.mts → env-helpers-ZatKyjen.d.mts} +1 -1
  14. package/dist/{gen-O5mXZ76K.mjs → gen-Dgi4D7GC.mjs} +1 -1
  15. package/dist/git-metadata-Ce0AtSZL.mjs +82 -0
  16. package/dist/github-cmd-CUB041gj.mjs +308 -0
  17. package/dist/{handler-hm9KldPP.d.mts → handler-DczZlaXR.d.mts} +3 -3
  18. package/dist/index.d.mts +3 -3
  19. package/dist/index.mjs +18 -18
  20. package/dist/{init-DGrLx2ls.mjs → init-DvaRDMIc.mjs} +122 -77
  21. package/dist/{link-7MoXUMaI.mjs → link-CpbWJY3P.mjs} +2 -2
  22. package/dist/{list-N2mCHv8q.mjs → list-BkwE5vH4.mjs} +1 -1
  23. package/dist/{login-tt1OmNVg.mjs → login-Ca6mhQVI.mjs} +1 -1
  24. package/dist/{logs-Cl7q2CjZ.mjs → logs-ArQzZquo.mjs} +1 -1
  25. package/dist/{mcp-BXD35N2J.mjs → mcp-Cc2MMXdQ.mjs} +1 -1
  26. package/dist/{node-Df8UjQ2H.mjs → node-B07cZs0d.mjs} +3 -3
  27. package/dist/pages/client.d.mts +1 -1
  28. package/dist/pages/client.mjs +1 -0
  29. package/dist/pages/head-client.d.mts +1 -1
  30. package/dist/pages/head.d.mts +1 -1
  31. package/dist/pages/index.d.mts +2 -2
  32. package/dist/pages/index.mjs +1 -1
  33. package/dist/pages/islands-plugin.d.mts +1 -1
  34. package/dist/pages/protocol.d.mts +2 -2
  35. package/dist/pages/protocol.mjs +1 -1
  36. package/dist/{plugin-inference--7geW5Z2.mjs → plugin-inference-C3fLzFvP.mjs} +2 -0
  37. package/dist/{prepare-DT-7QII_.mjs → prepare-DH2WnEpD.mjs} +3 -3
  38. package/dist/{preset-2aBxMfY1.mjs → preset-B7ZQZn0u.mjs} +2 -2
  39. package/dist/{project-cmd-CLrqSbqj.mjs → project-cmd-CWZeawuN.mjs} +8 -8
  40. package/dist/{protocol-B9GZA4Bn.d.mts → protocol-63PHtCHS.d.mts} +3 -3
  41. package/dist/{rollback-CEbAwbHK.mjs → rollback-BJ60ktsW.mjs} +1 -1
  42. package/dist/{runner-DLZ9E_cX.mjs → runner-BQyKUqAL.mjs} +1 -1
  43. package/dist/runtime/ai.mjs +1 -1
  44. package/dist/runtime/auth.d.mts +1 -1
  45. package/dist/runtime/better-auth-pg.d.mts +1 -1
  46. package/dist/runtime/better-auth-pg.mjs +3 -3
  47. package/dist/runtime/better-auth.d.mts +1 -1
  48. package/dist/runtime/better-auth.mjs +2 -2
  49. package/dist/runtime/client-react.d.mts +2 -2
  50. package/dist/runtime/client-react.mjs +1 -1
  51. package/dist/runtime/client-solid.d.mts +2 -2
  52. package/dist/runtime/client-solid.mjs +1 -1
  53. package/dist/runtime/client-svelte.d.mts +2 -2
  54. package/dist/runtime/client-svelte.mjs +1 -1
  55. package/dist/runtime/client-vue.d.mts +2 -2
  56. package/dist/runtime/client-vue.mjs +1 -1
  57. package/dist/runtime/client.d.mts +2 -2
  58. package/dist/runtime/client.mjs +1 -1
  59. package/dist/runtime/env-helpers.d.mts +1 -1
  60. package/dist/runtime/env-public-client.d.mts +1 -1
  61. package/dist/runtime/env-public.d.mts +2 -2
  62. package/dist/runtime/env-public.mjs +1 -1
  63. package/dist/runtime/env.mjs +1 -1
  64. package/dist/runtime/fetch-stream.d.mts +1 -1
  65. package/dist/runtime/fetch-stream.mjs +1 -1
  66. package/dist/runtime/fetch.d.mts +1 -1
  67. package/dist/runtime/fetch.mjs +1 -1
  68. package/dist/runtime/handler.d.mts +1 -1
  69. package/dist/runtime/handler.mjs +1 -1
  70. package/dist/runtime/isr.mjs +1 -1
  71. package/dist/runtime/live.d.mts +2 -2
  72. package/dist/runtime/live.mjs +1 -1
  73. package/dist/runtime/migration-handler-pg.mjs +1 -1
  74. package/dist/runtime/sandbox.mjs +1 -1
  75. package/dist/runtime/validator.d.mts +1 -1
  76. package/dist/runtime/ws-server.d.mts +2 -2
  77. package/dist/runtime/ws.d.mts +3 -3
  78. package/dist/{scan-B2H1Vo2C.mjs → scan-DGEp1-1Q.mjs} +17 -9
  79. package/dist/{secret-C_uTY7xx.mjs → secret-BRbXyu7E.mjs} +1 -1
  80. package/package.json +2 -2
  81. package/schema.json +3 -3
  82. package/skills/void/docs/guide/deployment.md +37 -11
  83. package/skills/void/docs/guide/edge/headers.md +10 -3
  84. package/skills/void/docs/guide/edge/rewrites.md +5 -5
  85. package/skills/void/docs/reference/cli.md +65 -2
  86. /package/dist/{auth-migrations-CuQkjjWE.mjs → auth-migrations-BP-hMzYl.mjs} +0 -0
  87. /package/dist/{auth-CDeb2XAl.d.mts → auth-nEUVHuFI.d.mts} +0 -0
  88. /package/dist/{better-auth-shared-QAfk8CAS.mjs → better-auth-shared-D0Mbmx5V.mjs} +0 -0
  89. /package/dist/{defer-CouVukrf.mjs → defer-C-bdSM_b.mjs} +0 -0
  90. /package/dist/{drizzle-DYstYz0j.mjs → drizzle-DqstQTGq.mjs} +0 -0
  91. /package/dist/{env-raw-RDkMnSTC.mjs → env-raw-Dtj1UAoK.mjs} +0 -0
  92. /package/dist/{fetch-error-CimrygMq.d.mts → fetch-error-BQMdPvge.d.mts} +0 -0
  93. /package/dist/{fetch-error-BFIoojjf.mjs → fetch-error-C6qffTl2.mjs} +0 -0
  94. /package/dist/{head-BsSTGnIe.d.mts → head-JAH2l3fg.d.mts} +0 -0
  95. /package/dist/{headers-VkAnACKX.mjs → headers-BNWymgnH.mjs} +0 -0
  96. /package/dist/{package-json-B2TD0JLu.mjs → package-json-Bg_GJdJB.mjs} +0 -0
  97. /package/dist/{pg-CMZ_5wsC.mjs → pg-CempqvEJ.mjs} +0 -0
  98. /package/dist/{providers-3Kkv63Ha.d.mts → providers-BkiAlEad.d.mts} +0 -0
  99. /package/dist/{runner-pg-Cv9V7ydr.mjs → runner-pg-BAheiT6v.mjs} +0 -0
  100. /package/dist/{skills-BRKc--As.mjs → skills--OMgLmXW.mjs} +0 -0
  101. /package/dist/{standard-schema-Dnsh2vnl.d.mts → standard-schema-BCBv-QaP.d.mts} +0 -0
  102. /package/dist/{subcommand-prompt-OD-x_Tsm.mjs → subcommand-prompt-ClwpLlKD.mjs} +0 -0
  103. /package/dist/{types-DEWCqHtl.d.mts → types-BnHMXezo.d.mts} +0 -0
  104. /package/dist/{yarn-pnp-0SwYgQxx.mjs → yarn-pnp-DhCHHLAz.mjs} +0 -0
@@ -1,20 +1,20 @@
1
1
  import { a as join, c as resolve, i as isAbsolute, n as dirname, s as relative, t as basename } from "./pathe.M-eThtNZ-BrPhGF_K.mjs";
2
2
  import { n as cliTitle } from "./output-DeiS4oEX.mjs";
3
3
  import { n as readProjectPaths } from "./project-paths-CCMrHYQm.mjs";
4
- import { c as getToken, n as PlatformClient, u as isStagingMode } from "./client-DIfOFf1W.mjs";
4
+ import { d as getToken, n as PlatformClient, p as isStagingMode } from "./client-D4awzTnj.mjs";
5
5
  import { _ as me, c as R, g as ge, i as Ee, l as Re, u as Se, v as ue, x as q, y as ye } from "./dist-abzUneor.mjs";
6
6
  import { a as writeProjectConfig, r as readProjectConfig } from "./project-CH9pdo16.mjs";
7
7
  import { n as ensureProjectTsconfig, t as createProjectTsconfig } from "./project-tsconfig-BTNuNoJ0.mjs";
8
8
  import { c as getDatabaseDialect, f as readConfig } from "./config-8dLIngKW.mjs";
9
- import { r as detectFramework } from "./plugin-inference--7geW5Z2.mjs";
9
+ import { r as detectFramework } from "./plugin-inference-C3fLzFvP.mjs";
10
10
  import { r as parseDotenvFile, t as expandDotenv } from "./dotenv-lS94ymhM.mjs";
11
11
  import { t as MagicString } from "./magic-string.es-C1Fb0uxq.mjs";
12
12
  import { n as writeDrizzleConfig } from "./config--wXmVOoe.mjs";
13
13
  import { n as getAgentById, r as getPackageDir, t as detectAgents } from "./agents-MhSzNMiC.mjs";
14
- import { n as promptAndCreateProject, r as promptProjectSelection } from "./create-project-DCUrFJxa.mjs";
15
- import { t as promptForLoginToken } from "./login-tt1OmNVg.mjs";
16
- import { r as formatProjectCommand } from "./preset-2aBxMfY1.mjs";
17
- import { n as findInstalledYarnPnpRuntime, r as hasLocalLockfile, t as buildDrizzleKitSpawnEnv } from "./yarn-pnp-0SwYgQxx.mjs";
14
+ import { n as promptAndCreateProject, r as promptProjectSelection } from "./create-project-CGodxfzH.mjs";
15
+ import { t as promptForLoginToken } from "./login-Ca6mhQVI.mjs";
16
+ import { r as formatProjectCommand } from "./preset-B7ZQZn0u.mjs";
17
+ import { n as findInstalledYarnPnpRuntime, r as hasLocalLockfile, t as buildDrizzleKitSpawnEnv } from "./yarn-pnp-DhCHHLAz.mjs";
18
18
  import { createRequire } from "node:module";
19
19
  import { existsSync, mkdirSync, readFileSync, readdirSync, rmdirSync, unlinkSync, writeFileSync } from "node:fs";
20
20
  import { fileURLToPath } from "node:url";
@@ -1767,95 +1767,138 @@ function getNodeVersionLine(root) {
1767
1767
  if (existsSync(join(root, ".node-version"))) return "node-version-file: .node-version";
1768
1768
  return "node-version: lts/*";
1769
1769
  }
1770
- function getWorkflowYaml(root, pm) {
1770
+ const WORKFLOW_DEFAULT_API_URL = "https://api.void.cloud";
1771
+ function getWorkflowSetupSteps(root, pm) {
1771
1772
  const nodeVersion = getNodeVersionLine(root);
1772
1773
  switch (pm) {
1773
- case "pnpm": return `name: Deploy
1774
- on:
1775
- push:
1776
- branches: [main]
1777
-
1778
- jobs:
1779
- deploy:
1780
- runs-on: ubuntu-latest
1781
- steps:
1782
- - uses: actions/checkout@v6
1783
- - uses: pnpm/action-setup@v5
1774
+ case "pnpm": return {
1775
+ setup: ` - uses: pnpm/action-setup@v5
1784
1776
  - uses: actions/setup-node@v6
1785
1777
  with:
1786
1778
  ${nodeVersion}
1787
- cache: pnpm
1788
- - run: pnpm install
1789
- - run: pnpm void deploy
1790
- env:
1791
- VOID_TOKEN: \${{ secrets.VOID_TOKEN }}
1792
- `;
1793
- case "yarn": return `name: Deploy
1794
- on:
1795
- push:
1796
- branches: [main]
1797
-
1798
- jobs:
1799
- deploy:
1800
- runs-on: ubuntu-latest
1801
- steps:
1802
- - uses: actions/checkout@v6
1803
- - uses: actions/setup-node@v6
1779
+ cache: pnpm`,
1780
+ install: " - run: pnpm install --frozen-lockfile",
1781
+ runner: "pnpm exec void"
1782
+ };
1783
+ case "yarn": return {
1784
+ setup: ` - uses: actions/setup-node@v6
1804
1785
  with:
1805
1786
  ${nodeVersion}
1806
- cache: yarn
1807
- - run: yarn install --immutable
1808
- - run: yarn void deploy
1809
- env:
1810
- VOID_TOKEN: \${{ secrets.VOID_TOKEN }}
1811
- `;
1812
- case "bun": return `name: Deploy
1787
+ cache: yarn`,
1788
+ install: " - run: yarn install --immutable",
1789
+ runner: "yarn void"
1790
+ };
1791
+ case "bun": return {
1792
+ setup: " - uses: oven-sh/setup-bun@v2",
1793
+ install: " - run: bun install --frozen-lockfile",
1794
+ runner: "bunx void"
1795
+ };
1796
+ default: return {
1797
+ setup: ` - uses: actions/setup-node@v6
1798
+ with:
1799
+ ${nodeVersion}
1800
+ cache: npm`,
1801
+ install: " - run: npm ci",
1802
+ runner: "npx void"
1803
+ };
1804
+ }
1805
+ }
1806
+ /**
1807
+ * Scaffold the GitHub Actions workflow that deploys via GitHub OIDC — no
1808
+ * long-lived secret stored in the repo. The job requests an OIDC token from
1809
+ * GitHub (audience `void`), exchanges it at `POST $VOID_API_URL/auth/github-oidc`
1810
+ * for a short-lived (15-min) project-scoped deploy token, then runs
1811
+ * `void deploy --project <slug>` with that token exported as `VOID_TOKEN`.
1812
+ *
1813
+ * `slug` is the linked project slug when known (from `.void/project.json`);
1814
+ * otherwise a `${{ vars.VOID_PROJECT }}` placeholder is emitted with a comment
1815
+ * telling the user to set the repository variable.
1816
+ */
1817
+ function getWorkflowYaml(root, pm, slug) {
1818
+ const { setup, install, runner } = getWorkflowSetupSteps(root, pm);
1819
+ return `name: Deploy to Void
1813
1820
  on:
1814
1821
  push:
1815
1822
  branches: [main]
1816
1823
 
1817
- jobs:
1818
- deploy:
1819
- runs-on: ubuntu-latest
1820
- steps:
1821
- - uses: actions/checkout@v6
1822
- - uses: oven-sh/setup-bun@v2
1823
- - run: bun install
1824
- - run: bunx void deploy
1825
- env:
1826
- VOID_TOKEN: \${{ secrets.VOID_TOKEN }}
1827
- `;
1828
- default: return `name: Deploy
1829
- on:
1830
- push:
1831
- branches: [main]
1824
+ # Latest push wins: cancel an in-flight deploy for the same repo+branch so a
1825
+ # newer commit is never overtaken by an older one. Keyed by repo + ref only —
1826
+ # workflow-level concurrency cannot read the \`env\` context, so VOID_PROJECT is
1827
+ # not used here (one repo+branch deploys to one project in this scaffold).
1828
+ concurrency:
1829
+ group: void-deploy-\${{ github.repository }}-\${{ github.ref }}
1830
+ cancel-in-progress: true
1831
+
1832
+ # id-token: write lets the job mint a GitHub OIDC token. No long-lived
1833
+ # VOID_TOKEN secret is stored — the token below is exchanged for a
1834
+ # short-lived, project-scoped deploy token at deploy time.
1835
+ permissions:
1836
+ id-token: write
1837
+ contents: read
1838
+
1839
+ env:
1840
+ # Override with a VOID_API_URL repository variable to target staging.
1841
+ VOID_API_URL: \${{ vars.VOID_API_URL || '${WORKFLOW_DEFAULT_API_URL}' }}
1842
+ ${slug ? `VOID_PROJECT: ${slug}` : `# Set a VOID_PROJECT repository variable to your project slug
1843
+ # (Settings → Secrets and variables → Actions → Variables).
1844
+ VOID_PROJECT: \${{ vars.VOID_PROJECT }}`}
1832
1845
 
1833
1846
  jobs:
1834
1847
  deploy:
1835
1848
  runs-on: ubuntu-latest
1836
1849
  steps:
1837
1850
  - uses: actions/checkout@v6
1838
- - uses: actions/setup-node@v6
1839
- with:
1840
- ${nodeVersion}
1841
- cache: npm
1842
- - run: npm ci
1843
- - run: npx void deploy
1844
- env:
1845
- VOID_TOKEN: \${{ secrets.VOID_TOKEN }}
1851
+ ${setup}
1852
+ ${install}
1853
+ - name: Exchange GitHub OIDC token for a Void deploy token
1854
+ run: |
1855
+ OIDC_TOKEN="$(curl -sf \\
1856
+ -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \\
1857
+ "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=void" | jq -r '.value')"
1858
+ VOID_TOKEN="$(curl -sf \\
1859
+ -H 'Content-Type: application/json' \\
1860
+ -d "$(jq -n --arg t "$OIDC_TOKEN" --arg p "$VOID_PROJECT" '{oidcToken: $t, project: $p}')" \\
1861
+ "$VOID_API_URL/auth/github-oidc" | jq -r '.token')"
1862
+ echo "::add-mask::$VOID_TOKEN"
1863
+ echo "VOID_TOKEN=$VOID_TOKEN" >> "$GITHUB_ENV"
1864
+ - name: Deploy
1865
+ run: ${runner} deploy --project "$VOID_PROJECT"
1846
1866
  `;
1847
- }
1848
1867
  }
1849
1868
  function setupGithubActions(root, state) {
1850
- const workflowPath = join(root, ".github", "workflows", "deploy.yml");
1869
+ const workflowDir = join(root, ".github", "workflows");
1870
+ const workflowPath = join(workflowDir, "void-deploy.yml");
1851
1871
  if (existsSync(workflowPath)) {
1852
- R.warn("deploy.yml already exists, skipping");
1872
+ R.warn("void-deploy.yml already exists, skipping");
1853
1873
  return;
1854
1874
  }
1855
- mkdirSync(join(root, ".github", "workflows"), { recursive: true });
1856
- writeFileSync(workflowPath, getWorkflowYaml(root, state.packageManager));
1857
- R.success("Created .github/workflows/deploy.yml");
1858
- Se("After init completes, run `npx void auth token` to copy a deploy token.\nThen add it in GitHub under Settings → Secrets and variables → Actions as `VOID_TOKEN`.", "GitHub Actions deploy token");
1875
+ const slug = readProjectConfig(root)?.slug ?? null;
1876
+ mkdirSync(workflowDir, { recursive: true });
1877
+ writeFileSync(workflowPath, getWorkflowYaml(root, state.packageManager, slug));
1878
+ R.success("Created .github/workflows/void-deploy.yml");
1879
+ if (slug) Se(`Pushes to main will build and deploy "${slug}" via GitHub OIDC — no token to store.\nConnect the repo to your project in the Void dashboard to authorize it.`, "GitHub Actions OIDC deploy");
1880
+ else Se("Pushes to main will build and deploy via GitHub OIDC — no token to store.\nSet a VOID_PROJECT repository variable (Settings → Secrets and variables → Actions → Variables)\nto your project slug, and connect the repo to your project in the Void dashboard.", "GitHub Actions OIDC deploy");
1881
+ }
1882
+ /**
1883
+ * Bake a resolved project slug into an already-written `void-deploy.yml`.
1884
+ *
1885
+ * Step 8 (GitHub Actions) runs BEFORE Step 9 (project link), so when a user
1886
+ * links a project during the same interactive init the workflow was written
1887
+ * with the `${{ vars.VOID_PROJECT }}` placeholder. Once the link resolves a
1888
+ * slug, rewrite the placeholder `env.VOID_PROJECT` block in place so the user
1889
+ * does not also have to set a repository variable. No-op (returns `false`)
1890
+ * when the workflow is missing or the placeholder is not present (e.g. the
1891
+ * slug was already known at scaffold time, or the user declined linking).
1892
+ */
1893
+ function patchWorkflowProjectSlug(root, slug) {
1894
+ const workflowPath = join(root, ".github", "workflows", "void-deploy.yml");
1895
+ if (!existsSync(workflowPath)) return false;
1896
+ const yaml = readFileSync(workflowPath, "utf-8");
1897
+ const placeholderBlock = " # Set a VOID_PROJECT repository variable to your project slug\n # (Settings → Secrets and variables → Actions → Variables).\n VOID_PROJECT: ${{ vars.VOID_PROJECT }}";
1898
+ if (!yaml.includes(placeholderBlock)) return false;
1899
+ writeFileSync(workflowPath, yaml.replace(placeholderBlock, ` VOID_PROJECT: ${slug}`));
1900
+ R.success(`Set VOID_PROJECT: ${slug} in .github/workflows/void-deploy.yml`);
1901
+ return true;
1859
1902
  }
1860
1903
  function writeFileIfMissing(root, filePath, content) {
1861
1904
  const fullPath = join(root, filePath);
@@ -2764,7 +2807,7 @@ async function runInitCommand(root, initArgs) {
2764
2807
  const agentSetup = await resolveAgentSetup(root);
2765
2808
  injectAgentBlock(root, agentSetup.instructionFilePath);
2766
2809
  if (agentSetup.agents.length > 0) {
2767
- const { linkSkillsForSpecificAgents } = await import("./skills-BRKc--As.mjs");
2810
+ const { linkSkillsForSpecificAgents } = await import("./skills--OMgLmXW.mjs");
2768
2811
  linkSkillsForSpecificAgents(root, agentSetup.agents);
2769
2812
  } else R.info("Skills linking skipped for generic agent setup");
2770
2813
  setupMcpConfig(root, agentSetup.agents);
@@ -2789,10 +2832,9 @@ async function runInitCommand(root, initArgs) {
2789
2832
  }
2790
2833
  }
2791
2834
  const githubStepSkipForSubpackage = isInsideWorkspaceSubpackage(root);
2792
- if ((!targeted || initArgs?.github) && !githubStepSkipForSubpackage) if (existsSync(join(root, ".github", "workflows", "deploy.yml"))) R.warn("deploy.yml already exists, skipping");
2793
- else if (targeted) setupGithubActions(root, state);
2835
+ if ((!targeted || initArgs?.github) && !githubStepSkipForSubpackage) if (targeted) setupGithubActions(root, state);
2794
2836
  else {
2795
- const setupGha = await ue({ message: "Create .github/workflows/deploy.yml to deploy on pushes to main?" });
2837
+ const setupGha = await ue({ message: "Create .github/workflows/void-deploy.yml to deploy on pushes to main?" });
2796
2838
  if (q(setupGha)) {
2797
2839
  me("Setup cancelled.");
2798
2840
  process.exit(0);
@@ -2810,7 +2852,10 @@ async function runInitCommand(root, initArgs) {
2810
2852
  }
2811
2853
  if (scaffoldAddedDependencies) installProjectDependencies(root, state.packageManager);
2812
2854
  if (scaffoldedStarterMode && !workspaceSubpackageSkip) generateStarterMigration(root, scaffoldedStarterMode);
2813
- if (!targeted) await maybeSetupDeployProject(root);
2855
+ if (!targeted) {
2856
+ const linked = await maybeSetupDeployProject(root);
2857
+ if (linked?.slug) patchWorkflowProjectSlug(root, linked.slug);
2858
+ }
2814
2859
  if (workspaceSubpackageSkip) if (scaffoldedStarterMode) ye("Run your workspace install, then `void db generate` to finish setup.");
2815
2860
  else ye("Run your workspace install to finish setup.");
2816
2861
  else ye(`Run \`${getDevCommand(root, framework)}\` to start developing`);
@@ -1,8 +1,8 @@
1
1
  import { n as cliTitle, s as import_picocolors } from "./output-DeiS4oEX.mjs";
2
- import { c as getToken, n as PlatformClient, s as getSiteDomain } from "./client-DIfOFf1W.mjs";
2
+ import { d as getToken, n as PlatformClient, u as getSiteDomain } from "./client-D4awzTnj.mjs";
3
3
  import { _ as me, c as R, g as ge, y as ye } from "./dist-abzUneor.mjs";
4
4
  import { a as writeProjectConfig, r as readProjectConfig } from "./project-CH9pdo16.mjs";
5
- import { n as promptAndCreateProject, r as promptProjectSelection } from "./create-project-DCUrFJxa.mjs";
5
+ import { n as promptAndCreateProject, r as promptProjectSelection } from "./create-project-CGodxfzH.mjs";
6
6
  import { r as resolveProjectBySlug } from "./resolve-project-D4O1_fZz.mjs";
7
7
  //#region src/cli/link.ts
8
8
  async function runLink(root, slug) {
@@ -1,5 +1,5 @@
1
1
  import { a as ensureUtc, i as dim, l as tablePrefix, n as cliTitle, s as import_picocolors } from "./output-DeiS4oEX.mjs";
2
- import { c as getToken, n as PlatformClient } from "./client-DIfOFf1W.mjs";
2
+ import { d as getToken, n as PlatformClient } from "./client-D4awzTnj.mjs";
3
3
  import { c as R, g as ge, y as ye } from "./dist-abzUneor.mjs";
4
4
  import { r as readProjectConfig } from "./project-CH9pdo16.mjs";
5
5
  import { r as resolveProjectBySlug } from "./resolve-project-D4O1_fZz.mjs";
@@ -1,5 +1,5 @@
1
1
  import { n as cliTitle, r as createSpinner, s as import_picocolors } from "./output-DeiS4oEX.mjs";
2
- import { a as isExpiredTokenError, c as getToken, d as removeToken, f as runLogin, l as getTokenSource, n as PlatformClient, p as saveToken, u as isStagingMode } from "./client-DIfOFf1W.mjs";
2
+ import { _ as saveToken, a as isExpiredTokenError, d as getToken, f as getTokenSource, g as runLogin, h as removeToken, n as PlatformClient, p as isStagingMode } from "./client-D4awzTnj.mjs";
3
3
  import { _ as me, c as R, g as ge, i as Ee, x as q, y as ye } from "./dist-abzUneor.mjs";
4
4
  //#region src/cli/login.ts
5
5
  async function promptForLoginToken(root = process.cwd()) {
@@ -1,5 +1,5 @@
1
1
  import { i as dim, n as cliTitle, s as import_picocolors } from "./output-DeiS4oEX.mjs";
2
- import { c as getToken, n as PlatformClient } from "./client-DIfOFf1W.mjs";
2
+ import { d as getToken, n as PlatformClient } from "./client-D4awzTnj.mjs";
3
3
  import { c as R, g as ge, y as ye } from "./dist-abzUneor.mjs";
4
4
  import { r as readProjectConfig } from "./project-CH9pdo16.mjs";
5
5
  //#region src/cli/logs.ts
@@ -1,5 +1,5 @@
1
1
  import { a as join, n as dirname } from "./pathe.M-eThtNZ-BrPhGF_K.mjs";
2
- import { c as getToken, n as PlatformClient } from "./client-DIfOFf1W.mjs";
2
+ import { d as getToken, n as PlatformClient } from "./client-D4awzTnj.mjs";
3
3
  import { a as writeProjectConfig } from "./project-CH9pdo16.mjs";
4
4
  import { existsSync, readFileSync, readdirSync } from "node:fs";
5
5
  import { fileURLToPath } from "node:url";
@@ -1,9 +1,9 @@
1
1
  import { a as join } from "./pathe.M-eThtNZ-BrPhGF_K.mjs";
2
2
  import { n as loadVoidAuthConfig, t as findVoidAuthConfig } from "./config-hhMYPVRT.mjs";
3
3
  import { f as readConfig } from "./config-8dLIngKW.mjs";
4
- import { r as resolveVoidAuthMigrationSchema } from "./drizzle-DYstYz0j.mjs";
5
- import { n as applySqliteAuthMigrations, t as applyPgAuthMigrations } from "./auth-migrations-CuQkjjWE.mjs";
6
- import { getMiniflareDatabasePath } from "./runner-DLZ9E_cX.mjs";
4
+ import { r as resolveVoidAuthMigrationSchema } from "./drizzle-DqstQTGq.mjs";
5
+ import { n as applySqliteAuthMigrations, t as applyPgAuthMigrations } from "./auth-migrations-BP-hMzYl.mjs";
6
+ import { getMiniflareDatabasePath } from "./runner-BQyKUqAL.mjs";
7
7
  import { loadEnv } from "vite";
8
8
  //#region src/auth/node.ts
9
9
  async function runLocalVoidAuthMigrations(root, dialect, persistRoot = join(root, ".void"), databaseId = "local", configPath = findVoidAuthConfig(root)) {
@@ -1,4 +1,4 @@
1
- import { t as PageObject } from "../protocol-B9GZA4Bn.mjs";
1
+ import { t as PageObject } from "../protocol-63PHtCHS.mjs";
2
2
  import { CacheForInput, CacheForResult } from "./prefetch.mjs";
3
3
 
4
4
  //#region src/pages/action-result.d.ts
@@ -390,6 +390,7 @@ async function createPageNavigationEngine(config) {
390
390
  return r.json();
391
391
  });
392
392
  });
393
+ _prefetchCache.flush(fetchUrl, method);
393
394
  _prefetchCache.set(fetchUrl, method, bgFetch, PREFETCH_DEFAULT_CACHE_FOR);
394
395
  }
395
396
  } else {
@@ -1,4 +1,4 @@
1
- import { n as HeadDescriptor } from "../head-BsSTGnIe.mjs";
1
+ import { n as HeadDescriptor } from "../head-JAH2l3fg.mjs";
2
2
 
3
3
  //#region src/pages/head-client.d.ts
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-BsSTGnIe.mjs";
1
+ import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-JAH2l3fg.mjs";
2
2
  export { HeadConfig, HeadDescriptor, renderBodyAttrs, renderHeadToString, renderHtmlAttrs, resolveHead };
@@ -1,5 +1,5 @@
1
- import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-BsSTGnIe.mjs";
2
- import { i as PageDefinition, n as LayoutDefinition, o as PageScanResult, r as NamedLayoutDefinition } from "../types-DEWCqHtl.mjs";
1
+ import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-JAH2l3fg.mjs";
2
+ import { i as PageDefinition, n as LayoutDefinition, o as PageScanResult, r as NamedLayoutDefinition } from "../types-BnHMXezo.mjs";
3
3
  import { serializePageData } from "./serialize.mjs";
4
4
  import { RewriteDestination } from "void/routes";
5
5
 
@@ -2,7 +2,7 @@ import { a as join } from "../pathe.M-eThtNZ-BrPhGF_K.mjs";
2
2
  import { r as resolvePagesDir } from "../project-paths-CCMrHYQm.mjs";
3
3
  import { f as readConfig } from "../config-8dLIngKW.mjs";
4
4
  import { a as resolveNamedLayout, i as resolveLayoutIds, n as resolveEffectiveLayoutChain, r as resolveLayoutChain, t as scanPages } from "../scan-VCAM1oh3.mjs";
5
- import { i as parseRedirectsFile } from "../headers-VkAnACKX.mjs";
5
+ import { i as parseRedirectsFile } from "../headers-BNWymgnH.mjs";
6
6
  import { renderBodyAttrs, renderHeadToString, renderHtmlAttrs, resolveHead } from "./head.mjs";
7
7
  import { serializePageData } from "./serialize.mjs";
8
8
  //#region src/pages/manifest.ts
@@ -1,4 +1,4 @@
1
- import { o as PageScanResult } from "../types-DEWCqHtl.mjs";
1
+ import { o as PageScanResult } from "../types-BnHMXezo.mjs";
2
2
  import { ResolvedConfig, ViteDevServer } from "vite";
3
3
 
4
4
  //#region src/pages/islands-plugin.d.ts
@@ -1,3 +1,3 @@
1
- import { w as ValidationError } from "../handler-hm9KldPP.mjs";
2
- import { a as handlePageMutation, i as handlePageGet, n as PageRenderResult, o as safeJsonStringify, r as flattenValidationErrors, t as PageObject } from "../protocol-B9GZA4Bn.mjs";
1
+ import { w as ValidationError } from "../handler-DczZlaXR.mjs";
2
+ import { a as handlePageMutation, i as handlePageGet, n as PageRenderResult, o as safeJsonStringify, r as flattenValidationErrors, t as PageObject } from "../protocol-63PHtCHS.mjs";
3
3
  export { PageObject, PageRenderResult, ValidationError, flattenValidationErrors, handlePageGet, handlePageMutation, safeJsonStringify };
@@ -1,5 +1,5 @@
1
1
  import { isConvertedResponse } from "../runtime/response.mjs";
2
- import { i as ValidationError, r as separateDeferred, t as DEFERRED } from "../defer-CouVukrf.mjs";
2
+ import { i as ValidationError, r as separateDeferred, t as DEFERRED } from "../defer-C-bdSM_b.mjs";
3
3
  import { renderBodyAttrs, renderHeadToString, renderHtmlAttrs, resolveHead } from "./head.mjs";
4
4
  import { serializePageData } from "./serialize.mjs";
5
5
  //#region src/pages/protocol.ts
@@ -398,6 +398,7 @@ function validateServerRenderExport(entry) {
398
398
  return false;
399
399
  }
400
400
  if (node.type !== "ExportNamedDeclaration") return false;
401
+ if (node.exportKind === "type") return false;
401
402
  const declaration = node.declaration;
402
403
  if (declaration?.type === "FunctionDeclaration") {
403
404
  const fn = declaration;
@@ -405,6 +406,7 @@ function validateServerRenderExport(entry) {
405
406
  }
406
407
  if (declaration?.type === "VariableDeclaration") return (declaration.declarations ?? []).some((decl) => isIdentifier(decl.id) && decl.id.name === "render");
407
408
  return (node.specifiers ?? []).some((specifier) => {
409
+ if (specifier.exportKind === "type") return false;
408
410
  const exported = specifier.exported;
409
411
  return isIdentifier(exported) && exported.name === "render";
410
412
  });
@@ -5,12 +5,12 @@ import { n as loadVoidAuthConfig, t as findVoidAuthConfig } from "./config-hhMYP
5
5
  import { c as R, g as ge, u as Se, y as ye } from "./dist-abzUneor.mjs";
6
6
  import { n as ensureProjectTsconfig, r as writeFileIfChanged } from "./project-tsconfig-BTNuNoJ0.mjs";
7
7
  import { c as getDatabaseDialect, f as readConfig } from "./config-8dLIngKW.mjs";
8
- import { r as scanRoutes } from "./scan-B2H1Vo2C.mjs";
9
- import { i as inferProjectBindings, n as FRAMEWORK_SCAN_DIRS, r as detectFramework } from "./plugin-inference--7geW5Z2.mjs";
8
+ import { r as scanRoutes } from "./scan-DGEp1-1Q.mjs";
9
+ import { i as inferProjectBindings, n as FRAMEWORK_SCAN_DIRS, r as detectFramework } from "./plugin-inference-C3fLzFvP.mjs";
10
10
  import { i as generateDbDts, n as generateQueueTypes, t as generateRouteTypes } from "./route-types-D03ryMXz.mjs";
11
11
  import { t as discoverSchema } from "./discover-C8N1I4tK.mjs";
12
12
  import { r as generateEnvTypes, t as findEnvFile } from "./env-types-CaJaIRXU.mjs";
13
- import { n as generateVoidAuthDrizzleSchema, t as generateVoidAuthDatabaseModule } from "./drizzle-DYstYz0j.mjs";
13
+ import { n as generateVoidAuthDrizzleSchema, t as generateVoidAuthDatabaseModule } from "./drizzle-DqstQTGq.mjs";
14
14
  import { existsSync, mkdirSync, rmSync } from "node:fs";
15
15
  import { fileURLToPath } from "node:url";
16
16
  import { loadEnv } from "vite";
@@ -1,7 +1,7 @@
1
1
  import { a as join, c as resolve } from "./pathe.M-eThtNZ-BrPhGF_K.mjs";
2
2
  import { n as readProjectPaths } from "./project-paths-CCMrHYQm.mjs";
3
- import { s as hasSsrEntry } from "./plugin-inference--7geW5Z2.mjs";
4
- import { i as readPackageJson, n as hasPackageDependency, t as getPackageDependencies } from "./package-json-B2TD0JLu.mjs";
3
+ import { s as hasSsrEntry } from "./plugin-inference-C3fLzFvP.mjs";
4
+ import { i as readPackageJson, n as hasPackageDependency, t as getPackageDependencies } from "./package-json-Bg_GJdJB.mjs";
5
5
  import { existsSync } from "node:fs";
6
6
  //#region src/cli/preset.ts
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { i as dim, l as tablePrefix, n as cliTitle, s as import_picocolors } from "./output-DeiS4oEX.mjs";
2
- import { c as getToken, n as PlatformClient, s as getSiteDomain } from "./client-DIfOFf1W.mjs";
2
+ import { d as getToken, n as PlatformClient, u as getSiteDomain } from "./client-D4awzTnj.mjs";
3
3
  import { c as R, g as ge, y as ye } from "./dist-abzUneor.mjs";
4
4
  //#region src/cli/projects.ts
5
5
  async function runProjectsCommand(root) {
@@ -34,32 +34,32 @@ async function runProjectsCommand(root) {
34
34
  //#region src/cli/project-cmd.ts
35
35
  async function runProjectCommand(root, args) {
36
36
  if (args.subcommand === "status") {
37
- const { runListCommand } = await import("./list-N2mCHv8q.mjs");
37
+ const { runListCommand } = await import("./list-BkwE5vH4.mjs");
38
38
  return runListCommand(root, args.name || void 0);
39
39
  }
40
40
  if (args.subcommand === "link") {
41
- const { runLink } = await import("./link-7MoXUMaI.mjs");
41
+ const { runLink } = await import("./link-CpbWJY3P.mjs");
42
42
  return runLink(root, args.name || void 0);
43
43
  }
44
44
  if (args.subcommand === "list") return runProjectsCommand(root);
45
45
  if (args.subcommand === "logs") {
46
- const { runLogsCommand } = await import("./logs-Cl7q2CjZ.mjs");
46
+ const { runLogsCommand } = await import("./logs-ArQzZquo.mjs");
47
47
  return runLogsCommand(root, args.filter, args.range, args.deployment || void 0, args.level || void 0);
48
48
  }
49
49
  if (args.subcommand === "rollback") {
50
- const { runRollbackCommand } = await import("./rollback-CEbAwbHK.mjs");
50
+ const { runRollbackCommand } = await import("./rollback-BJ60ktsW.mjs");
51
51
  return runRollbackCommand(root, args.deployId || void 0);
52
52
  }
53
53
  if (args.subcommand === "cancel") {
54
- const { runCancelDeployCommand } = await import("./cancel-deploy-JaFClLr7.mjs");
54
+ const { runCancelDeployCommand } = await import("./cancel-deploy-CDzkVaYZ.mjs");
55
55
  return runCancelDeployCommand(root, args.deployId || void 0);
56
56
  }
57
57
  if (args.subcommand === "delete") {
58
- const { runDeleteCommand } = await import("./delete-CYknzwXU.mjs");
58
+ const { runDeleteCommand } = await import("./delete-CJZGDLBR.mjs");
59
59
  return runDeleteCommand(root, args.name || void 0, { force: args.force });
60
60
  }
61
61
  if (args.subcommand === "purge-cache") {
62
- const { runPurgeCacheCommand } = await import("./cache-1SVxZ7BK.mjs");
62
+ const { runPurgeCacheCommand } = await import("./cache-DNX0hLsO.mjs");
63
63
  return runPurgeCacheCommand(root, args.projectSlug || void 0);
64
64
  }
65
65
  }
@@ -1,6 +1,6 @@
1
- import { n as HeadDescriptor, t as HeadConfig } from "./head-BsSTGnIe.mjs";
2
- import { n as CloudBindings, r as CloudContext } from "./handler-hm9KldPP.mjs";
3
- import { a as PageRenderMode, t as DevCssAsset } from "./types-DEWCqHtl.mjs";
1
+ import { n as HeadDescriptor, t as HeadConfig } from "./head-JAH2l3fg.mjs";
2
+ import { n as CloudBindings, r as CloudContext } from "./handler-DczZlaXR.mjs";
3
+ import { a as PageRenderMode, t as DevCssAsset } from "./types-BnHMXezo.mjs";
4
4
 
5
5
  //#region src/pages/protocol.d.ts
6
6
  /** Escape characters that are unsafe inside inline <script> tags to prevent XSS. */
@@ -1,5 +1,5 @@
1
1
  import { a as ensureUtc, i as dim, n as cliTitle, r as createSpinner, s as import_picocolors } from "./output-DeiS4oEX.mjs";
2
- import { c as getToken, n as PlatformClient } from "./client-DIfOFf1W.mjs";
2
+ import { d as getToken, n as PlatformClient } from "./client-D4awzTnj.mjs";
3
3
  import { _ as me, c as R, g as ge, i as Ee, v as ue, x as q, y as ye } from "./dist-abzUneor.mjs";
4
4
  import { r as readProjectConfig } from "./project-CH9pdo16.mjs";
5
5
  //#region src/cli/rollback.ts
@@ -1,7 +1,7 @@
1
1
  import { a as join, n as dirname } from "./pathe.M-eThtNZ-BrPhGF_K.mjs";
2
2
  import { t as collectMigrations } from "./collect-9rO3JFNM.mjs";
3
3
  import { r as classifyMigration } from "./plan-aD3wRDqF.mjs";
4
- import { n as hasPackageDependency, r as readNearestPackageJson } from "./package-json-B2TD0JLu.mjs";
4
+ import { n as hasPackageDependency, r as readNearestPackageJson } from "./package-json-Bg_GJdJB.mjs";
5
5
  import { existsSync, mkdirSync } from "node:fs";
6
6
  import { createHash, createHmac } from "node:crypto";
7
7
  //#region src/migrations/runner.ts
@@ -1,5 +1,5 @@
1
1
  import { t as cfAccessHeaders } from "../cf-access-DKDsgwOU.mjs";
2
- import { i as getRawRuntimeEnv } from "../env-raw-RDkMnSTC.mjs";
2
+ import { i as getRawRuntimeEnv } from "../env-raw-Dtj1UAoK.mjs";
3
3
  //#region src/runtime/ai-types.ts
4
4
  /** Maps provider prefix to expected env var name for the API key */
5
5
  const PROVIDER_KEY_MAP = {
@@ -1,2 +1,2 @@
1
- import { a as VoidAuthConfigContext, c as getSession, i as VoidAuthConfig, l as getUser, n as AuthState, o as authContext, r as AuthUser, s as defineAuth, t as AuthSession, u as requireAuth } from "../auth-CDeb2XAl.mjs";
1
+ import { a as VoidAuthConfigContext, c as getSession, i as VoidAuthConfig, l as getUser, n as AuthState, o as authContext, r as AuthUser, s as defineAuth, t as AuthSession, u as requireAuth } from "../auth-nEUVHuFI.mjs";
2
2
  export { AuthSession, AuthState, AuthUser, VoidAuthConfig, VoidAuthConfigContext, authContext, defineAuth, getSession, getUser, requireAuth };
@@ -1,4 +1,4 @@
1
- import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv, r as VoidAuthRuntimeApi, t as VoidAuthDialect } from "../better-auth-shared-CmEQZs1T.mjs";
1
+ import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv, r as VoidAuthRuntimeApi, t as VoidAuthDialect } from "../better-auth-shared-a7H3wk9J.mjs";
2
2
 
3
3
  //#region src/runtime/better-auth-pg.d.ts
4
4
  declare const resolveVoidAuthOptions: VoidAuthRuntimeApi["resolveVoidAuthOptions"];
@@ -1,6 +1,6 @@
1
- import { t as applyPgAuthMigrations } from "../auth-migrations-CuQkjjWE.mjs";
2
- import { t as createVoidAuthRuntime } from "../better-auth-shared-QAfk8CAS.mjs";
3
- import { t as disablePgPassFallback } from "../pg-CMZ_5wsC.mjs";
1
+ import { t as applyPgAuthMigrations } from "../auth-migrations-BP-hMzYl.mjs";
2
+ import { t as createVoidAuthRuntime } from "../better-auth-shared-D0Mbmx5V.mjs";
3
+ import { t as disablePgPassFallback } from "../pg-CempqvEJ.mjs";
4
4
  //#region src/runtime/better-auth-pg.ts
5
5
  function resolveConnectionString(env) {
6
6
  const connectionString = typeof env.DATABASE_URL === "string" && env.DATABASE_URL.length > 0 ? env.DATABASE_URL : typeof env.HYPERDRIVE?.connectionString === "string" && env.HYPERDRIVE.connectionString.length > 0 ? env.HYPERDRIVE.connectionString : void 0;
@@ -1,4 +1,4 @@
1
- import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv, r as VoidAuthRuntimeApi, t as VoidAuthDialect } from "../better-auth-shared-CmEQZs1T.mjs";
1
+ import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv, r as VoidAuthRuntimeApi, t as VoidAuthDialect } from "../better-auth-shared-a7H3wk9J.mjs";
2
2
 
3
3
  //#region src/runtime/better-auth.d.ts
4
4
  declare const resolveVoidAuthOptions: VoidAuthRuntimeApi["resolveVoidAuthOptions"];
@@ -1,5 +1,5 @@
1
- import { n as applySqliteAuthMigrations } from "../auth-migrations-CuQkjjWE.mjs";
2
- import { t as createVoidAuthRuntime } from "../better-auth-shared-QAfk8CAS.mjs";
1
+ import { n as applySqliteAuthMigrations } from "../auth-migrations-BP-hMzYl.mjs";
2
+ import { t as createVoidAuthRuntime } from "../better-auth-shared-D0Mbmx5V.mjs";
3
3
  //#region src/runtime/better-auth.ts
4
4
  async function resolveDatabase(env) {
5
5
  if (!env.DB) throw new Error("auth: Better Auth requires the \"DB\" D1 binding for sqlite apps.");
@@ -1,6 +1,6 @@
1
- import { n as AuthState, r as AuthUser, t as AuthSession } from "../auth-CDeb2XAl.mjs";
1
+ import { n as AuthState, r as AuthUser, t as AuthSession } from "../auth-nEUVHuFI.mjs";
2
2
  import { auth, createAuthClient } from "./auth-client-react.mjs";
3
- import { t as FetchError } from "../fetch-error-CimrygMq.mjs";
3
+ import { t as FetchError } from "../fetch-error-BQMdPvge.mjs";
4
4
  import { fetch } from "./fetch.mjs";
5
5
  import { fetchStream } from "./fetch-stream.mjs";
6
6
  export { type AuthSession, type AuthState, type AuthUser, FetchError, FetchError as StreamError, auth, createAuthClient, fetch, fetchStream };
@@ -1,4 +1,4 @@
1
- import { t as FetchError } from "../fetch-error-BFIoojjf.mjs";
1
+ import { t as FetchError } from "../fetch-error-C6qffTl2.mjs";
2
2
  import { fetch } from "./fetch.mjs";
3
3
  import { fetchStream } from "./fetch-stream.mjs";
4
4
  import { auth, createAuthClient } from "./auth-client-react.mjs";
@@ -1,6 +1,6 @@
1
- import { n as AuthState, r as AuthUser, t as AuthSession } from "../auth-CDeb2XAl.mjs";
1
+ import { n as AuthState, r as AuthUser, t as AuthSession } from "../auth-nEUVHuFI.mjs";
2
2
  import { auth, createAuthClient } from "./auth-client-solid.mjs";
3
- import { t as FetchError } from "../fetch-error-CimrygMq.mjs";
3
+ import { t as FetchError } from "../fetch-error-BQMdPvge.mjs";
4
4
  import { fetch } from "./fetch.mjs";
5
5
  import { fetchStream } from "./fetch-stream.mjs";
6
6
  export { type AuthSession, type AuthState, type AuthUser, FetchError, FetchError as StreamError, auth, createAuthClient, fetch, fetchStream };
@@ -1,4 +1,4 @@
1
- import { t as FetchError } from "../fetch-error-BFIoojjf.mjs";
1
+ import { t as FetchError } from "../fetch-error-C6qffTl2.mjs";
2
2
  import { fetch } from "./fetch.mjs";
3
3
  import { fetchStream } from "./fetch-stream.mjs";
4
4
  import { auth, createAuthClient } from "./auth-client-solid.mjs";
@@ -1,6 +1,6 @@
1
- import { n as AuthState, r as AuthUser, t as AuthSession } from "../auth-CDeb2XAl.mjs";
1
+ import { n as AuthState, r as AuthUser, t as AuthSession } from "../auth-nEUVHuFI.mjs";
2
2
  import { auth, createAuthClient } from "./auth-client-svelte.mjs";
3
- import { t as FetchError } from "../fetch-error-CimrygMq.mjs";
3
+ import { t as FetchError } from "../fetch-error-BQMdPvge.mjs";
4
4
  import { fetch } from "./fetch.mjs";
5
5
  import { fetchStream } from "./fetch-stream.mjs";
6
6
  export { type AuthSession, type AuthState, type AuthUser, FetchError, FetchError as StreamError, auth, createAuthClient, fetch, fetchStream };