chatlab-cli 0.27.2 → 0.28.0

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 (68) hide show
  1. package/README.md +1 -1
  2. package/dist/{chat-command-QVCZVDSB.mjs → chat-command-7WL5NMZ6.mjs} +5 -5
  3. package/dist/{chunk-B2VLK3FB.mjs → chunk-55WR6WKW.mjs} +50 -18
  4. package/dist/{chunk-B2VLK3FB.mjs.map → chunk-55WR6WKW.mjs.map} +1 -1
  5. package/dist/{chunk-K7UUN3HT.mjs → chunk-GFRG7TZQ.mjs} +27 -12
  6. package/dist/chunk-GFRG7TZQ.mjs.map +1 -0
  7. package/dist/{chunk-DHRSLYUM.mjs → chunk-GPF34WXV.mjs} +2470 -330
  8. package/dist/chunk-GPF34WXV.mjs.map +1 -0
  9. package/dist/{chunk-OD3YH23N.mjs → chunk-VASK54KT.mjs} +2 -2
  10. package/dist/{chunk-H22VDCPB.mjs → chunk-WGS33EWH.mjs} +2 -2
  11. package/dist/{chunk-PXWAYFII.mjs → chunk-XNU5X7EV.mjs} +3 -3
  12. package/dist/{chunk-JOXF6ROV.mjs → chunk-YQ2FJGBT.mjs} +137 -18
  13. package/dist/chunk-YQ2FJGBT.mjs.map +1 -0
  14. package/dist/{chunk-ST5APJB2.mjs → chunk-YZDEZ6UI.mjs} +3 -3
  15. package/dist/{chunk-MDDWX2MG.mjs → chunk-ZSFVX6FM.mjs} +3 -3
  16. package/dist/cli.mjs +4 -4
  17. package/dist/{http-LSCVGWCI.mjs → http-C2FBHNZG.mjs} +9 -9
  18. package/dist/{import-E6HBJMMT.mjs → import-ED6JCPSJ.mjs} +5 -5
  19. package/dist/index.mjs +9 -9
  20. package/dist/{mcp-I7JUC5JV.mjs → mcp-5JIBER4M.mjs} +5 -5
  21. package/dist/semantic-index-worker.mjs +1 -1
  22. package/dist/{src-HZILDI7C.mjs → src-WBNM42SL.mjs} +19 -3
  23. package/dist/{stream-import-IMRULRS2.mjs → stream-import-37U3SROO.mjs} +4 -4
  24. package/dist/{worker-runtime-WWQ7W74Q.mjs → worker-runtime-6DGYL4TF.mjs} +2 -2
  25. package/dist-web/assets/{DebugToolsPanel.vue_vue_type_script_setup_true_lang-Du1FDD8L.js → DebugToolsPanel.vue_vue_type_script_setup_true_lang-CCz0Syxo.js} +5 -5
  26. package/dist-web/assets/{MessageExportModal-4ehLHG4x.js → MessageExportModal-Dd6R-cX_.js} +1 -1
  27. package/dist-web/assets/electron-D9vE5t3H.js +1 -0
  28. package/dist-web/assets/{electron-B3AteJC8.js → electron-DjminAKK.js} +1 -1
  29. package/dist-web/assets/{fetch-BUcl-Frr.js → fetch-B_kLRm6-.js} +1 -1
  30. package/dist-web/assets/{fetch-DZFx8FA4.js → fetch-CURbMNJV.js} +1 -1
  31. package/dist-web/assets/fetch-Cle6QKmL.js +3 -0
  32. package/dist-web/assets/{fetch-BQxv_UGQ.js → fetch-DFCYOQe5.js} +1 -1
  33. package/dist-web/assets/{fetch-ChZEF_n3.js → fetch-DOhCQ5J8.js} +1 -1
  34. package/dist-web/assets/{fetch-BwQh9WUD.js → fetch-DV8A1dGB.js} +1 -1
  35. package/dist-web/assets/{fetch-DlJFgbum.js → fetch-Wad5mWVH.js} +1 -1
  36. package/dist-web/assets/{fetch-DCQN6wfR.js → fetch-r83wdzHy.js} +1 -1
  37. package/dist-web/assets/{fetch-CZDFhvxY.js → fetch-srCJzcWc.js} +1 -1
  38. package/dist-web/assets/{fetch-C2mSdG3h.js → fetch-uM3erGZm.js} +1 -1
  39. package/dist-web/assets/index-7E5GSvR2.css +1 -0
  40. package/dist-web/assets/index-BCRHSc1k.js +173 -0
  41. package/dist-web/assets/{index-DlkH2E7N.js → index-BIvLzdwg.js} +1 -1
  42. package/dist-web/assets/{index-qVTX1tLg.js → index-BpszRZ8V.js} +3 -3
  43. package/dist-web/assets/index-D5UgZUpS.js +12 -0
  44. package/dist-web/assets/{index-DTlfOd_u.js → index-hOsKRsp6.js} +2 -2
  45. package/dist-web/assets/{index-KAFPL6dl.js → index-tkbEq8av.js} +1 -1
  46. package/dist-web/assets/{web-CoKgy4Oo.js → web-D27K6zSX.js} +1 -1
  47. package/dist-web/index.html +2 -2
  48. package/package.json +1 -1
  49. package/dist/chunk-DHRSLYUM.mjs.map +0 -1
  50. package/dist/chunk-JOXF6ROV.mjs.map +0 -1
  51. package/dist/chunk-K7UUN3HT.mjs.map +0 -1
  52. package/dist-web/assets/electron-2m4Vdk2z.js +0 -1
  53. package/dist-web/assets/fetch-O8M5ZWsc.js +0 -3
  54. package/dist-web/assets/index-B_uZZGqi.js +0 -173
  55. package/dist-web/assets/index-CoX0L-A8.css +0 -1
  56. package/dist-web/assets/index-DR78oafF.js +0 -11
  57. /package/dist/{chat-command-QVCZVDSB.mjs.map → chat-command-7WL5NMZ6.mjs.map} +0 -0
  58. /package/dist/{chunk-OD3YH23N.mjs.map → chunk-VASK54KT.mjs.map} +0 -0
  59. /package/dist/{chunk-H22VDCPB.mjs.map → chunk-WGS33EWH.mjs.map} +0 -0
  60. /package/dist/{chunk-PXWAYFII.mjs.map → chunk-XNU5X7EV.mjs.map} +0 -0
  61. /package/dist/{chunk-ST5APJB2.mjs.map → chunk-YZDEZ6UI.mjs.map} +0 -0
  62. /package/dist/{chunk-MDDWX2MG.mjs.map → chunk-ZSFVX6FM.mjs.map} +0 -0
  63. /package/dist/{http-LSCVGWCI.mjs.map → http-C2FBHNZG.mjs.map} +0 -0
  64. /package/dist/{import-E6HBJMMT.mjs.map → import-ED6JCPSJ.mjs.map} +0 -0
  65. /package/dist/{mcp-I7JUC5JV.mjs.map → mcp-5JIBER4M.mjs.map} +0 -0
  66. /package/dist/{src-HZILDI7C.mjs.map → src-WBNM42SL.mjs.map} +0 -0
  67. /package/dist/{stream-import-IMRULRS2.mjs.map → stream-import-37U3SROO.mjs.map} +0 -0
  68. /package/dist/{worker-runtime-WWQ7W74Q.mjs.map → worker-runtime-6DGYL4TF.mjs.map} +0 -0
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  writeParseResultToDb
9
- } from "./chunk-DHRSLYUM.mjs";
9
+ } from "./chunk-GPF34WXV.mjs";
10
10
  import {
11
11
  CHAT_DB_SCHEMA,
12
12
  FTS_TABLE_SCHEMA,
13
13
  buildMemberIdMap,
14
14
  generateMessageKey
15
- } from "./chunk-B2VLK3FB.mjs";
15
+ } from "./chunk-55WR6WKW.mjs";
16
16
 
