chatlab-cli 0.27.1 → 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 (71) hide show
  1. package/README.md +1 -1
  2. package/dist/{chat-command-B7POB3C3.mjs → chat-command-7WL5NMZ6.mjs} +5 -5
  3. package/dist/{chunk-I7BHOZPX.mjs → chunk-55WR6WKW.mjs} +84 -19
  4. package/dist/{chunk-I7BHOZPX.mjs.map → chunk-55WR6WKW.mjs.map} +1 -1
  5. package/dist/{chunk-3FUF3PEY.mjs → chunk-GFRG7TZQ.mjs} +27 -12
  6. package/dist/chunk-GFRG7TZQ.mjs.map +1 -0
  7. package/dist/{chunk-N3G43SCQ.mjs → chunk-GPF34WXV.mjs} +2560 -324
  8. package/dist/chunk-GPF34WXV.mjs.map +1 -0
  9. package/dist/{chunk-WQMKKUSD.mjs → chunk-VASK54KT.mjs} +2 -2
  10. package/dist/{chunk-3JNVGW62.mjs → chunk-WGS33EWH.mjs} +2 -2
  11. package/dist/{chunk-RJ4D4QWK.mjs → chunk-XNU5X7EV.mjs} +3 -3
  12. package/dist/{chunk-SIVERPF5.mjs → chunk-YQ2FJGBT.mjs} +172 -18
  13. package/dist/chunk-YQ2FJGBT.mjs.map +1 -0
  14. package/dist/{chunk-YUFYTDRH.mjs → chunk-YZDEZ6UI.mjs} +3 -3
  15. package/dist/{chunk-SAE2H2LN.mjs → chunk-ZSFVX6FM.mjs} +3 -3
  16. package/dist/cli.mjs +4 -4
  17. package/dist/{http-A54ZBBAY.mjs → http-C2FBHNZG.mjs} +9 -9
  18. package/dist/{import-EA3TB3S2.mjs → import-ED6JCPSJ.mjs} +5 -5
  19. package/dist/index.mjs +9 -9
  20. package/dist/{mcp-DJDOWHH3.mjs → mcp-5JIBER4M.mjs} +5 -5
  21. package/dist/semantic-index-worker.mjs +1 -1
  22. package/dist/{src-EKPMJRG6.mjs → src-WBNM42SL.mjs} +21 -3
  23. package/dist/{stream-import-FQFNRQ2B.mjs → stream-import-37U3SROO.mjs} +4 -4
  24. package/dist/{worker-runtime-UH2OBO3T.mjs → worker-runtime-6DGYL4TF.mjs} +2 -2
  25. package/dist-web/assets/{DebugToolsPanel.vue_vue_type_script_setup_true_lang-NL1sTF6i.js → DebugToolsPanel.vue_vue_type_script_setup_true_lang-CCz0Syxo.js} +5 -5
  26. package/dist-web/assets/{MessageExportModal-B60rvfCh.js → MessageExportModal-Dd6R-cX_.js} +1 -1
  27. package/dist-web/assets/electron-D9vE5t3H.js +1 -0
  28. package/dist-web/assets/electron-DGxVMsvC.js +1 -0
  29. package/dist-web/assets/{electron-BRUg9LnY.js → electron-DjminAKK.js} +1 -1
  30. package/dist-web/assets/{fetch-DSN-QYZE.js → fetch-B_kLRm6-.js} +1 -1
  31. package/dist-web/assets/{fetch-DLAp7h55.js → fetch-CURbMNJV.js} +1 -1
  32. package/dist-web/assets/fetch-Cle6QKmL.js +3 -0
  33. package/dist-web/assets/{fetch-BIpjJHxj.js → fetch-DFCYOQe5.js} +1 -1
  34. package/dist-web/assets/{fetch-DNSaxRnL.js → fetch-DOhCQ5J8.js} +1 -1
  35. package/dist-web/assets/{fetch-DE8gj5Ke.js → fetch-DV8A1dGB.js} +1 -1
  36. package/dist-web/assets/{fetch-C-m3IysH.js → fetch-Wad5mWVH.js} +1 -1
  37. package/dist-web/assets/{fetch-BRsMdFcn.js → fetch-r83wdzHy.js} +1 -1
  38. package/dist-web/assets/{fetch-Cma-mZjd.js → fetch-srCJzcWc.js} +1 -1
  39. package/dist-web/assets/{fetch-woAa3H2L.js → fetch-uM3erGZm.js} +1 -1
  40. package/dist-web/assets/index-7E5GSvR2.css +1 -0
  41. package/dist-web/assets/index-BCRHSc1k.js +173 -0
  42. package/dist-web/assets/{index-r_zHR2t9.js → index-BIvLzdwg.js} +1 -1
  43. package/dist-web/assets/{index-o6veAyTB.js → index-BpszRZ8V.js} +3 -3
  44. package/dist-web/assets/index-D5UgZUpS.js +12 -0
  45. package/dist-web/assets/{index-iwqJDVMJ.js → index-hOsKRsp6.js} +2 -2
  46. package/dist-web/assets/{index-B9I-Y3fR.js → index-tkbEq8av.js} +1 -1
  47. package/dist-web/assets/web-D27K6zSX.js +1 -0
  48. package/dist-web/index.html +2 -2
  49. package/package.json +1 -1
  50. package/dist/chunk-3FUF3PEY.mjs.map +0 -1
  51. package/dist/chunk-N3G43SCQ.mjs.map +0 -1
  52. package/dist/chunk-SIVERPF5.mjs.map +0 -1
  53. package/dist-web/assets/electron-2m4Vdk2z.js +0 -1
  54. package/dist-web/assets/electron-CRSL7qPM.js +0 -1
  55. package/dist-web/assets/fetch-DOEbyLSD.js +0 -3
  56. package/dist-web/assets/index-B3mDjury.js +0 -11
  57. package/dist-web/assets/index-GAU7LI1r.js +0 -173
  58. package/dist-web/assets/index-YmzTgkb2.css +0 -1
  59. package/dist-web/assets/web-C2UtGskd.js +0 -1
  60. /package/dist/{chat-command-B7POB3C3.mjs.map → chat-command-7WL5NMZ6.mjs.map} +0 -0
  61. /package/dist/{chunk-WQMKKUSD.mjs.map → chunk-VASK54KT.mjs.map} +0 -0
  62. /package/dist/{chunk-3JNVGW62.mjs.map → chunk-WGS33EWH.mjs.map} +0 -0
  63. /package/dist/{chunk-RJ4D4QWK.mjs.map → chunk-XNU5X7EV.mjs.map} +0 -0
  64. /package/dist/{chunk-YUFYTDRH.mjs.map → chunk-YZDEZ6UI.mjs.map} +0 -0
  65. /package/dist/{chunk-SAE2H2LN.mjs.map → chunk-ZSFVX6FM.mjs.map} +0 -0
  66. /package/dist/{http-A54ZBBAY.mjs.map → http-C2FBHNZG.mjs.map} +0 -0
  67. /package/dist/{import-EA3TB3S2.mjs.map → import-ED6JCPSJ.mjs.map} +0 -0
  68. /package/dist/{mcp-DJDOWHH3.mjs.map → mcp-5JIBER4M.mjs.map} +0 -0
  69. /package/dist/{src-EKPMJRG6.mjs.map → src-WBNM42SL.mjs.map} +0 -0
  70. /package/dist/{stream-import-FQFNRQ2B.mjs.map → stream-import-37U3SROO.mjs.map} +0 -0
  71. /package/dist/{worker-runtime-UH2OBO3T.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-N3G43SCQ.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-I7BHOZPX.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-YUFYTDRH.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-N3G43SCQ.mjs";
12
+ } from "./chunk-GPF34WXV.mjs";
13
13
  import {
14
14
  DataDirCompatibilityError,
15
15
  generateIncrementalSessionIndex,
16
16
  generateSessionIndex
17
- } from "./chunk-I7BHOZPX.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-SAE2H2LN.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-3FUF3PEY.mjs";
10
- import "./chunk-3JNVGW62.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-N3G43SCQ.mjs";
14
- import "./chunk-I7BHOZPX.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-SIVERPF5.mjs";
13
- import "./chunk-RJ4D4QWK.mjs";
14
- import "./chunk-WQMKKUSD.mjs";
15
- import "./chunk-3JNVGW62.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-YUFYTDRH.mjs";
19
- import "./chunk-SAE2H2LN.mjs";
20
- import "./chunk-N3G43SCQ.mjs";
21
- import "./chunk-I7BHOZPX.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-A54ZBBAY.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-YUFYTDRH.mjs";
11
+ } from "./chunk-YZDEZ6UI.mjs";
12
12
  import {
13
13
  analyzeIncrementalImport,
14
14
  analyzeNewImport,
15
15
  incrementalImport,
16
16
  streamImport
17
- } from "./chunk-SAE2H2LN.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-N3G43SCQ.mjs";
26
- import "./chunk-I7BHOZPX.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-EA3TB3S2.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-SIVERPF5.mjs";
11
- import "./chunk-RJ4D4QWK.mjs";
12
- import "./chunk-WQMKKUSD.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-3FUF3PEY.mjs";
16
- import "./chunk-3JNVGW62.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-YUFYTDRH.mjs";
20
- import "./chunk-SAE2H2LN.mjs";
21
- import "./chunk-N3G43SCQ.mjs";
22
- import "./chunk-I7BHOZPX.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-WQMKKUSD.mjs";
10
+ } from "./chunk-VASK54KT.mjs";
11
11
  import {
12
12
  assertCliDataDirCompatible
13
- } from "./chunk-3JNVGW62.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-N3G43SCQ.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-I7BHOZPX.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-DJDOWHH3.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-UH2OBO3T.mjs");
12
+ const { createSemanticIndexWorkerRuntime, createSemanticIndexWorkerServiceFactory } = await import("./worker-runtime-6DGYL4TF.mjs");
13
13
  const runtime = createSemanticIndexWorkerRuntime({
14
14
  serviceFactory: createSemanticIndexWorkerServiceFactory(startup)
15
15
  });
