@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
|
@@ -1,114 +1,114 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printMicroserviceSection,
|
|
3
3
|
readMicroservices
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R4NOZBOY.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-ZQ5WZWHF.js";
|
|
8
|
+
import "./chunk-V7KMIEMF.js";
|
|
9
|
+
import "./chunk-PAS5HOG3.js";
|
|
10
|
+
import "./chunk-QTMXJQZN.js";
|
|
11
|
+
import "./chunk-O376UAZS.js";
|
|
12
|
+
import "./chunk-6YOH2L3G.js";
|
|
13
|
+
import "./chunk-XYTVP4WI.js";
|
|
14
14
|
import {
|
|
15
15
|
confirm
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-HQPL34O6.js";
|
|
17
|
+
import "./chunk-6NEV2PEC.js";
|
|
18
18
|
import {
|
|
19
19
|
listTables
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-YP76ZCQ5.js";
|
|
21
|
+
import "./chunk-R3LANPQZ.js";
|
|
22
|
+
import "./chunk-QC3MKMDK.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-75MKIQON.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-FHQYXGAY.js";
|
|
33
|
+
import "./chunk-K75BFHQQ.js";
|
|
34
|
+
import "./chunk-OBJ7FQDX.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-AS4G2MIE.js";
|
|
41
41
|
import {
|
|
42
42
|
secretsCarriedBy
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-I53OTC3O.js";
|
|
44
|
+
import "./chunk-JG642U5D.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-ZJCHS7FM.js";
|
|
52
|
+
import "./chunk-XQO4A4Q4.js";
|
|
53
|
+
import "./chunk-M3RLLT4O.js";
|
|
54
|
+
import "./chunk-S3STXOAO.js";
|
|
55
|
+
import "./chunk-PBK257CI.js";
|
|
56
|
+
import "./chunk-7UWUEUVJ.js";
|
|
57
|
+
import "./chunk-7JKNWDYN.js";
|
|
58
|
+
import "./chunk-C2I4GC36.js";
|
|
59
|
+
import "./chunk-VJTTTIIB.js";
|
|
60
60
|
import {
|
|
61
61
|
getAccessToken
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-QE2GNFMP.js";
|
|
63
|
+
import "./chunk-QRKBFXIB.js";
|
|
64
|
+
import "./chunk-5Y5HWQ2P.js";
|
|
65
|
+
import "./chunk-F3IA3YWI.js";
|
|
66
66
|
import "./chunk-LCOCRJ4K.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-NFSUGVDY.js";
|
|
68
|
+
import "./chunk-YE7MHW45.js";
|
|
69
69
|
import "./chunk-2MNLRIOX.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-PFW7WFAT.js";
|
|
71
71
|
import "./chunk-CJDPSCMX.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-UKJFCEMI.js";
|
|
73
|
+
import "./chunk-VD7YTLWL.js";
|
|
74
|
+
import "./chunk-UU7EEREQ.js";
|
|
75
|
+
import "./chunk-S42TFTM5.js";
|
|
76
76
|
import "./chunk-ZYJP6BOO.js";
|
|
77
77
|
import "./chunk-QO6BVGS5.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-ULUUOUQX.js";
|
|
79
|
+
import "./chunk-TG65NWUR.js";
|
|
80
80
|
import {
|
|
81
81
|
yesRerun
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-C2GHFADU.js";
|
|
83
83
|
import "./chunk-622HUCZT.js";
|
|
84
84
|
import {
|
|
85
85
|
contextFlags
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import "./chunk-
|
|
86
|
+
} from "./chunk-6S263KTM.js";
|
|
87
|
+
import "./chunk-IB6SKACE.js";
|
|
88
88
|
import "./chunk-EUUUMY7J.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-W2BVP27L.js";
|
|
90
|
+
import "./chunk-HKLBDSML.js";
|
|
91
|
+
import "./chunk-RYMGK2K5.js";
|
|
92
|
+
import "./chunk-B3NH5UBI.js";
|
|
93
93
|
import "./chunk-ZFDZKNGG.js";
|
|
94
94
|
import "./chunk-FWD7AL6N.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-6PTITS3M.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-TR7EOUQE.js";
|
|
103
103
|
import {
|
|
104
104
|
describeWrite
|
|
105
105
|
} from "./chunk-4KHEMC32.js";
|
|
106
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-GN5SQMIQ.js";
|
|
107
107
|
import "./chunk-MFWF2NZJ.js";
|
|
108
108
|
import "./chunk-DNBP4GJN.js";
|
|
109
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-QL3ZJWGG.js";
|
|
110
110
|
import "./chunk-WAVNUTMT.js";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-5QOV52V4.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-EKTIGGFO.js";
|
|
120
120
|
import "./chunk-E763QI3G.js";
|
|
121
121
|
import "./chunk-BRANWM4U.js";
|
|
122
122
|
import "./chunk-5GIOCDUM.js";
|
|
@@ -143,26 +143,26 @@ import {
|
|
|
143
143
|
warn,
|
|
144
144
|
writeJson,
|
|
145
145
|
writeTargetPayload
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
148
|
-
import "./chunk-
|
|
146
|
+
} from "./chunk-C6KBZH7M.js";
|
|
147
|
+
import "./chunk-F5RPNTN7.js";
|
|
148
|
+
import "./chunk-OHTHG3LL.js";
|
|
149
149
|
import "./chunk-6JAEMMZ7.js";
|
|
150
|
-
import "./chunk-
|
|
150
|
+
import "./chunk-6ZFJEJXZ.js";
|
|
151
151
|
import "./chunk-45ZUMF4E.js";
|
|
152
152
|
import "./chunk-7KPKDHHI.js";
|
|
153
153
|
import "./chunk-7FIMUFBP.js";
|
|
154
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-6BOKCTCM.js";
|
|
155
155
|
import "./chunk-ICK36EGF.js";
|
|
156
156
|
import "./chunk-BEXZ4XRV.js";
|
|
157
157
|
import "./chunk-ETAZIGNT.js";
|
|
158
158
|
import "./chunk-GSGDWJB5.js";
|
|
159
|
-
import "./chunk-
|
|
159
|
+
import "./chunk-B5N6EWOM.js";
|
|
160
160
|
import "./chunk-ERVIASGL.js";
|
|
161
161
|
import "./chunk-VTMTIBKP.js";
|
|
162
162
|
import "./chunk-H2V3N23D.js";
|
|
163
163
|
import "./chunk-3JDU4VRL.js";
|
|
164
164
|
import "./chunk-WTPZRR4I.js";
|
|
165
|
-
import "./chunk-
|
|
165
|
+
import "./chunk-YEH5OIPF.js";
|
|
166
166
|
import "./chunk-UTI5G6OJ.js";
|
|
167
167
|
import "./chunk-5KJBWIDZ.js";
|
|
168
168
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -173,9 +173,9 @@ 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-3P35HT64.js";
|
|
177
177
|
import "./chunk-EHP3WPEG.js";
|
|
178
|
-
import "./chunk-
|
|
178
|
+
import "./chunk-LTPF25L2.js";
|
|
179
179
|
import "./chunk-Q7DGTQ5G.js";
|
|
180
180
|
import "./chunk-4XHAT7C5.js";
|
|
181
181
|
import "./chunk-S56YBYMN.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-CR3SAHMV.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-LNRUITLS.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-FPNNNNOW.js");
|
|
296
296
|
const entry = resolveProjectEntry(process.cwd());
|
|
297
297
|
if (entry !== void 0) args = { ...args, file: entry };
|
|
298
298
|
}
|
|
@@ -305,39 +305,34 @@ 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-LNRUITLS.js");
|
|
309
309
|
throw unansweredRead(err, "read the workspace to compare", "workspace");
|
|
310
310
|
}
|
|
311
|
-
const {
|
|
312
|
-
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-
|
|
311
|
+
const { SETTINGS_LABEL } = await import("./live-diff-CGTGOH3S.js");
|
|
312
|
+
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-MKNESNGB.js");
|
|
313
313
|
const pinned = codePinnedCanonicals(local.bundle, releaseCanonicalLock(args), args.file !== void 0);
|
|
314
|
-
const result = compareToLive(
|
|
315
|
-
JSON.parse(local.bundle),
|
|
316
|
-
live,
|
|
317
|
-
new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)),
|
|
318
|
-
// Everything, not the report's sample: a caller who ran a diff asked for the
|
|
319
|
-
// list, and a truncated one would hide the object they are looking for.
|
|
320
|
-
// The documentation token is compared as a value: this asks what the target
|
|
321
|
-
// SAYS, and the live token is the outcome of the one this project sends.
|
|
322
|
-
{ sample: "all", documentation: "compare" }
|
|
323
|
-
);
|
|
324
|
-
if (!result.converged) process.exitCode = EXIT_DIFF_MISMATCH;
|
|
325
314
|
const listed = await listBranches(auth, { baseUrl: auth.instance, workspaceId: auth.workspaceId }).catch(
|
|
326
315
|
() => void 0
|
|
327
316
|
);
|
|
328
317
|
const liveLabel = listed?.find((b) => b.live)?.label;
|
|
329
318
|
const comparedLabel = args.branch ?? liveLabel;
|
|
330
319
|
const comparedIsLive = args.branch === void 0 ? true : liveLabel === void 0 ? null : args.branch === liveLabel;
|
|
331
|
-
const { landingLockPath } = await import("./landing-record-
|
|
332
|
-
const { readSyncBaseline, storedBranchLabel } = await import("./sync-record-
|
|
333
|
-
const {
|
|
320
|
+
const { landingLockPath } = await import("./landing-record-DO3PM7QP.js");
|
|
321
|
+
const { readSyncBaseline, storedBranchLabel } = await import("./sync-record-U65BCPSP.js");
|
|
322
|
+
const { directedComparison } = await import("./sync-baseline-3CDL4PKT.js");
|
|
334
323
|
const syncLabel = storedBranchLabel(listed, args.branch);
|
|
335
324
|
const baseline = syncLabel === void 0 ? void 0 : readSyncBaseline(landingLockPath(args, args.file !== void 0 ? { entryFile: args.file } : {}), {
|
|
336
325
|
instance: auth.instance,
|
|
337
326
|
workspaceId: auth.workspaceId,
|
|
338
327
|
branch: syncLabel
|
|
339
328
|
});
|
|
340
|
-
const direction =
|
|
329
|
+
const { result, direction } = directedComparison(
|
|
330
|
+
JSON.parse(local.bundle),
|
|
331
|
+
live,
|
|
332
|
+
new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)),
|
|
333
|
+
baseline
|
|
334
|
+
);
|
|
335
|
+
if (!result.converged) process.exitCode = EXIT_DIFF_MISMATCH;
|
|
341
336
|
if (isMachineOutput(args)) {
|
|
342
337
|
writeJson({
|
|
343
338
|
branch: comparedLabel ?? null,
|
|
@@ -439,7 +434,7 @@ Pass the entry file: \`xanosdk workspace reset-tables ./index.ts --table <guid>
|
|
|
439
434
|
const local = await loadBundleText(args.write === true && !willRefuse ? args : { ...args, lockReadOnly: true }, target, {
|
|
440
435
|
withSeed: true
|
|
441
436
|
});
|
|
442
|
-
const { seedRowsByTableGuid } = await import("./seed-
|
|
437
|
+
const { seedRowsByTableGuid } = await import("./seed-KEPIS7UZ.js");
|
|
443
438
|
const seeds = seedRowsByTableGuid(local.content);
|
|
444
439
|
const declared = projectTables(local.bundle);
|
|
445
440
|
const unknown = guids.filter((guid) => !declared.some((t) => t.guid === guid));
|
|
@@ -476,7 +471,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
476
471
|
);
|
|
477
472
|
}
|
|
478
473
|
const destination = credentialWriteTarget(auth);
|
|
479
|
-
const { countTableRows } = await import("./table-
|
|
474
|
+
const { countTableRows } = await import("./table-E5YTK7QX.js");
|
|
480
475
|
const planned = await Promise.all(
|
|
481
476
|
guids.map(async (guid) => {
|
|
482
477
|
const table = byGuid.get(guid);
|
|
@@ -515,7 +510,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
515
510
|
return;
|
|
516
511
|
}
|
|
517
512
|
}
|
|
518
|
-
const { truncateTable, insertTableRows } = await import("./table-
|
|
513
|
+
const { truncateTable, insertTableRows } = await import("./table-E5YTK7QX.js");
|
|
519
514
|
const done = [];
|
|
520
515
|
for (const t of planned) {
|
|
521
516
|
step(`Resetting ${t.name}`);
|
|
@@ -565,4 +560,4 @@ export {
|
|
|
565
560
|
EXIT_DIFF_MISMATCH,
|
|
566
561
|
runWorkspaceCommand
|
|
567
562
|
};
|
|
568
|
-
//# sourceMappingURL=workspace-command-
|
|
563
|
+
//# sourceMappingURL=workspace-command-KEKL27Y4.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-M3RLLT4O.js";
|
|
18
|
+
import "./chunk-W2BVP27L.js";
|
|
19
|
+
import "./chunk-HKLBDSML.js";
|
|
20
|
+
import "./chunk-RYMGK2K5.js";
|
|
21
|
+
import "./chunk-B3NH5UBI.js";
|
|
22
22
|
import "./chunk-ZFDZKNGG.js";
|
|
23
23
|
import "./chunk-FWD7AL6N.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-6PTITS3M.js";
|
|
25
25
|
import "./chunk-DXUICABI.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-TR7EOUQE.js";
|
|
27
27
|
import "./chunk-4KHEMC32.js";
|
|
28
28
|
import "./chunk-DNBP4GJN.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-QL3ZJWGG.js";
|
|
30
30
|
import "./chunk-WAVNUTMT.js";
|
|
31
31
|
import "./chunk-LLNZGEFK.js";
|
|
32
32
|
import {
|
|
@@ -36,12 +36,12 @@ import "./chunk-MF4W6FHU.js";
|
|
|
36
36
|
import "./chunk-X2NL4KUO.js";
|
|
37
37
|
import "./chunk-5GIOCDUM.js";
|
|
38
38
|
import "./chunk-LJM5CIY4.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-C6KBZH7M.js";
|
|
40
40
|
import {
|
|
41
41
|
isRepresentableName,
|
|
42
42
|
safeNames
|
|
43
43
|
} from "./chunk-GSGDWJB5.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-YEH5OIPF.js";
|
|
45
45
|
import "./chunk-UTI5G6OJ.js";
|
|
46
46
|
import "./chunk-5ZSO4T2G.js";
|
|
47
47
|
import "./chunk-TFFGOFVZ.js";
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
valueProblem,
|
|
69
69
|
workspaceEnvPathIn
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=workspace-env-
|
|
71
|
+
//# sourceMappingURL=workspace-env-GGEZVZDY.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertBranchReadSupported,
|
|
3
3
|
exportWorkspaceBundle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QC3MKMDK.js";
|
|
5
5
|
import "./chunk-3DRXWLJ5.js";
|
|
6
6
|
import "./chunk-X4DVXBFY.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-TR7EOUQE.js";
|
|
8
8
|
import "./chunk-MF4W6FHU.js";
|
|
9
9
|
import "./chunk-X2NL4KUO.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-C6KBZH7M.js";
|
|
11
|
+
import "./chunk-YEH5OIPF.js";
|
|
12
12
|
import "./chunk-UTI5G6OJ.js";
|
|
13
13
|
import "./chunk-5ZSO4T2G.js";
|
|
14
14
|
import "./chunk-TFFGOFVZ.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
assertBranchReadSupported,
|
|
19
19
|
exportWorkspaceBundle
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=workspace-export-
|
|
21
|
+
//# sourceMappingURL=workspace-export-UHY22VBI.js.map
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
unreadableError,
|
|
6
6
|
unwritableBlocker,
|
|
7
7
|
unwritableError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ULUUOUQX.js";
|
|
9
9
|
import "./chunk-FWD7AL6N.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-C6KBZH7M.js";
|
|
11
|
+
import "./chunk-YEH5OIPF.js";
|
|
12
12
|
import "./chunk-UTI5G6OJ.js";
|
|
13
13
|
import "./chunk-5ZSO4T2G.js";
|
|
14
14
|
import "./chunk-TFFGOFVZ.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
unwritableBlocker,
|
|
23
23
|
unwritableError
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=writable-
|
|
25
|
+
//# sourceMappingURL=writable-2A6MBSFD.js.map
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
Xano,
|
|
4
4
|
standaloneDefKind,
|
|
5
5
|
workspace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6ZFJEJXZ.js";
|
|
7
7
|
import "./chunk-45ZUMF4E.js";
|
|
8
8
|
import "./chunk-7KPKDHHI.js";
|
|
9
9
|
import "./chunk-7FIMUFBP.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6BOKCTCM.js";
|
|
11
11
|
import "./chunk-ICK36EGF.js";
|
|
12
12
|
import "./chunk-BEXZ4XRV.js";
|
|
13
13
|
import "./chunk-ETAZIGNT.js";
|
|
14
14
|
import "./chunk-GSGDWJB5.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-B5N6EWOM.js";
|
|
16
16
|
import "./chunk-ERVIASGL.js";
|
|
17
17
|
import "./chunk-VTMTIBKP.js";
|
|
18
18
|
import "./chunk-H2V3N23D.js";
|
|
19
19
|
import "./chunk-3JDU4VRL.js";
|
|
20
20
|
import "./chunk-WTPZRR4I.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-YEH5OIPF.js";
|
|
22
22
|
import "./chunk-UTI5G6OJ.js";
|
|
23
23
|
import "./chunk-5KJBWIDZ.js";
|
|
24
24
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
standaloneDefKind,
|
|
41
41
|
workspace
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=xano-
|
|
43
|
+
//# sourceMappingURL=xano-6T6L7TTI.js.map
|
|
@@ -13,19 +13,19 @@ import {
|
|
|
13
13
|
resetXanoSdkImportDetection,
|
|
14
14
|
withDefaultBranchPointer,
|
|
15
15
|
xanosdkImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FN7E6XGD.js";
|
|
17
17
|
import "./chunk-3DRXWLJ5.js";
|
|
18
18
|
import "./chunk-X4DVXBFY.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-VJTTTIIB.js";
|
|
20
|
+
import "./chunk-TR7EOUQE.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-C6KBZH7M.js";
|
|
25
25
|
import "./chunk-7FIMUFBP.js";
|
|
26
26
|
import "./chunk-H2V3N23D.js";
|
|
27
27
|
import "./chunk-3JDU4VRL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-YEH5OIPF.js";
|
|
29
29
|
import "./chunk-UTI5G6OJ.js";
|
|
30
30
|
import "./chunk-5KJBWIDZ.js";
|
|
31
31
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
withDefaultBranchPointer,
|
|
54
54
|
xanosdkImport
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=xanosdk-import-
|
|
56
|
+
//# sourceMappingURL=xanosdk-import-HYHABD5U.js.map
|
|
@@ -3,30 +3,30 @@ import {
|
|
|
3
3
|
enterProjectRoot,
|
|
4
4
|
isProjectDir,
|
|
5
5
|
projectDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C2I4GC36.js";
|
|
7
7
|
import "./chunk-EUUUMY7J.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-W2BVP27L.js";
|
|
9
|
+
import "./chunk-HKLBDSML.js";
|
|
10
|
+
import "./chunk-RYMGK2K5.js";
|
|
11
|
+
import "./chunk-B3NH5UBI.js";
|
|
12
12
|
import "./chunk-ZFDZKNGG.js";
|
|
13
13
|
import "./chunk-FWD7AL6N.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-6PTITS3M.js";
|
|
15
15
|
import "./chunk-DXUICABI.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-TR7EOUQE.js";
|
|
17
17
|
import "./chunk-4KHEMC32.js";
|
|
18
18
|
import "./chunk-DNBP4GJN.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-QL3ZJWGG.js";
|
|
20
20
|
import "./chunk-WAVNUTMT.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-5QOV52V4.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-5GIOCDUM.js";
|
|
27
27
|
import "./chunk-LJM5CIY4.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-C6KBZH7M.js";
|
|
29
|
+
import "./chunk-YEH5OIPF.js";
|
|
30
30
|
import "./chunk-UTI5G6OJ.js";
|
|
31
31
|
import "./chunk-5ZSO4T2G.js";
|
|
32
32
|
import "./chunk-TFFGOFVZ.js";
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
isProjectDir,
|
|
40
40
|
projectDirFrom
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=xanosdk-project-
|
|
42
|
+
//# sourceMappingURL=xanosdk-project-2T56DRYS.js.map
|
package/guides/codes.md
CHANGED
|
@@ -28,6 +28,7 @@ Match on the code, never on the message text: messages are reworded, codes are n
|
|
|
28
28
|
| `SDK_SEED_IN_STATIC` | A static build carries seed values from non-public columns (`details.leaks[]`); nothing was published. |
|
|
29
29
|
| `SDK_SHARED_SCHEMA_CHANGE` | A promote would alter tables live serves from (`details.reason: "shared-schema-changes"`, `details.changes[]`), or could not read them (`"tables-unreadable"`); `--allow-shared-schema-changes` lands it. Exit 2. |
|
|
30
30
|
| `SDK_USAGE` | The input is wrong — a command line, a def or a value the build or the command refuses as written — a confirmation was needed off a terminal (`details.reason: "needs-confirmation"`), or the named backend is in another workspace (`details.reason: "wrong-workspace"`, `details.heldIn`). Exit 1. |
|
|
31
|
+
| `SDK_WORKSPACE_CHANGED` | A `deploy --to workspace` would overwrite objects changed in Xano since the last sync (`details.reason: "workspace-changed"`, `details.objects[]`, `details.changedThere[]`, `details.changedBoth[]`, `details.baseline`); pull first, or `--overwrite` deploys over them. Exit 2. |
|
|
31
32
|
|
|
32
33
|
## CLI warnings
|
|
33
34
|
|
|
@@ -62,6 +63,7 @@ Printed as `! …` on stderr, and as `{ code, message }` in a `--json` document'
|
|
|
62
63
|
| `deploy.ephemeral-write` | Says which ephemeral this deploy writes to. |
|
|
63
64
|
| `deploy.import-failed-backup` | The import failed. Your pre-deploy snapshot is on branch "…". |
|
|
64
65
|
| `deploy.open-no-url` | --open had no URL to open — the deploy reported none. |
|
|
66
|
+
| `deploy.overwrite-changed` | `--overwrite`: … object… changed in Xano since the last sync … overwritten: |
|
|
65
67
|
| `deploy.replace-wipe` | `--replace` wipes … before importing — including table data and history. |
|
|
66
68
|
| `deploy.rows-written` | Table rows from the bundle … written. |
|
|
67
69
|
| `deploy.tenant-write` | This deploy writes to a target that is not an ephemeral, named in the message. |
|
|
@@ -279,7 +281,7 @@ Raised while a workspace compiles (`export`, `deploy`, `release`, …). A warnin
|
|
|
279
281
|
|
|
280
282
|
| Code | Meaning |
|
|
281
283
|
|---|---|
|
|
282
|
-
| `agent.args-placeholder-unpassed` |
|
|
284
|
+
| `agent.args-placeholder-unpassed` | …: `s.ai.agent.run` of agent "…" passes args …, but the agent's prompt reads `{{ $args… }}`, which this run never passes, so it resolves to nothing. |
|
|
283
285
|
| `agent.literal-api-key` | agent "…" spells its `llm.apiKey` literally. |
|
|
284
286
|
| `api-group.cors-no-methods` | apiGroup "…": `cors.mode: "custom"` enables no `allowMethods`, so no `access-control-allow-methods` is sent and a preflight has nothing to approve. |
|
|
285
287
|
| `api-group.cors-no-origins` | apiGroup "…": `cors.mode: "custom"` with an empty `allowOrigins` matches no request, so responses carry NO `access-control-*` headers and every browser call… |
|
|
@@ -367,6 +369,7 @@ Raised while a workspace compiles (`export`, `deploy`, `release`, …). A warnin
|
|
|
367
369
|
| `search.request-only-filter` | … pipes a search operand through `…`, which evaluates only in the request. |
|
|
368
370
|
| `seed.invalid` | A seed row does not match its table's columns. |
|
|
369
371
|
| `seed.public-seed` | Table "…" declares publicSeed but has no `seed`: there are no seed values to declare public. |
|
|
372
|
+
| `stack.agent-tools-off` | …: `s.ai.agent.run` of agent "…" leaves `allowToolExecution` unset, so the agent runs with its tools off: it sees them but never calls one, and answers as if… |
|
|
370
373
|
| `stack.auth-no-caller` | … "…" reads `auth()`, but …: it deploys clean and never holds the caller's identity. |
|
|
371
374
|
| `stack.auth-null-host` | … "…": an `s.redis.ratelimit` in its stack keys off auth(), where …. |
|
|
372
375
|
| `stack.blank-table` | … has … (…) bound to no table (`table: null`) — … nothing when run. |
|
package/guides/deploying.md
CHANGED
|
@@ -1295,7 +1295,7 @@ xanosdk workspace diff ./xano/index.ts --json
|
|
|
1295
1295
|
}
|
|
1296
1296
|
```
|
|
1297
1297
|
|
|
1298
|
-
- `changedThere`: pull before you deploy
|
|
1298
|
+
- `changedThere`: pull before you deploy. `deploy --to workspace` refuses to overwrite it (see below).
|
|
1299
1299
|
- `changedHere`: deploy it.
|
|
1300
1300
|
- `changedBoth`: reconcile by hand.
|
|
1301
1301
|
- `unclassified`: the baseline cannot tell. The object has no baseline entry, both sides
|
|
@@ -1323,6 +1323,22 @@ A few things to know about the baseline:
|
|
|
1323
1323
|
next sync records a new baseline.
|
|
1324
1324
|
- On a merge conflict in `xano.lock`, keep either side's baseline for a branch, or delete it.
|
|
1325
1325
|
|
|
1326
|
+
#### The deploy guard
|
|
1327
|
+
|
|
1328
|
+
`deploy --to workspace` reads the same baseline before it writes. When an object it would
|
|
1329
|
+
overwrite is in `changedThere` or `changedBoth`, it refuses with exit 2 and
|
|
1330
|
+
`SDK_WORKSPACE_CHANGED`. The refusal's `details.objects` lists those objects, and
|
|
1331
|
+
`details.changedThere`, `details.changedBoth` and `details.baseline` say how each was classified.
|
|
1332
|
+
Pull the change into the project and commit it, then deploy again. To deploy over it anyway, pass
|
|
1333
|
+
`--overwrite`; the run warns (`deploy.overwrite-changed`) and names what it overwrote. A
|
|
1334
|
+
`--dry-run` refuses nothing: it warns and lists the objects under `changedInXano`.
|
|
1335
|
+
|
|
1336
|
+
The guard counts only what the deploy writes. A merge leaves an object that only the branch holds
|
|
1337
|
+
alone, so an object added in Xano is refused over only under `--prune` or `--replace`, which
|
|
1338
|
+
delete it. Nothing is refused when the branch has no baseline, over an `unclassified`
|
|
1339
|
+
difference, or on a `--branch` deploy to a branch that does not exist yet. It reads the branch
|
|
1340
|
+
once, before the confirmation, so an edit made in Xano after that read is not caught.
|
|
1341
|
+
|
|
1326
1342
|
### Deploying to a branch
|
|
1327
1343
|
|
|
1328
1344
|
`--branch <label>` stages on a Xano branch instead of the live one, which is the safer shape
|
package/llms/errors.md
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
- A response types as `StackTupleWidened` — a `Statement[]` helper was spread into the stack; return `statements(...)`. `llms.txt`; `llms/statements-runtime.md`.
|
|
35
35
|
- `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`.
|
|
36
36
|
- `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`.
|
|
37
|
-
- 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`.
|
|
37
|
+
- 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`.
|
|
38
38
|
- 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.
|
|
39
39
|
|
|
40
40
|
### CLI exit codes
|
package/llms/kinds-agent-mcp.md
CHANGED
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
- `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.
|
|
26
26
|
- `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?`).
|
|
27
27
|
- `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.
|
|
28
|
-
- **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"`.
|
|
28
|
+
- **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`).
|
|
29
29
|
- **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>`.
|
|
30
30
|
- 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.
|