Commit Graph

25 Commits

Author SHA1 Message Date
yokowu
516d98665b feat: 支持用户分组 2025-08-18 14:57:29 +08:00
yokowu
5e5f898c3e feat: 快照扫描的代码 2025-08-12 17:34:57 +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
LydiaMuaCai
cfb6c6e3b7 feat: add license migration file 2025-08-07 22:26:13 +08:00
yokowu
da4359f2e2 feat: 支持安全扫描 2025-08-07 22:04:00 +08:00
yokowu
d64eb48a59 feat: 支持配置前置代理 2025-07-31 17:36:56 +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
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
AlanAlanAlanXu
e470f43fbe 增加一键dump补全数据api
update migration
2025-07-22 17:54:28 +08:00
AlanAlanAlanXu
4e0070ede9 Update 000009_alter_task_table.up.sql 2025-07-21 16:53:03 +08:00
yokowu
9abe5dcc9f feat: metadata 上报 2025-07-18 19:14:08 +08:00
yokowu
e654498886 feat(user): 登录历史增加hostname, client id字段 2025-07-17 18:52:35 +08:00
yokowu
97524b1ffe feat(user): 记录登录历史 2025-07-17 15:06:08 +08:00
yokowu
d356d6cef9 feat(model): 内置模型管理 2025-07-16 18:38:45 +08:00
yokowu
96c83f1de2 feat(model): 供应商模型列表 2025-07-15 16:01:59 +08:00
yokowu
16cd826d87 feat(user): 增加自动登录开关 2025-07-15 11:34:20 +08:00
yokowu
320aeb2985 feat(oauth): 支持标准OAuth2.0接入 2025-07-14 12:09:57 +08:00
yokowu
d3202c777d fix(invite): 邀请码增加使用情况和过期时间 2025-07-11 14:25:45 +08:00
yokowu
3a1affd88e feat: 插件更新管理 2025-07-04 20:17:49 +08:00
yokowu
77c75020f1 fix(user): 修复用户表索引唯一判断 2025-07-03 14:53:57 +08:00
yokowu
7426de7ba6 feat: 记录任务的所有问答 2025-07-03 10:15:35 +08:00
yokowu
ba46853458 feat: 模型供应商支持配置 2025-07-02 14:13:14 +08:00
yokowu
d68ac3d05b feat: 支持钉钉OAuth 2025-07-01 21:08:30 +08:00
yokowu
445a4b159a feat(tasks): aggregate tasks 2025-06-30 19:04:09 +08:00
yokowu
b048fac123 feat(backend): add basic backend code 2025-06-25 15:56:22 +08:00