Commit Graph

59 Commits

Author SHA1 Message Date
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
Bingxi Zhao (Frank)
c4b96e74e5 ci: untrack .github from gitignore and add pypi-release/docs workflows
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>
2026-05-21 23:55:45 +08:00
Bingxi Zhao (Frank)
3d5c3a1eb5 improve chat 2026-05-12 02:20:30 +08:00
Bingxi Zhao (Frank)
85779c846b refactor env settings and installation 2026-05-11 12:59:56 +08:00
Bingxi Zhao (Frank)
0b059858c2 fix lint 2026-05-01 01:45:27 +08:00
Bingxi Zhao (Frank)
824bf778df fix: lint & logging system 2026-05-01 01:39:08 +08:00
Bingxi Zhao (Frank)
2f6ac5aa80 release: v1.2.2 — Skills system, input perf, response_format auto-fallback, version badge
- User-authored Skills system (CRUD backend + REST API + chat composer integration)
- Chat input performance overhaul: ComposerInput / SimpleComposerInput state colocation
- response_format auto-fallback & runtime cache for incompatible providers
- LAN remote access fix (resolveBase hostname swap)
- Sidebar version badge with GitHub release comparison + GitHub icon link
- Deep Solve image attachment support via unified Attachment pipeline
- Agentic chat pipeline attachment passthrough in responding + acting stages
- TutorBot WebSocket auto-start, _safe_send, graceful disconnect
- Settings page API key masking with Eye/EyeOff toggle
- Book Library UI with search, status cards, and simplified BookSidebar
- Visualization fullscreen mode for SVG/Mermaid/ChartJS
- Embedding ConnectError retry, RAG None-embedding hardening
- KB delete robustness for orphaned config entries
- CLI parse_json_object whitespace normalization
- answer_now response_format guard
- New tests: TutorBot WS, CLI helpers, route-params, api-resolve-base
- Release notes (ver1-2-2.md) and README update

Made-with: Cursor
2026-04-22 20:45:51 +08:00
Bingxi Zhao (Frank)
b7307e999f fix test 2026-04-20 20:12:33 +08:00
Bingxi Zhao (Frank)
12b615c620 fix: smoke test 2026-04-20 20:08:26 +08:00
Bingxi Zhao (Frank)
9f79945788 fix(ci): create minimal main.yaml for smoke tests
The smoke test job fails because router modules load main.yaml at
import time, but CI has no data/user/settings directory. Add a setup
step that writes a minimal config so pytest collection succeeds.

