@xano/sdk 1.0.7 → 1.0.9
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 +32 -5
- package/README.md +2 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-DGGSRPJ4.js → agent-file-refresh-XXCQOTWN.js} +10 -10
- package/dist/{agent-skill-command-37DFYS7Q.js → agent-skill-command-VDSMXH4M.js} +42 -42
- package/dist/{answer-shape-RBFDCNZ7.js → answer-shape-UMQRXMCX.js} +5 -5
- package/dist/{backend-dir-KDD43X7K.js → backend-dir-G44PETFO.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-Q6E66PMM.js} +24 -24
- package/dist/bundle.js +2 -2
- package/dist/{chunk-VNDR2T35.js → chunk-2VWSUG2B.js} +7 -7
- package/dist/{chunk-7VR4IO5B.js → chunk-3P35HT64.js} +2 -2
- package/dist/{chunk-HZ6ADG3O.js → chunk-3UZQ5TMG.js} +5 -5
- package/dist/{chunk-567KK6XF.js → chunk-3XSTC3TM.js} +4 -4
- package/dist/{chunk-FENA7K7C.js → chunk-4JKXGPXB.js} +3 -3
- package/dist/{chunk-D5OZRJ3T.js → chunk-5BEK7YKY.js} +6 -6
- package/dist/{chunk-ARWMVNDJ.js → chunk-5QOV52V4.js} +2 -2
- package/dist/{chunk-ZJOAWRED.js → chunk-5VOGPS5O.js} +4 -4
- package/dist/{chunk-EPFDY5JU.js → chunk-5Y5HWQ2P.js} +2 -2
- package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
- package/dist/{chunk-5SCPRXFB.js → chunk-6IOQRBRX.js} +3 -3
- 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-26LHXLD3.js → chunk-7JKNWDYN.js} +2 -2
- package/dist/{chunk-JOWY6HFL.js → chunk-7MPI7NIW.js} +3 -3
- package/dist/{chunk-HTQWAQRW.js → chunk-ADKC3EII.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-CT3J5JRZ.js → chunk-BUTGFWWA.js} +7 -7
- package/dist/{chunk-UYFUIHH3.js → chunk-C2GHFADU.js} +2 -2
- package/dist/{chunk-CH23ONYG.js → chunk-C6KBZH7M.js} +7 -2
- package/dist/{chunk-ZGLNHA7T.js → chunk-CXWCWYX3.js} +4 -4
- package/dist/{chunk-YCUDOF6Q.js → chunk-DDUOMOIP.js} +15 -15
- package/dist/{chunk-AVS4WPPY.js → chunk-DSD2NNTX.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-EU32BC5B.js → chunk-FFB3YCUO.js} +8 -8
- package/dist/{chunk-B3P25SDP.js → chunk-GAU2FCT7.js} +5 -5
- package/dist/{chunk-NV37YGOV.js → chunk-GHPC52TD.js} +6 -6
- package/dist/{chunk-FDTET7FZ.js → chunk-GN5SQMIQ.js} +4 -4
- package/dist/{chunk-QRQ54LUI.js → chunk-H3ZBAR2L.js} +10 -10
- package/dist/{chunk-5ZG7V2VW.js → chunk-HBFXR4OJ.js} +3 -3
- package/dist/{chunk-BZ6WTG3E.js → chunk-HETQSTGG.js} +4 -4
- package/dist/{chunk-RBU2YX22.js → chunk-HFOGQIII.js} +2 -2
- 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-SGK3PTTM.js → chunk-HVSIS47X.js} +43 -43
- package/dist/{chunk-IYXL5NYU.js → chunk-I53OTC3O.js} +2 -2
- package/dist/{chunk-NDJAKSE7.js → chunk-IB6SKACE.js} +4 -4
- package/dist/{chunk-YH2JVJAO.js → chunk-IFCQCM2Q.js} +8 -8
- package/dist/{chunk-TWVUYS63.js → chunk-INAM6KR6.js} +15 -15
- package/dist/{chunk-DIWF7L33.js → chunk-KDS4PDFD.js} +3 -3
- package/dist/{chunk-D3KEPRRN.js → chunk-LTPF25L2.js} +2 -1
- package/dist/{chunk-WNCW2RNB.js → chunk-NFSUGVDY.js} +4 -4
- package/dist/{chunk-ZXRDD3Q2.js → chunk-NI56XX5Z.js} +3 -3
- 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-L472YIGG.js → chunk-OYRQLU66.js} +8 -8
- 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-7XXWKTCE.js → chunk-QGDT52FA.js} +29 -29
- package/dist/{chunk-CNZASQPL.js → chunk-QL3ZJWGG.js} +2 -2
- 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-ORGNLQN6.js → chunk-S42TFTM5.js} +3 -3
- package/dist/{chunk-2ACWDSAQ.js → chunk-S5RZYUP2.js} +3 -3
- package/dist/{chunk-B2URJBC4.js → chunk-SGYDFEXD.js} +14 -14
- package/dist/{chunk-O56DQKPL.js → chunk-SSOTLVOJ.js} +9 -9
- package/dist/{chunk-FQ53GTII.js → chunk-T3ZVNOJC.js} +6 -6
- package/dist/{chunk-MYZRMSPM.js → chunk-TG65NWUR.js} +2 -2
- package/dist/{chunk-L6HZ67P6.js → chunk-TR7EOUQE.js} +2 -2
- package/dist/{chunk-DG3APBUJ.js → chunk-U7XSQXOA.js} +84 -80
- package/dist/{chunk-PEX4QZVI.js → chunk-ULUUOUQX.js} +2 -2
- package/dist/{chunk-I6XRUU6U.js → chunk-UZUY6VPB.js} +117 -49
- 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-N3YFCFCO.js → chunk-WKCA66SH.js} +14 -14
- package/dist/{chunk-U5M7T6CI.js → chunk-WLFANUXE.js} +7 -7
- package/dist/{chunk-PEIBGH2V.js → chunk-XLQT3CCF.js} +22 -22
- package/dist/{chunk-2XWVZRL6.js → chunk-XPLBTV77.js} +7 -7
- package/dist/{chunk-VIJ5D3RC.js → chunk-XQO4A4Q4.js} +3 -3
- package/dist/{chunk-DXZTL7NA.js → chunk-XTUYIX5H.js} +39 -39
- package/dist/{chunk-PV25BDCH.js → chunk-Y2LKSXFK.js} +4 -4
- package/dist/{chunk-46PATL23.js → chunk-Y3FM4BSZ.js} +3 -3
- package/dist/{chunk-QGIZLFAS.js → chunk-YE7MHW45.js} +4 -4
- package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
- package/dist/{chunk-ELPQTDW6.js → chunk-YMVCKGY2.js} +73 -72
- package/dist/{chunk-H2K4GFUS.js → chunk-YP76ZCQ5.js} +4 -4
- package/dist/{chunk-GHMLRFRX.js → chunk-YVXUYDHC.js} +5 -5
- package/dist/{chunk-V7MBRUK6.js → chunk-ZO3QWFNV.js} +3 -3
- package/dist/{chunk-2YER2J47.js → chunk-ZYPEH64F.js} +5 -5
- package/dist/cli.d.ts +8 -1
- package/dist/cli.js +41 -41
- package/dist/{codegen-command-T7TC7PQO.js → codegen-command-KZJ7LYHW.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-RXPJAM7M.js} +48 -48
- package/dist/{deploy-source-HYVZEYXV.js → deploy-source-TD77W4SA.js} +28 -28
- package/dist/{dev-env-sync-EFDCJ6KU.js → dev-env-sync-2UCNSIJL.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-D-a6JznN.d.ts} +22 -16
- package/dist/{env-example-refresh-WNSOH534.js → env-example-refresh-QKZI26F2.js} +62 -62
- package/dist/{env-pull-command-UYEXMQ3P.js → env-pull-command-72PQOMKW.js} +40 -40
- package/dist/{env-target-JBSLBKNX.js → env-target-AZJ4JXT7.js} +10 -10
- package/dist/{env-var-command-BJNRAXNV.js → env-var-command-ALJITZDL.js} +38 -38
- package/dist/{ephemeral-CEOGMIEA.js → ephemeral-H24NF6WP.js} +9 -9
- package/dist/{ephemeral-command-IPSGBCS5.js → ephemeral-command-T276HQBO.js} +41 -41
- package/dist/{ephemeral-state-MTBASPRS.js → ephemeral-state-YLZQIOBF.js} +8 -8
- package/dist/{generate-command-XQXODBS6.js → generate-command-M6LAT4XU.js} +66 -66
- package/dist/{gitignore-RUVCIZO4.js → gitignore-V6QHYKIR.js} +14 -14
- package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
- package/dist/{impersonate-command-MA27O7S5.js → impersonate-command-S6PYDMHQ.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-ENAZKPZA.js} +46 -46
- package/dist/{init-modules-DHTBOCQT.js → init-modules-AIKWWTVQ.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 +29 -12
- package/dist/{keep-data-merge-TDJOIAVT.js → keep-data-merge-3WPUPPTY.js} +23 -23
- package/dist/{landing-record-TPPYFQAS.js → landing-record-SJ5HG7T5.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-BD5O7SAU.js} +31 -31
- package/dist/{local-engine-command-4EZCGZ6M.js → local-engine-command-MXQUXXAA.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-6G3TDWDI.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-SUPQOEVU.js} +46 -46
- package/dist/{login-command-JO55NZAS.js → login-command-LTYO3EK7.js} +22 -22
- package/dist/{logout-command-MPRIRSJA.js → logout-command-QRRT36DY.js} +13 -13
- package/dist/{loop-SUB6C2LK.js → loop-XFDS65OD.js} +3 -3
- package/dist/{marketplace-command-BM6G257N.js → marketplace-command-POQH5GVT.js} +29 -29
- package/dist/{marketplace-resolve-AWH3RG57.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
- package/dist/{meta-client-AOSWODQQ.js → meta-client-PDUP4EOW.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-IXMC5SBN.js} +22 -22
- package/dist/{output-target-RAZ4KN5J.js → output-target-4XN43WIB.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-QWZL4O2N.js} +53 -53
- package/dist/{profile-command-CM6J7E2M.js → profile-command-V6WFDYZW.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-B3QODJNT.js +147 -0
- package/dist/{prompt-MQPGU4ZI.js → prompt-ZZUYWFQX.js} +4 -4
- package/dist/{publish-command-IEMYZ7LF.js → publish-command-JOL6LXH6.js} +51 -51
- package/dist/{pull-command-S5E2ABZ4.js → pull-command-RPGL6LXP.js} +64 -64
- package/dist/{pull-superseded-E34BZVLH.js → pull-superseded-UZ3MB53B.js} +4 -4
- package/dist/{release-command-7F5TBKO2.js → release-command-USZAWVXO.js} +59 -59
- package/dist/{release-ns-command-EK2ZQ4CC.js → release-ns-command-3XDRQKJD.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-V5JJVIPH.js} +7 -7
- package/dist/{secrets-file-LXREYU3M.js → secrets-file-ZA6K4J6W.js} +14 -14
- package/dist/{secrets-fill-command-QHZS3KWM.js → secrets-fill-command-MH53XR45.js} +45 -45
- package/dist/{seed-FRKMDN2Z.js → seed-KEPIS7UZ.js} +5 -5
- package/dist/{source-resolve-BBHYTOXI.js → source-resolve-I55GN6ZC.js} +20 -20
- package/dist/{static-host-7LC7OZR4.js → static-host-JAOT3N3E.js} +5 -5
- package/dist/{status-command-TY253MJT.js → status-command-I6S2TVAY.js} +35 -35
- package/dist/{store-VJ3OS6VO.js → store-YFNDD6GZ.js} +6 -6
- package/dist/{store-Boba9OOh.d.ts → store-xUySg-KR.d.ts} +1 -1
- package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-3CDL4PKT.js} +7 -5
- package/dist/{sync-contributions-63542VE4.js → sync-contributions-4HHBUGJ4.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-L4JRA7JF.js} +34 -34
- package/dist/{tenant-Y3II4VY3.js → tenant-DAXJ4P4D.js} +10 -10
- package/dist/{tenant-command-G6XON7CF.js → tenant-command-IZ3R4BDG.js} +81 -81
- package/dist/{test-command-3FZOX7O3.js → test-command-GCKZRRSL.js} +33 -33
- package/dist/{tests-KF6N6BZ7.js → tests-CLDZWLKF.js} +6 -6
- package/dist/{token-DJJUW5HY.js → token-XQCIFX7R.js} +9 -9
- package/dist/{toolchain-hooks-7PWCFLSU.js → toolchain-hooks-3ZAAAWPL.js} +6 -6
- package/dist/{toolchain-modules-OTNSKK52.js → toolchain-modules-C53NXT3S.js} +5 -5
- package/dist/{toolchain-peers-KQ7TQ2AR.js → toolchain-peers-AIKWKJH7.js} +8 -8
- package/dist/{tracked-backend-AJCGTO5Y.js → tracked-backend-UHKPD2JU.js} +31 -31
- package/dist/{update-check-4E5L6GAW.js → update-check-KMAC4VEJ.js} +44 -44
- package/dist/{upgrade-command-BXMSQN4C.js → upgrade-command-HQBSUFNE.js} +46 -46
- package/dist/{whoami-command-NLCCIEUM.js → whoami-command-23UXAC6F.js} +12 -12
- package/dist/{workspace-PNMJOXE4.js → workspace-TZMAJ7NF.js} +5 -5
- package/dist/{workspace-binding-J5GWDFRI.js → workspace-binding-RBU22BBX.js} +11 -11
- package/dist/{workspace-command-MHIIY352.js → workspace-command-N4BTEHSW.js} +84 -89
- package/dist/{workspace-env-LLRWCHSA.js → workspace-env-O3RK26FR.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-WPCHIVP6.js} +6 -6
- package/dist/{xanosdk-project-J4VCFRHP.js → xanosdk-project-TEAXYQZW.js} +12 -12
- package/guides/cli.md +8 -7
- package/guides/codes.md +4 -1
- package/guides/deploying.md +28 -9
- package/llms/errors.md +1 -1
- package/llms/kinds-agent-mcp.md +4 -3
- package/llms/object-kinds.md +14 -0
- package/llms-full.txt +21 -6
- package/llms.txt +2 -2
- 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-XTUYIX5H.js";
|
|
8
|
+
import "./chunk-HVSIS47X.js";
|
|
9
|
+
import "./chunk-GAU2FCT7.js";
|
|
10
|
+
import "./chunk-QTMXJQZN.js";
|
|
11
|
+
import "./chunk-O376UAZS.js";
|
|
12
|
+
import "./chunk-6YOH2L3G.js";
|
|
13
|
+
import "./chunk-GHPC52TD.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-WLFANUXE.js";
|
|
33
|
+
import "./chunk-YVXUYDHC.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-S5RZYUP2.js";
|
|
41
41
|
import {
|
|
42
42
|
secretsCarriedBy
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-I53OTC3O.js";
|
|
44
|
+
import "./chunk-HETQSTGG.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-U7XSQXOA.js";
|
|
52
|
+
import "./chunk-XQO4A4Q4.js";
|
|
53
|
+
import "./chunk-Y2LKSXFK.js";
|
|
54
|
+
import "./chunk-SGYDFEXD.js";
|
|
55
|
+
import "./chunk-PBK257CI.js";
|
|
56
|
+
import "./chunk-INAM6KR6.js";
|
|
57
|
+
import "./chunk-7JKNWDYN.js";
|
|
58
|
+
import "./chunk-5VOGPS5O.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-IFCQCM2Q.js";
|
|
63
|
+
import "./chunk-2VWSUG2B.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-NI56XX5Z.js";
|
|
73
|
+
import "./chunk-VD7YTLWL.js";
|
|
74
|
+
import "./chunk-CXWCWYX3.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-6IOQRBRX.js";
|
|
90
|
+
import "./chunk-KDS4PDFD.js";
|
|
91
|
+
import "./chunk-5BEK7YKY.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-T3ZVNOJC.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-Q6E66PMM.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-I55GN6ZC.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-TD77W4SA.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-I55GN6ZC.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-USZAWVXO.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-SJ5HG7T5.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-N4BTEHSW.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-Y2LKSXFK.js";
|
|
18
|
+
import "./chunk-6IOQRBRX.js";
|
|
19
|
+
import "./chunk-KDS4PDFD.js";
|
|
20
|
+
import "./chunk-5BEK7YKY.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-O3RK26FR.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-3XSTC3TM.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-WPCHIVP6.js.map
|
|
@@ -3,30 +3,30 @@ import {
|
|
|
3
3
|
enterProjectRoot,
|
|
4
4
|
isProjectDir,
|
|
5
5
|
projectDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5VOGPS5O.js";
|
|
7
7
|
import "./chunk-EUUUMY7J.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6IOQRBRX.js";
|
|
9
|
+
import "./chunk-KDS4PDFD.js";
|
|
10
|
+
import "./chunk-5BEK7YKY.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-TEAXYQZW.js.map
|
package/guides/cli.md
CHANGED
|
@@ -83,7 +83,7 @@ xanosdk test run-all --kind unit # only one family (unit|workflow; de
|
|
|
83
83
|
xanosdk test run-all --concurrency 4 # run 4 at once (default: 1); tests share the backend's database, so only when yours don't share state
|
|
84
84
|
xanosdk impersonate # open what this project last deployed to in the builder (--guest = read-only; --url-only prints the URL; the URL is a session — treat it as a credential)
|
|
85
85
|
xanosdk impersonate ephemeral:<tenant> # …or name one: local[:<name>] or tenant:<name> (open your workspace from the Xano dashboard)
|
|
86
|
-
xanosdk deploy ./xano/index.ts --test
|
|
86
|
+
xanosdk deploy ./xano/index.ts --ephemeral --test # THE RELEASE FLOW, step 1: stand it up on an ephemeral and run its tests (a bare deploy goes to the Xano Engine, which release create cannot cut from)
|
|
87
87
|
xanosdk release create v1 # …2: cut a release from the ephemeral this project last deployed to (after a local deploy: --from ephemeral)
|
|
88
88
|
xanosdk release create v1 --from ephemeral:e4f2-9ab1 --description "what shipped" # …from a named source
|
|
89
89
|
xanosdk release create v1 --from workspace --branch staging # …or from a branch of your workspace (default: what it serves)
|
|
@@ -180,14 +180,15 @@ workspace or a tenant, so a bare command cannot reach something real unasked. Wi
|
|
|
180
180
|
it falls back to the ephemeral recorded under your current credential, then to the engine
|
|
181
181
|
recorded for this directory, and otherwise refuses naming the flag, `xanosdk deploy` and
|
|
182
182
|
`xanosdk deploy --local`.
|
|
183
|
-
`deploy` is the exception: bare, it compiles the project and stands it up on
|
|
184
|
-
unless `--
|
|
185
|
-
reading it. `generate` and `init --from` need a backend named.
|
|
183
|
+
`deploy` is the exception: bare, it compiles the project and stands it up on the Xano Engine
|
|
184
|
+
on this machine unless `--ephemeral` or `--to` says otherwise, so it writes that record rather
|
|
185
|
+
than reading it. `generate` and `init --from` need a backend named.
|
|
186
186
|
|
|
187
187
|
A command that cannot serve a backend refuses it, whether you typed it or it came from the
|
|
188
|
-
record, with the reason and the spellings it does take: `
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
record, with the reason and the spellings it does take: `release create` refuses a Xano Engine
|
|
189
|
+
(the cut runs on the instance — pass `--from ephemeral`). `publish` is not one of them: it
|
|
190
|
+
reaches a Xano Engine (`publish --to local`, or bare after a local deploy) and puts the build on
|
|
191
|
+
the engine's own static host. A write to your workspace or a tenant confirms first,
|
|
191
192
|
or needs `--yes` off a terminal; an ephemeral or Xano Engine never asks.
|
|
192
193
|
|
|
193
194
|
## Bundle key names vs. the names everything else uses
|
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. |
|