Commit Graph
8 Commits
Author SHA1 Message Date
sorrow404null 437e4a3213 perf(webview2): avoid queuing fire-and-forget scripts 2026-09-19 23:45:16 +08:00
sorrow404null 5ae660574e chore: re-submit 2026-09-18 changes to verify webhook
- feat(config): add atomic configuration persistence
- fix(ui): repair chat and model settings rendering
- fix(capture): map selections across high-DPI displays
- fix(webview2): scale native bounds for fractional DPI
- chore: remove test scripts from distribution
2026-09-18 16:13:05 +08:00
sorrow404null 156f94e840 fix(webview2): fall back to byte[] assembly load and guard instance lock
Assembly.LoadFrom can fail on volumes .NET misclassifies as remote; fall back to Assembly.Load(byte[]). Broaden exception handling to BaseException for pythonnet, and skip WebView2 warmup/taskkill when the instance lock is held by another process.
2026-09-17 16:40:03 +08:00
sorrow404null 554be4f92b feat(renderer): platform-gated dual renderer backend with isolated QtWebEngine profiles
Windows prefers WebView2, Linux uses QtWebEngine only; pythonnet deps are win32-marked. Each QtWebEngine instance gets its own profile under data/webengine, and Chromium flags are sanitized before QApplication (--no-sandbox accepted only for explicit root/container use).
2026-09-17 16:40:03 +08:00
sorrow404null 342e53df02 fix(agent): make compaction settings dataclass compatible with Python 3.11+
Use field(default_factory=...) instead of a mutable-default-class instance, which Python 3.11+ dataclasses reject at import time.
2026-09-17 16:40:02 +08:00
sorrow404null 60200260ab feat(agent): unified cross-platform shell execution contract (cmd/bash)
Windows runs 'cmd.exe /d /s /c <command>' as a string command line; Linux uses ['/bin/bash', '-lc', command]. Removes implicit shell=True behavior and aligns the agent system prompt per platform.
2026-09-17 16:40:02 +08:00
sorrow404null ce56c77023 feat(config): isolate config and database via HAOCODE_CONFIG_FILE override
core/config_paths.py resolves a single override so tests and multiple instances can run against isolated temp config/db without touching user data.
2026-09-17 16:40:02 +08:00
sorrow404null a7412824e0 chore: import original project baseline
Import the pre-repair source tree as the history baseline.
Runtime data (data/), virtualenvs, bytecode caches and logs are
gitignored so local secrets and user state stay out of the repo.
2026-09-17 16:40:01 +08:00