Commit Graph
114 Commits
Author SHA1 Message Date
Xubin Ren 70eca8343b fix(skills): distinguish marketplace installation sources 2026-11-06 00:26:32 +08:00
chengyongru 519ed81132 feat(webui): inspect file context in a live graph sidebar (#6562)
* feat(webui): inspect file context in a live graph sidebar

* refactor(webui): place preview controls in the shared sidebar header

* fix(webui): synchronize npm lockfile for graph dependencies

* fix(webui): preserve compacted context and refine graph inspection

* fix(context): harden provenance, request usage, and drawer lifecycle

* fix(webui): align source skeleton and browser fixtures

* perf(context): reuse source analysis and capture request graphs once

* perf(webui): compact graph history and render graph motion on canvas

* fix(webui): remove redundant context sidebar header

* style(webui): clarify context replay icon

* perf(webui): pace context replay on an adaptive timeline

* feat(webui): briefly reveal labels for new context nodes

* fix(webui): reveal new labels only for loaded context files

* fix(webui): restart graph animation clock after idle

* fix(webui): reveal labels when replay reverses node exit

* refactor(context): project file-use facts without retention tracking

* refactor(context): observe file reads outside agent execution

* fix(webui): animate context sidebar closing

* refactor(context): remove unused graph and usage panel code

* refactor(context): isolate prompt observation from execution metadata

* fix(webui): clarify cache rate and show context token usage

* fix(webui): abbreviate context token counts in thousands

* fix(webui): omit token unit from context usage details

* fix(webui): restore large source preview highlighting and panel elevation

* fix(webui): distinguish modifier scrolling from keyboard focus

* fix(webui): align preview tab and panel corner radii

* fix(webui): attach file tabs to the header divider

* fix(webui): use one action to toggle file preview mode

* fix(webui): use hover hint for context replay

* fix(webui): share composer layout between graph and file sidebars

* fix(webui): align sidebar bottom with composer surface

* fix(webui): restore mobile graph drawing and touch file details

* test(webui): align legacy cache assertions with current label

* perf(context): retain source analysis and bound graph animation work

* style(webui): add light elevation to user messages

* test(webui): await lazy graph scene before replay assertions

* fix(webui): align preview skeleton and browser contracts
2026-11-05 17:09:20 +08:00
Xubin RenandTenable Research 219dd13fd8 fix(webui): enforce workspace authority across queued inputs
Keep workspace changes at the authenticated owner boundary. Queue follow-up inputs separately when their tool scope differs from the active run.

Co-authored-by: Tenable Research <152317477+tenbbughunters@users.noreply.github.com>
2026-11-04 23:33:49 +08:00
chengyongruandXiaoyu-hub 4a14faa47e fix(webui): keep saved topics bound to their project (#6509)
* fix(webui): keep saved topics bound to their project

Lock the project as soon as the session exists, independently of loaded history. Validate both explicit updates and message admissions against the persisted directory while retaining same-project permission changes.

Related to #6505.

Co-authored-by: Xiaoyu-hub <17346801517@163.com>

* test(agent): retain goal shutdown failure stacks

Use the existing stop_loop diagnostic without changing the five-second teardown deadline or the goal assertions. The Windows failure on #6509 reached session shutdown but did not capture its worker stacks.

* test(cron): await rearm tick completion instead of disk timing

The Windows run completed the first and last jobs correctly, but rescheduling took over three seconds inside a two-second timeout. Await the original timer task, detect an early exit before callback entry, and preserve job-order, cancellation, persistence and rearming assertions. Keep real disk writes and all parameterized cases.

Also place the goal-shutdown diagnostic import in the existing first-party group.

---------

Co-authored-by: Xiaoyu-hub <17346801517@163.com>
2026-10-28 21:37:23 +08:00
chengyongru 219c8bb2bc fix(agent): preserve streamed replies after model failures (#6494)
* fix(agent): preserve streamed replies after model failures

* test(webui): settle lazy imports and async settings saves

* test(agent): synchronize estimation checks at the operation boundary

* docs(webui): explain retained replies after stream failures
2026-10-27 16:22:33 +08:00
chengyongru d1451e30e9 feat(webui): add compact batch archive actions 2026-10-27 09:36:22 +08:00
chengyongru 7e5dcb79e0 feat(webui): complete bang commands and literal output (NAN-291) (#6173)
* feat(webui): complete direct bang shell commands

Reuse the gateway user-shell side channel, retain failed drafts without reconnect replay, and preserve literal output across live delivery and history. Highlight the bang prefix before and after sending.

NAN-291

* fix(clients): preserve literal shell output through display metadata
2026-10-26 23:35:26 +08:00
chengyongru 9b3af7b66c feat(webui): keep delegated work within reach (#6443) 2026-10-26 13:16:44 +08:00
Xubin Ren 44a7ef53ce fix(webui): keep local appearance ready during settings loads 2026-10-25 22:14:58 +08:00
Xubin Ren ef8271b2c0 feat(webui): refine appearance and add custom reading sizes 2026-10-25 22:14:58 +08:00
Xubin Ren 0bdc24a891 feat(webui): show image attachments as composer thumbnails 2026-10-25 00:09:24 +08:00
Xubin Ren 0b22c1875a fix(webui): separate file cards from media previews 2026-10-24 23:55:10 +08:00
chengyongru 6ace6068d7 fix(webui): check for updates only after opening About (#6397)
* fix(webui): check for updates only after opening About

* docs(agent): require meaningful behavioral test assertions
2026-10-22 21:04:21 +08:00
chengyongru 254f94b068 feat(attachments): support local files and video attachments (#6321)
* feat(attachments): support local files and video attachments

Share gateway inspection and send validation for borrowed local paths while preserving binary uploads, original-file ownership, and existing limits.

Related to NAN-284. Native provider video input remains outside this change.

* test: make cross-platform verification fixtures self-contained

* test(webui): align typed fixtures with runtime contracts

* fix(webui): preserve uploaded video playback during history sync

* test(tui): preserve local attachment drafts across resizes

* perf(attachments): preserve upload caches and release video previews

* docs(webui): keep attachment guidance user-focused

* chore: remove redundant dependency comment

* test(providers): make stream idle renewal timing deterministic

* fix(attachments): keep upload byte limits out of local references

Validate common format/count rules separately from upload byte budgets. Keep local inspection and send-time checks metadata-only, and exclude local references from composer and pending-upload totals. Explain upload size rejections with actual size and maximum in all ten locales. Related to NAN-284.

* fix(attachments): retain image references and draft order

* fix(attachments): close local reference UX and authorization gaps

* fix(attachments): preserve focus during asynchronous path confirmation
2026-10-22 18:32:18 +08:00
chengyongru 7dfeff9ddf fix(webui): keep restored waiting messages manual (NAN-275) (#6393) 2026-10-22 17:43:28 +08:00
chengyongru 169062be11 fix(webui): offer restart in installed channel rows (NAN-334) (#6392)
* fix(webui): offer restart in installed channel rows (NAN-334)

* fix(webui): align channel restart icon and hover hint

* fix(webui): explain channel installs blocked by restart
2026-10-22 17:03:02 +08:00
chengyongru 08ca3b4525 refactor(webui): use native link actions and remove website previews (#6391)
* refactor(webui): remove website previews and custom link menus

* docs(webui): focus guide on product-specific usage
2026-10-22 16:34:54 +08:00
Xubin Renandchengyongru fbb61a373f feat(update): integrate managed installs and recoverable in-app updates (#6168)
Add owner-aware Stable and Preview updates with explicit consent, verified release plans, protected process handoff and bounded service recovery. Keep configuration and conversations separate from program rollback.

Include the compact About controls, Windows long-path support, native package recovery checks and optional macOS Dock lifecycle integration. Preserve documented guidance for installations owned by other managers.

This code integration does not publish packages, enable signing or advance the public update channel.

Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
2026-10-21 19:16:56 +08:00
chengyongru 743c51e81f fix(webui): stabilize earlier-history loading and reclaim space (#6349)
* fix(webui): retain smoothly revealed history loading headers

* refactor(webui): simplify history loading feedback

* fix(webui): keep retained history headers clear of preceding text

* fix(webui): reclaim completed history loading space

* refactor(webui): group history projection handoff with navigation

* test(webui): synchronize history motion observations

* fix(webui): collapse history completion geometry handoff
2026-10-21 13:10:05 +08:00
Xubin Ren 28f6c26946 fix(webui): recover model failures and align chat controls 2026-10-21 02:34:09 +08:00
chengyongru 282839cc65 feat(webui): add reading text size preferences (#6325)
* feat(webui): add reading text size preferences

* fix(webui): align loading skeletons with reading typography
2026-10-20 16:33:05 +08:00
chengyongru 909b277e7a fix(webui): recognize typed session handles as references (#6311)
* fix(webui): recognize typed session handles as references

Refs NAN-286

* refactor(webui): simplify session reference handling

* fix(webui): recognize mentions after punctuation

* docs(webui): focus topic references on usage
2026-10-20 01:05:11 +08:00
chengyongru 125d9221d0 fix(webui): merge consecutive waiting messages (#6309)
* fix(webui): merge consecutive waiting messages

* fix(webui): retain legacy draft session targets on refresh
2026-10-19 21:06:46 +08:00
chengyongru f57018aa7f feat(webui): render Mermaid diagrams with Pele (#6302)
* feat(webui): render Mermaid diagrams with Pele

* fix(webui): reserve diagram replacement capacity

* fix(webui): prebundle lazy diagram worker dependencies

* fix(webui): account diagram capacity by encoded size

* fix(webui): use shared hover hints for diagram actions

* docs(webui): focus diagram guide on usage
2026-10-19 17:16:20 +08:00
chengyongru 1832255995 docs: make user guidance easier to follow 2026-10-19 10:11:45 +08:00
Xubin Ren f9a3e55b64 perf(webui): revalidate prompt summaries and bound navigation work 2026-10-18 17:13:18 +08:00
Xubin Ren bf1eada575 fix(webui): navigate complete prompt history with bounded pages 2026-10-18 17:13:18 +08:00
chengyongru d9537bcc94 feat(webui): rename sidebar topics inline 2026-10-18 01:48:42 +08:00
Xubin Ren 0869c928a2 feat(webui): preview Markdown files with a source toggle 2026-10-18 00:14:36 +08:00
chengyongru fdeda8a468 fix(webui): reconcile turns after reconnect (#6211)
* fix(webui): reconcile turns after reconnect

* perf(webui): bound reconnect recovery and index turn reconciliation

* refactor(webui): simplify reconnect reconciliation

* fix(webui): preserve turn authority during recovery

* fix(webui): validate canonical completion identities
2026-10-16 11:38:05 +08:00
chengyongru cd2a863710 feat(skills): explain nanobot usage from bundled documentation (#6176)
* feat(skills): add nanobot documentation guide with bundled docs

* docs: prefer graphical setup and align bundled guides with runtime

* docs: lead provider setup with built-in endpoint defaults

* fix: preserve documentation packaging and lookup across install paths

* fix(skills): narrow documentation loading to relevant sections

* refactor(skills): keep documentation guidance concise

* fix(docs): complete first-use workflows and clarify runtime boundaries

* style(docs): remove manual paragraph wrapping

* docs: guide first-run users to conversational setup help

* docs: fold README installation alternatives and details

* docs: separate README alert marker from its body

* docs: clarify README onboarding and runtime boundaries
2026-10-13 00:44:25 +08:00
chengyongru 73af08efab fix(webui): allow switching Default permissions back to Full Access (#6175)
* fix(webui): allow authenticated access mode switching

* refactor(webui): remove constant full access eligibility helpers

* refactor(webui): remove obsolete full access policy parameter

* docs(webui): remove redundant access switching paragraph

* refactor(webui): remove obsolete full access capability
2026-10-12 15:39:33 +08:00
chengyongru 41f2eeb7ba fix(webui): support WSL browser launch and clearer startup output (#6150)
* feat(webui): add local first-run access setup

* feat(webui): defer password setup until network access

Keep generated local credentials and provide the full browser login link in every launch mode. Require a chosen password when enabling network access, preserve existing authentication, and show pending listener changes until restart.

Remove mandatory first-run initialization gates and simplify startup output while retaining gateway warnings and errors.

* fix(webui): align access settings with channel contracts

* fix(webui): clarify startup guidance and spacing

* fix(webui): keep setup guidance readable in narrow terminals

* fix(webui): clarify startup and preserve remote password access

* fix(webui): move access explanations into settings hints

* fix(webui): require strong ASCII passwords and reject malformed auth

* fix(webui): simplify access password character rules

* test(webui): reflect pending restart after password save

* fix(webui): open Windows browser from WSL

* fix(webui): clarify public access copy

* refactor(webui): focus on WSL launch and startup output

* fix(webui): preserve platform browser fallback
2026-10-12 10:53:11 +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 fb605ddc7b fix(webui): compact saved locations and remove directory shortcuts 2026-10-08 20:33:15 +08:00
chengyongru b33b1e4ae5 fix(webui): unify picker layout and directory navigation 2026-10-08 20:33:15 +08:00
chengyongru 56ad142e79 fix(webui): preserve picker views and refine folder controls 2026-10-08 20:33:15 +08:00
Xubin Ren f78a0994c8 fix(webui): preserve picker compatibility and column keyboard navigation 2026-10-08 20:33:15 +08:00
chengyongru 8a795b428e refactor(webui): remove obsolete native workspace picker paths 2026-10-08 20:33:15 +08:00
chengyongru d5dc59ea76 fix(webui): keep workspace selection in one dialog 2026-10-08 20:33:15 +08:00
chengyongru 63e172b2b1 docs(webui): keep guide structure and concise feature notes 2026-10-08 20:33:15 +08:00
chengyongru ee7eda3084 fix(webui): reveal favorite stars on hover and trim user guide 2026-10-08 20:33:15 +08:00
chengyongru 66c8d41f66 feat(webui): add a host directory picker and refine composer controls 2026-10-08 20:33:15 +08:00
chengyongru 6ff96f2a8f feat(subagent): add session-owned task messaging and cancellation (#5985)
let's go!
2026-10-05 05:16:33 +08:00
Xubin Ren 1ea981e417 fix(webui): restore sidebar focus after submenu Escape 2026-10-04 22:09:56 +08:00
Xubin Ren 3e3d8e3d76 fix(webui): restore sidebar menu focus on Escape 2026-10-04 21:52:35 +08:00
Xubin Ren 6b24ed80ad fix(webui): make sidebar actions discoverable on touch devices 2026-10-04 20:44:10 +08:00
Xubin Ren 948ce38246 fix(webui): keep touch form fields readable without focus zoom 2026-10-04 20:26:15 +08:00
Xubin Ren ce89f7caf7 fix(webui): preserve search results and dialog scrolling with landscape keyboards 2026-10-04 20:14:21 +08:00