@xano/sdk 1.0.20 → 1.0.22
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 +39 -0
- package/README.md +1 -1
- package/dist/{agent-file-refresh-MOEDX5OL.js → agent-file-refresh-LV5ZBJEW.js} +14 -14
- package/dist/{agent-skill-command-A4QEVNTP.js → agent-skill-command-NPWUUIKI.js} +47 -47
- package/dist/{ai-models-command-SN2UKVC5.js → ai-models-command-BVOVIC6C.js} +9 -9
- package/dist/{answer-shape-BCGPH73R.js → answer-shape-4HVMTHYM.js} +5 -5
- package/dist/{backend-dir-66VVLCUF.js → backend-dir-6S23WBVQ.js} +13 -13
- package/dist/{backend-slot-WSWAHL2W.js → backend-slot-FS7G67MV.js} +4 -4
- package/dist/bin.js +51 -48
- package/dist/{branch-6DBHVVUT.js → branch-EV4K6G2F.js} +9 -9
- package/dist/{branch-commands-KUEGS6XL.js → branch-commands-VZKHIPDP.js} +25 -25
- package/dist/bundle.d.ts +2 -2
- package/dist/{chunk-OG6WYZNA.js → chunk-2T73ZZEB.js} +5 -5
- package/dist/{chunk-C7KO5KKB.js → chunk-2XRO4TQP.js} +7 -6
- package/dist/{chunk-4QRDNBPY.js → chunk-3WPQOIE5.js} +2 -2
- package/dist/{chunk-DAXFWXSV.js → chunk-4EFBDSVU.js} +3 -3
- package/dist/{chunk-YRLSJBSY.js → chunk-4RE636YS.js} +47 -44
- package/dist/{chunk-4DVP42ZC.js → chunk-5MVSDE67.js} +2 -2
- package/dist/{chunk-TN7ZBZRW.js → chunk-5WCHWKLJ.js} +3 -3
- package/dist/{chunk-LZDH5COS.js → chunk-6H57HQFN.js} +3 -3
- package/dist/{chunk-EQ2KB5YF.js → chunk-6JOQSH5G.js} +4 -4
- package/dist/{chunk-JHAZK4RY.js → chunk-6VKDIKJI.js} +2 -2
- package/dist/{chunk-4PHCBKJI.js → chunk-7GE6FZVU.js} +7 -6
- package/dist/{chunk-FSHW3GQU.js → chunk-A2TTPUAG.js} +3 -3
- package/dist/{chunk-CP7OSHLK.js → chunk-A2YRUMSZ.js} +7 -7
- package/dist/{chunk-CPR2F3WN.js → chunk-A5IFOUCW.js} +4 -4
- package/dist/{chunk-QZ2PC6B7.js → chunk-ABC7LY6Q.js} +69 -3
- package/dist/{chunk-QBSSSKIC.js → chunk-AEEZIZ2A.js} +3 -3
- package/dist/{chunk-MAAQ4ZSN.js → chunk-ATEB3WHX.js} +49 -49
- package/dist/{chunk-E7YXNU57.js → chunk-ATRMTNSR.js} +4 -4
- package/dist/{chunk-X3LYWTZ5.js → chunk-BISPJIDL.js} +3 -3
- package/dist/{chunk-7Z43XRBL.js → chunk-BJFO44A3.js} +5 -5
- package/dist/{chunk-2VHEZDZZ.js → chunk-BQ7PALBF.js} +29 -29
- package/dist/{chunk-I5YD7QPI.js → chunk-BUNNVRO3.js} +41 -5
- package/dist/{chunk-5KSVMHFS.js → chunk-CUS54UAR.js} +3 -3
- package/dist/{chunk-ZCXWOGFL.js → chunk-CUVZ3RT5.js} +3 -3
- package/dist/{chunk-SVQMDVND.js → chunk-CZISUZJ6.js} +2 -2
- package/dist/{chunk-YSSAJQH4.js → chunk-E4I6DR7F.js} +3 -3
- package/dist/{chunk-3H765RXT.js → chunk-EAR66AGQ.js} +11 -8
- package/dist/{chunk-MGC5S6OE.js → chunk-ED6N6TMS.js} +23 -15
- package/dist/{chunk-TDSRZDQP.js → chunk-EFP5WRUV.js} +2 -2
- package/dist/{chunk-34OZQNKR.js → chunk-EPMDBGJ6.js} +4 -4
- package/dist/{chunk-HUXMRYUX.js → chunk-EU63V7YR.js} +3 -3
- package/dist/{chunk-KMXXOJL2.js → chunk-F7YI4K7J.js} +14 -14
- package/dist/{chunk-LLG33KGY.js → chunk-F7YMUAEI.js} +15 -15
- package/dist/{chunk-EPD5J3WA.js → chunk-FIVLDAIK.js} +3 -3
- package/dist/{chunk-DJ7JH4UE.js → chunk-FTGMEKYL.js} +7 -7
- package/dist/{chunk-KHX6VQ4M.js → chunk-FWGPIQMW.js} +2 -2
- package/dist/{chunk-G3ZUGFIS.js → chunk-GG4KEISG.js} +5 -5
- package/dist/{chunk-YFVD3LNL.js → chunk-HDY5IY5M.js} +2 -2
- package/dist/{chunk-5Z4WQQHC.js → chunk-HWD2Z72H.js} +2 -2
- package/dist/{chunk-IUBGFCJJ.js → chunk-IH6NGW5Z.js} +6 -6
- package/dist/{chunk-3OR2RCXJ.js → chunk-ILPZJJVY.js} +92 -82
- package/dist/{chunk-RVBDZMCC.js → chunk-IMU3T4B3.js} +60 -18
- package/dist/{chunk-RSWPVU6X.js → chunk-KSW6PW36.js} +8 -8
- package/dist/{chunk-BFM2P47R.js → chunk-KYZ6QCR3.js} +6 -6
- package/dist/{chunk-CJIXD67B.js → chunk-L37MTTU4.js} +6 -6
- package/dist/{chunk-EOWNLLLV.js → chunk-LAZUQLWU.js} +7 -6
- package/dist/{chunk-FMXPV5JI.js → chunk-LEODZXR7.js} +4 -4
- package/dist/{chunk-T6GI2AFJ.js → chunk-LJSYTEPF.js} +14 -14
- package/dist/{chunk-TEZKQQDT.js → chunk-LOXVHC7B.js} +8 -8
- package/dist/{chunk-CGLYG2VF.js → chunk-M3DIFMJX.js} +2 -2
- package/dist/{chunk-EJXJE2H3.js → chunk-MKZDHVVE.js} +46 -46
- package/dist/{chunk-3HK7VELD.js → chunk-MO4SSEPP.js} +2 -2
- package/dist/{chunk-M5GXZEX7.js → chunk-N5O76SCI.js} +4 -4
- package/dist/{chunk-5BLBX2Q5.js → chunk-NHGED6BY.js} +9 -9
- package/dist/{chunk-LMX4VE4H.js → chunk-NRFE7KLI.js} +4 -4
- package/dist/{chunk-C6ERQFEB.js → chunk-ODS5M4Y7.js} +5 -5
- package/dist/{chunk-6ODQ5GDZ.js → chunk-OI34XIHM.js} +2 -2
- package/dist/{chunk-52VELHIH.js → chunk-OT3DSWIT.js} +5 -5
- package/dist/{chunk-6TAYTKFM.js → chunk-P3G2Z2L3.js} +4 -4
- package/dist/{chunk-GUHJV7C5.js → chunk-Q25OESFL.js} +3 -3
- package/dist/{chunk-4Y3SWNPE.js → chunk-Q2ADIN5G.js} +2 -2
- package/dist/{chunk-PC7XEO7F.js → chunk-Q5VLI567.js} +2 -2
- package/dist/{chunk-CJ5WRCVE.js → chunk-Q6ZLVVJW.js} +5 -5
- package/dist/{chunk-WK5QDV25.js → chunk-QXGRUEU7.js} +3 -3
- package/dist/{chunk-CBACTYIC.js → chunk-RQ7EYCPF.js} +6 -6
- package/dist/{chunk-5ABAIJVV.js → chunk-TANRKGHA.js} +2 -2
- package/dist/{chunk-Z7IINILG.js → chunk-TSCO37LJ.js} +5 -5
- package/dist/{chunk-SQVETROU.js → chunk-TW64BHNV.js} +4 -4
- package/dist/{chunk-T6KQYCAU.js → chunk-TXA37G44.js} +3 -3
- package/dist/{chunk-UN73LNM5.js → chunk-U27YUJE2.js} +4 -4
- package/dist/{chunk-7J7YRAZB.js → chunk-U66T5MAB.js} +4 -4
- package/dist/{chunk-DORGB2Y2.js → chunk-UEY2ADOJ.js} +2 -2
- package/dist/{chunk-4GI22VPJ.js → chunk-UMQRDEZG.js} +4 -4
- package/dist/{chunk-RHH6SCB4.js → chunk-UO5ZFNIV.js} +4 -4
- package/dist/{chunk-BBFHZMQA.js → chunk-VBOCHX7Y.js} +2 -2
- package/dist/{chunk-VEA6EXJL.js → chunk-VEW3ESAC.js} +3 -3
- package/dist/{chunk-KNLPGIRY.js → chunk-VRDEZVLP.js} +7 -7
- package/dist/{chunk-6L32HAIP.js → chunk-VRHJTYBO.js} +2 -2
- package/dist/{chunk-6534P3VH.js → chunk-VZIGBEF4.js} +2 -2
- package/dist/{chunk-YAZEB255.js → chunk-WAUIPPMF.js} +2 -2
- package/dist/{chunk-HGUQIBYY.js → chunk-WHZJWZTF.js} +7 -7
- package/dist/{chunk-745NOWB7.js → chunk-WNDTIUTA.js} +4 -4
- package/dist/{chunk-52QAENY6.js → chunk-WYOQNVM2.js} +4 -4
- package/dist/{chunk-JXX2QXPP.js → chunk-X7BDJ6WU.js} +2 -2
- package/dist/{chunk-EME5G4YP.js → chunk-XGNYUZLW.js} +9 -8
- package/dist/{chunk-2SWJ3267.js → chunk-XJ7SRNW2.js} +21 -18
- package/dist/{chunk-P3WIMLG2.js → chunk-XNXZZU3W.js} +2 -2
- package/dist/{chunk-AD7YILOU.js → chunk-XTDSS57C.js} +8 -8
- package/dist/{chunk-OSMPI45P.js → chunk-XXVP7E62.js} +3 -3
- package/dist/{chunk-MKRREVNB.js → chunk-Y7TZZ6NW.js} +8 -2
- package/dist/{chunk-I52AKG2O.js → chunk-YDGBFJUA.js} +4 -4
- package/dist/{chunk-OQMXCNN7.js → chunk-YDZJN26I.js} +4 -4
- package/dist/{chunk-WAP5362D.js → chunk-YHENFBYW.js} +2 -2
- package/dist/{chunk-OAWBNCME.js → chunk-YLHAGHS6.js} +23 -23
- package/dist/{chunk-EBSJUSID.js → chunk-ZBAINZJB.js} +2 -2
- package/dist/{chunk-SWQA6SZI.js → chunk-ZCGGTZQY.js} +74 -78
- package/dist/{chunk-FVBJKM6N.js → chunk-ZV2AEGZA.js} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +46 -46
- package/dist/{codegen-command-GGGU6YAP.js → codegen-command-BLQBH3TH.js} +63 -63
- package/dist/codegen.d.ts +3 -3
- package/dist/{commands-EN4RLPOP.js → commands-VHQIAW5C.js} +3 -3
- package/dist/{completion-KH45QD3E.js → completion-6R3KZY4A.js} +3 -3
- package/dist/{config-AKHBFTKA.js → config-KGXHN3JU.js} +4 -4
- package/dist/{deploy-command-WOHYD22D.js → deploy-command-TID6CA7V.js} +53 -53
- package/dist/{deploy-source-QK7Y4Y3V.js → deploy-source-2XGWS4YS.js} +29 -29
- package/dist/{dev-env-sync-AMFPULCP.js → dev-env-sync-QJIIUU7R.js} +47 -47
- package/dist/{diagnostics-T3RN3372.js → diagnostics-EYMAH4DV.js} +2 -2
- package/dist/{display-name-hint-QMT562BI.js → display-name-hint-5UJ3HFXY.js} +11 -11
- package/dist/{emit-BfHifhJy.d.ts → emit-CezfsIMN.d.ts} +44 -6
- package/dist/{env-example-refresh-F5RTDVJ5.js → env-example-refresh-POWYBDLK.js} +64 -64
- package/dist/{env-pull-command-J2ARE33T.js → env-pull-command-7IZ6YGTU.js} +43 -43
- package/dist/{env-target-WA4BR6GW.js → env-target-KAVQVPDO.js} +10 -10
- package/dist/{env-var-command-WEC22FI5.js → env-var-command-Q5ZWB7GA.js} +39 -39
- package/dist/{ephemeral-MNHEWSZ6.js → ephemeral-XJO3TZCY.js} +9 -9
- package/dist/{ephemeral-command-EJLS42VJ.js → ephemeral-command-2P6K6LKO.js} +44 -44
- package/dist/{ephemeral-state-QTT5JHD5.js → ephemeral-state-X5HR4FAK.js} +8 -8
- package/dist/{generate-command-2WHFL4CB.js → generate-command-6EIPQUYK.js} +68 -68
- package/dist/{gitignore-OKB3X335.js → gitignore-KNOLQB42.js} +17 -17
- package/dist/{guards-N4PUFKN5.js → guards-6KAY65CV.js} +6 -6
- package/dist/{impersonate-command-EIWI3FBD.js → impersonate-command-2SZFKFTW.js} +35 -35
- package/dist/{import-7HFTOT7M.js → import-7TYP5VND.js} +5 -5
- package/dist/index.d.ts +8 -8
- package/dist/index.js +11 -11
- package/dist/{init-command-POIWZKZ4.js → init-command-25SUJRAE.js} +51 -51
- package/dist/{init-modules-S7BR4NIJ.js → init-modules-A73RV2OJ.js} +10 -10
- package/dist/{init-web-YCPD6BYN.js → init-web-KRQCA43B.js} +3 -3
- package/dist/internal.d.ts +6 -6
- package/dist/internal.js +18 -17
- package/dist/{keep-data-merge-NXP77QML.js → keep-data-merge-4QFPEJBN.js} +24 -24
- package/dist/{lambda-config-reconcile-CC5QIP6E.js → lambda-config-reconcile-GWEMI2PL.js} +3 -3
- package/dist/{landing-record-MK44WCRY.js → landing-record-4CZTNKZT.js} +19 -19
- package/dist/{live-diff-GZ6JUNP6.js → live-diff-CPFDW6T4.js} +5 -5
- package/dist/{local-engine-ai-3XLJLOBP.js → local-engine-ai-6FF34RSX.js} +11 -11
- package/dist/{local-engine-choice-7QBML5XF.js → local-engine-choice-P3GZBFTE.js} +37 -37
- package/dist/{local-engine-command-N7VDPABW.js → local-engine-command-A76ADITM.js} +43 -43
- package/dist/{local-engine-deploy-RYZZYEDQ.js → local-engine-deploy-SEPTWYYD.js} +18 -16
- package/dist/{local-engine-lookup-2VSUWEQY.js → local-engine-lookup-C6YIQY7S.js} +3 -3
- package/dist/{local-engine-mcp-bridge-ECGTK7LF.js → local-engine-mcp-bridge-HQDIYT26.js} +10 -7
- package/dist/{local-engine-mcp-command-A257D3WK.js → local-engine-mcp-command-4OXNZDCM.js} +46 -46
- package/dist/{local-engine-process-P5T2766M.js → local-engine-process-YHQTPIK2.js} +22 -12
- package/dist/{local-engine-release-OK6GKULS.js → local-engine-release-DV4NJS24.js} +6 -6
- package/dist/{local-engine-state-BOKHLNRQ.js → local-engine-state-QJRY4IVD.js} +2 -2
- package/dist/{local-engine-update-check-C72LSVUQ.js → local-engine-update-check-YJ655C6V.js} +5 -5
- package/dist/{lock-commands-KMWLIGT2.js → lock-commands-CSUAP3CZ.js} +51 -51
- package/dist/{login-command-E2KMN6DV.js → login-command-TE4CGIEZ.js} +25 -25
- package/dist/{logout-command-AIB446AQ.js → logout-command-YR2G5OIN.js} +13 -13
- package/dist/{loop-EMTBWN4X.js → loop-H44NE3R6.js} +5 -5
- package/dist/{marketplace-command-YLBFUBHL.js → marketplace-command-4N5IIDSA.js} +32 -32
- package/dist/{marketplace-resolve-LT76KHJD.js → marketplace-resolve-NSCLONXK.js} +8 -8
- package/dist/{meta-client-AOPF5IQN.js → meta-client-XEMGHUUK.js} +14 -13
- package/dist/{module-manifest-B432UFBK.js → module-manifest-FGT5VXFQ.js} +4 -4
- package/dist/node.d.ts +7 -7
- package/dist/node.js +51 -51
- package/dist/{operation-outcome-GBSISFAP.js → operation-outcome-D5QHO5LT.js} +21 -21
- package/dist/{output-target-NHJLT4YI.js → output-target-CYAPGP3A.js} +18 -18
- package/dist/{plan-disclosure-5HM7CMRW.js → plan-disclosure-MWMOGKX2.js} +16 -16
- package/dist/{plugin-contributions-MEXUR7TY.js → plugin-contributions-6FOQ7TWS.js} +5 -5
- package/dist/{plugin-prompt-XM4ATAWA.js → plugin-prompt-CP5EVTAD.js} +5 -5
- package/dist/{plugin-questions-VGU3B4LE.js → plugin-questions-5R3CBBNM.js} +4 -4
- package/dist/{preflight-command-O52GLYGA.js → preflight-command-WT4RIL5P.js} +57 -57
- package/dist/{profile-command-NOKUVV3M.js → profile-command-5RXNMDIX.js} +26 -26
- package/dist/{profile-pointer-DHOU26Q2.js → profile-pointer-UURS2P3M.js} +4 -4
- package/dist/{project-config-SGRYMHBT.js → project-config-2DVU3VV6.js} +6 -6
- package/dist/{project-dependency-WTH776QE.js → project-dependency-IEGZVZNO.js} +9 -9
- package/dist/{project-sdk-FYNY7RTO.js → project-sdk-ZYTIHEVU.js} +4 -4
- package/dist/promote-command-HOW24EMD.js +150 -0
- package/dist/{prompt-JVYQH4OR.js → prompt-H2XC5AR7.js} +4 -4
- package/dist/{publish-command-LB2XULJA.js → publish-command-E6F5D3FY.js} +56 -56
- package/dist/{pull-command-UVNPFY2E.js → pull-command-ZBJJ6MDT.js} +66 -66
- package/dist/{pull-superseded-7EZ7M54I.js → pull-superseded-2UECGKGU.js} +4 -4
- package/dist/{raw-where-CinW0keO.d.ts → raw-where-B8Bx158p.d.ts} +1 -1
- package/dist/{release-command-BGSDY3BE.js → release-command-65Z3VDBQ.js} +61 -61
- package/dist/{release-ns-command-IVXK7HEG.js → release-ns-command-CH23BRI3.js} +79 -79
- package/dist/{retry-command-HG4IFE65.js → retry-command-FXAPSP5X.js} +8 -8
- package/dist/{routes-manifest-N73THJB3.js → routes-manifest-SXKLGPSQ.js} +6 -6
- package/dist/{routes-manifest-file-3MDX3JB3.js → routes-manifest-file-NAXVFRVN.js} +9 -9
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-NFNUKRGZ.js → secrets-file-KKGISTCY.js} +17 -17
- package/dist/{secrets-fill-command-U5L7IKUO.js → secrets-fill-command-R3JTP2VN.js} +50 -50
- package/dist/{seed-M33F4OJW.js → seed-WQJYWO3I.js} +6 -6
- package/dist/{source-resolve-MAMVIHDF.js → source-resolve-TS2CWDZ6.js} +19 -19
- package/dist/{static-host-HCKD26Q3.js → static-host-K4YVJQNR.js} +5 -5
- package/dist/{status-command-VXIN37ET.js → status-command-FWE65NQQ.js} +36 -36
- package/dist/{store-Dt-5vOSe.d.ts → store-CscLDS9B.d.ts} +3 -3
- package/dist/{store-ZWQFSXH5.js → store-UIIOQ4G3.js} +6 -6
- package/dist/{sync-baseline-XLRJQZCS.js → sync-baseline-6J7SQUPN.js} +6 -6
- package/dist/{sync-contributions-PGMYJKLG.js → sync-contributions-MV7UXGUN.js} +12 -12
- package/dist/{sync-record-UFEJDNLR.js → sync-record-ASVPKPKZ.js} +10 -10
- package/dist/{table-JHPGUJ2Z.js → table-RYGYFUV6.js} +8 -8
- package/dist/{tables-command-FNBHVJG3.js → tables-command-W3KSMKYR.js} +36 -36
- package/dist/{tenant-SSWC7B3V.js → tenant-C7TDXCIN.js} +10 -10
- package/dist/{tenant-command-PHNX3PXS.js → tenant-command-ZPNAY7AM.js} +83 -83
- package/dist/{test-command-DMMF3RMK.js → test-command-7Z5F5SKW.js} +34 -34
- package/dist/{tests-ZFQWDWS2.js → tests-6OXEGO3H.js} +6 -6
- package/dist/{token-IHOPB74T.js → token-UPSKG3BH.js} +9 -9
- package/dist/{toolchain-hooks-IRPM6LYL.js → toolchain-hooks-GST2SEDT.js} +8 -8
- package/dist/{toolchain-modules-V56JXU2E.js → toolchain-modules-V7AOUVZ3.js} +8 -8
- package/dist/{toolchain-peers-NOIM44ED.js → toolchain-peers-7PXXNC4P.js} +10 -10
- package/dist/{tracked-backend-VKWZKKBG.js → tracked-backend-CCBFWEJV.js} +32 -32
- package/dist/{update-check-DZ4YVDNS.js → update-check-D7EVYWDB.js} +49 -49
- package/dist/{upgrade-command-EP5WQWFA.js → upgrade-command-7AJQ265B.js} +52 -52
- package/dist/{whoami-command-UV6EEDBY.js → whoami-command-LNFEE5XP.js} +12 -12
- package/dist/{workspace-6LVJ3LZE.js → workspace-KNMGO3LZ.js} +5 -5
- package/dist/{workspace-binding-AUZIERMF.js → workspace-binding-CEB7LD2Y.js} +11 -11
- package/dist/{workspace-command-VXOY6KPE.js → workspace-command-DY5K6A5L.js} +79 -79
- package/dist/{workspace-env-ZNGE3DFN.js → workspace-env-VPEHJVRV.js} +14 -14
- package/dist/{workspace-export-A4L6272C.js → workspace-export-O33G7GRU.js} +5 -5
- package/dist/{writable-762DMPHW.js → writable-YP3UI2XU.js} +4 -4
- package/dist/{xano-XZN5SRDH.js → xano-Y3J4S433.js} +7 -7
- package/dist/{xanosdk-import-FENZ7XMW.js → xanosdk-import-TC2YGIEJ.js} +6 -6
- package/dist/{xanosdk-project-K4RKLLNO.js → xanosdk-project-J5VAVLCA.js} +15 -15
- package/dist/{xdo-DNGZGO1j.d.ts → xdo-BEYX5ihv.d.ts} +2 -2
- package/guides/deploying.md +13 -4
- package/guides/environment.md +15 -0
- package/llms/kinds-agent-mcp.md +2 -2
- package/llms/kinds-core.md +1 -1
- package/llms/object-kinds.md +1 -1
- package/llms/tests.md +3 -2
- package/llms-full.txt +9 -8
- package/llms.txt +2 -2
- package/manifest.json +1 -1
- package/package.json +2 -39
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/.build-fingerprint +0 -1
- package/dist/promote-command-2NMTINVS.js +0 -150
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOperation,
|
|
3
3
|
runOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5WCHWKLJ.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWorkspaceBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4RE636YS.js";
|
|
8
8
|
import {
|
|
9
9
|
assertReleaseIdentitiesFree,
|
|
10
10
|
pinnedCanonicalGuids,
|
|
11
11
|
setLiveRollback
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ATEB3WHX.js";
|
|
13
13
|
import {
|
|
14
14
|
recordSync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XXVP7E62.js";
|
|
16
16
|
import {
|
|
17
17
|
objectDigests,
|
|
18
18
|
syncDigests
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WAUIPPMF.js";
|
|
20
20
|
import {
|
|
21
21
|
asWorkspaceArchive,
|
|
22
22
|
resolveProjectEntry
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KYZ6QCR3.js";
|
|
24
24
|
import {
|
|
25
25
|
liveBranchMismatch,
|
|
26
26
|
liveMismatch
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LJSYTEPF.js";
|
|
28
28
|
import {
|
|
29
29
|
exportWorkspaceBundle
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FWGPIQMW.js";
|
|
31
31
|
import {
|
|
32
32
|
confirm
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VBOCHX7Y.js";
|
|
34
34
|
import {
|
|
35
35
|
CONSTRAINT_FIX,
|
|
36
36
|
CONSTRAINT_PHRASE,
|
|
@@ -49,18 +49,18 @@ import {
|
|
|
49
49
|
releaseTableEffects,
|
|
50
50
|
renameHint,
|
|
51
51
|
tableEffectsPayload
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-TSCO37LJ.js";
|
|
53
53
|
import {
|
|
54
54
|
tableRowCounter
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TW64BHNV.js";
|
|
56
56
|
import {
|
|
57
57
|
landingLockPath,
|
|
58
58
|
recordForeignLanding
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-BJFO44A3.js";
|
|
60
60
|
import {
|
|
61
61
|
SettledWriteFailure,
|
|
62
62
|
classifyFailure
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-XTDSS57C.js";
|
|
64
64
|
import {
|
|
65
65
|
BranchTakenError,
|
|
66
66
|
assertBranchAbsent,
|
|
@@ -71,19 +71,19 @@ import {
|
|
|
71
71
|
listBranchListing,
|
|
72
72
|
liveBranchLabel,
|
|
73
73
|
setLiveBranch
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-2XRO4TQP.js";
|
|
75
75
|
import {
|
|
76
76
|
decodeWorkspaceArchive
|
|
77
77
|
} from "./chunk-3DRXWLJ5.js";
|
|
78
78
|
import {
|
|
79
79
|
envValuesOf
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-XNXZZU3W.js";
|
|
81
81
|
import {
|
|
82
82
|
assertOneName
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-CUVZ3RT5.js";
|
|
84
84
|
import {
|
|
85
85
|
resolveSource
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-F7YMUAEI.js";
|
|
87
87
|
import {
|
|
88
88
|
ReleaseHttpError,
|
|
89
89
|
UNPROMOTABLE_RELEASE_PARTS,
|
|
@@ -92,10 +92,10 @@ import {
|
|
|
92
92
|
promotableReleaseName,
|
|
93
93
|
unpromotableReleasePart,
|
|
94
94
|
untenantDeployableReleasePart
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-X7BDJ6WU.js";
|
|
96
96
|
import {
|
|
97
97
|
getAccessToken
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-LOXVHC7B.js";
|
|
99
99
|
import {
|
|
100
100
|
readLockFile
|
|
101
101
|
} from "./chunk-7ZVQIKNL.js";
|
|
@@ -103,16 +103,16 @@ import {
|
|
|
103
103
|
pipedYes,
|
|
104
104
|
retryCommand,
|
|
105
105
|
withheldNote
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-Q5VLI567.js";
|
|
107
107
|
import {
|
|
108
108
|
contextFlags
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-5MVSDE67.js";
|
|
110
110
|
import {
|
|
111
111
|
shellWord
|
|
112
112
|
} from "./chunk-FWD7AL6N.js";
|
|
113
113
|
import {
|
|
114
114
|
withoutReadAftermath
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-ABC7LY6Q.js";
|
|
116
116
|
import {
|
|
117
117
|
CliError,
|
|
118
118
|
LocalFileNotFoundError,
|
|
@@ -130,16 +130,16 @@ import {
|
|
|
130
130
|
success,
|
|
131
131
|
warn,
|
|
132
132
|
withoutUrls
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-VZIGBEF4.js";
|
|
134
134
|
import {
|
|
135
135
|
envNamesRead
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-Q6ZLVVJW.js";
|
|
137
137
|
import {
|
|
138
138
|
safeNames
|
|
139
139
|
} from "./chunk-GSGDWJB5.js";
|
|
140
140
|
import {
|
|
141
141
|
setDiagnosticSink
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-LEODZXR7.js";
|
|
143
143
|
import {
|
|
144
144
|
sdkKindName2 as sdkKindName
|
|
145
145
|
} from "./chunk-VQDVEHDB.js";
|
|
@@ -299,7 +299,7 @@ async function verifyLanding(auth, opts) {
|
|
|
299
299
|
} catch (err) {
|
|
300
300
|
return unverified(shortReason(err));
|
|
301
301
|
}
|
|
302
|
-
const { compareToLive, declaredLabels } = await import("./live-diff-
|
|
302
|
+
const { compareToLive, declaredLabels } = await import("./live-diff-CPFDW6T4.js");
|
|
303
303
|
let result;
|
|
304
304
|
try {
|
|
305
305
|
result = compareToLive(declared, landedBundle, void 0, { sample: "all" });
|
|
@@ -472,7 +472,7 @@ async function runPromoteCommand(args) {
|
|
|
472
472
|
discloseWriteTarget(destination);
|
|
473
473
|
const lockPath = landingLockPath(args, args.entryPath === void 0 ? {} : { entryFile: args.entryPath });
|
|
474
474
|
if (lockPath === void 0 && args.noLock !== true) {
|
|
475
|
-
const { nestedBackendEntries } = await import("./tracked-backend-
|
|
475
|
+
const { nestedBackendEntries } = await import("./tracked-backend-CCBFWEJV.js");
|
|
476
476
|
const nested = nestedBackendEntries(process.cwd());
|
|
477
477
|
if (nested.length > 0) {
|
|
478
478
|
warn(
|
|
@@ -935,7 +935,7 @@ Nothing was switched. Serve it deliberately with \`xanosdk workspace branch set-
|
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
async function unansweredBranchRead(err, args, what) {
|
|
938
|
-
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-
|
|
938
|
+
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-TS2CWDZ6.js");
|
|
939
939
|
const transport = isTransportFailure(err);
|
|
940
940
|
if (!transport && !isServerError(err)) return err;
|
|
941
941
|
const first = what !== void 0 ? `could not read ${what}` : ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
|
|
@@ -961,4 +961,4 @@ export {
|
|
|
961
961
|
reportNotRun,
|
|
962
962
|
runPromoteCommand
|
|
963
963
|
};
|
|
964
|
-
//# sourceMappingURL=chunk-
|
|
964
|
+
//# sourceMappingURL=chunk-BQ7PALBF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readPin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CUS54UAR.js";
|
|
4
4
|
import {
|
|
5
5
|
listOverrideEntries,
|
|
6
6
|
listReleaseEntries,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
clearEngineRecordsNamed,
|
|
12
12
|
listEngineRecords
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Y7TZZ6NW.js";
|
|
14
14
|
import {
|
|
15
15
|
engineCacheDir,
|
|
16
16
|
engineRunHome,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
fetchOrExplain,
|
|
26
26
|
httpFailureError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ABC7LY6Q.js";
|
|
28
28
|
|
|
29
29
|
// src/deploy/local-engine-process.ts
|
|
30
30
|
import { spawn as nodeSpawn, spawnSync } from "child_process";
|
|
@@ -33,6 +33,36 @@ import { dirname, join, sep } from "path";
|
|
|
33
33
|
var HANDSHAKE_TIMEOUT_MS = 6e4;
|
|
34
34
|
var MAX_HANDSHAKE_BYTES = 64 * 1024;
|
|
35
35
|
var MAX_STDERR_BYTES = 64 * 1024;
|
|
36
|
+
var ENGINE_TELEMETRY_ENV = [
|
|
37
|
+
"DO_NOT_TRACK",
|
|
38
|
+
"CI",
|
|
39
|
+
"XANO_TELEMETRY",
|
|
40
|
+
"XANO_TELEMETRY_URL",
|
|
41
|
+
"XANO_TELEMETRY_ANONYMOUS_ID"
|
|
42
|
+
];
|
|
43
|
+
var ENGINE_TELEMETRY_OFF_WORDS = ["", "0", "false", "off", "no"];
|
|
44
|
+
function engineMayReport(snapshot) {
|
|
45
|
+
const value = snapshot.XANO_TELEMETRY;
|
|
46
|
+
return value !== void 0 && !ENGINE_TELEMETRY_OFF_WORDS.includes(value.trim().toLowerCase());
|
|
47
|
+
}
|
|
48
|
+
function telemetryOptedOut(snapshot) {
|
|
49
|
+
const word = (key) => snapshot[key]?.trim().toLowerCase();
|
|
50
|
+
const optOut = (key) => {
|
|
51
|
+
const value = word(key);
|
|
52
|
+
return value !== void 0 && value !== "" && value !== "0" && value !== "false";
|
|
53
|
+
};
|
|
54
|
+
const telemetry = word("XANO_TELEMETRY");
|
|
55
|
+
return optOut("DO_NOT_TRACK") || optOut("CI") || telemetry !== void 0 && telemetry !== "" && ENGINE_TELEMETRY_OFF_WORDS.includes(telemetry);
|
|
56
|
+
}
|
|
57
|
+
function engineTelemetryEnv(env = process.env) {
|
|
58
|
+
const child = engineChildEnv(env);
|
|
59
|
+
const picked = {};
|
|
60
|
+
for (const key of ENGINE_TELEMETRY_ENV) {
|
|
61
|
+
const value = child[key];
|
|
62
|
+
if (value !== void 0) picked[key] = value;
|
|
63
|
+
}
|
|
64
|
+
return picked;
|
|
65
|
+
}
|
|
36
66
|
var ENGINE_ENV_ALLOWLIST = [
|
|
37
67
|
"HOME",
|
|
38
68
|
"PATH",
|
|
@@ -42,7 +72,8 @@ var ENGINE_ENV_ALLOWLIST = [
|
|
|
42
72
|
"USER",
|
|
43
73
|
"LOGNAME",
|
|
44
74
|
"SHELL",
|
|
45
|
-
"TERM"
|
|
75
|
+
"TERM",
|
|
76
|
+
...ENGINE_TELEMETRY_ENV
|
|
46
77
|
];
|
|
47
78
|
var defaultSpawn = (executable, args, options) => nodeSpawn(executable, [...args], { ...options, windowsHide: true });
|
|
48
79
|
var defaultRun = (executable, args, options) => {
|
|
@@ -426,6 +457,11 @@ function stopOrphanedEngineProcesses(opts = {}) {
|
|
|
426
457
|
export {
|
|
427
458
|
HANDSHAKE_TIMEOUT_MS,
|
|
428
459
|
MAX_HANDSHAKE_BYTES,
|
|
460
|
+
ENGINE_TELEMETRY_ENV,
|
|
461
|
+
ENGINE_TELEMETRY_OFF_WORDS,
|
|
462
|
+
engineMayReport,
|
|
463
|
+
telemetryOptedOut,
|
|
464
|
+
engineTelemetryEnv,
|
|
429
465
|
ENGINE_ENV_ALLOWLIST,
|
|
430
466
|
ENGINE_AI_TOKEN_FILE_ENV,
|
|
431
467
|
ENGINE_AI_GATEWAY_URL_ENV,
|
|
@@ -449,4 +485,4 @@ export {
|
|
|
449
485
|
findOrphanedEngineProcesses,
|
|
450
486
|
stopOrphanedEngineProcesses
|
|
451
487
|
};
|
|
452
|
-
//# sourceMappingURL=chunk-
|
|
488
|
+
//# sourceMappingURL=chunk-BUNNVRO3.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-VO62TKK5.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeEngineVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZV2AEGZA.js";
|
|
7
7
|
import {
|
|
8
8
|
SDK_PACKAGE,
|
|
9
9
|
composeToolchainConfig,
|
|
10
10
|
readProjectManifest,
|
|
11
11
|
readToolchainBlock,
|
|
12
12
|
writeToolchainConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6H57HQFN.js";
|
|
14
14
|
|
|
15
15
|
// src/deploy/local-engine-pin.ts
|
|
16
16
|
import { existsSync, writeFileSync } from "fs";
|
|
@@ -78,4 +78,4 @@ export {
|
|
|
78
78
|
readPin,
|
|
79
79
|
writePin
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=chunk-
|
|
81
|
+
//# sourceMappingURL=chunk-CUS54UAR.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
retryCommand,
|
|
3
3
|
withheldNote
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q5VLI567.js";
|
|
5
5
|
import {
|
|
6
6
|
checkOneName,
|
|
7
7
|
setRunNameContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VZIGBEF4.js";
|
|
9
9
|
import {
|
|
10
10
|
shellQuote
|
|
11
11
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -46,4 +46,4 @@ export {
|
|
|
46
46
|
assertOneName,
|
|
47
47
|
noteRunArgs
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-CUVZ3RT5.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
parsePathParams,
|
|
6
6
|
pathSegment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WYOQNVM2.js";
|
|
8
8
|
import {
|
|
9
9
|
linkedTableOf,
|
|
10
10
|
tableRefOf
|
|
@@ -994,4 +994,4 @@ export {
|
|
|
994
994
|
routesListing,
|
|
995
995
|
formatRoutesListing
|
|
996
996
|
};
|
|
997
|
-
//# sourceMappingURL=chunk-
|
|
997
|
+
//# sourceMappingURL=chunk-CZISUZJ6.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
questionOrCancel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VBOCHX7Y.js";
|
|
4
4
|
import {
|
|
5
5
|
style,
|
|
6
6
|
terminalText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VZIGBEF4.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/plugin-prompt.ts
|
|
10
10
|
import { createInterface } from "readline/promises";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
promptPluginQuestion,
|
|
55
55
|
pluginPrompter
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-E4I6DR7F.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_WORKSPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LOXVHC7B.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialFileOf
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5MVSDE67.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialFileFlag,
|
|
9
9
|
globalAuthFilePath,
|
|
@@ -12,14 +12,17 @@ import {
|
|
|
12
12
|
readProfile,
|
|
13
13
|
recordedCredentialPath,
|
|
14
14
|
sameOriginAs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YDZJN26I.js";
|
|
16
|
+
import {
|
|
17
|
+
withUserAgentHeaders
|
|
18
|
+
} from "./chunk-ABC7LY6Q.js";
|
|
16
19
|
import {
|
|
17
20
|
readEnvVar
|
|
18
21
|
} from "./chunk-X2NL4KUO.js";
|
|
19
22
|
import {
|
|
20
23
|
CliError,
|
|
21
24
|
UsageError
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VZIGBEF4.js";
|
|
23
26
|
import {
|
|
24
27
|
shellQuote
|
|
25
28
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -55,7 +58,7 @@ async function refuseUnreachableWorkspace(auth) {
|
|
|
55
58
|
async function readReachableWorkspaces(auth, timeoutMs = 3e4) {
|
|
56
59
|
try {
|
|
57
60
|
const res = await fetch(new URL("/api:meta/workspace", auth.instance).href, {
|
|
58
|
-
headers: { accept: "application/json", Authorization: `Bearer ${auth.access_token}` },
|
|
61
|
+
headers: withUserAgentHeaders({ accept: "application/json", Authorization: `Bearer ${auth.access_token}` }),
|
|
59
62
|
signal: AbortSignal.timeout(timeoutMs)
|
|
60
63
|
});
|
|
61
64
|
if (!res.ok) return void 0;
|
|
@@ -65,7 +68,7 @@ async function readReachableWorkspaces(auth, timeoutMs = 3e4) {
|
|
|
65
68
|
}
|
|
66
69
|
}
|
|
67
70
|
async function whereaboutsOf(auth, name, kinds) {
|
|
68
|
-
const { listAllEphemeral } = await import("./ephemeral-
|
|
71
|
+
const { listAllEphemeral } = await import("./ephemeral-XJO3TZCY.js");
|
|
69
72
|
const failures = [];
|
|
70
73
|
const reason = (err) => (err instanceof Error ? err.message : String(err)).split("\n")[0].replace(/[.:]$/, "");
|
|
71
74
|
const [all, ephemerals] = await Promise.all([
|
|
@@ -78,7 +81,7 @@ async function whereaboutsOf(auth, name, kinds) {
|
|
|
78
81
|
const listed = ephemerals?.some((r) => r.name === name) === true;
|
|
79
82
|
if (kinds === "ephemeral" && ephemerals !== void 0 && !listed) return { at: "nowhere" };
|
|
80
83
|
if (all === void 0) failures.push("the workspace list could not be read");
|
|
81
|
-
const { getTenant } = await import("./tenant-
|
|
84
|
+
const { getTenant } = await import("./tenant-C7TDXCIN.js");
|
|
82
85
|
const others = (all ?? []).filter((w) => w.id !== auth.workspaceId);
|
|
83
86
|
const found = await Promise.all(
|
|
84
87
|
others.map(
|
|
@@ -162,4 +165,4 @@ export {
|
|
|
162
165
|
rerunInWorkspace,
|
|
163
166
|
heldElsewhereError
|
|
164
167
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
168
|
+
//# sourceMappingURL=chunk-EAR66AGQ.js.map
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
parsePathParams,
|
|
8
8
|
queryKind,
|
|
9
9
|
warnUnboundReturn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WYOQNVM2.js";
|
|
11
11
|
import {
|
|
12
12
|
workspaceKind
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Q25OESFL.js";
|
|
14
14
|
import {
|
|
15
15
|
Xano,
|
|
16
16
|
encodeMcpOauth,
|
|
17
17
|
refuseUnknown,
|
|
18
18
|
standaloneDefKind
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XGNYUZLW.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveAuthRef
|
|
22
22
|
} from "./chunk-TPUAXIPR.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
registerSpec,
|
|
66
66
|
resolveEnumValue,
|
|
67
67
|
throwError
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-Q6ZLVVJW.js";
|
|
69
69
|
import {
|
|
70
70
|
obj
|
|
71
71
|
} from "./chunk-U56HK2RG.js";
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
clear,
|
|
80
80
|
encodeContainerHistory,
|
|
81
81
|
encodeHistory
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-YHENFBYW.js";
|
|
83
83
|
import {
|
|
84
84
|
assertKnownKeys,
|
|
85
85
|
conditional,
|
|
86
86
|
encodeExpression,
|
|
87
87
|
encodeRuntimeCondition,
|
|
88
88
|
tableKind
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-A2TTPUAG.js";
|
|
90
90
|
import {
|
|
91
91
|
brandDef
|
|
92
92
|
} from "./chunk-ERVIASGL.js";
|
|
@@ -96,13 +96,13 @@ import {
|
|
|
96
96
|
encodeTags,
|
|
97
97
|
registerKind,
|
|
98
98
|
resolveMockKeys
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-6VKDIKJI.js";
|
|
100
100
|
import {
|
|
101
101
|
nearestKey
|
|
102
102
|
} from "./chunk-WTPZRR4I.js";
|
|
103
103
|
import {
|
|
104
104
|
emitDiagnostic
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-LEODZXR7.js";
|
|
106
106
|
import {
|
|
107
107
|
lockKey
|
|
108
108
|
} from "./chunk-VQDVEHDB.js";
|
|
@@ -2025,7 +2025,7 @@ function encodeTool(def) {
|
|
|
2025
2025
|
const annotations = encodeToolAnnotations(owner, def.annotations);
|
|
2026
2026
|
const icons = encodeIcons(owner, def.icons);
|
|
2027
2027
|
const output = Object.entries(def.output ?? {}).map(([name, d]) => encodeInput(name, d));
|
|
2028
|
-
|
|
2028
|
+
const xdo = {
|
|
2029
2029
|
name: def.name,
|
|
2030
2030
|
description: def.description ?? "",
|
|
2031
2031
|
instructions: def.instructions ?? "",
|
|
@@ -2039,7 +2039,7 @@ function encodeTool(def) {
|
|
|
2039
2039
|
input: Object.entries(def.input ?? {}).map(([name, d]) => encodeInput(name, d)),
|
|
2040
2040
|
result: encodeResponse(def.response),
|
|
2041
2041
|
run: encodeStack("tool", def.name, def.stack),
|
|
2042
|
-
test:
|
|
2042
|
+
test: encodeTests(def.tests, "tool", def.name),
|
|
2043
2043
|
// Omitted at their defaults, so a tool that sets none of them keeps the
|
|
2044
2044
|
// exact bytes it had before they existed.
|
|
2045
2045
|
...title !== void 0 ? { title } : {},
|
|
@@ -2047,6 +2047,8 @@ function encodeTool(def) {
|
|
|
2047
2047
|
...icons !== void 0 ? { icons } : {},
|
|
2048
2048
|
...output.length > 0 ? { output_schema: output } : {}
|
|
2049
2049
|
};
|
|
2050
|
+
resolveMockKeys(xdo.run, xdo.test, "tool", def.name);
|
|
2051
|
+
return xdo;
|
|
2050
2052
|
}
|
|
2051
2053
|
var toolKind = {
|
|
2052
2054
|
name: "tool",
|
|
@@ -2179,7 +2181,7 @@ function encodePrompt(def) {
|
|
|
2179
2181
|
assertStoredName(owner, def.name, "route");
|
|
2180
2182
|
const title = encodeTitle(owner, def.title);
|
|
2181
2183
|
const icons = encodeIcons(owner, def.icons);
|
|
2182
|
-
|
|
2184
|
+
const xdo = {
|
|
2183
2185
|
name: def.name,
|
|
2184
2186
|
description: def.description ?? "",
|
|
2185
2187
|
docs: def.docs ?? "",
|
|
@@ -2191,8 +2193,11 @@ function encodePrompt(def) {
|
|
|
2191
2193
|
result: encodeResponse(def.response),
|
|
2192
2194
|
middleware: buildMiddlewareBlock(def.middleware),
|
|
2193
2195
|
tag: encodeTags(def.tags),
|
|
2194
|
-
history: encodeHistory("prompt", def.history)
|
|
2196
|
+
history: encodeHistory("prompt", def.history),
|
|
2197
|
+
test: encodeTests(def.tests, "prompt", def.name)
|
|
2195
2198
|
};
|
|
2199
|
+
resolveMockKeys(xdo.run, xdo.test, "prompt", def.name);
|
|
2200
|
+
return xdo;
|
|
2196
2201
|
}
|
|
2197
2202
|
var promptKind = {
|
|
2198
2203
|
name: "prompt",
|
|
@@ -2218,7 +2223,7 @@ function encodeResource(def) {
|
|
|
2218
2223
|
const title = encodeTitle(owner, def.title);
|
|
2219
2224
|
const icons = encodeIcons(owner, def.icons);
|
|
2220
2225
|
const annotations = encodeResourceAnnotations(owner, def.annotations);
|
|
2221
|
-
|
|
2226
|
+
const xdo = {
|
|
2222
2227
|
name: def.name,
|
|
2223
2228
|
uri: def.uri,
|
|
2224
2229
|
description: def.description ?? "",
|
|
@@ -2233,8 +2238,11 @@ function encodeResource(def) {
|
|
|
2233
2238
|
result: encodeResponse(def.response),
|
|
2234
2239
|
middleware: buildMiddlewareBlock(def.middleware),
|
|
2235
2240
|
tag: encodeTags(def.tags),
|
|
2236
|
-
history: encodeHistory("resource", def.history)
|
|
2241
|
+
history: encodeHistory("resource", def.history),
|
|
2242
|
+
test: encodeTests(def.tests, "resource", def.name)
|
|
2237
2243
|
};
|
|
2244
|
+
resolveMockKeys(xdo.run, xdo.test, "resource", def.name);
|
|
2245
|
+
return xdo;
|
|
2238
2246
|
}
|
|
2239
2247
|
var resourceKind = {
|
|
2240
2248
|
name: "resource",
|
|
@@ -3167,4 +3175,4 @@ export {
|
|
|
3167
3175
|
serializeBundle,
|
|
3168
3176
|
emitBundle
|
|
3169
3177
|
};
|
|
3170
|
-
//# sourceMappingURL=chunk-
|
|
3178
|
+
//# sourceMappingURL=chunk-ED6N6TMS.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
UsageError,
|
|
6
6
|
displayPath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VZIGBEF4.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/writable.ts
|
|
10
10
|
import { accessSync, constants, existsSync, statSync } from "fs";
|
|
@@ -63,4 +63,4 @@ export {
|
|
|
63
63
|
unreadableError,
|
|
64
64
|
assertReadWritable
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-EFP5WRUV.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workspaceEnvPathIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U27YUJE2.js";
|
|
4
4
|
import {
|
|
5
5
|
addGitignoreRule,
|
|
6
6
|
ensureGitignored,
|
|
7
7
|
gitSaysIgnored,
|
|
8
8
|
gitignoreRootFor,
|
|
9
9
|
insideGitRepo
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YDZJN26I.js";
|
|
11
11
|
import {
|
|
12
12
|
UsageError,
|
|
13
13
|
detail,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
noteRunWarning,
|
|
16
16
|
relForwardSlash,
|
|
17
17
|
warn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VZIGBEF4.js";
|
|
19
19
|
import {
|
|
20
20
|
shellQuote
|
|
21
21
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -183,4 +183,4 @@ export {
|
|
|
183
183
|
secretPathLabel,
|
|
184
184
|
refuseIfTracked
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-EPMDBGJ6.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureExportGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EPMDBGJ6.js";
|
|
4
4
|
import {
|
|
5
5
|
andList
|
|
6
6
|
} from "./chunk-622HUCZT.js";
|
|
7
7
|
import {
|
|
8
8
|
UsageError,
|
|
9
9
|
warn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VZIGBEF4.js";
|
|
11
11
|
|
|
12
12
|
// src/emit/output-target.ts
|
|
13
13
|
import { accessSync, chmodSync, constants, mkdirSync, statSync, writeFileSync } from "fs";
|
|
@@ -125,4 +125,4 @@ export {
|
|
|
125
125
|
secretsPhrase,
|
|
126
126
|
assertWritableTarget
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
128
|
+
//# sourceMappingURL=chunk-EU63V7YR.js.map
|