@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,122 +1,123 @@
|
|
|
1
|
+
import {
|
|
2
|
+
fetchWorkspaceBundle
|
|
3
|
+
} from "./chunk-YRLSJBSY.js";
|
|
4
|
+
import "./chunk-EJXJE2H3.js";
|
|
5
|
+
import "./chunk-C6ERQFEB.js";
|
|
1
6
|
import {
|
|
2
7
|
printMicroserviceSection,
|
|
3
8
|
readMicroservices
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import
|
|
6
|
-
fetchWorkspaceBundle
|
|
7
|
-
} from "./chunk-HUGNB6UN.js";
|
|
8
|
-
import "./chunk-PLOBHRGV.js";
|
|
9
|
-
import "./chunk-KG3RDXN5.js";
|
|
10
|
-
import "./chunk-QIT2GGNB.js";
|
|
9
|
+
} from "./chunk-EOWNLLLV.js";
|
|
10
|
+
import "./chunk-EPD5J3WA.js";
|
|
11
11
|
import "./chunk-SVQMDVND.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-OSMPI45P.js";
|
|
13
|
+
import "./chunk-YAZEB255.js";
|
|
14
|
+
import "./chunk-BFM2P47R.js";
|
|
15
|
+
import "./chunk-KHX6VQ4M.js";
|
|
14
16
|
import {
|
|
15
17
|
confirm
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-BBFHZMQA.js";
|
|
19
|
+
import "./chunk-X7IBJLAD.js";
|
|
18
20
|
import {
|
|
19
21
|
listTables
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-EPB6FAR5.js";
|
|
22
|
-
import "./chunk-2DUYJR5N.js";
|
|
23
|
-
import "./chunk-3DRXWLJ5.js";
|
|
24
|
-
import "./chunk-X4DVXBFY.js";
|
|
22
|
+
} from "./chunk-SQVETROU.js";
|
|
25
23
|
import {
|
|
26
24
|
listBranches
|
|
27
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-C7KO5KKB.js";
|
|
26
|
+
import "./chunk-3DRXWLJ5.js";
|
|
27
|
+
import "./chunk-X4DVXBFY.js";
|
|
28
28
|
import {
|
|
29
29
|
reachableWorkspaces,
|
|
30
30
|
refuseUnreachableWorkspace,
|
|
31
31
|
unreachableWorkspaceMessage
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-3H765RXT.js";
|
|
33
|
+
import "./chunk-G3ZUGFIS.js";
|
|
34
|
+
import "./chunk-6L32HAIP.js";
|
|
35
35
|
import "./chunk-2TFRR6JV.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveOutputTarget,
|
|
38
38
|
secretsPhrase,
|
|
39
39
|
writeExportFile
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HUXMRYUX.js";
|
|
41
41
|
import {
|
|
42
42
|
secretsCarriedBy
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-P3WIMLG2.js";
|
|
44
|
+
import "./chunk-34OZQNKR.js";
|
|
45
45
|
import {
|
|
46
46
|
assertBundleFile,
|
|
47
47
|
assertBundleInput,
|
|
48
48
|
assertEntryFile,
|
|
49
49
|
assertValueFiles,
|
|
50
50
|
loadBundleText
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-3OR2RCXJ.js";
|
|
52
|
+
import "./chunk-ZCXWOGFL.js";
|
|
53
|
+
import "./chunk-UN73LNM5.js";
|
|
54
|
+
import "./chunk-KMXXOJL2.js";
|
|
55
|
+
import "./chunk-5Z4WQQHC.js";
|
|
56
|
+
import "./chunk-LLG33KGY.js";
|
|
57
|
+
import "./chunk-JXX2QXPP.js";
|
|
58
|
+
import "./chunk-6TAYTKFM.js";
|
|
59
|
+
import "./chunk-4GI22VPJ.js";
|
|
60
|
+
import "./chunk-I52AKG2O.js";
|
|
61
|
+
import "./chunk-2MNLRIOX.js";
|
|
62
|
+
import "./chunk-745NOWB7.js";
|
|
63
|
+
import "./chunk-EBSJUSID.js";
|
|
60
64
|
import {
|
|
61
65
|
getAccessToken
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-LCOCRJ4K.js";
|
|
67
|
-
import "./chunk-OTQF4B37.js";
|
|
68
|
-
import "./chunk-G2XSDIYS.js";
|
|
69
|
-
import "./chunk-2MNLRIOX.js";
|
|
70
|
-
import "./chunk-7UQZ7C4W.js";
|
|
71
|
-
import "./chunk-7ZVQIKNL.js";
|
|
72
|
-
import "./chunk-XKHQLKUL.js";
|
|
73
|
-
import "./chunk-V2MIBJZU.js";
|
|
74
|
-
import "./chunk-5JUWB6XL.js";
|
|
75
|
-
import "./chunk-WGKKDGSA.js";
|
|
66
|
+
} from "./chunk-TEZKQQDT.js";
|
|
67
|
+
import "./chunk-CP7OSHLK.js";
|
|
68
|
+
import "./chunk-DAXFWXSV.js";
|
|
69
|
+
import "./chunk-MKRREVNB.js";
|
|
76
70
|
import "./chunk-ZYJP6BOO.js";
|
|
71
|
+
import "./chunk-FVZ5C3PF.js";
|
|
72
|
+
import "./chunk-RQGSZ7AR.js";
|
|
73
|
+
import "./chunk-LMX4VE4H.js";
|
|
74
|
+
import "./chunk-7ZVQIKNL.js";
|
|
75
|
+
import "./chunk-2H5BQRHF.js";
|
|
76
|
+
import "./chunk-52VELHIH.js";
|
|
77
|
+
import "./chunk-CGLYG2VF.js";
|
|
78
|
+
import "./chunk-E7YXNU57.js";
|
|
77
79
|
import "./chunk-QO6BVGS5.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-SINL5WMI.js";
|
|
80
|
+
import "./chunk-TDSRZDQP.js";
|
|
80
81
|
import {
|
|
81
82
|
yesRerun
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-PC7XEO7F.js";
|
|
83
84
|
import "./chunk-622HUCZT.js";
|
|
84
85
|
import {
|
|
85
86
|
contextFlags
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import "./chunk-
|
|
87
|
+
} from "./chunk-4DVP42ZC.js";
|
|
88
|
+
import "./chunk-OQMXCNN7.js";
|
|
88
89
|
import "./chunk-EUUUMY7J.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
import "./chunk-5ABAIJVV.js";
|
|
91
|
+
import {
|
|
92
|
+
writeData
|
|
93
|
+
} from "./chunk-4GPIOIAC.js";
|
|
94
|
+
import "./chunk-X3LYWTZ5.js";
|
|
95
|
+
import "./chunk-EQ2KB5YF.js";
|
|
96
|
+
import "./chunk-CJIXD67B.js";
|
|
97
|
+
import "./chunk-HU7F56VF.js";
|
|
98
|
+
import "./chunk-7J7YRAZB.js";
|
|
93
99
|
import "./chunk-ZFDZKNGG.js";
|
|
94
100
|
import "./chunk-FWD7AL6N.js";
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import {
|
|
98
|
-
bindingFor,
|
|
99
|
-
fetchOrExplain,
|
|
100
|
-
httpFailure,
|
|
101
|
-
parseJsonAnswer
|
|
102
|
-
} from "./chunk-NH5Z2NOD.js";
|
|
101
|
+
import "./chunk-IUBGFCJJ.js";
|
|
102
|
+
import "./chunk-37BT62SX.js";
|
|
103
103
|
import {
|
|
104
104
|
describeWrite
|
|
105
105
|
} from "./chunk-4KHEMC32.js";
|
|
106
|
-
import "./chunk-WGGATSIP.js";
|
|
107
|
-
import "./chunk-2H5BQRHF.js";
|
|
108
106
|
import "./chunk-DNBP4GJN.js";
|
|
109
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-DORGB2Y2.js";
|
|
110
108
|
import "./chunk-WAVNUTMT.js";
|
|
111
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-LZDH5COS.js";
|
|
112
110
|
import "./chunk-LLNZGEFK.js";
|
|
113
|
-
import "./chunk-
|
|
114
|
-
import "./chunk-MF4W6FHU.js";
|
|
115
|
-
import "./chunk-X2NL4KUO.js";
|
|
111
|
+
import "./chunk-4Y3SWNPE.js";
|
|
116
112
|
import {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
113
|
+
bindingFor,
|
|
114
|
+
fetchOrExplain,
|
|
115
|
+
httpFailure,
|
|
116
|
+
parseJsonAnswer
|
|
117
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
118
|
+
import "./chunk-Q4R2ABFL.js";
|
|
119
|
+
import "./chunk-X2NL4KUO.js";
|
|
120
|
+
import "./chunk-3HK7VELD.js";
|
|
120
121
|
import "./chunk-O7Z3LF44.js";
|
|
121
122
|
import "./chunk-6ODQ5GDZ.js";
|
|
122
123
|
import "./chunk-RHH6SCB4.js";
|
|
@@ -143,17 +144,18 @@ import {
|
|
|
143
144
|
warn,
|
|
144
145
|
writeJson,
|
|
145
146
|
writeTargetPayload
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
147
|
+
} from "./chunk-6534P3VH.js";
|
|
148
|
+
import "./chunk-MGC5S6OE.js";
|
|
148
149
|
import "./chunk-52QAENY6.js";
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
150
|
+
import "./chunk-GUHJV7C5.js";
|
|
151
|
+
import "./chunk-EME5G4YP.js";
|
|
151
152
|
import "./chunk-TPUAXIPR.js";
|
|
152
153
|
import "./chunk-QDPY7RN3.js";
|
|
153
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-CJ5WRCVE.js";
|
|
154
155
|
import "./chunk-4EVDCSEY.js";
|
|
155
156
|
import "./chunk-RLQX6LHW.js";
|
|
156
157
|
import "./chunk-U56HK2RG.js";
|
|
158
|
+
import "./chunk-6SXKKDGF.js";
|
|
157
159
|
import "./chunk-WAP5362D.js";
|
|
158
160
|
import "./chunk-GSGDWJB5.js";
|
|
159
161
|
import "./chunk-FSHW3GQU.js";
|
|
@@ -173,10 +175,10 @@ import "./chunk-UDZX2ZL4.js";
|
|
|
173
175
|
import "./chunk-G6BEJ3NA.js";
|
|
174
176
|
import "./chunk-F3JK5RIY.js";
|
|
175
177
|
import "./chunk-TFFGOFVZ.js";
|
|
176
|
-
import "./chunk-
|
|
178
|
+
import "./chunk-4ZV4MDKP.js";
|
|
177
179
|
import "./chunk-EHP3WPEG.js";
|
|
178
|
-
import "./chunk-
|
|
179
|
-
import "./chunk-
|
|
180
|
+
import "./chunk-XDIPEWLU.js";
|
|
181
|
+
import "./chunk-7LLVSTXY.js";
|
|
180
182
|
import "./chunk-EAZTRU75.js";
|
|
181
183
|
import "./chunk-FTFAPKCW.js";
|
|
182
184
|
import "./chunk-EUAU4QKI.js";
|
|
@@ -204,7 +206,7 @@ async function runWorkspaceCommand(args) {
|
|
|
204
206
|
case "reset-tables":
|
|
205
207
|
return runResetTables(args);
|
|
206
208
|
case "branch": {
|
|
207
|
-
const { runBranchCommand } = await import("./branch-commands-
|
|
209
|
+
const { runBranchCommand } = await import("./branch-commands-KUEGS6XL.js");
|
|
208
210
|
return runBranchCommand(args);
|
|
209
211
|
}
|
|
210
212
|
default:
|
|
@@ -233,7 +235,7 @@ async function runDetails(args) {
|
|
|
233
235
|
const auth = await getAccessToken(args);
|
|
234
236
|
const workspaceId = auth.workspaceId;
|
|
235
237
|
const all = await fetchWorkspaces(auth).catch(async (err) => {
|
|
236
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
238
|
+
const { unansweredRead } = await import("./source-resolve-MAMVIHDF.js");
|
|
237
239
|
throw unansweredRead(err, "read the workspace list", "workspace");
|
|
238
240
|
});
|
|
239
241
|
const match = all.find((w) => w.id === workspaceId);
|
|
@@ -293,7 +295,7 @@ async function runExport(args) {
|
|
|
293
295
|
var EXIT_DIFF_MISMATCH = 2;
|
|
294
296
|
async function runDiff(args) {
|
|
295
297
|
if (args.file === void 0 && args.bundle === void 0) {
|
|
296
|
-
const { resolveProjectEntry } = await import("./deploy-source-
|
|
298
|
+
const { resolveProjectEntry } = await import("./deploy-source-QK7Y4Y3V.js");
|
|
297
299
|
const entry = resolveProjectEntry(process.cwd());
|
|
298
300
|
if (entry !== void 0) args = { ...args, file: entry };
|
|
299
301
|
}
|
|
@@ -306,11 +308,11 @@ async function runDiff(args) {
|
|
|
306
308
|
try {
|
|
307
309
|
live = await fetchWorkspaceBundle(auth, args.branch);
|
|
308
310
|
} catch (err) {
|
|
309
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
311
|
+
const { unansweredRead } = await import("./source-resolve-MAMVIHDF.js");
|
|
310
312
|
throw unansweredRead(err, "read the workspace to compare", "workspace");
|
|
311
313
|
}
|
|
312
|
-
const { SETTINGS_LABEL } = await import("./live-diff-
|
|
313
|
-
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-
|
|
314
|
+
const { SETTINGS_LABEL } = await import("./live-diff-GZ6JUNP6.js");
|
|
315
|
+
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-BGSDY3BE.js");
|
|
314
316
|
const pinned = codePinnedCanonicals(local.bundle, releaseCanonicalLock(args), args.file !== void 0);
|
|
315
317
|
const listed = await listBranches(auth, { baseUrl: auth.instance, workspaceId: auth.workspaceId }).catch(
|
|
316
318
|
() => void 0
|
|
@@ -318,9 +320,9 @@ async function runDiff(args) {
|
|
|
318
320
|
const liveLabel = listed?.find((b) => b.live)?.label;
|
|
319
321
|
const comparedLabel = args.branch ?? liveLabel;
|
|
320
322
|
const comparedIsLive = args.branch === void 0 ? true : liveLabel === void 0 ? null : args.branch === liveLabel;
|
|
321
|
-
const { landingLockPath } = await import("./landing-record-
|
|
322
|
-
const { readSyncBaseline, storedBranchLabel } = await import("./sync-record-
|
|
323
|
-
const { directedComparison } = await import("./sync-baseline-
|
|
323
|
+
const { landingLockPath } = await import("./landing-record-MK44WCRY.js");
|
|
324
|
+
const { readSyncBaseline, storedBranchLabel } = await import("./sync-record-UFEJDNLR.js");
|
|
325
|
+
const { directedComparison } = await import("./sync-baseline-XLRJQZCS.js");
|
|
324
326
|
const syncLabel = storedBranchLabel(listed, args.branch);
|
|
325
327
|
const baseline = syncLabel === void 0 ? void 0 : readSyncBaseline(landingLockPath(args, args.file !== void 0 ? { entryFile: args.file } : {}), {
|
|
326
328
|
instance: auth.instance,
|
|
@@ -435,7 +437,7 @@ Pass the entry file: \`xanosdk workspace reset-tables ./index.ts --table <guid>
|
|
|
435
437
|
const local = await loadBundleText(args.write === true && !willRefuse ? args : { ...args, lockReadOnly: true }, target, {
|
|
436
438
|
withSeed: true
|
|
437
439
|
});
|
|
438
|
-
const { seedRowsByTableGuid } = await import("./seed-
|
|
440
|
+
const { seedRowsByTableGuid } = await import("./seed-M33F4OJW.js");
|
|
439
441
|
const seeds = seedRowsByTableGuid(local.content);
|
|
440
442
|
const declared = projectTables(local.bundle);
|
|
441
443
|
const unknown = guids.filter((guid) => !declared.some((t) => t.guid === guid));
|
|
@@ -472,7 +474,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
472
474
|
);
|
|
473
475
|
}
|
|
474
476
|
const destination = credentialWriteTarget(auth);
|
|
475
|
-
const { countTableRows } = await import("./table-
|
|
477
|
+
const { countTableRows } = await import("./table-JHPGUJ2Z.js");
|
|
476
478
|
const planned = await Promise.all(
|
|
477
479
|
guids.map(async (guid) => {
|
|
478
480
|
const table = byGuid.get(guid);
|
|
@@ -511,7 +513,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
511
513
|
return;
|
|
512
514
|
}
|
|
513
515
|
}
|
|
514
|
-
const { truncateTable, insertTableRows } = await import("./table-
|
|
516
|
+
const { truncateTable, insertTableRows } = await import("./table-JHPGUJ2Z.js");
|
|
515
517
|
const done = [];
|
|
516
518
|
for (const t of planned) {
|
|
517
519
|
step(`Resetting ${t.name}`);
|
|
@@ -561,4 +563,4 @@ export {
|
|
|
561
563
|
EXIT_DIFF_MISMATCH,
|
|
562
564
|
runWorkspaceCommand
|
|
563
565
|
};
|
|
564
|
-
//# sourceMappingURL=workspace-command-
|
|
566
|
+
//# sourceMappingURL=workspace-command-VXOY6KPE.js.map
|
|
@@ -17,29 +17,31 @@ import {
|
|
|
17
17
|
renderWorkspaceEnvFile,
|
|
18
18
|
valueProblem,
|
|
19
19
|
workspaceEnvPathIn
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import
|
|
20
|
+
} from "./chunk-UN73LNM5.js";
|
|
21
|
+
import "./chunk-X3LYWTZ5.js";
|
|
22
|
+
import "./chunk-EQ2KB5YF.js";
|
|
23
|
+
import "./chunk-CJIXD67B.js";
|
|
24
|
+
import {
|
|
25
|
+
projectRootFrom
|
|
26
|
+
} from "./chunk-HU7F56VF.js";
|
|
27
|
+
import "./chunk-7J7YRAZB.js";
|
|
25
28
|
import "./chunk-ZFDZKNGG.js";
|
|
26
29
|
import "./chunk-FWD7AL6N.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-NH5Z2NOD.js";
|
|
30
|
+
import "./chunk-IUBGFCJJ.js";
|
|
31
|
+
import "./chunk-37BT62SX.js";
|
|
30
32
|
import "./chunk-4KHEMC32.js";
|
|
31
33
|
import "./chunk-DNBP4GJN.js";
|
|
32
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-DORGB2Y2.js";
|
|
33
35
|
import "./chunk-WAVNUTMT.js";
|
|
36
|
+
import "./chunk-LZDH5COS.js";
|
|
34
37
|
import "./chunk-LLNZGEFK.js";
|
|
35
|
-
import
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
import "./chunk-MF4W6FHU.js";
|
|
38
|
+
import "./chunk-4Y3SWNPE.js";
|
|
39
|
+
import "./chunk-QZ2PC6B7.js";
|
|
40
|
+
import "./chunk-Q4R2ABFL.js";
|
|
39
41
|
import "./chunk-X2NL4KUO.js";
|
|
40
42
|
import "./chunk-RHH6SCB4.js";
|
|
41
43
|
import "./chunk-LJM5CIY4.js";
|
|
42
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-6534P3VH.js";
|
|
43
45
|
import {
|
|
44
46
|
isRepresentableName,
|
|
45
47
|
safeNames
|
|
@@ -74,4 +76,4 @@ export {
|
|
|
74
76
|
valueProblem,
|
|
75
77
|
workspaceEnvPathIn
|
|
76
78
|
};
|
|
77
|
-
//# sourceMappingURL=workspace-env-
|
|
79
|
+
//# sourceMappingURL=workspace-env-ZNGE3DFN.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertBranchReadSupported,
|
|
3
3
|
exportWorkspaceBundle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KHX6VQ4M.js";
|
|
5
5
|
import "./chunk-3DRXWLJ5.js";
|
|
6
6
|
import "./chunk-X4DVXBFY.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-QZ2PC6B7.js";
|
|
8
|
+
import "./chunk-Q4R2ABFL.js";
|
|
9
9
|
import "./chunk-X2NL4KUO.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6534P3VH.js";
|
|
11
11
|
import "./chunk-FMXPV5JI.js";
|
|
12
12
|
import "./chunk-UTI5G6OJ.js";
|
|
13
13
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
assertBranchReadSupported,
|
|
19
19
|
exportWorkspaceBundle
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=workspace-export-
|
|
21
|
+
//# sourceMappingURL=workspace-export-A4L6272C.js.map
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
unreadableError,
|
|
6
6
|
unwritableBlocker,
|
|
7
7
|
unwritableError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TDSRZDQP.js";
|
|
9
9
|
import "./chunk-FWD7AL6N.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6534P3VH.js";
|
|
11
11
|
import "./chunk-FMXPV5JI.js";
|
|
12
12
|
import "./chunk-UTI5G6OJ.js";
|
|
13
13
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
unwritableBlocker,
|
|
23
23
|
unwritableError
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=writable-
|
|
25
|
+
//# sourceMappingURL=writable-762DMPHW.js.map
|
|
@@ -3,13 +3,14 @@ import {
|
|
|
3
3
|
Xano,
|
|
4
4
|
standaloneDefKind,
|
|
5
5
|
workspace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EME5G4YP.js";
|
|
7
7
|
import "./chunk-TPUAXIPR.js";
|
|
8
8
|
import "./chunk-QDPY7RN3.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-CJ5WRCVE.js";
|
|
10
10
|
import "./chunk-4EVDCSEY.js";
|
|
11
11
|
import "./chunk-RLQX6LHW.js";
|
|
12
12
|
import "./chunk-U56HK2RG.js";
|
|
13
|
+
import "./chunk-6SXKKDGF.js";
|
|
13
14
|
import "./chunk-WAP5362D.js";
|
|
14
15
|
import "./chunk-GSGDWJB5.js";
|
|
15
16
|
import "./chunk-FSHW3GQU.js";
|
|
@@ -41,4 +42,4 @@ export {
|
|
|
41
42
|
standaloneDefKind,
|
|
42
43
|
workspace
|
|
43
44
|
};
|
|
44
|
-
//# sourceMappingURL=xano-
|
|
45
|
+
//# sourceMappingURL=xano-XZN5SRDH.js.map
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
resetXanoSdkImportDetection,
|
|
14
14
|
withDefaultBranchPointer,
|
|
15
15
|
xanosdkImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4PHCBKJI.js";
|
|
17
17
|
import "./chunk-3DRXWLJ5.js";
|
|
18
18
|
import "./chunk-X4DVXBFY.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-NH5Z2NOD.js";
|
|
19
|
+
import "./chunk-EBSJUSID.js";
|
|
21
20
|
import "./chunk-4KHEMC32.js";
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-QZ2PC6B7.js";
|
|
22
|
+
import "./chunk-Q4R2ABFL.js";
|
|
23
23
|
import "./chunk-X2NL4KUO.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-6534P3VH.js";
|
|
25
25
|
import "./chunk-QDPY7RN3.js";
|
|
26
26
|
import "./chunk-H2V3N23D.js";
|
|
27
27
|
import "./chunk-3JDU4VRL.js";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
withDefaultBranchPointer,
|
|
54
54
|
xanosdkImport
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=xanosdk-import-
|
|
56
|
+
//# sourceMappingURL=xanosdk-import-FENZ7XMW.js.map
|
|
@@ -3,29 +3,31 @@ import {
|
|
|
3
3
|
enterProjectRoot,
|
|
4
4
|
isProjectDir,
|
|
5
5
|
projectDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4GI22VPJ.js";
|
|
7
7
|
import "./chunk-EUUUMY7J.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-5ABAIJVV.js";
|
|
9
|
+
import "./chunk-X3LYWTZ5.js";
|
|
10
|
+
import "./chunk-EQ2KB5YF.js";
|
|
11
|
+
import "./chunk-CJIXD67B.js";
|
|
12
|
+
import "./chunk-HU7F56VF.js";
|
|
13
|
+
import "./chunk-7J7YRAZB.js";
|
|
12
14
|
import "./chunk-ZFDZKNGG.js";
|
|
13
15
|
import "./chunk-FWD7AL6N.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-NH5Z2NOD.js";
|
|
16
|
+
import "./chunk-IUBGFCJJ.js";
|
|
17
|
+
import "./chunk-37BT62SX.js";
|
|
17
18
|
import "./chunk-4KHEMC32.js";
|
|
18
19
|
import "./chunk-DNBP4GJN.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-DORGB2Y2.js";
|
|
20
21
|
import "./chunk-WAVNUTMT.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-LZDH5COS.js";
|
|
22
23
|
import "./chunk-LLNZGEFK.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-4Y3SWNPE.js";
|
|
25
|
+
import "./chunk-QZ2PC6B7.js";
|
|
26
|
+
import "./chunk-Q4R2ABFL.js";
|
|
25
27
|
import "./chunk-X2NL4KUO.js";
|
|
26
28
|
import "./chunk-RHH6SCB4.js";
|
|
27
29
|
import "./chunk-LJM5CIY4.js";
|
|
28
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-6534P3VH.js";
|
|
29
31
|
import "./chunk-FMXPV5JI.js";
|
|
30
32
|
import "./chunk-UTI5G6OJ.js";
|
|
31
33
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -39,4 +41,4 @@ export {
|
|
|
39
41
|
isProjectDir,
|
|
40
42
|
projectDirFrom
|
|
41
43
|
};
|
|
42
|
-
//# sourceMappingURL=xanosdk-project-
|
|
44
|
+
//# sourceMappingURL=xanosdk-project-K4RKLLNO.js.map
|
package/guides/cli.md
CHANGED
|
@@ -27,6 +27,9 @@ npx @xano/sdk marketplace install @xano-sdk/auth # add an add-on to the proje
|
|
|
27
27
|
npx @xano/sdk marketplace reinstall <toolchain-package> # re-ask a toolchain module its questions
|
|
28
28
|
npx @xano/sdk marketplace remove <toolchain-package> # uninstall it and drop what it contributed
|
|
29
29
|
|
|
30
|
+
npx @xano/sdk ai models # the current Xano AI models, what each allows and where it runs (no login needed)
|
|
31
|
+
npx @xano/sdk ai models --json --all # …as JSON, retired models included
|
|
32
|
+
|
|
30
33
|
npx @xano/sdk export ./xano/index.ts # bundle to stdout
|
|
31
34
|
npx @xano/sdk export ./xano/index.ts --out ws.json
|
|
32
35
|
npx @xano/sdk compile ./xano/functions/get-user.ts # a single function's JSON
|
package/guides/coverage.md
CHANGED
|
@@ -10,7 +10,7 @@ the real Xano engine golden fixtures, and a coverage report prints on every test
|
|
|
10
10
|
| Surface | Coverage |
|
|
11
11
|
|---|---|
|
|
12
12
|
| Object kinds | **27 / 31** — counted over the engine's catalog, where each trigger type is its own kind |
|
|
13
|
-
| Statements (via `s`) | **
|
|
13
|
+
| Statements (via `s`) | **227 / 227 (100%)** — every engine statement surface has a factory |
|
|
14
14
|
| Filters (via `fl`) | **246 / 246 (100%)** — every filter's signature is known: 144 carry arguments, 102 take none |
|
|
15
15
|
|
|
16
16
|
The four engine kinds you cannot author here are `tablemap`, the superseded
|
|
@@ -24,8 +24,8 @@ SDK's own catalogs; this table is hand-written, so a test asserts every figure i
|
|
|
24
24
|
`buildManifest()` (`@xano/sdk/internal`) — the numbers here and the numbers an agent
|
|
25
25
|
reads cannot disagree.
|
|
26
26
|
|
|
27
|
-
The statement catalog is generated from the engine's own schemas (`npm run codegen`):
|
|
28
|
-
the
|
|
27
|
+
The statement catalog is generated from the engine's own schemas (`npm run codegen`): 161 of
|
|
28
|
+
the 227 surfaces are declarative and carry a typed field schema, and the remaining 66 —
|
|
29
29
|
control flow, the `db` family, the call family — are hand-authored. **Reachable ≠ byte-verified**: every surface is
|
|
30
30
|
authorable, but a structural special without a persisted golden yet emits a shape *modeled*
|
|
31
31
|
on the engine schema, to be deep-equal'd against fixtures as they are captured.
|
|
@@ -64,7 +64,7 @@ can learn the SDK without reading source:
|
|
|
64
64
|
- **`manifest.json`** — the exhaustive reference tier, reached by targeted lookup (grep or
|
|
65
65
|
`jq` one entry; never read it whole). Every object kind (factory, `Xano.register*` method,
|
|
66
66
|
payload key), every statement surface (the `s.<path>` accessor, stored `mvp:` name, and a
|
|
67
|
-
typed field schema for the
|
|
67
|
+
typed field schema for the 161 declarative statements), the value constructors, the tag
|
|
68
68
|
catalog, the filter catalog, and every CLI command and flag — plus live coverage counts.
|
|
69
69
|
|
|
70
70
|
Both derive from the SDK's own sources of truth (so they can't drift), regenerate with
|
package/llms/kinds-agent-mcp.md
CHANGED
|
@@ -25,8 +25,10 @@
|
|
|
25
25
|
- `s.mcp.oauth.request({ request, as? })` — a pending sign-in's verified details for your `loginUrl` page to show before the user approves: `{ client_name, client_logo, callback_host, client_verified, server_name }`. Does not consume it.
|
|
26
26
|
- `s.mcp.oauth.revoke({ mcp_server, user_id? | grant_id? | all?, as? })` — end hosted sign-ins on a server: EXACTLY ONE of `user_id`, `grant_id`, `all: c.bool(true)`, else `export()` fails (`mcp.oauth-revoke-target`). Binds `{ revoked }`.
|
|
27
27
|
- `agent({ name, guid?, description?, docs?, enabled?, canonical?, tags?, history?, llm, tools?, output? })` — an LLM orchestrator. No top-level `instructions`/`prompt`/`spec` — the prompt lives under `llm`. Invoke from a stack with `s.ai.agent.run({ agent, args })`.
|
|
28
|
-
- `llm` (REQUIRED): typed provider settings, a discriminated union on `type` (`"xano-free" | "anthropic" | "openai" | "google-genai"`). Shared fields: `systemPrompt?`, `maxSteps?` (default `5`), and `prompt?` XOR `messages?` (mutually exclusive; both is a type error and throws); plus provider fields (`apiKey?`, `model?`, `temperature?`, `reasoningEffort?`, …). String fields accept Twig placeholders — `{{ $args.x }}` for run inputs (the `args` of `s.ai.agent.run`), `{{ $env.NAME }}` for env vars.
|
|
28
|
+
- `llm` (REQUIRED): typed provider settings, a discriminated union on `type` (`"xano-free" | "xano-ai" | "anthropic" | "openai" | "google-genai"`). Shared fields: `systemPrompt?`, `maxSteps?` (default `5`), and `prompt?` XOR `messages?` (mutually exclusive; both is a type error and throws); plus provider fields (`apiKey?`, `model?`, `temperature?`, `reasoningEffort?`, …). String fields accept Twig placeholders — `{{ $args.x }}` for run inputs (the `args` of `s.ai.agent.run`), `{{ $env.NAME }}` for env vars.
|
|
29
29
|
- `xano-free` runs only on Xano's cloud: on the Xano Engine on this machine a run fails `ERROR_FATAL` `The free model is not available in this process.` — use a keyed provider there.
|
|
30
|
+
- `xano-ai` on the Xano Engine on this machine: each `deploy` (and the restart `local update` makes) gives the engine a Xano AI credential from the `xanosdk login` sign-in — the profile the project pins, `XANO_PROFILE`, or the default. It lasts as long as the engine runs, A DAY AT MOST, and the next deploy renews it with no restart. Billed to the signed-in user; `--ai-billing instance`, or `"aiBilling": "instance"` under `"xanosdk"."@xano/sdk"` in package.json, bills the owner of the instance signed in to (the flag wins). Without a usable sign-in (none, a pasted meta token, one without Xano AI access) the deploy still succeeds and prints why Xano AI is off and the fix; `--json` carries `ai: { status, billing, expiresAt?, reason? }`. An engine started by an SDK before this needs `xanosdk local stop <name>`, then a deploy.
|
|
31
|
+
- `xano-ai` runs Xano AI models, with no `apiKey`: `model?` must be a literal name (a `{{ … }}` or expression THROWS, since the run would use the default model), and `location?` is `"" | "us" | "global" | "eu"` (or a `{{ … }}` template), set on the agent, not per run (which location wins: `llms/statements-ai.md`). ⚠ A literal `model` the gateway does not list for agents (`agent.models` in `ai models`) runs the default model instead, with no error.
|
|
30
32
|
- `tools?`: same `ToolsetToolEntry[]` as `mcpServer` — bare `tool()` handles, or a `{ tool, enabled?, auth? }` wrapper when one needs `enabled`/`auth`. A tool reading `auth()` needs the wrapper naming its auth table (see `mcpServer`'s `tools?`).
|
|
31
33
|
- `output?`: `{ schema: Record<string, input.*>, enabled? }` — structured-output schema. With `tools`, the run executes them first, then shapes its answer into the schema. `schema` is a named-field record authored with the `input.*` catalog, exactly like a `defineFunction`/`query` `input:` map. e.g. `output: { schema: { priority: input.enum(["low","high"]), summary: input.text() } }`. When you pass the agent *handle* to `s.ai.agent.run({ agent })`, `.result` is typed from this schema; `resultShape` only overrides that, or types an agent referenced by bare name.
|
|
32
34
|
- **Run + read recipe (`s.ai.agent.run`):** bind the run to a var (`s.ai.agent.run({ agent, args, as: "run" })`) — it produces a rich envelope, and the completion is at **`.result`**. Read one structured field with a dotted ref (`response: ref("run.result.priority")`) or the whole completion (`ref("run.result")`, typed from `output.schema`). `args` is a plain object of run inputs (`{ topic: inp("topic") }` — raw literals are fine, e.g. `{ max_steps: 3 }`) surfaced to the agent as `{{ $args.topic }}`. `.toolCalls` is the FINAL step's calls only (often `[]`); every call is a `.steps[].content[]` entry of `type: "tool-call"`. `allowToolExecution` defaults to true. ⚠ `c.bool(false)` does not hide the tools: the model still emits a call, the call never executes, and the run ends with an empty `result` (warns `stack.agent-tools-off`).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# AI statements
|
|
2
|
+
|
|
3
|
+
> Read when the stack calls `s.ai.*` (a Xano AI model, an external MCP server) or you choose where a Xano AI call runs.
|
|
4
|
+
|
|
5
|
+
On the Xano AI model statements, `model` takes any string and autocompletes the known models; the suggestions come from a snapshot and can lag. For the current list, what each model allows and where it can run, run `npx @xano/sdk ai models --json` (`--all` adds unlisted models). It keys `statements` by short name: `text`→`s.ai.text.generate`, `image`→`s.ai.image.generate`, `video`→`s.ai.video.generate`, `music`→`s.ai.music.generate`, `speech`→`s.ai.speech.generate`, `transcribe`→`s.ai.speech.transcribe`, `embedding`→`s.ai.embedding.create`, `rerank`→`s.ai.rerank`; `agent.models` are the `xano-ai` agent models. Leave `model` out to run the statement's default. `s.ai.text.generate` needs `prompt` or `messages`. ⚠ `save_to_files` on `s.ai.video.generate`, `s.ai.music.generate` and `s.ai.speech.generate` needs a paid plan (`s.ai.image.generate` does not).
|
|
6
|
+
|
|
7
|
+
- **Where a call runs (`location`)**, on these statements and on a `xano-ai` agent: its own `location` wins; blank inherits the workspace's Xano AI location; blank there too sends none, and the gateway runs the model at its default. An explicit `"global"` opts out of a workspace `"eu"`. A statement refuses, before sending anything, a location its model cannot run at (the model's `locations` in `ai models`); an agent's location is refused by the gateway instead.
|
|
8
|
+
- **The workspace's Xano AI location:** `workspaceConfig({ settings: { ai_settings: { providers: { "xano-ai": { location: "eu" } } } } })`, `"" | "us" | "global" | "eu"`, lowercase (anything else THROWS). A deploy that omits the `xano-ai` block keeps the live location; an empty block or `location: ""` clears it. A merge (`deploy --to`) writes no workspace settings, and `--branch <label>` leaves them alone.
|
|
9
|
+
|
|
10
|
+
- `s.ai.agent.run` [special]
|
|
11
|
+
- `s.ai.embedding.create({ as?: string; model?: value; input: value; task_type?: value; dimensions?: value; location?: "" | "us" | "global" | "eu" })` → as: { embeddings: number[][]; model: string; usage: { input_tokens?: number; output_tokens?: number } } (one vector per input, in input order; a single input still binds a list of one — read embeddings[0])
|
|
12
|
+
- `s.ai.external.mcp.server_details({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream" })`
|
|
13
|
+
- `s.ai.external.mcp.tool.list({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream" })`
|
|
14
|
+
- `s.ai.external.mcp.tool.run({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream"; tool: value; args?: value })`
|
|
15
|
+
- `s.ai.image.generate({ as?: string; model?: value; prompt: value; images?: value; aspect_ratio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9"; image_size?: "1K" | "2K" | "4K"; save_to_files?: "" | "public" | "private"; location?: "" | "us" | "global" | "eu" })` → as: { image: <file resource> | XanoFileRef; text: string; model: string; usage: { input_tokens?: number; output_tokens?: number } } (image is the file resource (pass it to s.storage.create_image to keep it), or the stored file value when save_to_files is "public"/"private". text is "" when the model returns none)
|
|
16
|
+
- `s.ai.music.generate({ as?: string; model?: value; prompt: value; negative_prompt?: value; seed?: value; save_to_files?: "" | "public" | "private"; location?: "" | "us" | "global" | "eu" })` → as: { audio: <file resource> | XanoFileRef; model: string; lyrics: string | null; description: string | null } (audio is the file resource, or the stored file value when save_to_files is set. lyrics/description are null when the model gives none (some never do))
|
|
17
|
+
- `s.ai.rerank({ as?: string; model?: value; query: value; documents: value; top_n?: value; location?: "" | "us" | "global" | "eu" })` → as: { results: { index: number; id: string; score: number; content: string }[]; model: string } (results best first (top_n limits them). index is the position in documents; id is the document's id, or its index as a string when it had none)
|
|
18
|
+
- `s.ai.speech.generate({ as?: string; model?: value; text: value; voice?: value; instructions?: value; save_to_files?: "" | "public" | "private"; location?: "" | "us" | "global" | "eu" })` → as: { audio: <file resource> | XanoFileRef; model: string; usage: { input_tokens?: number; output_tokens?: number } } (audio is the file resource, or the stored file value when save_to_files is set)
|
|
19
|
+
- `s.ai.speech.transcribe({ as?: string; model?: value; audio: value; language?: value; prompt?: value; location?: "" | "us" | "global" | "eu" })` → as: { text: string; model: string; usage: { input_tokens?: number; output_tokens?: number } }
|
|
20
|
+
- `s.ai.text.generate({ as?: string; model?: value; prompt?: value; system?: value; messages?: value; files?: value; temperature?: value; max_tokens?: value; response_format?: "text" | "json"; json_schema?: value; location?: "" | "us" | "global" | "eu" })` → as: { text: string; json: unknown; model: string; finish_reason: string | null; usage: { input_tokens?: number; output_tokens?: number } } (json is the parsed reply when response_format is "json" (throws if it does not parse), else null. finish_reason is stop | max_tokens | safety | ..., null when none. usage can be {})
|
|
21
|
+
- `s.ai.video.generate({ as?: string; model?: value; prompt: value; negative_prompt?: value; image?: value; last_image?: value; aspect_ratio?: "16:9" | "9:16"; resolution?: "720p" | "1080p" | "4k"; duration?: value; generate_audio?: value; timeout?: value; save_to_files?: "" | "public" | "private"; location?: "" | "us" | "global" | "eu" })` → as: { video: <file resource> | XanoFileRef; model: string; duration: number } (video is the file resource, or the stored file value when save_to_files is set. duration in SECONDS)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Statement catalog
|
|
2
2
|
|
|
3
|
-
> Read for the field signature of a specific statement — every surface
|
|
3
|
+
> Read for the field signature of a specific statement — every surface but `s.ai.*`, grouped by `s.*` namespace.
|
|
4
4
|
|
|
5
5
|
`[special]`: hand-written signature (`llms.txt` Specials, `llms/statements-*`). `[output]`: the engine's output flag; in-place mutators carrying it (`s.math.add`, `bitwise.*`) still take no `as`.
|
|
6
6
|
|
|
@@ -36,13 +36,6 @@
|
|
|
36
36
|
|
|
37
37
|
- `s.addon.call` [special]
|
|
38
38
|
|
|
39
|
-
### ai
|
|
40
|
-
|
|
41
|
-
- `s.ai.agent.run` [special]
|
|
42
|
-
- `s.ai.external.mcp.server_details({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream" })`
|
|
43
|
-
- `s.ai.external.mcp.tool.list({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream" })`
|
|
44
|
-
- `s.ai.external.mcp.tool.run({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream"; tool: value; args?: value })`
|
|
45
|
-
|
|
46
39
|
### api
|
|
47
40
|
|
|
48
41
|
- `s.api.call` [special]
|