Commit Graph

80 Commits

Author SHA1 Message Date
yokowu
4b357a07d7 feat: 支持插件选择模型 2025-08-29 18:29:50 +08:00
yokowu
141a1cc98b feat: 统计支持时间范围筛选 2025-08-29 17:22:20 +08:00
jiangwel
217ec9934e feat: 用户添加模式失败时进行相应提示 2025-08-28 14:55:04 +08:00
jiangwel
113e631b45 feat: 支持更多大模型 2025-08-27 15:45:01 +08:00
yokowu
1e873b4fce feat: 兼容智谱 2025-08-20 15:12:02 +08:00
jiangwel
a6cf62686f feat(model): 集成ModelKit支持并重构模型管理功能
重构模型管理模块,集成ModelKit作为统一模型服务接口
- 添加ZhiPu、Gemini和Other模型供应商支持
- 移除原有模型检查和列表获取逻辑,改用ModelKit实现
- 新增modelService服务层处理模型数据转换
- 删除旧版modelModal组件,改用@yokowu/modelkit-ui组件
- 更新相关依赖版本,包括ModelKit v1.4.3
2025-08-20 10:10:06 +08:00
yokowu
516d98665b feat: 支持用户分组 2025-08-18 14:57:29 +08:00
yokowu
3445e46086 feat: 提供给插件的安全详情接口 2025-08-15 10:27:04 +08:00
yokowu
5e5f898c3e feat: 快照扫描的代码 2025-08-12 17:34:57 +08:00
yokowu
2198933f6e fix: 修复c/c++代码扫描无效问题 2025-08-12 16:06:03 +08:00
yokowu
55654628ae fix: 修复添加 ollama 模型报错 2025-08-11 18:34:25 +08:00
Yoko
c8e942c881 Merge pull request #246 from yokowu/feat-scanner
feat: 实现扫描器
2025-08-08 17:33:07 +08:00
yokowu
7ac32a8bf1 feat: 实现扫描器 2025-08-08 17:30:18 +08:00
Yoko
ccbd5c828c Merge pull request #201 from Haydenkkk/feat/semantic-context
feat: Add semantic search capabilities with pgvector integration
2025-08-08 16:08:04 +08:00
Haoxin Li
d00ce49c0d feat: integrate pgvector for semantic search and embedding generation
- Added pgvector-go dependency for vector operations.
- Implemented embedding generation using OpenAI API in a new service.
- Enhanced CodeSnippetRepo to support semantic search using vector similarity.
- Updated CodeSnippetUsecase to generate embeddings during snippet creation.
- Added methods for semantic search by workspace and general semantic search.
- Improved error handling and logging for embedding generation and vector search.
- Removed unnecessary debug logs in socket handlers for cleaner output.

feat: enhance CodeSnippet functionality with workspacePath for improved context and semantic search

feat: add embedding and workspace path fields to CodeSnippet for semantic search functionality

feat: enhance SemanticSearchByWorkspace to include cosine similarity score in results

feat: 优化心跳处理逻辑,支持多种数据类型

refactor: 修复日志记录

feat: add migration for embedding and workspace_path columns in code_snippets table
2025-08-08 15:59:41 +08:00
yokowu
a218979cd7 feat: 扫描详情增加代码原文 2025-08-08 15:47:00 +08:00
yokowu
da4359f2e2 feat: 支持安全扫描 2025-08-07 22:04:00 +08:00
LydiaMuaCai
54ded7e5a7 feat: 免费版本用户限制 100 2025-08-07 21:23:56 +08:00
Yoko
d76c45c5e6 Merge pull request #188 from yokowu/feat-base-url
feat: 支持配置前置代理
2025-07-31 17:41:36 +08:00
Yoko
758b9ba30d Merge pull request #183 from Haydenkkk/feat/context-enhance
Feat/context enhance 支持了 CodeSnippet 的检索功能 & 添加了CLI脚本文件
2025-07-31 17:41:21 +08:00
yokowu
d64eb48a59 feat: 支持配置前置代理 2025-07-31 17:36:56 +08:00
yokowu
3435df2caa feat(model): 模型支持高级配置 2025-07-30 18:54:31 +08:00
Haoxin Li
4b5784d391 refactor: update CodeSnippet and workspace handling for improved clarity and structure 2025-07-30 14:48:58 +08:00
Haoxin Li
5bdf01dec3 feat: add code snippet search functionality and handler implementation 2025-07-29 16:09:42 +08:00
Haoxin Li
35a893e1d2 refactor: update struct field types from interface{} to any for improved type safety 2025-07-28 17:59:54 +08:00
chriscco
a03d6647d5 fix: 修复了CLI传入字段的对齐问题
fix: Update GetAndSaveReq structure to use WorkspaceID and FileMetas fields