17
17
  // src/import/chatlab-reader.ts
18
18
  import * as fs from "fs";
@@ -386,4 +386,4 @@ export {
386
386
  parseFile,
387
387
  importData
388
388
  };
389
- //# sourceMappingURL=chunk-ST5APJB2.mjs.map
389
+ //# sourceMappingURL=chunk-YZDEZ6UI.mjs.map
@@ -9,12 +9,12 @@ import {
9
9
  analyzeNewImport,
10
10
  incrementalImport,
11
11
  streamingImport
12
- } from "./chunk-DHRSLYUM.mjs";
12
+ } from "./chunk-GPF34WXV.mjs";
13
13
  import {
14
14
  DataDirCompatibilityError,
15
15
  generateIncrementalSessionIndex,
16
16
  generateSessionIndex
17
- } from "./chunk-B2VLK3FB.mjs";
17
+ } from "./chunk-55WR6WKW.mjs";
18
18
 
19
19
  // src/import/stream-import.ts
20
20
  import * as crypto from "crypto";
@@ -169,4 +169,4 @@ export {
169
169
  analyzeIncrementalImport2 as analyzeIncrementalImport,
170
170
  analyzeNewImport2 as analyzeNewImport
171
171
  };
172
- //# sourceMappingURL=chunk-MDDWX2MG.mjs.map
172
+ //# sourceMappingURL=chunk-ZSFVX6FM.mjs.map
package/dist/cli.mjs CHANGED
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  run
9
- } from "./chunk-K7UUN3HT.mjs";
10
- import "./chunk-H22VDCPB.mjs";
9
+ } from "./chunk-GFRG7TZQ.mjs";
10
+ import "./chunk-WGS33EWH.mjs";
11
11
  import "./chunk-5ADKYYNA.mjs";
