feat(ui): 添加 AI 聊天窗口功能

- 实现了一个可拖动、可扩展的 AI 聊天窗口
- 添加了输入框、输出框、动画边框等 UI 元素- 集成了 Markdown 渲染和数学公式支持
- 添加了全局快捷键支持,用于快速打开/关闭 AI 聊天窗口
- 优化了窗口大小调整和布局逻辑
This commit is contained in:
tzdwindows 7
2025-03-15 21:02:35 +08:00
parent a787e9ed78
commit d19eb92e4a
6 changed files with 750 additions and 2 deletions

View File

@@ -89,6 +89,8 @@ dependencies {
implementation 'com.github.javaparser:javaparser-core:3.25.1'
implementation 'com.1stleg:jnativehook:2.1.0'
//implementation 'org.springframework.boot:spring-boot-starter-web' // Web支持
//implementation 'org.springframework.boot:spring-boot-starter-data-jpa' // JPA数据库支持
//implementation 'org.springframework.boot:spring-boot-starter-validation' // 参数校验
@@ -109,6 +111,9 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
implementation 'com.kitfox.svg:svg-salamander:1.0'
implementation 'com.vladsch.flexmark:flexmark:0.64.8'
}
// 分离依赖项到 libs 目录