From 8556f0ab4b0579942c3c3496e622293a3fb153e6 Mon Sep 17 00:00:00 2001 From: Del Date: Fri, 14 Jun 2024 20:56:00 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=20MIT=20license?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 21 +++++++++++++++++++++ README.md | 4 ++++ docs/roadmap.md | 9 ++++----- docs/todo.md | 2 +- 4 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2ae2d26 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Del Wang + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 426b7e9..fa98f58 100644 --- a/README.md +++ b/README.md @@ -114,3 +114,7 @@ main(); - https://github.com/jialeicui/open-lx01 - https://github.com/inu1255/mi-service - https://github.com/Yonsm/MiService + +## License + +[MIT](https://github.com/idootop/mi-gpt/blob/main/LICENSE) License © 2024-PRESENT Del Wang diff --git a/docs/roadmap.md b/docs/roadmap.md index c96b03e..b86ba99 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -2,13 +2,12 @@ > 以下是一些可以优化的地方或新功能,仅作记录之用,暂时没有开发计划。 -## 🐛 修复 - -- 【重要】自动刷新小米账号登录凭证 - - 小米账号登录凭证有效期 1 个月,到期后需要自动刷新(mi-service-lite) - ## 💪 优化 +- 使用通知事件获取最新消息和设备播放状态 + - 提高及时响应速度 + - 适配更多机型使其支持连续对话 + - 减轻轮询对服务端造成的压力 - 自动识别设备型号 - 通过查询设备 miot spec 文件,自动获取指令参数 - 自动识别设备属性值是否有读取权限 diff --git a/docs/todo.md b/docs/todo.md index 442d0c2..3f75e62 100644 --- a/docs/todo.md +++ b/docs/todo.md @@ -7,12 +7,12 @@ - ✅ 新增自定义系统 Prompt 功能 - 登录凭证过期后自动刷新 token https://github.com/idootop/mi-gpt/issues/76 - 支持火山引擎 TTS 和音色切换能力(微软 TTS、OpenAI TTS 待定) +- 添加 MIT license ## 💪 优化 - ✅ 优化网络请求错误重试策略(消息/播放状态轮询) - 移除 TTS 不发音字符(emoji) -- 【待定】使用通知事件获取最新消息和设备播放状态 ## 📚 文档