@xano/sdk 1.0.9 → 1.0.10
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/README.md +85 -86
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-XXCQOTWN.js → agent-file-refresh-VOGTQ3JE.js} +6 -6
- package/dist/{agent-skill-command-VDSMXH4M.js → agent-skill-command-LDT5JXIO.js} +15 -15
- package/dist/{backend-dir-G44PETFO.js → backend-dir-UNUO7TNL.js} +5 -5
- package/dist/bin.js +15 -15
- package/dist/{branch-commands-Q6E66PMM.js → branch-commands-IJ7SK5AM.js} +3 -3
- package/dist/{chunk-2VWSUG2B.js → chunk-2ND7WS3E.js} +2 -2
- package/dist/{chunk-HBFXR4OJ.js → chunk-3IFRZXHN.js} +2 -2
- package/dist/{chunk-BUTGFWWA.js → chunk-3TTR4BHW.js} +2 -2
- package/dist/{chunk-YVXUYDHC.js → chunk-3TWQDGQY.js} +2 -2
- package/dist/{chunk-SSOTLVOJ.js → chunk-436AOVZS.js} +2 -2
- package/dist/{chunk-U7XSQXOA.js → chunk-45A3AF2B.js} +53 -53
- package/dist/{chunk-GHPC52TD.js → chunk-5DLDRUCQ.js} +3 -3
- package/dist/{chunk-WKCA66SH.js → chunk-6BIOLAJ4.js} +5 -5
- package/dist/{chunk-QGDT52FA.js → chunk-6NXIRULE.js} +12 -12
- package/dist/{chunk-6IOQRBRX.js → chunk-77IFWJ53.js} +2 -2
- package/dist/{chunk-XTUYIX5H.js → chunk-BYYVOX2P.js} +16 -16
- package/dist/{chunk-BRANWM4U.js → chunk-C2SAVXAB.js} +2 -2
- package/dist/{chunk-IFCQCM2Q.js → chunk-CTKBGPM6.js} +3 -3
- package/dist/{chunk-OYRQLU66.js → chunk-DHU3EGGF.js} +2 -2
- package/dist/{chunk-HVSIS47X.js → chunk-DW47JVXI.js} +18 -18
- package/dist/{chunk-WLFANUXE.js → chunk-ECGRCTVI.js} +2 -2
- package/dist/{chunk-3XSTC3TM.js → chunk-FDZ2ANSS.js} +2 -2
- package/dist/{chunk-CXWCWYX3.js → chunk-FZGK4VM5.js} +2 -2
- package/dist/{chunk-NI56XX5Z.js → chunk-GDAWYDHY.js} +4 -4
- package/dist/{chunk-Y3FM4BSZ.js → chunk-HDKSHL4Z.js} +1 -1
- package/dist/{chunk-YMVCKGY2.js → chunk-HMFEWTI7.js} +39 -39
- package/dist/{chunk-INAM6KR6.js → chunk-HU6D6PYT.js} +2 -2
- package/dist/{chunk-HETQSTGG.js → chunk-IIAF7VKN.js} +2 -2
- package/dist/{chunk-S5RZYUP2.js → chunk-IW6E3LES.js} +2 -2
- package/dist/{chunk-5GIOCDUM.js → chunk-IZI3SYXH.js} +3 -3
- package/dist/{chunk-SGYDFEXD.js → chunk-JE7BL5IF.js} +7 -7
- package/dist/{chunk-KDS4PDFD.js → chunk-JSPFDMTV.js} +5 -5
- package/dist/{chunk-ZYPEH64F.js → chunk-KA3JN4SH.js} +2 -2
- package/dist/{chunk-ADKC3EII.js → chunk-KCCZGDQG.js} +3 -3
- package/dist/{chunk-GAU2FCT7.js → chunk-KSGITXNE.js} +2 -2
- package/dist/{chunk-5VOGPS5O.js → chunk-NIANORYB.js} +2 -2
- package/dist/{chunk-UZUY6VPB.js → chunk-PPI647YF.js} +20 -20
- package/dist/{chunk-XPLBTV77.js → chunk-THGELNPV.js} +4 -4
- package/dist/{chunk-XLQT3CCF.js → chunk-TWBENPZR.js} +13 -13
- package/dist/{chunk-5BEK7YKY.js → chunk-U4JD5NMP.js} +2 -2
- package/dist/{chunk-FFB3YCUO.js → chunk-V5RXO5AK.js} +2 -2
- package/dist/{chunk-Y2LKSXFK.js → chunk-XUSL2Z5C.js} +3 -3
- package/dist/{chunk-DDUOMOIP.js → chunk-Z52FKP34.js} +6 -6
- package/dist/cli.js +14 -14
- package/dist/{codegen-command-KZJ7LYHW.js → codegen-command-A7M5JLLY.js} +21 -21
- package/dist/{deploy-command-RXPJAM7M.js → deploy-command-RP7Q4XBE.js} +18 -18
- package/dist/{deploy-source-TD77W4SA.js → deploy-source-ITSAHJW7.js} +8 -8
- package/dist/{dev-env-sync-2UCNSIJL.js → dev-env-sync-SN6TL22O.js} +15 -15
- package/dist/{env-example-refresh-QKZI26F2.js → env-example-refresh-USAGYVJ2.js} +22 -22
- package/dist/{env-pull-command-72PQOMKW.js → env-pull-command-6KEESNVU.js} +14 -14
- package/dist/{env-target-AZJ4JXT7.js → env-target-HOGLLJN5.js} +2 -2
- package/dist/{env-var-command-ALJITZDL.js → env-var-command-VOAINMHX.js} +14 -14
- package/dist/{ephemeral-command-T276HQBO.js → ephemeral-command-I7VPCBVQ.js} +15 -15
- package/dist/{generate-command-M6LAT4XU.js → generate-command-G7EJ7GW4.js} +25 -25
- package/dist/{gitignore-V6QHYKIR.js → gitignore-WFZ2BTMS.js} +7 -7
- package/dist/{impersonate-command-S6PYDMHQ.js → impersonate-command-ZJDK7ZYO.js} +10 -10
- package/dist/{init-command-ENAZKPZA.js → init-command-CTWDNYAZ.js} +17 -17
- package/dist/{init-modules-AIKWWTVQ.js → init-modules-FJITJ6IB.js} +2 -2
- package/dist/internal.js +6 -5
- package/dist/{keep-data-merge-3WPUPPTY.js → keep-data-merge-KLNLVBYK.js} +4 -4
- package/dist/{lambda-config-reconcile-47X5C2E4.js → lambda-config-reconcile-FXPDH2U5.js} +3 -3
- package/dist/{landing-record-SJ5HG7T5.js → landing-record-ZB4OJQF2.js} +6 -6
- package/dist/{local-engine-choice-BD5O7SAU.js → local-engine-choice-FO7LABXX.js} +9 -9
- package/dist/{local-engine-command-MXQUXXAA.js → local-engine-command-LI7HUH5Y.js} +10 -10
- package/dist/{local-engine-mcp-command-6G3TDWDI.js → local-engine-mcp-command-EVYRLPE7.js} +10 -10
- package/dist/{lock-commands-SUPQOEVU.js → lock-commands-I4RARW5F.js} +15 -15
- package/dist/{login-command-LTYO3EK7.js → login-command-MJT5CCXL.js} +10 -10
- package/dist/{logout-command-QRRT36DY.js → logout-command-GSQ2R3XL.js} +3 -3
- package/dist/{marketplace-command-POQH5GVT.js → marketplace-command-GK4F5ZZ2.js} +14 -14
- package/dist/{meta-client-PDUP4EOW.js → meta-client-2A7LYGUQ.js} +2 -2
- package/dist/node.js +16 -16
- package/dist/{operation-outcome-IXMC5SBN.js → operation-outcome-UK5ALWRE.js} +4 -4
- package/dist/{output-target-4XN43WIB.js → output-target-GFPSLLEJ.js} +8 -8
- package/dist/{preflight-command-QWZL4O2N.js → preflight-command-LP5D6UOD.js} +20 -20
- package/dist/{profile-command-V6WFDYZW.js → profile-command-R7XLNTY6.js} +11 -11
- package/dist/{promote-command-B3QODJNT.js → promote-command-TEVVCM77.js} +28 -28
- package/dist/{publish-command-JOL6LXH6.js → publish-command-WTVINN5E.js} +18 -18
- package/dist/{pull-command-RPGL6LXP.js → pull-command-KFHHW2BA.js} +23 -23
- package/dist/{release-command-USZAWVXO.js → release-command-QUKHOKIY.js} +20 -20
- package/dist/{release-ns-command-3XDRQKJD.js → release-ns-command-T4R3VODA.js} +33 -33
- package/dist/{routes-manifest-file-V5JJVIPH.js → routes-manifest-file-QFPNFJMZ.js} +2 -2
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-ZA6K4J6W.js → secrets-file-J4KFYNFP.js} +6 -6
- package/dist/{secrets-fill-command-MH53XR45.js → secrets-fill-command-YIU6ESFN.js} +17 -17
- package/dist/{source-resolve-I55GN6ZC.js → source-resolve-WHXNMVJT.js} +3 -3
- package/dist/{status-command-I6S2TVAY.js → status-command-DIDOS3JC.js} +13 -13
- package/dist/{sync-contributions-4HHBUGJ4.js → sync-contributions-VAGROOWY.js} +2 -2
- package/dist/{tables-command-L4JRA7JF.js → tables-command-UJLYYMME.js} +11 -11
- package/dist/{tenant-command-IZ3R4BDG.js → tenant-command-NGKJD3AX.js} +34 -34
- package/dist/{test-command-GCKZRRSL.js → test-command-JOPQCHJA.js} +11 -11
- package/dist/{token-XQCIFX7R.js → token-NJ5XPGGM.js} +2 -2
- package/dist/{toolchain-modules-C53NXT3S.js → toolchain-modules-4KS3SSJW.js} +2 -2
- package/dist/{tracked-backend-UHKPD2JU.js → tracked-backend-3U4T6ZA7.js} +10 -10
- package/dist/{update-check-KMAC4VEJ.js → update-check-5KCA4TE6.js} +16 -16
- package/dist/{upgrade-command-HQBSUFNE.js → upgrade-command-MNP6G752.js} +19 -19
- package/dist/{whoami-command-23UXAC6F.js → whoami-command-E5CSF3E6.js} +4 -4
- package/dist/{workspace-TZMAJ7NF.js → workspace-WZMBLK4P.js} +2 -2
- package/dist/{workspace-binding-RBU22BBX.js → workspace-binding-JT4EK4HU.js} +3 -3
- package/dist/{workspace-command-N4BTEHSW.js → workspace-command-Z7BUA6A5.js} +29 -29
- package/dist/{workspace-env-O3RK26FR.js → workspace-env-KFWW2G7G.js} +6 -6
- package/dist/{xanosdk-import-WPCHIVP6.js → xanosdk-import-FUS3ZGGQ.js} +2 -2
- package/dist/{xanosdk-project-TEAXYQZW.js → xanosdk-project-NM2J5YFK.js} +6 -6
- package/llms-full.txt +7 -6
- package/llms.txt +7 -6
- package/manifest.json +1 -1
- package/package.json +2 -2
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
sanitizeAppName,
|
|
17
17
|
settleClashes,
|
|
18
18
|
templateVarsFor
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DW47JVXI.js";
|
|
20
20
|
import {
|
|
21
21
|
renderManifestFile,
|
|
22
22
|
reportModuleFailures
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KSGITXNE.js";
|
|
24
24
|
import {
|
|
25
25
|
ROUTES_MANIFEST_BASENAME,
|
|
26
26
|
RouteManifestError,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
archiveSeedContent,
|
|
34
34
|
fetchSourceArchive
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5DLDRUCQ.js";
|
|
36
36
|
import {
|
|
37
37
|
confirm
|
|
38
38
|
} from "./chunk-HQPL34O6.js";
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
} from "./chunk-75MKIQON.js";
|
|
90
90
|
import {
|
|
91
91
|
detectInstallMode
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-3TWQDGQY.js";
|
|
93
93
|
import {
|
|
94
94
|
UNSUPPORTED_SECTIONS,
|
|
95
95
|
decodedCounts,
|
|
@@ -104,26 +104,26 @@ import {
|
|
|
104
104
|
import {
|
|
105
105
|
ensureWorkspaceEnvGitignored,
|
|
106
106
|
requireSecretPathGitignored
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-IIAF7VKN.js";
|
|
108
108
|
import {
|
|
109
109
|
loadDefault,
|
|
110
110
|
readVersion,
|
|
111
111
|
resolveKnowledge
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-45A3AF2B.js";
|
|
113
113
|
import {
|
|
114
114
|
WORKSPACE_ENV_BASENAME,
|
|
115
115
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
116
116
|
renderWorkspaceEnvExample,
|
|
117
117
|
renderWorkspaceEnvFile,
|
|
118
118
|
valueProblem
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-XUSL2Z5C.js";
|
|
120
120
|
import {
|
|
121
121
|
memoCredential,
|
|
122
122
|
refuseProfileForLocal
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-JE7BL5IF.js";
|
|
124
124
|
import {
|
|
125
125
|
getAccessToken
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-CTKBGPM6.js";
|
|
127
127
|
import {
|
|
128
128
|
getEngineRecord
|
|
129
129
|
} from "./chunk-5Y5HWQ2P.js";
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
SECRETS_FILE_VERSION,
|
|
139
139
|
workspaceSecretsPathIn,
|
|
140
140
|
writeSecretsFile
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-FZGK4VM5.js";
|
|
142
142
|
import {
|
|
143
143
|
yesRerun
|
|
144
144
|
} from "./chunk-C2GHFADU.js";
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
plannedAgentsMd,
|
|
162
162
|
readDecodeRecord,
|
|
163
163
|
scaffoldProject
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-JSPFDMTV.js";
|
|
165
165
|
import {
|
|
166
166
|
shellWord
|
|
167
167
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
describeOrigin,
|
|
193
193
|
renderCodegenMarker,
|
|
194
194
|
renderCodegenReadme
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-IZI3SYXH.js";
|
|
196
196
|
import {
|
|
197
197
|
SUPERSEDED_STATEMENTS,
|
|
198
198
|
supersededBy
|
|
@@ -6303,7 +6303,7 @@ async function fetchBundle(args, source) {
|
|
|
6303
6303
|
...branch === void 0 ? {} : { syncTarget: { instance: auth.instance, workspaceId: auth.workspaceId, branch } }
|
|
6304
6304
|
};
|
|
6305
6305
|
}
|
|
6306
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
6306
|
+
const { projectDirFrom } = await import("./xanosdk-project-NM2J5YFK.js");
|
|
6307
6307
|
const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
|
|
6308
6308
|
const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
|
|
6309
6309
|
step(`Reading ${raw2}`);
|
|
@@ -6783,7 +6783,7 @@ async function runInitFromCommand(args, source) {
|
|
|
6783
6783
|
for (const line of routesDeferred) warn(line, "routes.not-written");
|
|
6784
6784
|
if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
|
|
6785
6785
|
if (replace.lock !== void 0) {
|
|
6786
|
-
const { reconciledLock } = await import("./pull-command-
|
|
6786
|
+
const { reconciledLock } = await import("./pull-command-KFHHW2BA.js");
|
|
6787
6787
|
writeLockFile(
|
|
6788
6788
|
replace.lock.path,
|
|
6789
6789
|
reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
|
|
@@ -6894,7 +6894,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
|
|
|
6894
6894
|
if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
|
|
6895
6895
|
return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
|
|
6896
6896
|
}
|
|
6897
|
-
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-
|
|
6897
|
+
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-KFHHW2BA.js");
|
|
6898
6898
|
const prefix = `${XANO_DIR}/`;
|
|
6899
6899
|
const incoming = new Map(
|
|
6900
6900
|
files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
|
|
@@ -7247,4 +7247,4 @@ export {
|
|
|
7247
7247
|
seedRowsListed,
|
|
7248
7248
|
seedRowsLanding
|
|
7249
7249
|
};
|
|
7250
|
-
//# sourceMappingURL=chunk-
|
|
7250
|
+
//# sourceMappingURL=chunk-BYYVOX2P.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
iconLibraryOf,
|
|
3
3
|
reactPreset,
|
|
4
4
|
renderThemeScript
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IZI3SYXH.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultThemeChoice
|
|
8
8
|
} from "./chunk-TFFGOFVZ.js";
|
|
@@ -850,4 +850,4 @@ export {
|
|
|
850
850
|
allFrontendPresets,
|
|
851
851
|
resolveFrameworkFlag
|
|
852
852
|
};
|
|
853
|
-
//# sourceMappingURL=chunk-
|
|
853
|
+
//# sourceMappingURL=chunk-C2SAVXAB.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-WZMBLK4P.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
|
}
|
|
@@ -499,7 +499,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
|
|
|
499
499
|
if (selection.source !== "file-default" && selection.source !== "implicit") return;
|
|
500
500
|
const stored = file === null ? [] : profileNames(file);
|
|
501
501
|
if (stored.length < 2) return;
|
|
502
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
502
|
+
const { projectDirFrom } = await import("./xanosdk-project-NM2J5YFK.js");
|
|
503
503
|
if (projectDirFrom(process.cwd()) === void 0) return;
|
|
504
504
|
const target = targetOf(saved);
|
|
505
505
|
credentialWarning(
|
|
@@ -862,4 +862,4 @@ export {
|
|
|
862
862
|
notSignedIn,
|
|
863
863
|
assertStoredAuthHost
|
|
864
864
|
};
|
|
865
|
-
//# sourceMappingURL=chunk-
|
|
865
|
+
//# sourceMappingURL=chunk-CTKBGPM6.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-75MKIQON.js";
|
|
5
5
|
import {
|
|
6
6
|
SourceError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HU6D6PYT.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
10
|
} from "./chunk-7JKNWDYN.js";
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
SettledWriteFailure,
|
|
83
83
|
classifyFailure
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-DHU3EGGF.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-HQPL34O6.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IIAF7VKN.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-45A3AF2B.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XUSL2Z5C.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
existingProjectClashes,
|
|
27
27
|
isNonEmptyDir,
|
|
28
28
|
scaffoldProject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-JSPFDMTV.js";
|
|
30
30
|
import {
|
|
31
31
|
inProject,
|
|
32
32
|
installModules,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
preflightPackages,
|
|
35
35
|
rebaseLocalSpec,
|
|
36
36
|
renderXanoIndexWithModules
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-U4JD5NMP.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
FRAMEWORKS,
|
|
72
72
|
allFrontendPresets,
|
|
73
73
|
findFrontendPreset
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-C2SAVXAB.js";
|
|
75
75
|
import {
|
|
76
76
|
BACKEND_TSCONFIG_PATH,
|
|
77
77
|
ICON_LIBRARIES,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
renderXanoIndex,
|
|
103
103
|
resolveIconsFlag,
|
|
104
104
|
sdkDep
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-IZI3SYXH.js";
|
|
106
106
|
import {
|
|
107
107
|
composeBlock,
|
|
108
108
|
gitattributesSpec,
|
|
@@ -728,7 +728,7 @@ async function runInitCommand(args) {
|
|
|
728
728
|
}
|
|
729
729
|
const source = resolveFromSource(args.from);
|
|
730
730
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
731
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
731
|
+
const { runInitFromCommand } = await import("./codegen-command-A7M5JLLY.js");
|
|
732
732
|
return runInitFromCommand(args, source);
|
|
733
733
|
}
|
|
734
734
|
rejectPullOnlyFlags(args);
|
|
@@ -792,7 +792,7 @@ async function runInitCommand(args) {
|
|
|
792
792
|
}
|
|
793
793
|
let scaffolded = false;
|
|
794
794
|
try {
|
|
795
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
795
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-4KS3SSJW.js");
|
|
796
796
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
797
797
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
798
798
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
@@ -927,7 +927,7 @@ async function runInitCommand(args) {
|
|
|
927
927
|
const { skewedProjectSdk } = await import("./project-sdk-IYMFVQRC.js");
|
|
928
928
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
929
929
|
if (installedSdk !== void 0) {
|
|
930
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
930
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-MNP6G752.js");
|
|
931
931
|
const rendered = reconcileWithInstalled(targetDir);
|
|
932
932
|
if (rendered.length > 0) {
|
|
933
933
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -1071,14 +1071,14 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1071
1071
|
const { readLockFile, writeLockFile } = await import("./io-PGTCBSIQ.js");
|
|
1072
1072
|
const { setDiagnosticSink } = await import("./diagnostics-FNVNRYMB.js");
|
|
1073
1073
|
const { planRouteManifest } = await import("./routes-manifest-RIZGSOZC.js");
|
|
1074
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1075
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1074
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-QFPNFJMZ.js");
|
|
1075
|
+
const { isEnabled } = await import("./toolchain-modules-4KS3SSJW.js");
|
|
1076
1076
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1077
1077
|
resetLockOverrides();
|
|
1078
1078
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1079
1079
|
const ctx = createLockContext(existing);
|
|
1080
1080
|
const { envNamesRead } = await import("./guards-4VPSEOAI.js");
|
|
1081
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1081
|
+
const { refreshEnvExample } = await import("./env-example-refresh-USAGYVJ2.js");
|
|
1082
1082
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1083
1083
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1084
1084
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1145,7 +1145,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1145
1145
|
const file = readCredentialFile(path);
|
|
1146
1146
|
const stored = file === null ? [] : profileNames(file);
|
|
1147
1147
|
if (stored.includes(name)) return;
|
|
1148
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1148
|
+
const { ProfileNotFoundError } = await import("./token-NJ5XPGGM.js");
|
|
1149
1149
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1150
1150
|
throw new ProfileNotFoundError(
|
|
1151
1151
|
`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})` : ""}.`,
|
|
@@ -1154,7 +1154,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1154
1154
|
);
|
|
1155
1155
|
}
|
|
1156
1156
|
async function envCredentialSet() {
|
|
1157
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1157
|
+
const { envMetaCredentialVarsSet } = await import("./token-NJ5XPGGM.js");
|
|
1158
1158
|
return envMetaCredentialVarsSet().length > 0;
|
|
1159
1159
|
}
|
|
1160
1160
|
function loginNextStep(pin, projectDir) {
|
|
@@ -1209,7 +1209,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1209
1209
|
};
|
|
1210
1210
|
}
|
|
1211
1211
|
if (opts.credentialRead === true) {
|
|
1212
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1212
|
+
const { environmentCredentialVars } = await import("./token-NJ5XPGGM.js");
|
|
1213
1213
|
const env = environmentCredentialVars();
|
|
1214
1214
|
if (env.complete) {
|
|
1215
1215
|
return {
|
|
@@ -1232,7 +1232,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1232
1232
|
});
|
|
1233
1233
|
const stored = file === null ? [] : profileNames(file);
|
|
1234
1234
|
if (!stored.includes(selection.name)) {
|
|
1235
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1235
|
+
const env = stored.length === 0 ? (await import("./token-NJ5XPGGM.js")).environmentCredentialVars() : void 0;
|
|
1236
1236
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1237
1237
|
return {
|
|
1238
1238
|
name: null,
|
|
@@ -1325,4 +1325,4 @@ export {
|
|
|
1325
1325
|
projectCli,
|
|
1326
1326
|
planProfilePin
|
|
1327
1327
|
};
|
|
1328
|
-
//# sourceMappingURL=chunk-
|
|
1328
|
+
//# sourceMappingURL=chunk-DW47JVXI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_WORKSPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CTKBGPM6.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialFileOf
|
|
6
6
|
} from "./chunk-6S263KTM.js";
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
rerunInWorkspace,
|
|
163
163
|
heldElsewhereError
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-ECGRCTVI.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-UK5ALWRE.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-FDZ2ANSS.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
backendDirFor,
|
|
6
6
|
backendDirIn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-77IFWJ53.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWrite
|
|
10
10
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
entryWordOf,
|
|
128
128
|
readSecretsFile
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-FZGK4VM5.js.map
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JSPFDMTV.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-DNBP4GJN.js";
|
|
11
11
|
import {
|
|
12
12
|
allFrontendPresets
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-C2SAVXAB.js";
|
|
14
14
|
import {
|
|
15
15
|
README_PATH,
|
|
16
16
|
allIconLibraries,
|
|
17
17
|
readmeBuiltWithVersion,
|
|
18
18
|
refreshReadmeBuiltWith
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IZI3SYXH.js";
|
|
20
20
|
import {
|
|
21
21
|
projectFileCli,
|
|
22
22
|
projectSdkDir,
|
|
@@ -209,4 +209,4 @@ export {
|
|
|
209
209
|
isCI,
|
|
210
210
|
refreshAgentFiles
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=chunk-
|
|
212
|
+
//# sourceMappingURL=chunk-GDAWYDHY.js.map
|