ErisPulse 2.3.0__tar.gz → 2.3.1__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 (136) hide show
  1. {erispulse-2.3.0 → erispulse-2.3.1}/CHANGELOG.md +7 -0
  2. {erispulse-2.3.0 → erispulse-2.3.1}/PKG-INFO +1 -1
  3. {erispulse-2.3.0 → erispulse-2.3.1}/packages.json +22 -9
  4. {erispulse-2.3.0 → erispulse-2.3.1}/pyproject.toml +2 -2
  5. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/__init__.py +12 -1
  6. {erispulse-2.3.0 → erispulse-2.3.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  7. {erispulse-2.3.0 → erispulse-2.3.1}/.github/ISSUE_TEMPLATE/module_submission.md +0 -0
  8. {erispulse-2.3.0 → erispulse-2.3.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  9. {erispulse-2.3.0 → erispulse-2.3.1}/.github/assets/docs/install_pip.gif +0 -0
  10. {erispulse-2.3.0 → erispulse-2.3.1}/.github/assets/erispulse_logo.png +0 -0
  11. {erispulse-2.3.0 → erispulse-2.3.1}/.github/scripts/update_packages.py +0 -0
  12. {erispulse-2.3.0 → erispulse-2.3.1}/.github/tools/merge_md.py +0 -0
  13. {erispulse-2.3.0 → erispulse-2.3.1}/.github/tools/update-api-docs.py +0 -0
  14. {erispulse-2.3.0 → erispulse-2.3.1}/.github/workflows/auto-tag-release.yml +0 -0
  15. {erispulse-2.3.0 → erispulse-2.3.1}/.github/workflows/auto-update-packages.yml +0 -0
  16. {erispulse-2.3.0 → erispulse-2.3.1}/.github/workflows/code-quality-check.yml +0 -0
  17. {erispulse-2.3.0 → erispulse-2.3.1}/.github/workflows/pypi-publish.yml +0 -0
  18. {erispulse-2.3.0 → erispulse-2.3.1}/.gitignore +0 -0
  19. {erispulse-2.3.0 → erispulse-2.3.1}/.python-version +0 -0
  20. {erispulse-2.3.0 → erispulse-2.3.1}/CODE_OF_CONDUCT.md +0 -0
  21. {erispulse-2.3.0 → erispulse-2.3.1}/CONTRIBUTING.md +0 -0
  22. {erispulse-2.3.0 → erispulse-2.3.1}/LICENSE +0 -0
  23. {erispulse-2.3.0 → erispulse-2.3.1}/README.md +0 -0
  24. {erispulse-2.3.0 → erispulse-2.3.1}/SECURITY.md +0 -0
  25. {erispulse-2.3.0 → erispulse-2.3.1}/devs/test.py +0 -0
  26. {erispulse-2.3.0 → erispulse-2.3.1}/devs/test_adapter.py +0 -0
  27. {erispulse-2.3.0 → erispulse-2.3.1}/devs/test_cmd.py +0 -0
  28. {erispulse-2.3.0 → erispulse-2.3.1}/devs/test_event.py +0 -0
  29. {erispulse-2.3.0 → erispulse-2.3.1}/devs/test_files/test.docx +0 -0
  30. {erispulse-2.3.0 → erispulse-2.3.1}/devs/test_files/test.jpg +0 -0
  31. {erispulse-2.3.0 → erispulse-2.3.1}/devs/test_files/test.mp4 +0 -0
  32. {erispulse-2.3.0 → erispulse-2.3.1}/docs/README.md +0 -0
  33. {erispulse-2.3.0 → erispulse-2.3.1}/docs/ai/AIDocs/ErisPulse-AdapterDev.md +0 -0
  34. {erispulse-2.3.0 → erispulse-2.3.1}/docs/ai/AIDocs/ErisPulse-Full.md +0 -0
  35. {erispulse-2.3.0 → erispulse-2.3.1}/docs/ai/AIDocs/ErisPulse-ModuleDev.md +0 -0
  36. {erispulse-2.3.0 → erispulse-2.3.1}/docs/ai/README.md +0 -0
  37. {erispulse-2.3.0 → erispulse-2.3.1}/docs/ai/module-generation.md +0 -0
  38. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Bases/__init__.md +0 -0
  39. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Bases/adapter.md +0 -0
  40. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Bases/module.md +0 -0
  41. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Event/__init__.md +0 -0
  42. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Event/base.md +0 -0
  43. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Event/command.md +0 -0
  44. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Event/exceptions.md +0 -0
  45. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Event/message.md +0 -0
  46. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Event/meta.md +0 -0
  47. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Event/notice.md +0 -0
  48. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/Event/request.md +0 -0
  49. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/_self_config.md +0 -0
  50. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/adapter.md +0 -0
  51. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/config.md +0 -0
  52. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/exceptions.md +0 -0
  53. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/lifecycle.md +0 -0
  54. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/logger.md +0 -0
  55. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/module.md +0 -0
  56. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/router.md +0 -0
  57. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/storage.md +0 -0
  58. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/Core/ux.md +0 -0
  59. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/__init__.md +0 -0
  60. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/__main__.md +0 -0
  61. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/utils/__init__.md +0 -0
  62. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/utils/cli.md +0 -0
  63. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/utils/package_manager.md +0 -0
  64. {erispulse-2.3.0 → erispulse-2.3.1}/docs/api/ErisPulse/utils/reload_handler.md +0 -0
  65. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/README.md +0 -0
  66. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/adapters.md +0 -0
  67. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/best-practices.md +0 -0
  68. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/cli.md +0 -0
  69. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/concepts.md +0 -0
  70. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/event-system.md +0 -0
  71. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/lazy-loading.md +0 -0
  72. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/modules.md +0 -0
  73. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/router.md +0 -0
  74. {erispulse-2.3.0 → erispulse-2.3.1}/docs/core/self-config.md +0 -0
  75. {erispulse-2.3.0 → erispulse-2.3.1}/docs/development/README.md +0 -0
  76. {erispulse-2.3.0 → erispulse-2.3.1}/docs/development/adapter.md +0 -0
  77. {erispulse-2.3.0 → erispulse-2.3.1}/docs/development/cli.md +0 -0
  78. {erispulse-2.3.0 → erispulse-2.3.1}/docs/development/module.md +0 -0
  79. {erispulse-2.3.0 → erispulse-2.3.1}/docs/platform-features/README.md +0 -0
  80. {erispulse-2.3.0 → erispulse-2.3.1}/docs/platform-features/email.md +0 -0
  81. {erispulse-2.3.0 → erispulse-2.3.1}/docs/platform-features/maintain-notes.md +0 -0
  82. {erispulse-2.3.0 → erispulse-2.3.1}/docs/platform-features/onebot11.md +0 -0
  83. {erispulse-2.3.0 → erispulse-2.3.1}/docs/platform-features/telegram.md +0 -0
  84. {erispulse-2.3.0 → erispulse-2.3.1}/docs/platform-features/yunhu.md +0 -0
  85. {erispulse-2.3.0 → erispulse-2.3.1}/docs/quick-start.md +0 -0
  86. {erispulse-2.3.0 → erispulse-2.3.1}/docs/standards/README.md +0 -0
  87. {erispulse-2.3.0 → erispulse-2.3.1}/docs/standards/api-response.md +0 -0
  88. {erispulse-2.3.0 → erispulse-2.3.1}/docs/standards/event-conversion.md +0 -0
  89. {erispulse-2.3.0 → erispulse-2.3.1}/docs/styleguide/README.md +0 -0
  90. {erispulse-2.3.0 → erispulse-2.3.1}/docs/styleguide/docstring_spec.md +0 -0
  91. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-adapter/LICENSE +0 -0
  92. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-adapter/MyAdapter/Converter.py +0 -0
  93. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-adapter/MyAdapter/Core.py +0 -0
  94. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-adapter/MyAdapter/__init__.py +0 -0
  95. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-adapter/README.md +0 -0
  96. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-adapter/pyproject.toml +0 -0
  97. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-cli-module/LICENSE +0 -0
  98. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-cli-module/README.md +0 -0
  99. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-cli-module/my_cli_module/__init__.py +0 -0
  100. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-cli-module/my_cli_module/cli.py +0 -0
  101. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-cli-module/pyproject.toml +0 -0
  102. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-module/LICENSE +0 -0
  103. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-module/MyModule/Core.py +0 -0
  104. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-module/MyModule/__init__.py +0 -0
  105. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-module/README.md +0 -0
  106. {erispulse-2.3.0 → erispulse-2.3.1}/examples/example-module/pyproject.toml +0 -0
  107. {erispulse-2.3.0 → erispulse-2.3.1}/scripts/install/install.ps1 +0 -0
  108. {erispulse-2.3.0 → erispulse-2.3.1}/scripts/install/install.sh +0 -0
  109. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Bases/__init__.py +0 -0
  110. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Bases/adapter.py +0 -0
  111. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Bases/module.py +0 -0
  112. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Event/__init__.py +0 -0
  113. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Event/base.py +0 -0
  114. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Event/command.py +0 -0
  115. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Event/exceptions.py +0 -0
  116. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Event/message.py +0 -0
  117. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Event/meta.py +0 -0
  118. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Event/notice.py +0 -0
  119. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/Event/request.py +0 -0
  120. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/__init__.py +0 -0
  121. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/_self_config.py +0 -0
  122. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/adapter.py +0 -0
  123. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/config.py +0 -0
  124. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/exceptions.py +0 -0
  125. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/lifecycle.py +0 -0
  126. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/logger.py +0 -0
  127. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/module.py +0 -0
  128. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/router.py +0 -0
  129. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/storage.py +0 -0
  130. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/Core/ux.py +0 -0
  131. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/__main__.py +0 -0
  132. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/utils/__init__.py +0 -0
  133. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/utils/cli.py +0 -0
  134. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/utils/console.py +0 -0
  135. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/utils/package_manager.py +0 -0
  136. {erispulse-2.3.0 → erispulse-2.3.1}/src/ErisPulse/utils/reload_handler.py +0 -0
@@ -31,6 +31,13 @@
31
31
  - 具体功能点2
32
32
  ```
33
33
 
34
+ ## [2.3.1] - 2025/12/28
35
+ ### 修复
36
+ - @wsu2059q
37
+ - 修复 `ep-init` 命令使用 `init_task()` 导致协程未等待的问题
38
+ - 新增 `init_sync()` 同步包装器,用于命令行直接调用初始化功能
39
+
40
+ ---
34
41
  ## [2.3.0] - 2025/12/25
35
42
  ### 修复
36
43
  - @wsu2059q
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ErisPulse
3
- Version: 2.3.0
3
+ Version: 2.3.1
4
4
  Summary: ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
5
5
  Author-email: "艾莉丝·格雷拉特(WSu2059)" <wsu2059@qq.com>
6
6
  License: MIT License
@@ -1,9 +1,9 @@
1
1
  {
2
- "last_updated": "2025-12-25T03:21:18Z",
2
+ "last_updated": "2025-12-28T03:41:47Z",
3
3
  "modules": {
4
4
  "HelpModule": {
5
5
  "package": "ErisPulse-HelpModule",
6
- "version": "1.0.0",
6
+ "version": "2.0.0",
7
7
  "author": "wsu2059q",
8
8
  "description": "为统一的命令系统提供一个help命令,用来在平台查看现有命令",
9
9
  "min_sdk_version": "2.2.0",
@@ -98,16 +98,16 @@
98
98
  "Weather"
99
99
  ]
100
100
  },
101
- "AIChat": {
102
- "package": "ErisPulse-AIChat",
103
- "version": "3.0.4",
101
+ "QvQChat": {
102
+ "package": "ErisPulse-QvQChat",
103
+ "version": "2.1.0",
104
104
  "author": "wsu2059q",
105
- "description": "AIChat 聊天机器人模块",
106
- "min_sdk_version": "2.0.0",
107
- "repository": "https://github.com/wsu2059q/ErisPulse-AIChat",
105
+ "description": "一个基于多AI协同的智能对话模块,让AI像真人一样自然参与聊天",
106
+ "min_sdk_version": "2.3.0",
107
+ "repository": "https://github.com/wsu2059q/ErisPulse-QvQChat",
108
108
  "official": false,
109
109
  "tags": [
110
- "AIChat",
110
+ "QvQChat",
111
111
  "AI"
112
112
  ]
113
113
  },
@@ -124,6 +124,19 @@
124
124
  "AI"
125
125
  ]
126
126
  },
127
+ "AIChat": {
128
+ "package": "ErisPulse-AIChat",
129
+ "version": "3.0.4",
130
+ "author": "wsu2059q",
131
+ "description": "AIChat 聊天机器人模块(停更)",
132
+ "min_sdk_version": "2.0.0",
133
+ "repository": "https://github.com/wsu2059q/ErisPulse-AIChat",
134
+ "official": false,
135
+ "tags": [
136
+ "AIChat",
137
+ "AI"
138
+ ]
139
+ },
127
140
  "SeTu": {
128
141
  "package": "ErisPulse-SeTu",
129
142
  "version": "1.2.0",
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ErisPulse"
7
- version = "2.3.0"
7
+ version = "2.3.1"
8
8
  description = "ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -44,7 +44,7 @@ dependencies = [
44
44
  ]
45
45
 
46
46
  [project.scripts]
47
- ep-init = "ErisPulse.__init__:init"
47
+ ep-init = "ErisPulse.__init__:init_sync"
48
48
  epsdk = "ErisPulse.__main__:main"
49
49
  ep = "ErisPulse.__main__:main"
50
50
  ep-cli = "ErisPulse.__main__:main"
@@ -1085,9 +1085,19 @@ async def init() -> bool:
1085
1085
  """
1086
1086
  if not await _prepare_environment():
1087
1087
  return False
1088
-
1088
+
1089
1089
  return await ModuleInitializer.init()
1090
1090
 
1091
+ def init_sync() -> bool:
1092
+ """
1093
+ SDK初始化入口(同步版本)
1094
+
1095
+ 用于命令行直接调用,自动在事件循环中运行异步初始化
1096
+
1097
+ :return: bool SDK初始化是否成功
1098
+ """
1099
+ return asyncio.run(init())
1100
+
1091
1101
  def init_task() -> asyncio.Task:
1092
1102
  """
1093
1103
  SDK初始化入口,返回Task对象
@@ -1105,6 +1115,7 @@ def init_task() -> asyncio.Task:
1105
1115
  loop = asyncio.new_event_loop()
1106
1116
  asyncio.set_event_loop(loop)
1107
1117
  return loop.create_task(_async_init())
1118
+
1108
1119
  async def uninit() -> bool:
1109
1120
  """
1110
1121
  SDK反初始化
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes