Add macOS and Windows download badges (light/dark SVGs) to the README
header, linking to releases/latest/download/<stable name>. The desktop
release workflow now also uploads copies of each installer without the
version in the file name, so those links always resolve to the newest
build once the next release is published.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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).
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
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
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.
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.
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.
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>
The .github entry in .gitignore silently excluded pypi-release.yml and
docs.yml from version control, so the PyPI publish workflow never reached
the default branch and didn't fire for release events.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>