The upstream fix already shipped in v1.7.2 (manifest drops docling's
format-video extra, keeping docling[xbrl] and
docling-slim[format-iwork,format-opendocument]). Extend the #2327
regression test to the resolved source-extras plan that
scripts/install_extras.py feeds to pip in the official image, so
re-adding format-video / resemblyzer / webrtcvad anywhere in the
parser-docling module graph (including the shared parsing module)
fails before it breaks the no-gcc container.
Persist and restore token expiry across runtime restarts. Discover the
protected resource and bound authorization server before refreshing saved
grants, preserve issuer bindings, and retain SDK discovery fallbacks.
Require MCP 1.30 in module and packaging metadata, and update the existing
dependency-floor assertion.
Co-Authored-By: GPT-6.1 Sol High
Twenty tests read repository files (pyproject.toml, SKILL.md, prompt
YAML/Markdown, requirements) or a UTF-8 backup with a bare read_text(),
which decodes with the locale. On a Chinese-locale Windows machine
(cp936) every one of them fails with UnicodeDecodeError before asserting
anything, so the suite cannot be run there to check Windows behaviour.
Pass encoding="utf-8", as the product code reading the same files does.
No assertion changes.
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
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>
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
* 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>
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.
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