496 Commits

Author SHA1 Message Date
程序员阿江(Relakkes)
59a7bad2f9 fix(desktop): restore diff reference cards #1004 2026-07-14 01:41:54 +08:00
程序员阿江(Relakkes)
465fbafb3d fix(desktop): refine Auto icon 2026-07-14 01:41:42 +08:00
程序员阿江(Relakkes)
5178d7ceec feat(provider): add Grok official OAuth support 2026-07-13 21:24:55 +08:00
程序员阿江(Relakkes)
5d3c126d50 fix(desktop): align conversation content with composer #782 2026-07-13 19:53:50 +08:00
程序员阿江(Relakkes)
96fa164cb1 fix(desktop): streamline panel and effort controls 2026-07-13 18:33:48 +08:00
程序员阿江(Relakkes)
c5ad527034 fix(desktop): match Codex diff syntax rendering #1004 2026-07-13 17:28:54 +08:00
程序员阿江(Relakkes)
cc1eb4ee3a fix(desktop): refine diff review workbench #1004 2026-07-13 15:41:58 +08:00
程序员阿江(Relakkes)
f44442033e fix(permission): fix bypass switching and Auto confirmation #978 2026-07-13 14:59:53 +08:00
程序员阿江(Relakkes)
c550dbc07a fix(desktop): refine and restore effort selection #1007 2026-07-13 14:53:58 +08:00
程序员阿江(Relakkes)
f85b93e9c2 feat(desktop): redesign diff review workbench #1004 2026-07-13 13:33:19 +08:00
程序员阿江(Relakkes)
9734ad62b1 fix(desktop): add proximity wave to conversation navigation #782 2026-07-13 13:03:08 +08:00
程序员阿江(Relakkes)
4f17693da3 fix(desktop): refine Auto mode icon #978 2026-07-13 12:54:31 +08:00
程序员阿江(Relakkes)
74bdb3727d fix(desktop): refine conversation navigation #782 2026-07-13 11:22:47 +08:00
程序员阿江(Relakkes)
8cf1783159 fix(desktop): compact effort slider popover #1007 2026-07-13 11:01:56 +08:00
程序员阿江(Relakkes)
6c6d3c51e3 feat(desktop): add inline diff review flow #1004 2026-07-13 10:22:41 +08:00
程序员阿江(Relakkes)
69c4296a3f feat(desktop): add effort slider popover #1007 2026-07-13 10:20:15 +08:00
程序员阿江(Relakkes)
5871188084 fix(diagnostics): harden diagnostics and recovery flows
Make diagnostics evidence bounded, share-safe, and resilient to concurrent
writers and corrupt segments. Improve Doctor repair safeguards, Electron
runtime recovery, Settings visibility, accessibility, and issue reporting.
2026-07-12 00:26:04 +08:00
程序员阿江(Relakkes)
ad2a504bba feat(permission): add Auto mode #978 2026-07-11 20:06:36 +08:00
程序员阿江(Relakkes)
ace8862ff2 fix(desktop): keep permission actions visible #932 2026-07-11 17:41:49 +08:00
程序员阿江(Relakkes)
d9db7caea0 feat(desktop): add conversation navigation #782 2026-07-11 14:48:23 +08:00
程序员阿江(Relakkes)
3fecbafcb5 fix(desktop): preserve Mermaid cylinder labels 2026-07-11 05:26:53 +08:00
程序员阿江(Relakkes)
4d23896f39 fix(desktop): hide background stop control for SubAgents 2026-07-11 05:20:01 +08:00
程序员阿江(Relakkes)
d6cd0f1fc7 Merge branch 'main' into HEAD 2026-07-11 03:25:58 +08:00
程序员阿江(Relakkes)
caa6e4ca00 merge: GPT-5.6 OpenAI support (#997) 2026-07-11 02:56:38 +08:00
程序员阿江(Relakkes)
0fa6452cf2 fix(openai): support GPT-5.6 models (#997)
Load the authenticated Codex model catalog with a bundled fallback and carry model-native reasoning effort through the OpenAI OAuth transport. Keep desktop effort choices aligned with each model's advertised capabilities.

Constraint: Ultra remains a composite Codex delegation mode and is not exposed as a wire-level effort.
Confidence: high
Scope-risk: moderate
Tested: bun run check:server; bun run check:desktop; bun run check:persistence-upgrade; focused OAuth, WebSocket, and browser smoke checks
Not-tested: bun run verify
2026-07-11 02:55:41 +08:00
程序员阿江(Relakkes)
d6c156af17 fix(desktop): control background task lifecycle #990
Keep AutoDream visible without marking the foreground session busy, add a task-scoped stop control, and preserve the authoritative stopped bookend emitted by the CLI runtime.

Tested: bun run check:desktop

Tested: bun run check:server

Tested: bun run check:chat-contract

Tested: bun run check:coverage

Tested: real MiniMax-M3 browser smoke for background stop and AutoDream busy-state isolation

Confidence: high

Scope-risk: moderate
2026-07-11 01:50:33 +08:00
程序员阿江(Relakkes)
46dca4e961 test(desktop): cover permission guard transitions
Exercise controlled changes, repeated trigger closure, tab switches, and both bypass dialog close paths so the changed-line coverage gate proves the full active-turn guard.\n\nTested: desktop PermissionModeSelector 14/14; adapters and H5 auth 51/51\nConfidence: high\nScope-risk: narrow
2026-07-10 23:05:57 +08:00
程序员阿江(Relakkes)
173d6a84fc fix(ci): isolate deterministic PR test evidence
Run required server and contract suites in credential-free sandboxes, fail closed on incomplete coverage or test output, and preserve the desktop active-turn permission guard across stale tab interactions.\n\nTested: bun run check:policy (115 pass); bun run check:server (1605 pass before final runner evidence check); bun run check:desktop; bun run check:provider-contract; bun run check:chat-contract\nConfidence: high\nScope-risk: broad
2026-07-10 22:59:02 +08:00
程序员阿江(Relakkes)
a6964f1932 fix(desktop): complete active-turn permission guard
Close open permission overlays when a turn starts, reject stale permission-mode writes in the chat store, and add the missing localized tooltip strings and transition regressions.\n\nFollow-up-to: #999\nTested: bun run check:desktop\nConfidence: high\nScope-risk: narrow
2026-07-10 18:10:57 +08:00
程序员阿江(Relakkes)
745112a136 fix(desktop): remove activity count badge
Keep the Activity entry available without showing persistent numeric attention markers.

Confidence: high
Scope-risk: narrow
Tested: bun run check:desktop
Not-tested: manual Electron visual smoke
2026-07-10 18:06:24 +08:00
程序员阿江(Relakkes)
899ec2c3b4 Merge remote-tracking branch 'origin/main' 2026-07-10 18:05:50 +08:00
zhb
b917072cc6
进行中的会话禁止切换权限
进行中的会话禁止切换权限
2026-07-10 11:02:56 +08:00
zhb
469c38ca2e
进行中的会话禁止切换权限
进行中的会话禁止切换权限
2026-07-10 11:01:46 +08:00
程序员阿江(Relakkes)
16d06a4f82 fix(desktop): prevent overlapping API polls #993
Coalesce concurrent session-list scans and keep desktop pollers from stacking requests while the local server is slow.

Tested: bun run check:server (1489 pass)
Tested: desktop focused tests, typecheck, and production build
Scope-risk: moderate
2026-07-10 04:05:26 +08:00
程序员阿江(Relakkes)
203eb6b00d feat(desktop): redesign skills market
Refresh the skills market catalog and detail surfaces with denser workbench layouts, clearer action hierarchy, and updated status treatments.

Tested: bun run check:desktop
Tested: real browser smoke for list, detail, filters, install confirmation, and light/dark themes
Confidence: high
Scope-risk: narrow
2026-07-10 03:33:28 +08:00
程序员阿江(Relakkes)
25f19fad69 fix(desktop): preserve concurrent permission prompts
Track tool and Computer Use approvals by request ID so parallel prompts remain independently actionable.
Reconcile resolution state across clients and reconnects, including stopped and completed turns.

Refs: #975, #980
Tested: bun run check:desktop (1778 tests)
Tested: bun run check:server (1482 tests)
Tested: agent-browser concurrent permission smoke
Not-tested: Windows packaged app manual smoke
Confidence: high
Scope-risk: moderate
2026-07-10 03:11:22 +08:00
程序员阿江(Relakkes)
840390de50 fix(desktop): preserve Mermaid shapes and summary truncation
Keep auto-quoting slash labels for generated Mermaid paths while preserving slash-delimited flowchart shapes.
Restore truncation on activity summary values so the compact summary layout and tests agree.

Tested: cd desktop && bun run test -- src/pages/ActivitySettings.test.tsx src/components/chat/MermaidRenderer.test.tsx src/components/chat/MermaidRenderer.integration.test.tsx
Tested: bun run check:desktop
Confidence: high
Scope-risk: narrow
2026-07-09 20:52:05 +08:00
程序员阿江-Relakkes
f02930739b
Merge pull request #979 from rechardguo/main
Feature(Desktop): #974 Add ctrl+F keyboard shortcut to open find-in-page
2026-07-09 20:47:08 +08:00
程序员阿江-Relakkes
fd542e4a44
Merge pull request #995 from zhbdesign/patch-25
修复mermaid渲染遗漏了 /(斜杠)
2026-07-09 20:45:39 +08:00
zhb
3e7c7de54a
修复mermaid渲染遗漏了 /(斜杠
修复mermaid渲染遗漏了 /(斜杠
2026-07-09 17:54:24 +08:00
zhb
83f8c66233
修复mermaid渲染遗漏了 /(斜杠)
修复mermaid渲染遗漏了 /(斜杠)
2026-07-09 16:23:07 +08:00
程序员阿江(Relakkes)
55ba2392c1 feat(desktop): 技能市场增加免责声明并优化卡片与主题适配
- 市场顶部新增可关闭的第三方技能免责声明,提示安装前先用 AI 扫描
- 图标缺失时改用按技能名生成的确定性彩色首字母头像
- 卡片视觉优化:隐藏冗余的"可安装"徽章、底部分隔线、hover 反馈
- 安全徽章增加 tooltip 解释各状态含义(五语言)
- 修复暗色主题下筛选器激活态对比度 1.3:1 不可读的问题,
  统一改用 brand-on-neutral 组合使三主题均达 WCAG AA
2026-07-09 15:07:30 +08:00
程序员阿江(Relakkes)
25ebc05a42 Merge skills market rewrite (worktree-refactor-skills-market-20260708)
Resolves conflicts with the independently developed skill-market/SkillCenter
feature that landed on main after this branch diverged. Keeps the market
rewrite as the sole implementation:

- Removes the parallel skill-market stack (server api/skill-market.ts,
  services/skillMarket/, SkillCenter.tsx, skillMarketStore.ts, related tests
  and i18n keys) in favor of the market implementation from this branch.
- Restores the Settings > Skills tab (and its redirect-free behavior) that
  the removed implementation had folded into a top-level Skill Center tab,
  keeping local skill browsing on SkillDetailView alongside the online market.
- Adapts tests and callers (TabBar, ContentRouter, PluginDetail,
  LocalSlashCommandPanel, persistence migrations) from skill-center/
  SKILL_CENTER_TAB_ID naming to market/MARKET_TAB_ID.
2026-07-08 22:19:51 +08:00
程序员阿江(Relakkes)
536b4584d3 feat(desktop): 新增技能市场功能,聚合 ClawHub 与 SkillHub
- server 层新增 market 服务:聚合两个上游、跨来源去重、TTL 缓存与降级、原子安装/卸载
- 桌面端新增市场页面(搜索/筛选/分页/详情/文件预览/安装确认),挂载为侧边栏顶层 Tab
- 本地已装技能详情页改造为与市场详情共用同一套展示组件,并支持卸载
- 5 语言 i18n 补齐,新增 server/desktop 测试覆盖
2026-07-08 20:43:50 +08:00
程序员阿江(Relakkes)
f6115e91aa feat(desktop): refine activity panel agent interactions
Add generated local Agent mascot PNG assets for SubAgent activity rows and render them through a deterministic AgentMascot component.

Keep tool-call groups collapsed by default and preserve user collapse choices while streaming tool updates arrive.

Tighten the activity panel density while keeping running SubAgents visibly animated without adding runtime image generation.

Tested: cd desktop && bun run test -- src/components/activity/AgentMascot.test.tsx src/components/activity/SessionActivityPanel.test.tsx src/pages/ActiveSession.test.tsx --run

Tested: cd desktop && bun run test -- src/components/activity/AgentMascot.test.tsx src/components/activity/SessionActivityPanel.test.tsx src/components/chat/MessageList.test.tsx src/components/chat/chatBlocks.test.tsx --run

Tested: git diff --check

Tested: bun run check:desktop

Tested: browser smoke at http://127.0.0.1:1420/ with 12 PNG mascot variants loaded at 160x160 and rendered at 30x30.

Confidence: high

Scope-risk: moderate
2026-07-08 15:56:00 +08:00
程序员阿江(Relakkes)
f269887fe7 fix: float browser preview zoom controls (#952)
Move the preview zoom control out of the address toolbar and into a bottom-right floating control area inside the browser preview stage. Keep the native WebContentsView bounds clear of the control strip so the DOM control remains interactive on high-DPI Windows displays.

Tested: cd desktop && bun run test -- src/components/browser/BrowserSurface.test.tsx

Tested: cd desktop && bun run lint

Tested: cd desktop && bun run build

Not-tested: Windows high-DPI real-device smoke.

Confidence: medium

Scope-risk: narrow
2026-07-08 14:53:06 +08:00
rechard-guo
b7efaabcdc Feature(Desktop): #974 Add ctrl+F keyboard shortcut to open find-in-page 2026-07-07 11:29:38 +08:00
程序员阿江(Relakkes)
75ddd158b4 fix(desktop): improve activity panel interactions
Tested: cd desktop && bun run test -- src/components/activity/SessionActivityPanel.test.tsx src/pages/ActiveSession.test.tsx src/pages/SubagentRunPage.test.tsx --run
Tested: bun run check:desktop
Tested: browser smoke for activity panel auto-open and SubAgent run rendering
Not-tested: full bun run verify was not run for this scoped desktop handoff
Confidence: high
Scope-risk: narrow
2026-07-06 21:12:24 +08:00
程序员阿江(Relakkes)
ce7b2b4292 fix: restore settings after skill center split
Tested: cd desktop && bun run test -- skillsSettings.test.tsx tabStore.test.ts uiStore.test.ts persistenceMigrations.test.ts TabBar.test.tsx SkillCenter.test.tsx --run
Tested: bun run check:desktop
Tested: git diff --check
Not-tested: full bun run verify was not run for this scoped desktop fix.
Confidence: high
Scope-risk: narrow
2026-07-06 20:12:02 +08:00
程序员阿江(Relakkes)
15b3acc85b fix: stabilize browser preview zoom on high DPI
Constraint: Keep preview zoom native through WebContentsView.setZoomFactor so screenshot and selection coordinates stay aligned.
Tested: cd desktop && bun run test -- src/components/browser/BrowserSurface.test.tsx src/components/browser/computeWebviewBounds.test.ts
Tested: cd desktop && bun test electron/services/preview.test.ts
Tested: cd desktop && bun run lint
Tested: cd desktop && bun run check:electron
Tested: cd desktop && bun run build
Not-tested: Windows 225% display-scaling smoke; no Windows host is available in this worktree.
Confidence: medium
Scope-risk: moderate
2026-07-06 18:48:42 +08:00