@xano/sdk 1.0.6 → 1.0.7
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 +20 -5
- package/README.md +30 -4
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-67QIX45H.js → agent-file-refresh-DGGSRPJ4.js} +12 -12
- package/dist/agent-skill-command-37DFYS7Q.js +414 -0
- package/dist/{answer-shape-UCDUKPAN.js → answer-shape-RBFDCNZ7.js} +4 -4
- package/dist/{backend-dir-3LIL6SCT.js → backend-dir-KDD43X7K.js} +14 -14
- package/dist/{backend-slot-JREP27UD.js → backend-slot-TBOVZXDE.js} +3 -3
- package/dist/bin.js +48 -47
- package/dist/{branch-2IPHOAYS.js → branch-7PIKNUD7.js} +11 -10
- package/dist/{branch-commands-KTKAXBAN.js → branch-commands-EGY7ZEZE.js} +23 -22
- package/dist/bundle.js +4 -4
- package/dist/{chunk-GWTFI3GA.js → chunk-26LHXLD3.js} +2 -2
- package/dist/{chunk-ENMBEXOP.js → chunk-2ACWDSAQ.js} +3 -3
- package/dist/{chunk-GOLFAEUV.js → chunk-2SD4LA22.js} +2 -2
- package/dist/{chunk-GZHLCUZ6.js → chunk-2XWVZRL6.js} +7 -7
- package/dist/{chunk-IF4PEGVD.js → chunk-2YER2J47.js} +11 -11
- package/dist/{chunk-N5I37JFB.js → chunk-3FRGNBOC.js} +2 -2
- package/dist/{chunk-YKP4ZKVO.js → chunk-46PATL23.js} +3 -3
- package/dist/{chunk-QJM5XZ4K.js → chunk-47XT6WQL.js} +8 -8
- package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
- package/dist/{chunk-ND43ZOS3.js → chunk-567KK6XF.js} +7 -7
- package/dist/{chunk-EQFYOOO6.js → chunk-5GIOCDUM.js} +829 -893
- package/dist/{chunk-TTEIDD5Q.js → chunk-5SCPRXFB.js} +4 -4
- package/dist/{chunk-LAOMN6QQ.js → chunk-5ZG7V2VW.js} +3 -3
- package/dist/{chunk-JXVJGF3Y.js → chunk-7M6JP3FS.js} +2 -2
- package/dist/{chunk-JFBRXRJD.js → chunk-7XXWKTCE.js} +36 -36
- package/dist/{chunk-PL7AIAWS.js → chunk-A4R5CAY4.js} +4 -111
- package/dist/{chunk-SPKA2LV6.js → chunk-AKERAUNH.js} +4 -4
- package/dist/{chunk-26MOFAJT.js → chunk-ARWMVNDJ.js} +6 -3
- package/dist/{chunk-I3VHW6XM.js → chunk-B2URJBC4.js} +18 -18
- package/dist/{chunk-A7MRZ4GF.js → chunk-B3P25SDP.js} +4 -4
- package/dist/chunk-BRANWM4U.js +853 -0
- package/dist/{chunk-CHINR7WD.js → chunk-BSVQEKHO.js} +4 -4
- package/dist/{chunk-UD2Z7K6W.js → chunk-BZ6WTG3E.js} +4 -4
- package/dist/{chunk-D7BUMOKU.js → chunk-CH23ONYG.js} +76 -5
- package/dist/{chunk-763M6LX3.js → chunk-CNZASQPL.js} +2 -2
- package/dist/{chunk-TECTL2NU.js → chunk-CPN6WSBH.js} +4 -4
- package/dist/{chunk-5YQV35C2.js → chunk-CT3J5JRZ.js} +7 -7
- package/dist/{chunk-YYC2DZMG.js → chunk-D5OZRJ3T.js} +6 -6
- package/dist/{chunk-XFBGXB7X.js → chunk-DG3APBUJ.js} +149 -97
- package/dist/chunk-DIWF7L33.js +995 -0
- package/dist/{chunk-RIN4YY34.js → chunk-DXZTL7NA.js} +95 -58
- package/dist/{chunk-PMMHSX4H.js → chunk-EF4MHLEW.js} +4 -4
- package/dist/{chunk-ZDP6GDAB.js → chunk-ELPQTDW6.js} +101 -93
- package/dist/{chunk-Q22BMRPF.js → chunk-EPFDY5JU.js} +2 -2
- package/dist/{chunk-ZJSTUD6D.js → chunk-EU32BC5B.js} +8 -8
- package/dist/{chunk-3BBIDW3Y.js → chunk-FDTET7FZ.js} +3 -3
- package/dist/{chunk-YYLUBYXM.js → chunk-FENA7K7C.js} +3 -3
- package/dist/{chunk-QZEAANWP.js → chunk-GHMLRFRX.js} +8 -8
- package/dist/{chunk-MBDFH7XB.js → chunk-H2K4GFUS.js} +3 -3
- package/dist/{chunk-U35MTOXQ.js → chunk-HTQWAQRW.js} +3 -3
- package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
- package/dist/{chunk-2FLIJGBZ.js → chunk-HZ6ADG3O.js} +47 -8
- package/dist/{chunk-GLY552SI.js → chunk-I6XRUU6U.js} +54 -54
- package/dist/{chunk-KPFS3RGM.js → chunk-IPNN2KRW.js} +3 -3
- package/dist/{chunk-LD6ARK3A.js → chunk-JOOKM7AH.js} +2 -2
- package/dist/{chunk-6X6BJN6Y.js → chunk-JOWY6HFL.js} +3 -3
- package/dist/{chunk-UIVMR7UK.js → chunk-JX6N73H3.js} +2 -2
- package/dist/{chunk-JRVQ7M7W.js → chunk-L472YIGG.js} +8 -8
- package/dist/{chunk-YR2I5HGE.js → chunk-L6HZ67P6.js} +2 -2
- package/dist/chunk-LCOCRJ4K.js +116 -0
- package/dist/{chunk-3EDSPMXN.js → chunk-LJM5CIY4.js} +5 -1
- package/dist/{chunk-NPODGBVJ.js → chunk-M2C54ZBC.js} +4 -4
- package/dist/{chunk-QXYMDARD.js → chunk-M3NEK3LT.js} +4 -4
- package/dist/{chunk-BL3AZ3AP.js → chunk-MBL7CXJ7.js} +2 -2
- package/dist/{chunk-7GAIJW62.js → chunk-MYZRMSPM.js} +2 -2
- package/dist/{chunk-GHQ4BVI4.js → chunk-N3YFCFCO.js} +13 -13
- package/dist/{chunk-M5CSVB23.js → chunk-NDJAKSE7.js} +11 -8
- package/dist/{chunk-Z4ZGTCCD.js → chunk-NV37YGOV.js} +6 -6
- package/dist/{chunk-GW5RHGOB.js → chunk-O56DQKPL.js} +9 -9
- package/dist/{chunk-U6MTGB46.js → chunk-ORGNLQN6.js} +5 -5
- package/dist/{chunk-I3H3HCPY.js → chunk-PEIBGH2V.js} +33 -30
- package/dist/{chunk-5TVFLG3C.js → chunk-PEX4QZVI.js} +2 -2
- package/dist/{chunk-HCG7NDIL.js → chunk-PV25BDCH.js} +5 -5
- package/dist/{chunk-VDHA5SSQ.js → chunk-PY722CHR.js} +2 -2
- package/dist/{chunk-VW4CWVYX.js → chunk-QGIZLFAS.js} +4 -4
- package/dist/{chunk-SSITMX7I.js → chunk-QRQ54LUI.js} +16 -14
- package/dist/{chunk-OIKLDDYC.js → chunk-RBU2YX22.js} +3 -3
- package/dist/{chunk-EADVVTDK.js → chunk-RRMH7WMY.js} +7 -7
- package/dist/{chunk-WZHLMU6T.js → chunk-S46ODQRA.js} +2 -2
- package/dist/{chunk-SPITRSOF.js → chunk-SDGV76HF.js} +2 -2
- package/dist/{chunk-ATJ2W7DC.js → chunk-SGK3PTTM.js} +281 -121
- package/dist/{chunk-3II44CUJ.js → chunk-TWVUYS63.js} +24 -24
- package/dist/{chunk-2WBH5HUY.js → chunk-U5M7T6CI.js} +7 -7
- package/dist/{chunk-6X3MY2JP.js → chunk-UYFUIHH3.js} +2 -2
- package/dist/{chunk-IMELQ2I6.js → chunk-V7MBRUK6.js} +3 -3
- package/dist/{chunk-NDWVJ2QZ.js → chunk-VAGSKUWC.js} +3 -3
- package/dist/{chunk-WBH4KJWM.js → chunk-VIJ5D3RC.js} +3 -3
- package/dist/{chunk-ITC2R2OT.js → chunk-VNDR2T35.js} +7 -7
- package/dist/{chunk-IXFJORNH.js → chunk-WNCW2RNB.js} +4 -4
- package/dist/{chunk-BTVUYHWV.js → chunk-WUEPP5HD.js} +4 -4
- package/dist/{local-engine-command-RYLGMQ2O.js → chunk-YCUDOF6Q.js} +22 -77
- package/dist/{chunk-YGLMRH5U.js → chunk-YH2JVJAO.js} +12 -12
- package/dist/{chunk-PFBXSVZF.js → chunk-ZGLNHA7T.js} +7 -7
- package/dist/{chunk-CCU5CCRX.js → chunk-ZJOAWRED.js} +8 -8
- package/dist/{chunk-FU3VCE5A.js → chunk-ZXRDD3Q2.js} +13 -9
- package/dist/cli.d.ts +25 -4
- package/dist/cli.js +45 -42
- package/dist/{codegen-command-R5IASBFC.js → codegen-command-T7TC7PQO.js} +58 -57
- package/dist/{commands-H7CPMMHH.js → commands-JDENTDJS.js} +2 -2
- package/dist/{completion-W5ZAI6TN.js → completion-YFD5OVJW.js} +8 -4
- package/dist/{config-MZ5KG4EP.js → config-YJFUTRJW.js} +7 -7
- package/dist/{deploy-command-34T2LKQ5.js → deploy-command-OEVEE6UG.js} +50 -49
- package/dist/{deploy-source-YLQ7WMYR.js → deploy-source-HYVZEYXV.js} +33 -32
- package/dist/{dev-env-sync-TMJTNU3U.js → dev-env-sync-EFDCJ6KU.js} +48 -47
- package/dist/{display-name-hint-ZJGFNJKQ.js → display-name-hint-SW3GB3V7.js} +13 -12
- package/dist/{emit-D125xxty.d.ts → emit-Dov_92kn.d.ts} +1 -1
- package/dist/{env-example-refresh-CQP3ZMKM.js → env-example-refresh-WNSOH534.js} +59 -58
- package/dist/{env-pull-command-UTG6IC2K.js → env-pull-command-UYEXMQ3P.js} +43 -42
- package/dist/{env-target-FZROWYFS.js → env-target-JBSLBKNX.js} +12 -11
- package/dist/{env-var-command-VYDBQJJW.js → env-var-command-BJNRAXNV.js} +49 -48
- package/dist/{ephemeral-BIE6FMJV.js → ephemeral-CEOGMIEA.js} +10 -9
- package/dist/{ephemeral-command-OZ26RGXF.js → ephemeral-command-IPSGBCS5.js} +61 -60
- package/dist/{ephemeral-state-SNZOX2YK.js → ephemeral-state-MTBASPRS.js} +10 -9
- package/dist/{generate-command-4HR7MR36.js → generate-command-XQXODBS6.js} +73 -71
- package/dist/{gitignore-EWQBXNX2.js → gitignore-RUVCIZO4.js} +18 -18
- package/dist/{impersonate-command-WC7OGKUM.js → impersonate-command-MA27O7S5.js} +41 -40
- package/dist/{import-7Z4GCCPO.js → import-XKRFHABE.js} +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/{init-command-HAO3WXH3.js → init-command-6RDTCMAB.js} +61 -46
- package/dist/{init-modules-NSKD4ASY.js → init-modules-DHTBOCQT.js} +7 -7
- package/dist/{init-web-MKFFOQUU.js → init-web-ELBXSXDL.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +1 -1
- package/dist/{keep-data-merge-QR2TMKEO.js → keep-data-merge-TDJOIAVT.js} +23 -23
- package/dist/{lambda-config-reconcile-7FJXXV6V.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
- package/dist/{landing-record-MWXFIRCP.js → landing-record-TPPYFQAS.js} +21 -21
- package/dist/{local-engine-choice-VD5LNXJU.js → local-engine-choice-S6VHPJRU.js} +36 -35
- package/dist/local-engine-command-4EZCGZ6M.js +85 -0
- package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-2EBL3QKA.js} +3 -2
- package/dist/{local-engine-deploy-6O7NKZCA.js → local-engine-deploy-FOPNWU7X.js} +17 -15
- package/dist/local-engine-lookup-GM3E3NPP.js +43 -0
- package/dist/local-engine-mcp-bridge-QKZHUGW3.js +423 -0
- package/dist/local-engine-mcp-command-BFQVLXZC.js +181 -0
- package/dist/{local-engine-process-ZLLZEIRF.js → local-engine-process-XUQPQENQ.js} +11 -8
- package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JQPKGB65.js} +4 -3
- package/dist/{local-engine-update-check-LVX4HBBI.js → local-engine-update-check-S7UF6ZF5.js} +6 -5
- package/dist/{lock-commands-X2OECR4R.js → lock-commands-HJ6Y5QVS.js} +51 -50
- package/dist/{login-command-RLLKD565.js → login-command-JO55NZAS.js} +32 -32
- package/dist/{logout-command-XDMSXCDO.js → logout-command-MPRIRSJA.js} +15 -14
- package/dist/{marketplace-command-2NHHY2X3.js → marketplace-command-BM6G257N.js} +33 -33
- package/dist/{marketplace-resolve-OTZYT4FG.js → marketplace-resolve-AWH3RG57.js} +5 -5
- package/dist/{meta-client-TMHVBZFY.js → meta-client-AOSWODQQ.js} +13 -12
- package/dist/{module-manifest-FNMW23IX.js → module-manifest-GXI46PEF.js} +3 -3
- package/dist/node.d.ts +4 -4
- package/dist/node.js +50 -49
- package/dist/{operation-outcome-RN62735X.js → operation-outcome-4UKPXTNC.js} +25 -23
- package/dist/{output-target-MOLCTPBP.js → output-target-RAZ4KN5J.js} +19 -19
- package/dist/{plan-disclosure-CY7AF6KP.js → plan-disclosure-JR52DWXN.js} +13 -12
- package/dist/{plugin-contributions-WR26U7NT.js → plugin-contributions-E6XHLQWK.js} +5 -5
- package/dist/{plugin-prompt-ZUYQQIX4.js → plugin-prompt-IODX5EU6.js} +4 -4
- package/dist/{plugin-questions-HAZOQ67R.js → plugin-questions-AAAJ7POP.js} +3 -3
- package/dist/{preflight-command-OHJXYND3.js → preflight-command-7GKJBWOQ.js} +52 -51
- package/dist/{profile-command-6JWT2BTL.js → profile-command-CM6J7E2M.js} +33 -33
- package/dist/{profile-pointer-PDA5XBIB.js → profile-pointer-KTYXL6FU.js} +4 -3
- package/dist/{project-dependency-GZWWGWEW.js → project-dependency-OQ5575QQ.js} +6 -6
- package/dist/{project-sdk-3W72H5QO.js → project-sdk-2ESHHZVL.js} +3 -3
- package/dist/{promote-command-UYAMUXKB.js → promote-command-BDRPG6UU.js} +68 -67
- package/dist/{prompt-U37K5RPQ.js → prompt-MQPGU4ZI.js} +3 -3
- package/dist/{publish-command-BUS27HGB.js → publish-command-IEMYZ7LF.js} +55 -54
- package/dist/{pull-command-ZGUNP27P.js → pull-command-S5E2ABZ4.js} +61 -60
- package/dist/{pull-superseded-EZBGYRZF.js → pull-superseded-E34BZVLH.js} +3 -3
- package/dist/{release-command-BQ6OHS3P.js → release-command-7F5TBKO2.js} +58 -57
- package/dist/{release-ns-command-ATGVBVIU.js → release-ns-command-EK2ZQ4CC.js} +84 -83
- package/dist/{retry-command-QJ57WVW7.js → retry-command-GL5HCMVB.js} +9 -8
- package/dist/{routes-manifest-file-UALYSZLY.js → routes-manifest-file-LCIKPDAG.js} +5 -5
- package/dist/scaffold.js +4 -4
- package/dist/secrets-IV4N5HYI.js +20 -0
- package/dist/{secrets-file-LMS7KX3E.js → secrets-file-LXREYU3M.js} +18 -18
- package/dist/{secrets-fill-command-QNBDGCGM.js → secrets-fill-command-QHZS3KWM.js} +49 -48
- package/dist/{seed-SZ6OS5DQ.js → seed-FRKMDN2Z.js} +4 -4
- package/dist/{source-resolve-MKLNYFWG.js → source-resolve-BBHYTOXI.js} +23 -21
- package/dist/{static-host-ONEHA4LI.js → static-host-7LC7OZR4.js} +4 -4
- package/dist/{status-command-XKIFKBGM.js → status-command-TY253MJT.js} +52 -51
- package/dist/{store-Bg4Na6Sm.d.ts → store-Boba9OOh.d.ts} +1 -1
- package/dist/{store-X6ZH7EC3.js → store-VJ3OS6VO.js} +7 -6
- package/dist/{sync-contributions-HNVHDIQW.js → sync-contributions-63542VE4.js} +9 -9
- package/dist/{sync-record-PRXHLK4S.js → sync-record-RGHK7EAL.js} +13 -12
- package/dist/{table-DC36QA4Y.js → table-OAYGFGEN.js} +5 -5
- package/dist/{tables-command-UQLKTELN.js → tables-command-PZIVDAH3.js} +38 -37
- package/dist/{tenant-EKNQGG5A.js → tenant-Y3II4VY3.js} +11 -10
- package/dist/{tenant-command-2LWP2MPB.js → tenant-command-G6XON7CF.js} +86 -85
- package/dist/{test-command-IU5MBBXY.js → test-command-3FZOX7O3.js} +41 -40
- package/dist/{tests-RG2Y5EQ4.js → tests-KF6N6BZ7.js} +5 -5
- package/dist/{token-7AWSJLKO.js → token-DJJUW5HY.js} +11 -10
- package/dist/{toolchain-hooks-4ZMQLBPQ.js → toolchain-hooks-7PWCFLSU.js} +4 -4
- package/dist/{toolchain-modules-VU7SURVJ.js → toolchain-modules-OTNSKK52.js} +4 -4
- package/dist/{toolchain-peers-CIDNEEQV.js → toolchain-peers-KQ7TQ2AR.js} +7 -7
- package/dist/{tracked-backend-4BHSV7NC.js → tracked-backend-AJCGTO5Y.js} +36 -35
- package/dist/{update-check-A7FXIINW.js → update-check-4E5L6GAW.js} +46 -45
- package/dist/{upgrade-command-C5KBITFI.js → upgrade-command-BXMSQN4C.js} +52 -49
- package/dist/{whoami-command-7WQII2H4.js → whoami-command-NLCCIEUM.js} +14 -13
- package/dist/{workspace-Z46PUZNI.js → workspace-PNMJOXE4.js} +4 -4
- package/dist/{workspace-binding-JE6YNDZJ.js → workspace-binding-J5GWDFRI.js} +13 -12
- package/dist/{workspace-command-FC4IMLAE.js → workspace-command-MHIIY352.js} +79 -78
- package/dist/{workspace-env-N4ZPFT6A.js → workspace-env-LLRWCHSA.js} +15 -15
- package/dist/{workspace-export-3A5BZTPS.js → workspace-export-BIKAYHWJ.js} +4 -4
- package/dist/{writable-D7KCZI5N.js → writable-UOTO4WWC.js} +3 -3
- package/dist/{xanosdk-import-P2A2KSXM.js → xanosdk-import-S7A3CVBN.js} +5 -5
- package/dist/{xanosdk-project-6AGMW2SL.js → xanosdk-project-J4VCFRHP.js} +15 -15
- package/guides/README.md +2 -2
- package/guides/cli.md +69 -0
- package/guides/codegen.md +23 -5
- package/guides/codes.md +1 -0
- package/guides/coverage.md +5 -0
- package/guides/deploying.md +28 -0
- package/guides/scaffold.md +61 -10
- package/llms-full.txt +1 -1
- package/llms.txt +1 -1
- package/manifest.json +63 -5
- package/package.json +5 -2
- package/skills/xano-backend/SKILL.md +119 -0
- package/dist/chunk-LL7SGTRC.js +0 -663
- package/dist/chunk-M6ZFSTIZ.js +0 -630
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openBrowser
|
|
3
3
|
} from "./chunk-FQOF7E2E.js";
|
|
4
|
+
import {
|
|
5
|
+
passwordHashesWarning,
|
|
6
|
+
passwordOrigin
|
|
7
|
+
} from "./chunk-EU32BC5B.js";
|
|
4
8
|
import {
|
|
5
9
|
isAwaited,
|
|
6
10
|
microserviceLine,
|
|
7
11
|
readyRatio,
|
|
8
12
|
waitForMicroservices
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
passwordHashesWarning,
|
|
12
|
-
passwordOrigin
|
|
13
|
-
} from "./chunk-ZJSTUD6D.js";
|
|
13
|
+
} from "./chunk-M3NEK3LT.js";
|
|
14
14
|
import {
|
|
15
15
|
EXIT_STATIC_FAILED,
|
|
16
16
|
assertStaticHostExists,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
staticRetryHint,
|
|
26
26
|
unknownStaticOutcome,
|
|
27
27
|
warnStaticTeardown
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RRMH7WMY.js";
|
|
29
29
|
import {
|
|
30
30
|
HostedFilesUnresolvedError,
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-567KK6XF.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,23 +48,37 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-DG3APBUJ.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-S46ODQRA.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-TWVUYS63.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-YH2JVJAO.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-VNDR2T35.js";
|
|
64
64
|
import {
|
|
65
65
|
engineNameForProject,
|
|
66
66
|
getEngineRecord
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-EPFDY5JU.js";
|
|
68
|
+
import {
|
|
69
|
+
createEphemeral,
|
|
70
|
+
getEphemeral,
|
|
71
|
+
isEphemeralDisabled,
|
|
72
|
+
isExpired,
|
|
73
|
+
isUnansweredPoll,
|
|
74
|
+
listEphemeral,
|
|
75
|
+
namedEphemeral,
|
|
76
|
+
renameEphemeral,
|
|
77
|
+
waitUntilReady
|
|
78
|
+
} from "./chunk-AKERAUNH.js";
|
|
79
|
+
import {
|
|
80
|
+
readLockFile
|
|
81
|
+
} from "./chunk-CJDPSCMX.js";
|
|
68
82
|
import {
|
|
69
83
|
environmentKey,
|
|
70
84
|
ephemeralLandedOn,
|
|
@@ -75,52 +89,38 @@ import {
|
|
|
75
89
|
readEphemeralState,
|
|
76
90
|
recordStaticUrl,
|
|
77
91
|
setEnvironment
|
|
78
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-ORGNLQN6.js";
|
|
79
93
|
import {
|
|
80
94
|
selectDeployArm
|
|
81
95
|
} from "./chunk-ZYJP6BOO.js";
|
|
82
|
-
import {
|
|
83
|
-
createEphemeral,
|
|
84
|
-
getEphemeral,
|
|
85
|
-
isEphemeralDisabled,
|
|
86
|
-
isExpired,
|
|
87
|
-
isUnansweredPoll,
|
|
88
|
-
listEphemeral,
|
|
89
|
-
namedEphemeral,
|
|
90
|
-
renameEphemeral,
|
|
91
|
-
waitUntilReady
|
|
92
|
-
} from "./chunk-SPKA2LV6.js";
|
|
93
96
|
import {
|
|
94
97
|
pipedYes,
|
|
95
98
|
retryCommand,
|
|
96
99
|
withheldNote,
|
|
97
100
|
yesRerun
|
|
98
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-UYFUIHH3.js";
|
|
99
102
|
import {
|
|
100
103
|
andList
|
|
101
104
|
} from "./chunk-622HUCZT.js";
|
|
102
105
|
import {
|
|
103
106
|
contextFlags,
|
|
104
107
|
credentialFileOf
|
|
105
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-3FRGNBOC.js";
|
|
109
|
+
import {
|
|
110
|
+
SENT_AFTERMATH,
|
|
111
|
+
TransportError,
|
|
112
|
+
certificateFailureCode,
|
|
113
|
+
closeSentence,
|
|
114
|
+
withoutReadAftermath
|
|
115
|
+
} from "./chunk-L6HZ67P6.js";
|
|
106
116
|
import {
|
|
107
117
|
describeWrite,
|
|
108
118
|
noteLanded
|
|
109
119
|
} from "./chunk-4KHEMC32.js";
|
|
110
|
-
import {
|
|
111
|
-
readLockFile
|
|
112
|
-
} from "./chunk-CJDPSCMX.js";
|
|
113
120
|
import {
|
|
114
121
|
storedColumnsOf,
|
|
115
122
|
withStoredColumns
|
|
116
123
|
} from "./chunk-MFWF2NZJ.js";
|
|
117
|
-
import {
|
|
118
|
-
SENT_AFTERMATH,
|
|
119
|
-
TransportError,
|
|
120
|
-
certificateFailureCode,
|
|
121
|
-
closeSentence,
|
|
122
|
-
withoutReadAftermath
|
|
123
|
-
} from "./chunk-YR2I5HGE.js";
|
|
124
124
|
import {
|
|
125
125
|
DEFAULT_PROFILE
|
|
126
126
|
} from "./chunk-MF4W6FHU.js";
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
withSpinner,
|
|
152
152
|
writeJson,
|
|
153
153
|
writeTargetPayload
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-CH23ONYG.js";
|
|
155
155
|
import {
|
|
156
156
|
codePinnedTables
|
|
157
157
|
} from "./chunk-5KJBWIDZ.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-7LC7OZR4.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-3FZOX7O3.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-3FZOX7O3.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-3FZOX7O3.js");
|
|
299
|
+
const { qualifiedName } = await import("./tests-KF6N6BZ7.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-LLRWCHSA.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-LXREYU3M.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-VJ3OS6VO.js");
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-RUVCIZO4.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-MTBASPRS.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-TBOVZXDE.js");
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-BBHYTOXI.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-HYVZEYXV.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-GL5HCMVB.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-Y3II4VY3.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-7F5TBKO2.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -622,7 +622,7 @@ async function assertLocalEngineUsable(args, dest) {
|
|
|
622
622
|
{ hintFor: { command: "deploy" } }
|
|
623
623
|
);
|
|
624
624
|
}
|
|
625
|
-
const { engineSourceRefusal, MISSING_ARCHIVE, resolveEnginePlatform, SUPPORTED_PLATFORMS } = await import("./local-engine-config-
|
|
625
|
+
const { engineSourceRefusal, MISSING_ARCHIVE, resolveEnginePlatform, SUPPORTED_PLATFORMS } = await import("./local-engine-config-2EBL3QKA.js");
|
|
626
626
|
const sourceRefusal = engineSourceRefusal(dest.downloadUrl);
|
|
627
627
|
if (sourceRefusal !== void 0) {
|
|
628
628
|
const Refusal = sourceRefusal.startsWith(MISSING_ARCHIVE) ? LocalFileNotFoundError : UsageError;
|
|
@@ -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-OTNSKK52.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-HYVZEYXV.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 Xano Engine`);
|
|
685
685
|
{
|
|
686
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
686
|
+
const { runBundleHooks } = await import("./toolchain-hooks-7PWCFLSU.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-S6VHPJRU.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-FOPNWU7X.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-TDJOIAVT.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-TDJOIAVT.js");
|
|
798
798
|
throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
|
|
799
799
|
}
|
|
800
|
-
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-
|
|
800
|
+
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-FOPNWU7X.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-JQPKGB65.js");
|
|
820
820
|
markEngineFilled(dir, engine.url);
|
|
821
821
|
const urlChanged = !reused || previousUrl !== engine.url;
|
|
822
822
|
if (urlChanged) {
|
|
@@ -830,6 +830,13 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
830
830
|
}
|
|
831
831
|
detail(`Open the builder: ${engine.signInUrl}`);
|
|
832
832
|
detail(`Meta API bearer (the local XANO_META_TOKEN): \`xanosdk local token\``);
|
|
833
|
+
if (engine.mcpUrl !== void 0) {
|
|
834
|
+
detail(`MCP server for coding agents: ${engine.mcpUrl} \u2014 connect one with \`xanosdk local mcp\``);
|
|
835
|
+
} else if (choice.override === void 0) {
|
|
836
|
+
detail("This engine serves no MCP server for coding agents; `xanosdk local update` moves the project to one that does.");
|
|
837
|
+
} else {
|
|
838
|
+
detail("This engine serves no MCP server for coding agents; choose a newer engine to get one.");
|
|
839
|
+
}
|
|
833
840
|
detail(`Stop it with \`xanosdk local stop ${engine.name}\``);
|
|
834
841
|
let staticSummary;
|
|
835
842
|
if (args.static !== void 0) {
|
|
@@ -851,6 +858,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
851
858
|
name: engine.name,
|
|
852
859
|
workspaceId: engine.workspaceId,
|
|
853
860
|
logPath: engine.logPath,
|
|
861
|
+
mcpUrl: engine.mcpUrl ?? null,
|
|
854
862
|
...engineVersion === void 0 ? {} : { engineVersion },
|
|
855
863
|
pin: pin.outcome(),
|
|
856
864
|
...choice.override === void 0 ? {} : { override: choice.override }
|
|
@@ -909,7 +917,7 @@ async function publishStaticToLocalEngine(args, dir, engine, engineVersion) {
|
|
|
909
917
|
}
|
|
910
918
|
}
|
|
911
919
|
async function parseDeploySource(raw) {
|
|
912
|
-
const { requireBackendSlot, parseSlot } = await import("./backend-slot-
|
|
920
|
+
const { requireBackendSlot, parseSlot } = await import("./backend-slot-TBOVZXDE.js");
|
|
913
921
|
const source = parseSlot(requireBackendSlot("deploy", void 0, "subject"), raw);
|
|
914
922
|
if (source.kind === "file") throw new Error(`Internal: "${raw}" parsed as a bundle path on the fetch arm.`);
|
|
915
923
|
return source;
|
|
@@ -1109,15 +1117,15 @@ async function runDeploy(args) {
|
|
|
1109
1117
|
if (args.reset && !args.keepData) {
|
|
1110
1118
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1111
1119
|
}
|
|
1112
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1120
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-HYVZEYXV.js");
|
|
1113
1121
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1114
1122
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1115
1123
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1116
1124
|
if (destination.kind === "local") {
|
|
1117
1125
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1118
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1126
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-AJCGTO5Y.js");
|
|
1119
1127
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
|
|
1120
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1128
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-S6VHPJRU.js");
|
|
1121
1129
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
|
|
1122
1130
|
}
|
|
1123
1131
|
if (!fetching) {
|
|
@@ -1133,7 +1141,7 @@ async function runDeploy(args) {
|
|
|
1133
1141
|
}
|
|
1134
1142
|
refuseMissingStaticDir(args);
|
|
1135
1143
|
if (destination.kind === "local") {
|
|
1136
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1144
|
+
const { memoCredential } = await import("./tracked-backend-AJCGTO5Y.js");
|
|
1137
1145
|
return deployToLocalEngine(
|
|
1138
1146
|
args,
|
|
1139
1147
|
destination,
|
|
@@ -1145,7 +1153,7 @@ async function runDeploy(args) {
|
|
|
1145
1153
|
const auth = await getAccessToken(args);
|
|
1146
1154
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1147
1155
|
await noteRunScopeFor(auth);
|
|
1148
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1156
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-OTNSKK52.js");
|
|
1149
1157
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1150
1158
|
frozen: args.frozenLock === true
|
|
1151
1159
|
});
|
|
@@ -1189,7 +1197,7 @@ async function runDeploy(args) {
|
|
|
1189
1197
|
);
|
|
1190
1198
|
}
|
|
1191
1199
|
{
|
|
1192
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
1200
|
+
const { runBundleHooks } = await import("./toolchain-hooks-7PWCFLSU.js");
|
|
1193
1201
|
const { readVersion } = await import("./cli.js");
|
|
1194
1202
|
await runBundleHooks(
|
|
1195
1203
|
toolchain.loaded,
|
|
@@ -1279,7 +1287,7 @@ async function runDeploy(args) {
|
|
|
1279
1287
|
}).finally(() => noteLanded(void 0));
|
|
1280
1288
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1281
1289
|
if (summary.ephemeral !== void 0) {
|
|
1282
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1290
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-TPPYFQAS.js");
|
|
1283
1291
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1284
1292
|
const { storedColumnsAfter } = await import("./live-diff-5E2BQWQ7.js");
|
|
1285
1293
|
const sent = JSON.parse(bundle);
|
|
@@ -1343,7 +1351,7 @@ async function runDeploy(args) {
|
|
|
1343
1351
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1344
1352
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1345
1353
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1346
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1354
|
+
const { staleDevEnv } = await import("./dev-env-sync-EFDCJ6KU.js");
|
|
1347
1355
|
let stale;
|
|
1348
1356
|
try {
|
|
1349
1357
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1357,7 +1365,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1357
1365
|
}
|
|
1358
1366
|
return;
|
|
1359
1367
|
}
|
|
1360
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1368
|
+
const { syncDevEnv } = await import("./dev-env-sync-EFDCJ6KU.js");
|
|
1361
1369
|
try {
|
|
1362
1370
|
const written = syncDevEnv(cwd, summary.url);
|
|
1363
1371
|
if (written === void 0) return;
|
|
@@ -1457,22 +1465,22 @@ function rerunOf(args) {
|
|
|
1457
1465
|
return { command: retry.command, note: withheldNote(retry.withheld) };
|
|
1458
1466
|
}
|
|
1459
1467
|
async function latestEngineRelease(err) {
|
|
1460
|
-
const { ImportHttpError } = await import("./import-
|
|
1468
|
+
const { ImportHttpError } = await import("./import-XKRFHABE.js");
|
|
1461
1469
|
if (!(err instanceof ImportHttpError) || err.status !== 501) return void 0;
|
|
1462
|
-
const { resolveEnginePlatform } = await import("./local-engine-config-
|
|
1470
|
+
const { resolveEnginePlatform } = await import("./local-engine-config-2EBL3QKA.js");
|
|
1463
1471
|
const platform = resolveEnginePlatform();
|
|
1464
1472
|
if (platform === void 0) return void 0;
|
|
1465
|
-
const { latestKnownVersion } = await import("./local-engine-update-check-
|
|
1473
|
+
const { latestKnownVersion } = await import("./local-engine-update-check-S7UF6ZF5.js");
|
|
1466
1474
|
return latestKnownVersion({ platform });
|
|
1467
1475
|
}
|
|
1468
1476
|
async function mergeGuards(args, lock, outgoing) {
|
|
1469
1477
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1470
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1478
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-7F5TBKO2.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1471
1479
|
const guards = {
|
|
1472
1480
|
...pinned.length > 0 ? { pinned } : {},
|
|
1473
1481
|
allowForeignDeletes: args.yes === true,
|
|
1474
1482
|
...interactive ? {
|
|
1475
|
-
confirm: async (q) => (await import("./prompt-
|
|
1483
|
+
confirm: async (q) => (await import("./prompt-MQPGU4ZI.js")).confirm(q, {
|
|
1476
1484
|
flag: "--yes",
|
|
1477
1485
|
refusal: { details: { deployed: false }, ...yesRerun(args, "deploy") }
|
|
1478
1486
|
})
|
|
@@ -1488,7 +1496,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1488
1496
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1489
1497
|
}
|
|
1490
1498
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1491
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1499
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
1492
1500
|
const lockPath = resolveLockPath(args, entry);
|
|
1493
1501
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1494
1502
|
const keys = Object.keys(lock.objects);
|
|
@@ -1727,9 +1735,9 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1727
1735
|
{ exitCode: 1, details: { reason: "needs-confirmation", ...details } }
|
|
1728
1736
|
);
|
|
1729
1737
|
}
|
|
1730
|
-
const { confirm } = await import("./prompt-
|
|
1738
|
+
const { confirm } = await import("./prompt-MQPGU4ZI.js");
|
|
1731
1739
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1732
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1740
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
1733
1741
|
throw new KeepDataDeclined(label, "deployed");
|
|
1734
1742
|
}
|
|
1735
1743
|
function recordedEntry(file) {
|
|
@@ -1764,7 +1772,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1764
1772
|
{ hintFor: { command: "deploy" } }
|
|
1765
1773
|
);
|
|
1766
1774
|
if (refusal === void 0) return;
|
|
1767
|
-
const { reachableFirst } = await import("./env-target-
|
|
1775
|
+
const { reachableFirst } = await import("./env-target-JBSLBKNX.js");
|
|
1768
1776
|
throw await reachableFirst(refusal, auth);
|
|
1769
1777
|
}
|
|
1770
1778
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1778,7 +1786,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1778
1786
|
{ hintFor: { command: "deploy" } }
|
|
1779
1787
|
);
|
|
1780
1788
|
if (refusal === void 0) return;
|
|
1781
|
-
const { reachableFirst } = await import("./env-target-
|
|
1789
|
+
const { reachableFirst } = await import("./env-target-JBSLBKNX.js");
|
|
1782
1790
|
throw await reachableFirst(refusal, auth);
|
|
1783
1791
|
}
|
|
1784
1792
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1813,7 +1821,7 @@ If no deploy is running in this project, its guard was left behind: remove \`${s
|
|
|
1813
1821
|
}
|
|
1814
1822
|
async function deployEphemeral(auth, ctx) {
|
|
1815
1823
|
const dir = process.cwd();
|
|
1816
|
-
const { assertReadWritable } = await import("./writable-
|
|
1824
|
+
const { assertReadWritable } = await import("./writable-UOTO4WWC.js");
|
|
1817
1825
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1818
1826
|
const guard = await takeCreateGuard(dir, ctx.args);
|
|
1819
1827
|
try {
|
|
@@ -1832,7 +1840,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1832
1840
|
};
|
|
1833
1841
|
const parentWorkspaceId = auth.workspaceId;
|
|
1834
1842
|
const dir = process.cwd();
|
|
1835
|
-
const { assertReadWritable, assertWritable } = await import("./writable-
|
|
1843
|
+
const { assertReadWritable, assertWritable } = await import("./writable-UOTO4WWC.js");
|
|
1836
1844
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1837
1845
|
if (ctx.lockPath !== void 0) assertWritable(ctx.lockPath, "build without a lock with `--no-lock`");
|
|
1838
1846
|
const state = readEphemeralState(dir);
|
|
@@ -1890,7 +1898,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1890
1898
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1891
1899
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1892
1900
|
if (err.status === 404) {
|
|
1893
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1901
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-J5GWDFRI.js");
|
|
1894
1902
|
await refuseUnreachableWorkspace(auth);
|
|
1895
1903
|
}
|
|
1896
1904
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1958,7 +1966,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1958
1966
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1959
1967
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1960
1968
|
if (arm.arm === "replace") {
|
|
1961
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1969
|
+
const { gateForeignReplace } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
1962
1970
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1963
1971
|
await gateForeignReplace({
|
|
1964
1972
|
auth,
|
|
@@ -2030,7 +2038,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2030
2038
|
let merged;
|
|
2031
2039
|
try {
|
|
2032
2040
|
if (arm.arm === "merge") {
|
|
2033
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2041
|
+
const { mergeKeepingData } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
2034
2042
|
merged = await mergeKeepingData({
|
|
2035
2043
|
auth,
|
|
2036
2044
|
baseUrl,
|
|
@@ -2084,11 +2092,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2084
2092
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2085
2093
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2086
2094
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2087
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2095
|
+
const { importInProgressError } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
2088
2096
|
const retry = retryCommand(args);
|
|
2089
2097
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2090
2098
|
}
|
|
2091
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2099
|
+
const { withSignatureHint } = await import("./release-command-7F5TBKO2.js");
|
|
2092
2100
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2093
2101
|
}
|
|
2094
2102
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2252,7 +2260,7 @@ ${createdButFailedNote(target.name, unknown, args, landedUnresolved, { futile })
|
|
|
2252
2260
|
};
|
|
2253
2261
|
}
|
|
2254
2262
|
async function deployStaticTo(dir, auth, target, env, explicit, host, skipLiveness, routing, dirLabel, opts = {}) {
|
|
2255
|
-
const { deployStaticHost } = await import("./static-host-
|
|
2263
|
+
const { deployStaticHost } = await import("./static-host-7LC7OZR4.js");
|
|
2256
2264
|
const where = target.label && target.label !== "" ? target.label : `workspace #${target.workspaceId}`;
|
|
2257
2265
|
if (target.announced !== true) step(`Deploying static frontend ${dir} \u2192 ${where}${host ? ` (host: ${host})` : ""}`);
|
|
2258
2266
|
const sh = await describeWrite(
|
|
@@ -2382,4 +2390,4 @@ export {
|
|
|
2382
2390
|
unknownCreateOutcome,
|
|
2383
2391
|
deployStaticTo
|
|
2384
2392
|
};
|
|
2385
|
-
//# sourceMappingURL=chunk-
|
|
2393
|
+
//# sourceMappingURL=chunk-ELPQTDW6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
localEngineHome
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A4R5CAY4.js";
|
|
4
4
|
import {
|
|
5
5
|
filledAt,
|
|
6
6
|
withValidFilled
|
|
@@ -141,4 +141,4 @@ export {
|
|
|
141
141
|
clearEngineRecordsNamed,
|
|
142
142
|
clearEngineRecordsStillMatching
|
|
143
143
|
};
|
|
144
|
-
//# sourceMappingURL=chunk-
|
|
144
|
+
//# sourceMappingURL=chunk-EPFDY5JU.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BRANCH_LABEL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M2C54ZBC.js";
|
|
4
4
|
import {
|
|
5
5
|
assertOneName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VIJ5D3RC.js";
|
|
7
7
|
import {
|
|
8
8
|
LookupFailedError,
|
|
9
9
|
isUnansweredLookup,
|
|
10
10
|
lookupFailed,
|
|
11
11
|
unansweredCause
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TWVUYS63.js";
|
|
13
13
|
import {
|
|
14
14
|
findRelease
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-26LHXLD3.js";
|
|
16
16
|
import {
|
|
17
17
|
contextFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3FRGNBOC.js";
|
|
19
19
|
import {
|
|
20
20
|
fetchOrExplain,
|
|
21
21
|
parseJsonAnswer,
|
|
22
22
|
safeHttpFailure
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-L6HZ67P6.js";
|
|
24
24
|
import {
|
|
25
25
|
UsageError,
|
|
26
26
|
safeText
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CH23ONYG.js";
|
|
28
28
|
|
|
29
29
|
// src/deploy/audit-log.ts
|
|
30
30
|
var TIMEOUT_MS = 3e4;
|
|
@@ -215,4 +215,4 @@ export {
|
|
|
215
215
|
readUnanswered,
|
|
216
216
|
lookupRelease
|
|
217
217
|
};
|
|
218
|
-
//# sourceMappingURL=chunk-
|
|
218
|
+
//# sourceMappingURL=chunk-EU32BC5B.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
repoBoundaryFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HU7F56VF.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalFileNotFoundError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CH23ONYG.js";
|
|
7
7
|
import {
|
|
8
8
|
buildContentEnvelope
|
|
9
9
|
} from "./chunk-7FIMUFBP.js";
|
|
@@ -404,4 +404,4 @@ export {
|
|
|
404
404
|
collectNonPublicSeedValues,
|
|
405
405
|
seedRowsByTableGuid
|
|
406
406
|
};
|
|
407
|
-
//# sourceMappingURL=chunk-
|
|
407
|
+
//# sourceMappingURL=chunk-FDTET7FZ.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-64WWE3EF.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeEngineVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RBU2YX22.js";
|
|
7
7
|
import {
|
|
8
8
|
localEngineBinDir,
|
|
9
9
|
localEngineHome
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A4R5CAY4.js";
|
|
11
11
|
import {
|
|
12
12
|
SDK_PACKAGE,
|
|
13
13
|
composeToolchainConfig,
|
|
@@ -362,4 +362,4 @@ export {
|
|
|
362
362
|
readPin,
|
|
363
363
|
writePin
|
|
364
364
|
};
|
|
365
|
-
//# sourceMappingURL=chunk-
|
|
365
|
+
//# sourceMappingURL=chunk-FENA7K7C.js.map
|