chatlab-cli 0.28.0 → 0.28.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 (71) hide show
  1. package/dist/{chat-command-7WL5NMZ6.mjs → chat-command-ISJ2DC7R.mjs} +5 -5
  2. package/dist/{chunk-VASK54KT.mjs → chunk-3QBVO4J7.mjs} +2 -2
  3. package/dist/chunk-5FGB42EQ.mjs +7 -0
  4. package/dist/{chunk-YQ2FJGBT.mjs → chunk-AB6TAXTQ.mjs} +83 -46
  5. package/dist/chunk-AB6TAXTQ.mjs.map +1 -0
  6. package/dist/{chunk-XNU5X7EV.mjs → chunk-ERAAWLEF.mjs} +3 -3
  7. package/dist/{chunk-GFRG7TZQ.mjs → chunk-GHTGFM6O.mjs} +14 -14
  8. package/dist/{chunk-WGS33EWH.mjs → chunk-NJB2NNB2.mjs} +2 -2
  9. package/dist/{chunk-ZSFVX6FM.mjs → chunk-T7IETWHN.mjs} +6 -22
  10. package/dist/chunk-T7IETWHN.mjs.map +1 -0
  11. package/dist/chunk-YBS3YQB6.mjs +1336 -0
  12. package/dist/chunk-YBS3YQB6.mjs.map +1 -0
  13. package/dist/{chunk-55WR6WKW.mjs → chunk-ZVDOFWL7.mjs} +13327 -4696
  14. package/dist/chunk-ZVDOFWL7.mjs.map +1 -0
  15. package/dist/cli.mjs +4 -4
  16. package/dist/{http-C2FBHNZG.mjs → http-MBILV37U.mjs} +9 -9
  17. package/dist/{import-ED6JCPSJ.mjs → import-EYV3GXHE.mjs} +5 -12
  18. package/dist/index.mjs +9 -9
  19. package/dist/{mcp-5JIBER4M.mjs → mcp-H55AEXU5.mjs} +5 -5
  20. package/dist/semantic-index-worker.mjs +1 -1
  21. package/dist/{src-WBNM42SL.mjs → src-36ZIR65K.mjs} +30 -28
  22. package/dist/{stream-import-37U3SROO.mjs → stream-import-YZMZ56B5.mjs} +4 -4
  23. package/dist/stream-import-YZMZ56B5.mjs.map +1 -0
  24. package/dist/undici-ZSXBT7EA.mjs +18389 -0
  25. package/dist/undici-ZSXBT7EA.mjs.map +1 -0
  26. package/dist/{worker-runtime-6DGYL4TF.mjs → worker-runtime-YDYS2C6T.mjs} +9 -5
  27. package/dist/worker-runtime-YDYS2C6T.mjs.map +1 -0
  28. package/dist-web/assets/{DebugToolsPanel.vue_vue_type_script_setup_true_lang-CCz0Syxo.js → DebugToolsPanel.vue_vue_type_script_setup_true_lang-Do3x4aL3.js} +5 -5
  29. package/dist-web/assets/{MessageExportModal-Dd6R-cX_.js → MessageExportModal-rijqUusq.js} +1 -1
  30. package/dist-web/assets/{electron-DjminAKK.js → electron-DWDCqx_d.js} +1 -1
  31. package/dist-web/assets/{fetch-B_kLRm6-.js → fetch-29ZBtGV0.js} +1 -1
  32. package/dist-web/assets/{fetch-DFCYOQe5.js → fetch-BAxKmbKF.js} +1 -1
  33. package/dist-web/assets/{fetch-srCJzcWc.js → fetch-BYczbT4C.js} +1 -1
  34. package/dist-web/assets/{fetch-DOhCQ5J8.js → fetch-BcxrU2mr.js} +1 -1
  35. package/dist-web/assets/{fetch-DV8A1dGB.js → fetch-Bh1fo3Df.js} +1 -1
  36. package/dist-web/assets/{fetch-Wad5mWVH.js → fetch-C3yhWO2S.js} +1 -1
  37. package/dist-web/assets/{fetch-CURbMNJV.js → fetch-Da_TBxrX.js} +1 -1
  38. package/dist-web/assets/{fetch-uM3erGZm.js → fetch-DyD8wDhb.js} +1 -1
  39. package/dist-web/assets/{fetch-Cle6QKmL.js → fetch-TCeykOkO.js} +1 -1
  40. package/dist-web/assets/{fetch-r83wdzHy.js → fetch-tIIVdXSv.js} +1 -1
  41. package/dist-web/assets/index-BzjLqlW_.js +173 -0
  42. package/dist-web/assets/{index-BpszRZ8V.js → index-C74qEDFh.js} +3 -3
  43. package/dist-web/assets/index-CM6xNPFp.css +1 -0
  44. package/dist-web/assets/index-CgK2LLIF.js +12 -0
  45. package/dist-web/assets/{index-hOsKRsp6.js → index-CjkOvM3N.js} +2 -2
  46. package/dist-web/assets/{index-BIvLzdwg.js → index-Dno7CADA.js} +1 -1
  47. package/dist-web/assets/{index-tkbEq8av.js → index-fbWrQpgH.js} +1 -1
  48. package/dist-web/assets/{web-D27K6zSX.js → web-H3XLx159.js} +1 -1
  49. package/dist-web/index.html +2 -2
  50. package/package.json +1 -1
  51. package/dist/chunk-55WR6WKW.mjs.map +0 -1
  52. package/dist/chunk-GPF34WXV.mjs +0 -9573
  53. package/dist/chunk-GPF34WXV.mjs.map +0 -1
  54. package/dist/chunk-YQ2FJGBT.mjs.map +0 -1
  55. package/dist/chunk-YZDEZ6UI.mjs +0 -389
  56. package/dist/chunk-YZDEZ6UI.mjs.map +0 -1
  57. package/dist/chunk-ZSFVX6FM.mjs.map +0 -1
  58. package/dist/worker-runtime-6DGYL4TF.mjs.map +0 -1
  59. package/dist-web/assets/index-7E5GSvR2.css +0 -1
  60. package/dist-web/assets/index-BCRHSc1k.js +0 -173
  61. package/dist-web/assets/index-D5UgZUpS.js +0 -12
  62. /package/dist/{chat-command-7WL5NMZ6.mjs.map → chat-command-ISJ2DC7R.mjs.map} +0 -0
  63. /package/dist/{chunk-VASK54KT.mjs.map → chunk-3QBVO4J7.mjs.map} +0 -0
  64. /package/dist/{http-C2FBHNZG.mjs.map → chunk-5FGB42EQ.mjs.map} +0 -0
  65. /package/dist/{chunk-XNU5X7EV.mjs.map → chunk-ERAAWLEF.mjs.map} +0 -0
  66. /package/dist/{chunk-GFRG7TZQ.mjs.map → chunk-GHTGFM6O.mjs.map} +0 -0
  67. /package/dist/{chunk-WGS33EWH.mjs.map → chunk-NJB2NNB2.mjs.map} +0 -0
  68. /package/dist/{import-ED6JCPSJ.mjs.map → http-MBILV37U.mjs.map} +0 -0
  69. /package/dist/{src-WBNM42SL.mjs.map → import-EYV3GXHE.mjs.map} +0 -0
  70. /package/dist/{mcp-5JIBER4M.mjs.map → mcp-H55AEXU5.mjs.map} +0 -0
  71. /package/dist/{stream-import-37U3SROO.mjs.map → src-36ZIR65K.mjs.map} +0 -0
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-GFRG7TZQ.mjs";
10
- import "./chunk-WGS33EWH.mjs";
9
+ } from "./chunk-GHTGFM6O.mjs";
10
+ import "./chunk-NJB2NNB2.mjs";
11
11
  import "./chunk-5ADKYYNA.mjs";
