Commit Graph
59 Commits
Author SHA1 Message Date
digua c48d2837f1 fix(release): wait for npm package availability
Wait for newly published CLI versions to become visible before building Docker images. Bound registry probes and the overall wait so npm outages cannot stall release jobs for hours.
2026-09-19 09:54:07 +08:00
KokerZhou 758b0667fc feat(docker): preinstall default NLP dictionary 2026-08-28 22:24:13 +08:00
digua 47299a94cb feat(cli): make clb web the primary web command 2026-08-12 12:47:00 +08:00
digua c6db9f0c4c chore(tooling): upgrade to pnpm 11 2026-08-12 10:29:56 +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 5f4eb4bb68 fix(release): publish macOS for Apple Silicon only 2026-08-01 18:06:48 +08:00
digua f96fef7b46 feat(cli): install local embedding runtime on demand 2026-08-01 13:19:41 +08:00
digua 860bf52d62 feat(analytics): add privacy-safe product telemetry
Add self-hosted Umami reporting alongside existing telemetry across Desktop and CLI Web.

Track normalized startup, import, feature, and AI usage with a stable anonymous ID and strict privacy allowlists. Keep incremental usage platform-independent and preserve accurate failure classifications and platform metadata across import paths.
2026-07-29 14:28:48 +08:00
KokerZhou a0712f0b3a fix(docker): persist CLI system state 2026-07-22 09:59:50 +08:00
KokerZhou 5806a1fcb5 ci: publish multi-arch ChatLab CLI image 2026-07-22 09:59:50 +08:00
digua 73c6de364e chore(web): add Web WASM development workflow 2026-07-20 17:24:55 +08:00
digua 5f92d953c0 feat(web): add Web WASM application shell 2026-07-20 11:51:17 +08:00
digua d888771670 feat(parser): add wasm-bindgen browser parser 2026-07-20 00:14:51 +08:00
digua c34f71ed2d chore(workspace): enforce dependency declarations 2026-07-16 20:09:18 +08:00
digua e00c9a4503 fix(release): package Windows sqlite binding 2026-07-10 20:25:53 +08:00
diguaandCursor 39530e2f76 ci(release): use v-prefixed tag in GitHub release titles
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-10 16:04:24 +08:00
diguaandCursor 18946bb765 ci(release): fix Windows bash shadowing and mac x64 cross-build target
Prepending all of System32 to PATH made WSL bash.EXE shadow Git Bash,
breaking every later shell: bash step (first hit: dtolnay/rust-toolchain);
now only tar.exe is exposed. Passing --target after -- hid the triple
from napi, which then emitted a host-named darwin-arm64 artifact for the
x64 build; pass --target to napi directly instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-10 15:51:19 +08:00
digua 5f1a9bb34e fix(desktop): isolate better-sqlite3 electron binding 2026-07-06 15:01:50 +08:00
digua 9894329fd1 ci: avoid duplicate tests on dev branch pushes 2026-07-05 22:49:38 +08:00
digua 312a0306cb fix(parser-native): harden native parser test edge cases 2026-07-05 22:49:38 +08:00
digua c0548f63c8 feat(import): prepare native parser rollout 2026-07-05 22:49:38 +08:00
digua 43e6ffdb81 fix(cli): include analytics key in release build 2026-06-23 22:58:22 +08:00
diguaandCursor d90a6e4bf7 ci: add R2 cleanup workflow to remove old release versions
Keep only the latest 3 versions in Cloudflare R2 to stay within
storage limits. Triggered automatically after each stable release
and manually via workflow_dispatch.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-13 16:24:53 +08:00
digua a42c23af15 ci(release): link markdown changelog 2026-06-04 14:37:12 +08:00
diguaandClaude Opus 4.8 2f8591fb8c perf(build): minify main process and lazy-load tiktoken rank table
Enable esbuild minification for main/preload (was renderer-only by default),
reducing main process bundle by ~55%. Extract cl100k_base BPE rank table out
of the synchronous startup path via dynamic import — it now lands in its own
chunk and is loaded on first agent run instead of at app startup.