12
12
  import "./chunk-FJ35V3TE.mjs";
13
- import "./chunk-DHRSLYUM.mjs";
14
- import "./chunk-B2VLK3FB.mjs";
13
+ import "./chunk-GPF34WXV.mjs";
14
+ import "./chunk-55WR6WKW.mjs";
15
15
  import "./chunk-GFHSSCCR.mjs";
16
16
  export {
17
17
  run
@@ -9,16 +9,16 @@ import {
9
9
  registerWebRoutes,
10
10
  startHttpServer,
11
11
  stopHttpServer
12
- } from "./chunk-JOXF6ROV.mjs";
13
- import "./chunk-PXWAYFII.mjs";
14
- import "./chunk-OD3YH23N.mjs";
15
- import "./chunk-H22VDCPB.mjs";
12
+ } from "./chunk-YQ2FJGBT.mjs";
13
+ import "./chunk-XNU5X7EV.mjs";
14
+ import "./chunk-VASK54KT.mjs";
15
+ import "./chunk-WGS33EWH.mjs";
16
16
  import "./chunk-5ADKYYNA.mjs";
17
17
  import "./chunk-FJ35V3TE.mjs";
18
- import "./chunk-ST5APJB2.mjs";
19
- import "./chunk-MDDWX2MG.mjs";
20
- import "./chunk-DHRSLYUM.mjs";
21
- import "./chunk-B2VLK3FB.mjs";
18
+ import "./chunk-YZDEZ6UI.mjs";
19
+ import "./chunk-ZSFVX6FM.mjs";
20
+ import "./chunk-GPF34WXV.mjs";
21
+ import "./chunk-55WR6WKW.mjs";
22
22
  import "./chunk-GFHSSCCR.mjs";
