Files
ChatLab/packages
diguaandClaude Opus 4.8 4f22231189 fix(semantic-index): fix four bugs found in PR review
- SemanticIndexSessionModal called act('disable') and referenced the
  removed i18n key action.disable after the rename to remove; update
  both the action call and i18n key.

- setConfig triggered preload even when saved.enabled is false; guard
  preload behind saved.enabled so disabling the feature does not
  download the local embedding model.

- worker-client setConfig returned early when transport was null, so
  preload never ran in a fresh Electron session after model selection;
  start the worker for local+enabled configs to ensure preload executes.

- rebuild() called computeDbPathHash(sessionId) directly instead of
  resolveHash(), creating a duplicate state row for sessions stored
  under a legacy full-dbPath hash; use resolveHash() and pass the
  resolved hash to enableParams() to update the existing record.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 14:41:33 +08:00
..