Conversation
- schemas.py: TopicCreate/TopicUpdate 补上 schedule_frequency 字段 - models.py: TopicSubscription ORM 补上 schedule_frequency 列 - topics.py: 创建/更新主题路由补上 date_filter_days 参数传递 - repositories.py: upsert_topic 更新路径补上 enable_date_filter + date_filter_days 赋值,创建路径补上 date_filter_days - pipelines.py: ingest_arxiv 全系列方法增加 days_back 参数透传到 arxiv.fetch_latest() - daily_runner.py: run_topic_ingest 从主题配置读取日期过滤设置并传递 - db.py: run_migrations() 补上 enable_date_filter 和 date_filter_days 的自动加列 - 新增 alembic 迁移: 20260311_0010_add_schedule_frequency Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 移动技术文档到 docs/ 目录 (PaperMind.md, TECH_DETAILS.md) - 移动部署文档到 docs/deployment/ 目录 - 删除临时工作文档 (todo.md, CODE_FIXES_REPORT.md 等) - 根目录只保留 CLAUDE.md 和 README.md
- 重新组织 .env.example,添加清晰的使用说明和分组 - 删除 deploy/.env.example(重复配置) - 更新 docker-compose.yml,统一使用根目录 .env - 简化部署流程:只需复制根目录 .env.example
- 删除根目录 Dockerfile(单容器部署,已弃用) - 重命名 infra/docker-compose.yml 为 docker-compose.postgres.yml - 保留 Dockerfile.backend(分离部署)和 frontend/Dockerfile - Docker配置更加清晰,避免用户困惑
- 移动 infra/backup.sh 到 scripts/ 目录 - infra/ 现在只包含基础设施配置(nginx、supervisor、migrations) - scripts/ 统一管理所有脚本文件
- 删除根目录 package.json/package-lock.json(仅用于husky) - 删除构建产物目录(build/、dist/、node_modules/、egg-info/) - 移动 paper.db 到 data/ 目录 - 移动 papermind-server.spec 到 scripts/ 目录 - 根目录更加整洁,只保留核心配置文件
- 创建 dev_setup.py 脚本 - 自动检查 Python 版本 - 自动创建虚拟环境 - 自动安装依赖 - 自动复制 .env 配置 - 自动初始化数据库 - 简化本地开发环境搭建流程
- 删除已废弃的 deploy/ 忽略规则 - 添加 logs/ 和 *.log 忽略 - 添加 .cursor/ 忽略 - 添加 *.spec 忽略(PyInstaller) - 优化注释和分组
- 更新Docker部署说明:使用根目录 .env - 添加 dev_setup.py 一键初始化说明 - 简化本地开发流程 - 移除对已删除目录的引用
- 将 data/*.db, data/papers/, data/briefs/ 改为 data/ - 避免运行时数据被误提交
- auth.py: 使用 hmac.compare_digest 替代明文比较,防止时序攻击 - config.py: auth_secret_key 默认值改为空串,强制用户设置 - main.py: AuthMiddleware 放行 OPTIONS 预检请求,启动时校验密钥配置,import 排序修复 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
- useSSEStream: 重写为逐行解析,支持多行data,optionsRef消除重连循环 - useConversations: safeSetItem容量保护,QuotaExceededError时自动清理旧会话 - AgentSessionContext: itemsRef修复sendMessage闭包陈旧,Date.now()改为uid()唯一ID Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
- api.ts: request和fetchSSE遇401自动clearAuth+reload跳转登录 - tauri.ts: waitForBackend添加30s超时reject - package.json: @types/react从v19降至v18匹配react版本 - Sidebar: 添加LogOut退出按钮,修复缺失的</div>闭合标签 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
- deps.py: TTLCache添加max_size=1024上限 + LRU淘汰策略 - docker-compose.yml: 移除不存在的deploy/.env引用 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
- 删除重复的代码块(useState多余闭合、重复setForm/topicApi调用) - Input组件不存在的help属性改为placeholder Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
- 将TodaySummary/FolderStats/PaperListResponse等15个interface迁移至types/index.ts - 删除types/index.ts中未使用的TopicFetchResult和TopicFetchStatus死代码 - 更新8个消费者文件的import来源为@/types - api.ts添加re-export保持向后兼容 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
全项目84个文件的@author标注统一为Color2333 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
P0修复: - agent_tools.py: 修复uuid4未导入导致ingest_arxiv崩溃 - agent.py: 重写SSE解析逻辑,正确保存工具调用记录 - agent.py: 修复用户消息重复插入数据库问题 P1修复: - 添加conversation_id支持,前后端协同 - pending_actions持久化到数据库,服务重启不丢失 P2优化: - 删除useSSEStream.ts死代码(162行) - 优化AgentSessionContext消息发送逻辑
Python: - pyproject.toml: 添加 ruff format + lint 完整配置 - 添加 isort, bugbear, simplify 等规则 TypeScript: - 安装 prettier + eslint - 配置 tailwindcss 插件 - 添加 format/lint 脚本 Git Hooks: - 配置 pre-commit hooks - 提交前自动格式化 + lint 检查
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.
No description provided.