@xano/sdk 1.0.8 → 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 +24 -0
- package/README.md +85 -86
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-QJO3MT6Q.js → agent-file-refresh-VOGTQ3JE.js} +6 -6
- package/dist/{agent-skill-command-GBR4KUUG.js → agent-skill-command-LDT5JXIO.js} +16 -16
- package/dist/{backend-dir-PFUIPCV3.js → backend-dir-UNUO7TNL.js} +5 -5
- package/dist/bin.js +16 -16
- package/dist/{branch-commands-CR3SAHMV.js → branch-commands-IJ7SK5AM.js} +3 -3
- package/dist/{chunk-QRKBFXIB.js → chunk-2ND7WS3E.js} +2 -2
- package/dist/{chunk-CRE7P7P2.js → chunk-3IFRZXHN.js} +2 -2
- package/dist/{chunk-Y5ET37NN.js → chunk-3TTR4BHW.js} +2 -2
- package/dist/{chunk-K75BFHQQ.js → chunk-3TWQDGQY.js} +2 -2
- package/dist/{chunk-ZT2B22VQ.js → chunk-436AOVZS.js} +2 -2
- package/dist/{chunk-ZJCHS7FM.js → chunk-45A3AF2B.js} +54 -54
- package/dist/{chunk-XYTVP4WI.js → chunk-5DLDRUCQ.js} +3 -3
- package/dist/{chunk-NFZUXS7D.js → chunk-6BIOLAJ4.js} +5 -5
- package/dist/{chunk-S3WN6GGO.js → chunk-6NXIRULE.js} +12 -12
- package/dist/{chunk-W2BVP27L.js → chunk-77IFWJ53.js} +2 -2
- package/dist/{chunk-ZQ5WZWHF.js → chunk-BYYVOX2P.js} +17 -17
- package/dist/{chunk-BRANWM4U.js → chunk-C2SAVXAB.js} +2 -2
- package/dist/{chunk-QE2GNFMP.js → chunk-CTKBGPM6.js} +3 -3
- package/dist/{chunk-77GV772V.js → chunk-DHU3EGGF.js} +2 -2
- package/dist/{chunk-DER2CVNC.js → chunk-DSD2NNTX.js} +2 -2
- package/dist/{chunk-V7KMIEMF.js → chunk-DW47JVXI.js} +18 -18
- package/dist/{chunk-FHQYXGAY.js → chunk-ECGRCTVI.js} +2 -2
- package/dist/{chunk-FN7E6XGD.js → chunk-FDZ2ANSS.js} +2 -2
- package/dist/{chunk-UU7EEREQ.js → chunk-FZGK4VM5.js} +2 -2
- package/dist/{chunk-UKJFCEMI.js → chunk-GDAWYDHY.js} +4 -4
- package/dist/{chunk-2HZDWZM2.js → chunk-HDKSHL4Z.js} +1 -1
- package/dist/{chunk-33KELF2X.js → chunk-HMFEWTI7.js} +39 -39
- package/dist/{chunk-7UWUEUVJ.js → chunk-HU6D6PYT.js} +2 -2
- package/dist/{chunk-JG642U5D.js → chunk-IIAF7VKN.js} +2 -2
- package/dist/{chunk-AS4G2MIE.js → chunk-IW6E3LES.js} +2 -2
- package/dist/{chunk-5GIOCDUM.js → chunk-IZI3SYXH.js} +3 -3
- package/dist/{chunk-S3STXOAO.js → chunk-JE7BL5IF.js} +7 -7
- package/dist/{chunk-HKLBDSML.js → chunk-JSPFDMTV.js} +5 -5
- package/dist/{chunk-S2F7KVUL.js → chunk-KA3JN4SH.js} +2 -2
- package/dist/{chunk-P5W6DBV6.js → chunk-KCCZGDQG.js} +3 -3
- package/dist/{chunk-PAS5HOG3.js → chunk-KSGITXNE.js} +2 -2
- package/dist/{chunk-C2I4GC36.js → chunk-NIANORYB.js} +2 -2
- package/dist/{chunk-YG7S3N7P.js → chunk-PPI647YF.js} +20 -20
- package/dist/{chunk-F5RPNTN7.js → chunk-T3ZVNOJC.js} +1 -1
- package/dist/{chunk-WEQFI55W.js → chunk-THGELNPV.js} +4 -4
- package/dist/{chunk-U7XNJ33Q.js → chunk-TWBENPZR.js} +13 -13
- package/dist/{chunk-RYMGK2K5.js → chunk-U4JD5NMP.js} +2 -2
- package/dist/{chunk-JJGK7XGC.js → chunk-V5RXO5AK.js} +2 -2
- package/dist/{chunk-M3RLLT4O.js → chunk-XUSL2Z5C.js} +3 -3
- package/dist/{chunk-JPRZ4ZGU.js → chunk-Z52FKP34.js} +6 -6
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +15 -15
- package/dist/{codegen-command-4YXDJSLU.js → codegen-command-A7M5JLLY.js} +22 -22
- package/dist/{deploy-command-FIDS56ZC.js → deploy-command-RP7Q4XBE.js} +19 -19
- package/dist/{deploy-source-FPNNNNOW.js → deploy-source-ITSAHJW7.js} +8 -8
- package/dist/{dev-env-sync-RBJ2U3HG.js → dev-env-sync-SN6TL22O.js} +16 -16
- package/dist/{emit-8lcNcRrd.d.ts → emit-D-a6JznN.d.ts} +10 -4
- package/dist/{env-example-refresh-6UTTMDOI.js → env-example-refresh-USAGYVJ2.js} +23 -23
- package/dist/{env-pull-command-P5MATITQ.js → env-pull-command-6KEESNVU.js} +14 -14
- package/dist/{env-target-F75YF25S.js → env-target-HOGLLJN5.js} +2 -2
- package/dist/{env-var-command-H3GHROVB.js → env-var-command-VOAINMHX.js} +14 -14
- package/dist/{ephemeral-command-NH2XW3YK.js → ephemeral-command-I7VPCBVQ.js} +15 -15
- package/dist/{generate-command-IANKN6WV.js → generate-command-G7EJ7GW4.js} +26 -26
- package/dist/{gitignore-FT2LVOMI.js → gitignore-WFZ2BTMS.js} +7 -7
- package/dist/{impersonate-command-7B67ICPL.js → impersonate-command-ZJDK7ZYO.js} +10 -10
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{init-command-QOA4TJI2.js → init-command-CTWDNYAZ.js} +18 -18
- package/dist/{init-modules-KEEJ4HAF.js → init-modules-FJITJ6IB.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +27 -9
- package/dist/{keep-data-merge-BIBW4QR4.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-DO3PM7QP.js → landing-record-ZB4OJQF2.js} +6 -6
- package/dist/{local-engine-choice-2UF7S5QZ.js → local-engine-choice-FO7LABXX.js} +9 -9
- package/dist/{local-engine-command-WGMMZRQL.js → local-engine-command-LI7HUH5Y.js} +10 -10
- package/dist/{local-engine-mcp-command-RMVUH4FL.js → local-engine-mcp-command-EVYRLPE7.js} +10 -10
- package/dist/{lock-commands-5NMQWBGH.js → lock-commands-I4RARW5F.js} +16 -16
- package/dist/{login-command-GLLFZWHT.js → login-command-MJT5CCXL.js} +10 -10
- package/dist/{logout-command-NCMKMJWF.js → logout-command-GSQ2R3XL.js} +3 -3
- package/dist/{marketplace-command-Y3RRUEWL.js → marketplace-command-GK4F5ZZ2.js} +14 -14
- package/dist/{meta-client-Y7N6WDS2.js → meta-client-2A7LYGUQ.js} +2 -2
- package/dist/node.d.ts +4 -4
- package/dist/node.js +18 -18
- package/dist/{operation-outcome-4BFISK2R.js → operation-outcome-UK5ALWRE.js} +4 -4
- package/dist/{output-target-MFANTVGZ.js → output-target-GFPSLLEJ.js} +8 -8
- package/dist/{preflight-command-Q6XOKRM6.js → preflight-command-LP5D6UOD.js} +21 -21
- package/dist/{profile-command-XPQIXFWN.js → profile-command-R7XLNTY6.js} +11 -11
- package/dist/{promote-command-DN64QK7O.js → promote-command-TEVVCM77.js} +29 -29
- package/dist/{publish-command-SLE46MQX.js → publish-command-WTVINN5E.js} +19 -19
- package/dist/{pull-command-UVK3IOXM.js → pull-command-KFHHW2BA.js} +24 -24
- package/dist/{release-command-MKNESNGB.js → release-command-QUKHOKIY.js} +21 -21
- package/dist/{release-ns-command-HLR46IKP.js → release-ns-command-T4R3VODA.js} +34 -34
- package/dist/{routes-manifest-file-UHVVL2YB.js → routes-manifest-file-QFPNFJMZ.js} +2 -2
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-HST7BMQC.js → secrets-file-J4KFYNFP.js} +6 -6
- package/dist/{secrets-fill-command-FQJ4QFBP.js → secrets-fill-command-YIU6ESFN.js} +18 -18
- package/dist/{source-resolve-LNRUITLS.js → source-resolve-WHXNMVJT.js} +3 -3
- package/dist/{status-command-S5CBG2SW.js → status-command-DIDOS3JC.js} +13 -13
- package/dist/{store-CuD1k4kV.d.ts → store-xUySg-KR.d.ts} +1 -1
- package/dist/{sync-contributions-O5ZRM2JN.js → sync-contributions-VAGROOWY.js} +2 -2
- package/dist/{tables-command-7KI2KZOS.js → tables-command-UJLYYMME.js} +11 -11
- package/dist/{tenant-command-MQTLNETR.js → tenant-command-NGKJD3AX.js} +35 -35
- package/dist/{test-command-NLYMAAPD.js → test-command-JOPQCHJA.js} +11 -11
- package/dist/{token-3IPTVEEW.js → token-NJ5XPGGM.js} +2 -2
- package/dist/{toolchain-modules-K46KYJ4G.js → toolchain-modules-4KS3SSJW.js} +2 -2
- package/dist/{tracked-backend-FQFXTTYZ.js → tracked-backend-3U4T6ZA7.js} +10 -10
- package/dist/{update-check-FHRRUDEC.js → update-check-5KCA4TE6.js} +17 -17
- package/dist/{upgrade-command-WNBPKUXN.js → upgrade-command-MNP6G752.js} +20 -20
- package/dist/{whoami-command-DPGDK35H.js → whoami-command-E5CSF3E6.js} +4 -4
- package/dist/{workspace-2GMONZ2A.js → workspace-WZMBLK4P.js} +2 -2
- package/dist/{workspace-binding-PAUOIK3V.js → workspace-binding-JT4EK4HU.js} +3 -3
- package/dist/{workspace-command-KEKL27Y4.js → workspace-command-Z7BUA6A5.js} +30 -30
- package/dist/{workspace-env-GGEZVZDY.js → workspace-env-KFWW2G7G.js} +6 -6
- package/dist/{xanosdk-import-HYHABD5U.js → xanosdk-import-FUS3ZGGQ.js} +2 -2
- package/dist/{xanosdk-project-2T56DRYS.js → xanosdk-project-NM2J5YFK.js} +6 -6
- package/guides/cli.md +8 -7
- package/guides/deploying.md +11 -8
- package/llms/kinds-agent-mcp.md +3 -2
- package/llms/object-kinds.md +14 -0
- package/llms-full.txt +25 -9
- package/llms.txt +8 -7
- package/manifest.json +1 -1
- package/package.json +2 -2
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -142,7 +142,7 @@ var SENDS_ELSEWHERE = /* @__PURE__ */ new WeakSet();
|
|
|
142
142
|
async function reachableFirst(refusal, auth) {
|
|
143
143
|
if (!(refusal instanceof Error) || !SENDS_ELSEWHERE.has(refusal)) return refusal;
|
|
144
144
|
if (auth === void 0 || !("access_token" in auth)) return refusal;
|
|
145
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
145
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-JT4EK4HU.js");
|
|
146
146
|
try {
|
|
147
147
|
await refuseUnreachableWorkspace(auth);
|
|
148
148
|
} catch (unreachable) {
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
otherCredentialRefusal,
|
|
168
168
|
reachableFirst
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-2ND7WS3E.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DHU3EGGF.js";
|
|
4
4
|
import {
|
|
5
5
|
describeWrite
|
|
6
6
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
OperationError,
|
|
254
254
|
runOperation
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-3IFRZXHN.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ProfileNotFoundError,
|
|
6
6
|
describeRefreshAnswer,
|
|
7
7
|
environmentCredentialVars
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CTKBGPM6.js";
|
|
9
9
|
import {
|
|
10
10
|
yesRerun
|
|
11
11
|
} from "./chunk-C2GHFADU.js";
|
|
@@ -429,4 +429,4 @@ export {
|
|
|
429
429
|
salvageRevocable,
|
|
430
430
|
signInAgain
|
|
431
431
|
};
|
|
432
|
-
//# sourceMappingURL=chunk-
|
|
432
|
+
//# sourceMappingURL=chunk-3TTR4BHW.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-2TFRR6JV.js";
|
|
8
8
|
import {
|
|
9
9
|
readVersion
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-45A3AF2B.js";
|
|
11
11
|
import {
|
|
12
12
|
readPathEnvVar
|
|
13
13
|
} from "./chunk-EUUUMY7J.js";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
runExitedClean,
|
|
352
352
|
maybeNotifyUpdate
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-3TWQDGQY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5DLDRUCQ.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-436AOVZS.js.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
namesInEnvExample,
|
|
11
11
|
parseEnvFile,
|
|
12
12
|
readWorkspaceEnvFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XUSL2Z5C.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JE7BL5IF.js";
|
|
17
17
|
import {
|
|
18
18
|
isExpired
|
|
19
19
|
} from "./chunk-PFW7WFAT.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-CJDPSCMX.js";
|
|
25
25
|
import {
|
|
26
26
|
isCI
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GDAWYDHY.js";
|
|
28
28
|
import {
|
|
29
29
|
backendSlotForFlag,
|
|
30
30
|
slotValueMissing
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
defaultWorkspaceSecretsPath,
|
|
34
34
|
readSecretsFile
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FZGK4VM5.js";
|
|
36
36
|
import {
|
|
37
37
|
allLandings,
|
|
38
38
|
getEnvironment,
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
isOsMetadataFile,
|
|
144
144
|
registerAllKinds,
|
|
145
145
|
serializeBundle
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-T3ZVNOJC.js";
|
|
147
147
|
import {
|
|
148
148
|
Xano,
|
|
149
149
|
checkFilterOperands,
|
|
@@ -2552,7 +2552,7 @@ async function tsxRemedy(file) {
|
|
|
2552
2552
|
);
|
|
2553
2553
|
if (!declared) return fallback;
|
|
2554
2554
|
const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
|
|
2555
|
-
const { inProject } = await import("./init-modules-
|
|
2555
|
+
const { inProject } = await import("./init-modules-FJITJ6IB.js");
|
|
2556
2556
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2557
2557
|
}
|
|
2558
2558
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -3173,7 +3173,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3173
3173
|
let verdict = unreachableVerdicts.get(auth);
|
|
3174
3174
|
if (verdict === void 0) {
|
|
3175
3175
|
verdict = (async () => {
|
|
3176
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3176
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-JT4EK4HU.js");
|
|
3177
3177
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3178
3178
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3179
3179
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3187,7 +3187,7 @@ async function explainRejectedCredential(err) {
|
|
|
3187
3187
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3188
3188
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3189
3189
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3190
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3190
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-E5CSF3E6.js");
|
|
3191
3191
|
const { auth, args } = resolved;
|
|
3192
3192
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3193
3193
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3225,10 +3225,10 @@ function withoutSecretValue(args) {
|
|
|
3225
3225
|
}
|
|
3226
3226
|
async function nameLookupRerun(failure) {
|
|
3227
3227
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3228
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3228
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-WHXNMVJT.js");
|
|
3229
3229
|
const err = rateLimitedFailure(failure);
|
|
3230
3230
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3231
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3231
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-RP7Q4XBE.js");
|
|
3232
3232
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3233
3233
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3234
3234
|
return err.withRerun(
|
|
@@ -3283,7 +3283,7 @@ function isPathlessRun(args) {
|
|
|
3283
3283
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3284
3284
|
}
|
|
3285
3285
|
async function atProjectRoot(args, command, positional) {
|
|
3286
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3286
|
+
const { enterProjectRoot } = await import("./xanosdk-project-NM2J5YFK.js");
|
|
3287
3287
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3288
3288
|
if (entered === void 0) return command(args);
|
|
3289
3289
|
if (isPathlessRun(args)) {
|
|
@@ -3423,7 +3423,7 @@ async function dispatch(rawArgv) {
|
|
|
3423
3423
|
setHintContext(args);
|
|
3424
3424
|
runArgs = args;
|
|
3425
3425
|
noteRunArgs(args);
|
|
3426
|
-
if (isMachineOutput(args)) (await import("./update-check-
|
|
3426
|
+
if (isMachineOutput(args)) (await import("./update-check-5KCA4TE6.js")).routeUpdateNoticeToDocument();
|
|
3427
3427
|
const { command } = args;
|
|
3428
3428
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3429
3429
|
if (command === void 0) {
|
|
@@ -3444,7 +3444,7 @@ async function dispatch(rawArgv) {
|
|
|
3444
3444
|
return;
|
|
3445
3445
|
}
|
|
3446
3446
|
if (command === "init") {
|
|
3447
|
-
const { runInitCommand } = await import("./init-command-
|
|
3447
|
+
const { runInitCommand } = await import("./init-command-CTWDNYAZ.js");
|
|
3448
3448
|
return runInitCommand(args);
|
|
3449
3449
|
}
|
|
3450
3450
|
if (command === "completion") {
|
|
@@ -3467,114 +3467,114 @@ async function dispatch(rawArgv) {
|
|
|
3467
3467
|
return runCompletionCommand(shell);
|
|
3468
3468
|
}
|
|
3469
3469
|
if (command === "agent-skill") {
|
|
3470
|
-
const { runAgentSkillCommand } = await import("./agent-skill-command-
|
|
3470
|
+
const { runAgentSkillCommand } = await import("./agent-skill-command-LDT5JXIO.js");
|
|
3471
3471
|
return runAgentSkillCommand(args);
|
|
3472
3472
|
}
|
|
3473
3473
|
if (command === "upgrade") {
|
|
3474
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3474
|
+
const { runUpgradeCommand } = await import("./upgrade-command-MNP6G752.js");
|
|
3475
3475
|
return runUpgradeCommand(args);
|
|
3476
3476
|
}
|
|
3477
3477
|
if (command === "lock") {
|
|
3478
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3478
|
+
const { runLockCommand } = await import("./lock-commands-I4RARW5F.js");
|
|
3479
3479
|
const verb = args.positionals[0];
|
|
3480
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3480
|
+
const { isProjectDir } = await import("./xanosdk-project-NM2J5YFK.js");
|
|
3481
3481
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3482
3482
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3483
3483
|
}
|
|
3484
3484
|
if (command === "login") {
|
|
3485
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3485
|
+
const { runLoginCommand } = await import("./login-command-MJT5CCXL.js");
|
|
3486
3486
|
return runLoginCommand(args);
|
|
3487
3487
|
}
|
|
3488
3488
|
if (command === "logout") {
|
|
3489
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3489
|
+
const { runLogoutCommand } = await import("./logout-command-GSQ2R3XL.js");
|
|
3490
3490
|
return runLogoutCommand(args);
|
|
3491
3491
|
}
|
|
3492
3492
|
if (command === "deploy") {
|
|
3493
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3493
|
+
const { runDeployCommand } = await import("./deploy-command-RP7Q4XBE.js");
|
|
3494
3494
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3495
3495
|
}
|
|
3496
3496
|
if (command === "ephemeral") {
|
|
3497
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3497
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-I7VPCBVQ.js");
|
|
3498
3498
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3499
3499
|
}
|
|
3500
3500
|
if (command === "local") {
|
|
3501
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3501
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-LI7HUH5Y.js");
|
|
3502
3502
|
const readsProject = ["token", "stop", "update", "mcp"].includes(args.subcommand ?? "");
|
|
3503
3503
|
return readsProject ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3504
3504
|
}
|
|
3505
3505
|
if (command === "env") {
|
|
3506
3506
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3507
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3507
|
+
const { runEnvVarCommand } = await import("./env-var-command-VOAINMHX.js");
|
|
3508
3508
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3509
3509
|
}
|
|
3510
3510
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3511
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3511
|
+
const { runEnvPullCommand } = await import("./env-pull-command-6KEESNVU.js");
|
|
3512
3512
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3513
3513
|
}
|
|
3514
3514
|
if (command === "secrets") {
|
|
3515
3515
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3516
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3516
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-YIU6ESFN.js");
|
|
3517
3517
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3518
3518
|
}
|
|
3519
3519
|
if (command === "release") {
|
|
3520
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3520
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-T4R3VODA.js");
|
|
3521
3521
|
return atProjectRoot(args, runReleaseNs);
|
|
3522
3522
|
}
|
|
3523
3523
|
if (command === "pull") {
|
|
3524
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3524
|
+
const { runPullCommand } = await import("./pull-command-KFHHW2BA.js");
|
|
3525
3525
|
const first = args.positionals[0];
|
|
3526
3526
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3527
3527
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3528
3528
|
}
|
|
3529
3529
|
if (command === "generate") {
|
|
3530
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3530
|
+
const { runGenerateCommand } = await import("./generate-command-G7EJ7GW4.js");
|
|
3531
3531
|
return runGenerateCommand(args);
|
|
3532
3532
|
}
|
|
3533
3533
|
if (command === "tables") {
|
|
3534
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3534
|
+
const { runTablesCommand } = await import("./tables-command-UJLYYMME.js");
|
|
3535
3535
|
return atProjectRoot(args, runTablesCommand);
|
|
3536
3536
|
}
|
|
3537
3537
|
if (command === "impersonate") {
|
|
3538
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3538
|
+
const { runImpersonateCommand } = await import("./impersonate-command-ZJDK7ZYO.js");
|
|
3539
3539
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3540
3540
|
}
|
|
3541
3541
|
if (command === "promote") {
|
|
3542
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3542
|
+
const { runPromoteCommand } = await import("./promote-command-TEVVCM77.js");
|
|
3543
3543
|
return atProjectRoot(args, runPromoteCommand);
|
|
3544
3544
|
}
|
|
3545
3545
|
if (command === "publish") {
|
|
3546
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3546
|
+
const { runPublishCommand } = await import("./publish-command-WTVINN5E.js");
|
|
3547
3547
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3548
3548
|
}
|
|
3549
3549
|
if (command === "tenant") {
|
|
3550
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3550
|
+
const { runTenantCommand } = await import("./tenant-command-NGKJD3AX.js");
|
|
3551
3551
|
return atProjectRoot(args, runTenantCommand);
|
|
3552
3552
|
}
|
|
3553
3553
|
if (command === "test") {
|
|
3554
|
-
const { runTestCommand } = await import("./test-command-
|
|
3554
|
+
const { runTestCommand } = await import("./test-command-JOPQCHJA.js");
|
|
3555
3555
|
return atProjectRoot(args, runTestCommand);
|
|
3556
3556
|
}
|
|
3557
3557
|
if (command === "workspace") {
|
|
3558
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3558
|
+
const { runWorkspaceCommand } = await import("./workspace-command-Z7BUA6A5.js");
|
|
3559
3559
|
return runWorkspaceCommand(args);
|
|
3560
3560
|
}
|
|
3561
3561
|
if (command === "status") {
|
|
3562
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3562
|
+
const { runStatusCommand } = await import("./status-command-DIDOS3JC.js");
|
|
3563
3563
|
return runStatusCommand(args);
|
|
3564
3564
|
}
|
|
3565
3565
|
if (command === "whoami") {
|
|
3566
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3566
|
+
const { runWhoamiCommand } = await import("./whoami-command-E5CSF3E6.js");
|
|
3567
3567
|
return runWhoamiCommand(args);
|
|
3568
3568
|
}
|
|
3569
3569
|
if (command === "profile") {
|
|
3570
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3570
|
+
const { runProfileCommand } = await import("./profile-command-R7XLNTY6.js");
|
|
3571
3571
|
return runProfileCommand(args);
|
|
3572
3572
|
}
|
|
3573
3573
|
if (command === "marketplace") {
|
|
3574
3574
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3575
3575
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3576
3576
|
}
|
|
3577
|
-
const marketplace = await import("./marketplace-command-
|
|
3577
|
+
const marketplace = await import("./marketplace-command-GK4F5ZZ2.js");
|
|
3578
3578
|
const { withCatalogueRerun } = await import("./marketplace-resolve-PWEYJ2XS.js");
|
|
3579
3579
|
try {
|
|
3580
3580
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
@@ -3588,7 +3588,7 @@ async function dispatch(rawArgv) {
|
|
|
3588
3588
|
}
|
|
3589
3589
|
}
|
|
3590
3590
|
if (command === "preflight") {
|
|
3591
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3591
|
+
const { runPreflightCommand } = await import("./preflight-command-LP5D6UOD.js");
|
|
3592
3592
|
return runPreflightCommand(args);
|
|
3593
3593
|
}
|
|
3594
3594
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3603,12 +3603,12 @@ async function dispatch(rawArgv) {
|
|
|
3603
3603
|
if (command === "paths" || command === "routes") {
|
|
3604
3604
|
return runPaths(args);
|
|
3605
3605
|
}
|
|
3606
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3606
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-4KS3SSJW.js");
|
|
3607
3607
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3608
3608
|
frozen: args.frozenLock === true || args.check === true
|
|
3609
3609
|
});
|
|
3610
3610
|
if (out && !args.check) {
|
|
3611
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3611
|
+
const { assertWritableTarget } = await import("./output-target-GFPSLLEJ.js");
|
|
3612
3612
|
assertWritableTarget(out, "--out");
|
|
3613
3613
|
}
|
|
3614
3614
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3639,8 +3639,8 @@ async function dispatch(rawArgv) {
|
|
|
3639
3639
|
},
|
|
3640
3640
|
""
|
|
3641
3641
|
);
|
|
3642
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3643
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3642
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-USAGYVJ2.js");
|
|
3643
|
+
const { backendDirFor } = await import("./backend-dir-UNUO7TNL.js");
|
|
3644
3644
|
const declaredSet = new Set(declaredEnvNames);
|
|
3645
3645
|
const templateDir = backendDirFor(args.file);
|
|
3646
3646
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
|
|
@@ -3699,14 +3699,14 @@ async function dispatch(rawArgv) {
|
|
|
3699
3699
|
}
|
|
3700
3700
|
if (out) {
|
|
3701
3701
|
const { secretsCarriedBy } = await import("./live-diff-CGTGOH3S.js");
|
|
3702
|
-
const { writeExportFile } = await import("./output-target-
|
|
3702
|
+
const { writeExportFile } = await import("./output-target-GFPSLLEJ.js");
|
|
3703
3703
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3704
3704
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3705
3705
|
reportWrote(args, out, lockOutcome);
|
|
3706
3706
|
} else {
|
|
3707
3707
|
process.stdout.write(json + "\n");
|
|
3708
3708
|
const { secretsCarriedBy } = await import("./live-diff-CGTGOH3S.js");
|
|
3709
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3709
|
+
const { secretsPhrase } = await import("./output-target-GFPSLLEJ.js");
|
|
3710
3710
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3711
3711
|
if (secrets.length > 0) {
|
|
3712
3712
|
warn(
|
|
@@ -3729,7 +3729,7 @@ async function refreshAgentGuidance(args) {
|
|
|
3729
3729
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3730
3730
|
const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3731
3731
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3732
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3732
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-VOGTQ3JE.js");
|
|
3733
3733
|
if (projectSdk !== void 0) {
|
|
3734
3734
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3735
3735
|
const file = args.file;
|
|
@@ -3963,7 +3963,7 @@ async function runPaths(args) {
|
|
|
3963
3963
|
const lockPath = resolveLockPath(args, file);
|
|
3964
3964
|
resetLockOverrides();
|
|
3965
3965
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
3966
|
-
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-
|
|
3966
|
+
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-4KS3SSJW.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
|
|
3967
3967
|
frozen: args.strict === true,
|
|
3968
3968
|
// A module outside its SDK peer range keeps its block and is named,
|
|
3969
3969
|
// as any other skip is; it does not abort every `dev` and `build`.
|
|
@@ -4021,7 +4021,7 @@ async function runPaths(args) {
|
|
|
4021
4021
|
if (machine && args.emit !== "-") writeJson({ emit: resolve2(args.emit), written: false, routes: 0, channels: 0 });
|
|
4022
4022
|
return;
|
|
4023
4023
|
}
|
|
4024
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4024
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-QFPNFJMZ.js");
|
|
4025
4025
|
const loaded = toolchain?.loaded ?? [];
|
|
4026
4026
|
const skipped = toolchain?.skipped ?? [];
|
|
4027
4027
|
const rendered = renderManifestFile(
|
|
@@ -4126,7 +4126,7 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4126
4126
|
resetLockOverrides();
|
|
4127
4127
|
const lockPath = join2(dirname2(resolve2(entry)), "xano.lock");
|
|
4128
4128
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4129
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
4129
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-4KS3SSJW.js");
|
|
4130
4130
|
const toolchain = existsSync2(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
|
|
4131
4131
|
const def = await loadDefault(entry);
|
|
4132
4132
|
if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
|
|
@@ -4138,12 +4138,12 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4138
4138
|
} finally {
|
|
4139
4139
|
setDiagnosticSink(previousSink);
|
|
4140
4140
|
}
|
|
4141
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4141
|
+
const { pulledIdentities } = await import("./pull-command-KFHHW2BA.js");
|
|
4142
4142
|
const live = pulledIdentities(payload);
|
|
4143
4143
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4144
4144
|
if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
|
|
4145
4145
|
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-RIZGSOZC.js");
|
|
4146
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4146
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-QFPNFJMZ.js");
|
|
4147
4147
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4148
4148
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4149
4149
|
const current = readFileSync3(emit2, "utf8");
|
|
@@ -4667,7 +4667,7 @@ async function refineGonePullHint(err) {
|
|
|
4667
4667
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4668
4668
|
let gone;
|
|
4669
4669
|
try {
|
|
4670
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4670
|
+
const { lookupEphemeral } = await import("./source-resolve-WHXNMVJT.js");
|
|
4671
4671
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4672
4672
|
} catch {
|
|
4673
4673
|
return;
|
|
@@ -4871,4 +4871,4 @@ export {
|
|
|
4871
4871
|
docTokenRefusalIfReplaced,
|
|
4872
4872
|
envRefusalIfReplaced
|
|
4873
4873
|
};
|
|
4874
|
-
//# sourceMappingURL=chunk-
|
|
4874
|
+
//# sourceMappingURL=chunk-45A3AF2B.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-X4DVXBFY.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveSource
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HU6D6PYT.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadRelease
|
|
16
16
|
} from "./chunk-7JKNWDYN.js";
|
|
17
17
|
import {
|
|
18
18
|
backendDirIn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-77IFWJ53.js";
|
|
20
20
|
import {
|
|
21
21
|
BARE,
|
|
22
22
|
UsageError,
|
|
@@ -144,4 +144,4 @@ export {
|
|
|
144
144
|
gatedApiGroups,
|
|
145
145
|
asWorkspaceArchive
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk-
|
|
147
|
+
//# sourceMappingURL=chunk-5DLDRUCQ.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-XQO4A4Q4.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CTKBGPM6.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
32
|
} from "./chunk-C2GHFADU.js";
|
|
@@ -139,7 +139,7 @@ async function runBranchCommand(args) {
|
|
|
139
139
|
const workspaceId = auth.workspaceId;
|
|
140
140
|
const target = { baseUrl: auth.instance, workspaceId };
|
|
141
141
|
const { branches, unaddressable } = await listBranchListing(auth, target).catch(async (err) => {
|
|
142
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
142
|
+
const { unansweredRead } = await import("./source-resolve-WHXNMVJT.js");
|
|
143
143
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
144
144
|
});
|
|
145
145
|
if (verb === "list") {
|
|
@@ -161,7 +161,7 @@ async function runBranchCommand(args) {
|
|
|
161
161
|
const meant = near.map((n) => `Did you mean "${safeText(n)}"? \`xanosdk workspace branch delete ${shellWord(n)}${again}\` deletes it, after asking to confirm.`);
|
|
162
162
|
const branchesLine = known !== "" ? [`Its branches: ${known}.`] : [];
|
|
163
163
|
if (near.length > 0) {
|
|
164
|
-
const { SourceError } = await import("./source-resolve-
|
|
164
|
+
const { SourceError } = await import("./source-resolve-WHXNMVJT.js");
|
|
165
165
|
throw new SourceError([missed, ...meant, ...branchesLine].join("\n"), "gone", "workspace", near[0], near.length > 1 ? near : void 0);
|
|
166
166
|
}
|
|
167
167
|
warn(missed, "branch.not-found", branchesLine);
|
|
@@ -280,7 +280,7 @@ Check what is serving with \`xanosdk workspace branch list${contextFlags()}\`, t
|
|
|
280
280
|
}
|
|
281
281
|
if (args.expectLive !== void 0) {
|
|
282
282
|
const now = await listBranchListing(auth, target).catch(async (err) => {
|
|
283
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
283
|
+
const { unansweredRead } = await import("./source-resolve-WHXNMVJT.js");
|
|
284
284
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
285
285
|
});
|
|
286
286
|
const drift = liveMismatch(now, args.expectLive);
|
|
@@ -424,4 +424,4 @@ export {
|
|
|
424
424
|
liveBranchMismatch,
|
|
425
425
|
staleSchemaRefs
|
|
426
426
|
};
|
|
427
|
-
//# sourceMappingURL=chunk-
|
|
427
|
+
//# sourceMappingURL=chunk-6BIOLAJ4.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOperation,
|
|
3
3
|
runOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3IFRZXHN.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWorkspaceBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BYYVOX2P.js";
|
|
8
8
|
import {
|
|
9
9
|
assertReleaseIdentitiesFree,
|
|
10
10
|
pinnedCanonicalGuids,
|
|
11
11
|
setLiveRollback
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PPI647YF.js";
|
|
13
13
|
import {
|
|
14
14
|
objectDigests,
|
|
15
15
|
syncDigests
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
asWorkspaceArchive,
|
|
19
19
|
resolveProjectEntry
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5DLDRUCQ.js";
|
|
21
21
|
import {
|
|
22
22
|
liveBranchMismatch,
|
|
23
23
|
liveMismatch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6BIOLAJ4.js";
|
|
25
25
|
import {
|
|
26
26
|
confirm
|
|
27
27
|
} from "./chunk-HQPL34O6.js";
|
|
@@ -50,14 +50,14 @@ import {
|
|
|
50
50
|
import {
|
|
51
51
|
landingLockPath,
|
|
52
52
|
recordForeignLanding
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-KA3JN4SH.js";
|
|
54
54
|
import {
|
|
55
55
|
recordSync
|
|
56
56
|
} from "./chunk-R3LANPQZ.js";
|
|
57
57
|
import {
|
|
58
58
|
SettledWriteFailure,
|
|
59
59
|
classifyFailure
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-DHU3EGGF.js";
|
|
61
61
|
import {
|
|
62
62
|
exportWorkspaceBundle
|
|
63
63
|
} from "./chunk-QC3MKMDK.js";
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
} from "./chunk-XQO4A4Q4.js";
|
|
84
84
|
import {
|
|
85
85
|
resolveSource
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-HU6D6PYT.js";
|
|
87
87
|
import {
|
|
88
88
|
ReleaseHttpError,
|
|
89
89
|
UNPROMOTABLE_RELEASE_PARTS,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
} from "./chunk-7JKNWDYN.js";
|
|
96
96
|
import {
|
|
97
97
|
getAccessToken
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-CTKBGPM6.js";
|
|
99
99
|
import {
|
|
100
100
|
readLockFile
|
|
101
101
|
} from "./chunk-CJDPSCMX.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-3U4T6ZA7.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-WHXNMVJT.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-6NXIRULE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JSPFDMTV.js";
|
|
4
4
|
import {
|
|
5
5
|
projectRootFrom
|
|
6
6
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
backendDirIn,
|
|
68
68
|
resolveBackendDir
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-77IFWJ53.js.map
|