@@ -5,11 +5,17 @@ const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
7
  import {
8
+ AnalyticsService,
9
+ ArchiveImportError,
10
+ ArchiveImportSourceManager,
11
+ GoogleChatTakeoutResolver,
8
12
  LogLevel,
9
13
  NodePathProvider,
10
14
  PreferencesManager,
15
+ ZipArchiveReader,
11
16
  analyzeIncrementalImport,
12
17
  analyzeNewImport,
18
+ appLogger,
13
19
  applyPendingNodeDataDirMigration,
14
20
  applyPendingNodeDataDirMigrationIfNeeded,
15
21
  buildMergedOutput,
@@ -26,8 +32,10 @@ import {
26
32
  getErrorCount,
27
33
  getOrComputeAnalysisCache,
28
34
  getPendingNodeDataDirMigration,
35
+ getSystemLogsDir,
29
36
  hasPendingElectronDataWarning,
30
37
  incrementalImport,
38
+ initAppLogger,
31
39
  initPerfLog,
32
40
  isDirectoryEmptyOrMissing,
33
41
  isExistingUserDataDir,
@@ -43,8 +51,9 @@ import {
43
51
  serializeChatLabToJsonl,
44
52
  streamParseFileInfo,
45
53
  streamingImport,
54
+ validateArchiveEntryName,
46
55
  writeParseResultToDb
47
- } from "./chunk-N3G43SCQ.mjs";
56
+ } from "./chunk-GPF34WXV.mjs";
48
57
  import {
49
58
  AIChatManager,
50
59
  AgentEventHandler,
@@ -199,12 +208,15 @@ import {
199
208
  verifyCliDataPath,
200
209
  wasElectronUsed,
201
210
  wrapWithChartSchemaGate
202
- } from "./chunk-I7BHOZPX.mjs";
211
+ } from "./chunk-55WR6WKW.mjs";
203
212
  import "./chunk-GFHSSCCR.mjs";
204
213
  export {
205
214
  AIChatManager,
206
215
  AgentEventHandler,
207
216
  AiLogger,
217
+ AnalyticsService,
218
+ ArchiveImportError,
219
+ ArchiveImportSourceManager,
208
220
  AssistantManager,
209
221
  BUILTIN_DESENSITIZE_RULES,
210
222
  BetterSqliteAdapter,
@@ -220,6 +232,7 @@ export {
220
232
  DESENSITIZE_RULES_SCHEMA_VERSION,
221
233
  DataDirCompatibilityError,
222
234
  DatabaseManager,
235
+ GoogleChatTakeoutResolver,
223
236
  LLMConfigStore,
224
237
  LogLevel,
225
238
  MAX_CONFIG_COUNT,
@@ -235,10 +248,12 @@ export {
235
248
  TempDbReader,
236
249
  TempDbWriter,
237
250
  Type,
251
+ ZipArchiveReader,
238
252
  aiLocales,
239
253
  analyzeIncrementalImport,
240
254
  analyzeNewImport,
241
255
  anonymizeMessageNames,
256
+ appLogger,
242
257
  applyDesensitizeRuleOverrides,
243
258
  applyPendingNodeDataDirMigration,
244
259
  applyPendingNodeDataDirMigrationIfNeeded,
@@ -325,11 +340,13 @@ export {
325
340
  getPosTagDefinitions,
326
341
  getRuleGroupsForLocale,
327
342
  getSkillConfigWithBuiltinChart,
343
+ getSystemLogsDir,
328
344
  getValidatedOverviewCache,
329
345
  hasFtsTable,
330
346
  hasPendingElectronDataWarning,
331
347
  i18nTexts,
332
348
  incrementalImport,
349
+ initAppLogger,
333
350
  initNlpDir,
334
351
  initPerfLog,
335
352
  initTokenizer,
@@ -391,9 +408,10 @@ export {
391
408
  tokenizeQueryForFts,
392
409
  truncateFormattedMessages,
393
410
  validateApiKey,
411
+ validateArchiveEntryName,
394
412
  verifyCliDataPath,
395
413
  wasElectronUsed,
396
414
  wrapWithChartSchemaGate,
397
415
  writeParseResultToDb
398
416
  };
399
- //# sourceMappingURL=src-EKPMJRG6.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-SAE2H2LN.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-N3G43SCQ.mjs";
21
- import "./chunk-I7BHOZPX.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-FQFNRQ2B.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-I7BHOZPX.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-UH2OBO3T.mjs.map
71
+ //# sourceMappingURL=worker-runtime-6DGYL4TF.mjs.map