Commit Graph

7 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
77f29cbcc7 fix lint 2026-04-23 19:29:16 +08:00
Bingxi Zhao (Frank)
cb7deebc78 fix: readme, kb-management, book management 2026-04-21 01:20:53 +08:00
Bingxi Zhao (Frank)
72a9dc9f3a Merge branch 'guide2.0' into dev: book capability + restructure
Resolved conflicts in:
- deeptutor/agents/notebook/summarize_agent.py
  Kept the YAML-driven record_hints lookup from dev (covers chat,
  co_writer, guided_learning, default), instead of the inline
  dict from guide2.0 which only had chat + co_writer.
- deeptutor/capabilities/visualize.py
  Kept dev's load_answer_now_prompts(...) path so the answer-now
  fast path stays prompt-externalised under
  deeptutor/agents/visualize/prompts/{en,zh}/answer_now.yaml.
- deeptutor/services/prompt/manager.py
  Merged the MODULES list: dropped 'guide' (deleted by guide2.0),
  added 'book' from guide2.0, and kept dev's 'notebook',
  'visualize', 'chat' modules.

Made-with: Cursor
2026-04-20 17:36:43 +08:00
Bingxi Zhao (Frank)
5f29b508e0 refactor(prompts): externalize answer_now/notebook prompts to YAML and tidy capability/UI configs
- Move inline LLM prompts out of capabilities/agents into versioned
  prompt YAMLs under each agent's prompts/{en,zh}/:
  - notebook: analysis_agent, summarize_agent
  - question/research/solve/visualize: answer_now
- Slim down capability modules (_answer_now, deep_question,
  deep_research, deep_solve, visualize) to load prompts via the
  prompt manager instead of hard-coding strings
- Update services/prompt/manager.py to support the new prompt paths
- Refresh web config panels (quiz, research, visualize, math-animator)
  and shared types to align with the new capability options
- Update Mermaid, ChatMessages, TracePanels and settings page,
  plus en/zh locales for the new copy

Made-with: Cursor
2026-04-20 17:34:33 +08:00
Bingxi Zhao (Frank)
2745e8bde9 feat(book): introduce book capability and restructure guide/co_writer modules
- Add new `deeptutor/book/` module with multi-agent pipeline
  (ideation, spine, page planner, source explorer, synthesizer)
  and rich block system (text, code, figure, quiz, flash cards,
  callout, deep dive, timeline, animation, concept graph, etc.)
- Add `/api/routers/book.py` and `deeptutor_cli/book.py` entry points
- Add web UI under `web/app/(workspace)/book/` with sidebar,
  chat panel, page reader, spine editor, progress timeline, and
  block renderers
- Move `deeptutor/agents/co_writer` -> `deeptutor/co_writer` and
  `deeptutor/agents/guide` -> `deeptutor/guide` (then remove guide
  entirely now superseded by book)
- Remove legacy guide UI, hooks, types, and API router
- Update visualize agents/prompts, notebook service, prompt manager,
  session turn runtime, and shared services to support new flows
- Refresh chat composer, sidebar, notebook selector, and locales

Made-with: Cursor
2026-04-20 00:33:33 +08:00
Bingxi Zhao (Frank)
8659d996f5 v1.0.3
Question Notebook with bookmarks & categories, Mermaid diagram support
in Visualize, embedding mismatch detection refinement, system message
merging for Qwen/vLLM, LM Studio & llama.cpp providers, Glass theme,
reporting agent retry resilience, and docs migration.

Made-with: Cursor
2026-04-13 03:18:26 +08:00
Bingxi Zhao (Frank)
df844b8216 feat: add visualize capability with Chart.js/SVG rendering pipeline
- Add visualize agent pipeline (analysis → code generation → review)
- Add VisualizeCapability with request config and registry wiring
- Add frontend VisualizeConfigPanel, VisualizationViewer components
- Add chart.js and react-chartjs-2 dependencies
- Improve math_animator YON_IMAGE anchor block prompts (en/zh)
- Add minimax model override (supports_response_format: false)
- Suppress noisy uvicorn WebSocket connection logs
- Add selective HTTP access logging middleware (non-200 only)

Made-with: Cursor
2026-04-10 20:09:36 +08:00