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
* fix(chat): prune deleted knowledge base references from sessions
* style(chat): drop the unrelated reformat from the KB-pruning change
ChatMessages.tsx arrived with ~50 lines of prettier output that the fix
does not need: `.map()` arrow bodies unwrapped for bookReferences,
notebookReferences, historyReferences and memoryReferences, plus a union
type joined onto one line. `dev` does not follow prettier for this file
(`prettier --check` flags it on `dev` too), and CI gates neither prettier
nor tsc for web, so the churn would have landed silently.
Restore those hunks and keep only what threads `availableKbNames`
through: the two prop declarations, the two destructures, the pass-down,
and the `.filter()` in front of the knowledge-base context items. The
remaining reindent inside that `.map()` is intrinsic to inserting the
filter ahead of it.
---------
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
Maintenance release on top of v1.5.5, finishing the Codex sign-in it
shipped and adding a connected knowledge engine.
- Tencent IMA joins as a connected knowledge engine: a KB bound to `ima`
is a connection pointer, not an index, following the lightrag-server
shape. Documents are added in IMA and retrieval calls IMA's OpenAPI;
credentials (client_id + api_key) and the library id live per-KB, so
each user on a shared deployment retrieves through their own account.
- The activity panel splits what a conversation produced from what you
uploaded: generated files get their own card above attachments, with a
size and a hover title derived from the artifact URL, so no absolute
server path is persisted or sent to the browser.
- Remote Codex OAuth completes (#716): the loopback listener stays
private while the exact callback path is forwarded through the Web
origin to a state-validating broker, with the real callback address,
the SSH tunnel command, an authorize action, and a reload-surviving
countdown surfaced in the settings card and CLI.
- That callback is delivered by OAuth state rather than the request's
user, since the browser arrives through the user's own tunnel with no
session cookie -- without it remote sign-in returned login_not_active
for every non-administrator. Partner scopes resolve Codex credentials
to the owner's root (#713) instead of the partner's synthetic
workspace.
- parse_language() no longer collapses every non-English language to
Chinese (#712), which is why a Japanese book came back with Chinese
quizzes; prompt fallbacks now try [code, base locale, "en"].
- Assorted: book creation and block regeneration run over WebSocket to
dodge proxy timeouts with non-streaming spine synthesis (#707, routed
through the agent seam so image attachments, trace metadata, and
per-agent routing survive), deeptutor start installs web/node_modules
when missing (#710), admin user management is localized (#718), and
the service lazy loader uses literal import paths (#717).
README prose, the ten translated READMEs, release notes, and the version
bump ride along in this commit.
Files the tutor produces were only reachable through the one assistant
bubble that made them, so finding a deck or spreadsheet again meant
scrolling the transcript. The activity panel already folded every
message's attachments into one list but ignored the `generated` flag that
distinguishes output from upload, lumping both into "Attachments".
Split them: generated files get their own card, above uploads, since what
a conversation produced is what you come back for. Rows reuse the
existing open-in-viewer path, and show a size plus a hover title with the
file's location under the data root — derived from the artifact URL, so no
absolute server path is persisted or sent to the browser.
Two gaps behind "I can't find the file" are fixed with it:
- A generated .pptx routed to the preview drawer's `office-text` branch,
which renders `extracted_text` — a field only the upload path filled
in, so produced decks opened blank. Artifacts now get preview text
extracted while the file is still on disk, bounded to 20k chars and
limited to formats the browser cannot render itself. The cancelled-turn
path deliberately skips it rather than starting blocking work while
unwinding.
- Path resolution goes through `is_public_output_path`, the same guard
`/api/outputs` applies, so a crafted URL cannot walk out of the public
workspace.
The artifact→attachment mapping moves out of `turn_runtime` into its own
module, and the panel's 90-line message fold moves to `lib/session-activity`
— it is pure data reduction with no React in it, which leaves the panel
presentational and the fold directly testable.