Also fix Windows CI step to use PowerShell syntax for version injection.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 00:46:34 +08:00
diguaandClaude Sonnet 4.6 2f501a5503 ci(release): fix Windows zstd cache issue and add CLI update to release notes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 15:41:21 +08:00
digua 9e88dcbd09 feat(changelog): bundle changelogs locally 2026-05-26 23:19:47 +08:00
digua 2d714857ef chore(changelog): move release changelogs out of docs 2026-05-23 23:38:02 +08:00
diguaandClaude Sonnet 4.6 dc5ab71521 ci(release): centralize version metadata and split CLI build into dedicated job
Extract version/tag/prerelease detection into a shared prepare_release job,
split CLI packaging into its own build-cli artifact, switch publish-cli to
download the pre-built artifact instead of rebuilding inline, pin pnpm install
with --frozen-lockfile, and fix changelog summary lookup to match by version
instead of always selecting the first entry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 22:59:13 +08:00
digua 56902fea1c ci(release): publish CLI package from release workflow 2026-05-21 21:59:10 +08:00
digua c08a465116 chore(electron): remove Linux desktop build targets
Linux users will be served by the upcoming CLI package instead.
2026-05-19 19:17:59 +08:00
digua b12c07dc32 refactor: extract Electron shell to apps/desktop/
Move Electron-specific code (main, preload, shared) and configs
(electron.vite, electron-builder) into apps/desktop/ to prepare
for multi-platform support (Web Browser standalone).

- Create apps/desktop/ with dedicated package.json and tsconfig
- Split Electron deps (electron, electron-updater, better-sqlite3,
  etc.) from shared frontend deps in root package.json
- Declare better-sqlite3 and @node-rs/jieba in packages/node-runtime
- Add stream-json to packages/parser where it belongs
- Update all path aliases (@electron/* → apps/desktop/*) in tsconfig,
  vite configs, and relative imports in preload/main
- Keep slim root tsconfig.node.json as shared base for packages
- Update CI/CD release workflow for new directory layout
- Fix pre-existing type errors (pi-ai Model generic, SQLLabTab
  LLMChatStreamChunk, filter.test.ts empty methods)
2026-05-19 00:31:00 +08:00
diguaandClaude Sonnet 4.6 6035ad2bcc chore: simplify Linux download links in release notes to AppImage only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 00:27:04 +08:00
digua 6e10dd194b chore: Github Actions 权限变更 2026-04-26 23:59:52 +08:00
digua 0f4a0da536 feat: 迁移至ChatLab组织 2026-04-24 22:33:56 +08:00
digua 57480016f1 chore: 增加适配ARM架构linux系统的deb安装包(resolve #136) 2026-04-15 00:10:28 +08:00
digua 3c022b069a chore: 日志同步逻辑优化 2026-04-13 19:47:53 +08:00
digua 2950570561 docs: 新增官网文档并支持自动化同步和构建 2026-04-12 15:49:06 +08:00
digua 5b7d695507 chore: 缓存 electron 和 electron-builder 二进制文件以加速打包 2026-04-11 00:41:47 +08:00
digua 5c97a154f3 fix(ci): align packaging workflow with Node 24 and pnpm 2026-04-08 23:07:48 +08:00
digua 12941c4a1e chore: 升级到node24 2026-04-08 09:40:58 +08:00
digua a0155b5f68 chore: 支持Linux打包 2026-04-07 23:43:01 +08:00
digua 9247a295b9 release: v0.13.0 2026-03-17 22:31:50 +08:00
digua c74430928f chore: 构建版本日志流程优化 2026-03-16 23:39:49 +08:00
digua 4df5579e61 chore: 预发版本不再同步到R2 2026-02-02 20:08:49 +08:00
digua 0341c86add fix: 优化构建配置以解决macOS x64编译问题 2026-01-20 00:55:39 +08:00
digua 8d9b94886a fix: macOS 打包时需在对应架构上编译(fixes #36) 2026-01-17 01:15:52 +08:00
digua ae2e513480 release: 0.5.0 2026-01-14 01:27:06 +08:00
digua 4ed30d5853 feat: 优化更新加速逻辑 2026-01-10 00:09:23 +08:00
digua cabd10a11e feat: 添加加速镜像 2026-01-09 23:21:51 +08:00