12
12
  import "./chunk-FJ35V3TE.mjs";
13
- import "./chunk-GPF34WXV.mjs";
14
- import "./chunk-55WR6WKW.mjs";
13
+ import "./chunk-YBS3YQB6.mjs";
14
+ import "./chunk-ZVDOFWL7.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-YQ2FJGBT.mjs";
13
- import "./chunk-XNU5X7EV.mjs";
14
- import "./chunk-VASK54KT.mjs";
15
- import "./chunk-WGS33EWH.mjs";
12
+ } from "./chunk-AB6TAXTQ.mjs";
13
+ import "./chunk-5FGB42EQ.mjs";
14
+ import "./chunk-ERAAWLEF.mjs";
15
+ import "./chunk-3QBVO4J7.mjs";
16
+ import "./chunk-NJB2NNB2.mjs";
16
17
  import "./chunk-5ADKYYNA.mjs";
17
18
  import "./chunk-FJ35V3TE.mjs";
18
- import "./chunk-YZDEZ6UI.mjs";
19
- import "./chunk-ZSFVX6FM.mjs";
20
- import "./chunk-GPF34WXV.mjs";
21
- import "./chunk-55WR6WKW.mjs";
19
+ import "./chunk-T7IETWHN.mjs";
20
+ import "./chunk-YBS3YQB6.mjs";
21
+ import "./chunk-ZVDOFWL7.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-C2FBHNZG.mjs.map
29
+ //# sourceMappingURL=http-MBILV37U.mjs.map
@@ -4,17 +4,14 @@ import { fileURLToPath as __fileURLToPath } from 'url';
4
4
  const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
