chatlab-cli 0.1.0 → 0.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/{chunk-YAOFJ73U.mjs → chunk-4GI2UPCS.mjs} +80 -129
  2. package/dist/chunk-4GI2UPCS.mjs.map +1 -0
  3. package/dist/{chunk-JMRDNHIR.mjs → chunk-7HQWGLX6.mjs} +829 -280
  4. package/dist/chunk-7HQWGLX6.mjs.map +1 -0
  5. package/dist/{chunk-DL3BFEAH.mjs → chunk-AIR7EAF4.mjs} +2 -2
  6. package/dist/chunk-AIR7EAF4.mjs.map +1 -0
  7. package/dist/{chunk-PF4QFHC6.mjs → chunk-LI4X52E7.mjs} +1050 -864
  8. package/dist/chunk-LI4X52E7.mjs.map +1 -0
  9. package/dist/{chunk-OC73KSMV.mjs → chunk-OQVKZTVD.mjs} +2 -2
  10. package/dist/{chunk-P4N5GEFF.mjs → chunk-OZWXLRJL.mjs} +9 -9
  11. package/dist/cli.mjs +2 -2
  12. package/dist/{http-PQEOFGJK.mjs → http-DHQI4G5J.mjs} +6 -6
  13. package/dist/{import-UR2IE2O7.mjs → import-CQWGIMZQ.mjs} +6 -4
  14. package/dist/index.mjs +6 -6
  15. package/dist/{mcp-4XCDZ5PU.mjs → mcp-7Q3FEI3Z.mjs} +5 -6
  16. package/dist/mcp-7Q3FEI3Z.mjs.map +1 -0
  17. package/dist/{src-ZELOFE7P.mjs → src-QBT5SYW5.mjs} +14 -2
  18. package/dist/{stream-import-RP3XB6NM.mjs → stream-import-VG7RP6KJ.mjs} +5 -3
  19. package/dist-web/assets/{DebugToolsPanel-dUV6pVqD.css → DebugToolsPanel-CoBtqb--.css} +1 -1
  20. package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-CpFGhsl5.js +147 -0
  21. package/dist-web/assets/{EChartWordcloud-DcC12j9S.js → EChartWordcloud-BYLFxPAX.js} +1 -1
  22. package/dist-web/assets/{MessageExportModal-CUS9nnwi.js → MessageExportModal-DTgxz1eQ.js} +1 -1
  23. package/dist-web/assets/electron-2m4Vdk2z.js +1 -0
  24. package/dist-web/assets/electron-H65bUnhW.js +1 -0
  25. package/dist-web/assets/{fetch-DvfIZxuz.js → fetch-C2vUkdnA.js} +1 -1
  26. package/dist-web/assets/fetch-CTZXLLcn.js +1 -0
  27. package/dist-web/assets/fetch-o5NJ2uWE.js +3 -0
  28. package/dist-web/assets/index-B8867dX7.css +1 -0
  29. package/dist-web/assets/{index-CmU6x-uJ.css → index-BE64tUWq.css} +1 -1
  30. package/dist-web/assets/{index-D3siJhmm.js → index-C4B0hv6C.js} +4 -4
  31. package/dist-web/assets/index-CbQMfheg.css +1 -0
  32. package/dist-web/assets/index-DUXf21MT.js +173 -0
  33. package/dist-web/assets/index-DZiH2cC1.js +7 -0
  34. package/dist-web/assets/index-DeG0EHOT.js +24 -0
  35. package/dist-web/assets/index-DuhN8jAf.js +2 -0
  36. package/dist-web/assets/{vendor-echarts-BXkS9r5W.js → vendor-echarts-C13vDgZW.js} +5 -5
  37. package/dist-web/assets/{vendor-echarts-wordcloud-CmDVLUv0.js → vendor-echarts-wordcloud-uVdwYsYa.js} +1 -1
  38. package/dist-web/assets/{vendor-nuxt-ui-D1aReMtR.js → vendor-nuxt-ui-CYMNNdeD.js} +2 -2
  39. package/dist-web/assets/{vendor-zrender-B6SpLIkk.js → vendor-zrender-5DcYjSZk.js} +2 -2
  40. package/dist-web/assets/{web-DOZKbBMQ.js → web-DImo6Kjz.js} +1 -1
  41. package/dist-web/index.html +3 -3
  42. package/package.json +1 -8
  43. package/CHANGELOG.md +0 -51
  44. package/LICENSE +0 -661
  45. package/dist/chunk-DL3BFEAH.mjs.map +0 -1
  46. package/dist/chunk-JMRDNHIR.mjs.map +0 -1
  47. package/dist/chunk-PF4QFHC6.mjs.map +0 -1
  48. package/dist/chunk-YAOFJ73U.mjs.map +0 -1
  49. package/dist/mcp-4XCDZ5PU.mjs.map +0 -1
  50. package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-BuOhHrGp.js +0 -155
  51. package/dist-web/assets/electron-BHjOx6B6.js +0 -1
  52. package/dist-web/assets/electron-DvcSSc-D.js +0 -1
  53. package/dist-web/assets/fetch-CJ8Q4qM2.js +0 -1
  54. package/dist-web/assets/fetch-DgQkWW73.js +0 -3
  55. package/dist-web/assets/index-68UnLyFT.js +0 -173
  56. package/dist-web/assets/index-CCE1zef2.js +0 -2
  57. package/dist-web/assets/index-CLGv8Den.css +0 -1
  58. package/dist-web/assets/index-CUTe0Sc3.js +0 -16
  59. package/dist-web/assets/index-CzR1sElx.css +0 -1
  60. package/dist-web/assets/index-n2XUUgti.js +0 -7
  61. /package/dist/{chunk-OC73KSMV.mjs.map → chunk-OQVKZTVD.mjs.map} +0 -0
  62. /package/dist/{chunk-P4N5GEFF.mjs.map → chunk-OZWXLRJL.mjs.map} +0 -0
  63. /package/dist/{http-PQEOFGJK.mjs.map → http-DHQI4G5J.mjs.map} +0 -0
  64. /package/dist/{import-UR2IE2O7.mjs.map → import-CQWGIMZQ.mjs.map} +0 -0
  65. /package/dist/{src-ZELOFE7P.mjs.map → src-QBT5SYW5.mjs.map} +0 -0
  66. /package/dist/{stream-import-RP3XB6NM.mjs.map → stream-import-VG7RP6KJ.mjs.map} +0 -0
