Commit Graph

100 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
6403fe13a1 fix(desktop): sign bundled native code before notarization 2026-10-31 11:30:12 +08:00
Bingxi Zhao (Frank)
827df1adf7 ci(desktop): retrieve Apple notarization rejection reports 2026-10-31 11:24:42 +08:00
Bingxi Zhao (Frank)
bb093359a1 ci(desktop): validate configured signing on dev without publishing 2026-10-30 22:02:54 +08:00
Bingxi Zhao (Frank)
ebbda6e321 test(desktop): verify Windows installer lifecycle and preserve user files 2026-10-30 07:23:57 +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)
7513ec10f5 Merge pull request #2113 into validated PR integration 2026-10-29 00:56:10 +08:00
Bingxi Zhao (Frank)
9189c08501 chore: remove development artifacts and obsolete preview 2026-10-29 00:23:53 +08:00
Bingxi Zhao (Frank)
6fab5deb89 ci: bootstrap new PyPI modules with refreshed OIDC credentials 2026-10-28 22:41:28 +08:00
Bingxi Zhao (Frank)
78ffdc0478 ci: allow resuming a partial PyPI release 2026-10-28 22:26:17 +08:00
sriv144
381e89580c Add isolated native memory snapshot evaluation 2026-10-28 15:17:39 +05:30
Bingxi Zhao (Frank)
fbab59acbf feat: modularize installation and enforce feature dependency boundaries 2026-10-28 01:02:29 +08:00
Bingxi Zhao (Frank)
e38a1f63a1 fix(video-lesson): isolate rendering without requiring Docker 2026-10-27 03:43:53 +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)
9470720a00 fix(ci): validate preview on supported Linux runners 2026-10-27 01:39:54 +08:00
Bingxi Zhao (Frank)
6bbcc00c55 Merge dev into preview, preserving preview features
Integrate dev fixes with preview's Python/TypeScript schedulers, chat queue, learning navigation, and live turn persistence.
2026-10-27 01:16:58 +08:00
Bingxi Zhao (Frank)
c812cbffd5 test(parsing): verify MinerU process cleanup on Windows (#1903) 2026-10-19 03:29:21 +08:00
Bingxi Zhao (Frank)
1497994c9f Merge PR #1938: bound tutoring history and retain exact recall when condensation fails 2026-10-19 00:57:48 +08:00
Bingxi Zhao (Frank)
59cdd81170 Merge PR #1943: preserve grouped questions through reviewed outline revisions 2026-10-19 00:40:44 +08:00
Bingxi Zhao (Frank)
61719b18de Merge PR #1952: verify teaching delivery alongside durable feedback 2026-10-19 00:36:32 +08:00
Bingxi Zhao (Frank)
399297e7f0 feat: preserve TypeScript engine migration and workspace updates 2026-10-18 23:09:10 +08:00
Renn F
dbd270cfdb feat(api): add opt-in fastapi-guard request screening
Add an off-by-default `security_guard` setting (system.json, with
DEEPTUTOR_GUARD_* deployment overrides) that mounts fastapi-guard's
pure-ASGI middleware in front of the routers: per-address rate limit,
IP allow/deny lists, ban list and an attack-pattern scan of path, query
and headers. Request bodies, WebSocket handshakes, Redis, CORS and
security headers are left alone.

The guard is added before the access-log and CORS middlewares so CORS
stays outermost and 429/403 responses carry CORS headers. When disabled
the package is never imported. When enabled without the package the
backend fails at startup with an install hint. fastapi-guard ships as
the optional `guard` extra (requirements/guard.txt, DEEPTUTOR_EXTRAS).
2026-10-16 16:24:52 +02:00
yepyhun
6532c8c2a7 fix(mastery): resume pending cards and guard Markdown assessments 2026-10-13 10:18:07 +02:00
yepyhun
91b66077c3 docs: record routed memory accounting regression evidence 2026-10-13 09:11:28 +02:00
yepyhun
cc079776c4 fix(mastery): bind teaching records to visible delivered explanation 2026-10-13 08:29:46 +02:00
Bingxi Zhao (Frank)
a7df6ca65d chore(github): put the base branch where the PR author is looking
CONTRIBUTING.md has said 'do not submit PRs directly to main' since it
was written, and says 'when in doubt, target dev'. Twenty-one open PRs
were still sitting on main, some of them a year old, because GitHub
preselects the default branch in the PR form and nobody reads a
CONTRIBUTING link while filling one in.

The default branch stays main, so the reminder has to be at the moment
of creation instead: the composer comment, which is on screen right
below the base selector, and a checklist item so a reviewer can see it
was skipped. All twenty-one have been retargeted.
2026-09-11 12:43:41 +08:00
NoxsMedia
de483d6554 chore(lightrag): upgrade native SDK to 1.5.7 2026-09-06 15:02:43 +00: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
evan188199-tech
fdd4048799 fix(ci): restore dev release checks (#1201)
Co-authored-by: XZH <cto@xzh.ai>
2026-09-03 14:48:24 +08:00
Bingxi Zhao (Frank)
93df3d48b7 release: v1.6.4
Ship lighter isolated runtimes, richer Books and Mastery flows,
Reading/session polish, and explicit model API capabilities.

Release notes: assets/releases/ver1-6-4.md
2026-09-03 01:38:54 +08:00
Bingxi Zhao (Frank)
fc39543bc0 feat: integrate frontend backend and canonical routes 2026-09-01 22:24:29 +08:00
Bingxi Zhao (Frank)
02ba56793e chore: checkpoint backend stabilization workspace 2026-09-01 21:28:15 +08:00
Bingxi Zhao (Frank)
23a5e0601d chore(web): enforce v2 frontend release gates 2026-09-01 21:18:47 +08:00
Bingxi Zhao (Frank)
e1ca8f65dc test(web): verify turn UX across four workers 2026-09-01 20:23:05 +08:00
Bingxi Zhao (Frank)
a36e902c38 feat(web): generate typed backend contracts 2026-09-01 17:06:01 +08:00
Bingxi Zhao (Frank)
e56cc8464c test(web): add rendered component test harness 2026-09-01 16:18:33 +08:00
Bingxi Zhao (Frank)
9804015ab1 chore(web): make frontend checks deterministic 2026-09-01 16:01:31 +08:00
Codex
54817e3149 Test optional LightRAG SDK in Python 3.12 CI 2026-08-28 23:18:46 +00:00
Bingxi Zhao (Frank)
48c39084cf fix(ci): validate release tags and protect latest 2026-08-26 02:26:58 +08:00
XZH
8c70283278 ci: ignore non-version release tags 2026-08-26 02:26:57 +08:00
Bingxi Zhao (Frank)
38b056fced ci: run eslint on the frontend
The web job ran the node tests but never linted, so #921 merged with two real
React violations in it — a predicate named like a hook, which tripped
rules-of-hooks, and a synchronous setState inside an effect. Both were invisible
to every gate the repo had.

Errors only: `npx eslint .` exits 0 on the 79 warnings the tree still carries
(i18n literals, next/image suggestions), so this starts catching the class of
bug that just slipped through without demanding an unrelated cleanup first.
2026-08-20 01:46:19 +08:00
Bingxi Zhao (Frank)
96d6df9eb1 release: v1.5.13
Book is the bulk of this one. Compilation outlives the request that
started it, so a bus owned by that request dropped every background event
and "watch your book being written" degraded into a frozen page; the
stream is now owned per book by the process and survives a refresh or a
reconnect. Reading progress is finally recorded — `visited_page_ids` and
`bookmarked_page_ids` had been declared but never written for the life of
the feature — and rolls up into a completion score and weak chapters. A
book can also leave the app now, as one self-contained Markdown document,
with non-ASCII titles surviving the download.

Two scheduling defects that were invisible in production are fixed: the
same page compiled twice concurrently (billed twice, one result
discarded), and a book grinding on through a provider outage until every
chapter was half-generated. The source sweep is bounded and allocated
round-robin rather than spent on the first few knowledge bases, and
retrieval now tells indexed bases from connected pointers, so an Obsidian
vault or a remote IMA library no longer contributes zero while looking
like a source with nothing relevant. Confirming a spine shows a live
per-chapter estimate derived from the Section Architect's own templates.

Also here: three home starter suggestions built from memory recall,
mastery-path handoff moved into one module that changes lease, session
preference, and live turn together, and account-level Tencent IMA
credentials with the per-KB pair still winning.

Notes: assets/releases/ver1-5-13.md

This commit also carries the README prose sync, the eleven translated
READMEs, the release-notes archive sweep, and the version bump. Two gate
fixes ride along: the `Stamped` protocol is declared read-only so the
frozen `EntityStamp` satisfies it, and six GraphRAG adapter tests that
reached a deep `graphrag` import without guarding it now skip like their
four neighbours instead of failing where the extra is not installed.
2026-08-17 11:22:26 +08:00
Bingxi Zhao
0c51fe0c6b test: restore CI baseline contracts (#878)
Restore Ruff formatting, whitespace-tolerant source contracts, and a deterministic CI model catalog.
2026-08-16 22:39:47 +08:00
evan188199-tech
920ebc830b chore(web): stop tracking Next build output and enforce repo hygiene (#865)
* chore: keep Next build output out of Git

* chore: enforce repository hygiene in CI

* chore: enforce clean primary workspaces

* chore: block accidental main commits

* fix: make repository hygiene hook fail fast

---------

Co-authored-by: XZH <cto@xzh.ai>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-08-16 19:12:24 +08:00
Kobi Hikri
e0d840df48 ci(docker): attach provenance and SBOM attestations to the released image (#722)
BuildKit now attaches a provenance record and an SBOM to the multi-platform
manifest pushed to GHCR, so a pulled image can be traced back to this
workflow and its contents inspected without running the container:

    docker buildx imagetools inspect ghcr.io/hkuds/deeptutor:<tag> --format '{{ json .SBOM }}'

No permissions change is needed — these ride the existing GHCR login;
id-token is only required for keyless signing. The Dockerfile declares no
build args, so provenance mode=max records nothing sensitive.
2026-07-29 17:34:27 +08:00
Bingxi Zhao (Frank)
5b2a0226c2 ci(lint): pin ruff to 0.16.0 and format office SKILL.md code blocks
CI installed ruff unpinned; 0.16.0 promoted markdown code-block formatting out
of preview, so `ruff format --check .` began flagging the Python snippets in the
docx/pdf/pptx/xlsx skill docs — code that had not changed since v1.5.3 (its green
CI predated the ruff bump).

Pin the CI ruff to 0.16.0 (matching local dev) so the gate can't drift on an
unpinned upstream release, and reformat the four SKILL.md code blocks — pure
layout only (split compound statements, normalize inline-comment spacing, blank
line after imports) — so the gate is green again.
2026-07-24 16:29:30 +08:00
Bingxi Zhao (Frank)
1bf11d13e7 prepare 1.4.7 2026-06-18 00:22:48 +08:00
Bingxi Zhao (Frank)
46093e5e2b update msg 2026-06-11 20:03:34 +08:00
Bingxi Zhao (Frank)
ca7916bc57 fix: docs, docker deployment & official web 2026-05-22 20:19:32 +08:00
Bingxi Zhao (Frank)
4a1543e3c1 ci: drop docs.yml workflow
VitePress GitHub Pages deploy is not in use; remove the workflow added
alongside the pypi-release fix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 23:56:18 +08:00