23
23
  export {
24
24
  createServer,
@@ -26,4 +26,4 @@ export {
26
26
  startHttpServer,
27
27
  stopHttpServer
28
28
  };
29
- //# sourceMappingURL=http-LSCVGWCI.mjs.map
29
+ //# sourceMappingURL=http-C2FBHNZG.mjs.map
@@ -8,13 +8,13 @@ import {
8
8
  detectFormat as detectFormat2,
9
9
  importData,
10
10
  parseFile
11
- } from "./chunk-ST5APJB2.mjs";
11
+ } from "./chunk-YZDEZ6UI.mjs";
12
12
  import {
13
13
  analyzeIncrementalImport,
14
14
  analyzeNewImport,
15
15
  incrementalImport,
16
16
  streamImport
17
- } from "./chunk-MDDWX2MG.mjs";
17
+ } from "./chunk-ZSFVX6FM.mjs";
18
18
  import {
19
19
  detectAllFormats,
20
20
  detectFormat,
@@ -22,8 +22,8 @@ import {
22
22
  getFormatFeatureById,
23
23
  getSupportedFormats,
24
24
  scanMultiChatFile
25
- } from "./chunk-DHRSLYUM.mjs";
26
- import "./chunk-B2VLK3FB.mjs";
25
+ } from "./chunk-GPF34WXV.mjs";
26
+ import "./chunk-55WR6WKW.mjs";
27
27
  import "./chunk-GFHSSCCR.mjs";
28
28
  export {
29
29
  analyzeIncrementalImport,
@@ -40,4 +40,4 @@ export {
40
40
  scanMultiChatFile,
41
41
  streamImport
42
42
  };
43
- //# sourceMappingURL=import-E6HBJMMT.mjs.map
43
+ //# sourceMappingURL=import-ED6JCPSJ.mjs.map
package/dist/index.mjs CHANGED
@@ -7,19 +7,19 @@ const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  startHttpServer,
9
9
  stopHttpServer
10
- } from "./chunk-JOXF6ROV.mjs";
11
- import "./chunk-PXWAYFII.mjs";
12
- import "./chunk-OD3YH23N.mjs";
10
+ } from "./chunk-YQ2FJGBT.mjs";
11
+ import "./chunk-XNU5X7EV.mjs";
12
+ import "./chunk-VASK54KT.mjs";
13
13
  import {
14
14
  run
15
- } from "./chunk-K7UUN3HT.mjs";
16
- import "./chunk-H22VDCPB.mjs";
15
+ } from "./chunk-GFRG7TZQ.mjs";
16
+ import "./chunk-WGS33EWH.mjs";
17
17
  import "./chunk-5ADKYYNA.mjs";
18
18
  import "./chunk-FJ35V3TE.mjs";
19
- import "./chunk-ST5APJB2.mjs";
20
- import "./chunk-MDDWX2MG.mjs";
21
- import "./chunk-DHRSLYUM.mjs";
22
- import "./chunk-B2VLK3FB.mjs";
19
+ import "./chunk-YZDEZ6UI.mjs";
20
+ import "./chunk-ZSFVX6FM.mjs";
21
+ import "./chunk-GPF34WXV.mjs";
22
+ import "./chunk-55WR6WKW.mjs";
23
23
  import "./chunk-GFHSSCCR.mjs";
24
24
  export {
25
25
  run,
@@ -7,10 +7,10 @@ const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  CoreDataProvider,
9
9
  MCP_TOOL_REGISTRY
10
- } from "./chunk-OD3YH23N.mjs";
10
+ } from "./chunk-VASK54KT.mjs";
11
11
  import {
12
12
  assertCliDataDirCompatible
13
- } from "./chunk-H22VDCPB.mjs";
13
+ } from "./chunk-WGS33EWH.mjs";
14
14
  import {
15
15
  getVersion
16
16
  } from "./chunk-5ADKYYNA.mjs";
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  NodePathProvider,
22
22
  hasPendingElectronDataWarning
