@xano/sdk 1.0.0 → 1.0.2
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-E6VSDB2M.js} +10 -10
- package/dist/{answer-shape-K67TAAPY.js → answer-shape-BOZSUUBR.js} +5 -5
- package/dist/{backend-dir-2U53CIAL.js → backend-dir-5ER5P65P.js} +10 -10
- package/dist/{backend-slot-7QXW2QYC.js → backend-slot-7EYY7DU5.js} +4 -4
- package/dist/bin.js +49 -49
- package/dist/{branch-NCRNWQBQ.js → branch-2W7SCLTJ.js} +9 -9
- package/dist/{branch-commands-ACIRCEQJ.js → branch-commands-BNQUXQW2.js} +32 -32
- package/dist/bundle.js +4 -4
- package/dist/{chunk-X677DMZM.js → chunk-2DH7VTO5.js} +40 -40
- package/dist/{chunk-C6RIMRU4.js → chunk-2UN4TGBK.js} +4 -4
- package/dist/{chunk-2EZ3ZJZZ.js → chunk-2Y4X2VLM.js} +9 -3
- package/dist/{chunk-QCNYHBL7.js → chunk-2YH2I6RA.js} +15 -15
- package/dist/{chunk-ZIY7RNUT.js → chunk-36X3OZKU.js} +3 -3
- package/dist/{chunk-N5GKCWE5.js → chunk-4PCJEHA4.js} +2 -2
- package/dist/{chunk-D7VGG3WS.js → chunk-5G5J5YRO.js} +2 -2
- package/dist/{chunk-JZGVVJSI.js → chunk-5JULOSEF.js} +2 -2
- package/dist/{chunk-LPECSJ2J.js → chunk-5KDJCQEU.js} +2 -2
- package/dist/{chunk-6QXLMMT3.js → chunk-5OT4QGGZ.js} +4 -4
- package/dist/{chunk-ET4Y4XCB.js → chunk-5RA4BBJL.js} +8 -8
- package/dist/{chunk-5V5XU32D.js → chunk-5WGGTU5K.js} +2 -2
- package/dist/{chunk-YHEFQUQB.js → chunk-64AYI7QR.js} +4 -4
- package/dist/{chunk-APWXY5SL.js → chunk-6EJQ4EJ7.js} +2 -2
- package/dist/{chunk-2CMJZDCL.js → chunk-6RIKXG5I.js} +3 -3
- package/dist/{chunk-FXRQOWTE.js → chunk-6X2I2WMV.js} +4 -4
- package/dist/{chunk-HRVBLCVJ.js → chunk-7K6A4O2T.js} +2 -2
- package/dist/{chunk-CTMO46PK.js → chunk-7THLGPVA.js} +6 -6
- package/dist/{chunk-D53J55C5.js → chunk-AHPEGODA.js} +2 -2
- package/dist/{chunk-AWEIIR2U.js → chunk-BPJIHLP2.js} +8 -8
- package/dist/{chunk-IDOTCMDV.js → chunk-BTR2EQ4T.js} +3 -3
- package/dist/{chunk-SWBF2LTK.js → chunk-C3YIYEWR.js} +7 -7
- package/dist/{chunk-KTSDSD36.js → chunk-CALOC47J.js} +7 -7
- package/dist/{chunk-2GNFDZA2.js → chunk-CNYP6X7Q.js} +5 -5
- package/dist/{chunk-ELP2HMXC.js → chunk-CSKYCZMO.js} +7 -7
- package/dist/{chunk-XBKMWY7F.js → chunk-D2JAPAQL.js} +9 -9
- package/dist/{chunk-UVHDMMIP.js → chunk-D3YR6AIZ.js} +7 -7
- package/dist/{chunk-K5BBGTYZ.js → chunk-DBZASBQS.js} +2 -2
- package/dist/{chunk-5A2PLKZB.js → chunk-DMD5I36N.js} +3 -3
- package/dist/{chunk-WQFNASK4.js → chunk-DPDHBJNI.js} +4 -4
- package/dist/{chunk-SFLHVCKX.js → chunk-DRRJCODW.js} +8 -8
- package/dist/{chunk-45UIT5T2.js → chunk-DTZSOJ6M.js} +4 -4
- package/dist/{chunk-YGZHHAAB.js → chunk-EDCCKH7Y.js} +10 -10
- package/dist/{chunk-5QU2P5CA.js → chunk-EJ3JCML2.js} +3 -3
- package/dist/{chunk-3KZCLN4Z.js → chunk-FAGYIOLE.js} +4 -4
- package/dist/{chunk-65HWOMGV.js → chunk-FEQICT4D.js} +2 -2
- package/dist/{chunk-TRJCALW3.js → chunk-FFDZFVBD.js} +4 -4
- package/dist/{chunk-4Q2GN7NW.js → chunk-FLLBK7EH.js} +3 -3
- package/dist/{chunk-6ZGJCBZS.js → chunk-G4PFESPY.js} +3 -3
- package/dist/{chunk-HVRUQXGD.js → chunk-G5IW3EYW.js} +2 -2
- package/dist/{chunk-6HO3NCSJ.js → chunk-GGZILEUD.js} +2 -2
- package/dist/{chunk-XW6KISBB.js → chunk-GME75QO6.js} +4 -4
- package/dist/{chunk-W3HBUKFO.js → chunk-GQ4PMMCQ.js} +3 -3
- package/dist/{chunk-I4F5TCJH.js → chunk-GSCW6RMU.js} +4 -4
- package/dist/{chunk-STSFNCY4.js → chunk-GUKT7QYA.js} +2 -2
- package/dist/{chunk-ETO6LGLD.js → chunk-HDIISRNY.js} +78 -78
- package/dist/{chunk-OXA6PSZT.js → chunk-HYAI62TU.js} +24 -10
- package/dist/{chunk-RTJRZFFY.js → chunk-IG5QQQSA.js} +2 -2
- package/dist/{chunk-6IUMKYWI.js → chunk-IWGNIWQX.js} +5 -5
- package/dist/{chunk-2ZUEE4EK.js → chunk-JIEZZ5QU.js} +2 -2
- package/dist/{chunk-T5KELPAR.js → chunk-JWW4KU7T.js} +2 -2
- package/dist/{chunk-TPHWJ7UG.js → chunk-JXUBSUQY.js} +6 -6
- package/dist/{chunk-K4WX6UUU.js → chunk-JZCR3EQM.js} +18 -18
- package/dist/{chunk-PTHVMXZI.js → chunk-JZEWT7NY.js} +2 -2
- package/dist/{chunk-6PBR37LN.js → chunk-L3LYWXVE.js} +2 -2
- package/dist/{chunk-CGVQZXYG.js → chunk-LZZ7HN4L.js} +5 -5
- package/dist/{chunk-HHN734BU.js → chunk-MOELGXVV.js} +14 -14
- package/dist/{chunk-BWPNT55T.js → chunk-MPSVU34E.js} +5 -5
- package/dist/{chunk-WZDJ2LLX.js → chunk-NSE7BZB6.js} +70 -70
- package/dist/{chunk-CJHQKJU4.js → chunk-OJLJA3XM.js} +2 -2
- package/dist/{chunk-UZ6QQWJT.js → chunk-OY4PS6SO.js} +4 -4
- package/dist/{chunk-H5C7MBCR.js → chunk-P7MBT4LJ.js} +2 -2
- package/dist/{chunk-Q325JKYB.js → chunk-P7PYN6HI.js} +3 -3
- package/dist/{chunk-U64O2MXY.js → chunk-PCJLL36N.js} +4 -4
- package/dist/{chunk-LRN4ZJCQ.js → chunk-PFFXX6YU.js} +40 -40
- package/dist/{chunk-BHACRS6R.js → chunk-PGBSDRT4.js} +27 -27
- package/dist/{chunk-YLDALTWZ.js → chunk-PYT3DC4G.js} +2 -2
- package/dist/{chunk-A3UDOZB6.js → chunk-QVZYYBVY.js} +4 -4
- package/dist/{chunk-73IVBKMA.js → chunk-R3X7ECBS.js} +3 -3
- package/dist/{chunk-NAQDMEHV.js → chunk-RJOGX6LA.js} +2 -2
- package/dist/{chunk-FQJ2TTHP.js → chunk-S3SV2BE7.js} +7 -7
- package/dist/{chunk-7G3CTU7I.js → chunk-SSK5OWT6.js} +4 -4
- package/dist/{chunk-6ELFRN3P.js → chunk-SZCQ2HVH.js} +2 -2
- package/dist/{chunk-G554NZNI.js → chunk-SZOCJRFC.js} +2 -2
- package/dist/{chunk-TLHIFK4M.js → chunk-TAHRVKKZ.js} +3 -3
- package/dist/{chunk-AN6BL47T.js → chunk-VGV2RF5X.js} +2 -2
- package/dist/{chunk-3LDULPRE.js → chunk-VIPK7FHI.js} +2 -2
- package/dist/{chunk-MJ4ZVHKN.js → chunk-VSL7ET5S.js} +2 -2
- package/dist/{chunk-DAD3ONIS.js → chunk-VTLE2QDY.js} +4 -4
- package/dist/{chunk-6NNTNXN7.js → chunk-VUVPZYMM.js} +4 -4
- package/dist/{chunk-IGOLHKWF.js → chunk-VVE3C2X6.js} +3 -3
- package/dist/{chunk-3M4LFYNQ.js → chunk-WL2DSNJV.js} +55 -22
- package/dist/{chunk-LIEOKXKD.js → chunk-WP4N63FZ.js} +5 -5
- package/dist/{chunk-WKQLGKCL.js → chunk-WPTLUJJR.js} +45 -45
- package/dist/{chunk-BAUZOWGX.js → chunk-WQCL3AV7.js} +9 -6
- package/dist/{chunk-MXHSQOC4.js → chunk-WT7XRC6A.js} +12 -12
- package/dist/{chunk-AHJWCYQO.js → chunk-XNHEGBBT.js} +3 -3
- package/dist/{chunk-L5JYN3NM.js → chunk-YP5ME5RT.js} +2 -2
- package/dist/{chunk-K6RXBGUB.js → chunk-YYLRKWCZ.js} +14 -14
- package/dist/{chunk-SAVJUS2X.js → chunk-YZ2UIG2K.js} +3 -3
- package/dist/{chunk-5FBYXK5P.js → chunk-Z6LUIVLY.js} +2 -2
- package/dist/{chunk-AOSYVMUS.js → chunk-ZH4O6RWX.js} +6 -6
- package/dist/{chunk-DX4QR4B2.js → chunk-ZNTK4GCI.js} +6 -6
- package/dist/{chunk-A6E77GDW.js → chunk-ZP6QRKZX.js} +8 -8
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +47 -47
- package/dist/{codegen-command-VR2GWR6C.js → codegen-command-VO3RQTFX.js} +62 -62
- package/dist/{commands-GJMJ4XYZ.js → commands-QZERBFE2.js} +3 -3
- package/dist/{completion-ZQLO6PB6.js → completion-6EKRFJJG.js} +3 -3
- package/dist/{config-MBYGCAFK.js → config-PZIRRUP6.js} +4 -4
- package/dist/{deploy-command-JVZPWHMK.js → deploy-command-UGJPAXFQ.js} +54 -54
- package/dist/{deploy-source-3W45CXMP.js → deploy-source-N6DMS2C5.js} +27 -27
- package/dist/{dev-env-sync-HN44K4D5.js → dev-env-sync-EM4DWMN7.js} +48 -48
- package/dist/{diagnostics-UEAAHWVF.js → diagnostics-NSTYAWWN.js} +2 -2
- package/dist/{display-name-hint-ABBPVQIR.js → display-name-hint-WT4SRTLI.js} +11 -11
- package/dist/{emit-CyhBDxli.d.ts → emit-BWGtkkOK.d.ts} +10 -10
- package/dist/env-example-refresh-KJEKKD2S.js +126 -0
- package/dist/{env-pull-command-TNMNB3CV.js → env-pull-command-OHNICDTL.js} +45 -45
- package/dist/{env-target-O4HRKTGZ.js → env-target-5QFU2TR5.js} +10 -10
- package/dist/{env-var-command-ZIRDCAZA.js → env-var-command-AZCWUGI5.js} +37 -37
- package/dist/{ephemeral-P7F3PMAD.js → ephemeral-76VMMZOU.js} +9 -9
- package/dist/{ephemeral-command-CLJJKOFT.js → ephemeral-command-EOAMMY3V.js} +46 -46
- package/dist/{ephemeral-state-PYCBSOGX.js → ephemeral-state-RRGJZBVF.js} +8 -8
- package/dist/{generate-command-AYEOLA26.js → generate-command-LPX3ATV6.js} +66 -66
- package/dist/{gitignore-3SJ3WNRG.js → gitignore-BPYA5H34.js} +14 -14
- package/dist/{guards-4EBNCZDC.js → guards-FFQY3XAT.js} +7 -7
- package/dist/{impersonate-command-5JAS3WSV.js → impersonate-command-HLL2FKSY.js} +33 -33
- package/dist/{import-EQSFU6JC.js → import-BG36DYZI.js} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +16 -16
- package/dist/{init-command-X2FR4UAK.js → init-command-BC77KHUS.js} +52 -52
- package/dist/{init-modules-RY7UHAOL.js → init-modules-AAH2UPHQ.js} +8 -8
- package/dist/{init-web-M4YZSZK6.js → init-web-YBUM2BD5.js} +3 -3
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +16 -15
- package/dist/{keep-data-merge-7MPLVAVI.js → keep-data-merge-DQR6L5FV.js} +31 -31
- package/dist/{landing-record-SU52SKXU.js → landing-record-HWZTBTTP.js} +16 -16
- package/dist/{live-diff-YONW2VI3.js → live-diff-VJGPLS3E.js} +9 -9
- package/dist/{local-engine-choice-CH5X3W7E.js → local-engine-choice-QDOR72VD.js} +30 -30
- package/dist/{local-engine-command-Z3OL7VOD.js → local-engine-command-CJKBG5M4.js} +39 -44
- package/dist/{local-engine-deploy-PCQ4SNPB.js → local-engine-deploy-ACJTJ7X5.js} +14 -13
- package/dist/{local-engine-process-EHTE5LLU.js → local-engine-process-ZJUPJ7VJ.js} +9 -8
- package/dist/{local-engine-state-A4FTRFAF.js → local-engine-state-TJWPWCC4.js} +5 -2
- package/dist/{local-engine-update-check-6L645VBL.js → local-engine-update-check-REGHKVK7.js} +5 -5
- package/dist/{lock-commands-2QG25HL7.js → lock-commands-XTMBIWGO.js} +52 -52
- package/dist/{login-command-QPYRWOXZ.js → login-command-QSNMIG4D.js} +22 -22
- package/dist/{logout-command-WOIQLDP6.js → logout-command-AL54YZDB.js} +13 -13
- package/dist/{loop-ALIZLOSX.js → loop-XLJ7S37B.js} +9 -9
- package/dist/{marketplace-command-K5YL42NO.js → marketplace-command-UHZXGJMH.js} +28 -46
- package/dist/{marketplace-resolve-LY32JES5.js → marketplace-resolve-4RQQ46LA.js} +6 -6
- package/dist/{meta-client-YXGPW53C.js → meta-client-FFNDXZCQ.js} +11 -11
- package/dist/{module-manifest-JFGHU2TC.js → module-manifest-TTQAEXPS.js} +4 -4
- package/dist/node.d.ts +6 -6
- package/dist/node.js +55 -55
- package/dist/{operation-outcome-TZSESNC7.js → operation-outcome-KMWK4IBN.js} +21 -21
- package/dist/{output-target-AL3I44GG.js → output-target-MVKAEPEI.js} +15 -15
- package/dist/{plan-disclosure-6G4MLZKD.js → plan-disclosure-ZDZISUWI.js} +23 -23
- package/dist/{plugin-contributions-WRNY5ABG.js → plugin-contributions-3O2MOX3B.js} +5 -5
- package/dist/{plugin-prompt-4VA3B4FF.js → plugin-prompt-4ELLDFBD.js} +5 -5
- package/dist/{plugin-questions-JTSYA74Q.js → plugin-questions-JTRIFEHW.js} +4 -4
- package/dist/{preflight-command-2T5Z36MI.js → preflight-command-4FFDUHNT.js} +60 -60
- package/dist/{profile-command-AH3PIM4X.js → profile-command-XV4JXLIJ.js} +23 -23
- package/dist/{profile-pointer-GRWJU3YD.js → profile-pointer-RKGBAGY6.js} +4 -4
- package/dist/{project-dependency-KSH63ODT.js → project-dependency-X7RULUFH.js} +7 -7
- package/dist/{project-sdk-REPPOIBD.js → project-sdk-JYV7APT5.js} +4 -4
- package/dist/promote-command-VES2PITU.js +140 -0
- package/dist/{prompt-II3F3LND.js → prompt-SYH2EYXM.js} +4 -4
- package/dist/{publish-command-TTDUUJI5.js → publish-command-KZOCPBMT.js} +57 -57
- package/dist/{pull-command-VBO7C4S3.js → pull-command-5O2JPLXN.js} +65 -65
- package/dist/{pull-superseded-GJWLG7XO.js → pull-superseded-B7SOPA2M.js} +4 -4
- package/dist/{release-command-N4ZPKMHR.js → release-command-GJCCSDJF.js} +63 -63
- package/dist/{release-ns-command-3KFDMZ6G.js → release-ns-command-TCPT6N4H.js} +82 -82
- package/dist/{retry-command-AS5EVREX.js → retry-command-5PNYSQFN.js} +8 -8
- package/dist/{routes-manifest-SNWUVBT6.js → routes-manifest-UPZQIGKC.js} +8 -8
- package/dist/{secrets-file-LVZD6IIM.js → secrets-file-6524YY62.js} +14 -14
- package/dist/{secrets-fill-command-TTCPSVXN.js → secrets-fill-command-VX3TIYHL.js} +51 -51
- package/dist/{seed-VU7C3QYS.js → seed-HBA6FWRQ.js} +5 -5
- package/dist/{source-resolve-S2XA3XZF.js → source-resolve-ACQV343A.js} +19 -19
- package/dist/{static-host-B2Y6AG3W.js → static-host-SFDXSHYY.js} +5 -5
- package/dist/{status-command-RUDXTF7I.js → status-command-X7W7PRWM.js} +34 -34
- package/dist/{store-ARM6VMO5.js → store-CW5SHKXC.js} +6 -6
- package/dist/{store-DuYfzKlW.d.ts → store-DVvwC4C4.d.ts} +16 -4
- package/dist/{sync-contributions-UCEROO26.js → sync-contributions-VN2IEVBA.js} +9 -9
- package/dist/{table-ENAVMITR.js → table-K5YSS6MV.js} +7 -7
- package/dist/{tables-command-GUPXXSB5.js → tables-command-CJ5TF5JO.js} +33 -33
- package/dist/{tenant-IIHPOHGP.js → tenant-TDTYXUGJ.js} +10 -10
- package/dist/{tenant-command-D5HGI2X4.js → tenant-command-SJDTSWGV.js} +83 -83
- package/dist/{test-command-TIKZMDPZ.js → test-command-4ICR3BPL.js} +32 -32
- package/dist/{tests-BGGIOK3L.js → tests-NQYQJQWY.js} +6 -6
- package/dist/{token-NICJUTMT.js → token-JMW2GNLV.js} +9 -9
- package/dist/{toolchain-hooks-GHKLUJOH.js → toolchain-hooks-VUCFFZ7A.js} +3 -3
- package/dist/{toolchain-modules-5EAZUONB.js → toolchain-modules-J7FUTUTL.js} +5 -5
- package/dist/{tracked-backend-EIBUMDZA.js → tracked-backend-GOVQ4OGJ.js} +30 -30
- package/dist/{update-check-2W2NLDTC.js → update-check-3CPTCQNK.js} +50 -50
- package/dist/{upgrade-command-QHNFWM7O.js → upgrade-command-MWP5JE5V.js} +52 -52
- package/dist/{whoami-command-STGINTXH.js → whoami-command-URRENPGI.js} +12 -12
- package/dist/{workspace-2CLHU2LK.js → workspace-LLYL5FMC.js} +5 -5
- package/dist/{workspace-binding-56PIIPCP.js → workspace-binding-DJQ5HZKG.js} +11 -11
- package/dist/{workspace-command-JEXQETJD.js → workspace-command-LZJPHSVH.js} +76 -76
- package/dist/{workspace-env-F2RFMSC5.js → workspace-env-M5GF3UPN.js} +11 -11
- package/dist/{workspace-export-OJSH2HIW.js → workspace-export-ME52ELKP.js} +5 -5
- package/dist/{writable-VA7OISSK.js → writable-RQGBSRG6.js} +4 -4
- package/dist/{xano-ICFUSPFR.js → xano-EIUBBA6W.js} +9 -9
- package/dist/{xanosdk-import-GN42TO2B.js → xanosdk-import-PYZC3KWN.js} +6 -6
- package/dist/{xanosdk-project-S6DXJONQ.js → xanosdk-project-TWV27WO2.js} +12 -12
- package/llms/lambda.md +1 -0
- package/llms-full.txt +2 -1
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/env-example-refresh-ET5HMMDW.js +0 -126
- package/dist/promote-command-PCWT5N6S.js +0 -140
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
microserviceLine,
|
|
4
4
|
readyRatio,
|
|
5
5
|
waitForMicroservices
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6X2I2WMV.js";
|
|
7
7
|
import {
|
|
8
8
|
passwordHashesWarning,
|
|
9
9
|
passwordOrigin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BPJIHLP2.js";
|
|
11
11
|
import {
|
|
12
12
|
openBrowser
|
|
13
13
|
} from "./chunk-FQOF7E2E.js";
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
staticRetryHint,
|
|
26
26
|
unknownStaticOutcome,
|
|
27
27
|
warnStaticTeardown
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-S3SV2BE7.js";
|
|
29
29
|
import {
|
|
30
30
|
HostedFilesUnresolvedError,
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DPDHBJNI.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-HDIISRNY.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-5KDJCQEU.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-2YH2I6RA.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-5RA4BBJL.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-C3YIYEWR.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,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
readEphemeralState,
|
|
76
76
|
recordStaticUrl,
|
|
77
77
|
setEnvironment
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-EJ3JCML2.js";
|
|
79
79
|
import {
|
|
80
80
|
selectDeployArm
|
|
81
81
|
} from "./chunk-ZYJP6BOO.js";
|
|
@@ -89,20 +89,20 @@ import {
|
|
|
89
89
|
namedEphemeral,
|
|
90
90
|
renameEphemeral,
|
|
91
91
|
waitUntilReady
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-SSK5OWT6.js";
|
|
93
93
|
import {
|
|
94
94
|
pipedYes,
|
|
95
95
|
retryCommand,
|
|
96
96
|
withheldNote,
|
|
97
97
|
yesRerun
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-JWW4KU7T.js";
|
|
99
99
|
import {
|
|
100
100
|
andList
|
|
101
101
|
} from "./chunk-622HUCZT.js";
|
|
102
102
|
import {
|
|
103
103
|
contextFlags,
|
|
104
104
|
credentialFileOf
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-RJOGX6LA.js";
|
|
106
106
|
import {
|
|
107
107
|
describeWrite,
|
|
108
108
|
noteLanded
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
certificateFailureCode,
|
|
121
121
|
closeSentence,
|
|
122
122
|
withoutReadAftermath
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-PYT3DC4G.js";
|
|
124
124
|
import {
|
|
125
125
|
DEFAULT_PROFILE
|
|
126
126
|
} from "./chunk-QXTKSOFI.js";
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
withSpinner,
|
|
152
152
|
writeJson,
|
|
153
153
|
writeTargetPayload
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-JZEWT7NY.js";
|
|
155
155
|
import {
|
|
156
156
|
codePinnedTables
|
|
157
157
|
} from "./chunk-6MR5TI5V.js";
|
|
@@ -204,7 +204,7 @@ function deriveDisplay(bundleText, cwd, source) {
|
|
|
204
204
|
return basename(cwd) || "xanosdk-app";
|
|
205
205
|
}
|
|
206
206
|
async function assertNoSeedLeaks(dir, values, opts = {}) {
|
|
207
|
-
const { assertStaticDir, findSeedLeaks, StaticDirError } = await import("./static-host-
|
|
207
|
+
const { assertStaticDir, findSeedLeaks, StaticDirError } = await import("./static-host-SFDXSHYY.js");
|
|
208
208
|
try {
|
|
209
209
|
assertStaticDir(dir, "--static", void 0, opts);
|
|
210
210
|
} catch (err) {
|
|
@@ -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-4ICR3BPL.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,12 +291,12 @@ 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-4ICR3BPL.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-
|
|
299
|
-
const { qualifiedName } = await import("./tests-
|
|
298
|
+
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-4ICR3BPL.js");
|
|
299
|
+
const { qualifiedName } = await import("./tests-NQYQJQWY.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");
|
|
302
302
|
return void 0;
|
|
@@ -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-M5GF3UPN.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-6524YY62.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
|
-
const { gitSaysIgnored } = await import("./store-
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
349
|
+
const { gitSaysIgnored } = await import("./store-CW5SHKXC.js");
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-BPYA5H34.js");
|
|
351
351
|
for (const path of paths) {
|
|
352
352
|
if (!existsSync(path)) continue;
|
|
353
353
|
if (gitSaysIgnored(path) !== false) continue;
|
|
@@ -416,14 +416,14 @@ function shipsStoredFiles(bundle) {
|
|
|
416
416
|
return Array.isArray(payload?.vault) && payload.vault.length > 0;
|
|
417
417
|
}
|
|
418
418
|
async function soleTrackedEphemeral() {
|
|
419
|
-
const { readEphemeralState: readEphemeralState2 } = await import("./ephemeral-state-
|
|
419
|
+
const { readEphemeralState: readEphemeralState2 } = await import("./ephemeral-state-RRGJZBVF.js");
|
|
420
420
|
const names = new Set(Object.values(readEphemeralState2(process.cwd()).environments).map((r) => r.name));
|
|
421
421
|
return names.size === 1 ? [...names][0] : void 0;
|
|
422
422
|
}
|
|
423
423
|
async function runDeployToDestination(args, to) {
|
|
424
|
-
const { requireBackendSlot, parseSlot } = await import("./backend-slot-
|
|
425
|
-
const { resolveSource, describeBackend } = await import("./source-resolve-
|
|
426
|
-
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-
|
|
424
|
+
const { requireBackendSlot, parseSlot } = await import("./backend-slot-7EYY7DU5.js");
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-ACQV343A.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-N6DMS2C5.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.`);
|
|
@@ -432,7 +432,7 @@ async function runDeployToDestination(args, to) {
|
|
|
432
432
|
const flags = contextFlags(args);
|
|
433
433
|
const release = /^release:(.*)$/.exec(args.file)?.[1];
|
|
434
434
|
const releaseWord = release === void 0 || release === "" ? "<name>" : shellQuote(release);
|
|
435
|
-
const { pipedYes: pipedYes2 } = await import("./retry-command-
|
|
435
|
+
const { pipedYes: pipedYes2 } = await import("./retry-command-5PNYSQFN.js");
|
|
436
436
|
const yes = args.dryRun === true ? "" : pipedYes2(args);
|
|
437
437
|
const tenantLanding = `\`xanosdk tenant deploy ${dest.kind === "tenant" ? shellQuote(dest.name) : "<tenant>"} ${releaseWord}${yes}${flags}\``;
|
|
438
438
|
const landing = `${args.branch === void 0 ? "" : ` --branch ${shellQuote(args.branch)}`}${args.setLive === true ? " --set-live" : ""}`;
|
|
@@ -473,7 +473,7 @@ async function runDeployToDestination(args, to) {
|
|
|
473
473
|
}
|
|
474
474
|
const named = describeBackend(resolved);
|
|
475
475
|
if (dest.kind === "tenant" && !isEphemeral && resolved.backend.kind === "hosted") {
|
|
476
|
-
const { tenantHasWorkspace } = await import("./tenant-
|
|
476
|
+
const { tenantHasWorkspace } = await import("./tenant-TDTYXUGJ.js");
|
|
477
477
|
if (!await tenantHasWorkspace(resolved.backend.auth, resolved.target.base)) {
|
|
478
478
|
throw tenantWithoutWorkspace(dest.name, named, typed, args);
|
|
479
479
|
}
|
|
@@ -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-GJCCSDJF.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-J7FUTUTL.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-N6DMS2C5.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));
|
|
@@ -683,7 +683,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
683
683
|
}
|
|
684
684
|
step(`Deploying ${shownSource} \u2192 local engine`);
|
|
685
685
|
{
|
|
686
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
686
|
+
const { runBundleHooks } = await import("./toolchain-hooks-VUCFFZ7A.js");
|
|
687
687
|
const { readVersion } = await import("./cli.js");
|
|
688
688
|
await runBundleHooks(
|
|
689
689
|
toolchain.loaded,
|
|
@@ -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-QDOR72VD.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-ACJTJ7X5.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-DQR6L5FV.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-DQR6L5FV.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-ACJTJ7X5.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) {
|
|
@@ -909,7 +909,7 @@ async function publishStaticToLocalEngine(args, dir, engine, engineVersion) {
|
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
async function parseDeploySource(raw) {
|
|
912
|
-
const { requireBackendSlot, parseSlot } = await import("./backend-slot-
|
|
912
|
+
const { requireBackendSlot, parseSlot } = await import("./backend-slot-7EYY7DU5.js");
|
|
913
913
|
const source = parseSlot(requireBackendSlot("deploy", void 0, "subject"), raw);
|
|
914
914
|
if (source.kind === "file") throw new Error(`Internal: "${raw}" parsed as a bundle path on the fetch arm.`);
|
|
915
915
|
return source;
|
|
@@ -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-N6DMS2C5.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-GOVQ4OGJ.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-QDOR72VD.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-GOVQ4OGJ.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-J7FUTUTL.js");
|
|
1149
1149
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1150
1150
|
frozen: args.frozenLock === true
|
|
1151
1151
|
});
|
|
@@ -1189,7 +1189,7 @@ async function runDeploy(args) {
|
|
|
1189
1189
|
);
|
|
1190
1190
|
}
|
|
1191
1191
|
{
|
|
1192
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
1192
|
+
const { runBundleHooks } = await import("./toolchain-hooks-VUCFFZ7A.js");
|
|
1193
1193
|
const { readVersion } = await import("./cli.js");
|
|
1194
1194
|
await runBundleHooks(
|
|
1195
1195
|
toolchain.loaded,
|
|
@@ -1279,9 +1279,9 @@ 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-HWZTBTTP.js");
|
|
1283
1283
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1284
|
-
const { storedColumnsAfter } = await import("./live-diff-
|
|
1284
|
+
const { storedColumnsAfter } = await import("./live-diff-VJGPLS3E.js");
|
|
1285
1285
|
const sent = JSON.parse(bundle);
|
|
1286
1286
|
const stored = summary.data === "kept" ? removedOut.storedColumns : storedColumnsAfter(sent, void 0, /* @__PURE__ */ new Map(), "rebuild");
|
|
1287
1287
|
if (fetching || args.bundle !== void 0) {
|
|
@@ -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-EM4DWMN7.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-EM4DWMN7.js");
|
|
1361
1361
|
try {
|
|
1362
1362
|
const written = syncDevEnv(cwd, summary.url);
|
|
1363
1363
|
if (written === void 0) return;
|
|
@@ -1457,22 +1457,22 @@ function rerunOf(args) {
|
|
|
1457
1457
|
return { command: retry.command, note: withheldNote(retry.withheld) };
|
|
1458
1458
|
}
|
|
1459
1459
|
async function latestEngineRelease(err) {
|
|
1460
|
-
const { ImportHttpError } = await import("./import-
|
|
1460
|
+
const { ImportHttpError } = await import("./import-BG36DYZI.js");
|
|
1461
1461
|
if (!(err instanceof ImportHttpError) || err.status !== 501) return void 0;
|
|
1462
1462
|
const { resolveEnginePlatform } = await import("./local-engine-config-5U3SC434.js");
|
|
1463
1463
|
const platform = resolveEnginePlatform();
|
|
1464
1464
|
if (platform === void 0) return void 0;
|
|
1465
|
-
const { latestKnownVersion } = await import("./local-engine-update-check-
|
|
1465
|
+
const { latestKnownVersion } = await import("./local-engine-update-check-REGHKVK7.js");
|
|
1466
1466
|
return latestKnownVersion({ platform });
|
|
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-GJCCSDJF.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1471
1471
|
const guards = {
|
|
1472
1472
|
...pinned.length > 0 ? { pinned } : {},
|
|
1473
1473
|
allowForeignDeletes: args.yes === true,
|
|
1474
1474
|
...interactive ? {
|
|
1475
|
-
confirm: async (q) => (await import("./prompt-
|
|
1475
|
+
confirm: async (q) => (await import("./prompt-SYH2EYXM.js")).confirm(q, {
|
|
1476
1476
|
flag: "--yes",
|
|
1477
1477
|
refusal: { details: { deployed: false }, ...yesRerun(args, "deploy") }
|
|
1478
1478
|
})
|
|
@@ -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-DQR6L5FV.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);
|
|
@@ -1727,9 +1727,9 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1727
1727
|
{ exitCode: 1, details: { reason: "needs-confirmation", ...details } }
|
|
1728
1728
|
);
|
|
1729
1729
|
}
|
|
1730
|
-
const { confirm } = await import("./prompt-
|
|
1730
|
+
const { confirm } = await import("./prompt-SYH2EYXM.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-DQR6L5FV.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-5QFU2TR5.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-5QFU2TR5.js");
|
|
1782
1782
|
throw await reachableFirst(refusal, auth);
|
|
1783
1783
|
}
|
|
1784
1784
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1813,7 +1813,7 @@ If no deploy is running in this project, its guard was left behind: remove \`${s
|
|
|
1813
1813
|
}
|
|
1814
1814
|
async function deployEphemeral(auth, ctx) {
|
|
1815
1815
|
const dir = process.cwd();
|
|
1816
|
-
const { assertReadWritable } = await import("./writable-
|
|
1816
|
+
const { assertReadWritable } = await import("./writable-RQGBSRG6.js");
|
|
1817
1817
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1818
1818
|
const guard = await takeCreateGuard(dir, ctx.args);
|
|
1819
1819
|
try {
|
|
@@ -1832,7 +1832,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1832
1832
|
};
|
|
1833
1833
|
const parentWorkspaceId = auth.workspaceId;
|
|
1834
1834
|
const dir = process.cwd();
|
|
1835
|
-
const { assertReadWritable, assertWritable } = await import("./writable-
|
|
1835
|
+
const { assertReadWritable, assertWritable } = await import("./writable-RQGBSRG6.js");
|
|
1836
1836
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1837
1837
|
if (ctx.lockPath !== void 0) assertWritable(ctx.lockPath, "build without a lock with `--no-lock`");
|
|
1838
1838
|
const state = readEphemeralState(dir);
|
|
@@ -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-DJQ5HZKG.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-DQR6L5FV.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-DQR6L5FV.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-DQR6L5FV.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-GJCCSDJF.js");
|
|
2092
2092
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2093
2093
|
}
|
|
2094
2094
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2252,7 +2252,7 @@ ${createdButFailedNote(target.name, unknown, args, landedUnresolved, { futile })
|
|
|
2252
2252
|
};
|
|
2253
2253
|
}
|
|
2254
2254
|
async function deployStaticTo(dir, auth, target, env, explicit, host, skipLiveness, routing, dirLabel, opts = {}) {
|
|
2255
|
-
const { deployStaticHost } = await import("./static-host-
|
|
2255
|
+
const { deployStaticHost } = await import("./static-host-SFDXSHYY.js");
|
|
2256
2256
|
const where = target.label && target.label !== "" ? target.label : `workspace #${target.workspaceId}`;
|
|
2257
2257
|
if (target.announced !== true) step(`Deploying static frontend ${dir} \u2192 ${where}${host ? ` (host: ${host})` : ""}`);
|
|
2258
2258
|
const sh = await describeWrite(
|
|
@@ -2382,4 +2382,4 @@ export {
|
|
|
2382
2382
|
unknownCreateOutcome,
|
|
2383
2383
|
deployStaticTo
|
|
2384
2384
|
};
|
|
2385
|
-
//# sourceMappingURL=chunk-
|
|
2385
|
+
//# sourceMappingURL=chunk-NSE7BZB6.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
serverMessage,
|
|
10
10
|
statusLabel,
|
|
11
11
|
transportTarget
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PYT3DC4G.js";
|
|
13
13
|
import {
|
|
14
14
|
withArticle
|
|
15
15
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
assertBranchReadSupported,
|
|
111
111
|
exportWorkspaceBundle
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-OJLJA3XM.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listTenants
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QVZYYBVY.js";
|
|
4
4
|
import {
|
|
5
5
|
listEphemeral
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SSK5OWT6.js";
|
|
7
7
|
import {
|
|
8
8
|
shellWord
|
|
9
9
|
} from "./chunk-FWD7AL6N.js";
|
|
10
10
|
import {
|
|
11
11
|
safeText
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JZEWT7NY.js";
|
|
13
13
|
|
|
14
14
|
// src/emit/display-name-hint.ts
|
|
15
15
|
function isShared(owner) {
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
displayNameHint,
|
|
118
118
|
selectorFix
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-OY4PS6SO.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
UsageError,
|
|
3
3
|
flagNames,
|
|
4
4
|
unknownFlag
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JZEWT7NY.js";
|
|
6
6
|
|
|
7
7
|
// src/emit/plugin-questions.ts
|
|
8
8
|
function hostLabel(host) {
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
assertNoFlagCollisions,
|
|
157
157
|
resolvePluginAnswers
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-P7MBT4LJ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XNHEGBBT.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-WRBKLYSJ.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
projectFileCli,
|
|
19
19
|
projectSdkDir,
|
|
20
20
|
warn
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JZEWT7NY.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_DARK_MODE
|
|
24
24
|
} from "./chunk-TFFGOFVZ.js";
|
|
@@ -186,4 +186,4 @@ export {
|
|
|
186
186
|
isCI,
|
|
187
187
|
refreshAgentFiles
|
|
188
188
|
};
|
|
189
|
-
//# sourceMappingURL=chunk-
|
|
189
|
+
//# sourceMappingURL=chunk-P7PYN6HI.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-ROY4YAEQ.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalFileNotFoundError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JZEWT7NY.js";
|
|
7
7
|
import {
|
|
8
8
|
buildContentEnvelope
|
|
9
9
|
} from "./chunk-LQCMKAJ7.js";
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
seedFailure,
|
|
18
18
|
tableColumns,
|
|
19
19
|
tableIndexes
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-G5IW3EYW.js";
|
|
21
21
|
import {
|
|
22
22
|
DiagnosticError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2Y4X2VLM.js";
|
|
24
24
|
import {
|
|
25
25
|
HOSTED_FILE,
|
|
26
26
|
HOSTED_FILE_SCHEME,
|
|
@@ -404,4 +404,4 @@ export {
|
|
|
404
404
|
collectNonPublicSeedValues,
|
|
405
405
|
seedRowsByTableGuid
|
|
406
406
|
};
|
|
407
|
-
//# sourceMappingURL=chunk-
|
|
407
|
+
//# sourceMappingURL=chunk-PCJLL36N.js.map
|