Commit Graph

39 Commits

Author SHA1 Message Date
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
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
yokowu
4134e74a82 feat: 嵌入vsix 2025-08-06 17:52:16 +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
5bdf01dec3 feat: add code snippet search functionality and handler implementation 2025-07-29 16:09:42 +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
yokowu
13347d9d2b feat: 上报时间记录在 redis 2025-07-24 21:13:46 +08:00
yokowu
a7287c9f41 feat: 只读模型 2025-07-24 19:04:17 +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
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
e470f43fbe 增加一键dump补全数据api
update migration
2025-07-22 17:54:28 +08:00
yokowu
1f6b3976e8 feat: 数据上报 2025-07-22 17:45:56 +08:00
Yoko
3fdd61a8cc Merge pull request #118 from yokowu/feat-data-report
feat: 安装数据上报
2025-07-21 18:55:27 +08:00
yokowu
20c0da6fb0 feat: 用户使用记录接口 2025-07-21 18:47:39 +08:00
yokowu
8f9041b84a feat: 数据上报 2025-07-21 18:11:16 +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
481a7d7eb7 chore: 取消内置模型 2025-07-21 10:22:51 +08:00
yokowu
5cd90f681c fix: 管理员活跃时间记录 2025-07-17 16:45:27 +08:00
yokowu
d447fa4a11 fix(api-key): 删除用户同时删除api key, 给api key加上缓存 2025-07-17 16:05:51 +08:00
yokowu
97524b1ffe feat(user): 记录登录历史 2025-07-17 15:06:08 +08:00
yokowu
eecfcbf96a feat(proxy): 利用 ReverseProxy 实现代理, 进一步分离代理与分析的逻辑 2025-07-16 15:57:52 +08:00
yokowu
963ad4eabc feat(model): 增加缓存机制 2025-07-13 00:05:39 +08:00
yokowu
0490ef58a4 feat(config): 减少配置文件必填项, 配置文件改为从环境变量读取 2025-07-11 17:59:12 +08:00
yokowu
3a1affd88e feat: 插件更新管理 2025-07-04 20:17:49 +08:00
yokowu
a71148497c feat(user): 记录用户活跃时间 2025-07-04 10:56:03 +08:00
yokowu
32a9ac663d feat: 赠送coder模型 2025-07-02 16:01:23 +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