AstrBot 4.3.5__py3-none-any.whl → 4.5.1__py3-none-any.whl

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 (72) hide show
  1. astrbot/core/agent/runners/tool_loop_agent_runner.py +31 -2
  2. astrbot/core/astrbot_config_mgr.py +23 -51
  3. astrbot/core/config/default.py +132 -12
  4. astrbot/core/conversation_mgr.py +36 -1
  5. astrbot/core/core_lifecycle.py +24 -5
  6. astrbot/core/db/migration/helper.py +6 -3
  7. astrbot/core/db/migration/migra_45_to_46.py +44 -0
  8. astrbot/core/db/vec_db/base.py +33 -2
  9. astrbot/core/db/vec_db/faiss_impl/document_storage.py +310 -52
  10. astrbot/core/db/vec_db/faiss_impl/embedding_storage.py +31 -3
  11. astrbot/core/db/vec_db/faiss_impl/vec_db.py +81 -23
  12. astrbot/core/file_token_service.py +6 -1
  13. astrbot/core/initial_loader.py +6 -3
  14. astrbot/core/knowledge_base/chunking/__init__.py +11 -0
  15. astrbot/core/knowledge_base/chunking/base.py +24 -0
  16. astrbot/core/knowledge_base/chunking/fixed_size.py +57 -0
  17. astrbot/core/knowledge_base/chunking/recursive.py +155 -0
  18. astrbot/core/knowledge_base/kb_db_sqlite.py +299 -0
  19. astrbot/core/knowledge_base/kb_helper.py +348 -0
  20. astrbot/core/knowledge_base/kb_mgr.py +287 -0
  21. astrbot/core/knowledge_base/models.py +114 -0
  22. astrbot/core/knowledge_base/parsers/__init__.py +15 -0
  23. astrbot/core/knowledge_base/parsers/base.py +50 -0
  24. astrbot/core/knowledge_base/parsers/markitdown_parser.py +25 -0
  25. astrbot/core/knowledge_base/parsers/pdf_parser.py +100 -0
  26. astrbot/core/knowledge_base/parsers/text_parser.py +41 -0
  27. astrbot/core/knowledge_base/parsers/util.py +13 -0
  28. astrbot/core/knowledge_base/retrieval/__init__.py +16 -0
  29. astrbot/core/knowledge_base/retrieval/hit_stopwords.txt +767 -0
  30. astrbot/core/knowledge_base/retrieval/manager.py +273 -0
  31. astrbot/core/knowledge_base/retrieval/rank_fusion.py +138 -0
  32. astrbot/core/knowledge_base/retrieval/sparse_retriever.py +130 -0
  33. astrbot/core/pipeline/process_stage/method/llm_request.py +29 -7
  34. astrbot/core/pipeline/process_stage/utils.py +80 -0
  35. astrbot/core/platform/astr_message_event.py +8 -7
  36. astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py +5 -2
  37. astrbot/core/platform/sources/misskey/misskey_adapter.py +380 -44
  38. astrbot/core/platform/sources/misskey/misskey_api.py +581 -45
  39. astrbot/core/platform/sources/misskey/misskey_event.py +76 -41
  40. astrbot/core/platform/sources/misskey/misskey_utils.py +254 -43
  41. astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_server.py +2 -1
  42. astrbot/core/platform/sources/satori/satori_adapter.py +27 -1
  43. astrbot/core/platform/sources/satori/satori_event.py +270 -99
  44. astrbot/core/provider/manager.py +22 -9
  45. astrbot/core/provider/provider.py +67 -0
  46. astrbot/core/provider/sources/anthropic_source.py +4 -4
  47. astrbot/core/provider/sources/dashscope_source.py +10 -9
  48. astrbot/core/provider/sources/dify_source.py +6 -8
  49. astrbot/core/provider/sources/gemini_embedding_source.py +1 -2
  50. astrbot/core/provider/sources/openai_embedding_source.py +1 -2
  51. astrbot/core/provider/sources/openai_source.py +43 -15
  52. astrbot/core/provider/sources/openai_tts_api_source.py +1 -1
  53. astrbot/core/provider/sources/xinference_rerank_source.py +108 -0
  54. astrbot/core/provider/sources/xinference_stt_provider.py +187 -0
  55. astrbot/core/star/context.py +19 -13
  56. astrbot/core/star/star.py +6 -0
  57. astrbot/core/star/star_manager.py +13 -7
  58. astrbot/core/umop_config_router.py +81 -0
  59. astrbot/core/updator.py +1 -1
  60. astrbot/core/utils/io.py +23 -12
  61. astrbot/dashboard/routes/__init__.py +2 -0
  62. astrbot/dashboard/routes/config.py +137 -9
  63. astrbot/dashboard/routes/knowledge_base.py +1065 -0
  64. astrbot/dashboard/routes/plugin.py +24 -5
  65. astrbot/dashboard/routes/update.py +1 -1
  66. astrbot/dashboard/server.py +6 -0
  67. astrbot/dashboard/utils.py +161 -0
  68. {astrbot-4.3.5.dist-info → astrbot-4.5.1.dist-info}/METADATA +30 -13
  69. {astrbot-4.3.5.dist-info → astrbot-4.5.1.dist-info}/RECORD +72 -46
  70. {astrbot-4.3.5.dist-info → astrbot-4.5.1.dist-info}/WHEEL +0 -0
  71. {astrbot-4.3.5.dist-info → astrbot-4.5.1.dist-info}/entry_points.txt +0 -0
  72. {astrbot-4.3.5.dist-info → astrbot-4.5.1.dist-info}/licenses/LICENSE +0 -0
@@ -21,16 +21,17 @@ astrbot/cli/utils/plugin.py,sha256=kS37S3bAK3q43mL2wvQM8FuqaSkgLQU_Yt2XqxjnxNo,8
21
21
  astrbot/cli/utils/version_comparator.py,sha256=3gLFA94eswvFsBVDSJmOTLJKxTdCD9kkQFy2Lu7vcTc,3482
