292 Commits
Author SHA1 Message Date
LegGasai cb7bc14179 Merge remote-tracking branch 'origin/master' into worktree/fix-saved-api-key-editing
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.
2026-11-26 17:14:49 +08:00
LegGasai 39c086c7d5 fix(ui-settings-models): show no hint below a cleared API key
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.
2026-11-25 16:24:56 +08:00
LegGasai f3557fa9da fix(ui-settings-models): read a cleared API key as a field without a saved key
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.
2026-11-25 16:11:04 +08:00
LegGasai 0c5e64abb1 fix(ui-settings-models): show a saved API key read-only with replace and clear actions
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.
2026-11-25 15:11:37 +08:00
LegGasai efe4ce746c Merge remote-tracking branch 'origin/master' into worktree/fix-saved-api-key-editing 2026-11-25 14:47:13 +08:00
LegGasai 1df55fe910 Merge remote-tracking branch 'origin/master' into feat/models-settings-layout 2026-11-25 14:25:37 +08:00
LegGasai eae8f05f43 feat(ui-settings-models): show a pi-ai provider row as a pi-ai route
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.
2026-11-24 14:41:37 +08:00
LegGasai 72ad2d1d63 feat(llm-pi-ai): leave the Models page and settings as they are for provider rows
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.
2026-11-24 14:41:37 +08:00
LegGasai 56a4108722 feat(llm-pi-ai): add provider rows for routes that another layer supplies
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.
2026-11-24 14:41:37 +08:00
LegGasai 9d2a5ee9d3 Merge remote-tracking branch 'origin/master' into feat/models-settings-layout 2026-11-24 12:31:56 +08:00
LegGasai 9c8cf4ab0a fix(ui-settings-models): clarify saved API key replacement 2026-11-22 13:02:08 +08:00
sjw1231 7a4e99f81d Merge remote-tracking branch 'origin/master' into pr-8832-narrow 2026-11-20 16:24:05 +08:00
LegGasai 07b713a0a5 Merge remote-tracking branch 'origin/master' into feat/models-catalog-reasoning-levels
# Conflicts:
#	packages/client/ui-settings-models/README.i18n.yaml
#	packages/client/ui-settings-models/README.md
#	packages/client/ui-settings-models/README.zh.md
2026-11-20 16:08:08 +08:00
LegGasai 49d1474b7a feat(ui-settings-models): fold model rows to text and split the editor into sections
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.
2026-11-20 12:41:43 +08:00
creatixchu 2d5b444e0e Sync master into the pi image limits branch 2026-11-20 12:30:03 +08:00
sjw1231 cb820dd34d docs: list PTC among the modes that provide Plugin Manager 2026-11-19 19:51:32 +08:00
Dudu-0223 bd77229a9c Merge pull request #8241 from deepseek-harness/feat/session-control-message
feat(session): 支持跨 Session 消息
2026-11-19 18:02:58 +08:00
LegGasai 19cd62a86b feat(ui-settings-models): edit reasoning levels of catalog provider models
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.
2026-11-19 17:30:27 +08:00
Dudu-0223 7324b27419 fix(session): clarify explicit message requests and delivery limits 2026-11-19 17:07:08 +08:00
creatixchu 7ef9ab2932 同步模型输入开关对图片软目标字段的清理 2026-11-18 18:21:46 +08:00
Dudu-0223 77d8f1998c Merge origin/master into feat/session-control-message 2026-11-18 14:02:25 +08:00
Turtle e0e6b7d841 Merge remote-tracking branch 'origin/master' into turtle/rename-deepseek-api-ca2c0fb1df3e
Co-authored-by: Yudong Han <16971372+yudshj@users.noreply.github.com>

# Conflicts:
#	packages/client/ui-settings-models/README.i18n.yaml
2026-11-18 00:08:02 +08:00
TurtleandYudong Han 3463991902 feat(llm): label the API-key DeepSeek provider as DeepSeek API
Refs #8489

