@xano/sdk 1.0.19 → 1.0.21
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 +28 -0
- package/README.md +5 -2
- package/dist/{agent-file-refresh-5IP25UYO.js → agent-file-refresh-5R5ALFEV.js} +13 -11
- package/dist/{agent-skill-command-BPM4S6C7.js → agent-skill-command-JBX7Z6AK.js} +49 -47
- package/dist/ai-models-command-I3FU6GYP.js +270 -0
- package/dist/{answer-shape-ZRQS7ZC4.js → answer-shape-BCGPH73R.js} +5 -5
- package/dist/{backend-dir-RLILKCMR.js → backend-dir-VOMHDVFP.js} +16 -14
- package/dist/{backend-slot-7BATLL3X.js → backend-slot-WSWAHL2W.js} +3 -3
- package/dist/bin.js +55 -51
- package/dist/{branch-SJKKUCMZ.js → branch-6DBHVVUT.js} +11 -11
- package/dist/{branch-commands-5HKCBRLN.js → branch-commands-JOSHDOXH.js} +29 -28
- package/dist/bundle.js +3 -3
- package/dist/chunk-37BT62SX.js +17 -0
- package/dist/{chunk-2IC3K22K.js → chunk-3HK7VELD.js} +2 -2
- package/dist/{chunk-ZYZ7GRX3.js → chunk-4DVP42ZC.js} +2 -2
- package/dist/{chunk-ROWYW3JF.js → chunk-4QRDNBPY.js} +2 -2
- package/dist/{chunk-KG3RDXN5.js → chunk-4TVHSC4V.js} +4 -4
- package/dist/{chunk-SINL5WMI.js → chunk-4Y3SWNPE.js} +2 -2
- package/dist/{chunk-6SEPZQYB.js → chunk-4ZV4MDKP.js} +2 -2
- package/dist/{chunk-IFHFJR5O.js → chunk-5ABAIJVV.js} +6 -6
- package/dist/chunk-5KSVMHFS.js +81 -0
- package/dist/{chunk-MOVRSULZ.js → chunk-5Z4WQQHC.js} +2 -2
- package/dist/{chunk-K23RUXSH.js → chunk-64F6ET45.js} +44 -16
- 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-2HBJU76D.js → chunk-7SGMHGLI.js} +40 -22
- package/dist/{chunk-OTYK2V44.js → chunk-ANCNHQCH.js} +24 -24
- package/dist/{chunk-AICWDCLJ.js → chunk-BBFHZMQA.js} +2 -2
- package/dist/{chunk-54CJ74BH.js → chunk-C7KO5KKB.js} +4 -4
- package/dist/{chunk-V2MIBJZU.js → chunk-CGLYG2VF.js} +2 -2
- package/dist/{chunk-Z73I7Q2H.js → chunk-CJ5WRCVE.js} +80 -2
- 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-GA6HTO3O.js → chunk-EBSJUSID.js} +2 -2
- 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-WDWIXCGB.js → chunk-FJS5I6V4.js} +4 -4
- package/dist/{chunk-DO5VZIY4.js → chunk-FLM6TN7Q.js} +3 -3
- package/dist/{chunk-GT7PZCTK.js → chunk-FVBJKM6N.js} +3 -3
- package/dist/{chunk-F3IA3YWI.js → chunk-FVZ5C3PF.js} +22 -2
- package/dist/{chunk-PLOBHRGV.js → chunk-GODAKJ3L.js} +49 -49
- package/dist/{chunk-RKTVXFBV.js → chunk-GUHJV7C5.js} +31 -3
- package/dist/{chunk-B6ZHSM2D.js → chunk-HXVNBJVA.js} +73 -73
- package/dist/{chunk-G2XSDIYS.js → chunk-I52AKG2O.js} +4 -4
- package/dist/{chunk-VCFRALU7.js → chunk-I5YD7QPI.js} +28 -11
- package/dist/{chunk-ASUDP4OS.js → chunk-IA4FMPJ3.js} +8 -8
- package/dist/{chunk-YYBBJPCL.js → chunk-IUBGFCJJ.js} +14 -18
- package/dist/{chunk-L4L6YITX.js → chunk-IWFKPEWJ.js} +13 -10
- package/dist/{chunk-YP4QTC4F.js → chunk-J564PMKW.js} +6 -6
- package/dist/{chunk-AJPICYPW.js → chunk-JVMAWMO3.js} +113 -94
- package/dist/{chunk-UH5VQGNR.js → chunk-JXX2QXPP.js} +2 -2
- package/dist/{chunk-2DUYJR5N.js → chunk-KHX6VQ4M.js} +2 -2
- package/dist/{chunk-LRN6QX44.js → chunk-KL4PGJ2G.js} +3 -3
- package/dist/{chunk-BCN6OZLF.js → chunk-KU4HLYWT.js} +3 -3
- package/dist/{chunk-WGGATSIP.js → chunk-LMX4VE4H.js} +2 -2
- package/dist/{chunk-YT5UN2F4.js → chunk-LYR6W5LV.js} +14 -14
- package/dist/{chunk-DXUICABI.js → chunk-LZDH5COS.js} +21 -2
- package/dist/{chunk-2NUOFHPX.js → chunk-M42Y53Z4.js} +7 -7
- package/dist/{chunk-E5M5P23K.js → chunk-M5GXZEX7.js} +21 -215
- package/dist/{chunk-Q4LJCCH5.js → chunk-MGC5S6OE.js} +75 -9
- package/dist/{chunk-KVF7YQ2W.js → chunk-MJA5BP2M.js} +9 -9
- package/dist/{chunk-5Y5HWQ2P.js → chunk-MKRREVNB.js} +4 -4
- package/dist/{chunk-JORPZKBE.js → chunk-N2JZU6VR.js} +3 -3
- package/dist/{chunk-QK2WIASY.js → chunk-N3LPULRE.js} +7 -7
- package/dist/chunk-OF5YFPSK.js +278 -0
- package/dist/{chunk-D4N72H35.js → chunk-OFKFZSHS.js} +9 -9
- 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-QETVFGD7.js → chunk-OTUPQ7M3.js} +16 -16
- package/dist/{chunk-Q45RTKWW.js → chunk-OZVZ3KCH.js} +6 -6
- package/dist/{chunk-3X4B5GWY.js → chunk-P3WIMLG2.js} +3 -3
- package/dist/{chunk-JUCL5MUZ.js → chunk-PAWLPNBA.js} +8 -8
- package/dist/{chunk-GJZMKMWO.js → chunk-PC7XEO7F.js} +2 -2
- package/dist/{chunk-MF4W6FHU.js → chunk-Q4R2ABFL.js} +1 -1
- package/dist/{chunk-BT6CJNEO.js → chunk-Q77C32ZB.js} +4 -4
- package/dist/chunk-QHNSBURP.js +264 -0
- package/dist/{chunk-HUGNB6UN.js → chunk-QLXGLHK3.js} +71 -49
- package/dist/{chunk-NH5Z2NOD.js → chunk-QZ2PC6B7.js} +3 -3
- package/dist/{chunk-GTB7JL3M.js → chunk-QZXSPUNS.js} +6 -6
- package/dist/{chunk-LCOCRJ4K.js → chunk-RQGSZ7AR.js} +16 -2
- package/dist/{chunk-WLZSKD7E.js → chunk-SQVETROU.js} +3 -3
- package/dist/{chunk-554FJWNH.js → chunk-T2LFOMOP.js} +4 -4
- package/dist/{chunk-4HMF5TRB.js → chunk-T4HTNHXR.js} +8 -8
- package/dist/{chunk-FRJB3NTE.js → chunk-T6KQYCAU.js} +3 -3
- package/dist/{chunk-YYDM4DNP.js → chunk-TDSRZDQP.js} +2 -2
- package/dist/{chunk-RKNCISPM.js → chunk-VEA6EXJL.js} +3 -3
- package/dist/{chunk-KYQRIL4V.js → chunk-VJCUFHTQ.js} +26 -26
- package/dist/{chunk-6FCAFWD5.js → chunk-VO62TKK5.js} +3 -77
- package/dist/{chunk-3FNEHRJF.js → chunk-VV7FVGOX.js} +8 -8
- package/dist/{chunk-HM5X73PY.js → chunk-WK5QDV25.js} +2 -2
- package/dist/{chunk-5JUWB6XL.js → chunk-WXY24GKO.js} +7 -7
- package/dist/{chunk-XKHQLKUL.js → chunk-X7EK5PTK.js} +3 -3
- package/dist/{chunk-CO7US54H.js → chunk-X7IBJLAD.js} +2 -2
- package/dist/{chunk-E7VF2JVJ.js → chunk-XD5FOBMZ.js} +10 -10
- package/dist/{chunk-PKBC7G5H.js → chunk-XDIPEWLU.js} +25 -1
- package/dist/{chunk-NYIFU3BR.js → chunk-XWEDFVJ6.js} +21 -19
- package/dist/{chunk-OJ6YGRPV.js → chunk-YAZEB255.js} +3 -3
- package/dist/{chunk-UJ5HLRYH.js → chunk-YF7PDN6T.js} +35 -35
- package/dist/{chunk-RGPHFHJU.js → chunk-YFVD3LNL.js} +2 -2
- 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/{chunk-5AHHO2QA.js → chunk-ZNGUETV7.js} +163 -97
- package/dist/cli.d.ts +10 -1
- package/dist/cli.js +48 -46
- package/dist/{codegen-command-OF3TPC66.js → codegen-command-ZXABRPVP.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-KO5FATR6.js} +55 -53
- package/dist/{deploy-source-UHCHCI5Z.js → deploy-source-7GCMMZKV.js} +34 -33
- package/dist/{dev-env-sync-XWZVXEI2.js → dev-env-sync-LZ22CSKD.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-DWGV4DFX.js} +69 -67
- package/dist/{env-pull-command-SHK4TI6U.js → env-pull-command-5N5AUKJK.js} +52 -50
- package/dist/{env-target-ZQSPPN4A.js → env-target-CXZXMK3W.js} +13 -13
- package/dist/{env-var-command-Q2ZHKWAQ.js → env-var-command-4RGQALIH.js} +55 -54
- package/dist/{ephemeral-2DXWP3VK.js → ephemeral-MNHEWSZ6.js} +11 -11
- package/dist/{ephemeral-command-FKOSN56R.js → ephemeral-command-GIB63YX3.js} +64 -62
- package/dist/{ephemeral-state-56XEDUJW.js → ephemeral-state-QTT5JHD5.js} +11 -11
- package/dist/{generate-command-2JCMZ6CG.js → generate-command-GW42CN4I.js} +77 -75
- package/dist/{gitignore-Z5N6DEEV.js → gitignore-RDEUQHHG.js} +19 -17
- package/dist/{guards-LQ7PSXOL.js → guards-N4PUFKN5.js} +3 -2
- package/dist/{impersonate-command-R24VBFQA.js → impersonate-command-H72JM5IF.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-ERRMSKPB.js} +52 -50
- package/dist/{init-modules-5DYK7V4J.js → init-modules-UH7PPQTB.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-BNX3HEHM.js} +32 -31
- package/dist/{landing-record-FYKDJIUF.js → landing-record-ZY4O7OLQ.js} +23 -21
- package/dist/{live-diff-YOFOJCFX.js → live-diff-GZ6JUNP6.js} +5 -4
- package/dist/local-engine-ai-YWAMTHME.js +47 -0
- package/dist/{local-engine-choice-4ZA2HZXH.js → local-engine-choice-PCM45R3A.js} +43 -36
- package/dist/local-engine-command-ACJ6YUP7.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-IUHWB43Q.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-EODMA3X5.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-YBBTZB6M.js} +55 -53
- package/dist/{login-command-ONGJASKA.js → login-command-DJCCEN5O.js} +39 -32
- package/dist/{logout-command-PLYGFHBQ.js → logout-command-6FQLSD5H.js} +16 -16
- package/dist/{loop-CLLBQSJF.js → loop-EMTBWN4X.js} +5 -4
- package/dist/{marketplace-command-LNNAA7ZK.js → marketplace-command-2JZERTJW.js} +42 -40
- package/dist/{marketplace-resolve-63QWMQZU.js → marketplace-resolve-LT76KHJD.js} +9 -7
- package/dist/{meta-client-JND42QEJ.js → meta-client-KDTBLP6X.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-POYID3M6.js} +26 -26
- package/dist/{output-target-QJSHZBVY.js → output-target-55RSDDTO.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-ZP7VVE5T.js} +60 -58
- package/dist/{profile-command-PJUA5ZMX.js → profile-command-EP7N7LNQ.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-LX5UWQYG.js +150 -0
- package/dist/{prompt-OYQHQWKI.js → prompt-JVYQH4OR.js} +3 -3
- package/dist/{publish-command-JSYK6HOW.js → publish-command-DW5VLFJN.js} +65 -63
- package/dist/{pull-command-K5X367MA.js → pull-command-ZUDJRRXV.js} +71 -69
- package/dist/{pull-superseded-3SSM3JFT.js → pull-superseded-7EZ7M54I.js} +3 -3
- package/dist/{release-command-OC7MT4FV.js → release-command-Z3HXXLLO.js} +66 -64
- package/dist/{release-ns-command-EHNEAEDU.js → release-ns-command-JS3OUEFQ.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-PIKQ3BIJ.js} +4 -4
- package/dist/{secrets-file-2RHMJFXQ.js → secrets-file-QLVCR2JD.js} +19 -17
- package/dist/{secrets-fill-command-HYMF6EZM.js → secrets-fill-command-BK7NVKPY.js} +52 -50
- package/dist/{seed-W5FNE6IB.js → seed-M33F4OJW.js} +3 -3
- package/dist/{source-resolve-PMA7SHZE.js → source-resolve-GGRHO6NW.js} +24 -24
- package/dist/{static-host-3HPZKVKK.js → static-host-HCKD26Q3.js} +5 -5
- package/dist/{status-command-CROHQRPI.js → status-command-3DISBMGH.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-GAV6PZEY.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-D7DSJAXI.js} +41 -40
- package/dist/{tenant-IXIW3FOI.js → tenant-SSWC7B3V.js} +12 -12
- package/dist/{tenant-command-Y7VCGDMY.js → tenant-command-6S5RU4PP.js} +96 -94
- package/dist/{test-command-2RAUNIU5.js → test-command-FSRARFF7.js} +44 -43
- package/dist/{tests-N4MMBABH.js → tests-ZFQWDWS2.js} +6 -6
- package/dist/{token-4I26OGWH.js → token-XTU3C2DI.js} +14 -12
- package/dist/{toolchain-hooks-IJWV3ZQS.js → toolchain-hooks-IRPM6LYL.js} +3 -3
- package/dist/{toolchain-modules-XM4JXHQC.js → toolchain-modules-YSM6DMDB.js} +9 -5
- package/dist/{toolchain-peers-EMOYN4U7.js → toolchain-peers-NOIM44ED.js} +11 -9
- package/dist/{tracked-backend-EZE6H3EZ.js → tracked-backend-7XW4KPIR.js} +39 -36
- package/dist/{update-check-QLB5DV3B.js → update-check-KKDYZG3X.js} +51 -49
- package/dist/{upgrade-command-4DCDBDB5.js → upgrade-command-LRJ7V3UW.js} +55 -53
- package/dist/{whoami-command-WI4VT3IN.js → whoami-command-FBRWLX5Q.js} +15 -15
- package/dist/{workspace-DIM3SBPV.js → workspace-DTM3ZNTM.js} +5 -5
- package/dist/{workspace-binding-43PBQEE4.js → workspace-binding-M7XSJIWC.js} +14 -14
- package/dist/{workspace-command-FWTHIFVI.js → workspace-command-3T6CT7UA.js} +96 -94
- package/dist/{workspace-env-5PJVWQ2O.js → workspace-env-RIKENQFC.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-L3ZZIT6I.js} +6 -6
- package/dist/{xanosdk-project-PV3ORVP5.js → xanosdk-project-YVLCGM3Y.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 -38
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/.build-fingerprint +0 -1
- package/dist/local-engine-command-WQS4SD6N.js +0 -85
- package/dist/promote-command-NDYP66LD.js +0 -148
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findRelease,
|
|
3
3
|
listReleases
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
isSignatureRefusal
|
|
7
|
-
} from "./chunk-GA6HTO3O.js";
|
|
8
|
-
import {
|
|
9
|
-
resolveEphemeralName
|
|
10
|
-
} from "./chunk-JUCL5MUZ.js";
|
|
11
|
-
import {
|
|
12
|
-
clearEngineRecordsNamed,
|
|
13
|
-
getEngineRecord,
|
|
14
|
-
listEngineRecords
|
|
15
|
-
} from "./chunk-5Y5HWQ2P.js";
|
|
16
|
-
import {
|
|
17
|
-
assertLoopbackUrl
|
|
18
|
-
} from "./chunk-LCOCRJ4K.js";
|
|
4
|
+
} from "./chunk-JXX2QXPP.js";
|
|
19
5
|
import {
|
|
20
6
|
displayNameHint,
|
|
21
7
|
displayNameOwner,
|
|
@@ -25,26 +11,40 @@ import {
|
|
|
25
11
|
selectorFix,
|
|
26
12
|
sentenceCase,
|
|
27
13
|
sharedDisplayHint
|
|
28
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6TAYTKFM.js";
|
|
29
15
|
import {
|
|
30
16
|
getTenant,
|
|
31
17
|
tenantHasWorkspace
|
|
32
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-I52AKG2O.js";
|
|
33
19
|
import {
|
|
34
20
|
getEphemeral,
|
|
35
21
|
isExpired
|
|
36
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-745NOWB7.js";
|
|
23
|
+
import {
|
|
24
|
+
isSignatureRefusal
|
|
25
|
+
} from "./chunk-EBSJUSID.js";
|
|
26
|
+
import {
|
|
27
|
+
resolveEphemeralName
|
|
28
|
+
} from "./chunk-PAWLPNBA.js";
|
|
37
29
|
import {
|
|
38
30
|
clearEnvironment,
|
|
39
31
|
getEnvironment,
|
|
40
32
|
readEphemeralState
|
|
41
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-DAXFWXSV.js";
|
|
34
|
+
import {
|
|
35
|
+
clearEngineRecordsNamed,
|
|
36
|
+
getEngineRecord,
|
|
37
|
+
listEngineRecords
|
|
38
|
+
} from "./chunk-MKRREVNB.js";
|
|
39
|
+
import {
|
|
40
|
+
assertLoopbackUrl
|
|
41
|
+
} from "./chunk-RQGSZ7AR.js";
|
|
42
42
|
import {
|
|
43
43
|
pipedYes
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-PC7XEO7F.js";
|
|
45
45
|
import {
|
|
46
46
|
contextFlags
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-4DVP42ZC.js";
|
|
48
48
|
import {
|
|
49
49
|
TransportError,
|
|
50
50
|
UNTRUSTED_CERTIFICATE,
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
certificateFailureCode,
|
|
53
53
|
isTimeoutError,
|
|
54
54
|
lastRateLimitRetryAfter
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
56
56
|
import {
|
|
57
57
|
CliError,
|
|
58
58
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
59
59
|
safeText
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6534P3VH.js";
|
|
61
61
|
import {
|
|
62
62
|
suggest,
|
|
63
63
|
suggestAll
|
|
@@ -561,13 +561,13 @@ function engineNotRunning(name, clearedProjects, deployFallback = true, nearest,
|
|
|
561
561
|
}
|
|
562
562
|
function defaultSweep(env) {
|
|
563
563
|
return async () => {
|
|
564
|
-
const { stopOrphanedEngineProcesses } = await import("./local-engine-process-
|
|
564
|
+
const { stopOrphanedEngineProcesses } = await import("./local-engine-process-P5T2766M.js");
|
|
565
565
|
return stopOrphanedEngineProcesses({ env }).stopped;
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
568
|
function defaultEnumeration(env, cwd) {
|
|
569
569
|
return async () => {
|
|
570
|
-
const { cachedEngineEntry, listEngines } = await import("./local-engine-process-
|
|
570
|
+
const { cachedEngineEntry, listEngines } = await import("./local-engine-process-P5T2766M.js");
|
|
571
571
|
const entry = cachedEngineEntry(env, cwd);
|
|
572
572
|
return entry === void 0 ? void 0 : listEngines({ entry, env });
|
|
573
573
|
};
|
|
@@ -598,4 +598,4 @@ export {
|
|
|
598
598
|
releaseNames,
|
|
599
599
|
resolveSource
|
|
600
600
|
};
|
|
601
|
-
//# sourceMappingURL=chunk-
|
|
601
|
+
//# sourceMappingURL=chunk-VJCUFHTQ.js.map
|
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sha256Hex
|
|
3
3
|
} from "./chunk-64WWE3EF.js";
|
|
4
|
-
import {
|
|
5
|
-
normalizeEngineVersion
|
|
6
|
-
} from "./chunk-GT7PZCTK.js";
|
|
7
4
|
import {
|
|
8
5
|
localEngineBinDir,
|
|
9
6
|
localEngineHome
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
SDK_PACKAGE,
|
|
13
|
-
composeToolchainConfig,
|
|
14
|
-
readProjectManifest,
|
|
15
|
-
readToolchainBlock,
|
|
16
|
-
writeToolchainConfig
|
|
17
|
-
} from "./chunk-DXUICABI.js";
|
|
7
|
+
} from "./chunk-FVZ5C3PF.js";
|
|
18
8
|
import {
|
|
19
9
|
atomicWrite
|
|
20
10
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -288,67 +278,6 @@ function diskBytes(path) {
|
|
|
288
278
|
return total;
|
|
289
279
|
}
|
|
290
280
|
|
|
291
|
-
// src/deploy/local-engine-pin.ts
|
|
292
|
-
import { existsSync, writeFileSync as writeFileSync2 } from "fs";
|
|
293
|
-
import { join as join2 } from "path";
|
|
294
|
-
var PIN_FIELD = "engine";
|
|
295
|
-
function isUnusablePin(pin) {
|
|
296
|
-
return typeof pin === "object" && pin !== null;
|
|
297
|
-
}
|
|
298
|
-
function readPin(projectDir, opts = {}) {
|
|
299
|
-
const path = join2(projectDir, "package.json");
|
|
300
|
-
if (!existsSync(path)) return void 0;
|
|
301
|
-
const manifest = readProjectManifest(projectDir);
|
|
302
|
-
if (manifest === null) {
|
|
303
|
-
opts.warn?.(
|
|
304
|
-
`${path} could not be parsed as a JSON object, so its Xano Engine pin was not read.`
|
|
305
|
-
);
|
|
306
|
-
return { unusable: void 0 };
|
|
307
|
-
}
|
|
308
|
-
const own = readToolchainBlock(projectDir, manifest)[SDK_PACKAGE];
|
|
309
|
-
if (typeof own !== "object" || own === null || Array.isArray(own)) return null;
|
|
310
|
-
if (!(PIN_FIELD in own)) return null;
|
|
311
|
-
const value = own[PIN_FIELD];
|
|
312
|
-
if (typeof value === "string") {
|
|
313
|
-
try {
|
|
314
|
-
return normalizeEngineVersion(value);
|
|
315
|
-
} catch {
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
opts.warn?.(
|
|
319
|
-
`the "${PIN_FIELD}" pin under "xanosdk"."${SDK_PACKAGE}" in ${path} is ${JSON.stringify(value)}, not a version like "v0.1.5", so it was ignored.`
|
|
320
|
-
);
|
|
321
|
-
return { unusable: value };
|
|
322
|
-
}
|
|
323
|
-
function writePin(projectDir, version) {
|
|
324
|
-
if (!RELEASE_VERSION.test(version)) {
|
|
325
|
-
throw new Error(
|
|
326
|
-
`cannot pin Xano Engine version ${JSON.stringify(version)}: expected vMAJOR.MINOR.PATCH, like "v0.1.5".`
|
|
327
|
-
);
|
|
328
|
-
}
|
|
329
|
-
const path = join2(projectDir, "package.json");
|
|
330
|
-
if (!existsSync(path)) {
|
|
331
|
-
const text = composeToolchainConfig("{}\n", { [SDK_PACKAGE]: { [PIN_FIELD]: version } });
|
|
332
|
-
try {
|
|
333
|
-
writeFileSync2(path, text, { flag: "wx" });
|
|
334
|
-
return { created: true, changed: true, path };
|
|
335
|
-
} catch (err) {
|
|
336
|
-
if (err.code !== "EEXIST") throw err;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
const block = readToolchainBlock(projectDir);
|
|
340
|
-
const own = block[SDK_PACKAGE];
|
|
341
|
-
const next = {
|
|
342
|
-
...block,
|
|
343
|
-
[SDK_PACKAGE]: {
|
|
344
|
-
...typeof own === "object" && own !== null && !Array.isArray(own) ? own : {},
|
|
345
|
-
[PIN_FIELD]: version
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
const changed = writeToolchainConfig(projectDir, next);
|
|
349
|
-
return { created: false, changed, path };
|
|
350
|
-
}
|
|
351
|
-
|
|
352
281
|
export {
|
|
353
282
|
RELEASE_VERSION,
|
|
354
283
|
readEngineEntry,
|
|
@@ -357,9 +286,6 @@ export {
|
|
|
357
286
|
listLegacyCacheDirs,
|
|
358
287
|
verifiedEngineExecutable,
|
|
359
288
|
stageEngine,
|
|
360
|
-
diskBytes
|
|
361
|
-
isUnusablePin,
|
|
362
|
-
readPin,
|
|
363
|
-
writePin
|
|
289
|
+
diskBytes
|
|
364
290
|
};
|
|
365
|
-
//# sourceMappingURL=chunk-
|
|
291
|
+
//# sourceMappingURL=chunk-VO62TKK5.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BRANCH_LABEL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C7KO5KKB.js";
|
|
4
4
|
import {
|
|
5
5
|
assertOneName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZCXWOGFL.js";
|
|
7
7
|
import {
|
|
8
8
|
LookupFailedError,
|
|
9
9
|
isUnansweredLookup,
|
|
10
10
|
lookupFailed,
|
|
11
11
|
unansweredCause
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VJCUFHTQ.js";
|
|
13
13
|
import {
|
|
14
14
|
findRelease
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JXX2QXPP.js";
|
|
16
16
|
import {
|
|
17
17
|
contextFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4DVP42ZC.js";
|
|
19
19
|
import {
|
|
20
20
|
fetchOrExplain,
|
|
21
21
|
parseJsonAnswer,
|
|
22
22
|
safeHttpFailure
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
24
24
|
import {
|
|
25
25
|
UsageError,
|
|
26
26
|
safeText
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6534P3VH.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-VV7FVGOX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeFunction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MGC5S6OE.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNoProtoKeys
|
|
6
6
|
} from "./chunk-JHAZK4RY.js";
|
|
@@ -14,4 +14,4 @@ function compile(fn) {
|
|
|
14
14
|
export {
|
|
15
15
|
compile
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-WK5QDV25.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-N2JZU6VR.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-WXY24GKO.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-T2LFOMOP.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-DNBP4GJN.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
projectSdkDir,
|
|
22
22
|
warn
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6534P3VH.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_DARK_MODE
|
|
26
26
|
} from "./chunk-TFFGOFVZ.js";
|
|
@@ -207,4 +207,4 @@ export {
|
|
|
207
207
|
isCI,
|
|
208
208
|
refreshAgentFiles
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-X7EK5PTK.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isDeadResultItem,
|
|
26
26
|
isEmptyCustomize,
|
|
27
27
|
normalize
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XDIPEWLU.js";
|
|
29
29
|
import {
|
|
30
30
|
f,
|
|
31
31
|
input
|
|
@@ -2021,4 +2021,4 @@ export {
|
|
|
2021
2021
|
decodeTableSchema,
|
|
2022
2022
|
decodeResponse
|
|
2023
2023
|
};
|
|
2024
|
-
//# sourceMappingURL=chunk-
|
|
2024
|
+
//# sourceMappingURL=chunk-X7IBJLAD.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BranchHttpError,
|
|
3
3
|
BranchTakenError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-C7KO5KKB.js";
|
|
5
5
|
import {
|
|
6
6
|
SourceError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VJCUFHTQ.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
ImportHttpError
|
|
13
|
-
} from "./chunk-GA6HTO3O.js";
|
|
10
|
+
} from "./chunk-JXX2QXPP.js";
|
|
14
11
|
import {
|
|
15
12
|
TenantHttpError
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-I52AKG2O.js";
|
|
14
|
+
import {
|
|
15
|
+
ImportHttpError
|
|
16
|
+
} from "./chunk-EBSJUSID.js";
|
|
17
17
|
import {
|
|
18
18
|
TLS_CERTIFICATE_CODES,
|
|
19
19
|
isTimeoutError,
|
|
20
20
|
writeRefusedBy
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
22
22
|
import {
|
|
23
23
|
UsageError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6534P3VH.js";
|
|
25
25
|
|
|
26
26
|
// src/emit/operation-outcome.ts
|
|
27
27
|
var SettledWriteFailure = class extends Error {
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
SettledWriteFailure,
|
|
83
83
|
classifyFailure
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-XD5FOBMZ.js.map
|
|
@@ -292,6 +292,25 @@ function isDefaultMesh0Block(v) {
|
|
|
292
292
|
([member, value]) => member === "inherit" ? value === true : /^(?:[a-z]+_)?logging$/.test(member) && value === "inherit"
|
|
293
293
|
);
|
|
294
294
|
}
|
|
295
|
+
var DEFAULT_TABLE_BLOCK_MEMBERS = {
|
|
296
|
+
audit: {
|
|
297
|
+
enabled: (value) => value === false,
|
|
298
|
+
mask: isEmptyArray,
|
|
299
|
+
exclude: isEmptyArray
|
|
300
|
+
},
|
|
301
|
+
audit_log: {
|
|
302
|
+
table_id: (value) => value === 0,
|
|
303
|
+
table_guid: (value) => value === ""
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
function isDefaultTableBlock(key, v) {
|
|
307
|
+
if (isEmptyArray(v)) return true;
|
|
308
|
+
if (v === null || typeof v !== "object" || Array.isArray(v)) return false;
|
|
309
|
+
const members = DEFAULT_TABLE_BLOCK_MEMBERS[key];
|
|
310
|
+
return Object.entries(v).every(
|
|
311
|
+
([member, value]) => Object.hasOwn(members, member) && members[member](value)
|
|
312
|
+
);
|
|
313
|
+
}
|
|
295
314
|
function isRawSqlContext(container) {
|
|
296
315
|
return container !== null && typeof container === "object" && typeof container.code === "string";
|
|
297
316
|
}
|
|
@@ -448,6 +467,11 @@ function isDefaultEnvelopeMember(key, v) {
|
|
|
448
467
|
// {@link isDefaultMesh0Block}.
|
|
449
468
|
case "mesh0":
|
|
450
469
|
return isDefaultMesh0Block(v);
|
|
470
|
+
// A table that is not audited and is not an audit log. See
|
|
471
|
+
// {@link isDefaultTableBlock}.
|
|
472
|
+
case "audit":
|
|
473
|
+
case "audit_log":
|
|
474
|
+
return isDefaultTableBlock(key, v);
|
|
451
475
|
// Two unrelated `offset`s, both at a default. An addon's is the response path
|
|
452
476
|
// its rows are spliced into, `""` when spliced at the root. A list context's
|
|
453
477
|
// paging offset is declared to default to 0. Neither carries information at
|
|
@@ -1074,4 +1098,4 @@ export {
|
|
|
1074
1098
|
filledContext,
|
|
1075
1099
|
normalize
|
|
1076
1100
|
};
|
|
1077
|
-
//# sourceMappingURL=chunk-
|
|
1101
|
+
//# sourceMappingURL=chunk-XDIPEWLU.js.map
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readDeployed
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5Z4WQQHC.js";
|
|
4
4
|
import {
|
|
5
5
|
LookupFailedError,
|
|
6
6
|
SourceError,
|
|
7
7
|
resolveSource
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VJCUFHTQ.js";
|
|
9
9
|
import {
|
|
10
10
|
isProjectDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OZVZ3KCH.js";
|
|
12
12
|
import {
|
|
13
13
|
NotSignedInError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-64F6ET45.js";
|
|
15
15
|
import {
|
|
16
16
|
otherCredentialRefusal
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PAWLPNBA.js";
|
|
18
|
+
import {
|
|
19
|
+
getEnvironment,
|
|
20
|
+
readEphemeralState,
|
|
21
|
+
unreadableEphemeralState
|
|
22
|
+
} from "./chunk-DAXFWXSV.js";
|
|
18
23
|
import {
|
|
19
24
|
getEngineRecord
|
|
20
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MKRREVNB.js";
|
|
21
26
|
import {
|
|
22
27
|
commandPath,
|
|
23
28
|
parseSlot,
|
|
24
29
|
refusedKind,
|
|
25
30
|
slotValueMissing
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import {
|
|
28
|
-
getEnvironment,
|
|
29
|
-
readEphemeralState,
|
|
30
|
-
unreadableEphemeralState
|
|
31
|
-
} from "./chunk-WGKKDGSA.js";
|
|
31
|
+
} from "./chunk-CGLYG2VF.js";
|
|
32
32
|
import {
|
|
33
33
|
ENV_CREDENTIAL_VARS,
|
|
34
34
|
ORIGIN_READ_ONLY_BY_REFRESH,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
credentialFileFlagFor,
|
|
37
37
|
recordedByEnvCredential,
|
|
38
38
|
typedCredentialFlags
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4DVP42ZC.js";
|
|
40
40
|
import {
|
|
41
41
|
globalAuthFilePath,
|
|
42
42
|
localAuthFilePath,
|
|
@@ -44,16 +44,16 @@ import {
|
|
|
44
44
|
profileAddCommand,
|
|
45
45
|
readCredentialFile,
|
|
46
46
|
recordedCredentialPath
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-OQMXCNN7.js";
|
|
48
48
|
import {
|
|
49
49
|
backendDirIn
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-N2JZU6VR.js";
|
|
51
51
|
import {
|
|
52
52
|
UsageError,
|
|
53
53
|
displayPath,
|
|
54
54
|
pastePath,
|
|
55
55
|
sourceSpellings
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-6534P3VH.js";
|
|
57
57
|
import {
|
|
58
58
|
shellQuote
|
|
59
59
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -86,7 +86,7 @@ async function selectBackend(slot, raw, ctx) {
|
|
|
86
86
|
}
|
|
87
87
|
const decided = decide({ cwd, pointer, state, scope, engineRecorded: getEngineRecord(cwd, env) !== void 0 }, slot);
|
|
88
88
|
if ("refusal" in decided) {
|
|
89
|
-
const { reachableFirst } = await import("./env-target-
|
|
89
|
+
const { reachableFirst } = await import("./env-target-CXZXMK3W.js");
|
|
90
90
|
throw await reachableFirst(decided.refusal, scope);
|
|
91
91
|
}
|
|
92
92
|
refuseUnservable(slot, decided.kind);
|
|
@@ -107,9 +107,10 @@ function lookupRetry(err, slot) {
|
|
|
107
107
|
if (!(err instanceof LookupFailedError)) return err;
|
|
108
108
|
return err.withRerun(`xanosdk ${commandPath(slot.command, slot.subcommand)} \u2026`, " as you ran it");
|
|
109
109
|
}
|
|
110
|
+
var LOCAL_DEPLOY_CREDENTIAL = "and a deploy to the Xano Engine takes none from the command line \u2014 the engine is reached with its own bearer, and its Xano AI credential comes from the profile this project pins, XANO_PROFILE, or the default profile.";
|
|
110
111
|
function refuseProfileForLocal(profile, kinds, slot, flags = typedCredentialFlags()) {
|
|
111
112
|
if (kinds.some((k) => k !== "local")) return;
|
|
112
|
-
const why = "and a Xano Engine takes none \u2014 it is reached with the engine's own bearer.";
|
|
113
|
+
const why = slot === void 0 ? LOCAL_DEPLOY_CREDENTIAL : "and a Xano Engine takes none \u2014 it is reached with the engine's own bearer.";
|
|
113
114
|
const or = slot === void 0 ? "or add `--ephemeral` to deploy to a hosted backend." : `or ${nameOne(slot, "a hosted backend", true)}.`;
|
|
114
115
|
if (profile !== void 0) {
|
|
115
116
|
throw new UsageError(`\`--profile ${profile}\` selects a Xano credential, ${why} Drop \`--profile\`, ${or}`, hintOpts(slot));
|
|
@@ -363,9 +364,10 @@ export {
|
|
|
363
364
|
memoCredential,
|
|
364
365
|
selectBackend,
|
|
365
366
|
resolveBackend,
|
|
367
|
+
LOCAL_DEPLOY_CREDENTIAL,
|
|
366
368
|
refuseProfileForLocal,
|
|
367
369
|
readTrackedBackend,
|
|
368
370
|
NothingTrackedError,
|
|
369
371
|
nestedBackendEntries
|
|
370
372
|
};
|
|
371
|
-
//# sourceMappingURL=chunk-
|
|
373
|
+
//# sourceMappingURL=chunk-XWEDFVJ6.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
rowLabeler,
|
|
7
7
|
sectionKind,
|
|
8
8
|
sectionOmission
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P3WIMLG2.js";
|
|
10
10
|
import {
|
|
11
11
|
canonicalJson
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4ZV4MDKP.js";
|
|
13
13
|
import {
|
|
14
14
|
md5Hex
|
|
15
15
|
} from "./chunk-OHX6MIUZ.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
syncDirection,
|
|
111
111
|
directedComparison
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-YAZEB255.js.map
|