22
22
  astrbot/core/__init__.py,sha256=-1atHjMqQyequsw6A1heEr4LldE0JVII9MXcuQFSAQM,1218
23
23
  astrbot/core/astr_agent_context.py,sha256=emypZloG0UWATEKUobDH8yLYcqmaVj9N3HwMQmvY3sc,375
24
- astrbot/core/astrbot_config_mgr.py,sha256=Z1OwN1DKoZFdul9S8wWeRTiPjKnp0OiYQlmSloVw5nI,10024
25
- astrbot/core/conversation_mgr.py,sha256=DCnFXhdB0vf94vclX8l-JbLRcSny3cwxhwecAV4jbW0,12217
26
- astrbot/core/core_lifecycle.py,sha256=z8ivxD4OY5iBK8XO078OlmvSwnCtpTKtiuMF_AF1Adk,11588
24
+ astrbot/core/astrbot_config_mgr.py,sha256=jQZJjdcmYF-dSdWLykTDi3IW-OwEBPboSmYWXLAsVs0,8747
25
+ astrbot/core/conversation_mgr.py,sha256=_N91hLjpW7BgnOtqvjRX-OK6xAZU4a0trawfJBCc60c,13569
26
+ astrbot/core/core_lifecycle.py,sha256=MBOeW0B8Kkg6fF5BRVf2tx4jJ4oXqlxUlOJMiAQmRTg,12467
27
27
  astrbot/core/event_bus.py,sha256=781lHFtnOfxBqS4CSxwTiPyoPvYOlbJce6arUGVfZEg,2536
28
- astrbot/core/file_token_service.py,sha256=JmojgbEV022CTiFLsueOHrTnQV3BUnF5-_XU8x-1yz8,3107
29
- astrbot/core/initial_loader.py,sha256=bycQeKq_xcP3cp-4jVlgoF2GE8nrWvEtkFZm2tL-A3g,1716
28
+ astrbot/core/file_token_service.py,sha256=LMU9NOc4RF7FUniZq5dhpR-auE3mVdZ2o0-ogcY-PEA,3315
29
+ astrbot/core/initial_loader.py,sha256=c-rvcPIOOYYzlfSfu4VN5LsAmblFWJTr8tQRX2mooWo,1789
30
30
  astrbot/core/log.py,sha256=wFCYVMMoyiMlGCI0PE8lYdJBd3SpxrkXjx1PvnlOEIU,8521
31
31
  astrbot/core/persona_mgr.py,sha256=iWvGsiHpky1fbPhmfQP1jDzHTWqv6g3GQ7ZROeOdaAc,7300
32
32
  astrbot/core/platform_message_history_mgr.py,sha256=qNd5No1HzaLKQ6XVFdJohaiwAB6cjJVXPSwgmxsUyAs,1514
33
- astrbot/core/updator.py,sha256=voVD-08Jc-s7TBqiRboZk1DLlPQjcstr6LgPklIWlVk,4588
33
+ astrbot/core/umop_config_router.py,sha256=ky6mTDQ3tIq-7Xz5XiM9Djmg_7b7WD8ejQIt5qsjkr0,2962
34
+ astrbot/core/updator.py,sha256=ry2Xg5ex1k_TdhOM1UMi_PsK2HF6H6n4OUlaXWLXs7c,4592
34
35
  astrbot/core/zip_updator.py,sha256=iSwa3S2fHXGqYA3ie4SEMrWNy6fSDpW5toCygQFdKSQ,8828
35
36
  astrbot/core/agent/agent.py,sha256=ruwCYv7ySS5zxmhD_49ABKJ8CZSS4lY2fQ2rTlitP-k,365
36
37
  astrbot/core/agent/handoff.py,sha256=_046TjTUda3CxtXR0ngb_z3f1XGTqx9pfhh28_Dl3Ts,1168
@@ -42,23 +43,43 @@ astrbot/core/agent/tool.py,sha256=fXFkQGFIIoX9Y1GYj_LIGyrybOeEKSqOo7-3F10zf58,89
42
43
  astrbot/core/agent/tool_executor.py,sha256=keliOV_lyrI6CALr-MAVCdLE-HjxZh9zygoY61IVkfM,384
43
44
  astrbot/core/agent/runners/__init__.py,sha256=KwR34OKGVSQpJ_MaGVP_MX5L1SZ4oU-lv4GuMbSF5Ys,65
44
45
  astrbot/core/agent/runners/base.py,sha256=exZS_d2BsrLz-xgeY9ZUPuXikBDUnKxO-dU3ZFQMhRs,1625
45
- astrbot/core/agent/runners/tool_loop_agent_runner.py,sha256=O4sYg1V3dbUcZFLek5Izi-aEJb983tk9DJOCBQvQjro,13558
46
+ astrbot/core/agent/runners/tool_loop_agent_runner.py,sha256=bg-YKJV2jRNyR2gu3FZNx_aKIFUYr5zjyzJWDlVLVpU,14940
46
47
  astrbot/core/config/__init__.py,sha256=0CO_3sKtI3WOwWT0k4i6TleWq1SAWJFfB8KjnYB8Zig,172
47
48
  astrbot/core/config/astrbot_config.py,sha256=X-b3c5m4msgJrdYFH2LXic5XKY0ViuUMdNZ335zqSBw,6335
48
- astrbot/core/config/default.py,sha256=vbUAFpfz7ckiih9Hi3rXKq-WsTK3Ut0rs1RyPW90ZHY,126511
49
+ astrbot/core/config/default.py,sha256=CsZR9TnL-ZhGKZlCutKLcKJZssjFfmc7DkBZeihJfJg,133409
49
50
  astrbot/core/db/__init__.py,sha256=JOAMt7_j0y96CuArXJ-YY_qXisSartOZwyDTKf9ZDn8,8844
50
51
  astrbot/core/db/po.py,sha256=NDOJpUXI1i4BF1uymCj07opwXM0gdHBtwCoL16Xj4jc,7798
51
52
  astrbot/core/db/sqlite.py,sha256=_5-B2Jlare4twLG0TlO95bVTaLu0HAXsfpX5LOcoVWA,26082
52
- astrbot/core/db/migration/helper.py,sha256=FcwpvBANNeyBSrRhXyd3hudHYEyhTyrcRg9mU9lZtqY,1935
53
+ astrbot/core/db/migration/helper.py,sha256=zWh_bjEpINQ2Dm9xF7NEOblG7jFoMNq--7APT0CCDAQ,2078
53
54
  astrbot/core/db/migration/migra_3_to_4.py,sha256=I1CesaBbf5wj9agtNWxDl1V-qixmwdURbBQf5Vzagrk,15025
55
+ astrbot/core/db/migration/migra_45_to_46.py,sha256=Fw6DG_eJ2zNZkEs2tmSqvgDDapslzLpm5SaJhGuN32E,1559
54
56
  astrbot/core/db/migration/shared_preferences_v3.py,sha256=tE11WIpwT-Q8yVBkw4eveRr1PmFdNRJQSprH4xdO3G4,1245
55
57
  astrbot/core/db/migration/sqlite_v3.py,sha256=U3Uysd_IGT4ObqCFE7yQeIo_1kBrAYb_r09Uy_Vvr3A,15002
56
- astrbot/core/db/vec_db/base.py,sha256=Oc1mE-ecAaroQBxtVy5aGW9lHIbARRChjvAwaOFIMVE,1058
58
+ astrbot/core/db/vec_db/base.py,sha256=CGqXkxoUluu4L-m-Pkx04ecU2hHg7z6xs2fKlavTPuM,1809
57
59
  astrbot/core/db/vec_db/faiss_impl/__init__.py,sha256=S3gwB-ZL9aPJwDM5ia8a_t-xsfANKoslpJvtNd5ErcU,57
58
- astrbot/core/db/vec_db/faiss_impl/document_storage.py,sha256=6aswY7f6vmpnJ7BXjVUFUI4vA3i83R9FzN35XWrS8yI,4166
59
- astrbot/core/db/vec_db/faiss_impl/embedding_storage.py,sha256=pSu-ySlli-wbeVFQ7v-ZWpVn08m3Rr9uld1_692_aZQ,1810
60
+ astrbot/core/db/vec_db/faiss_impl/document_storage.py,sha256=CHNYUasgiIth35BRt2mMw_PfBwlcsSlaQ9ZaSemsYTE,13448
61
+ astrbot/core/db/vec_db/faiss_impl/embedding_storage.py,sha256=xh1ym9VJ1-TOJQ-u_thA31g9wpqlApKG2VUHmq-_F-Y,2920
60
62
  astrbot/core/db/vec_db/faiss_impl/sqlite_init.sql,sha256=RiF1mnAFAHtyThOsS0qjvniUF5t9Y8k-gjSlh51p2x8,681
61
- astrbot/core/db/vec_db/faiss_impl/vec_db.py,sha256=Tpp-pNoRWc1MnRRpo6CeM2TbSc9lDwGNwufXspxDlfc,5146
63
+ astrbot/core/db/vec_db/faiss_impl/vec_db.py,sha256=tgE0O58XIbd0tf7kAUdkSjFEiIB-PgjgWrT5VWhwdcI,7085
64
+ astrbot/core/knowledge_base/kb_db_sqlite.py,sha256=_yWPGRnqYG7TG1nNqGmRP3cu5ZVmQvumX2rhvhrHLyo,11052
65
+ astrbot/core/knowledge_base/kb_helper.py,sha256=46E1WNgAJwvIlPnEug7Do7TCE9nsIivrNbRcq36wP5Y,12030
66
+ astrbot/core/knowledge_base/kb_mgr.py,sha256=DJY3noHavR9NzxqlAW-T9kjjssZ0-pyuaKnMKziZ2nI,9740
67
+ astrbot/core/knowledge_base/models.py,sha256=k5iijWxEIhxkdinIVFQZ5MXVNi78tAh7uRhUl-qDwMA,3931
68
+ astrbot/core/knowledge_base/chunking/__init__.py,sha256=l_N4AhYoRksf0Ba9DTRkagTMh-GPtJhIdrLhD2KlwOQ,157
69
+ astrbot/core/knowledge_base/chunking/base.py,sha256=a8EcYz3Oo0IJVVGTN_Lgce72RHFF5CSx1-4rG2CiQP4,470
70
+ astrbot/core/knowledge_base/chunking/fixed_size.py,sha256=yitpENu_IcFo8SsIEyt9IEPOhbWIqZrgZlTqYm1xTdc,1557
71
+ astrbot/core/knowledge_base/chunking/recursive.py,sha256=6JXMFx7HrV_diYqUMym8QJ-rUYfpwSp1E-D8cvL2AYo,5721
72
+ astrbot/core/knowledge_base/parsers/__init__.py,sha256=VedaV8zxk8TPBKzIQhUwbIop5FVN-INoNJYdTGDdqLg,258
73
+ astrbot/core/knowledge_base/parsers/base.py,sha256=JAsLZ6-57PADmSaaBW9mBllNZIuSRziqW_zhV73vTn8,962
74
+ astrbot/core/knowledge_base/parsers/markitdown_parser.py,sha256=L6W2PhkLIUP0xy8BOR1DwH7vMCDORztTnRG8rG-ykgg,700
75
+ astrbot/core/knowledge_base/parsers/pdf_parser.py,sha256=TxUQHl4dp3lVXbdJMxX3ZWFjblg2hZFoyFKbsVK40wk,3091
76
+ astrbot/core/knowledge_base/parsers/text_parser.py,sha256=XFo6y3eha4g4y3iZ_4KORoWdvYWX-zrjLUt4phSk2Ao,1094
77
+ astrbot/core/knowledge_base/parsers/util.py,sha256=wjBUHBC3Cfau5hvspjDrqsMjxh5BF8NjZgNiQtShmss,398
78
+ astrbot/core/knowledge_base/retrieval/__init__.py,sha256=UHpL0MqdRtpySSk2Yd-C_yd_m1nlhRK0rFv24lUCwlU,328
79
+ astrbot/core/knowledge_base/retrieval/hit_stopwords.txt,sha256=8LikiRxpjLdAfJYyOQ2tUUPM9wEEZ0y3Mh_XXsxAeug,5271
80
+ astrbot/core/knowledge_base/retrieval/manager.py,sha256=VP31I5lG_qQLFE7e27IljPT-lcd9MQbJi3jYT3FOFNk,8433
81
+ astrbot/core/knowledge_base/retrieval/rank_fusion.py,sha256=Rf5_BShFRTTYp7I6VbNnUnaEp0OhIMSfb3u1seSXTr4,4412
82
+ astrbot/core/knowledge_base/retrieval/sparse_retriever.py,sha256=O93uwRkZYJwS0C2Yi92bM4jPTVST0Ye13xaQOLfohek,3777
62
83
  astrbot/core/message/components.py,sha256=AzJACQYgw0Yo1iwSIyQWtfE8Xyo-6Q8KcQPE9yT5otQ,28208