Co-authored-by: Yudong Han <16971372+yudshj@users.noreply.github.com>
2026-11-15 20:47:15 +08:00
LegGasai 40e107f3cb Merge remote-tracking branch 'origin/master' into feat/session-workspace-root
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.
2026-11-13 20:55:02 +08:00
Magolor ae4b016740 fix(ui-schedule): show clocks on delivery sessions (#8055) 2026-11-13 11:03:43 +00:00
turtle1999 3682913394 feat(preset): expose Cordis inspection in standard mode 2026-11-13 15:41:32 +08:00
Dudu-0223 49c4b6766f refactor(session): remove unrelated lifecycle and vendor changes 2026-11-13 14:13:24 +08:00
Dudu-0223 ffbdd6a670 fix(session): retain standard tool cancellation semantics 2026-11-13 13:08:27 +08:00
Dudu-0223 7c09e17b1c test(session): cover Web Session messages and refresh docs
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.
2026-11-12 14:37:45 +08:00
LegGasai ed30d274f1 refactor(working-directory): move the workspace only through Host operations
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.
2026-11-11 20:10:17 +08:00
Dudu-0223 7804232a9c feat(session): add shared cross-session message control 2026-11-10 16:29:54 +08:00
Magolor 2f9d5d083c Show server-masked credential previews by Unicode code point 2026-11-06 16:59:29 +08:00
Magolor 5e39b7dcb5 fix(settings): hide unavailable API key reveal controls 2026-11-06 16:59:28 +08:00
Magolor ef3a02167a fix(settings): preserve saved API key mask length 2026-11-06 16:59:27 +08:00
Magolor 1fa3a9d191 fix(settings): explain saved-key actions and environment fallback 2026-11-06 16:59:26 +08:00
Magolor 7d81a91577 fix(settings): keep saved-key editing within the existing input 2026-11-06 16:59:00 +08:00
Magolor 86247d664b fix(settings): protect saved keys and preserve clear failure state 2026-11-06 16:58:59 +08:00
Magolor 334a76ef88 fix(settings): show masked saved keys and restore environment auth 2026-11-06 16:58:49 +08:00
Yichen Jiang d0290409f9 Merge branch 'master' into turtle/add-gemini-protocol-5881f01a9a7f 2026-11-06 11:05:41 +08:00
TurtleandLegGasai d2c00f2554 feat(llm-pi-ai): support the Gemini protocol for custom model APIs
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>
2026-11-05 19:41:07 +08:00
brickmaker 001f153172 docs(desktop): refine uninstall cleanup paths 2026-11-05 17:54:51 +08:00
brickmaker 5991a206e4 docs(desktop): add unified uninstall cleanup guide (#7878)
* docs(desktop): add unified uninstall cleanup guide

* docs(desktop): address uninstall guide review fixes

* docs(desktop): restore original cleanup commands and desktop labels

* docs(desktop): clarify optional cleanup and simplify guide

* docs: remove desktop uninstall link from development guide
2026-11-05 08:19:27 +00:00
turtle1999 d047e2c5f9 feat(plugin-market): define index order and optional popularity metadata 2026-11-05 00:49:59 +08:00
Turtle b685ec0ddb Merge remote-tracking branch 'origin/master' into turtle/retry-policy-ui-fb23c6dee798
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
2026-11-03 17:11:52 +08:00
Turtle d8dae1ad95 docs(llm): raise third-party adapter codes through LlmError.fromFailure 2026-11-03 16:48:18 +08:00
Dudu-0223 a3baa4d6e4 Merge remote-tracking branch 'origin/master' into feat/sdk-team-mode
# Conflicts:
#	docs/persistence-schema.json
2026-11-03 13:29:41 +08:00
imccyu 06bf7ce024 Revert "fix(settings): show saved API keys and preserve environment detection…"
This reverts commit 9bb49604b63bb5d50e879bcf63c9f5cb2afbd737.
2026-11-03 12:33:44 +08:00
Dudu-0223 e180fce05a feat(team): enable new root Team mode through Cordis configuration 2026-11-03 12:09:30 +08:00
Magolor 8d0c3b4633 fix(settings): show saved API keys and preserve environment detection (#7695)
* fix(settings): show saved API keys in provider editors

* test(settings): retain DeepSeek environment detection states

* fix(settings): classify saved-key reads and align browser expectations

* test(settings): cover saved keys under derived references

* test(settings): verify saved endpoints and keys on provider requests

* fix(settings): preserve credential drafts without changing authentication
2026-11-02 15:00:19 +08:00
Magolor d9ed1e4e28 feat(schedule): unify task creation and editing (#7567)
* 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
2026-10-30 20:19:47 +08:00