23
- } from "./chunk-DHRSLYUM.mjs";
23
+ } from "./chunk-GPF34WXV.mjs";
24
24
  import {
25
25
  DatabaseManager,
26
26
  getDatabaseSchema,
@@ -28,7 +28,7 @@ import {
28
28
  getSessionOverview,
29
29
  loadConfig,
30
30
  verifyCliDataPath
31
- } from "./chunk-B2VLK3FB.mjs";
31
+ } from "./chunk-55WR6WKW.mjs";
32
32
  import "./chunk-GFHSSCCR.mjs";
33
33
 
34
34
  // src/mcp.ts
@@ -412,4 +412,4 @@ export {
412
412
  initMcpRuntime,
413
413
  startCliMcpServer
414
414
  };
415
- //# sourceMappingURL=mcp-I7JUC5JV.mjs.map
415
+ //# sourceMappingURL=mcp-5JIBER4M.mjs.map
@@ -9,7 +9,7 @@ const __dirname = __pathDirname(__filename);
9
9
  import { parentPort, workerData } from "worker_threads";
10
10
  var startup = workerData;
11
11
  async function main() {
12
- const { createSemanticIndexWorkerRuntime, createSemanticIndexWorkerServiceFactory } = await import("./worker-runtime-WWQ7W74Q.mjs");
12
+ const { createSemanticIndexWorkerRuntime, createSemanticIndexWorkerServiceFactory } = await import("./worker-runtime-6DGYL4TF.mjs");
13
13
  const runtime = createSemanticIndexWorkerRuntime({
14
14
  serviceFactory: createSemanticIndexWorkerServiceFactory(startup)
15
15
  });
@@ -6,11 +6,16 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  AnalyticsService,
9
+ ArchiveImportError,
10
+ ArchiveImportSourceManager,
11
+ GoogleChatTakeoutResolver,
9
12
  LogLevel,
10
13
  NodePathProvider,
11
14
  PreferencesManager,
15
+ ZipArchiveReader,
12
16
  analyzeIncrementalImport,
13
17
  analyzeNewImport,
18
+ appLogger,
14
19
  applyPendingNodeDataDirMigration,
15
20
  applyPendingNodeDataDirMigrationIfNeeded,
16
21
  buildMergedOutput,
@@ -27,8 +32,10 @@ import {
27
32
  getErrorCount,
28
33
  getOrComputeAnalysisCache,
29
34
  getPendingNodeDataDirMigration,
35
+ getSystemLogsDir,
30
36
  hasPendingElectronDataWarning,
31
37
  incrementalImport,
38
+ initAppLogger,
32
39
  initPerfLog,
33
40
  isDirectoryEmptyOrMissing,
34
41
  isExistingUserDataDir,
@@ -44,8 +51,9 @@ import {
44
51
  serializeChatLabToJsonl,
45
52
  streamParseFileInfo,
46
53
  streamingImport,
54
+ validateArchiveEntryName,
47
55
  writeParseResultToDb
48
- } from "./chunk-DHRSLYUM.mjs";
56
+ } from "./chunk-GPF34WXV.mjs";
49
57
  import {
50
58
  AIChatManager,
51
59
  AgentEventHandler,
@@ -200,13 +208,15 @@ import {
200
208
  verifyCliDataPath,
201
209
  wasElectronUsed,
202
210
  wrapWithChartSchemaGate
203
- } from "./chunk-B2VLK3FB.mjs";
211
+ } from "./chunk-55WR6WKW.mjs";
204
212
  import "./chunk-GFHSSCCR.mjs";
205
213
  export {
206
214
  AIChatManager,
207
215
  AgentEventHandler,
208
216
  AiLogger,
209
217
  AnalyticsService,
218
+ ArchiveImportError,
219
+ ArchiveImportSourceManager,
210
220
  AssistantManager,
211
221
  BUILTIN_DESENSITIZE_RULES,
212
222
  BetterSqliteAdapter,
@@ -222,6 +232,7 @@ export {
222
232
  DESENSITIZE_RULES_SCHEMA_VERSION,
223
233
  DataDirCompatibilityError,
224
234
  DatabaseManager,
235
+ GoogleChatTakeoutResolver,
225
236
  LLMConfigStore,
226
237
  LogLevel,
227
238
  MAX_CONFIG_COUNT,
@@ -237,10 +248,12 @@ export {
237
248
  TempDbReader,
238
249
  TempDbWriter,
239
250
  Type,
251
+ ZipArchiveReader,
240
252
  aiLocales,
241
253
  analyzeIncrementalImport,
242
254
  analyzeNewImport,
243
255
  anonymizeMessageNames,
256
+ appLogger,
244
257
  applyDesensitizeRuleOverrides,
245
258
  applyPendingNodeDataDirMigration,
246
259
  applyPendingNodeDataDirMigrationIfNeeded,
@@ -327,11 +340,13 @@ export {
327
340
  getPosTagDefinitions,
328
341
  getRuleGroupsForLocale,
329
342
  getSkillConfigWithBuiltinChart,
343
+ getSystemLogsDir,
330
344
  getValidatedOverviewCache,
331
345
  hasFtsTable,
332
346
  hasPendingElectronDataWarning,
333
347
  i18nTexts,
334
348
  incrementalImport,
349
+ initAppLogger,
335
350
  initNlpDir,
336
351
  initPerfLog,
337
352
  initTokenizer,
@@ -393,9 +408,10 @@ export {
393
408
  tokenizeQueryForFts,
394
409
  truncateFormattedMessages,
395
410
  validateApiKey,
411
+ validateArchiveEntryName,
396
412
  verifyCliDataPath,
397
413
  wasElectronUsed,
398
414
  wrapWithChartSchemaGate,
399
415
  writeParseResultToDb
400
416
  };
401
- //# sourceMappingURL=src-HZILDI7C.mjs.map
417
+ //# sourceMappingURL=src-WBNM42SL.mjs.map
@@ -9,7 +9,7 @@ import {
9
9
  analyzeNewImport,
10
10
  incrementalImport,
11
11
  streamImport
12
- } from "./chunk-MDDWX2MG.mjs";
12
+ } from "./chunk-ZSFVX6FM.mjs";
13
13
  import {
14
14
  detectAllFormats,
15
15
  detectFormat,
@@ -17,8 +17,8 @@ import {
17
17
  getFormatFeatureById,
18
18
  getSupportedFormats,
19
19
  scanMultiChatFile
20
- } from "./chunk-DHRSLYUM.mjs";
21
- import "./chunk-B2VLK3FB.mjs";
20
+ } from "./chunk-GPF34WXV.mjs";
21
+ import "./chunk-55WR6WKW.mjs";
22
22
  import "./chunk-GFHSSCCR.mjs";
23
23
  export {
24
24
  analyzeIncrementalImport,
@@ -32,4 +32,4 @@ export {
32
32
  scanMultiChatFile,
33
33
  streamImport
34
34
  };
35
- //# sourceMappingURL=stream-import-IMRULRS2.mjs.map
35
+ //# sourceMappingURL=stream-import-37U3SROO.mjs.map
@@ -9,7 +9,7 @@ import {
9
9
  StaticPathProvider,
10
10
  createDatabaseManagerAdapter,
11
11
  createSemanticIndexService
12
- } from "./chunk-B2VLK3FB.mjs";
12
+ } from "./chunk-55WR6WKW.mjs";
13
13
  import "./chunk-GFHSSCCR.mjs";
14
14
 
15
15
  // ../../packages/node-runtime/src/semantic-index/worker-runtime.ts
@@ -68,4 +68,4 @@ export {
68
68
  createSemanticIndexWorkerRuntime,
69
69
  createSemanticIndexWorkerServiceFactory
70
70
  };
71
- //# sourceMappingURL=worker-runtime-WWQ7W74Q.mjs.map
71
+ //# sourceMappingURL=worker-runtime-6DGYL4TF.mjs.map