chatlab-cli 0.26.0 → 0.26.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/{chat-command-ZP4WJVWC.mjs → chat-command-T3Z4O4M5.mjs} +4 -4
  2. package/dist/{chunk-WXC6RZCX.mjs → chunk-3APSMVOM.mjs} +2 -2
  3. package/dist/{chunk-ILGSSXOG.mjs → chunk-6O2SW5GL.mjs} +5 -4
  4. package/dist/chunk-6O2SW5GL.mjs.map +1 -0
  5. package/dist/{chunk-SJIOPSMM.mjs → chunk-AZZYKUBR.mjs} +17 -39
  6. package/dist/chunk-AZZYKUBR.mjs.map +1 -0
  7. package/dist/{chunk-IRZRIHIT.mjs → chunk-FACKH2BR.mjs} +2 -2
  8. package/dist/{chunk-TC74HESZ.mjs → chunk-FAOZNMPK.mjs} +2 -2
  9. package/dist/{chunk-QY67NN65.mjs → chunk-GUGKY2GV.mjs} +329 -250
  10. package/dist/chunk-GUGKY2GV.mjs.map +1 -0
  11. package/dist/{chunk-UB4XBM4R.mjs → chunk-MZG2GLJR.mjs} +2 -2
  12. package/dist/{chunk-6G7AIF7I.mjs → chunk-SC77N66X.mjs} +9 -9
  13. package/dist/cli.mjs +3 -3
  14. package/dist/{http-J3IOFFIA.mjs → http-6LQUOYQ6.mjs} +8 -8
  15. package/dist/{import-POYG5LOX.mjs → import-B2MAIBAK.mjs} +4 -4
  16. package/dist/index.mjs +8 -8
  17. package/dist/{mcp-7HH7UMXT.mjs → mcp-ZMMYW46I.mjs} +4 -4
  18. package/dist/{stream-import-O3H3FGV2.mjs → stream-import-FHFBCEDV.mjs} +3 -3
  19. package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-CgtTQTfN.js +182 -0
  20. package/dist-web/assets/MessageExportModal-B8DKeSAH.js +1 -0
  21. package/dist-web/assets/{electron-B3DFm1cC.js → electron-C-aMus7e.js} +1 -1
  22. package/dist-web/assets/{electron-BMM4Nfty.js → electron-dBbXcMDB.js} +1 -1
  23. package/dist-web/assets/{fetch-BGfaAqO9.js → fetch-B-LdQP9s.js} +1 -1
  24. package/dist-web/assets/{fetch-BaJDB31c.js → fetch-B26JuD67.js} +1 -1
  25. package/dist-web/assets/{fetch-BjDJgdN0.js → fetch-BLKibnXa.js} +1 -1
  26. package/dist-web/assets/{fetch-BFtuJaa1.js → fetch-BNNqdS2B.js} +1 -1
  27. package/dist-web/assets/fetch-BSJY7tRo.js +1 -0
  28. package/dist-web/assets/{fetch-C5CLcpQW.js → fetch-CV8jezsM.js} +1 -1
  29. package/dist-web/assets/{fetch-DQZvdHnG.js → fetch-CvnJ4Jgf.js} +1 -1
  30. package/dist-web/assets/{fetch-ArMjdMcy.js → fetch-DP3yNfJM.js} +1 -1
  31. package/dist-web/assets/{fetch-SYrb-sZe.js → fetch-phbrO2bY.js} +1 -1
  32. package/dist-web/assets/{fetch-Dhfbt1BQ.js → fetch-xB6cl_1L.js} +1 -1
  33. package/dist-web/assets/index-8Zcs8peI.css +1 -0
  34. package/dist-web/assets/index-B_lOzUD8.js +2 -0
  35. package/dist-web/assets/index-BvWcJc3c.js +173 -0
  36. package/dist-web/assets/{index-D7_ch4zf.js → index-CSDI5pAA.js} +2 -2
  37. package/dist-web/assets/{index-CGNgUIT-.css → index-CX2FucK5.css} +1 -1
  38. package/dist-web/assets/{index-DK9LEEzT.js → index-DJQFNVUJ.js} +1 -1
  39. package/dist-web/assets/index-DZ6Szt_y.js +163 -0
  40. package/dist-web/assets/index-DhpclWeF.js +11 -0
  41. package/dist-web/assets/index-Dhql4DJr.css +1 -0
  42. package/dist-web/assets/{web-zEXsvoZW.js → web-DUQU-v8U.js} +1 -1
  43. package/dist-web/index.html +2 -2
  44. package/package.json +1 -1
  45. package/dist/chunk-ILGSSXOG.mjs.map +0 -1
  46. package/dist/chunk-QY67NN65.mjs.map +0 -1
  47. package/dist/chunk-SJIOPSMM.mjs.map +0 -1
  48. package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-BTJxEma5.js +0 -182
  49. package/dist-web/assets/MessageExportModal-C7NgEL8T.js +0 -1
  50. package/dist-web/assets/fetch-DnEP0uyF.js +0 -1
  51. package/dist-web/assets/index-C3A_Rjh-.css +0 -1
  52. package/dist-web/assets/index-CWfkrx37.js +0 -173
  53. package/dist-web/assets/index-D3N4NDFx.css +0 -1
  54. package/dist-web/assets/index-DqDa_on9.js +0 -9
  55. package/dist-web/assets/index-DrN1G9bl.js +0 -2
  56. package/dist-web/assets/index-MdYeovYo.js +0 -163
  57. /package/dist/{chat-command-ZP4WJVWC.mjs.map → chat-command-T3Z4O4M5.mjs.map} +0 -0
  58. /package/dist/{chunk-WXC6RZCX.mjs.map → chunk-3APSMVOM.mjs.map} +0 -0
  59. /package/dist/{chunk-IRZRIHIT.mjs.map → chunk-FACKH2BR.mjs.map} +0 -0
  60. /package/dist/{chunk-TC74HESZ.mjs.map → chunk-FAOZNMPK.mjs.map} +0 -0
  61. /package/dist/{chunk-UB4XBM4R.mjs.map → chunk-MZG2GLJR.mjs.map} +0 -0
  62. /package/dist/{chunk-6G7AIF7I.mjs.map → chunk-SC77N66X.mjs.map} +0 -0
  63. /package/dist/{http-J3IOFFIA.mjs.map → http-6LQUOYQ6.mjs.map} +0 -0
  64. /package/dist/{import-POYG5LOX.mjs.map → import-B2MAIBAK.mjs.map} +0 -0
  65. /package/dist/{mcp-7HH7UMXT.mjs.map → mcp-ZMMYW46I.mjs.map} +0 -0
  66. /package/dist/{stream-import-O3H3FGV2.mjs.map → stream-import-FHFBCEDV.mjs.map} +0 -0
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DataDirCompatibilityError,
12
12
  assertDataDirCompatible
