29 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
923ca871f3 ci(desktop): require Intel Mac and complete release downloads 2026-11-06 16:11:59 +08:00
Bingxi Zhao (Frank)
ce4380f3e7 feat(desktop): add Intel Mac and Windows editions with platform builds 2026-10-30 07:20:55 +08:00
Bingxi Zhao (Frank)
a4fa63b6e2 feat(desktop): add Open DeepTutor for macOS under apps/desktop
Move the Electron macOS app into the main repository and ship it with every
DeepTutor release.

- apps/desktop: Electron shell that installs a signed bundled runtime and
  hosts the web UI; versioned with the bundled core.
- White app icon with the black DeepTutor mark, generated by
  scripts/make-icon.swift; redesigned start screen and title bar.
- Shell copy in en/zh/de/fr/pl/uk, starting in English and following the
  interface language and theme from DeepTutor Settings, including live changes.
- Web UI labels itself "Open DeepTutor MacOS v<version>" inside the app
  (user-agent marker) and "Open DeepTutor Web v<version>" in a browser.
- Sealing refuses a missing or mismatched signing key instead of silently
  generating a new one.
- desktop-release.yml builds, smoke-tests and attaches the DMG to each
  GitHub Release; Developer ID signing and notarization run when secrets exist.
- tests.yml runs the shell checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:20:15 +08:00
Bingxi Zhao (Frank)
1ea7df1554 docs: consolidate developer and agent handbook 2026-10-29 00:36:18 +08:00
Bingxi Zhao (Frank)
f9a687575f release: v1.7.0
Ship the modular installation profile, refreshed workspace, Learning notebook
with Dito, narrated video lessons, and tutoring/indexing reliability updates.

Synchronize the English README, all 11 translations, and installation guides;
archive older notes and prepare assets/releases/ver1-7-0.md. Include the
formatting fix for the architecture diagram generator reported by CI and
pin the update-cache test fixture so releases do not change its premise.
2026-10-28 22:12:36 +08:00
Bingxi Zhao (Frank)
a6389d7ee8 docs: align agent and manual setup with modular dev 2026-10-28 19:34:11 +08:00
Bingxi Zhao (Frank)
9237139fb8 fix(video-lesson): isolate render checks and clean up cancelled processes 2026-10-27 01:46:42 +08:00
Bingxi Zhao (Frank)
addb783d2f Merge preview and CI fixes into video lesson branch 2026-10-27 01:40:39 +08:00
Bingxi Zhao (Frank)
28c11e2ae8 feat: update notes, chat interactions and workspace UI on preview
Remove course pages, APIs and the course_study capability. Add anchored note
threads and reviewed learning-block generation, queued and withdrawable chat
messages, quote attachments, side chats, and the calendar/favorites/navigation
updates.

Keep preview's existing backend architecture. Wire the new features through
its Python application and existing chat engine, retain legacy selected-text
requests, persist mid-turn messages in replay, and restore note context when
regenerating. Leave stored user data intact.

