onbuzz 4.7.1 → 4.8.0
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/package.json +1 -1
- package/scripts/grounding-bench/bench.mjs +300 -0
- package/scripts/grounding-bench/cases.js +173 -0
- package/scripts/grounding-bench/imageBuilder.js +119 -0
- package/src/core/__tests__/agentScheduler.test.js +74 -0
- package/src/core/agentScheduler.js +59 -5
- package/src/index.js +36 -0
- package/src/interfaces/webServer.js +42 -0
- package/src/services/__tests__/memoryService.test.js +521 -450
- package/src/services/__tests__/modelRouterNaming.test.js +93 -0
- package/src/services/__tests__/modelRouterService.test.js +477 -388
- package/src/services/aiService.js +136 -1
- package/src/services/grounding/GroundingModel.js +116 -0
- package/src/services/grounding/KimiAdapter.js +427 -0
- package/src/services/grounding/MockAdapter.js +125 -0
- package/src/services/grounding/__tests__/KimiAdapter.test.js +475 -0
- package/src/services/grounding/__tests__/MockAdapter.test.js +66 -0
- package/src/services/grounding/__tests__/groundingMetrics.test.js +156 -0
- package/src/services/grounding/__tests__/registry.test.js +122 -0
- package/src/services/grounding/constants.js +121 -0
- package/src/services/grounding/groundingMetrics.js +121 -0
- package/src/services/grounding/index.js +53 -0
- package/src/services/grounding/registry.js +125 -0
- package/src/services/grounding/types.js +108 -0
- package/src/services/memoryService.js +559 -521
- package/src/services/modelRouterService.js +433 -364
- package/src/services/tokenCountingService.js +2 -2
- package/src/tools/__tests__/agentCommunicationTool.test.js +752 -717
- package/src/tools/__tests__/baseTool.test.js +22 -0
- package/src/tools/__tests__/codeMapTool.test.js +388 -0
- package/src/tools/__tests__/foundryWebSearchTool.test.js +252 -0
- package/src/tools/__tests__/memoryTool.reminisce.test.js +364 -363
- package/src/tools/__tests__/memoryTool.test.js +391 -297
- package/src/tools/__tests__/parserHelpers.test.js +233 -0
- package/src/tools/__tests__/webTool.e2e.test.js +13 -1
- package/src/tools/agentCommunicationTool.js +1399 -1385
- package/src/tools/baseTool.js +19 -4
- package/src/tools/codeMapTool.js +794 -130
- package/src/tools/desktop/DesktopTool.js +638 -0
- package/src/tools/desktop/__tests__/DesktopTool.e2e.test.js +306 -0
- package/src/tools/desktop/__tests__/DesktopTool.test.js +507 -0
- package/src/tools/desktop/__tests__/osCapabilities.test.js +106 -0
- package/src/tools/desktop/__tests__/osController.test.js +364 -0
- package/src/tools/desktop/osCapabilities.js +248 -0
- package/src/tools/desktop/osController.js +491 -0
- package/src/tools/foundryWebSearchTool.js +273 -0
- package/src/tools/memoryTool.js +892 -820
- package/src/tools/parserHelpers.js +296 -0
- package/src/utilities/__tests__/planInjection.test.js +125 -0
- package/src/utilities/__tests__/tagParser.test.js +943 -887
- package/src/utilities/constants.js +1 -1
- package/src/utilities/planInjection.js +103 -0
- package/src/utilities/tagParser.js +918 -896
- package/web-ui/build/index.html +2 -2
- package/web-ui/build/static/1c-DGpIT7i5.js +1 -0
- package/web-ui/build/static/abap-5wFDdWLh.js +1 -0
- package/web-ui/build/static/abnf-BP1dpNSE.js +1 -0
- package/web-ui/build/static/abnf-DBEIAl8g.js +1 -0
- package/web-ui/build/static/accesslog-CWSM_T5E.js +1 -0
- package/web-ui/build/static/actionscript-DONkco1J.js +1 -0
- package/web-ui/build/static/actionscript-FqBYk5er.js +1 -0
- package/web-ui/build/static/ada-C2JLRIaM.js +1 -0
- package/web-ui/build/static/ada-gKiygTRK.js +1 -0
- package/web-ui/build/static/agda-CkSODqK2.js +1 -0
- package/web-ui/build/static/al-BJ_YR6p7.js +1 -0
- package/web-ui/build/static/angelscript-Dg2byMGg.js +1 -0
- package/web-ui/build/static/antlr4-BnpyaFNr.js +1 -0
- package/web-ui/build/static/apache-Dffxsd7O.js +1 -0
- package/web-ui/build/static/apacheconf-DLitjtWj.js +1 -0
- package/web-ui/build/static/apex-Drr_IvU2.js +1 -0
- package/web-ui/build/static/apl-CF6qxmXG.js +1 -0
- package/web-ui/build/static/applescript-CjOlw3b_.js +1 -0
- package/web-ui/build/static/applescript-DjkSl1Ry.js +1 -0
- package/web-ui/build/static/aql-KwVmK1gP.js +1 -0
- package/web-ui/build/static/arcade-CENSXx0R.js +1 -0
- package/web-ui/build/static/arduino-B3Ta9Fll.js +1 -0
- package/web-ui/build/static/arduino-CzcsaB9_.js +1 -0
- package/web-ui/build/static/arff-CMJSVt_O.js +1 -0
- package/web-ui/build/static/armasm-0zSgSPB4.js +1 -0
- package/web-ui/build/static/asciidoc-B8K5ctWq.js +1 -0
- package/web-ui/build/static/asciidoc-bk2Sg6b6.js +1 -0
- package/web-ui/build/static/asm6502-ji6zm4FQ.js +1 -0
- package/web-ui/build/static/asmatmel-DJqObM4Y.js +1 -0
- package/web-ui/build/static/aspectj-DqQKI7J5.js +1 -0
- package/web-ui/build/static/aspnet-9cenTxW7.js +1 -0
- package/web-ui/build/static/autohotkey-C6EhiZvl.js +1 -0
- package/web-ui/build/static/autohotkey-sTGJOvMM.js +1 -0
- package/web-ui/build/static/autoit-B0Im8iQ1.js +1 -0
- package/web-ui/build/static/autoit-CO6pUD0H.js +1 -0
- package/web-ui/build/static/avisynth-OvOHTfj5.js +1 -0
- package/web-ui/build/static/avrasm-BLWZ5Mye.js +1 -0
- package/web-ui/build/static/avro-idl-BB2ODvnw.js +1 -0
- package/web-ui/build/static/awk-_jhMabQ0.js +1 -0
- package/web-ui/build/static/axapta-DdBRgoYy.js +1 -0
- package/web-ui/build/static/bash-CsaRGXBQ.js +1 -0
- package/web-ui/build/static/bash-CxLFkwAC.js +1 -0
- package/web-ui/build/static/basic-BJyy7JJE.js +1 -0
- package/web-ui/build/static/basic-CrMb-gv0.js +1 -0
- package/web-ui/build/static/batch-BvcykMe5.js +1 -0
- package/web-ui/build/static/bbcode-EOBuY5Y6.js +1 -0
- package/web-ui/build/static/bicep-QkDJBA34.js +1 -0
- package/web-ui/build/static/birb-TAOxKurn.js +1 -0
- package/web-ui/build/static/bison-BEK6cnad.js +1 -0
- package/web-ui/build/static/bnf-DfEODxsr.js +1 -0
- package/web-ui/build/static/bnf-DhbMjsuA.js +1 -0
- package/web-ui/build/static/brainfuck-BoVocOa7.js +1 -0
- package/web-ui/build/static/brainfuck-DDC5QXPK.js +1 -0
- package/web-ui/build/static/brightscript-DNN598w2.js +1 -0
- package/web-ui/build/static/bro-Cn_jjZ8P.js +1 -0
- package/web-ui/build/static/bsl-CMCN75Gu.js +1 -0
- package/web-ui/build/static/c-DbOGQnEJ.js +1 -0
- package/web-ui/build/static/c-kggwYFsy.js +1 -0
- package/web-ui/build/static/c-like-BIsuUvof.js +1 -0
- package/web-ui/build/static/cal-DpgMsBZE.js +1 -0
- package/web-ui/build/static/capnproto-C1AHYI-M.js +1 -0
- package/web-ui/build/static/ceylon-pvJffDe1.js +1 -0
- package/web-ui/build/static/cfscript-C1qylu52.js +1 -0
- package/web-ui/build/static/chaiscript-D417WKRI.js +1 -0
- package/web-ui/build/static/cil-CjbZHbcY.js +1 -0
- package/web-ui/build/static/clean-Dvc6R-F2.js +1 -0
- package/web-ui/build/static/clojure-CSVRQPMQ.js +1 -0
- package/web-ui/build/static/clojure-ig1Vkg7X.js +1 -0
- package/web-ui/build/static/clojure-repl-C1uyEabk.js +1 -0
- package/web-ui/build/static/cmake-DSbVcAB3.js +1 -0
- package/web-ui/build/static/cmake-Zp8kPwnH.js +1 -0
- package/web-ui/build/static/cobol-OsZSiK_P.js +1 -0
- package/web-ui/build/static/coffeescript-D8r0416S.js +1 -0
- package/web-ui/build/static/coffeescript-DCpgClxh.js +1 -0
- package/web-ui/build/static/concurnas-DKnsxUOc.js +1 -0
- package/web-ui/build/static/coq-BQFlywVI.js +1 -0
- package/web-ui/build/static/coq-BvS9mQB2.js +1 -0
- package/web-ui/build/static/cos-D3ze2791.js +1 -0
- package/web-ui/build/static/cpp-Bw-cV3P1.js +1 -0
- package/web-ui/build/static/cpp-vi1p7XpB.js +1 -0
- package/web-ui/build/static/crmsh-BClnJTeQ.js +1 -0
- package/web-ui/build/static/crystal-DGzOUYZq.js +1 -0
- package/web-ui/build/static/crystal-DMzk6EvA.js +1 -0
- package/web-ui/build/static/csharp-BTom8s2X.js +1 -0
- package/web-ui/build/static/csharp-Cp2V3jfR.js +1 -0
- package/web-ui/build/static/cshtml-Dmtt9Kto.js +1 -0
- package/web-ui/build/static/csp-WPVsLe9_.js +1 -0
- package/web-ui/build/static/csp-qddj5fu_.js +1 -0
- package/web-ui/build/static/css-B0FAm7kj.js +1 -0
- package/web-ui/build/static/css-extras-Bx3pvjiG.js +1 -0
- package/web-ui/build/static/csv-CH-edgS5.js +1 -0
- package/web-ui/build/static/cypher-c3G8Leew.js +1 -0
- package/web-ui/build/static/d-BMDSy22_.js +1 -0
- package/web-ui/build/static/d-BdH4oW8-.js +1 -0
- package/web-ui/build/static/dart-C-r72q-O.js +1 -0
- package/web-ui/build/static/dart-CwpBMrKa.js +1 -0
- package/web-ui/build/static/dataweave-BPvqdt4k.js +1 -0
- package/web-ui/build/static/dax-Eyy6ixcN.js +1 -0
- package/web-ui/build/static/delphi-DhEbPj_5.js +1 -0
- package/web-ui/build/static/dhall-Ct1L8sN1.js +1 -0
- package/web-ui/build/static/diff-CSTqCgwn.js +1 -0
- package/web-ui/build/static/diff-Da97B5vW.js +1 -0
- package/web-ui/build/static/django-DGit_lCg.js +1 -0
- package/web-ui/build/static/django-DPgqFB8k.js +1 -0
- package/web-ui/build/static/dns-DUyXuZ-a.js +1 -0
- package/web-ui/build/static/dns-zone-file-D79MDxVG.js +1 -0
- package/web-ui/build/static/docker-DTiy4o38.js +1 -0
- package/web-ui/build/static/dockerfile-CvwPP8wE.js +1 -0
- package/web-ui/build/static/dos-CaIUWxvb.js +1 -0
- package/web-ui/build/static/dot-D3504w6Y.js +1 -0
- package/web-ui/build/static/dsconfig-Smy1eeX_.js +1 -0
- package/web-ui/build/static/dts-DyTYSXZj.js +1 -0
- package/web-ui/build/static/dust-CrJyi6qA.js +1 -0
- package/web-ui/build/static/ebnf-C8nqfkBH.js +1 -0
- package/web-ui/build/static/ebnf-Cuh5Vh2-.js +1 -0
- package/web-ui/build/static/editorconfig-C7pTGl6n.js +1 -0
- package/web-ui/build/static/eiffel-C75MSJCA.js +1 -0
- package/web-ui/build/static/ejs-Dyo7DF5w.js +1 -0
- package/web-ui/build/static/elixir-D4yJefOc.js +1 -0
- package/web-ui/build/static/elixir-DKRow2SJ.js +1 -0
- package/web-ui/build/static/elm-CgbdDlkT.js +1 -0
- package/web-ui/build/static/elm-D3N-UgU0.js +1 -0
- package/web-ui/build/static/erb-BsITh8qW.js +1 -0
- package/web-ui/build/static/erb-lY_LyKyS.js +1 -0
- package/web-ui/build/static/erlang-BCnPiYmB.js +1 -0
- package/web-ui/build/static/erlang-JEghiPXc.js +1 -0
- package/web-ui/build/static/erlang-repl-DzU97ugC.js +1 -0
- package/web-ui/build/static/etlua-CsBo8cJa.js +1 -0
- package/web-ui/build/static/excel-formula-C2piiCYa.js +1 -0
- package/web-ui/build/static/excel-kqNypwQD.js +1 -0
- package/web-ui/build/static/factor-DZTOhkyU.js +1 -0
- package/web-ui/build/static/false-yLjhfaSw.js +1 -0
- package/web-ui/build/static/firestore-security-rules-oaQNoH8l.js +1 -0
- package/web-ui/build/static/fix-C9IfnTuS.js +1 -0
- package/web-ui/build/static/flix-EmJ_JhPo.js +1 -0
- package/web-ui/build/static/flow-DCUl7IAQ.js +1 -0
- package/web-ui/build/static/fortran-DvyxJmFN.js +1 -0
- package/web-ui/build/static/fortran-EEP9R3S5.js +1 -0
- package/web-ui/build/static/fsharp-D_98s3RX.js +1 -0
- package/web-ui/build/static/fsharp-Dt9jOO5G.js +1 -0
- package/web-ui/build/static/ftl-C8gMHWLo.js +1 -0
- package/web-ui/build/static/gams-BHxVPb4z.js +1 -0
- package/web-ui/build/static/gap-DFtyHk-q.js +1 -0
- package/web-ui/build/static/gauss-BwhJWUcg.js +1 -0
- package/web-ui/build/static/gcode-BvmXwp09.js +1 -0
- package/web-ui/build/static/gcode-gWcD6Vc7.js +1 -0
- package/web-ui/build/static/gdscript-btHoX8RE.js +1 -0
- package/web-ui/build/static/gedcom-MgPs9iqh.js +1 -0
- package/web-ui/build/static/gherkin-B9c_Q16A.js +1 -0
- package/web-ui/build/static/gherkin-BvOgkK6h.js +1 -0
- package/web-ui/build/static/git-D9XWOVcQ.js +1 -0
- package/web-ui/build/static/glsl-CshBHxHY.js +1 -0
- package/web-ui/build/static/glsl-fNRUMTDr.js +1 -0
- package/web-ui/build/static/gml-B78deHK8.js +1 -0
- package/web-ui/build/static/gml-Cj7d2u8O.js +1 -0
- package/web-ui/build/static/gn-CJLD-mF1.js +1 -0
- package/web-ui/build/static/go-CT93BEkL.js +1 -0
- package/web-ui/build/static/go-CTTlNuQO.js +1 -0
- package/web-ui/build/static/go-module-BgnXboUE.js +1 -0
- package/web-ui/build/static/golo-2S5tXS-l.js +1 -0
- package/web-ui/build/static/gradle-8W8DCcWJ.js +1 -0
- package/web-ui/build/static/graphql-DZfp6FNU.js +1 -0
- package/web-ui/build/static/groovy-BfsyMb3X.js +1 -0
- package/web-ui/build/static/groovy-Dxov7ENz.js +1 -0
- package/web-ui/build/static/haml-BlUFsdVV.js +1 -0
- package/web-ui/build/static/haml-CjVj6vvW.js +1 -0
- package/web-ui/build/static/handlebars-DxrQFkyA.js +1 -0
- package/web-ui/build/static/handlebars-FE6fotYl.js +1 -0
- package/web-ui/build/static/haskell-B6z0RCD_.js +1 -0
- package/web-ui/build/static/haskell-JBFmJTRy.js +1 -0
- package/web-ui/build/static/haxe-BtMZMi-_.js +1 -0
- package/web-ui/build/static/haxe-C1J8n-fH.js +1 -0
- package/web-ui/build/static/hcl-DJP-bFWE.js +1 -0
- package/web-ui/build/static/hlsl-DrGjhs1b.js +1 -0
- package/web-ui/build/static/hoon-Cg-ZhqIT.js +1 -0
- package/web-ui/build/static/hpkp-D07vgmoZ.js +1 -0
- package/web-ui/build/static/hsp-CsypPWoA.js +1 -0
- package/web-ui/build/static/hsts-B6DMRxvP.js +1 -0
- package/web-ui/build/static/htmlbars-BI7_Hw4e.js +1 -0
- package/web-ui/build/static/http-90ihEi4s.js +1 -0
- package/web-ui/build/static/http-Dp4QXj9E.js +1 -0
- package/web-ui/build/static/hy-BMgKvP4K.js +1 -0
- package/web-ui/build/static/ichigojam-D6wKvJDb.js +1 -0
- package/web-ui/build/static/icon-CrgkmCwl.js +1 -0
- package/web-ui/build/static/icu-message-format-Bi2JxCXs.js +1 -0
- package/web-ui/build/static/idris-DbUsyZt5.js +1 -0
- package/web-ui/build/static/iecst-CQZ9t8fW.js +1 -0
- package/web-ui/build/static/ignore-BaFgtNMs.js +1 -0
- package/web-ui/build/static/index-DEWSWosh.css +1 -0
- package/web-ui/build/static/index-Di1bjCFA.js +13 -0
- package/web-ui/build/static/index-otR_WSsL.js +1 -0
- package/web-ui/build/static/index-whZPU4as.js +1183 -0
- package/web-ui/build/static/inform7-ClyX1Gro.js +1 -0
- package/web-ui/build/static/inform7-tZHBS5XP.js +1 -0
- package/web-ui/build/static/ini-BrP5JNYL.js +1 -0
- package/web-ui/build/static/ini-CVkrAhwV.js +1 -0
- package/web-ui/build/static/io-BJ1Y6Bdc.js +1 -0
- package/web-ui/build/static/irpf90-fjjcKS_8.js +1 -0
- package/web-ui/build/static/isbl-ClpvfUIz.js +1 -0
- package/web-ui/build/static/j-CICW77xS.js +1 -0
- package/web-ui/build/static/java-B9DFK-0E.js +1 -0
- package/web-ui/build/static/java-BL_6rYko.js +1 -0
- package/web-ui/build/static/javadoc-Cc4HKpKK.js +1 -0
- package/web-ui/build/static/javadoclike-CgNkUDOm.js +1 -0
- package/web-ui/build/static/javascript-CM40ZECq.js +1 -0
- package/web-ui/build/static/javastacktrace-BHSqXfG5.js +1 -0
- package/web-ui/build/static/jboss-cli-Bv5NhVSZ.js +1 -0
- package/web-ui/build/static/jexl--Ohk_keA.js +1 -0
- package/web-ui/build/static/jolie-DMTN5Vdf.js +1 -0
- package/web-ui/build/static/jq-nXRLldXX.js +1 -0
- package/web-ui/build/static/js-extras-eLwv3frs.js +1 -0
- package/web-ui/build/static/js-templates-Ca0owlrg.js +1 -0
- package/web-ui/build/static/jsdoc-KERXp0da.js +1 -0
- package/web-ui/build/static/json-BTjLaRsy.js +1 -0
- package/web-ui/build/static/json-p7pU0qdW.js +1 -0
- package/web-ui/build/static/json5-Cxjy1udc.js +1 -0
- package/web-ui/build/static/jsonp-CO52H7Gy.js +1 -0
- package/web-ui/build/static/jsstacktrace-8YKfoyJP.js +1 -0
- package/web-ui/build/static/jsx-Ct_05KbM.js +1 -0
- package/web-ui/build/static/julia-23I1ubCE.js +1 -0
- package/web-ui/build/static/julia-d8rVGed_.js +1 -0
- package/web-ui/build/static/julia-repl-mwnHedW_.js +1 -0
- package/web-ui/build/static/keepalived-E85Rx_fF.js +1 -0
- package/web-ui/build/static/keyman-aWd3QUDq.js +1 -0
- package/web-ui/build/static/kotlin-Cu370hQq.js +1 -0
- package/web-ui/build/static/kotlin-DoJ2WnmZ.js +1 -0
- package/web-ui/build/static/kumir-oiOgqcQO.js +1 -0
- package/web-ui/build/static/kusto-Bp-B02K5.js +1 -0
- package/web-ui/build/static/lasso-BxoQVwOO.js +1 -0
- package/web-ui/build/static/latex-CANm5vsX.js +1 -0
- package/web-ui/build/static/latex-PMroeNch.js +1 -0
- package/web-ui/build/static/latte-2ErU_2XF.js +1 -0
- package/web-ui/build/static/ldif-ChPn_F7o.js +1 -0
- package/web-ui/build/static/leaf-UkCugDgG.js +1 -0
- package/web-ui/build/static/less-CCH5RA89.js +1 -0
- package/web-ui/build/static/less-CGZbVU1g.js +1 -0
- package/web-ui/build/static/lilypond-BoyM37sv.js +1 -0
- package/web-ui/build/static/liquid-DGJVpRBi.js +1 -0
- package/web-ui/build/static/lisp-93nne61u.js +1 -0
- package/web-ui/build/static/lisp-DYjIRsXz.js +1 -0
- package/web-ui/build/static/livecodeserver-CfNaxIE4.js +1 -0
- package/web-ui/build/static/livescript-C8kDlQkz.js +1 -0
- package/web-ui/build/static/livescript-CoarnRHq.js +1 -0
- package/web-ui/build/static/llvm-CBVyNmAh.js +1 -0
- package/web-ui/build/static/llvm-DGxq8a7u.js +1 -0
- package/web-ui/build/static/log-BivgwFql.js +1 -0
- package/web-ui/build/static/lolcode-l5sK2cZz.js +1 -0
- package/web-ui/build/static/lsl-Xm44xLRQ.js +1 -0
- package/web-ui/build/static/lua-CGvrzfKp.js +1 -0
- package/web-ui/build/static/lua-nHwXeY4c.js +1 -0
- package/web-ui/build/static/magma-DmNItmna.js +1 -0
- package/web-ui/build/static/makefile-CKJNNHGb.js +1 -0
- package/web-ui/build/static/makefile-DI6y5Qml.js +1 -0
- package/web-ui/build/static/markdown-BgpbxKd-.js +1 -0
- package/web-ui/build/static/markdown-CvcxA4yk.js +1 -0
- package/web-ui/build/static/marketplaceInstall-DbaC5Wr0.js +1 -0
- package/web-ui/build/static/markup-templating-DijqesiA.js +1 -0
- package/web-ui/build/static/mathematica-Cxll1Q10.js +1 -0
- package/web-ui/build/static/matlab-BJo2T1A-.js +1 -0
- package/web-ui/build/static/matlab-C6DlZX4l.js +1 -0
- package/web-ui/build/static/maxima-DJXO4sbL.js +1 -0
- package/web-ui/build/static/maxscript-DdLpUYBs.js +1 -0
- package/web-ui/build/static/mel-BIpfnSyZ.js +1 -0
- package/web-ui/build/static/mel-BYcTUZJW.js +1 -0
- package/web-ui/build/static/mercury-C_LSpbD8.js +1 -0
- package/web-ui/build/static/mermaid-D9yBWnrT.js +1 -0
- package/web-ui/build/static/mipsasm-nR_K2Ue-.js +1 -0
- package/web-ui/build/static/mizar-BeLUPncD.js +1 -0
- package/web-ui/build/static/mizar-BesIbZd9.js +1 -0
- package/web-ui/build/static/mojolicious-cBx3OWa-.js +1 -0
- package/web-ui/build/static/mongodb-DTWKy9ac.js +1 -0
- package/web-ui/build/static/monkey-B72bZC3c.js +1 -0
- package/web-ui/build/static/monkey-G9XELYPQ.js +1 -0
- package/web-ui/build/static/moonscript-BXYVQiqj.js +1 -0
- package/web-ui/build/static/moonscript-sDd-5knz.js +1 -0
- package/web-ui/build/static/n1ql-0vKSfFAO.js +1 -0
- package/web-ui/build/static/n1ql-C9_BSZfz.js +1 -0
- package/web-ui/build/static/n4js-B7Ct8dds.js +1 -0
- package/web-ui/build/static/nand2tetris-hdl-p9gpphTM.js +1 -0
- package/web-ui/build/static/naniscript-6ZVr8Aug.js +1 -0
- package/web-ui/build/static/nasm-Ca73yTUt.js +1 -0
- package/web-ui/build/static/neon-DNP49oyX.js +1 -0
- package/web-ui/build/static/nevod-Qhgt7Bce.js +1 -0
- package/web-ui/build/static/nginx-D5e7lu62.js +1 -0
- package/web-ui/build/static/nginx-DobnyESB.js +1 -0
- package/web-ui/build/static/nim-BPBivUOV.js +1 -0
- package/web-ui/build/static/nim-Baoug1Wa.js +1 -0
- package/web-ui/build/static/nix-CSPTQs5y.js +1 -0
- package/web-ui/build/static/nix-Dk4eNw49.js +1 -0
- package/web-ui/build/static/node-repl-NJNL8VFR.js +1 -0
- package/web-ui/build/static/nsis-BZ0oMzEw.js +1 -0
- package/web-ui/build/static/nsis-CKPCjtCU.js +1 -0
- package/web-ui/build/static/objectivec-BkfIRhhV.js +1 -0
- package/web-ui/build/static/objectivec-CnQgqhbJ.js +1 -0
- package/web-ui/build/static/ocaml-9rGNzRrK.js +1 -0
- package/web-ui/build/static/ocaml-CTolCqxL.js +1 -0
- package/web-ui/build/static/opencl-9Q3vRDxv.js +1 -0
- package/web-ui/build/static/openqasm-D2QiuFBp.js +1 -0
- package/web-ui/build/static/openscad-C3HyuzpB.js +1 -0
- package/web-ui/build/static/oxygene-4gi-VYy_.js +1 -0
- package/web-ui/build/static/oz-BGDEB-1A.js +1 -0
- package/web-ui/build/static/parigp-CfZzp1uE.js +1 -0
- package/web-ui/build/static/parser-UbGteTcy.js +1 -0
- package/web-ui/build/static/parser3-C-Jx-fy7.js +1 -0
- package/web-ui/build/static/pascal-D1_R0gW-.js +1 -0
- package/web-ui/build/static/pascaligo-B8C-98Np.js +1 -0
- package/web-ui/build/static/pcaxis-TGnlUKNs.js +1 -0
- package/web-ui/build/static/peoplecode-C5Vf1AH0.js +1 -0
- package/web-ui/build/static/perl-CBp1N62T.js +1 -0
- package/web-ui/build/static/perl-Z59j904t.js +1 -0
- package/web-ui/build/static/pf-Cq8B_xwQ.js +1 -0
- package/web-ui/build/static/pgsql-ofJbUHkL.js +1 -0
- package/web-ui/build/static/php-OlH7HLQJ.js +1 -0
- package/web-ui/build/static/php-extras-GqtrxLuk.js +1 -0
- package/web-ui/build/static/php-r09kMDOB.js +1 -0
- package/web-ui/build/static/php-template-18uT97Qo.js +1 -0
- package/web-ui/build/static/phpdoc-9tRFvup9.js +1 -0
- package/web-ui/build/static/plaintext-DsYT6Mu-.js +1 -0
- package/web-ui/build/static/plsql-RhWQNJVb.js +1 -0
- package/web-ui/build/static/pony-DD6JMLYI.js +1 -0
- package/web-ui/build/static/powerquery-CALow-bt.js +1 -0
- package/web-ui/build/static/powershell-C2QvIuKF.js +1 -0
- package/web-ui/build/static/powershell-yrbJEhCh.js +1 -0
- package/web-ui/build/static/processing-1T5w_Q03.js +1 -0
- package/web-ui/build/static/processing-DBim_dO-.js +1 -0
- package/web-ui/build/static/profile-Cdloh8mZ.js +1 -0
- package/web-ui/build/static/prolog-DRSsNnns.js +1 -0
- package/web-ui/build/static/prolog-D_ajweDr.js +1 -0
- package/web-ui/build/static/promql-BRuwn6Bn.js +1 -0
- package/web-ui/build/static/properties-D5Wyl4X4.js +1 -0
- package/web-ui/build/static/properties-kn4fl1bl.js +1 -0
- package/web-ui/build/static/protobuf-BMO76zWi.js +1 -0
- package/web-ui/build/static/protobuf-CTUCF-U-.js +1 -0
- package/web-ui/build/static/psl-CiqYdQbY.js +1 -0
- package/web-ui/build/static/pug-BLE2Qayj.js +1 -0
- package/web-ui/build/static/puppet-CFKLWXft.js +1 -0
- package/web-ui/build/static/puppet-DQci0Dl5.js +1 -0
- package/web-ui/build/static/pure-D2h_GynV.js +1 -0
- package/web-ui/build/static/purebasic-BF8MVw8V.js +1 -0
- package/web-ui/build/static/purebasic-BTtHiCkh.js +1 -0
- package/web-ui/build/static/purescript-D1ZSh-sH.js +1 -0
- package/web-ui/build/static/python-Cp9_Vdhb.js +1 -0
- package/web-ui/build/static/python-DdgNw8IW.js +1 -0
- package/web-ui/build/static/python-repl-DvK89VMC.js +1 -0
- package/web-ui/build/static/q-COaIgwhT.js +1 -0
- package/web-ui/build/static/q-Cm0dQkW8.js +1 -0
- package/web-ui/build/static/qml-BpsOqqJM.js +1 -0
- package/web-ui/build/static/qml-BziQXlU4.js +1 -0
- package/web-ui/build/static/qore-Cutz6g-2.js +1 -0
- package/web-ui/build/static/qsharp-B16619X1.js +1 -0
- package/web-ui/build/static/r-CFUIj5Hd.js +1 -0
- package/web-ui/build/static/r-CPrwCi5w.js +1 -0
- package/web-ui/build/static/racket-Bh08DFXF.js +1 -0
- package/web-ui/build/static/reason-BxjDq4e-.js +1 -0
- package/web-ui/build/static/reasonml-Ds5SsGP8.js +1 -0
- package/web-ui/build/static/regex-DhBIDIMI.js +1 -0
- package/web-ui/build/static/rego-DCwxZXcB.js +1 -0
- package/web-ui/build/static/renpy-C2fuQfqb.js +1 -0
- package/web-ui/build/static/rest-C52ZpxWQ.js +1 -0
- package/web-ui/build/static/rib-Cbl2Mzyj.js +1 -0
- package/web-ui/build/static/rip-BTOu5ZIE.js +1 -0
- package/web-ui/build/static/roboconf-3Oi2wuVk.js +1 -0
- package/web-ui/build/static/roboconf-ndLZLE39.js +1 -0
- package/web-ui/build/static/robotframework-BzHXiIj1.js +1 -0
- package/web-ui/build/static/routeros-CkpPoqx-.js +1 -0
- package/web-ui/build/static/rsl-C0bwOQ38.js +1 -0
- package/web-ui/build/static/ruby-C_hIhtuQ.js +1 -0
- package/web-ui/build/static/ruby-DvKfZPzj.js +1 -0
- package/web-ui/build/static/ruleslanguage-CbZJlddz.js +1 -0
- package/web-ui/build/static/rust-BFPIhB-X.js +1 -0
- package/web-ui/build/static/rust-sBpUq-qE.js +1 -0
- package/web-ui/build/static/sas-BCXvYN9x.js +1 -0
- package/web-ui/build/static/sas-D7GAsTY3.js +1 -0
- package/web-ui/build/static/sass-BdaErGMN.js +1 -0
- package/web-ui/build/static/scala-Cj81oCl9.js +1 -0
- package/web-ui/build/static/scala-CvbksfY6.js +1 -0
- package/web-ui/build/static/scheme-BM5ZqKnl.js +1 -0
- package/web-ui/build/static/scheme-BPvlu9Tk.js +1 -0
- package/web-ui/build/static/scilab-CJanLKQN.js +1 -0
- package/web-ui/build/static/scss-C53YF_7f.js +1 -0
- package/web-ui/build/static/scss-DPp8UZbr.js +1 -0
- package/web-ui/build/static/shell-CC9bQXMe.js +1 -0
- package/web-ui/build/static/shell-session-CuR3fbf-.js +1 -0
- package/web-ui/build/static/smali-CUgLls3D.js +1 -0
- package/web-ui/build/static/smali-YODSX8qt.js +1 -0
- package/web-ui/build/static/smalltalk-BMJQ4bbs.js +1 -0
- package/web-ui/build/static/smalltalk-BVGY3CTl.js +1 -0
- package/web-ui/build/static/smarty-C9aNt4-p.js +1 -0
- package/web-ui/build/static/sml-C3BIHhfq.js +1 -0
- package/web-ui/build/static/sml-DTipyRmY.js +1 -0
- package/web-ui/build/static/solidity-1yuPUqoC.js +1 -0
- package/web-ui/build/static/solution-file-BgzK4GOU.js +1 -0
- package/web-ui/build/static/soy-CFJXRvqc.js +1 -0
- package/web-ui/build/static/sparql-CAosYMpl.js +1 -0
- package/web-ui/build/static/splunk-spl-DkINtWr8.js +1 -0
- package/web-ui/build/static/sqf-DbrWIS2M.js +1 -0
- package/web-ui/build/static/sqf-nq8Q9J2W.js +1 -0
- package/web-ui/build/static/sql-9bwClhZQ.js +1 -0
- package/web-ui/build/static/sql-CqPkY-lX.js +1 -0
- package/web-ui/build/static/sql_more-CsY5ts77.js +1 -0
- package/web-ui/build/static/squirrel-BuqtzRBD.js +1 -0
- package/web-ui/build/static/stan-BNxBSglc.js +1 -0
- package/web-ui/build/static/stan-CZVMc34l.js +1 -0
- package/web-ui/build/static/stata-DKnVdHCd.js +1 -0
- package/web-ui/build/static/step21-Cu_TaBGF.js +1 -0
- package/web-ui/build/static/stylus-BS7-OJew.js +1 -0
- package/web-ui/build/static/stylus-DtFrp1Nk.js +1 -0
- package/web-ui/build/static/subunit-DDCoWkkc.js +1 -0
- package/web-ui/build/static/swift-BaguUZbl.js +1 -0
- package/web-ui/build/static/swift-mwBsb8Bx.js +1 -0
- package/web-ui/build/static/systemd-D6PpyDKk.js +1 -0
- package/web-ui/build/static/t4-cs-Cem8g4Ck.js +1 -0
- package/web-ui/build/static/t4-templating-BZo-HjmD.js +1 -0
- package/web-ui/build/static/t4-vb-B4oVnKa4.js +1 -0
- package/web-ui/build/static/taggerscript-DweAZ5pw.js +1 -0
- package/web-ui/build/static/tap-DpuvKHHF.js +1 -0
- package/web-ui/build/static/tap-hUKmJObZ.js +1 -0
- package/web-ui/build/static/tcl-BUvhAi7u.js +1 -0
- package/web-ui/build/static/tcl-Dsck63d8.js +1 -0
- package/web-ui/build/static/textile-CgKbqJ-j.js +1 -0
- package/web-ui/build/static/thrift-B5H6rApp.js +1 -0
- package/web-ui/build/static/toml-DggTpfOo.js +1 -0
- package/web-ui/build/static/tp-CazB2P2X.js +1 -0
- package/web-ui/build/static/tremor-B1jy7S5p.js +1 -0
- package/web-ui/build/static/tsx-BqF2lVDi.js +1 -0
- package/web-ui/build/static/tt2-BNoNXpEe.js +1 -0
- package/web-ui/build/static/turtle-B0evd5mn.js +1 -0
- package/web-ui/build/static/twig-B5A7nMdv.js +1 -0
- package/web-ui/build/static/twig-DZnLWvh8.js +1 -0
- package/web-ui/build/static/typescript-Bbe_P093.js +1 -0
- package/web-ui/build/static/typescript-BfhvmSSG.js +1 -0
- package/web-ui/build/static/typoscript-BjuZEIgw.js +1 -0
- package/web-ui/build/static/unrealscript-C3iUCFRi.js +1 -0
- package/web-ui/build/static/uorazor-CbZXwzIj.js +1 -0
- package/web-ui/build/static/uri-xMPSnp6m.js +1 -0
- package/web-ui/build/static/v-BKcGo5I6.js +1 -0
- package/web-ui/build/static/vala-BRoBE4am.js +1 -0
- package/web-ui/build/static/vala-B__Iyrma.js +1 -0
- package/web-ui/build/static/vbnet-DBxlMRvN.js +1 -0
- package/web-ui/build/static/vbnet-DjAXt5BE.js +1 -0
- package/web-ui/build/static/vbscript-BNA4oANi.js +1 -0
- package/web-ui/build/static/vbscript-html-o8ckLPKG.js +1 -0
- package/web-ui/build/static/velocity-D7sc5ggA.js +1 -0
- package/web-ui/build/static/verilog-BWJfMIng.js +1 -0
- package/web-ui/build/static/verilog-jW2GPC--.js +1 -0
- package/web-ui/build/static/vhdl-BIVlXRPa.js +1 -0
- package/web-ui/build/static/vhdl-BeqdhhxD.js +1 -0
- package/web-ui/build/static/vim-712lI4-g.js +1 -0
- package/web-ui/build/static/vim-DMROTzr0.js +1 -0
- package/web-ui/build/static/visual-basic-CQfbM-ta.js +1 -0
- package/web-ui/build/static/warpscript-DFAvCXFQ.js +1 -0
- package/web-ui/build/static/wasm-CiYoxBl0.js +1 -0
- package/web-ui/build/static/web-idl-DoCkPK8y.js +1 -0
- package/web-ui/build/static/wiki-bvz0AGzB.js +1 -0
- package/web-ui/build/static/wolfram-fBuyFEgU.js +1 -0
- package/web-ui/build/static/wren-DvATFxjF.js +1 -0
- package/web-ui/build/static/x86asm-r4bPbUR_.js +1 -0
- package/web-ui/build/static/xeora-B6iOnDJY.js +1 -0
- package/web-ui/build/static/xl-Ce6B5slc.js +1 -0
- package/web-ui/build/static/xml-DNjyPmhQ.js +1 -0
- package/web-ui/build/static/xml-doc-DydogmZD.js +1 -0
- package/web-ui/build/static/xojo-DCQLltvr.js +1 -0
- package/web-ui/build/static/xquery-C-fAnA0H.js +1 -0
- package/web-ui/build/static/xquery-CNeqzhLO.js +1 -0
- package/web-ui/build/static/yaml-BsVaGsk5.js +1 -0
- package/web-ui/build/static/yaml-kVZvwv_C.js +1 -0
- package/web-ui/build/static/yang-B_gq9JEq.js +1 -0
- package/web-ui/build/static/zephir-ECIXgXhX.js +1 -0
- package/web-ui/build/static/zig-DY325EKG.js +1 -0
- package/web-ui/build/static/1c-CuE_dLW8.js +0 -1
- package/web-ui/build/static/abap-LOu14tBm.js +0 -1
- package/web-ui/build/static/abnf-CJpfHQLV.js +0 -1
- package/web-ui/build/static/abnf-LdAi7OAY.js +0 -1
- package/web-ui/build/static/accesslog-BvrhdZIJ.js +0 -1
- package/web-ui/build/static/actionscript-B3NHp9II.js +0 -1
- package/web-ui/build/static/actionscript-DVfqv5DS.js +0 -1
- package/web-ui/build/static/ada-BVkvHgSu.js +0 -1
- package/web-ui/build/static/ada-d33rlRPC.js +0 -1
- package/web-ui/build/static/agda-t1mot-jT.js +0 -1
- package/web-ui/build/static/al-D2Aw8sYi.js +0 -1
- package/web-ui/build/static/angelscript-DGjq6ZLh.js +0 -1
- package/web-ui/build/static/antlr4-DQWExQhj.js +0 -1
- package/web-ui/build/static/apache-CRX2mGHA.js +0 -1
- package/web-ui/build/static/apacheconf-BBhhyVVR.js +0 -1
- package/web-ui/build/static/apex-DIJyAF3g.js +0 -1
- package/web-ui/build/static/apl-COGQUhmX.js +0 -1
- package/web-ui/build/static/applescript-DLPa_bvL.js +0 -1
- package/web-ui/build/static/applescript-iEepawXM.js +0 -1
- package/web-ui/build/static/aql-vDYotUbW.js +0 -1
- package/web-ui/build/static/arcade-5bpnh2Oi.js +0 -1
- package/web-ui/build/static/arduino-4OxI8HS8.js +0 -1
- package/web-ui/build/static/arduino-zJUNF7Xl.js +0 -1
- package/web-ui/build/static/arff-DHcdYO6-.js +0 -1
- package/web-ui/build/static/armasm-DVyTHmiD.js +0 -1
- package/web-ui/build/static/asciidoc-BRYIR6BF.js +0 -1
- package/web-ui/build/static/asciidoc-bd_scw1t.js +0 -1
- package/web-ui/build/static/asm6502-DfRcm1MU.js +0 -1
- package/web-ui/build/static/asmatmel--fvKJXxu.js +0 -1
- package/web-ui/build/static/aspectj-Cnm2Ccyg.js +0 -1
- package/web-ui/build/static/aspnet-BK2pQltF.js +0 -1
- package/web-ui/build/static/autohotkey-COkKlASn.js +0 -1
- package/web-ui/build/static/autohotkey-DNYipPv0.js +0 -1
- package/web-ui/build/static/autoit-DiwhqkEo.js +0 -1
- package/web-ui/build/static/autoit-DkQ_YDdk.js +0 -1
- package/web-ui/build/static/avisynth-DFrkQWrl.js +0 -1
- package/web-ui/build/static/avrasm-BbFtsKVm.js +0 -1
- package/web-ui/build/static/avro-idl-06_wFrxE.js +0 -1
- package/web-ui/build/static/awk-BNO1Hu3Y.js +0 -1
- package/web-ui/build/static/axapta-CW0rBEQf.js +0 -1
- package/web-ui/build/static/bash-DAP5H41u.js +0 -1
- package/web-ui/build/static/bash-DsCT4fHh.js +0 -1
- package/web-ui/build/static/basic-DqCcX17x.js +0 -1
- package/web-ui/build/static/basic-J3jqGQaz.js +0 -1
- package/web-ui/build/static/batch-BzKb0QuF.js +0 -1
- package/web-ui/build/static/bbcode-Cxys0qL9.js +0 -1
- package/web-ui/build/static/bicep-DPpVhf9I.js +0 -1
- package/web-ui/build/static/birb-BDF00uY2.js +0 -1
- package/web-ui/build/static/bison-DerSCeTc.js +0 -1
- package/web-ui/build/static/bnf--Nxb91Mj.js +0 -1
- package/web-ui/build/static/bnf-DKp1OqQh.js +0 -1
- package/web-ui/build/static/brainfuck-BgKburBi.js +0 -1
- package/web-ui/build/static/brainfuck-CLRabJhl.js +0 -1
- package/web-ui/build/static/brightscript-DJ0LrgUU.js +0 -1
- package/web-ui/build/static/bro-FVn3137a.js +0 -1
- package/web-ui/build/static/bsl-DGcfC5Qq.js +0 -1
- package/web-ui/build/static/c-CtBaJxj_.js +0 -1
- package/web-ui/build/static/c-DcJBPsOs.js +0 -1
- package/web-ui/build/static/c-like-BMAPMOT0.js +0 -1
- package/web-ui/build/static/cal-Dwvf5LQJ.js +0 -1
- package/web-ui/build/static/capnproto-Be5xeQu8.js +0 -1
- package/web-ui/build/static/ceylon-BV9kQegc.js +0 -1
- package/web-ui/build/static/cfscript-DqyqkqRV.js +0 -1
- package/web-ui/build/static/chaiscript-ab8S5sGz.js +0 -1
- package/web-ui/build/static/cil-DU5bEU16.js +0 -1
- package/web-ui/build/static/clean-CqKiC4l-.js +0 -1
- package/web-ui/build/static/clojure-CdaWManm.js +0 -1
- package/web-ui/build/static/clojure-cVIUydqy.js +0 -1
- package/web-ui/build/static/clojure-repl-mc7sqsOd.js +0 -1
- package/web-ui/build/static/cmake-D2ntzyPv.js +0 -1
- package/web-ui/build/static/cmake-Dt7gdCZl.js +0 -1
- package/web-ui/build/static/cobol-BYMIYxJY.js +0 -1
- package/web-ui/build/static/coffeescript-COUOYE5O.js +0 -1
- package/web-ui/build/static/coffeescript-FDyQzH4X.js +0 -1
- package/web-ui/build/static/concurnas-D8GglsJx.js +0 -1
- package/web-ui/build/static/coq-BvEL_B0N.js +0 -1
- package/web-ui/build/static/coq-C6NZeAuz.js +0 -1
- package/web-ui/build/static/cos-CjjeNVfD.js +0 -1
- package/web-ui/build/static/cpp-BdQQ9k01.js +0 -1
- package/web-ui/build/static/cpp-iYGopslr.js +0 -1
- package/web-ui/build/static/crmsh-COhOWlQB.js +0 -1
- package/web-ui/build/static/crystal-DqVfuZe7.js +0 -1
- package/web-ui/build/static/crystal-fkI7WHLA.js +0 -1
- package/web-ui/build/static/csharp-BKyMR69a.js +0 -1
- package/web-ui/build/static/csharp-KJwk5tFh.js +0 -1
- package/web-ui/build/static/cshtml-D-0Bd5yF.js +0 -1
- package/web-ui/build/static/csp-C6xrFQUZ.js +0 -1
- package/web-ui/build/static/csp-CKOZZjS5.js +0 -1
- package/web-ui/build/static/css-DhttYfIQ.js +0 -1
- package/web-ui/build/static/css-extras-Cwksdn14.js +0 -1
- package/web-ui/build/static/csv-3xOycrIm.js +0 -1
- package/web-ui/build/static/cypher-DIQ_IXvU.js +0 -1
- package/web-ui/build/static/d-CA3ONaPZ.js +0 -1
- package/web-ui/build/static/d-Cpj6yr1P.js +0 -1
- package/web-ui/build/static/dart-CStXueOh.js +0 -1
- package/web-ui/build/static/dart-DyyN2hCZ.js +0 -1
- package/web-ui/build/static/dataweave-C1Z1lf_p.js +0 -1
- package/web-ui/build/static/dax-Bra_xxin.js +0 -1
- package/web-ui/build/static/delphi-BSp32sTR.js +0 -1
- package/web-ui/build/static/dhall-DqULvWhD.js +0 -1
- package/web-ui/build/static/diff-DZWp0eai.js +0 -1
- package/web-ui/build/static/diff-Dl7Q9ZLJ.js +0 -1
- package/web-ui/build/static/django-BKb-9srn.js +0 -1
- package/web-ui/build/static/django-D4ZBsr7A.js +0 -1
- package/web-ui/build/static/dns-BIl1lqfE.js +0 -1
- package/web-ui/build/static/dns-zone-file-BHOpqtwv.js +0 -1
- package/web-ui/build/static/docker-DhYlo5KM.js +0 -1
- package/web-ui/build/static/dockerfile-DkKcxplU.js +0 -1
- package/web-ui/build/static/dos-BL8RAxlP.js +0 -1
- package/web-ui/build/static/dot-BLokvOTb.js +0 -1
- package/web-ui/build/static/dsconfig-C-HwSveF.js +0 -1
- package/web-ui/build/static/dts-D7N7kY9U.js +0 -1
- package/web-ui/build/static/dust-BDDbpTgO.js +0 -1
- package/web-ui/build/static/ebnf-BXq1reNT.js +0 -1
- package/web-ui/build/static/ebnf-DbPDw4Bq.js +0 -1
- package/web-ui/build/static/editorconfig-w2ZfPGuw.js +0 -1
- package/web-ui/build/static/eiffel-c2MQNBkW.js +0 -1
- package/web-ui/build/static/ejs-3QktTSvM.js +0 -1
- package/web-ui/build/static/elixir-BpckBbUo.js +0 -1
- package/web-ui/build/static/elixir-CdGx--Zx.js +0 -1
- package/web-ui/build/static/elm-BZQYORvs.js +0 -1
- package/web-ui/build/static/elm-CuB52FFf.js +0 -1
- package/web-ui/build/static/erb-BBShdpRp.js +0 -1
- package/web-ui/build/static/erb-C6oyD8uR.js +0 -1
- package/web-ui/build/static/erlang-CTR2NiVN.js +0 -1
- package/web-ui/build/static/erlang-Gyvyd8Bt.js +0 -1
- package/web-ui/build/static/erlang-repl-DQ9M2hTB.js +0 -1
- package/web-ui/build/static/etlua-WvCpEBL7.js +0 -1
- package/web-ui/build/static/excel-Cti8qyDh.js +0 -1
- package/web-ui/build/static/excel-formula-CbyjGhLT.js +0 -1
- package/web-ui/build/static/factor-DsS7xUlQ.js +0 -1
- package/web-ui/build/static/false-By7DT7NY.js +0 -1
- package/web-ui/build/static/firestore-security-rules-D818j5mX.js +0 -1
- package/web-ui/build/static/fix-Z9CNHO5B.js +0 -1
- package/web-ui/build/static/flix-CQ5tU7oG.js +0 -1
- package/web-ui/build/static/flow-TAcj5V8G.js +0 -1
- package/web-ui/build/static/fortran-CSo4-IB9.js +0 -1
- package/web-ui/build/static/fortran-D8ckpcuk.js +0 -1
- package/web-ui/build/static/fsharp-CX5IhzHG.js +0 -1
- package/web-ui/build/static/fsharp-CjgdWVzI.js +0 -1
- package/web-ui/build/static/ftl-BniZfpaP.js +0 -1
- package/web-ui/build/static/gams-Dx_Ej7b0.js +0 -1
- package/web-ui/build/static/gap-BW8rQPKU.js +0 -1
- package/web-ui/build/static/gauss-DP_j2AoM.js +0 -1
- package/web-ui/build/static/gcode-C_p0RHK2.js +0 -1
- package/web-ui/build/static/gcode-CvPzqlIr.js +0 -1
- package/web-ui/build/static/gdscript-BQxanI3X.js +0 -1
- package/web-ui/build/static/gedcom-DX22sB95.js +0 -1
- package/web-ui/build/static/gherkin-BuM2TN92.js +0 -1
- package/web-ui/build/static/gherkin-SyKtGAnl.js +0 -1
- package/web-ui/build/static/git-CZsBJbLj.js +0 -1
- package/web-ui/build/static/glsl-0gMMTGpT.js +0 -1
- package/web-ui/build/static/glsl-DdxyDP7O.js +0 -1
- package/web-ui/build/static/gml-Bmf5f_3a.js +0 -1
- package/web-ui/build/static/gml-DygwvUqd.js +0 -1
- package/web-ui/build/static/gn-CmJ9lVHR.js +0 -1
- package/web-ui/build/static/go-DcXIw3ql.js +0 -1
- package/web-ui/build/static/go-Dp-1fwju.js +0 -1
- package/web-ui/build/static/go-module-CVe5dTg-.js +0 -1
- package/web-ui/build/static/golo-Dqz3BdPW.js +0 -1
- package/web-ui/build/static/gradle-PY8Q_ptd.js +0 -1
- package/web-ui/build/static/graphql-7ynBfuuQ.js +0 -1
- package/web-ui/build/static/groovy-CKe3t1A3.js +0 -1
- package/web-ui/build/static/groovy-DK_6c_Dy.js +0 -1
- package/web-ui/build/static/haml-BjjIreuG.js +0 -1
- package/web-ui/build/static/haml-knbHtzU7.js +0 -1
- package/web-ui/build/static/handlebars-Bvicc2ZP.js +0 -1
- package/web-ui/build/static/handlebars-CWjisUes.js +0 -1
- package/web-ui/build/static/haskell-0vOFJmtj.js +0 -1
- package/web-ui/build/static/haskell-BjwWvVul.js +0 -1
- package/web-ui/build/static/haxe-CXIYhI9-.js +0 -1
- package/web-ui/build/static/haxe-Msa_nat5.js +0 -1
- package/web-ui/build/static/hcl-DADfqiqO.js +0 -1
- package/web-ui/build/static/hlsl-BoecwvZ1.js +0 -1
- package/web-ui/build/static/hoon-DoMcF4bN.js +0 -1
- package/web-ui/build/static/hpkp-DOkWWV9B.js +0 -1
- package/web-ui/build/static/hsp-KvanktXQ.js +0 -1
- package/web-ui/build/static/hsts-DP5sAe8p.js +0 -1
- package/web-ui/build/static/htmlbars-DpevdeqY.js +0 -1
- package/web-ui/build/static/http-CTyudxeK.js +0 -1
- package/web-ui/build/static/http-D0_pALtR.js +0 -1
- package/web-ui/build/static/hy-KpsNGTaA.js +0 -1
- package/web-ui/build/static/ichigojam-B9szb3eY.js +0 -1
- package/web-ui/build/static/icon-nqAgdt4t.js +0 -1
- package/web-ui/build/static/icu-message-format-DvgC-cKZ.js +0 -1
- package/web-ui/build/static/idris-D5VcDmFg.js +0 -1
- package/web-ui/build/static/iecst-LbbDhK7w.js +0 -1
- package/web-ui/build/static/ignore-rThoz4zA.js +0 -1
- package/web-ui/build/static/index-Cm1gK3R7.css +0 -1
- package/web-ui/build/static/index-D6blIL5t.js +0 -13
- package/web-ui/build/static/index-DqCutaVi.js +0 -1164
- package/web-ui/build/static/index-_UVy_UGY.js +0 -1
- package/web-ui/build/static/inform7-B2u0-vkK.js +0 -1
- package/web-ui/build/static/inform7-Cj2uMx5P.js +0 -1
- package/web-ui/build/static/ini-DDC_WfpB.js +0 -1
- package/web-ui/build/static/ini-Dafi1wkS.js +0 -1
- package/web-ui/build/static/io-Cs5RmCdQ.js +0 -1
- package/web-ui/build/static/irpf90-5KuyCx_k.js +0 -1
- package/web-ui/build/static/isbl-CZGAUFN3.js +0 -1
- package/web-ui/build/static/j-C2U5CNx3.js +0 -1
- package/web-ui/build/static/java-B-L3bHbG.js +0 -1
- package/web-ui/build/static/java-Dhfb499l.js +0 -1
- package/web-ui/build/static/javadoc-_ln2gn5I.js +0 -1
- package/web-ui/build/static/javadoclike-CnV_ddKg.js +0 -1
- package/web-ui/build/static/javascript-DBUUUlif.js +0 -1
- package/web-ui/build/static/javastacktrace-BS1l3Yf6.js +0 -1
- package/web-ui/build/static/jboss-cli-RdKEfNzL.js +0 -1
- package/web-ui/build/static/jexl-Bu5vdWnx.js +0 -1
- package/web-ui/build/static/jolie-LS18mxou.js +0 -1
- package/web-ui/build/static/jq-u9QEjWr_.js +0 -1
- package/web-ui/build/static/js-extras-C1cS_85G.js +0 -1
- package/web-ui/build/static/js-templates-DQxgBfhh.js +0 -1
- package/web-ui/build/static/jsdoc-DhLXAtzJ.js +0 -1
- package/web-ui/build/static/json-B8DgcmbV.js +0 -1
- package/web-ui/build/static/json-ByLJzbD8.js +0 -1
- package/web-ui/build/static/json5-DSnccLNQ.js +0 -1
- package/web-ui/build/static/jsonp-CcwF40Vu.js +0 -1
- package/web-ui/build/static/jsstacktrace-7YvddNWa.js +0 -1
- package/web-ui/build/static/jsx-DnHkAc3-.js +0 -1
- package/web-ui/build/static/julia-BmadVpf3.js +0 -1
- package/web-ui/build/static/julia-GSKCoIBJ.js +0 -1
- package/web-ui/build/static/julia-repl-ks3HTctE.js +0 -1
- package/web-ui/build/static/keepalived-CWDkM2-Z.js +0 -1
- package/web-ui/build/static/keyman-C9jA4-3Y.js +0 -1
- package/web-ui/build/static/kotlin-BqzUXT-K.js +0 -1
- package/web-ui/build/static/kotlin-BxhEUQAU.js +0 -1
- package/web-ui/build/static/kumir-BFYLWJq-.js +0 -1
- package/web-ui/build/static/kusto-CQRzYXm2.js +0 -1
- package/web-ui/build/static/lasso-D44z_uI8.js +0 -1
- package/web-ui/build/static/latex-BEJdTqYC.js +0 -1
- package/web-ui/build/static/latex-CStS4ql1.js +0 -1
- package/web-ui/build/static/latte-BPXasl8T.js +0 -1
- package/web-ui/build/static/ldif-Wxrk2-xQ.js +0 -1
- package/web-ui/build/static/leaf-DrTXK-pT.js +0 -1
- package/web-ui/build/static/less-BmoAe98U.js +0 -1
- package/web-ui/build/static/less-DzWEFsZj.js +0 -1
- package/web-ui/build/static/lilypond-C3ZnRm_L.js +0 -1
- package/web-ui/build/static/liquid-eXmypvP_.js +0 -1
- package/web-ui/build/static/lisp-DcidyoAl.js +0 -1
- package/web-ui/build/static/lisp-DhmUig93.js +0 -1
- package/web-ui/build/static/livecodeserver-D5lnfCkg.js +0 -1
- package/web-ui/build/static/livescript-Bpb_EpXS.js +0 -1
- package/web-ui/build/static/livescript-rF5whmjG.js +0 -1
- package/web-ui/build/static/llvm-BD9QG7T-.js +0 -1
- package/web-ui/build/static/llvm-CVP-jOx8.js +0 -1
- package/web-ui/build/static/log-DRzysjS2.js +0 -1
- package/web-ui/build/static/lolcode-BmKgPOwi.js +0 -1
- package/web-ui/build/static/lsl-DEO2mV0F.js +0 -1
- package/web-ui/build/static/lua-BNDDIa9F.js +0 -1
- package/web-ui/build/static/lua-C5n4hyV-.js +0 -1
- package/web-ui/build/static/magma-UZvvdXue.js +0 -1
- package/web-ui/build/static/makefile-BDQ4tARf.js +0 -1
- package/web-ui/build/static/makefile-Bjg-ueA2.js +0 -1
- package/web-ui/build/static/markdown-BTXvpQos.js +0 -1
- package/web-ui/build/static/markdown-BvMdFo1Y.js +0 -1
- package/web-ui/build/static/markup-templating-xSAHnnIS.js +0 -1
- package/web-ui/build/static/mathematica-CqNsUy6n.js +0 -1
- package/web-ui/build/static/matlab-D-A1WMHc.js +0 -1
- package/web-ui/build/static/matlab-Us_SxUWG.js +0 -1
- package/web-ui/build/static/maxima-BSyBp09v.js +0 -1
- package/web-ui/build/static/maxscript-wyb-3dgT.js +0 -1
- package/web-ui/build/static/mel-Bpo7JK_A.js +0 -1
- package/web-ui/build/static/mel-eZCDX4iS.js +0 -1
- package/web-ui/build/static/mercury-CEgBiaXI.js +0 -1
- package/web-ui/build/static/mermaid-BJIHmQsO.js +0 -1
- package/web-ui/build/static/mipsasm-c70dMcw9.js +0 -1
- package/web-ui/build/static/mizar-CeCpdHS-.js +0 -1
- package/web-ui/build/static/mizar-DDlOFZXr.js +0 -1
- package/web-ui/build/static/mojolicious-b4UGVld0.js +0 -1
- package/web-ui/build/static/mongodb-DwkU2uSm.js +0 -1
- package/web-ui/build/static/monkey-CNkGqOfo.js +0 -1
- package/web-ui/build/static/monkey-DwmdAwUx.js +0 -1
- package/web-ui/build/static/moonscript-C2vv4alq.js +0 -1
- package/web-ui/build/static/moonscript-GOmGojxm.js +0 -1
- package/web-ui/build/static/n1ql-B-uZXYG_.js +0 -1
- package/web-ui/build/static/n1ql-CqKgc7lF.js +0 -1
- package/web-ui/build/static/n4js-CLkxsn24.js +0 -1
- package/web-ui/build/static/nand2tetris-hdl-CAJAzliK.js +0 -1
- package/web-ui/build/static/naniscript-DxWjsrnl.js +0 -1
- package/web-ui/build/static/nasm-C-GI38un.js +0 -1
- package/web-ui/build/static/neon-DWKBFo--.js +0 -1
- package/web-ui/build/static/nevod-DGDg1w8a.js +0 -1
- package/web-ui/build/static/nginx-BQbAompS.js +0 -1
- package/web-ui/build/static/nginx-BQbgG8J2.js +0 -1
- package/web-ui/build/static/nim-Bf864jik.js +0 -1
- package/web-ui/build/static/nim-DG4Tf5sg.js +0 -1
- package/web-ui/build/static/nix-BBq54ypW.js +0 -1
- package/web-ui/build/static/nix-DiVQTSyM.js +0 -1
- package/web-ui/build/static/node-repl-Dg0rNxhv.js +0 -1
- package/web-ui/build/static/nsis-BG8Lm28v.js +0 -1
- package/web-ui/build/static/nsis-CwA_MNyF.js +0 -1
- package/web-ui/build/static/objectivec-83FM4mu0.js +0 -1
- package/web-ui/build/static/objectivec-CbDgPZGc.js +0 -1
- package/web-ui/build/static/ocaml-CXrksX9b.js +0 -1
- package/web-ui/build/static/ocaml-aktipfk_.js +0 -1
- package/web-ui/build/static/opencl-B1Wu4nP5.js +0 -1
- package/web-ui/build/static/openqasm-BnUjC0Rq.js +0 -1
- package/web-ui/build/static/openscad-CNEF75nQ.js +0 -1
- package/web-ui/build/static/oxygene-B5nQHVvu.js +0 -1
- package/web-ui/build/static/oz-Dw07HFRJ.js +0 -1
- package/web-ui/build/static/parigp-Dkh7PqN8.js +0 -1
- package/web-ui/build/static/parser-CAW1btwt.js +0 -1
- package/web-ui/build/static/parser3-DO4cmbnD.js +0 -1
- package/web-ui/build/static/pascal-B3XwEzrN.js +0 -1
- package/web-ui/build/static/pascaligo-CMKmAZ_B.js +0 -1
- package/web-ui/build/static/pcaxis-B5RrdB6p.js +0 -1
- package/web-ui/build/static/peoplecode-CGkgPJl9.js +0 -1
- package/web-ui/build/static/perl-BWBuZ5Vt.js +0 -1
- package/web-ui/build/static/perl-CW0_w5xG.js +0 -1
- package/web-ui/build/static/pf-B1aiG4iq.js +0 -1
- package/web-ui/build/static/pgsql-BgXadqYx.js +0 -1
- package/web-ui/build/static/php-BpB9heTH.js +0 -1
- package/web-ui/build/static/php-S3LJn70M.js +0 -1
- package/web-ui/build/static/php-extras-Dmblzt0I.js +0 -1
- package/web-ui/build/static/php-template-BS_uyUS1.js +0 -1
- package/web-ui/build/static/phpdoc-BqP_4LKt.js +0 -1
- package/web-ui/build/static/plaintext-BvDBRLjE.js +0 -1
- package/web-ui/build/static/plsql-DEj_qOIm.js +0 -1
- package/web-ui/build/static/pony-DpvrOLZf.js +0 -1
- package/web-ui/build/static/powerquery-C0Wobunx.js +0 -1
- package/web-ui/build/static/powershell-CY7ZBlTW.js +0 -1
- package/web-ui/build/static/powershell-DiEDDrOo.js +0 -1
- package/web-ui/build/static/processing-IXybgMWQ.js +0 -1
- package/web-ui/build/static/processing-i136WolF.js +0 -1
- package/web-ui/build/static/profile-guIih27Q.js +0 -1
- package/web-ui/build/static/prolog-CvmO0VDt.js +0 -1
- package/web-ui/build/static/prolog-Dmf4klwf.js +0 -1
- package/web-ui/build/static/promql-DObZhyF5.js +0 -1
- package/web-ui/build/static/properties-CK08qg7k.js +0 -1
- package/web-ui/build/static/properties-DmwePx7J.js +0 -1
- package/web-ui/build/static/protobuf-BDkUYcAx.js +0 -1
- package/web-ui/build/static/protobuf-CBMNyvhU.js +0 -1
- package/web-ui/build/static/psl-eW3BB0n6.js +0 -1
- package/web-ui/build/static/pug-D0LF-keh.js +0 -1
- package/web-ui/build/static/puppet-BUYZQfB-.js +0 -1
- package/web-ui/build/static/puppet-Dbo5UDT-.js +0 -1
- package/web-ui/build/static/pure-C5ukDHhg.js +0 -1
- package/web-ui/build/static/purebasic-B8eqrPTw.js +0 -1
- package/web-ui/build/static/purebasic-BA8g0-l-.js +0 -1
- package/web-ui/build/static/purescript-CKa_o5qx.js +0 -1
- package/web-ui/build/static/python-C-iEDsum.js +0 -1
- package/web-ui/build/static/python-CJcHyEGQ.js +0 -1
- package/web-ui/build/static/python-repl-WvDxhQ8t.js +0 -1
- package/web-ui/build/static/q-Ben5hioy.js +0 -1
- package/web-ui/build/static/q-CenUx0Za.js +0 -1
- package/web-ui/build/static/qml-CkUJB-7R.js +0 -1
- package/web-ui/build/static/qml-G6uEqbt_.js +0 -1
- package/web-ui/build/static/qore-CASrYvaT.js +0 -1
- package/web-ui/build/static/qsharp-CJMvScJV.js +0 -1
- package/web-ui/build/static/r-C3qOLTEa.js +0 -1
- package/web-ui/build/static/r-pFTIkWVX.js +0 -1
- package/web-ui/build/static/racket-Dj2Pnxz8.js +0 -1
- package/web-ui/build/static/reason-BLo81vJj.js +0 -1
- package/web-ui/build/static/reasonml-Uso3eiRd.js +0 -1
- package/web-ui/build/static/regex-CRRrWtDv.js +0 -1
- package/web-ui/build/static/rego-Pd9N41dQ.js +0 -1
- package/web-ui/build/static/renpy-B5nJRJ6W.js +0 -1
- package/web-ui/build/static/rest-C4KktBYV.js +0 -1
- package/web-ui/build/static/rib-WhwJFXjw.js +0 -1
- package/web-ui/build/static/rip-BRMu9y5Q.js +0 -1
- package/web-ui/build/static/roboconf-BC-HzyUK.js +0 -1
- package/web-ui/build/static/roboconf-Wo-TPzlW.js +0 -1
- package/web-ui/build/static/robotframework-Cvw8u8mL.js +0 -1
- package/web-ui/build/static/routeros-1EUCLy_j.js +0 -1
- package/web-ui/build/static/rsl-DcVNeKkF.js +0 -1
- package/web-ui/build/static/ruby-B1fqRC3j.js +0 -1
- package/web-ui/build/static/ruby-Bl1wXNzL.js +0 -1
- package/web-ui/build/static/ruleslanguage-C3rzl2Ma.js +0 -1
- package/web-ui/build/static/rust-4iyLrpFQ.js +0 -1
- package/web-ui/build/static/rust-V8MRv3os.js +0 -1
- package/web-ui/build/static/sas-ClkrCklD.js +0 -1
- package/web-ui/build/static/sas-CyFFy3mS.js +0 -1
- package/web-ui/build/static/sass-Cege3fu1.js +0 -1
- package/web-ui/build/static/scala-DNb7CDvN.js +0 -1
- package/web-ui/build/static/scala-c5k_CS9h.js +0 -1
- package/web-ui/build/static/scheme-BXrEBzXP.js +0 -1
- package/web-ui/build/static/scheme-COq0pstl.js +0 -1
- package/web-ui/build/static/scilab-CRMCfvft.js +0 -1
- package/web-ui/build/static/scss-C6MDSdKd.js +0 -1
- package/web-ui/build/static/scss-D1INSi-r.js +0 -1
- package/web-ui/build/static/shell-BHTFz9Xv.js +0 -1
- package/web-ui/build/static/shell-session-B6KXgRjz.js +0 -1
- package/web-ui/build/static/smali-CXGHC3zj.js +0 -1
- package/web-ui/build/static/smali-DFRkIqFc.js +0 -1
- package/web-ui/build/static/smalltalk-DWI2TbuJ.js +0 -1
- package/web-ui/build/static/smalltalk-jkgxBKRZ.js +0 -1
- package/web-ui/build/static/smarty-BPJMXwnj.js +0 -1
- package/web-ui/build/static/sml-BHT8CCeD.js +0 -1
- package/web-ui/build/static/sml-D5fkPJU1.js +0 -1
- package/web-ui/build/static/solidity-BfFvCWqp.js +0 -1
- package/web-ui/build/static/solution-file-DmSVfk_X.js +0 -1
- package/web-ui/build/static/soy-CXqMJVf8.js +0 -1
- package/web-ui/build/static/sparql-BxIpMyhJ.js +0 -1
- package/web-ui/build/static/splunk-spl-DMekyRuD.js +0 -1
- package/web-ui/build/static/sqf-DeQ-Lyaa.js +0 -1
- package/web-ui/build/static/sqf-hkl5BOBV.js +0 -1
- package/web-ui/build/static/sql-Di-rn3Od.js +0 -1
- package/web-ui/build/static/sql-DuF5aX9R.js +0 -1
- package/web-ui/build/static/sql_more-CCmzwYYA.js +0 -1
- package/web-ui/build/static/squirrel-fGLPlBkB.js +0 -1
- package/web-ui/build/static/stan-BveEpl1w.js +0 -1
- package/web-ui/build/static/stan-CM09XtOD.js +0 -1
- package/web-ui/build/static/stata-DeFUbv91.js +0 -1
- package/web-ui/build/static/step21-DnUE2ZTl.js +0 -1
- package/web-ui/build/static/stylus-Bz9XG6KK.js +0 -1
- package/web-ui/build/static/stylus-h33ZUR4b.js +0 -1
- package/web-ui/build/static/subunit-v4SRMSnP.js +0 -1
- package/web-ui/build/static/swift-BMCxsbHv.js +0 -1
- package/web-ui/build/static/swift-qFBaTSsZ.js +0 -1
- package/web-ui/build/static/systemd-9w7KWsst.js +0 -1
- package/web-ui/build/static/t4-cs-DdBrJkO9.js +0 -1
- package/web-ui/build/static/t4-templating-B-3iQJ4y.js +0 -1
- package/web-ui/build/static/t4-vb-BBuTbPK8.js +0 -1
- package/web-ui/build/static/taggerscript-BPvYYpaJ.js +0 -1
- package/web-ui/build/static/tap-DiFULuZV.js +0 -1
- package/web-ui/build/static/tap-Q9DMgrzh.js +0 -1
- package/web-ui/build/static/tcl-BZcwcRUU.js +0 -1
- package/web-ui/build/static/tcl-C4DHKxjE.js +0 -1
- package/web-ui/build/static/textile-ByLAjlo8.js +0 -1
- package/web-ui/build/static/thrift-C_isEMNl.js +0 -1
- package/web-ui/build/static/toml-C6ffwJpv.js +0 -1
- package/web-ui/build/static/tp-aV8nCrpp.js +0 -1
- package/web-ui/build/static/tremor-Bs1SSWo9.js +0 -1
- package/web-ui/build/static/tsx-DdryYBa4.js +0 -1
- package/web-ui/build/static/tt2-BeCMXvbZ.js +0 -1
- package/web-ui/build/static/turtle-B2FzT5Ov.js +0 -1
- package/web-ui/build/static/twig-fVEYqAxR.js +0 -1
- package/web-ui/build/static/twig-p9k58-hx.js +0 -1
- package/web-ui/build/static/typescript-8bhStN7p.js +0 -1
- package/web-ui/build/static/typescript-D2zmnuDR.js +0 -1
- package/web-ui/build/static/typoscript-DQePQcKL.js +0 -1
- package/web-ui/build/static/unrealscript-BZYSnJjB.js +0 -1
- package/web-ui/build/static/uorazor-CGaRtqR5.js +0 -1
- package/web-ui/build/static/uri-PJ3dz1qj.js +0 -1
- package/web-ui/build/static/v-CI9qDsYZ.js +0 -1
- package/web-ui/build/static/vala-B4ses542.js +0 -1
- package/web-ui/build/static/vala-BLxHpeKp.js +0 -1
- package/web-ui/build/static/vbnet-B7Dzk1rR.js +0 -1
- package/web-ui/build/static/vbnet-HOI9SMLZ.js +0 -1
- package/web-ui/build/static/vbscript-ERv5iDpi.js +0 -1
- package/web-ui/build/static/vbscript-html-D-mjpNAX.js +0 -1
- package/web-ui/build/static/velocity-B754qmeE.js +0 -1
- package/web-ui/build/static/verilog-3PA83Bxs.js +0 -1
- package/web-ui/build/static/verilog-D-lqP5ci.js +0 -1
- package/web-ui/build/static/vhdl-BjRYdIRF.js +0 -1
- package/web-ui/build/static/vhdl-DgrorvTt.js +0 -1
- package/web-ui/build/static/vim-3Oixnlee.js +0 -1
- package/web-ui/build/static/vim-BJTKcXdU.js +0 -1
- package/web-ui/build/static/visual-basic-BG8-3339.js +0 -1
- package/web-ui/build/static/warpscript-CEIgv5UG.js +0 -1
- package/web-ui/build/static/wasm-BJlpp9rs.js +0 -1
- package/web-ui/build/static/web-idl-Dlh9DutO.js +0 -1
- package/web-ui/build/static/wiki-CCcmRzkd.js +0 -1
- package/web-ui/build/static/wolfram--Xk-fAUi.js +0 -1
- package/web-ui/build/static/wren-B9Ajd9OC.js +0 -1
- package/web-ui/build/static/x86asm-DJJ72Zy-.js +0 -1
- package/web-ui/build/static/xeora-C0tNsSDj.js +0 -1
- package/web-ui/build/static/xl-CzEpyjRJ.js +0 -1
- package/web-ui/build/static/xml-CdtQTsBH.js +0 -1
- package/web-ui/build/static/xml-doc-TtPAAmc6.js +0 -1
- package/web-ui/build/static/xojo-B92fAnQE.js +0 -1
- package/web-ui/build/static/xquery-D0Z1FZVO.js +0 -1
- package/web-ui/build/static/xquery-DwlcRJ7Q.js +0 -1
- package/web-ui/build/static/yaml-DySZjPvD.js +0 -1
- package/web-ui/build/static/yaml-YgOVzvAS.js +0 -1
- package/web-ui/build/static/yang-BJokKPTo.js +0 -1
- package/web-ui/build/static/zephir-BWMUFIRD.js +0 -1
- package/web-ui/build/static/zig-Bpzj48cM.js +0 -1
|
@@ -1,717 +1,752 @@
|
|
|
1
|
-
import { jest, describe, test, expect, beforeEach } from '@jest/globals';
|
|
2
|
-
import { createMockLogger, createMockConfig } from '../../__test-utils__/mockFactories.js';
|
|
3
|
-
|
|
4
|
-
// Mock fs (promises) and crypto BEFORE importing the tool
|
|
5
|
-
const fsMock = {
|
|
6
|
-
mkdir: jest.fn().mockResolvedValue(undefined),
|
|
7
|
-
readFile: jest.fn().mockResolvedValue('{}'),
|
|
8
|
-
writeFile: jest.fn().mockResolvedValue(undefined),
|
|
9
|
-
stat: jest.fn().mockResolvedValue({ size: 100 }),
|
|
10
|
-
copyFile: jest.fn().mockResolvedValue(undefined),
|
|
11
|
-
access: jest.fn().mockResolvedValue(undefined)
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
jest.unstable_mockModule('fs', () => ({
|
|
15
|
-
default: { promises: fsMock },
|
|
16
|
-
promises: fsMock
|
|
17
|
-
}));
|
|
18
|
-
|
|
19
|
-
jest.unstable_mockModule('crypto', () => ({
|
|
20
|
-
default: {
|
|
21
|
-
randomUUID: jest.fn(() => 'mock-crypto-uuid'),
|
|
22
|
-
randomBytes: jest.fn(() => ({ toString: () => 'mockrandom' }))
|
|
23
|
-
}
|
|
24
|
-
}));
|
|
25
|
-
|
|
26
|
-
const { default: AgentCommunicationTool } = await import('../agentCommunicationTool.js');
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Helper: builds a tool, agent pool, and context for tests.
|
|
30
|
-
*/
|
|
31
|
-
function createTestSetup() {
|
|
32
|
-
const logger = createMockLogger();
|
|
33
|
-
const tool = new AgentCommunicationTool({ storageDir: '/tmp/msg-test' });
|
|
34
|
-
tool.logger = logger;
|
|
35
|
-
|
|
36
|
-
const senderAgent = {
|
|
37
|
-
id: 'agent-sender',
|
|
38
|
-
name: 'Sender Agent',
|
|
39
|
-
type: 'developer',
|
|
40
|
-
capabilities: ['code'],
|
|
41
|
-
status: 'active',
|
|
42
|
-
isPaused: false,
|
|
43
|
-
conversations: { full: { messages: [], lastUpdated: '' } },
|
|
44
|
-
currentModel: null
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
const recipientAgent = {
|
|
48
|
-
id: 'agent-recipient',
|
|
49
|
-
name: 'Recipient Agent',
|
|
50
|
-
type: 'reviewer',
|
|
51
|
-
capabilities: ['review'],
|
|
52
|
-
status: 'active',
|
|
53
|
-
isPaused: false,
|
|
54
|
-
conversations: { full: { messages: [], lastUpdated: '' } },
|
|
55
|
-
currentModel: null
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
const agents = new Map();
|
|
59
|
-
agents.set('agent-sender', senderAgent);
|
|
60
|
-
agents.set('agent-recipient', recipientAgent);
|
|
61
|
-
|
|
62
|
-
const agentPool = {
|
|
63
|
-
getAgent: jest.fn((id) => Promise.resolve(agents.get(id) || null)),
|
|
64
|
-
listActiveAgents: jest.fn().mockResolvedValue([senderAgent, recipientAgent]),
|
|
65
|
-
notifyAgent: jest.fn().mockResolvedValue(undefined),
|
|
66
|
-
persistAgentState: jest.fn().mockResolvedValue(undefined),
|
|
67
|
-
updateAgent: jest.fn().mockResolvedValue(undefined),
|
|
68
|
-
addInterAgentMessage: jest.fn().mockResolvedValue(undefined)
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
const context = {
|
|
72
|
-
agentId: 'agent-sender',
|
|
73
|
-
agentPool,
|
|
74
|
-
projectDir: '/tmp/test'
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
return { tool, senderAgent, recipientAgent, agentPool, context, logger };
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
describe('AgentCommunicationTool', () => {
|
|
81
|
-
// ── constructor ─────────────────────────────────────────────────
|
|
82
|
-
describe('constructor', () => {
|
|
83
|
-
test('initializes with default config values', () => {
|
|
84
|
-
const tool = new AgentCommunicationTool();
|
|
85
|
-
expect(tool.config.maxConversationDepth).toBe(10);
|
|
86
|
-
expect(tool.config.maxRecipientsPerMessage).toBe(3);
|
|
87
|
-
expect(tool.messages).toBeInstanceOf(Map);
|
|
88
|
-
expect(tool.conversations).toBeInstanceOf(Map);
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
test('accepts custom config overrides', () => {
|
|
92
|
-
const tool = new AgentCommunicationTool({ maxConversationDepth: 5 });
|
|
93
|
-
expect(tool.config.maxConversationDepth).toBe(5);
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
// ── getDescription ──────────────────────────────────────────────
|
|
98
|
-
describe('getDescription', () => {
|
|
99
|
-
test('returns description with action list', () => {
|
|
100
|
-
const tool = new AgentCommunicationTool();
|
|
101
|
-
const desc = tool.getDescription();
|
|
102
|
-
expect(desc).toContain('get-available-agents');
|
|
103
|
-
expect(desc).toContain('send-message');
|
|
104
|
-
expect(desc).toContain('reply-to-message');
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
// ── parseParameters ─────────────────────────────────────────────
|
|
109
|
-
describe('parseParameters', () => {
|
|
110
|
-
test('parses object with actions array', () => {
|
|
111
|
-
const tool = new AgentCommunicationTool();
|
|
112
|
-
const result = tool.parseParameters({
|
|
113
|
-
actions: [{ type: 'get-available-agents' }]
|
|
114
|
-
});
|
|
115
|
-
expect(result.action).toBe('get-available-agents');
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
test('parses object with action field', () => {
|
|
119
|
-
const tool = new AgentCommunicationTool();
|
|
120
|
-
const result = tool.parseParameters({ action: 'send-message', subject: 'Hi' });
|
|
121
|
-
expect(result.action).toBe('send-message');
|
|
122
|
-
});
|
|
123
|
-
|
|
124
|
-
test('parses JSON string', () => {
|
|
125
|
-
const tool = new AgentCommunicationTool();
|
|
126
|
-
const result = tool.parseParameters('{"action": "get-available-agents"}');
|
|
127
|
-
expect(result.action).toBe('get-available-agents');
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
test('parses XML-style content', () => {
|
|
131
|
-
const tool = new AgentCommunicationTool();
|
|
132
|
-
const result = tool.parseParameters('<action>send-message</action><subject>Hello</subject>');
|
|
133
|
-
expect(result.action).toBe('send-message');
|
|
134
|
-
expect(result.subject).toBe('Hello');
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
test('returns empty object for null input', () => {
|
|
138
|
-
const tool = new AgentCommunicationTool();
|
|
139
|
-
const result = tool.parseParameters(null);
|
|
140
|
-
expect(result).toEqual({});
|
|
141
|
-
});
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
// ── execute - missing action ────────────────────────────────────
|
|
145
|
-
describe('execute - missing params', () => {
|
|
146
|
-
test('throws when action is missing', async () => {
|
|
147
|
-
const { tool, context } = createTestSetup();
|
|
148
|
-
await expect(tool.execute({}, context)).rejects.toThrow('Action parameter is required');
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
test('throws when agentId is missing from context', async () => {
|
|
152
|
-
const { tool } = createTestSetup();
|
|
153
|
-
await expect(tool.execute({ action: 'get-available-agents' }, {}))
|
|
154
|
-
.rejects.toThrow('Agent ID is required');
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
test('throws for unknown action', async () => {
|
|
158
|
-
const { tool, context } = createTestSetup();
|
|
159
|
-
await expect(tool.execute({ action: 'teleport' }, context))
|
|
160
|
-
.rejects.toThrow('Unknown action');
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
})
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
const { tool } = createTestSetup();
|
|
182
|
-
const result = await tool.execute(
|
|
183
|
-
{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
expect(result.
|
|
205
|
-
expect(result.
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
test('
|
|
230
|
-
const { tool, context } = createTestSetup();
|
|
231
|
-
const result = await tool.execute({
|
|
232
|
-
action: 'send-message',
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
expect(result.
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
const
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
message: '
|
|
249
|
-
}, context);
|
|
250
|
-
expect(result.success).toBe(false);
|
|
251
|
-
expect(result.
|
|
252
|
-
});
|
|
253
|
-
|
|
254
|
-
test('
|
|
255
|
-
const { tool, context } = createTestSetup();
|
|
256
|
-
await tool.execute({
|
|
257
|
-
action: 'send-message',
|
|
258
|
-
recipient: 'agent-recipient',
|
|
259
|
-
subject: '
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
expect(
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
message:
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
'
|
|
363
|
-
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
'
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
)
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
expect(result.
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
const
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
const
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
const
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
expect(
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
const
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
const
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
const
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
);
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
expect(result.
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
const
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
const
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
const { tool, context } = createTestSetup();
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
message:
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
//
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
1
|
+
import { jest, describe, test, expect, beforeEach } from '@jest/globals';
|
|
2
|
+
import { createMockLogger, createMockConfig } from '../../__test-utils__/mockFactories.js';
|
|
3
|
+
|
|
4
|
+
// Mock fs (promises) and crypto BEFORE importing the tool
|
|
5
|
+
const fsMock = {
|
|
6
|
+
mkdir: jest.fn().mockResolvedValue(undefined),
|
|
7
|
+
readFile: jest.fn().mockResolvedValue('{}'),
|
|
8
|
+
writeFile: jest.fn().mockResolvedValue(undefined),
|
|
9
|
+
stat: jest.fn().mockResolvedValue({ size: 100 }),
|
|
10
|
+
copyFile: jest.fn().mockResolvedValue(undefined),
|
|
11
|
+
access: jest.fn().mockResolvedValue(undefined)
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
jest.unstable_mockModule('fs', () => ({
|
|
15
|
+
default: { promises: fsMock },
|
|
16
|
+
promises: fsMock
|
|
17
|
+
}));
|
|
18
|
+
|
|
19
|
+
jest.unstable_mockModule('crypto', () => ({
|
|
20
|
+
default: {
|
|
21
|
+
randomUUID: jest.fn(() => 'mock-crypto-uuid'),
|
|
22
|
+
randomBytes: jest.fn(() => ({ toString: () => 'mockrandom' }))
|
|
23
|
+
}
|
|
24
|
+
}));
|
|
25
|
+
|
|
26
|
+
const { default: AgentCommunicationTool } = await import('../agentCommunicationTool.js');
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Helper: builds a tool, agent pool, and context for tests.
|
|
30
|
+
*/
|
|
31
|
+
function createTestSetup() {
|
|
32
|
+
const logger = createMockLogger();
|
|
33
|
+
const tool = new AgentCommunicationTool({ storageDir: '/tmp/msg-test' });
|
|
34
|
+
tool.logger = logger;
|
|
35
|
+
|
|
36
|
+
const senderAgent = {
|
|
37
|
+
id: 'agent-sender',
|
|
38
|
+
name: 'Sender Agent',
|
|
39
|
+
type: 'developer',
|
|
40
|
+
capabilities: ['code'],
|
|
41
|
+
status: 'active',
|
|
42
|
+
isPaused: false,
|
|
43
|
+
conversations: { full: { messages: [], lastUpdated: '' } },
|
|
44
|
+
currentModel: null
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const recipientAgent = {
|
|
48
|
+
id: 'agent-recipient',
|
|
49
|
+
name: 'Recipient Agent',
|
|
50
|
+
type: 'reviewer',
|
|
51
|
+
capabilities: ['review'],
|
|
52
|
+
status: 'active',
|
|
53
|
+
isPaused: false,
|
|
54
|
+
conversations: { full: { messages: [], lastUpdated: '' } },
|
|
55
|
+
currentModel: null
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const agents = new Map();
|
|
59
|
+
agents.set('agent-sender', senderAgent);
|
|
60
|
+
agents.set('agent-recipient', recipientAgent);
|
|
61
|
+
|
|
62
|
+
const agentPool = {
|
|
63
|
+
getAgent: jest.fn((id) => Promise.resolve(agents.get(id) || null)),
|
|
64
|
+
listActiveAgents: jest.fn().mockResolvedValue([senderAgent, recipientAgent]),
|
|
65
|
+
notifyAgent: jest.fn().mockResolvedValue(undefined),
|
|
66
|
+
persistAgentState: jest.fn().mockResolvedValue(undefined),
|
|
67
|
+
updateAgent: jest.fn().mockResolvedValue(undefined),
|
|
68
|
+
addInterAgentMessage: jest.fn().mockResolvedValue(undefined)
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const context = {
|
|
72
|
+
agentId: 'agent-sender',
|
|
73
|
+
agentPool,
|
|
74
|
+
projectDir: '/tmp/test'
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
return { tool, senderAgent, recipientAgent, agentPool, context, logger };
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
describe('AgentCommunicationTool', () => {
|
|
81
|
+
// ── constructor ─────────────────────────────────────────────────
|
|
82
|
+
describe('constructor', () => {
|
|
83
|
+
test('initializes with default config values', () => {
|
|
84
|
+
const tool = new AgentCommunicationTool();
|
|
85
|
+
expect(tool.config.maxConversationDepth).toBe(10);
|
|
86
|
+
expect(tool.config.maxRecipientsPerMessage).toBe(3);
|
|
87
|
+
expect(tool.messages).toBeInstanceOf(Map);
|
|
88
|
+
expect(tool.conversations).toBeInstanceOf(Map);
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
test('accepts custom config overrides', () => {
|
|
92
|
+
const tool = new AgentCommunicationTool({ maxConversationDepth: 5 });
|
|
93
|
+
expect(tool.config.maxConversationDepth).toBe(5);
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
// ── getDescription ──────────────────────────────────────────────
|
|
98
|
+
describe('getDescription', () => {
|
|
99
|
+
test('returns description with action list', () => {
|
|
100
|
+
const tool = new AgentCommunicationTool();
|
|
101
|
+
const desc = tool.getDescription();
|
|
102
|
+
expect(desc).toContain('get-available-agents');
|
|
103
|
+
expect(desc).toContain('send-message');
|
|
104
|
+
expect(desc).toContain('reply-to-message');
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
// ── parseParameters ─────────────────────────────────────────────
|
|
109
|
+
describe('parseParameters', () => {
|
|
110
|
+
test('parses object with actions array', () => {
|
|
111
|
+
const tool = new AgentCommunicationTool();
|
|
112
|
+
const result = tool.parseParameters({
|
|
113
|
+
actions: [{ type: 'get-available-agents' }]
|
|
114
|
+
});
|
|
115
|
+
expect(result.action).toBe('get-available-agents');
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
test('parses object with action field', () => {
|
|
119
|
+
const tool = new AgentCommunicationTool();
|
|
120
|
+
const result = tool.parseParameters({ action: 'send-message', subject: 'Hi' });
|
|
121
|
+
expect(result.action).toBe('send-message');
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
test('parses JSON string', () => {
|
|
125
|
+
const tool = new AgentCommunicationTool();
|
|
126
|
+
const result = tool.parseParameters('{"action": "get-available-agents"}');
|
|
127
|
+
expect(result.action).toBe('get-available-agents');
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
test('parses XML-style content', () => {
|
|
131
|
+
const tool = new AgentCommunicationTool();
|
|
132
|
+
const result = tool.parseParameters('<action>send-message</action><subject>Hello</subject>');
|
|
133
|
+
expect(result.action).toBe('send-message');
|
|
134
|
+
expect(result.subject).toBe('Hello');
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
test('returns empty object for null input', () => {
|
|
138
|
+
const tool = new AgentCommunicationTool();
|
|
139
|
+
const result = tool.parseParameters(null);
|
|
140
|
+
expect(result).toEqual({});
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
// ── execute - missing action ────────────────────────────────────
|
|
145
|
+
describe('execute - missing params', () => {
|
|
146
|
+
test('throws when action is missing', async () => {
|
|
147
|
+
const { tool, context } = createTestSetup();
|
|
148
|
+
await expect(tool.execute({}, context)).rejects.toThrow('Action parameter is required');
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
test('throws when agentId is missing from context', async () => {
|
|
152
|
+
const { tool } = createTestSetup();
|
|
153
|
+
await expect(tool.execute({ action: 'get-available-agents' }, {}))
|
|
154
|
+
.rejects.toThrow('Agent ID is required');
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
test('throws for unknown action', async () => {
|
|
158
|
+
const { tool, context } = createTestSetup();
|
|
159
|
+
await expect(tool.execute({ action: 'teleport' }, context))
|
|
160
|
+
.rejects.toThrow('Unknown action');
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
test('REGRESSION: {actions:[{type}]} (no top-level action) is recovered, not rejected', async () => {
|
|
164
|
+
// Users hit "first call rejected for missing parameter, second
|
|
165
|
+
// works with same syntax". Root cause: when the LLM nested the
|
|
166
|
+
// actions array inside a `parameters` wrapper, tagParser passed
|
|
167
|
+
// through `{actions: [{type: "get-available-agents"}]}` without
|
|
168
|
+
// hoisting the action up. This pinned the recovery path.
|
|
169
|
+
const { tool, context } = createTestSetup();
|
|
170
|
+
const result = await tool.execute(
|
|
171
|
+
{ actions: [{ type: 'get-available-agents' }] },
|
|
172
|
+
context,
|
|
173
|
+
);
|
|
174
|
+
expect(result.success).toBe(true);
|
|
175
|
+
expect(result.agents).toHaveLength(1);
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
test('REGRESSION: {actions:[{type,recipient,...}]} hoists fields too', async () => {
|
|
179
|
+
// Make sure the recovery path also surfaces send-message params
|
|
180
|
+
// (recipient, subject, message) when nested inside actions[0].
|
|
181
|
+
const { tool, context } = createTestSetup();
|
|
182
|
+
const result = await tool.execute(
|
|
183
|
+
{
|
|
184
|
+
actions: [{
|
|
185
|
+
type: 'send-message',
|
|
186
|
+
recipient: 'agent-recipient',
|
|
187
|
+
subject: 'Hi',
|
|
188
|
+
message: 'Hello world',
|
|
189
|
+
}],
|
|
190
|
+
},
|
|
191
|
+
context,
|
|
192
|
+
);
|
|
193
|
+
expect(result.success).toBe(true);
|
|
194
|
+
expect(result.messageId).toBeDefined();
|
|
195
|
+
expect(result.recipients).toEqual(['agent-recipient']);
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
// ── get-available-agents ────────────────────────────────────────
|
|
200
|
+
describe('execute - get-available-agents', () => {
|
|
201
|
+
test('returns list excluding requesting agent', async () => {
|
|
202
|
+
const { tool, context } = createTestSetup();
|
|
203
|
+
const result = await tool.execute({ action: 'get-available-agents' }, context);
|
|
204
|
+
expect(result.success).toBe(true);
|
|
205
|
+
expect(result.agents).toHaveLength(1);
|
|
206
|
+
expect(result.agents[0].id).toBe('agent-recipient');
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
test('includes message stats for each agent', async () => {
|
|
210
|
+
const { tool, context } = createTestSetup();
|
|
211
|
+
const result = await tool.execute({ action: 'get-available-agents' }, context);
|
|
212
|
+
expect(result.agents[0].messageStats).toBeDefined();
|
|
213
|
+
});
|
|
214
|
+
|
|
215
|
+
test('returns error when agentPool missing', async () => {
|
|
216
|
+
const { tool } = createTestSetup();
|
|
217
|
+
const result = await tool.execute(
|
|
218
|
+
{ action: 'get-available-agents' },
|
|
219
|
+
{ agentId: 'agent-sender', agentPool: null }
|
|
220
|
+
);
|
|
221
|
+
// Should catch internally and return success: false
|
|
222
|
+
expect(result.success).toBe(false);
|
|
223
|
+
expect(result.error).toBeDefined();
|
|
224
|
+
});
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
// ── send-message ────────────────────────────────────────────────
|
|
228
|
+
describe('execute - send-message', () => {
|
|
229
|
+
test('sends message to recipient successfully', async () => {
|
|
230
|
+
const { tool, context } = createTestSetup();
|
|
231
|
+
const result = await tool.execute({
|
|
232
|
+
action: 'send-message',
|
|
233
|
+
recipient: 'agent-recipient',
|
|
234
|
+
subject: 'Review code',
|
|
235
|
+
message: 'Please review the auth module'
|
|
236
|
+
}, context);
|
|
237
|
+
expect(result.success).toBe(true);
|
|
238
|
+
expect(result.messageId).toBeDefined();
|
|
239
|
+
expect(result.conversationId).toBeDefined();
|
|
240
|
+
expect(result.recipients).toContain('agent-recipient');
|
|
241
|
+
});
|
|
242
|
+
|
|
243
|
+
test('errors when subject is missing', async () => {
|
|
244
|
+
const { tool, context } = createTestSetup();
|
|
245
|
+
const result = await tool.execute({
|
|
246
|
+
action: 'send-message',
|
|
247
|
+
recipient: 'agent-recipient',
|
|
248
|
+
message: 'No subject'
|
|
249
|
+
}, context);
|
|
250
|
+
expect(result.success).toBe(false);
|
|
251
|
+
expect(result.error).toContain('Subject and message are required');
|
|
252
|
+
});
|
|
253
|
+
|
|
254
|
+
test('errors when message is missing', async () => {
|
|
255
|
+
const { tool, context } = createTestSetup();
|
|
256
|
+
const result = await tool.execute({
|
|
257
|
+
action: 'send-message',
|
|
258
|
+
recipient: 'agent-recipient',
|
|
259
|
+
subject: 'No body'
|
|
260
|
+
}, context);
|
|
261
|
+
expect(result.success).toBe(false);
|
|
262
|
+
});
|
|
263
|
+
|
|
264
|
+
test('errors when no recipient provided', async () => {
|
|
265
|
+
const { tool, context } = createTestSetup();
|
|
266
|
+
const result = await tool.execute({
|
|
267
|
+
action: 'send-message',
|
|
268
|
+
subject: 'Test',
|
|
269
|
+
message: 'Hello'
|
|
270
|
+
}, context);
|
|
271
|
+
expect(result.success).toBe(false);
|
|
272
|
+
expect(result.error).toContain('At least one recipient');
|
|
273
|
+
});
|
|
274
|
+
|
|
275
|
+
test('returns suggestions when recipient not found', async () => {
|
|
276
|
+
const { tool, context, agentPool } = createTestSetup();
|
|
277
|
+
// Mock _canSendMessage to allow (bypass delay check)
|
|
278
|
+
tool._canSendMessage = jest.fn().mockResolvedValue({ allowed: true });
|
|
279
|
+
const result = await tool.execute({
|
|
280
|
+
action: 'send-message',
|
|
281
|
+
recipient: 'agent-nonexistent',
|
|
282
|
+
subject: 'Test',
|
|
283
|
+
message: 'Hello'
|
|
284
|
+
}, context);
|
|
285
|
+
expect(result.success).toBe(false);
|
|
286
|
+
expect(result.suggestion).toBeDefined();
|
|
287
|
+
});
|
|
288
|
+
|
|
289
|
+
test('updates message counts after sending', async () => {
|
|
290
|
+
const { tool, context } = createTestSetup();
|
|
291
|
+
await tool.execute({
|
|
292
|
+
action: 'send-message',
|
|
293
|
+
recipient: 'agent-recipient',
|
|
294
|
+
subject: 'Test',
|
|
295
|
+
message: 'Content'
|
|
296
|
+
}, context);
|
|
297
|
+
const senderStats = tool.agentMessageCounts.get('agent-sender');
|
|
298
|
+
expect(senderStats.sent).toBe(1);
|
|
299
|
+
});
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
// ── reply-to-message ────────────────────────────────────────────
|
|
303
|
+
describe('execute - reply-to-message', () => {
|
|
304
|
+
test('replies to an existing message', async () => {
|
|
305
|
+
const { tool, context } = createTestSetup();
|
|
306
|
+
// Send initial message
|
|
307
|
+
const sendResult = await tool.execute({
|
|
308
|
+
action: 'send-message',
|
|
309
|
+
recipient: 'agent-recipient',
|
|
310
|
+
subject: 'Question',
|
|
311
|
+
message: 'What is the status?'
|
|
312
|
+
}, context);
|
|
313
|
+
const msgId = sendResult.messageId;
|
|
314
|
+
|
|
315
|
+
// Reply as recipient
|
|
316
|
+
const replyResult = await tool.execute({
|
|
317
|
+
action: 'reply-to-message',
|
|
318
|
+
'message-id': msgId,
|
|
319
|
+
message: 'All good!'
|
|
320
|
+
}, { agentId: 'agent-recipient', agentPool: context.agentPool });
|
|
321
|
+
expect(replyResult.success).toBe(true);
|
|
322
|
+
expect(replyResult.depth).toBe(1);
|
|
323
|
+
});
|
|
324
|
+
|
|
325
|
+
test('errors when original message ID missing', async () => {
|
|
326
|
+
const { tool, context } = createTestSetup();
|
|
327
|
+
const result = await tool.execute({
|
|
328
|
+
action: 'reply-to-message',
|
|
329
|
+
message: 'Reply without ID'
|
|
330
|
+
}, context);
|
|
331
|
+
expect(result.success).toBe(false);
|
|
332
|
+
expect(result.error).toContain('Original message ID and reply content are required');
|
|
333
|
+
});
|
|
334
|
+
|
|
335
|
+
test('errors when original message not found', async () => {
|
|
336
|
+
const { tool, context } = createTestSetup();
|
|
337
|
+
const result = await tool.execute({
|
|
338
|
+
action: 'reply-to-message',
|
|
339
|
+
'message-id': 'msg-nonexistent',
|
|
340
|
+
message: 'Reply'
|
|
341
|
+
}, context);
|
|
342
|
+
expect(result.success).toBe(false);
|
|
343
|
+
expect(result.error).toContain('Original message not found');
|
|
344
|
+
});
|
|
345
|
+
|
|
346
|
+
test('errors when sender is not a participant', async () => {
|
|
347
|
+
const { tool, context, agentPool } = createTestSetup();
|
|
348
|
+
// Send message between sender and recipient
|
|
349
|
+
const sendResult = await tool.execute({
|
|
350
|
+
action: 'send-message',
|
|
351
|
+
recipient: 'agent-recipient',
|
|
352
|
+
subject: 'Private',
|
|
353
|
+
message: 'Secret'
|
|
354
|
+
}, context);
|
|
355
|
+
|
|
356
|
+
// Try to reply as an outsider
|
|
357
|
+
const outsider = {
|
|
358
|
+
id: 'agent-outsider', name: 'Outsider', conversations: { full: { messages: [] } }
|
|
359
|
+
};
|
|
360
|
+
agentPool.getAgent.mockImplementation((id) => {
|
|
361
|
+
if (id === 'agent-outsider') return Promise.resolve(outsider);
|
|
362
|
+
if (id === 'agent-sender') return Promise.resolve(context.agentPool);
|
|
363
|
+
return Promise.resolve(null);
|
|
364
|
+
});
|
|
365
|
+
|
|
366
|
+
const result = await tool.execute({
|
|
367
|
+
action: 'reply-to-message',
|
|
368
|
+
'message-id': sendResult.messageId,
|
|
369
|
+
message: 'Eavesdrop'
|
|
370
|
+
}, { agentId: 'agent-outsider', agentPool });
|
|
371
|
+
expect(result.success).toBe(false);
|
|
372
|
+
expect(result.error).toContain('not a participant');
|
|
373
|
+
});
|
|
374
|
+
|
|
375
|
+
test('rejects reply when conversation depth limit reached', async () => {
|
|
376
|
+
const { tool, context } = createTestSetup();
|
|
377
|
+
tool.config.maxConversationDepth = 1;
|
|
378
|
+
|
|
379
|
+
const sendResult = await tool.execute({
|
|
380
|
+
action: 'send-message',
|
|
381
|
+
recipient: 'agent-recipient',
|
|
382
|
+
subject: 'Deep',
|
|
383
|
+
message: 'Start'
|
|
384
|
+
}, context);
|
|
385
|
+
|
|
386
|
+
// First reply (depth 1) - should succeed
|
|
387
|
+
const reply1 = await tool.execute({
|
|
388
|
+
action: 'reply-to-message',
|
|
389
|
+
'message-id': sendResult.messageId,
|
|
390
|
+
message: 'Reply 1'
|
|
391
|
+
}, { agentId: 'agent-recipient', agentPool: context.agentPool });
|
|
392
|
+
expect(reply1.success).toBe(true);
|
|
393
|
+
|
|
394
|
+
// Second reply (depth 2) should fail at depth limit 1
|
|
395
|
+
const reply2 = await tool.execute({
|
|
396
|
+
action: 'reply-to-message',
|
|
397
|
+
'message-id': reply1.messageId,
|
|
398
|
+
message: 'Reply 2'
|
|
399
|
+
}, context);
|
|
400
|
+
expect(reply2.success).toBe(false);
|
|
401
|
+
expect(reply2.error).toContain('depth limit');
|
|
402
|
+
});
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
// ── get-unreplied-messages ──────────────────────────────────────
|
|
406
|
+
describe('execute - get-unreplied-messages', () => {
|
|
407
|
+
test('returns unreplied messages for agent', async () => {
|
|
408
|
+
const { tool, context } = createTestSetup();
|
|
409
|
+
// Send message requiring reply
|
|
410
|
+
await tool.execute({
|
|
411
|
+
action: 'send-message',
|
|
412
|
+
recipient: 'agent-recipient',
|
|
413
|
+
subject: 'Need reply',
|
|
414
|
+
message: 'Please respond',
|
|
415
|
+
'requires-reply': true
|
|
416
|
+
}, context);
|
|
417
|
+
|
|
418
|
+
const result = await tool.execute(
|
|
419
|
+
{ action: 'get-unreplied-messages' },
|
|
420
|
+
{ agentId: 'agent-recipient', agentPool: context.agentPool }
|
|
421
|
+
);
|
|
422
|
+
expect(result.success).toBe(true);
|
|
423
|
+
expect(result.messages.length).toBeGreaterThan(0);
|
|
424
|
+
expect(result.messages[0].subject).toBe('Need reply');
|
|
425
|
+
});
|
|
426
|
+
|
|
427
|
+
test('returns empty list when no messages', async () => {
|
|
428
|
+
const { tool, context } = createTestSetup();
|
|
429
|
+
const result = await tool.execute(
|
|
430
|
+
{ action: 'get-unreplied-messages' },
|
|
431
|
+
{ agentId: 'agent-recipient', agentPool: context.agentPool }
|
|
432
|
+
);
|
|
433
|
+
expect(result.success).toBe(true);
|
|
434
|
+
expect(result.messages).toHaveLength(0);
|
|
435
|
+
});
|
|
436
|
+
});
|
|
437
|
+
|
|
438
|
+
// ── mark-conversation-ended ─────────────────────────────────────
|
|
439
|
+
describe('execute - mark-conversation-ended', () => {
|
|
440
|
+
test('ends a conversation successfully', async () => {
|
|
441
|
+
const { tool, context } = createTestSetup();
|
|
442
|
+
const sendResult = await tool.execute({
|
|
443
|
+
action: 'send-message',
|
|
444
|
+
recipient: 'agent-recipient',
|
|
445
|
+
subject: 'End me',
|
|
446
|
+
message: 'Done'
|
|
447
|
+
}, context);
|
|
448
|
+
|
|
449
|
+
const result = await tool.execute({
|
|
450
|
+
action: 'mark-conversation-ended',
|
|
451
|
+
'conversation-id': sendResult.conversationId,
|
|
452
|
+
reason: 'Work complete'
|
|
453
|
+
}, context);
|
|
454
|
+
expect(result.success).toBe(true);
|
|
455
|
+
expect(result.status).toBe('ended');
|
|
456
|
+
});
|
|
457
|
+
|
|
458
|
+
test('errors when conversation-id is missing', async () => {
|
|
459
|
+
const { tool, context } = createTestSetup();
|
|
460
|
+
const result = await tool.execute(
|
|
461
|
+
{ action: 'mark-conversation-ended' }, context
|
|
462
|
+
);
|
|
463
|
+
expect(result.success).toBe(false);
|
|
464
|
+
expect(result.error).toContain('Conversation ID is required');
|
|
465
|
+
});
|
|
466
|
+
|
|
467
|
+
test('errors for non-existent conversation', async () => {
|
|
468
|
+
const { tool, context } = createTestSetup();
|
|
469
|
+
const result = await tool.execute({
|
|
470
|
+
action: 'mark-conversation-ended',
|
|
471
|
+
'conversation-id': 'conv-nope'
|
|
472
|
+
}, context);
|
|
473
|
+
expect(result.success).toBe(false);
|
|
474
|
+
expect(result.error).toContain('Conversation not found');
|
|
475
|
+
});
|
|
476
|
+
|
|
477
|
+
test('errors when agent is not a participant', async () => {
|
|
478
|
+
const { tool, context, agentPool } = createTestSetup();
|
|
479
|
+
const sendResult = await tool.execute({
|
|
480
|
+
action: 'send-message',
|
|
481
|
+
recipient: 'agent-recipient',
|
|
482
|
+
subject: 'Private',
|
|
483
|
+
message: 'Content'
|
|
484
|
+
}, context);
|
|
485
|
+
|
|
486
|
+
const result = await tool.execute({
|
|
487
|
+
action: 'mark-conversation-ended',
|
|
488
|
+
'conversation-id': sendResult.conversationId
|
|
489
|
+
}, { agentId: 'agent-outsider', agentPool });
|
|
490
|
+
expect(result.success).toBe(false);
|
|
491
|
+
expect(result.error).toContain('not a participant');
|
|
492
|
+
});
|
|
493
|
+
});
|
|
494
|
+
|
|
495
|
+
// ── helper methods ──────────────────────────────────────────────
|
|
496
|
+
describe('_parseRecipients', () => {
|
|
497
|
+
test('parses single recipient string', () => {
|
|
498
|
+
const tool = new AgentCommunicationTool();
|
|
499
|
+
const result = tool._parseRecipients('agent-1', null);
|
|
500
|
+
expect(result).toEqual(['agent-1']);
|
|
501
|
+
});
|
|
502
|
+
|
|
503
|
+
test('parses JSON array of recipients', () => {
|
|
504
|
+
const tool = new AgentCommunicationTool();
|
|
505
|
+
const result = tool._parseRecipients(null, '["agent-1", "agent-2"]');
|
|
506
|
+
expect(result).toEqual(['agent-1', 'agent-2']);
|
|
507
|
+
});
|
|
508
|
+
|
|
509
|
+
test('handles array recipients directly', () => {
|
|
510
|
+
const tool = new AgentCommunicationTool();
|
|
511
|
+
const result = tool._parseRecipients(null, ['agent-1', 'agent-2']);
|
|
512
|
+
expect(result).toEqual(['agent-1', 'agent-2']);
|
|
513
|
+
});
|
|
514
|
+
|
|
515
|
+
test('deduplicates recipients', () => {
|
|
516
|
+
const tool = new AgentCommunicationTool();
|
|
517
|
+
const result = tool._parseRecipients('agent-1', ['agent-1', 'agent-2']);
|
|
518
|
+
expect(result).toEqual(['agent-1', 'agent-2']);
|
|
519
|
+
});
|
|
520
|
+
|
|
521
|
+
test('handles non-JSON string as single recipient', () => {
|
|
522
|
+
const tool = new AgentCommunicationTool();
|
|
523
|
+
const result = tool._parseRecipients(null, 'plain-id');
|
|
524
|
+
expect(result).toEqual(['plain-id']);
|
|
525
|
+
});
|
|
526
|
+
});
|
|
527
|
+
|
|
528
|
+
describe('_processAttachments', () => {
|
|
529
|
+
test('returns empty array for null/undefined', async () => {
|
|
530
|
+
const tool = new AgentCommunicationTool();
|
|
531
|
+
expect(await tool._processAttachments(null, 'agent-1')).toEqual([]);
|
|
532
|
+
expect(await tool._processAttachments(undefined, 'agent-1')).toEqual([]);
|
|
533
|
+
});
|
|
534
|
+
});
|
|
535
|
+
|
|
536
|
+
// ─── Team affiliation in get-available-agents ─────────────────────────
|
|
537
|
+
|
|
538
|
+
describe('team affiliation', () => {
|
|
539
|
+
function createTeamSetup(senderMeta, agentsMeta) {
|
|
540
|
+
const tool = new AgentCommunicationTool({ storageDir: '/tmp/msg-test' });
|
|
541
|
+
tool.logger = createMockLogger();
|
|
542
|
+
|
|
543
|
+
const sender = {
|
|
544
|
+
id: 'agent-mgr', name: 'Manager', type: 'manager', capabilities: [],
|
|
545
|
+
status: 'active', isPaused: false, metadata: senderMeta
|
|
546
|
+
};
|
|
547
|
+
const allAgents = [sender, ...agentsMeta.map((meta, i) => ({
|
|
548
|
+
id: `agent-${i}`, name: `Agent ${i}`, type: 'worker', capabilities: ['code'],
|
|
549
|
+
status: 'active', isPaused: false, metadata: meta
|
|
550
|
+
}))];
|
|
551
|
+
const agentPool = {
|
|
552
|
+
listActiveAgents: jest.fn().mockResolvedValue(allAgents),
|
|
553
|
+
getAgent: jest.fn(id => Promise.resolve(allAgents.find(a => a.id === id)))
|
|
554
|
+
};
|
|
555
|
+
return { tool, agentPool, context: { agentPool, agentId: 'agent-mgr' } };
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
test('sameTeam is true when agents share a team (new format)', async () => {
|
|
559
|
+
const { tool, context } = createTeamSetup(
|
|
560
|
+
{ teams: [{ id: 'team-a', name: 'Alpha', role: 'manager' }] },
|
|
561
|
+
[{ teams: [{ id: 'team-a', name: 'Alpha', role: 'member' }] }]
|
|
562
|
+
);
|
|
563
|
+
const result = await tool.getAvailableAgents('agent-mgr', {}, context);
|
|
564
|
+
expect(result.success).toBe(true);
|
|
565
|
+
expect(result.agents[0].sameTeam).toBe(true);
|
|
566
|
+
expect(result.agents[0].sharedTeams).toContain('team-a');
|
|
567
|
+
});
|
|
568
|
+
|
|
569
|
+
test('sameTeam is false when agents are on different teams', async () => {
|
|
570
|
+
const { tool, context } = createTeamSetup(
|
|
571
|
+
{ teams: [{ id: 'team-a', name: 'Alpha', role: 'manager' }] },
|
|
572
|
+
[{ teams: [{ id: 'team-b', name: 'Beta', role: 'member' }] }]
|
|
573
|
+
);
|
|
574
|
+
const result = await tool.getAvailableAgents('agent-mgr', {}, context);
|
|
575
|
+
expect(result.agents[0].sameTeam).toBe(false);
|
|
576
|
+
expect(result.agents[0].sharedTeams).toEqual([]);
|
|
577
|
+
});
|
|
578
|
+
|
|
579
|
+
test('sameTeam works with legacy single teamId format', async () => {
|
|
580
|
+
const { tool, context } = createTeamSetup(
|
|
581
|
+
{ teamId: 'team-x', teamName: 'X Team', teamRole: 'manager' },
|
|
582
|
+
[{ teamId: 'team-x', teamName: 'X Team', teamRole: 'member' }]
|
|
583
|
+
);
|
|
584
|
+
const result = await tool.getAvailableAgents('agent-mgr', {}, context);
|
|
585
|
+
expect(result.agents[0].sameTeam).toBe(true);
|
|
586
|
+
expect(result.agents[0].sharedTeams).toContain('team-x');
|
|
587
|
+
});
|
|
588
|
+
|
|
589
|
+
test('agent with no team metadata has sameTeam=false and empty teams', async () => {
|
|
590
|
+
const { tool, context } = createTeamSetup(
|
|
591
|
+
{ teams: [{ id: 'team-a', name: 'Alpha', role: 'manager' }] },
|
|
592
|
+
[{}] // no team metadata
|
|
593
|
+
);
|
|
594
|
+
const result = await tool.getAvailableAgents('agent-mgr', {}, context);
|
|
595
|
+
expect(result.agents[0].sameTeam).toBe(false);
|
|
596
|
+
expect(result.agents[0].teams).toEqual([]);
|
|
597
|
+
expect(result.agents[0].sharedTeams).toEqual([]);
|
|
598
|
+
});
|
|
599
|
+
|
|
600
|
+
test('multi-team agent shares subset of teams', async () => {
|
|
601
|
+
const { tool, context } = createTeamSetup(
|
|
602
|
+
{ teams: [{ id: 'team-a', role: 'manager' }, { id: 'team-b', role: 'manager' }] },
|
|
603
|
+
[{ teams: [{ id: 'team-b', role: 'member' }, { id: 'team-c', role: 'member' }] }]
|
|
604
|
+
);
|
|
605
|
+
const result = await tool.getAvailableAgents('agent-mgr', {}, context);
|
|
606
|
+
expect(result.agents[0].sameTeam).toBe(true);
|
|
607
|
+
expect(result.agents[0].sharedTeams).toEqual(['team-b']);
|
|
608
|
+
expect(result.agents[0].teams).toHaveLength(2);
|
|
609
|
+
});
|
|
610
|
+
|
|
611
|
+
test('yourTeams reflects the requesting agent teams', async () => {
|
|
612
|
+
const { tool, context } = createTeamSetup(
|
|
613
|
+
{ teams: [{ id: 'team-a', name: 'Alpha', role: 'manager' }, { id: 'team-b', name: 'Beta', role: 'member' }] },
|
|
614
|
+
[{}]
|
|
615
|
+
);
|
|
616
|
+
const result = await tool.getAvailableAgents('agent-mgr', {}, context);
|
|
617
|
+
expect(result.yourTeams).toHaveLength(2);
|
|
618
|
+
expect(result.yourTeams[0].id).toBe('team-a');
|
|
619
|
+
expect(result.yourTeams[1].id).toBe('team-b');
|
|
620
|
+
});
|
|
621
|
+
|
|
622
|
+
test('yourTeams is null when requesting agent has no teams', async () => {
|
|
623
|
+
const { tool, context } = createTeamSetup({}, [{}]);
|
|
624
|
+
const result = await tool.getAvailableAgents('agent-mgr', {}, context);
|
|
625
|
+
expect(result.yourTeams).toBeNull();
|
|
626
|
+
});
|
|
627
|
+
|
|
628
|
+
test('teamRole is exposed in teams array', async () => {
|
|
629
|
+
const { tool, context } = createTeamSetup(
|
|
630
|
+
{ teams: [{ id: 'team-a', name: 'Alpha', role: 'manager' }] },
|
|
631
|
+
[{ teams: [{ id: 'team-a', name: 'Alpha', role: 'member' }] }]
|
|
632
|
+
);
|
|
633
|
+
const result = await tool.getAvailableAgents('agent-mgr', {}, context);
|
|
634
|
+
expect(result.agents[0].teams[0].role).toBe('member');
|
|
635
|
+
expect(result.yourTeams[0].role).toBe('manager');
|
|
636
|
+
});
|
|
637
|
+
});
|
|
638
|
+
|
|
639
|
+
// Per-agent toolConfig overrides (agent.toolConfig.agentcommunication).
|
|
640
|
+
// Effective limits resolve via BaseTool#getEffectiveConfig at each
|
|
641
|
+
// check-point in the tool.
|
|
642
|
+
describe('per-agent toolConfig overrides', () => {
|
|
643
|
+
test('per-agent maxRecipientsPerMessage overrides global default', async () => {
|
|
644
|
+
const { tool, context } = createTestSetup();
|
|
645
|
+
// Global default = 3; per-agent override = 1 → sending to 2 must fail.
|
|
646
|
+
const result = await tool.sendMessage('agent-sender', {
|
|
647
|
+
recipients: ['agent-recipient', 'agent-other'],
|
|
648
|
+
subject: 's',
|
|
649
|
+
message: 'm',
|
|
650
|
+
}, { ...context, toolConfig: { maxRecipientsPerMessage: 1 } });
|
|
651
|
+
expect(result.success).toBe(false);
|
|
652
|
+
expect(result.error).toMatch(/Maximum 1 recipients allowed/);
|
|
653
|
+
});
|
|
654
|
+
|
|
655
|
+
test('global default still applies when no per-agent override', async () => {
|
|
656
|
+
const { tool, context } = createTestSetup();
|
|
657
|
+
// Global default = 3; 4 recipients fails without any override.
|
|
658
|
+
const result = await tool.sendMessage('agent-sender', {
|
|
659
|
+
recipients: ['a', 'b', 'c', 'd'],
|
|
660
|
+
subject: 's',
|
|
661
|
+
message: 'm',
|
|
662
|
+
}, context);
|
|
663
|
+
expect(result.success).toBe(false);
|
|
664
|
+
expect(result.error).toMatch(/Maximum 3 recipients allowed/);
|
|
665
|
+
});
|
|
666
|
+
|
|
667
|
+
test('per-agent maxAttachmentsPerMessage overrides global default', async () => {
|
|
668
|
+
const { tool, context } = createTestSetup();
|
|
669
|
+
const atts = [
|
|
670
|
+
{ path: '/a.txt' },
|
|
671
|
+
{ path: '/b.txt' },
|
|
672
|
+
{ path: '/c.txt' },
|
|
673
|
+
];
|
|
674
|
+
await expect(
|
|
675
|
+
tool._processAttachments(atts, 'agent-sender', { ...context, toolConfig: { maxAttachmentsPerMessage: 2 } })
|
|
676
|
+
).rejects.toThrow(/Maximum 2 attachments allowed/);
|
|
677
|
+
});
|
|
678
|
+
|
|
679
|
+
test('per-agent maxAttachmentSize overrides global default', async () => {
|
|
680
|
+
const { tool, context } = createTestSetup();
|
|
681
|
+
// Stat returns size 100; override to 10 → too large. The tool's
|
|
682
|
+
// per-attachment try/catch swallows the error and just skips the
|
|
683
|
+
// attachment, so the emitted array is empty. We also assert the
|
|
684
|
+
// error was logged as proof the size gate actually fired.
|
|
685
|
+
fsMock.stat.mockResolvedValue({ size: 100 });
|
|
686
|
+
const errorSpy = jest.spyOn(console, 'error').mockImplementation(() => {});
|
|
687
|
+
const out = await tool._processAttachments([{ path: '/big.txt' }], 'agent-sender', {
|
|
688
|
+
...context,
|
|
689
|
+
toolConfig: { maxAttachmentSize: 10 },
|
|
690
|
+
});
|
|
691
|
+
expect(out).toEqual([]);
|
|
692
|
+
expect(errorSpy).toHaveBeenCalledWith(
|
|
693
|
+
expect.stringMatching(/Failed to process attachment/),
|
|
694
|
+
expect.objectContaining({ message: expect.stringMatching(/exceeds size limit/) })
|
|
695
|
+
);
|
|
696
|
+
errorSpy.mockRestore();
|
|
697
|
+
});
|
|
698
|
+
|
|
699
|
+
test('per-agent maxAttachmentSize ALLOWS attachments within limit', async () => {
|
|
700
|
+
const { tool, context } = createTestSetup();
|
|
701
|
+
fsMock.stat.mockResolvedValue({ size: 50 });
|
|
702
|
+
const out = await tool._processAttachments([{ path: '/small.txt' }], 'agent-sender', {
|
|
703
|
+
...context,
|
|
704
|
+
toolConfig: { maxAttachmentSize: 1024 },
|
|
705
|
+
});
|
|
706
|
+
expect(out).toHaveLength(1);
|
|
707
|
+
});
|
|
708
|
+
|
|
709
|
+
test('per-agent maxConversationDepth caps reply chain', async () => {
|
|
710
|
+
// Start a fresh conversation with a per-agent cap of 1: the first
|
|
711
|
+
// reply goes through, the second hits the limit. Mirrors the
|
|
712
|
+
// existing "rejects reply when conversation depth limit reached"
|
|
713
|
+
// test but drives the cap from context.toolConfig instead of
|
|
714
|
+
// mutating tool.config.
|
|
715
|
+
const { tool, context } = createTestSetup();
|
|
716
|
+
|
|
717
|
+
const sendResult = await tool.execute({
|
|
718
|
+
action: 'send-message',
|
|
719
|
+
recipient: 'agent-recipient',
|
|
720
|
+
subject: 'Deep',
|
|
721
|
+
message: 'Start',
|
|
722
|
+
}, { ...context, toolConfig: { maxConversationDepth: 1 } });
|
|
723
|
+
expect(sendResult.success).toBe(true);
|
|
724
|
+
|
|
725
|
+
// First reply (depth 1) — should succeed even under the cap.
|
|
726
|
+
const reply1 = await tool.execute({
|
|
727
|
+
action: 'reply-to-message',
|
|
728
|
+
'message-id': sendResult.messageId,
|
|
729
|
+
message: 'Reply 1',
|
|
730
|
+
}, { agentId: 'agent-recipient', agentPool: context.agentPool, toolConfig: { maxConversationDepth: 1 } });
|
|
731
|
+
expect(reply1.success).toBe(true);
|
|
732
|
+
|
|
733
|
+
// Second reply — depth now 1, cap is 1, must fail.
|
|
734
|
+
const reply2 = await tool.execute({
|
|
735
|
+
action: 'reply-to-message',
|
|
736
|
+
'message-id': reply1.messageId,
|
|
737
|
+
message: 'Reply 2',
|
|
738
|
+
}, { ...context, toolConfig: { maxConversationDepth: 1 } });
|
|
739
|
+
expect(reply2.success).toBe(false);
|
|
740
|
+
expect(reply2.error).toMatch(/depth limit reached \(1\)/);
|
|
741
|
+
});
|
|
742
|
+
|
|
743
|
+
test('_processAttachments with no context uses global config (backward compat)', async () => {
|
|
744
|
+
const { tool } = createTestSetup();
|
|
745
|
+
// Global = 5; 4 atts → ok (stat mocked to size 100, global max = 10MB).
|
|
746
|
+
fsMock.stat.mockResolvedValue({ size: 100 });
|
|
747
|
+
const atts = [{ path: '/a.txt' }, { path: '/b.txt' }];
|
|
748
|
+
const out = await tool._processAttachments(atts, 'agent-sender');
|
|
749
|
+
expect(Array.isArray(out)).toBe(true);
|
|
750
|
+
});
|
|
751
|
+
});
|
|
752
|
+
});
|