@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
package/dist/internal.js
CHANGED
|
@@ -20,8 +20,8 @@ import {
|
|
|
20
20
|
selectorValues,
|
|
21
21
|
sourceSpellings,
|
|
22
22
|
visibleFlags
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-6534P3VH.js";
|
|
24
|
+
import "./chunk-WK5QDV25.js";
|
|
25
25
|
import {
|
|
26
26
|
GENERATED_STATEMENT_NAMES,
|
|
27
27
|
HEADER_DUPLICATES,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
toolKind,
|
|
66
66
|
triggerKind,
|
|
67
67
|
workflowTestKind
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-MGC5S6OE.js";
|
|
69
69
|
import {
|
|
70
70
|
encodeQuery,
|
|
71
71
|
encodeResponse,
|
|
@@ -74,8 +74,8 @@ import {
|
|
|
74
74
|
import {
|
|
75
75
|
encodeWorkspaceConfig,
|
|
76
76
|
workspaceKind
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import "./chunk-
|
|
77
|
+
} from "./chunk-GUHJV7C5.js";
|
|
78
|
+
import "./chunk-EME5G4YP.js";
|
|
79
79
|
import {
|
|
80
80
|
resolveAuthRef
|
|
81
81
|
} from "./chunk-TPUAXIPR.js";
|
|
@@ -101,13 +101,14 @@ import {
|
|
|
101
101
|
isQueryExpressionFilter,
|
|
102
102
|
microserviceKind,
|
|
103
103
|
registerSpec
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-CJ5WRCVE.js";
|
|
105
105
|
import "./chunk-4EVDCSEY.js";
|
|
106
106
|
import {
|
|
107
107
|
FILTER_NAMES,
|
|
108
108
|
FILTER_SPECS
|
|
109
109
|
} from "./chunk-RLQX6LHW.js";
|
|
110
110
|
import "./chunk-U56HK2RG.js";
|
|
111
|
+
import "./chunk-6SXKKDGF.js";
|
|
111
112
|
import {
|
|
112
113
|
buildMiddlewareBlock,
|
|
113
114
|
buildWorkspaceHistory,
|
|
@@ -169,7 +170,7 @@ import {
|
|
|
169
170
|
STATEMENT_SURFACES,
|
|
170
171
|
TOTAL_STATEMENTS,
|
|
171
172
|
sPathOf
|
|
172
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-7LLVSTXY.js";
|
|
173
174
|
import "./chunk-EAZTRU75.js";
|
|
174
175
|
import {
|
|
175
176
|
toNestedFields
|
|
@@ -198,6 +199,89 @@ import "./chunk-OHX6MIUZ.js";
|
|
|
198
199
|
import "./chunk-36JUQZVQ.js";
|
|
199
200
|
import "./chunk-PZ5AY32C.js";
|
|
200
201
|
|
|
202
|
+
// src/statements/generated/xano-ai-models.generated.ts
|
|
203
|
+
var XANO_AI_TEXT_MODELS = [
|
|
204
|
+
"gemini-3.8-flash",
|
|
205
|
+
"gemini-4-argon",
|
|
206
|
+
"gemini-3.5-flash-lite",
|
|
207
|
+
"gemini-3.5-flash",
|
|
208
|
+
"claude-fable-5-1",
|
|
209
|
+
"claude-opus-5-5",
|
|
210
|
+
"claude-sonnet-5-5",
|
|
211
|
+
"claude-haiku-5-5"
|
|
212
|
+
];
|
|
213
|
+
var XANO_AI_IMAGE_MODELS = [
|
|
214
|
+
"gemini-3.1-flash-image",
|
|
215
|
+
"gemini-3-pro-image",
|
|
216
|
+
"gemini-3.1-flash-lite-image",
|
|
217
|
+
"gemini-nano-banana-2.1"
|
|
218
|
+
];
|
|
219
|
+
var XANO_AI_VIDEO_MODELS = [
|
|
220
|
+
"veo-3.1-fast-generate-001",
|
|
221
|
+
"veo-3.1-generate-001",
|
|
222
|
+
"veo-3.1-lite-generate-001"
|
|
223
|
+
];
|
|
224
|
+
var XANO_AI_MUSIC_MODELS = [
|
|
225
|
+
"lyria-002",
|
|
226
|
+
"lyria-3-clip-preview",
|
|
227
|
+
"lyria-3-pro-preview"
|
|
228
|
+
];
|
|
229
|
+
var XANO_AI_SPEECH_MODELS = [
|
|
230
|
+
"gemini-3.8-flash-tts",
|
|
231
|
+
"gemini-3.8-flash-lite-tts"
|
|
232
|
+
];
|
|
233
|
+
var XANO_AI_SPEECH_VOICES = [
|
|
234
|
+
"Zephyr",
|
|
235
|
+
"Puck",
|
|
236
|
+
"Charon",
|
|
237
|
+
"Kore",
|
|
238
|
+
"Fenrir",
|
|
239
|
+
"Leda",
|
|
240
|
+
"Orus",
|
|
241
|
+
"Aoede",
|
|
242
|
+
"Callirrhoe",
|
|
243
|
+
"Autonoe",
|
|
244
|
+
"Enceladus",
|
|
245
|
+
"Iapetus",
|
|
246
|
+
"Umbriel",
|
|
247
|
+
"Algieba",
|
|
248
|
+
"Despina",
|
|
249
|
+
"Erinome",
|
|
250
|
+
"Algenib",
|
|
251
|
+
"Rasalgethi",
|
|
252
|
+
"Laomedeia",
|
|
253
|
+
"Achernar",
|
|
254
|
+
"Alnilam",
|
|
255
|
+
"Schedar",
|
|
256
|
+
"Gacrux",
|
|
257
|
+
"Pulcherrima",
|
|
258
|
+
"Achird",
|
|
259
|
+
"Zubenelgenubi",
|
|
260
|
+
"Vindemiatrix",
|
|
261
|
+
"Sadachbia",
|
|
262
|
+
"Sadaltager",
|
|
263
|
+
"Sulafat"
|
|
264
|
+
];
|
|
265
|
+
var XANO_AI_TRANSCRIBE_MODELS = [
|
|
266
|
+
"gemini-3.5-transcribe"
|
|
267
|
+
];
|
|
268
|
+
var XANO_AI_EMBEDDING_MODELS = [
|
|
269
|
+
"gemini-embedding-2",
|
|
270
|
+
"gemini-embedding-001"
|
|
271
|
+
];
|
|
272
|
+
var XANO_AI_RERANK_MODELS = [];
|
|
273
|
+
var XANO_AI_SUGGESTIONS = {
|
|
274
|
+
"mvp:ai_text_generate:model": XANO_AI_TEXT_MODELS,
|
|
275
|
+
"mvp:ai_image_generate:model": XANO_AI_IMAGE_MODELS,
|
|
276
|
+
"mvp:ai_video_generate:model": XANO_AI_VIDEO_MODELS,
|
|
277
|
+
"mvp:ai_music_generate:model": XANO_AI_MUSIC_MODELS,
|
|
278
|
+
"mvp:ai_speech_generate:model": XANO_AI_SPEECH_MODELS,
|
|
279
|
+
"mvp:ai_speech_generate:voice": XANO_AI_SPEECH_VOICES,
|
|
280
|
+
"mvp:ai_speech_transcribe:model": XANO_AI_TRANSCRIBE_MODELS,
|
|
281
|
+
"mvp:ai_embedding_create:model": XANO_AI_EMBEDDING_MODELS,
|
|
282
|
+
"mvp:ai_rerank:model": XANO_AI_RERANK_MODELS
|
|
283
|
+
};
|
|
284
|
+
|
|
201
285
|
// src/statements/byte-evidence.ts
|
|
202
286
|
var UNCONFIRMED_STATEMENTS = /* @__PURE__ */ new Set([]);
|
|
203
287
|
var UNCONFIRMED_NOTE = "Built from the engine's schema declaration, with no stored instance behind them to compare the emitted bytes against \u2014 every other statement has one. Fully authorable and not deprecated; the field schema may simply be less exact than the rest. If a deploy rejects one of these, read it as a shape question and pull the workspace back to see what the engine stored, rather than rewriting working code around it.";
|
|
@@ -359,6 +443,9 @@ var NAMESPACE_NOTES = {
|
|
|
359
443
|
// lines down says it and a call omitting one does not compile. A warning that
|
|
360
444
|
// restates the type costs every reader of this section and changes nothing an
|
|
361
445
|
// agent writes.
|
|
446
|
+
// Rendered at the top of `llms/statements-ai.md`, which holds the whole `ai`
|
|
447
|
+
// namespace (see renderSections).
|
|
448
|
+
ai: "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`\u2192`s.ai.text.generate`, `image`\u2192`s.ai.image.generate`, `video`\u2192`s.ai.video.generate`, `music`\u2192`s.ai.music.generate`, `speech`\u2192`s.ai.speech.generate`, `transcribe`\u2192`s.ai.speech.transcribe`, `embedding`\u2192`s.ai.embedding.create`, `rerank`\u2192`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`. \u26A0 `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).",
|
|
362
449
|
array: '`by` is a `$this` expression, NOT a column name: `by: ref("$this.id")` (warns `stack.array-key-constant`). A predicate\'s `if` binds `$this` only; `$index` only in `partition` (warns `stack.array-index-unbound`).',
|
|
363
450
|
debug: '`s.debug.stop` is a REAL terminator: it ends the request with HTTP 200 `{ payload, statement: "Stop & Debug" }` (use `s.precondition` for an error status). Also exported flat as `die()`; there is no `s.die`.',
|
|
364
451
|
"(top-level)": '`s.throw` raises a named error `s.try_catch` catches; uncaught, it answers HTTP 200 `{ payload, statement: "Throw Error" }`, or its `status` (100\u2013599) when it sets one. Inside `s.db.transaction` a throw or failed precondition rolls it back.',
|
|
@@ -568,7 +655,44 @@ var STATEMENT_RESULTS = {
|
|
|
568
655
|
// factory has no `as` param). Semantics live in llms/statements-runtime.md.
|
|
569
656
|
"object.keys": { name: "as", type: "(string | number)[]", note: "an integer-like key comes back as a NUMBER (PHP coerces it), not a string" },
|
|
570
657
|
"object.values": { name: "as", type: "unknown[]" },
|
|
571
|
-
"object.entries": { name: "as", type: "{ key: string | number; value: unknown }[]", note: "each entry is a { key, value } OBJECT, NOT a [key, value] tuple; an integer-like key comes back as a number" }
|
|
658
|
+
"object.entries": { name: "as", type: "{ key: string | number; value: unknown }[]", note: "each entry is a { key, value } OBJECT, NOT a [key, value] tuple; an integer-like key comes back as a number" },
|
|
659
|
+
// ai.* — the eight Xano AI statements; mirrors the result types InferResponse traces.
|
|
660
|
+
"ai.text.generate": {
|
|
661
|
+
name: "as",
|
|
662
|
+
type: "{ text: string; json: unknown; model: string; finish_reason: string | null; usage: { input_tokens?: number; output_tokens?: number } }",
|
|
663
|
+
note: '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 {}'
|
|
664
|
+
},
|
|
665
|
+
"ai.image.generate": {
|
|
666
|
+
name: "as",
|
|
667
|
+
type: "{ image: <file resource> | XanoFileRef; text: string; model: string; usage: { input_tokens?: number; output_tokens?: number } }",
|
|
668
|
+
note: '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'
|
|
669
|
+
},
|
|
670
|
+
"ai.video.generate": {
|
|
671
|
+
name: "as",
|
|
672
|
+
type: "{ video: <file resource> | XanoFileRef; model: string; duration: number }",
|
|
673
|
+
note: "video is the file resource, or the stored file value when save_to_files is set. duration in SECONDS"
|
|
674
|
+
},
|
|
675
|
+
"ai.speech.generate": {
|
|
676
|
+
name: "as",
|
|
677
|
+
type: "{ audio: <file resource> | XanoFileRef; model: string; usage: { input_tokens?: number; output_tokens?: number } }",
|
|
678
|
+
note: "audio is the file resource, or the stored file value when save_to_files is set"
|
|
679
|
+
},
|
|
680
|
+
"ai.music.generate": {
|
|
681
|
+
name: "as",
|
|
682
|
+
type: "{ audio: <file resource> | XanoFileRef; model: string; lyrics: string | null; description: string | null }",
|
|
683
|
+
note: "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)"
|
|
684
|
+
},
|
|
685
|
+
"ai.speech.transcribe": { name: "as", type: "{ text: string; model: string; usage: { input_tokens?: number; output_tokens?: number } }" },
|
|
686
|
+
"ai.embedding.create": {
|
|
687
|
+
name: "as",
|
|
688
|
+
type: "{ embeddings: number[][]; model: string; usage: { input_tokens?: number; output_tokens?: number } }",
|
|
689
|
+
note: "one vector per input, in input order; a single input still binds a list of one \u2014 read embeddings[0]"
|
|
690
|
+
},
|
|
691
|
+
"ai.rerank": {
|
|
692
|
+
name: "as",
|
|
693
|
+
type: "{ results: { index: number; id: string; score: number; content: string }[]; model: string }",
|
|
694
|
+
note: "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"
|
|
695
|
+
}
|
|
572
696
|
};
|
|
573
697
|
var CONTEXT_FIELD_ENUMS = {
|
|
574
698
|
"mvp:precondition:error_type": PRECONDITION_ERROR_TYPES,
|
|
@@ -592,6 +716,8 @@ function fieldsOf(spec) {
|
|
|
592
716
|
const curated = CONTEXT_FIELD_ENUMS[`${spec.name}:${r.field}`];
|
|
593
717
|
if (r.enum !== void 0) f.enum = r.enum;
|
|
594
718
|
else if (curated) f.enum = [...curated];
|
|
719
|
+
const examples = r.open && r.route.kind === "input" ? XANO_AI_SUGGESTIONS[`${spec.name}:${r.route.name}`] : void 0;
|
|
720
|
+
if (examples?.length) f.examples = [...examples];
|
|
595
721
|
return f;
|
|
596
722
|
});
|
|
597
723
|
}
|
|
@@ -989,7 +1115,7 @@ function renderSections(m) {
|
|
|
989
1115
|
"Per-surface detail is in the topic files below: open the one whose condition matches the task.",
|
|
990
1116
|
"Per-entry detail (a statement's field schema with engine defaults, a filter's full argument",
|
|
991
1117
|
"list, the `storedName` mapping) is in the shipped `manifest.json` \u2014 do a TARGETED lookup;",
|
|
992
|
-
"it is ~
|
|
1118
|
+
"it is ~80k tokens, so never read it whole. A program imports it as `@xano/sdk/manifest.json`",
|
|
993
1119
|
'(Node ESM needs `with { type: "json" }`). Its top-level keys are `' + Object.keys(m).join("`, `") + "`. `statements` and `filters` are ARRAYS, not maps \u2014 SELECT, do not index:",
|
|
994
1120
|
` jq '.statements[] | select(.sPath=="db.get")' manifest.json`,
|
|
995
1121
|
` jq '.filters[] | select(.name=="json_decode")' manifest.json`,
|
|
@@ -1766,8 +1892,10 @@ function renderSections(m) {
|
|
|
1766
1892
|
"- `s.mcp.oauth.request({ request, as? })` \u2014 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.",
|
|
1767
1893
|
"- `s.mcp.oauth.revoke({ mcp_server, user_id? | grant_id? | all?, as? })` \u2014 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 }`.",
|
|
1768
1894
|
"- `agent({ name, guid?, description?, docs?, enabled?, canonical?, tags?, history?, llm, tools?, output? })` \u2014 an LLM orchestrator. No top-level `instructions`/`prompt`/`spec` \u2014 the prompt lives under `llm`. Invoke from a stack with `s.ai.agent.run({ agent, args })`.",
|
|
1769
|
-
' - `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?`, \u2026). String fields accept Twig placeholders \u2014 `{{ $args.x }}` for run inputs (the `args` of `s.ai.agent.run`), `{{ $env.NAME }}` for env vars.',
|
|
1895
|
+
' - `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?`, \u2026). String fields accept Twig placeholders \u2014 `{{ $args.x }}` for run inputs (the `args` of `s.ai.agent.run`), `{{ $env.NAME }}` for env vars.',
|
|
1770
1896
|
" - `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.` \u2014 use a keyed provider there.",
|
|
1897
|
+
' - `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 \u2014 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.',
|
|
1898
|
+
' - `xano-ai` runs Xano AI models, with no `apiKey`: `model?` must be a literal name (a `{{ \u2026 }}` or expression THROWS, since the run would use the default model), and `location?` is `"" | "us" | "global" | "eu"` (or a `{{ \u2026 }}` template), set on the agent, not per run (which location wins: `llms/statements-ai.md`). \u26A0 A literal `model` the gateway does not list for agents (`agent.models` in `ai models`) runs the default model instead, with no error.',
|
|
1771
1899
|
" - `tools?`: same `ToolsetToolEntry[]` as `mcpServer` \u2014 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?`).",
|
|
1772
1900
|
' - `output?`: `{ schema: Record<string, input.*>, enabled? }` \u2014 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.',
|
|
1773
1901
|
' - **Run + read recipe (`s.ai.agent.run`):** bind the run to a var (`s.ai.agent.run({ agent, args, as: "run" })`) \u2014 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") }` \u2014 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. \u26A0 `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`).',
|
|
@@ -2151,7 +2279,7 @@ function renderSections(m) {
|
|
|
2151
2279
|
lines.push(
|
|
2152
2280
|
"Reachable through the `s` namespace: `s.<path>({...})`. Declarative statements",
|
|
2153
2281
|
"take one typed args object (field names match the engine); every surface's field",
|
|
2154
|
-
"signature is in `llms/statements-catalog.md
|
|
2282
|
+
"signature is in `llms/statements-catalog.md` (`s.ai.*`: `llms/statements-ai.md`). Specials (`[special]`) are",
|
|
2155
2283
|
"hand-authored: control flow is below, the rest are in the `llms/statements-*` topic files.",
|
|
2156
2284
|
"Fields marked `value` take a `Value` (`c.*`/`ref`/`inp`); `comparison` takes an",
|
|
2157
2285
|
"`expr(...)`. A `\u2192 as: <type>` suffix names what the statement's `as:` output var",
|
|
@@ -2464,34 +2592,44 @@ function renderSections(m) {
|
|
|
2464
2592
|
"- `s.workflow_test.call({ workflowTest, datasource?, as? })` \u2014 run another workflow test from inside one, which is the only place it runs (see Gotchas in `llms.txt`). NO `input`; `datasource?` has the kind's clone caveat.",
|
|
2465
2593
|
""
|
|
2466
2594
|
];
|
|
2595
|
+
const AI_NAMESPACE = "ai";
|
|
2467
2596
|
const groups = /* @__PURE__ */ new Map();
|
|
2468
2597
|
for (const s of m.statements) {
|
|
2469
2598
|
if (s.legacy) continue;
|
|
2470
2599
|
const ns = s.sPath.includes(".") ? s.sPath.slice(0, s.sPath.indexOf(".")) : "(top-level)";
|
|
2471
2600
|
(groups.get(ns) ?? groups.set(ns, []).get(ns)).push(s);
|
|
2472
2601
|
}
|
|
2602
|
+
const catalogLine = (s) => {
|
|
2603
|
+
const call = `s.${s.sPath}`;
|
|
2604
|
+
const flags = [s.declarative ? null : "special", s.registered ? null : "unregistered", s.output ? "output" : null].filter(Boolean).join(", ");
|
|
2605
|
+
const flagSuffix = flags ? ` [${flags}]` : "";
|
|
2606
|
+
const resultSuffix = s.result ? ` \u2192 ${s.result.name}: ${s.result.type}${s.result.note ? ` (${s.result.note})` : ""}` : "";
|
|
2607
|
+
if (s.fields) {
|
|
2608
|
+
const args = s.fields.map((f) => fieldLine(f, s.sPath)).join("; ");
|
|
2609
|
+
return `- \`${call}({ ${args} })\`${flagSuffix}${resultSuffix}`;
|
|
2610
|
+
}
|
|
2611
|
+
return `- \`${call}\`${flagSuffix}${resultSuffix}`;
|
|
2612
|
+
};
|
|
2473
2613
|
const stmtCatalog = [
|
|
2474
2614
|
"`[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`.",
|
|
2475
2615
|
""
|
|
2476
2616
|
];
|
|
2477
2617
|
for (const ns of [...groups.keys()].sort()) {
|
|
2618
|
+
if (ns === AI_NAMESPACE) continue;
|
|
2478
2619
|
stmtCatalog.push(`### ${ns}`, "");
|
|
2479
2620
|
const note = NAMESPACE_NOTES[ns];
|
|
2480
2621
|
if (note) stmtCatalog.push(note, "");
|
|
2481
|
-
for (const s of groups.get(ns))
|
|
2482
|
-
const call = `s.${s.sPath}`;
|
|
2483
|
-
const flags = [s.declarative ? null : "special", s.registered ? null : "unregistered", s.output ? "output" : null].filter(Boolean).join(", ");
|
|
2484
|
-
const flagSuffix = flags ? ` [${flags}]` : "";
|
|
2485
|
-
const resultSuffix = s.result ? ` \u2192 ${s.result.name}: ${s.result.type}${s.result.note ? ` (${s.result.note})` : ""}` : "";
|
|
2486
|
-
if (s.fields) {
|
|
2487
|
-
const args = s.fields.map((f) => fieldLine(f, s.sPath)).join("; ");
|
|
2488
|
-
stmtCatalog.push(`- \`${call}({ ${args} })\`${flagSuffix}${resultSuffix}`);
|
|
2489
|
-
} else {
|
|
2490
|
-
stmtCatalog.push(`- \`${call}\`${flagSuffix}${resultSuffix}`);
|
|
2491
|
-
}
|
|
2492
|
-
}
|
|
2622
|
+
for (const s of groups.get(ns)) stmtCatalog.push(catalogLine(s));
|
|
2493
2623
|
stmtCatalog.push("");
|
|
2494
2624
|
}
|
|
2625
|
+
const xanoAi = [
|
|
2626
|
+
NAMESPACE_NOTES[AI_NAMESPACE] ?? "",
|
|
2627
|
+
"",
|
|
2628
|
+
'- **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.',
|
|
2629
|
+
'- **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.',
|
|
2630
|
+
"",
|
|
2631
|
+
...(groups.get(AI_NAMESPACE) ?? []).map(catalogLine)
|
|
2632
|
+
];
|
|
2495
2633
|
const legacy = [];
|
|
2496
2634
|
const legacyValues = m.values.constructors.filter((v) => v.legacy);
|
|
2497
2635
|
const legacyStatements = m.statements.filter((s) => s.legacy);
|
|
@@ -2576,6 +2714,7 @@ function renderSections(m) {
|
|
|
2576
2714
|
stmtRuntime,
|
|
2577
2715
|
stmtCalls,
|
|
2578
2716
|
stmtCatalog,
|
|
2717
|
+
xanoAi,
|
|
2579
2718
|
values,
|
|
2580
2719
|
fields,
|
|
2581
2720
|
filters,
|
|
@@ -2724,8 +2863,14 @@ function renderDocs(m) {
|
|
|
2724
2863
|
{
|
|
2725
2864
|
path: "llms/statements-catalog.md",
|
|
2726
2865
|
title: "Statement catalog",
|
|
2727
|
-
readWhen: "Read for the field signature of a specific statement \u2014 every surface
|
|
2866
|
+
readWhen: "Read for the field signature of a specific statement \u2014 every surface but `s.ai.*`, grouped by `s.*` namespace.",
|
|
2728
2867
|
body: s.stmtCatalog
|
|
2868
|
+
},
|
|
2869
|
+
{
|
|
2870
|
+
path: "llms/statements-ai.md",
|
|
2871
|
+
title: "AI statements",
|
|
2872
|
+
readWhen: "Read when the stack calls `s.ai.*` (a Xano AI model, an external MCP server) or you choose where a Xano AI call runs.",
|
|
2873
|
+
body: s.xanoAi
|
|
2729
2874
|
}
|
|
2730
2875
|
];
|
|
2731
2876
|
const nav = [
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exportWorkspaceBundle
|
|
3
|
+
} from "./chunk-KHX6VQ4M.js";
|
|
1
4
|
import {
|
|
2
5
|
assertStorageModesKept,
|
|
3
6
|
discloseTableEffects,
|
|
4
7
|
droppedAndAdded,
|
|
5
8
|
tableEffectFields,
|
|
6
9
|
tableEffectsOf
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-Z7IINILG.js";
|
|
11
|
+
import "./chunk-X7IBJLAD.js";
|
|
9
12
|
import {
|
|
10
13
|
tableRowCounter
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SQVETROU.js";
|
|
12
15
|
import {
|
|
13
16
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
14
17
|
XanoSdkImportRefusal,
|
|
15
18
|
detectXanoSdkImportRoute,
|
|
16
19
|
xanosdkImport
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
exportWorkspaceBundle
|
|
20
|
-
} from "./chunk-2DUYJR5N.js";
|
|
20
|
+
} from "./chunk-4PHCBKJI.js";
|
|
21
21
|
import {
|
|
22
22
|
encodeWorkspaceArchive
|
|
23
23
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -30,32 +30,32 @@ import {
|
|
|
30
30
|
sectionKind,
|
|
31
31
|
storedColumnsAfter,
|
|
32
32
|
tableAdditions
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-G2XSDIYS.js";
|
|
33
|
+
} from "./chunk-P3WIMLG2.js";
|
|
34
|
+
import "./chunk-JXX2QXPP.js";
|
|
35
|
+
import "./chunk-I52AKG2O.js";
|
|
37
36
|
import "./chunk-2MNLRIOX.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import
|
|
41
|
-
|
|
37
|
+
import "./chunk-745NOWB7.js";
|
|
38
|
+
import "./chunk-EBSJUSID.js";
|
|
39
|
+
import {
|
|
40
|
+
seedRowsByTableGuid
|
|
41
|
+
} from "./chunk-LMX4VE4H.js";
|
|
42
|
+
import "./chunk-4DVP42ZC.js";
|
|
43
|
+
import "./chunk-OQMXCNN7.js";
|
|
42
44
|
import "./chunk-EUUUMY7J.js";
|
|
45
|
+
import "./chunk-5ABAIJVV.js";
|
|
46
|
+
import "./chunk-4GPIOIAC.js";
|
|
47
|
+
import "./chunk-HU7F56VF.js";
|
|
43
48
|
import {
|
|
44
49
|
shellWord
|
|
45
50
|
} from "./chunk-FWD7AL6N.js";
|
|
46
|
-
import {
|
|
47
|
-
UNTRUSTED_CERTIFICATE
|
|
48
|
-
} from "./chunk-NH5Z2NOD.js";
|
|
49
51
|
import "./chunk-4KHEMC32.js";
|
|
50
|
-
import {
|
|
51
|
-
seedRowsByTableGuid
|
|
52
|
-
} from "./chunk-WGGATSIP.js";
|
|
53
|
-
import "./chunk-IFHFJR5O.js";
|
|
54
52
|
import "./chunk-LLNZGEFK.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import
|
|
53
|
+
import "./chunk-4Y3SWNPE.js";
|
|
54
|
+
import {
|
|
55
|
+
UNTRUSTED_CERTIFICATE
|
|
56
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
57
|
+
import "./chunk-Q4R2ABFL.js";
|
|
57
58
|
import "./chunk-X2NL4KUO.js";
|
|
58
|
-
import "./chunk-4GPIOIAC.js";
|
|
59
59
|
import "./chunk-3YW23UFH.js";
|
|
60
60
|
import {
|
|
61
61
|
CliError,
|
|
@@ -63,11 +63,12 @@ import {
|
|
|
63
63
|
displayPath,
|
|
64
64
|
warn,
|
|
65
65
|
withSpinner
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-6534P3VH.js";
|
|
67
|
+
import "./chunk-GUHJV7C5.js";
|
|
68
68
|
import "./chunk-QDPY7RN3.js";
|
|
69
69
|
import "./chunk-RLQX6LHW.js";
|
|
70
70
|
import "./chunk-U56HK2RG.js";
|
|
71
|
+
import "./chunk-6SXKKDGF.js";
|
|
71
72
|
import "./chunk-WAP5362D.js";
|
|
72
73
|
import "./chunk-FSHW3GQU.js";
|
|
73
74
|
import "./chunk-ERVIASGL.js";
|
|
@@ -88,7 +89,7 @@ import "./chunk-G6BEJ3NA.js";
|
|
|
88
89
|
import "./chunk-F3JK5RIY.js";
|
|
89
90
|
import "./chunk-TFFGOFVZ.js";
|
|
90
91
|
import "./chunk-EHP3WPEG.js";
|
|
91
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-XDIPEWLU.js";
|
|
92
93
|
import "./chunk-EAZTRU75.js";
|
|
93
94
|
import "./chunk-FTFAPKCW.js";
|
|
94
95
|
import "./chunk-SIW2HT2H.js";
|
|
@@ -200,7 +201,7 @@ async function unreachableProbeError(err, req) {
|
|
|
200
201
|
}
|
|
201
202
|
const serverError = typeof status === "number" && (status >= 500 || status === 429) && answered !== null;
|
|
202
203
|
if (reach === null && !serverError || req.rerun === void 0) return err;
|
|
203
|
-
const { LookupFailedError, rateLimitedCause } = await import("./source-resolve-
|
|
204
|
+
const { LookupFailedError, rateLimitedCause } = await import("./source-resolve-MAMVIHDF.js");
|
|
204
205
|
const failed = new LookupFailedError(
|
|
205
206
|
reach !== null ? `Could not reach ${req.label} to ask whether it can merge (${reach[1]}). ${reach[1].includes(UNTRUSTED_CERTIFICATE) ? "A certificate problem" : "A network failure"} \u2014 nothing was sent and its data is untouched` : `${req.label[0].toUpperCase()}${req.label.slice(1)} answered the check whether it can merge with ${status === 429 ? "its rate limit" : "a server error"} (${answered[1].replace(/\.$/, "")}). ${status === 429 ? `${rateLimitedCause()}: nothing` : "Nothing"} was sent and its data is untouched`,
|
|
206
207
|
"unreachable",
|
|
@@ -213,7 +214,7 @@ async function unreachableProbeError(err, req) {
|
|
|
213
214
|
}
|
|
214
215
|
async function unansweredReadError(err, req) {
|
|
215
216
|
if (req.rerun === void 0) return err;
|
|
216
|
-
const { LookupFailedError, isRateLimited, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-
|
|
217
|
+
const { LookupFailedError, isRateLimited, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-MAMVIHDF.js");
|
|
217
218
|
const transport = isTransportFailure(err);
|
|
218
219
|
if (!transport && !isServerError(err)) return err;
|
|
219
220
|
const first = ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
|
|
@@ -1116,4 +1117,4 @@ export {
|
|
|
1116
1117
|
unansweredReadError,
|
|
1117
1118
|
unreachableProbeError
|
|
1118
1119
|
};
|
|
1119
|
-
//# sourceMappingURL=keep-data-merge-
|
|
1120
|
+
//# sourceMappingURL=keep-data-merge-NXP77QML.js.map
|
|
@@ -6,38 +6,40 @@ import {
|
|
|
6
6
|
recordForeignLanding,
|
|
7
7
|
recordLanding,
|
|
8
8
|
unvouchedIdentities
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-WGKKDGSA.js";
|
|
9
|
+
} from "./chunk-7Z43XRBL.js";
|
|
10
|
+
import "./chunk-DAXFWXSV.js";
|
|
12
11
|
import "./chunk-ZYJP6BOO.js";
|
|
12
|
+
import "./chunk-7ZVQIKNL.js";
|
|
13
|
+
import "./chunk-2H5BQRHF.js";
|
|
13
14
|
import "./chunk-QO6BVGS5.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-TDSRZDQP.js";
|
|
16
|
+
import "./chunk-4DVP42ZC.js";
|
|
17
|
+
import "./chunk-OQMXCNN7.js";
|
|
17
18
|
import "./chunk-EUUUMY7J.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-5ABAIJVV.js";
|
|
20
|
+
import "./chunk-4GPIOIAC.js";
|
|
21
|
+
import "./chunk-X3LYWTZ5.js";
|
|
22
|
+
import "./chunk-EQ2KB5YF.js";
|
|
23
|
+
import "./chunk-CJIXD67B.js";
|
|
24
|
+
import "./chunk-HU7F56VF.js";
|
|
25
|
+
import "./chunk-7J7YRAZB.js";
|
|
22
26
|
import "./chunk-ZFDZKNGG.js";
|
|
23
27
|
import "./chunk-FWD7AL6N.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-NH5Z2NOD.js";
|
|
28
|
+
import "./chunk-IUBGFCJJ.js";
|
|
29
|
+
import "./chunk-37BT62SX.js";
|
|
27
30
|
import "./chunk-4KHEMC32.js";
|
|
28
|
-
import "./chunk-2H5BQRHF.js";
|
|
29
31
|
import "./chunk-DNBP4GJN.js";
|
|
30
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-DORGB2Y2.js";
|
|
31
33
|
import "./chunk-WAVNUTMT.js";
|
|
32
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-LZDH5COS.js";
|
|
33
35
|
import "./chunk-LLNZGEFK.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-4Y3SWNPE.js";
|
|
37
|
+
import "./chunk-QZ2PC6B7.js";
|
|
38
|
+
import "./chunk-Q4R2ABFL.js";
|
|
36
39
|
import "./chunk-X2NL4KUO.js";
|
|
37
|
-
import "./chunk-4GPIOIAC.js";
|
|
38
40
|
import "./chunk-RHH6SCB4.js";
|
|
39
41
|
import "./chunk-LJM5CIY4.js";
|
|
40
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-6534P3VH.js";
|
|
41
43
|
import "./chunk-FMXPV5JI.js";
|
|
42
44
|
import "./chunk-UTI5G6OJ.js";
|
|
43
45
|
import "./chunk-VQDVEHDB.js";
|
|
@@ -59,4 +61,4 @@ export {
|
|
|
59
61
|
recordLanding,
|
|
60
62
|
unvouchedIdentities
|
|
61
63
|
};
|
|
62
|
-
//# sourceMappingURL=landing-record-
|
|
64
|
+
//# sourceMappingURL=landing-record-MK44WCRY.js.map
|
|
@@ -19,8 +19,9 @@ import {
|
|
|
19
19
|
tableAdditions,
|
|
20
20
|
uniqueIndexLabels,
|
|
21
21
|
vectorSize
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-P3WIMLG2.js";
|
|
23
|
+
import "./chunk-GUHJV7C5.js";
|
|
24
|
+
import "./chunk-6SXKKDGF.js";
|
|
24
25
|
import "./chunk-WAP5362D.js";
|
|
25
26
|
import "./chunk-ERVIASGL.js";
|
|
26
27
|
import "./chunk-JHAZK4RY.js";
|
|
@@ -29,7 +30,7 @@ import "./chunk-VQDVEHDB.js";
|
|
|
29
30
|
import "./chunk-5ZSO4T2G.js";
|
|
30
31
|
import "./chunk-VQPDATQT.js";
|
|
31
32
|
import "./chunk-F3JK5RIY.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-XDIPEWLU.js";
|
|
33
34
|
import "./chunk-EAZTRU75.js";
|
|
34
35
|
import "./chunk-FTFAPKCW.js";
|
|
35
36
|
import "./chunk-SIW2HT2H.js";
|
|
@@ -63,4 +64,4 @@ export {
|
|
|
63
64
|
uniqueIndexLabels,
|
|
64
65
|
vectorSize
|
|
65
66
|
};
|
|
66
|
-
//# sourceMappingURL=live-diff-
|
|
67
|
+
//# sourceMappingURL=live-diff-GZ6JUNP6.js.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ENGINE_TOKEN_ROUTE,
|
|
3
|
+
aiOutcomeDocument,
|
|
4
|
+
aiOutcomeLine,
|
|
5
|
+
readOrCreateMachineId,
|
|
6
|
+
requestEngineAiCredential
|
|
7
|
+
} from "./chunk-CBACTYIC.js";
|
|
8
|
+
import "./chunk-TEZKQQDT.js";
|
|
9
|
+
import "./chunk-DAXFWXSV.js";
|
|
10
|
+
import "./chunk-ZYJP6BOO.js";
|
|
11
|
+
import "./chunk-FVZ5C3PF.js";
|
|
12
|
+
import "./chunk-RQGSZ7AR.js";
|
|
13
|
+
import "./chunk-2H5BQRHF.js";
|
|
14
|
+
import "./chunk-QO6BVGS5.js";
|
|
15
|
+
import "./chunk-TDSRZDQP.js";
|
|
16
|
+
import "./chunk-OQMXCNN7.js";
|
|
17
|
+
import "./chunk-EUUUMY7J.js";
|
|
18
|
+
import "./chunk-5ABAIJVV.js";
|
|
19
|
+
import "./chunk-4GPIOIAC.js";
|
|
20
|
+
import "./chunk-HU7F56VF.js";
|
|
21
|
+
import "./chunk-FWD7AL6N.js";
|
|
22
|
+
import "./chunk-LLNZGEFK.js";
|
|
23
|
+
import "./chunk-4Y3SWNPE.js";
|
|
24
|
+
import "./chunk-QZ2PC6B7.js";
|
|
25
|
+
import "./chunk-Q4R2ABFL.js";
|
|
26
|
+
import "./chunk-X2NL4KUO.js";
|
|
27
|
+
import "./chunk-6534P3VH.js";
|
|
28
|
+
import "./chunk-FMXPV5JI.js";
|
|
29
|
+
import "./chunk-UTI5G6OJ.js";
|
|
30
|
+
import "./chunk-VQDVEHDB.js";
|
|
31
|
+
import "./chunk-5ZSO4T2G.js";
|
|
32
|
+
import "./chunk-VQPDATQT.js";
|
|
33
|
+
import "./chunk-TFFGOFVZ.js";
|
|
34
|
+
import "./chunk-FTS42N37.js";
|
|
35
|
+
import "./chunk-4BW2SG2N.js";
|
|
36
|
+
import "./chunk-SGEOXJIH.js";
|
|
37
|
+
import "./chunk-OHX6MIUZ.js";
|
|
38
|
+
import "./chunk-36JUQZVQ.js";
|
|
39
|
+
import "./chunk-PZ5AY32C.js";
|
|
40
|
+
export {
|
|
41
|
+
ENGINE_TOKEN_ROUTE,
|
|
42
|
+
aiOutcomeDocument,
|
|
43
|
+
aiOutcomeLine,
|
|
44
|
+
readOrCreateMachineId,
|
|
45
|
+
requestEngineAiCredential
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=local-engine-ai-3XLJLOBP.js.map
|