Continues #2978 and closes#2887. Includes the original Windows file actions, integrates the changes with dev, and adds an explicit default-app action.
Co-authored-by: Botong Wu <2048400180@qq.com>
* fix(migration): scope unreadable-journal rejection to migration paths
operations() skipped corrupted operation.json files, so
assert_no_pending_recovery() could not see their status and new
migrations could start while a recovery was still pending. The first
fix rejected unreadable journals in the shared precheck, which every
non-settings request runs - one corrupt file locked the whole app.
Unreadable journals now only fail migration-class callers
(migrate_data, export_data, move_kb, session adoption, and the router's
exclusive branches) via reject_unreadable=True, naming the full journal
path. Normal requests keep working. operations() lists unreadable
journals as status="unreadable" so Settings -> Data migration shows
them, and recover_operation quarantines an unreadable journal
(operation.json.corrupt) instead of crashing, which clears the blockage
while keeping snapshots for inspection.
* fix(workspace): surface skipped corrupt sources in migration dependency closure
Corrupt book manifests, feature documents, and message metadata were
silently skipped while computing the migration dependency closure, so
moved workspaces could silently miss sessions and references. Each skip
now logs a warning (path or session id only) and is returned to callers
via the optional warnings list, which migration preview exposes as a
warnings field. Skip/closure behavior itself is unchanged.
* fix(migration): point the unreadable-journal error at the Recover action
* test(codebuddy): make credential fixture expiry relative to now
test_load_credentials_parses_session wrote a hard-coded expiresAt of
1791055241000 (2026-10-03 15:40:41 UTC) and asserted is_expired() is
False. Once that instant passed the assertion flipped, so the test now
fails on every Python version for every branch.
Derive expiresAt / refreshExpiresAt from time.time() so the fixture
always describes a live session, and assert against the value written.
---------
Co-authored-by: XZH <cto@xzh.ai>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
Ship folder-based workspaces and data migration, daily practice, redesigned
provider and model settings, and streaming conversation improvements.
Synchronize README translations and document the archive/permanent-delete
upgrade behavior in assets/releases/ver1-6-9.md.
Reduce initial JavaScript by deduplicating English resources and loading
animation features after hydration. Keep the existing route size budgets.
Update regression fixtures and browser audits for scoped URLs and the new
settings and learning interfaces.
A partner web chat runs as a synthetic user, so ``workspace_present``
writes its manifest under ``data/partners/<id>/workspace``. The download
route resolved the item against the caller's own bindings only,
``binding_by_id`` refused a workspace no human account has registered,
and the attachment the transcript was still offering 404'd on click
(#1267).
``/files/outputs`` already reaches into the caller's visible partner
workspaces for the same reason (#1012); this is the other artifact URL
shape and it had been left behind. Reading the two routers side by side
was what showed the asymmetry.
The two differ in one respect, and deliberately: an output is addressed
by a relative path that several partners could each hold, so that
endpoint serves only a unique match. A workspace id is derived from the
owning user id together with the physical root and re-derived before a
stored row is trusted, so a hit inside a partner scope is that
partner's by construction and the first one is the answer.
The reported issue named three further causes — an unmounted router and
two rejected path shapes. None of them hold: both routers are mounted,
and the partner output fallback has been there since #1012.
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