@xano/sdk 1.0.0 → 1.0.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/CHANGELOG.md +9 -776
  2. package/dist/.build-fingerprint +1 -1
  3. package/dist/{agent-file-refresh-ZEMK33AX.js → agent-file-refresh-T7BL3JDV.js} +4 -4
  4. package/dist/{backend-dir-2U53CIAL.js → backend-dir-2EYNX36R.js} +4 -4
  5. package/dist/bin.js +14 -14
  6. package/dist/{branch-commands-ACIRCEQJ.js → branch-commands-D7MVAOSY.js} +3 -3
  7. package/dist/{chunk-UVHDMMIP.js → chunk-2KETYQPN.js} +4 -4
  8. package/dist/{chunk-LRN4ZJCQ.js → chunk-AAX2S6OU.js} +14 -14
  9. package/dist/{chunk-AHJWCYQO.js → chunk-AWMTT5U7.js} +2 -2
  10. package/dist/{chunk-AOSYVMUS.js → chunk-BU5GWPBO.js} +3 -3
  11. package/dist/{chunk-SWBF2LTK.js → chunk-CHRP4RHP.js} +2 -2
  12. package/dist/{chunk-W3HBUKFO.js → chunk-DBMN5YLZ.js} +3 -3
  13. package/dist/{chunk-QCNYHBL7.js → chunk-ES3TNTLS.js} +5 -5
  14. package/dist/{chunk-WKQLGKCL.js → chunk-FXGJ7TEQ.js} +20 -20
  15. package/dist/{chunk-I4F5TCJH.js → chunk-HSBVDFU2.js} +2 -2
  16. package/dist/{chunk-4Q2GN7NW.js → chunk-IC23IKRU.js} +1 -1
  17. package/dist/{chunk-BAUZOWGX.js → chunk-IFSNSRUJ.js} +7 -4
  18. package/dist/{chunk-ETO6LGLD.js → chunk-JLUAWKX2.js} +48 -48
  19. package/dist/{chunk-DAD3ONIS.js → chunk-JTGBGL37.js} +3 -3
  20. package/dist/{chunk-5A2PLKZB.js → chunk-KUI7V576.js} +2 -2
  21. package/dist/{chunk-KTSDSD36.js → chunk-LCMQNVHL.js} +2 -2
  22. package/dist/{chunk-XBKMWY7F.js → chunk-MZ4EQX7X.js} +3 -3
  23. package/dist/{chunk-X677DMZM.js → chunk-NK2633D7.js} +15 -15
  24. package/dist/{chunk-Q325JKYB.js → chunk-NM2X7SQ3.js} +2 -2
  25. package/dist/{chunk-YHEFQUQB.js → chunk-OFEID2IX.js} +2 -2
  26. package/dist/{chunk-CGVQZXYG.js → chunk-OFISBMQ6.js} +2 -2
  27. package/dist/{chunk-BHACRS6R.js → chunk-OIQH34Q5.js} +12 -12
  28. package/dist/{chunk-SFLHVCKX.js → chunk-PA43WZWS.js} +2 -2
  29. package/dist/{chunk-ET4Y4XCB.js → chunk-PV7BGEF2.js} +3 -3
  30. package/dist/{chunk-DX4QR4B2.js → chunk-RLHYFD2R.js} +2 -2
  31. package/dist/{chunk-HHN734BU.js → chunk-SAC4DYYP.js} +8 -8
  32. package/dist/{chunk-K4WX6UUU.js → chunk-SKMZGS3L.js} +11 -11
  33. package/dist/{chunk-AWEIIR2U.js → chunk-TGPYAMVT.js} +2 -2
  34. package/dist/{chunk-WZDJ2LLX.js → chunk-TLJWHLBK.js} +43 -43
  35. package/dist/{chunk-6NNTNXN7.js → chunk-TNM7VE7N.js} +2 -2
  36. package/dist/{chunk-A6E77GDW.js → chunk-TPCOHYPG.js} +2 -2
  37. package/dist/{chunk-K6RXBGUB.js → chunk-UCZZ6KRR.js} +5 -5
  38. package/dist/{chunk-SAVJUS2X.js → chunk-UF7TI3BS.js} +2 -2
  39. package/dist/{chunk-ELP2HMXC.js → chunk-VAL32UEI.js} +2 -2
  40. package/dist/{chunk-3M4LFYNQ.js → chunk-WL2DSNJV.js} +55 -22
  41. package/dist/{chunk-LIEOKXKD.js → chunk-YY2UY7PZ.js} +2 -2
  42. package/dist/{chunk-TLHIFK4M.js → chunk-ZFKZMSM3.js} +2 -2
  43. package/dist/{chunk-WQFNASK4.js → chunk-ZPSPKPXK.js} +2 -2
  44. package/dist/cli.js +13 -13
  45. package/dist/{codegen-command-VR2GWR6C.js → codegen-command-XEHCGZHH.js} +19 -19
  46. package/dist/{deploy-command-JVZPWHMK.js → deploy-command-V2EMVVK2.js} +17 -17
  47. package/dist/{deploy-source-3W45CXMP.js → deploy-source-4BRH7JMY.js} +8 -8
  48. package/dist/{dev-env-sync-HN44K4D5.js → dev-env-sync-4334IEDW.js} +14 -14
  49. package/dist/{env-example-refresh-ET5HMMDW.js → env-example-refresh-GQKAQDWO.js} +20 -20
  50. package/dist/{env-pull-command-TNMNB3CV.js → env-pull-command-E6UITJ75.js} +14 -14
  51. package/dist/{env-target-O4HRKTGZ.js → env-target-76MVYUD4.js} +2 -2
  52. package/dist/{env-var-command-ZIRDCAZA.js → env-var-command-J2LKNUEQ.js} +14 -14
  53. package/dist/{ephemeral-command-CLJJKOFT.js → ephemeral-command-YZATIADS.js} +15 -15
  54. package/dist/{generate-command-AYEOLA26.js → generate-command-XSKLN7ST.js} +22 -22
  55. package/dist/{gitignore-3SJ3WNRG.js → gitignore-W23MIWX6.js} +6 -6
  56. package/dist/{impersonate-command-5JAS3WSV.js → impersonate-command-YZMTA7NW.js} +11 -11
  57. package/dist/{init-command-X2FR4UAK.js → init-command-CEYEFIS2.js} +16 -16
  58. package/dist/{init-modules-RY7UHAOL.js → init-modules-IAVCXWX3.js} +2 -2
  59. package/dist/{keep-data-merge-7MPLVAVI.js → keep-data-merge-M4ULDZB6.js} +4 -4
  60. package/dist/{landing-record-SU52SKXU.js → landing-record-JLN6BCQY.js} +5 -5
  61. package/dist/{local-engine-choice-CH5X3W7E.js → local-engine-choice-QOQJZ5P2.js} +9 -9
  62. package/dist/{local-engine-command-Z3OL7VOD.js → local-engine-command-YVNO5ETS.js} +16 -21
  63. package/dist/{local-engine-deploy-PCQ4SNPB.js → local-engine-deploy-AWA65WR2.js} +5 -4
  64. package/dist/{local-engine-process-EHTE5LLU.js → local-engine-process-SQLSK3AB.js} +4 -3
  65. package/dist/{local-engine-state-A4FTRFAF.js → local-engine-state-TJWPWCC4.js} +5 -2
  66. package/dist/{lock-commands-2QG25HL7.js → lock-commands-GU3TKPWU.js} +14 -14
  67. package/dist/{login-command-QPYRWOXZ.js → login-command-FPKDGYUR.js} +9 -9
  68. package/dist/{logout-command-WOIQLDP6.js → logout-command-MQD3L46D.js} +3 -3
  69. package/dist/{marketplace-command-K5YL42NO.js → marketplace-command-25ZYWSHI.js} +13 -31
  70. package/dist/{meta-client-YXGPW53C.js → meta-client-JPGG2ZHS.js} +2 -2
  71. package/dist/node.js +15 -15
  72. package/dist/{operation-outcome-TZSESNC7.js → operation-outcome-QH6IZEV5.js} +5 -5
  73. package/dist/{output-target-AL3I44GG.js → output-target-NTJAO4VA.js} +7 -7
  74. package/dist/{preflight-command-2T5Z36MI.js → preflight-command-OPIVTVIJ.js} +19 -19
  75. package/dist/{profile-command-AH3PIM4X.js → profile-command-RW7LJZWN.js} +10 -10
  76. package/dist/{promote-command-PCWT5N6S.js → promote-command-TYPJDNRW.js} +26 -26
  77. package/dist/{publish-command-TTDUUJI5.js → publish-command-WIQCLPIU.js} +17 -17
  78. package/dist/{pull-command-VBO7C4S3.js → pull-command-4LVTKE4S.js} +21 -21
  79. package/dist/{release-command-N4ZPKMHR.js → release-command-JJ3QDX3T.js} +19 -19
  80. package/dist/{release-ns-command-3KFDMZ6G.js → release-ns-command-HGKCE56Y.js} +32 -32
  81. package/dist/{secrets-file-LVZD6IIM.js → secrets-file-O5GABAHH.js} +5 -5
  82. package/dist/{secrets-fill-command-TTCPSVXN.js → secrets-fill-command-XSONDOOT.js} +16 -16
  83. package/dist/{source-resolve-S2XA3XZF.js → source-resolve-UE7DHWYR.js} +4 -4
  84. package/dist/{status-command-RUDXTF7I.js → status-command-QIC7QCWJ.js} +14 -14
  85. package/dist/{sync-contributions-UCEROO26.js → sync-contributions-WEKCYMP6.js} +2 -2
  86. package/dist/{tables-command-GUPXXSB5.js → tables-command-VBIAU4HI.js} +11 -11
  87. package/dist/{tenant-command-D5HGI2X4.js → tenant-command-JXDHHIZH.js} +32 -32
  88. package/dist/{test-command-TIKZMDPZ.js → test-command-ST2BXOEH.js} +11 -11
  89. package/dist/{token-NICJUTMT.js → token-OZV2UJQA.js} +2 -2
  90. package/dist/{toolchain-modules-5EAZUONB.js → toolchain-modules-DCKB4AVK.js} +2 -2
  91. package/dist/{tracked-backend-EIBUMDZA.js → tracked-backend-JX2YUXTZ.js} +10 -10
  92. package/dist/{update-check-2W2NLDTC.js → update-check-K557PAI7.js} +15 -15
  93. package/dist/{upgrade-command-QHNFWM7O.js → upgrade-command-PKZPJKAV.js} +17 -17
  94. package/dist/{whoami-command-STGINTXH.js → whoami-command-IN2DJHSI.js} +4 -4
  95. package/dist/{workspace-2CLHU2LK.js → workspace-4STTFOPC.js} +2 -2
  96. package/dist/{workspace-binding-56PIIPCP.js → workspace-binding-T3HVSO4V.js} +3 -3
  97. package/dist/{workspace-command-JEXQETJD.js → workspace-command-3NQQRB7E.js} +26 -26
  98. package/dist/{workspace-env-F2RFMSC5.js → workspace-env-MWJFQ6O3.js} +5 -5
  99. package/dist/{xanosdk-import-GN42TO2B.js → xanosdk-import-N6OTERC6.js} +2 -2
  100. package/dist/{xanosdk-project-S6DXJONQ.js → xanosdk-project-7RIKS2ZQ.js} +5 -5
  101. package/llms-full.txt +1 -1
  102. package/llms.txt +1 -1
  103. package/manifest.json +1 -1
  104. package/package.json +1 -1
