@xano/sdk 1.0.7 → 1.0.8
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 +20 -5
- package/README.md +2 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-DGGSRPJ4.js → agent-file-refresh-QJO3MT6Q.js} +10 -10
- package/dist/{agent-skill-command-37DFYS7Q.js → agent-skill-command-GBR4KUUG.js} +42 -42
- package/dist/{answer-shape-RBFDCNZ7.js → answer-shape-UMQRXMCX.js} +5 -5
- package/dist/{backend-dir-KDD43X7K.js → backend-dir-PFUIPCV3.js} +10 -10
- package/dist/{backend-slot-TBOVZXDE.js → backend-slot-TTRNOQF5.js} +4 -4
- package/dist/bin.js +43 -43
- package/dist/{branch-7PIKNUD7.js → branch-Q7CDJRU6.js} +9 -9
- package/dist/{branch-commands-EGY7ZEZE.js → branch-commands-CR3SAHMV.js} +24 -24
- package/dist/bundle.js +2 -2
- package/dist/{chunk-46PATL23.js → chunk-2HZDWZM2.js} +3 -3
- package/dist/{chunk-ELPQTDW6.js → chunk-33KELF2X.js} +73 -72
- package/dist/{chunk-7VR4IO5B.js → chunk-3P35HT64.js} +2 -2
- package/dist/{chunk-HZ6ADG3O.js → chunk-3UZQ5TMG.js} +5 -5
- package/dist/{chunk-FENA7K7C.js → chunk-4JKXGPXB.js} +3 -3
- package/dist/{chunk-ARWMVNDJ.js → chunk-5QOV52V4.js} +2 -2
- package/dist/{chunk-EPFDY5JU.js → chunk-5Y5HWQ2P.js} +2 -2
- package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
- package/dist/{chunk-FNLTFOUD.js → chunk-6NEV2PEC.js} +2 -2
- package/dist/{chunk-47XT6WQL.js → chunk-6PTITS3M.js} +5 -5
- package/dist/{chunk-3FRGNBOC.js → chunk-6S263KTM.js} +2 -2
- package/dist/{chunk-JI3BLXWQ.js → chunk-6YOH2L3G.js} +11 -5
- package/dist/{chunk-5QMJOE2K.js → chunk-6ZFJEJXZ.js} +5 -3
- package/dist/{chunk-M2C54ZBC.js → chunk-75MKIQON.js} +4 -4
- package/dist/{chunk-SDGV76HF.js → chunk-76UAME77.js} +2 -2
- package/dist/{chunk-L472YIGG.js → chunk-77GV772V.js} +8 -8
- package/dist/{chunk-26LHXLD3.js → chunk-7JKNWDYN.js} +2 -2
- package/dist/{chunk-JOWY6HFL.js → chunk-7MPI7NIW.js} +3 -3
- package/dist/{chunk-TWVUYS63.js → chunk-7UWUEUVJ.js} +15 -15
- package/dist/{chunk-2ACWDSAQ.js → chunk-AS4G2MIE.js} +3 -3
- package/dist/{chunk-EF4MHLEW.js → chunk-B3NH5UBI.js} +4 -4
- package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
- package/dist/{chunk-UYFUIHH3.js → chunk-C2GHFADU.js} +2 -2
- package/dist/{chunk-ZJOAWRED.js → chunk-C2I4GC36.js} +4 -4
- package/dist/{chunk-CH23ONYG.js → chunk-C6KBZH7M.js} +7 -2
- package/dist/{chunk-5ZG7V2VW.js → chunk-CRE7P7P2.js} +3 -3
- package/dist/{chunk-AVS4WPPY.js → chunk-DER2CVNC.js} +2 -2
- package/dist/{chunk-JX6N73H3.js → chunk-DY3EJWWH.js} +2 -2
- package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
- package/dist/{chunk-A4R5CAY4.js → chunk-F3IA3YWI.js} +1 -1
- package/dist/{chunk-FQ53GTII.js → chunk-F5RPNTN7.js} +6 -6
- package/dist/{chunk-U5M7T6CI.js → chunk-FHQYXGAY.js} +7 -7
- package/dist/{chunk-567KK6XF.js → chunk-FN7E6XGD.js} +4 -4
- package/dist/{chunk-FDTET7FZ.js → chunk-GN5SQMIQ.js} +4 -4
- package/dist/{chunk-QRQ54LUI.js → chunk-H3ZBAR2L.js} +10 -10
- package/dist/{chunk-RBU2YX22.js → chunk-HFOGQIII.js} +2 -2
- package/dist/{chunk-DIWF7L33.js → chunk-HKLBDSML.js} +3 -3
- package/dist/{chunk-7M6JP3FS.js → chunk-HQPL34O6.js} +2 -2
- package/dist/{chunk-BSVQEKHO.js → chunk-HTP2CLRQ.js} +5 -5
- package/dist/{chunk-CPN6WSBH.js → chunk-HVPSDQJB.js} +3 -3
- package/dist/{chunk-IYXL5NYU.js → chunk-I53OTC3O.js} +2 -2
- package/dist/{chunk-NDJAKSE7.js → chunk-IB6SKACE.js} +4 -4
- package/dist/{chunk-BZ6WTG3E.js → chunk-JG642U5D.js} +4 -4
- package/dist/{chunk-EU32BC5B.js → chunk-JJGK7XGC.js} +8 -8
- package/dist/{chunk-YCUDOF6Q.js → chunk-JPRZ4ZGU.js} +15 -15
- package/dist/{chunk-GHMLRFRX.js → chunk-K75BFHQQ.js} +5 -5
- package/dist/{chunk-D3KEPRRN.js → chunk-LTPF25L2.js} +2 -1
- package/dist/{chunk-PV25BDCH.js → chunk-M3RLLT4O.js} +4 -4
- package/dist/{chunk-WNCW2RNB.js → chunk-NFSUGVDY.js} +4 -4
- package/dist/{chunk-N3YFCFCO.js → chunk-NFZUXS7D.js} +14 -14
- package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
- package/dist/{chunk-JOOKM7AH.js → chunk-OBJ7FQDX.js} +2 -2
- package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
- package/dist/{chunk-HTQWAQRW.js → chunk-P5W6DBV6.js} +3 -3
- package/dist/{chunk-B3P25SDP.js → chunk-PAS5HOG3.js} +5 -5
- package/dist/{chunk-S46ODQRA.js → chunk-PBK257CI.js} +2 -2
- package/dist/{chunk-AKERAUNH.js → chunk-PFW7WFAT.js} +4 -4
- package/dist/{chunk-2SD4LA22.js → chunk-QC3MKMDK.js} +2 -2
- package/dist/{chunk-YH2JVJAO.js → chunk-QE2GNFMP.js} +8 -8
- package/dist/{chunk-CNZASQPL.js → chunk-QL3ZJWGG.js} +2 -2
- package/dist/{chunk-VNDR2T35.js → chunk-QRKBFXIB.js} +7 -7
- package/dist/{chunk-IPNN2KRW.js → chunk-QTMXJQZN.js} +3 -3
- package/dist/{chunk-WUEPP5HD.js → chunk-QXOBZSQD.js} +4 -4
- package/dist/{chunk-VAGSKUWC.js → chunk-R3LANPQZ.js} +3 -3
- package/dist/{chunk-M3NEK3LT.js → chunk-R4NOZBOY.js} +4 -4
- package/dist/{chunk-D5OZRJ3T.js → chunk-RYMGK2K5.js} +6 -6
- package/dist/{chunk-2YER2J47.js → chunk-S2F7KVUL.js} +5 -5
- package/dist/{chunk-B2URJBC4.js → chunk-S3STXOAO.js} +14 -14
- package/dist/{chunk-7XXWKTCE.js → chunk-S3WN6GGO.js} +29 -29
- package/dist/{chunk-ORGNLQN6.js → chunk-S42TFTM5.js} +3 -3
- package/dist/{chunk-MYZRMSPM.js → chunk-TG65NWUR.js} +2 -2
- package/dist/{chunk-L6HZ67P6.js → chunk-TR7EOUQE.js} +2 -2
- package/dist/{chunk-PEIBGH2V.js → chunk-U7XNJ33Q.js} +22 -22
- package/dist/{chunk-ZXRDD3Q2.js → chunk-UKJFCEMI.js} +3 -3
- package/dist/{chunk-PEX4QZVI.js → chunk-ULUUOUQX.js} +2 -2
- package/dist/{chunk-ZGLNHA7T.js → chunk-UU7EEREQ.js} +4 -4
- package/dist/{chunk-SGK3PTTM.js → chunk-V7KMIEMF.js} +43 -43
- package/dist/{chunk-PY722CHR.js → chunk-VD7YTLWL.js} +2 -2
- package/dist/{chunk-RRMH7WMY.js → chunk-VHV25AAO.js} +7 -7
- package/dist/{chunk-MBL7CXJ7.js → chunk-VJTTTIIB.js} +2 -2
- package/dist/{chunk-5SCPRXFB.js → chunk-W2BVP27L.js} +3 -3
- package/dist/{chunk-2XWVZRL6.js → chunk-WEQFI55W.js} +7 -7
- package/dist/{chunk-VIJ5D3RC.js → chunk-XQO4A4Q4.js} +3 -3
- package/dist/{chunk-NV37YGOV.js → chunk-XYTVP4WI.js} +6 -6
- package/dist/{chunk-CT3J5JRZ.js → chunk-Y5ET37NN.js} +7 -7
- package/dist/{chunk-QGIZLFAS.js → chunk-YE7MHW45.js} +4 -4
- package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
- package/dist/{chunk-I6XRUU6U.js → chunk-YG7S3N7P.js} +117 -49
- package/dist/{chunk-H2K4GFUS.js → chunk-YP76ZCQ5.js} +4 -4
- package/dist/{chunk-DG3APBUJ.js → chunk-ZJCHS7FM.js} +84 -80
- package/dist/{chunk-V7MBRUK6.js → chunk-ZO3QWFNV.js} +3 -3
- package/dist/{chunk-DXZTL7NA.js → chunk-ZQ5WZWHF.js} +39 -39
- package/dist/{chunk-O56DQKPL.js → chunk-ZT2B22VQ.js} +9 -9
- package/dist/cli.d.ts +8 -1
- package/dist/cli.js +41 -41
- package/dist/{codegen-command-T7TC7PQO.js → codegen-command-4YXDJSLU.js} +61 -61
- package/dist/{commands-JDENTDJS.js → commands-FOHIPDKZ.js} +3 -3
- package/dist/{completion-YFD5OVJW.js → completion-XUBGMKGV.js} +3 -3
- package/dist/{config-YJFUTRJW.js → config-544VCRKP.js} +4 -4
- package/dist/{deploy-command-OEVEE6UG.js → deploy-command-FIDS56ZC.js} +48 -48
- package/dist/{deploy-source-HYVZEYXV.js → deploy-source-FPNNNNOW.js} +28 -28
- package/dist/{dev-env-sync-EFDCJ6KU.js → dev-env-sync-RBJ2U3HG.js} +42 -42
- package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
- package/dist/{display-name-hint-SW3GB3V7.js → display-name-hint-EZQK2PDU.js} +11 -11
- package/dist/{emit-Dov_92kn.d.ts → emit-8lcNcRrd.d.ts} +12 -12
- package/dist/{env-example-refresh-WNSOH534.js → env-example-refresh-6UTTMDOI.js} +62 -62
- package/dist/{env-pull-command-UYEXMQ3P.js → env-pull-command-P5MATITQ.js} +40 -40
- package/dist/{env-target-JBSLBKNX.js → env-target-F75YF25S.js} +10 -10
- package/dist/{env-var-command-BJNRAXNV.js → env-var-command-H3GHROVB.js} +38 -38
- package/dist/{ephemeral-CEOGMIEA.js → ephemeral-H24NF6WP.js} +9 -9
- package/dist/{ephemeral-command-IPSGBCS5.js → ephemeral-command-NH2XW3YK.js} +41 -41
- package/dist/{ephemeral-state-MTBASPRS.js → ephemeral-state-YLZQIOBF.js} +8 -8
- package/dist/{generate-command-XQXODBS6.js → generate-command-IANKN6WV.js} +66 -66
- package/dist/{gitignore-RUVCIZO4.js → gitignore-FT2LVOMI.js} +14 -14
- package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
- package/dist/{impersonate-command-MA27O7S5.js → impersonate-command-7B67ICPL.js} +34 -34
- package/dist/{import-XKRFHABE.js → import-TXYVFYJS.js} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8 -8
- package/dist/{init-command-6RDTCMAB.js → init-command-QOA4TJI2.js} +46 -46
- package/dist/{init-modules-DHTBOCQT.js → init-modules-KEEJ4HAF.js} +8 -8
- package/dist/{init-web-ELBXSXDL.js → init-web-MSXDARRF.js} +3 -3
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +10 -10
- package/dist/{keep-data-merge-TDJOIAVT.js → keep-data-merge-BIBW4QR4.js} +23 -23
- package/dist/{landing-record-TPPYFQAS.js → landing-record-DO3PM7QP.js} +16 -16
- package/dist/{live-diff-5E2BQWQ7.js → live-diff-CGTGOH3S.js} +3 -3
- package/dist/{local-engine-choice-S6VHPJRU.js → local-engine-choice-2UF7S5QZ.js} +31 -31
- package/dist/{local-engine-command-4EZCGZ6M.js → local-engine-command-WGMMZRQL.js} +36 -36
- package/dist/{local-engine-config-2EBL3QKA.js → local-engine-config-6CB6FOEJ.js} +2 -2
- package/dist/{local-engine-deploy-FOPNWU7X.js → local-engine-deploy-ID4JJXB5.js} +14 -14
- package/dist/{local-engine-lookup-GM3E3NPP.js → local-engine-lookup-IC7BKAYP.js} +4 -4
- package/dist/{local-engine-mcp-bridge-QKZHUGW3.js → local-engine-mcp-bridge-3SOJMZ5T.js} +5 -5
- package/dist/{local-engine-mcp-command-BFQVLXZC.js → local-engine-mcp-command-RMVUH4FL.js} +39 -39
- package/dist/{local-engine-process-XUQPQENQ.js → local-engine-process-HG5BGG3F.js} +9 -9
- package/dist/{local-engine-state-JQPKGB65.js → local-engine-state-JZHTKHDG.js} +3 -3
- package/dist/{local-engine-update-check-S7UF6ZF5.js → local-engine-update-check-SKZR7YSC.js} +6 -6
- package/dist/{lock-commands-HJ6Y5QVS.js → lock-commands-5NMQWBGH.js} +46 -46
- package/dist/{login-command-JO55NZAS.js → login-command-GLLFZWHT.js} +22 -22
- package/dist/{logout-command-MPRIRSJA.js → logout-command-NCMKMJWF.js} +13 -13
- package/dist/{loop-SUB6C2LK.js → loop-XFDS65OD.js} +3 -3
- package/dist/{marketplace-command-BM6G257N.js → marketplace-command-Y3RRUEWL.js} +29 -29
- package/dist/{marketplace-resolve-AWH3RG57.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
- package/dist/{meta-client-AOSWODQQ.js → meta-client-Y7N6WDS2.js} +11 -11
- package/dist/{module-manifest-GXI46PEF.js → module-manifest-KY7J63HG.js} +4 -4
- package/dist/node.d.ts +4 -4
- package/dist/node.js +47 -47
- package/dist/{operation-outcome-4UKPXTNC.js → operation-outcome-4BFISK2R.js} +22 -22
- package/dist/{output-target-RAZ4KN5J.js → output-target-MFANTVGZ.js} +15 -15
- package/dist/{plan-disclosure-JR52DWXN.js → plan-disclosure-GNLDYV2A.js} +15 -15
- package/dist/{plugin-contributions-E6XHLQWK.js → plugin-contributions-PAGG6SUP.js} +5 -5
- package/dist/{plugin-prompt-IODX5EU6.js → plugin-prompt-2MX6LF6X.js} +5 -5
- package/dist/{plugin-questions-AAAJ7POP.js → plugin-questions-AP6VUTOB.js} +4 -4
- package/dist/{preflight-command-7GKJBWOQ.js → preflight-command-Q6XOKRM6.js} +53 -53
- package/dist/{profile-command-CM6J7E2M.js → profile-command-XPQIXFWN.js} +23 -23
- package/dist/{profile-pointer-KTYXL6FU.js → profile-pointer-4HJQH5ZR.js} +4 -4
- package/dist/{project-dependency-OQ5575QQ.js → project-dependency-ORX45I74.js} +7 -7
- package/dist/{project-sdk-2ESHHZVL.js → project-sdk-IYMFVQRC.js} +4 -4
- package/dist/promote-command-DN64QK7O.js +147 -0
- package/dist/{prompt-MQPGU4ZI.js → prompt-ZZUYWFQX.js} +4 -4
- package/dist/{publish-command-IEMYZ7LF.js → publish-command-SLE46MQX.js} +51 -51
- package/dist/{pull-command-S5E2ABZ4.js → pull-command-UVK3IOXM.js} +64 -64
- package/dist/{pull-superseded-E34BZVLH.js → pull-superseded-UZ3MB53B.js} +4 -4
- package/dist/{release-command-7F5TBKO2.js → release-command-MKNESNGB.js} +59 -59
- package/dist/{release-ns-command-EK2ZQ4CC.js → release-ns-command-HLR46IKP.js} +75 -75
- package/dist/{retry-command-GL5HCMVB.js → retry-command-VZYLYDVX.js} +8 -8
- package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
- package/dist/{routes-manifest-file-LCIKPDAG.js → routes-manifest-file-UHVVL2YB.js} +7 -7
- package/dist/{secrets-file-LXREYU3M.js → secrets-file-HST7BMQC.js} +14 -14
- package/dist/{secrets-fill-command-QHZS3KWM.js → secrets-fill-command-FQJ4QFBP.js} +45 -45
- package/dist/{seed-FRKMDN2Z.js → seed-KEPIS7UZ.js} +5 -5
- package/dist/{source-resolve-BBHYTOXI.js → source-resolve-LNRUITLS.js} +20 -20
- package/dist/{static-host-7LC7OZR4.js → static-host-JAOT3N3E.js} +5 -5
- package/dist/{status-command-TY253MJT.js → status-command-S5CBG2SW.js} +35 -35
- package/dist/{store-Boba9OOh.d.ts → store-CuD1k4kV.d.ts} +1 -1
- package/dist/{store-VJ3OS6VO.js → store-YFNDD6GZ.js} +6 -6
- package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-3CDL4PKT.js} +7 -5
- package/dist/{sync-contributions-63542VE4.js → sync-contributions-O5ZRM2JN.js} +9 -9
- package/dist/{sync-record-RGHK7EAL.js → sync-record-U65BCPSP.js} +10 -10
- package/dist/{table-OAYGFGEN.js → table-E5YTK7QX.js} +7 -7
- package/dist/{tables-command-PZIVDAH3.js → tables-command-7KI2KZOS.js} +34 -34
- package/dist/{tenant-Y3II4VY3.js → tenant-DAXJ4P4D.js} +10 -10
- package/dist/{tenant-command-G6XON7CF.js → tenant-command-MQTLNETR.js} +81 -81
- package/dist/{test-command-3FZOX7O3.js → test-command-NLYMAAPD.js} +33 -33
- package/dist/{tests-KF6N6BZ7.js → tests-CLDZWLKF.js} +6 -6
- package/dist/{token-DJJUW5HY.js → token-3IPTVEEW.js} +9 -9
- package/dist/{toolchain-hooks-7PWCFLSU.js → toolchain-hooks-3ZAAAWPL.js} +6 -6
- package/dist/{toolchain-modules-OTNSKK52.js → toolchain-modules-K46KYJ4G.js} +5 -5
- package/dist/{toolchain-peers-KQ7TQ2AR.js → toolchain-peers-AIKWKJH7.js} +8 -8
- package/dist/{tracked-backend-AJCGTO5Y.js → tracked-backend-FQFXTTYZ.js} +31 -31
- package/dist/{update-check-4E5L6GAW.js → update-check-FHRRUDEC.js} +44 -44
- package/dist/{upgrade-command-BXMSQN4C.js → upgrade-command-WNBPKUXN.js} +46 -46
- package/dist/{whoami-command-NLCCIEUM.js → whoami-command-DPGDK35H.js} +12 -12
- package/dist/{workspace-PNMJOXE4.js → workspace-2GMONZ2A.js} +5 -5
- package/dist/{workspace-binding-J5GWDFRI.js → workspace-binding-PAUOIK3V.js} +11 -11
- package/dist/{workspace-command-MHIIY352.js → workspace-command-KEKL27Y4.js} +84 -89
- package/dist/{workspace-env-LLRWCHSA.js → workspace-env-GGEZVZDY.js} +11 -11
- package/dist/{workspace-export-BIKAYHWJ.js → workspace-export-UHY22VBI.js} +5 -5
- package/dist/{writable-UOTO4WWC.js → writable-2A6MBSFD.js} +4 -4
- package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
- package/dist/{xanosdk-import-S7A3CVBN.js → xanosdk-import-HYHABD5U.js} +6 -6
- package/dist/{xanosdk-project-J4VCFRHP.js → xanosdk-project-2T56DRYS.js} +12 -12
- package/guides/codes.md +4 -1
- package/guides/deploying.md +17 -1
- package/llms/errors.md +1 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms-full.txt +3 -3
- package/llms.txt +1 -1
- package/manifest.json +5 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/promote-command-BDRPG6UU.js +0 -147
package/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# xanosdk v1.0.
|
|
1
|
+
# xanosdk v1.0.8
|
|
2
2
|
|
|
3
3
|
> TypeScript SDK that compiles a typed Xano workspace into the importable packageExport JSON bundle.
|
|
4
4
|
|
|
@@ -766,7 +766,7 @@ core sections still refresh; under `routes --emit --strict` it is fatal. `@xano-
|
|
|
766
766
|
- A response types as `StackTupleWidened` — a `Statement[]` helper was spread into the stack; return `statements(...)`. `llms.txt`; `llms/statements-runtime.md`.
|
|
767
767
|
- `ERR_PACKAGE_PATH_NOT_EXPORTED` — `tsx -e "import …"`, or running from outside the project root; run a real file with `tsx <file.ts>` from the root. `llms/client.md`.
|
|
768
768
|
- `Missing statement: mvp:placeholder` on import — an unconfigured slot in a pulled tree; replace it with the statement it stands in for. `llms/legacy.md`.
|
|
769
|
-
- A CLI command fails under `--json` or piped (unless stdout carries data): stdout is `{ ok: false, error: { code, message, exitCode, details?, suggestion? } }`, as does a failed release write. Codes: `SDK_SEED_IN_STATIC` (`details.leaks[]` → `publicSeed`), `SDK_EXPORT_INVALID` (`details.diagnostics[]`, `--strict` too), `SDK_DRIFT`, `SDK_BRANCH_TAKEN`, `SDK_BRANCH_LIVE`, `SDK_RELEASE_NAME_TAKEN`, `SDK_RELEASE_FILES_NOT_CARRIED`, `SDK_LIVE_BRANCH_MISMATCH` (`details.conflictsWith`), `SDK_IDENTITY_CONFLICT`, `SDK_KIND_CONFLICT`, `SDK_PRUNE_OUT_OF_SCOPE`, `SDK_IMPORT_REFUSED`, `SDK_SHARED_SCHEMA_CHANGE`, `SDK_CONSTRAINT_VIOLATION`, `SDK_CREDENTIAL_REJECTED` (`details`: `{ profile, credentialType, instance, workspaceId, signIn }`; ids null on a refused env refresh), `SDK_USAGE` (`details.reason: "needs-confirmation"`: run its `Re-run as`), `SDK_ERROR`. Landing refusal `details.refused`: identityConflict, renamePending, kindConflict, uniqueViolation, tableTrigger, importInProgress, importRefused, pruneOutOfScope. `warnings[]` / `details.warnings` / `accepted[]` entries: `{ code, message, subject? }` (`subject`: the def's `{ kind, name }`). Backend documents add `selector` and `workspaceId`.
|
|
769
|
+
- A CLI command fails under `--json` or piped (unless stdout carries data): stdout is `{ ok: false, error: { code, message, exitCode, details?, suggestion? } }`, as does a failed release write. Codes: `SDK_SEED_IN_STATIC` (`details.leaks[]` → `publicSeed`), `SDK_EXPORT_INVALID` (`details.diagnostics[]`, `--strict` too), `SDK_DRIFT`, `SDK_BRANCH_TAKEN`, `SDK_BRANCH_LIVE`, `SDK_RELEASE_NAME_TAKEN`, `SDK_RELEASE_FILES_NOT_CARRIED`, `SDK_LIVE_BRANCH_MISMATCH` (`details.conflictsWith`), `SDK_IDENTITY_CONFLICT`, `SDK_KIND_CONFLICT`, `SDK_PRUNE_OUT_OF_SCOPE`, `SDK_IMPORT_REFUSED`, `SDK_SHARED_SCHEMA_CHANGE`, `SDK_CONSTRAINT_VIOLATION`, `SDK_CREDENTIAL_REJECTED` (`details`: `{ profile, credentialType, instance, workspaceId, signIn }`; ids null on a refused env refresh), `SDK_WORKSPACE_CHANGED` (deploy over objects edited in Xano since the last sync; `details.objects`; pull first or `--overwrite`), `SDK_USAGE` (`details.reason: "needs-confirmation"`: run its `Re-run as`), `SDK_ERROR`. Landing refusal `details.refused`: identityConflict, renamePending, kindConflict, uniqueViolation, tableTrigger, importInProgress, importRefused, pruneOutOfScope. `warnings[]` / `details.warnings` / `accepted[]` entries: `{ code, message, subject? }` (`subject`: the def's `{ kind, name }`). Backend documents add `selector` and `workspaceId`.
|
|
770
770
|
- A CLI command reports `could not reach <url>: fetch failed (<code>)` — blocked egress, not a bad credential; fix it before `xanosdk login`, which rotates a single-use refresh token.
|
|
771
771
|
|
|
772
772
|
### CLI exit codes
|
|
@@ -874,7 +874,7 @@ The run is isolated in ways that make a correct test fail for reasons the failur
|
|
|
874
874
|
- `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.
|
|
875
875
|
- `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?`).
|
|
876
876
|
- `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.
|
|
877
|
-
- **Run + read recipe (`s.ai.agent.run`):** bind the run to a var (`s.ai.agent.run({ agent, args, as: "run" })`) — it produces a rich envelope, and the completion is at **`.result`**. Read one structured field with a dotted ref (`response: ref("run.result.priority")`) or the whole completion (`ref("run.result")`, typed from `output.schema`); 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"`.
|
|
877
|
+
- **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`).
|
|
878
878
|
- **Marketplace:** for chat history, use `@xano-sdk/chatbot`; for vector RAG, use `@xano-sdk/vector` (`tools: [vector.searchTool]`). Find add-ons with `xanosdk marketplace search <q>`.
|
|
879
879
|
- Both kinds persist under the `toolset` payload key, so a same-name `agent` + `mcpServer` pair derives ONE guid and `export()` throws — give them distinct names.
|
|
880
880
|
|
package/llms.txt
CHANGED
package/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xanosdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "TypeScript SDK that compiles a typed Xano workspace into the importable packageExport JSON bundle.",
|
|
5
5
|
"coverage": {
|
|
6
6
|
"objectKinds": {
|
|
@@ -9118,6 +9118,10 @@
|
|
|
9118
9118
|
"flag": "--allow-shared-schema-changes",
|
|
9119
9119
|
"description": "Proceed even though table/microservice changes reach every branch — only with --to"
|
|
9120
9120
|
},
|
|
9121
|
+
{
|
|
9122
|
+
"flag": "--overwrite",
|
|
9123
|
+
"description": "Deploy over objects changed in Xano since the last deploy or pull (see `workspace diff`) — only with --to"
|
|
9124
|
+
},
|
|
9121
9125
|
{
|
|
9122
9126
|
"flag": "--allow-branch-deletion",
|
|
9123
9127
|
"description": "Acknowledge that --replace permanently deletes the workspace's other branches — only with --to"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xano/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Xano SDK — your Xano backend as TypeScript. `xanosdk deploy` ships your typed workspace (and an optional static frontend) to a live, auto-expiring ephemeral environment and prints its URL. init → deploy → URL.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xanosdk",
|
|
@@ -14,8 +14,8 @@ description: >-
|
|
|
14
14
|
FastAPI) unless the user asks for Xano.
|
|
15
15
|
license: MIT
|
|
16
16
|
metadata:
|
|
17
|
-
xanosdk-version: "1.0.
|
|
18
|
-
xanosdk-digest: "sha256:
|
|
17
|
+
xanosdk-version: "1.0.8"
|
|
18
|
+
xanosdk-digest: "sha256:1473ad316197d3149c9222c5e54e206572a25319536a7fb2f3f22443db2c1088"
|
|
19
19
|
---
|
|
20
20
|
|
|
21
21
|
# Xano backend
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
assertNoMergeFlags,
|
|
3
|
-
derivedPromoteLabel,
|
|
4
|
-
isDerivedPromoteLabel,
|
|
5
|
-
reportNotRun,
|
|
6
|
-
runPromoteCommand
|
|
7
|
-
} from "./chunk-7XXWKTCE.js";
|
|
8
|
-
import "./chunk-5ZG7V2VW.js";
|
|
9
|
-
import "./chunk-DXZTL7NA.js";
|
|
10
|
-
import "./chunk-SGK3PTTM.js";
|
|
11
|
-
import "./chunk-B3P25SDP.js";
|
|
12
|
-
import "./chunk-IPNN2KRW.js";
|
|
13
|
-
import "./chunk-LBJA7IEM.js";
|
|
14
|
-
import "./chunk-I6XRUU6U.js";
|
|
15
|
-
import "./chunk-RRMH7WMY.js";
|
|
16
|
-
import "./chunk-JI3BLXWQ.js";
|
|
17
|
-
import "./chunk-NV37YGOV.js";
|
|
18
|
-
import "./chunk-N3YFCFCO.js";
|
|
19
|
-
import "./chunk-7M6JP3FS.js";
|
|
20
|
-
import "./chunk-BSVQEKHO.js";
|
|
21
|
-
import "./chunk-FNLTFOUD.js";
|
|
22
|
-
import "./chunk-H2K4GFUS.js";
|
|
23
|
-
import "./chunk-2YER2J47.js";
|
|
24
|
-
import "./chunk-VAGSKUWC.js";
|
|
25
|
-
import "./chunk-L472YIGG.js";
|
|
26
|
-
import "./chunk-567KK6XF.js";
|
|
27
|
-
import "./chunk-2SD4LA22.js";
|
|
28
|
-
import "./chunk-3DRXWLJ5.js";
|
|
29
|
-
import "./chunk-X4DVXBFY.js";
|
|
30
|
-
import "./chunk-M2C54ZBC.js";
|
|
31
|
-
import "./chunk-GHMLRFRX.js";
|
|
32
|
-
import "./chunk-JOOKM7AH.js";
|
|
33
|
-
import "./chunk-2TFRR6JV.js";
|
|
34
|
-
import "./chunk-IYXL5NYU.js";
|
|
35
|
-
import "./chunk-BZ6WTG3E.js";
|
|
36
|
-
import "./chunk-DG3APBUJ.js";
|
|
37
|
-
import "./chunk-VIJ5D3RC.js";
|
|
38
|
-
import "./chunk-PV25BDCH.js";
|
|
39
|
-
import "./chunk-B2URJBC4.js";
|
|
40
|
-
import "./chunk-S46ODQRA.js";
|
|
41
|
-
import "./chunk-TWVUYS63.js";
|
|
42
|
-
import "./chunk-26LHXLD3.js";
|
|
43
|
-
import "./chunk-ZJOAWRED.js";
|
|
44
|
-
import "./chunk-MBL7CXJ7.js";
|
|
45
|
-
import "./chunk-YH2JVJAO.js";
|
|
46
|
-
import "./chunk-VNDR2T35.js";
|
|
47
|
-
import "./chunk-EPFDY5JU.js";
|
|
48
|
-
import "./chunk-A4R5CAY4.js";
|
|
49
|
-
import "./chunk-LCOCRJ4K.js";
|
|
50
|
-
import "./chunk-WNCW2RNB.js";
|
|
51
|
-
import "./chunk-QGIZLFAS.js";
|
|
52
|
-
import "./chunk-2MNLRIOX.js";
|
|
53
|
-
import "./chunk-AKERAUNH.js";
|
|
54
|
-
import "./chunk-CJDPSCMX.js";
|
|
55
|
-
import "./chunk-ZXRDD3Q2.js";
|
|
56
|
-
import "./chunk-PY722CHR.js";
|
|
57
|
-
import "./chunk-ZGLNHA7T.js";
|
|
58
|
-
import "./chunk-ORGNLQN6.js";
|
|
59
|
-
import "./chunk-ZYJP6BOO.js";
|
|
60
|
-
import "./chunk-QO6BVGS5.js";
|
|
61
|
-
import "./chunk-PEX4QZVI.js";
|
|
62
|
-
import "./chunk-MYZRMSPM.js";
|
|
63
|
-
import "./chunk-UYFUIHH3.js";
|
|
64
|
-
import "./chunk-622HUCZT.js";
|
|
65
|
-
import "./chunk-3FRGNBOC.js";
|
|
66
|
-
import "./chunk-NDJAKSE7.js";
|
|
67
|
-
import "./chunk-EUUUMY7J.js";
|
|
68
|
-
import "./chunk-5SCPRXFB.js";
|
|
69
|
-
import "./chunk-DIWF7L33.js";
|
|
70
|
-
import "./chunk-D5OZRJ3T.js";
|
|
71
|
-
import "./chunk-EF4MHLEW.js";
|
|
72
|
-
import "./chunk-ZFDZKNGG.js";
|
|
73
|
-
import "./chunk-FWD7AL6N.js";
|
|
74
|
-
import "./chunk-47XT6WQL.js";
|
|
75
|
-
import "./chunk-DXUICABI.js";
|
|
76
|
-
import "./chunk-L6HZ67P6.js";
|
|
77
|
-
import "./chunk-4KHEMC32.js";
|
|
78
|
-
import "./chunk-FDTET7FZ.js";
|
|
79
|
-
import "./chunk-MFWF2NZJ.js";
|
|
80
|
-
import "./chunk-DNBP4GJN.js";
|
|
81
|
-
import "./chunk-CNZASQPL.js";
|
|
82
|
-
import "./chunk-WAVNUTMT.js";
|
|
83
|
-
import "./chunk-ARWMVNDJ.js";
|
|
84
|
-
import "./chunk-LLNZGEFK.js";
|
|
85
|
-
import "./chunk-HU7F56VF.js";
|
|
86
|
-
import "./chunk-MF4W6FHU.js";
|
|
87
|
-
import "./chunk-X2NL4KUO.js";
|
|
88
|
-
import "./chunk-4GPIOIAC.js";
|
|
89
|
-
import "./chunk-SKEG3V2V.js";
|
|
90
|
-
import "./chunk-E763QI3G.js";
|
|
91
|
-
import "./chunk-BRANWM4U.js";
|
|
92
|
-
import "./chunk-5GIOCDUM.js";
|
|
93
|
-
import "./chunk-LJM5CIY4.js";
|
|
94
|
-
import "./chunk-7THDHQ4R.js";
|
|
95
|
-
import "./chunk-3YW23UFH.js";
|
|
96
|
-
import "./chunk-7REDHC4N.js";
|
|
97
|
-
import "./chunk-CH23ONYG.js";
|
|
98
|
-
import "./chunk-FQ53GTII.js";
|
|
99
|
-
import "./chunk-VJFMUJWZ.js";
|
|
100
|
-
import "./chunk-6JAEMMZ7.js";
|
|
101
|
-
import "./chunk-5QMJOE2K.js";
|
|
102
|
-
import "./chunk-45ZUMF4E.js";
|
|
103
|
-
import "./chunk-7KPKDHHI.js";
|
|
104
|
-
import "./chunk-7FIMUFBP.js";
|
|
105
|
-
import "./chunk-T4LJ5UR2.js";
|
|
106
|
-
import "./chunk-ICK36EGF.js";
|
|
107
|
-
import "./chunk-BEXZ4XRV.js";
|
|
108
|
-
import "./chunk-ETAZIGNT.js";
|
|
109
|
-
import "./chunk-GSGDWJB5.js";
|
|
110
|
-
import "./chunk-SLGJIWCY.js";
|
|
111
|
-
import "./chunk-ERVIASGL.js";
|
|
112
|
-
import "./chunk-VTMTIBKP.js";
|
|
113
|
-
import "./chunk-H2V3N23D.js";
|
|
114
|
-
import "./chunk-3JDU4VRL.js";
|
|
115
|
-
import "./chunk-WTPZRR4I.js";
|
|
116
|
-
import "./chunk-YHB34BN6.js";
|
|
117
|
-
import "./chunk-UTI5G6OJ.js";
|
|
118
|
-
import "./chunk-5KJBWIDZ.js";
|
|
119
|
-
import "./chunk-5ZSO4T2G.js";
|
|
120
|
-
import "./chunk-VQPDATQT.js";
|
|
121
|
-
import "./chunk-UDZX2ZL4.js";
|
|
122
|
-
import "./chunk-ZY55DO5P.js";
|
|
123
|
-
import "./chunk-A2AOUBJS.js";
|
|
124
|
-
import "./chunk-TFFGOFVZ.js";
|
|
125
|
-
import "./chunk-7VR4IO5B.js";
|
|
126
|
-
import "./chunk-EHP3WPEG.js";
|
|
127
|
-
import "./chunk-D3KEPRRN.js";
|
|
128
|
-
import "./chunk-Q7DGTQ5G.js";
|
|
129
|
-
import "./chunk-4XHAT7C5.js";
|
|
130
|
-
import "./chunk-S56YBYMN.js";
|
|
131
|
-
import "./chunk-UVF45BVU.js";
|
|
132
|
-
import "./chunk-VAX3UZOY.js";
|
|
133
|
-
import "./chunk-LL6ED5IB.js";
|
|
134
|
-
import "./chunk-4BW2SG2N.js";
|
|
135
|
-
import "./chunk-JIKGT7DO.js";
|
|
136
|
-
import "./chunk-4MIV244X.js";
|
|
137
|
-
import "./chunk-OHX6MIUZ.js";
|
|
138
|
-
import "./chunk-36JUQZVQ.js";
|
|
139
|
-
import "./chunk-PZ5AY32C.js";
|
|
140
|
-
export {
|
|
141
|
-
assertNoMergeFlags,
|
|
142
|
-
derivedPromoteLabel,
|
|
143
|
-
isDerivedPromoteLabel,
|
|
144
|
-
reportNotRun,
|
|
145
|
-
runPromoteCommand
|
|
146
|
-
};
|
|
147
|
-
//# sourceMappingURL=promote-command-BDRPG6UU.js.map
|