13
- } from "./chunk-QY67NN65.mjs";
13
+ } from "./chunk-GUGKY2GV.mjs";
14
14
 
15
15
  // src/runtime-compat.ts
16
16
  function assertCliDataDirCompatible(pathProvider, kind, options) {
@@ -37,4 +37,4 @@ function formatCliDataDirCompatibilityError(error, runtime) {
37
37
  export {
38
38
  assertCliDataDirCompatible
39
39
  };
40
- //# sourceMappingURL=chunk-UB4XBM4R.mjs.map
40
+ //# sourceMappingURL=chunk-MZG2GLJR.mjs.map
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  assertCliDataDirCompatible
9
- } from "./chunk-UB4XBM4R.mjs";
9
+ } from "./chunk-MZG2GLJR.mjs";
10
10
  import {
11
11
  getVersion
12
12
  } from "./chunk-5ADKYYNA.mjs";
@@ -26,7 +26,7 @@ import {
26
26
  loadConfig,
27
27
  searchMessagesLike,
28
28
  verifyCliDataPath
29
- } from "./chunk-QY67NN65.mjs";
29
+ } from "./chunk-GUGKY2GV.mjs";
30
30
  import {
31
31
  resolveCliPath
32
32
  } from "./chunk-FJ35V3TE.mjs";
@@ -223,7 +223,7 @@ program.command("import <file>").description("Import a chat history file (14+ fo
223
223
  console.error(`File not found: ${file}`);
224
224
  process.exit(1);
225
225
  }
226
- const { streamImport, detectFormat } = await import("./import-POYG5LOX.mjs");
226
+ const { streamImport, detectFormat } = await import("./import-B2MAIBAK.mjs");
227
227
  const { dbManager } = initRuntime();
228
228
  const nativeBinding = resolveNativeBinding();
229
229
  const format = detectFormat(file);
@@ -265,7 +265,7 @@ Import error: ${err instanceof Error ? err.message : err}`);
265
265
  }
266
266
  });
267
267
  program.command("formats").description("List all supported chat history formats").action(async () => {
268
- const { getSupportedFormats } = await import("./import-POYG5LOX.mjs");
268
+ const { getSupportedFormats } = await import("./import-B2MAIBAK.mjs");
269
269
  const formats = getSupportedFormats();
270
270
  console.log(`${formats.length} supported format(s):
