28 Commits

Author SHA1 Message Date
向宁
33de6f1220 feat: add notification store, order/portal pages, form designer runtime and utils
- Add notification API + store, OIDC callback view
- Add order management and portal route modules
- Add form designer preview/linkage, runtime rendering and versions
- Add file utils, message utils and unit tests
- Wire up workflow routes and knowledge-base/im/file views
2026-06-14 15:02:32 +08:00
向宁
9eae9bbbd3 style: lint auto-fix remaining workflow pages 2026-05-25 20:40:35 +08:00
向宁
bb97af32e7 style: lint auto-fix formatting 2026-05-25 20:36:16 +08:00
向宁
7d941bafe6 feat: enhance workflow designer, add form schema renderer, IM store, instance detail page 2026-05-25 20:36:00 +08:00
向宁
69ab0a547d feat: add useSchemaSync, PropertyPanel, useStencil, ComponentPanel 2026-05-25 14:35:49 +08:00
向宁
f91bc84911 feat: add X6 designer configs, FormFieldNode, and useGraph composable 2026-05-25 14:25:43 +08:00
向宁
069172bb00 feat: add form component registry API types and functions 2026-05-25 14:20:16 +08:00
向宁
0a177e7703 fix: designer edge order use InputNumber, drag-stop include config field 2026-05-21 15:57:32 +08:00
向宁
4742bec4f6 feat: add workflow designer page with Vue Flow, node panel, property drawers 2026-05-21 15:01:49 +08:00
向宁
209c0be5e1 feat: add Node/Edge API types, designer route, design button 2026-05-21 14:52:49 +08:00
向宁
9a50d06752 feat: AI 回复 Markdown 渲染 + SSE 解析优化
- 引入 markdown-it + highlight.js 渲染 AI 回复内容
- SSE 解析改用双换行分割,解决跨 chunk 数据丢失
- 用户消息保持纯文本,AI 回复用 Markdown 渲染
- 添加代码高亮、列表、表格等样式
2026-05-20 21:07:52 +08:00
向宁
d513c76cd6 feat: 新增发起流程页面,优化流程发起体验
- 新增 /workflow/start 页面,卡片展示所有已发布且启用的流程定义
- 点击卡片即可直接发起流程,无需手动填写编码和变量
- 流程定义页面增加"发起"按钮
- 流程实例页面移除旧的发起表单,改为跳转到发起页
2026-05-20 20:44:54 +08:00
向宁
49d8abf933 feat: add AI chat, knowledge base, workflow pages
- AI chat page with SSE streaming
- Knowledge base management with chunk/vector preview
- Workflow definition list page
- Chunked file upload (>5MB auto-slicing)
- Removed demo menus
- Added file request client proxy config
2026-05-20 20:28:24 +08:00
向宁
c503018843 feat: add file management module and enhance IM chat UI 2026-05-17 22:47:38 +08:00
向宁
e75e364e64 fix: change nginx listen port from 80 to 8080
Port 80 conflicts with another service on NUC Box
2026-05-17 20:19:21 +08:00
向宁
19ff09f724 fix: set CI=true to skip lefthook install in Docker build
is-ci package checks CI env var to skip prepare hooks
2026-05-17 20:06:03 +08:00
向宁
e2734d1091 fix: disable lefthook during Docker build with LEFTHOOK=0
Build context lacks .git directory, causing lefthook install to fail
2026-05-17 19:49:52 +08:00
向宁
1fdc5effd7 fix: use network_mode host for container networking
Nginx needs host network to proxy API requests to rag-backend
2026-05-17 19:42:54 +08:00
向宁
4afcf639dd fix: add git to Docker build image for lefthook
lefthook install requires git, which is missing from node:22-alpine
2026-05-17 19:26:06 +08:00
向宁
755517a068 feat: add Dockerfile and upgrade Jenkinsfile to full CI/CD
- Multi-stage build: node:22 (pnpm build) → nginx runtime
- nginx.conf with SPA routing and API proxy
- Jenkinsfile: Docker build → push → deploy
2026-05-17 19:17:07 +08:00
向宁
059aebfa28 feat: IM 通讯录 + 发起聊天 + 群成员选择
- 侧边栏 Tab 切换:消息 / 通讯录
- 通讯录:搜索用户(直连 rag-backend),点击发起私聊
- 创建群聊 Modal 增加成员多选器(远程搜索用户)
- IM Store 新增 contacts/searchContacts/startPrivateChat
- 创建私聊:后端幂等(已存在则返回现有会话)
- 全部 Tailwind 语义类,暗黑模式兼容
2026-05-17 17:50:46 +08:00
向宁
a67764a705 fix: 聊天页面适配暗黑模式
将 scoped CSS 硬编码颜色全部替换为 Tailwind 语义类:
- 背景色: bg-card, bg-muted, bg-accent, bg-primary
- 文字色: text-foreground, text-muted-foreground, text-primary-foreground
- 边框色: border-border
- 选中态: bg-primary/10 dark:bg-accent
2026-05-17 17:33:44 +08:00
向宁
dfa70b7ef4 feat: 集成 IM 即时通讯模块(SignalR + 聊天 UI)
新增 IM 功能模块,对接独立 IM 后端服务:
- API 层:独立 request client 直连 IM 后端(5212),与 rag-backend 代理隔离
- SignalR:实时消息收发、已读回执、在线状态、输入提示
- Pinia Store:会话列表、消息历史、未读计数、在线用户状态管理
- 聊天页面:会话列表 + 消息区域 + 群聊创建,支持文本/图片/表情消息
- 路由:/chat 页面接入主导航
2026-05-17 17:06:52 +08:00
xiangning
27bcfde6c9 fix: Jenkinsfile 直接下载 Node.js 二进制 + 前端对接调整
- Jenkinsfile: 从 nodejs.org 下载 Node.js 二进制(容器无法访问 GitHub)
- vite.config.ts: 代理目标改为后端实际端口 5211,去掉 rewrite
- auth.ts: withCredentials 移到 axios config 正确位置
2026-05-11 02:43:23 +08:00
xiangning
cc5f5f587b fix: Jenkinsfile 适配无 Node.js 环境
- 通过 nvm 安装 Node.js(Jenkins 容器内无预装)
- 所有 sh 步骤 source nvm 确保 node/pnpm 可用
- cleanWs() 替换为 deleteDir()(ws-cleanup 插件未安装)
2026-05-11 02:37:14 +08:00
xiangning
24f4abde20 chore: 清理 .gitignore 中已删除目录的引用 2026-05-11 02:35:30 +08:00
xiangning
40a59c700f chore: 清理上游遗留文件
- 删除 .github(Actions/Issue/PR 模板)
- 删除 .changeset(上游版本管理)
- 删除 .gitpod.yml/.gitattributes/.gitconfig/tea.yaml
- 删除多语言 README、LICENSE、cspell.json
- 删除 scripts/deploy(上游 Docker 脚本)
- 删除 vben-admin.code-workspace
- 清理 pnpm-workspace.yaml 无用引用
2026-05-11 02:34:02 +08:00
xiangning
86a38bdfc8 init: RAG 前端项目(基于 Vben Admin web-antd)
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
- 基于 Vben Admin 5.7.0,仅保留 web-antd 版本
- 删除多余 UI 版本(antdv-next/ele/naive/tdesign)
- 删除 backend-mock(已对接真实 .NET 后端)
- 删除 playground 和 docs
- 添加 Jenkinsfile CI/CD
2026-05-11 02:30:30 +08:00