@@ -1 +1 @@
1
- class r{async getVersion(){return"0.20.0"}async fetchRemoteConfig(e){try{const a=await fetch(e);return a.ok?{success:!0,data:await a.json()}:{success:!1,error:`HTTP ${a.status}`}}catch(a){return{success:!1,error:String(a)}}}setThemeSource(e){}async getOpenAtLogin(){return!1}async setOpenAtLogin(e){return{success:!1,error:"Not available in web mode"}}async getAnalyticsEnabled(){return!1}async setAnalyticsEnabled(e){return{success:!1}}async showOpenDialog(e){return{canceled:!0,filePaths:[]}}async copyImageToClipboard(e){return{success:!1,error:"Not available in web mode"}}checkUpdate(){}async relaunch(){window.location.reload()}}export{r as WebPlatformAdapter};
1
+ class r{async getVersion(){return"0.21.1"}async fetchRemoteConfig(e){try{const a=await fetch(e);return a.ok?{success:!0,data:await a.json()}:{success:!1,error:`HTTP ${a.status}`}}catch(a){return{success:!1,error:String(a)}}}setThemeSource(e){}async getOpenAtLogin(){return!1}async setOpenAtLogin(e){return{success:!1,error:"Not available in web mode"}}async getAnalyticsEnabled(){return!1}async setAnalyticsEnabled(e){return{success:!1}}async showOpenDialog(e){return{canceled:!0,filePaths:[]}}async copyImageToClipboard(e){return{success:!1,error:"Not available in web mode"}}checkUpdate(){}async relaunch(){window.location.reload()}}export{r as WebPlatformAdapter};
@@ -5,11 +5,11 @@
5
5
  <title>ChatLab</title>
6
6
  <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
7
7
  <link rel="icon" href="/assets/imgs/favicon.ico" />
8
- <script type="module" crossorigin src="/assets/index-n2XUUgti.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-DZiH2cC1.js"></script>
9
9
  <link rel="modulepreload" crossorigin href="/assets/vendor-reka-ui-CW2cIgMu.js">
10
- <link rel="modulepreload" crossorigin href="/assets/vendor-nuxt-ui-D1aReMtR.js">
10
+ <link rel="modulepreload" crossorigin href="/assets/vendor-nuxt-ui-CYMNNdeD.js">
11
11
  <link rel="modulepreload" crossorigin href="/assets/vendor-snapdom-XnBoh1gd.js">