271
271
  `);
@@ -274,11 +274,11 @@ program.command("formats").description("List all supported chat history formats"
274
274
  }
275
275
  });
276
276
  program.command("mcp").description("Start MCP Server (stdio transport, for ClaudeCode / Cursor / AI agents)").action(async () => {
277
- const { startCliMcpServer } = await import("./mcp-7HH7UMXT.mjs");
277
+ const { startCliMcpServer } = await import("./mcp-ZMMYW46I.mjs");
278
278
  await startCliMcpServer();
279
279
  });
280
280
  program.command("chat").description("Ask ChatLab AI about an imported chat session").option("--session-id <id>", "Source chat session ID").option("--ai-chat-id <id>", "Existing AI chat ID to continue").option("-q, --question <text>", "Question to ask").option("--json", "Output structured JSON").option("--include-events", "Include all agent stream chunks in JSON output").option("--no-stream", "Disable streaming output").option("--locale <locale>", "AI response locale", "zh-CN").action(async (options) => {
281
- const { runChatCommand } = await import("./chat-command-ZP4WJVWC.mjs");
281
+ const { runChatCommand } = await import("./chat-command-T3Z4O4M5.mjs");
282
282
  const { dbManager, pathProvider } = initRuntime();
283
283
  const aiChatManager = new AIChatManager(pathProvider.getAiDataDir(), { nativeBinding: resolveNativeBinding() });
284
284
  try {
@@ -314,7 +314,7 @@ program.command("start").description("Start ChatLab (HTTP API + Web UI)").option
314
314
  });
315
315
  return;
316
316
  }
317
- const { startHttpServer } = await import("./http-J3IOFFIA.mjs");
317
+ const { startHttpServer } = await import("./http-6LQUOYQ6.mjs");
318
318
  const port = parseInt(options.port, 10);
319
319
  let webRoot;
320
320
  if (!options.headless) {
@@ -361,7 +361,7 @@ Press Ctrl+C to stop.
361
361
  }
362
362
  const shutdown = async () => {
363
363
  console.log("\nShutting down...");
364
- const { stopHttpServer } = await import("./http-J3IOFFIA.mjs");
364
+ const { stopHttpServer } = await import("./http-6LQUOYQ6.mjs");
365
365
  await stopHttpServer();
366
366
  process.exit(0);
367
367
  };
@@ -505,4 +505,4 @@ if (isDirectRun) {
505
505
  export {
506
506
  run
507
507
  };
508
- //# sourceMappingURL=chunk-6G7AIF7I.mjs.map
508
+ //# sourceMappingURL=chunk-SC77N66X.mjs.map
package/dist/cli.mjs CHANGED
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  run
9
- } from "./chunk-6G7AIF7I.mjs";
10
- import "./chunk-UB4XBM4R.mjs";
9
+ } from "./chunk-SC77N66X.mjs";
10
+ import "./chunk-MZG2GLJR.mjs";
11
11
  import "./chunk-5ADKYYNA.mjs";
12
- import "./chunk-QY67NN65.mjs";
12
+ import "./chunk-GUGKY2GV.mjs";
13
13
  import "./chunk-FJ35V3TE.mjs";
14
14
  import "./chunk-VSOWNKPA.mjs";
15
15
  export {
@@ -9,14 +9,14 @@ import {
9
9
  registerWebRoutes,
10
10
  startHttpServer,
11
11
  stopHttpServer
12
- } from "./chunk-SJIOPSMM.mjs";
13
- import "./chunk-WXC6RZCX.mjs";
14
- import "./chunk-TC74HESZ.mjs";
15
- import "./chunk-UB4XBM4R.mjs";
12
+ } from "./chunk-AZZYKUBR.mjs";
13
+ import "./chunk-3APSMVOM.mjs";
14
+ import "./chunk-FAOZNMPK.mjs";
15
+ import "./chunk-MZG2GLJR.mjs";
16
16
  import "./chunk-5ADKYYNA.mjs";
17
- import "./chunk-ILGSSXOG.mjs";
18
- import "./chunk-IRZRIHIT.mjs";
19
- import "./chunk-QY67NN65.mjs";
17
+ import "./chunk-6O2SW5GL.mjs";
18
+ import "./chunk-FACKH2BR.mjs";
19
+ import "./chunk-GUGKY2GV.mjs";
20
20
  import "./chunk-FJ35V3TE.mjs";
21
21
  import "./chunk-VSOWNKPA.mjs";
22
22
  export {
@@ -25,4 +25,4 @@ export {
25
25
  startHttpServer,
26
26
  stopHttpServer
27
27
  };
28
- //# sourceMappingURL=http-J3IOFFIA.mjs.map
28
+ //# sourceMappingURL=http-6LQUOYQ6.mjs.map
@@ -8,13 +8,13 @@ import {
8
8
  detectFormat as detectFormat2,
9
9
  importData,
10
10
  parseFile
11
- } from "./chunk-WXC6RZCX.mjs";
11
+ } from "./chunk-3APSMVOM.mjs";
12
12
  import {
13
13
  analyzeIncrementalImport,
14
14
  analyzeNewImport,
15
15
  incrementalImport,
16
16
  streamImport
17
- } from "./chunk-TC74HESZ.mjs";
17
+ } from "./chunk-FAOZNMPK.mjs";
18
18
  import {
19
19
  detectAllFormats,
20
20
  detectFormat,
@@ -22,7 +22,7 @@ import {
22
22
  getFormatFeatureById,
23
23
  getSupportedFormats,
24
24
  scanMultiChatFile
25
- } from "./chunk-QY67NN65.mjs";
25
+ } from "./chunk-GUGKY2GV.mjs";
26
26
  import "./chunk-VSOWNKPA.mjs";
27
27
  export {
28
28
  analyzeIncrementalImport,
@@ -39,4 +39,4 @@ export {
39
39
  scanMultiChatFile,
40
40
  streamImport
41
41
  };
42
- //# sourceMappingURL=import-POYG5LOX.mjs.map
42
+ //# sourceMappingURL=import-B2MAIBAK.mjs.map
package/dist/index.mjs CHANGED
@@ -7,17 +7,17 @@ const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  startHttpServer,
9
9
  stopHttpServer
10
- } from "./chunk-SJIOPSMM.mjs";
10
+ } from "./chunk-AZZYKUBR.mjs";
11
11
  import {
12
12
  run
13
- } from "./chunk-6G7AIF7I.mjs";
14
- import "./chunk-WXC6RZCX.mjs";
15
- import "./chunk-TC74HESZ.mjs";
16
- import "./chunk-UB4XBM4R.mjs";
13
+ } from "./chunk-SC77N66X.mjs";
14
+ import "./chunk-3APSMVOM.mjs";
15
+ import "./chunk-FAOZNMPK.mjs";
16
+ import "./chunk-MZG2GLJR.mjs";
17
17
  import "./chunk-5ADKYYNA.mjs";
18
- import "./chunk-ILGSSXOG.mjs";
19
- import "./chunk-IRZRIHIT.mjs";
20
- import "./chunk-QY67NN65.mjs";
18
+ import "./chunk-6O2SW5GL.mjs";
19
+ import "./chunk-FACKH2BR.mjs";
20
+ import "./chunk-GUGKY2GV.mjs";
21
21
  import "./chunk-FJ35V3TE.mjs";
22
22
  import "./chunk-VSOWNKPA.mjs";
23
23
  export {
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
7
  import {
8
8
  assertCliDataDirCompatible
9
- } from "./chunk-UB4XBM4R.mjs";
9
+ } from "./chunk-MZG2GLJR.mjs";
10
10
  import {
11
11
  getVersion
12
12
  } from "./chunk-5ADKYYNA.mjs";
13
13
  import {
14
14
  CoreDataProvider,
15
15
  MCP_TOOL_REGISTRY
16
- } from "./chunk-IRZRIHIT.mjs";
16
+ } from "./chunk-FACKH2BR.mjs";
17
17
  import {
18
18
  DatabaseManager,
19
19
  NodePathProvider,
@@ -23,7 +23,7 @@ import {
23
23
  hasPendingElectronDataWarning,
24
24
  loadConfig,
25
25
  verifyCliDataPath
26
- } from "./chunk-QY67NN65.mjs";
26
+ } from "./chunk-GUGKY2GV.mjs";
27
27
  import {
28
28
  resolveCliPath
29
29
  } from "./chunk-FJ35V3TE.mjs";
@@ -410,4 +410,4 @@ export {
410
410
  initMcpRuntime,
411
411
  startCliMcpServer
412
412
  };
413
- //# sourceMappingURL=mcp-7HH7UMXT.mjs.map
413
+ //# sourceMappingURL=mcp-ZMMYW46I.mjs.map
@@ -9,7 +9,7 @@ import {
9
9
  analyzeNewImport,
10
10
  incrementalImport,
11
11
  streamImport
12
- } from "./chunk-TC74HESZ.mjs";
12
+ } from "./chunk-FAOZNMPK.mjs";
13
13
  import {
14
14
  detectAllFormats,
15
15
  detectFormat,
@@ -17,7 +17,7 @@ import {
17
17
  getFormatFeatureById,
18
18
  getSupportedFormats,
19
19
  scanMultiChatFile
20
- } from "./chunk-QY67NN65.mjs";
20
+ } from "./chunk-GUGKY2GV.mjs";
21
21
  import "./chunk-VSOWNKPA.mjs";
22
22
  export {
23
23
  analyzeIncrementalImport,
@@ -31,4 +31,4 @@ export {
31
31
  scanMultiChatFile,
32
32
  streamImport
33
33
  };
34
- //# sourceMappingURL=stream-import-O3H3FGV2.mjs.map
34
+ //# sourceMappingURL=stream-import-FHFBCEDV.mjs.map