Commit Graph

38 Commits

Author SHA1 Message Date
yokowu
62fe4eb97e feat: 允许研发人员创建AI员工 2025-08-26 18:34:56 +08:00
yokowu
232e8e8504 feat: ai 员工 2025-08-25 19:36:48 +08:00
Haoxin Li
c0134d83e2 fix: update workspace_files path column type to support larger strings 2025-08-21 11:48:34 +08:00
yokowu
1e873b4fce feat: 兼容智谱 2025-08-20 15:12:02 +08:00
yokowu
47f2c7ff52 fix: 对话,补全记录跳过权限验证 2025-08-18 18:33:26 +08:00
yokowu
76e4e46b57 feat: 写入权限向后兼容, 避免其它非后台的地方写入报错 2025-08-18 17:19:38 +08:00
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
yokowu
da4359f2e2 feat: 支持安全扫描 2025-08-07 22:04:00 +08:00
LydiaMuaCai
38b99ce736 fix: 外层不引用内层 domain 2025-08-07 20:08:59 +08:00
LydiaMuaCai
38653e73e6 feat: add license schema 2025-08-07 18:35:34 +08:00
yokowu
2b81f9c592 feat(model): 修复模型配置api key必填问题, 修复高级配置类型错误问题 2025-08-01 18:20:22 +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
35a893e1d2 refactor: update struct field types from interface{} to any for improved type safety 2025-07-28 17:59:54 +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
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
yokowu
1d61853118 feat(tasks): 优化任务上报 2025-07-24 18:29:14 +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
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
AlanAlanAlanXu
b76c90308b add 3 keywords
add source_code, cursor_position, user_input
2025-07-21 15:14:38 +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