Commit Graph
1783 Commits
Author SHA1 Message Date
Yoko 8e41509eef Merge pull request #1109 from chaitin/fix-basic-daily-quota
fix: 基础会员额度文案调整为 10M
2026-08-18 19:44:33 +08:00
Yoko 27c6456ef2 Merge pull request #1107 from chaitin/fix-attach-stream-error
修复任务流连接错误上报及 ClickHouse 异常标记误判
2026-08-18 17:40:56 +08:00
yokowu 3f6313a969 升级 ClickHouse 驱动修复异常标记误判 2026-08-18 16:42:57 +08:00
yokowu 7b465ff00e fix: 基础会员额度文案调整为 10M 2026-08-18 15:37:42 +08:00
Yoko 8aeb430b89 Merge pull request #1095 from chaitin/feat-private-english
支持管理后台全站英文切换与国际化保护
2026-08-18 14:36:18 +08:00
yokowu ced7efbe68 按浏览器语言初始化并持久化手动选择 2026-08-18 14:31:37 +08:00
yokowu a36ebde606 修复任务流连接错误被吞掉 2026-08-18 12:30:37 +08:00
yokowu 40c366a5f1 支持管理后台全站切换语言 2026-08-17 19:44:03 +08:00
xiaomakuaiz 9be4fb4a1d Merge pull request #1094 from xiaomakuaiz/feat/desktop-session-skills
Feat/desktop session skills
2026-08-17 19:28:10 +08:00
yokowu e167c2c5d4 补强管理后台英文国际化回归测试 2026-08-17 19:20:24 +08:00
xiaomakuaiz 18e7b1c4d4 feat(desktop): materialize skills per engine session 2026-08-17 19:04:46 +08:00
xiaomakuaiz 051356902c update agent 2026-08-17 19:04:46 +08:00
xiaomakuaiz f330f3fe11 Merge pull request #1093 from xiaomakuaiz/fix/desktop-private-url-hot-reload
Fix/desktop private url hot reload
2026-08-17 17:56:25 +08:00
xiaomakuaiz 45a6375f47 update agent 2026-08-17 17:26:47 +08:00
xiaomakuaiz d8b92e64ae fix(desktop): restore context usage when reopening sessions 2026-08-17 17:10:19 +08:00
xiaomakuaiz 0ff35aaa45 update agent 2026-08-17 16:22:48 +08:00
xiaomakuaiz 53c8d31c80 fix(ui): keep streaming thought previews live 2026-08-17 16:22:43 +08:00
xiaomakuaiz d7ec016be3 fix(desktop): support current agent lifecycle events 2026-08-17 11:16:57 +08:00
xiaomakuaiz 002b64a53b fix(desktop): preserve agent lifecycle through compaction 2026-08-16 19:03:42 +08:00
xiaomakuaiz caa9cafcb4 fix(ui-next): restore early history after task switch 2026-08-16 17:46:27 +08:00
xiaomakuaiz b8b23633b6 fix(desktop): harden cloud transport hot reload 2026-08-16 17:39:47 +08:00
xiaomakuaiz 55e6048330 feat(ui-next): global UI zoom in general settings
Four tiers (90/100/110/125%) applied via Tauri webview setZoom — the
VS Code/Discord page-zoom mechanism, so text, icons, controls, columns
and the terminal scale in lockstep. Instant-apply preference channel
(localStorage, applied before first frame); browser mode falls back to
root CSS zoom. Adds the set-webview-zoom capability for the main window.
2026-08-16 16:27:10 +08:00
xiaomakuaiz 9d14dbec6e test(ui-next): repin group-label size to the new same-tier decision 2026-08-16 16:07:48 +08:00
xiaomakuaiz 94c9938272 polish(ui-next): folder group labels follow rows to 14px
Keep the quiet treatment (muted, medium weight, 12px icon); only the
text size joins the body tier now that rows render at 14px.
2026-08-16 16:05:23 +08:00
xiaomakuaiz f2b1e76013 fix(ui-next): sidebar lists back to the 14px body tier
menu-sm rendered rows at 12px with tightened padding, drifting from the
documented geometry (item padding 12px, rows 14px vs 12px group labels).
Default menu restores the intended hierarchy.
2026-08-16 15:58:24 +08:00
xiaomakuaiz 2eed5ea3a4 polish(ui-next): converge on a four-tier type scale
2xs(10, new @theme token) / xs(12) / body=sm(14) / lg(18). Replace all
arbitrary text-[10px]/text-[11px] values with tokens and fold the two
stray text-base uses into the lg tier; document the scale next to the
body font-size rule. Markdown and terminal keep their own relative
domains.
2026-08-16 15:41:45 +08:00
xiaomakuaiz 35506f0594 polish(desktop): make signed-in host names open the website
The connected service row and the Baizhi row now render their hosts as
external links (bare hosts from status get https:// prepended), matching
the inactive rows' domain links.
2026-08-16 15:13:33 +08:00
xiaomakuaiz 6bfb6fe2fb polish(desktop): explain the one-click bridge state
With a live Baizhi session and MonkeyCode disconnected, the connect
button appeared with no context; add the one line that says it reuses
the current Baizhi account, with password login below for switching.
2026-08-16 15:12:20 +08:00
xiaomakuaiz d355448285 polish(desktop): drop the tinted fill on the active service row
Keep only the primary accent bar; a full-block tint drowned the login
form in a wash of color.
2026-08-16 15:06:47 +08:00
xiaomakuaiz 57b7a7e7ea redesign(desktop): service-list account page
One three-way service list for both signed-in and signed-out states:
the active row expands (login methods when signed out — CN gets
WeChat/SMS/password tabs in the row header; usage tiles for quota,
credits and invites when signed in), inactive rows show their sign-in
method or a switch-to button. Switching never keeps the old session:
it reuses the disconnect flow (revoke -> logout -> clear member models)
before applying the new edition. Baizhi Cloud moves into an "other
accounts" card.
2026-08-16 00:11:49 +08:00
xiaomakuaiz 91f9bbfaff polish(desktop): drop edition switcher from signed-in account view
Switching edition means switching accounts, so the picker lives only on
the login page; signed-in users disconnect first. Bottom-align the
credits/check-in/invite row, and clamp long sync-result messages to two
lines (full text on hover).
2026-08-15 22:52:37 +08:00
xiaomakuaiz 19a8bd8de1 fix(ui-next): chat/cloud state races and terminal frame tolerance
- ChatView: the outline jump chain is session-scoped — retry/flash timers
  are cleared on session switch and the ensureLoaded continuation aborts
  once the session changed, so a stale chain can no longer hijack the new
  session's viewport on a colliding seq; the near-top auto-load is
  exempt while pinned to bottom (entering a short session used to trip
  it via the programmatic align scroll, stealing the follow flag so
  streaming output silently stopped following)
- CloudTaskList: invalidating group caches now refetches the groups that
  are still expanded (stop/reloadKey used to leave them blank with no
  rows, spinner, or empty hint until a manual collapse/expand), and the
  open set is read through a ref so stale closures frozen into the
  context menu cannot drop a group expanded while the stop was in flight
- App: the window title effect depends on locale — the native title used
  to stay in the previous language after switching until some other
  dependency happened to change
- terminal: termBytes tolerates bad base64 and returns empty bytes,
  matching parseTermFrame's dirty-frame contract; one bad data frame used
  to throw through the listen dispatch chain into the full-screen
  startup-error trap
2026-08-15 22:21:08 +08:00
xiaomakuaiz 88a3f89097 fix(desktop): close shell concurrency/lifecycle gaps from audit
- save_config/engine_restart: apply the cloud service snapshot before the
  engine restart, so a failed restart no longer strands the shell on the
  old private-service address; the auto-recovery paths re-apply from disk
  and heal any split state left by earlier failures
- telemetry: serialize load->report->save across tick/mark_used (cursor
  stomps double-counted installs; first run could persist two install ids)
- driver reader: skip non-UTF-8 stdout lines instead of treating them as
  EOF, and kill before wait in crash cleanup so a live process can no
  longer hang the reader thread and disable auto-restart
- sessions: delete waits for the in-flight resume, then takes the busy
  re-check + created/engine_id snapshot + map removal in one lock (ghost
  sidecar resurrection via resume or via the send error path, orphan
  engine sessions, resume watch entries leaking); compact's busy guard is
  atomic with its set and closing frames land before the busy flag
  clears; catch_up/cold-repair re-validate idleness before materializing
  so a concurrent turn is never double-materialized or force-closed
- browser: contentEditable clear uses ownerDocument (same-origin iframes
  silently kept old text); snapshot keeps the cross-origin-iframe hint
  unless every subsession was actually collected
- baizhi: file download gets a cancel-aware 1s tick plus a 120s idle
  timeout (half-open TCP used to hang forever with cancel dead); PoW
  challenge params are bounded — this also defines Challenge::valid()
  already referenced by mod.rs since 4957f837, repairing that build
- wsl: output drain window 200ms->5s with an explicit error instead of
  silently treating output as empty
- repo: C-unquote porcelain paths; the " -> " split only applies to R/C
- pet: reset drag state on WM_CAPTURECHANGED (try_lock against reentrant
  delivery) with a GetCapture precondition in WM_MOUSEMOVE
2026-08-15 22:20:50 +08:00
xiaomakuaiz 4957f837b8 feat(desktop): edition picker login page (CN/intl/self-hosted)
Account page redesign: MonkeyCode is the single account concept, and the
logged-out view is a login page with an edition switcher on top. Picking
an official edition applies instantly (silent config save, no save-bar
flash); self-hosted gets inline fields with an apply button. Sign-in
methods follow the edition: CN offers WeChat/SMS (Baizhi OAuth) plus
password, intl/self-hosted are password-only. Baizhi Cloud demotes to an
optional models/MCP sync service (hidden on intl). Resolve the intl
cloud llmproxy to proxy.monkeycode-ai.net/v1.
2026-08-15 22:17:20 +08:00
xiaomakuaiz 134a4728a0 fix(desktop): hot reload private service config 2026-08-15 18:33:06 +08:00
xiaomakuaiz 5da94b7881 Merge pull request #1070 from xiaomakuaiz/fix-stall
fix(desktop): eliminate long conversation input stalls
2026-08-15 18:00:39 +08:00
xiaomakuaiz 827188301e revert agent 2026-08-14 19:27:45 +00:00
xiaomakuaiz 9efe0de3b0 update agent 2026-08-14 20:35:03 +08:00
xiaomakuaiz 7b4426bef1 fix(ui-next): remove stale lint suppression 2026-08-14 20:35:03 +08:00
xiaomakuaiz 8139fd29ae fix(desktop): eliminate long conversation input stalls 2026-08-14 20:35:03 +08:00
xiaomakuaiz 5421d12a2c Merge pull request #1071 from xiaomakuaiz/fix/linux-wayland-backend
fix(desktop): Linux 按会话选择显示后端
2026-08-14 19:49:52 +08:00
xiaomakuaiz 05cedea98b fix(desktop): Linux 按会话选择显示后端 2026-08-14 17:51:33 +08:00
xiaomakuaiz 4a2486212b Merge pull request #1067 from xiaomakuaiz/fix/desktop-shell-environment
Fix/desktop shell environment
2026-08-14 16:48:25 +08:00
xiaomakuaiz be39f11e67 feat(desktop): 完善 Mermaid 图表显示与复制 2026-08-14 16:34:19 +08:00
xiaomakuaiz f34e4680af fix(ui-next): 对齐新建任务页签顺序 2026-08-14 16:19:39 +08:00
xiaomakuaiz 128c364bcb fix(desktop): 修复 Mermaid 图表渲染 2026-08-14 15:28:03 +08:00
xiaomakuaiz accbaef9e1 fix(desktop): 允许待办重新启动任务 2026-08-14 12:21:53 +08:00
xiaomakuaiz cec0153386 fix(desktop): 清理更新退出时的托盘资源 2026-08-14 12:15:03 +08:00
xiaomakuaiz 353d285c0f fix(ui-next): 避免待办输入法回车误保存 2026-08-14 12:07:59 +08:00
xiaomakuaiz b423c407ac fix(desktop): 支持 Dock 唤回主窗口 2026-08-14 12:03:55 +08:00