From e6e9453a024dff943ea52b4fb588f2cf7fec509b Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 26 Feb 2024 13:21:50 +0800 Subject: refactor(command): 命令词法解析器 (#82) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor(command): 重构命令路由 * feat(lua): 包装异步方法`self.event.reply` => `msg:echo` * feat(lua): 包装异步输入流方法`self.event.ask` => `msg:ask` * 'Refactored by Sourcery' (#83) Co-authored-by: Sourcery AI <> * feat(Token|Lexer): 添加`Token`与`Lexer`类 * refactor(Lexer): 词法分析器添加`advance`方法 * chore: lint code * refactor: sync gensokyo adapter * feat: Cli parser (#85) * feat(cli): 添加`Cli`类,解析命令行参数 * fix: 修复错误的`dest`与`action` * feat(cli): 实现`install_package` 与 `build_template` * feat(cli): 实现`-c|--config`指令配置镜像常量等 * feat(cli): 使用高效率的异步网络库`aiohttp` * fix(cli): `TYPE_CHECKING` with partially module `typing` * refactor!: examples, tests, src... rewrite in rust --------- Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- pyproject.toml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index cee8cae..10f943e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,18 +12,17 @@ dependencies = [ "jieba>=0.42.1", "scikit-learn>=1.3.1", "requests>=2.31.0", - "iamai>=3.2.9", - "iamai-adapter-onebot11>=3.2.9", - "iamai-adapter-kook>=3.2.9", - "iamai-adapter-dingtalk>=3.2.9", - "iamai-adapter-apscheduler>=3.2.9", "apscheduler>=3.10.4", "lupa>=2.0", + "windows-curses>=2.3.2", + "lark>=1.1.8", + "cachetools>=5.3.2", + "iamai[onebot11]>=0.0.2", ] requires-python = ">=3.8" readme = "README.md" license = {text = "MIT"} -keywords = ["bot", "qq", "qqbot", "mirai", "coolq"] +keywords = ["bot", "qq", "qqbot", "mirai", "coolq", "gensokyo", "dice", "hydroroll"] classifiers = ["Development Status :: 5 - Production/Stable", "Framework :: Robot Framework", "Framework :: Robot Framework :: Library", "Operating System :: OS Independent", "Programming Language :: Python :: 3"] [project.urls] -- cgit v1.2.3-70-g09d2