63
84
  astrbot/core/message/message_event_result.py,sha256=dooPyzDVV4danPNQBvZsSXemGsihnBjW3qYByYUEa1s,7248
64
85
  astrbot/core/pipeline/__init__.py,sha256=-jo6a9lKmwY8oPoifJi0IMLPOVdknQKG30ppIyCs5Bg,1461
@@ -73,7 +94,8 @@ astrbot/core/pipeline/content_safety_check/strategies/keywords.py,sha256=j3Ns_IH
73
94
  astrbot/core/pipeline/content_safety_check/strategies/strategy.py,sha256=G32Xf42EgeyEnhyPLVYlUMiSnDNHUUnnz_MG0PXqfV4,1234
74
95
  astrbot/core/pipeline/preprocess_stage/stage.py,sha256=QSgOswf8FHy1j4QozRxJv4qVd-RynG8eriHufian60U,4194
75
96
  astrbot/core/pipeline/process_stage/stage.py,sha256=2hCX5LdUCzX2RbleMLF_Yqiot9YDyutF3ePPOZsWeA0,2677
76
- astrbot/core/pipeline/process_stage/method/llm_request.py,sha256=vfOv3NgsjbbwnbhhjFuj3wPd12TyFZTvpaY1O8VkwXc,26181
97
+ astrbot/core/pipeline/process_stage/utils.py,sha256=1pGcZpQiMpdvULLrLpqTau9IwkTKTAE4L0XmcIPwPxU,2591
98
+ astrbot/core/pipeline/process_stage/method/llm_request.py,sha256=LaI9GaFhzm1Du_dDvgfLM1nUhdXC3rjm4hI6XAUl39o,26945
77
99
  astrbot/core/pipeline/process_stage/method/star_request.py,sha256=IuPP7qnxvBgKV6a9D3wLU4_KU3Ec3Ml7IOADQCXDgqk,2501
78
100
  astrbot/core/pipeline/rate_limit_check/stage.py,sha256=I_GkpSgioN0-T_catMwpRKtxx-TiMmvu8vV_FE5ORIA,4072
79
101
  astrbot/core/pipeline/respond/stage.py,sha256=XE5yGsHGxESP0zAGmx3qHovP1wGaJDXUgfLb5Z4wasE,10837
@@ -82,7 +104,7 @@ astrbot/core/pipeline/session_status_check/stage.py,sha256=woucuVbzzQoi62MDoP3lT
82
104
  astrbot/core/pipeline/waking_check/stage.py,sha256=URBFmfid1CKhtCGjH7OzFmxBE-Gt9vv1eYlp6msIv_Q,8240
83
105
  astrbot/core/pipeline/whitelist_check/stage.py,sha256=VcmLs0VfmspNTsitL_WrZXfv2lR2Nktrb5JEWc1VJuw,2403
84
106
  astrbot/core/platform/__init__.py,sha256=jQ4UiThp7cDHfmIXAgBDodET87onl7mjii0CAD3RXTY,361
85
- astrbot/core/platform/astr_message_event.py,sha256=pDZO52rLdPcPc-3c3VhK8SuUKmmxJimhaOh7W6BU19M,14657
107
+ astrbot/core/platform/astr_message_event.py,sha256=Re_tL9bugMXYpBu9WbWIeIPgHlDNy56FNGWShkCV5hg,14851
86
108
  astrbot/core/platform/astrbot_message.py,sha256=r7jlUPfaOEh0yCSHaS1KQtYarZ9B4ikqMZwDj-wLv_k,2655
87
109
  astrbot/core/platform/manager.py,sha256=UTA6Y4DE5gpkJtV_oEeKG1EH0KoaWHFT3RkjJ7HEwzM,8264
88
110
  astrbot/core/platform/message_session.py,sha256=Hitdfb7IK4SohaMFld0s0UlwLDpVw5UPTToh05bvH60,1076
@@ -92,7 +114,7 @@ astrbot/core/platform/platform_metadata.py,sha256=efQQrAquLK_8SxJm1h0HLR0k-RKS29
92
114
  astrbot/core/platform/register.py,sha256=5uLNIbxyMbQDAvTEZ5Iv9k9uT3sI0QASP6yChMcdkNM,1860
93
115
  astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py,sha256=PN4h7TjH2UrQZX9bZmI6bGtmXgxHEx5GJREI-Vw0qX4,8036
94
116
  astrbot/core/platform/sources/aiocqhttp/aiocqhttp_platform_adapter.py,sha256=X5Rk_5ZnQgzKazbnIoLf85gex35qSABDyp0SKzBk7g0,16768
