@xano/sdk 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-MQKCS7QZ.js → agent-file-refresh-LB6KIMFY.js} +6 -6
- package/dist/{backend-dir-DGAQL4K5.js → backend-dir-WZADOK3L.js} +6 -6
- package/dist/bin.js +15 -15
- package/dist/{branch-commands-R4PPN3Z7.js → branch-commands-ZT2MJIRS.js} +3 -3
- package/dist/{chunk-46TUUNM3.js → chunk-2AUV6NXK.js} +2 -2
- package/dist/{chunk-A4KBHTMK.js → chunk-2B22WWKL.js} +12 -12
- package/dist/{chunk-FSYVOCS7.js → chunk-3FN2BIGB.js} +7 -8
- package/dist/{chunk-YTPGQV5C.js → chunk-3P3HXN76.js} +2 -2
- package/dist/{chunk-K3LE5B5E.js → chunk-44B4V2LR.js} +39 -39
- package/dist/{chunk-ZTUNCVAR.js → chunk-45YPFB7B.js} +20 -20
- package/dist/{chunk-WGA25EV5.js → chunk-5WGVIXMD.js} +1 -1
- package/dist/{chunk-IRQCV3OT.js → chunk-664LSWE5.js} +3 -3
- package/dist/{chunk-QEZL5MPJ.js → chunk-6VBTPV2Y.js} +3 -3
- package/dist/{chunk-Z5UCPWGU.js → chunk-7PMVIHB3.js} +11 -11
- package/dist/{chunk-LAKHO2B7.js → chunk-C4FHQA7R.js} +2 -2
- package/dist/{chunk-6NYLVUSZ.js → chunk-D5ZEAF4G.js} +17 -17
- package/dist/{chunk-ERJNHEFV.js → chunk-E6H5ZEV3.js} +2 -2
- package/dist/{chunk-7KLAMYMS.js → chunk-ESZ2FF57.js} +14 -14
- package/dist/{chunk-D3XOH7E7.js → chunk-ET5DSBAC.js} +2 -2
- package/dist/{chunk-ZH5R7NKN.js → chunk-FJWZ5OVV.js} +2 -2
- package/dist/{chunk-HHFPIJGL.js → chunk-HUSH7LRI.js} +2 -2
- package/dist/{chunk-AMTJ4G32.js → chunk-IJ3SXSZM.js} +2 -2
- package/dist/{chunk-ZZEIC5PT.js → chunk-JP7M7OU7.js} +2 -2
- package/dist/{chunk-UWY3R4TS.js → chunk-L2GLOJAO.js} +2 -2
- package/dist/{chunk-SEATQLFB.js → chunk-LIVN53UV.js} +7 -7
- package/dist/{chunk-CJPLBFFY.js → chunk-LUTMOHOW.js} +3 -3
- package/dist/{chunk-OO63ZU46.js → chunk-MCTIKRMN.js} +4 -4
- package/dist/{chunk-NPXM6ZQY.js → chunk-MLGI2SRQ.js} +2 -2
- package/dist/{chunk-XCPF7BEJ.js → chunk-MLPDSGJQ.js} +2 -2
- package/dist/{chunk-JTM5D7CT.js → chunk-O5V3YH5P.js} +2 -2
- package/dist/{chunk-ZVYN4FXD.js → chunk-OGBMUST4.js} +5 -5
- package/dist/{chunk-FURLOAUM.js → chunk-PML67X22.js} +2 -2
- package/dist/{chunk-7TXBKK5G.js → chunk-QAEQGT5I.js} +2 -2
- package/dist/{chunk-ANHOEBTJ.js → chunk-S7E2AHV3.js} +2 -2
- package/dist/{chunk-PWIXETG7.js → chunk-T4DUFQ2S.js} +2 -2
- package/dist/{chunk-7KGASMCE.js → chunk-VRVKNY4A.js} +3 -3
- package/dist/{chunk-KXYW3DRR.js → chunk-WFMVKY7I.js} +2 -2
- package/dist/{chunk-F5KILDDO.js → chunk-WYEQFD6A.js} +49 -49
- package/dist/{chunk-FWXSTFN2.js → chunk-Y2ZLKBM6.js} +2 -2
- package/dist/{chunk-2CGPQ7IM.js → chunk-ZG7E72VI.js} +4 -4
- package/dist/cli.js +14 -14
- package/dist/{codegen-command-SW2AP7KR.js → codegen-command-HTWIW56U.js} +20 -20
- package/dist/{deploy-command-RD6W7PXN.js → deploy-command-5WTFHMBT.js} +18 -18
- package/dist/{deploy-source-ULSWF2V7.js → deploy-source-5CET3A5D.js} +9 -9
- package/dist/{dev-env-sync-E2GFIVC5.js → dev-env-sync-X636HLMK.js} +15 -15
- package/dist/{env-example-refresh-WFKGILLY.js → env-example-refresh-ZO6XAV44.js} +21 -21
- package/dist/{env-pull-command-QYQEOUE3.js → env-pull-command-WZZ7RL2E.js} +15 -15
- package/dist/{env-target-KUWQYHZ7.js → env-target-PO3MOLH5.js} +2 -2
- package/dist/{env-var-command-2ZAVIPNY.js → env-var-command-YKTJZFJN.js} +15 -15
- package/dist/{ephemeral-command-UKHBT3OW.js → ephemeral-command-VDSQCOYL.js} +16 -16
- package/dist/{generate-command-YN3HZWHG.js → generate-command-3NTNRQRS.js} +23 -23
- package/dist/{gitignore-AU5X5F3I.js → gitignore-FWPEDX6C.js} +8 -8
- package/dist/{impersonate-command-ZKE77GFT.js → impersonate-command-QEJA72Q2.js} +11 -11
- package/dist/{init-command-NPXBMJNG.js → init-command-27SFBW2F.js} +17 -17
- package/dist/{init-modules-5TSTLGH5.js → init-modules-HZRQFRLE.js} +4 -4
- package/dist/{keep-data-merge-TDSELE5U.js → keep-data-merge-X5LDDCI3.js} +4 -4
- package/dist/{landing-record-W7VQ4KV4.js → landing-record-QYECWLQ5.js} +7 -7
- package/dist/{local-engine-choice-OXULXWEP.js → local-engine-choice-6BSPEG3E.js} +10 -10
- package/dist/{local-engine-command-5MTGZIZ4.js → local-engine-command-HMTQK7MN.js} +11 -11
- package/dist/{lock-commands-OBXAUSZX.js → lock-commands-4VT3L5W5.js} +15 -15
- package/dist/{login-command-CB3O3UDZ.js → login-command-O6WA4FYL.js} +11 -11
- package/dist/{logout-command-J5CP5HZZ.js → logout-command-6CPWGFY2.js} +3 -3
- package/dist/{marketplace-command-A5S25ZHF.js → marketplace-command-HKACSYKS.js} +16 -16
- package/dist/{marketplace-resolve-GRXMK5YD.js → marketplace-resolve-KLFYVRWS.js} +2 -2
- package/dist/{meta-client-FB73643X.js → meta-client-73PX6UGJ.js} +2 -2
- package/dist/node.js +16 -16
- package/dist/{operation-outcome-V4FUJI7V.js → operation-outcome-2P4BVSEV.js} +4 -4
- package/dist/{output-target-6HNPK6KC.js → output-target-SZMBNYF4.js} +9 -9
- package/dist/{preflight-command-NZ75PSRL.js → preflight-command-EBQ6XQF3.js} +20 -20
- package/dist/{profile-command-KIRI4GA4.js → profile-command-NPKBJYPM.js} +12 -12
- package/dist/{project-dependency-JGCJZ26H.js → project-dependency-RRMTWOPC.js} +3 -3
- package/dist/{promote-command-IPDH5OBT.js → promote-command-4F2NAE6P.js} +27 -27
- package/dist/{publish-command-74HMEZ7E.js → publish-command-LGLZBOCB.js} +18 -18
- package/dist/{pull-command-VO5RRGZ5.js → pull-command-WQFPLITW.js} +22 -22
- package/dist/{release-command-ZHM5FA4M.js → release-command-2OTNVMIL.js} +20 -20
- package/dist/{release-ns-command-2TL26YOM.js → release-ns-command-EIBN3JVM.js} +33 -33
- package/dist/{secrets-file-NBBR6DYS.js → secrets-file-FUG7WCES.js} +7 -7
- package/dist/{secrets-fill-command-X3HQ4JYN.js → secrets-fill-command-QEOCUOAY.js} +17 -17
- package/dist/{source-resolve-NTI3JFO6.js → source-resolve-DMDZVPMM.js} +3 -3
- package/dist/{status-command-RVMOLYPR.js → status-command-XUH5OGQX.js} +14 -14
- package/dist/{sync-contributions-KGCVRH2J.js → sync-contributions-DHP7XSTX.js} +2 -2
- package/dist/{tables-command-GAOXJPMA.js → tables-command-X3JK7VSK.js} +12 -12
- package/dist/{tenant-command-FAJ7WZTH.js → tenant-command-P27EQHBU.js} +33 -33
- package/dist/{test-command-53FRDZ32.js → test-command-A4G2FP7G.js} +12 -12
- package/dist/{token-44CKLYWD.js → token-CMAB35GD.js} +2 -2
- package/dist/{toolchain-modules-MPPH633S.js → toolchain-modules-3M7QDJBV.js} +2 -2
- package/dist/{tracked-backend-AJLHRGLF.js → tracked-backend-PZGUWD5J.js} +11 -11
- package/dist/{update-check-Q4HJHHL5.js → update-check-LNNKIMML.js} +16 -16
- package/dist/{upgrade-command-C63HIBVH.js → upgrade-command-7EUXML3P.js} +18 -18
- package/dist/{whoami-command-WC5EKB4W.js → whoami-command-KNWFWAX6.js} +4 -4
- package/dist/{workspace-EJVWTIWX.js → workspace-TGPYOODG.js} +2 -2
- package/dist/{workspace-binding-BRPPUSWG.js → workspace-binding-2TWZBHQY.js} +3 -3
- package/dist/{workspace-command-Y6STVPYO.js → workspace-command-T7Z2BDHD.js} +27 -27
- package/dist/{workspace-env-SIINWNMP.js → workspace-env-VA7XN3UX.js} +7 -7
- package/dist/{xanosdk-import-UKEO7R7O.js → xanosdk-import-J6SRBZHW.js} +2 -2
- package/dist/{xanosdk-project-MQTZKITV.js → xanosdk-project-6KTCO47O.js} +7 -7
- package/guides/environment.md +1 -1
- package/guides/marketplace.md +7 -4
- package/llms-full.txt +1 -1
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
} from "./chunk-HSEQYBDO.js";
|
|
4
4
|
import {
|
|
5
5
|
isProjectDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T4DUFQ2S.js";
|
|
7
7
|
import {
|
|
8
8
|
LookupFailedError,
|
|
9
9
|
SourceError,
|
|
10
10
|
resolveSource
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2AUV6NXK.js";
|
|
12
12
|
import {
|
|
13
13
|
NotSignedInError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LUTMOHOW.js";
|
|
15
15
|
import {
|
|
16
16
|
otherCredentialRefusal
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3P3HXN76.js";
|
|
18
18
|
import {
|
|
19
19
|
getEngineRecord
|
|
20
20
|
} from "./chunk-WL2DSNJV.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-SEUCZZCP.js";
|
|
40
40
|
import {
|
|
41
41
|
backendDirIn
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-E6H5ZEV3.js";
|
|
43
43
|
import {
|
|
44
44
|
globalAuthFilePath,
|
|
45
45
|
localAuthFilePath,
|
|
@@ -86,7 +86,7 @@ async function selectBackend(slot, raw, ctx) {
|
|
|
86
86
|
}
|
|
87
87
|
const decided = decide({ cwd, pointer, state, scope, engineRecorded: getEngineRecord(cwd, env) !== void 0 }, slot);
|
|
88
88
|
if ("refusal" in decided) {
|
|
89
|
-
const { reachableFirst } = await import("./env-target-
|
|
89
|
+
const { reachableFirst } = await import("./env-target-PO3MOLH5.js");
|
|
90
90
|
throw await reachableFirst(decided.refusal, scope);
|
|
91
91
|
}
|
|
92
92
|
refuseUnservable(slot, decided.kind);
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
NothingTrackedError,
|
|
369
369
|
nestedBackendEntries
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=chunk-
|
|
371
|
+
//# sourceMappingURL=chunk-LIVN53UV.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-TGPYOODG.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-6KTCO47O.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-LUTMOHOW.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
reachableLines,
|
|
4
4
|
readReachableWorkspaces,
|
|
5
5
|
workspaceIdFix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QAEQGT5I.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialRejected,
|
|
9
9
|
getAccessToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LUTMOHOW.js";
|
|
11
11
|
import {
|
|
12
12
|
CREDENTIAL_FILE_VERSION,
|
|
13
13
|
UPGRADE_REMEDY,
|
|
@@ -165,7 +165,7 @@ function prettyProfile(p) {
|
|
|
165
165
|
}
|
|
166
166
|
async function runWhoamiCommand(args) {
|
|
167
167
|
const profile = await fetchProfile(args).catch(async (err) => {
|
|
168
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
168
|
+
const { unansweredRead } = await import("./source-resolve-DMDZVPMM.js");
|
|
169
169
|
throw unansweredRead(err, "read the signed-in user", "workspace");
|
|
170
170
|
});
|
|
171
171
|
if (isMachineOutput(args)) {
|
|
@@ -185,4 +185,4 @@ export {
|
|
|
185
185
|
profileValue,
|
|
186
186
|
runWhoamiCommand
|
|
187
187
|
};
|
|
188
|
-
//# sourceMappingURL=chunk-
|
|
188
|
+
//# sourceMappingURL=chunk-MCTIKRMN.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
backendDirFor,
|
|
6
6
|
backendDirIn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-E6H5ZEV3.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-ROY4YAEQ.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
entryWordOf,
|
|
128
128
|
readSecretsFile
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-MLGI2SRQ.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-WYEQFD6A.js";
|
|
11
11
|
import {
|
|
12
12
|
registerSecret
|
|
13
13
|
} from "./chunk-AWQ7BQTQ.js";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
runExitedClean,
|
|
352
352
|
maybeNotifyUpdate
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-MLPDSGJQ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-E65QIWOO.js";
|
|
5
5
|
import {
|
|
6
6
|
SourceError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2AUV6NXK.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
10
|
} from "./chunk-A6QTTJUI.js";
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
SettledWriteFailure,
|
|
83
83
|
classifyFailure
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-O5V3YH5P.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-DIG3NITC.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LUTMOHOW.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
32
|
} from "./chunk-FMOEVAGT.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-DMDZVPMM.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-DMDZVPMM.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-DMDZVPMM.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-OGBMUST4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O5V3YH5P.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-PML67X22.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_WORKSPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LUTMOHOW.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialFileOf
|
|
6
6
|
} from "./chunk-SEUCZZCP.js";
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
rerunInWorkspace,
|
|
163
163
|
heldElsewhereError
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-QAEQGT5I.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-FWD7AL6N.js";
|
|
9
9
|
import {
|
|
10
10
|
isLocalSpecifier
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3FN2BIGB.js";
|
|
12
12
|
import {
|
|
13
13
|
trackLocalWrite
|
|
14
14
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -152,4 +152,4 @@ export {
|
|
|
152
152
|
removeDependency,
|
|
153
153
|
recordedDependency
|
|
154
154
|
};
|
|
155
|
-
//# sourceMappingURL=chunk-
|
|
155
|
+
//# sourceMappingURL=chunk-S7E2AHV3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E6H5ZEV3.js";
|
|
4
4
|
import {
|
|
5
5
|
shellWord
|
|
6
6
|
} 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-T4DUFQ2S.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-2AUV6NXK.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadRelease
|
|
16
16
|
} from "./chunk-A6QTTJUI.js";
|
|
17
17
|
import {
|
|
18
18
|
backendDirIn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-E6H5ZEV3.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-VRVKNY4A.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ProfileNotFoundError,
|
|
6
6
|
describeRefreshAnswer,
|
|
7
7
|
environmentCredentialVars
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LUTMOHOW.js";
|
|
9
9
|
import {
|
|
10
10
|
yesRerun
|
|
11
11
|
} from "./chunk-FMOEVAGT.js";
|
|
@@ -429,4 +429,4 @@ export {
|
|
|
429
429
|
salvageRevocable,
|
|
430
430
|
signInAgain
|
|
431
431
|
};
|
|
432
|
-
//# sourceMappingURL=chunk-
|
|
432
|
+
//# sourceMappingURL=chunk-WFMVKY7I.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
namesInEnvExample,
|
|
11
11
|
parseEnvFile,
|
|
12
12
|
readWorkspaceEnvFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-664LSWE5.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LIVN53UV.js";
|
|
17
17
|
import {
|
|
18
18
|
isCI
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JP7M7OU7.js";
|
|
20
20
|
import {
|
|
21
21
|
backendSlotForFlag,
|
|
22
22
|
slotValueMissing
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
defaultWorkspaceSecretsPath,
|
|
26
26
|
readSecretsFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MLGI2SRQ.js";
|
|
28
28
|
import {
|
|
29
29
|
allLandings,
|
|
30
30
|
getEnvironment,
|
|
@@ -2477,7 +2477,7 @@ async function tsxRemedy(file) {
|
|
|
2477
2477
|
);
|
|
2478
2478
|
if (!declared) return fallback;
|
|
2479
2479
|
const { detectPackageManager } = await import("./package-manager-PRAHUSCN.js");
|
|
2480
|
-
const { inProject } = await import("./init-modules-
|
|
2480
|
+
const { inProject } = await import("./init-modules-HZRQFRLE.js");
|
|
2481
2481
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2482
2482
|
}
|
|
2483
2483
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -3098,7 +3098,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3098
3098
|
let verdict = unreachableVerdicts.get(auth);
|
|
3099
3099
|
if (verdict === void 0) {
|
|
3100
3100
|
verdict = (async () => {
|
|
3101
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3101
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-2TWZBHQY.js");
|
|
3102
3102
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3103
3103
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3104
3104
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3112,7 +3112,7 @@ async function explainRejectedCredential(err) {
|
|
|
3112
3112
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3113
3113
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3114
3114
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3115
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3115
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-KNWFWAX6.js");
|
|
3116
3116
|
const { auth, args } = resolved;
|
|
3117
3117
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3118
3118
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3150,10 +3150,10 @@ function withoutSecretValue(args) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
async function nameLookupRerun(failure) {
|
|
3152
3152
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3153
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3153
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-DMDZVPMM.js");
|
|
3154
3154
|
const err = rateLimitedFailure(failure);
|
|
3155
3155
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3156
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3156
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-5WTFHMBT.js");
|
|
3157
3157
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3158
3158
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3159
3159
|
return err.withRerun(
|
|
@@ -3208,7 +3208,7 @@ function isPathlessRun(args) {
|
|
|
3208
3208
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3209
3209
|
}
|
|
3210
3210
|
async function atProjectRoot(args, command, positional) {
|
|
3211
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3211
|
+
const { enterProjectRoot } = await import("./xanosdk-project-6KTCO47O.js");
|
|
3212
3212
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3213
3213
|
if (entered === void 0) return command(args);
|
|
3214
3214
|
if (isPathlessRun(args)) {
|
|
@@ -3348,7 +3348,7 @@ async function dispatch(rawArgv) {
|
|
|
3348
3348
|
setHintContext(args);
|
|
3349
3349
|
runArgs = args;
|
|
3350
3350
|
noteRunArgs(args);
|
|
3351
|
-
if (isMachineOutput(args)) (await import("./update-check-
|
|
3351
|
+
if (isMachineOutput(args)) (await import("./update-check-LNNKIMML.js")).routeUpdateNoticeToDocument();
|
|
3352
3352
|
const { command } = args;
|
|
3353
3353
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3354
3354
|
if (command === void 0) {
|
|
@@ -3369,7 +3369,7 @@ async function dispatch(rawArgv) {
|
|
|
3369
3369
|
return;
|
|
3370
3370
|
}
|
|
3371
3371
|
if (command === "init") {
|
|
3372
|
-
const { runInitCommand } = await import("./init-command-
|
|
3372
|
+
const { runInitCommand } = await import("./init-command-27SFBW2F.js");
|
|
3373
3373
|
return runInitCommand(args);
|
|
3374
3374
|
}
|
|
3375
3375
|
if (command === "completion") {
|
|
@@ -3392,111 +3392,111 @@ async function dispatch(rawArgv) {
|
|
|
3392
3392
|
return runCompletionCommand(shell);
|
|
3393
3393
|
}
|
|
3394
3394
|
if (command === "upgrade") {
|
|
3395
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3395
|
+
const { runUpgradeCommand } = await import("./upgrade-command-7EUXML3P.js");
|
|
3396
3396
|
return runUpgradeCommand(args);
|
|
3397
3397
|
}
|
|
3398
3398
|
if (command === "lock") {
|
|
3399
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3399
|
+
const { runLockCommand } = await import("./lock-commands-4VT3L5W5.js");
|
|
3400
3400
|
const verb = args.positionals[0];
|
|
3401
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3401
|
+
const { isProjectDir } = await import("./xanosdk-project-6KTCO47O.js");
|
|
3402
3402
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3403
3403
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3404
3404
|
}
|
|
3405
3405
|
if (command === "login") {
|
|
3406
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3406
|
+
const { runLoginCommand } = await import("./login-command-O6WA4FYL.js");
|
|
3407
3407
|
return runLoginCommand(args);
|
|
3408
3408
|
}
|
|
3409
3409
|
if (command === "logout") {
|
|
3410
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3410
|
+
const { runLogoutCommand } = await import("./logout-command-6CPWGFY2.js");
|
|
3411
3411
|
return runLogoutCommand(args);
|
|
3412
3412
|
}
|
|
3413
3413
|
if (command === "deploy") {
|
|
3414
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3414
|
+
const { runDeployCommand } = await import("./deploy-command-5WTFHMBT.js");
|
|
3415
3415
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3416
3416
|
}
|
|
3417
3417
|
if (command === "ephemeral") {
|
|
3418
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3418
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-VDSQCOYL.js");
|
|
3419
3419
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3420
3420
|
}
|
|
3421
3421
|
if (command === "local-engine") {
|
|
3422
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3422
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-HMTQK7MN.js");
|
|
3423
3423
|
const project = ["token", "stop", "update"].includes(args.subcommand ?? "");
|
|
3424
3424
|
return project ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3425
3425
|
}
|
|
3426
3426
|
if (command === "env") {
|
|
3427
3427
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3428
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3428
|
+
const { runEnvVarCommand } = await import("./env-var-command-YKTJZFJN.js");
|
|
3429
3429
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3430
3430
|
}
|
|
3431
3431
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3432
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3432
|
+
const { runEnvPullCommand } = await import("./env-pull-command-WZZ7RL2E.js");
|
|
3433
3433
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3434
3434
|
}
|
|
3435
3435
|
if (command === "secrets") {
|
|
3436
3436
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3437
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3437
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-QEOCUOAY.js");
|
|
3438
3438
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3439
3439
|
}
|
|
3440
3440
|
if (command === "release") {
|
|
3441
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3441
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-EIBN3JVM.js");
|
|
3442
3442
|
return atProjectRoot(args, runReleaseNs);
|
|
3443
3443
|
}
|
|
3444
3444
|
if (command === "pull") {
|
|
3445
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3445
|
+
const { runPullCommand } = await import("./pull-command-WQFPLITW.js");
|
|
3446
3446
|
const first = args.positionals[0];
|
|
3447
3447
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3448
3448
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3449
3449
|
}
|
|
3450
3450
|
if (command === "generate") {
|
|
3451
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3451
|
+
const { runGenerateCommand } = await import("./generate-command-3NTNRQRS.js");
|
|
3452
3452
|
return runGenerateCommand(args);
|
|
3453
3453
|
}
|
|
3454
3454
|
if (command === "tables") {
|
|
3455
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3455
|
+
const { runTablesCommand } = await import("./tables-command-X3JK7VSK.js");
|
|
3456
3456
|
return atProjectRoot(args, runTablesCommand);
|
|
3457
3457
|
}
|
|
3458
3458
|
if (command === "impersonate") {
|
|
3459
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3459
|
+
const { runImpersonateCommand } = await import("./impersonate-command-QEJA72Q2.js");
|
|
3460
3460
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3461
3461
|
}
|
|
3462
3462
|
if (command === "promote") {
|
|
3463
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3463
|
+
const { runPromoteCommand } = await import("./promote-command-4F2NAE6P.js");
|
|
3464
3464
|
return atProjectRoot(args, runPromoteCommand);
|
|
3465
3465
|
}
|
|
3466
3466
|
if (command === "publish") {
|
|
3467
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3467
|
+
const { runPublishCommand } = await import("./publish-command-LGLZBOCB.js");
|
|
3468
3468
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3469
3469
|
}
|
|
3470
3470
|
if (command === "tenant") {
|
|
3471
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3471
|
+
const { runTenantCommand } = await import("./tenant-command-P27EQHBU.js");
|
|
3472
3472
|
return atProjectRoot(args, runTenantCommand);
|
|
3473
3473
|
}
|
|
3474
3474
|
if (command === "test") {
|
|
3475
|
-
const { runTestCommand } = await import("./test-command-
|
|
3475
|
+
const { runTestCommand } = await import("./test-command-A4G2FP7G.js");
|
|
3476
3476
|
return atProjectRoot(args, runTestCommand);
|
|
3477
3477
|
}
|
|
3478
3478
|
if (command === "workspace") {
|
|
3479
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3479
|
+
const { runWorkspaceCommand } = await import("./workspace-command-T7Z2BDHD.js");
|
|
3480
3480
|
return runWorkspaceCommand(args);
|
|
3481
3481
|
}
|
|
3482
3482
|
if (command === "status") {
|
|
3483
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3483
|
+
const { runStatusCommand } = await import("./status-command-XUH5OGQX.js");
|
|
3484
3484
|
return runStatusCommand(args);
|
|
3485
3485
|
}
|
|
3486
3486
|
if (command === "whoami") {
|
|
3487
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3487
|
+
const { runWhoamiCommand } = await import("./whoami-command-KNWFWAX6.js");
|
|
3488
3488
|
return runWhoamiCommand(args);
|
|
3489
3489
|
}
|
|
3490
3490
|
if (command === "profile") {
|
|
3491
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3491
|
+
const { runProfileCommand } = await import("./profile-command-NPKBJYPM.js");
|
|
3492
3492
|
return runProfileCommand(args);
|
|
3493
3493
|
}
|
|
3494
3494
|
if (command === "marketplace") {
|
|
3495
3495
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3496
3496
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3497
3497
|
}
|
|
3498
|
-
const marketplace = await import("./marketplace-command-
|
|
3499
|
-
const { withCatalogueRerun } = await import("./marketplace-resolve-
|
|
3498
|
+
const marketplace = await import("./marketplace-command-HKACSYKS.js");
|
|
3499
|
+
const { withCatalogueRerun } = await import("./marketplace-resolve-KLFYVRWS.js");
|
|
3500
3500
|
try {
|
|
3501
3501
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
3502
3502
|
if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
|
|
@@ -3509,7 +3509,7 @@ async function dispatch(rawArgv) {
|
|
|
3509
3509
|
}
|
|
3510
3510
|
}
|
|
3511
3511
|
if (command === "preflight") {
|
|
3512
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3512
|
+
const { runPreflightCommand } = await import("./preflight-command-EBQ6XQF3.js");
|
|
3513
3513
|
return runPreflightCommand(args);
|
|
3514
3514
|
}
|
|
3515
3515
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3524,12 +3524,12 @@ async function dispatch(rawArgv) {
|
|
|
3524
3524
|
if (command === "paths" || command === "routes") {
|
|
3525
3525
|
return runPaths(args);
|
|
3526
3526
|
}
|
|
3527
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3527
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-3M7QDJBV.js");
|
|
3528
3528
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3529
3529
|
frozen: args.frozenLock === true || args.check === true
|
|
3530
3530
|
});
|
|
3531
3531
|
if (out && !args.check) {
|
|
3532
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3532
|
+
const { assertWritableTarget } = await import("./output-target-SZMBNYF4.js");
|
|
3533
3533
|
assertWritableTarget(out, "--out");
|
|
3534
3534
|
}
|
|
3535
3535
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3560,8 +3560,8 @@ async function dispatch(rawArgv) {
|
|
|
3560
3560
|
},
|
|
3561
3561
|
""
|
|
3562
3562
|
);
|
|
3563
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3564
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3563
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-ZO6XAV44.js");
|
|
3564
|
+
const { backendDirFor } = await import("./backend-dir-WZADOK3L.js");
|
|
3565
3565
|
const declaredSet = new Set(declaredEnvNames);
|
|
3566
3566
|
const templateDir = backendDirFor(args.file);
|
|
3567
3567
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
|
|
@@ -3620,14 +3620,14 @@ async function dispatch(rawArgv) {
|
|
|
3620
3620
|
}
|
|
3621
3621
|
if (out) {
|
|
3622
3622
|
const { secretsCarriedBy } = await import("./live-diff-2S7E3SBZ.js");
|
|
3623
|
-
const { writeExportFile } = await import("./output-target-
|
|
3623
|
+
const { writeExportFile } = await import("./output-target-SZMBNYF4.js");
|
|
3624
3624
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3625
3625
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3626
3626
|
reportWrote(args, out, lockOutcome);
|
|
3627
3627
|
} else {
|
|
3628
3628
|
process.stdout.write(json + "\n");
|
|
3629
3629
|
const { secretsCarriedBy } = await import("./live-diff-2S7E3SBZ.js");
|
|
3630
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3630
|
+
const { secretsPhrase } = await import("./output-target-SZMBNYF4.js");
|
|
3631
3631
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3632
3632
|
if (secrets.length > 0) {
|
|
3633
3633
|
warn(
|
|
@@ -3650,7 +3650,7 @@ async function refreshAgentGuidance(args) {
|
|
|
3650
3650
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3651
3651
|
const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3652
3652
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3653
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3653
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-LB6KIMFY.js");
|
|
3654
3654
|
if (projectSdk !== void 0) {
|
|
3655
3655
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3656
3656
|
const file = args.file;
|
|
@@ -4029,7 +4029,7 @@ async function refreshRouteManifest(entry, emit2) {
|
|
|
4029
4029
|
} finally {
|
|
4030
4030
|
setDiagnosticSink(previousSink);
|
|
4031
4031
|
}
|
|
4032
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4032
|
+
const { pulledIdentities } = await import("./pull-command-WQFPLITW.js");
|
|
4033
4033
|
const live = pulledIdentities(payload);
|
|
4034
4034
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4035
4035
|
if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
|
|
@@ -4544,7 +4544,7 @@ async function refineGonePullHint(err) {
|
|
|
4544
4544
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4545
4545
|
let gone;
|
|
4546
4546
|
try {
|
|
4547
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4547
|
+
const { lookupEphemeral } = await import("./source-resolve-DMDZVPMM.js");
|
|
4548
4548
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4549
4549
|
} catch {
|
|
4550
4550
|
return;
|
|
@@ -4747,4 +4747,4 @@ export {
|
|
|
4747
4747
|
docTokenRefusalIfReplaced,
|
|
4748
4748
|
envRefusalIfReplaced
|
|
4749
4749
|
};
|
|
4750
|
-
//# sourceMappingURL=chunk-
|
|
4750
|
+
//# sourceMappingURL=chunk-WYEQFD6A.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workspaceEnvPathIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-664LSWE5.js";
|
|
4
4
|
import {
|
|
5
5
|
addGitignoreRule,
|
|
6
6
|
ensureGitignored,
|
|
@@ -183,4 +183,4 @@ export {
|
|
|
183
183
|
secretPathLabel,
|
|
184
184
|
refuseIfTracked
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-Y2ZLKBM6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addDependency,
|
|
3
3
|
removeDependency
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S7E2AHV3.js";
|
|
5
5
|
import {
|
|
6
6
|
condenseNpmError,
|
|
7
7
|
npmViewVersion
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-FWD7AL6N.js";
|
|
12
12
|
import {
|
|
13
13
|
isLocalSpecifier
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3FN2BIGB.js";
|
|
15
15
|
import {
|
|
16
16
|
addArgs,
|
|
17
17
|
installSite,
|
|
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
|
|
|
448
448
|
const manifest = readInstalledManifest(dir, pkg);
|
|
449
449
|
if (manifest === null) return null;
|
|
450
450
|
const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
|
|
451
|
-
import("./toolchain-modules-
|
|
451
|
+
import("./toolchain-modules-3M7QDJBV.js"),
|
|
452
452
|
import("./cli.js")
|
|
453
453
|
]);
|
|
454
454
|
const sdkVersion = readVersion();
|
|
@@ -480,4 +480,4 @@ export {
|
|
|
480
480
|
inProject,
|
|
481
481
|
installModules
|
|
482
482
|
};
|
|
483
|
-
//# sourceMappingURL=chunk-
|
|
483
|
+
//# sourceMappingURL=chunk-ZG7E72VI.js.map
|