mofox-plugin-dev-toolkit 0.2.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.
- mofox_plugin_dev_toolkit-0.2.1.dist-info/METADATA +409 -0
- mofox_plugin_dev_toolkit-0.2.1.dist-info/RECORD +43 -0
- mofox_plugin_dev_toolkit-0.2.1.dist-info/WHEEL +5 -0
- mofox_plugin_dev_toolkit-0.2.1.dist-info/entry_points.txt +2 -0
- mofox_plugin_dev_toolkit-0.2.1.dist-info/licenses/LICENSE +674 -0
- mofox_plugin_dev_toolkit-0.2.1.dist-info/top_level.txt +1 -0
- mpdt/__init__.py +15 -0
- mpdt/__main__.py +8 -0
- mpdt/cli.py +314 -0
- mpdt/commands/__init__.py +9 -0
- mpdt/commands/check.py +316 -0
- mpdt/commands/dev.py +550 -0
- mpdt/commands/generate.py +366 -0
- mpdt/commands/init.py +487 -0
- mpdt/dev/bridge_plugin/__init__.py +17 -0
- mpdt/dev/bridge_plugin/discovery_server.py +126 -0
- mpdt/dev/bridge_plugin/plugin.py +258 -0
- mpdt/templates/__init__.py +165 -0
- mpdt/templates/action_template.py +102 -0
- mpdt/templates/adapter_template.py +129 -0
- mpdt/templates/chatter_template.py +103 -0
- mpdt/templates/event_template.py +116 -0
- mpdt/templates/plus_command_template.py +150 -0
- mpdt/templates/prompt_template.py +92 -0
- mpdt/templates/router_template.py +175 -0
- mpdt/templates/tool_template.py +98 -0
- mpdt/utils/__init__.py +10 -0
- mpdt/utils/color_printer.py +99 -0
- mpdt/utils/config_loader.py +171 -0
- mpdt/utils/config_manager.py +297 -0
- mpdt/utils/file_ops.py +203 -0
- mpdt/utils/license_generator.py +980 -0
- mpdt/utils/plugin_parser.py +196 -0
- mpdt/utils/template_engine.py +112 -0
- mpdt/validators/__init__.py +26 -0
- mpdt/validators/auto_fix_validator.py +182 -0
- mpdt/validators/base.py +121 -0
- mpdt/validators/component_validator.py +415 -0
- mpdt/validators/config_validator.py +173 -0
- mpdt/validators/metadata_validator.py +125 -0
- mpdt/validators/structure_validator.py +70 -0
- mpdt/validators/style_validator.py +125 -0
- mpdt/validators/type_validator.py +223 -0
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mofox-plugin-dev-toolkit
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Summary: 开发工具集,用于快速创建、开发和测试 MoFox-Bot 插件
|
|
5
|
+
Author-email: MoFox-Studio <mofox.studio@example.com>
|
|
6
|
+
License: GPL-3.0-or-later
|
|
7
|
+
Project-URL: Homepage, https://github.com/MoFox-Studio/mofox-plugin-toolkit
|
|
8
|
+
Project-URL: Documentation, https://docs.mofox.studio/mpdt
|
|
9
|
+
Project-URL: Repository, https://github.com/MoFox-Studio/mofox-plugin-toolkit
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/MoFox-Studio/mofox-plugin-toolkit/issues
|
|
11
|
+
Keywords: mofox,plugin,toolkit,cli,development
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Requires-Python: >=3.11
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Requires-Dist: click>=8.1.7
|
|
22
|
+
Requires-Dist: rich>=13.7.0
|
|
23
|
+
Requires-Dist: questionary>=2.0.1
|
|
24
|
+
Requires-Dist: jinja2>=3.1.2
|
|
25
|
+
Requires-Dist: toml>=0.10.2
|
|
26
|
+
Requires-Dist: tomli>=2.0.1
|
|
27
|
+
Requires-Dist: tomli-w>=1.0.0
|
|
28
|
+
Requires-Dist: pydantic>=2.5.0
|
|
29
|
+
Requires-Dist: watchdog>=3.0.0
|
|
30
|
+
Requires-Dist: websockets>=12.0
|
|
31
|
+
Requires-Dist: aiohttp>=3.9.0
|
|
32
|
+
Requires-Dist: uvicorn>=0.24.0
|
|
33
|
+
Requires-Dist: fastapi>=0.104.0
|
|
34
|
+
Requires-Dist: ruff>=0.1.6
|
|
35
|
+
Requires-Dist: mypy>=1.7.0
|
|
36
|
+
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: pytest>=7.4.3; extra == "dev"
|
|
38
|
+
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
|
|
39
|
+
Requires-Dist: pytest-asyncio>=0.21.1; extra == "dev"
|
|
40
|
+
Requires-Dist: pytest-mock>=3.12.0; extra == "dev"
|
|
41
|
+
Requires-Dist: mypy>=1.7.0; extra == "dev"
|
|
42
|
+
Requires-Dist: ruff>=0.1.6; extra == "dev"
|
|
43
|
+
Provides-Extra: check
|
|
44
|
+
Requires-Dist: mypy>=1.7.0; extra == "check"
|
|
45
|
+
Requires-Dist: ruff>=0.1.6; extra == "check"
|
|
46
|
+
Requires-Dist: bandit>=1.7.5; extra == "check"
|
|
47
|
+
Provides-Extra: docs
|
|
48
|
+
Requires-Dist: mkdocs>=1.5.3; extra == "docs"
|
|
49
|
+
Requires-Dist: mkdocs-material>=9.4.0; extra == "docs"
|
|
50
|
+
Dynamic: license-file
|
|
51
|
+
|
|
52
|
+
# MoFox Plugin Dev Toolkit (MPDT)
|
|
53
|
+
|
|
54
|
+
[](https://www.python.org/downloads/)
|
|
55
|
+
[](LICENSE)
|
|
56
|
+
[](https://github.com/MoFox-Studio/mofox-plugin-toolkit)
|
|
57
|
+
|
|
58
|
+
一个类似于 Vite 的 Python 开发工具,专门为 MoFox-Bot 插件系统设计,提供快速创建、开发和检查插件的完整工具链。
|
|
59
|
+
|
|
60
|
+
## ✨ 特性
|
|
61
|
+
|
|
62
|
+
- 🚀 **快速初始化** - 一键创建标准化的插件项目结构,支持多种模板(basic、action、tool、command、full、adapter)
|
|
63
|
+
- 🎨 **代码生成** - 快速生成 Action、Command、Tool、Event、Adapter、Prompt、PlusCommand、Router、Chatter 等组件(始终生成异步方法)
|
|
64
|
+
- 🔍 **静态检查** - 集成多层次验证系统:
|
|
65
|
+
- ✅ 结构检查 - 验证插件目录结构和必需文件
|
|
66
|
+
- ✅ 元数据检查 - 检查 `__plugin_meta__` 配置
|
|
67
|
+
- ✅ 组件检查 - 验证组件注册和命名规范
|
|
68
|
+
- ✅ 配置检查 - 检查 `config.toml` 配置文件
|
|
69
|
+
- ✅ 类型检查 - 使用 mypy 进行类型检查
|
|
70
|
+
- ✅ 代码风格检查 - 使用 ruff 检查代码规范
|
|
71
|
+
- ✅ 自动修复 - 自动修复可修复的代码问题
|
|
72
|
+
- 📦 **依赖管理** - 自动管理插件依赖关系
|
|
73
|
+
- 🎯 **Git 集成** - 支持自动初始化 Git 仓库和提取 Git 用户信息
|
|
74
|
+
- 🎨 **丰富的交互** - 基于 questionary 的美观交互式命令行界面
|
|
75
|
+
- � **多种许可证** - 支持 GPL-v3.0、MIT、Apache-2.0、BSD-3-Clause
|
|
76
|
+
|
|
77
|
+
## 📦 安装
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
# 从源码安装
|
|
81
|
+
cd mofox-plugin-toolkit
|
|
82
|
+
pip install -e .
|
|
83
|
+
|
|
84
|
+
# 安装开发依赖
|
|
85
|
+
pip install -e ".[dev]"
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## 🚀 快速开始
|
|
89
|
+
|
|
90
|
+
### 1. 创建新插件
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
# 交互式创建
|
|
94
|
+
mpdt init
|
|
95
|
+
|
|
96
|
+
# 或直接指定插件名和模板
|
|
97
|
+
mpdt init my_awesome_plugin --template action
|
|
98
|
+
|
|
99
|
+
# 创建带示例和文档的完整插件
|
|
100
|
+
mpdt init my_plugin --template full --with-examples --with-docs
|
|
101
|
+
|
|
102
|
+
# 指定作者和许可证
|
|
103
|
+
mpdt init my_plugin --author "Your Name" --license MIT
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
支持的模板类型:
|
|
107
|
+
- `basic` - 基础插件模板
|
|
108
|
+
- `action` - 包含 Action 组件的模板
|
|
109
|
+
- `tool` - 包含 Tool 组件的模板
|
|
110
|
+
- `command` - 包含 Command 组件的模板
|
|
111
|
+
- `full` - 完整功能模板
|
|
112
|
+
- `adapter` - 适配器模板
|
|
113
|
+
|
|
114
|
+
### 2. 生成组件
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
cd my_awesome_plugin
|
|
118
|
+
|
|
119
|
+
# 交互式生成(推荐)
|
|
120
|
+
mpdt generate
|
|
121
|
+
|
|
122
|
+
# 生成 Action 组件
|
|
123
|
+
mpdt generate action SendMessage --description "发送消息"
|
|
124
|
+
|
|
125
|
+
# 生成 Tool 组件
|
|
126
|
+
mpdt generate tool MessageFormatter
|
|
127
|
+
|
|
128
|
+
# 生成 Command 组件
|
|
129
|
+
mpdt generate command Help
|
|
130
|
+
|
|
131
|
+
# 生成其他组件
|
|
132
|
+
mpdt generate event MessageReceived
|
|
133
|
+
mpdt generate adapter CustomAdapter
|
|
134
|
+
mpdt generate prompt SystemPrompt
|
|
135
|
+
mpdt generate plus-command CustomCommand
|
|
136
|
+
mpdt generate router MessageRouter
|
|
137
|
+
mpdt generate chatter ChatHandler
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
**注意**:所有生成的组件方法都是异步的(async)。
|
|
141
|
+
|
|
142
|
+
### 3. 检查插件
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
# 运行所有检查
|
|
146
|
+
mpdt check
|
|
147
|
+
|
|
148
|
+
# 自动修复问题
|
|
149
|
+
mpdt check --fix
|
|
150
|
+
|
|
151
|
+
# 只显示错误级别
|
|
152
|
+
mpdt check --level error
|
|
153
|
+
|
|
154
|
+
# 生成 Markdown 报告
|
|
155
|
+
mpdt check --report markdown --output check_report.md
|
|
156
|
+
|
|
157
|
+
# 跳过特定检查
|
|
158
|
+
mpdt check --no-type --no-style
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
检查项包括:
|
|
162
|
+
- 结构检查(structure)- 验证目录和文件结构
|
|
163
|
+
- 元数据检查(metadata)- 检查 `__plugin_meta__`
|
|
164
|
+
- 组件检查(component)- 验证组件注册
|
|
165
|
+
- 配置检查(config)- 检查配置文件
|
|
166
|
+
- 类型检查(type)- mypy 类型检查
|
|
167
|
+
- 代码风格检查(style)- ruff 代码规范检查
|
|
168
|
+
|
|
169
|
+
## 📖 命令参考
|
|
170
|
+
|
|
171
|
+
### `mpdt init` - 初始化插件
|
|
172
|
+
|
|
173
|
+
创建新的插件项目。
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
mpdt init [PLUGIN_NAME] [OPTIONS]
|
|
177
|
+
|
|
178
|
+
选项:
|
|
179
|
+
-t, --template TEXT 模板类型: basic, action, tool, command, full, adapter
|
|
180
|
+
-a, --author TEXT 作者名称
|
|
181
|
+
-l, --license TEXT 开源协议: GPL-v3.0, MIT, Apache-2.0, BSD-3-Clause
|
|
182
|
+
--with-examples 包含示例代码
|
|
183
|
+
--with-docs 创建文档文件
|
|
184
|
+
--init-git 初始化 Git 仓库
|
|
185
|
+
--no-init-git 不初始化 Git 仓库
|
|
186
|
+
-o, --output PATH 输出目录
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### `mpdt generate` - 生成组件
|
|
190
|
+
|
|
191
|
+
生成插件组件代码(始终生成异步方法)。
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
mpdt generate [COMPONENT_TYPE] [COMPONENT_NAME] [OPTIONS]
|
|
195
|
+
|
|
196
|
+
组件类型:
|
|
197
|
+
action Action 组件
|
|
198
|
+
tool Tool 组件
|
|
199
|
+
event Event Handler 组件
|
|
200
|
+
adapter Adapter 组件
|
|
201
|
+
prompt Prompt 组件
|
|
202
|
+
plus-command PlusCommand 组件
|
|
203
|
+
router Router 路由组件
|
|
204
|
+
chatter Chatter 聊天组件
|
|
205
|
+
|
|
206
|
+
选项:
|
|
207
|
+
-d, --description TEXT 组件描述
|
|
208
|
+
-o, --output PATH 输出目录
|
|
209
|
+
-f, --force 覆盖已存在的文件
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
**注意**:如果不提供参数,将进入交互式问答模式。
|
|
213
|
+
|
|
214
|
+
### `mpdt check` - 检查插件
|
|
215
|
+
|
|
216
|
+
对插件进行静态检查。
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
mpdt check [PATH] [OPTIONS]
|
|
220
|
+
|
|
221
|
+
选项:
|
|
222
|
+
-l, --level TEXT 显示级别: error, warning, info
|
|
223
|
+
--fix 自动修复问题
|
|
224
|
+
--report TEXT 报告格式: console, markdown
|
|
225
|
+
-o, --output PATH 报告输出路径
|
|
226
|
+
--no-structure 跳过结构检查
|
|
227
|
+
--no-metadata 跳过元数据检查
|
|
228
|
+
--no-component 跳过组件检查
|
|
229
|
+
--no-type 跳过类型检查
|
|
230
|
+
--no-style 跳过代码风格检查
|
|
231
|
+
--no-security 跳过安全检查
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
### `mpdt test` - 运行测试 ⚠️ 未实现
|
|
235
|
+
|
|
236
|
+
运行插件测试(计划中)。
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
mpdt test [TEST_PATH] [OPTIONS]
|
|
240
|
+
|
|
241
|
+
选项:
|
|
242
|
+
-c, --coverage 生成覆盖率报告
|
|
243
|
+
--min-coverage INT 最低覆盖率要求
|
|
244
|
+
-v, --verbose 详细输出
|
|
245
|
+
-m, --markers TEXT 只运行特定标记的测试
|
|
246
|
+
-k, --keyword TEXT 只运行匹配关键词的测试
|
|
247
|
+
-n, --parallel INT 并行运行测试
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### `mpdt dev` - 开发模式 ⚠️ 未实现
|
|
251
|
+
|
|
252
|
+
启动开发模式,监控文件变化(计划中)。
|
|
253
|
+
|
|
254
|
+
```bash
|
|
255
|
+
mpdt dev [OPTIONS]
|
|
256
|
+
|
|
257
|
+
选项:
|
|
258
|
+
-p, --port INT 开发服务器端口
|
|
259
|
+
--host TEXT 绑定的主机地址
|
|
260
|
+
--no-reload 禁用自动重载
|
|
261
|
+
--debug 启用调试模式
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### `mpdt build` - 构建插件 ⚠️ 未实现
|
|
265
|
+
|
|
266
|
+
构建和打包插件(计划中)。
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
mpdt build [OPTIONS]
|
|
270
|
+
|
|
271
|
+
选项:
|
|
272
|
+
-o, --output PATH 输出目录
|
|
273
|
+
--with-docs 包含文档
|
|
274
|
+
--format TEXT 构建格式: zip, tar.gz, wheel
|
|
275
|
+
--bump TEXT 升级版本: major, minor, patch
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
## 🏗️ 插件结构
|
|
279
|
+
|
|
280
|
+
MPDT 创建的插件具有以下标准结构:
|
|
281
|
+
|
|
282
|
+
```
|
|
283
|
+
my_plugin/
|
|
284
|
+
├── __init__.py # 插件元数据(包含 __plugin_meta__)
|
|
285
|
+
├── plugin.py # 插件主类
|
|
286
|
+
├── config/
|
|
287
|
+
│ └── config.toml # 配置文件
|
|
288
|
+
├── components/ # 组件目录(可选)
|
|
289
|
+
│ ├── actions/ # Action 组件
|
|
290
|
+
│ ├── tools/ # Tool 组件
|
|
291
|
+
│ ├── events/ # Event Handler 组件
|
|
292
|
+
│ ├── adapters/ # Adapter 组件
|
|
293
|
+
│ ├── prompts/ # Prompt 组件
|
|
294
|
+
│ ├── plus_commands/ # PlusCommand 组件
|
|
295
|
+
│ ├── routers/ # Router 组件
|
|
296
|
+
│ └── chatters/ # Chatter 组件
|
|
297
|
+
├── utils/ # 工具函数(可选)
|
|
298
|
+
├── tests/ # 测试目录(推荐)
|
|
299
|
+
│ ├── conftest.py
|
|
300
|
+
│ └── test_plugin.py
|
|
301
|
+
├── docs/ # 文档目录(推荐)
|
|
302
|
+
│ └── README.md
|
|
303
|
+
├── pyproject.toml # Python 项目配置(推荐)
|
|
304
|
+
├── requirements.txt # 依赖列表(推荐)
|
|
305
|
+
└── README.md # 插件说明(推荐)
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### 必需文件
|
|
309
|
+
- `__init__.py` - 必须包含 `__plugin_meta__` 变量
|
|
310
|
+
- `plugin.py` - 插件主类,继承自 `BasePlugin`
|
|
311
|
+
- `config/config.toml` - 配置文件
|
|
312
|
+
|
|
313
|
+
### 推荐文件
|
|
314
|
+
- `README.md` - 插件使用说明
|
|
315
|
+
- `pyproject.toml` 或 `requirements.txt` - 依赖管理
|
|
316
|
+
- `tests/` - 测试目录
|
|
317
|
+
- `docs/` - 文档目录
|
|
318
|
+
|
|
319
|
+
## 🔧 配置
|
|
320
|
+
|
|
321
|
+
MPDT 支持项目级配置文件 `.mpdtrc.toml`(计划中):
|
|
322
|
+
|
|
323
|
+
```toml
|
|
324
|
+
[mpdt]
|
|
325
|
+
project_name = "my_plugin"
|
|
326
|
+
version = "1.0.0"
|
|
327
|
+
|
|
328
|
+
[mpdt.check]
|
|
329
|
+
level = "warning"
|
|
330
|
+
auto_fix = false
|
|
331
|
+
|
|
332
|
+
[mpdt.test]
|
|
333
|
+
coverage_threshold = 80
|
|
334
|
+
|
|
335
|
+
[mpdt.templates]
|
|
336
|
+
author = "Your Name"
|
|
337
|
+
license = "GPL-v3.0"
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
## 🎯 开发状态
|
|
341
|
+
|
|
342
|
+
### ✅ 已实现功能
|
|
343
|
+
|
|
344
|
+
- ✅ **插件初始化** (`mpdt init`)
|
|
345
|
+
- 支持 6 种模板类型
|
|
346
|
+
- 交互式问答
|
|
347
|
+
- Git 集成
|
|
348
|
+
- 多种许可证支持
|
|
349
|
+
|
|
350
|
+
- ✅ **组件生成** (`mpdt generate`)
|
|
351
|
+
- 支持 8 种组件类型
|
|
352
|
+
- 自动异步方法生成
|
|
353
|
+
- 自动更新插件注册
|
|
354
|
+
- 交互式模式
|
|
355
|
+
|
|
356
|
+
- ✅ **静态检查** (`mpdt check`)
|
|
357
|
+
- 结构验证器
|
|
358
|
+
- 元数据验证器
|
|
359
|
+
- 组件验证器
|
|
360
|
+
- 配置验证器
|
|
361
|
+
- 类型检查器 (mypy)
|
|
362
|
+
- 代码风格检查器 (ruff)
|
|
363
|
+
- 自动修复功能
|
|
364
|
+
- Markdown 报告生成
|
|
365
|
+
|
|
366
|
+
### 🚧 计划中功能
|
|
367
|
+
|
|
368
|
+
- 🚧 **测试框架** (`mpdt test`)
|
|
369
|
+
- 🚧 **开发模式** (`mpdt dev`)
|
|
370
|
+
- 🚧 **构建打包** (`mpdt build`)
|
|
371
|
+
|
|
372
|
+
## 🤝 贡献
|
|
373
|
+
|
|
374
|
+
欢迎贡献代码和建议!
|
|
375
|
+
|
|
376
|
+
## 📄 许可证
|
|
377
|
+
|
|
378
|
+
GPL-3.0-or-later
|
|
379
|
+
|
|
380
|
+
## 🔗 相关链接
|
|
381
|
+
|
|
382
|
+
- [MoFox-Bot](https://github.com/MoFox-Studio/MoFox-Bot)
|
|
383
|
+
- [问题反馈](https://github.com/MoFox-Studio/mofox-plugin-toolkit/issues)
|
|
384
|
+
|
|
385
|
+
## 📊 技术栈
|
|
386
|
+
|
|
387
|
+
- **CLI 框架**: Click
|
|
388
|
+
- **交互式界面**: Questionary
|
|
389
|
+
- **美化输出**: Rich
|
|
390
|
+
- **模板引擎**: Jinja2
|
|
391
|
+
- **配置管理**: TOML, Pydantic
|
|
392
|
+
- **代码检查**: Mypy (类型检查), Ruff (代码风格)
|
|
393
|
+
- **文件监控**: Watchdog (计划中)
|
|
394
|
+
|
|
395
|
+
## 🛠️ 核心依赖
|
|
396
|
+
|
|
397
|
+
```toml
|
|
398
|
+
dependencies = [
|
|
399
|
+
"click>=8.1.7",
|
|
400
|
+
"rich>=13.7.0",
|
|
401
|
+
"questionary>=2.0.1",
|
|
402
|
+
"jinja2>=3.1.2",
|
|
403
|
+
"toml>=0.10.2",
|
|
404
|
+
"pydantic>=2.5.0",
|
|
405
|
+
"watchdog>=3.0.0",
|
|
406
|
+
"ruff>=0.1.6",
|
|
407
|
+
"mypy>=1.7.0"
|
|
408
|
+
]
|
|
409
|
+
```
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
mofox_plugin_dev_toolkit-0.2.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
2
|
+
mpdt/__init__.py,sha256=X3pswRfdIGeACs92UhMxgbDKIq8wiFh3a6QJPJ8mn78,237
|
|
3
|
+
mpdt/__main__.py,sha256=Xr9RFmCNHeHrRu6BI05AcKhy8U7igtAtWUAzuzKSzNw,107
|
|
4
|
+
mpdt/cli.py,sha256=wY_gwPiDTbkgcE3XXpyn6oZAFJIdn8jqQ64So3VUG_0,11583
|
|
5
|
+
mpdt/commands/__init__.py,sha256=vBX7tJMZfTYjYs9zyTMN3OgLMjiQ1nrZL0XfX7VxaBE,77
|
|
6
|
+
mpdt/commands/check.py,sha256=1QCEtmKy3guteaqQsjBoHrZySa1IfzHmsUavWbngR6o,9605
|
|
7
|
+
mpdt/commands/dev.py,sha256=c0LzV9VrGkJzJWcunge4kFj3mWiyQZxrVpvj1l0xiiA,22273
|
|
8
|
+
mpdt/commands/generate.py,sha256=U91YzMBKZKNUrH3uZhCC5Boj4uZ_QA9sYKO83PcrK-E,11532
|
|
9
|
+
mpdt/commands/init.py,sha256=_9gw4LdPIW4p1cSDgbrrLM35433iJtOTv9_5zGUCMsg,12306
|
|
10
|
+
mpdt/dev/bridge_plugin/__init__.py,sha256=JYkt-pMkkYo4OAKmGJOXz3yXQtNHmWO4l5ZaVOsY-mM,566
|
|
11
|
+
mpdt/dev/bridge_plugin/discovery_server.py,sha256=FGmCRm6ELELxdFmgOz9XorFL4i5a2lci47WWqow5VDQ,3197
|
|
12
|
+
mpdt/dev/bridge_plugin/plugin.py,sha256=0GumPNtMxtdz_xjp1rIeWYNeCz-lfHQtPa9TqxGDXaY,9631
|
|
13
|
+
mpdt/templates/__init__.py,sha256=60-dqCO544oUQL_e09LQ9n_DDueeRD4WiXxpJ47YE2g,4887
|
|
14
|
+
mpdt/templates/action_template.py,sha256=neJj-7II0g-zOtEu5OT_qm0aR9hfpqkzfxyr_IbuJCY,3203
|
|
15
|
+
mpdt/templates/adapter_template.py,sha256=B-PKqzyNY3qRW7_s5_VJOoASzAIWazZCwcY_XgRE3AM,3630
|
|
16
|
+
mpdt/templates/chatter_template.py,sha256=ajfP3Mq8TS4ZoD1xKmmQXd_sdvUnoLZUOUyQkScwzzI,2842
|
|
17
|
+
mpdt/templates/event_template.py,sha256=lCoisjtc6ofIiYraOlqKNMr54lMQFYw_9BSYTmilWgw,3118
|
|
18
|
+
mpdt/templates/plus_command_template.py,sha256=vJfEbnK04pM-COTCzGy3jJgd9-9lm5oMSS5bE4ZjRMc,3869
|
|
19
|
+
mpdt/templates/prompt_template.py,sha256=dxgkhkZl7ID1GNjHx43nOeqUv2RvZfzP8nH8plogS0E,2521
|
|
20
|
+
mpdt/templates/router_template.py,sha256=2pdktVugUFZP1dAF12FaTTfJNT1Js8gwrOGIggvu42k,4588
|
|
21
|
+
mpdt/templates/tool_template.py,sha256=ff7XfsO-cmasH1UG1wp5l7HqGU1XyPzxHTjCcpgQm9Y,2611
|
|
22
|
+
mpdt/utils/__init__.py,sha256=tgk63mzuXKOwZNWbO3yED4LdDntdJLf9ypHWYT9Pv_s,123
|
|
23
|
+
mpdt/utils/color_printer.py,sha256=5WMRRGVu8vmcSg-juty3Eia-n5iBkDRgX3Db6XBWm0E,2626
|
|
24
|
+
mpdt/utils/config_loader.py,sha256=EHwCkKLeUWXTNlZh_zW_7Z1AaeC1AofvE1W-tWUPx2s,4130
|
|
25
|
+
mpdt/utils/config_manager.py,sha256=UFKjzE_sijvjRR88KHZp1AccyVR62nq8kkGLwKNlF80,9923
|
|
26
|
+
mpdt/utils/file_ops.py,sha256=wnpxyqMxYbp7r_62TrxTq_ZzixZMuNqkjd5YDTqu2qk,4368
|
|
27
|
+
mpdt/utils/license_generator.py,sha256=4eksNuqgVaS_7E42JObew65wXcRhi06Q1gck_K1qLlg,50313
|
|
28
|
+
mpdt/utils/plugin_parser.py,sha256=gmGGXag5U3Bfu52ke2JRE-nf8NdmjUh6pCSRf_HNIAI,6507
|
|
29
|
+
mpdt/utils/template_engine.py,sha256=BV0Qku-uTjABhxZa2qWWlTHtbD1b-iDPX0ou3EbIltg,3096
|
|
30
|
+
mpdt/validators/__init__.py,sha256=s9X9v08ZmpPn5YiVVyqRdGi-8dXJHrkMRMxtNk_K9bw,717
|
|
31
|
+
mpdt/validators/auto_fix_validator.py,sha256=halYN0az3gB8V6dv8vKLAkzb50A5oq2jZbiSsVduNFQ,6421
|
|
32
|
+
mpdt/validators/base.py,sha256=LEcDK9KmmQFDULUdxSmp4_RqLIscnNv3dub65bQ0rgE,3278
|
|
33
|
+
mpdt/validators/component_validator.py,sha256=WrL38ko0T8_kMKvUw81I32flCvj56HxAnfCwvzl_bug,14924
|
|
34
|
+
mpdt/validators/config_validator.py,sha256=ip7yTPqFrlsIYw-d2z-jDeRckYhaPZiaYBf7AUsRVT0,6619
|
|
35
|
+
mpdt/validators/metadata_validator.py,sha256=RjWYypfedTDdnc2rPBUWXxtmd9OMEfqAZ3SNwu9n9cw,4443
|
|
36
|
+
mpdt/validators/structure_validator.py,sha256=2u-uN5Asm33tKFDiPY_n8VAKsbHVguJHfNlWbnfALxc,2215
|
|
37
|
+
mpdt/validators/style_validator.py,sha256=Oy_tOrkvSSDyQCMsEwSMMzAIzz5PxIZ18lob9Dg5ffY,3890
|
|
38
|
+
mpdt/validators/type_validator.py,sha256=_lUMLvhfKHyvTNl5LrlDFDJMJr_pxVbGtbNZx-2xL58,7252
|
|
39
|
+
mofox_plugin_dev_toolkit-0.2.1.dist-info/METADATA,sha256=k2LZ69xNqM8NhEVCC5FRu286BouehCvsynGFph73KBk,11833
|
|
40
|
+
mofox_plugin_dev_toolkit-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
41
|
+
mofox_plugin_dev_toolkit-0.2.1.dist-info/entry_points.txt,sha256=g1nhK041JPGWVSLsrDvWELJvci30gu9u6-cMK8Lj2wY,38
|
|
42
|
+
mofox_plugin_dev_toolkit-0.2.1.dist-info/top_level.txt,sha256=fVLSi-FmHXRO5ex-272DBdGqmDE7yupJdbY8IAFxtgQ,5
|
|
43
|
+
mofox_plugin_dev_toolkit-0.2.1.dist-info/RECORD,,
|