95
- astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py,sha256=unEkE_KBwCLn9mOBs49WMUKqk8ddpaKN8MMyYep6rhg,8514
117
+ astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py,sha256=vlvVkyroRSt7QaJiKaCadpDBvNJXPDn2uNaWqbzlm4o,8703
96
118
  astrbot/core/platform/sources/dingtalk/dingtalk_event.py,sha256=CYTVhpiIedNdLQxjKJlK26GxSWZGlUFNbxZZ5i3tM4o,2672
97
119
  astrbot/core/platform/sources/discord/client.py,sha256=mNAE81bYJSvdhbSXrR7MDZIqtGEqDYynpRCGZNf9-ag,4592
98
120
  astrbot/core/platform/sources/discord/components.py,sha256=QQYKLrdWjvzxMVrNZTxGW-rhdnn4L0CY5wbzxvQ0DY0,3845
@@ -100,17 +122,17 @@ astrbot/core/platform/sources/discord/discord_platform_adapter.py,sha256=aeR1lv8
100
122
  astrbot/core/platform/sources/discord/discord_platform_event.py,sha256=1YjlH3P-jY3tsE2dBFBnX9833_h55lI6A4xmLcOvlac,12008
101
123
  astrbot/core/platform/sources/lark/lark_adapter.py,sha256=JO_gBvAw6e2hTkXWOYeeSPUqdDjnsyVmtXh9SWXZO4A,8233
102
124
  astrbot/core/platform/sources/lark/lark_event.py,sha256=NXz624wDWV8NLi00va9KdMOvRo7o4FMafV-w2-Znzxg,5133
103
- astrbot/core/platform/sources/misskey/misskey_adapter.py,sha256=E1RSbuQ1D0blXBj66oQYyIHn2q5X4hkMZh6MS6XDKqg,14714
104
- astrbot/core/platform/sources/misskey/misskey_api.py,sha256=3q4mE3Y5TuY3tErHHLhzwv1MC0Bu2_Wj2R4Qu73GtN4,14546
105
- astrbot/core/platform/sources/misskey/misskey_event.py,sha256=wssLcT9bx-bXGiQw08uZNussmSR-2sfNjnbrrDn8xRY,4697
106
- astrbot/core/platform/sources/misskey/misskey_utils.py,sha256=BQO2nsqMYy5UDhqAoRtUuj72x9OwAnrIUx5AoHrIiJE,10747
125
+ astrbot/core/platform/sources/misskey/misskey_adapter.py,sha256=GrHoeogD4xe7H6c-yFEkDf5FrhEH2WfsqTGJyErGwkE,29088
126
+ astrbot/core/platform/sources/misskey/misskey_api.py,sha256=JEvYyKCxjLNo0WdVE2MiqxKryn3ki9YqZRZmZZCxsvs,35773
127
+ astrbot/core/platform/sources/misskey/misskey_event.py,sha256=Rt6I0ho1MyZUOVNKlxIQaPqzc1JR61HmBIKe7NVQOsQ,6464
128
+ astrbot/core/platform/sources/misskey/misskey_utils.py,sha256=fTxgsScSTWJ1XqsKXYxMMhb_U3CXAyMKlzHQ7Wc5zic,18029
107
129
  astrbot/core/platform/sources/qqofficial/qqofficial_message_event.py,sha256=f8PA-kFZPe5iRqZZN4YYKj4wZSfozz8ySskxiE6BgpU,11954
108
130
  astrbot/core/platform/sources/qqofficial/qqofficial_platform_adapter.py,sha256=6zJGUdXc-EkQp8ITPRYr99tVEFIRc20x4Fs-9QVT8Zk,7279
109
131
  astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py,sha256=PTW_WpZSzlFuchtpu0uAIMy2KcDMi_BBnr6tUgOJNZk,4295
110
132
  astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_event.py,sha256=BrxaNhG3sy5QAKf8DlZlum6R7m9X5Fm0SxBrKIC_1hg,499
111
- astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_server.py,sha256=5A8EVmdx0j1lrd4lmJhM3S_tJJYsdMrEcR93X-lYT4Y,3726
112
- astrbot/core/platform/sources/satori/satori_adapter.py,sha256=1CJOMXraR1uXCZc8-oHQF0sdqIM_xmQBFjZarhNGlEQ,26827
113
- astrbot/core/platform/sources/satori/satori_event.py,sha256=itSbWfA7Ym2qUWNreoWHLdg7xlFdfdNi6Jd3CM9Bjtw,10617
133
+ astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_server.py,sha256=YOH6yV6YqI0RlxMVLA29cPh7CkS7CBbdbFe1QmFVxSo,3812
134
+ astrbot/core/platform/sources/satori/satori_adapter.py,sha256=wOsWD-Jb3Mps8fzfDGfokRB42k6pDN2gvpieajWULcQ,27815
135
+ astrbot/core/platform/sources/satori/satori_event.py,sha256=I-ppTK4lPd2TY58LdiQ20eCGPtMPn-nSaWpS6J4zqhM,16095
114
136
  astrbot/core/platform/sources/slack/client.py,sha256=p0gCh9gj_VR8IacGg09-BXp2IM8C0oTnodrvEVmShMA,5637
115
137
  astrbot/core/platform/sources/slack/slack_adapter.py,sha256=BdZTCNXsO5nUKY2HrZD5tpxMzpnvL7n3_vr2JgJfDS0,15812
116
138
  astrbot/core/platform/sources/slack/slack_event.py,sha256=RYTJBqk5-CYQKgk-ejPuMKJyfaxSTqPjvfqKvPNg5Yw,8791
@@ -141,42 +163,44 @@ astrbot/core/provider/__init__.py,sha256=fhD_KB1-KpqJ7woaXDXc7kdlmL3XPQz3xlc5IkF
141
163
  astrbot/core/provider/entites.py,sha256=-353AdRDA6ST4AS48cQ1RRAXHSy3F7pVS_28hW4cG2U,388
142
164
  astrbot/core/provider/entities.py,sha256=CkC-U9nafBKo2n2kLZqzukosDX7RuZWAK4DMBHQkasA,11238