- import {
8
- detectFormat as detectFormat2,
9
- importData,
10
- parseFile
11
- } from "./chunk-YZDEZ6UI.mjs";
7
+ import "./chunk-5FGB42EQ.mjs";
12
8
  import {
13
9
  analyzeIncrementalImport,
14
10
  analyzeNewImport,
15
11
  incrementalImport,
16
12
  streamImport
17
- } from "./chunk-ZSFVX6FM.mjs";
13
+ } from "./chunk-T7IETWHN.mjs";
14
+ import "./chunk-YBS3YQB6.mjs";
18
15
  import {
19
16
  detectAllFormats,
20
17
  detectFormat,
@@ -22,22 +19,18 @@ import {
22
19
  getFormatFeatureById,
23
20
  getSupportedFormats,
24
21
  scanMultiChatFile
25
- } from "./chunk-GPF34WXV.mjs";
26
- import "./chunk-55WR6WKW.mjs";
22
+ } from "./chunk-ZVDOFWL7.mjs";
27
23
  import "./chunk-GFHSSCCR.mjs";
28
24
  export {
29
25
  analyzeIncrementalImport,
30
26
  analyzeNewImport,
31
27
  detectAllFormats,
32
- detectFormat2 as detectChatLabFormat,
33
28
  detectFormat,
34
29
  findEntryFileInDirectory,
35
30
  getFormatFeatureById,
36
31
  getSupportedFormats,
37
- importData,
38
32
  incrementalImport,
39
- parseFile,
40
33
  scanMultiChatFile,
41
34
  streamImport
42
35
  };
43
- //# sourceMappingURL=import-ED6JCPSJ.mjs.map
36
+ //# sourceMappingURL=import-EYV3GXHE.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-YQ2FJGBT.mjs";
11
- import "./chunk-XNU5X7EV.mjs";
12
- import "./chunk-VASK54KT.mjs";
10
+ } from "./chunk-AB6TAXTQ.mjs";
11
+ import "./chunk-5FGB42EQ.mjs";
12
+ import "./chunk-ERAAWLEF.mjs";
13
+ import "./chunk-3QBVO4J7.mjs";
13
14
  import {
14
15
  run
15
- } from "./chunk-GFRG7TZQ.mjs";
16
- import "./chunk-WGS33EWH.mjs";
16
+ } from "./chunk-GHTGFM6O.mjs";
17
+ import "./chunk-NJB2NNB2.mjs";
17
18
  import "./chunk-5ADKYYNA.mjs";
18
19
  import "./chunk-FJ35V3TE.mjs";
