chatlab-cli 0.26.3 → 0.27.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.
- package/README.md +10 -4
- package/dist/{chat-command-D37MMEJ7.mjs → chat-command-B7POB3C3.mjs} +6 -5
- package/dist/{chat-command-D37MMEJ7.mjs.map → chat-command-B7POB3C3.mjs.map} +1 -1
- package/dist/{chunk-K5SGXTVJ.mjs → chunk-3FUF3PEY.mjs} +21 -19
- package/dist/{chunk-K5SGXTVJ.mjs.map → chunk-3FUF3PEY.mjs.map} +1 -1
- package/dist/{chunk-742TAKEP.mjs → chunk-3JNVGW62.mjs} +2 -2
- package/dist/{chunk-VSOWNKPA.mjs → chunk-GFHSSCCR.mjs} +11 -1
- package/dist/{chunk-YPTJVTVJ.mjs → chunk-I7BHOZPX.mjs} +13159 -19038
- package/dist/chunk-I7BHOZPX.mjs.map +1 -0
- package/dist/chunk-N3G43SCQ.mjs +7337 -0
- package/dist/chunk-N3G43SCQ.mjs.map +1 -0
- package/dist/{chunk-GNGZHBKM.mjs → chunk-RJ4D4QWK.mjs} +42 -7
- package/dist/chunk-RJ4D4QWK.mjs.map +1 -0
- package/dist/{chunk-VCN64OD6.mjs → chunk-SAE2H2LN.mjs} +7 -5
- package/dist/{chunk-VCN64OD6.mjs.map → chunk-SAE2H2LN.mjs.map} +1 -1
- package/dist/{chunk-QMXNJRTT.mjs → chunk-SIVERPF5.mjs} +280 -104
- package/dist/chunk-SIVERPF5.mjs.map +1 -0
- package/dist/{chunk-RMITK4IC.mjs → chunk-WQMKKUSD.mjs} +468 -118
- package/dist/chunk-WQMKKUSD.mjs.map +1 -0
- package/dist/{chunk-D5MWER7N.mjs → chunk-YUFYTDRH.mjs} +6 -4
- package/dist/{chunk-D5MWER7N.mjs.map → chunk-YUFYTDRH.mjs.map} +1 -1
- package/dist/cli.mjs +5 -4
- package/dist/{http-6F6TYWCI.mjs → http-A54ZBBAY.mjs} +10 -9
- package/dist/{import-VYPOMSSA.mjs → import-EA3TB3S2.mjs} +6 -5
- package/dist/index.mjs +10 -9
- package/dist/{mcp-AR7L5FA3.mjs → mcp-DJDOWHH3.mjs} +11 -9
- package/dist/{mcp-AR7L5FA3.mjs.map → mcp-DJDOWHH3.mjs.map} +1 -1
- 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/semantic-index-worker.mjs +34 -0
- package/dist/semantic-index-worker.mjs.map +1 -0
- package/dist/{service-KZTHBDQ5.mjs → service-KGL3RAIA.mjs} +2 -2
- package/dist/{src-6S7JPKHX.mjs → src-EKPMJRG6.mjs} +65 -109
- package/dist/{stream-import-KZFC3XT2.mjs → stream-import-FQFNRQ2B.mjs} +5 -4
- package/dist/transformers.node-PUMHAODN.mjs +42889 -0
- package/dist/transformers.node-PUMHAODN.mjs.map +1 -0
- package/dist/{update-checker-3N7HQEP2.mjs → update-checker-LGMTEKMT.mjs} +2 -2
- package/dist/worker-runtime-UH2OBO3T.mjs +71 -0
- package/dist/worker-runtime-UH2OBO3T.mjs.map +1 -0
- package/dist-web/assets/{DebugToolsPanel-DzZmSzIU.css → DebugToolsPanel-DFw6_G5V.css} +1 -1
- package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-NL1sTF6i.js +110 -0
- package/dist-web/assets/{MessageExportModal-CF6yaor7.js → MessageExportModal-B60rvfCh.js} +1 -1
- package/dist-web/assets/{electron-DKVw61Ww.js → electron-BRUg9LnY.js} +1 -1
- package/dist-web/assets/{fetch-CUw-PUYP.js → fetch-BIpjJHxj.js} +1 -1
- package/dist-web/assets/{fetch-BMdgfBVS.js → fetch-BRsMdFcn.js} +1 -1
- package/dist-web/assets/{fetch-CPeSfqsU.js → fetch-C-m3IysH.js} +1 -1
- package/dist-web/assets/{fetch-CpYSD089.js → fetch-Cma-mZjd.js} +1 -1
- package/dist-web/assets/{fetch-D2jNBqs8.js → fetch-DE8gj5Ke.js} +1 -1
- package/dist-web/assets/{fetch-DqEMAea3.js → fetch-DLAp7h55.js} +1 -1
- package/dist-web/assets/{fetch-BvVfWR-P.js → fetch-DNSaxRnL.js} +1 -1
- package/dist-web/assets/{fetch-BC8jyJ_U.js → fetch-DOEbyLSD.js} +1 -1
- package/dist-web/assets/{fetch-BQlEQsqi.js → fetch-DSN-QYZE.js} +1 -1
- package/dist-web/assets/{fetch-Bh6HC-IR.js → fetch-woAa3H2L.js} +1 -1
- package/dist-web/assets/index-B3mDjury.js +11 -0
- package/dist-web/assets/{index-Qh0XLt3R.js → index-B9I-Y3fR.js} +1 -1
- package/dist-web/assets/{index-DqybGdJH.css → index-BX3tqfLz.css} +1 -1
- package/dist-web/assets/index-GAU7LI1r.js +173 -0
- package/dist-web/assets/index-I3SWZjnW.css +1 -0
- package/dist-web/assets/index-YmzTgkb2.css +1 -0
- package/dist-web/assets/index-iwqJDVMJ.js +2 -0
- package/dist-web/assets/index-o6veAyTB.js +64 -0
- package/dist-web/assets/{index-BHQnAj6l.js → index-r_zHR2t9.js} +1 -1
- package/dist-web/assets/{web-Bx2TiHDk.js → web-C2UtGskd.js} +1 -1
- package/dist-web/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-GNGZHBKM.mjs.map +0 -1
- package/dist/chunk-QMXNJRTT.mjs.map +0 -1
- package/dist/chunk-RMITK4IC.mjs.map +0 -1
- package/dist/chunk-YPTJVTVJ.mjs.map +0 -1
- package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-BTdqmm0y.js +0 -107
- package/dist-web/assets/index-BwzuCu5R.js +0 -2
- package/dist-web/assets/index-CG746E15.js +0 -64
- package/dist-web/assets/index-CXoQ_U22.js +0 -173
- package/dist-web/assets/index-HgIuP1Td.css +0 -1
- package/dist-web/assets/index-R82N2_0b.css +0 -1
- package/dist-web/assets/index-wPAmuQZY.js +0 -11
- /package/dist/{chunk-742TAKEP.mjs.map → chunk-3JNVGW62.mjs.map} +0 -0
- /package/dist/{chunk-VSOWNKPA.mjs.map → chunk-GFHSSCCR.mjs.map} +0 -0
- /package/dist/{http-6F6TYWCI.mjs.map → http-A54ZBBAY.mjs.map} +0 -0
- /package/dist/{import-VYPOMSSA.mjs.map → import-EA3TB3S2.mjs.map} +0 -0
- /package/dist/{service-KZTHBDQ5.mjs.map → service-KGL3RAIA.mjs.map} +0 -0
- /package/dist/{src-6S7JPKHX.mjs.map → src-EKPMJRG6.mjs.map} +0 -0
- /package/dist/{stream-import-KZFC3XT2.mjs.map → stream-import-FQFNRQ2B.mjs.map} +0 -0
- /package/dist/{update-checker-3N7HQEP2.mjs.map → update-checker-LGMTEKMT.mjs.map} +0 -0
|
@@ -4,6 +4,47 @@ 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
|
+
LogLevel,
|
|
9
|
+
NodePathProvider,
|
|
10
|
+
PreferencesManager,
|
|
11
|
+
analyzeIncrementalImport,
|
|
12
|
+
analyzeNewImport,
|
|
13
|
+
applyPendingNodeDataDirMigration,
|
|
14
|
+
applyPendingNodeDataDirMigrationIfNeeded,
|
|
15
|
+
buildMergedOutput,
|
|
16
|
+
checkConflictsFromSources,
|
|
17
|
+
clearPendingNodeDataDirMigration,
|
|
18
|
+
copyDirMerge,
|
|
19
|
+
createJiebaNlpProvider,
|
|
20
|
+
createNodeDataDirSwitch,
|
|
21
|
+
createPendingDataDirMigration,
|
|
22
|
+
createSemanticIndexWorkerRuntimeClient,
|
|
23
|
+
getCurrentLogFile,
|
|
24
|
+
getDbFileVersion,
|
|
25
|
+
getDefaultNodeUserDataDir,
|
|
26
|
+
getErrorCount,
|
|
27
|
+
getOrComputeAnalysisCache,
|
|
28
|
+
getPendingNodeDataDirMigration,
|
|
29
|
+
hasPendingElectronDataWarning,
|
|
30
|
+
incrementalImport,
|
|
31
|
+
initPerfLog,
|
|
32
|
+
isDirectoryEmptyOrMissing,
|
|
33
|
+
isExistingUserDataDir,
|
|
34
|
+
isUserDataDirSafeToUse,
|
|
35
|
+
logError,
|
|
36
|
+
logInfo,
|
|
37
|
+
logPerf,
|
|
38
|
+
logPerfDetail,
|
|
39
|
+
logSummary,
|
|
40
|
+
resetPerfLog,
|
|
41
|
+
runPendingDataDirMigration,
|
|
42
|
+
semantic_index_exports,
|
|
43
|
+
serializeChatLabToJsonl,
|
|
44
|
+
streamParseFileInfo,
|
|
45
|
+
streamingImport,
|
|
46
|
+
writeParseResultToDb
|
|
47
|
+
} from "./chunk-N3G43SCQ.mjs";
|
|
7
48
|
import {
|
|
8
49
|
AIChatManager,
|
|
9
50
|
AgentEventHandler,
|
|
@@ -19,57 +60,43 @@ import {
|
|
|
19
60
|
CHART_SCHEMA_REQUIRED_MESSAGE,
|
|
20
61
|
CustomModelStore,
|
|
21
62
|
CustomProviderStore,
|
|
22
|
-
DEFAULT_EMBEDDING_CONFIG_STORE,
|
|
23
63
|
DEFAULT_MAX_TOOL_ROUNDS,
|
|
24
|
-
DEFAULT_RAG_CONFIG,
|
|
25
64
|
DESENSITIZE_RULES_SCHEMA_VERSION,
|
|
26
65
|
DataDirCompatibilityError,
|
|
27
66
|
DatabaseManager,
|
|
28
67
|
LLMConfigStore,
|
|
29
|
-
LogLevel,
|
|
30
68
|
MAX_CONFIG_COUNT,
|
|
31
|
-
MAX_EMBEDDING_CONFIG_COUNT,
|
|
32
|
-
MemoryVectorStore,
|
|
33
69
|
MergeSessionCache,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
70
|
+
SEMANTIC_INDEX_CONFIG_FILE,
|
|
71
|
+
SemanticIndexConfigStore,
|
|
72
|
+
SemanticIndexService,
|
|
37
73
|
SkillManager,
|
|
38
74
|
SkillManagerCore,
|
|
39
75
|
TEMP_DB_SCHEMA,
|
|
40
76
|
TempDbReader,
|
|
41
77
|
TempDbWriter,
|
|
42
78
|
Type,
|
|
43
|
-
addEmbeddingConfig,
|
|
44
79
|
aiLocales,
|
|
45
|
-
analyzeIncrementalImport,
|
|
46
|
-
analyzeNewImport,
|
|
47
80
|
anonymizeMessageNames,
|
|
48
81
|
applyDesensitizeRuleOverrides,
|
|
49
|
-
applyPendingNodeDataDirMigration,
|
|
50
|
-
applyPendingNodeDataDirMigrationIfNeeded,
|
|
51
82
|
applyPreprocessingPipeline,
|
|
52
83
|
assertDataDirCompatible,
|
|
53
84
|
batchSegmentWithFrequency,
|
|
54
85
|
buildFtsIndex,
|
|
55
|
-
buildMergedOutput,
|
|
56
86
|
buildPiModel,
|
|
57
87
|
buildPlanGuidance,
|
|
88
|
+
buildSemanticSearchGuidance,
|
|
58
89
|
buildSkillMenuWithBuiltinChart,
|
|
59
90
|
buildSystemPrompt,
|
|
60
91
|
checkAndCompress,
|
|
61
|
-
checkConflictsFromSources,
|
|
62
92
|
checkSessionsCanGenerateSummary,
|
|
63
93
|
cleanupTempDatabases,
|
|
64
94
|
clearJiebaInstance,
|
|
65
|
-
clearPendingNodeDataDirMigration,
|
|
66
95
|
collectPosTagStats,
|
|
67
96
|
completeSimple,
|
|
68
97
|
computeAndSetMembersCache,
|
|
69
98
|
computeAndSetOverviewCache,
|
|
70
99
|
computeWordFrequency,
|
|
71
|
-
copyDirMerge,
|
|
72
|
-
cosineSimilarity,
|
|
73
100
|
countMessagesTokens,
|
|
74
101
|
countTokens,
|
|
75
102
|
createActivateSkillTool,
|
|
@@ -80,20 +107,17 @@ import {
|
|
|
80
107
|
createDataSnapshotFromOverview,
|
|
81
108
|
createDatabaseManagerAdapter,
|
|
82
109
|
createFtsTable,
|
|
83
|
-
createJiebaNlpProvider,
|
|
84
110
|
createLlmRouteDecider,
|
|
85
|
-
createNodeDataDirSwitch,
|
|
86
|
-
createPendingDataDirMigration,
|
|
87
111
|
createPlanContentBlock,
|
|
112
|
+
createSemanticIndexService,
|
|
88
113
|
decideRequestRoute,
|
|
114
|
+
defaultSemanticIndexConfig,
|
|
89
115
|
deleteDict,
|
|
90
|
-
deleteEmbeddingConfig,
|
|
91
116
|
deleteSessionCache,
|
|
92
117
|
deleteTempDatabase,
|
|
93
118
|
downloadDict,
|
|
94
119
|
ensureDefaultDict,
|
|
95
120
|
estimateTokensFromText,
|
|
96
|
-
executeSemanticPipeline,
|
|
97
121
|
exportFilterResultToMarkdown,
|
|
98
122
|
exportSessionToJson,
|
|
99
123
|
exportWithFormat,
|
|
@@ -105,14 +129,10 @@ import {
|
|
|
105
129
|
filterValidMessages,
|
|
106
130
|
formatAIError,
|
|
107
131
|
formatMessageCompact,
|
|
108
|
-
formatSessionChunk,
|
|
109
132
|
formatTimeRange,
|
|
110
133
|
formatToolResultAsText,
|
|
111
134
|
generateSessionSummaries,
|
|
112
135
|
generateSessionSummary,
|
|
113
|
-
getActiveEmbeddingConfig,
|
|
114
|
-
getActiveEmbeddingConfigId,
|
|
115
|
-
getAllEmbeddingConfigs,
|
|
116
136
|
getAllowedBuiltinToolsForChartAutoSkill,
|
|
117
137
|
getCache,
|
|
118
138
|
getCachePath,
|
|
@@ -120,53 +140,25 @@ import {
|
|
|
120
140
|
getChartCapabilitySkill,
|
|
121
141
|
getChartPlannerCapabilityForMessage,
|
|
122
142
|
getChatDbMigrations,
|
|
123
|
-
getCurrentLogFile,
|
|
124
|
-
getDbFileVersion,
|
|
125
|
-
getDefaultNodeUserDataDir,
|
|
126
143
|
getDefaultRulesForLocale,
|
|
127
144
|
getDictList,
|
|
128
|
-
getEmbeddingConfigById,
|
|
129
|
-
getEmbeddingService,
|
|
130
|
-
getErrorCount,
|
|
131
145
|
getJieba,
|
|
132
146
|
getNlpDir,
|
|
133
|
-
getOrComputeAnalysisCache,
|
|
134
|
-
getPendingNodeDataDirMigration,
|
|
135
147
|
getPosTagDefinitions,
|
|
136
148
|
getRuleGroupsForLocale,
|
|
137
|
-
getSessionChunk,
|
|
138
|
-
getSessionChunks,
|
|
139
149
|
getSkillConfigWithBuiltinChart,
|
|
140
150
|
getValidatedOverviewCache,
|
|
141
|
-
getVectorStore,
|
|
142
|
-
getVectorStoreDir,
|
|
143
|
-
getVectorStoreStats,
|
|
144
151
|
hasFtsTable,
|
|
145
|
-
hasPendingElectronDataWarning,
|
|
146
152
|
i18nTexts,
|
|
147
|
-
incrementalImport,
|
|
148
153
|
initNlpDir,
|
|
149
|
-
initPerfLog,
|
|
150
|
-
initRag,
|
|
151
|
-
initRagConfig,
|
|
152
154
|
initTokenizer,
|
|
153
155
|
insertFtsEntries,
|
|
154
156
|
invalidateCache,
|
|
155
157
|
isChineseLocale,
|
|
156
158
|
isDictDownloaded,
|
|
157
|
-
|
|
158
|
-
isEmbeddingEnabled,
|
|
159
|
-
isExistingUserDataDir,
|
|
160
|
-
isUserDataDirSafeToUse,
|
|
159
|
+
isSemanticIndexConfigured,
|
|
161
160
|
isValidMessage,
|
|
162
161
|
loadDictBuffer,
|
|
163
|
-
loadEmbeddingConfigStore,
|
|
164
|
-
loadRAGConfig,
|
|
165
|
-
logError,
|
|
166
|
-
logInfo,
|
|
167
|
-
logPerf,
|
|
168
|
-
logPerfDetail,
|
|
169
|
-
logSummary,
|
|
170
162
|
manualCompress,
|
|
171
163
|
member_service_exports,
|
|
172
164
|
mergeRulesForLocale,
|
|
@@ -177,51 +169,38 @@ import {
|
|
|
177
169
|
owner_profile_service_exports,
|
|
178
170
|
parseAssistantFile,
|
|
179
171
|
parseSkillFile,
|
|
172
|
+
persistSemanticIndexConfig,
|
|
180
173
|
preprocessMessages,
|
|
181
174
|
raiseChatDbCompatibilityGate,
|
|
182
175
|
raiseDataDirMinRuntimeVersion,
|
|
183
176
|
readDataDirCompatibilityMeta,
|
|
184
177
|
rebuildFtsIndex,
|
|
185
|
-
resetEmbeddingService,
|
|
186
|
-
resetPerfLog,
|
|
187
|
-
resetRAGConfig,
|
|
188
|
-
resetVectorStore,
|
|
189
178
|
resolveChartRuntimeForRequest,
|
|
179
|
+
resolveSemanticIndexApiKeySet,
|
|
190
180
|
runAgentCore,
|
|
191
|
-
runPendingDataDirMigration,
|
|
192
181
|
runSimpleLlmStream,
|
|
193
|
-
saveEmbeddingConfigStore,
|
|
194
|
-
saveRAGConfig,
|
|
195
182
|
searchByFts,
|
|
196
183
|
segment,
|
|
197
184
|
segmentText,
|
|
198
185
|
serializeAssistant,
|
|
199
|
-
serializeChatLabToJsonl,
|
|
200
186
|
session_index_service_exports,
|
|
201
187
|
session_service_exports,
|
|
202
|
-
setActiveEmbeddingConfig,
|
|
203
188
|
setCache,
|
|
204
189
|
shouldOfferChartCapabilityForAnalyticalMessage,
|
|
205
190
|
shouldUseChartCapabilityForMessage,
|
|
206
191
|
splitIntoSegments,
|
|
207
|
-
streamParseFileInfo,
|
|
208
192
|
streamSimple,
|
|
209
|
-
streamingImport,
|
|
210
193
|
summary_service_exports,
|
|
211
194
|
t,
|
|
212
195
|
tokenizeForFts,
|
|
213
196
|
tokenizeQueryForFts,
|
|
214
197
|
truncateFormattedMessages,
|
|
215
|
-
updateEmbeddingConfig,
|
|
216
|
-
updateRAGConfig,
|
|
217
198
|
validateApiKey,
|
|
218
|
-
validateEmbeddingConfig,
|
|
219
199
|
verifyCliDataPath,
|
|
220
200
|
wasElectronUsed,
|
|
221
|
-
wrapWithChartSchemaGate
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
import "./chunk-VSOWNKPA.mjs";
|
|
201
|
+
wrapWithChartSchemaGate
|
|
202
|
+
} from "./chunk-I7BHOZPX.mjs";
|
|
203
|
+
import "./chunk-GFHSSCCR.mjs";
|
|
225
204
|
export {
|
|
226
205
|
AIChatManager,
|
|
227
206
|
AgentEventHandler,
|
|
@@ -237,28 +216,25 @@ export {
|
|
|
237
216
|
CHART_SCHEMA_REQUIRED_MESSAGE,
|
|
238
217
|
CustomModelStore,
|
|
239
218
|
CustomProviderStore,
|
|
240
|
-
DEFAULT_EMBEDDING_CONFIG_STORE,
|
|
241
219
|
DEFAULT_MAX_TOOL_ROUNDS,
|
|
242
|
-
DEFAULT_RAG_CONFIG,
|
|
243
220
|
DESENSITIZE_RULES_SCHEMA_VERSION,
|
|
244
221
|
DataDirCompatibilityError,
|
|
245
222
|
DatabaseManager,
|
|
246
223
|
LLMConfigStore,
|
|
247
224
|
LogLevel,
|
|
248
225
|
MAX_CONFIG_COUNT,
|
|
249
|
-
MAX_EMBEDDING_CONFIG_COUNT,
|
|
250
|
-
MemoryVectorStore,
|
|
251
226
|
MergeSessionCache,
|
|
252
227
|
NodePathProvider,
|
|
253
228
|
PreferencesManager,
|
|
254
|
-
|
|
229
|
+
SEMANTIC_INDEX_CONFIG_FILE,
|
|
230
|
+
SemanticIndexConfigStore,
|
|
231
|
+
SemanticIndexService,
|
|
255
232
|
SkillManager,
|
|
256
233
|
SkillManagerCore,
|
|
257
234
|
TEMP_DB_SCHEMA,
|
|
258
235
|
TempDbReader,
|
|
259
236
|
TempDbWriter,
|
|
260
237
|
Type,
|
|
261
|
-
addEmbeddingConfig,
|
|
262
238
|
aiLocales,
|
|
263
239
|
analyzeIncrementalImport,
|
|
264
240
|
analyzeNewImport,
|
|
@@ -273,6 +249,7 @@ export {
|
|
|
273
249
|
buildMergedOutput,
|
|
274
250
|
buildPiModel,
|
|
275
251
|
buildPlanGuidance,
|
|
252
|
+
buildSemanticSearchGuidance,
|
|
276
253
|
buildSkillMenuWithBuiltinChart,
|
|
277
254
|
buildSystemPrompt,
|
|
278
255
|
checkAndCompress,
|
|
@@ -287,7 +264,6 @@ export {
|
|
|
287
264
|
computeAndSetOverviewCache,
|
|
288
265
|
computeWordFrequency,
|
|
289
266
|
copyDirMerge as copyDataDirMerge,
|
|
290
|
-
cosineSimilarity,
|
|
291
267
|
countMessagesTokens,
|
|
292
268
|
countTokens,
|
|
293
269
|
createActivateSkillTool,
|
|
@@ -303,15 +279,16 @@ export {
|
|
|
303
279
|
createNodeDataDirSwitch,
|
|
304
280
|
createPendingDataDirMigration,
|
|
305
281
|
createPlanContentBlock,
|
|
282
|
+
createSemanticIndexService,
|
|
283
|
+
createSemanticIndexWorkerRuntimeClient,
|
|
306
284
|
decideRequestRoute,
|
|
285
|
+
defaultSemanticIndexConfig,
|
|
307
286
|
deleteDict,
|
|
308
|
-
deleteEmbeddingConfig,
|
|
309
287
|
deleteSessionCache,
|
|
310
288
|
deleteTempDatabase,
|
|
311
289
|
downloadDict,
|
|
312
290
|
ensureDefaultDict,
|
|
313
291
|
estimateTokensFromText,
|
|
314
|
-
executeSemanticPipeline,
|
|
315
292
|
exportFilterResultToMarkdown,
|
|
316
293
|
export_service_exports as exportService,
|
|
317
294
|
exportSessionToJson,
|
|
@@ -323,14 +300,10 @@ export {
|
|
|
323
300
|
filterValidMessages,
|
|
324
301
|
formatAIError,
|
|
325
302
|
formatMessageCompact,
|
|
326
|
-
formatSessionChunk,
|
|
327
303
|
formatTimeRange,
|
|
328
304
|
formatToolResultAsText,
|
|
329
305
|
generateSessionSummaries,
|
|
330
306
|
generateSessionSummary,
|
|
331
|
-
getActiveEmbeddingConfig,
|
|
332
|
-
getActiveEmbeddingConfigId,
|
|
333
|
-
getAllEmbeddingConfigs,
|
|
334
307
|
getAllowedBuiltinToolsForChartAutoSkill,
|
|
335
308
|
getChartCapabilitySkill as getBuiltinChartSkill,
|
|
336
309
|
getCache,
|
|
@@ -344,8 +317,6 @@ export {
|
|
|
344
317
|
getDefaultNodeUserDataDir,
|
|
345
318
|
getDefaultRulesForLocale,
|
|
346
319
|
getDictList,
|
|
347
|
-
getEmbeddingConfigById,
|
|
348
|
-
getEmbeddingService,
|
|
349
320
|
getErrorCount,
|
|
350
321
|
getJieba,
|
|
351
322
|
getNlpDir,
|
|
@@ -353,34 +324,25 @@ export {
|
|
|
353
324
|
getPendingNodeDataDirMigration,
|
|
354
325
|
getPosTagDefinitions,
|
|
355
326
|
getRuleGroupsForLocale,
|
|
356
|
-
getSessionChunk,
|
|
357
|
-
getSessionChunks,
|
|
358
327
|
getSkillConfigWithBuiltinChart,
|
|
359
328
|
getValidatedOverviewCache,
|
|
360
|
-
getVectorStore,
|
|
361
|
-
getVectorStoreDir,
|
|
362
|
-
getVectorStoreStats,
|
|
363
329
|
hasFtsTable,
|
|
364
330
|
hasPendingElectronDataWarning,
|
|
365
331
|
i18nTexts,
|
|
366
332
|
incrementalImport,
|
|
367
333
|
initNlpDir,
|
|
368
334
|
initPerfLog,
|
|
369
|
-
initRag,
|
|
370
|
-
initRagConfig,
|
|
371
335
|
initTokenizer,
|
|
372
336
|
insertFtsEntries,
|
|
373
337
|
invalidateCache,
|
|
374
338
|
isChineseLocale,
|
|
375
339
|
isDictDownloaded,
|
|
376
340
|
isDirectoryEmptyOrMissing,
|
|
377
|
-
isEmbeddingEnabled,
|
|
378
341
|
isExistingUserDataDir,
|
|
342
|
+
isSemanticIndexConfigured,
|
|
379
343
|
isUserDataDirSafeToUse,
|
|
380
344
|
isValidMessage,
|
|
381
345
|
loadDictBuffer,
|
|
382
|
-
loadEmbeddingConfigStore,
|
|
383
|
-
loadRAGConfig,
|
|
384
346
|
logError,
|
|
385
347
|
logInfo,
|
|
386
348
|
logPerf,
|
|
@@ -396,29 +358,26 @@ export {
|
|
|
396
358
|
owner_profile_service_exports as ownerProfileService,
|
|
397
359
|
parseAssistantFile,
|
|
398
360
|
parseSkillFile,
|
|
361
|
+
persistSemanticIndexConfig,
|
|
399
362
|
preprocessMessages,
|
|
400
363
|
raiseChatDbCompatibilityGate,
|
|
401
364
|
raiseDataDirMinRuntimeVersion,
|
|
402
365
|
readDataDirCompatibilityMeta,
|
|
403
366
|
rebuildFtsIndex,
|
|
404
|
-
resetEmbeddingService,
|
|
405
367
|
resetPerfLog,
|
|
406
|
-
resetRAGConfig,
|
|
407
|
-
resetVectorStore,
|
|
408
368
|
resolveChartRuntimeForRequest,
|
|
369
|
+
resolveSemanticIndexApiKeySet,
|
|
409
370
|
runAgentCore,
|
|
410
371
|
runPendingDataDirMigration,
|
|
411
372
|
runSimpleLlmStream,
|
|
412
|
-
saveEmbeddingConfigStore,
|
|
413
|
-
saveRAGConfig,
|
|
414
373
|
searchByFts,
|
|
415
374
|
segment,
|
|
416
375
|
segmentText,
|
|
376
|
+
semantic_index_exports as semanticIndex,
|
|
417
377
|
serializeAssistant,
|
|
418
378
|
serializeChatLabToJsonl,
|
|
419
379
|
session_index_service_exports as sessionIndexService,
|
|
420
380
|
session_service_exports as sessionService,
|
|
421
|
-
setActiveEmbeddingConfig,
|
|
422
381
|
setCache,
|
|
423
382
|
shouldOfferChartCapabilityForAnalyticalMessage,
|
|
424
383
|
shouldUseChartCapabilityForMessage,
|
|
@@ -431,13 +390,10 @@ export {
|
|
|
431
390
|
tokenizeForFts,
|
|
432
391
|
tokenizeQueryForFts,
|
|
433
392
|
truncateFormattedMessages,
|
|
434
|
-
updateEmbeddingConfig,
|
|
435
|
-
updateRAGConfig,
|
|
436
393
|
validateApiKey,
|
|
437
|
-
validateEmbeddingConfig,
|
|
438
394
|
verifyCliDataPath,
|
|
439
395
|
wasElectronUsed,
|
|
440
396
|
wrapWithChartSchemaGate,
|
|
441
397
|
writeParseResultToDb
|
|
442
398
|
};
|
|
443
|
-
//# sourceMappingURL=src-
|
|
399
|
+
//# sourceMappingURL=src-EKPMJRG6.mjs.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
analyzeNewImport,
|
|
10
10
|
incrementalImport,
|
|
11
11
|
streamImport
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SAE2H2LN.mjs";
|
|
13
13
|
import {
|
|
14
14
|
detectAllFormats,
|
|
15
15
|
detectFormat,
|
|
@@ -17,8 +17,9 @@ import {
|
|
|
17
17
|
getFormatFeatureById,
|
|
18
18
|
getSupportedFormats,
|
|
19
19
|
scanMultiChatFile
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-N3G43SCQ.mjs";
|
|
21
|
+
import "./chunk-I7BHOZPX.mjs";
|
|
22
|
+
import "./chunk-GFHSSCCR.mjs";
|
|
22
23
|
export {
|
|
23
24
|
analyzeIncrementalImport,
|
|
24
25
|
analyzeNewImport,
|
|
@@ -31,4 +32,4 @@ export {
|
|
|
31
32
|
scanMultiChatFile,
|
|
32
33
|
streamImport
|
|
33
34
|
};
|
|
34
|
-
//# sourceMappingURL=stream-import-
|
|
35
|
+
//# sourceMappingURL=stream-import-FQFNRQ2B.mjs.map
|