143
165
  astrbot/core/provider/func_tool_manager.py,sha256=NuWMmAJaEwoJ3XCSvhwtmzDPdzX4K4BIRKuKgF0FlQk,20881
144
- astrbot/core/provider/manager.py,sha256=GoRR4hTRyYaaWH6_ICx0tflqG1Lng72dVOuq6pagb5k,21729
145
- astrbot/core/provider/provider.py,sha256=3R0xWAYuUQ0VXWja1TZtVVfqN8d3f9VhhYdpdqj5uaA,7239
166
+ astrbot/core/provider/manager.py,sha256=qcu_CpYfcf7BBmyHnR6sHoI3dVgcImG9zBqxf6fvgss,22361
167
+ astrbot/core/provider/provider.py,sha256=I_240hwpzkHudVdeGrCEqJODjVR0yls3n84cviXyquI,9954
146
168
  astrbot/core/provider/register.py,sha256=bWAF9zWNnSYQWjmZIXiWgxFaeWIiWjEoEIN_xhmq3mM,1830
147
- astrbot/core/provider/sources/anthropic_source.py,sha256=GQY8TUw56V6pIGfqwT7KeJ-8dBSDZi7jjCwbhSsVekQ,15184
169
+ astrbot/core/provider/sources/anthropic_source.py,sha256=VKTd1wc6_6Z5G4l7Sqy3sqEqid-IMbPgi1s7RiYpaBw,15202
148
170
  astrbot/core/provider/sources/azure_tts_source.py,sha256=V8WGpMFeYn-DhmE2FtYYYir-51T1S81XKvP08tslm8E,9350
149
171
  astrbot/core/provider/sources/coze_api_client.py,sha256=dr2QpON0I83eIyadh5XDEVnGl26Jm5rbXGzQKkLBBcc,10820
150
172
  astrbot/core/provider/sources/coze_source.py,sha256=KddH9Ryl-cuaobjVBY5ar_cPEb5MUDvc7Pqx9BTp9Oo,25215
151
- astrbot/core/provider/sources/dashscope_source.py,sha256=HPzMCI-x5Ht76KxxvWHSwffW5tq6gWJQl48O_YKCTcc,7321
173
+ astrbot/core/provider/sources/dashscope_source.py,sha256=M93QNShgfdVy1rG8ffEKPUdHNLc02xEK-hGEbGvhr3k,7346
152
174
  astrbot/core/provider/sources/dashscope_tts.py,sha256=gMm876jMiL15bmMbkAaQSP-XKjSdL1rBLrXCFVQXJhQ,5522
153
- astrbot/core/provider/sources/dify_source.py,sha256=Q0VmnacKwD-fOnvwYqbrRMspDYOlJZAHnjBawRzshw4,11472
175
+ astrbot/core/provider/sources/dify_source.py,sha256=ktT-uHoCnDFQYMS1U5ueOHvuMvIVyX9qiPgWZADBTlE,11352
154
176
  astrbot/core/provider/sources/edge_tts_source.py,sha256=foO2E0Wdc2wJy8yMbLUyX0cjkP6MD4vPCbc8q3Ckkug,4716
155
177
  astrbot/core/provider/sources/fishaudio_tts_api_source.py,sha256=Tu4wHh5txKDWn3_Z57hWgzTU8QUw1oVFBndAqmp4aLY,5439
156
- astrbot/core/provider/sources/gemini_embedding_source.py,sha256=FlVlacBLlxo4ZZgrBhurDQRuDYRGtR8Du35XuXEY9nI,2307
178
+ astrbot/core/provider/sources/gemini_embedding_source.py,sha256=jrB2NJqXuZQootOiAGzZfuh-xEaeUxGc4HAfqjqjRLk,2272
157
179
  astrbot/core/provider/sources/gemini_source.py,sha256=U7imSkoR1kQyTZN_ueCnbMlJ3bi6cjSNdKivLeOUGeU,28787
158
180
  astrbot/core/provider/sources/gemini_tts_source.py,sha256=mNcb9G6Lb58L2zoSYzroQGyASGrv3k4ZjmOIVvhii_o,2886
159
181
  astrbot/core/provider/sources/gsv_selfhosted_source.py,sha256=7wSQ32AJv4cisjnedENfpThd1kHDqYvnMSCpwbpNNM4,5936
160
182
  astrbot/core/provider/sources/gsvi_tts_source.py,sha256=EoYuAf85NVcPPbyRWkE_doWF-7R8IM5o9ozxbbvaFRk,2025
161
183
  astrbot/core/provider/sources/minimax_tts_api_source.py,sha256=jNLP_4-UHq_Iekvjn3h7G6YZjTCGuII-hq-1RhzjSlE,5877
162
- astrbot/core/provider/sources/openai_embedding_source.py,sha256=IIz25EksuIWINKpLqfKG-9Qc4bJ398w24oMjoArXFUA,1669
163
- astrbot/core/provider/sources/openai_source.py,sha256=_koDL9xmsFb4Gf2r-1VWzKMGTwQcgs00RKtWOZqcfck,20944
164
- astrbot/core/provider/sources/openai_tts_api_source.py,sha256=ClRxEuBJ2-vM5rpMwwhOZXXJanq6asEAVPRvD9wYFrI,1626
184
+ astrbot/core/provider/sources/openai_embedding_source.py,sha256=3KH9WDXZEShESgu1lGgR_8wKzG88qKm0u5yR8lafBHQ,1634
185
+ astrbot/core/provider/sources/openai_source.py,sha256=B3PjeCWhNpOIF1MXe5JeU93CAuFw8egFZAG0mKlLOzM,22021
186
+ astrbot/core/provider/sources/openai_tts_api_source.py,sha256=HpLR-hnwNV2u5ohO78phCpkAVRXnBkOSSPLKMeyzGmQ,1624
165
187
  astrbot/core/provider/sources/sensevoice_selfhosted_source.py,sha256=2-NUDRiJJs3onxnrovdoVqUMI8bxGu2J2n3ZgwjxEm0,3828
166
188
  astrbot/core/provider/sources/vllm_rerank_source.py,sha256=Gv_veniilJ5v9lPGlQG_zmQYmHfhNggYIwj5p02CoLE,2275
167
189
  astrbot/core/provider/sources/volcengine_tts.py,sha256=eNS7XUtDTunGuZV8UaI4-ghNyY_fDRW0hiZPssBNsPQ,4143
168
190
  astrbot/core/provider/sources/whisper_api_source.py,sha256=qKE9Wx7Nse9pKovbDb__sVBeG7opR_yar5ZsbIYx9e4,2626
169
191
  astrbot/core/provider/sources/whisper_selfhosted_source.py,sha256=Qggu2IkNyCYVqNYc5NsonVcVpcLe-t04L-IpqnCzh_A,2636
192
+ astrbot/core/provider/sources/xinference_rerank_source.py,sha256=VB6wHkdWlFexKgQ8udFC1LXDWPM-FdAVsVEfq0_twwQ,4343
193
+ astrbot/core/provider/sources/xinference_stt_provider.py,sha256=Upzf_4ZDKxcJ2Ucrprb86JdYo_vv9RpA85d3ExKCYhI,7653
170
194
  astrbot/core/provider/sources/zhipu_source.py,sha256=wUXp9wjMoFjYKqjwkDDUWGduzkrqYvoffjsJch3iNnw,706
171
195
  astrbot/core/star/README.md,sha256=LXxqxp3xv_oejO8ocBPOrbmLe0WB4feu43fYDNddHTQ,161
172
196
  astrbot/core/star/__init__.py,sha256=ynSwMrdCLyVMN3Q9flS_mcDDjdIGrkLBpfeDVoFj6PM,2080
173
197
  astrbot/core/star/config.py,sha256=f4h1YFt1Tn6S2D-LvnhM483qaD8JdWjl-TBRV9CeYBo,3593
174
- astrbot/core/star/context.py,sha256=6s2EdmIghQhLj2MFeRb5zwqO_wbug9zDTrljQgn-FvI,12961
198
+ astrbot/core/star/context.py,sha256=Vhm1-IJy-iZuW09Y28ggx7oSJyOnL9tN9LR8IDdAj_0,13305
175
199
  astrbot/core/star/session_llm_manager.py,sha256=c9vPbL454_H--x5c-cjbiH-y1CrcMfTLfbhNmKgSYio,8467
176
200
  astrbot/core/star/session_plugin_manager.py,sha256=3vxbqPikZg4ZTHG_STvEKeqNplo78wknILSnFCmHTr0,5291
177
- astrbot/core/star/star.py,sha256=fEgg7pxiIsnRg4Xw_KBIyOy3V919MpIgAWQ7FoE7bWc,1690
201
+ astrbot/core/star/star.py,sha256=5jdigpi4WCTLROdg0q15cLOCgER6uNY9x3elqglCa_g,1831
178
202
  astrbot/core/star/star_handler.py,sha256=0hQq5QOre3AjPx7AfZfyfvx2k-iVBCaXg0hofvqE2k4,4888
179
- astrbot/core/star/star_manager.py,sha256=c6s90gg3SgUIQ2UZxUUhslFPdS3jxVaVZOulvSMRU7M,36392
203
+ astrbot/core/star/star_manager.py,sha256=cVj4yQYPwS20Y9w1ThnVz8jfeG62xKFDPxcJi65muyE,36703
180
204
  astrbot/core/star/star_tools.py,sha256=tAX49jAcGc5mFYu7FW3MrTFgAKtX-_TIE3tfeEArGx4,10863
181
205
  astrbot/core/star/updator.py,sha256=IVml0S4WGmKRl42EeDbU0bP8-7d0yfEY0X9qpshI_RA,3129
182
206
  astrbot/core/star/filter/__init__.py,sha256=xhdp6MMbBJbCHDDtBcAzWZ86DSFTPKzj8RpE2Cdb8ls,469
@@ -193,7 +217,7 @@ astrbot/core/star/register/star_handler.py,sha256=Dy6WkDyhHOe975uB9yAB7NsWFo0njZ
193
217
  astrbot/core/utils/astrbot_path.py,sha256=ZK-OmCTOxH63GQ4kBMGZs9ybKmKuHMNXdW9RKqLbYRk,1227
194
218
  astrbot/core/utils/command_parser.py,sha256=Cwd4zzyKEoC-er0a-9WZ5n2g4F8eH9p6BHxD96gjaVM,617
195
219
  astrbot/core/utils/dify_api_client.py,sha256=EpV3hPB0aFWGQtjgtS-SEM3EFmBoMmvEOKyU52TQgbY,4809
196
- astrbot/core/utils/io.py,sha256=zFxFVNEPA04Jr15GGdf6K3-9gBe4pxxGfsxqkqSXZ0Q,9082
220
+ astrbot/core/utils/io.py,sha256=gHviSn-HCqoImGhusgFrgtxzGIeewbfJPM1ZlRRkdNA,9423
197
221
  astrbot/core/utils/log_pipe.py,sha256=AU-y7vvAUtegH3XRenJqsFpmH0UIV4zUfLWh-5uPkCI,883
198
222
  astrbot/core/utils/metrics.py,sha256=uFGS3ZU81vcUbhiIrc-VAy9t5Lc6Oxh13wGYcl3oVGY,2456
199
223
  astrbot/core/utils/path_util.py,sha256=_PKjMtQBGD_C7o5BzN4-NSsqCffPSr9NwiHQHTSehkM,3130
@@ -210,25 +234,27 @@ astrbot/core/utils/t2i/renderer.py,sha256=WPA1EBt8RQ3_3asnK9neIy66eg9WYdlPzJKh_D
210
234
  astrbot/core/utils/t2i/template_manager.py,sha256=EO6YO9A9bkwv_MLUNTqMtaFfd5r7sWpD0-K1qcRu1lI,4522