@@ -1 +1 @@
1
- 3add8b1a9765d984d1dba690507b52c785fb78991ea8b102e5e6b63cedb0fbdb
1
+ 0ef44b50e8c80416034580156491453cad203f0aa2da1f023a10a7e1320c7633
@@ -3,9 +3,9 @@ import {
3
3
  codingAgentDetected,
4
4
  isCI,
5
5
  refreshAgentFiles
6
- } from "./chunk-Q325JKYB.js";
7
- import "./chunk-AHJWCYQO.js";
8
- import "./chunk-DX4QR4B2.js";
6
+ } from "./chunk-NM2X7SQ3.js";
7
+ import "./chunk-AWMTT5U7.js";
8
+ import "./chunk-RLHYFD2R.js";
9
9
  import "./chunk-6QXLMMT3.js";
10
10
  import "./chunk-ZFDZKNGG.js";
11
11
  import "./chunk-FWD7AL6N.js";
@@ -35,4 +35,4 @@ export {
35
35
  isCI,
36
36
  refreshAgentFiles
37
37
  };
38
- //# sourceMappingURL=agent-file-refresh-ZEMK33AX.js.map
38
+ //# sourceMappingURL=agent-file-refresh-T7BL3JDV.js.map
@@ -2,9 +2,9 @@ import {
2
2
  backendDirFor,
3
3
  backendDirIn,
4
4
  resolveBackendDir
5
- } from "./chunk-5A2PLKZB.js";
6
- import "./chunk-AHJWCYQO.js";
7
- import "./chunk-DX4QR4B2.js";
5
+ } from "./chunk-KUI7V576.js";
6
+ import "./chunk-AWMTT5U7.js";
7
+ import "./chunk-RLHYFD2R.js";
8
8
  import "./chunk-6QXLMMT3.js";
