zcbot 1.10.0__tar.gz

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.
Files changed (609) hide show
  1. zcbot-1.10.0/LICENSE +230 -0
  2. zcbot-1.10.0/MANIFEST.in +10 -0
  3. zcbot-1.10.0/PKG-INFO +167 -0
  4. zcbot-1.10.0/README.md +135 -0
  5. zcbot-1.10.0/VERSION +1 -0
  6. zcbot-1.10.0/core_plugins/__init__.py +2 -0
  7. zcbot-1.10.0/core_plugins/aiwriter/__init__.py +0 -0
  8. zcbot-1.10.0/core_plugins/aiwriter/agent.py +107 -0
  9. zcbot-1.10.0/core_plugins/aiwriter/llm.py +107 -0
  10. zcbot-1.10.0/core_plugins/aiwriter/main.py +928 -0
  11. zcbot-1.10.0/core_plugins/aiwriter/prompt.py +70 -0
  12. zcbot-1.10.0/core_plugins/aiwriter/requirements.txt +1 -0
  13. zcbot-1.10.0/core_plugins/aiwriter/session.py +221 -0
  14. zcbot-1.10.0/core_plugins/aiwriter/tools.py +604 -0
  15. zcbot-1.10.0/core_plugins/aiwriter/tui.py +1005 -0
  16. zcbot-1.10.0/core_plugins/discord/__init__.py +1 -0
  17. zcbot-1.10.0/core_plugins/discord/main.py +717 -0
  18. zcbot-1.10.0/core_plugins/echo/__init__.py +1 -0
  19. zcbot-1.10.0/core_plugins/echo/main.py +66 -0
  20. zcbot-1.10.0/core_plugins/help/__init__.py +0 -0
  21. zcbot-1.10.0/core_plugins/help/main.py +72 -0
  22. zcbot-1.10.0/core_plugins/html_assembler/__init__.py +0 -0
  23. zcbot-1.10.0/core_plugins/html_assembler/engine.py +353 -0
  24. zcbot-1.10.0/core_plugins/html_assembler/main.py +140 -0
  25. zcbot-1.10.0/core_plugins/http_api/__init__.py +0 -0
  26. zcbot-1.10.0/core_plugins/http_api/main.py +502 -0
  27. zcbot-1.10.0/core_plugins/http_inject/__init__.py +0 -0
  28. zcbot-1.10.0/core_plugins/http_inject/main.py +213 -0
  29. zcbot-1.10.0/core_plugins/image_renderer/__init__.py +0 -0
  30. zcbot-1.10.0/core_plugins/image_renderer/charset_common.txt +2 -0
  31. zcbot-1.10.0/core_plugins/image_renderer/charset_ext.txt +2 -0
  32. zcbot-1.10.0/core_plugins/image_renderer/main.py +1076 -0
  33. zcbot-1.10.0/core_plugins/image_renderer/msyh_subset_common.ttf +0 -0
  34. zcbot-1.10.0/core_plugins/image_renderer/msyh_subset_ext.ttf +0 -0
  35. zcbot-1.10.0/core_plugins/image_renderer/native/bin/linux-aarch64/zcbot_render.so +0 -0
  36. zcbot-1.10.0/core_plugins/image_renderer/native/bin/linux-armv7/zcbot_render.so +0 -0
  37. zcbot-1.10.0/core_plugins/image_renderer/native/bin/linux-i686/zcbot_render.so +0 -0
  38. zcbot-1.10.0/core_plugins/image_renderer/native/bin/linux-loongarch64/zcbot_render.so +0 -0
  39. zcbot-1.10.0/core_plugins/image_renderer/native/bin/linux-x86_64/zcbot_render.so +0 -0
  40. zcbot-1.10.0/core_plugins/image_renderer/native/bin/win64/.gitkeep +2 -0
  41. zcbot-1.10.0/core_plugins/image_renderer/native/build_log.txt +0 -0
  42. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/adler2-60e0f389d9a839a2/lib-adler2.json +1 -0
  43. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/adler2-f0df85187edd40b4/lib-adler2.json +1 -0
  44. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/allocator-api2-444491f58dce4a64/lib-allocator_api2.json +1 -0
  45. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/allocator-api2-6a2dcdde8d9c54c0/lib-allocator_api2.json +1 -0
  46. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/autocfg-839c30db35f6bf7a/lib-autocfg.json +1 -0
  47. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/autocfg-bea47de417134ff0/lib-autocfg.json +1 -0
  48. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/bitflags-657147261055007f/lib-bitflags.json +1 -0
  49. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/bitflags-9adf6a2300ecb6f4/lib-bitflags.json +1 -0
  50. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/bytemuck-10bf5cd863881013/lib-bytemuck.json +1 -0
  51. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/bytemuck-d0235cf33fead1f7/lib-bytemuck.json +1 -0
  52. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/byteorder-lite-03c69a501902d7d0/lib-byteorder_lite.json +1 -0
  53. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/byteorder-lite-044f156e2e2cff3e/lib-byteorder_lite.json +1 -0
  54. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/cfg-if-3c6fbde612da8706/lib-cfg_if.json +1 -0
  55. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/cfg-if-ed9beea493f62c32/lib-cfg_if.json +1 -0
  56. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/core_maths-49a57f2c6b9adccd/lib-core_maths.json +1 -0
  57. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/core_maths-f7d11df06b84ca34/lib-core_maths.json +1 -0
  58. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/crc32fast-002f496849e96dce/run-build-script-build-script-build.json +1 -0
  59. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/crc32fast-8ce485404ec24ee4/build-script-build-script-build.json +1 -0
  60. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/crc32fast-a565ca6ecf60e974/lib-crc32fast.json +1 -0
  61. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/crc32fast-ccdd9cc94c822748/build-script-build-script-build.json +1 -0
  62. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/crc32fast-debd5611b55e6254/run-build-script-build-script-build.json +1 -0
  63. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/crc32fast-fc26abab7d402e28/lib-crc32fast.json +1 -0
  64. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/equivalent-de5f31ed4cb78e47/lib-equivalent.json +1 -0
  65. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/equivalent-f3bc8f123b74f73a/lib-equivalent.json +1 -0
  66. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/fdeflate-57b0ca2858ea0590/lib-fdeflate.json +1 -0
  67. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/fdeflate-da61824180c8697a/lib-fdeflate.json +1 -0
  68. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/flate2-03dda1a44c86b1dd/lib-flate2.json +1 -0
  69. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/flate2-77baef1877b7ff9c/lib-flate2.json +1 -0
  70. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/foldhash-0cbab29fbe81acc0/lib-foldhash.json +1 -0
  71. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/foldhash-232f5c2b42ba74eb/lib-foldhash.json +1 -0
  72. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/fontdue-74fe9201df08857c/lib-fontdue.json +1 -0
  73. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/fontdue-d00ed7d4556b9287/lib-fontdue.json +1 -0
  74. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/hashbrown-14177460a716ad11/lib-hashbrown.json +1 -0
  75. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/hashbrown-20a3ed3242ffd34a/lib-hashbrown.json +1 -0
  76. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/heck-140f68f05deb8a6a/lib-heck.json +1 -0
  77. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/heck-5118a0c687ad7ebf/lib-heck.json +1 -0
  78. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/image-27c504da68dfe5e0/lib-image.json +1 -0
  79. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/image-c9f198ea6eccf354/lib-image.json +1 -0
  80. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/indoc-804bf973066b1da0/lib-indoc.json +1 -0
  81. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/indoc-8d90f9c2dbcfce5c/lib-indoc.json +1 -0
  82. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libc-4baeab7477aa1fb0/build-script-build-script-build.json +1 -0
  83. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libc-4c8dad10963c297a/run-build-script-build-script-build.json +1 -0
  84. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libc-962e07e8c93997d6/build-script-build-script-build.json +1 -0
  85. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libc-ba40758695074df5/lib-libc.json +1 -0
  86. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libc-d79539ec5fee31fd/lib-libc.json +1 -0
  87. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libc-edb3776a26d319a6/run-build-script-build-script-build.json +1 -0
  88. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libm-0fb3efbc291f844c/lib-libm.json +1 -0
  89. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libm-2560d93d509df909/run-build-script-build-script-build.json +1 -0
  90. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libm-2c403b1b643e5299/build-script-build-script-build.json +1 -0
  91. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libm-331266db6b7c9099/run-build-script-build-script-build.json +1 -0
  92. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libm-8f6147356e4cd6a2/build-script-build-script-build.json +1 -0
  93. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/libm-da46b819873a0de0/lib-libm.json +1 -0
  94. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/memoffset-341bbab307f62b8e/run-build-script-build-script-build.json +1 -0
  95. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/memoffset-53da34981eced0a4/run-build-script-build-script-build.json +1 -0
  96. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/memoffset-6911e4b47ea722b8/lib-memoffset.json +1 -0
  97. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/memoffset-7150b07120e335bc/build-script-build-script-build.json +1 -0
  98. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/memoffset-a6f9ece644c54080/build-script-build-script-build.json +1 -0
  99. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/memoffset-ff6594d5eb48889f/lib-memoffset.json +1 -0
  100. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/miniz_oxide-5b03085b9e16fdf3/lib-miniz_oxide.json +1 -0
  101. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/miniz_oxide-a48fc48d4fb45ca8/lib-miniz_oxide.json +1 -0
  102. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/moxcms-431d500412313cc5/lib-moxcms.json +1 -0
  103. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/moxcms-5974e28f95fc6dc5/lib-moxcms.json +1 -0
  104. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/num-traits-04cca2d6d5f200b5/build-script-build-script-build.json +1 -0
  105. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/num-traits-412858521e64181d/lib-num_traits.json +1 -0
  106. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/num-traits-5596bd3eeadfbf05/build-script-build-script-build.json +1 -0
  107. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/num-traits-bb96e9e68ec85a5e/run-build-script-build-script-build.json +1 -0
  108. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/num-traits-ee093734d4d34162/run-build-script-build-script-build.json +1 -0
  109. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/num-traits-f3c86490576ab8c3/lib-num_traits.json +1 -0
  110. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/once_cell-03c0e091aa9dc081/lib-once_cell.json +1 -0
  111. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/once_cell-214a9ef388a67619/lib-once_cell.json +1 -0
  112. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/once_cell-45259d3b6d9f1199/lib-once_cell.json +1 -0
  113. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/once_cell-4a5c55417b5defe6/lib-once_cell.json +1 -0
  114. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/png-8909a5e9c7304858/lib-png.json +1 -0
  115. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/png-b190385f4004d6d0/lib-png.json +1 -0
  116. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/proc-macro2-0cdf1aa860a34b42/build-script-build-script-build.json +1 -0
  117. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/proc-macro2-0f0d0e2b48964f8c/run-build-script-build-script-build.json +1 -0
  118. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/proc-macro2-1365473e44660476/lib-proc_macro2.json +1 -0
  119. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/proc-macro2-5fe21b7e6326112e/run-build-script-build-script-build.json +1 -0
  120. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/proc-macro2-b64e39c3f0a88515/lib-proc_macro2.json +1 -0
  121. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/proc-macro2-bc81195b9e51be24/build-script-build-script-build.json +1 -0
  122. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pxfm-4101b4b7f28eba22/lib-pxfm.json +1 -0
  123. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pxfm-48da70428b6e8f91/lib-pxfm.json +1 -0
  124. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-07dc509a5abaa4bd/build-script-build-script-build.json +1 -0
  125. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-1a979946b8854413/build-script-build-script-build.json +1 -0
  126. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-2539d9e53b11cace/run-build-script-build-script-build.json +1 -0
  127. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-793708b9739ec55f/run-build-script-build-script-build.json +1 -0
  128. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-af03276eb0d2b18d/lib-pyo3.json +1 -0
  129. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-build-config-0f76c09571dbc0df/build-script-build-script-build.json +1 -0
  130. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-build-config-356b44667a2e4cc5/build-script-build-script-build.json +1 -0
  131. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-build-config-41996710caf3f660/run-build-script-build-script-build.json +1 -0
  132. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-build-config-43163ad51bdec9c0/lib-pyo3_build_config.json +1 -0
  133. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-build-config-87bf1c399d4f6583/lib-pyo3_build_config.json +1 -0
  134. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-build-config-f00e4e1c8102b8f8/run-build-script-build-script-build.json +1 -0
  135. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-ffi-27fbea920ea1dcf5/run-build-script-build-script-build.json +1 -0
  136. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-ffi-78a78e120d4608ed/lib-pyo3_ffi.json +1 -0
  137. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-ffi-b97d190d71f9cb9c/run-build-script-build-script-build.json +1 -0
  138. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-ffi-c1ec9fff47c01e3a/build-script-build-script-build.json +1 -0
  139. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-ffi-cc9415eb8b62c8e1/build-script-build-script-build.json +1 -0
  140. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-ffi-ec00601cd3067b2e/lib-pyo3_ffi.json +1 -0
  141. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-macros-backend-2bc4098ac5ea54ea/build-script-build-script-build.json +1 -0
  142. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-macros-backend-50e7897e819f71a0/run-build-script-build-script-build.json +1 -0
  143. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-macros-backend-6a6cd065544bc915/build-script-build-script-build.json +1 -0
  144. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-macros-backend-708a096532d429fd/lib-pyo3_macros_backend.json +1 -0
  145. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-macros-backend-9d168c5cbb19c45b/run-build-script-build-script-build.json +1 -0
  146. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-macros-backend-f093fb5432f8a592/lib-pyo3_macros_backend.json +1 -0
  147. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/pyo3-macros-cb98f6f4c41a09e2/lib-pyo3_macros.json +1 -0
  148. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/quote-0cc8eddd94b56120/build-script-build-script-build.json +1 -0
  149. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/quote-259b94fdd086baa6/lib-quote.json +1 -0
  150. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/quote-5bb089ed6cbd99d4/build-script-build-script-build.json +1 -0
  151. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/quote-a1fc150556ace7d5/run-build-script-build-script-build.json +1 -0
  152. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/quote-d736d5e25070f17a/run-build-script-build-script-build.json +1 -0
  153. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/quote-fe137dd09296fcd9/lib-quote.json +1 -0
  154. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/simd-adler32-30dd3d0bd68c6837/lib-simd_adler32.json +1 -0
  155. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/simd-adler32-cfe751f4465701f2/lib-simd_adler32.json +1 -0
  156. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/syn-9c487ca4c75cdcf2/lib-syn.json +1 -0
  157. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/syn-cdf9c79a302c0ca1/lib-syn.json +1 -0
  158. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/target-lexicon-40f60cdca584a140/build-script-build-script-build.json +1 -0
  159. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/target-lexicon-79e61bcd21c2ef69/run-build-script-build-script-build.json +1 -0
  160. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/target-lexicon-7cd56ad1fbcaa92e/lib-target_lexicon.json +1 -0
  161. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/target-lexicon-82efecdf86795885/build-script-build-script-build.json +1 -0
  162. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/target-lexicon-ab6c7ae6d378df3c/lib-target_lexicon.json +1 -0
  163. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/target-lexicon-c11113d1056608da/run-build-script-build-script-build.json +1 -0
  164. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/ttf-parser-4476d54c98aaf99a/lib-ttf_parser.json +1 -0
  165. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/ttf-parser-6bdfa2b0a316b700/lib-ttf_parser.json +1 -0
  166. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/unicode-ident-4f5b468ec41298da/lib-unicode_ident.json +1 -0
  167. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/unicode-ident-ad577973381505d1/lib-unicode_ident.json +1 -0
  168. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/unindent-2f09a6e9107fd200/lib-unindent.json +1 -0
  169. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/unindent-d040ec9ecbcd83d4/lib-unindent.json +1 -0
  170. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/zcbot_render-5b02cc90b438e824/lib-zcbot_render.json +1 -0
  171. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/zune-core-6fd2987a01740c52/lib-zune_core.json +1 -0
  172. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/zune-core-ab79956116b96467/lib-zune_core.json +1 -0
  173. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/zune-jpeg-b08abf620e0f22f0/lib-zune_jpeg.json +1 -0
  174. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/.fingerprint/zune-jpeg-dac268e8263290cd/lib-zune_jpeg.json +1 -0
  175. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/build/pyo3-build-config-41996710caf3f660/out/pyo3-build-config-file.txt +0 -0
  176. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/build/pyo3-build-config-41996710caf3f660/out/pyo3-build-config.txt +11 -0
  177. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/build/pyo3-build-config-f00e4e1c8102b8f8/out/pyo3-build-config-file.txt +0 -0
  178. zcbot-1.10.0/core_plugins/image_renderer/native/target/release/build/pyo3-build-config-f00e4e1c8102b8f8/out/pyo3-build-config.txt +11 -0
  179. zcbot-1.10.0/core_plugins/image_renderer/requirements.txt +1 -0
  180. zcbot-1.10.0/core_plugins/llm_load/main.py +348 -0
  181. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/_conf_schema.json +112 -0
  182. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/agent.py +219 -0
  183. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/history.py +497 -0
  184. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/main.py +1114 -0
  185. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/mcp.py +268 -0
  186. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/media.py +200 -0
  187. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/providers.py +324 -0
  188. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/tools.py +454 -0
  189. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/web/index.html +86 -0
  190. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/web/overview.html +177 -0
  191. zcbot-1.10.0/core_plugins/llm_load/src/llm_core/web/sessions.html +525 -0
  192. zcbot-1.10.0/core_plugins/onebot_adapter/__init__.py +0 -0
  193. zcbot-1.10.0/core_plugins/onebot_adapter/main.py +743 -0
  194. zcbot-1.10.0/core_plugins/onebot_adapter/onebot_api.py +268 -0
  195. zcbot-1.10.0/core_plugins/qq_official/__init__.py +1 -0
  196. zcbot-1.10.0/core_plugins/qq_official/main.py +1932 -0
  197. zcbot-1.10.0/core_plugins/rust_accel/__init__.py +0 -0
  198. zcbot-1.10.0/core_plugins/rust_accel/bench.py +116 -0
  199. zcbot-1.10.0/core_plugins/rust_accel/it_smoke.py +104 -0
  200. zcbot-1.10.0/core_plugins/rust_accel/main.py +612 -0
  201. zcbot-1.10.0/core_plugins/rust_accel/plugin_smoke.py +147 -0
  202. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/block-buffer-b7f9b38f5360d590/lib-block_buffer.json +1 -0
  203. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/byteorder-5110583a8f025ce2/lib-byteorder.json +1 -0
  204. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/byteorder-ed9f785eb665e22b/lib-byteorder.json +1 -0
  205. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/bytes-2f9d322571dba0cb/lib-bytes.json +1 -0
  206. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/bytes-d46f851b694f155e/lib-bytes.json +1 -0
  207. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/cfg-if-15ac546cc1032930/lib-cfg_if.json +1 -0
  208. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/cfg-if-81a34b24e83fe16b/lib-cfg_if.json +1 -0
  209. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/cpufeatures-43b6b6a446baee3a/lib-cpufeatures.json +1 -0
  210. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/cpufeatures-ea6e7549bd47a192/lib-cpufeatures.json +1 -0
  211. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/crypto-common-70c1221d6fe5691f/lib-crypto_common.json +1 -0
  212. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/data-encoding-68d8e22446189e40/lib-data_encoding.json +1 -0
  213. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/data-encoding-a82ddca3fe1b57e1/lib-data_encoding.json +1 -0
  214. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/digest-4ccc7bfecae921ed/lib-digest.json +1 -0
  215. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/futures-core-5a206671efb93e5b/lib-futures_core.json +1 -0
  216. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/futures-sink-5c274d0b6d3e99da/lib-futures_sink.json +1 -0
  217. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/futures-sink-cf17326a98da966b/lib-futures_sink.json +1 -0
  218. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/futures-task-0fa5ce4510002509/lib-futures_task.json +1 -0
  219. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/futures-task-3475443fbd197879/lib-futures_task.json +1 -0
  220. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/generic-array-29bf4c77a6a36b47/lib-generic_array.json +1 -0
  221. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/generic-array-ae256c96f7ea5771/build-script-build-script-build.json +1 -0
  222. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/generic-array-bbd6fb8cc2b26da2/run-build-script-build-script-build.json +1 -0
  223. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/generic-array-bf6ff93ff769cef3/run-build-script-build-script-build.json +1 -0
  224. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/generic-array-fc867d087c4417f3/build-script-build-script-build.json +1 -0
  225. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/getrandom-94fbdac55cc0e135/lib-getrandom.json +1 -0
  226. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/getrandom-b0244f2f98a985bc/lib-getrandom.json +1 -0
  227. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/http-471dc769cf2eb91d/lib-http.json +1 -0
  228. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/http-a74827a6c68d13f3/lib-http.json +1 -0
  229. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/httparse-7ffb9ff69ea8f692/build-script-build-script-build.json +1 -0
  230. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/httparse-8398ee54dcd843c9/build-script-build-script-build.json +1 -0
  231. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/httparse-9101ce2337e3bff5/lib-httparse.json +1 -0
  232. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/httparse-e341ff7defbaf542/run-build-script-build-script-build.json +1 -0
  233. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/itoa-a471049e27fddcc1/lib-itoa.json +1 -0
  234. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/itoa-b66c244a06960eae/lib-itoa.json +1 -0
  235. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/log-4384d00572348f83/lib-log.json +1 -0
  236. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/log-7319a8589759f8e6/lib-log.json +1 -0
  237. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/memchr-839f5854322b145b/lib-memchr.json +1 -0
  238. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/mio-f0f98e52ac92f0ec/lib-mio.json +1 -0
  239. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/pin-project-lite-3cd8b79b8de92f55/lib-pin_project_lite.json +1 -0
  240. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/pin-project-lite-d363cb2089899577/lib-pin_project_lite.json +1 -0
  241. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/proc-macro2-8689ac220f1d613c/run-build-script-build-script-build.json +1 -0
  242. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/proc-macro2-d7b1169fa0777042/build-script-build-script-build.json +1 -0
  243. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/proc-macro2-ee2c524f2ec88397/lib-proc_macro2.json +1 -0
  244. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/proc-macro2-f5e3e717f5fbf6de/build-script-build-script-build.json +1 -0
  245. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/quote-0898d32afe80c218/run-build-script-build-script-build.json +1 -0
  246. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/quote-77fd950fd7a7c4b5/build-script-build-script-build.json +1 -0
  247. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/quote-9fb9ee7c0d9b5de8/build-script-build-script-build.json +1 -0
  248. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/quote-d9ee40e57fe36f52/lib-quote.json +1 -0
  249. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/quote-ec29f4f7be257884/run-build-script-build-script-build.json +1 -0
  250. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/rand_core-23d374d3fb9423ac/lib-rand_core.json +1 -0
  251. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/rand_core-bae7f18c75a7f5e0/lib-rand_core.json +1 -0
  252. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde-3f62421dace0ca37/build-script-build-script-build.json +1 -0
  253. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde-d90a96f062c4acde/build-script-build-script-build.json +1 -0
  254. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde-f90fee3f7d441a44/run-build-script-build-script-build.json +1 -0
  255. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde_core-7d14e87044786ddd/build-script-build-script-build.json +1 -0
  256. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde_core-af0aacbfe80dc624/build-script-build-script-build.json +1 -0
  257. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde_core-d3bf9d7020559541/lib-serde_core.json +1 -0
  258. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde_core-d443095cf9adbd69/run-build-script-build-script-build.json +1 -0
  259. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde_json-244596be6c04721c/build-script-build-script-build.json +1 -0
  260. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde_json-a00b003936c9ac11/run-build-script-build-script-build.json +1 -0
  261. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde_json-c0b8cbf60e100957/lib-serde_json.json +1 -0
  262. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/serde_json-c738827fd19d3ca5/build-script-build-script-build.json +1 -0
  263. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/sha1-449be2079d06c309/lib-sha1.json +1 -0
  264. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/slab-c66cf6f917fdd609/lib-slab.json +1 -0
  265. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/socket2-0ca59a6684afff67/lib-socket2.json +1 -0
  266. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/socket2-e63b6385905221ad/lib-socket2.json +1 -0
  267. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/syn-7cc5744fac1d5c76/lib-syn.json +1 -0
  268. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/syn-91790193a39c9e80/lib-syn.json +1 -0
  269. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/thiserror-17ff965ec4f0d3c9/run-build-script-build-script-build.json +1 -0
  270. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/thiserror-39bab743d755ba30/build-script-build-script-build.json +1 -0
  271. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/thiserror-3ebfe228d5acaf75/build-script-build-script-build.json +1 -0
  272. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/thiserror-8126a2568002f807/run-build-script-build-script-build.json +1 -0
  273. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/typenum-7abc7fe51c27c97f/lib-typenum.json +1 -0
  274. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/typenum-9c0af58e6325d920/lib-typenum.json +1 -0
  275. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/unicode-ident-1f541c5e2ba2bb87/lib-unicode_ident.json +1 -0
  276. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/unicode-ident-278812adf962e6af/lib-unicode_ident.json +1 -0
  277. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/utf-8-198b05e17be54bd5/lib-utf8.json +1 -0
  278. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/version_check-5d7fe9b4c6165ce8/lib-version_check.json +1 -0
  279. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/version_check-9eeabdd3500b2be7/lib-version_check.json +1 -0
  280. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/windows-link-923bea013f34b97a/lib-windows_link.json +1 -0
  281. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/windows-link-a6df22b01e120c7b/lib-windows_link.json +1 -0
  282. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/zerocopy-3178be3d5adcda93/lib-zerocopy.json +1 -0
  283. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/zerocopy-a956ca345fcffb1c/build-script-build-script-build.json +1 -0
  284. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/zerocopy-ac0916ec8e4ce420/build-script-build-script-build.json +1 -0
  285. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/zerocopy-cf7fe92b5978139b/run-build-script-build-script-build.json +1 -0
  286. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/zmij-0ca82a9ff3a9c2b5/build-script-build-script-build.json +1 -0
  287. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/zmij-306d51a67fcc8a78/run-build-script-build-script-build.json +1 -0
  288. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/zmij-672d4a7360f4b1f6/run-build-script-build-script-build.json +1 -0
  289. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/zmij-6a85214a9a7e534d/build-script-build-script-build.json +1 -0
  290. zcbot-1.10.0/core_plugins/rust_accel/rust_accel/target/debug/.fingerprint/zmij-fff15df10af687db/lib-zmij.json +1 -0
  291. zcbot-1.10.0/core_plugins/scheduler/__init__.py +0 -0
  292. zcbot-1.10.0/core_plugins/scheduler/main.py +66 -0
  293. zcbot-1.10.0/core_plugins/session/__init__.py +0 -0
  294. zcbot-1.10.0/core_plugins/session/main.py +300 -0
  295. zcbot-1.10.0/core_plugins/telegram/__init__.py +1 -0
  296. zcbot-1.10.0/core_plugins/telegram/main.py +673 -0
  297. zcbot-1.10.0/core_plugins/webui/__init__.py +0 -0
  298. zcbot-1.10.0/core_plugins/webui/main.py +60 -0
  299. zcbot-1.10.0/core_plugins/webui/requirements.txt +9 -0
  300. zcbot-1.10.0/core_plugins/webui/web/css/app.BanK8BdW.css +1 -0
  301. zcbot-1.10.0/core_plugins/webui/web/index.html +22 -0
  302. zcbot-1.10.0/core_plugins/webui/web/js/ApiKeys.Diw8PjX5.js +2 -0
  303. zcbot-1.10.0/core_plugins/webui/web/js/Commands.DPo7lPC_.js +2 -0
  304. zcbot-1.10.0/core_plugins/webui/web/js/Connection.C4KLgHQP.js +1 -0
  305. zcbot-1.10.0/core_plugins/webui/web/js/Dashboard.DQSpFyP0.js +1 -0
  306. zcbot-1.10.0/core_plugins/webui/web/js/Database.DbUIOmoy.js +2 -0
  307. zcbot-1.10.0/core_plugins/webui/web/js/FileBrowser.C3D1Dl38.js +1 -0
  308. zcbot-1.10.0/core_plugins/webui/web/js/Groups.CeaX2YWR.js +2 -0
  309. zcbot-1.10.0/core_plugins/webui/web/js/Layout.BYqBNMUU.js +1 -0
  310. zcbot-1.10.0/core_plugins/webui/web/js/Login.mBiyAwvr.js +1 -0
  311. zcbot-1.10.0/core_plugins/webui/web/js/Logs.BZncP8qk.js +1 -0
  312. zcbot-1.10.0/core_plugins/webui/web/js/Marketplace.BdNILCXZ.js +1 -0
  313. zcbot-1.10.0/core_plugins/webui/web/js/Permissions.BWq7pYO2.js +1 -0
  314. zcbot-1.10.0/core_plugins/webui/web/js/PluginWebUI.B86qrAVq.js +2 -0
  315. zcbot-1.10.0/core_plugins/webui/web/js/Plugins.DrM-7ngg.js +2 -0
  316. zcbot-1.10.0/core_plugins/webui/web/js/Runtime.C0ZJPkc-.js +1 -0
  317. zcbot-1.10.0/core_plugins/webui/web/js/Settings.Bjhiw2U6.js +1 -0
  318. zcbot-1.10.0/core_plugins/webui/web/js/Tasks.BXwIK9Cy.js +2 -0
  319. zcbot-1.10.0/core_plugins/webui/web/js/Users.CvsrpMCJ.js +2 -0
  320. zcbot-1.10.0/core_plugins/webui/web/js/api.Cy5WilV3.js +1 -0
  321. zcbot-1.10.0/core_plugins/webui/web/js/app.DqSl3MkR.js +1 -0
  322. zcbot-1.10.0/core_plugins/webui/web/js/core.min.js +81 -0
  323. zcbot-1.10.0/core_plugins/webui/web/js/element-plus.D55LgY9V.js +1 -0
  324. zcbot-1.10.0/core_plugins/webui/web/js/local.debug.js +15 -0
  325. zcbot-1.10.0/core_plugins/webui/web/js/sidebar.DXMHx7n7.js +1 -0
  326. zcbot-1.10.0/core_plugins/webui/web/js/theme-init.js +24 -0
  327. zcbot-1.10.0/core_plugins/webui/web/js/vue-vendor.CBNadUYd.js +1 -0
  328. zcbot-1.10.0/core_plugins/webui/web/js/zc-decoy.js +22 -0
  329. zcbot-1.10.0/core_plugins/ws_client/__init__.py +0 -0
  330. zcbot-1.10.0/core_plugins/ws_client/main.py +475 -0
  331. zcbot-1.10.0/framework/__init__.py +1 -0
  332. zcbot-1.10.0/framework/api/__init__.py +17 -0
  333. zcbot-1.10.0/framework/api/admins.py +86 -0
  334. zcbot-1.10.0/framework/api/apikeys.py +105 -0
  335. zcbot-1.10.0/framework/api/app_helpers.py +560 -0
  336. zcbot-1.10.0/framework/api/auth.py +275 -0
  337. zcbot-1.10.0/framework/api/commands.py +287 -0
  338. zcbot-1.10.0/framework/api/config.py +363 -0
  339. zcbot-1.10.0/framework/api/context.py +42 -0
  340. zcbot-1.10.0/framework/api/dashboard.py +228 -0
  341. zcbot-1.10.0/framework/api/db_gateway.py +136 -0
  342. zcbot-1.10.0/framework/api/files.py +333 -0
  343. zcbot-1.10.0/framework/api/framework_ops.py +110 -0
  344. zcbot-1.10.0/framework/api/framework_update.py +272 -0
  345. zcbot-1.10.0/framework/api/honeypot.py +1725 -0
  346. zcbot-1.10.0/framework/api/human_check.py +186 -0
  347. zcbot-1.10.0/framework/api/logs.py +152 -0
  348. zcbot-1.10.0/framework/api/perm_api.py +320 -0
  349. zcbot-1.10.0/framework/api/plugin_market.py +498 -0
  350. zcbot-1.10.0/framework/api/plugin_meta.py +327 -0
  351. zcbot-1.10.0/framework/api/plugins.py +426 -0
  352. zcbot-1.10.0/framework/api/ratelimit.py +183 -0
  353. zcbot-1.10.0/framework/api/registry.py +167 -0
  354. zcbot-1.10.0/framework/api/security_levels.py +291 -0
  355. zcbot-1.10.0/framework/api/session_tokens.py +212 -0
  356. zcbot-1.10.0/framework/api/static_routes.py +99 -0
  357. zcbot-1.10.0/framework/api/stats.py +155 -0
  358. zcbot-1.10.0/framework/api/tasks.py +185 -0
  359. zcbot-1.10.0/framework/api/users_groups.py +137 -0
  360. zcbot-1.10.0/framework/api/webapp.py +711 -0
  361. zcbot-1.10.0/framework/api/webserver.py +205 -0
  362. zcbot-1.10.0/framework/api/webui.py +90 -0
  363. zcbot-1.10.0/framework/apis.py +15 -0
  364. zcbot-1.10.0/framework/blackbox.py +259 -0
  365. zcbot-1.10.0/framework/cli/__init__.py +170 -0
  366. zcbot-1.10.0/framework/cli/__main__.py +8 -0
  367. zcbot-1.10.0/framework/cli/commands/__init__.py +16 -0
  368. zcbot-1.10.0/framework/cli/commands/adapter.py +68 -0
  369. zcbot-1.10.0/framework/cli/commands/clean.py +41 -0
  370. zcbot-1.10.0/framework/cli/commands/config.py +97 -0
  371. zcbot-1.10.0/framework/cli/commands/driver.py +54 -0
  372. zcbot-1.10.0/framework/cli/commands/generate.py +32 -0
  373. zcbot-1.10.0/framework/cli/commands/plugin.py +74 -0
  374. zcbot-1.10.0/framework/cli/commands/project.py +279 -0
  375. zcbot-1.10.0/framework/cli/commands/run.py +79 -0
  376. zcbot-1.10.0/framework/cli/commands/self.py +33 -0
  377. zcbot-1.10.0/framework/cli/utils.py +272 -0
  378. zcbot-1.10.0/framework/coalesce_log.py +145 -0
  379. zcbot-1.10.0/framework/config.py +733 -0
  380. zcbot-1.10.0/framework/console_server.py +473 -0
  381. zcbot-1.10.0/framework/core/__init__.py +14 -0
  382. zcbot-1.10.0/framework/core/base.py +774 -0
  383. zcbot-1.10.0/framework/core/dispatch.py +533 -0
  384. zcbot-1.10.0/framework/core/event_buffer.py +932 -0
  385. zcbot-1.10.0/framework/core/runtime.py +419 -0
  386. zcbot-1.10.0/framework/core/stats_writer.py +251 -0
  387. zcbot-1.10.0/framework/crash_guard.py +132 -0
  388. zcbot-1.10.0/framework/ctx/__init__.py +15 -0
  389. zcbot-1.10.0/framework/ctx/base.py +344 -0
  390. zcbot-1.10.0/framework/ctx/db.py +109 -0
  391. zcbot-1.10.0/framework/ctx/events.py +246 -0
  392. zcbot-1.10.0/framework/ctx/messaging.py +218 -0
  393. zcbot-1.10.0/framework/ctx/webui.py +113 -0
  394. zcbot-1.10.0/framework/database/__init__.py +27 -0
  395. zcbot-1.10.0/framework/database/db.py +470 -0
  396. zcbot-1.10.0/framework/database/db_conn.py +259 -0
  397. zcbot-1.10.0/framework/database/dialect.py +410 -0
  398. zcbot-1.10.0/framework/database/init_db.py +471 -0
  399. zcbot-1.10.0/framework/database/schema.py +571 -0
  400. zcbot-1.10.0/framework/database/sql_sim.py +1584 -0
  401. zcbot-1.10.0/framework/database/storage.py +60 -0
  402. zcbot-1.10.0/framework/deps/__init__.py +403 -0
  403. zcbot-1.10.0/framework/deps/diagnose.py +109 -0
  404. zcbot-1.10.0/framework/deps/pip.py +247 -0
  405. zcbot-1.10.0/framework/dual_auth.py +421 -0
  406. zcbot-1.10.0/framework/hooks.py +230 -0
  407. zcbot-1.10.0/framework/i18n.py +166 -0
  408. zcbot-1.10.0/framework/iipc/__init__.py +54 -0
  409. zcbot-1.10.0/framework/iipc/__main__.py +8 -0
  410. zcbot-1.10.0/framework/iipc/iipc_log.py +143 -0
  411. zcbot-1.10.0/framework/iipc/launcher.py +549 -0
  412. zcbot-1.10.0/framework/iipc/plugins/_template/main.py +96 -0
  413. zcbot-1.10.0/framework/iipc/plugins/api_parity/main.py +209 -0
  414. zcbot-1.10.0/framework/iipc/plugins/api_parity/plugin.json +21 -0
  415. zcbot-1.10.0/framework/iipc/plugins/api_surface/main.py +407 -0
  416. zcbot-1.10.0/framework/iipc/plugins/clock/main.py +63 -0
  417. zcbot-1.10.0/framework/iipc/plugins/clock/plugin.json +13 -0
  418. zcbot-1.10.0/framework/iipc/plugins/echo/main.py +99 -0
  419. zcbot-1.10.0/framework/iipc/plugins/echo/plugin.json +16 -0
  420. zcbot-1.10.0/framework/iipc/plugins/group_admin/main.py +79 -0
  421. zcbot-1.10.0/framework/iipc/plugins/group_admin/plugin.json +15 -0
  422. zcbot-1.10.0/framework/iipc/plugins/official_blacklist/main.py +237 -0
  423. zcbot-1.10.0/framework/iipc/plugins/official_signin/main.py +72 -0
  424. zcbot-1.10.0/framework/iipc/plugins/repeat/main.py +37 -0
  425. zcbot-1.10.0/framework/iipc/plugins/repeat/plugin.json +10 -0
  426. zcbot-1.10.0/framework/iipc/plugins_dat/api_surface/_surface_probe.txt +1 -0
  427. zcbot-1.10.0/framework/iipc/py_sdk/entry.py +31 -0
  428. zcbot-1.10.0/framework/iipc/py_sdk/event.py +406 -0
  429. zcbot-1.10.0/framework/iipc/py_sdk/ext.py +519 -0
  430. zcbot-1.10.0/framework/iipc/py_sdk/framework/__init__.py +4 -0
  431. zcbot-1.10.0/framework/iipc/py_sdk/framework/plugin.py +159 -0
  432. zcbot-1.10.0/framework/iipc/py_sdk/iipc_client.py +172 -0
  433. zcbot-1.10.0/framework/iipc/py_sdk/pluginhost.py +155 -0
  434. zcbot-1.10.0/framework/iipc/py_sdk/py.typed +0 -0
  435. zcbot-1.10.0/framework/iipc/py_sdk/sdk.py +1735 -0
  436. zcbot-1.10.0/framework/iipc/rust_adapter/target/.rustc_info.json +1 -0
  437. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/itoa-6994c1d7a5c77ce5/lib-itoa.json +1 -0
  438. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/memchr-c3093d103666e4d6/lib-memchr.json +1 -0
  439. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/serde_core-3d8c7f5333f5e2e1/run-build-script-build-script-build.json +1 -0
  440. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/serde_core-80c7bf1481d78cb5/lib-serde_core.json +1 -0
  441. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/serde_core-c9285d8a05dddd2c/build-script-build-script-build.json +1 -0
  442. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/serde_json-375da725fc01e743/build-script-build-script-build.json +1 -0
  443. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/serde_json-6f9e3fce246c0eaf/lib-serde_json.json +1 -0
  444. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/serde_json-c010919406716bdc/run-build-script-build-script-build.json +1 -0
  445. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/zcbot_adapter-92bb4f261ec89a25/bin-zcbot_adapter.json +1 -0
  446. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/zmij-24e93fba8aea2749/lib-zmij.json +1 -0
  447. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/zmij-87e1af8753621208/run-build-script-build-script-build.json +1 -0
  448. zcbot-1.10.0/framework/iipc/rust_adapter/target/release/.fingerprint/zmij-be4b1e2670ba8a25/build-script-build-script-build.json +1 -0
  449. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/itoa-5c99ef960fe68e1b/lib-itoa.json +1 -0
  450. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/itoa-9e92bb2bc2f57d10/lib-itoa.json +1 -0
  451. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/memchr-091ea6140ff9e77f/lib-memchr.json +1 -0
  452. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/memchr-3bc1627675021c26/lib-memchr.json +1 -0
  453. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/serde_core-15211a4a2796bfb0/run-build-script-build-script-build.json +1 -0
  454. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/serde_core-45e581b8b283bde8/run-build-script-build-script-build.json +1 -0
  455. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/serde_core-a01b313eceab6b8b/lib-serde_core.json +1 -0
  456. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/serde_core-ef9878e90a225311/lib-serde_core.json +1 -0
  457. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/serde_json-06177afc5dffad62/run-build-script-build-script-build.json +1 -0
  458. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/serde_json-1180bdfed34be84f/run-build-script-build-script-build.json +1 -0
  459. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/serde_json-3788a768be113899/lib-serde_json.json +1 -0
  460. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/serde_json-f8f3f918b142fd7e/lib-serde_json.json +1 -0
  461. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/zcbot_adapter-e073a04e8731539e/bin-zcbot_adapter.json +1 -0
  462. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/zmij-3bfcb081d7953061/run-build-script-build-script-build.json +1 -0
  463. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/zmij-4477af00d2fd209c/lib-zmij.json +1 -0
  464. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/zmij-bd4c51db31a230d6/lib-zmij.json +1 -0
  465. zcbot-1.10.0/framework/iipc/rust_adapter/target/x86_64-unknown-linux-gnu/release/.fingerprint/zmij-ebbbae3f590c2ac0/run-build-script-build-script-build.json +1 -0
  466. zcbot-1.10.0/framework/iipc/tools/adapter_e2e.py +332 -0
  467. zcbot-1.10.0/framework/iipc/tools/api_surface_check.py +452 -0
  468. zcbot-1.10.0/framework/iipc/tools/e2e_check.py +291 -0
  469. zcbot-1.10.0/framework/iipc/tools/ext_check.py +297 -0
  470. zcbot-1.10.0/framework/iipc/tools/iipc_hardening_test.py +344 -0
  471. zcbot-1.10.0/framework/iipc/tools/latency_probe.py +88 -0
  472. zcbot-1.10.0/framework/iipc/tools/middleware_check.py +230 -0
  473. zcbot-1.10.0/framework/iipc/tools/official_plugin_check.py +337 -0
  474. zcbot-1.10.0/framework/iipc/tools/onebot_fake.py +341 -0
  475. zcbot-1.10.0/framework/iipc/tools/pipeline_check.py +228 -0
  476. zcbot-1.10.0/framework/iipc/tools/portutil.py +44 -0
  477. zcbot-1.10.0/framework/iipc/tools/run_all_bench.py +230 -0
  478. zcbot-1.10.0/framework/iipc/tools/stress_check.py +343 -0
  479. zcbot-1.10.0/framework/iipc/tools/ws_client_probe.py +88 -0
  480. zcbot-1.10.0/framework/ipc/__init__.py +11 -0
  481. zcbot-1.10.0/framework/ipc/core_runtime.py +213 -0
  482. zcbot-1.10.0/framework/ipc/core_services.py +258 -0
  483. zcbot-1.10.0/framework/ipc/host_entry.py +139 -0
  484. zcbot-1.10.0/framework/ipc/host_log.py +77 -0
  485. zcbot-1.10.0/framework/ipc/ipc_adapter.py +124 -0
  486. zcbot-1.10.0/framework/ipc/ipc_client.py +116 -0
  487. zcbot-1.10.0/framework/ipc/ipc_server.py +134 -0
  488. zcbot-1.10.0/framework/ipc/protocol.py +324 -0
  489. zcbot-1.10.0/framework/ipc/remote_api_caller.py +50 -0
  490. zcbot-1.10.0/framework/ipc/remote_db.py +120 -0
  491. zcbot-1.10.0/framework/ipc/remote_route.py +53 -0
  492. zcbot-1.10.0/framework/ipc/remote_tx.py +176 -0
  493. zcbot-1.10.0/framework/loader/__init__.py +37 -0
  494. zcbot-1.10.0/framework/loader/base.py +526 -0
  495. zcbot-1.10.0/framework/loader/config.py +191 -0
  496. zcbot-1.10.0/framework/loader/lifecycle.py +555 -0
  497. zcbot-1.10.0/framework/loader/runtime.py +278 -0
  498. zcbot-1.10.0/framework/loader/ui.py +385 -0
  499. zcbot-1.10.0/framework/log_broker.py +195 -0
  500. zcbot-1.10.0/framework/memory.py +80 -0
  501. zcbot-1.10.0/framework/messaging/__init__.py +28 -0
  502. zcbot-1.10.0/framework/messaging/adapter_registry.py +122 -0
  503. zcbot-1.10.0/framework/messaging/contract.py +446 -0
  504. zcbot-1.10.0/framework/messaging/event.py +619 -0
  505. zcbot-1.10.0/framework/messaging/event_bus.py +186 -0
  506. zcbot-1.10.0/framework/messaging/event_classify.py +51 -0
  507. zcbot-1.10.0/framework/messaging/protocol.py +451 -0
  508. zcbot-1.10.0/framework/messaging/router.py +495 -0
  509. zcbot-1.10.0/framework/messaging/router_keywords.py +167 -0
  510. zcbot-1.10.0/framework/messaging/router_match.py +426 -0
  511. zcbot-1.10.0/framework/messaging/segments.py +481 -0
  512. zcbot-1.10.0/framework/perm/__init__.py +531 -0
  513. zcbot-1.10.0/framework/perm/admin.py +84 -0
  514. zcbot-1.10.0/framework/perm/groups.py +220 -0
  515. zcbot-1.10.0/framework/perm/tracks.py +99 -0
  516. zcbot-1.10.0/framework/plugin.py +204 -0
  517. zcbot-1.10.0/framework/runtime.py +23 -0
  518. zcbot-1.10.0/framework/scheduler.py +182 -0
  519. zcbot-1.10.0/framework/stats_writer.py +9 -0
  520. zcbot-1.10.0/framework/terminal/__init__.py +13 -0
  521. zcbot-1.10.0/framework/terminal/blackbox_viewer.py +194 -0
  522. zcbot-1.10.0/framework/terminal/builtins.py +25 -0
  523. zcbot-1.10.0/framework/terminal/cmd_core.py +125 -0
  524. zcbot-1.10.0/framework/terminal/cmd_info.py +66 -0
  525. zcbot-1.10.0/framework/terminal/cmd_msg.py +277 -0
  526. zcbot-1.10.0/framework/terminal/cmd_ops.py +131 -0
  527. zcbot-1.10.0/framework/terminal/cmd_plugin.py +244 -0
  528. zcbot-1.10.0/framework/terminal/cmd_update.py +108 -0
  529. zcbot-1.10.0/framework/terminal/command.py +107 -0
  530. zcbot-1.10.0/framework/terminal/context.py +38 -0
  531. zcbot-1.10.0/framework/terminal/encoding.py +87 -0
  532. zcbot-1.10.0/framework/terminal/helper.py +17 -0
  533. zcbot-1.10.0/framework/terminal/input.py +164 -0
  534. zcbot-1.10.0/framework/terminal/panel.py +905 -0
  535. zcbot-1.10.0/framework/tls.py +64 -0
  536. zcbot-1.10.0/main.py +848 -0
  537. zcbot-1.10.0/plugins/llm_blacklist/main.py +244 -0
  538. zcbot-1.10.0/plugins/llm_core/agent.py +219 -0
  539. zcbot-1.10.0/plugins/llm_core/history.py +497 -0
  540. zcbot-1.10.0/plugins/llm_core/main.py +1114 -0
  541. zcbot-1.10.0/plugins/llm_core/mcp.py +268 -0
  542. zcbot-1.10.0/plugins/llm_core/media.py +200 -0
  543. zcbot-1.10.0/plugins/llm_core/providers.py +324 -0
  544. zcbot-1.10.0/plugins/llm_core/tools.py +454 -0
  545. zcbot-1.10.0/plugins/llm_core/web/index.html +86 -0
  546. zcbot-1.10.0/plugins/llm_core/web/overview.html +177 -0
  547. zcbot-1.10.0/plugins/llm_core/web/sessions.html +525 -0
  548. zcbot-1.10.0/pyproject.toml +97 -0
  549. zcbot-1.10.0/requirements.txt +36 -0
  550. zcbot-1.10.0/setup.cfg +4 -0
  551. zcbot-1.10.0/sql/__init__.py +7 -0
  552. zcbot-1.10.0/sql/init.sql +421 -0
  553. zcbot-1.10.0/sql/init_mysql55.sql +389 -0
  554. zcbot-1.10.0/sql/migration_alias.sql +18 -0
  555. zcbot-1.10.0/tests/test_aiwriter.py +1177 -0
  556. zcbot-1.10.0/tests/test_api_security.py +228 -0
  557. zcbot-1.10.0/tests/test_blackbox.py +136 -0
  558. zcbot-1.10.0/tests/test_blackbox_extreme.py +306 -0
  559. zcbot-1.10.0/tests/test_blackbox_integration.py +133 -0
  560. zcbot-1.10.0/tests/test_blackbox_trace.py +147 -0
  561. zcbot-1.10.0/tests/test_buffer_l2_file.py +174 -0
  562. zcbot-1.10.0/tests/test_buffer_refill.py +141 -0
  563. zcbot-1.10.0/tests/test_console_server.py +267 -0
  564. zcbot-1.10.0/tests/test_core_plugin_switch.py +143 -0
  565. zcbot-1.10.0/tests/test_crash_guard.py +117 -0
  566. zcbot-1.10.0/tests/test_db_regression.py +229 -0
  567. zcbot-1.10.0/tests/test_db_resilience.py +256 -0
  568. zcbot-1.10.0/tests/test_disable_vs_selfheal_bug.py +109 -0
  569. zcbot-1.10.0/tests/test_dispatch_drop_visibility.py +132 -0
  570. zcbot-1.10.0/tests/test_dual_core.py +346 -0
  571. zcbot-1.10.0/tests/test_event_buffer.py +331 -0
  572. zcbot-1.10.0/tests/test_event_classify.py +145 -0
  573. zcbot-1.10.0/tests/test_extreme_conditions.py +241 -0
  574. zcbot-1.10.0/tests/test_file_store_fallback.py +153 -0
  575. zcbot-1.10.0/tests/test_hook_serial_parallel.py +121 -0
  576. zcbot-1.10.0/tests/test_html_assembler.py +270 -0
  577. zcbot-1.10.0/tests/test_iipc_client_dispatch.py +94 -0
  578. zcbot-1.10.0/tests/test_iipc_silent_drop.py +197 -0
  579. zcbot-1.10.0/tests/test_image_rect_normalization.py +93 -0
  580. zcbot-1.10.0/tests/test_ipc_perf.py +197 -0
  581. zcbot-1.10.0/tests/test_llm_core.py +880 -0
  582. zcbot-1.10.0/tests/test_llm_load.py +194 -0
  583. zcbot-1.10.0/tests/test_loop_fix_regression.py +273 -0
  584. zcbot-1.10.0/tests/test_main_selfcheck_config.py +74 -0
  585. zcbot-1.10.0/tests/test_message_classified_hook.py +210 -0
  586. zcbot-1.10.0/tests/test_message_contract.py +449 -0
  587. zcbot-1.10.0/tests/test_multi_platform.py +323 -0
  588. zcbot-1.10.0/tests/test_perm.py +176 -0
  589. zcbot-1.10.0/tests/test_plugin_decorators.py +111 -0
  590. zcbot-1.10.0/tests/test_plugin_imports.py +220 -0
  591. zcbot-1.10.0/tests/test_plugin_route_hotmount.py +141 -0
  592. zcbot-1.10.0/tests/test_qq_official.py +156 -0
  593. zcbot-1.10.0/tests/test_qq_official_extra.py +475 -0
  594. zcbot-1.10.0/tests/test_scheduler.py +57 -0
  595. zcbot-1.10.0/tests/test_security_hardening.py +183 -0
  596. zcbot-1.10.0/tests/test_self_heal.py +240 -0
  597. zcbot-1.10.0/tests/test_session_tokens.py +124 -0
  598. zcbot-1.10.0/tests/test_smoke.py +814 -0
  599. zcbot-1.10.0/tests/test_sql_sim_debug.py +450 -0
  600. zcbot-1.10.0/tests/test_task2_arch_split.py +783 -0
  601. zcbot-1.10.0/tests/test_terminal_panel.py +416 -0
  602. zcbot-1.10.0/zb.py +18 -0
  603. zcbot-1.10.0/zcbot.egg-info/PKG-INFO +167 -0
  604. zcbot-1.10.0/zcbot.egg-info/SOURCES.txt +607 -0
  605. zcbot-1.10.0/zcbot.egg-info/dependency_links.txt +1 -0
  606. zcbot-1.10.0/zcbot.egg-info/entry_points.txt +3 -0
  607. zcbot-1.10.0/zcbot.egg-info/requires.txt +20 -0
  608. zcbot-1.10.0/zcbot.egg-info/top_level.txt +6 -0
  609. zcbot-1.10.0/zcbot_cli.py +64 -0
