@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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readEphemeralState
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DAXFWXSV.js";
|
|
4
4
|
import {
|
|
5
5
|
OpenIdProvider,
|
|
6
6
|
addProfileHint,
|
|
@@ -30,21 +30,25 @@ import {
|
|
|
30
30
|
withCredentialLock,
|
|
31
31
|
writeCredentialFile,
|
|
32
32
|
writeOrRemoveCredentialFile
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OQMXCNN7.js";
|
|
34
34
|
import {
|
|
35
35
|
expandHome,
|
|
36
36
|
readPathEnvVar
|
|
37
37
|
} from "./chunk-EUUUMY7J.js";
|
|
38
|
+
import {
|
|
39
|
+
POINTER_FILE,
|
|
40
|
+
findProjectPointer
|
|
41
|
+
} from "./chunk-5ABAIJVV.js";
|
|
42
|
+
import {
|
|
43
|
+
registerSecret,
|
|
44
|
+
tokenTextProblem
|
|
45
|
+
} from "./chunk-4GPIOIAC.js";
|
|
38
46
|
import {
|
|
39
47
|
RATE_LIMIT_MAX_WAIT_S,
|
|
40
48
|
noteResolvedAuth,
|
|
41
49
|
retryAfterSeconds,
|
|
42
50
|
serverMessage
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import {
|
|
45
|
-
POINTER_FILE,
|
|
46
|
-
findProjectPointer
|
|
47
|
-
} from "./chunk-IFHFJR5O.js";
|
|
51
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
48
52
|
import {
|
|
49
53
|
DEFAULT_PROFILE,
|
|
50
54
|
ENV_PROFILE,
|
|
@@ -52,14 +56,10 @@ import {
|
|
|
52
56
|
describeProfileSelection,
|
|
53
57
|
profileSourceLabel,
|
|
54
58
|
resolveActiveProfile
|
|
55
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-Q4R2ABFL.js";
|
|
56
60
|
import {
|
|
57
61
|
readEnvVar
|
|
58
62
|
} from "./chunk-X2NL4KUO.js";
|
|
59
|
-
import {
|
|
60
|
-
registerSecret,
|
|
61
|
-
tokenTextProblem
|
|
62
|
-
} from "./chunk-4GPIOIAC.js";
|
|
63
63
|
import {
|
|
64
64
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
65
65
|
UsageError,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
quotedNames,
|
|
71
71
|
safeText,
|
|
72
72
|
warn
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-6534P3VH.js";
|
|
74
74
|
import {
|
|
75
75
|
suggest
|
|
76
76
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -381,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
|
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
383
|
assertHttpsOrigin(instance, "instance");
|
|
384
|
-
const { resolveScopedWorkspaceId } = await import("./workspace-
|
|
384
|
+
const { resolveScopedWorkspaceId } = await import("./workspace-DTM3ZNTM.js");
|
|
385
385
|
const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
|
|
386
386
|
return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
|
|
387
387
|
}
|
|
@@ -418,6 +418,33 @@ async function resolveNamedProfile(name, args, flag = "--to-profile") {
|
|
|
418
418
|
warnIfLocalShadowsGlobal(args, authFilePath, saved, selection);
|
|
419
419
|
return fromStoredProfile(authFilePath, selection, saved);
|
|
420
420
|
}
|
|
421
|
+
function readStoredProfileQuietly(cwd = process.cwd()) {
|
|
422
|
+
try {
|
|
423
|
+
const path = resolveAuthFilePath({ authFile: void 0, local: false });
|
|
424
|
+
const file = readCredentialFile(path);
|
|
425
|
+
const selection = resolveActiveProfile({
|
|
426
|
+
fileDefault: file?.default,
|
|
427
|
+
defaultIn: path === globalAuthFilePath() ? void 0 : path,
|
|
428
|
+
readPointer: () => findProjectPointer(cwd)?.profile
|
|
429
|
+
});
|
|
430
|
+
const saved = file === null ? null : readProfile(file, selection.name, path);
|
|
431
|
+
if (saved === null) return { kind: "none", profile: selection.name, path };
|
|
432
|
+
if (saved.type === "token") return { kind: "token", profile: selection.name, path };
|
|
433
|
+
return {
|
|
434
|
+
kind: "oauth",
|
|
435
|
+
profile: selection.name,
|
|
436
|
+
path,
|
|
437
|
+
record: saved,
|
|
438
|
+
bearer: async () => {
|
|
439
|
+
const auth = await fromStoredProfile(path, selection, saved);
|
|
440
|
+
registerSecret(auth.access_token);
|
|
441
|
+
return auth.access_token;
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
} catch (err) {
|
|
445
|
+
return { kind: "unreadable", message: err instanceof Error ? err.message : String(err) };
|
|
446
|
+
}
|
|
447
|
+
}
|
|
421
448
|
async function fromStoredProfile(authFilePath, selection, saved) {
|
|
422
449
|
if (saved.type === "token") {
|
|
423
450
|
assertHttpsOrigin(saved.instance_base_url, "instance_base_url");
|
|
@@ -499,7 +526,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
|
|
|
499
526
|
if (selection.source !== "file-default" && selection.source !== "implicit") return;
|
|
500
527
|
const stored = file === null ? [] : profileNames(file);
|
|
501
528
|
if (stored.length < 2) return;
|
|
502
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
529
|
+
const { projectDirFrom } = await import("./xanosdk-project-YVLCGM3Y.js");
|
|
503
530
|
if (projectDirFrom(process.cwd()) === void 0) return;
|
|
504
531
|
const target = targetOf(saved);
|
|
505
532
|
credentialWarning(
|
|
@@ -853,6 +880,7 @@ export {
|
|
|
853
880
|
environmentCredentialVars,
|
|
854
881
|
getAccessToken,
|
|
855
882
|
resolveNamedProfile,
|
|
883
|
+
readStoredProfileQuietly,
|
|
856
884
|
warnIfReadableByOthers,
|
|
857
885
|
credentialWarning,
|
|
858
886
|
NotSignedInError,
|
|
@@ -862,4 +890,4 @@ export {
|
|
|
862
890
|
notSignedIn,
|
|
863
891
|
assertStoredAuthHost
|
|
864
892
|
};
|
|
865
|
-
//# sourceMappingURL=chunk-
|
|
893
|
+
//# sourceMappingURL=chunk-64F6ET45.js.map
|
|
@@ -1319,6 +1319,11 @@ var FLAGS = {
|
|
|
1319
1319
|
spec: "--reset",
|
|
1320
1320
|
summary: "Replace the environment and re-seed it, overriding --keep-data (a deploy without --keep-data already does)"
|
|
1321
1321
|
},
|
|
1322
|
+
"ai-billing": {
|
|
1323
|
+
spec: "--ai-billing <user|instance>",
|
|
1324
|
+
summary: "Who Xano AI usage on the Xano Engine is billed to: `user` (you, the default) or `instance` (the owner of the instance you signed in to). Overrides the `aiBilling` setting in package.json",
|
|
1325
|
+
values: ["user", "instance"]
|
|
1326
|
+
},
|
|
1322
1327
|
"keep-data": {
|
|
1323
1328
|
spec: "--keep-data",
|
|
1324
1329
|
summary: "Keep the environment's table rows: merge into what an earlier deploy filled instead of replacing it. Seed rows are not re-written, objects removed from the project are deleted, and a new or never-filled environment is replaced and seeded as usual. --reset overrides it; --to already merges"
|
|
@@ -1902,6 +1907,22 @@ var COMMANDS = {
|
|
|
1902
1907
|
}
|
|
1903
1908
|
}
|
|
1904
1909
|
},
|
|
1910
|
+
ai: {
|
|
1911
|
+
group: "Author",
|
|
1912
|
+
display: "ai models",
|
|
1913
|
+
summary: "Show the live Xano AI model catalog: the models each AI statement takes",
|
|
1914
|
+
subcommands: {
|
|
1915
|
+
// No apostrophes in any registry string: zsh completion single-quotes them.
|
|
1916
|
+
models: {
|
|
1917
|
+
summary: "List the models each Xano AI statement takes, read live from the hub catalog with no sign-in: the suggested model, locations and options",
|
|
1918
|
+
flags: [
|
|
1919
|
+
{ key: "all", summary: "Include unlisted models: they still run when a saved script names them, but no picker offers them" },
|
|
1920
|
+
...CREDENTIAL_FILE
|
|
1921
|
+
],
|
|
1922
|
+
example: "xanosdk ai models --json"
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
},
|
|
1905
1926
|
// ── Deploy ──────────────────────────────────────────────────────────────
|
|
1906
1927
|
deploy: {
|
|
1907
1928
|
group: "Deploy",
|
|
@@ -1971,6 +1992,7 @@ var COMMANDS = {
|
|
|
1971
1992
|
withoutTo("open"),
|
|
1972
1993
|
"keep-data",
|
|
1973
1994
|
withoutTo("reset"),
|
|
1995
|
+
{ key: "ai-billing", summary: `${FLAGS["ai-billing"].summary} \u2014 only to the Xano Engine` },
|
|
1974
1996
|
...COMPILE,
|
|
1975
1997
|
...AUTH
|
|
1976
1998
|
],
|
|
@@ -2464,7 +2486,8 @@ var COMMANDS = {
|
|
|
2464
2486
|
{
|
|
2465
2487
|
key: "engine-version",
|
|
2466
2488
|
summary: "Pin this engine version instead of the latest, like v0.1.5 \u2014 or `latest`, the default"
|
|
2467
|
-
}
|
|
2489
|
+
},
|
|
2490
|
+
{ key: "ai-billing", summary: "Who Xano AI usage on the restarted engine is billed to: `user` (the default) or `instance`" }
|
|
2468
2491
|
],
|
|
2469
2492
|
example: "xanosdk local update"
|
|
2470
2493
|
},
|
|
@@ -3017,4 +3040,4 @@ export {
|
|
|
3017
3040
|
movedVerb,
|
|
3018
3041
|
installCliDiagnosticSink
|
|
3019
3042
|
};
|
|
3020
|
-
//# sourceMappingURL=chunk-
|
|
3043
|
+
//# sourceMappingURL=chunk-6534P3VH.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
PROJECT_CLI,
|
|
10
10
|
pathsShownFrom
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6534P3VH.js";
|
|
12
12
|
|
|
13
13
|
// src/emit/project-sdk.ts
|
|
14
14
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
installedCliCommand,
|
|
88
88
|
skewNote
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-6L32HAIP.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// src/statements/xano-ai-statements.ts
|
|
2
|
+
var AI_STATEMENTS = ["text", "image", "video", "speech", "transcribe", "embedding", "rerank", "music"];
|
|
3
|
+
var XANO_AI_LOCATIONS = ["", "us", "global", "eu"];
|
|
4
|
+
|
|
5
|
+
export {
|
|
6
|
+
AI_STATEMENTS,
|
|
7
|
+
XANO_AI_LOCATIONS
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=chunk-6SXKKDGF.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listTenants
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I52AKG2O.js";
|
|
4
4
|
import {
|
|
5
5
|
listEphemeral
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-745NOWB7.js";
|
|
7
7
|
import {
|
|
8
8
|
shellWord
|
|
9
9
|
} from "./chunk-FWD7AL6N.js";
|
|
10
10
|
import {
|
|
11
11
|
safeText
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6534P3VH.js";
|
|
13
13
|
|
|
14
14
|
// src/emit/display-name-hint.ts
|
|
15
15
|
function isShared(owner) {
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
displayNameHint,
|
|
118
118
|
selectorFix
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-6TAYTKFM.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
contextFlags
|
|
3
|
+
} from "./chunk-4DVP42ZC.js";
|
|
1
4
|
import {
|
|
2
5
|
deleteAnswer,
|
|
3
6
|
hasString,
|
|
4
7
|
listAnswer,
|
|
5
8
|
recordAnswer,
|
|
6
9
|
writeTransportFailure
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
contextFlags
|
|
10
|
-
} from "./chunk-ZYZ7GRX3.js";
|
|
10
|
+
} from "./chunk-4Y3SWNPE.js";
|
|
11
11
|
import {
|
|
12
12
|
TransportError,
|
|
13
13
|
fetchOrExplain,
|
|
14
14
|
httpFailure,
|
|
15
15
|
readBodyText,
|
|
16
16
|
withWriteStatusAftermath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
18
18
|
import {
|
|
19
19
|
shellQuote
|
|
20
20
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -283,4 +283,4 @@ export {
|
|
|
283
283
|
waitUntilReady,
|
|
284
284
|
isUnansweredPoll
|
|
285
285
|
};
|
|
286
|
-
//# sourceMappingURL=chunk-
|
|
286
|
+
//# sourceMappingURL=chunk-745NOWB7.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-FWD7AL6N.js";
|
|
9
9
|
import {
|
|
10
10
|
isLocalSpecifier
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IUBGFCJJ.js";
|
|
12
12
|
import {
|
|
13
13
|
trackLocalWrite
|
|
14
14
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
localPathOf,
|
|
25
25
|
packageNameOf,
|
|
26
26
|
readInstalledManifestState
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DORGB2Y2.js";
|
|
28
28
|
import {
|
|
29
29
|
UsageError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6534P3VH.js";
|
|
31
31
|
|
|
32
32
|
// src/emit/project-dependency.ts
|
|
33
33
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
removeDependency,
|
|
170
170
|
recordedDependency
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=chunk-
|
|
172
|
+
//# sourceMappingURL=chunk-7J7YRAZB.js.map
|
|
@@ -4,9 +4,17 @@ var STATEMENT_SURFACES = [
|
|
|
4
4
|
["action.package.call", "mvp:action_package"],
|
|
5
5
|
["addon.call", "mvp:workspace_run_addon"],
|
|
6
6
|
["ai.agent.run", "mvp:call_agent"],
|
|
7
|
+
["ai.embedding.create", "mvp:ai_embedding_create"],
|
|
7
8
|
["ai.external.mcp.server_details", "mvp:mcp_server_details"],
|
|
8
9
|
["ai.external.mcp.tool.list", "mvp:mcp_list_tools"],
|
|
9
10
|
["ai.external.mcp.tool.run", "mvp:mcp_call_tool"],
|
|
11
|
+
["ai.image.generate", "mvp:ai_image_generate"],
|
|
12
|
+
["ai.music.generate", "mvp:ai_music_generate"],
|
|
13
|
+
["ai.rerank", "mvp:ai_rerank"],
|
|
14
|
+
["ai.speech.generate", "mvp:ai_speech_generate"],
|
|
15
|
+
["ai.speech.transcribe", "mvp:ai_speech_transcribe"],
|
|
16
|
+
["ai.text.generate", "mvp:ai_text_generate"],
|
|
17
|
+
["ai.video.generate", "mvp:ai_video_generate"],
|
|
10
18
|
["api.call", "mvp:workspace_run_endpoint"],
|
|
11
19
|
["api.realtime_event", "mvp:realtime_event"],
|
|
12
20
|
["api.request", "mvp:api_request"],
|
|
@@ -253,4 +261,4 @@ export {
|
|
|
253
261
|
IMPLEMENTED_STATEMENTS,
|
|
254
262
|
sPathOf
|
|
255
263
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
264
|
+
//# sourceMappingURL=chunk-7LLVSTXY.js.map
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
aiOutcomeDocument,
|
|
3
|
+
aiOutcomeLine
|
|
4
|
+
} from "./chunk-OF5YFPSK.js";
|
|
4
5
|
import {
|
|
5
|
-
acquireEngine,
|
|
6
6
|
restartMismatchedEngine
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QHNSBURP.js";
|
|
8
|
+
import {
|
|
9
|
+
ENGINE_LICENSE_NOTICE,
|
|
10
|
+
acquireEngine
|
|
11
|
+
} from "./chunk-M5GXZEX7.js";
|
|
12
|
+
import {
|
|
13
|
+
pinWrittenText
|
|
14
|
+
} from "./chunk-IWFKPEWJ.js";
|
|
8
15
|
import {
|
|
9
16
|
resolveProjectEntry
|
|
10
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-J564PMKW.js";
|
|
11
18
|
import {
|
|
12
19
|
confirm
|
|
13
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BBFHZMQA.js";
|
|
14
21
|
import {
|
|
15
22
|
cachedEngineEntry,
|
|
16
23
|
engineVersion,
|
|
@@ -20,42 +27,47 @@ import {
|
|
|
20
27
|
stopAllEngines,
|
|
21
28
|
stopEngineNamed,
|
|
22
29
|
stopOrphanedEngineProcesses
|
|
23
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-I5YD7QPI.js";
|
|
31
|
+
import {
|
|
32
|
+
readPin,
|
|
33
|
+
writePin
|
|
34
|
+
} from "./chunk-5KSVMHFS.js";
|
|
24
35
|
import {
|
|
25
36
|
diskBytes,
|
|
26
37
|
listLegacyCacheDirs,
|
|
27
38
|
listOverrideEntries,
|
|
28
39
|
listReleaseEntries,
|
|
29
|
-
readEngineEntry
|
|
30
|
-
|
|
31
|
-
writePin
|
|
32
|
-
} from "./chunk-6FCAFWD5.js";
|
|
40
|
+
readEngineEntry
|
|
41
|
+
} from "./chunk-VO62TKK5.js";
|
|
33
42
|
import {
|
|
34
43
|
ENGINE_RELEASES_URL_ENV,
|
|
35
44
|
normalizeEngineVersion,
|
|
36
45
|
resolveEngineRelease,
|
|
37
46
|
usesCustomReleaseManager
|
|
38
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-FVBJKM6N.js";
|
|
39
48
|
import {
|
|
40
49
|
NO_CREDENTIAL,
|
|
41
50
|
SourceError,
|
|
42
51
|
resolveSource
|
|
43
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-VJCUFHTQ.js";
|
|
44
53
|
import {
|
|
45
54
|
clearEngineRecordsNamed,
|
|
46
55
|
clearEngineRecordsStillMatching,
|
|
47
56
|
listEngineRecords
|
|
48
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-MKRREVNB.js";
|
|
49
58
|
import {
|
|
50
59
|
SUPPORTED_PLATFORMS,
|
|
51
60
|
engineRunHome,
|
|
52
61
|
legacyRuntimeDirs,
|
|
53
62
|
localEngineBinDir,
|
|
54
63
|
resolveEnginePlatform
|
|
55
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FVZ5C3PF.js";
|
|
56
65
|
import {
|
|
57
66
|
yesRerun
|
|
58
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-PC7XEO7F.js";
|
|
68
|
+
import {
|
|
69
|
+
resolveAiBilling
|
|
70
|
+
} from "./chunk-LZDH5COS.js";
|
|
59
71
|
import {
|
|
60
72
|
UsageError,
|
|
61
73
|
detail,
|
|
@@ -68,7 +80,7 @@ import {
|
|
|
68
80
|
unknownSubcommand,
|
|
69
81
|
warn,
|
|
70
82
|
writeJson
|
|
71
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-6534P3VH.js";
|
|
72
84
|
import {
|
|
73
85
|
suggest,
|
|
74
86
|
suggestAll
|
|
@@ -84,7 +96,7 @@ async function runLocalEngineCommand(args, opts = {}) {
|
|
|
84
96
|
case "token":
|
|
85
97
|
return runToken(args, opts);
|
|
86
98
|
case "mcp":
|
|
87
|
-
return (await import("./local-engine-mcp-command-
|
|
99
|
+
return (await import("./local-engine-mcp-command-EODMA3X5.js")).runMcp(args, opts);
|
|
88
100
|
case "stop":
|
|
89
101
|
return runStop(args, opts);
|
|
90
102
|
case "update":
|
|
@@ -320,6 +332,7 @@ Run this from the project's root.`
|
|
|
320
332
|
);
|
|
321
333
|
}
|
|
322
334
|
const current = typeof read === "object" || read === void 0 ? null : read;
|
|
335
|
+
const aiBilling = resolveAiBilling(args.aiBilling, dir);
|
|
323
336
|
const fetch = opts.fetch === void 0 ? {} : { fetch: opts.fetch };
|
|
324
337
|
const target = await requestedEngineVersion(args.engineVersion ?? "latest", opts, env, "update to");
|
|
325
338
|
const wasCached = readEngineEntry({ version: target }, env) !== void 0;
|
|
@@ -328,7 +341,8 @@ Run this from the project's root.`
|
|
|
328
341
|
env,
|
|
329
342
|
...fetch,
|
|
330
343
|
...opts.platform === void 0 ? {} : { platform: opts.platform },
|
|
331
|
-
...opts.arch === void 0 ? {} : { arch: opts.arch }
|
|
344
|
+
...opts.arch === void 0 ? {} : { arch: opts.arch },
|
|
345
|
+
onDownloaded: () => info(ENGINE_LICENSE_NOTICE)
|
|
332
346
|
});
|
|
333
347
|
if (current === target) {
|
|
334
348
|
success(wasCached ? `Already on ${target} \u2014 nothing to update.` : `Already on ${target} \u2014 downloaded it to this machine.`);
|
|
@@ -349,6 +363,8 @@ Run this from the project's root.`
|
|
|
349
363
|
dir,
|
|
350
364
|
acquired,
|
|
351
365
|
env,
|
|
366
|
+
// The restarted engine gets a fresh Xano AI credential, as a deploy's would.
|
|
367
|
+
ai: { billing: aiBilling },
|
|
352
368
|
...opts.run === void 0 ? {} : { run: opts.run },
|
|
353
369
|
...opts.spawn === void 0 ? {} : { spawn: opts.spawn }
|
|
354
370
|
});
|
|
@@ -357,6 +373,7 @@ Run this from the project's root.`
|
|
|
357
373
|
info(pinWrittenText({ path: pin.path, version: target, created: pin.created, moved: current !== null }));
|
|
358
374
|
if (replaced !== void 0) {
|
|
359
375
|
info(`Restarted ${replaced.name} on ${target}. It starts empty \u2014 run your deploy to seed it.`);
|
|
376
|
+
if (replaced.ai !== void 0) info(aiOutcomeLine(replaced.ai));
|
|
360
377
|
if (replaced.url !== replaced.previousUrl) {
|
|
361
378
|
info("New Xano Engine URL:");
|
|
362
379
|
link(replaced.url);
|
|
@@ -375,13 +392,14 @@ Run this from the project's root.`
|
|
|
375
392
|
downloaded: !wasCached,
|
|
376
393
|
pinPath: pin.path,
|
|
377
394
|
restarted: replaced?.name ?? null,
|
|
378
|
-
url: replaced?.url ?? null
|
|
395
|
+
url: replaced?.url ?? null,
|
|
396
|
+
...replaced?.ai === void 0 ? {} : { ai: aiOutcomeDocument(replaced.ai) }
|
|
379
397
|
});
|
|
380
398
|
}
|
|
381
399
|
}
|
|
382
400
|
async function repointDevEnvAfterRestart(dir, restarted) {
|
|
383
401
|
if (restarted.previousUrl === void 0) return void 0;
|
|
384
|
-
const { repointDevEnv } = await import("./dev-env-sync-
|
|
402
|
+
const { repointDevEnv } = await import("./dev-env-sync-LZ22CSKD.js");
|
|
385
403
|
try {
|
|
386
404
|
return repointDevEnv(dir, restarted.previousUrl, restarted.url);
|
|
387
405
|
} catch (err) {
|
|
@@ -713,4 +731,4 @@ export {
|
|
|
713
731
|
reportOrphanSweep,
|
|
714
732
|
resolveLiveEngine
|
|
715
733
|
};
|
|
716
|
-
//# sourceMappingURL=chunk-
|
|
734
|
+
//# sourceMappingURL=chunk-7SGMHGLI.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
keptDuplicates,
|
|
3
3
|
replacedRegistrations,
|
|
4
4
|
reportSuperseded
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YFVD3LNL.js";
|
|
6
6
|
import {
|
|
7
7
|
rerenderEnvExample
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KL4PGJ2G.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -17,62 +17,62 @@ import {
|
|
|
17
17
|
verifyPulledTree,
|
|
18
18
|
withSourceIdentities,
|
|
19
19
|
writeDocumentationTokens
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QLXGLHK3.js";
|
|
21
21
|
import {
|
|
22
22
|
ROUTES_MANIFEST_BASENAME
|
|
23
23
|
} from "./chunk-SVQMDVND.js";
|
|
24
|
+
import {
|
|
25
|
+
recordSync,
|
|
26
|
+
syncBranchLabel
|
|
27
|
+
} from "./chunk-OSMPI45P.js";
|
|
24
28
|
import {
|
|
25
29
|
syncDigests
|
|
26
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YAZEB255.js";
|
|
27
31
|
import {
|
|
28
32
|
fetchSourceArchive
|
|
29
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-J564PMKW.js";
|
|
30
34
|
import {
|
|
31
35
|
confirm
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import {
|
|
34
|
-
recordSync,
|
|
35
|
-
syncBranchLabel
|
|
36
|
-
} from "./chunk-EPB6FAR5.js";
|
|
36
|
+
} from "./chunk-BBFHZMQA.js";
|
|
37
37
|
import {
|
|
38
38
|
decodeWorkspaceArchive,
|
|
39
39
|
encodeWorkspaceArchive
|
|
40
40
|
} from "./chunk-3DRXWLJ5.js";
|
|
41
41
|
import {
|
|
42
42
|
ensureSecretPathGitignored
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-Q77C32ZB.js";
|
|
44
44
|
import {
|
|
45
45
|
readVersion,
|
|
46
46
|
refreshAgentGuidance
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZNGUETV7.js";
|
|
48
48
|
import {
|
|
49
49
|
WORKSPACE_ENV_BASENAME,
|
|
50
50
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
51
51
|
namesInEnvExample,
|
|
52
52
|
readWorkspaceEnvFile
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-FJS5I6V4.js";
|
|
54
54
|
import {
|
|
55
55
|
memoCredential,
|
|
56
56
|
refuseProfileForLocal,
|
|
57
57
|
selectBackend
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-XWEDFVJ6.js";
|
|
59
59
|
import {
|
|
60
60
|
getAccessToken
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-64F6ET45.js";
|
|
62
62
|
import {
|
|
63
63
|
readLockFile,
|
|
64
64
|
writeLockFile
|
|
65
65
|
} from "./chunk-7ZVQIKNL.js";
|
|
66
66
|
import {
|
|
67
67
|
requireBackendSlot
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-CGLYG2VF.js";
|
|
69
69
|
import {
|
|
70
70
|
contextFlags
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-4DVP42ZC.js";
|
|
72
72
|
import {
|
|
73
73
|
backendDirIn,
|
|
74
74
|
resolveBackendDir
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-N2JZU6VR.js";
|
|
76
76
|
import {
|
|
77
77
|
CODEGEN_MARKER,
|
|
78
78
|
DECODE_MARKER,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
readDecodeRecord,
|
|
88
88
|
removeEmptiedDirs,
|
|
89
89
|
removeFiles
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-T2LFOMOP.js";
|
|
91
91
|
import {
|
|
92
92
|
holdsProjectManifest
|
|
93
93
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
terminalText,
|
|
108
108
|
warn,
|
|
109
109
|
writeJson
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-6534P3VH.js";
|
|
111
111
|
import {
|
|
112
112
|
WORKSPACE_SECRETS_BASENAME
|
|
113
113
|
} from "./chunk-3JDU4VRL.js";
|
|
@@ -319,7 +319,7 @@ async function runPullCommand(args) {
|
|
|
319
319
|
});
|
|
320
320
|
refuseDuplicateSourceGuids(project);
|
|
321
321
|
const seedRows = carriedSeedRows(fetched.archive, bundle.payload);
|
|
322
|
-
const { discoverManifestModules } = await import("./routes-manifest-file-
|
|
322
|
+
const { discoverManifestModules } = await import("./routes-manifest-file-PIKQ3BIJ.js");
|
|
323
323
|
const modules = await discoverManifestModules(cwd, join(cwd, backendDir, ROUTES_MANIFEST_BASENAME), readVersion());
|
|
324
324
|
const placed = placeGeneratedFiles(project, backendDir, void 0, void 0, modules);
|
|
325
325
|
const settings = source.kind === "release" ? keepProjectSettings(placed, backendDir, join(cwd, backendDir)) : { files: placed, kept: false, lost: [], from: WORKSPACE_SETTINGS_FILE };
|
|
@@ -440,7 +440,7 @@ async function runPullCommand(args) {
|
|
|
440
440
|
);
|
|
441
441
|
}
|
|
442
442
|
if (args.yes !== true) {
|
|
443
|
-
const { yesRerun } = await import("./retry-command-
|
|
443
|
+
const { yesRerun } = await import("./retry-command-HG4IFE65.js");
|
|
444
444
|
const { rerun, note } = yesRerun(args, "pull");
|
|
445
445
|
const ok = await confirm(`Replace ${backendDir}/ from ${fetched.label}?`, {
|
|
446
446
|
flag: "--yes",
|
|
@@ -915,7 +915,7 @@ function envFillRemedy(kind, args, one = false) {
|
|
|
915
915
|
return `fill ${them} in, or run \`xanosdk env pull${from}${flags}\`.`;
|
|
916
916
|
}
|
|
917
917
|
async function needsYes(args, head, why, details) {
|
|
918
|
-
const { yesRerun } = await import("./retry-command-
|
|
918
|
+
const { yesRerun } = await import("./retry-command-HG4IFE65.js");
|
|
919
919
|
const { rerun, note } = yesRerun(args, "pull");
|
|
920
920
|
return new CliError("SDK_USAGE", `${head} Re-run as \`${rerun}\` ${why}.${note}`, {
|
|
921
921
|
exitCode: 1,
|
|
@@ -944,4 +944,4 @@ export {
|
|
|
944
944
|
projectWorkspaceName,
|
|
945
945
|
envFillRemedy
|
|
946
946
|
};
|
|
947
|
-
//# sourceMappingURL=chunk-
|
|
947
|
+
//# sourceMappingURL=chunk-ANCNHQCH.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
UsageError,
|
|
7
7
|
style,
|
|
8
8
|
terminalText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6534P3VH.js";
|
|
10
10
|
|
|
11
11
|
// src/emit/prompt.ts
|
|
12
12
|
import { createInterface } from "readline";
|
|
@@ -174,4 +174,4 @@ export {
|
|
|
174
174
|
STDIN_IDLE_MS,
|
|
175
175
|
readStdin
|
|
176
176
|
};
|
|
177
|
-
//# sourceMappingURL=chunk-
|
|
177
|
+
//# sourceMappingURL=chunk-BBFHZMQA.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-2MNLRIOX.js";
|
|
4
4
|
import {
|
|
5
5
|
pipedYes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PC7XEO7F.js";
|
|
7
7
|
import {
|
|
8
8
|
contextFlags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4DVP42ZC.js";
|
|
10
10
|
import {
|
|
11
11
|
shellWord
|
|
12
12
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
retryingFetch,
|
|
19
19
|
transportTarget,
|
|
20
20
|
withWriteStatusAftermath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
22
22
|
import {
|
|
23
23
|
suggestAll
|
|
24
24
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -288,4 +288,4 @@ export {
|
|
|
288
288
|
freeBranchLabel,
|
|
289
289
|
requireBranch
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=chunk-
|
|
291
|
+
//# sourceMappingURL=chunk-C7KO5KKB.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isKindShaped,
|
|
8
8
|
parseSource,
|
|
9
9
|
sourceSpellings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6534P3VH.js";
|
|
11
11
|
|
|
12
12
|
// src/emit/backend-slot.ts
|
|
13
13
|
function commandPath(command, subcommand) {
|
|
@@ -124,4 +124,4 @@ export {
|
|
|
124
124
|
refusedKind,
|
|
125
125
|
parseSlot
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-CGLYG2VF.js.map
|