9
9
  import "./chunk-ZFDZKNGG.js";
10
10
  import "./chunk-FWD7AL6N.js";
@@ -36,4 +36,4 @@ export {
36
36
  projectRootFrom,
37
37
  resolveBackendDir
38
38
  };
39
- //# sourceMappingURL=backend-dir-2U53CIAL.js.map
39
+ //# sourceMappingURL=backend-dir-2EYNX36R.js.map
package/dist/bin.js CHANGED
@@ -1,31 +1,31 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  maybeNotifyUpdate
4
- } from "./chunk-LIEOKXKD.js";
4
+ } from "./chunk-YY2UY7PZ.js";
5
5
  import "./chunk-D7VGG3WS.js";
6
6
  import "./chunk-2TFRR6JV.js";
7
7
  import {
8
8
  readVersion,
9
9
  run
10
- } from "./chunk-ETO6LGLD.js";
10
+ } from "./chunk-JLUAWKX2.js";
11
11
  import "./chunk-ZIY7RNUT.js";
12
- import "./chunk-DAD3ONIS.js";
13
- import "./chunk-HHN734BU.js";
12
+ import "./chunk-JTGBGL37.js";
13
+ import "./chunk-SAC4DYYP.js";
14
14
  import "./chunk-LPECSJ2J.js";
15
- import "./chunk-6NNTNXN7.js";
16
- import "./chunk-QCNYHBL7.js";
15
+ import "./chunk-TNM7VE7N.js";
16
+ import "./chunk-ES3TNTLS.js";
17
17
  import "./chunk-2ZUEE4EK.js";
18
18
  import "./chunk-AN6BL47T.js";
19
- import "./chunk-ET4Y4XCB.js";
20
- import "./chunk-SWBF2LTK.js";
19
+ import "./chunk-PV7BGEF2.js";
20
+ import "./chunk-CHRP4RHP.js";
21
21
  import "./chunk-UZ6QQWJT.js";
22
22
  import "./chunk-A3UDOZB6.js";
23
23
  import "./chunk-2MNLRIOX.js";
