chatlab-cli 0.30.0 → 0.30.1-beta.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-UZ23GKO7.mjs → chat-command-VBDMWOKL.mjs} +8 -8
- package/dist/{chunk-RDR6PS2R.mjs → chunk-326OCJOT.mjs} +2 -2
- package/dist/{chunk-A2SANKG4.mjs → chunk-36JGKW6K.mjs} +593 -254
- package/dist/chunk-36JGKW6K.mjs.map +1 -0
- package/dist/{chunk-ZFU2CHW3.mjs → chunk-5EE2EFPE.mjs} +4 -4
- package/dist/{chunk-4IZ3WKYU.mjs → chunk-D3DPCDII.mjs} +24 -11
- package/dist/chunk-D3DPCDII.mjs.map +1 -0
- package/dist/{chunk-FCCL5Z4W.mjs → chunk-KBSAVUFV.mjs} +7 -4
- package/dist/chunk-KBSAVUFV.mjs.map +1 -0
- package/dist/{chunk-7BZLS2KW.mjs → chunk-LVEJHB3X.mjs} +242 -236
- package/dist/chunk-LVEJHB3X.mjs.map +1 -0
- package/dist/{chunk-M55KW2HA.mjs → chunk-M2PXDX4G.mjs} +14 -12
- package/dist/chunk-M2PXDX4G.mjs.map +1 -0
- package/dist/{chunk-5UBHNQFZ.mjs → chunk-TCZHG3G7.mjs} +2 -2
- package/dist/{chunk-CNSYXRJP.mjs → chunk-TEX44HNL.mjs} +16 -12
- package/dist/chunk-TEX44HNL.mjs.map +1 -0
- package/dist/{chunk-P3ZOLTGS.mjs → chunk-ULNRUS55.mjs} +5 -3
- package/dist/chunk-ULNRUS55.mjs.map +1 -0
- package/dist/{chunk-MUPILWAZ.mjs → chunk-WV5GSRQM.mjs} +2 -2
- package/dist/cli.mjs +7 -7
- package/dist/contacts-worker.mjs +2 -2
- package/dist/{http-UWRA5FLB.mjs → http-L4AMELPZ.mjs} +11 -11
- package/dist/{import-745KQL7N.mjs → import-WWCSXGVS.mjs} +7 -7
- package/dist/index.mjs +11 -11
- package/dist/{mcp-UHN5JOHC.mjs → mcp-A4M3LT5O.mjs} +8 -8
- package/dist/people-relationships-worker.mjs +2 -2
- package/dist/semantic-index-worker.mjs +1 -1
- package/dist/{src-Y7MDRXLJ.mjs → src-MPNBTFOE.mjs} +8 -6
- package/dist/{stream-import-3JMXQD7P.mjs → stream-import-HIE7PNL4.mjs} +7 -7
- package/dist/{worker-runtime-63RYMGZI.mjs → worker-runtime-BJXO24XX.mjs} +5 -5
- package/dist-web/assets/{BufferResource-BVdJ_I5X.js → BufferResource-DPkMC1wo.js} +1 -1
- package/dist-web/assets/{CanvasRenderer-BaRuT54R.js → CanvasRenderer-DokMtSX9.js} +1 -1
- package/dist-web/assets/{DebugToolsPanel.vue_vue_type_script_setup_true_lang-N5CoiJzN.js → DebugToolsPanel.vue_vue_type_script_setup_true_lang-Ceg-0WOD.js} +4 -4
- package/dist-web/assets/{Filter-B7cNFtuE.js → Filter-Bo_p3BVX.js} +1 -1
- package/dist-web/assets/{MessageExportModal-B2Qm6VVj.js → MessageExportModal-Ch0tqQix.js} +1 -1
- package/dist-web/assets/{PageHeader-PjlWy9fC.js → PageHeader-CRlmZoKw.js} +1 -1
- package/dist-web/assets/{RelationshipGalaxyCanvas-11MafciW.js → RelationshipGalaxyCanvas-W_6XfPOG.js} +3 -3
- package/dist-web/assets/{RelationshipGalaxyThreeCanvas-C1I4B8NX.js → RelationshipGalaxyThreeCanvas-bB1nCwQ_.js} +1 -1
- package/dist-web/assets/{RenderTargetSystem-Chkz1WlI.js → RenderTargetSystem-obRi6fMT.js} +1 -1
- package/dist-web/assets/{WebGLRenderer-xK19ru58.js → WebGLRenderer-xcDlnrCZ.js} +1 -1
- package/dist-web/assets/{WebGPURenderer-CL5ZaKsn.js → WebGPURenderer-DbAOiiYr.js} +1 -1
- package/dist-web/assets/{browserAll-CyyNzRD_.js → browserAll-DVRJimO8.js} +1 -1
- package/dist-web/assets/{electron-MXaTKaMu.js → electron-BSGRuxX9.js} +1 -1
- package/dist-web/assets/{fetch-D1dDiFO4.js → fetch-7UN4YW3A.js} +1 -1
- package/dist-web/assets/{fetch-DaaJwT-5.js → fetch-B2alAySK.js} +1 -1
- package/dist-web/assets/{fetch-DpnIGZSN.js → fetch-B2rVTMYY.js} +1 -1
- package/dist-web/assets/{fetch-DTwdRTXM.js → fetch-BSShKcMt.js} +1 -1
- package/dist-web/assets/{fetch-DsTgYu_X.js → fetch-BmxMf3I6.js} +1 -1
- package/dist-web/assets/{fetch-u9GTMhMF.js → fetch-CR5UDFW7.js} +1 -1
- package/dist-web/assets/{fetch-DsE-xcP2.js → fetch-ChAsglT5.js} +1 -1
- package/dist-web/assets/{fetch-hKE53UO4.js → fetch-DWEjTdcP.js} +1 -1
- package/dist-web/assets/{fetch-DDnVXGte.js → fetch-DfoxedXR.js} +1 -1
- package/dist-web/assets/{fetch-DeA0ztwT.js → fetch-t0WsRKHW.js} +1 -1
- package/dist-web/assets/{index-BcXLcFnV.css → index-B4l3rHie.css} +1 -1
- package/dist-web/assets/{index-DqtXt3wl.js → index-BVUTV9_w.js} +1 -1
- package/dist-web/assets/{index-DFCYmzGE.js → index-BmXNdMV5.js} +2 -2
- package/dist-web/assets/index-BsXljrlg.js +22 -0
- package/dist-web/assets/index-CQ5lRCHt.js +173 -0
- package/dist-web/assets/{index-Btr5H7d-.js → index-CZv0ZOID.js} +2 -2
- package/dist-web/assets/{index-DqXHRIhI.js → index-CfgDqd_z.js} +1 -1
- package/dist-web/assets/{index-BnHKyESZ.js → index-CtVR_KuP.js} +1 -1
- package/dist-web/assets/{index-Dszv-QFp.js → index-DT0Bu8mH.js} +3 -3
- package/dist-web/assets/{index-DzLrWGXu.js → index-DjcWJv4b.js} +1 -1
- package/dist-web/assets/{web-DPVWfPS-.js → web-knHSvvNj.js} +1 -1
- package/dist-web/assets/{webworkerAll-DF5QV_vN.js → webworkerAll-CMKoykfD.js} +1 -1
- package/dist-web/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-4IZ3WKYU.mjs.map +0 -1
- package/dist/chunk-7BZLS2KW.mjs.map +0 -1
- package/dist/chunk-A2SANKG4.mjs.map +0 -1
- package/dist/chunk-CNSYXRJP.mjs.map +0 -1
- package/dist/chunk-FCCL5Z4W.mjs.map +0 -1
- package/dist/chunk-M55KW2HA.mjs.map +0 -1
- package/dist/chunk-P3ZOLTGS.mjs.map +0 -1
- package/dist-web/assets/index-BVkE4qis.js +0 -22
- package/dist-web/assets/index-D04LWJop.js +0 -173
- /package/dist/{chat-command-UZ23GKO7.mjs.map → chat-command-VBDMWOKL.mjs.map} +0 -0
- /package/dist/{chunk-RDR6PS2R.mjs.map → chunk-326OCJOT.mjs.map} +0 -0
- /package/dist/{chunk-ZFU2CHW3.mjs.map → chunk-5EE2EFPE.mjs.map} +0 -0
- /package/dist/{chunk-5UBHNQFZ.mjs.map → chunk-TCZHG3G7.mjs.map} +0 -0
- /package/dist/{chunk-MUPILWAZ.mjs.map → chunk-WV5GSRQM.mjs.map} +0 -0
- /package/dist/{http-UWRA5FLB.mjs.map → http-L4AMELPZ.mjs.map} +0 -0
- /package/dist/{import-745KQL7N.mjs.map → import-WWCSXGVS.mjs.map} +0 -0
- /package/dist/{mcp-UHN5JOHC.mjs.map → mcp-A4M3LT5O.mjs.map} +0 -0
- /package/dist/{src-Y7MDRXLJ.mjs.map → src-MPNBTFOE.mjs.map} +0 -0
- /package/dist/{stream-import-3JMXQD7P.mjs.map → stream-import-HIE7PNL4.mjs.map} +0 -0
- /package/dist/{worker-runtime-63RYMGZI.mjs.map → worker-runtime-BJXO24XX.mjs.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
AGENT_TOOL_REGISTRY,
|
|
9
9
|
CoreDataProvider,
|
|
10
10
|
SEMANTIC_SEARCH_TOOL_NAME
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TCZHG3G7.mjs";
|
|
12
12
|
import {
|
|
13
13
|
AgentEventHandler,
|
|
14
14
|
CHART_CAPABILITY_CORE_TOOLS,
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
runAgentCore,
|
|
43
43
|
shouldUseChartCapabilityForMessage,
|
|
44
44
|
wrapWithChartSchemaGate
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-36JGKW6K.mjs";
|
|
46
46
|
import {
|
|
47
47
|
AiLogger,
|
|
48
48
|
batchSegmentWithFrequency,
|
|
49
49
|
getChatOverview,
|
|
50
50
|
normalizeBuiltinToolNames,
|
|
51
51
|
resolveApiKey
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LVEJHB3X.mjs";
|
|
53
53
|
|
|
54
54
|
// src/ai/logger.ts
|
|
55
55
|
var logger = null;
|
|
@@ -585,4 +585,4 @@ export {
|
|
|
585
585
|
closeServerAiLogger,
|
|
586
586
|
createCliRunAgentStream
|
|
587
587
|
};
|
|
588
|
-
//# sourceMappingURL=chunk-
|
|
588
|
+
//# sourceMappingURL=chunk-5EE2EFPE.mjs.map
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
analyzeNewImport,
|
|
10
10
|
incrementalImport,
|
|
11
11
|
streamImport
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KBSAVUFV.mjs";
|
|
13
13
|
import {
|
|
14
14
|
closeServerAiLogger,
|
|
15
15
|
createCliRunAgentStream,
|
|
16
16
|
getServerAiLogger,
|
|
17
17
|
initServerAiLogger
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5EE2EFPE.mjs";
|
|
19
19
|
import {
|
|
20
20
|
AGENT_TOOL_REGISTRY,
|
|
21
21
|
CoreDataProvider
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TCZHG3G7.mjs";
|
|
23
23
|
import {
|
|
24
24
|
assertCliDataDirCompatible
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-326OCJOT.mjs";
|
|
26
26
|
import {
|
|
27
27
|
getVersion
|
|
28
28
|
} from "./chunk-5ADKYYNA.mjs";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
getPendingNodeDataDirMigration,
|
|
44
44
|
hasPendingElectronDataWarning,
|
|
45
45
|
serializeChatLabToJsonl
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ULNRUS55.mjs";
|
|
47
47
|
import {
|
|
48
48
|
AIChatManager,
|
|
49
49
|
ArchiveImportError,
|
|
@@ -76,6 +76,7 @@ import {
|
|
|
76
76
|
getSupportedFormats,
|
|
77
77
|
isDictDownloaded,
|
|
78
78
|
isSemanticIndexConfigured,
|
|
79
|
+
logNativeParserStatus,
|
|
79
80
|
member_service_exports,
|
|
80
81
|
mergeRulesForLocale,
|
|
81
82
|
owner_profile_service_exports,
|
|
@@ -90,7 +91,7 @@ import {
|
|
|
90
91
|
streamParseFileInfo,
|
|
91
92
|
summary_service_exports,
|
|
92
93
|
validateApiKey
|
|
93
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-36JGKW6K.mjs";
|
|
94
95
|
import {
|
|
95
96
|
ALL_MIGRATIONS,
|
|
96
97
|
BUILTIN_MODELS,
|
|
@@ -153,7 +154,7 @@ import {
|
|
|
153
154
|
verifyCliDataPath,
|
|
154
155
|
writeAuthProfile,
|
|
155
156
|
writeConfigField
|
|
156
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-LVEJHB3X.mjs";
|
|
157
158
|
|
|
158
159
|
// src/http/index.ts
|
|
159
160
|
import * as fs12 from "fs";
|
|
@@ -2192,6 +2193,8 @@ function registerCacheRoutes(server2, ctx) {
|
|
|
2192
2193
|
name: "settings.storage.cache.databases.name",
|
|
2193
2194
|
description: "settings.storage.cache.databases.description",
|
|
2194
2195
|
path: pp.getDatabaseDir(),
|
|
2196
|
+
scope: "user-data",
|
|
2197
|
+
rootPath: pp.getUserDataDir(),
|
|
2195
2198
|
icon: "i-heroicons-circle-stack",
|
|
2196
2199
|
canClear: false
|
|
2197
2200
|
},
|
|
@@ -2200,6 +2203,8 @@ function registerCacheRoutes(server2, ctx) {
|
|
|
2200
2203
|
name: "settings.storage.cache.ai.name",
|
|
2201
2204
|
description: "settings.storage.cache.ai.description",
|
|
2202
2205
|
path: pp.getAiDataDir(),
|
|
2206
|
+
scope: "system-data",
|
|
2207
|
+
rootPath: pp.getSystemDir(),
|
|
2203
2208
|
icon: "i-heroicons-sparkles",
|
|
2204
2209
|
canClear: false
|
|
2205
2210
|
},
|
|
@@ -2208,6 +2213,8 @@ function registerCacheRoutes(server2, ctx) {
|
|
|
2208
2213
|
name: "settings.storage.cache.statsCache.name",
|
|
2209
2214
|
description: "settings.storage.cache.statsCache.description",
|
|
2210
2215
|
path: pp.getCacheDir(),
|
|
2216
|
+
scope: "system-data",
|
|
2217
|
+
rootPath: pp.getSystemDir(),
|
|
2211
2218
|
icon: "i-heroicons-bolt",
|
|
2212
2219
|
canClear: true
|
|
2213
2220
|
},
|
|
@@ -2216,6 +2223,8 @@ function registerCacheRoutes(server2, ctx) {
|
|
|
2216
2223
|
name: "settings.storage.cache.logs.name",
|
|
2217
2224
|
description: "settings.storage.cache.logs.description",
|
|
2218
2225
|
path: pp.getLogsDir(),
|
|
2226
|
+
scope: "system-data",
|
|
2227
|
+
rootPath: pp.getSystemDir(),
|
|
2219
2228
|
icon: "i-heroicons-document-text",
|
|
2220
2229
|
canClear: true
|
|
2221
2230
|
}
|
|
@@ -2227,7 +2236,7 @@ function registerCacheRoutes(server2, ctx) {
|
|
|
2227
2236
|
})
|
|
2228
2237
|
);
|
|
2229
2238
|
return {
|
|
2230
|
-
baseDir: pp.
|
|
2239
|
+
baseDir: pp.getSystemDir(),
|
|
2231
2240
|
directories: results,
|
|
2232
2241
|
totalSize: results.reduce((sum, d) => sum + d.size, 0)
|
|
2233
2242
|
};
|
|
@@ -2260,6 +2269,8 @@ function registerCacheRoutes(server2, ctx) {
|
|
|
2260
2269
|
defaultPath: ctx.defaultUserDataDir,
|
|
2261
2270
|
isCustom: ctx.isCustomDataDir ?? false,
|
|
2262
2271
|
canSetDataDir: ctx.canSetDataDir ?? Boolean(ctx.setDataDir),
|
|
2272
|
+
managedScope: "chat-databases",
|
|
2273
|
+
managedDescription: "settings.storage.dataLocation.managedDescription",
|
|
2263
2274
|
hasLegacyDataAtDefaultDir: Boolean(ctx.defaultUserDataDir) && path7.resolve(pp.getUserDataDir()) !== path7.resolve(ctx.defaultUserDataDir ?? "") && hasChatLabDatabases(ctx.defaultUserDataDir ?? ""),
|
|
2264
2275
|
pendingMigration: pending ? {
|
|
2265
2276
|
from: pending.from,
|
|
@@ -2323,7 +2334,8 @@ function registerCacheRoutes(server2, ctx) {
|
|
|
2323
2334
|
if (!ctx.openDirectory) return reply.code(501).send({ success: false, error: "Not supported" });
|
|
2324
2335
|
const { cacheId } = request.body;
|
|
2325
2336
|
const dirPaths = {
|
|
2326
|
-
base: pp.
|
|
2337
|
+
base: pp.getSystemDir(),
|
|
2338
|
+
userData: pp.getUserDataDir(),
|
|
2327
2339
|
databases: pp.getDatabaseDir(),
|
|
2328
2340
|
cache: pp.getCacheDir(),
|
|
2329
2341
|
ai: pp.getAiDataDir(),
|
|
@@ -3145,7 +3157,7 @@ function registerWebRoutes(server2, dbManager2, options) {
|
|
|
3145
3157
|
const resolvedPathProvider = options?.pathProvider ?? fallbackPathProvider;
|
|
3146
3158
|
const ai = options?.aiContext;
|
|
3147
3159
|
const cliStreamImport = async (dm, filePath) => {
|
|
3148
|
-
const { streamImport: streamImport2 } = await import("./stream-import-
|
|
3160
|
+
const { streamImport: streamImport2 } = await import("./stream-import-HIE7PNL4.mjs");
|
|
3149
3161
|
const result = await streamImport2(dm, filePath);
|
|
3150
3162
|
if (!result.sessionId) throw new Error("Import succeeded but no sessionId returned");
|
|
3151
3163
|
return { sessionId: result.sessionId };
|
|
@@ -4291,6 +4303,7 @@ async function startHttpServer(options) {
|
|
|
4291
4303
|
initAppLogger(pathProvider.getLogsDir());
|
|
4292
4304
|
initServerAiLogger(pathProvider.getLogsDir());
|
|
4293
4305
|
appLogger.info("server", `HTTP server starting on ${host}:${port}`);
|
|
4306
|
+
logNativeParserStatus();
|
|
4294
4307
|
setAuthToken(token);
|
|
4295
4308
|
setRequireAuth(!!(options?.requireAuth ?? config.api.require_auth));
|
|
4296
4309
|
server = createServer();
|
|
@@ -4370,4 +4383,4 @@ export {
|
|
|
4370
4383
|
startHttpServer,
|
|
4371
4384
|
stopHttpServer
|
|
4372
4385
|
};
|
|
4373
|
-
//# sourceMappingURL=chunk-
|
|
4386
|
+
//# sourceMappingURL=chunk-D3DPCDII.mjs.map
|