22 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
0fd8dc8384 Merge PR #1953: source-bound assessment with portable lexical page lookup 2026-10-19 00:43:33 +08:00
Bingxi Zhao (Frank)
8e67802b11 fix(mineru): include CLI worker dependencies and update parser test seam 2026-10-19 00:32:54 +08:00
Mohammad Hijjawi
13ac7b5df6 fix: install tzdata so named timezones resolve on Windows
Windows has no system IANA database, so zoneinfo needs the tzdata
package. Without it ZoneInfo("UTC") raises ZoneInfoNotFoundError on a
fresh install, and /api/settings/usage answers 400 "Invalid timezone"
for every browser timezone, which leaves the Usage statistics panel on
"Unable to load usage statistics." Practice review scheduling,
practice analytics and timezone-aware cron schedules fail the same way.

Declare tzdata on every install surface (root package, deeptutor-cli
package, requirements/cli.txt) and guard it in the packaging metadata
tests.

Closes #1907
2026-10-15 14:06:27 +01:00
Bingxi Zhao (Frank)
7885daa98a feat(plugins): add reviewed managed lifecycle and revocable runtime gates (#1307)
Adapt the Phase 1 foundation from PR #1309 and complete scoped API lifecycle, pre-import approval, artifact-bound revocation, recovery, bounded workers and frontend isolation. Keep the stronger ecosystem roadmap explicit in the RFC.

Co-authored-by: XZH <cto@xzh.ai>
2026-10-08 08:50:05 +08:00
Bingxi Zhao (Frank)
5e7be659a2 Preserve retrieved source visuals for vision answers 2026-09-27 10:57:00 +08:00
Bingxi Zhao (Frank)
8c212f61b7 fix(packaging): include QR renderer in CLI distribution 2026-09-23 10:42:02 +08:00
Bingxi Zhao (Frank)
02ba56793e chore: checkpoint backend stabilization workspace 2026-09-01 21:28:15 +08:00
Bingxi Zhao (Frank)
3dc372f551 release: v1.6.2 — immersive watching and extensible visualizers
Add synchronized YouTube learning, a plugin-driven visualizer catalog, and Hermes, OpenClaw, and DeepSeek agent harnesses. Refresh Reading, Knowledge, Partner status, guided updates, documentation, translations, and release notes for v1.6.2.
2026-08-31 01:13:07 +08:00
Bingxi Zhao (Frank)
d790419548 Merge remote-tracking branch 'origin/dev' into dev 2026-08-29 19:14:40 +08:00
Codex
6d02ff9299 Replace RAG-Anything with native LightRAG pipeline 2026-08-28 15:04:14 +00:00
Bingxi Zhao (Frank)
97a4d0eeef feat(reading): add immersive reading workspace 2026-08-28 14:58:48 +08:00
WeiNing-sara
8333c0b562 fix(cli): declare missing standalone runtime dependencies (#954)
* fix(cli): declare standalone runtime dependencies

* style: satisfy ruff format in the packaging metadata test

`ruff format --check .` is a CI gate and wanted the `open("rb")` call on one
line (99 chars). This was the only red check; every test job passed.

---------

Co-authored-by: Frank <bingxizhao@novix.science>
2026-08-24 16:51:31 +08:00
Bukely_
07abbd7326 feat(pageindex): add OSS knowledge bases and reasoning-based retrieval (#907)
Adds PageIndex OSS as a knowledge-base type and moves PageIndex retrieval from traditional RAG to reasoning-based retrieval: a small workflow-owned agent loop reads the document tree instead of going through the built-in MCP server, which this removes.
2026-08-20 00:35:15 +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)
ea63482f77 fix: remove obsolete Typer extra (#817) 2026-08-12 16:11:25 +08:00
GMyhf
0021c4d207 fix: make prompt loading and capability failures terminal (#738)
* fix: make prompt loading and capability failures terminal

* fix: handle remote knowledge base file listings

* fix: proxy uploads to LightRAG servers

* fix: show remote LightRAG document status

* fix: clarify knowledge upload confirmation

* fix(knowledge): hide reindex for connected bases

* refactor: narrow this branch to the prompt-resource fix

Split out of the original PR so #737's two halves land separately:

- The terminal-failure change to runtime/orchestrator.py is already on dev
  via #732, which shipped the same turn_terminal/status metadata. Dropped
  here rather than merged twice.
- The LightRAG Server upload forwarding and remote document listing belong
  to #755, not #737. Preserved on origin/keep/738-lightrag-server for a
  follow-up PR against that issue.
- Dropped the third prompt fallback that read the adjacent YAML with
  pathlib+yaml directly. With the cache no longer poisoned by a miss,
  reload_prompts() recovers on its own, and PromptManager stays the only
  thing that knows how to locate a prompt file.

---------

Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-08-06 22:20:11 +08:00
Bingxi Zhao (Frank)
cba24e9271 fix(packaging): cap requires-python below 3.14 (#664)
On Python 3.14 pip finds no wheels for some compiled base deps (e.g.
faiss-cpu) and silently backtracks into a source build that dies with
subprocess-exited-with-error. The heavy RAG extras already carry a
python_version < '3.14' marker; capping requires-python makes pip refuse
3.14 with a readable message instead of a build failure.
2026-07-24 00:42:28 +08:00
Bingxi Zhao (Frank)
eef785ae1e integrate lightrag-server & other fixes. 2026-06-24 15:54:12 +08:00
Bingxi Zhao (Frank)
2c1b8e56b2 release(1.4.0-beta): docs, version bump, CLI init wizard, packaging
- __version__.py bumped to 1.4.0-beta; pyproject.toml adds the
  ``deeptutor`` package-data globs so prompt YAMLs / capability
  prompts / Markdown templates ship in the PyPI wheel.
- New assets/releases/ver1-4-0-beta.md covers Auto Mode, Memory v2,
  agentic-engine rewrite, chat + LlamaIndex RAG refactor, new chat
  tools, Visualize+Animator merge, settings split, capabilities
  unification, multi-user / Zulip fixes, env/launcher rewrite.
- README.md adds the v1.4.0-beta entry at the top of the release
  notes; v1.3.0 rolls into the collapsed past-releases block.
- deeptutor_cli gains init_wizard.py (interactive provider menu,
  env-var auto-detect, live model-list fetch with curated fallback,
  optional connectivity probe) and a shared _tool_result helper;
  chat / common / config_cmd / init_cmd / provider_cmd updated to
  match.
- Removed legacy scripts/ helpers (_cli_kit, audit_prompts,
  check_install, generate_roster, migrate_kb, migrate_user_data,
  sync_prompts_from_en, test_embedding, test_llm_api) -- replaced by
  CLI subcommands or no longer relevant.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 18:08:50 +08:00
Bingxi Zhao (Frank)
1596807242 refactor chat capability & RAG pipeline(llamaindex) 2026-05-13 21:36:07 +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