Made-with: Cursor
2026-04-07 11:18:30 +08:00
Bingxi Zhao (Frank)
2d7024bab2 fix: python version 2026-04-07 11:03:50 +08:00
zzhtx258
26a82e77d3 update 2026-03-29 12:45:37 +08:00
Bingxi Zhao (Frank)
9bd7d5fba7 update readme 2026-03-24 21:07:49 +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
Scarlet Moore
6224e93092 Feature/llm hardening core slim (#52)
* Core LLM hardening (slim): essential fixes and tests only

* Add Anthropic and Local provider implementations
2026-01-29 14:08:39 +11:00
Pancake
0d860a2d12 fix: lint 2026-01-23 01:42:25 +08:00
Pancake
51b2f68d3f fix:docker 2026-01-23 00:02:38 +08:00
Pancake
543b507395 feat: add document incrementally 2026-01-22 23:54:45 +08:00
Bingxi Zhao
b607568633 fix 2026-01-18 17:24:49 +08:00
Bingxi Zhao
0a96e701ec fix docker & KB init 2026-01-18 17:20:35 +08:00
Bingxi Zhao
eec9981de6 doc: update 2026-01-18 15:47:21 +08:00
Bingxi Zhao
1e9cc6b26d fix: KB init & migrate, code structure 2026-01-18 15:30:28 +08:00
Bingxi Zhao
c1752f0512 fix: rag-provider 2026-01-18 13:52:29 +08:00
Bingxi Zhao
b3f511d45f feat: enhance RAG pipeline with Docling support and improve CI/CD workflows 2026-01-18 12:25:45 +08:00
Bingxi Zhao
5a546b53f6 feat: enhance RAG pipeline with Docling support and improve CI/CD workflows 2026-01-18 12:25:45 +08:00
Bingxi Zhao
fb94bc2ec3 fix lint 2026-01-15 03:34:36 +08:00
Bingxi Zhao
16bc0f4656 ver0.5.0-dev 2026-01-15 02:49:17 +08:00
Scarlet Moore
a0433d784e Feature/pre commit ci (#37)
* feat: add comprehensive pre-commit CI hooks

- Add safety for dependency vulnerability scanning
- Add bandit for Python security linting with appropriate skips
- Add interrogate for docstring coverage checking (60% threshold)
- Add mypy for type checking with permissive CI configuration
- Update requirements.txt with safety and bandit dependencies
- Configure all tools for CI compatibility (non-blocking for initial setup)

* security: add hardening measures based on upstream issues

- Add .gitattributes rules to force LF line endings for critical files (fixes CRLF security issues)
- Enhance document validator with MIME type validation and stricter PDF size limits
- Fix subprocess security issues by adding shell=False to prevent command injection
- Add resource exhaustion protection with separate PDF size limits (50MB vs 100MB general limit)

Addresses upstream issues:
- #97: Cross-platform deployment failures due to CRLF line endings
- #31: Large PDF processing failures and resource exhaustion
- Security hardening for subprocess calls to prevent injection attacks

* docs: streamline contribution process and pre-commit checks

- Update and format CONTRIBUTING.md for clarity

- Simplify pull request template

- Adjust pre-commit config to be more lenient locally

* chore: update .gitignore, .secrets.baseline, pyproject.toml, and requirements.txt for improved configuration and dependency management
2026-01-14 13:57:18 +11:00
Pancake
dfd8254861 fix lint 2026-01-09 14:30:28 +08:00
Pancake
f7abd153ef Add sync branch 2026-01-09 14:25:20 +08:00
Bingxi Zhao
84509677f5 fix: docker deployment 2026-01-09 09:44:51 +08:00
Bingxi Zhao
b6600ab32c fix & update docs 2026-01-09 01:34:36 +08:00
Pancake
efc2007911 Apply local configuration and UI enhancements after dev merge 2026-01-09 00:43:52 +08:00
Pancake
3cffa02b40 fix(ci): free disk space before Docker build to prevent out-of-space error 2026-01-06 16:59:14 +08:00
Pancake
ad27643878 fix docker 2026-01-06 12:18:28 +08:00
ahmedjawedaj
4c5027379f fix(ci): Update import check to use rag_search instead of RAGTool 2026-01-06 00:53:53 +05:00
Bingxi Zhao
f852837efd update docs 2026-01-06 02:32:29 +08:00
Bingxi Zhao (Frank)
5300dedb12 Merge pull request #38 from HKUDS/dependabot/github_actions/actions/upload-pages-artifact-4
chore(deps): bump actions/upload-pages-artifact from 3 to 4
2026-01-06 02:08:43 +08:00
Bingxi Zhao (Frank)
02bce6c2e5 Merge pull request #40 from HKUDS/dependabot/github_actions/actions/configure-pages-5
chore(deps): bump actions/configure-pages from 4 to 5
2026-01-06 02:03:47 +08:00
dependabot[bot]
a9f4e2e08e chore(deps): bump actions/configure-pages from 4 to 5
Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 4 to 5.
- [Release notes](https://github.com/actions/configure-pages/releases)
- [Commits](https://github.com/actions/configure-pages/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/configure-pages
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 17:58:00 +00:00
dependabot[bot]
85f1e34a72 chore(deps): bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 17:57:58 +00:00