@xano/sdk 1.0.17 → 1.0.19
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 +23 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-QTFMNYPY.js → agent-file-refresh-5IP25UYO.js} +4 -5
- package/dist/{agent-skill-command-XZVBG34H.js → agent-skill-command-BPM4S6C7.js} +13 -18
- package/dist/{backend-dir-DCT3T6HP.js → backend-dir-RLILKCMR.js} +4 -5
- package/dist/bin.js +13 -14
- package/dist/{branch-commands-OEMOFAKC.js → branch-commands-5HKCBRLN.js} +7 -8
- package/dist/bundle.js +2 -2
- package/dist/{chunk-WDN4QIJ4.js → chunk-2HBJU76D.js} +6 -6
- package/dist/{chunk-ES6FBPLY.js → chunk-2NUOFHPX.js} +2 -2
- package/dist/{chunk-QTOW6YXL.js → chunk-3FNEHRJF.js} +2 -2
- package/dist/{chunk-RIT3WBBX.js → chunk-3X4B5GWY.js} +2 -2
- package/dist/{chunk-HXFUCPZO.js → chunk-4HMF5TRB.js} +2 -2
- package/dist/{chunk-RH3NQTGQ.js → chunk-554FJWNH.js} +2 -11
- package/dist/{chunk-H5OM5G3O.js → chunk-5AHHO2QA.js} +55 -55
- package/dist/{chunk-PODT53SQ.js → chunk-5JUWB6XL.js} +2 -2
- package/dist/{chunk-EXJ4Q5F6.js → chunk-6SEPZQYB.js} +2 -2
- package/dist/{chunk-R7Y6S7FF.js → chunk-AJPICYPW.js} +40 -40
- package/dist/{chunk-CNNGNK46.js → chunk-ASUDP4OS.js} +4 -4
- package/dist/{chunk-HMV2VGTU.js → chunk-B6ZHSM2D.js} +28 -28
- package/dist/{chunk-6DSA6W4O.js → chunk-BCN6OZLF.js} +2 -2
- package/dist/{chunk-LXJ72GY2.js → chunk-BT6CJNEO.js} +2 -2
- package/dist/{chunk-SOAZIMWL.js → chunk-CO7US54H.js} +2 -2
- package/dist/{chunk-QYZSNN35.js → chunk-D4N72H35.js} +1 -1
- package/dist/{chunk-Q3CBDXKL.js → chunk-DO5VZIY4.js} +2 -2
- package/dist/{chunk-ZQUBCGGR.js → chunk-E7VF2JVJ.js} +2 -2
- package/dist/{chunk-M2IB6N4V.js → chunk-GTB7JL3M.js} +2 -2
- package/dist/{chunk-J2KY2VNC.js → chunk-HUGNB6UN.js} +19 -19
- package/dist/{chunk-NLWYNVJV.js → chunk-JORPZKBE.js} +2 -2
- package/dist/{chunk-LWGCUB2A.js → chunk-JUCL5MUZ.js} +2 -2
- package/dist/{chunk-GUC73LRA.js → chunk-K23RUXSH.js} +5 -31
- package/dist/{chunk-GBPIFCWL.js → chunk-KG3RDXN5.js} +2 -2
- package/dist/{chunk-GYM22X2X.js → chunk-KVF7YQ2W.js} +2 -2
- package/dist/{chunk-V4466NNS.js → chunk-KYQRIL4V.js} +2 -2
- package/dist/{chunk-ACFBRMCS.js → chunk-L4L6YITX.js} +2 -2
- package/dist/{chunk-7NKC4MBT.js → chunk-LRN6QX44.js} +3 -3
- package/dist/{chunk-3QQFP3AD.js → chunk-NYIFU3BR.js} +7 -7
- package/dist/{chunk-4XGZ325S.js → chunk-OJ6YGRPV.js} +3 -3
- package/dist/{chunk-PCY4IPXK.js → chunk-OTYK2V44.js} +13 -13
- package/dist/{chunk-FIOC7RSU.js → chunk-PKBC7G5H.js} +12 -1
- package/dist/{chunk-C6RBLPFY.js → chunk-PLOBHRGV.js} +16 -16
- package/dist/{chunk-FYPTWYCU.js → chunk-Q45RTKWW.js} +2 -2
- package/dist/{chunk-4LT5AVHF.js → chunk-QETVFGD7.js} +7 -7
- package/dist/{chunk-573RRKNT.js → chunk-QK2WIASY.js} +2 -2
- package/dist/{chunk-CWC6HE66.js → chunk-UJ5HLRYH.js} +16 -16
- package/dist/{chunk-UDW2KAVF.js → chunk-UQNDODRU.js} +2 -2
- package/dist/{chunk-5AVFVC22.js → chunk-WDWIXCGB.js} +3 -3
- package/dist/{chunk-H3R4PAOI.js → chunk-XKHQLKUL.js} +2 -2
- package/dist/{chunk-DNUU4IEM.js → chunk-YP4QTC4F.js} +3 -3
- package/dist/{chunk-ANUBTY3C.js → chunk-YT5UN2F4.js} +2 -2
- package/dist/cli.js +12 -13
- package/dist/{codegen-command-HCHTNHDF.js → codegen-command-OF3TPC66.js} +24 -25
- package/dist/{deploy-command-LYZ76OBA.js → deploy-command-MGYR2TKC.js} +16 -17
- package/dist/{deploy-source-AJESF6J2.js → deploy-source-UHCHCI5Z.js} +7 -8
- package/dist/{dev-env-sync-PZEIRCFC.js → dev-env-sync-XWZVXEI2.js} +13 -14
- package/dist/{env-example-refresh-HLE2HRV4.js → env-example-refresh-FACP4FQE.js} +25 -26
- package/dist/{env-pull-command-OTTZHTLK.js → env-pull-command-SHK4TI6U.js} +15 -16
- package/dist/{env-target-VXOMKCMO.js → env-target-ZQSPPN4A.js} +2 -2
- package/dist/{env-var-command-TDVSO3JY.js → env-var-command-Q2ZHKWAQ.js} +13 -14
- package/dist/{ephemeral-command-AX5TRR23.js → ephemeral-command-FKOSN56R.js} +16 -17
- package/dist/{generate-command-LMSKMR4J.js → generate-command-2JCMZ6CG.js} +28 -29
- package/dist/{gitignore-GKM5G2DJ.js → gitignore-Z5N6DEEV.js} +6 -7
- package/dist/{impersonate-command-QTEOBL5N.js → impersonate-command-R24VBFQA.js} +9 -10
- package/dist/{init-command-OMZVE54Z.js → init-command-UOCNESZK.js} +15 -16
- package/dist/{init-modules-OTISW6LL.js → init-modules-5DYK7V4J.js} +2 -2
- package/dist/internal.js +0 -16
- package/dist/{keep-data-merge-ECLY5DYP.js → keep-data-merge-HLIXZC77.js} +8 -8
- package/dist/{landing-record-RVE5WLFS.js → landing-record-FYKDJIUF.js} +5 -6
- package/dist/{live-diff-KJ2TWWWT.js → live-diff-YOFOJCFX.js} +3 -3
- package/dist/{local-engine-choice-CMG5V7RL.js → local-engine-choice-4ZA2HZXH.js} +8 -9
- package/dist/{local-engine-command-UMY37AZL.js → local-engine-command-WQS4SD6N.js} +9 -10
- package/dist/{local-engine-mcp-command-AV2T3U4B.js → local-engine-mcp-command-SUAVS5UA.js} +9 -10
- package/dist/{lock-commands-PSKHBOKS.js → lock-commands-ZT6YTQYA.js} +13 -14
- package/dist/{login-command-M7RKU3DR.js → login-command-ONGJASKA.js} +9 -10
- package/dist/{logout-command-DAC3XKLT.js → logout-command-PLYGFHBQ.js} +3 -4
- package/dist/{loop-HILLODVH.js → loop-CLLBQSJF.js} +3 -3
- package/dist/{marketplace-command-2M33OTSN.js → marketplace-command-LNNAA7ZK.js} +13 -14
- package/dist/{meta-client-FC4DWPAC.js → meta-client-JND42QEJ.js} +2 -2
- package/dist/node.js +16 -17
- package/dist/{operation-outcome-3V4G7QD3.js → operation-outcome-U6IWKLBK.js} +4 -4
- package/dist/{output-target-LTU4L3IA.js → output-target-QJSHZBVY.js} +7 -8
- package/dist/{plan-disclosure-6MG4YYJV.js → plan-disclosure-XTAEE4BE.js} +5 -5
- package/dist/{preflight-command-724B7Y73.js → preflight-command-ZKUQSIL2.js} +21 -22
- package/dist/{profile-command-REIJ4F3Y.js → profile-command-PJUA5ZMX.js} +10 -11
- package/dist/{promote-command-5FK2NFHG.js → promote-command-NDYP66LD.js} +32 -33
- package/dist/{publish-command-VEDUWLVB.js → publish-command-JSYK6HOW.js} +16 -17
- package/dist/{pull-command-UXNEJSDI.js → pull-command-K5X367MA.js} +26 -27
- package/dist/{release-command-BCKJ4BUN.js → release-command-OC7MT4FV.js} +24 -25
- package/dist/{release-ns-command-VFI4PPSX.js → release-ns-command-EHNEAEDU.js} +33 -34
- package/dist/{routes-manifest-file-R3JLJ5CA.js → routes-manifest-file-A2PW7IQ7.js} +2 -2
- package/dist/{secrets-file-GF46TDY7.js → secrets-file-2RHMJFXQ.js} +5 -6
- package/dist/{secrets-fill-command-HKNROT6W.js → secrets-fill-command-HYMF6EZM.js} +15 -16
- package/dist/{source-resolve-QYSVNJMY.js → source-resolve-PMA7SHZE.js} +3 -3
- package/dist/{status-command-RLXDDCZA.js → status-command-CROHQRPI.js} +13 -39
- package/dist/{sync-baseline-GRS33AB5.js → sync-baseline-LSGKNCKM.js} +5 -5
- package/dist/{sync-contributions-BV7DFWBZ.js → sync-contributions-QDEWZ3IU.js} +2 -2
- package/dist/{tables-command-EXHXLLN6.js → tables-command-BKVDHAGJ.js} +10 -11
- package/dist/{tenant-command-D5H7MR3C.js → tenant-command-Y7VCGDMY.js} +38 -39
- package/dist/{test-command-ORMWZXC3.js → test-command-2RAUNIU5.js} +10 -11
- package/dist/{token-EFSD6WSQ.js → token-4I26OGWH.js} +2 -3
- package/dist/{toolchain-modules-BC37MYYD.js → toolchain-modules-XM4JXHQC.js} +2 -2
- package/dist/{tracked-backend-IPEGNGNI.js → tracked-backend-EZE6H3EZ.js} +9 -10
- package/dist/{update-check-4YTFF7NB.js → update-check-QLB5DV3B.js} +14 -15
- package/dist/{upgrade-command-J4CPYEGO.js → upgrade-command-4DCDBDB5.js} +16 -17
- package/dist/{whoami-command-XGVTKQSL.js → whoami-command-WI4VT3IN.js} +4 -5
- package/dist/{workspace-JGUNVFRE.js → workspace-DIM3SBPV.js} +2 -2
- package/dist/{workspace-binding-MQ2QIWOJ.js → workspace-binding-43PBQEE4.js} +3 -4
- package/dist/{workspace-command-LSEG62RA.js → workspace-command-FWTHIFVI.js} +34 -35
- package/dist/{workspace-env-7U7OLRUO.js → workspace-env-5PJVWQ2O.js} +5 -6
- package/dist/{xanosdk-import-Y5SBF4LP.js → xanosdk-import-VOJEAK5Q.js} +2 -2
- package/dist/{xanosdk-project-5XARMFZ7.js → xanosdk-project-PV3ORVP5.js} +5 -6
- package/guides/coverage.md +9 -12
- package/llms-full.txt +2 -5
- package/llms.txt +2 -5
- package/manifest.json +2 -10
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -4
- package/dist/chunk-VYJYDMY6.js +0 -9
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
passwordHashesWarning,
|
|
6
6
|
passwordOrigin
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3FNEHRJF.js";
|
|
8
8
|
import {
|
|
9
9
|
isAwaited,
|
|
10
10
|
microserviceLine,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2NUOFHPX.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,19 +48,19 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-5AHHO2QA.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
54
|
} from "./chunk-MOVRSULZ.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KYQRIL4V.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-K23RUXSH.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-JUCL5MUZ.js";
|
|
64
64
|
import {
|
|
65
65
|
engineNameForProject,
|
|
66
66
|
getEngineRecord
|
|
@@ -266,7 +266,7 @@ async function runDeployedTests(auth, summary, args) {
|
|
|
266
266
|
try {
|
|
267
267
|
return await runTestsOrThrow(auth, summary, args, settled, notRun);
|
|
268
268
|
} catch (err) {
|
|
269
|
-
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-
|
|
269
|
+
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-2RAUNIU5.js");
|
|
270
270
|
const message = err instanceof Error ? err.message : String(err);
|
|
271
271
|
const reason = isSuiteUnreachable(err) ? `${message.split("\n")[0] ?? message}
|
|
272
272
|
${suiteUnreachableCheck(
|
|
@@ -291,11 +291,11 @@ function testRunAllCommand(summary, args) {
|
|
|
291
291
|
return `xanosdk test run-all --on ${on}${kind}${concurrency}${flags}`;
|
|
292
292
|
}
|
|
293
293
|
async function testSummaryOf(outcomes, notRun = []) {
|
|
294
|
-
const { suiteCounts, testRow } = await import("./test-command-
|
|
294
|
+
const { suiteCounts, testRow } = await import("./test-command-2RAUNIU5.js");
|
|
295
295
|
return { ...suiteCounts(outcomes, notRun), tests: outcomes.map(testRow) };
|
|
296
296
|
}
|
|
297
297
|
async function runTestsOrThrow(auth, summary, args, settled, notRun) {
|
|
298
|
-
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
298
|
+
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-2RAUNIU5.js");
|
|
299
299
|
const { qualifiedName } = await import("./tests-N4MMBABH.js");
|
|
300
300
|
if (summary.url === void 0) {
|
|
301
301
|
warn("Skipped --test: the ephemeral reported no base URL to run against.", "deploy.tests-not-run");
|
|
@@ -339,15 +339,15 @@ async function ignoreBackendSecretFilesRead(args) {
|
|
|
339
339
|
if (args.bundle !== void 0 || args.file === void 0) return;
|
|
340
340
|
const paths = [];
|
|
341
341
|
if (args.envFile === void 0) {
|
|
342
|
-
const { defaultWorkspaceEnvPath } = await import("./workspace-env-
|
|
342
|
+
const { defaultWorkspaceEnvPath } = await import("./workspace-env-5PJVWQ2O.js");
|
|
343
343
|
paths.push(defaultWorkspaceEnvPath(args.file));
|
|
344
344
|
}
|
|
345
345
|
if (args.secretsFile === void 0) {
|
|
346
|
-
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-
|
|
346
|
+
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-2RHMJFXQ.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
349
|
const { gitSaysIgnored } = await import("./store-B63BQV6R.js");
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-Z5N6DEEV.js");
|
|
351
351
|
for (const path of paths) {
|
|
352
352
|
if (!existsSync(path)) continue;
|
|
353
353
|
if (gitSaysIgnored(path) !== false) continue;
|
|
@@ -422,8 +422,8 @@ async function soleTrackedEphemeral() {
|
|
|
422
422
|
}
|
|
423
423
|
async function runDeployToDestination(args, to) {
|
|
424
424
|
const { requireBackendSlot, parseSlot } = await import("./backend-slot-7BATLL3X.js");
|
|
425
|
-
const { resolveSource, describeBackend } = await import("./source-resolve-
|
|
426
|
-
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-PMA7SHZE.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-UHCHCI5Z.js");
|
|
427
427
|
const dest = parseSlot(requireBackendSlot("deploy", void 0, "to"), to, to.trim() === "ephemeral" ? await soleTrackedEphemeral() : void 0);
|
|
428
428
|
if (dest.kind !== "workspace" && dest.kind !== "tenant") {
|
|
429
429
|
throw new Error(`Internal: \`deploy --to\` parsed ${withArticle(dest.kind)}, which its slot does not accept.`);
|
|
@@ -498,7 +498,7 @@ async function runDeployToDestination(args, to) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
};
|
|
501
|
-
const { runReleaseCommand } = await import("./release-command-
|
|
501
|
+
const { runReleaseCommand } = await import("./release-command-OC7MT4FV.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -639,9 +639,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
639
639
|
const { startedAt } = ctx;
|
|
640
640
|
const dir = process.cwd();
|
|
641
641
|
const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
|
|
642
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
642
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-XM4JXHQC.js");
|
|
643
643
|
const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
|
|
644
|
-
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-
|
|
644
|
+
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-UHCHCI5Z.js").then(async (m) => {
|
|
645
645
|
const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
|
|
646
646
|
const decoded = decodeWorkspaceArchive(f.archive);
|
|
647
647
|
noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
|
|
@@ -702,7 +702,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
702
702
|
"; nothing was deployed"
|
|
703
703
|
);
|
|
704
704
|
}
|
|
705
|
-
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-
|
|
705
|
+
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-4ZA2HZXH.js");
|
|
706
706
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
707
707
|
const { ensureProjectEngine } = await import("./local-engine-deploy-XAEDT55W.js");
|
|
708
708
|
const pin = pinAfterAcquire(choice, dir);
|
|
@@ -753,7 +753,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
753
753
|
};
|
|
754
754
|
try {
|
|
755
755
|
if (arm.arm === "merge") {
|
|
756
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
756
|
+
const { mergeKeepingData } = await import("./keep-data-merge-HLIXZC77.js");
|
|
757
757
|
merged = await mergeKeepingData({
|
|
758
758
|
auth: bearer,
|
|
759
759
|
baseUrl: engine.url,
|
|
@@ -795,7 +795,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
795
795
|
}
|
|
796
796
|
} catch (err) {
|
|
797
797
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
798
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
798
|
+
const { importInProgressError } = await import("./keep-data-merge-HLIXZC77.js");
|
|
799
799
|
throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
|
|
800
800
|
}
|
|
801
801
|
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-XAEDT55W.js");
|
|
@@ -1118,15 +1118,15 @@ async function runDeploy(args) {
|
|
|
1118
1118
|
if (args.reset && !args.keepData) {
|
|
1119
1119
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1120
1120
|
}
|
|
1121
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1121
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-UHCHCI5Z.js");
|
|
1122
1122
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1123
1123
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1124
1124
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1125
1125
|
if (destination.kind === "local") {
|
|
1126
1126
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1127
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1127
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-EZE6H3EZ.js");
|
|
1128
1128
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
|
|
1129
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1129
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-4ZA2HZXH.js");
|
|
1130
1130
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
|
|
1131
1131
|
}
|
|
1132
1132
|
if (!fetching) {
|
|
@@ -1142,7 +1142,7 @@ async function runDeploy(args) {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
refuseMissingStaticDir(args);
|
|
1144
1144
|
if (destination.kind === "local") {
|
|
1145
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1145
|
+
const { memoCredential } = await import("./tracked-backend-EZE6H3EZ.js");
|
|
1146
1146
|
return deployToLocalEngine(
|
|
1147
1147
|
args,
|
|
1148
1148
|
destination,
|
|
@@ -1154,7 +1154,7 @@ async function runDeploy(args) {
|
|
|
1154
1154
|
const auth = await getAccessToken(args);
|
|
1155
1155
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1156
1156
|
await noteRunScopeFor(auth);
|
|
1157
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1157
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-XM4JXHQC.js");
|
|
1158
1158
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1159
1159
|
frozen: args.frozenLock === true
|
|
1160
1160
|
});
|
|
@@ -1288,9 +1288,9 @@ async function runDeploy(args) {
|
|
|
1288
1288
|
}).finally(() => noteLanded(void 0));
|
|
1289
1289
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1290
1290
|
if (summary.ephemeral !== void 0) {
|
|
1291
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1291
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-FYKDJIUF.js");
|
|
1292
1292
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1293
|
-
const { storedColumnsAfter } = await import("./live-diff-
|
|
1293
|
+
const { storedColumnsAfter } = await import("./live-diff-YOFOJCFX.js");
|
|
1294
1294
|
const sent = JSON.parse(bundle);
|
|
1295
1295
|
const stored = summary.data === "kept" ? removedOut.storedColumns : storedColumnsAfter(sent, void 0, /* @__PURE__ */ new Map(), "rebuild");
|
|
1296
1296
|
if (fetching || args.bundle !== void 0) {
|
|
@@ -1352,7 +1352,7 @@ async function runDeploy(args) {
|
|
|
1352
1352
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1353
1353
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1354
1354
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1355
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1355
|
+
const { staleDevEnv } = await import("./dev-env-sync-XWZVXEI2.js");
|
|
1356
1356
|
let stale;
|
|
1357
1357
|
try {
|
|
1358
1358
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1366,7 +1366,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1366
1366
|
}
|
|
1367
1367
|
return;
|
|
1368
1368
|
}
|
|
1369
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1369
|
+
const { syncDevEnv } = await import("./dev-env-sync-XWZVXEI2.js");
|
|
1370
1370
|
try {
|
|
1371
1371
|
const written = syncDevEnv(cwd, summary.url);
|
|
1372
1372
|
if (written === void 0) return;
|
|
@@ -1476,7 +1476,7 @@ async function latestEngineRelease(err) {
|
|
|
1476
1476
|
}
|
|
1477
1477
|
async function mergeGuards(args, lock, outgoing) {
|
|
1478
1478
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1479
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1479
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-OC7MT4FV.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1480
1480
|
const guards = {
|
|
1481
1481
|
...pinned.length > 0 ? { pinned } : {},
|
|
1482
1482
|
allowForeignDeletes: args.yes === true,
|
|
@@ -1497,7 +1497,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1497
1497
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1498
1498
|
}
|
|
1499
1499
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1500
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1500
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-HLIXZC77.js");
|
|
1501
1501
|
const lockPath = resolveLockPath(args, entry);
|
|
1502
1502
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1503
1503
|
const keys = Object.keys(lock.objects);
|
|
@@ -1738,7 +1738,7 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1738
1738
|
}
|
|
1739
1739
|
const { confirm } = await import("./prompt-OYQHQWKI.js");
|
|
1740
1740
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1741
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1741
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-HLIXZC77.js");
|
|
1742
1742
|
throw new KeepDataDeclined(label, "deployed");
|
|
1743
1743
|
}
|
|
1744
1744
|
function recordedEntry(file) {
|
|
@@ -1773,7 +1773,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1773
1773
|
{ hintFor: { command: "deploy" } }
|
|
1774
1774
|
);
|
|
1775
1775
|
if (refusal === void 0) return;
|
|
1776
|
-
const { reachableFirst } = await import("./env-target-
|
|
1776
|
+
const { reachableFirst } = await import("./env-target-ZQSPPN4A.js");
|
|
1777
1777
|
throw await reachableFirst(refusal, auth);
|
|
1778
1778
|
}
|
|
1779
1779
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1787,7 +1787,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1787
1787
|
{ hintFor: { command: "deploy" } }
|
|
1788
1788
|
);
|
|
1789
1789
|
if (refusal === void 0) return;
|
|
1790
|
-
const { reachableFirst } = await import("./env-target-
|
|
1790
|
+
const { reachableFirst } = await import("./env-target-ZQSPPN4A.js");
|
|
1791
1791
|
throw await reachableFirst(refusal, auth);
|
|
1792
1792
|
}
|
|
1793
1793
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1899,7 +1899,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1899
1899
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1900
1900
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1901
1901
|
if (err.status === 404) {
|
|
1902
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1902
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-43PBQEE4.js");
|
|
1903
1903
|
await refuseUnreachableWorkspace(auth);
|
|
1904
1904
|
}
|
|
1905
1905
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1967,7 +1967,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1967
1967
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1968
1968
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1969
1969
|
if (arm.arm === "replace") {
|
|
1970
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1970
|
+
const { gateForeignReplace } = await import("./keep-data-merge-HLIXZC77.js");
|
|
1971
1971
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1972
1972
|
await gateForeignReplace({
|
|
1973
1973
|
auth,
|
|
@@ -2039,7 +2039,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2039
2039
|
let merged;
|
|
2040
2040
|
try {
|
|
2041
2041
|
if (arm.arm === "merge") {
|
|
2042
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2042
|
+
const { mergeKeepingData } = await import("./keep-data-merge-HLIXZC77.js");
|
|
2043
2043
|
merged = await mergeKeepingData({
|
|
2044
2044
|
auth,
|
|
2045
2045
|
baseUrl,
|
|
@@ -2093,11 +2093,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2093
2093
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2094
2094
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2095
2095
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2096
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2096
|
+
const { importInProgressError } = await import("./keep-data-merge-HLIXZC77.js");
|
|
2097
2097
|
const retry = retryCommand(args);
|
|
2098
2098
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2099
2099
|
}
|
|
2100
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2100
|
+
const { withSignatureHint } = await import("./release-command-OC7MT4FV.js");
|
|
2101
2101
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2102
2102
|
}
|
|
2103
2103
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2391,4 +2391,4 @@ export {
|
|
|
2391
2391
|
unknownCreateOutcome,
|
|
2392
2392
|
deployStaticTo
|
|
2393
2393
|
};
|
|
2394
|
-
//# sourceMappingURL=chunk-
|
|
2394
|
+
//# sourceMappingURL=chunk-AJPICYPW.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
reachableLines,
|
|
4
4
|
readReachableWorkspaces,
|
|
5
5
|
workspaceIdFix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QK2WIASY.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialRejected,
|
|
9
9
|
getAccessToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K23RUXSH.js";
|
|
11
11
|
import {
|
|
12
12
|
CREDENTIAL_FILE_VERSION,
|
|
13
13
|
DEFAULT_AUTH_HOST,
|
|
@@ -183,7 +183,7 @@ function prettyProfile(p) {
|
|
|
183
183
|
}
|
|
184
184
|
async function runWhoamiCommand(args) {
|
|
185
185
|
const profile = await fetchProfile(args).catch(async (err) => {
|
|
186
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
186
|
+
const { unansweredRead } = await import("./source-resolve-PMA7SHZE.js");
|
|
187
187
|
throw unansweredRead(err, "read the signed-in user", "workspace");
|
|
188
188
|
});
|
|
189
189
|
if (isMachineOutput(args)) {
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
profileValue,
|
|
204
204
|
runWhoamiCommand
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-ASUDP4OS.js.map
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
objectDigests,
|
|
15
15
|
syncDigests
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OJ6YGRPV.js";
|
|
17
17
|
import {
|
|
18
18
|
archiveSeedContent
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YP4QTC4F.js";
|
|
20
20
|
import {
|
|
21
21
|
shownLabel
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QETVFGD7.js";
|
|
23
23
|
import {
|
|
24
24
|
confirm,
|
|
25
25
|
needsConfirmation
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
discloseCanonicalMoves,
|
|
30
30
|
movesClause,
|
|
31
31
|
storageChangesPayload
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UQNDODRU.js";
|
|
33
33
|
import {
|
|
34
34
|
listTables,
|
|
35
35
|
tableRowCounter,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
landingLockPath,
|
|
41
41
|
recordForeignLanding,
|
|
42
42
|
recordLanding
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YT5UN2F4.js";
|
|
44
44
|
import {
|
|
45
45
|
recordSync
|
|
46
46
|
} from "./chunk-EPB6FAR5.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
50
50
|
XanoSdkImportRefusal,
|
|
51
51
|
xanosdkImport
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-2NUOFHPX.js";
|
|
53
53
|
import {
|
|
54
54
|
encodeWorkspaceArchive
|
|
55
55
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -73,24 +73,24 @@ import {
|
|
|
73
73
|
sharedSchemaChanges,
|
|
74
74
|
storedColumnsAfter,
|
|
75
75
|
uniqueIndexLabels
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-3X4B5GWY.js";
|
|
77
77
|
import {
|
|
78
78
|
assertBundleFile,
|
|
79
79
|
assertBundleInput,
|
|
80
80
|
loadBundleText,
|
|
81
81
|
resolveLockPath
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-5AHHO2QA.js";
|
|
83
83
|
import {
|
|
84
84
|
LookupFailedError,
|
|
85
85
|
isUnansweredLookup,
|
|
86
86
|
unansweredCause
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-KYQRIL4V.js";
|
|
88
88
|
import {
|
|
89
89
|
isSignatureRefusal
|
|
90
90
|
} from "./chunk-GA6HTO3O.js";
|
|
91
91
|
import {
|
|
92
92
|
getAccessToken
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-K23RUXSH.js";
|
|
94
94
|
import {
|
|
95
95
|
readLockFile
|
|
96
96
|
} from "./chunk-7ZVQIKNL.js";
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
} from "./chunk-ZYZ7GRX3.js";
|
|
108
108
|
import {
|
|
109
109
|
backendDirIn
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-JORPZKBE.js";
|
|
111
111
|
import {
|
|
112
112
|
shellWord
|
|
113
113
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -744,7 +744,7 @@ function targetIsEmpty(live) {
|
|
|
744
744
|
async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
745
745
|
if (live === void 0 || req.mode !== "merge") return false;
|
|
746
746
|
if (req.records === true || req.truncate === true) return false;
|
|
747
|
-
const { compareToLive: compareToLive2 } = await import("./live-diff-
|
|
747
|
+
const { compareToLive: compareToLive2 } = await import("./live-diff-YOFOJCFX.js");
|
|
748
748
|
let result;
|
|
749
749
|
try {
|
|
750
750
|
result = compareToLive2(
|
|
@@ -765,7 +765,7 @@ async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
|
765
765
|
async function unchangedWithLive(live, req, outgoingBundle, pinned) {
|
|
766
766
|
if (live === void 0 || req.mode !== "merge") return void 0;
|
|
767
767
|
if (req.records === true || req.truncate === true) return void 0;
|
|
768
|
-
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-
|
|
768
|
+
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-YOFOJCFX.js");
|
|
769
769
|
try {
|
|
770
770
|
const outgoing = JSON.parse(outgoingBundle);
|
|
771
771
|
const result = compareToLive2(outgoing, live, new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)), {
|
|
@@ -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-MGYR2TKC.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 = [];
|
|
@@ -824,7 +824,7 @@ function landingTableFields(losses) {
|
|
|
824
824
|
};
|
|
825
825
|
}
|
|
826
826
|
async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "workspace", fromBundle = false, replaceHint = "`xanosdk deploy <source> --to <destination> --replace`.", noun = "workspace", failure, stored) {
|
|
827
|
-
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-
|
|
827
|
+
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-XTAEE4BE.js");
|
|
828
828
|
const none = {
|
|
829
829
|
...tableEffectFields(NO_TABLE_EFFECTS),
|
|
830
830
|
renamedTables: [],
|
|
@@ -843,7 +843,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "worksp
|
|
|
843
843
|
blank();
|
|
844
844
|
return none;
|
|
845
845
|
}
|
|
846
|
-
const { diffAgainstLive, tableAdditions } = await import("./live-diff-
|
|
846
|
+
const { diffAgainstLive, tableAdditions } = await import("./live-diff-YOFOJCFX.js");
|
|
847
847
|
let diff;
|
|
848
848
|
let additions;
|
|
849
849
|
try {
|
|
@@ -1276,7 +1276,7 @@ async function assertWorkspaceUnchanged(args, ctx) {
|
|
|
1276
1276
|
const { readSyncBaseline } = await import("./sync-record-AWFCSS4D.js");
|
|
1277
1277
|
const baseline = readSyncBaseline(ctx.lockPath, ctx.target);
|
|
1278
1278
|
if (baseline === void 0) return [];
|
|
1279
|
-
const { directedComparison } = await import("./sync-baseline-
|
|
1279
|
+
const { directedComparison } = await import("./sync-baseline-LSGKNCKM.js");
|
|
1280
1280
|
let compared;
|
|
1281
1281
|
try {
|
|
1282
1282
|
compared = directedComparison(
|
|
@@ -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-HLIXZC77.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-HLIXZC77.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-XM4JXHQC.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-MGYR2TKC.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-MGYR2TKC.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-HLIXZC77.js");
|
|
2253
2253
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-WP4ZI6CJ.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-HLIXZC77.js");
|
|
2388
2388
|
const triggers = liveTableTriggers(live);
|
|
2389
2389
|
if (triggers.length > 0) {
|
|
2390
2390
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-WP4ZI6CJ.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-MGYR2TKC.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-VOJEAK5Q.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-HLIXZC77.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-B6ZHSM2D.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E7VF2JVJ.js";
|
|
4
4
|
import {
|
|
5
5
|
describeWrite
|
|
6
6
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
OperationError,
|
|
254
254
|
runOperation
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-BCN6OZLF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workspaceEnvPathIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WDWIXCGB.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-BT6CJNEO.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isDeadResultItem,
|
|
26
26
|
isEmptyCustomize,
|
|
27
27
|
normalize
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PKBC7G5H.js";
|
|
29
29
|
import {
|
|
30
30
|
f,
|
|
31
31
|
input
|
|
@@ -2021,4 +2021,4 @@ export {
|
|
|
2021
2021
|
decodeTableSchema,
|
|
2022
2022
|
decodeResponse
|
|
2023
2023
|
};
|
|
2024
|
-
//# sourceMappingURL=chunk-
|
|
2024
|
+
//# sourceMappingURL=chunk-CO7US54H.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureExportGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BT6CJNEO.js";
|
|
4
4
|
import {
|
|
5
5
|
andList
|
|
6
6
|
} from "./chunk-622HUCZT.js";
|
|
@@ -125,4 +125,4 @@ export {
|
|
|
125
125
|
secretsPhrase,
|
|
126
126
|
assertWritableTarget
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
128
|
+
//# sourceMappingURL=chunk-DO5VZIY4.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-54CJ74BH.js";
|
|
5
5
|
import {
|
|
6
6
|
SourceError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KYQRIL4V.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
10
|
} from "./chunk-UH5VQGNR.js";
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
SettledWriteFailure,
|
|
83
83
|
classifyFailure
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-E7VF2JVJ.js.map
|
|
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
|
|
|
448
448
|
const manifest = readInstalledManifest(dir, pkg);
|
|
449
449
|
if (manifest === null) return null;
|
|
450
450
|
const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
|
|
451
|
-
import("./toolchain-modules-
|
|
451
|
+
import("./toolchain-modules-XM4JXHQC.js"),
|
|
452
452
|
import("./cli.js")
|
|
453
453
|
]);
|
|
454
454
|
const sdkVersion = readVersion();
|
|
@@ -480,4 +480,4 @@ export {
|
|
|
480
480
|
inProject,
|
|
481
481
|
installModules
|
|
482
482
|
};
|
|
483
|
-
//# sourceMappingURL=chunk-
|
|
483
|
+
//# sourceMappingURL=chunk-GTB7JL3M.js.map
|