24
- import "./chunk-3M4LFYNQ.js";
24
+ import "./chunk-WL2DSNJV.js";
25
25
  import "./chunk-AM4FKL4J.js";
26
- import "./chunk-Q325JKYB.js";
26
+ import "./chunk-NM2X7SQ3.js";
27
27
  import "./chunk-STSFNCY4.js";
28
- import "./chunk-I4F5TCJH.js";
28
+ import "./chunk-HSBVDFU2.js";
29
29
  import "./chunk-5QU2P5CA.js";
30
30
  import "./chunk-ZYJP6BOO.js";
31
31
  import "./chunk-QO6BVGS5.js";
@@ -35,9 +35,9 @@ import "./chunk-6PBR37LN.js";
35
35
  import "./chunk-T5KELPAR.js";
36
36
  import "./chunk-622HUCZT.js";
37
37
  import "./chunk-NAQDMEHV.js";
38
- import "./chunk-5A2PLKZB.js";
39
- import "./chunk-AHJWCYQO.js";
40
- import "./chunk-DX4QR4B2.js";
38
+ import "./chunk-KUI7V576.js";
39
+ import "./chunk-AWMTT5U7.js";
40
+ import "./chunk-RLHYFD2R.js";
41
41
  import "./chunk-6QXLMMT3.js";
42
42
  import "./chunk-ZFDZKNGG.js";
43
43
  import "./chunk-FWD7AL6N.js";
@@ -4,7 +4,7 @@ import {
4
4
  runBranchCommand,
5
5
  shownLabel,
6
6
  staleSchemaRefs
7
- } from "./chunk-K6RXBGUB.js";
7
+ } from "./chunk-UCZZ6KRR.js";
8
8
  import "./chunk-65HWOMGV.js";
9
9
  import "./chunk-BWPNT55T.js";
10
10
  import "./chunk-TPHWJ7UG.js";
@@ -16,7 +16,7 @@ import "./chunk-45UIT5T2.js";
16
16
  import "./chunk-HRVBLCVJ.js";
17
17
  import "./chunk-ZIY7RNUT.js";
18
18
  import "./chunk-2ZUEE4EK.js";
19
- import "./chunk-ET4Y4XCB.js";
19
+ import "./chunk-PV7BGEF2.js";
20
20
  import "./chunk-A3UDOZB6.js";
21
21
  import "./chunk-2MNLRIOX.js";
22
22
  import "./chunk-5QU2P5CA.js";
@@ -76,4 +76,4 @@ export {
76
76
  shownLabel,
77
77
  staleSchemaRefs
78
78
  };
79
- //# sourceMappingURL=branch-commands-ACIRCEQJ.js.map
79
+ //# sourceMappingURL=branch-commands-D7MVAOSY.js.map
@@ -3,11 +3,11 @@ import {
3
3
  reachableLines,
4
4
  readReachableWorkspaces,
5
5
  workspaceIdFix
6
- } from "./chunk-KTSDSD36.js";
6
+ } from "./chunk-LCMQNVHL.js";
7
7
  import {
8
8
  credentialRejected,
9
9
  getAccessToken
10
- } from "./chunk-ET4Y4XCB.js";
10
+ } from "./chunk-PV7BGEF2.js";
11
11
  import {
12
12
  CREDENTIAL_FILE_VERSION,
13
13
  UPGRADE_REMEDY,
@@ -165,7 +165,7 @@ function prettyProfile(p) {
165
165
  }
166
166
  async function runWhoamiCommand(args) {
167
167
  const profile = await fetchProfile(args).catch(async (err) => {
168
- const { unansweredRead } = await import("./source-resolve-S2XA3XZF.js");
168
+ const { unansweredRead } = await import("./source-resolve-UE7DHWYR.js");
169
169
  throw unansweredRead(err, "read the signed-in user", "workspace");
170
170
  });
171
171
  if (isMachineOutput(args)) {
@@ -185,4 +185,4 @@ export {
185
185
  profileValue,
186
186
  runWhoamiCommand
187
187
  };
188
- //# sourceMappingURL=chunk-UVHDMMIP.js.map
188
+ //# sourceMappingURL=chunk-2KETYQPN.js.map
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk-65HWOMGV.js";
7
7
  import {
8
8
  ensureWorkspaceEnvGitignored
9
- } from "./chunk-YHEFQUQB.js";
9
+ } from "./chunk-OFEID2IX.js";
10
10
  import {
11
11
  readVersion
12
- } from "./chunk-ETO6LGLD.js";
12
+ } from "./chunk-JLUAWKX2.js";
13
13
  import {
14
14
  WORKSPACE_ENV_EXAMPLE_FILE,
15
15
  renderWorkspaceEnvExample
16
- } from "./chunk-DAD3ONIS.js";
16
+ } from "./chunk-JTGBGL37.js";
17
17
  import {
18
18
  parseSlot,
19
19
  requireBackendSlot
@@ -25,7 +25,7 @@ import {
25
25
  isNonEmptyDir,
26
26
  plannedAgentsMd,
27
27
  scaffoldProject
28
- } from "./chunk-AHJWCYQO.js";
28
+ } from "./chunk-AWMTT5U7.js";
29
29
  import {
30
30
  inProject,
31
31
  installModules,
@@ -33,7 +33,7 @@ import {
33
33
  preflightPackages,
34
34
  rebaseLocalSpec,
35
35
  renderXanoIndexWithModules
36
- } from "./chunk-DX4QR4B2.js";
36
+ } from "./chunk-RLHYFD2R.js";
37
37
  import {
38
38
  npmViewVersion
39
39
  } from "./chunk-ZFDZKNGG.js";
