13 Commits

Author SHA1 Message Date
Qiu
506cea9d4f feat(desktop): finish Windows chat file actions (#3051)
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>
2026-11-28 13:09:15 -03:00
Bingxi Zhao (Frank)
ce4434e75a fix(workspaces): reuse knowledge references in selective conversation moves
Fixes #2289
2026-11-15 01:42:46 +08:00
Bingxi Zhao (Frank)
f50ab3afb0 Merge pull request #2050: inspect and clean generated files 2026-10-29 01:10:37 +08:00
Bingxi Zhao (Frank)
9269029699 Merge pull request #2086: server folder picker with all supported locales 2026-10-29 01:10:00 +08:00
Bingxi Zhao (Frank)
fbab59acbf feat: modularize installation and enforce feature dependency boundaries 2026-10-28 01:02:29 +08:00
yh wang
98d2bddb92 feat(workspace): add a server-side folder picker for project workspaces 2026-10-27 12:32:45 +08:00
0x-IHRR
38cf3979d3 feat: add Math Animator output paths and render-file cleanup 2026-10-26 00:50:41 +08:00
Bingxi Zhao (Frank)
3cbecb2479 feat(workspaces): add scoped instructions and refine learning UI 2026-10-12 19:29:47 +08:00
evan188199-tech
f94f9869a8 fix(workspace): surface unreadable migration journals and skipped corrupt sources (#1708)
* 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>
2026-10-07 20:37:16 +08:00
Bingxi Zhao (Frank)
b0385a315d feat(knowledge): choose storage and move individual bases 2026-09-27 11:04:33 +08:00
Bingxi Zhao (Frank)
da856ad670 release: v1.6.9
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.
2026-09-21 02:30:40 +08:00
Bingxi Zhao (Frank)
4afc7eccb6 fix(partners): let a partner's presented file download for the person who asked
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.
2026-09-08 02:46:12 +08:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
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
2026-09-06 13:46:29 +08:00