@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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_WORKSPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TEZKQQDT.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialFileOf
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4DVP42ZC.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialFileFlag,
|
|
9
9
|
globalAuthFilePath,
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
readProfile,
|
|
13
13
|
recordedCredentialPath,
|
|
14
14
|
sameOriginAs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OQMXCNN7.js";
|
|
16
16
|
import {
|
|
17
17
|
readEnvVar
|
|
18
18
|
} from "./chunk-X2NL4KUO.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError,
|
|
21
21
|
UsageError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6534P3VH.js";
|
|
23
23
|
import {
|
|
24
24
|
shellQuote
|
|
25
25
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -65,7 +65,7 @@ async function readReachableWorkspaces(auth, timeoutMs = 3e4) {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
async function whereaboutsOf(auth, name, kinds) {
|
|
68
|
-
const { listAllEphemeral } = await import("./ephemeral-
|
|
68
|
+
const { listAllEphemeral } = await import("./ephemeral-MNHEWSZ6.js");
|
|
69
69
|
const failures = [];
|
|
70
70
|
const reason = (err) => (err instanceof Error ? err.message : String(err)).split("\n")[0].replace(/[.:]$/, "");
|
|
71
71
|
const [all, ephemerals] = await Promise.all([
|
|
@@ -78,7 +78,7 @@ async function whereaboutsOf(auth, name, kinds) {
|
|
|
78
78
|
const listed = ephemerals?.some((r) => r.name === name) === true;
|
|
79
79
|
if (kinds === "ephemeral" && ephemerals !== void 0 && !listed) return { at: "nowhere" };
|
|
80
80
|
if (all === void 0) failures.push("the workspace list could not be read");
|
|
81
|
-
const { getTenant } = await import("./tenant-
|
|
81
|
+
const { getTenant } = await import("./tenant-SSWC7B3V.js");
|
|
82
82
|
const others = (all ?? []).filter((w) => w.id !== auth.workspaceId);
|
|
83
83
|
const found = await Promise.all(
|
|
84
84
|
others.map(
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
rerunInWorkspace,
|
|
163
163
|
heldElsewhereError
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-3H765RXT.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
HEADER_NAME,
|
|
4
4
|
generated,
|
|
5
5
|
literalText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CJ5WRCVE.js";
|
|
7
7
|
import {
|
|
8
8
|
fl
|
|
9
9
|
} from "./chunk-RLQX6LHW.js";
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
TEST_EXPECT_TYPES,
|
|
243
243
|
expect
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-3HK7VELD.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertOneName,
|
|
3
3
|
noteRunArgs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZCXWOGFL.js";
|
|
5
5
|
import {
|
|
6
6
|
WORKSPACE_ENV_FILE,
|
|
7
7
|
classifyEnv,
|
|
@@ -10,13 +10,26 @@ import {
|
|
|
10
10
|
namesInEnvExample,
|
|
11
11
|
readEnvFile,
|
|
12
12
|
readWorkspaceEnvFileContents
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UN73LNM5.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KMXXOJL2.js";
|
|
17
17
|
import {
|
|
18
18
|
isExpired
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-745NOWB7.js";
|
|
20
|
+
import {
|
|
21
|
+
allLandings,
|
|
22
|
+
getEnvironment,
|
|
23
|
+
readEphemeralState
|
|
24
|
+
} from "./chunk-DAXFWXSV.js";
|
|
25
|
+
import {
|
|
26
|
+
buildSeedContentFiles,
|
|
27
|
+
collectNonPublicSeedValues,
|
|
28
|
+
hostedFileArchivePath,
|
|
29
|
+
hostedFileResolver,
|
|
30
|
+
isMissingFile,
|
|
31
|
+
registerSeedHostedFiles
|
|
32
|
+
} from "./chunk-LMX4VE4H.js";
|
|
20
33
|
import {
|
|
21
34
|
readLockFile,
|
|
22
35
|
readLockFileReport,
|
|
@@ -24,31 +37,33 @@ import {
|
|
|
24
37
|
} from "./chunk-7ZVQIKNL.js";
|
|
25
38
|
import {
|
|
26
39
|
isCI
|
|
27
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-52VELHIH.js";
|
|
28
41
|
import {
|
|
29
42
|
backendSlotForFlag,
|
|
30
43
|
slotValueMissing
|
|
31
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CGLYG2VF.js";
|
|
32
45
|
import {
|
|
33
46
|
defaultWorkspaceSecretsPath,
|
|
34
47
|
readSecretsFile
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import {
|
|
37
|
-
allLandings,
|
|
38
|
-
getEnvironment,
|
|
39
|
-
readEphemeralState
|
|
40
|
-
} from "./chunk-WGKKDGSA.js";
|
|
48
|
+
} from "./chunk-E7YXNU57.js";
|
|
41
49
|
import {
|
|
42
50
|
isUnwritableError,
|
|
43
51
|
unwritableError
|
|
44
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-TDSRZDQP.js";
|
|
45
53
|
import {
|
|
46
54
|
contextFlags,
|
|
47
55
|
setHintContext
|
|
48
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-4DVP42ZC.js";
|
|
49
57
|
import {
|
|
50
58
|
expandHome
|
|
51
59
|
} from "./chunk-EUUUMY7J.js";
|
|
60
|
+
import {
|
|
61
|
+
writeData
|
|
62
|
+
} from "./chunk-4GPIOIAC.js";
|
|
63
|
+
import {
|
|
64
|
+
holdsProjectManifest,
|
|
65
|
+
projectRootFrom
|
|
66
|
+
} from "./chunk-HU7F56VF.js";
|
|
52
67
|
import {
|
|
53
68
|
shellWord
|
|
54
69
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -56,28 +71,13 @@ import {
|
|
|
56
71
|
inCredentialScope,
|
|
57
72
|
lastResolvedAuth,
|
|
58
73
|
pinnedWorkspaceMissed
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import {
|
|
61
|
-
buildSeedContentFiles,
|
|
62
|
-
collectNonPublicSeedValues,
|
|
63
|
-
hostedFileArchivePath,
|
|
64
|
-
hostedFileResolver,
|
|
65
|
-
isMissingFile,
|
|
66
|
-
registerSeedHostedFiles
|
|
67
|
-
} from "./chunk-WGGATSIP.js";
|
|
68
|
-
import {
|
|
69
|
-
holdsProjectManifest,
|
|
70
|
-
projectRootFrom
|
|
71
|
-
} from "./chunk-HU7F56VF.js";
|
|
74
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
72
75
|
import {
|
|
73
76
|
assertValidProfileName
|
|
74
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-Q4R2ABFL.js";
|
|
75
78
|
import {
|
|
76
79
|
readEnvVar
|
|
77
80
|
} from "./chunk-X2NL4KUO.js";
|
|
78
|
-
import {
|
|
79
|
-
writeData
|
|
80
|
-
} from "./chunk-4GPIOIAC.js";
|
|
81
81
|
import {
|
|
82
82
|
bundleCapabilities,
|
|
83
83
|
capabilityReport
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
warn,
|
|
137
137
|
withCliPrefix,
|
|
138
138
|
writeJson
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-6534P3VH.js";
|
|
140
140
|
import {
|
|
141
141
|
KNOWLEDGE_DIR,
|
|
142
142
|
KNOWLEDGE_FILE,
|
|
@@ -144,13 +144,13 @@ import {
|
|
|
144
144
|
isOsMetadataFile,
|
|
145
145
|
registerAllKinds,
|
|
146
146
|
serializeBundle
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-MGC5S6OE.js";
|
|
148
148
|
import {
|
|
149
149
|
Xano,
|
|
150
150
|
checkDrillMaybeNull,
|
|
151
151
|
checkFilterOperands,
|
|
152
152
|
standaloneDefKind
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-EME5G4YP.js";
|
|
154
154
|
import {
|
|
155
155
|
knowledgeBodiesAllEmpty
|
|
156
156
|
} from "./chunk-QDPY7RN3.js";
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
checkUncheckedWorkflowTestCalls,
|
|
188
188
|
checkZipPasswordKeys,
|
|
189
189
|
isQueryExpressionFilter
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-CJ5WRCVE.js";
|
|
191
191
|
import {
|
|
192
192
|
FILTER_NAMES
|
|
193
193
|
} from "./chunk-RLQX6LHW.js";
|
|
@@ -1363,6 +1363,7 @@ function parsePort(raw) {
|
|
|
1363
1363
|
return n;
|
|
1364
1364
|
}
|
|
1365
1365
|
var NOUN_COMMANDS = /* @__PURE__ */ new Set([
|
|
1366
|
+
"ai",
|
|
1366
1367
|
"profile",
|
|
1367
1368
|
"env",
|
|
1368
1369
|
"secrets",
|
|
@@ -1483,6 +1484,7 @@ function parseArgs(argv) {
|
|
|
1483
1484
|
let keepData = false;
|
|
1484
1485
|
let on;
|
|
1485
1486
|
let kind;
|
|
1487
|
+
let aiBilling;
|
|
1486
1488
|
let concurrency;
|
|
1487
1489
|
let test = false;
|
|
1488
1490
|
let expiresHours;
|
|
@@ -1658,6 +1660,10 @@ function parseArgs(argv) {
|
|
|
1658
1660
|
kind = parseKind(valueAfter());
|
|
1659
1661
|
} else if (arg.startsWith("--kind=")) {
|
|
1660
1662
|
kind = parseKind(arg.slice("--kind=".length));
|
|
1663
|
+
} else if (arg === "--ai-billing") {
|
|
1664
|
+
aiBilling = parseAiBilling(valueAfter());
|
|
1665
|
+
} else if (arg.startsWith("--ai-billing=")) {
|
|
1666
|
+
aiBilling = parseAiBilling(arg.slice("--ai-billing=".length));
|
|
1661
1667
|
} else if (arg === "--concurrency") {
|
|
1662
1668
|
concurrency = parseConcurrency(numberAfter());
|
|
1663
1669
|
} else if (arg.startsWith("--concurrency=")) {
|
|
@@ -2073,6 +2079,13 @@ function parseArgs(argv) {
|
|
|
2073
2079
|
});
|
|
2074
2080
|
};
|
|
2075
2081
|
if (aiSeen) refuseUnlessDeclared("ai", "--ai", "it only chooses whether `init` writes AGENTS.md.");
|
|
2082
|
+
if (aiBilling !== void 0) {
|
|
2083
|
+
refuseUnlessDeclared(
|
|
2084
|
+
"ai-billing",
|
|
2085
|
+
"--ai-billing",
|
|
2086
|
+
"it chooses who a Xano Engine's Xano AI usage is billed to, so only `deploy` and `local update`, which start one, take it."
|
|
2087
|
+
);
|
|
2088
|
+
}
|
|
2076
2089
|
if (profileSeen && profile !== void 0) {
|
|
2077
2090
|
if (command !== void 0 && !isAuthenticatedCommand(command, subcommand)) {
|
|
2078
2091
|
const path2 = subcommand === void 0 ? command : `${command} ${subcommand}`;
|
|
@@ -2344,6 +2357,7 @@ function parseArgs(argv) {
|
|
|
2344
2357
|
keepData,
|
|
2345
2358
|
on,
|
|
2346
2359
|
kind,
|
|
2360
|
+
...aiBilling === void 0 ? {} : { aiBilling },
|
|
2347
2361
|
concurrency,
|
|
2348
2362
|
test,
|
|
2349
2363
|
expiresHours,
|
|
@@ -2472,6 +2486,12 @@ function parseFormat(raw) {
|
|
|
2472
2486
|
if (raw === "json" || raw === "multidoc") return raw;
|
|
2473
2487
|
throw new UsageError(`--format must be "json" or "multidoc" (got "${raw ?? ""}").`);
|
|
2474
2488
|
}
|
|
2489
|
+
function parseAiBilling(raw) {
|
|
2490
|
+
if (raw === "user" || raw === "instance") return raw;
|
|
2491
|
+
throw new UsageError(
|
|
2492
|
+
`--ai-billing must be "user" (bill yourself, the default) or "instance" (bill the owner of the instance you signed in to) (got "${raw ?? ""}").`
|
|
2493
|
+
);
|
|
2494
|
+
}
|
|
2475
2495
|
function parseKind(raw) {
|
|
2476
2496
|
if (raw === "unit" || raw === "workflow") return raw;
|
|
2477
2497
|
throw new UsageError(`--kind must be "unit" or "workflow" (got "${raw ?? ""}").`);
|
|
@@ -2590,7 +2610,7 @@ async function tsxRemedy(file) {
|
|
|
2590
2610
|
);
|
|
2591
2611
|
if (!declared) return fallback;
|
|
2592
2612
|
const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
|
|
2593
|
-
const { inProject } = await import("./init-modules-
|
|
2613
|
+
const { inProject } = await import("./init-modules-S7BR4NIJ.js");
|
|
2594
2614
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2595
2615
|
}
|
|
2596
2616
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -3211,7 +3231,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3211
3231
|
let verdict = unreachableVerdicts.get(auth);
|
|
3212
3232
|
if (verdict === void 0) {
|
|
3213
3233
|
verdict = (async () => {
|
|
3214
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3234
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-AUZIERMF.js");
|
|
3215
3235
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3216
3236
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3217
3237
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3225,7 +3245,7 @@ async function explainRejectedCredential(err) {
|
|
|
3225
3245
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3226
3246
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3227
3247
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3228
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3248
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-UV6EEDBY.js");
|
|
3229
3249
|
const { auth, args } = resolved;
|
|
3230
3250
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3231
3251
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3263,10 +3283,10 @@ function withoutSecretValue(args) {
|
|
|
3263
3283
|
}
|
|
3264
3284
|
async function nameLookupRerun(failure) {
|
|
3265
3285
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3266
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3286
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-MAMVIHDF.js");
|
|
3267
3287
|
const err = rateLimitedFailure(failure);
|
|
3268
3288
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3269
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3289
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-WOHYD22D.js");
|
|
3270
3290
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3271
3291
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3272
3292
|
return err.withRerun(
|
|
@@ -3321,7 +3341,7 @@ function isPathlessRun(args) {
|
|
|
3321
3341
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3322
3342
|
}
|
|
3323
3343
|
async function atProjectRoot(args, command, positional) {
|
|
3324
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3344
|
+
const { enterProjectRoot } = await import("./xanosdk-project-K4RKLLNO.js");
|
|
3325
3345
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3326
3346
|
if (entered === void 0) return command(args);
|
|
3327
3347
|
if (isPathlessRun(args)) {
|
|
@@ -3422,7 +3442,7 @@ async function dispatch(rawArgv) {
|
|
|
3422
3442
|
if (typed[0] === "init") {
|
|
3423
3443
|
const web = typed.indexOf("--web", 1);
|
|
3424
3444
|
if (web !== -1) {
|
|
3425
|
-
const { runInitWebCommand } = await import("./init-web-
|
|
3445
|
+
const { runInitWebCommand } = await import("./init-web-YCPD6BYN.js");
|
|
3426
3446
|
return runInitWebCommand([...typed.slice(1, web), ...typed.slice(web + 1)]);
|
|
3427
3447
|
}
|
|
3428
3448
|
}
|
|
@@ -3440,7 +3460,7 @@ async function dispatch(rawArgv) {
|
|
|
3440
3460
|
throw unknownSubcommand(helpRequest.command, helpRequest.unknownSubcommand, helpRequest.positionals ?? []);
|
|
3441
3461
|
}
|
|
3442
3462
|
if (argv.includes("--json")) {
|
|
3443
|
-
const { helpDocument } = await import("./commands-
|
|
3463
|
+
const { helpDocument } = await import("./commands-EN4RLPOP.js");
|
|
3444
3464
|
writeJson({ version: readVersion(), ...helpDocument(helpRequest) });
|
|
3445
3465
|
return;
|
|
3446
3466
|
}
|
|
@@ -3461,7 +3481,7 @@ async function dispatch(rawArgv) {
|
|
|
3461
3481
|
setHintContext(args);
|
|
3462
3482
|
runArgs = args;
|
|
3463
3483
|
noteRunArgs(args);
|
|
3464
|
-
if (isMachineOutput(args)) (await import("./update-check-
|
|
3484
|
+
if (isMachineOutput(args)) (await import("./update-check-DZ4YVDNS.js")).routeUpdateNoticeToDocument();
|
|
3465
3485
|
const { command } = args;
|
|
3466
3486
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3467
3487
|
if (command === void 0) {
|
|
@@ -3482,11 +3502,11 @@ async function dispatch(rawArgv) {
|
|
|
3482
3502
|
return;
|
|
3483
3503
|
}
|
|
3484
3504
|
if (command === "init") {
|
|
3485
|
-
const { runInitCommand } = await import("./init-command-
|
|
3505
|
+
const { runInitCommand } = await import("./init-command-POIWZKZ4.js");
|
|
3486
3506
|
return runInitCommand(args);
|
|
3487
3507
|
}
|
|
3488
3508
|
if (command === "completion") {
|
|
3489
|
-
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-
|
|
3509
|
+
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-KH45QD3E.js");
|
|
3490
3510
|
const shell = args.positionals[0];
|
|
3491
3511
|
if (shell === void 0) throw missingArgument("shell", { command: "completion" });
|
|
3492
3512
|
if (!isCompletionShell(shell)) {
|
|
@@ -3505,115 +3525,119 @@ async function dispatch(rawArgv) {
|
|
|
3505
3525
|
return runCompletionCommand(shell);
|
|
3506
3526
|
}
|
|
3507
3527
|
if (command === "agent-skill") {
|
|
3508
|
-
const { runAgentSkillCommand } = await import("./agent-skill-command-
|
|
3528
|
+
const { runAgentSkillCommand } = await import("./agent-skill-command-A4QEVNTP.js");
|
|
3509
3529
|
return runAgentSkillCommand(args);
|
|
3510
3530
|
}
|
|
3511
3531
|
if (command === "upgrade") {
|
|
3512
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3532
|
+
const { runUpgradeCommand } = await import("./upgrade-command-EP5WQWFA.js");
|
|
3513
3533
|
return runUpgradeCommand(args);
|
|
3514
3534
|
}
|
|
3515
3535
|
if (command === "lock") {
|
|
3516
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3536
|
+
const { runLockCommand } = await import("./lock-commands-KMWLIGT2.js");
|
|
3517
3537
|
const verb = args.positionals[0];
|
|
3518
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3538
|
+
const { isProjectDir } = await import("./xanosdk-project-K4RKLLNO.js");
|
|
3519
3539
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync3("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3520
3540
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3521
3541
|
}
|
|
3522
3542
|
if (command === "login") {
|
|
3523
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3543
|
+
const { runLoginCommand } = await import("./login-command-E2KMN6DV.js");
|
|
3524
3544
|
return runLoginCommand(args);
|
|
3525
3545
|
}
|
|
3526
3546
|
if (command === "logout") {
|
|
3527
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3547
|
+
const { runLogoutCommand } = await import("./logout-command-AIB446AQ.js");
|
|
3528
3548
|
return runLogoutCommand(args);
|
|
3529
3549
|
}
|
|
3530
3550
|
if (command === "deploy") {
|
|
3531
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3551
|
+
const { runDeployCommand } = await import("./deploy-command-WOHYD22D.js");
|
|
3532
3552
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3533
3553
|
}
|
|
3534
3554
|
if (command === "ephemeral") {
|
|
3535
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3555
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-EJLS42VJ.js");
|
|
3536
3556
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3537
3557
|
}
|
|
3538
3558
|
if (command === "local") {
|
|
3539
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3559
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-N7VDPABW.js");
|
|
3540
3560
|
const readsProject = ["token", "stop", "update", "mcp"].includes(args.subcommand ?? "");
|
|
3541
3561
|
return readsProject ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3542
3562
|
}
|
|
3543
3563
|
if (command === "env") {
|
|
3544
3564
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3545
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3565
|
+
const { runEnvVarCommand } = await import("./env-var-command-WEC22FI5.js");
|
|
3546
3566
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3547
3567
|
}
|
|
3548
3568
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3549
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3569
|
+
const { runEnvPullCommand } = await import("./env-pull-command-J2ARE33T.js");
|
|
3550
3570
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3551
3571
|
}
|
|
3552
3572
|
if (command === "secrets") {
|
|
3553
3573
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3554
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3574
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-U5L7IKUO.js");
|
|
3555
3575
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3556
3576
|
}
|
|
3557
3577
|
if (command === "release") {
|
|
3558
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3578
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-IVXK7HEG.js");
|
|
3559
3579
|
return atProjectRoot(args, runReleaseNs);
|
|
3560
3580
|
}
|
|
3561
3581
|
if (command === "pull") {
|
|
3562
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3582
|
+
const { runPullCommand } = await import("./pull-command-UVNPFY2E.js");
|
|
3563
3583
|
const first = args.positionals[0];
|
|
3564
3584
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3565
3585
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3566
3586
|
}
|
|
3567
3587
|
if (command === "generate") {
|
|
3568
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3588
|
+
const { runGenerateCommand } = await import("./generate-command-2WHFL4CB.js");
|
|
3569
3589
|
return runGenerateCommand(args);
|
|
3570
3590
|
}
|
|
3571
3591
|
if (command === "tables") {
|
|
3572
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3592
|
+
const { runTablesCommand } = await import("./tables-command-FNBHVJG3.js");
|
|
3573
3593
|
return atProjectRoot(args, runTablesCommand);
|
|
3574
3594
|
}
|
|
3575
3595
|
if (command === "impersonate") {
|
|
3576
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3596
|
+
const { runImpersonateCommand } = await import("./impersonate-command-EIWI3FBD.js");
|
|
3577
3597
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3578
3598
|
}
|
|
3579
3599
|
if (command === "promote") {
|
|
3580
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3600
|
+
const { runPromoteCommand } = await import("./promote-command-2NMTINVS.js");
|
|
3581
3601
|
return atProjectRoot(args, runPromoteCommand);
|
|
3582
3602
|
}
|
|
3583
3603
|
if (command === "publish") {
|
|
3584
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3604
|
+
const { runPublishCommand } = await import("./publish-command-LB2XULJA.js");
|
|
3585
3605
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3586
3606
|
}
|
|
3587
3607
|
if (command === "tenant") {
|
|
3588
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3608
|
+
const { runTenantCommand } = await import("./tenant-command-PHNX3PXS.js");
|
|
3589
3609
|
return atProjectRoot(args, runTenantCommand);
|
|
3590
3610
|
}
|
|
3591
3611
|
if (command === "test") {
|
|
3592
|
-
const { runTestCommand } = await import("./test-command-
|
|
3612
|
+
const { runTestCommand } = await import("./test-command-DMMF3RMK.js");
|
|
3593
3613
|
return atProjectRoot(args, runTestCommand);
|
|
3594
3614
|
}
|
|
3595
3615
|
if (command === "workspace") {
|
|
3596
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3616
|
+
const { runWorkspaceCommand } = await import("./workspace-command-VXOY6KPE.js");
|
|
3597
3617
|
return runWorkspaceCommand(args);
|
|
3598
3618
|
}
|
|
3599
3619
|
if (command === "status") {
|
|
3600
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3620
|
+
const { runStatusCommand } = await import("./status-command-VXIN37ET.js");
|
|
3601
3621
|
return runStatusCommand(args);
|
|
3602
3622
|
}
|
|
3603
3623
|
if (command === "whoami") {
|
|
3604
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3624
|
+
const { runWhoamiCommand } = await import("./whoami-command-UV6EEDBY.js");
|
|
3605
3625
|
return runWhoamiCommand(args);
|
|
3606
3626
|
}
|
|
3607
3627
|
if (command === "profile") {
|
|
3608
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3628
|
+
const { runProfileCommand } = await import("./profile-command-NOKUVV3M.js");
|
|
3609
3629
|
return runProfileCommand(args);
|
|
3610
3630
|
}
|
|
3631
|
+
if (command === "ai") {
|
|
3632
|
+
const { runAiCommand } = await import("./ai-models-command-SN2UKVC5.js");
|
|
3633
|
+
return runAiCommand(args);
|
|
3634
|
+
}
|
|
3611
3635
|
if (command === "marketplace") {
|
|
3612
3636
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3613
3637
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3614
3638
|
}
|
|
3615
|
-
const marketplace = await import("./marketplace-command-
|
|
3616
|
-
const { withCatalogueRerun } = await import("./marketplace-resolve-
|
|
3639
|
+
const marketplace = await import("./marketplace-command-YLBFUBHL.js");
|
|
3640
|
+
const { withCatalogueRerun } = await import("./marketplace-resolve-LT76KHJD.js");
|
|
3617
3641
|
try {
|
|
3618
3642
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
3619
3643
|
if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
|
|
@@ -3626,7 +3650,7 @@ async function dispatch(rawArgv) {
|
|
|
3626
3650
|
}
|
|
3627
3651
|
}
|
|
3628
3652
|
if (command === "preflight") {
|
|
3629
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3653
|
+
const { runPreflightCommand } = await import("./preflight-command-O52GLYGA.js");
|
|
3630
3654
|
return runPreflightCommand(args);
|
|
3631
3655
|
}
|
|
3632
3656
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3641,12 +3665,12 @@ async function dispatch(rawArgv) {
|
|
|
3641
3665
|
if (command === "paths" || command === "routes") {
|
|
3642
3666
|
return runPaths(args);
|
|
3643
3667
|
}
|
|
3644
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3668
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-V56JXU2E.js");
|
|
3645
3669
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3646
3670
|
frozen: args.frozenLock === true || args.check === true
|
|
3647
3671
|
});
|
|
3648
3672
|
if (out && !args.check) {
|
|
3649
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3673
|
+
const { assertWritableTarget } = await import("./output-target-NHJLT4YI.js");
|
|
3650
3674
|
assertWritableTarget(out, "--out");
|
|
3651
3675
|
}
|
|
3652
3676
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3664,7 +3688,7 @@ async function dispatch(rawArgv) {
|
|
|
3664
3688
|
"export.hosted-files-omitted"
|
|
3665
3689
|
);
|
|
3666
3690
|
}
|
|
3667
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
3691
|
+
const { runBundleHooks } = await import("./toolchain-hooks-IRPM6LYL.js");
|
|
3668
3692
|
await runBundleHooks(
|
|
3669
3693
|
toolchain.loaded,
|
|
3670
3694
|
{
|
|
@@ -3677,15 +3701,15 @@ async function dispatch(rawArgv) {
|
|
|
3677
3701
|
},
|
|
3678
3702
|
""
|
|
3679
3703
|
);
|
|
3680
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3681
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3704
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-F5RTDVJ5.js");
|
|
3705
|
+
const { backendDirFor } = await import("./backend-dir-66VVLCUF.js");
|
|
3682
3706
|
const declaredSet = new Set(declaredEnvNames);
|
|
3683
3707
|
const templateDir = backendDirFor(args.file);
|
|
3684
3708
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync3(join3(templateDir, "index.ts")));
|
|
3685
3709
|
const templateEnv = Object.fromEntries(
|
|
3686
3710
|
Object.entries(bundleEnvNames2(bundleObject)).filter(([name]) => declaredSet.has(name))
|
|
3687
3711
|
);
|
|
3688
|
-
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3712
|
+
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-FYNY7RTO.js");
|
|
3689
3713
|
const projectSdk = skewedProjectSdk(dirname2(resolve2(args.file)), readVersion());
|
|
3690
3714
|
const regenerate = projectSdk === void 0 ? `xanosdk export ${shellWord(pastePath(args.file))} --out ${NULL_DEVICE}` : installedCliCommand(projectSdk.root, (path) => `export ${path(args.file)} --out ${NULL_DEVICE}`);
|
|
3691
3715
|
if (args.check) {
|
|
@@ -3736,15 +3760,15 @@ async function dispatch(rawArgv) {
|
|
|
3736
3760
|
info(`${hadEnvExample ? "Updated" : "Wrote"} ${displayPath(refreshed)} to list the env names this source declares.`);
|
|
3737
3761
|
}
|
|
3738
3762
|
if (out) {
|
|
3739
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3740
|
-
const { writeExportFile } = await import("./output-target-
|
|
3763
|
+
const { secretsCarriedBy } = await import("./live-diff-GZ6JUNP6.js");
|
|
3764
|
+
const { writeExportFile } = await import("./output-target-NHJLT4YI.js");
|
|
3741
3765
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3742
3766
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3743
3767
|
reportWrote(args, out, lockOutcome);
|
|
3744
3768
|
} else {
|
|
3745
3769
|
process.stdout.write(json + "\n");
|
|
3746
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3747
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3770
|
+
const { secretsCarriedBy } = await import("./live-diff-GZ6JUNP6.js");
|
|
3771
|
+
const { secretsPhrase } = await import("./output-target-NHJLT4YI.js");
|
|
3748
3772
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3749
3773
|
if (secrets.length > 0) {
|
|
3750
3774
|
warn(
|
|
@@ -3763,11 +3787,11 @@ async function refreshAgentGuidance(args) {
|
|
|
3763
3787
|
if (args.noRefresh) return;
|
|
3764
3788
|
if (args.check || args.frozenLock || args.dryRun) return;
|
|
3765
3789
|
try {
|
|
3766
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3790
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-FYNY7RTO.js");
|
|
3767
3791
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3768
3792
|
const projectDir = existsSync3(join3(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3769
3793
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3770
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3794
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-MOEDX5OL.js");
|
|
3771
3795
|
if (projectSdk !== void 0) {
|
|
3772
3796
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3773
3797
|
const file = args.file;
|
|
@@ -4001,7 +4025,7 @@ async function runPaths(args) {
|
|
|
4001
4025
|
const lockPath = resolveLockPath(args, file);
|
|
4002
4026
|
resetLockOverrides();
|
|
4003
4027
|
const lockModel = existsSync3(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4004
|
-
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-
|
|
4028
|
+
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-V56JXU2E.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
|
|
4005
4029
|
frozen: args.strict === true,
|
|
4006
4030
|
// A module outside its SDK peer range keeps its block and is named,
|
|
4007
4031
|
// as any other skip is; it does not abort every `dev` and `build`.
|
|
@@ -4065,7 +4089,7 @@ async function runPaths(args) {
|
|
|
4065
4089
|
if (machine && args.emit !== "-") writeJson(emitDoc(false));
|
|
4066
4090
|
return;
|
|
4067
4091
|
}
|
|
4068
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4092
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-3MDX3JB3.js");
|
|
4069
4093
|
const loaded = toolchain?.loaded ?? [];
|
|
4070
4094
|
const skipped = toolchain?.skipped ?? [];
|
|
4071
4095
|
const rendered = renderManifestFile(
|
|
@@ -4087,7 +4111,7 @@ async function runPaths(args) {
|
|
|
4087
4111
|
writeData(process.stdout, source);
|
|
4088
4112
|
return;
|
|
4089
4113
|
}
|
|
4090
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
4114
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-FYNY7RTO.js");
|
|
4091
4115
|
const emitDir = dirname2(resolve2(args.emit));
|
|
4092
4116
|
const projectSdk = skewedProjectSdk(installedSdk(emitDir) !== void 0 ? emitDir : dirname2(resolve2(file)), readVersion());
|
|
4093
4117
|
if (projectSdk !== void 0 && existsSync3(args.emit) && readFileSync3(args.emit, "utf8") !== source) {
|
|
@@ -4150,7 +4174,7 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4150
4174
|
resetLockOverrides();
|
|
4151
4175
|
const lockPath = join3(dirname2(resolve2(entry)), "xano.lock");
|
|
4152
4176
|
const lockModel = existsSync3(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4153
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
4177
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-V56JXU2E.js");
|
|
4154
4178
|
const toolchain = existsSync3(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
|
|
4155
4179
|
const def = await loadDefault(entry);
|
|
4156
4180
|
if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
|
|
@@ -4162,12 +4186,12 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4162
4186
|
} finally {
|
|
4163
4187
|
setDiagnosticSink(previousSink);
|
|
4164
4188
|
}
|
|
4165
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4189
|
+
const { pulledIdentities } = await import("./pull-command-UVNPFY2E.js");
|
|
4166
4190
|
const live = pulledIdentities(payload);
|
|
4167
4191
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4168
4192
|
if (!existsSync3(emit2)) return { manifest: "absent", lockOrphans };
|
|
4169
4193
|
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-N73THJB3.js");
|
|
4170
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4194
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-3MDX3JB3.js");
|
|
4171
4195
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4172
4196
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4173
4197
|
const current = readFileSync3(emit2, "utf8");
|
|
@@ -4717,7 +4741,7 @@ async function refineGonePullHint(err) {
|
|
|
4717
4741
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4718
4742
|
let gone;
|
|
4719
4743
|
try {
|
|
4720
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4744
|
+
const { lookupEphemeral } = await import("./source-resolve-MAMVIHDF.js");
|
|
4721
4745
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4722
4746
|
} catch {
|
|
4723
4747
|
return;
|
|
@@ -4928,4 +4952,4 @@ export {
|
|
|
4928
4952
|
docTokenRefusalIfReplaced,
|
|
4929
4953
|
envRefusalIfReplaced
|
|
4930
4954
|
};
|
|
4931
|
-
//# sourceMappingURL=chunk-
|
|
4955
|
+
//# sourceMappingURL=chunk-3OR2RCXJ.js.map
|