@xano/sdk 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +5 -4
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-VOGTQ3JE.js → agent-file-refresh-YM5VRRHE.js} +9 -9
- package/dist/{agent-skill-command-LDT5JXIO.js → agent-skill-command-GVVCBAGF.js} +45 -45
- package/dist/{answer-shape-UMQRXMCX.js → answer-shape-CBUQRSXI.js} +4 -4
- package/dist/{backend-dir-UNUO7TNL.js → backend-dir-NZOLU7TL.js} +9 -9
- package/dist/{backend-slot-TTRNOQF5.js → backend-slot-X5AUX2TT.js} +3 -3
- package/dist/bin.js +46 -46
- package/dist/{branch-Q7CDJRU6.js → branch-YS2K3VOB.js} +8 -8
- package/dist/{branch-commands-IJ7SK5AM.js → branch-commands-Q46PCVHU.js} +30 -30
- package/dist/bundle.d.ts +2 -2
- package/dist/bundle.js +5 -5
- package/dist/{chunk-4JKXGPXB.js → chunk-2BHYGUTI.js} +2 -2
- package/dist/{chunk-KCCZGDQG.js → chunk-2K2G5TSR.js} +3 -3
- package/dist/{chunk-ECGRCTVI.js → chunk-2PAVJ3QD.js} +7 -7
- package/dist/{chunk-6NXIRULE.js → chunk-2RDZDDPR.js} +28 -28
- package/dist/{chunk-VHV25AAO.js → chunk-373AVIL2.js} +7 -7
- package/dist/{chunk-YP76ZCQ5.js → chunk-3RZ4UJWV.js} +3 -3
- package/dist/{chunk-JSPFDMTV.js → chunk-3XZ44H2E.js} +3 -3
- package/dist/{chunk-TG65NWUR.js → chunk-3ZVSOZZC.js} +2 -2
- package/dist/{chunk-FZGK4VM5.js → chunk-4COXXP55.js} +4 -4
- package/dist/{chunk-76UAME77.js → chunk-4CS4DKQC.js} +2 -2
- package/dist/{chunk-GDAWYDHY.js → chunk-4GSXWOBS.js} +3 -3
- package/dist/{chunk-XUSL2Z5C.js → chunk-5RSPMSSQ.js} +4 -4
- package/dist/{chunk-HDKSHL4Z.js → chunk-5SZSLAAC.js} +3 -3
- package/dist/{chunk-NIANORYB.js → chunk-6IOBEJWA.js} +4 -4
- package/dist/{chunk-OHTHG3LL.js → chunk-6LECAG3Y.js} +4 -4
- package/dist/{chunk-VJTTTIIB.js → chunk-6QJORUHC.js} +2 -2
- package/dist/{chunk-3TWQDGQY.js → chunk-74NRFGL7.js} +5 -5
- package/dist/{chunk-7KPKDHHI.js → chunk-76SBT7KS.js} +2 -2
- package/dist/{chunk-YE7MHW45.js → chunk-7NNLRNXE.js} +4 -4
- package/dist/{chunk-2ND7WS3E.js → chunk-7XOQXZ6W.js} +7 -7
- package/dist/{chunk-6S263KTM.js → chunk-A3CT26GX.js} +2 -2
- package/dist/{chunk-45A3AF2B.js → chunk-AMHAGMJM.js} +109 -123
- package/dist/{chunk-CTKBGPM6.js → chunk-ANBIMJPM.js} +8 -8
- package/dist/{chunk-ULUUOUQX.js → chunk-AUYXBKGR.js} +2 -2
- package/dist/{chunk-BEXZ4XRV.js → chunk-AXNX4NWN.js} +2 -2
- package/dist/{chunk-QTMXJQZN.js → chunk-BXVNRUDB.js} +3 -3
- package/dist/{chunk-6PTITS3M.js → chunk-C4TZP5PQ.js} +5 -5
- package/dist/{chunk-Z52FKP34.js → chunk-CPFWVB3V.js} +13 -13
- package/dist/{chunk-HFOGQIII.js → chunk-CTUIMNEM.js} +2 -2
- package/dist/{chunk-C6KBZH7M.js → chunk-D4VKPOD4.js} +2 -2
- package/dist/{chunk-HVPSDQJB.js → chunk-DB7P2SSK.js} +3 -3
- package/dist/{chunk-GN5SQMIQ.js → chunk-DFCYAEBE.js} +2 -2
- package/dist/{chunk-DW47JVXI.js → chunk-DH32QXVI.js} +42 -42
- package/dist/{chunk-TR7EOUQE.js → chunk-DILYWJVP.js} +2 -2
- package/dist/{chunk-ZO3QWFNV.js → chunk-DYGRTWAI.js} +3 -3
- package/dist/{chunk-VD7YTLWL.js → chunk-DZUNF7IH.js} +2 -2
- package/dist/{chunk-BYYVOX2P.js → chunk-EC5P4W2D.js} +40 -40
- package/dist/{chunk-DY3EJWWH.js → chunk-EGEANMMK.js} +2 -2
- package/dist/{chunk-436AOVZS.js → chunk-EMAFZROF.js} +8 -8
- package/dist/{chunk-5DLDRUCQ.js → chunk-ETMP7SJ3.js} +6 -6
- package/dist/{chunk-ETAZIGNT.js → chunk-F2NFNYCB.js} +2 -2
- package/dist/{chunk-QXOBZSQD.js → chunk-FLDFKG24.js} +4 -4
- package/dist/{chunk-PPI647YF.js → chunk-G3A3XKCS.js} +49 -49
- package/dist/{chunk-QL3ZJWGG.js → chunk-H5FAYLCR.js} +2 -2
- package/dist/{chunk-7JKNWDYN.js → chunk-H7GMGZHI.js} +2 -2
- package/dist/{chunk-TWBENPZR.js → chunk-HA5Y645X.js} +22 -22
- package/dist/{chunk-3IFRZXHN.js → chunk-HJSAGGHU.js} +3 -3
- package/dist/{chunk-4XHAT7C5.js → chunk-HJZUI2ZU.js} +2 -2
- package/dist/{chunk-DSD2NNTX.js → chunk-HUEFVPYW.js} +2 -2
- package/dist/{chunk-5QOV52V4.js → chunk-I2AVVARA.js} +2 -2
- package/dist/{chunk-3P35HT64.js → chunk-IDOVZLPK.js} +2 -2
- package/dist/{chunk-6NEV2PEC.js → chunk-IEDQT4Z3.js} +6 -6
- package/dist/{chunk-6JAEMMZ7.js → chunk-IFXPHVPY.js} +3 -3
- package/dist/{chunk-6YOH2L3G.js → chunk-JFPLHK6Y.js} +3 -3
- package/dist/{chunk-I53OTC3O.js → chunk-JHQAVWHW.js} +3 -3
- package/dist/{chunk-B3NH5UBI.js → chunk-JKGRQW6D.js} +4 -4
- package/dist/{chunk-IW6E3LES.js → chunk-JPAUQ7MK.js} +3 -3
- package/dist/{chunk-XQO4A4Q4.js → chunk-K6BQPFRS.js} +3 -3
- package/dist/{chunk-6ZFJEJXZ.js → chunk-KICERNAP.js} +5 -5
- package/dist/{chunk-IIAF7VKN.js → chunk-LDSZPRGV.js} +4 -4
- package/dist/{chunk-NFSUGVDY.js → chunk-M7DIIJPW.js} +4 -4
- package/dist/{chunk-77IFWJ53.js → chunk-MFEO3EHL.js} +3 -3
- package/dist/{chunk-C2GHFADU.js → chunk-N3XSXGAL.js} +2 -2
- package/dist/{chunk-6BOKCTCM.js → chunk-NZ7ML6LG.js} +4 -4
- package/dist/{chunk-S42TFTM5.js → chunk-OBRMA2VK.js} +3 -3
- package/dist/{chunk-3UZQ5TMG.js → chunk-OCNTMJSY.js} +3 -3
- package/dist/{chunk-KSGITXNE.js → chunk-OK7CBTFW.js} +6 -6
- package/dist/{chunk-3TTR4BHW.js → chunk-OKR66IGL.js} +7 -7
- package/dist/{chunk-T3ZVNOJC.js → chunk-ONNSFD73.js} +10 -10
- package/dist/{chunk-IB6SKACE.js → chunk-P5JF3U65.js} +4 -4
- package/dist/{chunk-HMFEWTI7.js → chunk-PBIV4DE2.js} +68 -68
- package/dist/{chunk-75MKIQON.js → chunk-PCHIHVX6.js} +4 -4
- package/dist/{chunk-PBK257CI.js → chunk-POZ6V4MU.js} +2 -2
- package/dist/{chunk-QC3MKMDK.js → chunk-R7XZW4SB.js} +2 -2
- package/dist/{chunk-V5RXO5AK.js → chunk-RFB4EXM5.js} +8 -8
- package/dist/{chunk-JE7BL5IF.js → chunk-RNVGXJJZ.js} +13 -13
- package/dist/{chunk-OBJ7FQDX.js → chunk-RZABQ4YH.js} +2 -2
- package/dist/{chunk-U4JD5NMP.js → chunk-SAKWZG5I.js} +6 -6
- package/dist/{chunk-DHU3EGGF.js → chunk-SAYHY2N3.js} +8 -8
- package/dist/{chunk-EOIJ7MVW.js → chunk-T3HNISBN.js} +3 -3
- package/dist/{chunk-KA3JN4SH.js → chunk-TOW4EJON.js} +5 -5
- package/dist/{chunk-O376UAZS.js → chunk-U4DSFCH5.js} +164 -10
- package/dist/{chunk-THGELNPV.js → chunk-U5CTYBAN.js} +7 -7
- package/dist/{chunk-R4NOZBOY.js → chunk-UFFIU57H.js} +4 -4
- package/dist/{chunk-FDZ2ANSS.js → chunk-UZ55F3UK.js} +4 -4
- package/dist/{chunk-R3LANPQZ.js → chunk-VA4JK4TW.js} +3 -3
- package/dist/{chunk-S56YBYMN.js → chunk-VIRFG3WG.js} +2 -2
- package/dist/{chunk-LTPF25L2.js → chunk-W2QFR3ZJ.js} +2 -2
- package/dist/{chunk-HTP2CLRQ.js → chunk-W5MKVFBQ.js} +5 -5
- package/dist/{chunk-6BIOLAJ4.js → chunk-WQNN6WLB.js} +14 -14
- package/dist/{chunk-HU6D6PYT.js → chunk-WXLZCBPG.js} +14 -14
- package/dist/{chunk-EKTIGGFO.js → chunk-WZXEQUIM.js} +4 -4
- package/dist/{chunk-HQPL34O6.js → chunk-XFQAA2SU.js} +2 -2
- package/dist/{chunk-H3ZBAR2L.js → chunk-XM56DAM7.js} +8 -8
- package/dist/{chunk-PFW7WFAT.js → chunk-XVOODRNK.js} +4 -4
- package/dist/{chunk-7MPI7NIW.js → chunk-YJK4NPXC.js} +3 -3
- package/dist/{chunk-UVF45BVU.js → chunk-Z6N5N4MN.js} +1 -1
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +44 -44
- package/dist/{codegen-command-A7M5JLLY.js → codegen-command-H3HO7UFA.js} +64 -64
- package/dist/codegen.d.ts +3 -3
- package/dist/{commands-FOHIPDKZ.js → commands-IFRAGWGK.js} +2 -2
- package/dist/{completion-XUBGMKGV.js → completion-RTXCODHS.js} +2 -2
- package/dist/{config-544VCRKP.js → config-EHFXNFSP.js} +3 -3
- package/dist/{deploy-command-RP7Q4XBE.js → deploy-command-7PWQJ4VV.js} +51 -51
- package/dist/{deploy-source-ITSAHJW7.js → deploy-source-CJHEVGOS.js} +25 -25
- package/dist/{dev-env-sync-SN6TL22O.js → dev-env-sync-VVLYQUPR.js} +45 -45
- package/dist/{display-name-hint-EZQK2PDU.js → display-name-hint-BKPMISQU.js} +10 -10
- package/dist/{emit-D-a6JznN.d.ts → emit-YLt3GfsZ.d.ts} +3 -3
- package/dist/env-example-refresh-GLFC2FTE.js +134 -0
- package/dist/{env-pull-command-6KEESNVU.js → env-pull-command-OY3SXNJC.js} +42 -42
- package/dist/{env-target-HOGLLJN5.js → env-target-PDDDAA5I.js} +9 -9
- package/dist/{env-var-command-VOAINMHX.js → env-var-command-UTYDJN24.js} +35 -35
- package/dist/{ephemeral-H24NF6WP.js → ephemeral-CART6DIR.js} +8 -8
- package/dist/{ephemeral-command-I7VPCBVQ.js → ephemeral-command-ALIHUF7G.js} +43 -43
- package/dist/{ephemeral-state-YLZQIOBF.js → ephemeral-state-HPKSKC4Y.js} +7 -7
- package/dist/{generate-command-G7EJ7GW4.js → generate-command-S37XFYPD.js} +69 -69
- package/dist/{gitignore-WFZ2BTMS.js → gitignore-DKDWGWPS.js} +13 -13
- package/dist/{guards-4VPSEOAI.js → guards-RU4C7TFG.js} +5 -5
- package/dist/{impersonate-command-ZJDK7ZYO.js → impersonate-command-HPCSKJAV.js} +31 -31
- package/dist/{import-TXYVFYJS.js → import-RUBCGLCA.js} +4 -4
- package/dist/index.d.ts +8 -8
- package/dist/index.js +14 -14
- package/dist/{init-command-CTWDNYAZ.js → init-command-RWXBXJPG.js} +49 -49
- package/dist/{init-modules-FJITJ6IB.js → init-modules-LFLW2PQC.js} +7 -7
- package/dist/{init-web-MSXDARRF.js → init-web-OGKACAOC.js} +2 -2
- package/dist/internal.d.ts +6 -6
- package/dist/internal.js +28 -17
- package/dist/{keep-data-merge-KLNLVBYK.js → keep-data-merge-7JGGZKDM.js} +28 -28
- package/dist/{landing-record-ZB4OJQF2.js → landing-record-QJV7KNS4.js} +15 -15
- package/dist/{live-diff-CGTGOH3S.js → live-diff-HARRGFV4.js} +8 -8
- package/dist/{local-engine-choice-FO7LABXX.js → local-engine-choice-NNSHE5FO.js} +28 -28
- package/dist/{local-engine-command-LI7HUH5Y.js → local-engine-command-UGIZ4UO6.js} +33 -33
- package/dist/{local-engine-deploy-ID4JJXB5.js → local-engine-deploy-ZZVHBI2X.js} +11 -11
- package/dist/{local-engine-lookup-IC7BKAYP.js → local-engine-lookup-QFRKO35F.js} +2 -2
- package/dist/{local-engine-mcp-bridge-3SOJMZ5T.js → local-engine-mcp-bridge-T2EFRRAF.js} +4 -4
- package/dist/{local-engine-mcp-command-EVYRLPE7.js → local-engine-mcp-command-YUSZC7MF.js} +35 -35
- package/dist/{local-engine-process-HG5BGG3F.js → local-engine-process-XH35DURU.js} +6 -6
- package/dist/{local-engine-update-check-SKZR7YSC.js → local-engine-update-check-HAXE7BVG.js} +4 -4
- package/dist/{lock-commands-I4RARW5F.js → lock-commands-VT4R2DEE.js} +49 -49
- package/dist/{login-command-MJT5CCXL.js → login-command-4D3KPQUY.js} +21 -21
- package/dist/{logout-command-GSQ2R3XL.js → logout-command-ALKHCJKS.js} +12 -12
- package/dist/{loop-XFDS65OD.js → loop-QHZD37KX.js} +8 -8
- package/dist/{marketplace-command-GK4F5ZZ2.js → marketplace-command-64TE2NGV.js} +28 -28
- package/dist/{marketplace-resolve-PWEYJ2XS.js → marketplace-resolve-HPCRNV5O.js} +5 -5
- package/dist/{meta-client-2A7LYGUQ.js → meta-client-7MLLUZB4.js} +10 -10
- package/dist/{module-manifest-KY7J63HG.js → module-manifest-EFE6JBZW.js} +3 -3
- package/dist/node.d.ts +7 -7
- package/dist/node.js +51 -51
- package/dist/{operation-outcome-UK5ALWRE.js → operation-outcome-TYAOVNOM.js} +19 -19
- package/dist/{output-target-GFPSLLEJ.js → output-target-63ECBUX2.js} +14 -14
- package/dist/{plan-disclosure-GNLDYV2A.js → plan-disclosure-WEMB5ZJ2.js} +21 -21
- package/dist/{plugin-contributions-PAGG6SUP.js → plugin-contributions-U5PAZKBE.js} +4 -4
- package/dist/{plugin-prompt-2MX6LF6X.js → plugin-prompt-O5PAMV5B.js} +4 -4
- package/dist/{plugin-questions-AP6VUTOB.js → plugin-questions-ZVYNKDRB.js} +3 -3
- package/dist/{preflight-command-LP5D6UOD.js → preflight-command-OUVAX5IJ.js} +56 -56
- package/dist/{profile-command-R7XLNTY6.js → profile-command-NUO5U2HQ.js} +22 -22
- package/dist/{profile-pointer-4HJQH5ZR.js → profile-pointer-VTOZDBHM.js} +3 -3
- package/dist/{project-dependency-ORX45I74.js → project-dependency-EZNTHMWI.js} +6 -6
- package/dist/{project-sdk-IYMFVQRC.js → project-sdk-ZGJM4WYQ.js} +3 -3
- package/dist/promote-command-MGLAYQDY.js +147 -0
- package/dist/{prompt-ZZUYWFQX.js → prompt-F7UVH4GP.js} +3 -3
- package/dist/{publish-command-WTVINN5E.js → publish-command-KVGNFBSU.js} +54 -54
- package/dist/{pull-command-KFHHW2BA.js → pull-command-OVXIMVUB.js} +67 -67
- package/dist/{pull-superseded-UZ3MB53B.js → pull-superseded-77UZ7CHH.js} +3 -3
- package/dist/{raw-where-ZMLND6AG.d.ts → raw-where-gWGr-E4t.d.ts} +1 -1
- package/dist/{release-command-QUKHOKIY.js → release-command-E54WUJKB.js} +62 -62
- package/dist/{release-ns-command-T4R3VODA.js → release-ns-command-SLRL3O3W.js} +78 -78
- package/dist/{retry-command-VZYLYDVX.js → retry-command-S5QALD5Z.js} +7 -7
- package/dist/{routes-manifest-RIZGSOZC.js → routes-manifest-ET2TTSCL.js} +17 -7
- package/dist/{routes-manifest-file-QFPNFJMZ.js → routes-manifest-file-IX4TOZCO.js} +10 -10
- package/dist/{secrets-file-J4KFYNFP.js → secrets-file-4NQWGCJG.js} +13 -13
- package/dist/{secrets-fill-command-YIU6ESFN.js → secrets-fill-command-5NNHSYFX.js} +48 -48
- package/dist/{seed-KEPIS7UZ.js → seed-5YLQRT2D.js} +3 -3
- package/dist/{source-resolve-WHXNMVJT.js → source-resolve-HSJSVKUC.js} +17 -17
- package/dist/{static-host-JAOT3N3E.js → static-host-TQP3FXPI.js} +4 -4
- package/dist/{status-command-DIDOS3JC.js → status-command-UFIMW7SZ.js} +32 -32
- package/dist/{store-xUySg-KR.d.ts → store-BM7SQcUt.d.ts} +3 -3
- package/dist/{store-YFNDD6GZ.js → store-ZE5BXCOW.js} +5 -5
- package/dist/{sync-baseline-3CDL4PKT.js → sync-baseline-JGAAOS25.js} +10 -10
- package/dist/{sync-contributions-VAGROOWY.js → sync-contributions-35ZAYBUH.js} +8 -8
- package/dist/{sync-record-U65BCPSP.js → sync-record-ILWS44DG.js} +9 -9
- package/dist/{table-E5YTK7QX.js → table-V3LTQUY6.js} +5 -5
- package/dist/{tables-command-UJLYYMME.js → tables-command-TISOU6DR.js} +30 -30
- package/dist/{tenant-DAXJ4P4D.js → tenant-7WUS7Q6V.js} +9 -9
- package/dist/{tenant-command-NGKJD3AX.js → tenant-command-ITCPN43T.js} +84 -84
- package/dist/{test-command-JOPQCHJA.js → test-command-7SFAJ6HX.js} +30 -30
- package/dist/{tests-CLDZWLKF.js → tests-ENFUACKD.js} +5 -5
- package/dist/{token-NJ5XPGGM.js → token-OXGOA6WE.js} +8 -8
- package/dist/{toolchain-hooks-3ZAAAWPL.js → toolchain-hooks-QIFGPGH2.js} +9 -9
- package/dist/{toolchain-modules-4KS3SSJW.js → toolchain-modules-Q3Z6APPF.js} +4 -4
- package/dist/{toolchain-peers-AIKWKJH7.js → toolchain-peers-K44IINPG.js} +7 -7
- package/dist/{tracked-backend-3U4T6ZA7.js → tracked-backend-IYTIZZYV.js} +28 -28
- package/dist/{update-check-5KCA4TE6.js → update-check-LSCQRDRR.js} +47 -47
- package/dist/{upgrade-command-MNP6G752.js → upgrade-command-RQEQJO5Y.js} +49 -49
- package/dist/{whoami-command-E5CSF3E6.js → whoami-command-NT3FVBZM.js} +11 -11
- package/dist/{workspace-WZMBLK4P.js → workspace-5RHOJC7K.js} +4 -4
- package/dist/{workspace-binding-JT4EK4HU.js → workspace-binding-YUU6KB53.js} +10 -10
- package/dist/{workspace-command-Z7BUA6A5.js → workspace-command-QSJHX5RS.js} +80 -80
- package/dist/{workspace-env-KFWW2G7G.js → workspace-env-M7RYVJB3.js} +10 -10
- package/dist/{workspace-export-UHY22VBI.js → workspace-export-GHMUSX2P.js} +4 -4
- package/dist/{writable-2A6MBSFD.js → writable-Y6CE2CGK.js} +3 -3
- package/dist/{xano-6T6L7TTI.js → xano-2A2GT7EH.js} +7 -7
- package/dist/{xanosdk-import-FUS3ZGGQ.js → xanosdk-import-4TLNYFKC.js} +5 -5
- package/dist/{xanosdk-project-NM2J5YFK.js → xanosdk-project-4NH6332J.js} +11 -11
- package/dist/{xdo-CxDr2Q1C.d.ts → xdo-D4OwfF2J.d.ts} +10 -4
- package/guides/cli.md +1 -1
- package/guides/codes.md +2 -1
- package/guides/typed-frontend.md +14 -0
- package/llms/client.md +2 -1
- package/llms/errors.md +2 -0
- package/llms/filters.md +2 -1
- package/llms/kinds-agent-mcp.md +2 -0
- package/llms/values.md +1 -1
- package/llms-full.txt +10 -4
- package/llms.txt +1 -1
- package/manifest.json +3 -3
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/env-example-refresh-USAGYVJ2.js +0 -134
- package/dist/promote-command-TEVVCM77.js +0 -147
|
@@ -1,114 +1,114 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printMicroserviceSection,
|
|
3
3
|
readMicroservices
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UFFIU57H.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWorkspaceBundle
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-EC5P4W2D.js";
|
|
8
|
+
import "./chunk-DH32QXVI.js";
|
|
9
|
+
import "./chunk-OK7CBTFW.js";
|
|
10
|
+
import "./chunk-BXVNRUDB.js";
|
|
11
|
+
import "./chunk-U4DSFCH5.js";
|
|
12
|
+
import "./chunk-JFPLHK6Y.js";
|
|
13
|
+
import "./chunk-ETMP7SJ3.js";
|
|
14
14
|
import {
|
|
15
15
|
confirm
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-XFQAA2SU.js";
|
|
17
|
+
import "./chunk-IEDQT4Z3.js";
|
|
18
18
|
import {
|
|
19
19
|
listTables
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-3RZ4UJWV.js";
|
|
21
|
+
import "./chunk-VA4JK4TW.js";
|
|
22
|
+
import "./chunk-R7XZW4SB.js";
|
|
23
23
|
import "./chunk-3DRXWLJ5.js";
|
|
24
24
|
import "./chunk-X4DVXBFY.js";
|
|
25
25
|
import {
|
|
26
26
|
listBranches
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PCHIHVX6.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-2PAVJ3QD.js";
|
|
33
|
+
import "./chunk-74NRFGL7.js";
|
|
34
|
+
import "./chunk-RZABQ4YH.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-JPAUQ7MK.js";
|
|
41
41
|
import {
|
|
42
42
|
secretsCarriedBy
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-JHQAVWHW.js";
|
|
44
|
+
import "./chunk-LDSZPRGV.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-AMHAGMJM.js";
|
|
52
|
+
import "./chunk-K6BQPFRS.js";
|
|
53
|
+
import "./chunk-5RSPMSSQ.js";
|
|
54
|
+
import "./chunk-RNVGXJJZ.js";
|
|
55
|
+
import "./chunk-POZ6V4MU.js";
|
|
56
|
+
import "./chunk-WXLZCBPG.js";
|
|
57
|
+
import "./chunk-H7GMGZHI.js";
|
|
58
|
+
import "./chunk-6IOBEJWA.js";
|
|
59
|
+
import "./chunk-6QJORUHC.js";
|
|
60
60
|
import {
|
|
61
61
|
getAccessToken
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-ANBIMJPM.js";
|
|
63
|
+
import "./chunk-7XOQXZ6W.js";
|
|
64
64
|
import "./chunk-5Y5HWQ2P.js";
|
|
65
65
|
import "./chunk-F3IA3YWI.js";
|
|
66
66
|
import "./chunk-LCOCRJ4K.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-M7DIIJPW.js";
|
|
68
|
+
import "./chunk-7NNLRNXE.js";
|
|
69
69
|
import "./chunk-2MNLRIOX.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-XVOODRNK.js";
|
|
71
71
|
import "./chunk-CJDPSCMX.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-4GSXWOBS.js";
|
|
73
|
+
import "./chunk-DZUNF7IH.js";
|
|
74
|
+
import "./chunk-4COXXP55.js";
|
|
75
|
+
import "./chunk-OBRMA2VK.js";
|
|
76
76
|
import "./chunk-ZYJP6BOO.js";
|
|
77
77
|
import "./chunk-QO6BVGS5.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-AUYXBKGR.js";
|
|
79
|
+
import "./chunk-3ZVSOZZC.js";
|
|
80
80
|
import {
|
|
81
81
|
yesRerun
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-N3XSXGAL.js";
|
|
83
83
|
import "./chunk-622HUCZT.js";
|
|
84
84
|
import {
|
|
85
85
|
contextFlags
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import "./chunk-
|
|
86
|
+
} from "./chunk-A3CT26GX.js";
|
|
87
|
+
import "./chunk-P5JF3U65.js";
|
|
88
88
|
import "./chunk-EUUUMY7J.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-MFEO3EHL.js";
|
|
90
|
+
import "./chunk-3XZ44H2E.js";
|
|
91
|
+
import "./chunk-SAKWZG5I.js";
|
|
92
|
+
import "./chunk-JKGRQW6D.js";
|
|
93
93
|
import "./chunk-ZFDZKNGG.js";
|
|
94
94
|
import "./chunk-FWD7AL6N.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-C4TZP5PQ.js";
|
|
96
96
|
import "./chunk-DXUICABI.js";
|
|
97
97
|
import {
|
|
98
98
|
bindingFor,
|
|
99
99
|
fetchOrExplain,
|
|
100
100
|
httpFailure,
|
|
101
101
|
parseJsonAnswer
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-DILYWJVP.js";
|
|
103
103
|
import {
|
|
104
104
|
describeWrite
|
|
105
105
|
} from "./chunk-4KHEMC32.js";
|
|
106
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-DFCYAEBE.js";
|
|
107
107
|
import "./chunk-MFWF2NZJ.js";
|
|
108
108
|
import "./chunk-DNBP4GJN.js";
|
|
109
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-H5FAYLCR.js";
|
|
110
110
|
import "./chunk-WAVNUTMT.js";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-I2AVVARA.js";
|
|
112
112
|
import "./chunk-LLNZGEFK.js";
|
|
113
113
|
import "./chunk-HU7F56VF.js";
|
|
114
114
|
import "./chunk-MF4W6FHU.js";
|
|
@@ -116,7 +116,7 @@ import "./chunk-X2NL4KUO.js";
|
|
|
116
116
|
import {
|
|
117
117
|
writeData
|
|
118
118
|
} from "./chunk-4GPIOIAC.js";
|
|
119
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-WZXEQUIM.js";
|
|
120
120
|
import "./chunk-E763QI3G.js";
|
|
121
121
|
import "./chunk-C2SAVXAB.js";
|
|
122
122
|
import "./chunk-IZI3SYXH.js";
|
|
@@ -143,18 +143,18 @@ import {
|
|
|
143
143
|
warn,
|
|
144
144
|
writeJson,
|
|
145
145
|
writeTargetPayload
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
148
|
-
import "./chunk-
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
146
|
+
} from "./chunk-D4VKPOD4.js";
|
|
147
|
+
import "./chunk-ONNSFD73.js";
|
|
148
|
+
import "./chunk-6LECAG3Y.js";
|
|
149
|
+
import "./chunk-IFXPHVPY.js";
|
|
150
|
+
import "./chunk-KICERNAP.js";
|
|
151
151
|
import "./chunk-45ZUMF4E.js";
|
|
152
|
-
import "./chunk-
|
|
152
|
+
import "./chunk-76SBT7KS.js";
|
|
153
153
|
import "./chunk-7FIMUFBP.js";
|
|
154
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-NZ7ML6LG.js";
|
|
155
155
|
import "./chunk-ICK36EGF.js";
|
|
156
|
-
import "./chunk-
|
|
157
|
-
import "./chunk-
|
|
156
|
+
import "./chunk-AXNX4NWN.js";
|
|
157
|
+
import "./chunk-F2NFNYCB.js";
|
|
158
158
|
import "./chunk-GSGDWJB5.js";
|
|
159
159
|
import "./chunk-B5N6EWOM.js";
|
|
160
160
|
import "./chunk-ERVIASGL.js";
|
|
@@ -173,13 +173,13 @@ import "./chunk-UDZX2ZL4.js";
|
|
|
173
173
|
import "./chunk-ZY55DO5P.js";
|
|
174
174
|
import "./chunk-A2AOUBJS.js";
|
|
175
175
|
import "./chunk-TFFGOFVZ.js";
|
|
176
|
-
import "./chunk-
|
|
176
|
+
import "./chunk-IDOVZLPK.js";
|
|
177
177
|
import "./chunk-EHP3WPEG.js";
|
|
178
|
-
import "./chunk-
|
|
178
|
+
import "./chunk-W2QFR3ZJ.js";
|
|
179
179
|
import "./chunk-Q7DGTQ5G.js";
|
|
180
|
-
import "./chunk-
|
|
181
|
-
import "./chunk-
|
|
182
|
-
import "./chunk-
|
|
180
|
+
import "./chunk-HJZUI2ZU.js";
|
|
181
|
+
import "./chunk-VIRFG3WG.js";
|
|
182
|
+
import "./chunk-Z6N5N4MN.js";
|
|
183
183
|
import "./chunk-VAX3UZOY.js";
|
|
184
184
|
import "./chunk-LL6ED5IB.js";
|
|
185
185
|
import "./chunk-4BW2SG2N.js";
|
|
@@ -203,7 +203,7 @@ async function runWorkspaceCommand(args) {
|
|
|
203
203
|
case "reset-tables":
|
|
204
204
|
return runResetTables(args);
|
|
205
205
|
case "branch": {
|
|
206
|
-
const { runBranchCommand } = await import("./branch-commands-
|
|
206
|
+
const { runBranchCommand } = await import("./branch-commands-Q46PCVHU.js");
|
|
207
207
|
return runBranchCommand(args);
|
|
208
208
|
}
|
|
209
209
|
default:
|
|
@@ -232,7 +232,7 @@ async function runDetails(args) {
|
|
|
232
232
|
const auth = await getAccessToken(args);
|
|
233
233
|
const workspaceId = auth.workspaceId;
|
|
234
234
|
const all = await fetchWorkspaces(auth).catch(async (err) => {
|
|
235
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
235
|
+
const { unansweredRead } = await import("./source-resolve-HSJSVKUC.js");
|
|
236
236
|
throw unansweredRead(err, "read the workspace list", "workspace");
|
|
237
237
|
});
|
|
238
238
|
const match = all.find((w) => w.id === workspaceId);
|
|
@@ -292,7 +292,7 @@ async function runExport(args) {
|
|
|
292
292
|
var EXIT_DIFF_MISMATCH = 2;
|
|
293
293
|
async function runDiff(args) {
|
|
294
294
|
if (args.file === void 0 && args.bundle === void 0) {
|
|
295
|
-
const { resolveProjectEntry } = await import("./deploy-source-
|
|
295
|
+
const { resolveProjectEntry } = await import("./deploy-source-CJHEVGOS.js");
|
|
296
296
|
const entry = resolveProjectEntry(process.cwd());
|
|
297
297
|
if (entry !== void 0) args = { ...args, file: entry };
|
|
298
298
|
}
|
|
@@ -305,11 +305,11 @@ async function runDiff(args) {
|
|
|
305
305
|
try {
|
|
306
306
|
live = await fetchWorkspaceBundle(auth, args.branch);
|
|
307
307
|
} catch (err) {
|
|
308
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
308
|
+
const { unansweredRead } = await import("./source-resolve-HSJSVKUC.js");
|
|
309
309
|
throw unansweredRead(err, "read the workspace to compare", "workspace");
|
|
310
310
|
}
|
|
311
|
-
const { SETTINGS_LABEL } = await import("./live-diff-
|
|
312
|
-
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-
|
|
311
|
+
const { SETTINGS_LABEL } = await import("./live-diff-HARRGFV4.js");
|
|
312
|
+
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-E54WUJKB.js");
|
|
313
313
|
const pinned = codePinnedCanonicals(local.bundle, releaseCanonicalLock(args), args.file !== void 0);
|
|
314
314
|
const listed = await listBranches(auth, { baseUrl: auth.instance, workspaceId: auth.workspaceId }).catch(
|
|
315
315
|
() => void 0
|
|
@@ -317,9 +317,9 @@ async function runDiff(args) {
|
|
|
317
317
|
const liveLabel = listed?.find((b) => b.live)?.label;
|
|
318
318
|
const comparedLabel = args.branch ?? liveLabel;
|
|
319
319
|
const comparedIsLive = args.branch === void 0 ? true : liveLabel === void 0 ? null : args.branch === liveLabel;
|
|
320
|
-
const { landingLockPath } = await import("./landing-record-
|
|
321
|
-
const { readSyncBaseline, storedBranchLabel } = await import("./sync-record-
|
|
322
|
-
const { directedComparison } = await import("./sync-baseline-
|
|
320
|
+
const { landingLockPath } = await import("./landing-record-QJV7KNS4.js");
|
|
321
|
+
const { readSyncBaseline, storedBranchLabel } = await import("./sync-record-ILWS44DG.js");
|
|
322
|
+
const { directedComparison } = await import("./sync-baseline-JGAAOS25.js");
|
|
323
323
|
const syncLabel = storedBranchLabel(listed, args.branch);
|
|
324
324
|
const baseline = syncLabel === void 0 ? void 0 : readSyncBaseline(landingLockPath(args, args.file !== void 0 ? { entryFile: args.file } : {}), {
|
|
325
325
|
instance: auth.instance,
|
|
@@ -434,7 +434,7 @@ Pass the entry file: \`xanosdk workspace reset-tables ./index.ts --table <guid>
|
|
|
434
434
|
const local = await loadBundleText(args.write === true && !willRefuse ? args : { ...args, lockReadOnly: true }, target, {
|
|
435
435
|
withSeed: true
|
|
436
436
|
});
|
|
437
|
-
const { seedRowsByTableGuid } = await import("./seed-
|
|
437
|
+
const { seedRowsByTableGuid } = await import("./seed-5YLQRT2D.js");
|
|
438
438
|
const seeds = seedRowsByTableGuid(local.content);
|
|
439
439
|
const declared = projectTables(local.bundle);
|
|
440
440
|
const unknown = guids.filter((guid) => !declared.some((t) => t.guid === guid));
|
|
@@ -471,7 +471,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
471
471
|
);
|
|
472
472
|
}
|
|
473
473
|
const destination = credentialWriteTarget(auth);
|
|
474
|
-
const { countTableRows } = await import("./table-
|
|
474
|
+
const { countTableRows } = await import("./table-V3LTQUY6.js");
|
|
475
475
|
const planned = await Promise.all(
|
|
476
476
|
guids.map(async (guid) => {
|
|
477
477
|
const table = byGuid.get(guid);
|
|
@@ -510,7 +510,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
510
510
|
return;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
const { truncateTable, insertTableRows } = await import("./table-
|
|
513
|
+
const { truncateTable, insertTableRows } = await import("./table-V3LTQUY6.js");
|
|
514
514
|
const done = [];
|
|
515
515
|
for (const t of planned) {
|
|
516
516
|
step(`Resetting ${t.name}`);
|
|
@@ -560,4 +560,4 @@ export {
|
|
|
560
560
|
EXIT_DIFF_MISMATCH,
|
|
561
561
|
runWorkspaceCommand
|
|
562
562
|
};
|
|
563
|
-
//# sourceMappingURL=workspace-command-
|
|
563
|
+
//# sourceMappingURL=workspace-command-QSJHX5RS.js.map
|
|
@@ -14,19 +14,19 @@ import {
|
|
|
14
14
|
renderWorkspaceEnvFile,
|
|
15
15
|
valueProblem,
|
|
16
16
|
workspaceEnvPathIn
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-5RSPMSSQ.js";
|
|
18
|
+
import "./chunk-MFEO3EHL.js";
|
|
19
|
+
import "./chunk-3XZ44H2E.js";
|
|
20
|
+
import "./chunk-SAKWZG5I.js";
|
|
21
|
+
import "./chunk-JKGRQW6D.js";
|
|
22
22
|
import "./chunk-ZFDZKNGG.js";
|
|
23
23
|
import "./chunk-FWD7AL6N.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-C4TZP5PQ.js";
|
|
25
25
|
import "./chunk-DXUICABI.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-DILYWJVP.js";
|
|
27
27
|
import "./chunk-4KHEMC32.js";
|
|
28
28
|
import "./chunk-DNBP4GJN.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-H5FAYLCR.js";
|
|
30
30
|
import "./chunk-WAVNUTMT.js";
|
|
31
31
|
import "./chunk-LLNZGEFK.js";
|
|
32
32
|
import {
|
|
@@ -36,7 +36,7 @@ import "./chunk-MF4W6FHU.js";
|
|
|
36
36
|
import "./chunk-X2NL4KUO.js";
|
|
37
37
|
import "./chunk-IZI3SYXH.js";
|
|
38
38
|
import "./chunk-LJM5CIY4.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-D4VKPOD4.js";
|
|
40
40
|
import {
|
|
41
41
|
isRepresentableName,
|
|
42
42
|
safeNames
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
valueProblem,
|
|
69
69
|
workspaceEnvPathIn
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=workspace-env-
|
|
71
|
+
//# sourceMappingURL=workspace-env-M7RYVJB3.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertBranchReadSupported,
|
|
3
3
|
exportWorkspaceBundle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R7XZW4SB.js";
|
|
5
5
|
import "./chunk-3DRXWLJ5.js";
|
|
6
6
|
import "./chunk-X4DVXBFY.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-DILYWJVP.js";
|
|
8
8
|
import "./chunk-MF4W6FHU.js";
|
|
9
9
|
import "./chunk-X2NL4KUO.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-D4VKPOD4.js";
|
|
11
11
|
import "./chunk-YEH5OIPF.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-GHMUSX2P.js.map
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
unreadableError,
|
|
6
6
|
unwritableBlocker,
|
|
7
7
|
unwritableError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AUYXBKGR.js";
|
|
9
9
|
import "./chunk-FWD7AL6N.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-D4VKPOD4.js";
|
|
11
11
|
import "./chunk-YEH5OIPF.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-Y6CE2CGK.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
Xano,
|
|
4
4
|
standaloneDefKind,
|
|
5
5
|
workspace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KICERNAP.js";
|
|
7
7
|
import "./chunk-45ZUMF4E.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-76SBT7KS.js";
|
|
9
9
|
import "./chunk-7FIMUFBP.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-NZ7ML6LG.js";
|
|
11
11
|
import "./chunk-ICK36EGF.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-AXNX4NWN.js";
|
|
13
|
+
import "./chunk-F2NFNYCB.js";
|
|
14
14
|
import "./chunk-GSGDWJB5.js";
|
|
15
15
|
import "./chunk-B5N6EWOM.js";
|
|
16
16
|
import "./chunk-ERVIASGL.js";
|
|
@@ -25,7 +25,7 @@ import "./chunk-5ZSO4T2G.js";
|
|
|
25
25
|
import "./chunk-VQPDATQT.js";
|
|
26
26
|
import "./chunk-ZY55DO5P.js";
|
|
27
27
|
import "./chunk-A2AOUBJS.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-Z6N5N4MN.js";
|
|
29
29
|
import "./chunk-VAX3UZOY.js";
|
|
30
30
|
import "./chunk-LL6ED5IB.js";
|
|
31
31
|
import "./chunk-4BW2SG2N.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
standaloneDefKind,
|
|
41
41
|
workspace
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=xano-
|
|
43
|
+
//# sourceMappingURL=xano-2A2GT7EH.js.map
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
resetXanoSdkImportDetection,
|
|
14
14
|
withDefaultBranchPointer,
|
|
15
15
|
xanosdkImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UZ55F3UK.js";
|
|
17
17
|
import "./chunk-3DRXWLJ5.js";
|
|
18
18
|
import "./chunk-X4DVXBFY.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-6QJORUHC.js";
|
|
20
|
+
import "./chunk-DILYWJVP.js";
|
|
21
21
|
import "./chunk-4KHEMC32.js";
|
|
22
22
|
import "./chunk-MF4W6FHU.js";
|
|
23
23
|
import "./chunk-X2NL4KUO.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-D4VKPOD4.js";
|
|
25
25
|
import "./chunk-7FIMUFBP.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-4TLNYFKC.js.map
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
enterProjectRoot,
|
|
4
4
|
isProjectDir,
|
|
5
5
|
projectDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6IOBEJWA.js";
|
|
7
7
|
import "./chunk-EUUUMY7J.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-MFEO3EHL.js";
|
|
9
|
+
import "./chunk-3XZ44H2E.js";
|
|
10
|
+
import "./chunk-SAKWZG5I.js";
|
|
11
|
+
import "./chunk-JKGRQW6D.js";
|
|
12
12
|
import "./chunk-ZFDZKNGG.js";
|
|
13
13
|
import "./chunk-FWD7AL6N.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-C4TZP5PQ.js";
|
|
15
15
|
import "./chunk-DXUICABI.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-DILYWJVP.js";
|
|
17
17
|
import "./chunk-4KHEMC32.js";
|
|
18
18
|
import "./chunk-DNBP4GJN.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-H5FAYLCR.js";
|
|
20
20
|
import "./chunk-WAVNUTMT.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-I2AVVARA.js";
|
|
22
22
|
import "./chunk-LLNZGEFK.js";
|
|
23
23
|
import "./chunk-HU7F56VF.js";
|
|
24
24
|
import "./chunk-MF4W6FHU.js";
|
|
25
25
|
import "./chunk-X2NL4KUO.js";
|
|
26
26
|
import "./chunk-IZI3SYXH.js";
|
|
27
27
|
import "./chunk-LJM5CIY4.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-D4VKPOD4.js";
|
|
29
29
|
import "./chunk-YEH5OIPF.js";
|
|
30
30
|
import "./chunk-UTI5G6OJ.js";
|
|
31
31
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
isProjectDir,
|
|
40
40
|
projectDirFrom
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=xanosdk-project-
|
|
42
|
+
//# sourceMappingURL=xanosdk-project-4NH6332J.js.map
|
|
@@ -685,10 +685,16 @@ type CaughtField = "code" | "message" | "name" | "result";
|
|
|
685
685
|
*
|
|
686
686
|
* Only valid inside the catch arm; the engine binds these for that scope alone
|
|
687
687
|
* and they read empty anywhere else. The four fields are all the engine sets:
|
|
688
|
-
* - `name` —
|
|
689
|
-
*
|
|
690
|
-
* - `
|
|
691
|
-
*
|
|
688
|
+
* - `name` — `s.throw`'s `name` (empty without one), else a label
|
|
689
|
+
* (`"Exception"`, `"Access Denied"`)
|
|
690
|
+
* - `message` — the error text: a precondition's `error`, the engine's, or an
|
|
691
|
+
* LLM provider's (`"Throw Error Statement"` for a throw)
|
|
692
|
+
* - `code` — the error type (`ERROR_FATAL`, a precondition's `error_type`,
|
|
693
|
+
* `ERROR_CODE_THROWN_ERROR`)
|
|
694
|
+
* - `result` — the attached payload: `s.throw`'s value, or for an
|
|
695
|
+
* `s.ai.agent.run` provider failure `{ name: "AI_APICallError", statusCode,
|
|
696
|
+
* isRetryable, data }`. The path takes only these four names; read deeper
|
|
697
|
+
* with `withFilters(caught("result"), fl.get("statusCode"))`.
|
|
692
698
|
*
|
|
693
699
|
* e.g. `s.try_catch({ try: [...], catch: [s.debug_log(caught("message"))] })`.
|
|
694
700
|
* Bare `caught()` is the whole error record.
|
package/guides/cli.md
CHANGED
|
@@ -26,7 +26,7 @@ xanosdk marketplace remove <toolchain-package> # uninstall it and drop what
|
|
|
26
26
|
xanosdk export ./xano/index.ts # bundle to stdout
|
|
27
27
|
xanosdk export ./xano/index.ts --out ws.json
|
|
28
28
|
xanosdk compile ./xano/functions/get-user.ts # a single function's JSON
|
|
29
|
-
xanosdk routes ./xano/index.ts #
|
|
29
|
+
xanosdk routes ./xano/index.ts # every route, realtime socket/channel and MCP server address (`paths` is an alias)
|
|
30
30
|
|
|
31
31
|
xanosdk export ./xano/index.ts --strict # CI: fail the build on any warning, don't just print it
|
|
32
32
|
xanosdk export ./xano/index.ts --no-lock # build with no xano.lock (one is written by default; refused once one exists)
|
package/guides/codes.md
CHANGED
|
@@ -229,9 +229,10 @@ Printed as `! …` on stderr, and as `{ code, message }` in a `--json` document'
|
|
|
229
229
|
| `release.seed-rows-not-decoded` | … carries seed rows for …, and a decoded tree carries no rows — they are not in …/. |
|
|
230
230
|
| `release.transfer-cancelled` | Transfer cancelled — nothing was imported. |
|
|
231
231
|
| `routes.cli-skew` | This CLI is another version than the project's installed SDK, so it left the route table for the installed CLI to render. |
|
|
232
|
+
| `routes.mcp-unresolved` | An MCP server whose canonical URL token resolves nowhere is left out of the route table (or listing). |
|
|
232
233
|
| `routes.module-failed` | A toolchain module could not generate its section of `routes.gen.ts`; the rest was refreshed and its previous block, if any, was kept. |
|
|
233
234
|
| `routes.not-written` | The route table (`routes.gen.ts`) was not written this run; the line says why and what writes it. |
|
|
234
|
-
| `routes.realtime-unresolved` |
|
|
235
|
+
| `routes.realtime-unresolved` | A realtime server whose canonical URL token resolves nowhere is left out of the route table (or listing), along with its channels. |
|
|
235
236
|
| `secrets.cleartext-export` | … carries … in cleartext — written owner-only (0600); do not commit it. |
|
|
236
237
|
| `secrets.cleartext-stdout` | The export carries … in cleartext — written to stdout, where no file permission protects it; do not commit or log it. |
|
|
237
238
|
| `secrets.doc-token-written` | Documentation tokens: wrote … to `…` — …. |
|
package/guides/typed-frontend.md
CHANGED
|
@@ -238,6 +238,20 @@ const ws = new WebSocket(socketUrl("chat", XANO_HOST), token);
|
|
|
238
238
|
ws.send(JSON.stringify({ action: "join", channel: channelPath("rooms/{room_id}", { room_id }) }));
|
|
239
239
|
```
|
|
240
240
|
|
|
241
|
+
MCP servers are there too: `mcpUrl(server, baseUrl)` is the equivalent of
|
|
242
|
+
`mcpServer().getUrl()`, with the same `/tenant/<name>` lift and the same refusal of an
|
|
243
|
+
already-resolved URL. It's an address to show a user or hand an MCP client. The endpoint
|
|
244
|
+
refuses any request carrying a browser `Origin`, so page JS can't call it directly:
|
|
245
|
+
|
|
246
|
+
```ts
|
|
247
|
+
import { mcpUrl } from "../xano/routes.gen";
|
|
248
|
+
|
|
249
|
+
const connectUrl = mcpUrl("notes_mcp", XANO_HOST); // https://host/x2/mcp/<canonical>/mcp/stream
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
Run `xanosdk routes ./xano/index.ts` without `--emit` to see every address the file carries:
|
|
253
|
+
each route, socket, channel and MCP server, with the call that builds it.
|
|
254
|
+
|
|
241
255
|
**Request types come from the same file.** It exports four types-only maps, keyed exactly
|
|
242
256
|
like the runtime tables they sit beside, so a frontend types what it sends without importing a
|
|
243
257
|
def at all:
|
package/llms/client.md
CHANGED
|
@@ -14,7 +14,8 @@ Importing a def into a browser bundle or a Node script — for `getPath()`, `get
|
|
|
14
14
|
Fix: `xanosdk routes <entry> --emit xano/routes.gen.ts` (`paths` is an accepted alias) — verbs, paths, and sockets as
|
|
15
15
|
plain data importing NOTHING, still compile-checked: `routePath("GET blog/{slug}", { slug })`
|
|
16
16
|
`channelPath("rooms/{room_id}", { room_id })`, `socketUrl("chat", baseUrl)` (tenant base
|
|
17
|
-
URLs lifted to `wss://h/ws/<tenant>:<canonical>`)
|
|
17
|
+
URLs lifted to `wss://h/ws/<tenant>:<canonical>`), `mcpUrl("notes_mcp", baseUrl)` (an MCP
|
|
18
|
+
server's address to show a user or hand a client; browser JS cannot call it). A rename is a type error, not a 404.
|
|
18
19
|
- **Request types without the def.** `routes.gen.ts` also exports types-only `RouteInputs`,
|
|
19
20
|
`ChannelInputs`, `MessageInputs` (and `MessageName`), keyed like `ROUTES`, `CHANNELS`, and
|
|
20
21
|
`"<channel key> <message name>"`: `type NewListing = RouteInputs["POST listings"]`. A
|
package/llms/errors.md
CHANGED
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
- A lambda returns error TEXT with HTTP 200 (`Could not resolve "node:crypto"`, an undefined-binding message) — the body threw; use the preloaded globals, the surface's bindings, and `capture`. `llms/lambda.md`.
|
|
24
24
|
- `Unable to locate request.` (404) on an endpoint that deployed — a lowercase verb, a `.` in the name, or a CORS `mode` typo that dropped the whole API group. `llms/kinds-core.md`.
|
|
25
25
|
- A browser call fails on a missing `access-control-allow-origin` while deploy looks fine — CORS `mode: "custom"` with `"*"` or an unmatched origin. `llms/kinds-core.md`.
|
|
26
|
+
- 403 `Forbidden: Origin not allowed` from an MCP server URL — the request came from a browser; MCP endpoints refuse every `Origin`, so call them server-side. `llms/kinds-agent-mcp.md`.
|
|
27
|
+
- `ERROR_FATAL` `The free model is not available in this process.` — an `xano-free` agent run on the Xano Engine on this machine; it runs only on Xano's cloud. `llms/kinds-agent-mcp.md`.
|
|
26
28
|
- A websocket is closed right after the handshake — a refused `connect` gate: an empty/falsy return, a crash, or a gating trigger with no `response`. `llms/triggers.md`.
|
|
27
29
|
- `to_throw failed - response is ok` around an auth-refused call — `ERROR_CODE_ACCESS_DENIED` carries no message; the auth gate is not reachable from a workflow test. `llms/tests.md`.
|
|
28
30
|
- Output reads `Hi [object Object]` — a tagged value inside a JS template literal; compose at runtime with `withFilters` + `fl.concat`. `llms.txt`.
|
package/llms/filters.md
CHANGED
|
@@ -182,6 +182,7 @@ stored value inside a `db.edit` `row` (it is `null`; `null + 1` aborts): `db.get
|
|
|
182
182
|
- `fl.url_hasarg(key: text): text`
|
|
183
183
|
- `fl.yaml_encode(options?: bool, inline?: int, indent?: int): text`
|
|
184
184
|
|
|
185
|
-
Zero-argument filters — call as `fl.<name>()`; an argument is a compile error:
|
|
185
|
+
Zero-argument filters, by operand type — call as `fl.<name>()`; an argument is a compile error. array: array_entries, array_keys, array_lower, array_pop, array_shift, array_shuffle, array_values, count, first, flatten, last, reverse, rsort, safe_array; comparison: bitwise_not, empty, even, is_array, is_bool, is_decimal, is_int, is_object, is_text, is_uuid, not, odd; geo: to_geo_linestring, to_geo_multilinestring, to_geo_multipoint, to_geo_multipolygon, to_geo_point, to_geo_polygon; math: abs, acos, acosh, asin, asinh, atan, atanh, avg, ceil, cos, deg2rad, exp, floor, ln, log10, product, rad2deg, sin, sqrt, sum, tan; misc: null; other: sort; security: uid, uuid4; text: addslashes, capitalize, escape, from_utf8, list_encodings, lower, querystring_parse, sql_alias, sql_esc, strip_accents, strlen, text_escape, text_unescape, to_utf8, upper, url_parse; timestamp: ms_to_secs, secs_to_ms; transform: base64_decode, base64_decode_urlsafe, base64_encode, base64_encode_urlsafe, bin2hex, bindec, create_object_from_entries, decbin, dechex, decoct, hex2bin, hexdec, json_decode, json_encode, octdec, to_bool, to_decimal, to_expr, to_int, to_text, url_decode, url_decode_rfc3986, url_encode, url_encode_rfc3986, xml_decode, yaml_decode.
|
|
186
|
+
`fl.reverse()` reverses a list only: on a text value it answers the text UNCHANGED, with no error.
|
|
186
187
|
|
|
187
188
|
Variadic filters — they take arguments, but no declared list, so the count is not checked: sprintf.
|
package/llms/kinds-agent-mcp.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- An MCP server serves THREE primitives, and each reaches the client differently: a `tool()` is an action the MODEL calls (it may write); a `resource()` is read-only context the client APPLICATION lists and attaches by `uri` (reference docs, a schema, one record through a `{variable}` template); a `prompt()` is a message template with arguments the USER picks by name. Context a session opens with is a `resource()`; a workflow a user starts by name is a `prompt()`; data the model must fetch on its own mid-task stays a `tool()`, since a client shows the model only the resources attached to the conversation. Register each kind (`registerTools`/`registerPrompts`/`registerResources`) and list it on the server.
|
|
6
6
|
- `mcpServer({ name, guid?, description?, instructions?, docs?, enabled?, canonical?, spec?, tags?, history?, tools?, prompts?, resources?, oauth?, llm?, output? })` — an MCP toolset. `llm?`/`output?` are the same blocks `agent()` takes and are usually absent: an MCP server and an agent are ONE stored object distinguished by `type`. Returns a handle with `getPath()`/`getUrl(baseUrl)` for the Streamable-HTTP endpoint — `getUrl` is NOT idempotent, a `baseUrl` already carrying an `/x2/mcp/<…>/stream` path THROWS, so resolve ONCE from the instance base URL. Fires on an ephemeral. A TENANT rides AFTER the prefix (`/x2/mcp/tenant/<tenant>/<canonical>/<token>/stream`), not as a base-URL segment: `getUrl` LIFTS a `/tenant/<name>` out of the base and re-places it there, so `getUrl(window.XANO_HOST)` is correct as-is; concatenating them by hand builds an unregistered route that 404s. Pass `{ tenant }` when the base URL cannot name it (a tenant on its own domain).
|
|
7
|
+
- ⚠ Refuses any request carrying a browser `Origin`, preflight too: 403, JSON-RPC `-32000` `Forbidden: Origin not allowed`. One with no `Origin` (curl, a server, an MCP client) is served; the bundle cannot admit an origin, so call it server-side, never from browser JS.
|
|
7
8
|
- `tools?`: a `ToolsetToolEntry[]`. Pass the `tool()` HANDLES directly (`tools: [saveNote]`); use the `{ tool, enabled?, auth?, type?, resourceUri?, toolMeta? }` wrapper when an entry needs more. `type: "resource"` (+ a required `resourceUri`) is the LEGACY way to publish a tool as an MCP resource — author a `resource()` and list it in `resources` instead; `toolMeta` is extra metadata on a tool entry. The two payload fields are per-type and supplying the other one is refused, because the engine stores it against neither. `auth` names an auth **table** (a `table({ auth: true })` handle or its name) — per-tool, and the only gate there is. ⚠ It is also what gives the tool a CALLER, on an `agent()` exactly as on an MCP server. `auth()` inside a tool whose entry names no table does NOT return null: the call answers a normal result carrying `{"code":"ERROR_FATAL","message":""}`, so the model reads a successful tool result and reports success while nothing is written. A caller token does not rescue it — the ENTRY supplies identity. Spell it `{ tool: saveNote, auth: users }`; `export()` warns. An entry naming no tool THROWS at export; a deliberate raw `id: 0` warns and carries through.
|
|
8
9
|
- `prompts?` / `resources?`: `prompt()` / `resource()` HANDLES (or names), or a `{ prompt, enabled?, auth? }` / `{ resource, enabled?, auth? }` wrapper. `auth` names the auth table and is what gives the stack a caller: a prompt/resource reading `auth()` behind an entry with none answers every `prompts/get` / `resources/read` with `-32603 "Access Denied"` (`export()` warns `toolset.primitive-reads-auth-ungated`). Listing one target twice THROWS; two resources with one `uri` on one server fail `export()` (`mcp.resource-uri-duplicate`). MCP-server only — `agent()` takes tools only.
|
|
9
10
|
- `history?` is the server tier for its tools, prompts AND resources alike; an object's own `history` wins. The workspace tier (`workspaceConfig({ history })`) has `prompt` and `resource` keys, both default on.
|
|
@@ -24,6 +25,7 @@
|
|
|
24
25
|
- `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 }`.
|
|
25
26
|
- `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 })`.
|
|
26
27
|
- `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?` (genuinely exclusive: both is a type error and throws — the engine stores ONE `prompt_type`, so one would be dropped); 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
|
+
- `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.
|
|
27
29
|
- `tools?`: same `ToolsetToolEntry[]` as `mcpServer` — bare `tool()` handles, or a `{ tool, enabled?, auth? }` wrapper when one needs `enabled`/`auth`. A tool reading `auth()` MUST use the wrapper naming the auth table — a bare handle runs it with no caller (see `mcpServer`'s `tools?`).
|
|
28
30
|
- `output?`: `{ schema: Record<string, input.*>, enabled? }` — structured-output schema. `schema` is a named-field record authored with the `input.*` catalog, exactly like a `defineFunction`/`query` `input:` map (the stored `structuredOutputsSchema` is the same wire shape as function inputs). 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 straight from this schema — no `resultShape` witness needed (the shape is declared once). `resultShape` remains only to override that, or to type an agent referenced by bare name.
|
|
29
31
|
- **Run + read recipe (`s.ai.agent.run`):** bind the run to a var (`s.ai.agent.run({ agent, args, allowToolExecution: c.bool(true), 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`); persist it in a later step the same way (`s.set_var("summary", ref("run.result.summary"))`). `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"`. ⚠ An agent with tools needs `allowToolExecution: c.bool(true)` on the run: unset, its tools are OFF and it answers without them (warns `stack.agent-tools-off`).
|