@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
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,20 @@ one release and links to its full notes.
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## 1.0.3 — Agents and MCP servers pass preflight
|
|
12
|
+
|
|
13
|
+
_2026-10-03_ · [release notes](https://github.com/xanots/sdk/releases/tag/v1.0.3)
|
|
14
|
+
|
|
15
|
+
This patch release fixes `xanosdk preflight` on workspaces that have agents or MCP servers, and makes pulling an existing workspace into code more reliable. Agents and MCP servers without sign-in no longer fail the round trip. Workspaces pulled with `export`/codegen now re-export as they were stored and the generated tree typechecks, including shapes older workspaces carry.
|
|
16
|
+
|
|
17
|
+
- `preflight` no longer fails every agent and MCP server without `oauth`
|
|
18
|
+
- UUID primary keys keep their stored default
|
|
19
|
+
- Pulled workspaces decode more statements to typed code
|
|
20
|
+
- Guards the engine accepts are now warnings a def can allow
|
|
21
|
+
- Workspace defects are reported and the tree still compiles
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
11
25
|
## 1.0.2 — Fixtures can pin accepted hazards
|
|
12
26
|
|
|
13
27
|
_2026-10-03_ · [release notes](https://github.com/xanots/sdk/releases/tag/v1.0.2)
|
package/dist/.build-fingerprint
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
35c92bc9bd1d75f5c8306bfc85e1be3cb78530e2cd06ccc81223cd205b553bad
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
codingAgentDetected,
|
|
4
4
|
isCI,
|
|
5
5
|
refreshAgentFiles
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-JP7M7OU7.js";
|
|
7
|
+
import "./chunk-HUSH7LRI.js";
|
|
8
|
+
import "./chunk-ZG7E72VI.js";
|
|
9
|
+
import "./chunk-S7E2AHV3.js";
|
|
10
10
|
import "./chunk-ZFDZKNGG.js";
|
|
11
11
|
import "./chunk-FWD7AL6N.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-3FN2BIGB.js";
|
|
13
13
|
import "./chunk-JTUKLCXS.js";
|
|
14
14
|
import "./chunk-4KHEMC32.js";
|
|
15
15
|
import "./chunk-WRBKLYSJ.js";
|
|
@@ -35,4 +35,4 @@ export {
|
|
|
35
35
|
isCI,
|
|
36
36
|
refreshAgentFiles
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=agent-file-refresh-
|
|
38
|
+
//# sourceMappingURL=agent-file-refresh-LB6KIMFY.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn,
|
|
4
4
|
resolveBackendDir
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-E6H5ZEV3.js";
|
|
6
|
+
import "./chunk-HUSH7LRI.js";
|
|
7
|
+
import "./chunk-ZG7E72VI.js";
|
|
8
|
+
import "./chunk-S7E2AHV3.js";
|
|
9
9
|
import "./chunk-ZFDZKNGG.js";
|
|
10
10
|
import "./chunk-FWD7AL6N.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-3FN2BIGB.js";
|
|
12
12
|
import "./chunk-JTUKLCXS.js";
|
|
13
13
|
import "./chunk-4KHEMC32.js";
|
|
14
14
|
import {
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
projectRootFrom,
|
|
37
37
|
resolveBackendDir
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=backend-dir-
|
|
39
|
+
//# sourceMappingURL=backend-dir-WZADOK3L.js.map
|
package/dist/bin.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
maybeNotifyUpdate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MLPDSGJQ.js";
|
|
5
5
|
import "./chunk-KUTFFHUM.js";
|
|
6
6
|
import "./chunk-2TFRR6JV.js";
|
|
7
7
|
import {
|
|
8
8
|
readVersion,
|
|
9
9
|
run
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WYEQFD6A.js";
|
|
11
11
|
import "./chunk-DIG3NITC.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-664LSWE5.js";
|
|
13
|
+
import "./chunk-LIVN53UV.js";
|
|
14
14
|
import "./chunk-HSEQYBDO.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-T4DUFQ2S.js";
|
|
16
|
+
import "./chunk-2AUV6NXK.js";
|
|
17
17
|
import "./chunk-A6QTTJUI.js";
|
|
18
18
|
import "./chunk-MEE5RZ6G.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LUTMOHOW.js";
|
|
20
|
+
import "./chunk-3P3HXN76.js";
|
|
21
21
|
import "./chunk-W5ONYLOP.js";
|
|
22
22
|
import "./chunk-KCAL4QYP.js";
|
|
23
23
|
import "./chunk-2MNLRIOX.js";
|
|
24
24
|
import "./chunk-WL2DSNJV.js";
|
|
25
25
|
import "./chunk-AM4FKL4J.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-JP7M7OU7.js";
|
|
27
27
|
import "./chunk-UDE5C2XN.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-MLGI2SRQ.js";
|
|
29
29
|
import "./chunk-UKUIUS3E.js";
|
|
30
30
|
import "./chunk-ZYJP6BOO.js";
|
|
31
31
|
import "./chunk-QO6BVGS5.js";
|
|
@@ -35,13 +35,13 @@ import "./chunk-CFSFBKHP.js";
|
|
|
35
35
|
import "./chunk-FMOEVAGT.js";
|
|
36
36
|
import "./chunk-622HUCZT.js";
|
|
37
37
|
import "./chunk-SEUCZZCP.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-E6H5ZEV3.js";
|
|
39
|
+
import "./chunk-HUSH7LRI.js";
|
|
40
|
+
import "./chunk-ZG7E72VI.js";
|
|
41
|
+
import "./chunk-S7E2AHV3.js";
|
|
42
42
|
import "./chunk-ZFDZKNGG.js";
|
|
43
43
|
import "./chunk-FWD7AL6N.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-3FN2BIGB.js";
|
|
45
45
|
import "./chunk-JTUKLCXS.js";
|
|
46
46
|
import {
|
|
47
47
|
installSentWriteTracking,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
runBranchCommand,
|
|
5
5
|
shownLabel,
|
|
6
6
|
staleSchemaRefs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OGBMUST4.js";
|
|
8
8
|
import "./chunk-4APOHK7Y.js";
|
|
9
9
|
import "./chunk-5T2CTWTB.js";
|
|
10
10
|
import "./chunk-WOGJB2F6.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-HMLGM2MW.js";
|
|
|
16
16
|
import "./chunk-XXZZGXW2.js";
|
|
17
17
|
import "./chunk-DIG3NITC.js";
|
|
18
18
|
import "./chunk-A6QTTJUI.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LUTMOHOW.js";
|
|
20
20
|
import "./chunk-KCAL4QYP.js";
|
|
21
21
|
import "./chunk-2MNLRIOX.js";
|
|
22
22
|
import "./chunk-UKUIUS3E.js";
|
|
@@ -76,4 +76,4 @@ export {
|
|
|
76
76
|
shownLabel,
|
|
77
77
|
staleSchemaRefs
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=branch-commands-
|
|
79
|
+
//# sourceMappingURL=branch-commands-ZT2MJIRS.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-MEE5RZ6G.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveEphemeralName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3P3HXN76.js";
|
|
11
11
|
import {
|
|
12
12
|
displayNameHint,
|
|
13
13
|
displayNameOwner,
|
|
@@ -598,4 +598,4 @@ export {
|
|
|
598
598
|
releaseNames,
|
|
599
599
|
resolveSource
|
|
600
600
|
};
|
|
601
|
-
//# sourceMappingURL=chunk-
|
|
601
|
+
//# sourceMappingURL=chunk-2AUV6NXK.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOperation,
|
|
3
3
|
runOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PML67X22.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWorkspaceBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ESZ2FF57.js";
|
|
8
8
|
import {
|
|
9
9
|
assertReleaseIdentitiesFree,
|
|
10
10
|
pinnedCanonicalGuids,
|
|
11
11
|
setLiveRollback
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-45YPFB7B.js";
|
|
13
13
|
import {
|
|
14
14
|
liveBranchMismatch,
|
|
15
15
|
liveMismatch
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OGBMUST4.js";
|
|
17
17
|
import {
|
|
18
18
|
confirm
|
|
19
19
|
} from "./chunk-4APOHK7Y.js";
|
|
20
20
|
import {
|
|
21
21
|
landingLockPath,
|
|
22
22
|
recordForeignLanding
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-C4FHQA7R.js";
|
|
24
24
|
import {
|
|
25
25
|
CONSTRAINT_FIX,
|
|
26
26
|
CONSTRAINT_PHRASE,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
asWorkspaceArchive,
|
|
48
48
|
resolveProjectEntry
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VRVKNY4A.js";
|
|
50
50
|
import {
|
|
51
51
|
exportWorkspaceBundle
|
|
52
52
|
} from "./chunk-QV3GXQRE.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
SettledWriteFailure,
|
|
58
58
|
classifyFailure
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-O5V3YH5P.js";
|
|
60
60
|
import {
|
|
61
61
|
BranchTakenError,
|
|
62
62
|
assertBranchAbsent,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
} from "./chunk-DIG3NITC.js";
|
|
77
77
|
import {
|
|
78
78
|
resolveSource
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-2AUV6NXK.js";
|
|
80
80
|
import {
|
|
81
81
|
ReleaseHttpError,
|
|
82
82
|
UNPROMOTABLE_RELEASE_PARTS,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
} from "./chunk-A6QTTJUI.js";
|
|
89
89
|
import {
|
|
90
90
|
getAccessToken
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-LUTMOHOW.js";
|
|
92
92
|
import {
|
|
93
93
|
pipedYes,
|
|
94
94
|
retryCommand,
|
|
@@ -464,7 +464,7 @@ async function runPromoteCommand(args) {
|
|
|
464
464
|
discloseWriteTarget(destination);
|
|
465
465
|
const lockPath = landingLockPath(args, args.entryPath === void 0 ? {} : { entryFile: args.entryPath });
|
|
466
466
|
if (lockPath === void 0 && args.noLock !== true) {
|
|
467
|
-
const { nestedBackendEntries } = await import("./tracked-backend-
|
|
467
|
+
const { nestedBackendEntries } = await import("./tracked-backend-PZGUWD5J.js");
|
|
468
468
|
const nested = nestedBackendEntries(process.cwd());
|
|
469
469
|
if (nested.length > 0) {
|
|
470
470
|
warn(
|
|
@@ -911,7 +911,7 @@ Nothing was switched. Serve it deliberately with \`xanosdk workspace branch set-
|
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
913
|
async function unansweredBranchRead(err, args, what) {
|
|
914
|
-
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-
|
|
914
|
+
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-DMDZVPMM.js");
|
|
915
915
|
const transport = isTransportFailure(err);
|
|
916
916
|
if (!transport && !isServerError(err)) return err;
|
|
917
917
|
const first = what !== void 0 ? `could not read ${what}` : ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
|
|
@@ -937,4 +937,4 @@ export {
|
|
|
937
937
|
reportNotRun,
|
|
938
938
|
runPromoteCommand
|
|
939
939
|
};
|
|
940
|
-
//# sourceMappingURL=chunk-
|
|
940
|
+
//# sourceMappingURL=chunk-2B22WWKL.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-UTI5G6OJ.js";
|
|
26
26
|
|
|
27
27
|
// src/emit/marketplace-catalogue.ts
|
|
28
|
-
var DEFAULT_BASE_URL = "https://
|
|
28
|
+
var DEFAULT_BASE_URL = "https://xo2z-4vn5-mdxv.dev.xano.io";
|
|
29
29
|
var CATALOGUE_TIMEOUT_MS = 3e4;
|
|
30
30
|
function baseUrl() {
|
|
31
31
|
return readEnvVar("XANOSDK_MARKETPLACE_URL") ?? DEFAULT_BASE_URL;
|
|
@@ -76,8 +76,7 @@ function projectModule(raw) {
|
|
|
76
76
|
requirements: projectRequirements(raw.requirements),
|
|
77
77
|
register_snippet: asString(raw.register_snippet),
|
|
78
78
|
agent_prompt: asString(raw.agent_prompt),
|
|
79
|
-
listed: asBoolean(raw.listed)
|
|
80
|
-
deleted: asBoolean(raw.deleted)
|
|
79
|
+
listed: asBoolean(raw.listed)
|
|
81
80
|
};
|
|
82
81
|
}
|
|
83
82
|
var ModuleNotFoundError = class extends Error {
|
|
@@ -106,7 +105,7 @@ function isCatalogueOutage(err) {
|
|
|
106
105
|
async function read(path, params) {
|
|
107
106
|
let url;
|
|
108
107
|
try {
|
|
109
|
-
url = new URL(
|
|
108
|
+
url = new URL(baseUrl().replace(/\/+$/, "") + path);
|
|
110
109
|
} catch {
|
|
111
110
|
throw new Error(
|
|
112
111
|
`XANOSDK_MARKETPLACE_URL is not a valid URL: ${JSON.stringify(process.env.XANOSDK_MARKETPLACE_URL)}`
|
|
@@ -158,7 +157,7 @@ function expectArray(value, path) {
|
|
|
158
157
|
}
|
|
159
158
|
async function fetchCatalogue() {
|
|
160
159
|
const path = "/api:marketplace/plugins";
|
|
161
|
-
return expectArray(await read(path), path).filter((raw) => raw.
|
|
160
|
+
return expectArray(await read(path), path).filter((raw) => raw.listed !== false).map(projectModule);
|
|
162
161
|
}
|
|
163
162
|
var SEARCHED = ["title", "slug", "npm_package", "tagline", "description"];
|
|
164
163
|
async function searchCatalogue(query) {
|
|
@@ -285,7 +284,7 @@ async function resolveMarketplaceSpec(spec, command) {
|
|
|
285
284
|
const message = `\`${command}\`: could not reach the Xano SDK marketplace to confirm that ${name} is a module (${err instanceof Error ? err.message : String(err)}), so nothing was installed. An \`${FIRST_PARTY_SCOPE}\` module installs by its full name without it.`;
|
|
286
285
|
throw isCatalogueOutage(err) ? new CatalogueUnreachableError(message) : new Error(message);
|
|
287
286
|
}
|
|
288
|
-
if (mod.
|
|
287
|
+
if (mod.listed === false) {
|
|
289
288
|
throw new MarketplaceModuleNotFoundError(
|
|
290
289
|
`\`${command}\`: ${mod.npm_package ?? name} has been removed from the Xano SDK marketplace, so nothing was installed. Run \`xanosdk marketplace list\` for the modules that are published.`
|
|
291
290
|
);
|
|
@@ -341,7 +340,7 @@ async function resolveProjectModuleListing(spec, dir) {
|
|
|
341
340
|
} catch (err) {
|
|
342
341
|
return { pkg: spec, listing: err instanceof ModuleNotFoundError ? "unlisted" : "unknown" };
|
|
343
342
|
}
|
|
344
|
-
if (mod.
|
|
343
|
+
if (mod.listed === false && !known.has(mod.npm_package ?? spec)) return { pkg: spec, listing: "unlisted" };
|
|
345
344
|
const pkg = mod.npm_package ?? spec;
|
|
346
345
|
if (pkg !== spec) info(`${spec} is the marketplace module ${pkg}.`);
|
|
347
346
|
return { pkg, listing: known.has(pkg) ? "project" : "catalogue" };
|
|
@@ -387,4 +386,4 @@ export {
|
|
|
387
386
|
unlistedModuleError,
|
|
388
387
|
withCatalogueRerun
|
|
389
388
|
};
|
|
390
|
-
//# sourceMappingURL=chunk-
|
|
389
|
+
//# sourceMappingURL=chunk-3FN2BIGB.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-2TWZBHQY.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-3P3HXN76.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
passwordHashesWarning,
|
|
9
9
|
passwordOrigin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ET5DSBAC.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-IJ3SXSZM.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,19 +48,19 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-WYEQFD6A.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
54
|
} from "./chunk-HSEQYBDO.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-2AUV6NXK.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-LUTMOHOW.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-3P3HXN76.js";
|
|
64
64
|
import {
|
|
65
65
|
engineNameForProject,
|
|
66
66
|
getEngineRecord
|
|
@@ -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-A4G2FP7G.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-A4G2FP7G.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-A4G2FP7G.js");
|
|
299
299
|
const { qualifiedName } = await import("./tests-C55M5EQS.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-VA7XN3UX.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-FUG7WCES.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
349
|
const { gitSaysIgnored } = await import("./store-MR7IKXKK.js");
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-FWPEDX6C.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-NSCTWCUX.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-DMDZVPMM.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-5CET3A5D.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-2OTNVMIL.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-3M7QDJBV.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-5CET3A5D.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,7 +701,7 @@ 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-6BSPEG3E.js");
|
|
705
705
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
706
706
|
const { ensureProjectEngine } = await import("./local-engine-deploy-TXAOYRGF.js");
|
|
707
707
|
const pin = pinAfterAcquire(choice, dir);
|
|
@@ -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-X5LDDCI3.js");
|
|
756
756
|
merged = await mergeKeepingData({
|
|
757
757
|
auth: bearer,
|
|
758
758
|
baseUrl: engine.url,
|
|
@@ -794,7 +794,7 @@ 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-X5LDDCI3.js");
|
|
798
798
|
throw importInProgressError(`local engine ${engine.name}`, rerunOf(args), err);
|
|
799
799
|
}
|
|
800
800
|
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-TXAOYRGF.js");
|
|
@@ -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-5CET3A5D.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-PZGUWD5J.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-6BSPEG3E.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-PZGUWD5J.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-3M7QDJBV.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-QYECWLQ5.js");
|
|
1283
1283
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1284
1284
|
const { storedColumnsAfter } = await import("./live-diff-2S7E3SBZ.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-X636HLMK.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-X636HLMK.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-2OTNVMIL.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-X5LDDCI3.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-5GUQTCSP.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-X5LDDCI3.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-PO3MOLH5.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-PO3MOLH5.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-2TWZBHQY.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-X5LDDCI3.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-X5LDDCI3.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-X5LDDCI3.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-2OTNVMIL.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-44B4V2LR.js.map
|