@xano/sdk 1.0.3 → 1.0.4
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 +14 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-MQKCS7QZ.js → agent-file-refresh-LB6KIMFY.js} +6 -6
- package/dist/{backend-dir-DGAQL4K5.js → backend-dir-WZADOK3L.js} +6 -6
- package/dist/bin.js +15 -15
- package/dist/{branch-commands-R4PPN3Z7.js → branch-commands-ZT2MJIRS.js} +3 -3
- package/dist/{chunk-46TUUNM3.js → chunk-2AUV6NXK.js} +2 -2
- package/dist/{chunk-A4KBHTMK.js → chunk-2B22WWKL.js} +12 -12
- package/dist/{chunk-FSYVOCS7.js → chunk-3FN2BIGB.js} +7 -8
- package/dist/{chunk-YTPGQV5C.js → chunk-3P3HXN76.js} +2 -2
- package/dist/{chunk-K3LE5B5E.js → chunk-44B4V2LR.js} +39 -39
- package/dist/{chunk-ZTUNCVAR.js → chunk-45YPFB7B.js} +20 -20
- package/dist/{chunk-WGA25EV5.js → chunk-5WGVIXMD.js} +1 -1
- package/dist/{chunk-IRQCV3OT.js → chunk-664LSWE5.js} +3 -3
- package/dist/{chunk-QEZL5MPJ.js → chunk-6VBTPV2Y.js} +3 -3
- package/dist/{chunk-Z5UCPWGU.js → chunk-7PMVIHB3.js} +11 -11
- package/dist/{chunk-LAKHO2B7.js → chunk-C4FHQA7R.js} +2 -2
- package/dist/{chunk-6NYLVUSZ.js → chunk-D5ZEAF4G.js} +17 -17
- package/dist/{chunk-ERJNHEFV.js → chunk-E6H5ZEV3.js} +2 -2
- package/dist/{chunk-7KLAMYMS.js → chunk-ESZ2FF57.js} +14 -14
- package/dist/{chunk-D3XOH7E7.js → chunk-ET5DSBAC.js} +2 -2
- package/dist/{chunk-ZH5R7NKN.js → chunk-FJWZ5OVV.js} +2 -2
- package/dist/{chunk-HHFPIJGL.js → chunk-HUSH7LRI.js} +2 -2
- package/dist/{chunk-AMTJ4G32.js → chunk-IJ3SXSZM.js} +2 -2
- package/dist/{chunk-ZZEIC5PT.js → chunk-JP7M7OU7.js} +2 -2
- package/dist/{chunk-UWY3R4TS.js → chunk-L2GLOJAO.js} +2 -2
- package/dist/{chunk-SEATQLFB.js → chunk-LIVN53UV.js} +7 -7
- package/dist/{chunk-CJPLBFFY.js → chunk-LUTMOHOW.js} +3 -3
- package/dist/{chunk-OO63ZU46.js → chunk-MCTIKRMN.js} +4 -4
- package/dist/{chunk-NPXM6ZQY.js → chunk-MLGI2SRQ.js} +2 -2
- package/dist/{chunk-XCPF7BEJ.js → chunk-MLPDSGJQ.js} +2 -2
- package/dist/{chunk-JTM5D7CT.js → chunk-O5V3YH5P.js} +2 -2
- package/dist/{chunk-ZVYN4FXD.js → chunk-OGBMUST4.js} +5 -5
- package/dist/{chunk-FURLOAUM.js → chunk-PML67X22.js} +2 -2
- package/dist/{chunk-7TXBKK5G.js → chunk-QAEQGT5I.js} +2 -2
- package/dist/{chunk-ANHOEBTJ.js → chunk-S7E2AHV3.js} +2 -2
- package/dist/{chunk-PWIXETG7.js → chunk-T4DUFQ2S.js} +2 -2
- package/dist/{chunk-7KGASMCE.js → chunk-VRVKNY4A.js} +3 -3
- package/dist/{chunk-KXYW3DRR.js → chunk-WFMVKY7I.js} +2 -2
- package/dist/{chunk-F5KILDDO.js → chunk-WYEQFD6A.js} +49 -49
- package/dist/{chunk-FWXSTFN2.js → chunk-Y2ZLKBM6.js} +2 -2
- package/dist/{chunk-2CGPQ7IM.js → chunk-ZG7E72VI.js} +4 -4
- package/dist/cli.js +14 -14
- package/dist/{codegen-command-SW2AP7KR.js → codegen-command-HTWIW56U.js} +20 -20
- package/dist/{deploy-command-RD6W7PXN.js → deploy-command-5WTFHMBT.js} +18 -18
- package/dist/{deploy-source-ULSWF2V7.js → deploy-source-5CET3A5D.js} +9 -9
- package/dist/{dev-env-sync-E2GFIVC5.js → dev-env-sync-X636HLMK.js} +15 -15
- package/dist/{env-example-refresh-WFKGILLY.js → env-example-refresh-ZO6XAV44.js} +21 -21
- package/dist/{env-pull-command-QYQEOUE3.js → env-pull-command-WZZ7RL2E.js} +15 -15
- package/dist/{env-target-KUWQYHZ7.js → env-target-PO3MOLH5.js} +2 -2
- package/dist/{env-var-command-2ZAVIPNY.js → env-var-command-YKTJZFJN.js} +15 -15
- package/dist/{ephemeral-command-UKHBT3OW.js → ephemeral-command-VDSQCOYL.js} +16 -16
- package/dist/{generate-command-YN3HZWHG.js → generate-command-3NTNRQRS.js} +23 -23
- package/dist/{gitignore-AU5X5F3I.js → gitignore-FWPEDX6C.js} +8 -8
- package/dist/{impersonate-command-ZKE77GFT.js → impersonate-command-QEJA72Q2.js} +11 -11
- package/dist/{init-command-NPXBMJNG.js → init-command-27SFBW2F.js} +17 -17
- package/dist/{init-modules-5TSTLGH5.js → init-modules-HZRQFRLE.js} +4 -4
- package/dist/{keep-data-merge-TDSELE5U.js → keep-data-merge-X5LDDCI3.js} +4 -4
- package/dist/{landing-record-W7VQ4KV4.js → landing-record-QYECWLQ5.js} +7 -7
- package/dist/{local-engine-choice-OXULXWEP.js → local-engine-choice-6BSPEG3E.js} +10 -10
- package/dist/{local-engine-command-5MTGZIZ4.js → local-engine-command-HMTQK7MN.js} +11 -11
- package/dist/{lock-commands-OBXAUSZX.js → lock-commands-4VT3L5W5.js} +15 -15
- package/dist/{login-command-CB3O3UDZ.js → login-command-O6WA4FYL.js} +11 -11
- package/dist/{logout-command-J5CP5HZZ.js → logout-command-6CPWGFY2.js} +3 -3
- package/dist/{marketplace-command-A5S25ZHF.js → marketplace-command-HKACSYKS.js} +16 -16
- package/dist/{marketplace-resolve-GRXMK5YD.js → marketplace-resolve-KLFYVRWS.js} +2 -2
- package/dist/{meta-client-FB73643X.js → meta-client-73PX6UGJ.js} +2 -2
- package/dist/node.js +16 -16
- package/dist/{operation-outcome-V4FUJI7V.js → operation-outcome-2P4BVSEV.js} +4 -4
- package/dist/{output-target-6HNPK6KC.js → output-target-SZMBNYF4.js} +9 -9
- package/dist/{preflight-command-NZ75PSRL.js → preflight-command-EBQ6XQF3.js} +20 -20
- package/dist/{profile-command-KIRI4GA4.js → profile-command-NPKBJYPM.js} +12 -12
- package/dist/{project-dependency-JGCJZ26H.js → project-dependency-RRMTWOPC.js} +3 -3
- package/dist/{promote-command-IPDH5OBT.js → promote-command-4F2NAE6P.js} +27 -27
- package/dist/{publish-command-74HMEZ7E.js → publish-command-LGLZBOCB.js} +18 -18
- package/dist/{pull-command-VO5RRGZ5.js → pull-command-WQFPLITW.js} +22 -22
- package/dist/{release-command-ZHM5FA4M.js → release-command-2OTNVMIL.js} +20 -20
- package/dist/{release-ns-command-2TL26YOM.js → release-ns-command-EIBN3JVM.js} +33 -33
- package/dist/{secrets-file-NBBR6DYS.js → secrets-file-FUG7WCES.js} +7 -7
- package/dist/{secrets-fill-command-X3HQ4JYN.js → secrets-fill-command-QEOCUOAY.js} +17 -17
- package/dist/{source-resolve-NTI3JFO6.js → source-resolve-DMDZVPMM.js} +3 -3
- package/dist/{status-command-RVMOLYPR.js → status-command-XUH5OGQX.js} +14 -14
- package/dist/{sync-contributions-KGCVRH2J.js → sync-contributions-DHP7XSTX.js} +2 -2
- package/dist/{tables-command-GAOXJPMA.js → tables-command-X3JK7VSK.js} +12 -12
- package/dist/{tenant-command-FAJ7WZTH.js → tenant-command-P27EQHBU.js} +33 -33
- package/dist/{test-command-53FRDZ32.js → test-command-A4G2FP7G.js} +12 -12
- package/dist/{token-44CKLYWD.js → token-CMAB35GD.js} +2 -2
- package/dist/{toolchain-modules-MPPH633S.js → toolchain-modules-3M7QDJBV.js} +2 -2
- package/dist/{tracked-backend-AJLHRGLF.js → tracked-backend-PZGUWD5J.js} +11 -11
- package/dist/{update-check-Q4HJHHL5.js → update-check-LNNKIMML.js} +16 -16
- package/dist/{upgrade-command-C63HIBVH.js → upgrade-command-7EUXML3P.js} +18 -18
- package/dist/{whoami-command-WC5EKB4W.js → whoami-command-KNWFWAX6.js} +4 -4
- package/dist/{workspace-EJVWTIWX.js → workspace-TGPYOODG.js} +2 -2
- package/dist/{workspace-binding-BRPPUSWG.js → workspace-binding-2TWZBHQY.js} +3 -3
- package/dist/{workspace-command-Y6STVPYO.js → workspace-command-T7Z2BDHD.js} +27 -27
- package/dist/{workspace-env-SIINWNMP.js → workspace-env-VA7XN3UX.js} +7 -7
- package/dist/{xanosdk-import-UKEO7R7O.js → xanosdk-import-J6SRBZHW.js} +2 -2
- package/dist/{xanosdk-project-MQTZKITV.js → xanosdk-project-6KTCO47O.js} +7 -7
- package/guides/environment.md +1 -1
- package/guides/marketplace.md +7 -4
- package/llms-full.txt +1 -1
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-KTGRGWZW.js";
|
|
13
13
|
import {
|
|
14
14
|
shownLabel
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OGBMUST4.js";
|
|
16
16
|
import {
|
|
17
17
|
confirm,
|
|
18
18
|
needsConfirmation
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
landingLockPath,
|
|
23
23
|
recordForeignLanding,
|
|
24
24
|
recordLanding
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-C4FHQA7R.js";
|
|
26
26
|
import {
|
|
27
27
|
assertStorageModesKept,
|
|
28
28
|
discloseCanonicalMoves,
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
40
40
|
XanoSdkImportRefusal,
|
|
41
41
|
xanosdkImport
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-IJ3SXSZM.js";
|
|
43
43
|
import {
|
|
44
44
|
archiveSeedContent
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VRVKNY4A.js";
|
|
46
46
|
import {
|
|
47
47
|
encodeWorkspaceArchive
|
|
48
48
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -72,18 +72,18 @@ import {
|
|
|
72
72
|
assertBundleInput,
|
|
73
73
|
loadBundleText,
|
|
74
74
|
resolveLockPath
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-WYEQFD6A.js";
|
|
76
76
|
import {
|
|
77
77
|
LookupFailedError,
|
|
78
78
|
isUnansweredLookup,
|
|
79
79
|
unansweredCause
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-2AUV6NXK.js";
|
|
81
81
|
import {
|
|
82
82
|
isSignatureRefusal
|
|
83
83
|
} from "./chunk-MEE5RZ6G.js";
|
|
84
84
|
import {
|
|
85
85
|
getAccessToken
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-LUTMOHOW.js";
|
|
87
87
|
import {
|
|
88
88
|
ephemeralLandedOn
|
|
89
89
|
} from "./chunk-UKUIUS3E.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
} from "./chunk-SEUCZZCP.js";
|
|
98
98
|
import {
|
|
99
99
|
backendDirIn
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-E6H5ZEV3.js";
|
|
101
101
|
import {
|
|
102
102
|
shellWord
|
|
103
103
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -786,7 +786,7 @@ function markUnchanged(presented, unchanged, noun) {
|
|
|
786
786
|
}
|
|
787
787
|
var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
|
|
788
788
|
async function replaceCommandHint(args) {
|
|
789
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-
|
|
789
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-5WTFHMBT.js");
|
|
790
790
|
const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
|
|
791
791
|
const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
|
|
792
792
|
const argv = [];
|
|
@@ -1551,7 +1551,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1551
1551
|
const held = guidsOf(live);
|
|
1552
1552
|
const codePinned = codePinnedTables(outgoingDoc, lock, classified);
|
|
1553
1553
|
const { orphanFixUps } = await import("./cli.js");
|
|
1554
|
-
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-
|
|
1554
|
+
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-X5LDDCI3.js");
|
|
1555
1555
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1556
1556
|
const out = [];
|
|
1557
1557
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1595,7 +1595,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1595
1595
|
return out;
|
|
1596
1596
|
}
|
|
1597
1597
|
async function pendingRenameRefusal(frame, pending, prune, branch) {
|
|
1598
|
-
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-
|
|
1598
|
+
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-X5LDDCI3.js");
|
|
1599
1599
|
const one = pending.length === 1;
|
|
1600
1600
|
const lines = pending.flatMap(
|
|
1601
1601
|
(p) => pendingRenameLines(
|
|
@@ -2051,7 +2051,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2051
2051
|
assertBundleFile(args, { command: "deploy" });
|
|
2052
2052
|
const auth = opts.auth ?? await getAccessToken(args);
|
|
2053
2053
|
const withSeed = req.mode === "replace" || req.records === true;
|
|
2054
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
2054
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-3M7QDJBV.js");
|
|
2055
2055
|
const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
|
|
2056
2056
|
const loaded = await loadBundleText(
|
|
2057
2057
|
args.dryRun ? { ...args, lockReadOnly: true } : args,
|
|
@@ -2077,11 +2077,11 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2077
2077
|
});
|
|
2078
2078
|
};
|
|
2079
2079
|
if (!args.dryRun && args.file !== void 0) {
|
|
2080
|
-
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-
|
|
2080
|
+
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-5WTFHMBT.js");
|
|
2081
2081
|
await ignoreBackendSecretFilesRead(args);
|
|
2082
2082
|
}
|
|
2083
2083
|
if (args.static !== void 0) {
|
|
2084
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
2084
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-5WTFHMBT.js");
|
|
2085
2085
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues);
|
|
2086
2086
|
}
|
|
2087
2087
|
{
|
|
@@ -2191,7 +2191,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2191
2191
|
pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
|
|
2192
2192
|
}).catch(async (err) => {
|
|
2193
2193
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2194
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2194
|
+
const { importInProgressError } = await import("./keep-data-merge-X5LDDCI3.js");
|
|
2195
2195
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
|
|
2196
2196
|
const retry = retryCommand2(args);
|
|
2197
2197
|
throw importInProgressError(
|
|
@@ -2312,7 +2312,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2312
2312
|
}
|
|
2313
2313
|
const dryRunUpToDate = req.branch === void 0 && (plan.operations.length === 0 || converged);
|
|
2314
2314
|
if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
|
|
2315
|
-
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-
|
|
2315
|
+
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-X5LDDCI3.js");
|
|
2316
2316
|
const triggers = liveTableTriggers(live);
|
|
2317
2317
|
if (triggers.length > 0) {
|
|
2318
2318
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
|
|
@@ -2672,7 +2672,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2672
2672
|
if (isMachineOutput(args)) writeJson(summary);
|
|
2673
2673
|
assertStaticMatchesServedUrls(servedDifferences, planContext);
|
|
2674
2674
|
}
|
|
2675
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
2675
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-5WTFHMBT.js");
|
|
2676
2676
|
const env = buildStaticEnv(destBase, args.staticEnv);
|
|
2677
2677
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
2678
2678
|
const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
|
|
@@ -2724,14 +2724,14 @@ function setLiveRollback(previous, args) {
|
|
|
2724
2724
|
async function assertReleaseIdentitiesFree(args, auth, opts) {
|
|
2725
2725
|
const tenant = opts.tenant;
|
|
2726
2726
|
const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
|
|
2727
|
-
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-
|
|
2727
|
+
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-J6SRBZHW.js");
|
|
2728
2728
|
let capable;
|
|
2729
2729
|
try {
|
|
2730
2730
|
capable = await detectXanoSdkImportRoute(auth, target);
|
|
2731
2731
|
} catch (err) {
|
|
2732
2732
|
if (err?.status === 501) capable = false;
|
|
2733
2733
|
else {
|
|
2734
|
-
const { unreachableProbeError } = await import("./keep-data-merge-
|
|
2734
|
+
const { unreachableProbeError } = await import("./keep-data-merge-X5LDDCI3.js");
|
|
2735
2735
|
const retry = retryCommand(args, {
|
|
2736
2736
|
add: pipedYes(args) === "" ? [] : ["--yes"],
|
|
2737
2737
|
command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
|
|
@@ -2820,4 +2820,4 @@ export {
|
|
|
2820
2820
|
setLiveRollback,
|
|
2821
2821
|
assertReleaseIdentitiesFree
|
|
2822
2822
|
};
|
|
2823
|
-
//# sourceMappingURL=chunk-
|
|
2823
|
+
//# sourceMappingURL=chunk-45YPFB7B.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E6H5ZEV3.js";
|
|
5
5
|
import {
|
|
6
6
|
XANO_DIR
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HUSH7LRI.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-ROY4YAEQ.js";
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
namesInEnvExample,
|
|
243
243
|
renderWorkspaceEnvFile
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-664LSWE5.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
envExampleNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ESZ2FF57.js";
|
|
4
4
|
import {
|
|
5
5
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
6
6
|
renderWorkspaceEnvExample
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-664LSWE5.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWrite
|
|
10
10
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
refreshEnvExample,
|
|
55
55
|
bundleEnvNames
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-6VBTPV2Y.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-IVKRT476.js";
|
|
6
6
|
import {
|
|
7
7
|
rerenderEnvExample
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6VBTPV2Y.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -17,38 +17,38 @@ import {
|
|
|
17
17
|
verifyPulledTree,
|
|
18
18
|
withSourceIdentities,
|
|
19
19
|
writeDocumentationTokens
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ESZ2FF57.js";
|
|
21
21
|
import {
|
|
22
22
|
confirm
|
|
23
23
|
} from "./chunk-4APOHK7Y.js";
|
|
24
24
|
import {
|
|
25
25
|
fetchSourceArchive
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VRVKNY4A.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeWorkspaceArchive,
|
|
29
29
|
encodeWorkspaceArchive
|
|
30
30
|
} from "./chunk-3DRXWLJ5.js";
|
|
31
31
|
import {
|
|
32
32
|
ensureSecretPathGitignored
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-Y2ZLKBM6.js";
|
|
34
34
|
import {
|
|
35
35
|
readVersion,
|
|
36
36
|
refreshAgentGuidance
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WYEQFD6A.js";
|
|
38
38
|
import {
|
|
39
39
|
WORKSPACE_ENV_BASENAME,
|
|
40
40
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
41
41
|
namesInEnvExample,
|
|
42
42
|
readWorkspaceEnvFile
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-664LSWE5.js";
|
|
44
44
|
import {
|
|
45
45
|
memoCredential,
|
|
46
46
|
refuseProfileForLocal,
|
|
47
47
|
selectBackend
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-LIVN53UV.js";
|
|
49
49
|
import {
|
|
50
50
|
getAccessToken
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-LUTMOHOW.js";
|
|
52
52
|
import {
|
|
53
53
|
requireBackendSlot
|
|
54
54
|
} from "./chunk-UDE5C2XN.js";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
import {
|
|
59
59
|
backendDirIn,
|
|
60
60
|
resolveBackendDir
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-E6H5ZEV3.js";
|
|
62
62
|
import {
|
|
63
63
|
CODEGEN_MARKER,
|
|
64
64
|
DECODE_MARKER,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
readDecodeRecord,
|
|
74
74
|
removeEmptiedDirs,
|
|
75
75
|
removeFiles
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-HUSH7LRI.js";
|
|
77
77
|
import {
|
|
78
78
|
readLockFile,
|
|
79
79
|
writeLockFile
|
|
@@ -920,4 +920,4 @@ export {
|
|
|
920
920
|
projectWorkspaceName,
|
|
921
921
|
envFillRemedy
|
|
922
922
|
};
|
|
923
|
-
//# sourceMappingURL=chunk-
|
|
923
|
+
//# sourceMappingURL=chunk-7PMVIHB3.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-SEUCZZCP.js";
|
|
10
10
|
import {
|
|
11
11
|
backendDirIn
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-E6H5ZEV3.js";
|
|
13
13
|
import {
|
|
14
14
|
forgetPrunedInLockFile,
|
|
15
15
|
readLockFile,
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
holdsLanding,
|
|
261
261
|
forgetLanding
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-C4FHQA7R.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-4APOHK7Y.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y2ZLKBM6.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WYEQFD6A.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-664LSWE5.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isNonEmptyDir,
|
|
26
26
|
plannedAgentsMd,
|
|
27
27
|
scaffoldProject
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HUSH7LRI.js";
|
|
29
29
|
import {
|
|
30
30
|
inProject,
|
|
31
31
|
installModules,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
preflightPackages,
|
|
34
34
|
rebaseLocalSpec,
|
|
35
35
|
renderXanoIndexWithModules
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZG7E72VI.js";
|
|
37
37
|
import {
|
|
38
38
|
npmViewVersion
|
|
39
39
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk-FWD7AL6N.js";
|
|
43
43
|
import {
|
|
44
44
|
isLocalSpecifier
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3FN2BIGB.js";
|
|
46
46
|
import {
|
|
47
47
|
readToolchainBlock
|
|
48
48
|
} from "./chunk-JTUKLCXS.js";
|
|
@@ -595,7 +595,7 @@ async function runInitCommand(args) {
|
|
|
595
595
|
}
|
|
596
596
|
const source = resolveFromSource(args.from);
|
|
597
597
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
598
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
598
|
+
const { runInitFromCommand } = await import("./codegen-command-HTWIW56U.js");
|
|
599
599
|
return runInitFromCommand(args, source);
|
|
600
600
|
}
|
|
601
601
|
rejectPullOnlyFlags(args);
|
|
@@ -614,10 +614,10 @@ async function runInitCommand(args) {
|
|
|
614
614
|
return flagNames().includes(bare) || bare.startsWith("no-") && flagNames().includes(bare.slice(3));
|
|
615
615
|
});
|
|
616
616
|
if (unclaimable.length > 0) throw unknownFlag(unclaimable, { command: "init" });
|
|
617
|
-
const { refusePlugAndPlay } = await import("./project-dependency-
|
|
617
|
+
const { refusePlugAndPlay } = await import("./project-dependency-RRMTWOPC.js");
|
|
618
618
|
const { retryCommand } = await import("./retry-command-Y5YJGOH3.js");
|
|
619
619
|
refusePlugAndPlay(targetDir, retryCommand(args, { command: "init" }).command);
|
|
620
|
-
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-
|
|
620
|
+
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-KLFYVRWS.js");
|
|
621
621
|
const resolvedModules = typedModules.length === 0 ? [] : await resolveMarketplaceSpecs(typedModules, "xanosdk init --marketplace").catch(async (err) => {
|
|
622
622
|
throw await withCatalogueRerun(err, args, "init");
|
|
623
623
|
});
|
|
@@ -659,7 +659,7 @@ async function runInitCommand(args) {
|
|
|
659
659
|
}
|
|
660
660
|
let scaffolded = false;
|
|
661
661
|
try {
|
|
662
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
662
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-3M7QDJBV.js");
|
|
663
663
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
664
664
|
const preset = earlyPreset ?? await resolveFrontendPreset(args.framework);
|
|
665
665
|
const choice = await resolveThemeChoice(args);
|
|
@@ -785,7 +785,7 @@ async function runInitCommand(args) {
|
|
|
785
785
|
const { skewedProjectSdk } = await import("./project-sdk-FOR4IOXL.js");
|
|
786
786
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
787
787
|
if (installedSdk !== void 0) {
|
|
788
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
788
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-7EUXML3P.js");
|
|
789
789
|
const rendered = reconcileWithInstalled(targetDir);
|
|
790
790
|
if (rendered.length > 0) {
|
|
791
791
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -923,7 +923,7 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv) {
|
|
|
923
923
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
924
924
|
const ctx = createLockContext(existing);
|
|
925
925
|
const { envNamesRead } = await import("./guards-EJU2ONAX.js");
|
|
926
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
926
|
+
const { refreshEnvExample } = await import("./env-example-refresh-ZO6XAV44.js");
|
|
927
927
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
928
928
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
929
929
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -979,7 +979,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
979
979
|
const file = readCredentialFile(path);
|
|
980
980
|
const stored = file === null ? [] : profileNames(file);
|
|
981
981
|
if (stored.includes(name)) return;
|
|
982
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
982
|
+
const { ProfileNotFoundError } = await import("./token-CMAB35GD.js");
|
|
983
983
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
984
984
|
throw new ProfileNotFoundError(
|
|
985
985
|
`No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
|
|
@@ -988,7 +988,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
988
988
|
);
|
|
989
989
|
}
|
|
990
990
|
async function envCredentialSet() {
|
|
991
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
991
|
+
const { envMetaCredentialVarsSet } = await import("./token-CMAB35GD.js");
|
|
992
992
|
return envMetaCredentialVarsSet().length > 0;
|
|
993
993
|
}
|
|
994
994
|
function loginNextStep(pin, projectDir) {
|
|
@@ -1034,7 +1034,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1034
1034
|
};
|
|
1035
1035
|
}
|
|
1036
1036
|
if (opts.credentialRead === true) {
|
|
1037
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1037
|
+
const { environmentCredentialVars } = await import("./token-CMAB35GD.js");
|
|
1038
1038
|
const env = environmentCredentialVars();
|
|
1039
1039
|
if (env.complete) {
|
|
1040
1040
|
return {
|
|
@@ -1057,7 +1057,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1057
1057
|
});
|
|
1058
1058
|
const stored = file === null ? [] : profileNames(file);
|
|
1059
1059
|
if (!stored.includes(selection.name)) {
|
|
1060
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1060
|
+
const env = stored.length === 0 ? (await import("./token-CMAB35GD.js")).environmentCredentialVars() : void 0;
|
|
1061
1061
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1062
1062
|
return {
|
|
1063
1063
|
name: null,
|
|
@@ -1142,4 +1142,4 @@ export {
|
|
|
1142
1142
|
projectCli,
|
|
1143
1143
|
planProfilePin
|
|
1144
1144
|
};
|
|
1145
|
-
//# sourceMappingURL=chunk-
|
|
1145
|
+
//# sourceMappingURL=chunk-D5ZEAF4G.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HUSH7LRI.js";
|
|
4
4
|
import {
|
|
5
5
|
projectRootFrom
|
|
6
6
|
} from "./chunk-ROY4YAEQ.js";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
backendDirIn,
|
|
68
68
|
resolveBackendDir
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-E6H5ZEV3.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
resolveThemeChoice,
|
|
9
9
|
sanitizeAppName,
|
|
10
10
|
templateVarsFor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-D5ZEAF4G.js";
|
|
12
12
|
import {
|
|
13
13
|
ROUTES_MANIFEST_BASENAME,
|
|
14
14
|
RouteManifestError,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
archiveSeedContent,
|
|
59
59
|
fetchSourceArchive
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-VRVKNY4A.js";
|
|
61
61
|
import {
|
|
62
62
|
assertBranchReadSupported,
|
|
63
63
|
exportWorkspaceBundle
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "./chunk-E65QIWOO.js";
|
|
72
72
|
import {
|
|
73
73
|
detectInstallMode
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-MLPDSGJQ.js";
|
|
75
75
|
import {
|
|
76
76
|
UNSUPPORTED_SECTIONS,
|
|
77
77
|
decodedCounts,
|
|
@@ -86,26 +86,26 @@ import {
|
|
|
86
86
|
import {
|
|
87
87
|
ensureWorkspaceEnvGitignored,
|
|
88
88
|
requireSecretPathGitignored
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-Y2ZLKBM6.js";
|
|
90
90
|
import {
|
|
91
91
|
loadDefault,
|
|
92
92
|
readVersion,
|
|
93
93
|
resolveKnowledge
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-WYEQFD6A.js";
|
|
95
95
|
import {
|
|
96
96
|
WORKSPACE_ENV_BASENAME,
|
|
97
97
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
98
98
|
renderWorkspaceEnvExample,
|
|
99
99
|
renderWorkspaceEnvFile,
|
|
100
100
|
valueProblem
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-664LSWE5.js";
|
|
102
102
|
import {
|
|
103
103
|
memoCredential,
|
|
104
104
|
refuseProfileForLocal
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-LIVN53UV.js";
|
|
106
106
|
import {
|
|
107
107
|
getAccessToken
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-LUTMOHOW.js";
|
|
109
109
|
import {
|
|
110
110
|
getEngineRecord
|
|
111
111
|
} from "./chunk-WL2DSNJV.js";
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
SECRETS_FILE_VERSION,
|
|
117
117
|
workspaceSecretsPathIn,
|
|
118
118
|
writeSecretsFile
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-MLGI2SRQ.js";
|
|
120
120
|
import {
|
|
121
121
|
yesRerun
|
|
122
122
|
} from "./chunk-FMOEVAGT.js";
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
plannedAgentsMd,
|
|
138
138
|
readDecodeRecord,
|
|
139
139
|
scaffoldProject
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-HUSH7LRI.js";
|
|
141
141
|
import {
|
|
142
142
|
shellWord
|
|
143
143
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -6282,7 +6282,7 @@ async function fetchBundle(args, source) {
|
|
|
6282
6282
|
credentialRead
|
|
6283
6283
|
};
|
|
6284
6284
|
}
|
|
6285
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
6285
|
+
const { projectDirFrom } = await import("./xanosdk-project-6KTCO47O.js");
|
|
6286
6286
|
const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
|
|
6287
6287
|
const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
|
|
6288
6288
|
step(`Reading ${raw2}`);
|
|
@@ -6743,7 +6743,7 @@ async function runInitFromCommand(args, source) {
|
|
|
6743
6743
|
for (const line of routesDeferred) warn(line, "routes.not-written");
|
|
6744
6744
|
if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
|
|
6745
6745
|
if (replace.lock !== void 0) {
|
|
6746
|
-
const { reconciledLock } = await import("./pull-command-
|
|
6746
|
+
const { reconciledLock } = await import("./pull-command-WQFPLITW.js");
|
|
6747
6747
|
writeLockFile(
|
|
6748
6748
|
replace.lock.path,
|
|
6749
6749
|
reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
|
|
@@ -6844,7 +6844,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
|
|
|
6844
6844
|
if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
|
|
6845
6845
|
return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
|
|
6846
6846
|
}
|
|
6847
|
-
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-
|
|
6847
|
+
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-WQFPLITW.js");
|
|
6848
6848
|
const prefix = `${XANO_DIR}/`;
|
|
6849
6849
|
const incoming = new Map(
|
|
6850
6850
|
files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
|
|
@@ -7196,4 +7196,4 @@ export {
|
|
|
7196
7196
|
seedRowsListed,
|
|
7197
7197
|
seedRowsLanding
|
|
7198
7198
|
};
|
|
7199
|
-
//# sourceMappingURL=chunk-
|
|
7199
|
+
//# sourceMappingURL=chunk-ESZ2FF57.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isUnansweredLookup,
|
|
10
10
|
lookupFailed,
|
|
11
11
|
unansweredCause
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2AUV6NXK.js";
|
|
13
13
|
import {
|
|
14
14
|
findRelease
|
|
15
15
|
} from "./chunk-A6QTTJUI.js";
|
|
@@ -215,4 +215,4 @@ export {
|
|
|
215
215
|
readUnanswered,
|
|
216
216
|
lookupRelease
|
|
217
217
|
};
|
|
218
|
-
//# sourceMappingURL=chunk-
|
|
218
|
+
//# sourceMappingURL=chunk-ET5DSBAC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureExportGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y2ZLKBM6.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-FJWZ5OVV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyNpmFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZG7E72VI.js";
|
|
4
4
|
import {
|
|
5
5
|
condenseNpmError,
|
|
6
6
|
runNpmQuiet,
|
|
@@ -657,4 +657,4 @@ export {
|
|
|
657
657
|
changedOnDisk,
|
|
658
658
|
scaffoldProject
|
|
659
659
|
};
|
|
660
|
-
//# sourceMappingURL=chunk-
|
|
660
|
+
//# sourceMappingURL=chunk-HUSH7LRI.js.map
|
|
@@ -461,7 +461,7 @@ async function post(auth, url, opts, action) {
|
|
|
461
461
|
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}` : "");
|
|
462
462
|
const where = `${transportTarget(url)}${opts.label !== void 0 ? ` (${opts.label})` : ""}`;
|
|
463
463
|
if (res === void 0) {
|
|
464
|
-
const { classifyFailure } = await import("./operation-outcome-
|
|
464
|
+
const { classifyFailure } = await import("./operation-outcome-2P4BVSEV.js");
|
|
465
465
|
if (writes && !isTimeoutError(failure) && classifyFailure(failure, { writeSent: true }) === "no") {
|
|
466
466
|
const untrusted = certificateFailureCode(failure) !== void 0;
|
|
467
467
|
throw new ImportNotSentError(
|
|
@@ -557,4 +557,4 @@ export {
|
|
|
557
557
|
withDefaultBranchPointer,
|
|
558
558
|
xanosdkImport
|
|
559
559
|
};
|
|
560
|
-
//# sourceMappingURL=chunk-
|
|
560
|
+
//# sourceMappingURL=chunk-IJ3SXSZM.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HUSH7LRI.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-WRBKLYSJ.js";
|
|
@@ -186,4 +186,4 @@ export {
|
|
|
186
186
|
isCI,
|
|
187
187
|
refreshAgentFiles
|
|
188
188
|
};
|
|
189
|
-
//# sourceMappingURL=chunk-
|
|
189
|
+
//# sourceMappingURL=chunk-JP7M7OU7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VRVKNY4A.js";
|
|
4
4
|
import {
|
|
5
5
|
isUnusablePin,
|
|
6
6
|
readPin,
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
pinAfterAcquire,
|
|
171
171
|
pinWrittenText
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-L2GLOJAO.js.map
|