Commit Graph
390 Commits
Author SHA1 Message Date
Xubin Ren a9412aedd0 feat(linear): simplify member settings and cache workspace profiles 2026-09-26 19:19:21 +08:00
Xubin Ren 8cf2521e9e feat(linear): show member profile avatars with safe fallbacks 2026-09-26 19:19:21 +08:00
Xubin Ren b410ead0c7 feat(linear): make member access settings responsive and familiar 2026-09-26 19:19:21 +08:00
Xubin Ren e78544fcaf feat(linear): manage member access from WebUI
Implement NAN-158 with installation-scoped access switches, effective legacy approval fallback, live team membership checks, and deployment guidance.
2026-09-26 19:19:21 +08:00
Xubin Ren 09b2ae9a31 fix(webui): preserve preview paint and scroll ownership 2026-09-24 15:17:05 +08:00
Xubin Ren 7aac9355ec feat(webui): refine mobile message actions and hover timestamps 2026-09-24 15:17:05 +08:00
Xubin Ren 4693bba81f fix(webui): preserve native touch menus with message link actions 2026-09-24 15:17:05 +08:00
Xubin Ren b08c9da8de refactor(webui): keep website actions in compact context menus 2026-09-24 15:17:05 +08:00
Xubin Ren c2edd5632e fix(webui): preserve previews during credential renewal 2026-09-24 15:17:05 +08:00
Xubin Ren fccf415283 feat(webui): add isolated website previews and link actions 2026-09-24 15:17:05 +08:00
Xubin Ren 05bee21b10 feat(webui): unify file preview actions 2026-09-24 15:17:05 +08:00
chengyongru 1bc43f84e4 docs: shorten session storage troubleshooting 2026-09-24 13:38:57 +08:00
chengyongru 839992630c fix(cli): explain session storage conflicts before startup 2026-09-24 13:38:57 +08:00
chengyongru f9048dc514 fix(linear): retain issue context and clarify OAuth diagnostics 2026-09-23 18:29:52 +08:00
chengyongru d699088705 feat(linear): improve native agent UX 2026-09-23 18:29:52 +08:00
chengyongru dc996aba2d docs: correct context compaction behavior and document compact command 2026-09-23 16:05:33 +08:00
Xubin Ren 2640251076 fix(agent): respect temporary chat privacy in tool execution 2026-09-21 15:24:38 +08:00
Xubin Renandchengyongru a44f28e656 fix(webui): complete Copilot device sign-in in the browser
Reuse the device-flow adapter from #5498, expose its prompt in the existing OAuth dialog, and keep credential persistence scoped to uncancelled completion.

Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-09-21 00:13:46 +08:00
Xubin Ren eaa0e290d0 fix(webui): hide model choices when OAuth authorization expires 2026-09-21 00:13:46 +08:00
Xubin Ren 448767d147 fix(webui): identify OAuth reauthentication behind fallback replies 2026-09-21 00:13:46 +08:00
Xubin Ren a05f11ba10 fix(webui): notify chats when a fallback model responds 2026-09-21 00:13:46 +08:00
Xubin Ren 024fe8f636 fix(webui): surface OAuth model catalog authorization failures 2026-09-21 00:13:46 +08:00
chengyongru 756c8bb7ed docs: refresh v0.3.5 release information (#5828)
* docs(readme): refresh v0.3.5 release details

* docs(releases): update daily archive through v0.3.5

* docs: omit incomplete September 20 update
2026-09-20 16:02:37 +08:00
Xubin Ren 8d0430c761 feat(webui): show persisted fallback preset on replies (NAN-133) 2026-09-20 15:16:35 +08:00
chengyongru 4f85b78c67 fix(linear): autosave setup and restore connection status 2026-09-19 01:24:27 +08:00
chengyongru 3c7ebd6cd8 fix(linear): refresh setup UI and preserve channel lifecycle state 2026-09-19 01:24:27 +08:00
chengyongru e9414da243 feat(channels): add native Linear agent channel
Add OAuth installation, signed webhook ingestion, durable event handling, native Agent Session activities, WebUI setup, localized copy, and an end-to-end configuration guide.
2026-09-19 01:24:27 +08:00
ZedingZhang ea9d13cbeb feat(discord): add replyToMessage parity with Telegram (#5800)
* feat(discord): add configurable native replies

* fix(discord): tolerate deleted reply targets
2026-09-18 15:13:31 +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
Xubin Ren d8efb852da build: bundle native TUI in platform wheels 2026-09-16 02:38:34 +08:00
Xubin Ren d24ae06117 fix(release): verify TUI materials before tagging 2026-09-16 01:30:47 +08:00
Xubin Ren ea630c7303 chore(release): prepare v0.3.5 (NAN-110) 2026-09-16 01:30:47 +08:00
Xubin Ren 0282dbac07 fix(email): trust configured authentication results 2026-09-15 15:26:20 +08:00
chengyongru ddd6b302c9 fix(webui): support remote project paths and honor picker capabilities (#5673)
* fix(webui): honor remote workspace picker capability

* feat(webui): allow remote project path selection

* test(webui): isolate native picker availability from host platform
2026-09-14 13:14:00 +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
shakewingo 48a93f9e52 docs: clarify gateway health and WebSocket readiness 2026-09-08 11:00:46 +08:00
Xubin Ren d641026fc8 fix(cli): simplify Desktop picker controls [skip ci]
Remove numeric shortcuts and their labels so target selection has one visible navigation model: arrow keys followed by Enter. Keep Ctrl+C cancellation and attachment behavior unchanged.

Update the CLI guide and real-key regression tests to verify that 1 and 2 no longer move the highlight.
2026-09-08 10:04:15 +08:00
Xubin Ren cf74d1c7e5 fix(cli): make Desktop target selection keyboard navigable [skip ci]
Reuse the existing questionary selector so users can highlight a target with arrow keys and confirm with Enter. Retain numeric shortcuts and the current Python executable label without changing discovery or attachment behavior.

Keep cancellation fail-closed with exit code 130. Exercise real navigation, EOF and Ctrl+C through both CLI launchers so cancelling cannot start a Python backend or attach to Desktop. Document the controls.
2026-09-08 10:04:15 +08:00
Xubin Ren 48e7c4f697 feat(cli): attach terminal clients to the selected Desktop [skip ci]
NAN-104 requires terminal chat and browser attachment without granting a client ownership of Desktop's gateway. Resolve bounded short-lived credentials over authenticated current-user IPC, pin both Desktop and gateway identities, and reject replacement instances or incompatible clients before any mutation.

Reuse the existing TUI artifact resolver behind a narrow Desktop-only entrypoint, keep credentials out of argv/environment/files, and preserve Python-mode reconnect and gateway leases. Add protocol, real-gateway, and anonymous IPC regression coverage; matching native-host and Windows acceptance remain release gates.
2026-09-08 10:04:15 +08:00
Xubin Ren b373a95f5c fix(cli): protect Windows browser credential handoff [skip ci]
Windows browser dispatch can expose bootstrap credentials through BROWSER or native handler command arguments. Send the URL to an isolated helper over stdin and open an owner-only ACL-protected redirect file instead, with no raw-URL fallback.

Keep file ownership and bounded cleanup independent of CLI exit, reject unsafe storage, and cover shared callers, native API contracts, error paths and lifecycle regressions. Document the intentional Windows compatibility tightening; native Windows browser and ACL verification remains pending.
2026-09-08 10:04:15 +08:00
Xubin Ren 29bf9f9ca7 fix(cli): keep macOS bootstrap URLs out of argv [skip ci]
Browser bootstrap URLs contain credentials. Deliver them through native Launch Services instead of the open command, and fail without a subprocess or BROWSER fallback so shared WebUI callers cannot expose the URL in process arguments or errors.

Cover encoding, native failures, resource cleanup and Desktop dispatch with regression tests. Preserve existing browser behavior and leave TUI and non-macOS handoff changes outside this scoped repair.
2026-09-08 10:04:15 +08:00
Xubin Ren dba77b5e74 fix(cli): harden attach-only Desktop selection [skip ci]
Preserve current Python startup when Desktop is not ready before target selection, while refusing fallback after the user chooses Desktop. Keep retained launchers and virtual environment labels consistent.

Authenticate Windows pipe ownership before I/O and drain cancelled operations before releasing buffers. Add entrypoint, failure-path, transport and credential-safe browser regressions without changing backend lifecycle or configuration.
2026-09-08 10:04:15 +08:00
Xubin Ren 8fe0c62d68 feat(cli): add attach-only Desktop target selection
Keep Python and Desktop installations independent while allowing bare interactive commands to choose a running Desktop target. Validate the versioned per-user rendezvous before opening its WebUI, and preserve every explicit Python CLI invocation.

Desktop TUI attachment remains unavailable until its capability contract is published, so that selection fails explicitly without starting, replacing, or stopping a backend.

Refs NAN-104.

[skip ci]
2026-09-08 10:04:15 +08:00
chengyongru c4a25c9a09 docs: unify personal agent installation with quick start 2026-09-07 18:28:35 +08:00
chengyongru 7ed79fe309 docs: refresh README with current WebUI feature gallery (#5684) 2026-09-07 13:57:03 +08:00
dajiaohuang 04aeec6c0f fix(matrix): complete Element SAS request flow 2026-09-03 23:49:20 +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