Repository navigation
feat(cloud): 云盘 AI 能力、Agent 工具与结构重构 - #173
Merged
Merged
Conversation
…n + pdfcpu),摘要、语义检索、相似文件\n- 云盘 Agent 工具:cloud_doc_summary / cloud_semantic_search / cloud_similar_files\n- 前端 AI 摘要/标签/待办/相似文件、语义搜索、聊天引用深链与入库状态提示\n- 入库幂等防重(前端防抖 + 后端原子抢占 + 重入库冷却)\n- 全部 JSON 路由收口 DTO;middleware 独立包;utils 共享包;Go 测试迁入 tests/ 黑盒包\n- app-ts 出站 client 统一移到 auth/,services 只保留业务编排
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
云盘 AI 能力与 Agent 工具闭环,并完成 app-cloud / app-ts / frontend 的 DTO、middleware、utils、测试结构整理。
云盘 AI
cloud_doc_summarycloud_semantic_searchcloud_similar_files结构整理
internal/dto(12 个域文件),handler 不再手写gin.Hinternal/middleware(UID / internal key / capability / CORS / security / metrics)cloudutil统一为internal/utilstests/黑盒包(84 个测试),service 包无_test.goservices/移到auth/,services 只保留业务编排验证
app-cloud/tests84 testsnpm run typecheck通过;全量 vitest(排除既有 Mongo 认证失败用例)67 文件、639 通过tsc --noEmit、next build --webpack通过部署注意
app-cloud、app-ts、frontendAPPCLOUD__INTERNAL__API_KEY(复用 APISIX_CONSUMER_KEY)、APP_CLOUD_BASE_URLz-ai/glm-5.3-flash,需 Higress 可路由未包含