@xano/sdk 1.0.22 → 1.0.23
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.
- package/CHANGELOG.md +12 -0
- package/dist/{agent-file-refresh-LV5ZBJEW.js → agent-file-refresh-LMBQ2XMZ.js} +4 -4
- package/dist/{agent-skill-command-NPWUUIKI.js → agent-skill-command-ONKMWCTR.js} +14 -14
- package/dist/{ai-models-command-BVOVIC6C.js → ai-models-command-E3XEUUK2.js} +2 -2
- package/dist/{backend-dir-6S23WBVQ.js → backend-dir-KMJ5A4PP.js} +4 -4
- package/dist/bin.js +14 -14
- package/dist/{branch-commands-VZKHIPDP.js → branch-commands-X4YTGSBK.js} +3 -3
- package/dist/{chunk-U27YUJE2.js → chunk-2NIKVE54.js} +3 -3
- package/dist/{chunk-A2YRUMSZ.js → chunk-3RKHFSFI.js} +2 -2
- package/dist/{chunk-GG4KEISG.js → chunk-4DZ3JEHY.js} +2 -2
- package/dist/{chunk-YLHAGHS6.js → chunk-5LBOIAYP.js} +12 -12
- package/dist/{chunk-WHZJWZTF.js → chunk-5RWVIQVF.js} +4 -4
- package/dist/{chunk-4RE636YS.js → chunk-7CZKE2YH.js} +16 -16
- package/dist/{chunk-ILPZJJVY.js → chunk-7N3MTFS6.js} +55 -55
- package/dist/{chunk-RQ7EYCPF.js → chunk-AG4RGKEB.js} +2 -2
- package/dist/{chunk-KSW6PW36.js → chunk-AYJAFMUN.js} +2 -2
- package/dist/{chunk-LJSYTEPF.js → chunk-C3TBVTIR.js} +5 -5
- package/dist/{chunk-AEEZIZ2A.js → chunk-C73SMRAX.js} +3 -3
- package/dist/{chunk-OT3DSWIT.js → chunk-CJEZ7EOY.js} +2 -2
- package/dist/{chunk-A5IFOUCW.js → chunk-CUDLEUL3.js} +1 -1
- package/dist/{chunk-5WCHWKLJ.js → chunk-CWAGXLSY.js} +2 -2
- package/dist/{chunk-L37MTTU4.js → chunk-CWYOFRRW.js} +2 -2
- package/dist/{chunk-F7YI4K7J.js → chunk-DMYMRVDS.js} +7 -7
- package/dist/{chunk-BJFO44A3.js → chunk-EBQAQI4T.js} +2 -2
- package/dist/{chunk-NHGED6BY.js → chunk-F26J67PN.js} +3 -3
- package/dist/{chunk-6JOQSH5G.js → chunk-HGABRHHG.js} +3 -3
- package/dist/{chunk-EU63V7YR.js → chunk-HH77B4GM.js} +2 -2
- package/dist/{chunk-MKZDHVVE.js → chunk-I2FG5RBF.js} +16 -16
- package/dist/{chunk-7GE6FZVU.js → chunk-ITXNY4AE.js} +2 -2
- package/dist/{chunk-QXGRUEU7.js → chunk-JX2CX4KE.js} +2 -2
- package/dist/{chunk-F7YMUAEI.js → chunk-JXU4OGL6.js} +2 -2
- package/dist/{chunk-BISPJIDL.js → chunk-MCHCOGKH.js} +2 -2
- package/dist/{chunk-ATEB3WHX.js → chunk-NK7LJ3LO.js} +20 -20
- package/dist/{chunk-VRDEZVLP.js → chunk-NZS6JXBK.js} +2 -2
- package/dist/{chunk-ED6N6TMS.js → chunk-OR4K35H6.js} +1 -1
- package/dist/{chunk-KYZ6QCR3.js → chunk-QCKBV56A.js} +3 -3
- package/dist/{chunk-EPMDBGJ6.js → chunk-QS5BUFLE.js} +2 -2
- package/dist/{chunk-EAR66AGQ.js → chunk-RSYGYTZ6.js} +2 -2
- package/dist/{chunk-ZCGGTZQY.js → chunk-SEYP4G53.js} +42 -42
- package/dist/{chunk-XJ7SRNW2.js → chunk-TABWRUSM.js} +8 -8
- package/dist/{chunk-ODS5M4Y7.js → chunk-UUUDUZJU.js} +2 -2
- package/dist/{chunk-ATRMTNSR.js → chunk-VDDLQRUF.js} +2 -2
- package/dist/{chunk-BQ7PALBF.js → chunk-VNEVEPTC.js} +12 -12
- package/dist/{chunk-LOXVHC7B.js → chunk-WH44JSCG.js} +3 -3
- package/dist/{chunk-UMQRDEZG.js → chunk-XMFQRPON.js} +2 -2
- package/dist/{chunk-IMU3T4B3.js → chunk-Y7CTKCJZ.js} +2 -2
- package/dist/{chunk-XTDSS57C.js → chunk-ZP7X6N5P.js} +2 -2
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +13 -13
- package/dist/{codegen-command-BLQBH3TH.js → codegen-command-HSGPZKJL.js} +20 -20
- package/dist/{deploy-command-TID6CA7V.js → deploy-command-6WZMJEML.js} +17 -17
- package/dist/{deploy-source-2XGWS4YS.js → deploy-source-HAGBUMHC.js} +7 -7
- package/dist/{dev-env-sync-QJIIUU7R.js → dev-env-sync-5DWLRPJ4.js} +14 -14
- package/dist/{emit-CezfsIMN.d.ts → emit-CQyYvh4T.d.ts} +13 -4
- package/dist/{env-example-refresh-POWYBDLK.js → env-example-refresh-VSVQ2HFM.js} +21 -21
- package/dist/{env-pull-command-7IZ6YGTU.js → env-pull-command-LQMLPXB5.js} +13 -13
- package/dist/{env-target-KAVQVPDO.js → env-target-RIMLJNDT.js} +2 -2
- package/dist/{env-var-command-Q5ZWB7GA.js → env-var-command-2BZAZG3V.js} +13 -13
- package/dist/{ephemeral-command-2P6K6LKO.js → ephemeral-command-XBLLVLFO.js} +14 -14
- package/dist/{generate-command-6EIPQUYK.js → generate-command-EHN2CUPM.js} +24 -24
- package/dist/{gitignore-KNOLQB42.js → gitignore-T3LSDEUZ.js} +6 -6
- package/dist/{impersonate-command-2SZFKFTW.js → impersonate-command-V5IHSGU4.js} +9 -9
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/{init-command-25SUJRAE.js → init-command-XWYT3XOB.js} +16 -16
- package/dist/{init-modules-A73RV2OJ.js → init-modules-SFWCQY77.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +3 -4
- package/dist/{keep-data-merge-4QFPEJBN.js → keep-data-merge-BP6MUJ4T.js} +4 -4
- package/dist/{landing-record-4CZTNKZT.js → landing-record-VVOMR2K2.js} +5 -5
- package/dist/{local-engine-ai-6FF34RSX.js → local-engine-ai-OMIXXDLL.js} +3 -3
- package/dist/{local-engine-choice-P3GZBFTE.js → local-engine-choice-6UDFWXZV.js} +11 -11
- package/dist/{local-engine-command-A76ADITM.js → local-engine-command-PLY6BUVY.js} +14 -14
- package/dist/{local-engine-deploy-SEPTWYYD.js → local-engine-deploy-SXPER4IK.js} +2 -2
- package/dist/{local-engine-mcp-command-4OXNZDCM.js → local-engine-mcp-command-2MP4QGCF.js} +14 -14
- package/dist/{lock-commands-CSUAP3CZ.js → lock-commands-EAVJ3B5Z.js} +14 -14
- package/dist/{login-command-TE4CGIEZ.js → login-command-FFANG4I3.js} +9 -9
- package/dist/{logout-command-YR2G5OIN.js → logout-command-LLQB6UNZ.js} +3 -3
- package/dist/{marketplace-command-4N5IIDSA.js → marketplace-command-S2QEW7HB.js} +13 -13
- package/dist/{meta-client-XEMGHUUK.js → meta-client-DK743HIJ.js} +2 -2
- package/dist/node.d.ts +4 -4
- package/dist/node.js +16 -16
- package/dist/{operation-outcome-D5QHO5LT.js → operation-outcome-FMVCJP6S.js} +4 -4
- package/dist/{output-target-CYAPGP3A.js → output-target-B5BSZKN7.js} +7 -7
- package/dist/{preflight-command-WT4RIL5P.js → preflight-command-ZLATKN4D.js} +19 -19
- package/dist/{profile-command-5RXNMDIX.js → profile-command-FWEXWYEO.js} +10 -10
- package/dist/{promote-command-HOW24EMD.js → promote-command-OVNRCQ32.js} +27 -27
- package/dist/{publish-command-E6F5D3FY.js → publish-command-HZOA2U33.js} +17 -17
- package/dist/{pull-command-ZBJJ6MDT.js → pull-command-RZCBW5LT.js} +22 -22
- package/dist/{release-command-65Z3VDBQ.js → release-command-R56APBGY.js} +19 -19
- package/dist/{release-ns-command-CH23BRI3.js → release-ns-command-5HG4J7QK.js} +32 -32
- package/dist/{routes-manifest-file-NAXVFRVN.js → routes-manifest-file-BKJ5YAER.js} +2 -2
- package/dist/{secrets-file-KKGISTCY.js → secrets-file-I7E5E7XH.js} +5 -5
- package/dist/{secrets-fill-command-R3JTP2VN.js → secrets-fill-command-2PGNJIPE.js} +16 -16
- package/dist/{source-resolve-TS2CWDZ6.js → source-resolve-BFIYJSS3.js} +3 -3
- package/dist/{status-command-FWE65NQQ.js → status-command-EPB42W4M.js} +12 -12
- package/dist/{store-CscLDS9B.d.ts → store-BiEwEahS.d.ts} +1 -1
- package/dist/{sync-contributions-MV7UXGUN.js → sync-contributions-DVYKULCI.js} +2 -2
- package/dist/{tables-command-W3KSMKYR.js → tables-command-M26KGK4R.js} +10 -10
- package/dist/{tenant-command-ZPNAY7AM.js → tenant-command-5BEGYEUR.js} +33 -33
- package/dist/{test-command-7Z5F5SKW.js → test-command-IPW5FO2X.js} +10 -10
- package/dist/{token-UPSKG3BH.js → token-5Y4P5LIK.js} +2 -2
- package/dist/{toolchain-modules-V7AOUVZ3.js → toolchain-modules-PUOJ53C3.js} +2 -2
- package/dist/{tracked-backend-CCBFWEJV.js → tracked-backend-4GUFTKTI.js} +9 -9
- package/dist/{update-check-D7EVYWDB.js → update-check-4XYNYP23.js} +15 -15
- package/dist/{upgrade-command-7AJQ265B.js → upgrade-command-YZVH6VG3.js} +17 -17
- package/dist/{whoami-command-LNFEE5XP.js → whoami-command-FCWHX5NZ.js} +4 -4
- package/dist/{workspace-KNMGO3LZ.js → workspace-GHMUZKQI.js} +2 -2
- package/dist/{workspace-binding-CEB7LD2Y.js → workspace-binding-3RRG4CSG.js} +3 -3
- package/dist/{workspace-command-DY5K6A5L.js → workspace-command-JH7KDNRW.js} +28 -28
- package/dist/{workspace-env-VPEHJVRV.js → workspace-env-MNHHZ7LU.js} +5 -5
- package/dist/{xanosdk-import-TC2YGIEJ.js → xanosdk-import-U6MEVOVM.js} +2 -2
- package/dist/{xanosdk-project-J5VAVLCA.js → xanosdk-project-TRPK6LBG.js} +5 -5
- package/guides/object-kinds.md +5 -3
- package/llms/errors.md +0 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms-full.txt +2 -3
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-VBOCHX7Y.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QS5BUFLE.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7N3MTFS6.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2NIKVE54.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
existingProjectClashes,
|
|
27
27
|
isNonEmptyDir,
|
|
28
28
|
scaffoldProject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HGABRHHG.js";
|
|
30
30
|
import {
|
|
31
31
|
inProject,
|
|
32
32
|
installModules,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
preflightPackages,
|
|
35
35
|
rebaseLocalSpec,
|
|
36
36
|
renderXanoIndexWithModules
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CWYOFRRW.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -725,7 +725,7 @@ async function runInitCommand(args) {
|
|
|
725
725
|
}
|
|
726
726
|
const source = resolveFromSource(args.from);
|
|
727
727
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
728
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
728
|
+
const { runInitFromCommand } = await import("./codegen-command-HSGPZKJL.js");
|
|
729
729
|
return runInitFromCommand(args, source);
|
|
730
730
|
}
|
|
731
731
|
rejectPullOnlyFlags(args);
|
|
@@ -789,7 +789,7 @@ async function runInitCommand(args) {
|
|
|
789
789
|
}
|
|
790
790
|
let scaffolded = false;
|
|
791
791
|
try {
|
|
792
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
792
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-PUOJ53C3.js");
|
|
793
793
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
794
794
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
795
795
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
@@ -924,7 +924,7 @@ async function runInitCommand(args) {
|
|
|
924
924
|
const { skewedProjectSdk } = await import("./project-sdk-ZYTIHEVU.js");
|
|
925
925
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
926
926
|
if (installedSdk !== void 0) {
|
|
927
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
927
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-YZVH6VG3.js");
|
|
928
928
|
const rendered = reconcileWithInstalled(targetDir);
|
|
929
929
|
if (rendered.length > 0) {
|
|
930
930
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -1068,14 +1068,14 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1068
1068
|
const { readLockFile, writeLockFile } = await import("./io-47TFRYDB.js");
|
|
1069
1069
|
const { setDiagnosticSink } = await import("./diagnostics-EYMAH4DV.js");
|
|
1070
1070
|
const { planRouteManifest } = await import("./routes-manifest-SXKLGPSQ.js");
|
|
1071
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1072
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1071
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-BKJ5YAER.js");
|
|
1072
|
+
const { isEnabled } = await import("./toolchain-modules-PUOJ53C3.js");
|
|
1073
1073
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1074
1074
|
resetLockOverrides();
|
|
1075
1075
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1076
1076
|
const ctx = createLockContext(existing);
|
|
1077
1077
|
const { envNamesRead } = await import("./guards-6KAY65CV.js");
|
|
1078
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1078
|
+
const { refreshEnvExample } = await import("./env-example-refresh-VSVQ2HFM.js");
|
|
1079
1079
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1080
1080
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1081
1081
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1142,7 +1142,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1142
1142
|
const file = readCredentialFile(path);
|
|
1143
1143
|
const stored = file === null ? [] : profileNames(file);
|
|
1144
1144
|
if (stored.includes(name)) return;
|
|
1145
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1145
|
+
const { ProfileNotFoundError } = await import("./token-5Y4P5LIK.js");
|
|
1146
1146
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1147
1147
|
throw new ProfileNotFoundError(
|
|
1148
1148
|
`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})` : ""}.`,
|
|
@@ -1151,7 +1151,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1151
1151
|
);
|
|
1152
1152
|
}
|
|
1153
1153
|
async function envCredentialSet() {
|
|
1154
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1154
|
+
const { envMetaCredentialVarsSet } = await import("./token-5Y4P5LIK.js");
|
|
1155
1155
|
return envMetaCredentialVarsSet().length > 0;
|
|
1156
1156
|
}
|
|
1157
1157
|
function loginNextStep(pin) {
|
|
@@ -1202,7 +1202,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1202
1202
|
};
|
|
1203
1203
|
}
|
|
1204
1204
|
if (opts.credentialRead === true) {
|
|
1205
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1205
|
+
const { environmentCredentialVars } = await import("./token-5Y4P5LIK.js");
|
|
1206
1206
|
const env = environmentCredentialVars();
|
|
1207
1207
|
if (env.complete) {
|
|
1208
1208
|
return {
|
|
@@ -1225,7 +1225,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1225
1225
|
});
|
|
1226
1226
|
const stored = file === null ? [] : profileNames(file);
|
|
1227
1227
|
if (!stored.includes(selection.name)) {
|
|
1228
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1228
|
+
const env = stored.length === 0 ? (await import("./token-5Y4P5LIK.js")).environmentCredentialVars() : void 0;
|
|
1229
1229
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1230
1230
|
return {
|
|
1231
1231
|
name: null,
|
|
@@ -1317,4 +1317,4 @@ export {
|
|
|
1317
1317
|
runFiles,
|
|
1318
1318
|
planProfilePin
|
|
1319
1319
|
};
|
|
1320
|
-
//# sourceMappingURL=chunk-
|
|
1320
|
+
//# sourceMappingURL=chunk-I2FG5RBF.js.map
|
|
@@ -462,7 +462,7 @@ async function post(auth, url, opts, action) {
|
|
|
462
462
|
const aftermath = !writes ? `A dry run writes nothing, so ${target} is untouched. Retry when the instance is reachable.` : opts.mode === "replace" ? `The request did not complete, so the import may or may not have landed, in whole or in part. A replace rewrites all of ${target}, so it is safe to run again once the instance is reachable.` : `The request did not complete, so the import may or may not have landed, in whole or in part.` + (opts.stateCheck !== void 0 ? ` ${opts.stateCheck}` : "");
|
|
463
463
|
const where = `${transportTarget(url)}${opts.label !== void 0 ? ` (${opts.label})` : ""}`;
|
|
464
464
|
if (res === void 0) {
|
|
465
|
-
const { classifyFailure } = await import("./operation-outcome-
|
|
465
|
+
const { classifyFailure } = await import("./operation-outcome-FMVCJP6S.js");
|
|
466
466
|
if (writes && !isTimeoutError(failure) && classifyFailure(failure, { writeSent: true }) === "no") {
|
|
467
467
|
const untrusted = certificateFailureCode(failure) !== void 0;
|
|
468
468
|
throw new ImportNotSentError(
|
|
@@ -558,4 +558,4 @@ export {
|
|
|
558
558
|
withDefaultBranchPointer,
|
|
559
559
|
xanosdkImport
|
|
560
560
|
};
|
|
561
|
-
//# sourceMappingURL=chunk-
|
|
561
|
+
//# sourceMappingURL=chunk-ITXNY4AE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeFunction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OR4K35H6.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNoProtoKeys
|
|
6
6
|
} from "./chunk-6VKDIKJI.js";
|
|
@@ -14,4 +14,4 @@ function compile(fn) {
|
|
|
14
14
|
export {
|
|
15
15
|
compile
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-JX2CX4KE.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-ZBAINZJB.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveEphemeralName
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3RKHFSFI.js";
|
|
29
29
|
import {
|
|
30
30
|
clearEnvironment,
|
|
31
31
|
getEnvironment,
|
|
@@ -598,4 +598,4 @@ export {
|
|
|
598
598
|
releaseNames,
|
|
599
599
|
resolveSource
|
|
600
600
|
};
|
|
601
|
-
//# sourceMappingURL=chunk-
|
|
601
|
+
//# sourceMappingURL=chunk-JXU4OGL6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HGABRHHG.js";
|
|
4
4
|
import {
|
|
5
5
|
projectRootFrom
|
|
6
6
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
backendDirIn,
|
|
68
68
|
resolveBackendDir
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-MCHCOGKH.js.map
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
} from "./chunk-WAUIPPMF.js";
|
|
20
20
|
import {
|
|
21
21
|
archiveSeedContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QCKBV56A.js";
|
|
23
23
|
import {
|
|
24
24
|
shownLabel
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-C3TBVTIR.js";
|
|
26
26
|
import {
|
|
27
27
|
confirm,
|
|
28
28
|
needsConfirmation
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
landingLockPath,
|
|
44
44
|
recordForeignLanding,
|
|
45
45
|
recordLanding
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-EBQAQI4T.js";
|
|
47
47
|
import {
|
|
48
48
|
DEFAULT_BRANCH_LABEL,
|
|
49
49
|
assertBranchAbsent,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
60
60
|
XanoSdkImportRefusal,
|
|
61
61
|
xanosdkImport
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-ITXNY4AE.js";
|
|
63
63
|
import {
|
|
64
64
|
encodeWorkspaceArchive
|
|
65
65
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -79,18 +79,18 @@ import {
|
|
|
79
79
|
assertBundleInput,
|
|
80
80
|
loadBundleText,
|
|
81
81
|
resolveLockPath
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-7N3MTFS6.js";
|
|
83
83
|
import {
|
|
84
84
|
LookupFailedError,
|
|
85
85
|
isUnansweredLookup,
|
|
86
86
|
unansweredCause
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-JXU4OGL6.js";
|
|
88
88
|
import {
|
|
89
89
|
isSignatureRefusal
|
|
90
90
|
} from "./chunk-ZBAINZJB.js";
|
|
91
91
|
import {
|
|
92
92
|
getAccessToken
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-WH44JSCG.js";
|
|
94
94
|
import {
|
|
95
95
|
ephemeralLandedOn
|
|
96
96
|
} from "./chunk-4EFBDSVU.js";
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
} from "./chunk-5MVSDE67.js";
|
|
120
120
|
import {
|
|
121
121
|
backendDirIn
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-MCHCOGKH.js";
|
|
123
123
|
import {
|
|
124
124
|
shellWord
|
|
125
125
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -793,7 +793,7 @@ function markUnchanged(presented, unchanged, noun) {
|
|
|
793
793
|
}
|
|
794
794
|
var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
|
|
795
795
|
async function replaceCommandHint(args) {
|
|
796
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-
|
|
796
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-6WZMJEML.js");
|
|
797
797
|
const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
|
|
798
798
|
const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
|
|
799
799
|
const argv = [];
|
|
@@ -1609,7 +1609,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1609
1609
|
const held = guidsOf(live);
|
|
1610
1610
|
const codePinned = codePinnedTables(outgoingDoc, lock, classified);
|
|
1611
1611
|
const { orphanFixUps } = await import("./cli.js");
|
|
1612
|
-
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-
|
|
1612
|
+
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
1613
1613
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1614
1614
|
const out = [];
|
|
1615
1615
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1653,7 +1653,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1653
1653
|
return out;
|
|
1654
1654
|
}
|
|
1655
1655
|
async function pendingRenameRefusal(frame, pending, prune, branch) {
|
|
1656
|
-
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-
|
|
1656
|
+
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
1657
1657
|
const one = pending.length === 1;
|
|
1658
1658
|
const lines = pending.flatMap(
|
|
1659
1659
|
(p) => pendingRenameLines(
|
|
@@ -2109,7 +2109,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2109
2109
|
assertBundleFile(args, { command: "deploy" });
|
|
2110
2110
|
const auth = opts.auth ?? await getAccessToken(args);
|
|
2111
2111
|
const withSeed = req.mode === "replace" || req.records === true;
|
|
2112
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
2112
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-PUOJ53C3.js");
|
|
2113
2113
|
const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
|
|
2114
2114
|
const loaded = await loadBundleText(
|
|
2115
2115
|
args.dryRun ? { ...args, lockReadOnly: true } : args,
|
|
@@ -2135,11 +2135,11 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2135
2135
|
});
|
|
2136
2136
|
};
|
|
2137
2137
|
if (!args.dryRun && args.file !== void 0) {
|
|
2138
|
-
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-
|
|
2138
|
+
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-6WZMJEML.js");
|
|
2139
2139
|
await ignoreBackendSecretFilesRead(args);
|
|
2140
2140
|
}
|
|
2141
2141
|
if (args.static !== void 0) {
|
|
2142
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
2142
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-6WZMJEML.js");
|
|
2143
2143
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues);
|
|
2144
2144
|
}
|
|
2145
2145
|
{
|
|
@@ -2249,7 +2249,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2249
2249
|
pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
|
|
2250
2250
|
}).catch(async (err) => {
|
|
2251
2251
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2252
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2252
|
+
const { importInProgressError } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
2253
2253
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-FXAPSP5X.js");
|
|
2254
2254
|
const retry = retryCommand2(args);
|
|
2255
2255
|
throw importInProgressError(
|
|
@@ -2384,7 +2384,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2384
2384
|
});
|
|
2385
2385
|
})() : [];
|
|
2386
2386
|
if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
|
|
2387
|
-
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-
|
|
2387
|
+
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
2388
2388
|
const triggers = liveTableTriggers(live);
|
|
2389
2389
|
if (triggers.length > 0) {
|
|
2390
2390
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-FXAPSP5X.js");
|
|
@@ -2767,7 +2767,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2767
2767
|
if (isMachineOutput(args)) writeJson(summary);
|
|
2768
2768
|
assertStaticMatchesServedUrls(servedDifferences, planContext);
|
|
2769
2769
|
}
|
|
2770
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
2770
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-6WZMJEML.js");
|
|
2771
2771
|
const env = buildStaticEnv(destBase, args.staticEnv);
|
|
2772
2772
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
2773
2773
|
const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
|
|
@@ -2819,14 +2819,14 @@ function setLiveRollback(previous, args) {
|
|
|
2819
2819
|
async function assertReleaseIdentitiesFree(args, auth, opts) {
|
|
2820
2820
|
const tenant = opts.tenant;
|
|
2821
2821
|
const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
|
|
2822
|
-
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-
|
|
2822
|
+
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-U6MEVOVM.js");
|
|
2823
2823
|
let capable;
|
|
2824
2824
|
try {
|
|
2825
2825
|
capable = await detectXanoSdkImportRoute(auth, target);
|
|
2826
2826
|
} catch (err) {
|
|
2827
2827
|
if (err?.status === 501) capable = false;
|
|
2828
2828
|
else {
|
|
2829
|
-
const { unreachableProbeError } = await import("./keep-data-merge-
|
|
2829
|
+
const { unreachableProbeError } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
2830
2830
|
const retry = retryCommand(args, {
|
|
2831
2831
|
add: pipedYes(args) === "" ? [] : ["--yes"],
|
|
2832
2832
|
command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
|
|
@@ -2915,4 +2915,4 @@ export {
|
|
|
2915
2915
|
setLiveRollback,
|
|
2916
2916
|
assertReleaseIdentitiesFree
|
|
2917
2917
|
};
|
|
2918
|
-
//# sourceMappingURL=chunk-
|
|
2918
|
+
//# sourceMappingURL=chunk-NK7LJ3LO.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ProfileNotFoundError,
|
|
6
6
|
describeRefreshAnswer,
|
|
7
7
|
environmentCredentialVars
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WH44JSCG.js";
|
|
9
9
|
import {
|
|
10
10
|
yesRerun
|
|
11
11
|
} from "./chunk-Q5VLI567.js";
|
|
@@ -429,4 +429,4 @@ export {
|
|
|
429
429
|
salvageRevocable,
|
|
430
430
|
signInAgain
|
|
431
431
|
};
|
|
432
|
-
//# sourceMappingURL=chunk-
|
|
432
|
+
//# sourceMappingURL=chunk-NZS6JXBK.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-X4DVXBFY.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveSource
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JXU4OGL6.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadRelease
|
|
16
16
|
} from "./chunk-X7BDJ6WU.js";
|
|
17
17
|
import {
|
|
18
18
|
backendDirIn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MCHCOGKH.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-
|
|
147
|
+
//# sourceMappingURL=chunk-QCKBV56A.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workspaceEnvPathIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2NIKVE54.js";
|
|
4
4
|
import {
|
|
5
5
|
addGitignoreRule,
|
|
6
6
|
ensureGitignored,
|
|
@@ -183,4 +183,4 @@ export {
|
|
|
183
183
|
secretPathLabel,
|
|
184
184
|
refuseIfTracked
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-QS5BUFLE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_WORKSPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WH44JSCG.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialFileOf
|
|
6
6
|
} from "./chunk-5MVSDE67.js";
|
|
@@ -165,4 +165,4 @@ export {
|
|
|
165
165
|
rerunInWorkspace,
|
|
166
166
|
heldElsewhereError
|
|
167
167
|
};
|
|
168
|
-
//# sourceMappingURL=chunk-
|
|
168
|
+
//# sourceMappingURL=chunk-RSYGYTZ6.js.map
|