12
- <link rel="stylesheet" crossorigin href="/assets/index-CzR1sElx.css">
12
+ <link rel="stylesheet" crossorigin href="/assets/index-B8867dX7.css">
13
13
  </head>
14
14
 
15
15
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chatlab-cli",
3
- "version": "0.1.0",
3
+ "version": "0.21.1",
4
4
  "description": "ChatLab CLI & Service - Chat history analysis tool",
5
5
  "bin": {
6
6
  "chatlab": "bin/chatlab.mjs"
@@ -10,7 +10,6 @@
10
10
  "bin/",
11
11
  "dist/",
12
12
  "dist-web/",
13
- "CHANGELOG.md",
14
13
  "LICENSE"
15
14
  ],
16
15
  "engines": {
@@ -30,12 +29,6 @@
30
29
  "chatlab",
31
30
  "chat",
32
31
  "analysis",
33
- "wechat",
34
- "qq",
35
- "telegram",
36
- "whatsapp",
37
- "discord",
38
- "mcp",
39
32
  "cli"
40
33
  ],
41
34
  "scripts": {
package/CHANGELOG.md DELETED
@@ -1,51 +0,0 @@
1
- # Changelog
2
-
3
- This changelog is shared by ChatLab desktop, Web, CLI, and MCP packages. The structured changelog source used by the website lives in `docs/public/changelogs/`.
4
-
5
- ## 0.20.0 - 2026-05-19
6
-
7
- This update unifies the core multi-platform architecture and improves AI, import, sync, and desktop build stability. It also prepares for the standalone Web, CLI, and MCP capabilities in the next release; please update before using the CLI so data can be pre-migrated.
8
-
9
- ### Features
10
-
11
- - Add standalone CLI, HTTP API service, and MCP Server foundations for command-line use, Web, and AI agent integrations.
12
- - Add a standalone Web build and one-command startup flow, including launching the Web UI from the CLI and opening the browser automatically.
13
- - Support core Web-mode workflows, including chat import, demo import, session queries, member queries, search, and analysis.
14
- - Connect Web mode to AI chat, model configuration, custom providers and models, context compression, and streamed event display.
15
- - Upgrade imports to a shared streaming pipeline with multi-format parsing, incremental import, import analysis, and automatic session index generation.
16
- - Add server-side capabilities for merge workflows, Markdown export, and session caching.
17
- - Add the shared sync package and CLI automation support as groundwork for future multi-platform sync.
18
- - Add backend persistence for preferences and automatically detect and migrate desktop data on first CLI run.
19
-
20
- ### Fixes
21
-
22
- - Fix Web-mode issues around session indexes, CORS proxying, demo safeguards, and runtime errors.
23
- - Fix the app version showing as empty in Web mode.
24
- - Fix AI Agent evidence retrieval, Web event streaming, and error formatting issues.
25
- - Fix inconsistencies between sync display and import logic.
26
- - Fix ESM module resolution in CLI development mode.
27
- - Fix cases where the CLI could not find existing desktop data after installation.
28
- - Fix data migration path mismatches after extracting the Electron package.
29
- - Fix packaged Worker crashes caused by an indirect dependency on the electron module.
30
- - Fix Electron build, dependency installation, and better-sqlite3 native rebuild issues.
31
-
32
- ### Refactors
33
-
34
- - Move the project to a multi-platform workspace structure with `apps/desktop`, `apps/cli`, and shared packages.
35
- - Extract parser, configuration, database adapters, queries, migrations, NLP, session cache, import, merge, export, and sync logic into shared modules.
36
- - Extract AI Agent, tools, preprocessing, context compression, RAG, LLM configuration, assistant, and skill management into shared runtime capabilities.
37
- - Unify AI tool naming, tool registration, and data access across Electron, CLI Web, and MCP.
38
- - Unify core logic for data directories, message queries, member queries, session indexes, SQL execution, and import deduplication.
39
- - Move the CLI from `packages/server` to `apps/cli` and complete the npm publishing build pipeline.
40
- - Move frontend-only chart modules into `src/features` so packages only contain reusable shared libraries.
41
- - Remove several Electron-side passthrough files and obsolete code to reduce duplicate implementations.
42
-
43
- ### Build
44
-
45
- - Upgrade Vite and related build tooling.
46
- - Add CLI tsup builds, Web asset bundling, and npm publishing configuration.
47
- - Adjust Electron desktop build settings and remove Linux desktop build targets.
48
-
49
- ### Documentation
50
-
51
- - Document versioning, commit scope conventions, and related development notes.