chatlab-cli 0.31.2-beta.1 → 0.31.2
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.
- package/dist/{chat-command-V6NYTTPD.mjs → chat-command-QPL4GNHP.mjs} +8 -8
- package/dist/{chunk-7TDYBU5L.mjs → chunk-3SZWD7UM.mjs} +4 -4
- package/dist/{chunk-WL2ISRYH.mjs → chunk-64FKPYPJ.mjs} +11 -11
- package/dist/{chunk-LWC7JQ2W.mjs → chunk-6JKKHPXY.mjs} +2 -2
- package/dist/{chunk-67HNEIKY.mjs → chunk-BSSR4ZYW.mjs} +1878 -2038
- package/dist/chunk-BSSR4ZYW.mjs.map +1 -0
- package/dist/{chunk-ZF67S6RY.mjs → chunk-F2NZ7HAY.mjs} +2 -2
- package/dist/{chunk-5G2INROS.mjs → chunk-GYPBWKAU.mjs} +356 -483
- package/dist/chunk-GYPBWKAU.mjs.map +1 -0
- package/dist/{chunk-XZ5FFDLX.mjs → chunk-IK7GJTGY.mjs} +131 -117
- package/dist/chunk-IK7GJTGY.mjs.map +1 -0
- package/dist/{chunk-HUKZ2PBC.mjs → chunk-OAXVKNPN.mjs} +2 -2
- package/dist/{chunk-54GVCXHZ.mjs → chunk-OQ6N4PDD.mjs} +2 -2
- package/dist/{chunk-SJQVAKFA.mjs → chunk-S5PQM5J4.mjs} +4 -5
- package/dist/chunk-S5PQM5J4.mjs.map +1 -0
- package/dist/{chunk-OIZ64ET3.mjs → chunk-ZCXCHKQV.mjs} +3 -3
- package/dist/cli.mjs +8 -8
- package/dist/contacts-worker.mjs +2 -2
- package/dist/global-insight-worker.mjs +1 -1
- package/dist/{http-AMDWRKOH.mjs → http-NOEWVWCP.mjs} +11 -11
- package/dist/{import-WIJHB4LH.mjs → import-RS3HW7ZM.mjs} +7 -7
- package/dist/index.mjs +11 -11
- package/dist/{mcp-NC5YNTM5.mjs → mcp-7F3G47Z4.mjs} +8 -8
- package/dist/people-relationships-worker.mjs +2 -2
- package/dist/semantic-index-worker.mjs +1 -1
- package/dist/{src-UY4GCVNF.mjs → src-MNH5S423.mjs} +6 -22
- package/dist/{stream-import-JKQYRISL.mjs → stream-import-BPCHGRAN.mjs} +7 -7
- package/dist/{worker-runtime-KKUOJJTN.mjs → worker-runtime-TTAXGQ5R.mjs} +5 -5
- package/dist-web/assets/{ActionToolsPanel-BL0GQR6r.css → ActionToolsPanel-CbWhu_Uv.css} +1 -1
- package/dist-web/assets/ActionToolsPanel.vue_vue_type_script_setup_true_lang-CvvNqXuh.js +110 -0
- package/dist-web/assets/{BufferResource-i1amDJTV.js → BufferResource-Dh2kaMuP.js} +1 -1
- package/dist-web/assets/{CanvasRenderer-DGa7AjdC.js → CanvasRenderer-B8hHywwz.js} +1 -1
- package/dist-web/assets/{Filter-BTlq0yU-.js → Filter-Bap1KMW6.js} +1 -1
- package/dist-web/assets/{MessageExportModal-D9C5t_zF.js → MessageExportModal-H3-LAaXY.js} +1 -1
- package/dist-web/assets/{PageHeader-BEWr2vsg.js → PageHeader-CzTV_lyM.js} +1 -1
- package/dist-web/assets/{RelationshipGalaxyCanvas-CSgPNRif.js → RelationshipGalaxyCanvas-C6ZoUZNc.js} +3 -3
- package/dist-web/assets/{RelationshipGalaxyThreeCanvas-CBAnU8vN.js → RelationshipGalaxyThreeCanvas-DV6B-7XB.js} +1 -1
- package/dist-web/assets/{RenderTargetSystem-Ctlu222X.js → RenderTargetSystem-Dpgyoac_.js} +1 -1
- package/dist-web/assets/{TimeSelect.vue_vue_type_script_setup_true_lang-D5vov0eO.js → TimeSelect.vue_vue_type_script_setup_true_lang--Tbo7p-l.js} +1 -1
- package/dist-web/assets/{WebGLRenderer-D2Zvhmcw.js → WebGLRenderer-DICnsAm5.js} +1 -1
- package/dist-web/assets/{WebGPURenderer-BOtP6h9o.js → WebGPURenderer-Bf0gkRK9.js} +1 -1
- package/dist-web/assets/{base-BMjDSaj6.js → base-D5T8QZ8b.js} +1 -1
- package/dist-web/assets/{browserAll-BhwLvWQY.js → browserAll-DcoCy7xY.js} +1 -1
- package/dist-web/assets/{dateFormat-dteP1INW.js → dateFormat-BDOkdsCR.js} +1 -1
- package/dist-web/assets/{electron-DCgfulPE.js → electron-CmhzSjaH.js} +1 -1
- package/dist-web/assets/{fetch-BbU4MPPu.js → fetch-BJka-sCN.js} +1 -1
- package/dist-web/assets/{fetch-CubnKpLG.js → fetch-BddgpyKJ.js} +1 -1
- package/dist-web/assets/{fetch-DgXWr9nB.js → fetch-C1mlq5VY.js} +1 -1
- package/dist-web/assets/{fetch-rJA9qLvd.js → fetch-CNz28Lv5.js} +1 -1
- package/dist-web/assets/{fetch-D5BrGna5.js → fetch-D71bG6Fc.js} +1 -1
- package/dist-web/assets/{fetch-CpvfCafG.js → fetch-D8xv4lgE.js} +1 -1
- package/dist-web/assets/{fetch-6q7oz7ZO.js → fetch-DfTM4Dah.js} +1 -1
- package/dist-web/assets/{fetch-B_0HIxs5.js → fetch-DtcNaN3d.js} +1 -1
- package/dist-web/assets/{fetch-DvZuLuTE.js → fetch-TATpgXht.js} +1 -1
- package/dist-web/assets/{fetch-BxHdB6X1.js → fetch-dI5w8lYN.js} +1 -1
- package/dist-web/assets/{index-DXcFBsM1.js → index-Bs4ZX2-v.js} +1 -1
- package/dist-web/assets/index-CF59LLOG.js +25 -0
- package/dist-web/assets/{index-CLijvqy3.js → index-CJ3WtSLo.js} +1 -1
- package/dist-web/assets/{index-D7aKwT6w.js → index-CJS6FVuj.js} +3 -3
- package/dist-web/assets/{index-Cj2GU1SR.js → index-CY5yJhCJ.js} +1 -1
- package/dist-web/assets/{index-DaZnh1zP.js → index-DClxj4T2.js} +2 -2
- package/dist-web/assets/{index-BoalB6nB.js → index-De3ImZb9.js} +1 -1
- package/dist-web/assets/{index-CUzFFw5b.js → index-Dp3gCHpK.js} +1 -1
- package/dist-web/assets/{index-Bp5VKUF9.js → index-DphjBwbA.js} +1 -1
- package/dist-web/assets/{index-Bs15Yc7I.js → index-Dtbu8m1o.js} +1 -1
- package/dist-web/assets/{index-t6s0nOlb.js → index-a1ZrlsKo.js} +1 -1
- package/dist-web/assets/{index-BfGKlkx3.js → index-qZ7jnIna.js} +2 -2
- package/dist-web/assets/{index-WJCmqKnh.js → index-soX5gDgh.js} +1 -1
- package/dist-web/assets/{web-BoTDL3HM.js → web-H9T1dZys.js} +1 -1
- package/dist-web/assets/{webworkerAll-c0ZvpENM.js → webworkerAll-D1Kui8G8.js} +1 -1
- package/dist-web/index.html +1 -1
- package/package.json +1 -1
- package/dist/chunk-5G2INROS.mjs.map +0 -1
- package/dist/chunk-67HNEIKY.mjs.map +0 -1
- package/dist/chunk-SJQVAKFA.mjs.map +0 -1
- package/dist/chunk-XZ5FFDLX.mjs.map +0 -1
- package/dist-web/assets/ActionToolsPanel.vue_vue_type_script_setup_true_lang-DVdpZpfD.js +0 -110
- package/dist-web/assets/index-DeV8SAiM.js +0 -25
- /package/dist/{chat-command-V6NYTTPD.mjs.map → chat-command-QPL4GNHP.mjs.map} +0 -0
- /package/dist/{chunk-7TDYBU5L.mjs.map → chunk-3SZWD7UM.mjs.map} +0 -0
- /package/dist/{chunk-WL2ISRYH.mjs.map → chunk-64FKPYPJ.mjs.map} +0 -0
- /package/dist/{chunk-LWC7JQ2W.mjs.map → chunk-6JKKHPXY.mjs.map} +0 -0
- /package/dist/{chunk-ZF67S6RY.mjs.map → chunk-F2NZ7HAY.mjs.map} +0 -0
- /package/dist/{chunk-HUKZ2PBC.mjs.map → chunk-OAXVKNPN.mjs.map} +0 -0
- /package/dist/{chunk-54GVCXHZ.mjs.map → chunk-OQ6N4PDD.mjs.map} +0 -0
- /package/dist/{chunk-OIZ64ET3.mjs.map → chunk-ZCXCHKQV.mjs.map} +0 -0
- /package/dist/{http-AMDWRKOH.mjs.map → http-NOEWVWCP.mjs.map} +0 -0
- /package/dist/{import-WIJHB4LH.mjs.map → import-RS3HW7ZM.mjs.map} +0 -0
- /package/dist/{mcp-NC5YNTM5.mjs.map → mcp-7F3G47Z4.mjs.map} +0 -0
- /package/dist/{src-UY4GCVNF.mjs.map → src-MNH5S423.mjs.map} +0 -0
- /package/dist/{stream-import-JKQYRISL.mjs.map → stream-import-BPCHGRAN.mjs.map} +0 -0
- /package/dist/{worker-runtime-KKUOJJTN.mjs.map → worker-runtime-TTAXGQ5R.mjs.map} +0 -0
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __pathDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
createCliRunAgentStream
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-3SZWD7UM.mjs";
|
|
10
|
+
import "./chunk-6JKKHPXY.mjs";
|
|
11
|
+
import "./chunk-S5PQM5J4.mjs";
|
|
12
|
+
import "./chunk-GYPBWKAU.mjs";
|
|
13
|
+
import "./chunk-F2NZ7HAY.mjs";
|
|
14
|
+
import "./chunk-OAXVKNPN.mjs";
|
|
15
15
|
import "./chunk-YAQLYL52.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-IK7GJTGY.mjs";
|
|
17
17
|
import "./chunk-GFHSSCCR.mjs";
|
|
18
18
|
|
|
19
19
|
// src/ai/chat-command.ts
|
|
@@ -306,4 +306,4 @@ export {
|
|
|
306
306
|
runChatCommand,
|
|
307
307
|
runChatTurn
|
|
308
308
|
};
|
|
309
|
-
//# sourceMappingURL=chat-command-
|
|
309
|
+
//# sourceMappingURL=chat-command-QPL4GNHP.mjs.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
SEMANTIC_SEARCH_TOOL_NAME,
|
|
11
11
|
executeToolForAgent,
|
|
12
12
|
toAgentToolParameters
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6JKKHPXY.mjs";
|
|
14
14
|
import {
|
|
15
15
|
AgentEventHandler,
|
|
16
16
|
CHART_CAPABILITY_CORE_TOOLS,
|
|
@@ -44,14 +44,14 @@ import {
|
|
|
44
44
|
runAgentCore,
|
|
45
45
|
shouldUseChartCapabilityForMessage,
|
|
46
46
|
wrapWithChartSchemaGate
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-GYPBWKAU.mjs";
|
|
48
48
|
import {
|
|
49
49
|
AiLogger,
|
|
50
50
|
batchSegmentWithFrequency,
|
|
51
51
|
getChatOverview,
|
|
52
52
|
normalizeBuiltinToolNames,
|
|
53
53
|
resolveApiKey
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IK7GJTGY.mjs";
|
|
55
55
|
|
|
56
56
|
// src/ai/logger.ts
|
|
57
57
|
var logger = null;
|
|
@@ -562,4 +562,4 @@ export {
|
|
|
562
562
|
closeServerAiLogger,
|
|
563
563
|
createCliRunAgentStream
|
|
564
564
|
};
|
|
565
|
-
//# sourceMappingURL=chunk-
|
|
565
|
+
//# sourceMappingURL=chunk-3SZWD7UM.mjs.map
|
|
@@ -7,10 +7,10 @@ const __dirname = __pathDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
analyzeAutoImport,
|
|
9
9
|
autoImport
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZCXCHKQV.mjs";
|
|
11
11
|
import {
|
|
12
12
|
assertCliDataDirCompatible
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OQ6N4PDD.mjs";
|
|
14
14
|
import {
|
|
15
15
|
getVersion
|
|
16
16
|
} from "./chunk-5ADKYYNA.mjs";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
applyPendingNodeDataDirMigrationIfNeeded,
|
|
21
21
|
getSystemLogsDir,
|
|
22
22
|
hasPendingElectronDataWarning
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S5PQM5J4.mjs";
|
|
24
24
|
import {
|
|
25
25
|
AIChatManager,
|
|
26
26
|
IMPORT_IN_PROGRESS_ERROR_KEY,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
mergeRulesForLocale,
|
|
34
34
|
owner_profile_service_exports,
|
|
35
35
|
preprocessMessages
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GYPBWKAU.mjs";
|
|
37
37
|
import {
|
|
38
38
|
resolveCliPath
|
|
39
39
|
} from "./chunk-FJ35V3TE.mjs";
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
searchMessagesLike,
|
|
74
74
|
setConfigField,
|
|
75
75
|
verifyCliDataPath
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-IK7GJTGY.mjs";
|
|
77
77
|
|
|
78
78
|
// src/cli.ts
|
|
79
79
|
import * as fs3 from "fs";
|
|
@@ -2224,7 +2224,7 @@ registerQueryCommands(program);
|
|
|
2224
2224
|
registerManifestCommand(program, getVersion());
|
|
2225
2225
|
registerImportCommand(program);
|
|
2226
2226
|
program.command("formats").description("List all supported chat history formats").action(async () => {
|
|
2227
|
-
const { getSupportedFormats } = await import("./import-
|
|
2227
|
+
const { getSupportedFormats } = await import("./import-RS3HW7ZM.mjs");
|
|
2228
2228
|
const formats = getSupportedFormats();
|
|
2229
2229
|
console.log(`${formats.length} supported format(s):
|
|
2230
2230
|
`);
|
|
@@ -2233,11 +2233,11 @@ program.command("formats").description("List all supported chat history formats"
|
|
|
2233
2233
|
}
|
|
2234
2234
|
});
|
|
2235
2235
|
program.command("mcp").description("Start MCP Server (stdio transport, for ClaudeCode / Cursor / AI agents)").action(async () => {
|
|
2236
|
-
const { startCliMcpServer } = await import("./mcp-
|
|
2236
|
+
const { startCliMcpServer } = await import("./mcp-7F3G47Z4.mjs");
|
|
2237
2237
|
await startCliMcpServer();
|
|
2238
2238
|
});
|
|
2239
2239
|
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) => {
|
|
2240
|
-
const { runChatCommand } = await import("./chat-command-
|
|
2240
|
+
const { runChatCommand } = await import("./chat-command-QPL4GNHP.mjs");
|
|
2241
2241
|
const { dbManager, pathProvider } = initRuntime();
|
|
2242
2242
|
const aiChatManager = new AIChatManager(pathProvider.getAiDataDir(), { nativeBinding: resolveNativeBinding() });
|
|
2243
2243
|
try {
|
|
@@ -2273,7 +2273,7 @@ program.command("start").description("Start ChatLab (HTTP API + Web UI)").option
|
|
|
2273
2273
|
});
|
|
2274
2274
|
return;
|
|
2275
2275
|
}
|
|
2276
|
-
const { startHttpServer } = await import("./http-
|
|
2276
|
+
const { startHttpServer } = await import("./http-NOEWVWCP.mjs");
|
|
2277
2277
|
const port = parseInt(options.port, 10);
|
|
2278
2278
|
let webRoot;
|
|
2279
2279
|
if (!options.headless) {
|
|
@@ -2320,7 +2320,7 @@ Press Ctrl+C to stop.
|
|
|
2320
2320
|
}
|
|
2321
2321
|
const shutdown = async () => {
|
|
2322
2322
|
console.log("\nShutting down...");
|
|
2323
|
-
const { stopHttpServer } = await import("./http-
|
|
2323
|
+
const { stopHttpServer } = await import("./http-NOEWVWCP.mjs");
|
|
2324
2324
|
await stopHttpServer();
|
|
2325
2325
|
process.exit(0);
|
|
2326
2326
|
};
|
|
@@ -2413,4 +2413,4 @@ if (isDirectRun) {
|
|
|
2413
2413
|
export {
|
|
2414
2414
|
run
|
|
2415
2415
|
};
|
|
2416
|
-
//# sourceMappingURL=chunk-
|
|
2416
|
+
//# sourceMappingURL=chunk-64FKPYPJ.mjs.map
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
getWeekdayActivity,
|
|
29
29
|
queryMessages,
|
|
30
30
|
searchMessagesByKeywords
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IK7GJTGY.mjs";
|
|
32
32
|
|
|
33
33
|
// ../../packages/tools/src/utils/limits.ts
|
|
34
34
|
function resolveMessageLimit(requestedLimit, defaultLimit, maxMessagesLimit) {
|
|
@@ -1927,4 +1927,4 @@ export {
|
|
|
1927
1927
|
toAgentToolParameters,
|
|
1928
1928
|
executeToolForAgent
|
|
1929
1929
|
};
|
|
1930
|
-
//# sourceMappingURL=chunk-
|
|
1930
|
+
//# sourceMappingURL=chunk-6JKKHPXY.mjs.map
|