Skip to content

Feat/source code - #1

Open
Cecilian-Elysian wants to merge 4 commits into
17-qxm:mainfrom
Cecilian-Elysian:feat/source-code
Open

Feat/source code#1
Cecilian-Elysian wants to merge 4 commits into
17-qxm:mainfrom
Cecilian-Elysian:feat/source-code

Conversation

@Cecilian-Elysian

Copy link
Copy Markdown

简单重新架构,并创建安卓端,留下链接:)

- agent.py: 重构 ProbeAgent/CoachAgent,类型注解 + 中文 docstring
- config.py / main.py / record.py / ui.py: 同步改造
- .gitignore: 新增 学习笔记&修改要求/ 排除规则
- AGENTS.md / LOG.md / README.md: 新增项目文档
- Coach 从出题判题改为混合教学(explain/ask/feedback/summary)
- 旧类型 question/judge 禁用,agent 自动纠正 + 加警告
- JSON 解析修复:_fix_json_string_escapes 处理裸引号和 LaTeX 反斜杠
- KB 升级:add_mastered/remove_mastered/get_progress_summary
- 学习记录 add_turn 取代 add_question,理解度字段兼容新旧格式
- Spinner 动画(ASCII |/-\\)替代静态 loading
- 密码遮蔽 password_input(msvcrt getch + *回显 + Backspace)
- 全屏登录 _login_screen() 替代 _get_user,alt buffer 一体展示
  (账号列表 + 密码输入 + 新建账号,视觉连贯无断层)
- 账号管理 AccountStore(PBKDF2-HMAC-SHA256 + 随机盐)
- 切换账号 _switch_account / 启动时 last_user 预选
- view_history / resume_session 刷新循环 + 清屏 + 诊断
- .gitignore 重写:新增 .passwords/.DS_Store/*.pyc 等模式
- 模块/函数/方法全部中文 docstring + type hint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant