@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
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
passwordHashesWarning,
|
|
12
12
|
passwordOrigin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AYJAFMUN.js";
|
|
14
14
|
import {
|
|
15
15
|
EXIT_STATIC_FAILED,
|
|
16
16
|
assertStaticHostExists,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ITXNY4AE.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,13 +48,13 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-7N3MTFS6.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
54
|
} from "./chunk-HWD2Z72H.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-JXU4OGL6.js";
|
|
58
58
|
import {
|
|
59
59
|
createEphemeral,
|
|
60
60
|
getEphemeral,
|
|
@@ -68,10 +68,10 @@ import {
|
|
|
68
68
|
} from "./chunk-WNDTIUTA.js";
|
|
69
69
|
import {
|
|
70
70
|
getAccessToken
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-WH44JSCG.js";
|
|
72
72
|
import {
|
|
73
73
|
otherCredentialRefusal
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-3RKHFSFI.js";
|
|
75
75
|
import {
|
|
76
76
|
environmentKey,
|
|
77
77
|
ephemeralLandedOn,
|
|
@@ -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-IPW5FO2X.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-IPW5FO2X.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-IPW5FO2X.js");
|
|
299
299
|
const { qualifiedName } = await import("./tests-6OXEGO3H.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-MNHHZ7LU.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-I7E5E7XH.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
349
|
const { gitSaysIgnored } = await import("./store-UIIOQ4G3.js");
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-T3LSDEUZ.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-FS7G67MV.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-BFIYJSS3.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-HAGBUMHC.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-R56APBGY.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -641,9 +641,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
641
641
|
const { resolveAiBilling } = await import("./project-config-2DVU3VV6.js");
|
|
642
642
|
const aiBilling = resolveAiBilling(args.aiBilling, dir);
|
|
643
643
|
const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
|
|
644
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
644
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-PUOJ53C3.js");
|
|
645
645
|
const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
|
|
646
|
-
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-
|
|
646
|
+
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-HAGBUMHC.js").then(async (m) => {
|
|
647
647
|
const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
|
|
648
648
|
const decoded = decodeWorkspaceArchive(f.archive);
|
|
649
649
|
noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
|
|
@@ -704,9 +704,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
704
704
|
"; nothing was deployed"
|
|
705
705
|
);
|
|
706
706
|
}
|
|
707
|
-
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-
|
|
707
|
+
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-6UDFWXZV.js");
|
|
708
708
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
709
|
-
const { ensureProjectEngine, replacedEngineLine } = await import("./local-engine-deploy-
|
|
709
|
+
const { ensureProjectEngine, replacedEngineLine } = await import("./local-engine-deploy-SXPER4IK.js");
|
|
710
710
|
const { ENGINE_LICENSE_NOTICE } = await import("./local-engine-release-DV4NJS24.js");
|
|
711
711
|
const pin = pinAfterAcquire(choice, dir);
|
|
712
712
|
let downloadedEngine = false;
|
|
@@ -735,7 +735,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
735
735
|
);
|
|
736
736
|
}
|
|
737
737
|
if (replaced !== void 0) info(replacedEngineLine(replaced));
|
|
738
|
-
const { aiOutcomeDocument, aiOutcomeLine } = await import("./local-engine-ai-
|
|
738
|
+
const { aiOutcomeDocument, aiOutcomeLine } = await import("./local-engine-ai-OMIXXDLL.js");
|
|
739
739
|
if (ai !== void 0) info(aiOutcomeLine(ai));
|
|
740
740
|
const arm = selectDeployArm({
|
|
741
741
|
...flags,
|
|
@@ -761,7 +761,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
761
761
|
};
|
|
762
762
|
try {
|
|
763
763
|
if (arm.arm === "merge") {
|
|
764
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
764
|
+
const { mergeKeepingData } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
765
765
|
merged = await mergeKeepingData({
|
|
766
766
|
auth: bearer,
|
|
767
767
|
baseUrl: engine.url,
|
|
@@ -803,10 +803,10 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
803
803
|
}
|
|
804
804
|
} catch (err) {
|
|
805
805
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
806
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
806
|
+
const { importInProgressError } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
807
807
|
throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
|
|
808
808
|
}
|
|
809
|
-
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-
|
|
809
|
+
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-SXPER4IK.js");
|
|
810
810
|
const unsupported = explainUnsupportedEngineImport(err, engineVersion, {
|
|
811
811
|
latest: await latestEngineRelease(err),
|
|
812
812
|
resetRerun: arm.arm === "merge" ? `${rerunOf(args).command} --reset` : void 0
|
|
@@ -1133,15 +1133,15 @@ async function runDeploy(args) {
|
|
|
1133
1133
|
if (args.reset && !args.keepData) {
|
|
1134
1134
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1135
1135
|
}
|
|
1136
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1136
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-HAGBUMHC.js");
|
|
1137
1137
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1138
1138
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1139
1139
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1140
1140
|
if (destination.kind === "local") {
|
|
1141
1141
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1142
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1142
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-4GUFTKTI.js");
|
|
1143
1143
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
|
|
1144
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1144
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-6UDFWXZV.js");
|
|
1145
1145
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
|
|
1146
1146
|
}
|
|
1147
1147
|
if (!fetching) {
|
|
@@ -1157,7 +1157,7 @@ async function runDeploy(args) {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
refuseMissingStaticDir(args);
|
|
1159
1159
|
if (destination.kind === "local") {
|
|
1160
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1160
|
+
const { memoCredential } = await import("./tracked-backend-4GUFTKTI.js");
|
|
1161
1161
|
return deployToLocalEngine(
|
|
1162
1162
|
args,
|
|
1163
1163
|
destination,
|
|
@@ -1169,7 +1169,7 @@ async function runDeploy(args) {
|
|
|
1169
1169
|
const auth = await getAccessToken(args);
|
|
1170
1170
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1171
1171
|
await noteRunScopeFor(auth);
|
|
1172
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1172
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-PUOJ53C3.js");
|
|
1173
1173
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1174
1174
|
frozen: args.frozenLock === true
|
|
1175
1175
|
});
|
|
@@ -1303,7 +1303,7 @@ async function runDeploy(args) {
|
|
|
1303
1303
|
}).finally(() => noteLanded(void 0));
|
|
1304
1304
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1305
1305
|
if (summary.ephemeral !== void 0) {
|
|
1306
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1306
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-VVOMR2K2.js");
|
|
1307
1307
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1308
1308
|
const { storedColumnsAfter } = await import("./live-diff-CPFDW6T4.js");
|
|
1309
1309
|
const sent = JSON.parse(bundle);
|
|
@@ -1367,7 +1367,7 @@ async function runDeploy(args) {
|
|
|
1367
1367
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1368
1368
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1369
1369
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1370
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1370
|
+
const { staleDevEnv } = await import("./dev-env-sync-5DWLRPJ4.js");
|
|
1371
1371
|
let stale;
|
|
1372
1372
|
try {
|
|
1373
1373
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1381,7 +1381,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1381
1381
|
}
|
|
1382
1382
|
return;
|
|
1383
1383
|
}
|
|
1384
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1384
|
+
const { syncDevEnv } = await import("./dev-env-sync-5DWLRPJ4.js");
|
|
1385
1385
|
try {
|
|
1386
1386
|
const written = syncDevEnv(cwd, summary.url);
|
|
1387
1387
|
if (written === void 0) return;
|
|
@@ -1491,7 +1491,7 @@ async function latestEngineRelease(err) {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
async function mergeGuards(args, lock, outgoing) {
|
|
1493
1493
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1494
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1494
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-R56APBGY.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1495
1495
|
const guards = {
|
|
1496
1496
|
...pinned.length > 0 ? { pinned } : {},
|
|
1497
1497
|
allowForeignDeletes: args.yes === true,
|
|
@@ -1512,7 +1512,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1512
1512
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1513
1513
|
}
|
|
1514
1514
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1515
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1515
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
1516
1516
|
const lockPath = resolveLockPath(args, entry);
|
|
1517
1517
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1518
1518
|
const keys = Object.keys(lock.objects);
|
|
@@ -1753,7 +1753,7 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1753
1753
|
}
|
|
1754
1754
|
const { confirm } = await import("./prompt-H2XC5AR7.js");
|
|
1755
1755
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1756
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1756
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
1757
1757
|
throw new KeepDataDeclined(label, "deployed");
|
|
1758
1758
|
}
|
|
1759
1759
|
function recordedEntry(file) {
|
|
@@ -1788,7 +1788,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1788
1788
|
{ hintFor: { command: "deploy" } }
|
|
1789
1789
|
);
|
|
1790
1790
|
if (refusal === void 0) return;
|
|
1791
|
-
const { reachableFirst } = await import("./env-target-
|
|
1791
|
+
const { reachableFirst } = await import("./env-target-RIMLJNDT.js");
|
|
1792
1792
|
throw await reachableFirst(refusal, auth);
|
|
1793
1793
|
}
|
|
1794
1794
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1802,7 +1802,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1802
1802
|
{ hintFor: { command: "deploy" } }
|
|
1803
1803
|
);
|
|
1804
1804
|
if (refusal === void 0) return;
|
|
1805
|
-
const { reachableFirst } = await import("./env-target-
|
|
1805
|
+
const { reachableFirst } = await import("./env-target-RIMLJNDT.js");
|
|
1806
1806
|
throw await reachableFirst(refusal, auth);
|
|
1807
1807
|
}
|
|
1808
1808
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1914,7 +1914,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1914
1914
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1915
1915
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1916
1916
|
if (err.status === 404) {
|
|
1917
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1917
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-3RRG4CSG.js");
|
|
1918
1918
|
await refuseUnreachableWorkspace(auth);
|
|
1919
1919
|
}
|
|
1920
1920
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1982,7 +1982,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1982
1982
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1983
1983
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1984
1984
|
if (arm.arm === "replace") {
|
|
1985
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1985
|
+
const { gateForeignReplace } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
1986
1986
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1987
1987
|
await gateForeignReplace({
|
|
1988
1988
|
auth,
|
|
@@ -2054,7 +2054,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2054
2054
|
let merged;
|
|
2055
2055
|
try {
|
|
2056
2056
|
if (arm.arm === "merge") {
|
|
2057
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2057
|
+
const { mergeKeepingData } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
2058
2058
|
merged = await mergeKeepingData({
|
|
2059
2059
|
auth,
|
|
2060
2060
|
baseUrl,
|
|
@@ -2108,11 +2108,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2108
2108
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2109
2109
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2110
2110
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2111
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2111
|
+
const { importInProgressError } = await import("./keep-data-merge-BP6MUJ4T.js");
|
|
2112
2112
|
const retry = retryCommand(args);
|
|
2113
2113
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2114
2114
|
}
|
|
2115
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2115
|
+
const { withSignatureHint } = await import("./release-command-R56APBGY.js");
|
|
2116
2116
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2117
2117
|
}
|
|
2118
2118
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2406,4 +2406,4 @@ export {
|
|
|
2406
2406
|
unknownCreateOutcome,
|
|
2407
2407
|
deployStaticTo
|
|
2408
2408
|
};
|
|
2409
|
-
//# sourceMappingURL=chunk-
|
|
2409
|
+
//# sourceMappingURL=chunk-SEYP4G53.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aiOutcomeDocument,
|
|
3
3
|
aiOutcomeLine
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AG4RGKEB.js";
|
|
5
5
|
import {
|
|
6
6
|
restartMismatchedEngine
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y7CTKCJZ.js";
|
|
8
8
|
import {
|
|
9
9
|
ENGINE_LICENSE_NOTICE,
|
|
10
10
|
acquireEngine
|
|
11
11
|
} from "./chunk-N5O76SCI.js";
|
|
12
12
|
import {
|
|
13
13
|
pinWrittenText
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-F26J67PN.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveProjectEntry
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QCKBV56A.js";
|
|
18
18
|
import {
|
|
19
19
|
confirm
|
|
20
20
|
} from "./chunk-VBOCHX7Y.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
NO_CREDENTIAL,
|
|
50
50
|
SourceError,
|
|
51
51
|
resolveSource
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-JXU4OGL6.js";
|
|
53
53
|
import {
|
|
54
54
|
clearEngineRecordsNamed,
|
|
55
55
|
clearEngineRecordsStillMatching,
|
|
@@ -96,7 +96,7 @@ async function runLocalEngineCommand(args, opts = {}) {
|
|
|
96
96
|
case "token":
|
|
97
97
|
return runToken(args, opts);
|
|
98
98
|
case "mcp":
|
|
99
|
-
return (await import("./local-engine-mcp-command-
|
|
99
|
+
return (await import("./local-engine-mcp-command-2MP4QGCF.js")).runMcp(args, opts);
|
|
100
100
|
case "stop":
|
|
101
101
|
return runStop(args, opts);
|
|
102
102
|
case "update":
|
|
@@ -402,7 +402,7 @@ Run this from the project's root.`
|
|
|
402
402
|
}
|
|
403
403
|
async function repointDevEnvAfterRestart(dir, restarted) {
|
|
404
404
|
if (restarted.previousUrl === void 0) return void 0;
|
|
405
|
-
const { repointDevEnv } = await import("./dev-env-sync-
|
|
405
|
+
const { repointDevEnv } = await import("./dev-env-sync-5DWLRPJ4.js");
|
|
406
406
|
try {
|
|
407
407
|
return repointDevEnv(dir, restarted.previousUrl, restarted.url);
|
|
408
408
|
} catch (err) {
|
|
@@ -734,4 +734,4 @@ export {
|
|
|
734
734
|
reportOrphanSweep,
|
|
735
735
|
resolveLiveEngine
|
|
736
736
|
};
|
|
737
|
-
//# sourceMappingURL=chunk-
|
|
737
|
+
//# sourceMappingURL=chunk-TABWRUSM.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
// src/emit/routes-manifest-file.ts
|
|
16
16
|
import { existsSync, readFileSync, statSync } from "fs";
|
|
17
17
|
async function discoverManifestModules(projectDir, manifestPath, sdkVersion) {
|
|
18
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
18
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-PUOJ53C3.js");
|
|
19
19
|
const { loaded, skipped } = await discoverToolchainPlugins(projectDir, { frozen: false, peerSkew: "skip" });
|
|
20
20
|
return {
|
|
21
21
|
loaded,
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
renderManifestFile,
|
|
76
76
|
reportModuleFailures
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-UUUDUZJU.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
backendDirFor,
|
|
6
6
|
backendDirIn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MCHCOGKH.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
entryWordOf,
|
|
128
128
|
readSecretsFile
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-VDDLQRUF.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOperation,
|
|
3
3
|
runOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CWAGXLSY.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWorkspaceBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7CZKE2YH.js";
|
|
8
8
|
import {
|
|
9
9
|
assertReleaseIdentitiesFree,
|
|
10
10
|
pinnedCanonicalGuids,
|
|
11
11
|
setLiveRollback
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NK7LJ3LO.js";
|
|
13
13
|
import {
|
|
14
14
|
recordSync
|
|
15
15
|
} from "./chunk-XXVP7E62.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
asWorkspaceArchive,
|
|
22
22
|
resolveProjectEntry
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QCKBV56A.js";
|
|
24
24
|
import {
|
|
25
25
|
liveBranchMismatch,
|
|
26
26
|
liveMismatch
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-C3TBVTIR.js";
|
|
28
28
|
import {
|
|
29
29
|
exportWorkspaceBundle
|
|
30
30
|
} from "./chunk-FWGPIQMW.js";
|
|
@@ -56,11 +56,11 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
landingLockPath,
|
|
58
58
|
recordForeignLanding
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-EBQAQI4T.js";
|
|
60
60
|
import {
|
|
61
61
|
SettledWriteFailure,
|
|
62
62
|
classifyFailure
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-ZP7X6N5P.js";
|
|
64
64
|
import {
|
|
65
65
|
BranchTakenError,
|
|
66
66
|
assertBranchAbsent,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
} from "./chunk-CUVZ3RT5.js";
|
|
84
84
|
import {
|
|
85
85
|
resolveSource
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-JXU4OGL6.js";
|
|
87
87
|
import {
|
|
88
88
|
ReleaseHttpError,
|
|
89
89
|
UNPROMOTABLE_RELEASE_PARTS,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
} from "./chunk-X7BDJ6WU.js";
|
|
96
96
|
import {
|
|
97
97
|
getAccessToken
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-WH44JSCG.js";
|
|
99
99
|
import {
|
|
100
100
|
readLockFile
|
|
101
101
|
} from "./chunk-7ZVQIKNL.js";
|
|
@@ -472,7 +472,7 @@ async function runPromoteCommand(args) {
|
|
|
472
472
|
discloseWriteTarget(destination);
|
|
473
473
|
const lockPath = landingLockPath(args, args.entryPath === void 0 ? {} : { entryFile: args.entryPath });
|
|
474
474
|
if (lockPath === void 0 && args.noLock !== true) {
|
|
475
|
-
const { nestedBackendEntries } = await import("./tracked-backend-
|
|
475
|
+
const { nestedBackendEntries } = await import("./tracked-backend-4GUFTKTI.js");
|
|
476
476
|
const nested = nestedBackendEntries(process.cwd());
|
|
477
477
|
if (nested.length > 0) {
|
|
478
478
|
warn(
|
|
@@ -935,7 +935,7 @@ Nothing was switched. Serve it deliberately with \`xanosdk workspace branch set-
|
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
async function unansweredBranchRead(err, args, what) {
|
|
938
|
-
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-
|
|
938
|
+
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-BFIYJSS3.js");
|
|
939
939
|
const transport = isTransportFailure(err);
|
|
940
940
|
if (!transport && !isServerError(err)) return err;
|
|
941
941
|
const first = what !== void 0 ? `could not read ${what}` : ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
|
|
@@ -961,4 +961,4 @@ export {
|
|
|
961
961
|
reportNotRun,
|
|
962
962
|
runPromoteCommand
|
|
963
963
|
};
|
|
964
|
-
//# sourceMappingURL=chunk-
|
|
964
|
+
//# sourceMappingURL=chunk-VNEVEPTC.js.map
|
|
@@ -381,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
|
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
383
|
assertHttpsOrigin(instance, "instance");
|
|
384
|
-
const { resolveScopedWorkspaceId } = await import("./workspace-
|
|
384
|
+
const { resolveScopedWorkspaceId } = await import("./workspace-GHMUZKQI.js");
|
|
385
385
|
const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
|
|
386
386
|
return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
|
|
387
387
|
}
|
|
@@ -526,7 +526,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
|
|
|
526
526
|
if (selection.source !== "file-default" && selection.source !== "implicit") return;
|
|
527
527
|
const stored = file === null ? [] : profileNames(file);
|
|
528
528
|
if (stored.length < 2) return;
|
|
529
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
529
|
+
const { projectDirFrom } = await import("./xanosdk-project-TRPK6LBG.js");
|
|
530
530
|
if (projectDirFrom(process.cwd()) === void 0) return;
|
|
531
531
|
const target = targetOf(saved);
|
|
532
532
|
credentialWarning(
|
|
@@ -890,4 +890,4 @@ export {
|
|
|
890
890
|
notSignedIn,
|
|
891
891
|
assertStoredAuthHost
|
|
892
892
|
};
|
|
893
|
-
//# sourceMappingURL=chunk-
|
|
893
|
+
//# sourceMappingURL=chunk-WH44JSCG.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-TANRKGHA.js";
|
|
7
7
|
import {
|
|
8
8
|
backendDirIn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MCHCOGKH.js";
|
|
10
10
|
import {
|
|
11
11
|
shellWord
|
|
12
12
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -154,4 +154,4 @@ export {
|
|
|
154
154
|
RELATIVE_PATH_ARGS,
|
|
155
155
|
enterProjectRoot
|
|
156
156
|
};
|
|
157
|
-
//# sourceMappingURL=chunk-
|
|
157
|
+
//# sourceMappingURL=chunk-XMFQRPON.js.map
|
|
@@ -122,7 +122,7 @@ async function engineAi(opts, name, reuse, ttl, env) {
|
|
|
122
122
|
if (reuse !== void 0 && booted === void 0) {
|
|
123
123
|
return restartToEnable(name, opts.billing, "was started before it could take a Xano AI credential", env);
|
|
124
124
|
}
|
|
125
|
-
const request = opts.request ?? (await import("./local-engine-ai-
|
|
125
|
+
const request = opts.request ?? (await import("./local-engine-ai-OMIXXDLL.js")).requestEngineAiCredential;
|
|
126
126
|
const outcome = await request({ billing: opts.billing, engineName: name, ttl, env });
|
|
127
127
|
if (reuse !== void 0 && outcome.status === "on" && outcome.gatewayUrl !== void 0 && outcome.gatewayUrl !== booted) {
|
|
128
128
|
return restartToEnable(name, opts.billing, "was started with another Xano AI gateway than this sign-in uses", env);
|
|
@@ -303,4 +303,4 @@ export {
|
|
|
303
303
|
restartMismatchedEngine,
|
|
304
304
|
explainUnsupportedEngineImport
|
|
305
305
|
};
|
|
306
|
-
//# sourceMappingURL=chunk-
|
|
306
|
+
//# sourceMappingURL=chunk-Y7CTKCJZ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2XRO4TQP.js";
|
|
5
5
|
import {
|
|
6
6
|
SourceError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JXU4OGL6.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
10
|
} from "./chunk-X7BDJ6WU.js";
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
SettledWriteFailure,
|
|
83
83
|
classifyFailure
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-ZP7X6N5P.js.map
|
package/dist/cli.d.ts
CHANGED
package/dist/cli.js
CHANGED
|
@@ -34,21 +34,21 @@ import {
|
|
|
34
34
|
tsxEsmApiPath,
|
|
35
35
|
tsxRemedy,
|
|
36
36
|
withoutSecretValue
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7N3MTFS6.js";
|
|
38
38
|
import "./chunk-CUVZ3RT5.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-2NIKVE54.js";
|
|
40
|
+
import "./chunk-DMYMRVDS.js";
|
|
41
41
|
import "./chunk-HWD2Z72H.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-JXU4OGL6.js";
|
|
43
43
|
import "./chunk-X7BDJ6WU.js";
|
|
44
44
|
import "./chunk-P3G2Z2L3.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-XMFQRPON.js";
|
|
46
46
|
import "./chunk-YDGBFJUA.js";
|
|
47
47
|
import "./chunk-2MNLRIOX.js";
|
|
48
48
|
import "./chunk-WNDTIUTA.js";
|
|
49
49
|
import "./chunk-ZBAINZJB.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-WH44JSCG.js";
|
|
51
|
+
import "./chunk-3RKHFSFI.js";
|
|
52
52
|
import "./chunk-4EFBDSVU.js";
|
|
53
53
|
import "./chunk-Y7TZZ6NW.js";
|
|
54
54
|
import "./chunk-ZYJP6BOO.js";
|
|
@@ -57,9 +57,9 @@ import "./chunk-RQGSZ7AR.js";
|
|
|
57
57
|
import "./chunk-NRFE7KLI.js";
|
|
58
58
|
import "./chunk-7ZVQIKNL.js";
|
|
59
59
|
import "./chunk-2H5BQRHF.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-CJEZ7EOY.js";
|
|
61
61
|
import "./chunk-M3DIFMJX.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-VDDLQRUF.js";
|
|
63
63
|
import "./chunk-QO6BVGS5.js";
|
|
64
64
|
import "./chunk-EFP5WRUV.js";
|
|
65
65
|
import "./chunk-Q5VLI567.js";
|
|
@@ -69,9 +69,9 @@ import "./chunk-YDZJN26I.js";
|
|
|
69
69
|
import "./chunk-EUUUMY7J.js";
|
|
70
70
|
import "./chunk-TANRKGHA.js";
|
|
71
71
|
import "./chunk-4GPIOIAC.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-MCHCOGKH.js";
|
|
73
|
+
import "./chunk-HGABRHHG.js";
|
|
74
|
+
import "./chunk-CWYOFRRW.js";
|
|
75
75
|
import "./chunk-HU7F56VF.js";
|
|
76
76
|
import "./chunk-U66T5MAB.js";
|
|
77
77
|
import "./chunk-ZFDZKNGG.js";
|
|
@@ -93,7 +93,7 @@ import "./chunk-UO5ZFNIV.js";
|
|
|
93
93
|
import "./chunk-LJM5CIY4.js";
|
|
94
94
|
import "./chunk-X5NF3ZXW.js";
|
|
95
95
|
import "./chunk-VZIGBEF4.js";
|
|
96
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-OR4K35H6.js";
|
|
97
97
|
import "./chunk-WYOQNVM2.js";
|
|
98
98
|
import "./chunk-Q25OESFL.js";
|
|
99
99
|
import "./chunk-XGNYUZLW.js";
|