1408 Commits

Author SHA1 Message Date
程序员阿江(Relakkes)
ecb66bfdd5 fix(desktop): unblock Windows installer upgrades #1000 2026-07-14 03:16:12 +08:00
程序员阿江(Relakkes)
4c3b08c0a4 fix(security): harden desktop request isolation 2026-07-14 02:12:03 +08:00
程序员阿江-Relakkes
d3bf146c46
Merge pull request #1015 from toBerlinWay/feat/security-hardening
feat: harden local server access policy and isolate remote preview permissions
2026-07-14 01:54:02 +08:00
程序员阿江(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
toBerlinWay
703e8d066c feat: harden local server access policy and isolate remote preview permissions 2026-07-13 16:55: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)
fb4c4f7684 fix(permission): speed up Auto mode switching #978 2026-07-13 12:54:31 +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 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)
20bb86ab63 fix(server): keep Explorer windows visible #983
Do not pass windowsHide to detached GUI open targets, which forwards SW_HIDE to Explorer and IDE windows on Windows. Preserve detached process lifetime and ignored stdio.

Tests: open-target 33/33; server 1624/1624; coverage 5/5 with changed lines 6/6; real macOS Finder reveal passed for a temporary CJK and ampersand path.

Remaining validation: packaged Windows 11 Explorer and IDE window smoke.

Confidence: high

Scope-risk: narrow
2026-07-11 04:37:30 +08:00
程序员阿江(Relakkes)
936d970751 fix(server): expose desktop sessions to Claude resume #988
Stamp desktop-owned transcripts with the claude-desktop entrypoint while preserving the SDK runtime entrypoint used for provider authentication.

Tests: focused regression 41/41; chat contract 240/240; server 1622/1622; coverage 5/5 with changed lines 4/4.

Live-path proof: hermetic loopback transcript was visible in Claude Code 2.1.206 /resume; no real user credentials or config were used.

Constraint: check:impact remains policy-blocked until a PR has the allow-cli-core-change label.

Confidence: high

Scope-risk: narrow
2026-07-11 04:08:43 +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)
060a134ca1 fix(provider): require thinking for Kimi K2.7 #986
Model Kimi K2.7 as required-thinking so a global disabled preference cannot generate an unsupported request. Keep K2.6 and other providers free to disable thinking.

Tested: request-shape loopback through the query pipeline
Tested: bun run check:provider-contract
Tested: bun run check:server (1608 tests)
Tested: bun run check:coverage
Not-tested: live Kimi completion blocked by insufficient provider balance
Constraint: CLI core changes require allow-cli-core-change approval for PR
Confidence: high
Scope-risk: moderate
2026-07-11 01:07:22 +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)
43d6776270 fix(server): deduplicate scheduled task output #989
Avoid appending the final result when it repeats the assistant text while preserving distinct result summaries.

Tested: bun test src/server/__tests__/cron-scheduler.test.ts
Tested: bun run check:server
Tested: live MiniMax stream-json duplicate comparison
Tested: changed-line coverage 100% (9/9)
Confidence: high
Scope-risk: narrow
2026-07-11 00:35:11 +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)
8cada04d10 fix(ci): align local verify with PR policy
Fail PR and release quality runs when the impact policy blocks the diff, and accept root-runtime regression coverage across service and utility seams.

Tested: bun run check:policy
Confidence: high
Scope-risk: narrow
2026-07-10 20:37:43 +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
程序员阿江-Relakkes
bf82a29b60
Merge pull request #999 from zhbdesign/patch-27
进行中的会话禁止切换权限
2026-07-10 17:56:11 +08:00
zhb
b917072cc6
进行中的会话禁止切换权限
进行中的会话禁止切换权限
2026-07-10 11:02:56 +08:00