Commit Graph
1436 Commits
Author SHA1 Message Date
digua 967bfe1084 feat(startup): use splash animation as preload window 2026-08-08 21:47:47 +08:00
digua 5e8d1caf30 perf(sessions): reuse validated overview cache on startup 2026-08-08 21:47:47 +08:00
digua 3b123b15f2 perf(startup): progressively initialize renderer shell 2026-08-08 21:47:47 +08:00
digua d734389f29 fix(electron): align Windows title bar hover
Use native Window Controls Overlay geometry and sampled background colors so caption hover and drag regions track the system title bar.

Forward original Windows close-handler errors to the shared logger so failures retain their stack traces.
2026-08-07 22:37:04 +08:00
digua 3db40375b6 fix(electron): default Windows close to background
Remove the one-time close prompt and remembered-choice path so Windows close behavior is always explicit and predictable. New installations now minimize to the system tray by default, while users can still choose to quit from settings.
2026-08-07 20:29:37 +08:00
digua 35880228b7 feat(electron): add Windows close-to-tray behavior 2026-08-07 20:29:37 +08:00
digua b7f59a75ea fix(ai): bound bootstrap context compression
Compress oversized browser history in model-sized stages so switching to a smaller model can recover. Bound the recent-history fallback when summarization fails without deleting persisted messages.
2026-08-07 15:35:29 +08:00
digua 9ded83c7ad fix(ai): use conservative custom model context windows
Avoid matching OpenAI-compatible model IDs across providers. Use an 8K fallback so automatic compression runs before unknown providers reject long conversations.
2026-08-07 15:35:29 +08:00
digua 17320045dc feat(ai): enable automatic context compression 2026-08-07 15:35:29 +08:00
digua 5c7ad41b23 docs: thank OpenAI for open source support 2026-08-07 15:35:29 +08:00
digua 5c8b5df2d3 fix(web): normalize AI conversation timestamps
Convert Browser Runtime millisecond timestamps at the Web presentation boundary so the shared conversation list keeps its seconds-based contract.
2026-08-07 13:40:39 +08:00
digua 23bfd7aec4 feat(web): unify Web WASM AI experience 2026-08-07 13:40:39 +08:00
digua 11eef47a7e feat(insight): add customizable report card themes
Give color-only theme controls localized positional labels and expose their selected state without adding visible scheme names.
2026-08-06 22:19:52 +08:00
digua 25071890b2 ci(release): streamline stable and prerelease publishing
Limit prereleases to desktop artifacts, keep stable releases gated on CLI success, and start Docker publishing as soon as the npm package is available.
2026-08-06 16:02:40 +08:00
digua 78e90abb3f fix(electron): close export database handles
Close the uncached readonly adapter after every Desktop export so Windows can delete the session without restarting. Add regression coverage for the successful export lifecycle.
2026-08-06 15:17:44 +08:00
digua 1a774592ff fix(electron): close worker database before deleting sessions 2026-08-06 15:17:44 +08:00
digua b130e43e73 release: v0.34.3 v0.34.3 2026-08-06 14:29:39 +08:00
digua 202b9d70f7 fix(insight): restore activity calendar colors 2026-08-05 22:24:32 +08:00
digua b569293846 fix(import): stabilize QQ automatic session matching
Match ownerless QQ exports safely across UID and UIN drift, preserve merged message scopes through single and batch imports, and apply only sender mappings proven by overlapping platform message IDs. Reject incomplete group mappings to avoid member identity corruption.
2026-08-05 22:16:24 +08:00
digua f0d4fdeeb3 fix(merge): preserve valid session identity metadata
Carry owner metadata through merge exports when every source agrees and the owner resolves to a merged member. Drop conflicting or unmappable owner identifiers.
2026-08-05 22:16:24 +08:00
digua 9ac7f1abeb fix(parser): omit unreliable QQ owner metadata
QCE exports can mix UIN and UID namespaces while exposing only observed senders. Keep owner metadata unset across TypeScript, chunked, and native parser paths unless it can be mapped safely.
2026-08-05 22:16:24 +08:00
digua c883e6ab47 fix(merge): isolate ambiguous private exports
Keep one-member private exports source-local until exact message overlap proves they belong to the same chat. This prevents unrelated outgoing-only chats from losing messages when platform IDs collide.
2026-08-05 17:02:09 +08:00
digua 691293b46f fix(merge): preserve messages during deduplication
Carry platform and reply IDs through merge and shared import paths so stable IDs drive deduplication.

