chatlab-cli 0.26.2 → 0.27.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.
- package/README.md +10 -4
- package/dist/{chat-command-BVIG2LCO.mjs → chat-command-SKGPS3PG.mjs} +5 -5
- package/dist/{chunk-GBQQJJKK.mjs → chunk-3HOTLLFC.mjs} +476 -186
- package/dist/chunk-3HOTLLFC.mjs.map +1 -0
- package/dist/{chunk-QKQRV7RV.mjs → chunk-6FXGC6HE.mjs} +2 -2
- package/dist/{chunk-JFSTXSX2.mjs → chunk-7LPVQR77.mjs} +42 -7
- package/dist/chunk-7LPVQR77.mjs.map +1 -0
- package/dist/{chunk-6AOEMUCM.mjs → chunk-FHLPXRDL.mjs} +2 -2
- package/dist/{chunk-VSOWNKPA.mjs → chunk-GFHSSCCR.mjs} +11 -1
- package/dist/{chunk-TMZC3SNX.mjs → chunk-KCFVHVO4.mjs} +6128 -4255
- package/dist/chunk-KCFVHVO4.mjs.map +1 -0
- package/dist/{chunk-SCE4YL3M.mjs → chunk-M6ABWESL.mjs} +466 -116
- package/dist/chunk-M6ABWESL.mjs.map +1 -0
- package/dist/{chunk-GTXX72AQ.mjs → chunk-MJITS5CE.mjs} +16 -16
- package/dist/{chunk-3XFHIQIW.mjs → chunk-UBJHT3BU.mjs} +2 -2
- package/dist/cli.mjs +4 -4
- package/dist/{http-NLFLQDI7.mjs → http-CPFUTIUB.mjs} +9 -9
- package/dist/{import-ILK6MGYR.mjs → import-UJXKIKYN.mjs} +5 -5
- package/dist/index.mjs +9 -9
- package/dist/{mcp-FOLR5XJL.mjs → mcp-SW4DTCWJ.mjs} +8 -8
- package/dist/onnxruntime_binding-6Q6HXASN.node +0 -0
- package/dist/onnxruntime_binding-EKZT2NRK.node +0 -0
- package/dist/onnxruntime_binding-P6S7V3CI.node +0 -0
- package/dist/onnxruntime_binding-PJNNIIUO.node +0 -0
- package/dist/onnxruntime_binding-UN6SPTQK.node +0 -0
- package/dist/{service-KZTHBDQ5.mjs → service-KGL3RAIA.mjs} +2 -2
- package/dist/{src-OQN3VE73.mjs → src-M3MO3LEL.mjs} +15 -71
- package/dist/{stream-import-F5QI2HTO.mjs → stream-import-4VDJZHMY.mjs} +4 -4
- package/dist/transformers.node-PUMHAODN.mjs +42889 -0
- package/dist/transformers.node-PUMHAODN.mjs.map +1 -0
- package/dist/{update-checker-JIBA7T4U.mjs → update-checker-LGMTEKMT.mjs} +37 -13
- package/dist/update-checker-LGMTEKMT.mjs.map +1 -0
- package/dist-web/assets/{DebugToolsPanel-CrqULdXp.css → DebugToolsPanel-DzZmSzIU.css} +1 -1
- package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-C8mwzxDa.js +110 -0
- package/dist-web/assets/{MessageExportModal-ttP_JPqO.js → MessageExportModal-DCB-mzf2.js} +1 -1
- package/dist-web/assets/{electron-BeJHY587.js → electron-DDUv0ohD.js} +1 -1
- package/dist-web/assets/{fetch-H4B1CK_T.js → fetch-B3gsbY_U.js} +1 -1
- package/dist-web/assets/{fetch-DBJ7Xkjt.js → fetch-B9Oy0bcD.js} +1 -1
- package/dist-web/assets/{fetch-rtQEc8Bu.js → fetch-Bry8iJpq.js} +1 -1
- package/dist-web/assets/fetch-C1aC5Fd1.js +1 -0
- package/dist-web/assets/{fetch-BETFYYe1.js → fetch-C69hj3wS.js} +1 -1
- package/dist-web/assets/{fetch-B7USXx9R.js → fetch-Ck4rGxkO.js} +1 -1
- package/dist-web/assets/{fetch-DW8r_JmP.js → fetch-Ckang-F8.js} +1 -1
- package/dist-web/assets/fetch-CwHncc6x.js +5 -0
- package/dist-web/assets/{fetch-4s20GRbb.js → fetch-D8Ng59an.js} +1 -1
- package/dist-web/assets/{fetch-DtXUkazy.js → fetch-DOtBAxUS.js} +1 -1
- package/dist-web/assets/index-B40SKtW8.js +173 -0
- package/dist-web/assets/index-BX3tqfLz.css +1 -0
- package/dist-web/assets/{index-Dov-rTKE.js → index-Bd9j73nw.js} +1 -1
- package/dist-web/assets/index-BfFj8Evo.js +64 -0
- package/dist-web/assets/index-C16V6EoP.js +11 -0
- package/dist-web/assets/{index-CYMTvtEI.js → index-D-J8dY7w.js} +1 -1
- package/dist-web/assets/index-I3SWZjnW.css +1 -0
- package/dist-web/assets/index-YmzTgkb2.css +1 -0
- package/dist-web/assets/index-zAi37ZQ4.js +2 -0
- package/dist-web/assets/{web-1-WNRDnP.js → web-DKFeBb_F.js} +1 -1
- package/dist-web/favicon.ico +0 -0
- package/dist-web/index.html +3 -3
- package/package.json +1 -1
- package/dist/chunk-GBQQJJKK.mjs.map +0 -1
- package/dist/chunk-JFSTXSX2.mjs.map +0 -1
- package/dist/chunk-SCE4YL3M.mjs.map +0 -1
- package/dist/chunk-TMZC3SNX.mjs.map +0 -1
- package/dist/update-checker-JIBA7T4U.mjs.map +0 -1
- package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-D9mCNaYM.js +0 -182
- package/dist-web/assets/electron-Dbml-SPN.js +0 -1
- package/dist-web/assets/fetch-DcEBAz_3.js +0 -1
- package/dist-web/assets/fetch-DsCNr_M0.js +0 -1
- package/dist-web/assets/index-C2ts-hTr.js +0 -173
- package/dist-web/assets/index-CjnMyejM.css +0 -1
- package/dist-web/assets/index-CsxrXMkt.js +0 -2
- package/dist-web/assets/index-DkownpUj.js +0 -163
- package/dist-web/assets/index-Dtm2oajn.css +0 -1
- package/dist-web/assets/index-LCedyGl2.css +0 -1
- package/dist-web/assets/index-m7v4PP7r.js +0 -11
- /package/dist/{chat-command-BVIG2LCO.mjs.map → chat-command-SKGPS3PG.mjs.map} +0 -0
- /package/dist/{chunk-QKQRV7RV.mjs.map → chunk-6FXGC6HE.mjs.map} +0 -0
- /package/dist/{chunk-6AOEMUCM.mjs.map → chunk-FHLPXRDL.mjs.map} +0 -0
- /package/dist/{chunk-VSOWNKPA.mjs.map → chunk-GFHSSCCR.mjs.map} +0 -0
- /package/dist/{chunk-GTXX72AQ.mjs.map → chunk-MJITS5CE.mjs.map} +0 -0
- /package/dist/{chunk-3XFHIQIW.mjs.map → chunk-UBJHT3BU.mjs.map} +0 -0
- /package/dist/{http-NLFLQDI7.mjs.map → http-CPFUTIUB.mjs.map} +0 -0
- /package/dist/{import-ILK6MGYR.mjs.map → import-UJXKIKYN.mjs.map} +0 -0
- /package/dist/{mcp-FOLR5XJL.mjs.map → mcp-SW4DTCWJ.mjs.map} +0 -0
- /package/dist/{service-KZTHBDQ5.mjs.map → service-KGL3RAIA.mjs.map} +0 -0
- /package/dist/{src-OQN3VE73.mjs.map → src-M3MO3LEL.mjs.map} +0 -0
- /package/dist/{stream-import-F5QI2HTO.mjs.map → stream-import-4VDJZHMY.mjs.map} +0 -0
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-
|
|
10
|
+
} from "./chunk-3HOTLLFC.mjs";
|
|
11
|
+
import "./chunk-7LPVQR77.mjs";
|
|
11
12
|
import {
|
|
12
13
|
run
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-MJITS5CE.mjs";
|
|
15
|
+
import "./chunk-UBJHT3BU.mjs";
|
|
16
|
+
import "./chunk-6FXGC6HE.mjs";
|
|
17
|
+
import "./chunk-M6ABWESL.mjs";
|
|
18
|
+
import "./chunk-FHLPXRDL.mjs";
|
|
17
19
|
import "./chunk-5ADKYYNA.mjs";
|
|
18
20
|
import "./chunk-FJ35V3TE.mjs";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-TMZC3SNX.mjs";
|
|
22
|
-
import "./chunk-VSOWNKPA.mjs";
|
|
21
|
+
import "./chunk-KCFVHVO4.mjs";
|
|
22
|
+
import "./chunk-GFHSSCCR.mjs";
|
|
23
23
|
export {
|
|
24
24
|
run,
|
|
25
25
|
startHttpServer,
|
|
@@ -4,19 +4,19 @@ 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
|
+
CoreDataProvider,
|
|
9
|
+
MCP_TOOL_REGISTRY
|
|
10
|
+
} from "./chunk-M6ABWESL.mjs";
|
|
7
11
|
import {
|
|
8
12
|
assertCliDataDirCompatible
|
|
9
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FHLPXRDL.mjs";
|
|
10
14
|
import {
|
|
11
15
|
getVersion
|
|
12
16
|
} from "./chunk-5ADKYYNA.mjs";
|
|
13
17
|
import {
|
|
14
18
|
resolveCliPath
|
|
15
19
|
} from "./chunk-FJ35V3TE.mjs";
|
|
16
|
-
import {
|
|
17
|
-
CoreDataProvider,
|
|
18
|
-
MCP_TOOL_REGISTRY
|
|
19
|
-
} from "./chunk-SCE4YL3M.mjs";
|
|
20
20
|
import {
|
|
21
21
|
DatabaseManager,
|
|
22
22
|
NodePathProvider,
|
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
hasPendingElectronDataWarning,
|
|
27
27
|
loadConfig,
|
|
28
28
|
verifyCliDataPath
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-KCFVHVO4.mjs";
|
|
30
|
+
import "./chunk-GFHSSCCR.mjs";
|
|
31
31
|
|
|
32
32
|
// src/mcp.ts
|
|
33
33
|
import fs from "fs";
|
|
@@ -410,4 +410,4 @@ export {
|
|
|
410
410
|
initMcpRuntime,
|
|
411
411
|
startCliMcpServer
|
|
412
412
|
};
|
|
413
|
-
//# sourceMappingURL=mcp-
|
|
413
|
+
//# sourceMappingURL=mcp-SW4DTCWJ.mjs.map
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,7 +7,7 @@ const __dirname = __pathDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveCliPath
|
|
9
9
|
} from "./chunk-FJ35V3TE.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-GFHSSCCR.mjs";
|
|
11
11
|
|
|
12
12
|
// src/daemon/service.ts
|
|
13
13
|
import * as fs from "fs";
|
|
@@ -257,4 +257,4 @@ export {
|
|
|
257
257
|
serviceInstall,
|
|
258
258
|
serviceUninstall
|
|
259
259
|
};
|
|
260
|
-
//# sourceMappingURL=service-
|
|
260
|
+
//# sourceMappingURL=service-KGL3RAIA.mjs.map
|
|
@@ -19,28 +19,23 @@ import {
|
|
|
19
19
|
CHART_SCHEMA_REQUIRED_MESSAGE,
|
|
20
20
|
CustomModelStore,
|
|
21
21
|
CustomProviderStore,
|
|
22
|
-
DEFAULT_EMBEDDING_CONFIG_STORE,
|
|
23
22
|
DEFAULT_MAX_TOOL_ROUNDS,
|
|
24
|
-
DEFAULT_RAG_CONFIG,
|
|
25
23
|
DESENSITIZE_RULES_SCHEMA_VERSION,
|
|
26
24
|
DataDirCompatibilityError,
|
|
27
25
|
DatabaseManager,
|
|
28
26
|
LLMConfigStore,
|
|
29
27
|
LogLevel,
|
|
30
28
|
MAX_CONFIG_COUNT,
|
|
31
|
-
MAX_EMBEDDING_CONFIG_COUNT,
|
|
32
|
-
MemoryVectorStore,
|
|
33
29
|
MergeSessionCache,
|
|
34
30
|
NodePathProvider,
|
|
35
31
|
PreferencesManager,
|
|
36
|
-
|
|
32
|
+
SemanticIndexService,
|
|
37
33
|
SkillManager,
|
|
38
34
|
SkillManagerCore,
|
|
39
35
|
TEMP_DB_SCHEMA,
|
|
40
36
|
TempDbReader,
|
|
41
37
|
TempDbWriter,
|
|
42
38
|
Type,
|
|
43
|
-
addEmbeddingConfig,
|
|
44
39
|
aiLocales,
|
|
45
40
|
analyzeIncrementalImport,
|
|
46
41
|
analyzeNewImport,
|
|
@@ -55,6 +50,7 @@ import {
|
|
|
55
50
|
buildMergedOutput,
|
|
56
51
|
buildPiModel,
|
|
57
52
|
buildPlanGuidance,
|
|
53
|
+
buildSemanticSearchGuidance,
|
|
58
54
|
buildSkillMenuWithBuiltinChart,
|
|
59
55
|
buildSystemPrompt,
|
|
60
56
|
checkAndCompress,
|
|
@@ -69,7 +65,6 @@ import {
|
|
|
69
65
|
computeAndSetOverviewCache,
|
|
70
66
|
computeWordFrequency,
|
|
71
67
|
copyDirMerge,
|
|
72
|
-
cosineSimilarity,
|
|
73
68
|
countMessagesTokens,
|
|
74
69
|
countTokens,
|
|
75
70
|
createActivateSkillTool,
|
|
@@ -85,15 +80,14 @@ import {
|
|
|
85
80
|
createNodeDataDirSwitch,
|
|
86
81
|
createPendingDataDirMigration,
|
|
87
82
|
createPlanContentBlock,
|
|
83
|
+
createSemanticIndexService,
|
|
88
84
|
decideRequestRoute,
|
|
89
85
|
deleteDict,
|
|
90
|
-
deleteEmbeddingConfig,
|
|
91
86
|
deleteSessionCache,
|
|
92
87
|
deleteTempDatabase,
|
|
93
88
|
downloadDict,
|
|
94
89
|
ensureDefaultDict,
|
|
95
90
|
estimateTokensFromText,
|
|
96
|
-
executeSemanticPipeline,
|
|
97
91
|
exportFilterResultToMarkdown,
|
|
98
92
|
exportSessionToJson,
|
|
99
93
|
exportWithFormat,
|
|
@@ -105,14 +99,10 @@ import {
|
|
|
105
99
|
filterValidMessages,
|
|
106
100
|
formatAIError,
|
|
107
101
|
formatMessageCompact,
|
|
108
|
-
formatSessionChunk,
|
|
109
102
|
formatTimeRange,
|
|
110
103
|
formatToolResultAsText,
|
|
111
104
|
generateSessionSummaries,
|
|
112
105
|
generateSessionSummary,
|
|
113
|
-
getActiveEmbeddingConfig,
|
|
114
|
-
getActiveEmbeddingConfigId,
|
|
115
|
-
getAllEmbeddingConfigs,
|
|
116
106
|
getAllowedBuiltinToolsForChartAutoSkill,
|
|
117
107
|
getCache,
|
|
118
108
|
getCachePath,
|
|
@@ -121,45 +111,35 @@ import {
|
|
|
121
111
|
getChartPlannerCapabilityForMessage,
|
|
122
112
|
getChatDbMigrations,
|
|
123
113
|
getCurrentLogFile,
|
|
114
|
+
getDbFileVersion,
|
|
124
115
|
getDefaultNodeUserDataDir,
|
|
125
116
|
getDefaultRulesForLocale,
|
|
126
117
|
getDictList,
|
|
127
|
-
getEmbeddingConfigById,
|
|
128
|
-
getEmbeddingService,
|
|
129
118
|
getErrorCount,
|
|
130
119
|
getJieba,
|
|
131
120
|
getNlpDir,
|
|
121
|
+
getOrComputeAnalysisCache,
|
|
132
122
|
getPendingNodeDataDirMigration,
|
|
133
123
|
getPosTagDefinitions,
|
|
134
124
|
getRuleGroupsForLocale,
|
|
135
|
-
getSessionChunk,
|
|
136
|
-
getSessionChunks,
|
|
137
125
|
getSkillConfigWithBuiltinChart,
|
|
138
126
|
getValidatedOverviewCache,
|
|
139
|
-
getVectorStore,
|
|
140
|
-
getVectorStoreDir,
|
|
141
|
-
getVectorStoreStats,
|
|
142
127
|
hasFtsTable,
|
|
143
128
|
hasPendingElectronDataWarning,
|
|
144
129
|
i18nTexts,
|
|
145
130
|
incrementalImport,
|
|
146
131
|
initNlpDir,
|
|
147
132
|
initPerfLog,
|
|
148
|
-
initRag,
|
|
149
|
-
initRagConfig,
|
|
150
133
|
initTokenizer,
|
|
151
134
|
insertFtsEntries,
|
|
152
135
|
invalidateCache,
|
|
153
136
|
isChineseLocale,
|
|
154
137
|
isDictDownloaded,
|
|
155
138
|
isDirectoryEmptyOrMissing,
|
|
156
|
-
isEmbeddingEnabled,
|
|
157
139
|
isExistingUserDataDir,
|
|
158
140
|
isUserDataDirSafeToUse,
|
|
159
141
|
isValidMessage,
|
|
160
142
|
loadDictBuffer,
|
|
161
|
-
loadEmbeddingConfigStore,
|
|
162
|
-
loadRAGConfig,
|
|
163
143
|
logError,
|
|
164
144
|
logInfo,
|
|
165
145
|
logPerf,
|
|
@@ -180,24 +160,19 @@ import {
|
|
|
180
160
|
raiseDataDirMinRuntimeVersion,
|
|
181
161
|
readDataDirCompatibilityMeta,
|
|
182
162
|
rebuildFtsIndex,
|
|
183
|
-
resetEmbeddingService,
|
|
184
163
|
resetPerfLog,
|
|
185
|
-
resetRAGConfig,
|
|
186
|
-
resetVectorStore,
|
|
187
164
|
resolveChartRuntimeForRequest,
|
|
188
165
|
runAgentCore,
|
|
189
166
|
runPendingDataDirMigration,
|
|
190
167
|
runSimpleLlmStream,
|
|
191
|
-
saveEmbeddingConfigStore,
|
|
192
|
-
saveRAGConfig,
|
|
193
168
|
searchByFts,
|
|
194
169
|
segment,
|
|
195
170
|
segmentText,
|
|
171
|
+
semantic_index_exports,
|
|
196
172
|
serializeAssistant,
|
|
197
173
|
serializeChatLabToJsonl,
|
|
198
174
|
session_index_service_exports,
|
|
199
175
|
session_service_exports,
|
|
200
|
-
setActiveEmbeddingConfig,
|
|
201
176
|
setCache,
|
|
202
177
|
shouldOfferChartCapabilityForAnalyticalMessage,
|
|
203
178
|
shouldUseChartCapabilityForMessage,
|
|
@@ -210,16 +185,13 @@ import {
|
|
|
210
185
|
tokenizeForFts,
|
|
211
186
|
tokenizeQueryForFts,
|
|
212
187
|
truncateFormattedMessages,
|
|
213
|
-
updateEmbeddingConfig,
|
|
214
|
-
updateRAGConfig,
|
|
215
188
|
validateApiKey,
|
|
216
|
-
validateEmbeddingConfig,
|
|
217
189
|
verifyCliDataPath,
|
|
218
190
|
wasElectronUsed,
|
|
219
191
|
wrapWithChartSchemaGate,
|
|
220
192
|
writeParseResultToDb
|
|
221
|
-
} from "./chunk-
|
|
222
|
-
import "./chunk-
|
|
193
|
+
} from "./chunk-KCFVHVO4.mjs";
|
|
194
|
+
import "./chunk-GFHSSCCR.mjs";
|
|
223
195
|
export {
|
|
224
196
|
AIChatManager,
|
|
225
197
|
AgentEventHandler,
|
|
@@ -235,28 +207,23 @@ export {
|
|
|
235
207
|
CHART_SCHEMA_REQUIRED_MESSAGE,
|
|
236
208
|
CustomModelStore,
|
|
237
209
|
CustomProviderStore,
|
|
238
|
-
DEFAULT_EMBEDDING_CONFIG_STORE,
|
|
239
210
|
DEFAULT_MAX_TOOL_ROUNDS,
|
|
240
|
-
DEFAULT_RAG_CONFIG,
|
|
241
211
|
DESENSITIZE_RULES_SCHEMA_VERSION,
|
|
242
212
|
DataDirCompatibilityError,
|
|
243
213
|
DatabaseManager,
|
|
244
214
|
LLMConfigStore,
|
|
245
215
|
LogLevel,
|
|
246
216
|
MAX_CONFIG_COUNT,
|
|
247
|
-
MAX_EMBEDDING_CONFIG_COUNT,
|
|
248
|
-
MemoryVectorStore,
|
|
249
217
|
MergeSessionCache,
|
|
250
218
|
NodePathProvider,
|
|
251
219
|
PreferencesManager,
|
|
252
|
-
|
|
220
|
+
SemanticIndexService,
|
|
253
221
|
SkillManager,
|
|
254
222
|
SkillManagerCore,
|
|
255
223
|
TEMP_DB_SCHEMA,
|
|
256
224
|
TempDbReader,
|
|
257
225
|
TempDbWriter,
|
|
258
226
|
Type,
|
|
259
|
-
addEmbeddingConfig,
|
|
260
227
|
aiLocales,
|
|
261
228
|
analyzeIncrementalImport,
|
|
262
229
|
analyzeNewImport,
|
|
@@ -271,6 +238,7 @@ export {
|
|
|
271
238
|
buildMergedOutput,
|
|
272
239
|
buildPiModel,
|
|
273
240
|
buildPlanGuidance,
|
|
241
|
+
buildSemanticSearchGuidance,
|
|
274
242
|
buildSkillMenuWithBuiltinChart,
|
|
275
243
|
buildSystemPrompt,
|
|
276
244
|
checkAndCompress,
|
|
@@ -285,7 +253,6 @@ export {
|
|
|
285
253
|
computeAndSetOverviewCache,
|
|
286
254
|
computeWordFrequency,
|
|
287
255
|
copyDirMerge as copyDataDirMerge,
|
|
288
|
-
cosineSimilarity,
|
|
289
256
|
countMessagesTokens,
|
|
290
257
|
countTokens,
|
|
291
258
|
createActivateSkillTool,
|
|
@@ -301,15 +268,14 @@ export {
|
|
|
301
268
|
createNodeDataDirSwitch,
|
|
302
269
|
createPendingDataDirMigration,
|
|
303
270
|
createPlanContentBlock,
|
|
271
|
+
createSemanticIndexService,
|
|
304
272
|
decideRequestRoute,
|
|
305
273
|
deleteDict,
|
|
306
|
-
deleteEmbeddingConfig,
|
|
307
274
|
deleteSessionCache,
|
|
308
275
|
deleteTempDatabase,
|
|
309
276
|
downloadDict,
|
|
310
277
|
ensureDefaultDict,
|
|
311
278
|
estimateTokensFromText,
|
|
312
|
-
executeSemanticPipeline,
|
|
313
279
|
exportFilterResultToMarkdown,
|
|
314
280
|
export_service_exports as exportService,
|
|
315
281
|
exportSessionToJson,
|
|
@@ -321,14 +287,10 @@ export {
|
|
|
321
287
|
filterValidMessages,
|
|
322
288
|
formatAIError,
|
|
323
289
|
formatMessageCompact,
|
|
324
|
-
formatSessionChunk,
|
|
325
290
|
formatTimeRange,
|
|
326
291
|
formatToolResultAsText,
|
|
327
292
|
generateSessionSummaries,
|
|
328
293
|
generateSessionSummary,
|
|
329
|
-
getActiveEmbeddingConfig,
|
|
330
|
-
getActiveEmbeddingConfigId,
|
|
331
|
-
getAllEmbeddingConfigs,
|
|
332
294
|
getAllowedBuiltinToolsForChartAutoSkill,
|
|
333
295
|
getChartCapabilitySkill as getBuiltinChartSkill,
|
|
334
296
|
getCache,
|
|
@@ -338,45 +300,35 @@ export {
|
|
|
338
300
|
getChartPlannerCapabilityForMessage,
|
|
339
301
|
getChatDbMigrations,
|
|
340
302
|
getCurrentLogFile,
|
|
303
|
+
getDbFileVersion,
|
|
341
304
|
getDefaultNodeUserDataDir,
|
|
342
305
|
getDefaultRulesForLocale,
|
|
343
306
|
getDictList,
|
|
344
|
-
getEmbeddingConfigById,
|
|
345
|
-
getEmbeddingService,
|
|
346
307
|
getErrorCount,
|
|
347
308
|
getJieba,
|
|
348
309
|
getNlpDir,
|
|
310
|
+
getOrComputeAnalysisCache,
|
|
349
311
|
getPendingNodeDataDirMigration,
|
|
350
312
|
getPosTagDefinitions,
|
|
351
313
|
getRuleGroupsForLocale,
|
|
352
|
-
getSessionChunk,
|
|
353
|
-
getSessionChunks,
|
|
354
314
|
getSkillConfigWithBuiltinChart,
|
|
355
315
|
getValidatedOverviewCache,
|
|
356
|
-
getVectorStore,
|
|
357
|
-
getVectorStoreDir,
|
|
358
|
-
getVectorStoreStats,
|
|
359
316
|
hasFtsTable,
|
|
360
317
|
hasPendingElectronDataWarning,
|
|
361
318
|
i18nTexts,
|
|
362
319
|
incrementalImport,
|
|
363
320
|
initNlpDir,
|
|
364
321
|
initPerfLog,
|
|
365
|
-
initRag,
|
|
366
|
-
initRagConfig,
|
|
367
322
|
initTokenizer,
|
|
368
323
|
insertFtsEntries,
|
|
369
324
|
invalidateCache,
|
|
370
325
|
isChineseLocale,
|
|
371
326
|
isDictDownloaded,
|
|
372
327
|
isDirectoryEmptyOrMissing,
|
|
373
|
-
isEmbeddingEnabled,
|
|
374
328
|
isExistingUserDataDir,
|
|
375
329
|
isUserDataDirSafeToUse,
|
|
376
330
|
isValidMessage,
|
|
377
331
|
loadDictBuffer,
|
|
378
|
-
loadEmbeddingConfigStore,
|
|
379
|
-
loadRAGConfig,
|
|
380
332
|
logError,
|
|
381
333
|
logInfo,
|
|
382
334
|
logPerf,
|
|
@@ -397,24 +349,19 @@ export {
|
|
|
397
349
|
raiseDataDirMinRuntimeVersion,
|
|
398
350
|
readDataDirCompatibilityMeta,
|
|
399
351
|
rebuildFtsIndex,
|
|
400
|
-
resetEmbeddingService,
|
|
401
352
|
resetPerfLog,
|
|
402
|
-
resetRAGConfig,
|
|
403
|
-
resetVectorStore,
|
|
404
353
|
resolveChartRuntimeForRequest,
|
|
405
354
|
runAgentCore,
|
|
406
355
|
runPendingDataDirMigration,
|
|
407
356
|
runSimpleLlmStream,
|
|
408
|
-
saveEmbeddingConfigStore,
|
|
409
|
-
saveRAGConfig,
|
|
410
357
|
searchByFts,
|
|
411
358
|
segment,
|
|
412
359
|
segmentText,
|
|
360
|
+
semantic_index_exports as semanticIndex,
|
|
413
361
|
serializeAssistant,
|
|
414
362
|
serializeChatLabToJsonl,
|
|
415
363
|
session_index_service_exports as sessionIndexService,
|
|
416
364
|
session_service_exports as sessionService,
|
|
417
|
-
setActiveEmbeddingConfig,
|
|
418
365
|
setCache,
|
|
419
366
|
shouldOfferChartCapabilityForAnalyticalMessage,
|
|
420
367
|
shouldUseChartCapabilityForMessage,
|
|
@@ -427,13 +374,10 @@ export {
|
|
|
427
374
|
tokenizeForFts,
|
|
428
375
|
tokenizeQueryForFts,
|
|
429
376
|
truncateFormattedMessages,
|
|
430
|
-
updateEmbeddingConfig,
|
|
431
|
-
updateRAGConfig,
|
|
432
377
|
validateApiKey,
|
|
433
|
-
validateEmbeddingConfig,
|
|
434
378
|
verifyCliDataPath,
|
|
435
379
|
wasElectronUsed,
|
|
436
380
|
wrapWithChartSchemaGate,
|
|
437
381
|
writeParseResultToDb
|
|
438
382
|
};
|
|
439
|
-
//# sourceMappingURL=src-
|
|
383
|
+
//# sourceMappingURL=src-M3MO3LEL.mjs.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
analyzeNewImport,
|
|
10
10
|
incrementalImport,
|
|
11
11
|
streamImport
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6FXGC6HE.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-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-KCFVHVO4.mjs";
|
|
21
|
+
import "./chunk-GFHSSCCR.mjs";
|
|
22
22
|
export {
|
|
23
23
|
analyzeIncrementalImport,
|
|
24
24
|
analyzeNewImport,
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
scanMultiChatFile,
|
|
32
32
|
streamImport
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=stream-import-
|
|
34
|
+
//# sourceMappingURL=stream-import-4VDJZHMY.mjs.map
|