@xano/sdk 1.0.19 → 1.0.20
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/README.md +5 -2
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-5IP25UYO.js → agent-file-refresh-MOEDX5OL.js} +13 -11
- package/dist/{agent-skill-command-BPM4S6C7.js → agent-skill-command-A4QEVNTP.js} +49 -47
- package/dist/ai-models-command-SN2UKVC5.js +270 -0
- package/dist/{answer-shape-ZRQS7ZC4.js → answer-shape-BCGPH73R.js} +5 -5
- package/dist/{backend-dir-RLILKCMR.js → backend-dir-66VVLCUF.js} +16 -14
- package/dist/{backend-slot-7BATLL3X.js → backend-slot-WSWAHL2W.js} +3 -3
- package/dist/bin.js +53 -51
- package/dist/{branch-SJKKUCMZ.js → branch-6DBHVVUT.js} +11 -11
- package/dist/{branch-commands-5HKCBRLN.js → branch-commands-KUEGS6XL.js} +29 -28
- package/dist/bundle.js +3 -3
- package/dist/{chunk-2HBJU76D.js → chunk-2SWJ3267.js} +40 -22
- package/dist/{chunk-UJ5HLRYH.js → chunk-2VHEZDZZ.js} +35 -35
- package/dist/{chunk-BT6CJNEO.js → chunk-34OZQNKR.js} +4 -4
- package/dist/chunk-37BT62SX.js +17 -0
- package/dist/{chunk-QK2WIASY.js → chunk-3H765RXT.js} +7 -7
- package/dist/{chunk-2IC3K22K.js → chunk-3HK7VELD.js} +2 -2
- package/dist/{chunk-5AHHO2QA.js → chunk-3OR2RCXJ.js} +118 -94
- package/dist/{chunk-ZYZ7GRX3.js → chunk-4DVP42ZC.js} +2 -2
- package/dist/{chunk-Q45RTKWW.js → chunk-4GI22VPJ.js} +6 -6
- package/dist/{chunk-2NUOFHPX.js → chunk-4PHCBKJI.js} +7 -7
- package/dist/{chunk-ROWYW3JF.js → chunk-4QRDNBPY.js} +2 -2
- package/dist/{chunk-SINL5WMI.js → chunk-4Y3SWNPE.js} +2 -2
- package/dist/{chunk-6SEPZQYB.js → chunk-4ZV4MDKP.js} +2 -2
- package/dist/{chunk-XKHQLKUL.js → chunk-52VELHIH.js} +3 -3
- package/dist/{chunk-IFHFJR5O.js → chunk-5ABAIJVV.js} +6 -6
- package/dist/{chunk-L4L6YITX.js → chunk-5BLBX2Q5.js} +13 -10
- package/dist/chunk-5KSVMHFS.js +81 -0
- package/dist/{chunk-MOVRSULZ.js → chunk-5Z4WQQHC.js} +2 -2
- package/dist/{chunk-ZHFSIQ6E.js → chunk-6534P3VH.js} +25 -2
- package/dist/{chunk-Q6AKSLD2.js → chunk-6L32HAIP.js} +2 -2
- package/dist/chunk-6SXKKDGF.js +9 -0
- package/dist/{chunk-OTQF4B37.js → chunk-6TAYTKFM.js} +4 -4
- package/dist/{chunk-7UQZ7C4W.js → chunk-745NOWB7.js} +6 -6
- package/dist/{chunk-XAE4NIZ2.js → chunk-7J7YRAZB.js} +4 -4
- package/dist/{chunk-E34VGSCI.js → chunk-7LLVSTXY.js} +9 -1
- package/dist/{chunk-YT5UN2F4.js → chunk-7Z43XRBL.js} +14 -14
- package/dist/{chunk-E7VF2JVJ.js → chunk-AD7YILOU.js} +10 -10
- package/dist/{chunk-AICWDCLJ.js → chunk-BBFHZMQA.js} +2 -2
- package/dist/{chunk-YP4QTC4F.js → chunk-BFM2P47R.js} +6 -6
- package/dist/{chunk-KG3RDXN5.js → chunk-C6ERQFEB.js} +4 -4
- package/dist/{chunk-54CJ74BH.js → chunk-C7KO5KKB.js} +4 -4
- package/dist/chunk-CBACTYIC.js +278 -0
- package/dist/{chunk-V2MIBJZU.js → chunk-CGLYG2VF.js} +2 -2
- package/dist/{chunk-Z73I7Q2H.js → chunk-CJ5WRCVE.js} +80 -2
- package/dist/{chunk-GTB7JL3M.js → chunk-CJIXD67B.js} +6 -6
- package/dist/{chunk-JUCL5MUZ.js → chunk-CP7OSHLK.js} +8 -8
- package/dist/{chunk-D4N72H35.js → chunk-CPR2F3WN.js} +9 -9
- package/dist/{chunk-WGKKDGSA.js → chunk-DAXFWXSV.js} +8 -8
- package/dist/{chunk-MSYMEP7Y.js → chunk-DJ7JH4UE.js} +7 -7
- package/dist/{chunk-XDGLYIB2.js → chunk-DORGB2Y2.js} +2 -2
- package/dist/{chunk-5JUWB6XL.js → chunk-E7YXNU57.js} +7 -7
- package/dist/{chunk-GA6HTO3O.js → chunk-EBSJUSID.js} +2 -2
- package/dist/{chunk-PLOBHRGV.js → chunk-EJXJE2H3.js} +49 -49
- package/dist/{chunk-O2BLNQEC.js → chunk-EME5G4YP.js} +2 -2
- package/dist/{chunk-RVWWNNZQ.js → chunk-EOWNLLLV.js} +4 -4
- package/dist/{chunk-QIT2GGNB.js → chunk-EPD5J3WA.js} +2 -2
- package/dist/{chunk-554FJWNH.js → chunk-EQ2KB5YF.js} +4 -4
- package/dist/{chunk-GT7PZCTK.js → chunk-FVBJKM6N.js} +3 -3
- package/dist/{chunk-F3IA3YWI.js → chunk-FVZ5C3PF.js} +22 -2
- package/dist/{chunk-KVF7YQ2W.js → chunk-G3ZUGFIS.js} +9 -9
- package/dist/{chunk-RKTVXFBV.js → chunk-GUHJV7C5.js} +31 -3
- package/dist/{chunk-ASUDP4OS.js → chunk-HGUQIBYY.js} +8 -8
- package/dist/{chunk-DO5VZIY4.js → chunk-HUXMRYUX.js} +3 -3
- package/dist/{chunk-G2XSDIYS.js → chunk-I52AKG2O.js} +4 -4
- package/dist/{chunk-VCFRALU7.js → chunk-I5YD7QPI.js} +28 -11
- package/dist/{chunk-YYBBJPCL.js → chunk-IUBGFCJJ.js} +14 -18
- package/dist/{chunk-UH5VQGNR.js → chunk-JXX2QXPP.js} +2 -2
- package/dist/{chunk-2DUYJR5N.js → chunk-KHX6VQ4M.js} +2 -2
- package/dist/{chunk-NYIFU3BR.js → chunk-KMXXOJL2.js} +21 -19
- package/dist/{chunk-4HMF5TRB.js → chunk-KNLPGIRY.js} +8 -8
- package/dist/{chunk-KYQRIL4V.js → chunk-LLG33KGY.js} +26 -26
- package/dist/{chunk-WGGATSIP.js → chunk-LMX4VE4H.js} +2 -2
- package/dist/{chunk-DXUICABI.js → chunk-LZDH5COS.js} +21 -2
- package/dist/{chunk-E5M5P23K.js → chunk-M5GXZEX7.js} +21 -215
- package/dist/{chunk-B6ZHSM2D.js → chunk-MAAQ4ZSN.js} +73 -73
- package/dist/{chunk-Q4LJCCH5.js → chunk-MGC5S6OE.js} +75 -9
- package/dist/{chunk-5Y5HWQ2P.js → chunk-MKRREVNB.js} +4 -4
- package/dist/{chunk-OTYK2V44.js → chunk-OAWBNCME.js} +24 -24
- package/dist/{chunk-64UVVLDT.js → chunk-OG6WYZNA.js} +7 -7
- package/dist/{chunk-AJBOGO5U.js → chunk-OQMXCNN7.js} +59 -31
- package/dist/{chunk-EPB6FAR5.js → chunk-OSMPI45P.js} +3 -3
- package/dist/{chunk-3X4B5GWY.js → chunk-P3WIMLG2.js} +3 -3
- package/dist/{chunk-GJZMKMWO.js → chunk-PC7XEO7F.js} +2 -2
- package/dist/{chunk-MF4W6FHU.js → chunk-Q4R2ABFL.js} +1 -1
- package/dist/{chunk-LRN6QX44.js → chunk-QBSSSKIC.js} +3 -3
- package/dist/{chunk-NH5Z2NOD.js → chunk-QZ2PC6B7.js} +3 -3
- package/dist/{chunk-LCOCRJ4K.js → chunk-RQGSZ7AR.js} +16 -2
- package/dist/{chunk-3FNEHRJF.js → chunk-RSWPVU6X.js} +8 -8
- package/dist/chunk-RVBDZMCC.js +264 -0
- package/dist/{chunk-WLZSKD7E.js → chunk-SQVETROU.js} +3 -3
- package/dist/{chunk-AJPICYPW.js → chunk-SWQA6SZI.js} +113 -94
- package/dist/{chunk-QETVFGD7.js → chunk-T6GI2AFJ.js} +16 -16
- package/dist/{chunk-FRJB3NTE.js → chunk-T6KQYCAU.js} +3 -3
- package/dist/{chunk-YYDM4DNP.js → chunk-TDSRZDQP.js} +2 -2
- package/dist/{chunk-K23RUXSH.js → chunk-TEZKQQDT.js} +44 -16
- package/dist/{chunk-BCN6OZLF.js → chunk-TN7ZBZRW.js} +3 -3
- package/dist/{chunk-WDWIXCGB.js → chunk-UN73LNM5.js} +4 -4
- package/dist/{chunk-RKNCISPM.js → chunk-VEA6EXJL.js} +3 -3
- package/dist/{chunk-6FCAFWD5.js → chunk-VO62TKK5.js} +3 -77
- package/dist/{chunk-HM5X73PY.js → chunk-WK5QDV25.js} +2 -2
- package/dist/{chunk-JORPZKBE.js → chunk-X3LYWTZ5.js} +3 -3
- package/dist/{chunk-CO7US54H.js → chunk-X7IBJLAD.js} +2 -2
- package/dist/{chunk-PKBC7G5H.js → chunk-XDIPEWLU.js} +25 -1
- package/dist/{chunk-OJ6YGRPV.js → chunk-YAZEB255.js} +3 -3
- package/dist/{chunk-RGPHFHJU.js → chunk-YFVD3LNL.js} +2 -2
- package/dist/{chunk-HUGNB6UN.js → chunk-YRLSJBSY.js} +71 -49
- package/dist/{chunk-35SI4GBM.js → chunk-YSSAJQH4.js} +3 -3
- package/dist/{chunk-UQNDODRU.js → chunk-Z7IINILG.js} +5 -5
- package/dist/{chunk-PRSNMSVG.js → chunk-ZCXWOGFL.js} +3 -3
- package/dist/cli.d.ts +10 -1
- package/dist/cli.js +48 -46
- package/dist/{codegen-command-OF3TPC66.js → codegen-command-GGGU6YAP.js} +68 -66
- package/dist/{commands-Z2QZOORB.js → commands-EN4RLPOP.js} +2 -2
- package/dist/{completion-LFXXNQGR.js → completion-KH45QD3E.js} +2 -2
- package/dist/{config-7GGINOFY.js → config-AKHBFTKA.js} +8 -8
- package/dist/{deploy-command-MGYR2TKC.js → deploy-command-WOHYD22D.js} +55 -53
- package/dist/{deploy-source-UHCHCI5Z.js → deploy-source-QK7Y4Y3V.js} +34 -33
- package/dist/{dev-env-sync-XWZVXEI2.js → dev-env-sync-AMFPULCP.js} +51 -49
- package/dist/{display-name-hint-5GLJGPQ6.js → display-name-hint-QMT562BI.js} +13 -13
- package/dist/{emit-DlOKIJER.d.ts → emit-BfHifhJy.d.ts} +120 -7
- package/dist/{env-example-refresh-FACP4FQE.js → env-example-refresh-F5RTDVJ5.js} +69 -67
- package/dist/{env-pull-command-SHK4TI6U.js → env-pull-command-J2ARE33T.js} +52 -50
- package/dist/{env-target-ZQSPPN4A.js → env-target-WA4BR6GW.js} +13 -13
- package/dist/{env-var-command-Q2ZHKWAQ.js → env-var-command-WEC22FI5.js} +55 -54
- package/dist/{ephemeral-2DXWP3VK.js → ephemeral-MNHEWSZ6.js} +11 -11
- package/dist/{ephemeral-command-FKOSN56R.js → ephemeral-command-EJLS42VJ.js} +64 -62
- package/dist/{ephemeral-state-56XEDUJW.js → ephemeral-state-QTT5JHD5.js} +11 -11
- package/dist/{generate-command-2JCMZ6CG.js → generate-command-2WHFL4CB.js} +77 -75
- package/dist/{gitignore-Z5N6DEEV.js → gitignore-OKB3X335.js} +19 -17
- package/dist/{guards-LQ7PSXOL.js → guards-N4PUFKN5.js} +3 -2
- package/dist/{impersonate-command-R24VBFQA.js → impersonate-command-EIWI3FBD.js} +44 -42
- package/dist/{import-VJQGIS33.js → import-7HFTOT7M.js} +5 -5
- package/dist/index.d.ts +142 -7
- package/dist/index.js +7 -6
- package/dist/{init-command-UOCNESZK.js → init-command-POIWZKZ4.js} +52 -50
- package/dist/{init-modules-5DYK7V4J.js → init-modules-S7BR4NIJ.js} +11 -9
- package/dist/{init-web-25QJ4JWB.js → init-web-YCPD6BYN.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +169 -24
- package/dist/{keep-data-merge-HLIXZC77.js → keep-data-merge-NXP77QML.js} +32 -31
- package/dist/{landing-record-FYKDJIUF.js → landing-record-MK44WCRY.js} +23 -21
- package/dist/{live-diff-YOFOJCFX.js → live-diff-GZ6JUNP6.js} +5 -4
- package/dist/local-engine-ai-3XLJLOBP.js +47 -0
- package/dist/{local-engine-choice-4ZA2HZXH.js → local-engine-choice-7QBML5XF.js} +43 -36
- package/dist/local-engine-command-N7VDPABW.js +93 -0
- package/dist/{local-engine-config-6CB6FOEJ.js → local-engine-config-MVNWKHZ4.js} +15 -3
- package/dist/{local-engine-deploy-XAEDT55W.js → local-engine-deploy-RYZZYEDQ.js} +21 -18
- package/dist/{local-engine-lookup-WBYTY2JE.js → local-engine-lookup-2VSUWEQY.js} +6 -6
- package/dist/{local-engine-mcp-bridge-3H5OXBWQ.js → local-engine-mcp-bridge-ECGTK7LF.js} +6 -6
- package/dist/{local-engine-mcp-command-SUAVS5UA.js → local-engine-mcp-command-A257D3WK.js} +52 -44
- package/dist/{local-engine-process-35B2KQED.js → local-engine-process-P5T2766M.js} +19 -11
- package/dist/local-engine-release-OK6GKULS.js +40 -0
- package/dist/{local-engine-state-JZHTKHDG.js → local-engine-state-BOKHLNRQ.js} +4 -4
- package/dist/{local-engine-update-check-VXJZSIJU.js → local-engine-update-check-C72LSVUQ.js} +7 -7
- package/dist/{lock-commands-ZT6YTQYA.js → lock-commands-KMWLIGT2.js} +55 -53
- package/dist/{login-command-ONGJASKA.js → login-command-E2KMN6DV.js} +39 -32
- package/dist/{logout-command-PLYGFHBQ.js → logout-command-AIB446AQ.js} +16 -16
- package/dist/{loop-CLLBQSJF.js → loop-EMTBWN4X.js} +5 -4
- package/dist/{marketplace-command-LNNAA7ZK.js → marketplace-command-YLBFUBHL.js} +42 -40
- package/dist/{marketplace-resolve-63QWMQZU.js → marketplace-resolve-LT76KHJD.js} +9 -7
- package/dist/{meta-client-JND42QEJ.js → meta-client-AOPF5IQN.js} +15 -15
- package/dist/{module-manifest-NWJWAQLQ.js → module-manifest-B432UFBK.js} +3 -3
- package/dist/node.d.ts +5 -5
- package/dist/node.js +61 -59
- package/dist/{operation-outcome-U6IWKLBK.js → operation-outcome-GBSISFAP.js} +26 -26
- package/dist/{output-target-QJSHZBVY.js → output-target-NHJLT4YI.js} +20 -18
- package/dist/{plan-disclosure-XTAEE4BE.js → plan-disclosure-5HM7CMRW.js} +19 -18
- package/dist/{plugin-contributions-DD6R6RL6.js → plugin-contributions-MEXUR7TY.js} +4 -4
- package/dist/{plugin-prompt-UX2TT5NS.js → plugin-prompt-XM4ATAWA.js} +4 -4
- package/dist/{plugin-questions-WE2F4ZC4.js → plugin-questions-VGU3B4LE.js} +3 -3
- package/dist/{preflight-command-ZKUQSIL2.js → preflight-command-O52GLYGA.js} +60 -58
- package/dist/{profile-command-PJUA5ZMX.js → profile-command-NOKUVV3M.js} +38 -36
- package/dist/{profile-pointer-RCPHVTJV.js → profile-pointer-DHOU26Q2.js} +5 -5
- package/dist/{profile-select-45G5VPJK.js → profile-select-ZANK43KE.js} +2 -2
- package/dist/project-config-SGRYMHBT.js +37 -0
- package/dist/{project-dependency-TPVV3YIX.js → project-dependency-WTH776QE.js} +10 -8
- package/dist/{project-sdk-DKZBK5H5.js → project-sdk-FYNY7RTO.js} +3 -3
- package/dist/promote-command-2NMTINVS.js +150 -0
- package/dist/{prompt-OYQHQWKI.js → prompt-JVYQH4OR.js} +3 -3
- package/dist/{publish-command-JSYK6HOW.js → publish-command-LB2XULJA.js} +65 -63
- package/dist/{pull-command-K5X367MA.js → pull-command-UVNPFY2E.js} +71 -69
- package/dist/{pull-superseded-3SSM3JFT.js → pull-superseded-7EZ7M54I.js} +3 -3
- package/dist/{release-command-OC7MT4FV.js → release-command-BGSDY3BE.js} +66 -64
- package/dist/{release-ns-command-EHNEAEDU.js → release-ns-command-IVXK7HEG.js} +93 -91
- package/dist/{retry-command-WP4ZI6CJ.js → retry-command-HG4IFE65.js} +10 -10
- package/dist/{routes-manifest-file-A2PW7IQ7.js → routes-manifest-file-3MDX3JB3.js} +4 -4
- package/dist/{secrets-file-2RHMJFXQ.js → secrets-file-NFNUKRGZ.js} +19 -17
- package/dist/{secrets-fill-command-HYMF6EZM.js → secrets-fill-command-U5L7IKUO.js} +52 -50
- package/dist/{seed-W5FNE6IB.js → seed-M33F4OJW.js} +3 -3
- package/dist/{source-resolve-PMA7SHZE.js → source-resolve-MAMVIHDF.js} +24 -24
- package/dist/{static-host-3HPZKVKK.js → static-host-HCKD26Q3.js} +5 -5
- package/dist/{status-command-CROHQRPI.js → status-command-VXIN37ET.js} +52 -51
- package/dist/{store-Dg9FLJkx.d.ts → store-Dt-5vOSe.d.ts} +149 -1
- package/dist/{store-B63BQV6R.js → store-ZWQFSXH5.js} +8 -8
- package/dist/{sync-baseline-LSGKNCKM.js → sync-baseline-XLRJQZCS.js} +7 -6
- package/dist/{sync-contributions-QDEWZ3IU.js → sync-contributions-PGMYJKLG.js} +17 -13
- package/dist/{sync-record-AWFCSS4D.js → sync-record-UFEJDNLR.js} +13 -13
- package/dist/{table-WJ7YDJ6Q.js → table-JHPGUJ2Z.js} +6 -6
- package/dist/{tables-command-BKVDHAGJ.js → tables-command-FNBHVJG3.js} +41 -40
- package/dist/{tenant-IXIW3FOI.js → tenant-SSWC7B3V.js} +12 -12
- package/dist/{tenant-command-Y7VCGDMY.js → tenant-command-PHNX3PXS.js} +96 -94
- package/dist/{test-command-2RAUNIU5.js → test-command-DMMF3RMK.js} +44 -43
- package/dist/{tests-N4MMBABH.js → tests-ZFQWDWS2.js} +6 -6
- package/dist/{token-4I26OGWH.js → token-IHOPB74T.js} +14 -12
- package/dist/{toolchain-hooks-IJWV3ZQS.js → toolchain-hooks-IRPM6LYL.js} +3 -3
- package/dist/{toolchain-modules-XM4JXHQC.js → toolchain-modules-V56JXU2E.js} +9 -5
- package/dist/{toolchain-peers-EMOYN4U7.js → toolchain-peers-NOIM44ED.js} +11 -9
- package/dist/{tracked-backend-EZE6H3EZ.js → tracked-backend-VKWZKKBG.js} +39 -36
- package/dist/{update-check-QLB5DV3B.js → update-check-DZ4YVDNS.js} +51 -49
- package/dist/{upgrade-command-4DCDBDB5.js → upgrade-command-EP5WQWFA.js} +55 -53
- package/dist/{whoami-command-WI4VT3IN.js → whoami-command-UV6EEDBY.js} +15 -15
- package/dist/{workspace-DIM3SBPV.js → workspace-6LVJ3LZE.js} +5 -5
- package/dist/{workspace-binding-43PBQEE4.js → workspace-binding-AUZIERMF.js} +14 -14
- package/dist/{workspace-command-FWTHIFVI.js → workspace-command-VXOY6KPE.js} +96 -94
- package/dist/{workspace-env-5PJVWQ2O.js → workspace-env-ZNGE3DFN.js} +17 -15
- package/dist/{workspace-export-3KMWNZDD.js → workspace-export-A4L6272C.js} +5 -5
- package/dist/{writable-X7BCN7XE.js → writable-762DMPHW.js} +3 -3
- package/dist/{xano-RLSNDM7O.js → xano-XZN5SRDH.js} +4 -3
- package/dist/{xanosdk-import-VOJEAK5Q.js → xanosdk-import-FENZ7XMW.js} +6 -6
- package/dist/{xanosdk-project-PV3ORVP5.js → xanosdk-project-K4RKLLNO.js} +16 -14
- package/guides/cli.md +3 -0
- package/guides/coverage.md +4 -4
- package/llms/kinds-agent-mcp.md +3 -1
- package/llms/statements-ai.md +21 -0
- package/llms/statements-catalog.md +1 -8
- package/llms-full.txt +33 -15
- package/llms.txt +7 -6
- package/manifest.json +651 -3
- package/package.json +2 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/local-engine-command-WQS4SD6N.js +0 -85
- package/dist/promote-command-NDYP66LD.js +0 -148
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
satisfiesRange
|
|
3
3
|
} from "./chunk-2TFRR6JV.js";
|
|
4
|
-
import {
|
|
5
|
-
configuredPackages,
|
|
6
|
-
declaredDependencies,
|
|
7
|
-
readProjectManifest,
|
|
8
|
-
readToolchainConfig
|
|
9
|
-
} from "./chunk-DXUICABI.js";
|
|
10
4
|
import {
|
|
11
5
|
fileInPackage,
|
|
12
6
|
loadFile,
|
|
13
7
|
moduleKind,
|
|
14
8
|
readInstalledManifestState
|
|
15
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DORGB2Y2.js";
|
|
10
|
+
import {
|
|
11
|
+
configuredPackages,
|
|
12
|
+
declaredDependencies,
|
|
13
|
+
readProjectManifest,
|
|
14
|
+
readToolchainConfig
|
|
15
|
+
} from "./chunk-LZDH5COS.js";
|
|
16
16
|
import {
|
|
17
17
|
UsageError,
|
|
18
18
|
warn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6534P3VH.js";
|
|
20
20
|
|
|
21
21
|
// src/emit/toolchain-modules.ts
|
|
22
22
|
var UNKNOWN_MODULE_VERSION = "unknown";
|
|
@@ -193,4 +193,4 @@ export {
|
|
|
193
193
|
sdkPeerSkew,
|
|
194
194
|
discoverToolchainPlugins
|
|
195
195
|
};
|
|
196
|
-
//# sourceMappingURL=chunk-
|
|
196
|
+
//# sourceMappingURL=chunk-CPR2F3WN.js.map
|
|
@@ -2,25 +2,25 @@ import {
|
|
|
2
2
|
filledAt,
|
|
3
3
|
withValidFilled
|
|
4
4
|
} from "./chunk-ZYJP6BOO.js";
|
|
5
|
+
import {
|
|
6
|
+
destinationKey,
|
|
7
|
+
nextLandedRecord
|
|
8
|
+
} from "./chunk-2H5BQRHF.js";
|
|
5
9
|
import {
|
|
6
10
|
withFileLockSync
|
|
7
11
|
} from "./chunk-QO6BVGS5.js";
|
|
8
12
|
import {
|
|
9
13
|
unreadableError
|
|
10
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TDSRZDQP.js";
|
|
11
15
|
import {
|
|
12
16
|
ensureGitignored
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
destinationKey,
|
|
16
|
-
nextLandedRecord
|
|
17
|
-
} from "./chunk-2H5BQRHF.js";
|
|
17
|
+
} from "./chunk-OQMXCNN7.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWrite
|
|
20
20
|
} from "./chunk-LLNZGEFK.js";
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_PROFILE
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Q4R2ABFL.js";
|
|
24
24
|
|
|
25
25
|
// src/deploy/ephemeral-state.ts
|
|
26
26
|
import { readFileSync, mkdirSync } from "fs";
|
|
@@ -301,4 +301,4 @@ export {
|
|
|
301
301
|
recordEphemeralLanding,
|
|
302
302
|
clearEphemeralLanding
|
|
303
303
|
};
|
|
304
|
-
//# sourceMappingURL=chunk-
|
|
304
|
+
//# sourceMappingURL=chunk-DAXFWXSV.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
retryCommand,
|
|
3
3
|
withheldNote
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PC7XEO7F.js";
|
|
5
5
|
import {
|
|
6
6
|
contextFlags
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4DVP42ZC.js";
|
|
8
8
|
import {
|
|
9
9
|
READ_AFTERMATH,
|
|
10
10
|
SENT_AFTERMATH,
|
|
11
11
|
closeSentence
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
13
13
|
import {
|
|
14
14
|
UsageError,
|
|
15
15
|
detail,
|
|
16
16
|
pastePath,
|
|
17
17
|
warn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6534P3VH.js";
|
|
19
19
|
import {
|
|
20
20
|
shellQuote
|
|
21
21
|
} from "./chunk-5ZSO4T2G.js";
|
|
22
22
|
|
|
23
23
|
// src/emit/static-teardown.ts
|
|
24
24
|
async function readStaticTeardown(auth, target, recorded) {
|
|
25
|
-
const { listServingStaticHosts } = await import("./static-host-
|
|
25
|
+
const { listServingStaticHosts } = await import("./static-host-HCKD26Q3.js");
|
|
26
26
|
try {
|
|
27
27
|
const serving = await listServingStaticHosts({ ...target, accessToken: auth.access_token });
|
|
28
28
|
const urls = serving.map((s) => s.url);
|
|
@@ -130,7 +130,7 @@ function survivingRemedy(args, command) {
|
|
|
130
130
|
async function assertStaticHostExists(args, auth, target) {
|
|
131
131
|
const host = namedStaticHost(args);
|
|
132
132
|
if (host === void 0) return;
|
|
133
|
-
const { listStaticHostNames, StaticHostNotFoundError } = await import("./static-host-
|
|
133
|
+
const { listStaticHostNames, StaticHostNotFoundError } = await import("./static-host-HCKD26Q3.js");
|
|
134
134
|
let names;
|
|
135
135
|
try {
|
|
136
136
|
names = await listStaticHostNames({ ...target, accessToken: auth.access_token });
|
|
@@ -215,4 +215,4 @@ export {
|
|
|
215
215
|
EXIT_STATIC_FAILED,
|
|
216
216
|
unknownStaticOutcome
|
|
217
217
|
};
|
|
218
|
-
//# sourceMappingURL=chunk-
|
|
218
|
+
//# sourceMappingURL=chunk-DJ7JH4UE.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-WAVNUTMT.js";
|
|
4
4
|
import {
|
|
5
5
|
UsageError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6534P3VH.js";
|
|
7
7
|
|
|
8
8
|
// src/emit/module-manifest.ts
|
|
9
9
|
import { existsSync, readFileSync, statSync } from "fs";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
loadFile,
|
|
180
180
|
homepageOf
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-DORGB2Y2.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contextFlags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4DVP42ZC.js";
|
|
4
4
|
import {
|
|
5
5
|
backendDirFor,
|
|
6
6
|
backendDirIn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
atomicWrite
|
|
10
|
-
} from "./chunk-LLNZGEFK.js";
|
|
7
|
+
} from "./chunk-X3LYWTZ5.js";
|
|
11
8
|
import {
|
|
12
9
|
projectRootFrom
|
|
13
10
|
} from "./chunk-HU7F56VF.js";
|
|
11
|
+
import {
|
|
12
|
+
atomicWrite
|
|
13
|
+
} from "./chunk-LLNZGEFK.js";
|
|
14
14
|
import {
|
|
15
15
|
LocalFileNotFoundError,
|
|
16
16
|
displayPath,
|
|
17
17
|
relForwardSlash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6534P3VH.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeDocumentationScopeKey
|
|
21
21
|
} from "./chunk-3JDU4VRL.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
entryWordOf,
|
|
128
128
|
readSecretsFile
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-E7YXNU57.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
httpFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
4
4
|
|
|
5
5
|
// src/deploy/import.ts
|
|
6
6
|
var ImportHttpError = class extends Error {
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
ImportHttpError,
|
|
24
24
|
isSignatureRefusal
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
26
|
+
//# sourceMappingURL=chunk-EBSJUSID.js.map
|
|
@@ -3,21 +3,21 @@ import {
|
|
|
3
3
|
} from "./chunk-SVQMDVND.js";
|
|
4
4
|
import {
|
|
5
5
|
questionOrCancel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BBFHZMQA.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-34OZQNKR.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3OR2RCXJ.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UN73LNM5.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CGLYG2VF.js";
|
|
21
21
|
import {
|
|
22
22
|
MERGED_IN_EXISTING,
|
|
23
23
|
XANO_DIR,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
existingProjectClashes,
|
|
27
27
|
isNonEmptyDir,
|
|
28
28
|
scaffoldProject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-EQ2KB5YF.js";
|
|
30
30
|
import {
|
|
31
31
|
inProject,
|
|
32
32
|
installModules,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
preflightPackages,
|
|
35
35
|
rebaseLocalSpec,
|
|
36
36
|
renderXanoIndexWithModules
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CJIXD67B.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -43,14 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-FWD7AL6N.js";
|
|
44
44
|
import {
|
|
45
45
|
isLocalSpecifier
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import {
|
|
48
|
-
readToolchainBlock,
|
|
49
|
-
readToolchainConfig
|
|
50
|
-
} from "./chunk-DXUICABI.js";
|
|
51
|
-
import {
|
|
52
|
-
statusLabel
|
|
53
|
-
} from "./chunk-NH5Z2NOD.js";
|
|
46
|
+
} from "./chunk-IUBGFCJJ.js";
|
|
54
47
|
import {
|
|
55
48
|
detectInstallRoot,
|
|
56
49
|
detectPackageManager,
|
|
@@ -62,7 +55,14 @@ import {
|
|
|
62
55
|
localPathOf,
|
|
63
56
|
packageNameOf,
|
|
64
57
|
readInstalledManifestState
|
|
65
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-DORGB2Y2.js";
|
|
59
|
+
import {
|
|
60
|
+
readToolchainBlock,
|
|
61
|
+
readToolchainConfig
|
|
62
|
+
} from "./chunk-LZDH5COS.js";
|
|
63
|
+
import {
|
|
64
|
+
statusLabel
|
|
65
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
66
66
|
import {
|
|
67
67
|
readEnvVar
|
|
68
68
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
unknownFlag,
|
|
129
129
|
warn,
|
|
130
130
|
writeJson
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-6534P3VH.js";
|
|
132
132
|
import {
|
|
133
133
|
suggest
|
|
134
134
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -649,8 +649,8 @@ Nothing was written. ` + (process.stdin.isTTY === true ? `Re-run with --force to
|
|
|
649
649
|
...listed.length > 30 ? [`\u2026 and ${listed.length - 30} more`] : []
|
|
650
650
|
]);
|
|
651
651
|
if (args.yes === true) return scripts;
|
|
652
|
-
const { confirm } = await import("./prompt-
|
|
653
|
-
const { yesRerun } = await import("./retry-command-
|
|
652
|
+
const { confirm } = await import("./prompt-JVYQH4OR.js");
|
|
653
|
+
const { yesRerun } = await import("./retry-command-HG4IFE65.js");
|
|
654
654
|
const { rerun, note } = yesRerun(args, "init");
|
|
655
655
|
const noun = scripts.length === 0 ? "file" : changed.length === 0 ? "script" : "file and script";
|
|
656
656
|
const ok = await confirm(
|
|
@@ -725,7 +725,7 @@ async function runInitCommand(args) {
|
|
|
725
725
|
}
|
|
726
726
|
const source = resolveFromSource(args.from);
|
|
727
727
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
728
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
728
|
+
const { runInitFromCommand } = await import("./codegen-command-GGGU6YAP.js");
|
|
729
729
|
return runInitFromCommand(args, source);
|
|
730
730
|
}
|
|
731
731
|
rejectPullOnlyFlags(args);
|
|
@@ -745,10 +745,10 @@ async function runInitCommand(args) {
|
|
|
745
745
|
return flagNames().includes(bare) || bare.startsWith("no-") && flagNames().includes(bare.slice(3));
|
|
746
746
|
});
|
|
747
747
|
if (unclaimable.length > 0) throw unknownFlag(unclaimable, { command: "init" });
|
|
748
|
-
const { refusePlugAndPlay } = await import("./project-dependency-
|
|
749
|
-
const { retryCommand } = await import("./retry-command-
|
|
748
|
+
const { refusePlugAndPlay } = await import("./project-dependency-WTH776QE.js");
|
|
749
|
+
const { retryCommand } = await import("./retry-command-HG4IFE65.js");
|
|
750
750
|
refusePlugAndPlay(targetDir, retryCommand(args, { command: "init" }).command);
|
|
751
|
-
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-
|
|
751
|
+
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-LT76KHJD.js");
|
|
752
752
|
const resolvedModules = typedModules.length === 0 ? [] : await resolveMarketplaceSpecs(typedModules, "xanosdk init --marketplace").catch(async (err) => {
|
|
753
753
|
throw await withCatalogueRerun(err, args, "init");
|
|
754
754
|
});
|
|
@@ -782,20 +782,20 @@ async function runInitCommand(args) {
|
|
|
782
782
|
blank();
|
|
783
783
|
moduleOutcome = await installModules(targetDir, modules);
|
|
784
784
|
if (moduleOutcome.toolchain.length > 0) {
|
|
785
|
-
const { addToolchainPeers } = await import("./toolchain-peers-
|
|
785
|
+
const { addToolchainPeers } = await import("./toolchain-peers-NOIM44ED.js");
|
|
786
786
|
const rerun = retryCommand(args, { command: "init" }).command;
|
|
787
787
|
for (const pkg of moduleOutcome.toolchain) await addToolchainPeers(targetDir, pkg, rerun);
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
790
|
let scaffolded = false;
|
|
791
791
|
try {
|
|
792
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
792
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-V56JXU2E.js");
|
|
793
793
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
794
794
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
795
795
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
796
796
|
const choice = await resolveThemeChoice(args);
|
|
797
|
-
const { pluginPrompter } = await import("./plugin-prompt-
|
|
798
|
-
const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-
|
|
797
|
+
const { pluginPrompter } = await import("./plugin-prompt-XM4ATAWA.js");
|
|
798
|
+
const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-MEXUR7TY.js");
|
|
799
799
|
const { answers: pluginAnswers } = await runPluginQuestionnaire(toolchain.loaded, {
|
|
800
800
|
host: "init",
|
|
801
801
|
unknownFlags: args.unknownFlags,
|
|
@@ -921,10 +921,10 @@ async function runInitCommand(args) {
|
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
923
|
if (result.install === "installed") {
|
|
924
|
-
const { skewedProjectSdk } = await import("./project-sdk-
|
|
924
|
+
const { skewedProjectSdk } = await import("./project-sdk-FYNY7RTO.js");
|
|
925
925
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
926
926
|
if (installedSdk !== void 0) {
|
|
927
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
927
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-EP5WQWFA.js");
|
|
928
928
|
const rendered = reconcileWithInstalled(targetDir);
|
|
929
929
|
if (rendered.length > 0) {
|
|
930
930
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -1062,20 +1062,20 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1062
1062
|
const routesPath = join(targetDir, ROUTES_REL);
|
|
1063
1063
|
try {
|
|
1064
1064
|
const { loadDefault, checkStandInTokens } = await import("./cli.js");
|
|
1065
|
-
const { Xano } = await import("./xano-
|
|
1065
|
+
const { Xano } = await import("./xano-XZN5SRDH.js");
|
|
1066
1066
|
const { createLockContext, lockKey, mergeObserved } = await import("./lock-JBKTDEDO.js");
|
|
1067
1067
|
const { resetLockOverrides, seedLockOverrides } = await import("./store-6VNCD4D7.js");
|
|
1068
1068
|
const { readLockFile, writeLockFile } = await import("./io-47TFRYDB.js");
|
|
1069
1069
|
const { setDiagnosticSink } = await import("./diagnostics-T3RN3372.js");
|
|
1070
1070
|
const { planRouteManifest } = await import("./routes-manifest-N73THJB3.js");
|
|
1071
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1072
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1071
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-3MDX3JB3.js");
|
|
1072
|
+
const { isEnabled } = await import("./toolchain-modules-V56JXU2E.js");
|
|
1073
1073
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1074
1074
|
resetLockOverrides();
|
|
1075
1075
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1076
1076
|
const ctx = createLockContext(existing);
|
|
1077
|
-
const { envNamesRead } = await import("./guards-
|
|
1078
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1077
|
+
const { envNamesRead } = await import("./guards-N4PUFKN5.js");
|
|
1078
|
+
const { refreshEnvExample } = await import("./env-example-refresh-F5RTDVJ5.js");
|
|
1079
1079
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1080
1080
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1081
1081
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1128,21 +1128,21 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1128
1128
|
return { written, env: declaredEnv };
|
|
1129
1129
|
}
|
|
1130
1130
|
async function refuseUnknownProfileFlag(args, targetDir) {
|
|
1131
|
-
const { ENV_PROFILE } = await import("./profile-select-
|
|
1131
|
+
const { ENV_PROFILE } = await import("./profile-select-ZANK43KE.js");
|
|
1132
1132
|
const envRaw = readEnvVar(ENV_PROFILE)?.trim();
|
|
1133
1133
|
const fromEnv = args.profile === void 0 && envRaw !== void 0;
|
|
1134
1134
|
const name = args.profile ?? (fromEnv ? envRaw : void 0);
|
|
1135
1135
|
if (name === void 0) return;
|
|
1136
1136
|
if (fromEnv && targetDir !== void 0) {
|
|
1137
|
-
const { POINTER_FILE } = await import("./profile-pointer-
|
|
1137
|
+
const { POINTER_FILE } = await import("./profile-pointer-DHOU26Q2.js");
|
|
1138
1138
|
if (existsSync(join(targetDir, POINTER_FILE))) return;
|
|
1139
1139
|
}
|
|
1140
|
-
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-
|
|
1140
|
+
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-ZWQFSXH5.js");
|
|
1141
1141
|
const path = resolveAuthFilePath(args, "read");
|
|
1142
1142
|
const file = readCredentialFile(path);
|
|
1143
1143
|
const stored = file === null ? [] : profileNames(file);
|
|
1144
1144
|
if (stored.includes(name)) return;
|
|
1145
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1145
|
+
const { ProfileNotFoundError } = await import("./token-IHOPB74T.js");
|
|
1146
1146
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1147
1147
|
throw new ProfileNotFoundError(
|
|
1148
1148
|
`No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
|
|
@@ -1151,7 +1151,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1151
1151
|
);
|
|
1152
1152
|
}
|
|
1153
1153
|
async function envCredentialSet() {
|
|
1154
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1154
|
+
const { envMetaCredentialVarsSet } = await import("./token-IHOPB74T.js");
|
|
1155
1155
|
return envMetaCredentialVarsSet().length > 0;
|
|
1156
1156
|
}
|
|
1157
1157
|
function loginNextStep(pin) {
|
|
@@ -1171,8 +1171,8 @@ function runFromHere(text, targetDir) {
|
|
|
1171
1171
|
return text.replace(/`npx @xano\/sdk /g, `\`${inProject(targetDir)}xanosdk `);
|
|
1172
1172
|
}
|
|
1173
1173
|
async function planProfilePin(args, targetDir, opts = {}) {
|
|
1174
|
-
const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-
|
|
1175
|
-
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-
|
|
1174
|
+
const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-DHOU26Q2.js");
|
|
1175
|
+
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-ZWQFSXH5.js");
|
|
1176
1176
|
const credentialPath = resolveAuthFilePath(args, "read");
|
|
1177
1177
|
const file = readCredentialFile(credentialPath);
|
|
1178
1178
|
const signedIn = file !== null && profileNames(file).length > 0 || await envCredentialSet();
|
|
@@ -1202,7 +1202,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1202
1202
|
};
|
|
1203
1203
|
}
|
|
1204
1204
|
if (opts.credentialRead === true) {
|
|
1205
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1205
|
+
const { environmentCredentialVars } = await import("./token-IHOPB74T.js");
|
|
1206
1206
|
const env = environmentCredentialVars();
|
|
1207
1207
|
if (env.complete) {
|
|
1208
1208
|
return {
|
|
@@ -1215,7 +1215,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1215
1215
|
};
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
|
-
const { resolveActiveProfile } = await import("./profile-select-
|
|
1218
|
+
const { resolveActiveProfile } = await import("./profile-select-ZANK43KE.js");
|
|
1219
1219
|
const selection = resolveActiveProfile({
|
|
1220
1220
|
flag: args.profile,
|
|
1221
1221
|
fileDefault: file?.default,
|
|
@@ -1225,7 +1225,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1225
1225
|
});
|
|
1226
1226
|
const stored = file === null ? [] : profileNames(file);
|
|
1227
1227
|
if (!stored.includes(selection.name)) {
|
|
1228
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1228
|
+
const env = stored.length === 0 ? (await import("./token-IHOPB74T.js")).environmentCredentialVars() : void 0;
|
|
1229
1229
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1230
1230
|
return {
|
|
1231
1231
|
name: null,
|
|
@@ -1249,7 +1249,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1249
1249
|
};
|
|
1250
1250
|
}
|
|
1251
1251
|
}
|
|
1252
|
-
const { writePointerFile } = await import("./profile-pointer-
|
|
1252
|
+
const { writePointerFile } = await import("./profile-pointer-DHOU26Q2.js");
|
|
1253
1253
|
return {
|
|
1254
1254
|
name: selection.name,
|
|
1255
1255
|
signedIn,
|
|
@@ -1266,7 +1266,7 @@ async function envAddressesElsewhere(file, name, credentialPath) {
|
|
|
1266
1266
|
const instance = readEnvVar("XANO_INSTANCE_URL")?.trim();
|
|
1267
1267
|
const workspace = readEnvVar("XANO_WORKSPACE_ID")?.trim();
|
|
1268
1268
|
if (instance === void 0 || workspace === void 0 || readEnvVar("XANO_META_TOKEN") === void 0) return null;
|
|
1269
|
-
const { readProfile, sameOriginAs } = await import("./store-
|
|
1269
|
+
const { readProfile, sameOriginAs } = await import("./store-ZWQFSXH5.js");
|
|
1270
1270
|
let record;
|
|
1271
1271
|
try {
|
|
1272
1272
|
record = readProfile(file, name, credentialPath);
|
|
@@ -1282,8 +1282,8 @@ async function envAddressesElsewhere(file, name, credentialPath) {
|
|
|
1282
1282
|
};
|
|
1283
1283
|
}
|
|
1284
1284
|
async function storeEnvCredentialCommand(credentialPath, targetDir) {
|
|
1285
|
-
const { credentialFileFlag, profileAddCommand } = await import("./store-
|
|
1286
|
-
const { DEFAULT_PROFILE } = await import("./profile-select-
|
|
1285
|
+
const { credentialFileFlag, profileAddCommand } = await import("./store-ZWQFSXH5.js");
|
|
1286
|
+
const { DEFAULT_PROFILE } = await import("./profile-select-ZANK43KE.js");
|
|
1287
1287
|
const instance = readEnvVar("XANO_INSTANCE_URL");
|
|
1288
1288
|
const workspaceId = readEnvVar("XANO_WORKSPACE_ID");
|
|
1289
1289
|
const flag = credentialFileFlag(credentialPath);
|
|
@@ -1317,4 +1317,4 @@ export {
|
|
|
1317
1317
|
runFiles,
|
|
1318
1318
|
planProfilePin
|
|
1319
1319
|
};
|
|
1320
|
-
//# sourceMappingURL=chunk-
|
|
1320
|
+
//# sourceMappingURL=chunk-EJXJE2H3.js.map
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
postEnvelopeMisreads,
|
|
86
86
|
unnestedEnvelopeReads,
|
|
87
87
|
walkNodes
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-CJ5WRCVE.js";
|
|
89
89
|
import {
|
|
90
90
|
obj
|
|
91
91
|
} from "./chunk-U56HK2RG.js";
|
|
@@ -2115,4 +2115,4 @@ export {
|
|
|
2115
2115
|
Xano,
|
|
2116
2116
|
workspace
|
|
2117
2117
|
};
|
|
2118
|
-
//# sourceMappingURL=chunk-
|
|
2118
|
+
//# sourceMappingURL=chunk-EME5G4YP.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hasString,
|
|
3
3
|
listAnswer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4Y3SWNPE.js";
|
|
5
5
|
import {
|
|
6
6
|
READ_AFTERMATH,
|
|
7
7
|
explainFetchFailure,
|
|
8
8
|
httpFailure,
|
|
9
9
|
readBodyText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
11
11
|
import {
|
|
12
12
|
detail,
|
|
13
13
|
info,
|
|
14
14
|
warn
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6534P3VH.js";
|
|
16
16
|
|
|
17
17
|
// src/deploy/microservice-status.ts
|
|
18
18
|
var TIMEOUT_MS = 3e4;
|
|
@@ -168,4 +168,4 @@ export {
|
|
|
168
168
|
readyRatio,
|
|
169
169
|
printMicroserviceSection
|
|
170
170
|
};
|
|
171
|
-
//# sourceMappingURL=chunk-
|
|
171
|
+
//# sourceMappingURL=chunk-EOWNLLLV.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
detail,
|
|
17
17
|
info,
|
|
18
18
|
warn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6534P3VH.js";
|
|
20
20
|
|
|
21
21
|
// src/emit/routes-manifest-modules.ts
|
|
22
22
|
var MODULE_DIALECT = {
|
|
@@ -254,4 +254,4 @@ export {
|
|
|
254
254
|
fireRoutesManifest,
|
|
255
255
|
anyDeclares
|
|
256
256
|
};
|
|
257
|
-
//# sourceMappingURL=chunk-
|
|
257
|
+
//# sourceMappingURL=chunk-EPD5J3WA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyNpmFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CJIXD67B.js";
|
|
4
4
|
import {
|
|
5
5
|
condenseNpmError,
|
|
6
6
|
runNpmQuiet,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
success,
|
|
36
36
|
warn,
|
|
37
37
|
withSpinner
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6534P3VH.js";
|
|
39
39
|
import {
|
|
40
40
|
defaultThemeChoice,
|
|
41
41
|
themeGuidanceSection
|
|
@@ -69,7 +69,7 @@ writing:
|
|
|
69
69
|
conditions are for.
|
|
70
70
|
3. \`node_modules/@xano/sdk/manifest.json\` \u2014 only for per-entry detail neither
|
|
71
71
|
carries: a statement's full field schema with engine defaults, a filter's
|
|
72
|
-
complete argument list. Grep or \`jq\` the one entry you need; it is ~
|
|
72
|
+
complete argument list. Grep or \`jq\` the one entry you need; it is ~80k
|
|
73
73
|
tokens, so never read it whole.
|
|
74
74
|
|
|
75
75
|
The published types and JSDoc (\`node_modules/@xano/sdk/**/*.d.ts\`) are that
|
|
@@ -997,4 +997,4 @@ export {
|
|
|
997
997
|
changedOnDisk,
|
|
998
998
|
scaffoldProject
|
|
999
999
|
};
|
|
1000
|
-
//# sourceMappingURL=chunk-
|
|
1000
|
+
//# sourceMappingURL=chunk-EQ2KB5YF.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LOOPBACK_HOSTS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RQGSZ7AR.js";
|
|
4
4
|
import {
|
|
5
5
|
TransportError,
|
|
6
6
|
describeTransportFailure,
|
|
7
7
|
fetchOrExplain
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
9
9
|
import {
|
|
10
10
|
readEnvVar
|
|
11
11
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
EngineReleaseNotFoundError,
|
|
180
180
|
resolveEngineRelease
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-FVBJKM6N.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LOOPBACK_HOSTS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RQGSZ7AR.js";
|
|
4
4
|
import {
|
|
5
5
|
readEnvVar
|
|
6
6
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -40,6 +40,20 @@ function legacyRuntimeDirs(env = process.env, platform = process.platform) {
|
|
|
40
40
|
}
|
|
41
41
|
return names.map((name) => join(cache, name)).filter((dir) => ["dist", "instances", "logs"].every((sub) => existsSync(join(dir, sub))));
|
|
42
42
|
}
|
|
43
|
+
function engineAiDir(env = process.env) {
|
|
44
|
+
return join(localEngineHome(env), "ai");
|
|
45
|
+
}
|
|
46
|
+
function engineAiTokenPath(name, env = process.env) {
|
|
47
|
+
return join(engineAiDir(env), `${name}.token`);
|
|
48
|
+
}
|
|
49
|
+
function machineIdPath(env = process.env) {
|
|
50
|
+
return join(localEngineHome(env), "machine-id");
|
|
51
|
+
}
|
|
52
|
+
var ENGINE_AI_MIN_TTL_S = 60;
|
|
53
|
+
var ENGINE_AI_MAX_TTL_S = 86400;
|
|
54
|
+
function clampEngineAiTtl(seconds) {
|
|
55
|
+
return Math.min(ENGINE_AI_MAX_TTL_S, Math.max(ENGINE_AI_MIN_TTL_S, Math.ceil(seconds)));
|
|
56
|
+
}
|
|
43
57
|
function localEngineBinDir(env = process.env) {
|
|
44
58
|
return join(localEngineHome(env), "bin");
|
|
45
59
|
}
|
|
@@ -117,6 +131,12 @@ export {
|
|
|
117
131
|
engineRunHome,
|
|
118
132
|
engineCacheDir,
|
|
119
133
|
legacyRuntimeDirs,
|
|
134
|
+
engineAiDir,
|
|
135
|
+
engineAiTokenPath,
|
|
136
|
+
machineIdPath,
|
|
137
|
+
ENGINE_AI_MIN_TTL_S,
|
|
138
|
+
ENGINE_AI_MAX_TTL_S,
|
|
139
|
+
clampEngineAiTtl,
|
|
120
140
|
localEngineBinDir,
|
|
121
141
|
LOCAL_ENGINE_OVERRIDE_ENV,
|
|
122
142
|
isTrustedEngineUrl,
|
|
@@ -127,4 +147,4 @@ export {
|
|
|
127
147
|
engineOverrideFromEnv,
|
|
128
148
|
resolveEngineSource
|
|
129
149
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
150
|
+
//# sourceMappingURL=chunk-FVZ5C3PF.js.map
|