Conflicts with the Models settings layout change on master:
- ProviderEditor keeps the read-only saved key and takes master's refused-save
marking; CustomProviderCard passes the key failure through `invalid`.
- The Chinese locale keeps master's wording; the three removed hint keys stay removed.
- Browser specs find an open card by its row name, since an open row has no
Edit button, and the ARIA outputs are refreshed on the merged tree.
A staged removal leaves only the environment-fallback placeholder in the
input. The environment status behind the saved key is unknown until Apply,
so the field reports none.
After Clear API key, the field shows the placeholder and environment hint of a
route without a saved key. The "Apply to clear the saved API key. Environment
authentication will be used" text is removed with its locale key.
A saved key is read-only text: the masked preview followed by Replace API key
and Clear API key icon buttons. Replace opens an empty, focused input. When
focus leaves the field or Enter is pressed, a draft that passes validation
returns to read-only text; a failing draft stays in the input with its error.
An emptied draft keeps the saved key, and only Clear stages its removal.
The saved-key hint and the replace-pending hint are removed.
The Models page chose a card layout by namespace id, so a provider row,
whose namespace is its own row id, got the card for a form without a
layout: one line that names the patch file, and a disabled Save.
Settings already sends the page everything it needs to do better. A
provider row's form declares exactly the fields of an entry of the
adapter row's providers dict, because both are built from the same field
schemas, so the page recognizes the row by its form and lays its route
out as a pi-ai route at the root of the row's namespace. No interface
carries the fact, and settings, its Remote controller, and the
configuration editor are unchanged.
A key typed for a row is stored under the credential reference the row
names. A changed field goes to the configuration editor, which refuses a
row that a home patch or overlay adds; the card shows that refusal. While
the profile patch holds no override of a row, the card takes the running
config as the layer a cleared field returns to, so a row that a later
layer adds shows its models and name. A provider row waits for its key as
an ordinary row in the first-run posture, like a dict entry.
The editor is keyed by the route's settings address: when another row
starts to serve the route being edited, the draft and revision read at
the old address are dropped instead of being written to the new one.
The previous commit marked a provider row that a later layer decides as
managed: the configuration editor reported which rows a home patch or
overlay decides, settings and its Remote controller carried that to the
page, and the Models page showed such a row with a tag and a read-only
card.
The page already handles a provider row without any of that. It lists the
row's route, offers no deletion for it, and opens it with its card for a
form it has no layout for, which names the row's section of the patch file
and takes no input; the configuration editor already refuses a write to a
row that a home patch or overlay adds. So the configuration editor,
settings, its Remote controller, and the Models page go back to what they
were, and the change is confined to the adapter package.
The Web test now describes the unchanged page beside a deployment's rows,
and the adapter's test helper stores the profile patch itself instead of
through a parameter added to the settings test helper.
A patch that sets the config of the llm-pi-ai row replaces the `providers`
dict of the layers before it. A deployment's home patch and the profile
patch that the Models page writes therefore cannot both configure
providers: the home patch's dict replaces the person's, and the
configuration editor refuses every later save of that row.
A layer that adds a provider now writes a row of
`@deepseek-ai/dsh-llm-pi-ai/provider`, whose config is the route key and
the profile fields of a dict entry. The adapter row serves those rows
together with its dict. Of the declarations that name one route, the one
that comes last in the composed entry list is in effect, and the dict
takes the position of the adapter's row. The dict, stored profile patches
and the Models page's writes are unchanged.
The configuration editor reports whether a home patch or an overlay
decides the config a row runs with (`managed`), settings forwards it with
the row's plugin name on each descriptor and namespace view, and the
Models page shows a managed provider row with a tag and a card whose
controls are disabled.
The provider editor nested three frames, kept the model list inside the
same fold as the endpoint and retry fields, and showed every model as a
pair of inputs behind a drag handle whose tooltip covered the model ID.
- An edited provider row is the editing surface itself, under its own
name; the editor no longer repeats the name, and Cancel closes it.
- The model list is its own section, unfolded by default. The endpoint,
retry policy, and a declared route's name and protocol move to a
folded "Advanced settings" section.
- A folded model row is one line of text and is dragged as a whole to
reorder; the handle and keyboard reordering are removed. Unfolding
shows the fields in two equal columns, and a newly added row starts
unfolded.
- The Cancel and Apply row stays at the page's scroll edge and carries
the notes that explain a blocked or refused save.
- The create form pairs Provider ID with the display name and the
protocol with the endpoint.
- An installed catalog route with no list of its own states that it
serves the whole built-in catalog instead of two contradicting lines;
a missing key is worded beside its dot.
The provider-card slot now renders before the editor in the setup card
and the add card, as it already did in a provider row, so the action
row ends every card.
The Models page showed the per-model reasoning-level control only on
hand-declared pi-ai routes. The adapter resolves a model entry's
`reasoningEfforts` the same way on catalog routes, so the editor now offers
the control on every pi-ai route and checks the declarations before saving.
With the switch off the field is absent and a catalog model keeps the
installed catalog's levels.
master replaced `cordis_inspect_list` and `cordis_inspect_query` with
`cordis_inspect`, which changed the same tool lists this branch edits. The
conflicted recordings take master's side and drop `working_directory` again:
`advanced-toolchain` and the two Web recommendation scenarios by refresh, the
six Python single-file runtime logs by removing the one list entry. The Web
collapse-timing count is 33.
Add a Web snapshot that restores a cold ordinary Session in another
directory through the Session controller, keeps the second delivery live,
and rejects an archived target. Keep subagent exports unchanged by building
the agent-message attribution in the tool. Rewrite the tool, user, and group
documentation for the Web-only row, move the disposed-input upgrade guide to
v0.2.2-rc.2, drop the removed service pages and guide, and regenerate the
catalogs.
Remove the model-facing working_directory tool and the cwd parameter of the
subagent tools, so only Host operations move a Session's directory. Every
change the service records carries `workspace: true`, and the workspace root
is the directory of the last marked change, or the original project. The
anchor field, the anchor list, relocate, inherit, and anchorsOf are gone;
get, ensure, set, and rootOf remain.
A change without the marker, recorded while the model could move the
directory, moves only the current directory, so stored Sessions keep the
root they had.
- worktree: create enters the checkout through set; exit returns the Session
to the source checkout of the recorded worktree that contains its directory,
and exit_worktree exposes it to the model.
- subagent: a child starts in the parent's workspace root or a Host-chosen
directory through set.
- SDK: the working-directory methods return { cwd } again and
getWorkspaceRoot / get_workspace_root are removed.
- Recorded sessions: the worktree scenario leaves through exit_worktree and
covers recovery from a removed worktree; the two scenarios that only drove
the removed tool are deleted; three compaction scenarios lower their tuned
context window by the removed tool-schema tokens.
Add pi-ai's google-generative-ai protocol to hand-declared routes, read
Gemini's native model listing during discovery, and offer it as "Gemini
API" in the Custom model API form.
Refs #7978
Co-authored-by: LegGasai <75920107+LegGasai@users.noreply.github.com>
* feat(schedule): unify task creation and editing
* refactor(schedule): remove obsolete editor helper exports
* fix(schedule): address unified editor review
* fix(schedule): avoid a conflict notice during save refresh
* test(schedule): use unified editor in zoom picker checks
* fix(schedule): preserve drafts through conflict recovery
* docs(schedule): match the linked-session control labels
* fix(schedule): restore the latest linked session after conflicts
* docs(schedule): clarify unsaved draft lifetime
* fix(schedule): align conflict feedback with the detail layout
* fix(schedule): fit editors to pane width and guide empty fields
* fix(schedule): preserve task list and complete field examples
* fix(schedule): keep required-field feedback in the editor
* fix(schedule): align editor content and action gutters
* fix(schedule): wrap localized actions in narrow editors