@xano/sdk 1.0.0 → 1.0.1
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 +9 -776
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-ZEMK33AX.js → agent-file-refresh-T7BL3JDV.js} +4 -4
- package/dist/{backend-dir-2U53CIAL.js → backend-dir-2EYNX36R.js} +4 -4
- package/dist/bin.js +14 -14
- package/dist/{branch-commands-ACIRCEQJ.js → branch-commands-D7MVAOSY.js} +3 -3
- package/dist/{chunk-UVHDMMIP.js → chunk-2KETYQPN.js} +4 -4
- package/dist/{chunk-LRN4ZJCQ.js → chunk-AAX2S6OU.js} +14 -14
- package/dist/{chunk-AHJWCYQO.js → chunk-AWMTT5U7.js} +2 -2
- package/dist/{chunk-AOSYVMUS.js → chunk-BU5GWPBO.js} +3 -3
- package/dist/{chunk-SWBF2LTK.js → chunk-CHRP4RHP.js} +2 -2
- package/dist/{chunk-W3HBUKFO.js → chunk-DBMN5YLZ.js} +3 -3
- package/dist/{chunk-QCNYHBL7.js → chunk-ES3TNTLS.js} +5 -5
- package/dist/{chunk-WKQLGKCL.js → chunk-FXGJ7TEQ.js} +20 -20
- package/dist/{chunk-I4F5TCJH.js → chunk-HSBVDFU2.js} +2 -2
- package/dist/{chunk-4Q2GN7NW.js → chunk-IC23IKRU.js} +1 -1
- package/dist/{chunk-BAUZOWGX.js → chunk-IFSNSRUJ.js} +7 -4
- package/dist/{chunk-ETO6LGLD.js → chunk-JLUAWKX2.js} +48 -48
- package/dist/{chunk-DAD3ONIS.js → chunk-JTGBGL37.js} +3 -3
- package/dist/{chunk-5A2PLKZB.js → chunk-KUI7V576.js} +2 -2
- package/dist/{chunk-KTSDSD36.js → chunk-LCMQNVHL.js} +2 -2
- package/dist/{chunk-XBKMWY7F.js → chunk-MZ4EQX7X.js} +3 -3
- package/dist/{chunk-X677DMZM.js → chunk-NK2633D7.js} +15 -15
- package/dist/{chunk-Q325JKYB.js → chunk-NM2X7SQ3.js} +2 -2
- package/dist/{chunk-YHEFQUQB.js → chunk-OFEID2IX.js} +2 -2
- package/dist/{chunk-CGVQZXYG.js → chunk-OFISBMQ6.js} +2 -2
- package/dist/{chunk-BHACRS6R.js → chunk-OIQH34Q5.js} +12 -12
- package/dist/{chunk-SFLHVCKX.js → chunk-PA43WZWS.js} +2 -2
- package/dist/{chunk-ET4Y4XCB.js → chunk-PV7BGEF2.js} +3 -3
- package/dist/{chunk-DX4QR4B2.js → chunk-RLHYFD2R.js} +2 -2
- package/dist/{chunk-HHN734BU.js → chunk-SAC4DYYP.js} +8 -8
- package/dist/{chunk-K4WX6UUU.js → chunk-SKMZGS3L.js} +11 -11
- package/dist/{chunk-AWEIIR2U.js → chunk-TGPYAMVT.js} +2 -2
- package/dist/{chunk-WZDJ2LLX.js → chunk-TLJWHLBK.js} +43 -43
- package/dist/{chunk-6NNTNXN7.js → chunk-TNM7VE7N.js} +2 -2
- package/dist/{chunk-A6E77GDW.js → chunk-TPCOHYPG.js} +2 -2
- package/dist/{chunk-K6RXBGUB.js → chunk-UCZZ6KRR.js} +5 -5
- package/dist/{chunk-SAVJUS2X.js → chunk-UF7TI3BS.js} +2 -2
- package/dist/{chunk-ELP2HMXC.js → chunk-VAL32UEI.js} +2 -2
- package/dist/{chunk-3M4LFYNQ.js → chunk-WL2DSNJV.js} +55 -22
- package/dist/{chunk-LIEOKXKD.js → chunk-YY2UY7PZ.js} +2 -2
- package/dist/{chunk-TLHIFK4M.js → chunk-ZFKZMSM3.js} +2 -2
- package/dist/{chunk-WQFNASK4.js → chunk-ZPSPKPXK.js} +2 -2
- package/dist/cli.js +13 -13
- package/dist/{codegen-command-VR2GWR6C.js → codegen-command-XEHCGZHH.js} +19 -19
- package/dist/{deploy-command-JVZPWHMK.js → deploy-command-V2EMVVK2.js} +17 -17
- package/dist/{deploy-source-3W45CXMP.js → deploy-source-4BRH7JMY.js} +8 -8
- package/dist/{dev-env-sync-HN44K4D5.js → dev-env-sync-4334IEDW.js} +14 -14
- package/dist/{env-example-refresh-ET5HMMDW.js → env-example-refresh-GQKAQDWO.js} +20 -20
- package/dist/{env-pull-command-TNMNB3CV.js → env-pull-command-E6UITJ75.js} +14 -14
- package/dist/{env-target-O4HRKTGZ.js → env-target-76MVYUD4.js} +2 -2
- package/dist/{env-var-command-ZIRDCAZA.js → env-var-command-J2LKNUEQ.js} +14 -14
- package/dist/{ephemeral-command-CLJJKOFT.js → ephemeral-command-YZATIADS.js} +15 -15
- package/dist/{generate-command-AYEOLA26.js → generate-command-XSKLN7ST.js} +22 -22
- package/dist/{gitignore-3SJ3WNRG.js → gitignore-W23MIWX6.js} +6 -6
- package/dist/{impersonate-command-5JAS3WSV.js → impersonate-command-YZMTA7NW.js} +11 -11
- package/dist/{init-command-X2FR4UAK.js → init-command-CEYEFIS2.js} +16 -16
- package/dist/{init-modules-RY7UHAOL.js → init-modules-IAVCXWX3.js} +2 -2
- package/dist/{keep-data-merge-7MPLVAVI.js → keep-data-merge-M4ULDZB6.js} +4 -4
- package/dist/{landing-record-SU52SKXU.js → landing-record-JLN6BCQY.js} +5 -5
- package/dist/{local-engine-choice-CH5X3W7E.js → local-engine-choice-QOQJZ5P2.js} +9 -9
- package/dist/{local-engine-command-Z3OL7VOD.js → local-engine-command-YVNO5ETS.js} +16 -21
- package/dist/{local-engine-deploy-PCQ4SNPB.js → local-engine-deploy-AWA65WR2.js} +5 -4
- package/dist/{local-engine-process-EHTE5LLU.js → local-engine-process-SQLSK3AB.js} +4 -3
- package/dist/{local-engine-state-A4FTRFAF.js → local-engine-state-TJWPWCC4.js} +5 -2
- package/dist/{lock-commands-2QG25HL7.js → lock-commands-GU3TKPWU.js} +14 -14
- package/dist/{login-command-QPYRWOXZ.js → login-command-FPKDGYUR.js} +9 -9
- package/dist/{logout-command-WOIQLDP6.js → logout-command-MQD3L46D.js} +3 -3
- package/dist/{marketplace-command-K5YL42NO.js → marketplace-command-25ZYWSHI.js} +13 -31
- package/dist/{meta-client-YXGPW53C.js → meta-client-JPGG2ZHS.js} +2 -2
- package/dist/node.js +15 -15
- package/dist/{operation-outcome-TZSESNC7.js → operation-outcome-QH6IZEV5.js} +5 -5
- package/dist/{output-target-AL3I44GG.js → output-target-NTJAO4VA.js} +7 -7
- package/dist/{preflight-command-2T5Z36MI.js → preflight-command-OPIVTVIJ.js} +19 -19
- package/dist/{profile-command-AH3PIM4X.js → profile-command-RW7LJZWN.js} +10 -10
- package/dist/{promote-command-PCWT5N6S.js → promote-command-TYPJDNRW.js} +26 -26
- package/dist/{publish-command-TTDUUJI5.js → publish-command-WIQCLPIU.js} +17 -17
- package/dist/{pull-command-VBO7C4S3.js → pull-command-4LVTKE4S.js} +21 -21
- package/dist/{release-command-N4ZPKMHR.js → release-command-JJ3QDX3T.js} +19 -19
- package/dist/{release-ns-command-3KFDMZ6G.js → release-ns-command-HGKCE56Y.js} +32 -32
- package/dist/{secrets-file-LVZD6IIM.js → secrets-file-O5GABAHH.js} +5 -5
- package/dist/{secrets-fill-command-TTCPSVXN.js → secrets-fill-command-XSONDOOT.js} +16 -16
- package/dist/{source-resolve-S2XA3XZF.js → source-resolve-UE7DHWYR.js} +4 -4
- package/dist/{status-command-RUDXTF7I.js → status-command-QIC7QCWJ.js} +14 -14
- package/dist/{sync-contributions-UCEROO26.js → sync-contributions-WEKCYMP6.js} +2 -2
- package/dist/{tables-command-GUPXXSB5.js → tables-command-VBIAU4HI.js} +11 -11
- package/dist/{tenant-command-D5HGI2X4.js → tenant-command-JXDHHIZH.js} +32 -32
- package/dist/{test-command-TIKZMDPZ.js → test-command-ST2BXOEH.js} +11 -11
- package/dist/{token-NICJUTMT.js → token-OZV2UJQA.js} +2 -2
- package/dist/{toolchain-modules-5EAZUONB.js → toolchain-modules-DCKB4AVK.js} +2 -2
- package/dist/{tracked-backend-EIBUMDZA.js → tracked-backend-JX2YUXTZ.js} +10 -10
- package/dist/{update-check-2W2NLDTC.js → update-check-K557PAI7.js} +15 -15
- package/dist/{upgrade-command-QHNFWM7O.js → upgrade-command-PKZPJKAV.js} +17 -17
- package/dist/{whoami-command-STGINTXH.js → whoami-command-IN2DJHSI.js} +4 -4
- package/dist/{workspace-2CLHU2LK.js → workspace-4STTFOPC.js} +2 -2
- package/dist/{workspace-binding-56PIIPCP.js → workspace-binding-T3HVSO4V.js} +3 -3
- package/dist/{workspace-command-JEXQETJD.js → workspace-command-3NQQRB7E.js} +26 -26
- package/dist/{workspace-env-F2RFMSC5.js → workspace-env-MWJFQ6O3.js} +5 -5
- package/dist/{xanosdk-import-GN42TO2B.js → xanosdk-import-N6OTERC6.js} +2 -2
- package/dist/{xanosdk-project-S6DXJONQ.js → xanosdk-project-7RIKS2ZQ.js} +5 -5
- package/llms-full.txt +1 -1
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
|
@@ -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-4STTFOPC.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-7RIKS2ZQ.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-PV7BGEF2.js.map
|
|
@@ -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-DCKB4AVK.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-RLHYFD2R.js.map
|
|
@@ -3,21 +3,21 @@ import {
|
|
|
3
3
|
} from "./chunk-LPECSJ2J.js";
|
|
4
4
|
import {
|
|
5
5
|
isProjectDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TNM7VE7N.js";
|
|
7
7
|
import {
|
|
8
8
|
LookupFailedError,
|
|
9
9
|
SourceError,
|
|
10
10
|
resolveSource
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ES3TNTLS.js";
|
|
12
12
|
import {
|
|
13
13
|
NotSignedInError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PV7BGEF2.js";
|
|
15
15
|
import {
|
|
16
16
|
otherCredentialRefusal
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CHRP4RHP.js";
|
|
18
18
|
import {
|
|
19
19
|
getEngineRecord
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WL2DSNJV.js";
|
|
21
21
|
import {
|
|
22
22
|
commandPath,
|
|
23
23
|
parseSlot,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-NAQDMEHV.js";
|
|
40
40
|
import {
|
|
41
41
|
backendDirIn
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-KUI7V576.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-76MVYUD4.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-SAC4DYYP.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-D53J55C5.js";
|
|
6
6
|
import {
|
|
7
7
|
rerenderEnvExample
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DBMN5YLZ.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -17,38 +17,38 @@ import {
|
|
|
17
17
|
verifyPulledTree,
|
|
18
18
|
withSourceIdentities,
|
|
19
19
|
writeDocumentationTokens
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NK2633D7.js";
|
|
21
21
|
import {
|
|
22
22
|
confirm
|
|
23
23
|
} from "./chunk-65HWOMGV.js";
|
|
24
24
|
import {
|
|
25
25
|
fetchSourceArchive
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BU5GWPBO.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeWorkspaceArchive,
|
|
29
29
|
encodeWorkspaceArchive
|
|
30
30
|
} from "./chunk-3DRXWLJ5.js";
|
|
31
31
|
import {
|
|
32
32
|
ensureSecretPathGitignored
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OFEID2IX.js";
|
|
34
34
|
import {
|
|
35
35
|
readVersion,
|
|
36
36
|
refreshAgentGuidance
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-JLUAWKX2.js";
|
|
38
38
|
import {
|
|
39
39
|
WORKSPACE_ENV_BASENAME,
|
|
40
40
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
41
41
|
namesInEnvExample,
|
|
42
42
|
readWorkspaceEnvFile
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-JTGBGL37.js";
|
|
44
44
|
import {
|
|
45
45
|
memoCredential,
|
|
46
46
|
refuseProfileForLocal,
|
|
47
47
|
selectBackend
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SAC4DYYP.js";
|
|
49
49
|
import {
|
|
50
50
|
getAccessToken
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-PV7BGEF2.js";
|
|
52
52
|
import {
|
|
53
53
|
requireBackendSlot
|
|
54
54
|
} from "./chunk-STSFNCY4.js";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
import {
|
|
59
59
|
backendDirIn,
|
|
60
60
|
resolveBackendDir
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-KUI7V576.js";
|
|
62
62
|
import {
|
|
63
63
|
CODEGEN_MARKER,
|
|
64
64
|
DECODE_MARKER,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
readDecodeRecord,
|
|
74
74
|
removeEmptiedDirs,
|
|
75
75
|
removeFiles
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-AWMTT5U7.js";
|
|
77
77
|
import {
|
|
78
78
|
readLockFile,
|
|
79
79
|
writeLockFile
|
|
@@ -920,4 +920,4 @@ export {
|
|
|
920
920
|
projectWorkspaceName,
|
|
921
921
|
envFillRemedy
|
|
922
922
|
};
|
|
923
|
-
//# sourceMappingURL=chunk-
|
|
923
|
+
//# sourceMappingURL=chunk-SKMZGS3L.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isUnansweredLookup,
|
|
10
10
|
lookupFailed,
|
|
11
11
|
unansweredCause
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ES3TNTLS.js";
|
|
13
13
|
import {
|
|
14
14
|
findRelease
|
|
15
15
|
} from "./chunk-2ZUEE4EK.js";
|
|
@@ -215,4 +215,4 @@ export {
|
|
|
215
215
|
readUnanswered,
|
|
216
216
|
lookupRelease
|
|
217
217
|
};
|
|
218
|
-
//# sourceMappingURL=chunk-
|
|
218
|
+
//# sourceMappingURL=chunk-TGPYAMVT.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
passwordHashesWarning,
|
|
9
9
|
passwordOrigin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TGPYAMVT.js";
|
|
11
11
|
import {
|
|
12
12
|
openBrowser
|
|
13
13
|
} from "./chunk-FQOF7E2E.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZPSPKPXK.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,23 +48,23 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-JLUAWKX2.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
54
|
} from "./chunk-LPECSJ2J.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ES3TNTLS.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-PV7BGEF2.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-CHRP4RHP.js";
|
|
64
64
|
import {
|
|
65
65
|
engineNameForProject,
|
|
66
66
|
getEngineRecord
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-WL2DSNJV.js";
|
|
68
68
|
import {
|
|
69
69
|
environmentKey,
|
|
70
70
|
ephemeralLandedOn,
|
|
@@ -266,7 +266,7 @@ async function runDeployedTests(auth, summary, args) {
|
|
|
266
266
|
try {
|
|
267
267
|
return await runTestsOrThrow(auth, summary, args, settled, notRun);
|
|
268
268
|
} catch (err) {
|
|
269
|
-
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-
|
|
269
|
+
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-ST2BXOEH.js");
|
|
270
270
|
const message = err instanceof Error ? err.message : String(err);
|
|
271
271
|
const reason = isSuiteUnreachable(err) ? `${message.split("\n")[0] ?? message}
|
|
272
272
|
${suiteUnreachableCheck(
|
|
@@ -291,11 +291,11 @@ function testRunAllCommand(summary, args) {
|
|
|
291
291
|
return `xanosdk test run-all --on ${on}${kind}${concurrency}${flags}`;
|
|
292
292
|
}
|
|
293
293
|
async function testSummaryOf(outcomes, notRun = []) {
|
|
294
|
-
const { suiteCounts, testRow } = await import("./test-command-
|
|
294
|
+
const { suiteCounts, testRow } = await import("./test-command-ST2BXOEH.js");
|
|
295
295
|
return { ...suiteCounts(outcomes, notRun), tests: outcomes.map(testRow) };
|
|
296
296
|
}
|
|
297
297
|
async function runTestsOrThrow(auth, summary, args, settled, notRun) {
|
|
298
|
-
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
298
|
+
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-ST2BXOEH.js");
|
|
299
299
|
const { qualifiedName } = await import("./tests-BGGIOK3L.js");
|
|
300
300
|
if (summary.url === void 0) {
|
|
301
301
|
warn("Skipped --test: the ephemeral reported no base URL to run against.", "deploy.tests-not-run");
|
|
@@ -339,15 +339,15 @@ async function ignoreBackendSecretFilesRead(args) {
|
|
|
339
339
|
if (args.bundle !== void 0 || args.file === void 0) return;
|
|
340
340
|
const paths = [];
|
|
341
341
|
if (args.envFile === void 0) {
|
|
342
|
-
const { defaultWorkspaceEnvPath } = await import("./workspace-env-
|
|
342
|
+
const { defaultWorkspaceEnvPath } = await import("./workspace-env-MWJFQ6O3.js");
|
|
343
343
|
paths.push(defaultWorkspaceEnvPath(args.file));
|
|
344
344
|
}
|
|
345
345
|
if (args.secretsFile === void 0) {
|
|
346
|
-
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-
|
|
346
|
+
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-O5GABAHH.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
349
|
const { gitSaysIgnored } = await import("./store-ARM6VMO5.js");
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-W23MIWX6.js");
|
|
351
351
|
for (const path of paths) {
|
|
352
352
|
if (!existsSync(path)) continue;
|
|
353
353
|
if (gitSaysIgnored(path) !== false) continue;
|
|
@@ -422,8 +422,8 @@ async function soleTrackedEphemeral() {
|
|
|
422
422
|
}
|
|
423
423
|
async function runDeployToDestination(args, to) {
|
|
424
424
|
const { requireBackendSlot, parseSlot } = await import("./backend-slot-7QXW2QYC.js");
|
|
425
|
-
const { resolveSource, describeBackend } = await import("./source-resolve-
|
|
426
|
-
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-UE7DHWYR.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-4BRH7JMY.js");
|
|
427
427
|
const dest = parseSlot(requireBackendSlot("deploy", void 0, "to"), to, to.trim() === "ephemeral" ? await soleTrackedEphemeral() : void 0);
|
|
428
428
|
if (dest.kind !== "workspace" && dest.kind !== "tenant") {
|
|
429
429
|
throw new Error(`Internal: \`deploy --to\` parsed ${withArticle(dest.kind)}, which its slot does not accept.`);
|
|
@@ -498,7 +498,7 @@ async function runDeployToDestination(args, to) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
};
|
|
501
|
-
const { runReleaseCommand } = await import("./release-command-
|
|
501
|
+
const { runReleaseCommand } = await import("./release-command-JJ3QDX3T.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -638,9 +638,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
638
638
|
const { startedAt } = ctx;
|
|
639
639
|
const dir = process.cwd();
|
|
640
640
|
const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
|
|
641
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
641
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-DCKB4AVK.js");
|
|
642
642
|
const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
|
|
643
|
-
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-
|
|
643
|
+
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-4BRH7JMY.js").then(async (m) => {
|
|
644
644
|
const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
|
|
645
645
|
const decoded = decodeWorkspaceArchive(f.archive);
|
|
646
646
|
noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
|
|
@@ -701,9 +701,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
701
701
|
"; nothing was deployed"
|
|
702
702
|
);
|
|
703
703
|
}
|
|
704
|
-
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-
|
|
704
|
+
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-QOQJZ5P2.js");
|
|
705
705
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
706
|
-
const { ensureProjectEngine } = await import("./local-engine-deploy-
|
|
706
|
+
const { ensureProjectEngine } = await import("./local-engine-deploy-AWA65WR2.js");
|
|
707
707
|
const pin = pinAfterAcquire(choice, dir);
|
|
708
708
|
const flags = { keepData: args.keepData, reset: args.reset };
|
|
709
709
|
const { engine, reused, previousUrl, hadRecord, priorFilled, engineVersion, replaced, sweptOrphans } = await withSpinner(
|
|
@@ -752,7 +752,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
752
752
|
};
|
|
753
753
|
try {
|
|
754
754
|
if (arm.arm === "merge") {
|
|
755
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
755
|
+
const { mergeKeepingData } = await import("./keep-data-merge-M4ULDZB6.js");
|
|
756
756
|
merged = await mergeKeepingData({
|
|
757
757
|
auth: bearer,
|
|
758
758
|
baseUrl: engine.url,
|
|
@@ -794,10 +794,10 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
794
794
|
}
|
|
795
795
|
} catch (err) {
|
|
796
796
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
797
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
797
|
+
const { importInProgressError } = await import("./keep-data-merge-M4ULDZB6.js");
|
|
798
798
|
throw importInProgressError(`local engine ${engine.name}`, rerunOf(args), err);
|
|
799
799
|
}
|
|
800
|
-
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-
|
|
800
|
+
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-AWA65WR2.js");
|
|
801
801
|
const unsupported = explainUnsupportedEngineImport(err, engineVersion, {
|
|
802
802
|
latest: await latestEngineRelease(err),
|
|
803
803
|
resetRerun: arm.arm === "merge" ? `${rerunOf(args).command} --reset` : void 0
|
|
@@ -816,7 +816,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
816
816
|
throw unsupported ?? err;
|
|
817
817
|
}
|
|
818
818
|
commitLock?.();
|
|
819
|
-
const { markEngineFilled } = await import("./local-engine-state-
|
|
819
|
+
const { markEngineFilled } = await import("./local-engine-state-TJWPWCC4.js");
|
|
820
820
|
markEngineFilled(dir, engine.url);
|
|
821
821
|
const urlChanged = !reused || previousUrl !== engine.url;
|
|
822
822
|
if (urlChanged) {
|
|
@@ -1109,15 +1109,15 @@ async function runDeploy(args) {
|
|
|
1109
1109
|
if (args.reset && !args.keepData) {
|
|
1110
1110
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1111
1111
|
}
|
|
1112
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1112
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-4BRH7JMY.js");
|
|
1113
1113
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1114
1114
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1115
1115
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1116
1116
|
if (destination.kind === "local-engine") {
|
|
1117
1117
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1118
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1118
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-JX2YUXTZ.js");
|
|
1119
1119
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local-engine"] : ["local-engine", sourceSpec.kind], void 0, {});
|
|
1120
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1120
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-QOQJZ5P2.js");
|
|
1121
1121
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local-engine"] : ["local-engine", sourceSpec.kind]);
|
|
1122
1122
|
}
|
|
1123
1123
|
if (!fetching) {
|
|
@@ -1133,7 +1133,7 @@ async function runDeploy(args) {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
refuseMissingStaticDir(args);
|
|
1135
1135
|
if (destination.kind === "local-engine") {
|
|
1136
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1136
|
+
const { memoCredential } = await import("./tracked-backend-JX2YUXTZ.js");
|
|
1137
1137
|
return deployToLocalEngine(
|
|
1138
1138
|
args,
|
|
1139
1139
|
destination,
|
|
@@ -1145,7 +1145,7 @@ async function runDeploy(args) {
|
|
|
1145
1145
|
const auth = await getAccessToken(args);
|
|
1146
1146
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1147
1147
|
await noteRunScopeFor(auth);
|
|
1148
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1148
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-DCKB4AVK.js");
|
|
1149
1149
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1150
1150
|
frozen: args.frozenLock === true
|
|
1151
1151
|
});
|
|
@@ -1279,7 +1279,7 @@ async function runDeploy(args) {
|
|
|
1279
1279
|
}).finally(() => noteLanded(void 0));
|
|
1280
1280
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1281
1281
|
if (summary.ephemeral !== void 0) {
|
|
1282
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1282
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-JLN6BCQY.js");
|
|
1283
1283
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1284
1284
|
const { storedColumnsAfter } = await import("./live-diff-YONW2VI3.js");
|
|
1285
1285
|
const sent = JSON.parse(bundle);
|
|
@@ -1343,7 +1343,7 @@ async function runDeploy(args) {
|
|
|
1343
1343
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1344
1344
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1345
1345
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1346
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1346
|
+
const { staleDevEnv } = await import("./dev-env-sync-4334IEDW.js");
|
|
1347
1347
|
let stale;
|
|
1348
1348
|
try {
|
|
1349
1349
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1357,7 +1357,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1357
1357
|
}
|
|
1358
1358
|
return;
|
|
1359
1359
|
}
|
|
1360
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1360
|
+
const { syncDevEnv } = await import("./dev-env-sync-4334IEDW.js");
|
|
1361
1361
|
try {
|
|
1362
1362
|
const written = syncDevEnv(cwd, summary.url);
|
|
1363
1363
|
if (written === void 0) return;
|
|
@@ -1467,7 +1467,7 @@ async function latestEngineRelease(err) {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
async function mergeGuards(args, lock, outgoing) {
|
|
1469
1469
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1470
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1470
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-JJ3QDX3T.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1471
1471
|
const guards = {
|
|
1472
1472
|
...pinned.length > 0 ? { pinned } : {},
|
|
1473
1473
|
allowForeignDeletes: args.yes === true,
|
|
@@ -1488,7 +1488,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1488
1488
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1489
1489
|
}
|
|
1490
1490
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1491
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1491
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-M4ULDZB6.js");
|
|
1492
1492
|
const lockPath = resolveLockPath(args, entry);
|
|
1493
1493
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1494
1494
|
const keys = Object.keys(lock.objects);
|
|
@@ -1729,7 +1729,7 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1729
1729
|
}
|
|
1730
1730
|
const { confirm } = await import("./prompt-II3F3LND.js");
|
|
1731
1731
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1732
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1732
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-M4ULDZB6.js");
|
|
1733
1733
|
throw new KeepDataDeclined(label, "deployed");
|
|
1734
1734
|
}
|
|
1735
1735
|
function recordedEntry(file) {
|
|
@@ -1764,7 +1764,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1764
1764
|
{ hintFor: { command: "deploy" } }
|
|
1765
1765
|
);
|
|
1766
1766
|
if (refusal === void 0) return;
|
|
1767
|
-
const { reachableFirst } = await import("./env-target-
|
|
1767
|
+
const { reachableFirst } = await import("./env-target-76MVYUD4.js");
|
|
1768
1768
|
throw await reachableFirst(refusal, auth);
|
|
1769
1769
|
}
|
|
1770
1770
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1778,7 +1778,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1778
1778
|
{ hintFor: { command: "deploy" } }
|
|
1779
1779
|
);
|
|
1780
1780
|
if (refusal === void 0) return;
|
|
1781
|
-
const { reachableFirst } = await import("./env-target-
|
|
1781
|
+
const { reachableFirst } = await import("./env-target-76MVYUD4.js");
|
|
1782
1782
|
throw await reachableFirst(refusal, auth);
|
|
1783
1783
|
}
|
|
1784
1784
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1890,7 +1890,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1890
1890
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1891
1891
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1892
1892
|
if (err.status === 404) {
|
|
1893
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1893
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-T3HVSO4V.js");
|
|
1894
1894
|
await refuseUnreachableWorkspace(auth);
|
|
1895
1895
|
}
|
|
1896
1896
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1958,7 +1958,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1958
1958
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1959
1959
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1960
1960
|
if (arm.arm === "replace") {
|
|
1961
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1961
|
+
const { gateForeignReplace } = await import("./keep-data-merge-M4ULDZB6.js");
|
|
1962
1962
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1963
1963
|
await gateForeignReplace({
|
|
1964
1964
|
auth,
|
|
@@ -2030,7 +2030,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2030
2030
|
let merged;
|
|
2031
2031
|
try {
|
|
2032
2032
|
if (arm.arm === "merge") {
|
|
2033
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2033
|
+
const { mergeKeepingData } = await import("./keep-data-merge-M4ULDZB6.js");
|
|
2034
2034
|
merged = await mergeKeepingData({
|
|
2035
2035
|
auth,
|
|
2036
2036
|
baseUrl,
|
|
@@ -2084,11 +2084,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2084
2084
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2085
2085
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2086
2086
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2087
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2087
|
+
const { importInProgressError } = await import("./keep-data-merge-M4ULDZB6.js");
|
|
2088
2088
|
const retry = retryCommand(args);
|
|
2089
2089
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2090
2090
|
}
|
|
2091
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2091
|
+
const { withSignatureHint } = await import("./release-command-JJ3QDX3T.js");
|
|
2092
2092
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2093
2093
|
}
|
|
2094
2094
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2382,4 +2382,4 @@ export {
|
|
|
2382
2382
|
unknownCreateOutcome,
|
|
2383
2383
|
deployStaticTo
|
|
2384
2384
|
};
|
|
2385
|
-
//# sourceMappingURL=chunk-
|
|
2385
|
+
//# sourceMappingURL=chunk-TLJWHLBK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KUI7V576.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-TNM7VE7N.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-TRJCALW3.js";
|
|
5
5
|
import {
|
|
6
6
|
SourceError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ES3TNTLS.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
10
|
} from "./chunk-2ZUEE4EK.js";
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
SettledWriteFailure,
|
|
83
83
|
classifyFailure
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-TPCOHYPG.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-ZIY7RNUT.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PV7BGEF2.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
32
|
} from "./chunk-T5KELPAR.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-UE7DHWYR.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-UE7DHWYR.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-UE7DHWYR.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-UCZZ6KRR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureExportGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OFEID2IX.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-UF7TI3BS.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ProfileNotFoundError,
|
|
6
6
|
describeRefreshAnswer,
|
|
7
7
|
environmentCredentialVars
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PV7BGEF2.js";
|
|
9
9
|
import {
|
|
10
10
|
yesRerun
|
|
11
11
|
} from "./chunk-T5KELPAR.js";
|
|
@@ -429,4 +429,4 @@ export {
|
|
|
429
429
|
salvageRevocable,
|
|
430
430
|
signInAgain
|
|
431
431
|
};
|
|
432
|
-
//# sourceMappingURL=chunk-
|
|
432
|
+
//# sourceMappingURL=chunk-VAL32UEI.js.map
|