AstrBot 4.2.1__py3-none-any.whl → 4.3.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.
- astrbot/core/config/default.py +49 -10
- astrbot/core/db/__init__.py +12 -1
- astrbot/core/db/po.py +8 -4
- astrbot/core/db/sqlite.py +144 -34
- astrbot/core/pipeline/preprocess_stage/stage.py +24 -0
- astrbot/core/pipeline/result_decorate/stage.py +5 -1
- astrbot/core/platform/astr_message_event.py +10 -0
- astrbot/core/platform/platform_metadata.py +2 -0
- astrbot/core/platform/register.py +3 -0
- astrbot/core/platform/sources/lark/lark_event.py +16 -0
- astrbot/core/platform/sources/telegram/tg_adapter.py +59 -23
- astrbot/core/platform/sources/telegram/tg_event.py +34 -0
- astrbot/core/provider/provider.py +1 -1
- astrbot/core/provider/sources/zhipu_source.py +5 -65
- astrbot/core/star/filter/command.py +32 -2
- astrbot/core/star/register/star_handler.py +6 -4
- astrbot/core/utils/command_parser.py +1 -1
- astrbot/dashboard/routes/config.py +88 -2
- astrbot/dashboard/routes/session_management.py +37 -29
- {astrbot-4.2.1.dist-info → astrbot-4.3.1.dist-info}/METADATA +3 -3
- {astrbot-4.2.1.dist-info → astrbot-4.3.1.dist-info}/RECORD +24 -24
- {astrbot-4.2.1.dist-info → astrbot-4.3.1.dist-info}/WHEEL +0 -0
- {astrbot-4.2.1.dist-info → astrbot-4.3.1.dist-info}/entry_points.txt +0 -0
- {astrbot-4.2.1.dist-info → astrbot-4.3.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -45,10 +45,10 @@ astrbot/core/agent/runners/base.py,sha256=exZS_d2BsrLz-xgeY9ZUPuXikBDUnKxO-dU3ZF
|
|
|
45
45
|
astrbot/core/agent/runners/tool_loop_agent_runner.py,sha256=rdGgu_QUjOIO5mEDbb7Fe-WZFDqVnOzrW5_D4Th5mcI,12894
|
|
46
46
|
astrbot/core/config/__init__.py,sha256=0CO_3sKtI3WOwWT0k4i6TleWq1SAWJFfB8KjnYB8Zig,172
|
|
47
47
|
astrbot/core/config/astrbot_config.py,sha256=X-b3c5m4msgJrdYFH2LXic5XKY0ViuUMdNZ335zqSBw,6335
|
|
48
|
-
astrbot/core/config/default.py,sha256=
|
|
49
|
-
astrbot/core/db/__init__.py,sha256=
|
|
50
|
-
astrbot/core/db/po.py,sha256=
|
|
51
|
-
astrbot/core/db/sqlite.py,sha256=
|
|
48
|
+
astrbot/core/config/default.py,sha256=iovKW9Kx8X-GSUjQduG5IaKFd2hpIf5okmVcM_OLUKM,123320
|
|
49
|
+
astrbot/core/db/__init__.py,sha256=JOAMt7_j0y96CuArXJ-YY_qXisSartOZwyDTKf9ZDn8,8844
|
|
50
|
+
astrbot/core/db/po.py,sha256=NDOJpUXI1i4BF1uymCj07opwXM0gdHBtwCoL16Xj4jc,7798
|
|
51
|
+
astrbot/core/db/sqlite.py,sha256=5o4nsGnq5NsFkhZEv-eM_rXq_w859TcHk-m602B3mCM,25612
|
|
52
52
|
astrbot/core/db/migration/helper.py,sha256=FcwpvBANNeyBSrRhXyd3hudHYEyhTyrcRg9mU9lZtqY,1935
|
|
53
53
|
astrbot/core/db/migration/migra_3_to_4.py,sha256=I1CesaBbf5wj9agtNWxDl1V-qixmwdURbBQf5Vzagrk,15025
|
|
54
54
|
astrbot/core/db/migration/shared_preferences_v3.py,sha256=tE11WIpwT-Q8yVBkw4eveRr1PmFdNRJQSprH4xdO3G4,1245
|
|
@@ -71,25 +71,25 @@ astrbot/core/pipeline/content_safety_check/strategies/__init__.py,sha256=woX7d9y
|
|
|
71
71
|
astrbot/core/pipeline/content_safety_check/strategies/baidu_aip.py,sha256=XCkEe9vxL1dKQ4BOhvxlIcOwy4971eObHF2jrEWz7-k,1007
|
|
72
72
|
astrbot/core/pipeline/content_safety_check/strategies/keywords.py,sha256=j3Ns_IHc6-CENccoLH92ZhHyqmi61SWQUEB4wi2jFFE,904
|
|
73
73
|
astrbot/core/pipeline/content_safety_check/strategies/strategy.py,sha256=G32Xf42EgeyEnhyPLVYlUMiSnDNHUUnnz_MG0PXqfV4,1234
|
|
74
|
-
astrbot/core/pipeline/preprocess_stage/stage.py,sha256=
|
|
74
|
+
astrbot/core/pipeline/preprocess_stage/stage.py,sha256=QSgOswf8FHy1j4QozRxJv4qVd-RynG8eriHufian60U,4194
|
|
75
75
|
astrbot/core/pipeline/process_stage/stage.py,sha256=2hCX5LdUCzX2RbleMLF_Yqiot9YDyutF3ePPOZsWeA0,2677
|
|
76
76
|
astrbot/core/pipeline/process_stage/method/llm_request.py,sha256=NaWr0eRhuxqb4ZIscVNce_f_kP7GL12ME4Ph-WF4dog,25370
|
|
77
77
|
astrbot/core/pipeline/process_stage/method/star_request.py,sha256=IuPP7qnxvBgKV6a9D3wLU4_KU3Ec3Ml7IOADQCXDgqk,2501
|
|
78
78
|
astrbot/core/pipeline/rate_limit_check/stage.py,sha256=I_GkpSgioN0-T_catMwpRKtxx-TiMmvu8vV_FE5ORIA,4072
|
|
79
79
|
astrbot/core/pipeline/respond/stage.py,sha256=K_CrogwVS1EYNv9oAe3We95QwahPef1S9oBMwd5wdsw,10525
|
|
80
|
-
astrbot/core/pipeline/result_decorate/stage.py,sha256=
|
|
80
|
+
astrbot/core/pipeline/result_decorate/stage.py,sha256=An9797dUMWoYlEPXwtzvSkpe2bIPhEKccePb3pOwiY8,13681
|
|
81
81
|
astrbot/core/pipeline/session_status_check/stage.py,sha256=woucuVbzzQoi62MDoP3lTha4es_fUu4p-IPCzSiYDBw,1262
|
|
82
82
|
astrbot/core/pipeline/waking_check/stage.py,sha256=URBFmfid1CKhtCGjH7OzFmxBE-Gt9vv1eYlp6msIv_Q,8240
|
|
83
83
|
astrbot/core/pipeline/whitelist_check/stage.py,sha256=VcmLs0VfmspNTsitL_WrZXfv2lR2Nktrb5JEWc1VJuw,2403
|
|
84
84
|
astrbot/core/platform/__init__.py,sha256=jQ4UiThp7cDHfmIXAgBDodET87onl7mjii0CAD3RXTY,361
|
|
85
|
-
astrbot/core/platform/astr_message_event.py,sha256=
|
|
85
|
+
astrbot/core/platform/astr_message_event.py,sha256=pDZO52rLdPcPc-3c3VhK8SuUKmmxJimhaOh7W6BU19M,14657
|
|
86
86
|
astrbot/core/platform/astrbot_message.py,sha256=r7jlUPfaOEh0yCSHaS1KQtYarZ9B4ikqMZwDj-wLv_k,2655
|
|
87
87
|
astrbot/core/platform/manager.py,sha256=bJoNhJpLB_sXdC80kqQNB8OhBbAl_340HaOPnOmreug,8076
|
|
88
88
|
astrbot/core/platform/message_session.py,sha256=Hitdfb7IK4SohaMFld0s0UlwLDpVw5UPTToh05bvH60,1076
|
|
89
89
|
astrbot/core/platform/message_type.py,sha256=uGn5KN8B_7b9F5nFTpvLAXRlXx2VFHP3JmJjN8cC7fg,261
|
|
90
90
|
astrbot/core/platform/platform.py,sha256=170_1Y1T5R-3nsu06y3i8Ote7zs8JASnskImp-IP04Q,1772
|
|
91
|
-
astrbot/core/platform/platform_metadata.py,sha256=
|
|
92
|
-
astrbot/core/platform/register.py,sha256=
|
|
91
|
+
astrbot/core/platform/platform_metadata.py,sha256=efQQrAquLK_8SxJm1h0HLR0k-RKS29Sbul-4H69JCyw,588
|
|
92
|
+
astrbot/core/platform/register.py,sha256=5uLNIbxyMbQDAvTEZ5Iv9k9uT3sI0QASP6yChMcdkNM,1860
|
|
93
93
|
astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py,sha256=PN4h7TjH2UrQZX9bZmI6bGtmXgxHEx5GJREI-Vw0qX4,8036
|
|
94
94
|
astrbot/core/platform/sources/aiocqhttp/aiocqhttp_platform_adapter.py,sha256=X5Rk_5ZnQgzKazbnIoLf85gex35qSABDyp0SKzBk7g0,16768
|
|
95
95
|
astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py,sha256=unEkE_KBwCLn9mOBs49WMUKqk8ddpaKN8MMyYep6rhg,8514
|
|
@@ -99,7 +99,7 @@ astrbot/core/platform/sources/discord/components.py,sha256=QQYKLrdWjvzxMVrNZTxGW
|
|
|
99
99
|
astrbot/core/platform/sources/discord/discord_platform_adapter.py,sha256=aeR1lv8sY3XNSSnN8q1XJ5N8SuxBPri0sGlQJD3vWlg,18389
|
|
100
100
|
astrbot/core/platform/sources/discord/discord_platform_event.py,sha256=1YjlH3P-jY3tsE2dBFBnX9833_h55lI6A4xmLcOvlac,12008
|
|
101
101
|
astrbot/core/platform/sources/lark/lark_adapter.py,sha256=JO_gBvAw6e2hTkXWOYeeSPUqdDjnsyVmtXh9SWXZO4A,8233
|
|
102
|
-
astrbot/core/platform/sources/lark/lark_event.py,sha256=
|
|
102
|
+
astrbot/core/platform/sources/lark/lark_event.py,sha256=NXz624wDWV8NLi00va9KdMOvRo7o4FMafV-w2-Znzxg,5133
|
|
103
103
|
astrbot/core/platform/sources/misskey/misskey_adapter.py,sha256=E1RSbuQ1D0blXBj66oQYyIHn2q5X4hkMZh6MS6XDKqg,14714
|
|
104
104
|
astrbot/core/platform/sources/misskey/misskey_api.py,sha256=3q4mE3Y5TuY3tErHHLhzwv1MC0Bu2_Wj2R4Qu73GtN4,14546
|
|
105
105
|
astrbot/core/platform/sources/misskey/misskey_event.py,sha256=wssLcT9bx-bXGiQw08uZNussmSR-2sfNjnbrrDn8xRY,4697
|
|
@@ -114,8 +114,8 @@ astrbot/core/platform/sources/satori/satori_event.py,sha256=CAeFJHZWvT28YzHn01VP
|
|
|
114
114
|
astrbot/core/platform/sources/slack/client.py,sha256=p0gCh9gj_VR8IacGg09-BXp2IM8C0oTnodrvEVmShMA,5637
|
|
115
115
|
astrbot/core/platform/sources/slack/slack_adapter.py,sha256=BdZTCNXsO5nUKY2HrZD5tpxMzpnvL7n3_vr2JgJfDS0,15812
|
|
116
116
|
astrbot/core/platform/sources/slack/slack_event.py,sha256=RYTJBqk5-CYQKgk-ejPuMKJyfaxSTqPjvfqKvPNg5Yw,8791
|
|
117
|
-
astrbot/core/platform/sources/telegram/tg_adapter.py,sha256=
|
|
118
|
-
astrbot/core/platform/sources/telegram/tg_event.py,sha256=
|
|
117
|
+
astrbot/core/platform/sources/telegram/tg_adapter.py,sha256=c4B1MaPiXhzHI4rOxFLMuRY8VloCFmAwPcHSztlEKNQ,15838
|
|
118
|
+
astrbot/core/platform/sources/telegram/tg_event.py,sha256=L66nk47Tn2gdeOTK5wPdz5fkVBH-Gdb_I5mQir7DwP8,11353
|
|
119
119
|
astrbot/core/platform/sources/webchat/webchat_adapter.py,sha256=X4FAaV2uFjU65Amc3kse9WJNCqsGpE7xYQjnF99HcW8,5992
|
|
120
120
|
astrbot/core/platform/sources/webchat/webchat_event.py,sha256=qeKBQtUZVwknsFQQvwASs5Hybs-L3Rn-bjIUaji6n9o,5457
|
|
121
121
|
astrbot/core/platform/sources/webchat/webchat_queue_mgr.py,sha256=2P0hQRNn7tMs9O6MLQ1GkJSSKz7R5Q8k_0JxEltSKLM,1364
|
|
@@ -133,7 +133,7 @@ astrbot/core/provider/entites.py,sha256=-353AdRDA6ST4AS48cQ1RRAXHSy3F7pVS_28hW4c
|
|
|
133
133
|
astrbot/core/provider/entities.py,sha256=CkC-U9nafBKo2n2kLZqzukosDX7RuZWAK4DMBHQkasA,11238
|
|
134
134
|
astrbot/core/provider/func_tool_manager.py,sha256=NuWMmAJaEwoJ3XCSvhwtmzDPdzX4K4BIRKuKgF0FlQk,20881
|
|
135
135
|
astrbot/core/provider/manager.py,sha256=GoRR4hTRyYaaWH6_ICx0tflqG1Lng72dVOuq6pagb5k,21729
|
|
136
|
-
astrbot/core/provider/provider.py,sha256=
|
|
136
|
+
astrbot/core/provider/provider.py,sha256=lMBZF6EjCRqLaOEv9-tsIcUdyNsVgFi16e4HdwioIZE,7209
|
|
137
137
|
astrbot/core/provider/register.py,sha256=bWAF9zWNnSYQWjmZIXiWgxFaeWIiWjEoEIN_xhmq3mM,1830
|
|
138
138
|
astrbot/core/provider/sources/anthropic_source.py,sha256=9I6VEZ5ANv-SIx7TaNGr2o_9S1xK0eTMOxt1ZF4XrBM,14974
|
|
139
139
|
astrbot/core/provider/sources/azure_tts_source.py,sha256=V8WGpMFeYn-DhmE2FtYYYir-51T1S81XKvP08tslm8E,9350
|
|
@@ -158,7 +158,7 @@ astrbot/core/provider/sources/vllm_rerank_source.py,sha256=Gv_veniilJ5v9lPGlQG_z
|
|
|
158
158
|
astrbot/core/provider/sources/volcengine_tts.py,sha256=eNS7XUtDTunGuZV8UaI4-ghNyY_fDRW0hiZPssBNsPQ,4143
|
|
159
159
|
astrbot/core/provider/sources/whisper_api_source.py,sha256=qKE9Wx7Nse9pKovbDb__sVBeG7opR_yar5ZsbIYx9e4,2626
|
|
160
160
|
astrbot/core/provider/sources/whisper_selfhosted_source.py,sha256=Qggu2IkNyCYVqNYc5NsonVcVpcLe-t04L-IpqnCzh_A,2636
|
|
161
|
-
astrbot/core/provider/sources/zhipu_source.py,sha256=
|
|
161
|
+
astrbot/core/provider/sources/zhipu_source.py,sha256=wUXp9wjMoFjYKqjwkDDUWGduzkrqYvoffjsJch3iNnw,706
|
|
162
162
|
astrbot/core/star/README.md,sha256=LXxqxp3xv_oejO8ocBPOrbmLe0WB4feu43fYDNddHTQ,161
|
|
163
163
|
astrbot/core/star/__init__.py,sha256=ynSwMrdCLyVMN3Q9flS_mcDDjdIGrkLBpfeDVoFj6PM,2080
|
|
164
164
|
astrbot/core/star/config.py,sha256=f4h1YFt1Tn6S2D-LvnhM483qaD8JdWjl-TBRV9CeYBo,3593
|
|
@@ -171,7 +171,7 @@ astrbot/core/star/star_manager.py,sha256=c6s90gg3SgUIQ2UZxUUhslFPdS3jxVaVZOulvSM
|
|
|
171
171
|
astrbot/core/star/star_tools.py,sha256=tAX49jAcGc5mFYu7FW3MrTFgAKtX-_TIE3tfeEArGx4,10863
|
|
172
172
|
astrbot/core/star/updator.py,sha256=IVml0S4WGmKRl42EeDbU0bP8-7d0yfEY0X9qpshI_RA,3129
|
|
173
173
|
astrbot/core/star/filter/__init__.py,sha256=xhdp6MMbBJbCHDDtBcAzWZ86DSFTPKzj8RpE2Cdb8ls,469
|
|
174
|
-
astrbot/core/star/filter/command.py,sha256=
|
|
174
|
+
astrbot/core/star/filter/command.py,sha256=ejA7L5aCvS5V0ea6lQW0S3wJk6vezBO82k-e6OM9kag,8812
|
|
175
175
|
astrbot/core/star/filter/command_group.py,sha256=PBvIWBji6EJejWVXppvOVRojGR8y6WfRF5qlyJ2jSRo,4981
|
|
176
176
|
astrbot/core/star/filter/custom_filter.py,sha256=UPEfr-vYJR1NsLOp75A8Oa8RFkluEC3rkzbHM2ct0ek,2238
|
|
177
177
|
astrbot/core/star/filter/event_message_type.py,sha256=R45Buoy9YALxnY6oanFlZMLfSZex2NAHPsl8DFSI_2Y,1162
|
|
@@ -180,9 +180,9 @@ astrbot/core/star/filter/platform_adapter_type.py,sha256=hImNjA3ywU3_duXpoas3P_R
|
|
|
180
180
|
astrbot/core/star/filter/regex.py,sha256=yb4JVdQtWVvWm7Ba5Tt07HusPMccAvSrIEV0ewDPBus,543
|
|
181
181
|
astrbot/core/star/register/__init__.py,sha256=DoVe-BX9jjYmGTzD3pr1sRfxzni5ryL3JPGwMBTY6iA,992
|
|
182
182
|
astrbot/core/star/register/star.py,sha256=1Yml-_EGKr0uYUTmdu3CAVASIJss6JaBxoRP_D-oIKU,1903
|
|
183
|
-
astrbot/core/star/register/star_handler.py,sha256=
|
|
183
|
+
astrbot/core/star/register/star_handler.py,sha256=Dy6WkDyhHOe975uB9yAB7NsWFo0njZbspuHoYXQFIlw,16408
|
|
184
184
|
astrbot/core/utils/astrbot_path.py,sha256=ZK-OmCTOxH63GQ4kBMGZs9ybKmKuHMNXdW9RKqLbYRk,1227
|
|
185
|
-
astrbot/core/utils/command_parser.py,sha256=
|
|
185
|
+
astrbot/core/utils/command_parser.py,sha256=Cwd4zzyKEoC-er0a-9WZ5n2g4F8eH9p6BHxD96gjaVM,617
|
|
186
186
|
astrbot/core/utils/dify_api_client.py,sha256=EpV3hPB0aFWGQtjgtS-SEM3EFmBoMmvEOKyU52TQgbY,4809
|
|
187
187
|
astrbot/core/utils/io.py,sha256=zFxFVNEPA04Jr15GGdf6K3-9gBe4pxxGfsxqkqSXZ0Q,9082
|
|
188
188
|
astrbot/core/utils/log_pipe.py,sha256=AU-y7vvAUtegH3XRenJqsFpmH0UIV4zUfLWh-5uPkCI,883
|
|
@@ -205,21 +205,21 @@ astrbot/dashboard/server.py,sha256=4d_0xDfMW-qKabVLBEVzOnjxF3qIiNMr3dvaxZO-cEk,9
|
|
|
205
205
|
astrbot/dashboard/routes/__init__.py,sha256=Bn6_rbYtujttHKHEn8Smv2RiObhwWyH9TagW4HZSzGw,710
|
|
206
206
|
astrbot/dashboard/routes/auth.py,sha256=igVjZWluaQpF-lrg-Ueb4IA553dA_Sn6pAxY34-83i8,2964
|
|
207
207
|
astrbot/dashboard/routes/chat.py,sha256=6dGKXBkbGb5TGcIMFh6tr6bvdv7yekrgehSdkYSZ8Ls,13232
|
|
208
|
-
astrbot/dashboard/routes/config.py,sha256=
|
|
208
|
+
astrbot/dashboard/routes/config.py,sha256=VRbWmtmPKSpWkyHb-NU02FUgE5Z3qq1aRnq31CBOPPs,34840
|
|
209
209
|
astrbot/dashboard/routes/conversation.py,sha256=4-jGtd5ApzcN1Jh6UAGet0A7oPkRMvvxk1gKc47KHmo,10768
|
|
210
210
|
astrbot/dashboard/routes/file.py,sha256=y3yi4ari-ELwiDicuniBlvXhVe8d1JgWRl6FdC42v9k,706
|
|
211
211
|
astrbot/dashboard/routes/log.py,sha256=hDl6Niz_Vs4xb64USjCBzdOcm68GDpEsQrNrLr8yKGc,2114
|
|
212
212
|
astrbot/dashboard/routes/persona.py,sha256=6icnNNE8A0Yy1WI0INWD9ZPKC7VcZG-xHDfYElhaP8M,7857
|
|
213
213
|
astrbot/dashboard/routes/plugin.py,sha256=cGGJVEM55uRiPo-EeD5apZQISzPw9vux7a-U2dE4fZQ,19429
|
|
214
214
|
astrbot/dashboard/routes/route.py,sha256=V-Wm88D0BmxSYAUbedunykbWy5p7Tggae9nDhxm7LZU,1545
|
|
215
|
-
astrbot/dashboard/routes/session_management.py,sha256=
|
|
215
|
+
astrbot/dashboard/routes/session_management.py,sha256=Gf7cnE3d1IWACHDqGoVsJ5mZTotQfguwZiDP0A6QlpU,26792
|
|
216
216
|
astrbot/dashboard/routes/stat.py,sha256=KCtP0-f9g664gM2SOBgnU8uKx6zt93-5Kut-d7wd7zk,6910
|
|
217
217
|
astrbot/dashboard/routes/static_file.py,sha256=7KnNcOb1BVqSTft114LhGsDkfg69X2jHEm0tOK0kW0Y,1169
|
|
218
218
|
astrbot/dashboard/routes/t2i.py,sha256=scp05AxoJM9cubrkSMBu1BbIWP1BMS50eFEPZ9S6WKM,8893
|
|
219
219
|
astrbot/dashboard/routes/tools.py,sha256=FvWgjzImgeIGFWJM_r2tku3UTj0J5LwZXfmZJxfJWHM,13975
|
|
220
220
|
astrbot/dashboard/routes/update.py,sha256=vhG6ET0GJNLTpfkKABYf3Aq5ChUCID1BvoZissWRBZg,6517
|
|
221
|
-
astrbot-4.
|
|
222
|
-
astrbot-4.
|
|
223
|
-
astrbot-4.
|
|
224
|
-
astrbot-4.
|
|
225
|
-
astrbot-4.
|
|
221
|
+
astrbot-4.3.1.dist-info/METADATA,sha256=IMxNetvYAA0Ey90caa9n6O2bHsVOaUxiHHhMzZhjx88,11095
|
|
222
|
+
astrbot-4.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
223
|
+
astrbot-4.3.1.dist-info/entry_points.txt,sha256=OEF09YmhBWYuViXrvTLLpstF4ccmNwDL8r7nnFD0pfI,53
|
|
224
|
+
astrbot-4.3.1.dist-info/licenses/LICENSE,sha256=zPfQj5Mq8-gThIiBcxETr7t8gND9bZWOjTGQAr80TQI,34500
|
|
225
|
+
astrbot-4.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|