211
235
  astrbot/core/utils/t2i/template/astrbot_powershell.html,sha256=UcjetoIJG3pJRUHMDOor3Nhj7FFmVXXpkySkpXXztO4,4943
212
236
  astrbot/core/utils/t2i/template/base.html,sha256=fQvq4I4lrlH2s_jwAzj62lWeC4g87xXsYJMJ0XunCPA,6619
213
- astrbot/dashboard/server.py,sha256=4d_0xDfMW-qKabVLBEVzOnjxF3qIiNMr3dvaxZO-cEk,9049
214
- astrbot/dashboard/routes/__init__.py,sha256=Bn6_rbYtujttHKHEn8Smv2RiObhwWyH9TagW4HZSzGw,710
237
+ astrbot/dashboard/server.py,sha256=EEm0l76TY39B14ZebPjsVEsi83-qVAzGw-kqOWksHaI,9296
238
+ astrbot/dashboard/utils.py,sha256=SqfUqTaRseeiJWGgSlrRm4CuxgJgqw7MXODjl0J2pXA,5343
239
+ astrbot/dashboard/routes/__init__.py,sha256=tx0Rp-SV0dfj7f9znL0d84MOxK4lRLeqfCQhBA7_aac,783
215
240
  astrbot/dashboard/routes/auth.py,sha256=igVjZWluaQpF-lrg-Ueb4IA553dA_Sn6pAxY34-83i8,2964
216
241
  astrbot/dashboard/routes/chat.py,sha256=6dGKXBkbGb5TGcIMFh6tr6bvdv7yekrgehSdkYSZ8Ls,13232
217
- astrbot/dashboard/routes/config.py,sha256=VRbWmtmPKSpWkyHb-NU02FUgE5Z3qq1aRnq31CBOPPs,34840
242
+ astrbot/dashboard/routes/config.py,sha256=AucpVJgif082vMtemB8kD7YG7nF4nSF3NPIqJZj5Zx8,39961
218
243
  astrbot/dashboard/routes/conversation.py,sha256=4-jGtd5ApzcN1Jh6UAGet0A7oPkRMvvxk1gKc47KHmo,10768
219
244
  astrbot/dashboard/routes/file.py,sha256=y3yi4ari-ELwiDicuniBlvXhVe8d1JgWRl6FdC42v9k,706
245
+ astrbot/dashboard/routes/knowledge_base.py,sha256=EKF2e1htzwQ85RHHRiOuzqUh986KoymU_i3DJdwC0vE,39547
220
246
  astrbot/dashboard/routes/log.py,sha256=hDl6Niz_Vs4xb64USjCBzdOcm68GDpEsQrNrLr8yKGc,2114
221
247
  astrbot/dashboard/routes/persona.py,sha256=6icnNNE8A0Yy1WI0INWD9ZPKC7VcZG-xHDfYElhaP8M,7857
222
- astrbot/dashboard/routes/plugin.py,sha256=cGGJVEM55uRiPo-EeD5apZQISzPw9vux7a-U2dE4fZQ,19429
248
+ astrbot/dashboard/routes/plugin.py,sha256=aAGDd2mLblJuGoA4vyyteKEXqqVGN7kn0qTS5TMQnrA,20268
223
249
  astrbot/dashboard/routes/route.py,sha256=V-Wm88D0BmxSYAUbedunykbWy5p7Tggae9nDhxm7LZU,1545
224
250
  astrbot/dashboard/routes/session_management.py,sha256=yYcaXDwOiNYoLrseCxazLoFpxj_rsOUQ9-_8zifAAXE,26811
225
251
  astrbot/dashboard/routes/stat.py,sha256=KCtP0-f9g664gM2SOBgnU8uKx6zt93-5Kut-d7wd7zk,6910
226
252
  astrbot/dashboard/routes/static_file.py,sha256=7KnNcOb1BVqSTft114LhGsDkfg69X2jHEm0tOK0kW0Y,1169
227
253
  astrbot/dashboard/routes/t2i.py,sha256=scp05AxoJM9cubrkSMBu1BbIWP1BMS50eFEPZ9S6WKM,8893
228
254
  astrbot/dashboard/routes/tools.py,sha256=xVw6sG6xnANZm-M2JXT75ftH_I58MMJ0FqejODnP4Xw,14658
229
- astrbot/dashboard/routes/update.py,sha256=cFeb0EGA69afhSB4o1HJYsvlBQGQotQXQJsp_juJ6ck,6707
230
- astrbot-4.3.5.dist-info/METADATA,sha256=DRMmyvO3PH-HQaBFmW2PU58Z2G2ov77ITzwNzpHl0Ng,10323
231
- astrbot-4.3.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
232
- astrbot-4.3.5.dist-info/entry_points.txt,sha256=OEF09YmhBWYuViXrvTLLpstF4ccmNwDL8r7nnFD0pfI,53
233
- astrbot-4.3.5.dist-info/licenses/LICENSE,sha256=zPfQj5Mq8-gThIiBcxETr7t8gND9bZWOjTGQAr80TQI,34500
234
- astrbot-4.3.5.dist-info/RECORD,,
255
+ astrbot/dashboard/routes/update.py,sha256=sWDH_diqNHugUoVzPSxLUHPtb_nv5YIEEIOGjA6VB7o,6713
256
+ astrbot-4.5.1.dist-info/METADATA,sha256=yx-0Ug1-jT6oqcx0bOxn34bDSoLpUtZM0IWlAiMzugc,10920
257
+ astrbot-4.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
258
+ astrbot-4.5.1.dist-info/entry_points.txt,sha256=OEF09YmhBWYuViXrvTLLpstF4ccmNwDL8r7nnFD0pfI,53
259
+ astrbot-4.5.1.dist-info/licenses/LICENSE,sha256=zPfQj5Mq8-gThIiBcxETr7t8gND9bZWOjTGQAr80TQI,34500
260
+ astrbot-4.5.1.dist-info/RECORD,,