19
- import "./chunk-YZDEZ6UI.mjs";
20
- import "./chunk-ZSFVX6FM.mjs";
21
- import "./chunk-GPF34WXV.mjs";
22
- import "./chunk-55WR6WKW.mjs";
20
+ import "./chunk-T7IETWHN.mjs";
21
+ import "./chunk-YBS3YQB6.mjs";
22
+ import "./chunk-ZVDOFWL7.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-VASK54KT.mjs";
10
+ } from "./chunk-3QBVO4J7.mjs";
11
11
  import {
12
12
  assertCliDataDirCompatible
13
- } from "./chunk-WGS33EWH.mjs";
13
+ } from "./chunk-NJB2NNB2.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-GPF34WXV.mjs";
23
+ } from "./chunk-YBS3YQB6.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-55WR6WKW.mjs";
31
+ } from "./chunk-ZVDOFWL7.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-5JIBER4M.mjs.map
415
+ //# sourceMappingURL=mcp-H55AEXU5.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-6DGYL4TF.mjs");
12
+ const { createSemanticIndexWorkerRuntime, createSemanticIndexWorkerServiceFactory } = await import("./worker-runtime-YDYS2C6T.mjs");
13
13
  const runtime = createSemanticIndexWorkerRuntime({
14
14
  serviceFactory: createSemanticIndexWorkerServiceFactory(startup)
15
15
  });
@@ -6,16 +6,8 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  AnalyticsService,
9
- ArchiveImportError,
10
- ArchiveImportSourceManager,
11
- GoogleChatTakeoutResolver,
12
- LogLevel,
13
9
  NodePathProvider,
14
10
  PreferencesManager,
15
- ZipArchiveReader,
16
- analyzeIncrementalImport,
17
- analyzeNewImport,
18
- appLogger,
19
11
  applyPendingNodeDataDirMigration,
20
12
  applyPendingNodeDataDirMigrationIfNeeded,
21
13
  buildMergedOutput,