Validate frontend contracts, dependency boundaries, types, 1290 node tests,
840 rendered tests, lint, localization and the production build. Exercise
session/notes/API regressions, 53 chat-engine tests and 20 Python/native
integration tests with isolated runtime data.
2026-10-26 22:13:34 +08:00
SeleiXi
26ac083be6 docs: list the video_lesson capability in AGENTS.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:58:03 +08:00
Bingxi Zhao (Frank)
8986c31580 feat(reading): complete Watching convergence with safe legacy migration (#1378)
Adapted the migration foundation from PR #1384 while preserving current workspace, caption and turn-admission safeguards.

Co-authored-by: XZH <cto@xzh.ai>
2026-10-08 02:48:50 +08:00
Bingxi Zhao (Frank)
dadb762744 Merge pull request #1360 from fetw882/feat/grok-cli-connector
feat: add Grok CLI subagent connector
2026-09-23 10:34:26 +08:00
lilzee
14d00f06d0 docs: sync AGENTS runtime architecture 2026-09-16 11:07:24 +08:00
fetw
6b428934fc feat: add Grok CLI subagent connector 2026-09-10 17:12:01 +08:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
Bingxi Zhao (Frank)
fc39543bc0 feat: integrate frontend backend and canonical routes 2026-09-01 22:24:29 +08:00
Souptik Chakraborty
1091a88fc4 fix: Install mcp by default so pageindex MCP connects (#852)
The `mcp` client was declared only under the `partners` extra, but the MCP
connection manager and the built-in PageIndex MCP server are core: the manager
overlays a reserved `pageindex` entry onto the config whenever a PageIndex API
key is set, on any turn. A plain `pip install deeptutor` therefore had no `mcp`,
so the connection task raised ModuleNotFoundError, never resolved the caller's
ready future, and every turn stalled for the full 15s connect timeout before
reporting the one cause that was not responsible: "connect timed out after 15s".

Declare `mcp>=1.26.0,<2.0.0` as a core dependency of both published
distributions and drop it from the `partners` extra, which now inherits it.
Mirror the move in requirements/ (cli.txt gains it, partners.txt inherits it
via server.txt).

Also import `mcp` inside `_run_server`'s guarded block rather than above it. At
function scope the import raised before anything could fail `ready`, which is
what turned a permanent, instantly-knowable error into a timeout plus an
orphaned "Task exception was never retrieved". Inside the block the real cause
reaches the caller immediately.

Closes #792
2026-08-16 19:07:59 +08:00
Bingxi Zhao (Frank)
7ed16cf48a update tests 2026-06-17 10:30:25 +08:00
Bingxi Zhao (Frank)
069ba53a00 docs:update readme 2026-06-14 00:53:57 +08:00
Bingxi Zhao (Frank)
46093e5e2b update msg 2026-06-11 20:03:34 +08:00
Bingxi Zhao (Frank)
6153d8c092 release: v1.4.0 — release notes, version bump, repo hygiene
- Add assets/releases/ver1-4-0.md covering deltas since v1.4.0-beta
  (reasoning_effort normalization, tool-schema fallback, restart-safe
  turn runtime, frontend placeholder hardening, CLI chat REPL config).
- Bump deeptutor/__version__ to 1.4.0.
- Update README Releases section: v1.4.0 at top, install opt-in note
  updated for stable.
- Fix pre-existing pre-commit failures so the v1.4.0 cut runs clean:
  bandit B324 (mark _sha1 as non-security), mypy no-redef in
  document.py / line_doc.py, mypy arg-type/assignment in
  snapshot/adapters.py, mypy assignment + arg-type in
  services/memory/settings.py, mypy func-returns-value on
  set.add idiom in deeptutor_cli/init_wizard.py.
- Apply ruff format / prettier sweep across the repo.
- Remove stale workspace + i18n env example + playwright captures
  already cleaned locally; ignore .playwright-cli/ going forward.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 21:09:22 +08:00
Bingxi Zhao (Frank)
85779c846b refactor env settings and installation 2026-05-11 12:59:56 +08:00
Bingxi Zhao (Frank)
7fce54d98a chore: prepare v1.3.0 release
Made-with: Cursor
2026-04-27 21:09:25 +08:00
Bingxi Zhao (Frank)
162a3f9dc4 fix: missing pip 2026-04-26 21:52:53 +08:00
Roman Barlos
0f6c81b732 feat(chat): regenerate last response (CLI, WebSocket, Web UI) (#349)
Rebased onto dev (post-#348) and resolved two UI conflicts (`web/app/(workspace)/chat/[[...sessionId]]/page.tsx` drops the now-dead `replaySnapshot` helper; `web/components/chat/home/ChatMessages.tsx` switches the last-assistant action button from the old `RotateCcw`/Retry to `RefreshCcw`/Regenerate). Smoke tests green (199 passed) and all required checks pass.

Merging: adds a `regenerate` capability wired through CLI (`/regenerate` · `/retry`), WebSocket (`type: "regenerate"`), and Web UI (per-message Regenerate button). Backend rolls back the trailing assistant via `SQLiteSessionStore.delete_message`, reuses `start_turn` through `_persist_user_message=False` / `_regenerate=True`, skips `memory_service.refresh_from_turn` on regeneration, and surfaces non-fatal `regenerate_busy` / `nothing_to_regenerate` errors. Also includes empty-response diagnostics in `_stage_responding`. 18 new tests.
2026-04-21 00:14:58 +08:00
Bingxi Zhao (Frank)
c15e22a4b3 chore: stable fix, add tutorbot 2026-03-20 20:27:17 +08:00
Bingxi Zhao (Frank)
f3779138ae fix: remove lightrag and unify llm & search config 2026-03-13 23:48:49 +08:00
Bingxi Zhao (Frank)
91197f3729 chore: deeptutor 2.0 2026-03-13 01:47:38 +08:00
Bingxi Zhao (Frank)
05f758e569 Selective merge eval branch: solve/question/personalization 2.0
Merge the three core module rewrites from eval branch while preserving
all existing dev features (chat, co_writer, guide, ideagen, research,
API, frontend, Docker, etc.).

Solve: Plan->ReAct->Write architecture (3 agents) with ToolRegistry
  for selective tool injection via YAML definitions.
Question: Idea->Evaluate->Generate->Validate four-stage closed loop
  with coding question type and validator rejection mechanism.
Personalization: Three ReAct agents (Reflection/Summary/Weakness) with
  TraceForest/TraceTree, event-driven integration with solve/question
  via EventBus (SOLVE_COMPLETE/QUESTION_COMPLETE) and MemoryReader.

Also includes: benchmark pipeline, start.py CLI, shared module
improvements (LLM client, RAG parsers, EventBus flush, etc.).

Made-with: Cursor
2026-03-09 16:49:27 +08:00