feat: Update GetAndSave request structure to include workspace_id and refactor related code
2025-07-28 16:20:57 +08:00
Haoxin Li
ae6b32a1b0 Merge remote-tracking branch 'upstream/main' into feat/sync-docs 2025-07-28 14:50:52 +08:00
Haoxin Li
f321e19fd6 feat: Implement CodeSnippet functionality with repository and use case layers, update CLI command references 2025-07-28 14:39:27 +08:00
Haoxin Li
9388e149d6 feat: Add CodeSnippet entity and related functionality
- Introduced CodeSnippet schema with fields for snippet details and relationships to WorkspaceFile.
- Enhanced WorkspaceFileUpdate and WorkspaceFileUpdateOne to manage snippets, including adding, removing, and clearing snippet relationships.
- Updated Swagger documentation to include new API endpoints for CLI command execution and workspace file management.
- Implemented domain structures for handling code files and AST parsing results.
- Refactored Workspace and WorkspaceFile use cases to support new functionalities.
- Adjusted CLI command execution to handle code file information in JSON format.
- Improved error handling and logging throughout the workspace and file management processes.
2025-07-25 19:35:00 +08:00
chriscco
3dab9bf7dd feat: 适配了新的CLI命令 2025-07-25 17:54:38 +08:00
yokowu
e12b5b26d6 fix: 用户锁定判断 2025-07-25 10:36:45 +08:00
yokowu
1d61853118 feat(tasks): 优化任务上报 2025-07-24 18:29:14 +08:00
曹宇航
e2ac6cb3b6 feat: 添加tree-sitter调用逻辑 2025-07-24 16:22:53 +08:00
Haoxin Li
b5ecb92371 feat: feat: Implement workspace and real-time file synchronization
- Added WorkspaceFileHandler for handling workspace file operations including create, update, delete, and list functionalities.
- Introduced WorkspaceFileRepo for database interactions related to workspace files.
- Created WorkspaceFileUsecase to encapsulate business logic for workspace file management.
- Implemented API endpoints for workspace file operations with appropriate request and response structures.
- Added database migrations for creating workspaces and workspace_files tables with necessary constraints and indexes.
- Enhanced user authentication and authorization for workspace file operations.
2025-07-23 17:42:20 +08:00
yokowu
17417f33b1 fix: 修复插件下载失败 2025-07-23 17:13:24 +08:00
yokowu
9f61e4fe86 chore: 代码调整 2025-07-23 16:38:59 +08:00
Yoko
95685d1ef1 Merge pull request #123 from AlanAlanAlanXu/main
添加一键dump所有用户的补全数据的api
2025-07-22 18:44:26 +08:00
AlanAlanAlanXu
81037cffdf refine cursor pos data structure 2025-07-22 18:42:12 +08:00
AlanAlanAlanXu
e470f43fbe 增加一键dump补全数据api
update migration
2025-07-22 17:54:28 +08:00
yokowu
1f6b3976e8 feat: 数据上报 2025-07-22 17:45:56 +08:00
yokowu
4f34f1bbee feat: 通过请求获取 base url, 减少配置项 2025-07-22 11:32:17 +08:00
Yoko
f1937637ab Merge pull request #119 from AlanAlanAlanXu/main
引入了用户拒绝补全时的记录请求
2025-07-22 10:40:25 +08:00
AlanAlanAlanXu
8dd1eebf7f 添加拒绝补全的路由 2025-07-21 19:19:39 +08:00
Yoko
bdfa4f82ef Merge pull request #117 from yokowu/feat-user-manage
feat: 用户管理相关接口实现
2025-07-21 18:50:34 +08:00
yokowu
20c0da6fb0 feat: 用户使用记录接口 2025-07-21 18:47:39 +08:00
AlanAlanAlanXu
b76c90308b add 3 keywords
add source_code, cursor_position, user_input
2025-07-21 15:14:38 +08:00
yokowu
8ebaf582a1 feat: 用户统计接口 2025-07-21 12:24:00 +08:00
yokowu
1282690e37 feat: 增加用户登录来源 2025-07-21 11:53:26 +08:00
yokowu
9abe5dcc9f feat: metadata 上报 2025-07-18 19:14:08 +08:00
yokowu
2177b80c75 feat: 新增聊天记录筛选项 2025-07-18 17:30:59 +08:00