feat(plugin): 添加 Python 插件支持

- 新增 PluginPyLoader 类实现 Python 插件加载- 添加 PythonResult 类封装 Python执行结果
- 实现 RunPython 工具类用于执行 Python脚本
- 新增 PyLocalSide 类提供 Python 脚本调用本地方法的接口- 修改主程序启动逻辑,支持 Python 插件初始化
- 更新插件注册设置项,兼容 Python 插件
This commit is contained in:
tzdwindows 7
2025-02-22 15:53:32 +08:00
parent 701dfcfb47
commit ce996b73be
15 changed files with 707 additions and 46 deletions

4
.idea/misc.xml generated
View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ASMPluginConfiguration">
<asm skipDebug="false" skipFrames="false" skipCode="false" expandFrames="false" />
@@ -7,6 +8,9 @@
<asm skipDebug="true" skipFrames="true" skipCode="false" expandFrames="false" />
<groovy codeStyle="LEGACY" />
</component>
<component name="Black">
<option name="sdkName" value="Python 3.12 (NIGANMA)" />
</component>
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="FindBugsConfigurable">
<option name="make" value="true" />