chore: trim useless files for client (#14488)

#### PR Dependency Tree


* **PR #14488** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
* Improved Electron build to trim unused locale files on macOS, Windows,
and Linux while always preserving English fallbacks; added post-build
cleanup and stricter packaging ignore rules to exclude tests, examples,
scripts, docs, README, and build metadata.
* **Style**
  * Reformatted a TypeScript type annotation for consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2026-02-22 17:17:42 +08:00
committed by GitHub
parent 3d01766f55
commit ad988dbd1e
2 changed files with 161 additions and 10 deletions
@@ -40,14 +40,7 @@ interface CodeArtifactToolResult {
toolCallId: string;
toolName: string; // 'code_artifact'
args: { title: string };
result:
| {
title: string;
html: string;
size: number;
}
| ToolError
| null;
result: { title: string; html: string; size: number } | ToolError | null;
}
export class CodeHighlighter extends SignalWatcher(WithDisposable(LitElement)) {