@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
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
environmentKey,
|
|
3
3
|
getEnvironment,
|
|
4
4
|
readEphemeralState
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S42TFTM5.js";
|
|
6
6
|
import {
|
|
7
7
|
andList
|
|
8
8
|
} from "./chunk-622HUCZT.js";
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
credentialFileFlagFor,
|
|
13
13
|
credentialFileOf,
|
|
14
14
|
recordedByEnvCredential
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6S263KTM.js";
|
|
16
16
|
import {
|
|
17
17
|
loginCommand,
|
|
18
18
|
profileAddCommand,
|
|
19
19
|
recordedCredentialPath,
|
|
20
20
|
recordedProfileStored
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IB6SKACE.js";
|
|
22
22
|
import {
|
|
23
23
|
findPointerFile,
|
|
24
24
|
readPointerFile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5QOV52V4.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_PROFILE
|
|
28
28
|
} from "./chunk-MF4W6FHU.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
CliError,
|
|
34
34
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
35
35
|
UsageError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-C6KBZH7M.js";
|
|
37
37
|
|
|
38
38
|
// src/emit/env-target.ts
|
|
39
39
|
var ENV_CREDENTIAL_NAMES = ["XANO_INSTANCE_URL", "XANO_WORKSPACE_ID", "XANO_META_TOKEN", "XANO_REFRESH_TOKEN", "XANO_CLIENT_ID"];
|
|
@@ -142,7 +142,7 @@ var SENDS_ELSEWHERE = /* @__PURE__ */ new WeakSet();
|
|
|
142
142
|
async function reachableFirst(refusal, auth) {
|
|
143
143
|
if (!(refusal instanceof Error) || !SENDS_ELSEWHERE.has(refusal)) return refusal;
|
|
144
144
|
if (auth === void 0 || !("access_token" in auth)) return refusal;
|
|
145
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
145
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-RBU22BBX.js");
|
|
146
146
|
try {
|
|
147
147
|
await refuseUnreachableWorkspace(auth);
|
|
148
148
|
} catch (unreachable) {
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
otherCredentialRefusal,
|
|
168
168
|
reachableFirst
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-2VWSUG2B.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalize
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LTPF25L2.js";
|
|
4
4
|
import {
|
|
5
5
|
sha1Bytes
|
|
6
6
|
} from "./chunk-OHX6MIUZ.js";
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
canonicalJson,
|
|
42
42
|
structuralHash
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-3P35HT64.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
readEngineEntry,
|
|
5
5
|
readPin,
|
|
6
6
|
verifiedEngineExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4JKXGPXB.js";
|
|
8
8
|
import {
|
|
9
9
|
clearEngineRecordsNamed,
|
|
10
10
|
listEngineRecords
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5Y5HWQ2P.js";
|
|
12
12
|
import {
|
|
13
13
|
engineCacheDir,
|
|
14
14
|
engineRunHome,
|
|
15
15
|
localEngineHome
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F3IA3YWI.js";
|
|
17
17
|
import {
|
|
18
18
|
assertLoopbackUrl,
|
|
19
19
|
parseEngineHandshake,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
fetchOrExplain,
|
|
24
24
|
httpFailureError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TR7EOUQE.js";
|
|
26
26
|
|
|
27
27
|
// src/deploy/local-engine-process.ts
|
|
28
28
|
import { spawn as nodeSpawn, spawnSync } from "child_process";
|
|
@@ -432,4 +432,4 @@ export {
|
|
|
432
432
|
findOrphanedEngineProcesses,
|
|
433
433
|
stopOrphanedEngineProcesses
|
|
434
434
|
};
|
|
435
|
-
//# sourceMappingURL=chunk-
|
|
435
|
+
//# sourceMappingURL=chunk-3UZQ5TMG.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-X4DVXBFY.js";
|
|
7
7
|
import {
|
|
8
8
|
ImportHttpError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VJTTTIIB.js";
|
|
10
10
|
import {
|
|
11
11
|
TransportError,
|
|
12
12
|
certificateFailureCode,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
statusLabel,
|
|
24
24
|
transportTarget,
|
|
25
25
|
writeStatusAftermath
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TR7EOUQE.js";
|
|
27
27
|
import {
|
|
28
28
|
describeWrite
|
|
29
29
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -461,7 +461,7 @@ async function post(auth, url, opts, action) {
|
|
|
461
461
|
const aftermath = !writes ? `A dry run writes nothing, so ${target} is untouched. Retry when the instance is reachable.` : opts.mode === "replace" ? `The request did not complete, so the import may or may not have landed, in whole or in part. A replace rewrites all of ${target}, so it is safe to run again once the instance is reachable.` : `The request did not complete, so the import may or may not have landed, in whole or in part.` + (opts.stateCheck !== void 0 ? ` ${opts.stateCheck}` : "");
|
|
462
462
|
const where = `${transportTarget(url)}${opts.label !== void 0 ? ` (${opts.label})` : ""}`;
|
|
463
463
|
if (res === void 0) {
|
|
464
|
-
const { classifyFailure } = await import("./operation-outcome-
|
|
464
|
+
const { classifyFailure } = await import("./operation-outcome-IXMC5SBN.js");
|
|
465
465
|
if (writes && !isTimeoutError(failure) && classifyFailure(failure, { writeSent: true }) === "no") {
|
|
466
466
|
const untrusted = certificateFailureCode(failure) !== void 0;
|
|
467
467
|
throw new ImportNotSentError(
|
|
@@ -557,4 +557,4 @@ export {
|
|
|
557
557
|
withDefaultBranchPointer,
|
|
558
558
|
xanosdkImport
|
|
559
559
|
};
|
|
560
|
-
//# sourceMappingURL=chunk-
|
|
560
|
+
//# sourceMappingURL=chunk-3XSTC3TM.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-64WWE3EF.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeEngineVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HFOGQIII.js";
|
|
7
7
|
import {
|
|
8
8
|
localEngineBinDir,
|
|
9
9
|
localEngineHome
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-F3IA3YWI.js";
|
|
11
11
|
import {
|
|
12
12
|
SDK_PACKAGE,
|
|
13
13
|
composeToolchainConfig,
|
|
@@ -362,4 +362,4 @@ export {
|
|
|
362
362
|
readPin,
|
|
363
363
|
writePin
|
|
364
364
|
};
|
|
365
|
-
//# sourceMappingURL=chunk-
|
|
365
|
+
//# sourceMappingURL=chunk-4JKXGPXB.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addDependency,
|
|
3
3
|
removeDependency
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B3NH5UBI.js";
|
|
5
5
|
import {
|
|
6
6
|
condenseNpmError,
|
|
7
7
|
npmViewVersion
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-FWD7AL6N.js";
|
|
12
12
|
import {
|
|
13
13
|
isLocalSpecifier
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6PTITS3M.js";
|
|
15
15
|
import {
|
|
16
16
|
addArgs,
|
|
17
17
|
installSite,
|
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
moduleKind,
|
|
26
26
|
packageNameOf,
|
|
27
27
|
readInstalledManifest
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QL3ZJWGG.js";
|
|
29
29
|
import {
|
|
30
30
|
UsageError,
|
|
31
31
|
spinner,
|
|
32
32
|
step,
|
|
33
33
|
success,
|
|
34
34
|
warn
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-C6KBZH7M.js";
|
|
36
36
|
|
|
37
37
|
// src/emit/init-modules.ts
|
|
38
38
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
|
|
|
448
448
|
const manifest = readInstalledManifest(dir, pkg);
|
|
449
449
|
if (manifest === null) return null;
|
|
450
450
|
const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
|
|
451
|
-
import("./toolchain-modules-
|
|
451
|
+
import("./toolchain-modules-C53NXT3S.js"),
|
|
452
452
|
import("./cli.js")
|
|
453
453
|
]);
|
|
454
454
|
const sdkVersion = readVersion();
|
|
@@ -480,4 +480,4 @@ export {
|
|
|
480
480
|
inProject,
|
|
481
481
|
installModules
|
|
482
482
|
};
|
|
483
|
-
//# sourceMappingURL=chunk-
|
|
483
|
+
//# sourceMappingURL=chunk-5BEK7YKY.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-MF4W6FHU.js";
|
|
10
10
|
import {
|
|
11
11
|
UsageError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-C6KBZH7M.js";
|
|
13
13
|
import {
|
|
14
14
|
shellQuote
|
|
15
15
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -159,4 +159,4 @@ export {
|
|
|
159
159
|
pointerRootFor,
|
|
160
160
|
projectRootFor
|
|
161
161
|
};
|
|
162
|
-
//# sourceMappingURL=chunk-
|
|
162
|
+
//# sourceMappingURL=chunk-5QOV52V4.js.map
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
} from "./chunk-EUUUMY7J.js";
|
|
4
4
|
import {
|
|
5
5
|
backendDirIn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6IOQRBRX.js";
|
|
7
7
|
import {
|
|
8
8
|
shellWord
|
|
9
9
|
} from "./chunk-FWD7AL6N.js";
|
|
10
10
|
import {
|
|
11
11
|
pointerRootFor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5QOV52V4.js";
|
|
13
13
|
import {
|
|
14
14
|
UsageError,
|
|
15
15
|
setTypedCwd
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-C6KBZH7M.js";
|
|
17
17
|
|
|
18
18
|
// src/emit/xanosdk-project.ts
|
|
19
19
|
import { existsSync, realpathSync, statSync } from "fs";
|
|
@@ -154,4 +154,4 @@ export {
|
|
|
154
154
|
RELATIVE_PATH_ARGS,
|
|
155
155
|
enterProjectRoot
|
|
156
156
|
};
|
|
157
|
-
//# sourceMappingURL=chunk-
|
|
157
|
+
//# sourceMappingURL=chunk-5VOGPS5O.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
localEngineHome
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F3IA3YWI.js";
|
|
4
4
|
import {
|
|
5
5
|
filledAt,
|
|
6
6
|
withValidFilled
|
|
@@ -141,4 +141,4 @@ export {
|
|
|
141
141
|
clearEngineRecordsNamed,
|
|
142
142
|
clearEngineRecordsStillMatching
|
|
143
143
|
};
|
|
144
|
-
//# sourceMappingURL=chunk-
|
|
144
|
+
//# sourceMappingURL=chunk-5Y5HWQ2P.js.map
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
tableColumns,
|
|
38
38
|
tableIndexes,
|
|
39
39
|
unusableColumns
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-B5N6EWOM.js";
|
|
41
41
|
import {
|
|
42
42
|
brandDef
|
|
43
43
|
} from "./chunk-ERVIASGL.js";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-WTPZRR4I.js";
|
|
64
64
|
import {
|
|
65
65
|
DiagnosticError
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-YEH5OIPF.js";
|
|
67
67
|
import {
|
|
68
68
|
orNames,
|
|
69
69
|
suggest,
|
|
@@ -8043,6 +8043,28 @@ function checkAgentArgPlaceholders(sections, bag) {
|
|
|
8043
8043
|
if (keys.size > 0) reads.set(t.guid, { name: String(t.name), keys });
|
|
8044
8044
|
}
|
|
8045
8045
|
if (reads.size === 0) return;
|
|
8046
|
+
forEachAgentRun(sections, (st, toolsetId, owner, host) => {
|
|
8047
|
+
const agent = reads.get(toolsetId);
|
|
8048
|
+
const args = statementInput(st, "args");
|
|
8049
|
+
if (agent === void 0 || args === void 0 || typeof args.value !== "string") return;
|
|
8050
|
+
if (args.tag !== "const:expr2" && args.tag !== "const:obj") return;
|
|
8051
|
+
if (Array.isArray(args.filters) && args.filters.length > 0) return;
|
|
8052
|
+
const passed = args.tag === "const:obj" ? jsonObjectKeys(args.value) : objectLiteralKeys(args.value);
|
|
8053
|
+
if (passed === void 0) return;
|
|
8054
|
+
for (const key of agent.keys) {
|
|
8055
|
+
if (passed.includes(key)) continue;
|
|
8056
|
+
const near = nearestKey(key, passed) ?? passed.find((p) => p.replace(/_/g, "").toLowerCase() === key.toLowerCase());
|
|
8057
|
+
const ident = /^[A-Za-z_]\w*$/.test(key);
|
|
8058
|
+
const access = ident ? `.${key}` : `['${key}']`;
|
|
8059
|
+
bag.warn(
|
|
8060
|
+
"agent.args-placeholder-unpassed",
|
|
8061
|
+
`${owner}: \`s.ai.agent.run\` of agent "${agent.name}" passes args ${passed.length > 0 ? passed.map((p) => `\`${p}\``).join(", ") : "(none)"}, but the agent's prompt reads \`{{ $args${access} }}\`, which this run never passes, so it resolves to nothing.` + (near !== void 0 ? ` Did you mean \`${near}\`? Rename the arg or the placeholder so they match.` : ident ? ` Pass \`${key}\` in \`args\`.` : ` \`args\` keys must be identifiers, except in a constant \`c.obj({ "${key}": \u2026 })\`; otherwise rename the placeholder to an identifier.`),
|
|
8062
|
+
host
|
|
8063
|
+
);
|
|
8064
|
+
}
|
|
8065
|
+
});
|
|
8066
|
+
}
|
|
8067
|
+
function forEachAgentRun(sections, visit) {
|
|
8046
8068
|
for (const [kind, objs] of Object.entries(sections)) {
|
|
8047
8069
|
if (kind === "toolset") continue;
|
|
8048
8070
|
for (const host of objs ?? []) {
|
|
@@ -8051,28 +8073,35 @@ function checkAgentArgPlaceholders(sections, bag) {
|
|
|
8051
8073
|
for (const st of statements) {
|
|
8052
8074
|
if (st.name !== "mvp:call_agent") continue;
|
|
8053
8075
|
const id = st.context?.toolset?.id;
|
|
8054
|
-
|
|
8055
|
-
const
|
|
8056
|
-
|
|
8057
|
-
if (args.tag !== "const:expr2" && args.tag !== "const:obj") continue;
|
|
8058
|
-
if (Array.isArray(args.filters) && args.filters.length > 0) continue;
|
|
8059
|
-
const passed = args.tag === "const:obj" ? jsonObjectKeys(args.value) : objectLiteralKeys(args.value);
|
|
8060
|
-
if (passed === void 0) continue;
|
|
8061
|
-
for (const key of agent.keys) {
|
|
8062
|
-
if (passed.includes(key)) continue;
|
|
8063
|
-
const near = nearestKey(key, passed) ?? passed.find((p) => p.replace(/_/g, "").toLowerCase() === key.toLowerCase());
|
|
8064
|
-
const ident = /^[A-Za-z_]\w*$/.test(key);
|
|
8065
|
-
const access = ident ? `.${key}` : `['${key}']`;
|
|
8066
|
-
bag.warn(
|
|
8067
|
-
"agent.args-placeholder-unpassed",
|
|
8068
|
-
`${sdkKindName(kind, host)} "${String(host.name)}": \`s.ai.agent.run\` of agent "${agent.name}" passes args ${passed.length > 0 ? passed.map((p) => `\`${p}\``).join(", ") : "(none)"}, but the agent's prompt reads \`{{ $args${access} }}\`, which this run never passes, so it resolves to nothing.` + (near !== void 0 ? ` Did you mean \`${near}\`? Rename the arg or the placeholder so they match.` : ident ? ` Pass \`${key}\` in \`args\`.` : ` \`args\` keys must be identifiers, except in a constant \`c.obj({ "${key}": \u2026 })\`; otherwise rename the placeholder to an identifier.`),
|
|
8069
|
-
host
|
|
8070
|
-
);
|
|
8071
|
-
}
|
|
8076
|
+
if (typeof id !== "string") continue;
|
|
8077
|
+
const owner = `${sdkKindName(kind, host)} "${String(host.name)}"`;
|
|
8078
|
+
visit(st, id, owner, host);
|
|
8072
8079
|
}
|
|
8073
8080
|
}
|
|
8074
8081
|
}
|
|
8075
8082
|
}
|
|
8083
|
+
function checkAgentToolsOff(sections, bag) {
|
|
8084
|
+
const withTools = /* @__PURE__ */ new Map();
|
|
8085
|
+
for (const ts of sections.toolset ?? []) {
|
|
8086
|
+
const t = ts ?? {};
|
|
8087
|
+
if (t.type !== "agent" || typeof t.guid !== "string" || !Array.isArray(t.tool)) continue;
|
|
8088
|
+
const hasEnabledTool = t.tool.some((entry2) => {
|
|
8089
|
+
const e = entry2 ?? {};
|
|
8090
|
+
return e.enabled !== false && e.id !== 0 && e.id !== "0" && e.id !== "";
|
|
8091
|
+
});
|
|
8092
|
+
if (hasEnabledTool) withTools.set(t.guid, String(t.name));
|
|
8093
|
+
}
|
|
8094
|
+
if (withTools.size === 0) return;
|
|
8095
|
+
forEachAgentRun(sections, (st, toolsetId, owner, host) => {
|
|
8096
|
+
const name = withTools.get(toolsetId);
|
|
8097
|
+
if (name === void 0 || statementInput(st, "allow_tool_execution") !== void 0) return;
|
|
8098
|
+
bag.warn(
|
|
8099
|
+
"stack.agent-tools-off",
|
|
8100
|
+
`${owner}: \`s.ai.agent.run\` of agent "${name}" leaves \`allowToolExecution\` unset, so the agent runs with its tools off: it sees them but never calls one, and answers as if it had no data. Pass \`allowToolExecution: c.bool(true)\`, or \`c.bool(false)\` to keep tools off on purpose.`,
|
|
8101
|
+
host
|
|
8102
|
+
);
|
|
8103
|
+
});
|
|
8104
|
+
}
|
|
8076
8105
|
function jsonObjectKeys(text) {
|
|
8077
8106
|
try {
|
|
8078
8107
|
const v = JSON.parse(text);
|
|
@@ -8215,6 +8244,7 @@ export {
|
|
|
8215
8244
|
checkMcpResourceUris,
|
|
8216
8245
|
checkGuardRoleColumns,
|
|
8217
8246
|
checkToolOutputSchema,
|
|
8218
|
-
checkAgentArgPlaceholders
|
|
8247
|
+
checkAgentArgPlaceholders,
|
|
8248
|
+
checkAgentToolsOff
|
|
8219
8249
|
};
|
|
8220
|
-
//# sourceMappingURL=chunk-
|
|
8250
|
+
//# sourceMappingURL=chunk-6BOKCTCM.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KDS4PDFD.js";
|
|
4
4
|
import {
|
|
5
5
|
projectRootFrom
|
|
6
6
|
} from "./chunk-HU7F56VF.js";
|
|
7
7
|
import {
|
|
8
8
|
relForwardSlash
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C6KBZH7M.js";
|
|
10
10
|
|
|
11
11
|
// src/emit/backend-dir.ts
|
|
12
12
|
import { existsSync, readdirSync } from "fs";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
backendDirIn,
|
|
68
68
|
resolveBackendDir
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-6IOQRBRX.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isDeadResultItem,
|
|
26
26
|
isEmptyCustomize,
|
|
27
27
|
normalize
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LTPF25L2.js";
|
|
29
29
|
import {
|
|
30
30
|
f,
|
|
31
31
|
input
|
|
@@ -2021,4 +2021,4 @@ export {
|
|
|
2021
2021
|
decodeTableSchema,
|
|
2022
2022
|
decodeResponse
|
|
2023
2023
|
};
|
|
2024
|
-
//# sourceMappingURL=chunk-
|
|
2024
|
+
//# sourceMappingURL=chunk-6NEV2PEC.js.map
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
parseJsonAnswer,
|
|
8
8
|
serverMessage,
|
|
9
9
|
statusLabel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TR7EOUQE.js";
|
|
11
11
|
import {
|
|
12
12
|
localPackageName,
|
|
13
13
|
packageNameOf
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QL3ZJWGG.js";
|
|
15
15
|
import {
|
|
16
16
|
readEnvVar
|
|
17
17
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
CliError,
|
|
20
20
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
21
21
|
info
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-C6KBZH7M.js";
|
|
23
23
|
import {
|
|
24
24
|
suggest
|
|
25
25
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -359,7 +359,7 @@ async function unlistedModuleError(command, name) {
|
|
|
359
359
|
}
|
|
360
360
|
async function withCatalogueRerun(err, args, command) {
|
|
361
361
|
if (!isCatalogueOutage(err)) return err;
|
|
362
|
-
const { retryCommand } = await import("./retry-command-
|
|
362
|
+
const { retryCommand } = await import("./retry-command-VZYLYDVX.js");
|
|
363
363
|
const rerun = retryCommand(args, { command }).command;
|
|
364
364
|
return new CliError("SDK_ERROR", `${err.message}
|
|
365
365
|
Run \`${rerun}\` again once it answers.`, {
|
|
@@ -386,4 +386,4 @@ export {
|
|
|
386
386
|
unlistedModuleError,
|
|
387
387
|
withCatalogueRerun
|
|
388
388
|
};
|
|
389
|
-
//# sourceMappingURL=chunk-
|
|
389
|
+
//# sourceMappingURL=chunk-6PTITS3M.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
recordedCredentialFile,
|
|
4
4
|
recordedCredentialPath,
|
|
5
5
|
resolveAuthFilePath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IB6SKACE.js";
|
|
7
7
|
import {
|
|
8
8
|
readEnvVar
|
|
9
9
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
ENV_CREDENTIAL_VARS,
|
|
74
74
|
recordedByEnvCredential
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-6S263KTM.js.map
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETTINGS_LABEL,
|
|
3
3
|
canonicalRow,
|
|
4
|
+
compareToLive,
|
|
4
5
|
payloadOf,
|
|
5
6
|
rowLabeler,
|
|
6
7
|
sectionKind,
|
|
7
8
|
sectionOmission
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I53OTC3O.js";
|
|
9
10
|
import {
|
|
10
11
|
canonicalJson
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3P35HT64.js";
|
|
12
13
|
import {
|
|
13
14
|
md5Hex
|
|
14
15
|
} from "./chunk-OHX6MIUZ.js";
|
|
15
16
|
|
|
16
17
|
// src/deploy/sync-baseline.ts
|
|
17
|
-
var DIGEST_SCHEME =
|
|
18
|
+
var DIGEST_SCHEME = 2;
|
|
18
19
|
var SKIPPED_SECTIONS = /* @__PURE__ */ new Set(["env", "metadata", "partial", "workspace"]);
|
|
19
20
|
function digestOf(canonical) {
|
|
20
21
|
return md5Hex(canonicalJson(canonical));
|
|
@@ -97,11 +98,16 @@ function syncDirection(local, live, result, baseline) {
|
|
|
97
98
|
}
|
|
98
99
|
return { baseline: { at: baseline.at, by: baseline.by }, changedThere, changedHere, changedBoth, unclassified };
|
|
99
100
|
}
|
|
101
|
+
function directedComparison(local, live, pinnedKeys, baseline) {
|
|
102
|
+
const result = compareToLive(local, live, pinnedKeys, { sample: "all", documentation: "compare" });
|
|
103
|
+
return { result, direction: syncDirection(local, live, result, baseline) };
|
|
104
|
+
}
|
|
100
105
|
|
|
101
106
|
export {
|
|
102
107
|
DIGEST_SCHEME,
|
|
103
108
|
objectDigests,
|
|
104
109
|
syncDigests,
|
|
105
|
-
syncDirection
|
|
110
|
+
syncDirection,
|
|
111
|
+
directedComparison
|
|
106
112
|
};
|
|
107
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-6YOH2L3G.js.map
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
checkAddonOutput,
|
|
13
13
|
checkAgentApiKeys,
|
|
14
14
|
checkAgentArgPlaceholders,
|
|
15
|
+
checkAgentToolsOff,
|
|
15
16
|
checkApiGroupDocsExposure,
|
|
16
17
|
checkAssertionsOutsideTests,
|
|
17
18
|
checkAuthNoCaller,
|
|
@@ -71,7 +72,7 @@ import {
|
|
|
71
72
|
postEnvelopeMisreads,
|
|
72
73
|
unnestedEnvelopeReads,
|
|
73
74
|
walkNodes
|
|
74
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-6BOKCTCM.js";
|
|
75
76
|
import {
|
|
76
77
|
WORKSPACE_HISTORY_TYPES,
|
|
77
78
|
assertNameAsStored,
|
|
@@ -101,7 +102,7 @@ import {
|
|
|
101
102
|
DiagnosticBag,
|
|
102
103
|
allowableWarnings,
|
|
103
104
|
setDiagnosticSink
|
|
104
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-YEH5OIPF.js";
|
|
105
106
|
import {
|
|
106
107
|
CANONICAL_PAYLOAD_KEYS,
|
|
107
108
|
LOCK_PAYLOAD_KEYS,
|
|
@@ -1483,6 +1484,7 @@ var Xano = class {
|
|
|
1483
1484
|
checkGuardRoleColumns(sections, this.tableDefs, bag);
|
|
1484
1485
|
checkToolOutputSchema(sections, bag);
|
|
1485
1486
|
checkAgentArgPlaceholders(sections, bag);
|
|
1487
|
+
checkAgentToolsOff(sections, bag);
|
|
1486
1488
|
checkAssertionsOutsideTests(sections, bag);
|
|
1487
1489
|
checkAgentApiKeys(sections, bag);
|
|
1488
1490
|
checkKnowledge(sections, bag, { resolved: options.knowledge !== void 0 });
|
|
@@ -1894,4 +1896,4 @@ export {
|
|
|
1894
1896
|
Xano,
|
|
1895
1897
|
workspace
|
|
1896
1898
|
};
|
|
1897
|
-
//# sourceMappingURL=chunk-
|
|
1899
|
+
//# sourceMappingURL=chunk-6ZFJEJXZ.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-2MNLRIOX.js";
|
|
4
4
|
import {
|
|
5
5
|
pipedYes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C2GHFADU.js";
|
|
7
7
|
import {
|
|
8
8
|
contextFlags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6S263KTM.js";
|
|
10
10
|
import {
|
|
11
11
|
shellWord
|
|
12
12
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
retryingFetch,
|
|
19
19
|
transportTarget,
|
|
20
20
|
withWriteStatusAftermath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TR7EOUQE.js";
|
|
22
22
|
import {
|
|
23
23
|
suggestAll
|
|
24
24
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -288,4 +288,4 @@ export {
|
|
|
288
288
|
freeBranchLabel,
|
|
289
289
|
requireBranch
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=chunk-
|
|
291
|
+
//# sourceMappingURL=chunk-75MKIQON.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
pastePath,
|
|
7
7
|
warn
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C6KBZH7M.js";
|
|
9
9
|
import {
|
|
10
10
|
shellQuote
|
|
11
11
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -103,4 +103,4 @@ export {
|
|
|
103
103
|
replacedRegistrations,
|
|
104
104
|
reportSuperseded
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=chunk-
|
|
106
|
+
//# sourceMappingURL=chunk-76UAME77.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
safeHttpFailure,
|
|
11
11
|
statusLabel,
|
|
12
12
|
writeStatusAftermath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TR7EOUQE.js";
|
|
14
14
|
|
|
15
15
|
// src/deploy/release.ts
|
|
16
16
|
var TIMEOUT_MS = 3e4;
|
|
@@ -405,4 +405,4 @@ export {
|
|
|
405
405
|
exportRelease,
|
|
406
406
|
deleteRelease
|
|
407
407
|
};
|
|
408
|
-
//# sourceMappingURL=chunk-
|
|
408
|
+
//# sourceMappingURL=chunk-7JKNWDYN.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
listAnswer,
|
|
5
5
|
recordAnswer,
|
|
6
6
|
writeTransportFailure
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TG65NWUR.js";
|
|
8
8
|
import {
|
|
9
9
|
appendSentence,
|
|
10
10
|
fetchOrExplain,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
serverMessage,
|
|
13
13
|
statusLabel,
|
|
14
14
|
transportTarget
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TR7EOUQE.js";
|
|
16
16
|
|
|
17
17
|
// src/deploy/tests.ts
|
|
18
18
|
function labelledMessage(text) {
|
|
@@ -247,4 +247,4 @@ export {
|
|
|
247
247
|
TestRunUnansweredError,
|
|
248
248
|
runTest
|
|
249
249
|
};
|
|
250
|
-
//# sourceMappingURL=chunk-
|
|
250
|
+
//# sourceMappingURL=chunk-7MPI7NIW.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
envExampleNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XTUYIX5H.js";
|
|
4
4
|
import {
|
|
5
5
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
6
6
|
renderWorkspaceEnvExample
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y2LKSXFK.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWrite
|
|
10
10
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
refreshEnvExample,
|
|
55
55
|
bundleEnvNames
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-ADKC3EII.js.map
|