@@ -26,38 +18,25 @@ import {
26
18
  createNodeDataDirSwitch,
27
19
  createPendingDataDirMigration,
28
20
  createSemanticIndexWorkerRuntimeClient,
29
- getCurrentLogFile,
30
21
  getDbFileVersion,
31
22
  getDefaultNodeUserDataDir,
32
- getErrorCount,
33
23
  getOrComputeAnalysisCache,
34
24
  getPendingNodeDataDirMigration,
35
25
  getSystemLogsDir,
36
26
  hasPendingElectronDataWarning,
37
- incrementalImport,
38
- initAppLogger,
39
- initPerfLog,
40
27
  isDirectoryEmptyOrMissing,
41
28
  isExistingUserDataDir,
42
29
  isUserDataDirSafeToUse,
43
- logError,
44
- logInfo,
45
- logPerf,
46
- logPerfDetail,
47
- logSummary,
48
- resetPerfLog,
49
30
  runPendingDataDirMigration,
50
31
  semantic_index_exports,
51
- serializeChatLabToJsonl,
52
- streamParseFileInfo,
53
- streamingImport,
54
- validateArchiveEntryName,
55
- writeParseResultToDb
56
- } from "./chunk-GPF34WXV.mjs";
32
+ serializeChatLabToJsonl
33
+ } from "./chunk-YBS3YQB6.mjs";
57
34
  import {
58
35
  AIChatManager,
59
36
  AgentEventHandler,
60
37
  AiLogger,
38
+ ArchiveImportError,
39
+ ArchiveImportSourceManager,
61
40
  AssistantManager,
62
41
  BUILTIN_DESENSITIZE_RULES,
63
42
  BetterSqliteAdapter,
@@ -73,7 +52,9 @@ import {
73
52
  DESENSITIZE_RULES_SCHEMA_VERSION,
74
53
  DataDirCompatibilityError,
75
54
  DatabaseManager,
55
+ GoogleChatTakeoutResolver,
76
56
  LLMConfigStore,
57
+ LogLevel,
77
58
  MAX_CONFIG_COUNT,
78
59
  MergeSessionCache,
79
60
  SEMANTIC_INDEX_CONFIG_FILE,
@@ -85,8 +66,12 @@ import {
85
66
  TempDbReader,
86
67
  TempDbWriter,
87
68
  Type,
69
+ ZipArchiveReader,
88
70
  aiLocales,
71
+ analyzeIncrementalImport,
72
+ analyzeNewImport,
89
73
  anonymizeMessageNames,
74
+ appLogger,
90
75
  applyDesensitizeRuleOverrides,
91
76
  applyPreprocessingPipeline,
92
77
  assertDataDirCompatible,
@@ -149,8 +134,10 @@ import {
149
134
  getChartCapabilitySkill,
150
135
  getChartPlannerCapabilityForMessage,
151
136
  getChatDbMigrations,
137
+ getCurrentLogFile,
152
138
  getDefaultRulesForLocale,
153
139
  getDictList,
140
+ getErrorCount,
154
141
  getJieba,
155
142
  getNlpDir,
156
143
  getPosTagDefinitions,
@@ -159,7 +146,10 @@ import {
159
146
  getValidatedOverviewCache,
160
147
  hasFtsTable,
161
148
  i18nTexts,
149
+ incrementalImport,
150
+ initAppLogger,
162
151
  initNlpDir,
152
+ initPerfLog,
163
153
  initTokenizer,
164
154
  insertFtsEntries,
165
155
  invalidateCache,
@@ -168,6 +158,11 @@ import {
168
158
  isSemanticIndexConfigured,
169
159
  isValidMessage,
170
160
  loadDictBuffer,
161
+ logError,
162
+ logInfo,
163
+ logPerf,
164
+ logPerfDetail,
165
+ logSummary,
171
166
  manualCompress,
172
167
  member_service_exports,
173
168
  mergeRulesForLocale,
@@ -180,10 +175,12 @@ import {
180
175
  parseSkillFile,
181
176
  persistSemanticIndexConfig,
182
177
  preprocessMessages,
178
+ pushImport,
183
179
  raiseChatDbCompatibilityGate,
184
180
  raiseDataDirMinRuntimeVersion,
185
181
  readDataDirCompatibilityMeta,
186
182
  rebuildFtsIndex,
183
+ resetPerfLog,
187
184
  resolveChartRuntimeForRequest,
188
185
  resolveSemanticIndexApiKeySet,
189
186
  runAgentCore,
@@ -198,17 +195,21 @@ import {
198
195
  shouldOfferChartCapabilityForAnalyticalMessage,
199
196
  shouldUseChartCapabilityForMessage,
200
197
  splitIntoSegments,
198
+ streamParseFileInfo,
201
199
  streamSimple,
200
+ streamingImport,
202
201
  summary_service_exports,
203
202
  t,
204
203
  tokenizeForFts,
205
204
  tokenizeQueryForFts,
206
205
  truncateFormattedMessages,
207
206
  validateApiKey,
207
+ validateArchiveEntryName,
208
208
  verifyCliDataPath,
209
209
  wasElectronUsed,
210
- wrapWithChartSchemaGate
211
- } from "./chunk-55WR6WKW.mjs";
210
+ wrapWithChartSchemaGate,
211
+ writeParseResultToDb
212
+ } from "./chunk-ZVDOFWL7.mjs";
212
213
  import "./chunk-GFHSSCCR.mjs";
213
214
  export {
214
215
  AIChatManager,
@@ -377,6 +378,7 @@ export {
377
378
  parseSkillFile,
378
379
  persistSemanticIndexConfig,
379
380
  preprocessMessages,
381
+ pushImport,
380
382
  raiseChatDbCompatibilityGate,
381
383
  raiseDataDirMinRuntimeVersion,
382
384
  readDataDirCompatibilityMeta,
@@ -414,4 +416,4 @@ export {
414
416
  wrapWithChartSchemaGate,
415
417
  writeParseResultToDb
416
418
  };
417
- //# sourceMappingURL=src-WBNM42SL.mjs.map
419
+ //# sourceMappingURL=src-36ZIR65K.mjs.map
@@ -9,7 +9,8 @@ import {
9
9
  analyzeNewImport,
10
10
  incrementalImport,
11
11
  streamImport
12
- } from "./chunk-ZSFVX6FM.mjs";
12
+ } from "./chunk-T7IETWHN.mjs";
13
+ import "./chunk-YBS3YQB6.mjs";
13
14
  import {
14
15
  detectAllFormats,
15
16
  detectFormat,
@@ -17,8 +18,7 @@ import {
17
18
  getFormatFeatureById,
18
19
  getSupportedFormats,
19
20
  scanMultiChatFile
20
- } from "./chunk-GPF34WXV.mjs";
21
- import "./chunk-55WR6WKW.mjs";
21
+ } from "./chunk-ZVDOFWL7.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-37U3SROO.mjs.map
35
+ //# sourceMappingURL=stream-import-YZMZ56B5.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}