Commit Graph
168 Commits
Author SHA1 Message Date
Xubin Ren da02daaa1d test(agent): guard workspace context prompt prefixes 2026-10-11 17:06:39 +08:00
Xubin Ren 1d69f630d7 fix(agent): provide current workspace access before model requests 2026-10-11 17:06:39 +08:00
Xubin Ren e79a0099f6 fix(my): report current workspace access in self-inspection 2026-10-11 17:06:39 +08:00
chengyongru 9261e731ce feat(webui): improve model and provider settings UX (#6145)
* feat(webui): improve model and provider settings UX

* refactor(webui): organize provider forms and model picker interactions

* fix(webui): separate OAuth credentials from provider configuration

* fix(webui): stabilize shared combobox navigation

* refactor(config): store provider connections as sparse entries

* fix(webui): preserve provider validation and isolate catalog tests

* refactor(config): manage explicit provider connections

* refactor(webui): decouple settings UX from provider removal

* fix(webui): select current combobox options during rapid input

* feat(webui): refine model preset and provider management

* style(webui): refine preset footer actions

* fix(webui): align model settings with responsive layout rules

* refactor(webui): finalize preset dialogs and simplify provider state

* fix(webui): keep fallback heading stable while sorting presets

Animate card dimensions without changing layout height and keep the section heading outside sortable cards. Remove proxy normalization from this PR.

* docs: update WebUI model and provider setup instructions

* docs: start model setup from new preset

* docs: remove duplicate WebUI model setup instructions
2026-10-11 04:30:43 +08:00
chengyongru 50256940be docs: remove manual paragraph line wraps (#6131)
* docs: remove manual paragraph line wraps

* docs: preserve GitHub alert marker line breaks
2026-10-10 11:48:50 +08:00
chengyongru 36c36a1324 feat(cli): add --home instance directory selector (#6128)
* feat(cli): add --home instance directory selector

* refactor(cli): keep instance home selection command-line only

* fix(cli): clarify WebUI channel confirmation

* docs: condense multiple-instance setup guide

* docs(cli): shorten instance home option help

* docs: remove manual paragraph wrapping
2026-10-10 11:16:53 +08:00
chengyongru d808dbdb44 fix(providers): remove obsolete DeepSeek hosted search
Keep nanobot web_search available on DeepSeek Responses, including old saved hosted-tool settings, and remove the switch and user-facing claims.

Preserve legacy API_TYPE and APITYPE environment selectors during OpenAI connection migration.
2026-10-10 01:33:02 +08:00
chengyongru 10a979ab00 fix(webui): show custom provider API controls directly 2026-10-10 01:33:02 +08:00
chengyongru 87a1e36833 feat(webui): explain API settings on hover 2026-10-10 01:33:02 +08:00
chengyongru 9aff0787ff docs: focus API configuration on user workflows 2026-10-10 01:33:02 +08:00
chengyongru 130fbcb842 fix(webui): move API settings into advanced options 2026-10-10 01:33:02 +08:00
chengyongru 7e2e804b5c refactor(providers): migrate legacy API selector at input boundary 2026-10-10 01:33:02 +08:00
chengyongru 34fd4ed75a feat(providers): declare supported APIs for custom connections 2026-10-10 01:33:02 +08:00
chengyongru 73a27e0726 feat(webui): show resolved Auto API in preset selector 2026-10-10 01:33:02 +08:00
chengyongru 994ce51502 feat(models): declare provider APIs and simplify preset configuration 2026-10-10 01:33:02 +08:00
b5808e47de feat(models): declare request APIs per preset
Bind API support and preference to the preset's provider and model. Carry the
API declaration through factory selection, fallback chains, hot reload and
WebUI persistence. Use Copilot endpoint metadata for automatic routing and
keep reasoning replay and compaction defaults in provider capability profiles.

Consolidate Responses follow-ups from #5906, #5935, #6020, #6051 and #5834;
acknowledge equivalent contributions in #6105 and #5863.

Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com>
Co-authored-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com>
Co-authored-by: kkkhoo <128304090+kkkhoo@users.noreply.github.com>
Co-authored-by: pei711 <199601925+pei711@users.noreply.github.com>
Co-authored-by: Steven Huang <134844631+remote-controlled-man@users.noreply.github.com>
Co-authored-by: Louis Yue <179701714+selfucker@users.noreply.github.com>
Co-authored-by: iuiuiu <92971770+iuiu-py@users.noreply.github.com>
2026-10-10 01:33:02 +08:00
Xubin Ren ab6d5f1d3c feat(channels): add inherited global compaction notice policy 2026-09-30 13:44:42 +08:00
Xubin Ren 7644d845b4 fix(channels): preserve explicit compaction feedback and silent delivery 2026-09-30 13:44:42 +08:00
chengyongru e0b8efa0be feat(tools): use installed ripgrep for native file search (#5948)
* feat(tools): expose installed ripgrep through exec

* refactor(tools): launch ripgrep with native argument vectors

* refactor(tools): reuse the fresh exec parameter schema

* fix(tools): select search backend in loader and display rg arguments

* fix(ui): simplify rg previews and localize search completion

* docs: simplify ripgrep configuration note

* docs: keep ripgrep note on one line
2026-09-28 13:44:51 +08:00
chengyongru dc996aba2d docs: correct context compaction behavior and document compact command 2026-09-23 16:05:33 +08:00
AlfredChaos 24c41a6af0 fix(channels): drop compaction notices on channels without an in-place affordance (#5799)
* fix(channels): drop compaction notices on channels without an in-place affordance

QQ's C2C/group message API has no edit or recall endpoint, so the
compaction lifecycle reached the chat as two permanent standalone
messages. Add a show_compaction_notices capability that defaults to
true (Telegram/Discord/WebSocket keep their in-place lifecycle) and
opt QQ out, with a per-channel showCompactionNotices config override.

Fixes #5784

* fix(qq): keep compaction-notice suppression inside the QQ channel

Per review on #5799: drop ContextCompactionEvent in QQChannel.send()
based on a QQ-local QQConfig.show_compaction_notices (default false,
camel alias showCompactionNotices) instead of a cross-channel
BaseChannel capability plus manager-level configuration and dispatch
policy. BaseChannel, ChannelManager and the manager compaction test
return to their upstream shape.

Also adds the missing zh-TW locale copy (plus es/id/ko/vi so all ten
QQ locales carry the new setup field) and QQ-level tests covering the
default drop, the enabled path, ordinary-message passthrough, and the
camelCase config override.
2026-09-18 00:45:58 +08:00
chengyongru 73410e0217 fix: stream internal model calls with idle timeouts (#5730)
* fix: stream internal model calls with idle timeouts

* fix(providers): reject streams without terminal events
2026-09-11 13:06:43 +08:00
Xubin Ren 8b9e35bf78 fix(exec): tighten Seatbelt filesystem and launcher boundaries
Keep temporary work inside the granted workspace instead of exposing host scratch trees, enforce read-only roots, and pin the system sandbox launcher before PATH lookup. Preserve documented network access and the narrow system paths needed by shell and Git.

Add native macOS containment and launcher regressions plus shared backend contract coverage. Document scratch and custom-tool requirements without changing existing bwrap or Windows behavior.
2026-09-10 00:00:44 +08:00
LuckTerence e217468e0a feat(exec): add a macOS Seatbelt sandbox backend
`tools.exec.sandbox` only supported bubblewrap, which depends on Linux
kernel namespaces, so macOS had no process-level isolation for shell
commands: SECURITY.md told macOS users the sandbox was simply
unavailable.

Add a `seatbelt` backend that generates an SBPL profile for
sandbox-exec(1) with the same policy bwrap applies. The workspace is
read-write, the media directory is read-only, the workspace's parent is
unreadable so config.json and its API keys stay hidden, and everything
else is denied by default.

Two macOS details the profile has to get right, both found by running
the generated command rather than by reading the SBPL reference:

- sh(1) reads `/` while resolving a path, and `(subpath "/usr")` does
  not cover the root itself. Without `(literal "/")` every wrapped
  command aborts during shell startup.
- Denying the parent directory also blocks traversal into the
  workspace, so commands fail with ENOTDIR before they run. The
  ancestors of every allowed path are therefore re-allowed for
  `file-read-metadata` only: they stay searchable, but the config
  directory still cannot be listed or read.

Paths are SBPL-escaped so a quote or backslash in a workspace path
cannot terminate a literal early and widen the rules that follow it.

Network access stays unrestricted to match bwrap, which does not pass
`--unshare-net`. Windows keeps its existing warn-and-run-unsandboxed
path, and selecting `seatbelt` on Linux fails loudly on the missing
sandbox-exec(1) exactly as selecting `bwrap` does on macOS today.

Verified on macOS 26.6.2 against the real sandbox-exec(1): workspace
writes, media reads and /tmp scratch succeed, while writing media,
reading config.json, listing the config directory, writing outside the
workspace and reading ~/.ssh are all denied.

Refs #1448
Refs #2569
2026-09-10 00:00:44 +08:00
cleverLucky c039a7052a feat(web-search): add AnySearch provider (key-optional, anonymous quota) (#5607)
* feat(web-search): add AnySearch provider (key-optional, anonymous quota)

* docs(configuration): add AnySearch web search provider
2026-09-08 11:41:10 +08:00
chengyongru bb34b58f47 refactor(agent): make memory summaries cumulative (#5610)
* refactor(agent): make memory summaries cumulative

Treat the latest session summary as a replacement checkpoint, preserve it through bounded raw fallbacks, and reserve history.jsonl for Dream ingestion.

* fix(agent): preserve cumulative checkpoint context

* fix(agent): preserve memory archive prompt cache

* refactor(agent): state archive prompt positively

* refactor(agent): remove checkpoint version migration

* refactor(agent): summarize full archive context

* test(agent): align cumulative archive prompt assertion

* refactor(agent): clarify memory checkpoint contract
2026-08-31 13:37:20 +08:00
Xubin Ren c02f013b17 fix(providers): harden OAuth model discovery 2026-08-29 21:22:20 +08:00
Xubin Ren 97fb9aaf72 fix(providers): complete OAuth model discovery 2026-08-29 21:22:20 +08:00
Xubin Ren bc4de246a4 feat(providers): discover OAuth model catalogs online 2026-08-29 21:22:20 +08:00
Xubin Ren 2389ab1f5a feat(providers): add Grok 4.6 subscription model 2026-08-29 21:22:20 +08:00
chengyongru 29025f5a8b fix(agent): default request concurrency to unlimited (#5572)
* fix(agent): default request concurrency to unlimited

* test(agent): clarify session serialization coverage
2026-08-27 23:31:38 +08:00
chengyongru b9e7c7f6fe fix: queue concurrent subagents (#5566)
* fix: queue concurrent subagents

* chore: keep spawn schema concise
2026-08-27 17:53:28 +08:00
chengyongru e723ea6b7e docs(config): mark failOnToolError deprecated 2026-08-25 11:54:40 +08:00
chengyongru 8332c604da fix(agent): let subagents recover from tool errors 2026-08-25 11:54:40 +08:00
chengyongru 251a1ccd40 refactor: simplify cross-session messaging 2026-08-19 01:15:56 +08:00
chengyongru 0e184965e8 feat(webui): add lightweight session messaging via mentions 2026-08-19 01:15:56 +08:00
Xubin Ren 0a6ee1c539 fix(models): preserve preset rename compatibility 2026-08-16 11:50:56 +08:00
Xubin Ren 3dc38f6396 refactor(models): unify preset names 2026-08-16 11:50:56 +08:00
shixi-li 31a71d6cd5 fix(web): keep credential-bearing URLs away from the remote Jina reader 2026-08-13 02:26:22 +09:00
Xubin Renandyu-xin-c 498070d036 test(docker): separate host bwrap requirements
Co-authored-by: yu-xin-c <175149126+yu-xin-c@users.noreply.github.com>
2026-08-13 02:13:51 +09:00
chengyongru edec29e997 feat(providers): support DeepSeek V4 Pro Responses 2026-08-13 01:02:41 +08:00
Xubin Ren 86c7508607 docs(plugins): clarify unified extension model 2026-08-11 20:16:24 +09:00
Xubin Ren a2979c3a4b fix(plugins): harden activation boundaries 2026-08-11 20:16:24 +09:00
Xubin Ren d5e0df6963 feat(plugins): integrate portable Agent Plugins 2026-08-11 20:16:24 +09:00
chengyongru 57d81bc1cd fix(providers): preserve nanobot tools with OpenRouter server tools (#5335)
* fix(providers): preserve functions with extra body tools

* docs(providers): clarify extra body tool merging
2026-08-11 18:23:27 +08:00
chengyongru 8e77f3f8a4 feat(mcp): add browser OAuth for remote servers (#5316) 2026-08-10 23:44:37 +08:00
chengyongru 67805f5db8 feat: add provider-native request switches (#5254) 2026-08-05 18:26:39 +08:00
Xubin Ren ac216c3e94 docs(providers): document Eden AI setup and WebUI parity 2026-08-03 16:40:13 +08:00
chengyongru cdb75f8e7d feat(providers): support DeepSeek Responses API (#5197) 2026-08-01 11:53:51 +08:00
chengyongru 6a1a45d07a feat: preserve Responses reasoning state and compact context (#5172) 2026-07-30 22:39:43 +08:00