@xano/sdk 1.0.12 → 1.0.13
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 +13 -0
- package/README.md +8 -8
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-YM5VRRHE.js → agent-file-refresh-DAFGNMQX.js} +4 -4
- package/dist/{agent-skill-command-GVVCBAGF.js → agent-skill-command-6M46ZGOL.js} +13 -13
- package/dist/{backend-dir-NZOLU7TL.js → backend-dir-J2J7JNS6.js} +4 -4
- package/dist/bin.js +13 -13
- package/dist/{branch-commands-Q46PCVHU.js → branch-commands-BUKVE637.js} +3 -3
- package/dist/{chunk-2PAVJ3QD.js → chunk-5ONWBQ2C.js} +2 -2
- package/dist/{chunk-ETMP7SJ3.js → chunk-5SMUND4J.js} +3 -3
- package/dist/{chunk-UZ55F3UK.js → chunk-5XDKKE5Y.js} +2 -2
- package/dist/{chunk-WXLZCBPG.js → chunk-6HTXQAMG.js} +2 -2
- package/dist/{chunk-PBIV4DE2.js → chunk-6OOZJQJK.js} +39 -39
- package/dist/{chunk-2RDZDDPR.js → chunk-CGZSF756.js} +12 -12
- package/dist/{chunk-G3A3XKCS.js → chunk-DPSR5GRE.js} +20 -20
- package/dist/{chunk-DH32QXVI.js → chunk-EKS7SAZS.js} +16 -16
- package/dist/{chunk-2K2G5TSR.js → chunk-ENAUSLMP.js} +3 -3
- package/dist/{chunk-5RSPMSSQ.js → chunk-ENBGJJJH.js} +3 -3
- package/dist/{chunk-5SZSLAAC.js → chunk-FBWMKHLO.js} +1 -1
- package/dist/{chunk-MFEO3EHL.js → chunk-GRWYO2MS.js} +2 -2
- package/dist/{chunk-OKR66IGL.js → chunk-H6VVSGKN.js} +2 -2
- package/dist/{chunk-SAKWZG5I.js → chunk-HDANNK4A.js} +2 -2
- package/dist/{chunk-RNVGXJJZ.js → chunk-HEMWBHQS.js} +7 -7
- package/dist/{chunk-HA5Y645X.js → chunk-MLKJUEG3.js} +12 -12
- package/dist/{chunk-ANBIMJPM.js → chunk-NMHTB346.js} +3 -3
- package/dist/{chunk-RFB4EXM5.js → chunk-O6PWEJUV.js} +2 -2
- package/dist/{chunk-CPFWVB3V.js → chunk-P6HXDOFG.js} +6 -6
- package/dist/{chunk-7XOQXZ6W.js → chunk-QWWQM4XZ.js} +2 -2
- package/dist/{chunk-OK7CBTFW.js → chunk-RAGFXELQ.js} +2 -2
- package/dist/{chunk-4GSXWOBS.js → chunk-RQHXYL77.js} +2 -2
- package/dist/{chunk-HJSAGGHU.js → chunk-SBS2IYTN.js} +2 -2
- package/dist/{chunk-AMHAGMJM.js → chunk-TANWE2ZY.js} +53 -53
- package/dist/{chunk-EC5P4W2D.js → chunk-U4BGBU3R.js} +15 -15
- package/dist/{chunk-4COXXP55.js → chunk-UDCKYLBW.js} +2 -2
- package/dist/{chunk-EMAFZROF.js → chunk-UECNKDDA.js} +2 -2
- package/dist/{chunk-6IOBEJWA.js → chunk-UKC65HBQ.js} +2 -2
- package/dist/{chunk-JPAUQ7MK.js → chunk-VFRL4G72.js} +2 -2
- package/dist/{chunk-74NRFGL7.js → chunk-WQZCFVAD.js} +2 -2
- package/dist/{chunk-TOW4EJON.js → chunk-XL7EA62X.js} +2 -2
- package/dist/{chunk-SAYHY2N3.js → chunk-XYVPF63S.js} +2 -2
- package/dist/{chunk-WQNN6WLB.js → chunk-ZACMAKZE.js} +5 -5
- package/dist/{chunk-U5CTYBAN.js → chunk-ZGNWMGN3.js} +4 -4
- package/dist/{chunk-3XZ44H2E.js → chunk-ZISPEBNM.js} +5 -2
- package/dist/{chunk-LDSZPRGV.js → chunk-ZSMHS7BU.js} +2 -2
- package/dist/cli.js +12 -12
- package/dist/{codegen-command-H3HO7UFA.js → codegen-command-BAFON45M.js} +19 -19
- package/dist/{deploy-command-7PWQJ4VV.js → deploy-command-JW7R3BPW.js} +16 -16
- package/dist/{deploy-source-CJHEVGOS.js → deploy-source-ZUPLAL7L.js} +7 -7
- package/dist/{dev-env-sync-VVLYQUPR.js → dev-env-sync-W7OTV7OD.js} +13 -13
- package/dist/{env-example-refresh-GLFC2FTE.js → env-example-refresh-TS7WBVZQ.js} +20 -20
- package/dist/{env-pull-command-OY3SXNJC.js → env-pull-command-5IYXQ2WK.js} +13 -13
- package/dist/{env-target-PDDDAA5I.js → env-target-TQBPLU2S.js} +2 -2
- package/dist/{env-var-command-UTYDJN24.js → env-var-command-AKCWYZPB.js} +13 -13
- package/dist/{ephemeral-command-ALIHUF7G.js → ephemeral-command-SJYH6XRS.js} +14 -14
- package/dist/{generate-command-S37XFYPD.js → generate-command-FSCFZPOJ.js} +23 -23
- package/dist/{gitignore-DKDWGWPS.js → gitignore-6IJ66XME.js} +6 -6
- package/dist/{impersonate-command-HPCSKJAV.js → impersonate-command-IH4HMSS3.js} +9 -9
- package/dist/{init-command-RWXBXJPG.js → init-command-STB4YSAK.js} +15 -15
- package/dist/{init-modules-LFLW2PQC.js → init-modules-YIZYPCMM.js} +2 -2
- package/dist/internal.js +4 -4
- package/dist/{keep-data-merge-7JGGZKDM.js → keep-data-merge-VRKS64JK.js} +4 -4
- package/dist/{landing-record-QJV7KNS4.js → landing-record-5EFK7RI6.js} +5 -5
- package/dist/{local-engine-choice-NNSHE5FO.js → local-engine-choice-TRTEJVMV.js} +8 -8
- package/dist/{local-engine-command-UGIZ4UO6.js → local-engine-command-2FK2PE2P.js} +9 -9
- package/dist/{local-engine-mcp-command-YUSZC7MF.js → local-engine-mcp-command-FB7EOGG6.js} +9 -9
- package/dist/{lock-commands-VT4R2DEE.js → lock-commands-7PBZIRWR.js} +13 -13
- package/dist/{login-command-4D3KPQUY.js → login-command-2O6GRMTH.js} +9 -9
- package/dist/{logout-command-ALKHCJKS.js → logout-command-RZXGW3O2.js} +3 -3
- package/dist/{marketplace-command-64TE2NGV.js → marketplace-command-NCMLGIMS.js} +13 -13
- package/dist/{meta-client-7MLLUZB4.js → meta-client-DYYM5F5G.js} +2 -2
- package/dist/node.js +14 -14
- package/dist/{operation-outcome-TYAOVNOM.js → operation-outcome-SHNROAFA.js} +4 -4
- package/dist/{output-target-63ECBUX2.js → output-target-PSSR3E4N.js} +7 -7
- package/dist/plugin.d.ts +2 -1
- package/dist/{preflight-command-OUVAX5IJ.js → preflight-command-6F7JF3YQ.js} +18 -18
- package/dist/{profile-command-NUO5U2HQ.js → profile-command-5AOGD6GV.js} +10 -10
- package/dist/{promote-command-MGLAYQDY.js → promote-command-O2NRRFLK.js} +26 -26
- package/dist/{publish-command-KVGNFBSU.js → publish-command-6VVSJPLI.js} +16 -16
- package/dist/{pull-command-OVXIMVUB.js → pull-command-GE2WUEUF.js} +21 -21
- package/dist/{release-command-E54WUJKB.js → release-command-55RTR674.js} +18 -18
- package/dist/{release-ns-command-SLRL3O3W.js → release-ns-command-5XPZ2B6N.js} +31 -31
- package/dist/{routes-manifest-file-IX4TOZCO.js → routes-manifest-file-42FTJHRY.js} +2 -2
- package/dist/{secrets-file-4NQWGCJG.js → secrets-file-N5IF265R.js} +5 -5
- package/dist/{secrets-fill-command-5NNHSYFX.js → secrets-fill-command-35WKBURT.js} +15 -15
- package/dist/{source-resolve-HSJSVKUC.js → source-resolve-JXGOVJD3.js} +3 -3
- package/dist/{status-command-UFIMW7SZ.js → status-command-G3DFRMU7.js} +12 -12
- package/dist/{sync-contributions-35ZAYBUH.js → sync-contributions-7T4CSPVQ.js} +2 -2
- package/dist/{tables-command-TISOU6DR.js → tables-command-7NUOZBHX.js} +10 -10
- package/dist/{tenant-command-ITCPN43T.js → tenant-command-JGEHRKN7.js} +32 -32
- package/dist/{test-command-7SFAJ6HX.js → test-command-2LNEA6GK.js} +10 -10
- package/dist/{token-OXGOA6WE.js → token-DWNH44NW.js} +2 -2
- package/dist/{toolchain-modules-Q3Z6APPF.js → toolchain-modules-F4DUMWTO.js} +2 -2
- package/dist/{tracked-backend-IYTIZZYV.js → tracked-backend-ZFXVLBBJ.js} +9 -9
- package/dist/{update-check-LSCQRDRR.js → update-check-KBHT63GJ.js} +14 -14
- package/dist/{upgrade-command-RQEQJO5Y.js → upgrade-command-CI543AZP.js} +16 -16
- package/dist/{whoami-command-NT3FVBZM.js → whoami-command-77DXENWD.js} +4 -4
- package/dist/{workspace-5RHOJC7K.js → workspace-RI5C77BZ.js} +2 -2
- package/dist/{workspace-binding-YUU6KB53.js → workspace-binding-PR57NBGH.js} +3 -3
- package/dist/{workspace-command-QSJHX5RS.js → workspace-command-6HHVFQKW.js} +27 -27
- package/dist/{workspace-env-M7RYVJB3.js → workspace-env-2APJEASO.js} +5 -5
- package/dist/{xanosdk-import-4TLNYFKC.js → xanosdk-import-HBQH3ZBS.js} +2 -2
- package/dist/{xanosdk-project-4NH6332J.js → xanosdk-project-W45IR3Q7.js} +5 -5
- package/guides/authoring.md +13 -7
- package/guides/bundle.md +1 -1
- package/guides/cli.md +28 -18
- package/guides/codegen.md +3 -2
- package/guides/coverage.md +4 -3
- package/guides/deploying.md +17 -10
- package/guides/environment.md +12 -12
- package/guides/marketplace.md +12 -6
- package/guides/module-contract.md +11 -6
- package/guides/object-kinds.md +8 -5
- package/guides/scaffold.md +24 -12
- package/guides/typed-frontend.md +7 -6
- package/llms/kinds-knowledge.md +2 -2
- package/llms/object-kinds.md +2 -2
- package/llms-full.txt +6 -6
- package/llms.txt +2 -2
- package/manifest.json +2 -2
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pinWrittenText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UECNKDDA.js";
|
|
4
4
|
import {
|
|
5
5
|
acquireEngine,
|
|
6
6
|
restartMismatchedEngine
|
|
7
7
|
} from "./chunk-XM56DAM7.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveProjectEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5SMUND4J.js";
|
|
11
11
|
import {
|
|
12
12
|
confirm
|
|
13
13
|
} from "./chunk-XFQAA2SU.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
NO_CREDENTIAL,
|
|
41
41
|
SourceError,
|
|
42
42
|
resolveSource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-6HTXQAMG.js";
|
|
44
44
|
import {
|
|
45
45
|
clearEngineRecordsNamed,
|
|
46
46
|
clearEngineRecordsStillMatching,
|
|
@@ -84,7 +84,7 @@ async function runLocalEngineCommand(args, opts = {}) {
|
|
|
84
84
|
case "token":
|
|
85
85
|
return runToken(args, opts);
|
|
86
86
|
case "mcp":
|
|
87
|
-
return (await import("./local-engine-mcp-command-
|
|
87
|
+
return (await import("./local-engine-mcp-command-FB7EOGG6.js")).runMcp(args, opts);
|
|
88
88
|
case "stop":
|
|
89
89
|
return runStop(args, opts);
|
|
90
90
|
case "update":
|
|
@@ -372,7 +372,7 @@ Run this from the project's root.`
|
|
|
372
372
|
}
|
|
373
373
|
async function repointDevEnvAfterRestart(dir, restarted) {
|
|
374
374
|
if (restarted.previousUrl === void 0) return void 0;
|
|
375
|
-
const { repointDevEnv } = await import("./dev-env-sync-
|
|
375
|
+
const { repointDevEnv } = await import("./dev-env-sync-W7OTV7OD.js");
|
|
376
376
|
try {
|
|
377
377
|
return repointDevEnv(dir, restarted.previousUrl, restarted.url);
|
|
378
378
|
} catch (err) {
|
|
@@ -704,4 +704,4 @@ export {
|
|
|
704
704
|
reportOrphanSweep,
|
|
705
705
|
resolveLiveEngine
|
|
706
706
|
};
|
|
707
|
-
//# sourceMappingURL=chunk-
|
|
707
|
+
//# sourceMappingURL=chunk-P6HXDOFG.js.map
|
|
@@ -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-PR57NBGH.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-QWWQM4XZ.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
// src/emit/routes-manifest-file.ts
|
|
16
16
|
import { existsSync, readFileSync, statSync } from "fs";
|
|
17
17
|
async function discoverManifestModules(projectDir, manifestPath, sdkVersion) {
|
|
18
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
18
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-F4DUMWTO.js");
|
|
19
19
|
const { loaded, skipped } = await discoverToolchainPlugins(projectDir, { frozen: false, peerSkew: "skip" });
|
|
20
20
|
return {
|
|
21
21
|
loaded,
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
renderManifestFile,
|
|
76
76
|
reportModuleFailures
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-RAGFXELQ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZISPEBNM.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-DNBP4GJN.js";
|
|
@@ -209,4 +209,4 @@ export {
|
|
|
209
209
|
isCI,
|
|
210
210
|
refreshAgentFiles
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=chunk-
|
|
212
|
+
//# sourceMappingURL=chunk-RQHXYL77.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XYVPF63S.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-SBS2IYTN.js.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
namesInEnvExample,
|
|
11
11
|
parseEnvFile,
|
|
12
12
|
readWorkspaceEnvFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ENBGJJJH.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HEMWBHQS.js";
|
|
17
17
|
import {
|
|
18
18
|
isExpired
|
|
19
19
|
} from "./chunk-XVOODRNK.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-CJDPSCMX.js";
|
|
25
25
|
import {
|
|
26
26
|
isCI
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RQHXYL77.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-UDCKYLBW.js";
|
|
36
36
|
import {
|
|
37
37
|
allLandings,
|
|
38
38
|
getEnvironment,
|
|
@@ -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-YIZYPCMM.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-PR57NBGH.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-77DXENWD.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-JXGOVJD3.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-JW7R3BPW.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-W45IR3Q7.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-KBHT63GJ.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-STB4YSAK.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-6M46ZGOL.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-CI543AZP.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-7PBZIRWR.js");
|
|
3479
3479
|
const verb = args.positionals[0];
|
|
3480
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3480
|
+
const { isProjectDir } = await import("./xanosdk-project-W45IR3Q7.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-2O6GRMTH.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-RZXGW3O2.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-JW7R3BPW.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-SJYH6XRS.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-2FK2PE2P.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-AKCWYZPB.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-5IYXQ2WK.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-35WKBURT.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-5XPZ2B6N.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-GE2WUEUF.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-FSCFZPOJ.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-7NUOZBHX.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-IH4HMSS3.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-O2NRRFLK.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-6VVSJPLI.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-JGEHRKN7.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-2LNEA6GK.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-6HHVFQKW.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-G3DFRMU7.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-77DXENWD.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-5AOGD6GV.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-NCMLGIMS.js");
|
|
3578
3578
|
const { withCatalogueRerun } = await import("./marketplace-resolve-HPCRNV5O.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-6F7JF3YQ.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-F4DUMWTO.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-PSSR3E4N.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-TS7WBVZQ.js");
|
|
3643
|
+
const { backendDirFor } = await import("./backend-dir-J2J7JNS6.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-HARRGFV4.js");
|
|
3702
|
-
const { writeExportFile } = await import("./output-target-
|
|
3702
|
+
const { writeExportFile } = await import("./output-target-PSSR3E4N.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-HARRGFV4.js");
|
|
3709
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3709
|
+
const { secretsPhrase } = await import("./output-target-PSSR3E4N.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-DAFGNMQX.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-F4DUMWTO.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`.
|
|
@@ -4027,7 +4027,7 @@ async function runPaths(args) {
|
|
|
4027
4027
|
if (machine && args.emit !== "-") writeJson(emitDoc(false));
|
|
4028
4028
|
return;
|
|
4029
4029
|
}
|
|
4030
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4030
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-42FTJHRY.js");
|
|
4031
4031
|
const loaded = toolchain?.loaded ?? [];
|
|
4032
4032
|
const skipped = toolchain?.skipped ?? [];
|
|
4033
4033
|
const rendered = renderManifestFile(
|
|
@@ -4112,7 +4112,7 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4112
4112
|
resetLockOverrides();
|
|
4113
4113
|
const lockPath = join2(dirname2(resolve2(entry)), "xano.lock");
|
|
4114
4114
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4115
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
4115
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-F4DUMWTO.js");
|
|
4116
4116
|
const toolchain = existsSync2(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
|
|
4117
4117
|
const def = await loadDefault(entry);
|
|
4118
4118
|
if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
|
|
@@ -4124,12 +4124,12 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4124
4124
|
} finally {
|
|
4125
4125
|
setDiagnosticSink(previousSink);
|
|
4126
4126
|
}
|
|
4127
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4127
|
+
const { pulledIdentities } = await import("./pull-command-GE2WUEUF.js");
|
|
4128
4128
|
const live = pulledIdentities(payload);
|
|
4129
4129
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4130
4130
|
if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
|
|
4131
4131
|
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-ET2TTSCL.js");
|
|
4132
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4132
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-42FTJHRY.js");
|
|
4133
4133
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4134
4134
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4135
4135
|
const current = readFileSync3(emit2, "utf8");
|
|
@@ -4653,7 +4653,7 @@ async function refineGonePullHint(err) {
|
|
|
4653
4653
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4654
4654
|
let gone;
|
|
4655
4655
|
try {
|
|
4656
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4656
|
+
const { lookupEphemeral } = await import("./source-resolve-JXGOVJD3.js");
|
|
4657
4657
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4658
4658
|
} catch {
|
|
4659
4659
|
return;
|
|
@@ -4857,4 +4857,4 @@ export {
|
|
|
4857
4857
|
docTokenRefusalIfReplaced,
|
|
4858
4858
|
envRefusalIfReplaced
|
|
4859
4859
|
};
|
|
4860
|
-
//# sourceMappingURL=chunk-
|
|
4860
|
+
//# sourceMappingURL=chunk-TANWE2ZY.js.map
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
sanitizeAppName,
|
|
17
17
|
settleClashes,
|
|
18
18
|
templateVarsFor
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EKS7SAZS.js";
|
|
20
20
|
import {
|
|
21
21
|
renderManifestFile,
|
|
22
22
|
reportModuleFailures
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RAGFXELQ.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-5SMUND4J.js";
|
|
36
36
|
import {
|
|
37
37
|
confirm
|
|
38
38
|
} from "./chunk-XFQAA2SU.js";
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
} from "./chunk-PCHIHVX6.js";
|
|
90
90
|
import {
|
|
91
91
|
detectInstallMode
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-WQZCFVAD.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-ZSMHS7BU.js";
|
|
108
108
|
import {
|
|
109
109
|
loadDefault,
|
|
110
110
|
readVersion,
|
|
111
111
|
resolveKnowledge
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-TANWE2ZY.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-ENBGJJJH.js";
|
|
120
120
|
import {
|
|
121
121
|
memoCredential,
|
|
122
122
|
refuseProfileForLocal
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-HEMWBHQS.js";
|
|
124
124
|
import {
|
|
125
125
|
getAccessToken
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-NMHTB346.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-UDCKYLBW.js";
|
|
142
142
|
import {
|
|
143
143
|
yesRerun
|
|
144
144
|
} from "./chunk-N3XSXGAL.js";
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
plannedAgentsMd,
|
|
162
162
|
readDecodeRecord,
|
|
163
163
|
scaffoldProject
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-ZISPEBNM.js";
|
|
165
165
|
import {
|
|
166
166
|
shellWord
|
|
167
167
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -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-W45IR3Q7.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-GE2WUEUF.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-GE2WUEUF.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-U4BGBU3R.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
backendDirFor,
|
|
6
6
|
backendDirIn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GRWYO2MS.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-UDCKYLBW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5SMUND4J.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-UECNKDDA.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-EUUUMY7J.js";
|
|
4
4
|
import {
|
|
5
5
|
backendDirIn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GRWYO2MS.js";
|
|
7
7
|
import {
|
|
8
8
|
shellWord
|
|
9
9
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -154,4 +154,4 @@ export {
|
|
|
154
154
|
RELATIVE_PATH_ARGS,
|
|
155
155
|
enterProjectRoot
|
|
156
156
|
};
|
|
157
|
-
//# sourceMappingURL=chunk-
|
|
157
|
+
//# sourceMappingURL=chunk-UKC65HBQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureExportGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZSMHS7BU.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-VFRL4G72.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-TANWE2ZY.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-WQZCFVAD.js.map
|