8 Commits

Author SHA1 Message Date
digua dd3cb10414 refactor(services): unify CLI Web and Electron service layer
Extract shared business logic from monolithic web.ts into reusable
services in @openchatlab/node-runtime (session, member, index, summary,
export), using SessionRuntimeAdapter to abstract platform differences.
Split web.ts into 12 domain-specific route modules under routes/web/.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 10:20:39 +08:00
digua 1536e241fc docs: add versioning and commit scope conventions to AGENTS.md
- All distribution targets share root package.json version (lock-step)
- Commit scope: free-form for shared changes, platform scope (electron/
  cli/web) only when the change is platform-specific
2026-05-18 22:58:00 +08:00
digua 1294448959 refactor(electron): introduce ElectronPathProvider and convert modules to PathProvider
Create ElectronPathProvider implementing @openchatlab/core PathProvider interface,
and convert 12 modules from direct paths.ts imports to PathProvider-based access.

Key changes:
- New: ElectronPathProvider + path-context.ts singleton
- assistant/manager.ts: delegate to @openchatlab/node-runtime AssistantManager (394→115 lines)
- skills/manager.ts: delegate to @openchatlab/node-runtime SkillManagerCore (369→100 lines)
- 10 other modules: replace getXxxDir() imports with getPathProvider().getXxxDir()

Desktop-only modules (IPC, workerManager, i18n, index) intentionally kept as-is.
2026-05-18 19:25:12 +08:00
digua 17f7ebc094 docs: update 2026-05-15 22:30:18 +08:00
digua 50da84fe38 feat: 移除向量模型配置逻辑 2026-05-06 23:56:45 +08:00
digua 165ae83ba2 fix: 修复词库刷新与合并ID碰撞等问题 2026-04-15 00:10:28 +08:00
digua c7ad09b2d5 feat: 话题迁移至洞察 2026-04-15 00:10:28 +08:00
digua 4355344e35 docs: 新增AGENTS.md 2026-03-28 00:10:29 +08:00