zcbot-1.10.0/LICENSE ADDED
@@ -0,0 +1,230 @@
1
+ ZCBOT 采用双开源协议:MIT License 和 Apache License 2.0。
2
+ 你可以任选其一适用。以下为两份协议的完整文本。
3
+
4
+ === MIT License ===
5
+
6
+ MIT License
7
+
8
+ Copyright (c) 2026 ZCBOT
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ === Apache License 2.0 ===
29
+
30
+ Apache License
31
+ Version 2.0, January 2004
32
+ http://www.apache.org/licenses/
33
+
34
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
35
+
36
+ 1. Definitions.
37
+
38
+ "License" shall mean the terms and conditions for use, reproduction,
39
+ and distribution as defined by Sections 1 through 9 of this document.
40
+
41
+ "Licensor" shall mean the copyright owner or entity authorized by
42
+ the copyright owner that is granting the License.
43
+
44
+ "Legal Entity" shall mean the union of the acting entity and all
45
+ other entities that control, are controlled by, or are under common
46
+ control with that entity. For the purposes of this definition,
47
+ "control" means (i) the power, direct or indirect, to cause the
48
+ direction or management of such entity, whether by contract or
49
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
50
+ outstanding shares, or (iii) beneficial ownership of such entity.
51
+
52
+ "You" (or "Your") shall mean an individual or Legal Entity
53
+ exercising permissions granted by this License.
54
+
55
+ "Source" form shall mean the preferred form for making modifications,
56
+ including but not limited to software source code, documentation
57
+ source, and configuration files.
58
+
59
+ "Object" form shall mean any form resulting from mechanical
60
+ transformation or translation of a Source form, including but
61
+ not limited to compiled object code, generated documentation,
62
+ and conversions to other media types.
63
+
64
+ "Work" shall mean the work of authorship, whether in Source or
65
+ Object form, made available under the License, as indicated by a
66
+ copyright notice that is included in or attached to the work
67
+ (an example is provided in the Appendix below).
68
+
69
+ "Derivative Works" shall mean any work, whether in Source or Object
70
+ form, that is based on (or derived from) the Work and for which the
71
+ editorial revisions, annotations, elaborations, or other modifications
72
+ represent, as a whole, an original work of authorship. For the purposes
73
+ of this License, Derivative Works shall not include works that remain
74
+ separable from, or merely link (or bind by name) to the interfaces of,
75
+ the Work and Derivative Works thereof.
76
+
77
+ "Contribution" shall mean any work of authorship, including
78
+ the original version of the Work and any modifications or additions
79
+ to that Work or Derivative Works thereof, that is intentionally
80
+ submitted to Licensor for inclusion in the Work by the copyright owner
81
+ or by an individual or Legal Entity authorized to submit on behalf of
82
+ the copyright owner. For the purposes of this definition, "submitted"
83
+ means any form of electronic, verbal, or written communication sent
84
+ to the Licensor or its representatives, including but not limited to
85
+ communication on electronic mailing lists, source code control systems,
86
+ and issue tracking systems that are managed by, or on behalf of, the
87
+ Licensor for the purpose of discussing and improving the Work, but
88
+ excluding communication that is conspicuously marked or otherwise
89
+ designated in writing by the copyright owner as "Not a Contribution."
90
+
91
+ "Contributor" shall mean Licensor and any individual or Legal Entity
92
+ on behalf of whom a Contribution has been received by Licensor and
93
+ subsequently incorporated within the Work.
94
+
95
+ 2. Grant of Copyright License. Subject to the terms and conditions of
96
+ this License, each Contributor hereby grants to You a perpetual,
97
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
98
+ copyright license to reproduce, prepare Derivative Works of,
99
+ publicly display, publicly perform, sublicense, and distribute the
100
+ Work and such Derivative Works in Source or Object form.
101
+
102
+ 3. Grant of Patent License. Subject to the terms and conditions of
103
+ this License, each Contributor hereby grants to You a perpetual,
104
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
105
+ (except as stated in this section) patent license to make, have made,
106
+ use, offer to sell, sell, import, and otherwise transfer the Work,
107
+ where such license applies only to those patent claims licensable
108
+ by such Contributor that are necessarily infringed by their
109
+ Contribution(s) alone or by combination of their Contribution(s)
110
+ with the Work to which such Contribution(s) was submitted. If You
111
+ institute patent litigation against any entity (including a
112
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
113
+ or a Contribution incorporated within the Work constitutes direct
114
+ or contributory patent infringement, then any patent licenses
115
+ granted to You under this License for that Work shall terminate
116
+ as of the date such litigation is filed.
117
+
118
+ 4. Redistribution. You may reproduce and distribute copies of the
119
+ Work or Derivative Works thereof in any medium, with or without
120
+ modifications, and in Source or Object form, provided that You
121
+ meet the following conditions:
122
+
123
+ (a) You must give any other recipients of the Work or Derivative
124
+ Works a copy of this License; and
125
+
126
+ (b) You must cause any modified files to carry prominent notices
127
+ stating that You changed the files; and
128
+
129
+ (c) You must retain, in the Source form of any Derivative Works
130
+ that You distribute, all copyright, patent, trademark, and
131
+ attribution notices from the Source form of the Work,
132
+ excluding those notices that do not pertain to any part of
133
+ the Derivative Works; and
134
+
135
+ (d) If the Work includes a "NOTICE" text file as part of its
136
+ distribution, then any Derivative Works that You distribute must
137
+ include a readable copy of the attribution notices contained
138
+ within such NOTICE file, excluding those notices that do not
139
+ pertain to any part of the Derivative Works, in at least one
140
+ of the following places: within a NOTICE text file distributed
141
+ as part of the Derivative Works; within the Source form or
142
+ documentation, if provided along with the Derivative Works; or,
143
+ within a display generated by the Derivative Works, if and
144
+ wherever such third-party notices normally appear. The contents
145
+ of the NOTICE file are for informational purposes only and
146
+ do not modify the License. You may add Your own attribution
147
+ notices within Derivative Works that You distribute, alongside
148
+ or as an addendum to the NOTICE text from the Work, provided
149
+ that such additional attribution notices cannot be construed
150
+ as modifying the License.
151
+
152
+ You may add Your own copyright statement to Your modifications and
153
+ may provide additional or different license terms and conditions
154
+ for use, reproduction, or distribution of Your modifications, or
155
+ for any such Derivative Works as a whole, provided Your use,
156
+ reproduction, and distribution of the Work otherwise complies with
157
+ the conditions stated in this License.
158
+
159
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
160
+ any Contribution intentionally submitted for inclusion in the Work
161
+ by You to the Licensor shall be under the terms and conditions of
162
+ this License, without any additional terms or conditions.
163
+ Notwithstanding the above, nothing herein shall supersede or modify
164
+ the terms of any separate license agreement you may have executed
165
+ with Licensor regarding such Contributions.
166
+
167
+ 6. Trademarks. This License does not grant permission to use the trade
168
+ names, trademarks, service marks, or product names of the Licensor,
169
+ except as required for reasonable and customary use in describing the
170
+ origin of the Work and reproducing the content of the NOTICE file.
171
+
172
+ 7. Disclaimer of Warranty. Unless required by applicable law or
173
+ agreed to in writing, Licensor provides the Work (and each
174
+ Contributor provides its Contributions) on an "AS IS" BASIS,
175
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
176
+ implied, including, without limitation, any warranties or conditions
177
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
178
+ PARTICULAR PURPOSE. You are solely responsible for determining the
179
+ appropriateness of using or redistributing the Work and assume any
180
+ risks associated with Your exercise of permissions under this License.
181
+
182
+ 8. Limitation of Liability. In no event and under no legal theory,
183
+ whether in tort (including negligence), contract, or otherwise,
184
+ unless required by applicable law (such as deliberate and grossly
185
+ negligent acts) or agreed to in writing, shall any Contributor be
186
+ liable to You for damages, including any direct, indirect, special,
187
+ incidental, or consequential damages of any character arising as a
188
+ result of this License or out of the use or inability to use the
189
+ Work (including but not limited to damages for loss of goodwill,
190
+ work stoppage, computer failure or malfunction, or any and all
191
+ other commercial damages or losses), even if such Contributor
192
+ has been advised of the possibility of such damages.
193
+
194
+ 9. Accepting Warranty or Additional Liability. While redistributing
195
+ the Work or Derivative Works thereof, You may choose to offer,
196
+ and charge a fee for, acceptance of support, warranty, indemnity,
197
+ or other liability obligations and/or rights consistent with this
198
+ License. However, in accepting such obligations, You may act only
199
+ on Your own behalf and on Your sole responsibility, not on behalf
200
+ of any other Contributor, and only if You agree to indemnify,
201
+ defend, and hold each Contributor harmless for any liability
202
+ incurred by, or claims asserted against, such Contributor by reason
203
+ of your accepting any such warranty or additional liability.
204
+
205
+ END OF TERMS AND CONDITIONS
206
+
207
+ APPENDIX: How to apply the Apache License to your work.
208
+
209
+ To apply the Apache License to your work, attach the following
210
+ boilerplate notice, with the fields enclosed by brackets "[]"
211
+ replaced with your own identifying information. (Don't include
212
+ the brackets!) The text should be enclosed in the appropriate
213
+ comment syntax for the file format. We also recommend that a
214
+ file or class name and description of purpose be included on the
215
+ same "printed page" as the copyright notice for easier
216
+ identification within third-party archives.
217
+
218
+ Copyright 2026 ZCBOT
219
+
220
+ Licensed under the Apache License, Version 2.0 (the "License");
221
+ you may not use this file except in compliance with the License.
222
+ You may obtain a copy of the License at
223
+
224
+ http://www.apache.org/licenses/LICENSE-2.0
225
+
226
+ Unless required by applicable law or agreed to in writing, software
227
+ distributed under the License is distributed on an "AS IS" BASIS,
228
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
229
+ See the License for the specific language governing permissions and
230
+ limitations under the License.
@@ -0,0 +1,10 @@
1
+ # 随包分发的运行时资源(wheel/sdist)
2
+ include VERSION
3
+ include requirements.txt
4
+ recursive-include framework *.yaml *.yml *.json *.sql *.txt
5
+ recursive-include core_plugins *.yaml *.yml *.json *.txt *.sql *.html *.js *.css *.so *.pyd *.ttf *.otf
6
+ recursive-include plugins *.yaml *.yml *.json *.txt *.html *.js *.css
7
+ recursive-include sql *.sql
8
+ exclude core_plugins/*/native/target/*
9
+ exclude core_plugins/rust_accel/rust_accel/target/*
10
+ global-exclude __pycache__ *.py[cod] *.db *.db-shm *.db-wal *.db-journal
zcbot-1.10.0/PKG-INFO ADDED
@@ -0,0 +1,167 @@
1
+ Metadata-Version: 2.4
2
+ Name: zcbot
3
+ Version: 1.10.0
4
+ Summary: ZCBOT 事件驱动 IM 平台:内核 + 扩展点契约 + 协议无关的接入端(以插件形式提供多平台接入)
5
+ Author: kuangxing6367
6
+ License-Expression: MIT OR Apache-2.0
7
+ Project-URL: Homepage, https://github.com/kuangxing6367/zcbot
8
+ Project-URL: Repository, https://github.com/kuangxing6367/zcbot
9
+ Project-URL: Issues, https://github.com/kuangxing6367/zcbot/issues
10
+ Keywords: telegram,discord,bot,plugin,event-driven,framework,im,chatbot
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: websockets>=12.0
15
+ Requires-Dist: apscheduler>=3.10.0
16
+ Requires-Dist: pyyaml>=6.0
17
+ Requires-Dist: bcrypt>=4.0.0
18
+ Requires-Dist: requests>=2.28.0
19
+ Requires-Dist: psutil>=5.9.0
20
+ Provides-Extra: mysql
21
+ Requires-Dist: pymysql>=1.0.0; extra == "mysql"
22
+ Requires-Dist: DBUtils>=3.0.0; extra == "mysql"
23
+ Provides-Extra: web
24
+ Requires-Dist: flask>=2.3.0; extra == "web"
25
+ Requires-Dist: flask-cors>=4.0.0; extra == "web"
26
+ Requires-Dist: waitress>=3.0.0; extra == "web"
27
+ Provides-Extra: plugins
28
+ Requires-Dist: Pillow>=10.0.0; extra == "plugins"
29
+ Requires-Dist: numpy>=1.24.0; extra == "plugins"
30
+ Requires-Dist: httpx>=0.27.0; extra == "plugins"
31
+ Dynamic: license-file
32
+
33
+ <div align="center">
34
+
35
+ # ZCBOT
36
+
37
+ **通用化 IM 平台 —— 协议无关的事件驱动机器人框架**
38
+
39
+ 内核极简 · 扩展点契约 · 官方插件集 · 业务写在自己的插件里
40
+
41
+ <br>
42
+
43
+ [![PyPI](https://img.shields.io/badge/PyPI-zcbot-3775A9?logo=pypi&logoColor=white)](https://pypi.org/project/zcbot/)
44
+ [![Python](https://img.shields.io/badge/python-3.10%2B-3776AB?logo=python&logoColor=white)](https://www.python.org/)
45
+ [![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-green)](#开源协议)
46
+ [![Release](https://img.shields.io/badge/release-v1.10.0-orange)](https://gitee.com/liquanfeng123/zcbot/releases)
47
+
48
+ <br>
49
+
50
+ [Gitee(国内)](https://gitee.com/liquanfeng123/zcbot) |
51
+ [GitHub(国际)](https://github.com/kuangxing6367/zcbot) |
52
+ [PyPI](https://pypi.org/project/zcbot/) |
53
+ [更新日志](https://gitee.com/liquanfeng123/zcbot/blob/main/CHANGELOG.md) |
54
+ [LLM 索引](https://gitee.com/liquanfeng123/zcbot/blob/main/LLM.md)
55
+
56
+ </div>
57
+
58
+ ---
59
+
60
+ ZCBOT 是一个**不绑定任何聊天协议**的机器人框架。内核只负责事件分发、插件加载、权限与持久化;协议接入端、Web 后台、多轮会话、定时任务、LLM 能力全部是可选插件。换一个接入端就能接入另一种 IM,也可以不接任何平台,只跑定时任务或接收 HTTP 事件。
61
+
62
+ 它把"能跑"做成"能长期稳定地跑"——单实例锁、崩溃守卫、安全模式、平台化依赖诊断、Web 后台安全提醒,都是为生产部署兜底,而不是只给你一套脚手架。
63
+
64
+ ## 核心特性
65
+
66
+ 1. 🧩 **协议无关内核** —— 内核不含任何协议实现,OneBot 11 只是默认接入端之一。
67
+ 2. 🔌 **可插拔接入端** —— 内置 OneBot 11、QQ 官方、Telegram、Discord、出站 WS、HTTP 注入 / HTTP API。
68
+ 3. 🪝 **扩展点(Hook)系统** —— 可挂到启动 / 关闭、Web 请求、事件分发、命令执行、协议动作等几乎每一个运行环节。
69
+ 4. 🔥 **插件热加载** —— 放进 `plugins/` 即生效;用装饰器声明命令、权限、定时任务。
70
+ 5. 🖥️ **Web 管理后台** —— Vue 3 + Element Plus;插件、用户、权限、日志、数据库一站管理。
71
+ 6. 🔐 **权限与令牌** —— 节点式权限引擎 + 接口令牌(API Key),细粒度控制到命令级。
72
+ 7. ⏱️ **多轮会话 / 定时任务** —— 会话状态与调度器均为官方插件,按需启用。
73
+ 8. 🗄️ **双方言数据库** —— SQLite 零配置开箱即用,大环境一键切 MySQL。
74
+ 9. 🛡️ **安全加固** —— 蜜罐诱饵、JS 人机验证、认证静默丢弃、可调安全等级(`off`~`paranoid`)。
75
+ 10. ⚡ **双核心架构** —— 可选 core / host 双进程,插件崩溃不拖垮核心(实验特性,默认关闭)。
76
+ 11. 🔒 **单实例锁 + 安全模式** —— 防止重复运行;持久配置错误时挂起「假启动」,让 `Type=simple` 守护进程停止无脑拉起,不再空吃冷启动税(崩溃计数文件 `error.log*` 清零后自愈)。
77
+ 12. 🩺 **平台化依赖诊断** —— 插件加载失败自动归类(缺依赖 / 版本不兼容 / 系统运行库缺失),给出中文提示与 `pip install` 命令,并附原始报错,不再是一串英文堆栈。
78
+ 13. 🔑 **Web 后台安全提醒** —— 用默认密码(`admin` / `admin123`)登录后,后台顶部提示「建议修改密码」并可一键跳转(建议,非强制)。
79
+
80
+ ## 快速上手
81
+
82
+ ### 方式一 · pip 安装(推荐)
83
+
84
+ ```bash
85
+ pip install zcbot
86
+ zcbot
87
+ ```
88
+
89
+ 首次启动会在 **`~/.zcbot`** 自动生成配置与数据(可用环境变量 `ZCBOT_HOME` 指定其它目录)。
90
+ 看到 `框架启动完成,等待消息...` 即启动成功。
91
+
92
+ 升级:`pip install -U zcbot`。
93
+
94
+ ### 方式二 · 源码运行
95
+
96
+ ```bash
97
+ git clone https://gitee.com/liquanfeng123/zcbot.git # 或 GitHub 镜像
98
+ cd zcbot
99
+ pip install -r requirements.txt
100
+ python main.py
101
+ ```
102
+
103
+ 配置与数据落在仓库目录下(行为同旧版)。依赖缺了启动时会自动补装。
104
+
105
+ > **官方插件默认全部关闭。** 需要哪种能力就启用哪个:把 `core_plugins.yaml` 里对应块的 `enabled`
106
+ > 改成 `true`,或运行 `python tools/scan_core_plugins.py --enable <插件名>`,重启生效。
107
+ > 例如进 Web 后台要启用 `webui`(`127.0.0.1:8080`,默认账号 `admin` / `admin123`,**登录后后台会自动建议改密**,一键跳转设置);
108
+ > 要收发聊天消息要启用某个接入端(如 `onebot_adapter`)。
109
+
110
+ 更多方式(Docker、反向代理、HTTPS、纯 API 部署)见
111
+ [安装](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%AE%89%E8%A3%85.md) ·
112
+ [部署](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E9%83%A8%E7%BD%B2%E4%B8%8A%E7%BA%BF.md)。
113
+
114
+ ## 支持的接入端
115
+
116
+ | 接入端 | 说明 |
117
+ | --- | --- |
118
+ | OneBot 11 | 反向 WebSocket,默认接入端(QQ 生态) |
119
+ | QQ 官方 | QQ 开放平台机器人 |
120
+ | Telegram | Bot API |
121
+ | Discord | Bot |
122
+ | 出站 WS / HTTP 注入 / HTTP API | 自定义协议或外部系统对接 |
123
+
124
+ > 不接任何平台也可以:内核可直接跑定时任务、或接收 HTTP 事件。
125
+
126
+ ## 写一个插件
127
+
128
+ `plugins/hello/main.py`:
129
+
130
+ ```python
131
+ __plugin_meta__ = {"name": "Hello", "version": "1.0.0",
132
+ "author": "你", "desc": "打招呼", "priority": 50}
133
+
134
+ def register(ctx):
135
+ ctx.command("/hello", handle_hello, description="打个招呼")
136
+
137
+ async def handle_hello(event, match):
138
+ await ctx.asend_msg(user_id=event.user_id,
139
+ group_id=event.group_id if event.is_group else None,
140
+ message="Hello, World!")
141
+ ```
142
+
143
+ 放进 `plugins/` 后点「重载」即可。权限用 `require_perm="myplugin.ban"` 声明式拦截;
144
+ 想插到几乎每个运行环节就用 `ctx.hook(...)`(见
145
+ [扩展点](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E9%AB%98%E7%BA%A7/%E6%89%A9%E5%B1%95%E7%82%B9Hook.md))。
146
+ 完整教程见 [编写插件](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E7%BC%96%E5%86%99%E6%8F%92%E4%BB%B6.md)。
147
+
148
+ ## 文档
149
+
150
+ 文档随仓库分发,Gitee 与 GitHub 同步(下方链接指向 Gitee,GitHub 上把域名替换即可)。
151
+
152
+ - **指南**:[安装](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%AE%89%E8%A3%85.md) · [开始使用](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B.md) · [配置](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E9%85%8D%E7%BD%AE%E7%B3%BB%E7%BB%9F.md) · [对接 IM](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%AF%B9%E6%8E%A5IM%E5%B9%B3%E5%8F%B0.md) · [编写插件](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E7%BC%96%E5%86%99%E6%8F%92%E4%BB%B6.md) · [多轮会话](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%A4%9A%E8%BD%AE%E4%BC%9A%E8%AF%9D.md) · [接入 LLM](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E6%8E%A5%E5%85%A5%E5%A4%A7%E6%A8%A1%E5%9E%8B.md) · [最佳实践](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5.md)
153
+ - **API**:[ctx](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E5%9F%BA%E7%A1%80/%E6%8F%92%E4%BB%B6%E4%B8%8A%E4%B8%8B%E6%96%87.md) · [Event](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E5%9F%BA%E7%A1%80/%E4%BA%8B%E4%BB%B6%E5%AF%B9%E8%B1%A1.md) · [扩展点 Hook](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E9%AB%98%E7%BA%A7/%E6%89%A9%E5%B1%95%E7%82%B9Hook.md) · [协议适配器](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E9%AB%98%E7%BA%A7/%E5%8D%8F%E8%AE%AE%E9%80%82%E9%85%8D%E5%99%A8.md) · [Framework](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E5%9F%BA%E7%A1%80/%E6%A0%B8%E5%BF%83%E6%A1%86%E6%9E%B6.md) · [服务注册表](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E5%9F%BA%E7%A1%80/%E6%9C%8D%E5%8A%A1%E6%B3%A8%E5%86%8C%E8%A1%A8.md) · [插件装饰器](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E9%AB%98%E7%BA%A7/%E6%8F%92%E4%BB%B6%E8%A3%85%E9%A5%B0%E5%99%A8.md)
154
+ - **进阶**:[内核设计哲学](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E8%AE%BE%E8%AE%A1%E5%93%B2%E5%AD%A6.md) · [架构详解](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%9E%B6%E6%9E%84%E6%80%BB%E8%A7%88.md) · [加载机制](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%8F%92%E4%BB%B6%E5%8A%A0%E8%BD%BD%E6%9C%BA%E5%88%B6.md) · [数据库](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%95%B0%E6%8D%AE%E5%BA%93.md) · [定时任务](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E5%AE%9A%E6%97%B6%E4%BB%BB%E5%8A%A1.md) · [权限](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%9D%83%E9%99%90%E7%B3%BB%E7%BB%9F.md) · [接口令牌](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%8E%A5%E5%8F%A3%E4%BB%A4%E7%89%8C.md) · [部署](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E9%83%A8%E7%BD%B2%E4%B8%8A%E7%BA%BF.md) · [双核心](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E5%8F%8C%E6%A0%B8%E5%BF%83%E6%9E%B6%E6%9E%84.md) · [项目结构](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E9%A1%B9%E7%9B%AE%E7%BB%93%E6%9E%84.md) · [扩展清单](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%89%A9%E5%B1%95%E6%B8%85%E5%8D%95.md)
155
+ - **LLM / Agent**:[LLM.md](https://gitee.com/liquanfeng123/zcbot/blob/main/LLM.md) · [框架结构](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E9%80%9F%E6%9F%A5/%E6%A1%86%E6%9E%B6%E7%BB%93%E6%9E%84.md) · [插件开发](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E9%80%9F%E6%9F%A5/%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91.md) · [调试排错](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E9%80%9F%E6%9F%A5/%E8%B0%83%E8%AF%95%E6%8E%92%E9%94%99.md)
156
+
157
+ ## 反馈交流
158
+
159
+ - 交流群(QQ):**1060129201**
160
+ - 问题反馈:[Gitee Issues](https://gitee.com/liquanfeng123/zcbot/issues) | [GitHub Issues](https://github.com/kuangxing6367/zcbot/issues)
161
+ - 官方扩展仓库:[zcbot_plugins](https://gitee.com/liquanfeng123/zcbot_plugins)
162
+
163
+ ## 开源协议
164
+
165
+ MIT OR Apache-2.0,任选其一适用。
166
+
167
+ > 本项目以 AI 生成为主、人工辅助完成。用着顺手的话,给个 Star 吧 ⭐
zcbot-1.10.0/README.md ADDED
@@ -0,0 +1,135 @@
1
+ <div align="center">
2
+
3
+ # ZCBOT
4
+
5
+ **通用化 IM 平台 —— 协议无关的事件驱动机器人框架**
6
+
7
+ 内核极简 · 扩展点契约 · 官方插件集 · 业务写在自己的插件里
8
+
9
+ <br>
10
+
11
+ [![PyPI](https://img.shields.io/badge/PyPI-zcbot-3775A9?logo=pypi&logoColor=white)](https://pypi.org/project/zcbot/)
12
+ [![Python](https://img.shields.io/badge/python-3.10%2B-3776AB?logo=python&logoColor=white)](https://www.python.org/)
13
+ [![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-green)](#开源协议)
14
+ [![Release](https://img.shields.io/badge/release-v1.10.0-orange)](https://gitee.com/liquanfeng123/zcbot/releases)
15
+
16
+ <br>
17
+
18
+ [Gitee(国内)](https://gitee.com/liquanfeng123/zcbot) |
19
+ [GitHub(国际)](https://github.com/kuangxing6367/zcbot) |
20
+ [PyPI](https://pypi.org/project/zcbot/) |
21
+ [更新日志](https://gitee.com/liquanfeng123/zcbot/blob/main/CHANGELOG.md) |
22
+ [LLM 索引](https://gitee.com/liquanfeng123/zcbot/blob/main/LLM.md)
23
+
24
+ </div>
25
+
26
+ ---
27
+
28
+ ZCBOT 是一个**不绑定任何聊天协议**的机器人框架。内核只负责事件分发、插件加载、权限与持久化;协议接入端、Web 后台、多轮会话、定时任务、LLM 能力全部是可选插件。换一个接入端就能接入另一种 IM,也可以不接任何平台,只跑定时任务或接收 HTTP 事件。
29
+
30
+ 它把"能跑"做成"能长期稳定地跑"——单实例锁、崩溃守卫、安全模式、平台化依赖诊断、Web 后台安全提醒,都是为生产部署兜底,而不是只给你一套脚手架。
31
+
32
+ ## 核心特性
33
+
34
+ 1. 🧩 **协议无关内核** —— 内核不含任何协议实现,OneBot 11 只是默认接入端之一。
35
+ 2. 🔌 **可插拔接入端** —— 内置 OneBot 11、QQ 官方、Telegram、Discord、出站 WS、HTTP 注入 / HTTP API。
36
+ 3. 🪝 **扩展点(Hook)系统** —— 可挂到启动 / 关闭、Web 请求、事件分发、命令执行、协议动作等几乎每一个运行环节。
37
+ 4. 🔥 **插件热加载** —— 放进 `plugins/` 即生效;用装饰器声明命令、权限、定时任务。
38
+ 5. 🖥️ **Web 管理后台** —— Vue 3 + Element Plus;插件、用户、权限、日志、数据库一站管理。
39
+ 6. 🔐 **权限与令牌** —— 节点式权限引擎 + 接口令牌(API Key),细粒度控制到命令级。
40
+ 7. ⏱️ **多轮会话 / 定时任务** —— 会话状态与调度器均为官方插件,按需启用。
41
+ 8. 🗄️ **双方言数据库** —— SQLite 零配置开箱即用,大环境一键切 MySQL。
42
+ 9. 🛡️ **安全加固** —— 蜜罐诱饵、JS 人机验证、认证静默丢弃、可调安全等级(`off`~`paranoid`)。
43
+ 10. ⚡ **双核心架构** —— 可选 core / host 双进程,插件崩溃不拖垮核心(实验特性,默认关闭)。
44
+ 11. 🔒 **单实例锁 + 安全模式** —— 防止重复运行;持久配置错误时挂起「假启动」,让 `Type=simple` 守护进程停止无脑拉起,不再空吃冷启动税(崩溃计数文件 `error.log*` 清零后自愈)。
45
+ 12. 🩺 **平台化依赖诊断** —— 插件加载失败自动归类(缺依赖 / 版本不兼容 / 系统运行库缺失),给出中文提示与 `pip install` 命令,并附原始报错,不再是一串英文堆栈。
46
+ 13. 🔑 **Web 后台安全提醒** —— 用默认密码(`admin` / `admin123`)登录后,后台顶部提示「建议修改密码」并可一键跳转(建议,非强制)。
47
+
48
+ ## 快速上手
49
+
50
+ ### 方式一 · pip 安装(推荐)
51
+
52
+ ```bash
53
+ pip install zcbot
54
+ zcbot
55
+ ```
56
+
57
+ 首次启动会在 **`~/.zcbot`** 自动生成配置与数据(可用环境变量 `ZCBOT_HOME` 指定其它目录)。
58
+ 看到 `框架启动完成,等待消息...` 即启动成功。
59
+
60
+ 升级:`pip install -U zcbot`。
61
+
62
+ ### 方式二 · 源码运行
63
+
64
+ ```bash
65
+ git clone https://gitee.com/liquanfeng123/zcbot.git # 或 GitHub 镜像
66
+ cd zcbot
67
+ pip install -r requirements.txt
68
+ python main.py
69
+ ```
70
+
71
+ 配置与数据落在仓库目录下(行为同旧版)。依赖缺了启动时会自动补装。
72
+
73
+ > **官方插件默认全部关闭。** 需要哪种能力就启用哪个:把 `core_plugins.yaml` 里对应块的 `enabled`
74
+ > 改成 `true`,或运行 `python tools/scan_core_plugins.py --enable <插件名>`,重启生效。
75
+ > 例如进 Web 后台要启用 `webui`(`127.0.0.1:8080`,默认账号 `admin` / `admin123`,**登录后后台会自动建议改密**,一键跳转设置);
76
+ > 要收发聊天消息要启用某个接入端(如 `onebot_adapter`)。
77
+
78
+ 更多方式(Docker、反向代理、HTTPS、纯 API 部署)见
79
+ [安装](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%AE%89%E8%A3%85.md) ·
80
+ [部署](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E9%83%A8%E7%BD%B2%E4%B8%8A%E7%BA%BF.md)。
81
+
82
+ ## 支持的接入端
83
+
84
+ | 接入端 | 说明 |
85
+ | --- | --- |
86
+ | OneBot 11 | 反向 WebSocket,默认接入端(QQ 生态) |
87
+ | QQ 官方 | QQ 开放平台机器人 |
88
+ | Telegram | Bot API |
89
+ | Discord | Bot |
90
+ | 出站 WS / HTTP 注入 / HTTP API | 自定义协议或外部系统对接 |
91
+
92
+ > 不接任何平台也可以:内核可直接跑定时任务、或接收 HTTP 事件。
93
+
94
+ ## 写一个插件
95
+
96
+ `plugins/hello/main.py`:
97
+
98
+ ```python
99
+ __plugin_meta__ = {"name": "Hello", "version": "1.0.0",
100
+ "author": "你", "desc": "打招呼", "priority": 50}
101
+
102
+ def register(ctx):
103
+ ctx.command("/hello", handle_hello, description="打个招呼")
104
+
105
+ async def handle_hello(event, match):
106
+ await ctx.asend_msg(user_id=event.user_id,
107
+ group_id=event.group_id if event.is_group else None,
108
+ message="Hello, World!")
109
+ ```
110
+
111
+ 放进 `plugins/` 后点「重载」即可。权限用 `require_perm="myplugin.ban"` 声明式拦截;
112
+ 想插到几乎每个运行环节就用 `ctx.hook(...)`(见
113
+ [扩展点](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E9%AB%98%E7%BA%A7/%E6%89%A9%E5%B1%95%E7%82%B9Hook.md))。
114
+ 完整教程见 [编写插件](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E7%BC%96%E5%86%99%E6%8F%92%E4%BB%B6.md)。
115
+
116
+ ## 文档
117
+
118
+ 文档随仓库分发,Gitee 与 GitHub 同步(下方链接指向 Gitee,GitHub 上把域名替换即可)。
119
+
120
+ - **指南**:[安装](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%AE%89%E8%A3%85.md) · [开始使用](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B.md) · [配置](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E9%85%8D%E7%BD%AE%E7%B3%BB%E7%BB%9F.md) · [对接 IM](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%AF%B9%E6%8E%A5IM%E5%B9%B3%E5%8F%B0.md) · [编写插件](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E7%BC%96%E5%86%99%E6%8F%92%E4%BB%B6.md) · [多轮会话](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E5%A4%9A%E8%BD%AE%E4%BC%9A%E8%AF%9D.md) · [接入 LLM](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E6%8E%A5%E5%85%A5%E5%A4%A7%E6%A8%A1%E5%9E%8B.md) · [最佳实践](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8C%87%E5%8D%97/%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5.md)
121
+ - **API**:[ctx](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E5%9F%BA%E7%A1%80/%E6%8F%92%E4%BB%B6%E4%B8%8A%E4%B8%8B%E6%96%87.md) · [Event](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E5%9F%BA%E7%A1%80/%E4%BA%8B%E4%BB%B6%E5%AF%B9%E8%B1%A1.md) · [扩展点 Hook](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E9%AB%98%E7%BA%A7/%E6%89%A9%E5%B1%95%E7%82%B9Hook.md) · [协议适配器](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E9%AB%98%E7%BA%A7/%E5%8D%8F%E8%AE%AE%E9%80%82%E9%85%8D%E5%99%A8.md) · [Framework](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E5%9F%BA%E7%A1%80/%E6%A0%B8%E5%BF%83%E6%A1%86%E6%9E%B6.md) · [服务注册表](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E5%9F%BA%E7%A1%80/%E6%9C%8D%E5%8A%A1%E6%B3%A8%E5%86%8C%E8%A1%A8.md) · [插件装饰器](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E6%8E%A5%E5%8F%A3/%E9%AB%98%E7%BA%A7/%E6%8F%92%E4%BB%B6%E8%A3%85%E9%A5%B0%E5%99%A8.md)
122
+ - **进阶**:[内核设计哲学](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E8%AE%BE%E8%AE%A1%E5%93%B2%E5%AD%A6.md) · [架构详解](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%9E%B6%E6%9E%84%E6%80%BB%E8%A7%88.md) · [加载机制](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%8F%92%E4%BB%B6%E5%8A%A0%E8%BD%BD%E6%9C%BA%E5%88%B6.md) · [数据库](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%95%B0%E6%8D%AE%E5%BA%93.md) · [定时任务](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E5%AE%9A%E6%97%B6%E4%BB%BB%E5%8A%A1.md) · [权限](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%9D%83%E9%99%90%E7%B3%BB%E7%BB%9F.md) · [接口令牌](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%8E%A5%E5%8F%A3%E4%BB%A4%E7%89%8C.md) · [部署](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E9%83%A8%E7%BD%B2%E4%B8%8A%E7%BA%BF.md) · [双核心](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E5%8F%8C%E6%A0%B8%E5%BF%83%E6%9E%B6%E6%9E%84.md) · [项目结构](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E9%A1%B9%E7%9B%AE%E7%BB%93%E6%9E%84.md) · [扩展清单](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E8%BF%9B%E9%98%B6/%E6%89%A9%E5%B1%95%E6%B8%85%E5%8D%95.md)
123
+ - **LLM / Agent**:[LLM.md](https://gitee.com/liquanfeng123/zcbot/blob/main/LLM.md) · [框架结构](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E9%80%9F%E6%9F%A5/%E6%A1%86%E6%9E%B6%E7%BB%93%E6%9E%84.md) · [插件开发](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E9%80%9F%E6%9F%A5/%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91.md) · [调试排错](https://gitee.com/liquanfeng123/zcbot/blob/main/docs/%E9%80%9F%E6%9F%A5/%E8%B0%83%E8%AF%95%E6%8E%92%E9%94%99.md)
124
+
125
+ ## 反馈交流
126
+
127
+ - 交流群(QQ):**1060129201**
128
+ - 问题反馈:[Gitee Issues](https://gitee.com/liquanfeng123/zcbot/issues) | [GitHub Issues](https://github.com/kuangxing6367/zcbot/issues)
129
+ - 官方扩展仓库:[zcbot_plugins](https://gitee.com/liquanfeng123/zcbot_plugins)
130
+
131
+ ## 开源协议
132
+
133
+ MIT OR Apache-2.0,任选其一适用。
134
+
135
+ > 本项目以 AI 生成为主、人工辅助完成。用着顺手的话,给个 Star 吧 ⭐
zcbot-1.10.0/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.10.0
@@ -0,0 +1,2 @@
1
+ # core_plugins - 官方插件目录
2
+ # 框架加载器会扫描此目录下的子目录,每个子目录是一个官方插件
File without changes