Commit Graph
1550 Commits
Author SHA1 Message Date
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.
v1.6.2
2026-08-31 01:13:07 +08:00
Bingxi Zhao (Frank)andCodex 52f3dccd52 docs(assets): refresh 29 README screenshots for v1.6.1
45 of 53 screenshots under assets/figs/web-1.4.6+/ were stale against
the current UI (see #1039) — mostly because the sidebar redesign
(arrangeable nav, More group, Mastery Path, Immersive Reading) shows
up in nearly every full-page capture. Recaptured 29 of them against a
clean, isolated v1.6.1 instance at 2x scale to match the existing
convention: the hero overview, the new Settings navigator, Knowledge
Center, Learning Space and its sub-pages, Memory, Extensions (MCP
Store / CLI Apps), Partners, My Agents, Book, Co-Writer, Reading, and
a few composer menu crops.

Remaining ~16 need either a configured LLM provider (book chapters,
chat responses, subagent and image-gen demos, Partner conversations,
a populated Mastery Path) or further interaction scripting (the model
picker, the capability picker) — left untouched rather than faked.

Co-Authored-By: Codex <noreply@openai.com>
2026-08-30 19:24:36 +08:00
Bingxi Zhao (Frank) 515c2efd74 fix(session): avoid persisting implicit empty workspace mode 2026-08-30 18:27:26 +08:00
Bingxi Zhao (Frank) 7d23ed8a28 merge: integrate video learning and WebVTT fixes
# Conflicts:
#	deeptutor/capabilities/registry.py
#	deeptutor/runtime/bootstrap/builtin_capabilities.py
#	deeptutor/services/session/turn_runtime.py
#	tests/core/test_capabilities_runtime.py
#	web/app/(workspace)/home/[[...sessionId]]/page.tsx
#	web/components/common/AssistantResponse.tsx
#	web/context/UnifiedChatContext.tsx
#	web/lib/settings-nav.ts
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-08-30 18:07:23 +08:00
Bingxi Zhao (Frank) 5228af9141 merge: integrate recent issue fixes
# Conflicts:
#	web/context/UnifiedChatContext.tsx
#	web/tests/reading-turn-state.test.ts
2026-08-30 17:49:11 +08:00
Bingxi Zhao (Frank) 511d32a21f merge: preserve pending app and workspace changes 2026-08-30 17:41:20 +08:00
Bingxi Zhao (Frank) f694f204a8 feat: add app updater and unify workspace chat flows 2026-08-30 17:40:47 +08:00
Bingxi Zhao (Frank) 64dff25792 style: format recent issue fixes 2026-08-30 16:42:43 +08:00
Bingxi Zhao (Frank) 364b9cf59c fix(video-learning): preserve multiline WebVTT cues (#1091) 2026-08-30 16:41:36 +08:00
Bingxi Zhao (Frank) da9492fbaf feat(parsing): integrate MinerU multi-format inputs (#1087) 2026-08-30 16:36:43 +08:00
Bingxi Zhao (Frank) 3f3bf0b841 feat(reading): render safe versioned web snapshots 2026-08-30 16:01:40 +08:00
XZH d5d381650f fix(reading): bind citations to turn materials and verified locators 2026-08-30 15:45:45 +08:00
XZH 89fba155bd docs(web): update overview screenshot 2026-08-30 15:44:11 +08:00
Bingxi Zhao (Frank) 8702997186 fix(web): ground KaTeX selections as LaTeX 2026-08-30 15:44:04 +08:00
XZH 7615e36bb8 fix(code-execution): preserve deliverable scope and retry discipline 2026-08-30 15:42:32 +08:00
Bingxi Zhao (Frank) d13f9a8992 docs: design MinerU multi-format parsing 2026-08-30 15:41:25 +08:00
Bingxi Zhao (Frank) ce7c2dc2dc release: v1.6.1 — one key, one navigator, one sidebar you arrange
Model configuration was one layer replicated seven times: every service
stored its own profile with its own credentials, so a single OpenRouter
key had to be pasted into five separate pages. This release splits that
in two — a **connection** holds one vendor credential and links it down
to every service that vendor can serve, and a **task model** takes the
calls nobody asks for (naming a conversation, writing the composer's
starting points) off the model picked for actual reasoning. Both are
opt-in; existing per-service profiles resolve exactly as before.

Around that: Settings drops the card grid for a persistent searchable
navigator whose landing page answers "what state am I in" instead of
repeating the directory; Mastery Path files study conversations under
their topic and opens them in the tutor rather than dropping them on
/home; the sidebar folds features into More and reorders by drag; the
reading companion is rebuilt from /home's own chat components; and the
LightRAG engine talks to the SDK directly, so its extra no longer drags
MinerU in transitively.

Also back-merges PR #1041 (Anthropic SDK 1.x temperature via extra_body)
and PR #741 (owner-only auth secret/token files), which had been merged
straight into main and never flowed back to dev.

Release notes: assets/releases/ver1-6-1.md
Gates: pre-commit 15/15, ruff clean, pytest 5802 passed, web 450 node
tests, eslint 0 errors, docs build clean.
v1.6.1
2026-08-30 13:19:42 +08:00
Bingxi Zhao (Frank) 0b0a5f93dc Merge origin/main into dev
Back-merge PR #1041 (Anthropic SDK 1.x temperature via extra_body) and
PR #741 (owner-only permissions for auth secret/token files), which were
merged directly into main and never flowed back to dev. Required so the
release cut can fast-forward main from dev.
2026-08-30 12:49:49 +08:00
Bingxi Zhao (Frank) 47c00260aa feat(mastery): group study conversations, and let the tutor suggest what to ask
The Mastery Path sidebar, composer and progress ring, in four changes.

Study conversations are filed under their topic. They were already ordinary
chat sessions carrying `mastery_path_id`, so the sidebar had everything it
needed and used none of it: they sat loose among the recents, and a click
opened them on /home, which drops the outline, the waypoint header and the
tutor's own composer. `lib/mastery-session.ts` answers both questions in one
place, because a sidebar that files a conversation under a heading and then
navigates somewhere else is worse than one that does neither. Grouped
conversations are exempt from the eight-row cut on recents: a heading that
says "4" while listing two of them is worse than a slightly longer list.

The composer placeholder is written by the task model. "Ask your tutor about
X" was the third appearance of that waypoint on screen and proposed nothing,
and a learner who is stuck is stuck on what to ask. So it offers one question
the tutor's last message did not already answer, and Tab takes it. It is a
question and never an answer -- on a mastery path the learner produces the
understanding, so anything not ending in a question mark is dropped. Nothing
waits on the call: the static placeholder stands until a hint arrives, and a
failure just leaves it standing.

`/topics/index` exists because the sidebar refreshes on every stream end and
`/topics` answers with each path's whole knowledge map and source excerpts.
It is declared above `/topics/{path_id}`, which matches any single segment.

The connected-agent and persona chips reach every surface sharing the
composer. StandaloneComposer already filtered subagents out of the knowledge
picker, commented "they are their own composer control" -- and then never
mounted that control, so a connected agent was unreachable from Mastery Path,
Immersive Reading and quiz follow-ups alike. Owning the split once lifts all
three, and keeps them on the same composer the chat page renders.

The progress ring stops competing with the card it sits on. A bare "7" is an
id or a step number, not a measurement; `--primary` is what buttons and links
are, and the card is itself one; and a 2.5px round cap at low percentages
reads as a stuck spinner. Ink hairline, a real unit, and `--primary` kept for
the one moment it means something.
2026-08-30 11:21:28 +08:00
Bingxi Zhao (Frank) d67fc1d515 fix(mastery): hand a topic's materials to the tutor that teaches it
A mastery topic's sources were consumed exactly once — to ground outline
generation — and then never seen again. Tutoring carried none of them, while
the tutor's own system prompt claimed to "teach from the learner's own
materials". Asked "can you see the materials I gave you?", the tutor answered
"I can see them!" and cited a framework it had only ever read in a module name.

Express topic materials in the vocabulary the chat runtime already speaks: an
Attached-Sources-style manifest plus a {source_id: full_text} index. Filling
those two values on a mastery turn is enough — ExploreContextCapability
activates on a non-empty source_index and runs its read_source investigation
before the tutor's first LLM call. No new tool, no new loop, no change to any
other capability.

Books are split per chapter: a whole book cannot be one tool result, and a
chapter is the unit one knowledge point needs. Knowledge bases are listed but
carry no id — they are searched with rag, not read. Materials that cannot be
loaded are listed as unavailable rather than dropped, because being able to
name what it does not have is what stops the tutor inventing it.

Verified on a live turn against a real book: the tutor now calls
read_source(bk-...-ch_...) and answers with the six real chapters; pointed at
an unreadable book it says so and offers the knowledge base instead.
2026-08-30 02:51:02 +08:00
Bingxi Zhao (Frank) 8070773747 fix(course): the recommendation is the answer, not a tool preamble
Course Study turns were ending on "I could not produce a useful response
from the model output", with the real recommendation sitting collapsed in
the trace above it — and, in one observed turn, written out three times.

The loop treats prose emitted alongside a tool call as a preamble: it is
streamed into the trace, and the answer is whatever a later tool-less
round says. That is right for tools that fetch something. It is wrong for
this playbook, which asks for the opposite shape — recommend the next
action, say why it is timely, then call `course_handoff`. The
recommendation and the call are one thought, and models write them in one
round. Dropped from the answer, the model had nothing new to add on the
next round, so it called `course_handoff` again until the budget ran out
and the turn finished empty.

The partner-group capability documents the same failure for
`invoke_other` and already carries the remedy: classify the tool round's
prose, then end the turn on it. Course Study now implements both hooks.

Two details worth keeping:

`_capability_answer_published` is deliberately not set. It means "the
learner has already seen this text, do not emit it again", which holds
for capabilities that buffer output behind a protocol. This mode buffers
nothing, so claiming it left the message body empty with the whole
recommendation hidden a click away — the original symptom, differently
caused.

A bare `course_handoff` with nothing said is left alone rather than
ending the turn: there is no answer to rescue, and the model still gets
its ordinary finish round to write one.

The flag was named `_partner_group_formal_answer_published` while living
in the generic loop, which now has a second caller; renamed to match what
it is.
2026-08-30 00:45:10 +08:00
Bingxi Zhao (Frank) 527e0b9ba7 Merge branch 'feat/course-container' into dev
Course becomes the container the other learning surfaces hang off, rather
than a dashboard that could only read them:

- the composer carries (and can change) which course a conversation
  belongs to, so Course Study is reachable without leaving chat
- a conversation inherits the course's mode, persona and knowledge bases
- course conventions reach every course-bound turn, in every mode
- Mastery Path and Immersive Reading read ?course=, scope to it, and
  attach what is built there
- hand-off refs are validated against the subsystem that owns them
- the sidebar groups conversations by course
2026-08-30 00:21:27 +08:00
Bingxi Zhao (Frank) 43c9fe7ea0 feat(course): make a course the container, not a dashboard
A course held the right model — the syllabus that gives progress a
denominator, resources as references, conventions apart from the
assistant's own notes — but almost nothing crossed the edges between it
and the surfaces it was supposed to contain.

Getting in. Course Study was offered in the composer's mode menu while
the only way to bind a course was a link on the course page, so choosing
it there produced a conversation identical to an inert one, and the mode
advised pressing a button that did not exist. The composer now carries
the binding next to the mode: shown whenever there is one, and offered
as an unfinished field in Course Study when there is not. `_course_id`
rides every turn, so detaching detaches and the pill can never drift
from what the turn actually saw.

What a conversation inherits. `default_capability` and `default_persona`
were stored, validated and returned by the API while changing nothing:
`_apply_course_defaults` only fills fields a payload *omits*, and this
composer always sent all of them. They are applied client-side now,
along with the course's knowledge bases, where the learner can watch the
mode and material become the course's before they type. The dialog grows
the editor they never had.

Conventions. "Every conversation in this course starts knowing these" was
true only if the model happened to call `course_overview`. They ride in
the per-turn summary now, and — because the promise is not scoped to one
mode — in the system prompt of any course-bound turn.

Coming back. Mastery Path and Immersive Reading now read `?course=`,
scope themselves to it, and attach whatever is built there; the tiles and
hand-offs pass it; the picker offers to start one. A course could only
ever reference what already existed, so filling a new one meant leaving,
building, and remembering to return.

Hand-offs. A target with no ref stored an opening line for an index that
never consumes it, which then surfaced weeks later in an unrelated path.
An unresolvable ref was passed straight through: observed live, a
syllabus unit id ("u2") sent as a mastery path, producing a card pointing
at a page that does not exist. Refs are checked against the subsystem
that owns them — existence, not membership, since a path built outside
this course routes perfectly well.

Also: the sidebar groups conversations by course, so filing them is
finally readable; a course-scoped notebook console no longer shows
another course's notes beside a list saying there are none (the clear
raced an in-flight detail fetch that landed after it); a hand-off the
model also printed as prose is not rendered twice; a provider error is no
longer stored as a conversation's permanent title; `/space/courses` goes,
having been an unreferenced copy of `/courses`; and the Visualize mode
description gets its missing Chinese.
2026-08-30 00:09:36 +08:00
Bingxi Zhao (Frank) a2f124a60d feat(settings): Models/Chat/Agents categories scroll in one page
Promotes the three multi-leaf settings categories (Models, Chat,
Partners & Agents) to a continuously-scrolling page each, Feishu-style:
the category itself becomes a top-level nav row and its leaves become
a collapsible sub-list whose links are same-page anchors instead of
separate routes, so switching between them scrolls instead of
remounting. The category root pages (models/chat/agents) now render
every leaf stacked via a new CategoryScroll component with rect-based
scrollspy (no IntersectionObserver, per prior findings that it does
not reliably fire in this app's render surfaces).
2026-08-29 23:44:15 +08:00
Bingxi Zhao (Frank) fc0be68d6f wip: course / partner groups in progress 2026-08-29 22:29:53 +08:00
Bingxi Zhao (Frank) f349d8fbd4 Merge branch 'dev' into claude/deeptutor-model-config-efe083 2026-08-29 21:52:46 +08:00
Bingxi Zhao (Frank) 5218e1da49 feat(settings): the task model is a service, configured like the LLM
Three things from a look at the new model pages.

The next section's rule was drawn on top of the cards: the grid and the
panels below it were siblings, so the container's spacing never applied
between them.

Cards that open now look like it — a chevron in the lower right that
shifts on hover, a border and tint that lift, a press that registers.
They read as panels that happened to be clickable, which is the same as
not clickable. Search cards draw no chevron, because they have no models
to open into, so the two kinds are told apart before you click.

And the task model was wrong twice over. It asked which model should
name conversations and which should write the starting points, as if
anyone would answer those differently — both are short, frequent, and
want the same small fast model. It is one setting now. It also asked for
that model through a flat dropdown, when it is the same kind of thing as
the LLM and deserves the same shape: the catalog carries a `task`
service, so the whole provider/model editor applies to it unchanged, and
a provider already set up for chat can be brought over instead of typed
again. Empty stays the default and the common case — both calls then
resolve the LLM exactly as before, and the page says so and shows which
model that currently is.

Two tests stopped hardcoding the list of services and derive it, so the
next one to be added needs only its own test written.
2026-08-29 21:46:15 +08:00
Bingxi Zhao (Frank) 5b04fb675d feat(settings): model pages as provider cards you open into models
A model page opened on a form. Which provider it was editing lived in a
sticky list beside it, the provider's models were a row of chips above
their own fields, and clicking anything in either one also changed what
the app was running on — the page had no way to show you a provider
without adopting it.

It is two levels of cards now. The page lists the providers configured
for its service; opening one drills into its models; each card expands in
place to edit what it holds. Adding and deleting live where the thing
being added belongs, and a back row names where you are.

The move needed browsing and using to come apart, which is the fix I said
last week was too big to reach for. The context's mutators take an
optional profile/model id and keep their old meaning without one, so no
existing caller changed; the editor binds them to whatever is on screen,
which is why ~300 lines of field editors moved between levels untouched.
"In use" is now stated on the card that has it and offered on every other
one, instead of being whatever you clicked last.

That also retires the warning strip from the connections deep link. It
had to exist because following the link adopted the profile it landed on;
now it just opens that provider's panel and changes nothing.

Search keeps one level — it has no models to drill into — and its cards
say so by not being openable.
2026-08-29 21:27:42 +08:00
Bingxi Zhao (Frank) 3867bee523 style(settings): divide with rules and whitespace, not boxes
Every section was a bordered, tinted panel wrapping rows that already
separated themselves with hairlines — the same content divided twice, and
the densest concentration of boxes anywhere in the app. The rest of
DeepTutor divides with hairlines and whitespace; Settings now does too.

`SettingSection` drops the panel for a single top rule, which is also
what keeps sections holding custom content (theme tiles, previews) from
coming apart. The model pages' two main panes become titled sections with
the same underline, so a page reads as three sections rather than three
stacked cards. Rows tighten from py-4 to py-3.5 and lose the padding the
box used to require.

Boxes that survived are the ones that are meant to interrupt: the
"opened from Connections" notice, the add-connection panel, the Codex
sign-in card, the network status block. The profile list keeps a
container because it is a navigator, not content — retinted to the same
accent the app sidebar uses.
2026-08-29 21:14:17 +08:00
Bingxi Zhao (Frank) 8ac76a4cec style(settings): rebuild the navigator in the app's own language
The settings column was invented rather than borrowed, and it showed.
Measuring it against `SidebarShell` — the same kind of element, on screen
in the same app, all day — the differences were all in the wrong
direction:

- No icons at all, so a 23-row column was a wall of text with nothing to
  aim at while scanning. Every page already declares an icon in
  `settings-nav.ts`; none of them were being drawn.
- Rows a half-step tighter and smaller than the app's (12.5px/py-1.5/md
  against 13.5px/py-2/lg), which read as cramped rather than compact.
- The active row tinted with `--muted`; the app uses `--accent`.
- Idle rows in `--muted-foreground` while group labels were medium-weight
  at 70% — so the labels were heavier than the pages under them and the
  hierarchy read upside down. Group labels now match the "Recents"
  heading: 11.5px, normal weight, 60%.

Also two measurements off the rest of Settings. The radius scale had five
tiers with `rounded-2xl` used exactly once outside the tour overlay, so
the status strip joins the `xl` tier and the scale is four clean steps.
And the overview's title was 24px where every other settings page is 22px.

Shadows were counted too and left alone: all seven are on controls — a
toggle knob, segmented-control selection, a tooltip — not stacked on
cards, which is the pattern worth removing.
2026-08-29 21:03:44 +08:00
Bingxi Zhao (Frank) f76c37cf9f fix(settings): restore what the removed hub carried, and the narrow layout
Auditing the refactor against the old surface turned up one thing it had
genuinely dropped and several it had thinned out.

The navigator is hidden below `md`, and the breadcrumb went with the
refactor — so on a phone, landing on a settings page left no way to reach
any other one. A compact native select now carries the same map there.

Three things the deleted hub and sub-hub grids used to show came back:

- Each model service's state. The sub-hub tiles had a four-way chip —
  test passed / test failed / configured / not set — and only "failed"
  survived, as a dot in the navigator. The overview lists all seven
  services with that chip plus what each one actually resolves to, which
  is more than the tiles said.
- The browser-facing API base, previewed on the old Network card. It is
  the first thing to check on a Docker or LAN install.
- The one-line description under each page name, now the row's tooltip.

The tour copy still described blocks on a hub that no longer exists.

Also fixes a pre-existing break the audit surfaced rather than caused:
the profile list and the editor beside it were a hard two-column grid
with no breakpoint, so every model settings page overflowed its container
on a phone with fields cut off mid-input. They stack now.
2026-08-29 20:52:23 +08:00
Bingxi Zhao (Frank) af2c225c73 refactor(settings): persistent navigator, searchable, one click to any page
Settings was a folder tree. The hub listed seven categories, four of them
opened a second grid, and the page you wanted was the third click — then
changing something in another category meant climbing back to the root,
because a breadcrumb was the only navigation on the page. Two dozen pages
and no search.

Now there is one persistent column listing every page, with the current
one marked, and a filter over it. Every comparable product — VS Code,
Slack, GitHub, Stripe, Dify, Open WebUI — keeps the map on screen; this
one hid it behind the route you happened to be on.

Consequences:

- The three sub-hubs (models, chat, agents) were grids that only repeated
  those links, so they redirect to their first page. The routes stay
  bookmarkable.
- The breadcrumb is gone: the column shows where you are, and a trail
  ending in the page title directly above the page title said one thing
  twice.
- `/settings` was a directory of the seven categories. It answers "what
  state am I in" instead: how many model services are set up, what needs
  attention (a draft waiting, a service that failed its last test), what
  is actually in use, and what is still unconfigured.
- The guided tour walked the hub blocks, which no longer exist; it walks
  the navigator, which is present on every route.

Two things surfaced along the way. Antigravity CLI is a supported
subagent everywhere else — backend kind, icon, label, its own settings
page — but was missing from the nav, so that page was reachable only by
typing the URL; Gemini CLI is retired and this is what replaced it.
And deleting a provider profile took its key and every model under it
with no confirmation, from a control sitting one hairline below the list
you click through to switch profiles; it asks first now.
2026-08-29 20:36:54 +08:00
Bingxi Zhao (Frank) ed68087fbf fix(settings): make Save draft real, and stop losing edits on navigation
Save Draft and Apply were the same write. Both persisted to the live files
and both invalidated the runtime caches, so nothing but their labels told
them apart — and Save Draft only ever wrote the model catalog, while half
the settings pages (memory, starting points, network, attachments,
document parsing) keep their state outside it.

The result was silent data loss, reproducible in four steps: open Starting
points, change 20 to 44, press Save Draft, read "Draft saved" — the server
still had 20, and navigating away lost the edit with no warning. The
button was enabled, because `hasUnsavedChanges` counted extension state
that `saveCatalog` never touched.

So a draft is now a place rather than a label. One envelope holding the
catalog and a payload per page, stored beside the live settings and read
by nothing else:

    Save draft  → envelope written, runtime untouched
    Apply       → live files written, envelope cleared
    Discard     → envelope dropped, back to what is live

Two other losses closed along the way. Unsaved page state now lives on the
provider instead of the page, so moving around inside Settings keeps it —
a settings page unmounts on every navigation, which is why the edit
vanished. And an edit that exists nowhere else warns before the tab is
closed or reloaded.

The toolbar had no way to say "there is a draft waiting", so a draft saved
yesterday would have sat there unexplained; it now reports which of the
three states you are in. The storage path moved into that line's tooltip —
self-hosted users occasionally want to know which file backs a page, but
it is a developer fact and was on screen for everyone.
2026-08-29 20:27:33 +08:00
Bingxi Zhao (Frank) b356d49154 feat(settings): open a connection's services on their own profile
Three changes to how Connections hands off to the service pages.

Task models sits next to LLM in the Models grid rather than at the end —
it configures the same thing, so it belongs beside it.

The services a connection supplies are now links, not labels, and each
carries the profile it feeds (`?profile=<id>`). A service with several
providers configured would otherwise open on whichever one happened to be
selected, which is not where the click was aimed.

Selecting a profile in the service editor is also what puts it in use, so
arriving from a connection announces the switch instead of making it
quietly: a strip says applying will adopt this profile, with one click
back to the one that was selected before. Landing on a profile that is
already the active one says nothing and changes nothing.

Also fixes a latent race the deep link surfaced: the mount effect depends
on `loadSettings`, which closes over `t`, whose identity changes once i18n
resolves — so settings loaded a second time a moment after mount and
re-cloned `draft` from the server, discarding anything edited in that
window. Guarded to run once; `reloadSettings` stays the deliberate re-read.
2026-08-29 19:22:38 +08:00
Bingxi Zhao (Frank) d790419548 Merge remote-tracking branch 'origin/dev' into dev 2026-08-29 19:14:40 +08:00
Bingxi Zhao 83546e679f Merge pull request #1069 from NoxsMedia/codex/nox-3-lightrag-native 2026-08-29 18:46:03 +08:00
Bingxi Zhao 22ff203a27 Merge pull request #1020 from ZQR1101/fix/ask-user-unicode-escape 2026-08-29 18:44:58 +08:00
Bingxi Zhao 42ba832bc8 Merge pull request #1059 from ZQR1101/fix/openai-binding-deepseek-thinking 2026-08-29 18:44:49 +08:00
Bingxi Zhao 1f9de9cfc7 Merge pull request #1024 from evan188199-tech/codex/feat/reasoning-effort-custom 2026-08-29 18:44:40 +08:00
Bingxi Zhao 8b585a896f Merge pull request #1077 from ZQR1101/fix/memory-probe-permission-error 2026-08-29 11:55:21 +08:00
Bingxi Zhao e4e0da77e8 Merge pull request #1079 from HKUDS/fix/mastery-build-schema 2026-08-29 11:55:12 +08:00
Bingxi Zhao 290119df5e Merge pull request #1049 from ZQR1101/fix/switch-branch-optimistic-id 2026-08-29 11:53:57 +08:00
Bingxi Zhao 92a2fcf077 Merge pull request #1052 from evan188199-tech/codex/fix/book-language-options 2026-08-29 11:51:18 +08:00
Bingxi Zhao 4c4ae414f7 Merge pull request #1075 from evan188199-tech/codex/fix/deepseek-responses-web-search 2026-08-29 11:50:51 +08:00
Bingxi Zhao (Frank) a9f67eb3aa feat(settings): connections layer + per-task model pinning
Model configuration was one layer replicated seven times: every service
stored its own profile with its own credentials, so a single OpenRouter
key had to be pasted into five separate pages. Every comparable product
(Dify, Open WebUI, Cherry Studio, RAGFlow) splits this in two — a
credential entered once, then a per-purpose assignment — so this adds
that split without disturbing what already works.

Connections
  A connection holds one vendor credential (api_key / api_version /
  extra_headers, plus an optional endpoint override). Linking creates one
  ordinary profile per service that can use it, and the credential is
  mirrored down on save rather than resolved on read — so every consumer
  of the catalog keeps reading self-contained profiles and a linked
  profile resolves exactly like a hand-typed one. Rotating the key in one
  place reaches every linked profile; deleting a connection unlinks
  rather than wipes. Anyone wanting a different key per service simply
  never makes a connection.

  Which services a vendor can serve is derived from the six provider
  tables that already exist (new `connection_targets` in GET /settings),
  so the web app keeps no second copy and adding a vendor to a service
  table is enough to make it connectable.

Task models
  Naming a conversation and writing the three home-screen starting points
  are LLM calls nobody asked for — short, frequent, and fine on a small
  fast model. Both can now be pinned to their own configured model from
  Settings > Models > Task models. Unpinned is the default and a true
  no-op: the title still follows the turn's own model and the starters
  the active one, exactly as before. A pin at a deleted profile reverts
  to inheriting rather than stranding the call.
2026-08-29 11:50:10 +08:00
Bingxi Zhao f3d43d969b Merge pull request #1025 from evan188199-tech/codex/fix/code-execution-file-artifacts 2026-08-29 11:50:04 +08:00
Bingxi Zhao acddbb327e Merge pull request #1057 from dongyu-will/codex/deep-question-validation 2026-08-29 11:49:40 +08:00
Bingxi Zhao (Frank) ca028e3766 Merge remote-tracking branch 'origin/dev' into pr1077 2026-08-29 11:49:04 +08:00
Bingxi Zhao (Frank) 1b211599ee Merge remote-tracking branch 'origin/dev' into pr1049 2026-08-29 11:48:40 +08:00
Bingxi Zhao (Frank) 7e9f79b4f8 Merge remote-tracking branch 'origin/dev' into fix/mastery-build-schema 2026-08-29 11:48:36 +08:00