Keep unrelated chats isolated, bridge only verified overlapping sources, and backfill stable IDs onto retained fallback copies.
2026-08-05 17:02:09 +08:00
digua d5f34af445 refactor(parser): standardize format identifiers 2026-08-04 17:29:09 +08:00
digua fdd0856b5d docs: clarify branch workflow 2026-08-04 17:29:09 +08:00
digua 750bfc03b8 docs: require feature branches for commits 2026-08-03 18:45:00 +08:00
digua 3e080d21c4 perf(import): avoid loading existing messages for dedup 2026-08-03 18:45:00 +08:00
digua 883fa0896d docs(search): record FTS removal benchmarks 2026-08-03 17:28:19 +08:00
digua 256e93605a refactor(database): remove legacy session FTS 2026-08-03 17:28:19 +08:00
digua ef4f8de74d refactor(search): stop maintaining session FTS 2026-08-03 17:28:19 +08:00
digua 50a390b2de refactor(search): use LIKE and dense retrieval 2026-08-03 17:28:19 +08:00
digua 084b950ab2 fix(relationships): replace removed button groups 2026-08-03 10:45:11 +08:00
digua aef17058d1 fix(insights): unify loading transitions 2026-08-03 10:45:11 +08:00
digua ec10d0dded fix(ranking): correct dynamic keyword analysis
Forward the selected keywords through the shared HTTP route without persistent caching, keep large templates out of the request URL, and reject empty keyword sets before building a regular expression. Ignore superseded analysis responses so rapid keyword changes cannot restore stale rankings or loading state.
2026-08-02 23:41:47 +08:00
kelaocai 0f527a3c45 fix(ranking): prevent crash in keyword multi-color mode for unknown types
getKeywordColor() indexed KEYWORD_COLORS with indexOf() result, which
returns -1 for types not present in currentKeywords (e.g. the
server-generated '其他' aggregate in typeDistribution). KEYWORD_COLORS[-1]
is undefined, so reading .wrapBg threw a TypeError when enabling
multi-color mode. Fall back to a stable keyword hash for unknown types.
2026-08-02 21:49:41 +08:00
digua 5f4eb4bb68 fix(release): publish macOS for Apple Silicon only v0.34.2 2026-08-01 18:06:48 +08:00
digua 034f0b768f release: v0.34.2 2026-08-01 17:09:49 +08:00
digua 1e339875e1 fix(import): ignore AppleDouble database sidecars 2026-08-01 17:00:09 +08:00
digua 8eae64df8e test(frontend): replace source scans with behavior checks 2026-08-01 16:41:30 +08:00
digua 2bb5eb3715 test(apps): strengthen application and build verification 2026-08-01 16:41:30 +08:00
digua bdfe4bbeb5 test(runtime): improve shared behavior coverage 2026-08-01 16:41:30 +08:00
digua 7bdd1fe751 fix(runtime): harden migration and cleanup safety 2026-08-01 16:41:30 +08:00
digua 43c9229935 docs(test): define value-based testing rules 2026-08-01 16:41:30 +08:00
digua df5f335f53 docs(logging): clarify logging guidelines
Keep the agent guidance focused on decisions developers must make while leaving rotation and other automatic logger behavior to the implementation.
2026-08-01 13:19:41 +08:00
digua 69a2b981c7 fix(logging): preserve preload polling errors
Record background preload polling failures with the original Error and clarify that logging review severity and tests should follow user impact rather than mechanical rules.
2026-08-01 13:19:41 +08:00
digua 7d20f70870 fix(ai): release worker after model preload
Continue model status tracking after UI polling stops so completed or failed preloads can enter the normal idle-close lifecycle.
2026-08-01 13:19:41 +08:00
digua 39644b2507 fix(cli): verify embedding runtime before atomic rename 2026-08-01 13:19:41 +08:00
digua f96fef7b46 feat(cli): install local embedding runtime on demand 2026-08-01 13:19:41 +08:00
digua 93fc26fb83 fix(cli): avoid installing local embedding runtime 2026-08-01 13:19:41 +08:00
kelaocai d48745f00b fix(cli): declare sqlite-vec and @huggingface/transformers as runtime dependencies
The CLI tsup build inlines @openchatlab/node-runtime into dist chunks.
Both sqlite-vec and @huggingface/transformers load platform-specific
native packages at runtime (sqlite-vec-linux-arm64, onnxruntime-node,
sharp), so inlining them breaks global/npm and Docker installs of
chatlab-cli: the bundled chunks reference native packages that were
never installed, and configuring the semantic index vector model fails
with HTTP 500 (Cannot find package 'sqlite-vec-linux-arm64').

Declare both packages as chatlab-cli dependencies and mark them as tsup
external so they are installed from npm with their native bindings,
matching how better-sqlite3 and @node-rs/jieba are already handled.
2026-08-01 11:33:41 +08:00