906 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)
347dbc3368 fix(desktop): preserve Windows data directories #959 #973 #1000 2026-07-11 21:09:19 +08:00
程序员阿江(Relakkes)
ad2a504bba feat(permission): add Auto mode #978 2026-07-11 20:06:36 +08:00
程序员阿江(Relakkes)
c80b943e34 fix(desktop): avoid browser-blocked server ports #961 2026-07-11 17:45:32 +08:00
程序员阿江(Relakkes)
ace8862ff2 fix(desktop): keep permission actions visible #932 2026-07-11 17:41:49 +08:00
程序员阿江(Relakkes)
78ef57d63d fix(desktop): reconcile orphan thinking after reconnect #1002 2026-07-11 16:57:26 +08:00
程序员阿江(Relakkes)
d9db7caea0 feat(desktop): add conversation navigation #782 2026-07-11 14:48:23 +08:00
程序员阿江(Relakkes)
d1e684c419 release: prepare v0.4.7 2026-07-11 05:32:11 +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)
8320a36195 fix(desktop): isolate app theme from Claude CLI #987
Keep the desktop appearance in cc-haha local storage instead of reading or writing the user-owned Claude settings theme.

Tested: bun run test -- src/stores/settingsStore.test.ts
Tested: bun run check:desktop
Tested: bun run check:coverage
Tested: agent-browser theme isolation smoke with temporary CLAUDE_CONFIG_DIR
Confidence: high
Scope-risk: narrow
2026-07-11 00:44:20 +08:00
程序员阿江(Relakkes)
08dd64596a fix(ci): root explicit Bun test filters
Avoid Bun filter-mode repository scans that exhaust macOS file descriptors and corrupt subprocess test evidence. Apply rooted filters across server, contract, coverage, persistence, policy, desktop native, and adapter test entrypoints.

Confidence: high

Scope-risk: narrow

Tested: bun run check:policy; bun run check:server; bun run check:chat-contract
2026-07-10 23:49:46 +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)
435e4ccc9f ci: harden deterministic PR quality gates
Route required checks by changed surface, add offline provider and chat contracts, and keep fork PRs independent of live credentials. Layer agent guidance by subtree and enforce a compact instruction budget.

Tested: bun run check:policy
Confidence: high
Scope-risk: broad
2026-07-10 20:29:01 +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)
bbb862a41a fix(runtime): recover stalled long-running turns
Retry idle provider streams only before tool side effects, and reconcile desktop turn state after WebSocket gaps so completed or still-running work cannot leave a stale spinner.

Tested: 108 runtime/server focused tests, 128 desktop focused tests
Tested: disconnected-turn WebSocket integration test
Tested: bun run check:server (1489 pass)
Tested: desktop typecheck and production build
Not-tested: full desktop gate has one unrelated TraceSession polling assertion failure
Scope-risk: broad
2026-07-10 04:05:33 +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)
62be2e6fc3 Merge remote-tracking branch 'origin/main' 2026-07-09 20:49:19 +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
cd6733acf9
Merge pull request #991 from zhbdesign/patch-23
欢迎词优化,改为"构建、调试和设计"更符合中文表达习惯
2026-07-09 20:46:10 +08:00
程序员阿江-Relakkes
fd542e4a44
Merge pull request #995 from zhbdesign/patch-25
修复mermaid渲染遗漏了 /(斜杠)
2026-07-09 20:45:39 +08:00
程序员阿江-Relakkes
c54475cbc1
Merge pull request #992 from zhbdesign/patch-24
修复token用量最长任务时长显示省略号
2026-07-09 20:20:41 +08:00