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 Ren and yu-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
chengyongru
0c6c0438d4
feat(config): add actionable startup diagnostics and WebUI recovery ( #5110 )
2026-07-28 18:52:05 +08:00
chengyongru
12f828ea3d
fix(agent): read document attachments on demand ( #5122 )
2026-07-28 13:33:06 +08:00
Xubin Ren
68717937e8
fix(agent): throttle idle scans by default
2026-07-27 02:15:48 +08:00
Andrew Khmylov
7aab7e8830
feat(agent): make idle compaction scan interval configurable
...
Before this change, idle compaction is triggered every 1 second
if the incoming message stream is idle.
When triggered, it enumerates all session files, loads and parses them,
and then checks their expiration.
This becomes too CPU-intensive, especially on low-power devices like Raspberry Pi.
It's unlikely that you actually need to compact every second over the long time.
This change adds a configurable throttling for idle-compaction.
Default behavior is unchanged.
2026-07-27 02:15:48 +08:00
Xubin Ren
cf6ca13b6d
fix(exec): preserve bwrap workspace masking
2026-07-27 00:31:00 +08:00
yu-xin-c
01a11b3980
feat(exec): allow extra bwrap bind roots
2026-07-27 00:31:00 +08:00
chengyongru
d576804f23
feat(channels): enable tool hints by default
2026-07-26 21:22:12 +08:00
chengyongru
55405f6cd6
feat: open WebUI after fresh desktop install
2026-07-26 03:28:15 +08:00
chengyongru
15de6be0af
fix(providers): fall back on authentication errors
2026-07-23 14:52:04 +08:00
chengyongru
c7393c785e
feat(providers): add xAI Grok OAuth with capability-gated X Search ( #5035 )
2026-07-23 11:55:16 +08:00
chengyongru
c22efb5f7a
feat(agent): make model presets session-scoped ( #4866 )
2026-07-23 00:38:49 +08:00
chengyongru
b189a37648
fix(agent): preserve agent-owned state in project workspaces ( #4945 )
2026-07-22 17:25:22 +08:00
yrk
be1cc769d5
docs: refine ModelScope documentation wording
2026-07-22 01:35:20 +08:00
yrk
9abad4746e
feat(providers): add ModelScope provider for LLM and image generation
2026-07-22 01:35:20 +08:00
chengyongru
1d7bad3909
feat(providers): support Codex fast mode
2026-07-21 17:55:17 +08:00
chengyongru
8423cf3eeb
fix(channels): complete dependency manifest migration ( #4995 )
...
* fix(channels): complete dependency manifest migration
* docs(docker): clarify custom uid dependency installs
* fix(channels): keep dependency preinstall internal
* refactor(channels): move dependency installer to scripts
* fix(docker): limit runtime write access
2026-07-20 15:24:57 +08:00
Yuxin Lou
b76d54aae1
Harden default Docker Compose security
2026-07-18 17:37:41 +08:00
Arthur K.
dcb37259fa
feat(heartbeat): custom evaluator prompt
2026-07-15 01:19:48 +08:00
chengyongru
4916fc07ab
fix(agent): close reasoning on stream timeout
2026-07-14 15:51:22 +08:00
chengyongru
b2759e8a6b
docs: reorganize documentation around user workflows ( #4916 )
2026-07-14 13:59:47 +08:00
chengyongru
234e895e5a
fix(codex): align OAuth defaults and setup docs ( #4910 )
...
* fix(codex): align OAuth defaults and setup docs
* docs(codex): clarify provider settings key
* docs(codex): simplify OAuth setup guidance
2026-07-13 17:04:33 +08:00
Xubin Ren
fe0717b385
feat(webui): add guided setup flows
...
* feat(channels): add guided setup flows
* test(channels): preserve setup config values
* fix(channels): reflect saved setup state
* refactor(channels): simplify setup state metadata
* fix(channels): harden setup lifecycle
* refactor(channels): centralize setup contracts
* fix(channels): route setup actions through webui shim
* fix(channels): adapt settings for compact screens
* fix(models): preserve default preset display
* feat(models): add curated Codex catalog
* fix(webui): stop attached gateway on interrupt
* fix(webui): simplify apps catalog
* docs(webui): clarify apps and runtime features
* feat(settings): add guided capability setup
* fix(webui): harden setup and managed services
* test: keep managed runtime checks portable
* test: scope POSIX runtime coverage
* fix(webui): simplify file settings
* feat(files): bundle document reading
* fix(webui): harden setup request boundaries
* fix(webui): prevent channel setup status squeeze
* fix(settings): group provider compatibility aliases
* refactor(settings): remove redundant setup surfaces
* fix(webui): harden guided setup lifecycle
* fix(webui): preserve channel setup compatibility
2026-07-13 13:11:46 +08:00
chengyongru
1a21542d11
docs: address search entry review feedback
2026-07-08 20:56:27 +08:00