@@ -595,7 +595,7 @@ async function runInitCommand(args) {
595
595
  }
596
596
  const source = resolveFromSource(args.from);
597
597
  if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
598
- const { runInitFromCommand } = await import("./codegen-command-VR2GWR6C.js");
598
+ const { runInitFromCommand } = await import("./codegen-command-XEHCGZHH.js");
599
599
  return runInitFromCommand(args, source);
600
600
  }
601
601
  rejectPullOnlyFlags(args);
@@ -659,7 +659,7 @@ async function runInitCommand(args) {
659
659
  }
660
660
  let scaffolded = false;
661
661
  try {
662
- const { discoverToolchainPlugins } = await import("./toolchain-modules-5EAZUONB.js");
662
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-DCKB4AVK.js");
663
663
  const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
664
664
  const preset = earlyPreset ?? await resolveFrontendPreset(args.framework);
665
665
  const choice = await resolveThemeChoice(args);
@@ -785,7 +785,7 @@ async function runInitCommand(args) {
785
785
  const { skewedProjectSdk } = await import("./project-sdk-REPPOIBD.js");
786
786
  const installedSdk = skewedProjectSdk(targetDir, readVersion());
787
787
  if (installedSdk !== void 0) {
788
- const { reconcileWithInstalled } = await import("./upgrade-command-QHNFWM7O.js");
788
+ const { reconcileWithInstalled } = await import("./upgrade-command-PKZPJKAV.js");
789
789
  const rendered = reconcileWithInstalled(targetDir);
790
790
  if (rendered.length > 0) {
791
791
  info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
@@ -923,7 +923,7 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv) {
923
923
  if (existing !== void 0) seedLockOverrides(existing);
924
924
  const ctx = createLockContext(existing);
925
925
  const { envNamesRead } = await import("./guards-4EBNCZDC.js");
926
- const { refreshEnvExample } = await import("./env-example-refresh-ET5HMMDW.js");
926
+ const { refreshEnvExample } = await import("./env-example-refresh-GQKAQDWO.js");
927
927
  const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
928
928
  if (!Xano.isXano(def)) return { written, env: declaredEnv };
929
929
  const previousSink = setDiagnosticSink(() => {
@@ -979,7 +979,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
979
979
  const file = readCredentialFile(path);
980
980
  const stored = file === null ? [] : profileNames(file);
981
981
  if (stored.includes(name)) return;
982
- const { ProfileNotFoundError } = await import("./token-NICJUTMT.js");
982
+ const { ProfileNotFoundError } = await import("./token-OZV2UJQA.js");
983
983
  const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
984
984
  throw new ProfileNotFoundError(
985
985
  `No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
@@ -988,7 +988,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
988
988
  );
989
989
  }
990
990
  async function envCredentialSet() {
991
- const { envMetaCredentialVarsSet } = await import("./token-NICJUTMT.js");
991
+ const { envMetaCredentialVarsSet } = await import("./token-OZV2UJQA.js");
992
992
  return envMetaCredentialVarsSet().length > 0;
993
993
  }
994
994
  function loginNextStep(pin, projectDir) {
@@ -1034,7 +1034,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1034
1034
  };
1035
1035
  }
1036
1036
  if (opts.credentialRead === true) {
1037
- const { environmentCredentialVars } = await import("./token-NICJUTMT.js");
1037
+ const { environmentCredentialVars } = await import("./token-OZV2UJQA.js");
1038
1038
  const env = environmentCredentialVars();
1039
1039
  if (env.complete) {
1040
1040
  return {
@@ -1057,7 +1057,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1057
1057
  });
1058
1058
  const stored = file === null ? [] : profileNames(file);
1059
1059
  if (!stored.includes(selection.name)) {
1060
- const env = stored.length === 0 ? (await import("./token-NICJUTMT.js")).environmentCredentialVars() : void 0;
1060
+ const env = stored.length === 0 ? (await import("./token-OZV2UJQA.js")).environmentCredentialVars() : void 0;
1061
1061
  const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
1062
1062
  return {
1063
1063
  name: null,
@@ -1142,4 +1142,4 @@ export {
1142
1142
  projectCli,
1143
1143
  planProfilePin
1144
1144
  };
1145
- //# sourceMappingURL=chunk-LRN4ZJCQ.js.map
1145
+ //# sourceMappingURL=chunk-AAX2S6OU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  classifyNpmFailure
3
- } from "./chunk-DX4QR4B2.js";
3
+ } from "./chunk-RLHYFD2R.js";
4
4
  import {
5
5
  condenseNpmError,
6
6
  runNpmQuiet,
@@ -657,4 +657,4 @@ export {
657
657
  changedOnDisk,
658
658
  scaffoldProject
659
659
  };
660
- //# sourceMappingURL=chunk-AHJWCYQO.js.map
660
+ //# sourceMappingURL=chunk-AWMTT5U7.js.map
@@ -10,13 +10,13 @@ import {
10
10
  } from "./chunk-X4DVXBFY.js";
11
11
  import {
12
12
  resolveSource
13
- } from "./chunk-QCNYHBL7.js";
13
+ } from "./chunk-ES3TNTLS.js";
14
14
  import {
15
15
  downloadRelease
16
16
  } from "./chunk-2ZUEE4EK.js";
17
17
  import {
18
18
  backendDirIn
19
- } from "./chunk-5A2PLKZB.js";
19
+ } from "./chunk-KUI7V576.js";
20
20
  import {
21
21
  BARE,
22
22
  UsageError,
@@ -144,4 +144,4 @@ export {
144
144
  gatedApiGroups,
145
145
  asWorkspaceArchive
146
146
  };
147
- //# sourceMappingURL=chunk-AOSYVMUS.js.map
147
+ //# sourceMappingURL=chunk-BU5GWPBO.js.map
@@ -142,7 +142,7 @@ var SENDS_ELSEWHERE = /* @__PURE__ */ new WeakSet();
142
142
  async function reachableFirst(refusal, auth) {
143
143
  if (!(refusal instanceof Error) || !SENDS_ELSEWHERE.has(refusal)) return refusal;
144
144
  if (auth === void 0 || !("access_token" in auth)) return refusal;
145
- const { refuseUnreachableWorkspace } = await import("./workspace-binding-56PIIPCP.js");
145
+ const { refuseUnreachableWorkspace } = await import("./workspace-binding-T3HVSO4V.js");
146
146
  try {
147
147
  await refuseUnreachableWorkspace(auth);
148
148
  } catch (unreachable) {
@@ -167,4 +167,4 @@ export {
167
167
  otherCredentialRefusal,
168
168
  reachableFirst
169
169
  };
170
- //# sourceMappingURL=chunk-SWBF2LTK.js.map
170
+ //# sourceMappingURL=chunk-CHRP4RHP.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  envExampleNames
3
- } from "./chunk-X677DMZM.js";
3
+ } from "./chunk-NK2633D7.js";
4
4
  import {
5
5
  WORKSPACE_ENV_EXAMPLE_BASENAME,
6
6
  renderWorkspaceEnvExample
7
- } from "./chunk-DAD3ONIS.js";
7
+ } from "./chunk-JTGBGL37.js";
8
8
  import {
9
9
  atomicWrite
10
10
  } from "./chunk-LLNZGEFK.js";
@@ -54,4 +54,4 @@ export {
54
54
  refreshEnvExample,
55
55
  bundleEnvNames
56
56
  };
57
- //# sourceMappingURL=chunk-W3HBUKFO.js.map
57
+ //# sourceMappingURL=chunk-DBMN5YLZ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-AN6BL47T.js";
8
8
  import {
9
9
  resolveEphemeralName
10
- } from "./chunk-SWBF2LTK.js";
10
+ } from "./chunk-CHRP4RHP.js";
11
11
  import {
12
12
  displayNameHint,
13
13
  displayNameOwner,
@@ -26,7 +26,7 @@ import {
26
26
  clearEngineRecordsNamed,
27
27
  getEngineRecord,
28
28
  listEngineRecords
29
- } from "./chunk-3M4LFYNQ.js";
29
+ } from "./chunk-WL2DSNJV.js";
30
30
  import {
31
31
  assertLoopbackUrl
32
32
  } from "./chunk-AM4FKL4J.js";
@@ -561,13 +561,13 @@ function engineNotRunning(name, clearedProjects, deployFallback = true, nearest,
561
561
  }
562
562
  function defaultSweep(env) {
563
563
  return async () => {
564
- const { stopOrphanedEngineProcesses } = await import("./local-engine-process-EHTE5LLU.js");
564
+ const { stopOrphanedEngineProcesses } = await import("./local-engine-process-SQLSK3AB.js");
565
565
  return stopOrphanedEngineProcesses({ env }).stopped;
566
566
  };
567
567
  }
568
568
  function defaultEnumeration(env, cwd) {
569
569
  return async () => {
570
- const { cachedEngineEntry, listEngines } = await import("./local-engine-process-EHTE5LLU.js");
570
+ const { cachedEngineEntry, listEngines } = await import("./local-engine-process-SQLSK3AB.js");
571
571
  const entry = cachedEngineEntry(env, cwd);
572
572
  return entry === void 0 ? void 0 : listEngines({ entry, env });
573
573
  };
@@ -598,4 +598,4 @@ export {
598
598
  releaseNames,
599
599
  resolveSource
600
600
  };
601
- //# sourceMappingURL=chunk-QCNYHBL7.js.map
601
+ //# sourceMappingURL=chunk-ES3TNTLS.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-FQJ2TTHP.js";
13
13
  import {
14
14
  shownLabel
15
- } from "./chunk-K6RXBGUB.js";
15
+ } from "./chunk-UCZZ6KRR.js";
16
16
  import {
17
17
  confirm,
18
18
  needsConfirmation
@@ -22,7 +22,7 @@ import {
22
22
  landingLockPath,
23
23
  recordForeignLanding,
24
24
  recordLanding
25
- } from "./chunk-CGVQZXYG.js";
25
+ } from "./chunk-OFISBMQ6.js";
26
26
  import {
27
27
  assertStorageModesKept,
28
28
  discloseCanonicalMoves,
@@ -39,10 +39,10 @@ import {
39
39
  XANOSDK_IMPORT_UNIQUENESS_CODE,
40
40
  XanoSdkImportRefusal,
41
41
  xanosdkImport
42
- } from "./chunk-WQFNASK4.js";
42
+ } from "./chunk-ZPSPKPXK.js";
43
43
  import {
44
44
  archiveSeedContent
45
- } from "./chunk-AOSYVMUS.js";
45
+ } from "./chunk-BU5GWPBO.js";
46
46
  import {
47
47
  encodeWorkspaceArchive
48
48
  } from "./chunk-3DRXWLJ5.js";
@@ -72,18 +72,18 @@ import {
72
72
  assertBundleInput,
73
73
  loadBundleText,
74
74
  resolveLockPath
75
- } from "./chunk-ETO6LGLD.js";
75
+ } from "./chunk-JLUAWKX2.js";
76
76
  import {
77
77
  LookupFailedError,
78
78
  isUnansweredLookup,
79
79
  unansweredCause
80
- } from "./chunk-QCNYHBL7.js";
80
+ } from "./chunk-ES3TNTLS.js";
81
81
  import {
82
82
  isSignatureRefusal
83
83
  } from "./chunk-AN6BL47T.js";
84
84
  import {
85
85
  getAccessToken
86
- } from "./chunk-ET4Y4XCB.js";
86
+ } from "./chunk-PV7BGEF2.js";
87
87
  import {
88
88
  ephemeralLandedOn
89
89
  } from "./chunk-5QU2P5CA.js";
@@ -97,7 +97,7 @@ import {
97
97
  } from "./chunk-NAQDMEHV.js";
98
98
  import {
99
99
  backendDirIn
100
- } from "./chunk-5A2PLKZB.js";
100
+ } from "./chunk-KUI7V576.js";
101
101
  import {
102
102
  shellWord
103
103
  } from "./chunk-FWD7AL6N.js";
@@ -786,7 +786,7 @@ function markUnchanged(presented, unchanged, noun) {
786
786
  }
787
787
  var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
788
788
  async function replaceCommandHint(args) {
789
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-JVZPWHMK.js");
789
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-V2EMVVK2.js");
790
790
  const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
791
791
  const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
792
792
  const argv = [];
@@ -1551,7 +1551,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
1551
1551
  const held = guidsOf(live);
1552
1552
  const codePinned = codePinnedTables(outgoingDoc, lock, classified);
1553
1553
  const { orphanFixUps } = await import("./cli.js");
1554
- const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-7MPLVAVI.js");
1554
+ const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-M4ULDZB6.js");
1555
1555
  const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
1556
1556
  const out = [];
1557
1557
  const seen = /* @__PURE__ */ new Set();
@@ -1595,7 +1595,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
1595
1595
  return out;
1596
1596
  }
1597
1597
  async function pendingRenameRefusal(frame, pending, prune, branch) {
1598
- const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-7MPLVAVI.js");
1598
+ const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-M4ULDZB6.js");
1599
1599
  const one = pending.length === 1;
1600
1600
  const lines = pending.flatMap(
1601
1601
  (p) => pendingRenameLines(
@@ -2051,7 +2051,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2051
2051
  assertBundleFile(args, { command: "deploy" });
2052
2052
  const auth = opts.auth ?? await getAccessToken(args);
2053
2053
  const withSeed = req.mode === "replace" || req.records === true;
2054
- const { discoverToolchainPlugins } = await import("./toolchain-modules-5EAZUONB.js");
2054
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-DCKB4AVK.js");
2055
2055
  const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
2056
2056
  const loaded = await loadBundleText(
2057
2057
  args.dryRun ? { ...args, lockReadOnly: true } : args,
@@ -2077,11 +2077,11 @@ async function runReleaseCommand(args, dest, opts = {}) {
2077
2077
  });
2078
2078
  };
2079
2079
  if (!args.dryRun && args.file !== void 0) {
2080
- const { ignoreBackendSecretFilesRead } = await import("./deploy-command-JVZPWHMK.js");
2080
+ const { ignoreBackendSecretFilesRead } = await import("./deploy-command-V2EMVVK2.js");
2081
2081
  await ignoreBackendSecretFilesRead(args);
2082
2082
  }
2083
2083
  if (args.static !== void 0) {
2084
- const { assertNoSeedLeaks } = await import("./deploy-command-JVZPWHMK.js");
2084
+ const { assertNoSeedLeaks } = await import("./deploy-command-V2EMVVK2.js");
2085
2085
  await assertNoSeedLeaks(args.static, nonPublicSeedValues);
2086
2086
  }
2087
2087
  {
@@ -2191,7 +2191,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2191
2191
  pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
2192
2192
  }).catch(async (err) => {
2193
2193
  if (err instanceof XanoSdkImportRefusal && err.retryable) {
2194
- const { importInProgressError } = await import("./keep-data-merge-7MPLVAVI.js");
2194
+ const { importInProgressError } = await import("./keep-data-merge-M4ULDZB6.js");
2195
2195
  const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-AS5EVREX.js");
2196
2196
  const retry = retryCommand2(args);
2197
2197
  throw importInProgressError(
@@ -2312,7 +2312,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2312
2312
  }
2313
2313
  const dryRunUpToDate = req.branch === void 0 && (plan.operations.length === 0 || converged);
2314
2314
  if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
2315
- const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-7MPLVAVI.js");
2315
+ const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-M4ULDZB6.js");
2316
2316
  const triggers = liveTableTriggers(live);
2317
2317
  if (triggers.length > 0) {
2318
2318
  const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-AS5EVREX.js");
@@ -2672,7 +2672,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
2672
2672
  if (isMachineOutput(args)) writeJson(summary);
2673
2673
  assertStaticMatchesServedUrls(servedDifferences, planContext);
2674
2674
  }
2675
- const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-JVZPWHMK.js");
2675
+ const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-V2EMVVK2.js");
2676
2676
  const env = buildStaticEnv(destBase, args.staticEnv);
2677
2677
  const explicit = Object.keys(args.staticEnv).length > 0;
2678
2678
  const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
@@ -2724,14 +2724,14 @@ function setLiveRollback(previous, args) {
2724
2724
  async function assertReleaseIdentitiesFree(args, auth, opts) {
2725
2725
  const tenant = opts.tenant;
2726
2726
  const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
2727
- const { detectXanoSdkImportRoute } = await import("./xanosdk-import-GN42TO2B.js");
2727
+ const { detectXanoSdkImportRoute } = await import("./xanosdk-import-N6OTERC6.js");
2728
2728
  let capable;
2729
2729
  try {
2730
2730
  capable = await detectXanoSdkImportRoute(auth, target);
2731
2731
  } catch (err) {
2732
2732
  if (err?.status === 501) capable = false;
2733
2733
  else {
2734
- const { unreachableProbeError } = await import("./keep-data-merge-7MPLVAVI.js");
2734
+ const { unreachableProbeError } = await import("./keep-data-merge-M4ULDZB6.js");
2735
2735
  const retry = retryCommand(args, {
2736
2736
  add: pipedYes(args) === "" ? [] : ["--yes"],
2737
2737
  command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
@@ -2820,4 +2820,4 @@ export {
2820
2820
  setLiveRollback,
2821
2821
  assertReleaseIdentitiesFree
2822
2822
  };
2823
- //# sourceMappingURL=chunk-WKQLGKCL.js.map
2823
+ //# sourceMappingURL=chunk-FXGJ7TEQ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  backendDirFor,
6
6
  backendDirIn
7
- } from "./chunk-5A2PLKZB.js";
7
+ } from "./chunk-KUI7V576.js";
8
8
  import {
9
9
  projectRootFrom
10
10
  } from "./chunk-ROY4YAEQ.js";
@@ -127,4 +127,4 @@ export {
127
127
  entryWordOf,
128
128
  readSecretsFile
129
129
  };
130
- //# sourceMappingURL=chunk-I4F5TCJH.js.map
130
+ //# sourceMappingURL=chunk-HSBVDFU2.js.map
@@ -189,4 +189,4 @@ export {
189
189
  sdkPeerSkew,
190
190
  discoverToolchainPlugins
191
191
  };
192
- //# sourceMappingURL=chunk-4Q2GN7NW.js.map
192
+ //# sourceMappingURL=chunk-IC23IKRU.js.map
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  clearEngineRecordsNamed,
10
10
  listEngineRecords
11
- } from "./chunk-3M4LFYNQ.js";
11
+ } from "./chunk-WL2DSNJV.js";
12
12
  import {
13
13
  assertLoopbackUrl,
14
14
  engineCacheDir,
@@ -317,15 +317,18 @@ function stopEngineNamed(name, opts) {
317
317
  }
318
318
  function stopAllEngines(opts) {
319
319
  const env = opts.env ?? process.env;
320
+ const records = listEngineRecords(env);
320
321
  const running = listEngines(opts);
321
- const ours = new Set(listEngineRecords(env).map((r) => r.name));
322
+ const ours = new Set(records.map((r) => r.name));
323
+ const live = new Set(running.map((e) => e.name));
324
+ const stale = records.filter((r) => !live.has(r.name));
322
325
  const stopped = [];
323
326
  const foreign = [];
324
327
  for (const engine of running) {
325
328
  if (ours.has(engine.name)) stopped.push(stopEngineNamed(engine.name, opts));
326
329
  else foreign.push(engine.name);
327
330
  }
328
- return { stopped, foreign, orphans: stopOrphanedEngineProcesses(opts) };
331
+ return { stopped, foreign, stale, orphans: stopOrphanedEngineProcesses(opts) };
329
332
  }
330
333
  var defaultProcessTable = () => {
331
334
  if (process.platform === "win32") return [];
@@ -390,4 +393,4 @@ export {
390
393
  findOrphanedEngineProcesses,
391
394
  stopOrphanedEngineProcesses
392
395
  };
393
- //# sourceMappingURL=chunk-BAUZOWGX.js.map
396
+ //# sourceMappingURL=chunk-IFSNSRUJ.js.map