Commit Graph
81 Commits
Author SHA1 Message Date
Sycun 4eda42dc10 feat: move token details to settings and show dashboard cache hit rate 2026-10-11 23:51:01 +08:00
Sycun cbd8073beb feat: move the one-click update into the system settings menu
The update console stops being a page of its own and becomes the last section
of 系统设置 (data-section="update", gated by update:read): the sidebar entry
and page-system-update are gone, the console markup lives in
settings-section-update, and the settings menu is where an operator now finds
it. #system-update keeps working as an alias - both hash parsers normalize it
to settings + the update section - so existing deep links and docs keep landing.

Polling follows the new home: leaving the settings page (router) or switching
to another section (settings.js) stops it, selecting the section loads the
console, and returning to the settings page with the section still selected
re-reads the install tree and re-arms the poller (a frozen progress read is
the "nothing is happening" picture an operator must never be shown).

The guard suite follows the move: the old nav/page assertions become "must not
exist", the new ones pin the section, the alias, the poller handoff and the
retired nav.systemUpdate key (settings.nav.update replaces it in zh/EN/RU).
README and both developer/deployment guides say 系统设置 → 一键更新.
2026-10-07 22:52:56 +08:00
Ed1s0nZ 05d7d9ec65 fix: explain password validation errors and support login preview 2026-10-06 02:49:17 +08:00
Ed1s0nZ 76da98944c fix: mask stored credentials and validate agent saves 2026-10-06 02:04:14 +08:00
SycunandParallels 470eb5ead1 feat: add runtime storage cleanup with per-category retention (#310) (#313)
Runtime artifacts (agent workspaces, tool-output spill, C2 payloads, chat
uploads, workflow checkpoints, diagnostic logs) previously accumulated
without bound: most were only removed when a conversation or project was
deleted, and tmp/c2 plus workflow checkpoints were never removed at all.

Add a storage cleaner with named per-category tasks (Gitea-style), a
settings page tab, and a background sweep that is off by default so
upgrading never deletes existing data.

Safety properties, since mis-deleting live task data costs far more than
the disk saved:
- dry-run is the default; a real cleanup requires dry_run=false together
  with confirm=true at the API layer, not just a frontend dialog
- sessions active within active_grace_hours are always skipped, and a
  failed activity lookup skips conservatively (fail closed)
- directories whose conversation/project no longer exists are reclaimed
  as orphans after orphan_grace_days
- scanners never follow symlinks and every candidate path is confined to
  its category root; deletion renames to a .tmp-for-deletion marker first
  so a crash leaves recoverable residue instead of a half-deleted dir
- storage:* permissions are admin-only; without the grantSystemRolePermissions
  skip the default branch would have given operators an irreversible
  file-deletion right

Also fix two confirmed leaks: DeleteConversation left chat_uploads files
on disk (their rows already vanished via ON DELETE CASCADE), and workflow
checkpoints had no deletion path at all.

Co-authored-by: Parallels <parallels@kali-linux-2025-2.localdomain>
2026-09-25 14:46:23 +08:00
Ed1s0nZandCursor 38b96ec67a feat: add TypeSafe Jev as HITL audit backend
Let audit_agent approve or reject with one System One call instead of chat JSON, while keeping the OpenAI-compatible backend as an option.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 21:15:53 +08:00
temp fbbe984005 fix: refresh ai channel reasoning selects 2026-08-25 18:51:19 +08:00
temp abc00c1fef fix: auto-detect deepseek profile in settings 2026-08-25 18:40:49 +08:00
公明 e691c5d9c6 Add files via upload 2026-08-15 01:33:33 +08:00
公明 d3714c9913 Add files via upload 2026-08-06 17:12:21 +08:00
公明 cc0233d7b4 Add files via upload 2026-07-24 17:05:44 +08:00
公明 c326adbb66 Add files via upload 2026-07-24 14:53:44 +08:00
公明 7d1e9bdac4 Add files via upload 2026-07-24 14:08:19 +08:00
公明 151b445c74 Add files via upload 2026-07-24 11:44:35 +08:00
公明 f0b1955059 Add files via upload 2026-07-23 20:18:55 +08:00
公明 a83490f29c Add files via upload 2026-07-23 18:56:18 +08:00
公明 fa9229b435 Add files via upload 2026-07-21 20:42:43 +08:00
公明 c689122774 Add files via upload 2026-07-20 16:49:19 +08:00
公明 9f092388e1 Add files via upload 2026-07-17 16:51:35 +08:00
公明 68e3ead4d7 Add files via upload 2026-07-13 18:56:52 +08:00
公明 1abfd3d22a Add files via upload 2026-07-10 21:19:55 +08:00
公明 823fb47a81 Add files via upload 2026-07-10 19:46:14 +08:00
公明 04efc50161 Add files via upload 2026-07-10 16:37:14 +08:00
公明 f68d69d562 Add files via upload 2026-07-09 14:30:44 +08:00
公明 69e8d7020c Add files via upload 2026-07-09 11:26:31 +08:00
公明 84cbaa57dc Add files via upload 2026-07-07 11:31:38 +08:00
公明 404feb372e Add files via upload 2026-07-06 17:00:03 +08:00
公明 ecc75ee326 Add files via upload 2026-07-06 13:55:51 +08:00
公明 7b8b57907b Add files via upload 2026-07-06 11:31:13 +08:00
公明 a110d233e1 Add files via upload 2026-07-02 11:49:03 +08:00
公明 b7fa18b6d4 Add files via upload 2026-06-18 23:44:04 +08:00
公明 01b3d8056c Add files via upload 2026-06-18 21:09:00 +08:00
公明 25ce0b221f Add files via upload 2026-06-14 21:07:51 +08:00
公明 83e1c707ca Add files via upload 2026-06-12 22:04:57 +08:00
公明 bf0ce33e3f Add files via upload 2026-06-12 19:36:45 +08:00
公明 9e0525abc1 Add files via upload 2026-06-09 20:44:41 +08:00
公明 679a8192ae Add files via upload 2026-06-04 13:34:26 +08:00
公明 3a401ade68 Add files via upload 2026-06-03 17:08:59 +08:00
公明 b8b1e8431b Add files via upload 2026-06-02 13:34:12 +08:00
公明 98c2de2a60 Add files via upload 2026-05-22 17:08:05 +08:00
公明 b9bf8f62d4 Add files via upload 2026-05-20 17:48:42 +08:00
公明 a69bc93fa1 Add files via upload 2026-05-20 16:05:40 +08:00
公明 96e3dd397c Add files via upload 2026-05-19 18:48:17 +08:00
公明 030e69c02d Add files via upload 2026-05-14 11:49:08 +08:00
公明 278d5aa25c Add files via upload 2026-05-11 19:52:39 +08:00
公明 b27e443d37 Add files via upload 2026-05-04 13:07:37 +08:00
公明 531b05299a Add files via upload 2026-04-30 10:49:19 +08:00
公明 87cba37203 Add files via upload 2026-04-29 03:24:48 +08:00
公明 5100924abe Add files via upload 2026-04-29 02:54:43 +08:00
公明 e04b5b66d7 Add files via upload 2026-04-22 11:06:00 +08:00