chatlab-cli 0.26.0 → 0.26.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-ZP4WJVWC.mjs → chat-command-BVIG2LCO.mjs} +4 -4
- package/dist/{chunk-WXC6RZCX.mjs → chunk-3XFHIQIW.mjs} +2 -2
- package/dist/{chunk-UB4XBM4R.mjs → chunk-6AOEMUCM.mjs} +2 -2
- package/dist/{chunk-SJIOPSMM.mjs → chunk-GBQQJJKK.mjs} +93 -75
- package/dist/chunk-GBQQJJKK.mjs.map +1 -0
- package/dist/{chunk-6G7AIF7I.mjs → chunk-GTXX72AQ.mjs} +28 -13
- package/dist/chunk-GTXX72AQ.mjs.map +1 -0
- package/dist/{chunk-ILGSSXOG.mjs → chunk-JFSTXSX2.mjs} +5 -4
- package/dist/chunk-JFSTXSX2.mjs.map +1 -0
- package/dist/{chunk-TC74HESZ.mjs → chunk-QKQRV7RV.mjs} +2 -2
- package/dist/{chunk-IRZRIHIT.mjs → chunk-SCE4YL3M.mjs} +8 -4
- package/dist/chunk-SCE4YL3M.mjs.map +1 -0
- package/dist/{chunk-QY67NN65.mjs → chunk-TMZC3SNX.mjs} +6248 -4318
- package/dist/chunk-TMZC3SNX.mjs.map +1 -0
- package/dist/cli.mjs +3 -3
- package/dist/{http-J3IOFFIA.mjs → http-NLFLQDI7.mjs} +8 -8
- package/dist/{import-POYG5LOX.mjs → import-ILK6MGYR.mjs} +4 -4
- package/dist/index.mjs +8 -8
- package/dist/{mcp-7HH7UMXT.mjs → mcp-FOLR5XJL.mjs} +7 -7
- package/dist/src-OQN3VE73.mjs +439 -0
- package/dist/{stream-import-O3H3FGV2.mjs → stream-import-F5QI2HTO.mjs} +3 -3
- package/dist/stream-import-F5QI2HTO.mjs.map +1 -0
- package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-D9mCNaYM.js +182 -0
- package/dist-web/assets/MessageExportModal-ttP_JPqO.js +1 -0
- package/dist-web/assets/{electron-B3DFm1cC.js → electron-BeJHY587.js} +1 -1
- package/dist-web/assets/{electron-BMM4Nfty.js → electron-Dbml-SPN.js} +1 -1
- package/dist-web/assets/{fetch-BaJDB31c.js → fetch-4s20GRbb.js} +1 -1
- package/dist-web/assets/{fetch-C5CLcpQW.js → fetch-B7USXx9R.js} +1 -1
- package/dist-web/assets/fetch-BETFYYe1.js +1 -0
- package/dist-web/assets/{fetch-SYrb-sZe.js → fetch-DBJ7Xkjt.js} +1 -1
- package/dist-web/assets/{fetch-BjDJgdN0.js → fetch-DW8r_JmP.js} +1 -1
- package/dist-web/assets/fetch-DcEBAz_3.js +1 -0
- package/dist-web/assets/{fetch-BFtuJaa1.js → fetch-DsCNr_M0.js} +1 -1
- package/dist-web/assets/{fetch-DQZvdHnG.js → fetch-DtXUkazy.js} +1 -1
- package/dist-web/assets/{fetch-Dhfbt1BQ.js → fetch-H4B1CK_T.js} +1 -1
- package/dist-web/assets/{fetch-ArMjdMcy.js → fetch-rtQEc8Bu.js} +1 -1
- package/dist-web/assets/index-C2ts-hTr.js +173 -0
- package/dist-web/assets/index-CYMTvtEI.js +24 -0
- package/dist-web/assets/index-CjnMyejM.css +1 -0
- package/dist-web/assets/index-CsxrXMkt.js +2 -0
- package/dist-web/assets/index-DkownpUj.js +163 -0
- package/dist-web/assets/{index-DK9LEEzT.js → index-Dov-rTKE.js} +1 -1
- package/dist-web/assets/index-Dtm2oajn.css +1 -0
- package/dist-web/assets/{index-CGNgUIT-.css → index-LCedyGl2.css} +1 -1
- package/dist-web/assets/index-m7v4PP7r.js +11 -0
- package/dist-web/assets/{web-zEXsvoZW.js → web-1-WNRDnP.js} +1 -1
- package/dist-web/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-6G7AIF7I.mjs.map +0 -1
- package/dist/chunk-ILGSSXOG.mjs.map +0 -1
- package/dist/chunk-IRZRIHIT.mjs.map +0 -1
- package/dist/chunk-QY67NN65.mjs.map +0 -1
- package/dist/chunk-SJIOPSMM.mjs.map +0 -1
- package/dist-web/assets/DebugToolsPanel.vue_vue_type_script_setup_true_lang-BTJxEma5.js +0 -182
- package/dist-web/assets/MessageExportModal-C7NgEL8T.js +0 -1
- package/dist-web/assets/fetch-BGfaAqO9.js +0 -1
- package/dist-web/assets/fetch-DnEP0uyF.js +0 -1
- package/dist-web/assets/index-C3A_Rjh-.css +0 -1
- package/dist-web/assets/index-CWfkrx37.js +0 -173
- package/dist-web/assets/index-D3N4NDFx.css +0 -1
- package/dist-web/assets/index-D7_ch4zf.js +0 -24
- package/dist-web/assets/index-DqDa_on9.js +0 -9
- package/dist-web/assets/index-DrN1G9bl.js +0 -2
- package/dist-web/assets/index-MdYeovYo.js +0 -163
- /package/dist/{chat-command-ZP4WJVWC.mjs.map → chat-command-BVIG2LCO.mjs.map} +0 -0
- /package/dist/{chunk-WXC6RZCX.mjs.map → chunk-3XFHIQIW.mjs.map} +0 -0
- /package/dist/{chunk-UB4XBM4R.mjs.map → chunk-6AOEMUCM.mjs.map} +0 -0
- /package/dist/{chunk-TC74HESZ.mjs.map → chunk-QKQRV7RV.mjs.map} +0 -0
- /package/dist/{http-J3IOFFIA.mjs.map → http-NLFLQDI7.mjs.map} +0 -0
- /package/dist/{import-POYG5LOX.mjs.map → import-ILK6MGYR.mjs.map} +0 -0
- /package/dist/{mcp-7HH7UMXT.mjs.map → mcp-FOLR5XJL.mjs.map} +0 -0
- /package/dist/{stream-import-O3H3FGV2.mjs.map → src-OQN3VE73.mjs.map} +0 -0
package/dist/cli.mjs
CHANGED
|
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __pathDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
run
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-GTXX72AQ.mjs";
|
|
10
|
+
import "./chunk-6AOEMUCM.mjs";
|
|
11
11
|
import "./chunk-5ADKYYNA.mjs";
|
|
12
|
-
import "./chunk-QY67NN65.mjs";
|
|
13
12
|
import "./chunk-FJ35V3TE.mjs";
|
|
13
|
+
import "./chunk-TMZC3SNX.mjs";
|
|
14
14
|
import "./chunk-VSOWNKPA.mjs";
|
|
15
15
|
export {
|
|
16
16
|
run
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
registerWebRoutes,
|
|
10
10
|
startHttpServer,
|
|
11
11
|
stopHttpServer
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-GBQQJJKK.mjs";
|
|
13
|
+
import "./chunk-3XFHIQIW.mjs";
|
|
14
|
+
import "./chunk-QKQRV7RV.mjs";
|
|
15
|
+
import "./chunk-6AOEMUCM.mjs";
|
|
16
16
|
import "./chunk-5ADKYYNA.mjs";
|
|
17
|
-
import "./chunk-ILGSSXOG.mjs";
|
|
18
|
-
import "./chunk-IRZRIHIT.mjs";
|
|
19
|
-
import "./chunk-QY67NN65.mjs";
|
|
20
17
|
import "./chunk-FJ35V3TE.mjs";
|
|
18
|
+
import "./chunk-JFSTXSX2.mjs";
|
|
19
|
+
import "./chunk-SCE4YL3M.mjs";
|
|
20
|
+
import "./chunk-TMZC3SNX.mjs";
|
|
21
21
|
import "./chunk-VSOWNKPA.mjs";
|
|
22
22
|
export {
|
|
23
23
|
createServer,
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
startHttpServer,
|
|
26
26
|
stopHttpServer
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=http-
|
|
28
|
+
//# sourceMappingURL=http-NLFLQDI7.mjs.map
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
detectFormat as detectFormat2,
|
|
9
9
|
importData,
|
|
10
10
|
parseFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3XFHIQIW.mjs";
|
|
12
12
|
import {
|
|
13
13
|
analyzeIncrementalImport,
|
|
14
14
|
analyzeNewImport,
|
|
15
15
|
incrementalImport,
|
|
16
16
|
streamImport
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QKQRV7RV.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-
|
|
25
|
+
} from "./chunk-TMZC3SNX.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-
|
|
42
|
+
//# sourceMappingURL=import-ILK6MGYR.mjs.map
|
package/dist/index.mjs
CHANGED
|
@@ -7,18 +7,18 @@ const __dirname = __pathDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
startHttpServer,
|
|
9
9
|
stopHttpServer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GBQQJJKK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
run
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-GTXX72AQ.mjs";
|
|
14
|
+
import "./chunk-3XFHIQIW.mjs";
|
|
15
|
+
import "./chunk-QKQRV7RV.mjs";
|
|
16
|
+
import "./chunk-6AOEMUCM.mjs";
|
|
17
17
|
import "./chunk-5ADKYYNA.mjs";
|
|
18
|
-
import "./chunk-ILGSSXOG.mjs";
|
|
19
|
-
import "./chunk-IRZRIHIT.mjs";
|
|
20
|
-
import "./chunk-QY67NN65.mjs";
|
|
21
18
|
import "./chunk-FJ35V3TE.mjs";
|
|
19
|
+
import "./chunk-JFSTXSX2.mjs";
|
|
20
|
+
import "./chunk-SCE4YL3M.mjs";
|
|
21
|
+
import "./chunk-TMZC3SNX.mjs";
|
|
22
22
|
import "./chunk-VSOWNKPA.mjs";
|
|
23
23
|
export {
|
|
24
24
|
run,
|
|
@@ -6,14 +6,17 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __pathDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
assertCliDataDirCompatible
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6AOEMUCM.mjs";
|
|
10
10
|
import {
|
|
11
11
|
getVersion
|
|
12
12
|
} from "./chunk-5ADKYYNA.mjs";
|
|
13
|
+
import {
|
|
14
|
+
resolveCliPath
|
|
15
|
+
} from "./chunk-FJ35V3TE.mjs";
|
|
13
16
|
import {
|
|
14
17
|
CoreDataProvider,
|
|
15
18
|
MCP_TOOL_REGISTRY
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SCE4YL3M.mjs";
|
|
17
20
|
import {
|
|
18
21
|
DatabaseManager,
|
|
19
22
|
NodePathProvider,
|
|
@@ -23,10 +26,7 @@ import {
|
|
|
23
26
|
hasPendingElectronDataWarning,
|
|
24
27
|
loadConfig,
|
|
25
28
|
verifyCliDataPath
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import {
|
|
28
|
-
resolveCliPath
|
|
29
|
-
} from "./chunk-FJ35V3TE.mjs";
|
|
29
|
+
} from "./chunk-TMZC3SNX.mjs";
|
|
30
30
|
import "./chunk-VSOWNKPA.mjs";
|
|
31
31
|
|
|
32
32
|
// src/mcp.ts
|
|
@@ -410,4 +410,4 @@ export {
|
|
|
410
410
|
initMcpRuntime,
|
|
411
411
|
startCliMcpServer
|
|
412
412
|
};
|
|
413
|
-
//# sourceMappingURL=mcp-
|
|
413
|
+
//# sourceMappingURL=mcp-FOLR5XJL.mjs.map
|
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'module';
|
|
2
|
+
import { dirname as __pathDirname } from 'path';
|
|
3
|
+
import { fileURLToPath as __fileURLToPath } from 'url';
|
|
4
|
+
const require = __createRequire(import.meta.url);
|
|
5
|
+
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = __pathDirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
AIChatManager,
|
|
9
|
+
AgentEventHandler,
|
|
10
|
+
AiLogger,
|
|
11
|
+
AssistantManager,
|
|
12
|
+
BUILTIN_DESENSITIZE_RULES,
|
|
13
|
+
BetterSqliteAdapter,
|
|
14
|
+
CACHE_KEY_MEMBERS,
|
|
15
|
+
CACHE_KEY_OVERVIEW,
|
|
16
|
+
CHART_CAPABILITY_ANALYSIS_TOOLS,
|
|
17
|
+
CHART_CAPABILITY_CORE_TOOLS,
|
|
18
|
+
CHART_CAPABILITY_SKILL_ID,
|
|
19
|
+
CHART_SCHEMA_REQUIRED_MESSAGE,
|
|
20
|
+
CustomModelStore,
|
|
21
|
+
CustomProviderStore,
|
|
22
|
+
DEFAULT_EMBEDDING_CONFIG_STORE,
|
|
23
|
+
DEFAULT_MAX_TOOL_ROUNDS,
|
|
24
|
+
DEFAULT_RAG_CONFIG,
|
|
25
|
+
DESENSITIZE_RULES_SCHEMA_VERSION,
|
|
26
|
+
DataDirCompatibilityError,
|
|
27
|
+
DatabaseManager,
|
|
28
|
+
LLMConfigStore,
|
|
29
|
+
LogLevel,
|
|
30
|
+
MAX_CONFIG_COUNT,
|
|
31
|
+
MAX_EMBEDDING_CONFIG_COUNT,
|
|
32
|
+
MemoryVectorStore,
|
|
33
|
+
MergeSessionCache,
|
|
34
|
+
NodePathProvider,
|
|
35
|
+
PreferencesManager,
|
|
36
|
+
SQLiteVectorStore,
|
|
37
|
+
SkillManager,
|
|
38
|
+
SkillManagerCore,
|
|
39
|
+
TEMP_DB_SCHEMA,
|
|
40
|
+
TempDbReader,
|
|
41
|
+
TempDbWriter,
|
|
42
|
+
Type,
|
|
43
|
+
addEmbeddingConfig,
|
|
44
|
+
aiLocales,
|
|
45
|
+
analyzeIncrementalImport,
|
|
46
|
+
analyzeNewImport,
|
|
47
|
+
anonymizeMessageNames,
|
|
48
|
+
applyDesensitizeRuleOverrides,
|
|
49
|
+
applyPendingNodeDataDirMigration,
|
|
50
|
+
applyPendingNodeDataDirMigrationIfNeeded,
|
|
51
|
+
applyPreprocessingPipeline,
|
|
52
|
+
assertDataDirCompatible,
|
|
53
|
+
batchSegmentWithFrequency,
|
|
54
|
+
buildFtsIndex,
|
|
55
|
+
buildMergedOutput,
|
|
56
|
+
buildPiModel,
|
|
57
|
+
buildPlanGuidance,
|
|
58
|
+
buildSkillMenuWithBuiltinChart,
|
|
59
|
+
buildSystemPrompt,
|
|
60
|
+
checkAndCompress,
|
|
61
|
+
checkConflictsFromSources,
|
|
62
|
+
checkSessionsCanGenerateSummary,
|
|
63
|
+
cleanupTempDatabases,
|
|
64
|
+
clearJiebaInstance,
|
|
65
|
+
clearPendingNodeDataDirMigration,
|
|
66
|
+
collectPosTagStats,
|
|
67
|
+
completeSimple,
|
|
68
|
+
computeAndSetMembersCache,
|
|
69
|
+
computeAndSetOverviewCache,
|
|
70
|
+
computeWordFrequency,
|
|
71
|
+
copyDirMerge,
|
|
72
|
+
cosineSimilarity,
|
|
73
|
+
countMessagesTokens,
|
|
74
|
+
countTokens,
|
|
75
|
+
createActivateSkillTool,
|
|
76
|
+
createAiTranslate,
|
|
77
|
+
createAnalysisPlanner,
|
|
78
|
+
createChartSchemaGateState,
|
|
79
|
+
createCompressionLlmAdapter,
|
|
80
|
+
createDataSnapshotFromOverview,
|
|
81
|
+
createDatabaseManagerAdapter,
|
|
82
|
+
createFtsTable,
|
|
83
|
+
createJiebaNlpProvider,
|
|
84
|
+
createLlmRouteDecider,
|
|
85
|
+
createNodeDataDirSwitch,
|
|
86
|
+
createPendingDataDirMigration,
|
|
87
|
+
createPlanContentBlock,
|
|
88
|
+
decideRequestRoute,
|
|
89
|
+
deleteDict,
|
|
90
|
+
deleteEmbeddingConfig,
|
|
91
|
+
deleteSessionCache,
|
|
92
|
+
deleteTempDatabase,
|
|
93
|
+
downloadDict,
|
|
94
|
+
ensureDefaultDict,
|
|
95
|
+
estimateTokensFromText,
|
|
96
|
+
executeSemanticPipeline,
|
|
97
|
+
exportFilterResultToMarkdown,
|
|
98
|
+
exportSessionToJson,
|
|
99
|
+
exportWithFormat,
|
|
100
|
+
export_service_exports,
|
|
101
|
+
extractErrorInfo,
|
|
102
|
+
extractErrorStack,
|
|
103
|
+
extractSkillId,
|
|
104
|
+
fetchRemoteModels,
|
|
105
|
+
filterValidMessages,
|
|
106
|
+
formatAIError,
|
|
107
|
+
formatMessageCompact,
|
|
108
|
+
formatSessionChunk,
|
|
109
|
+
formatTimeRange,
|
|
110
|
+
formatToolResultAsText,
|
|
111
|
+
generateSessionSummaries,
|
|
112
|
+
generateSessionSummary,
|
|
113
|
+
getActiveEmbeddingConfig,
|
|
114
|
+
getActiveEmbeddingConfigId,
|
|
115
|
+
getAllEmbeddingConfigs,
|
|
116
|
+
getAllowedBuiltinToolsForChartAutoSkill,
|
|
117
|
+
getCache,
|
|
118
|
+
getCachePath,
|
|
119
|
+
getChartCapabilityAllowedBuiltinTools,
|
|
120
|
+
getChartCapabilitySkill,
|
|
121
|
+
getChartPlannerCapabilityForMessage,
|
|
122
|
+
getChatDbMigrations,
|
|
123
|
+
getCurrentLogFile,
|
|
124
|
+
getDefaultNodeUserDataDir,
|
|
125
|
+
getDefaultRulesForLocale,
|
|
126
|
+
getDictList,
|
|
127
|
+
getEmbeddingConfigById,
|
|
128
|
+
getEmbeddingService,
|
|
129
|
+
getErrorCount,
|
|
130
|
+
getJieba,
|
|
131
|
+
getNlpDir,
|
|
132
|
+
getPendingNodeDataDirMigration,
|
|
133
|
+
getPosTagDefinitions,
|
|
134
|
+
getRuleGroupsForLocale,
|
|
135
|
+
getSessionChunk,
|
|
136
|
+
getSessionChunks,
|
|
137
|
+
getSkillConfigWithBuiltinChart,
|
|
138
|
+
getValidatedOverviewCache,
|
|
139
|
+
getVectorStore,
|
|
140
|
+
getVectorStoreDir,
|
|
141
|
+
getVectorStoreStats,
|
|
142
|
+
hasFtsTable,
|
|
143
|
+
hasPendingElectronDataWarning,
|
|
144
|
+
i18nTexts,
|
|
145
|
+
incrementalImport,
|
|
146
|
+
initNlpDir,
|
|
147
|
+
initPerfLog,
|
|
148
|
+
initRag,
|
|
149
|
+
initRagConfig,
|
|
150
|
+
initTokenizer,
|
|
151
|
+
insertFtsEntries,
|
|
152
|
+
invalidateCache,
|
|
153
|
+
isChineseLocale,
|
|
154
|
+
isDictDownloaded,
|
|
155
|
+
isDirectoryEmptyOrMissing,
|
|
156
|
+
isEmbeddingEnabled,
|
|
157
|
+
isExistingUserDataDir,
|
|
158
|
+
isUserDataDirSafeToUse,
|
|
159
|
+
isValidMessage,
|
|
160
|
+
loadDictBuffer,
|
|
161
|
+
loadEmbeddingConfigStore,
|
|
162
|
+
loadRAGConfig,
|
|
163
|
+
logError,
|
|
164
|
+
logInfo,
|
|
165
|
+
logPerf,
|
|
166
|
+
logPerfDetail,
|
|
167
|
+
logSummary,
|
|
168
|
+
manualCompress,
|
|
169
|
+
member_service_exports,
|
|
170
|
+
mergeRulesForLocale,
|
|
171
|
+
migrateFromElectronIfNeeded,
|
|
172
|
+
normalizeAnthropicBaseUrl,
|
|
173
|
+
normalizeOpenAICompatibleBaseUrl,
|
|
174
|
+
openBetterSqliteDatabase,
|
|
175
|
+
owner_profile_service_exports,
|
|
176
|
+
parseAssistantFile,
|
|
177
|
+
parseSkillFile,
|
|
178
|
+
preprocessMessages,
|
|
179
|
+
raiseChatDbCompatibilityGate,
|
|
180
|
+
raiseDataDirMinRuntimeVersion,
|
|
181
|
+
readDataDirCompatibilityMeta,
|
|
182
|
+
rebuildFtsIndex,
|
|
183
|
+
resetEmbeddingService,
|
|
184
|
+
resetPerfLog,
|
|
185
|
+
resetRAGConfig,
|
|
186
|
+
resetVectorStore,
|
|
187
|
+
resolveChartRuntimeForRequest,
|
|
188
|
+
runAgentCore,
|
|
189
|
+
runPendingDataDirMigration,
|
|
190
|
+
runSimpleLlmStream,
|
|
191
|
+
saveEmbeddingConfigStore,
|
|
192
|
+
saveRAGConfig,
|
|
193
|
+
searchByFts,
|
|
194
|
+
segment,
|
|
195
|
+
segmentText,
|
|
196
|
+
serializeAssistant,
|
|
197
|
+
serializeChatLabToJsonl,
|
|
198
|
+
session_index_service_exports,
|
|
199
|
+
session_service_exports,
|
|
200
|
+
setActiveEmbeddingConfig,
|
|
201
|
+
setCache,
|
|
202
|
+
shouldOfferChartCapabilityForAnalyticalMessage,
|
|
203
|
+
shouldUseChartCapabilityForMessage,
|
|
204
|
+
splitIntoSegments,
|
|
205
|
+
streamParseFileInfo,
|
|
206
|
+
streamSimple,
|
|
207
|
+
streamingImport,
|
|
208
|
+
summary_service_exports,
|
|
209
|
+
t,
|
|
210
|
+
tokenizeForFts,
|
|
211
|
+
tokenizeQueryForFts,
|
|
212
|
+
truncateFormattedMessages,
|
|
213
|
+
updateEmbeddingConfig,
|
|
214
|
+
updateRAGConfig,
|
|
215
|
+
validateApiKey,
|
|
216
|
+
validateEmbeddingConfig,
|
|
217
|
+
verifyCliDataPath,
|
|
218
|
+
wasElectronUsed,
|
|
219
|
+
wrapWithChartSchemaGate,
|
|
220
|
+
writeParseResultToDb
|
|
221
|
+
} from "./chunk-TMZC3SNX.mjs";
|
|
222
|
+
import "./chunk-VSOWNKPA.mjs";
|
|
223
|
+
export {
|
|
224
|
+
AIChatManager,
|
|
225
|
+
AgentEventHandler,
|
|
226
|
+
AiLogger,
|
|
227
|
+
AssistantManager,
|
|
228
|
+
BUILTIN_DESENSITIZE_RULES,
|
|
229
|
+
BetterSqliteAdapter,
|
|
230
|
+
CACHE_KEY_MEMBERS,
|
|
231
|
+
CACHE_KEY_OVERVIEW,
|
|
232
|
+
CHART_CAPABILITY_ANALYSIS_TOOLS,
|
|
233
|
+
CHART_CAPABILITY_CORE_TOOLS,
|
|
234
|
+
CHART_CAPABILITY_SKILL_ID,
|
|
235
|
+
CHART_SCHEMA_REQUIRED_MESSAGE,
|
|
236
|
+
CustomModelStore,
|
|
237
|
+
CustomProviderStore,
|
|
238
|
+
DEFAULT_EMBEDDING_CONFIG_STORE,
|
|
239
|
+
DEFAULT_MAX_TOOL_ROUNDS,
|
|
240
|
+
DEFAULT_RAG_CONFIG,
|
|
241
|
+
DESENSITIZE_RULES_SCHEMA_VERSION,
|
|
242
|
+
DataDirCompatibilityError,
|
|
243
|
+
DatabaseManager,
|
|
244
|
+
LLMConfigStore,
|
|
245
|
+
LogLevel,
|
|
246
|
+
MAX_CONFIG_COUNT,
|
|
247
|
+
MAX_EMBEDDING_CONFIG_COUNT,
|
|
248
|
+
MemoryVectorStore,
|
|
249
|
+
MergeSessionCache,
|
|
250
|
+
NodePathProvider,
|
|
251
|
+
PreferencesManager,
|
|
252
|
+
SQLiteVectorStore,
|
|
253
|
+
SkillManager,
|
|
254
|
+
SkillManagerCore,
|
|
255
|
+
TEMP_DB_SCHEMA,
|
|
256
|
+
TempDbReader,
|
|
257
|
+
TempDbWriter,
|
|
258
|
+
Type,
|
|
259
|
+
addEmbeddingConfig,
|
|
260
|
+
aiLocales,
|
|
261
|
+
analyzeIncrementalImport,
|
|
262
|
+
analyzeNewImport,
|
|
263
|
+
anonymizeMessageNames,
|
|
264
|
+
applyDesensitizeRuleOverrides,
|
|
265
|
+
applyPendingNodeDataDirMigration,
|
|
266
|
+
applyPendingNodeDataDirMigrationIfNeeded,
|
|
267
|
+
applyPreprocessingPipeline,
|
|
268
|
+
assertDataDirCompatible,
|
|
269
|
+
batchSegmentWithFrequency,
|
|
270
|
+
buildFtsIndex,
|
|
271
|
+
buildMergedOutput,
|
|
272
|
+
buildPiModel,
|
|
273
|
+
buildPlanGuidance,
|
|
274
|
+
buildSkillMenuWithBuiltinChart,
|
|
275
|
+
buildSystemPrompt,
|
|
276
|
+
checkAndCompress,
|
|
277
|
+
checkConflictsFromSources,
|
|
278
|
+
checkSessionsCanGenerateSummary,
|
|
279
|
+
cleanupTempDatabases,
|
|
280
|
+
clearJiebaInstance,
|
|
281
|
+
clearPendingNodeDataDirMigration,
|
|
282
|
+
collectPosTagStats,
|
|
283
|
+
completeSimple,
|
|
284
|
+
computeAndSetMembersCache,
|
|
285
|
+
computeAndSetOverviewCache,
|
|
286
|
+
computeWordFrequency,
|
|
287
|
+
copyDirMerge as copyDataDirMerge,
|
|
288
|
+
cosineSimilarity,
|
|
289
|
+
countMessagesTokens,
|
|
290
|
+
countTokens,
|
|
291
|
+
createActivateSkillTool,
|
|
292
|
+
createAiTranslate,
|
|
293
|
+
createAnalysisPlanner,
|
|
294
|
+
createChartSchemaGateState,
|
|
295
|
+
createCompressionLlmAdapter,
|
|
296
|
+
createDataSnapshotFromOverview,
|
|
297
|
+
createDatabaseManagerAdapter,
|
|
298
|
+
createFtsTable,
|
|
299
|
+
createJiebaNlpProvider,
|
|
300
|
+
createLlmRouteDecider,
|
|
301
|
+
createNodeDataDirSwitch,
|
|
302
|
+
createPendingDataDirMigration,
|
|
303
|
+
createPlanContentBlock,
|
|
304
|
+
decideRequestRoute,
|
|
305
|
+
deleteDict,
|
|
306
|
+
deleteEmbeddingConfig,
|
|
307
|
+
deleteSessionCache,
|
|
308
|
+
deleteTempDatabase,
|
|
309
|
+
downloadDict,
|
|
310
|
+
ensureDefaultDict,
|
|
311
|
+
estimateTokensFromText,
|
|
312
|
+
executeSemanticPipeline,
|
|
313
|
+
exportFilterResultToMarkdown,
|
|
314
|
+
export_service_exports as exportService,
|
|
315
|
+
exportSessionToJson,
|
|
316
|
+
exportWithFormat,
|
|
317
|
+
extractErrorInfo,
|
|
318
|
+
extractErrorStack,
|
|
319
|
+
extractSkillId,
|
|
320
|
+
fetchRemoteModels,
|
|
321
|
+
filterValidMessages,
|
|
322
|
+
formatAIError,
|
|
323
|
+
formatMessageCompact,
|
|
324
|
+
formatSessionChunk,
|
|
325
|
+
formatTimeRange,
|
|
326
|
+
formatToolResultAsText,
|
|
327
|
+
generateSessionSummaries,
|
|
328
|
+
generateSessionSummary,
|
|
329
|
+
getActiveEmbeddingConfig,
|
|
330
|
+
getActiveEmbeddingConfigId,
|
|
331
|
+
getAllEmbeddingConfigs,
|
|
332
|
+
getAllowedBuiltinToolsForChartAutoSkill,
|
|
333
|
+
getChartCapabilitySkill as getBuiltinChartSkill,
|
|
334
|
+
getCache,
|
|
335
|
+
getCachePath,
|
|
336
|
+
getChartCapabilityAllowedBuiltinTools,
|
|
337
|
+
getChartCapabilitySkill,
|
|
338
|
+
getChartPlannerCapabilityForMessage,
|
|
339
|
+
getChatDbMigrations,
|
|
340
|
+
getCurrentLogFile,
|
|
341
|
+
getDefaultNodeUserDataDir,
|
|
342
|
+
getDefaultRulesForLocale,
|
|
343
|
+
getDictList,
|
|
344
|
+
getEmbeddingConfigById,
|
|
345
|
+
getEmbeddingService,
|
|
346
|
+
getErrorCount,
|
|
347
|
+
getJieba,
|
|
348
|
+
getNlpDir,
|
|
349
|
+
getPendingNodeDataDirMigration,
|
|
350
|
+
getPosTagDefinitions,
|
|
351
|
+
getRuleGroupsForLocale,
|
|
352
|
+
getSessionChunk,
|
|
353
|
+
getSessionChunks,
|
|
354
|
+
getSkillConfigWithBuiltinChart,
|
|
355
|
+
getValidatedOverviewCache,
|
|
356
|
+
getVectorStore,
|
|
357
|
+
getVectorStoreDir,
|
|
358
|
+
getVectorStoreStats,
|
|
359
|
+
hasFtsTable,
|
|
360
|
+
hasPendingElectronDataWarning,
|
|
361
|
+
i18nTexts,
|
|
362
|
+
incrementalImport,
|
|
363
|
+
initNlpDir,
|
|
364
|
+
initPerfLog,
|
|
365
|
+
initRag,
|
|
366
|
+
initRagConfig,
|
|
367
|
+
initTokenizer,
|
|
368
|
+
insertFtsEntries,
|
|
369
|
+
invalidateCache,
|
|
370
|
+
isChineseLocale,
|
|
371
|
+
isDictDownloaded,
|
|
372
|
+
isDirectoryEmptyOrMissing,
|
|
373
|
+
isEmbeddingEnabled,
|
|
374
|
+
isExistingUserDataDir,
|
|
375
|
+
isUserDataDirSafeToUse,
|
|
376
|
+
isValidMessage,
|
|
377
|
+
loadDictBuffer,
|
|
378
|
+
loadEmbeddingConfigStore,
|
|
379
|
+
loadRAGConfig,
|
|
380
|
+
logError,
|
|
381
|
+
logInfo,
|
|
382
|
+
logPerf,
|
|
383
|
+
logPerfDetail,
|
|
384
|
+
logSummary,
|
|
385
|
+
manualCompress,
|
|
386
|
+
member_service_exports as memberService,
|
|
387
|
+
mergeRulesForLocale,
|
|
388
|
+
migrateFromElectronIfNeeded,
|
|
389
|
+
normalizeAnthropicBaseUrl,
|
|
390
|
+
normalizeOpenAICompatibleBaseUrl,
|
|
391
|
+
openBetterSqliteDatabase,
|
|
392
|
+
owner_profile_service_exports as ownerProfileService,
|
|
393
|
+
parseAssistantFile,
|
|
394
|
+
parseSkillFile,
|
|
395
|
+
preprocessMessages,
|
|
396
|
+
raiseChatDbCompatibilityGate,
|
|
397
|
+
raiseDataDirMinRuntimeVersion,
|
|
398
|
+
readDataDirCompatibilityMeta,
|
|
399
|
+
rebuildFtsIndex,
|
|
400
|
+
resetEmbeddingService,
|
|
401
|
+
resetPerfLog,
|
|
402
|
+
resetRAGConfig,
|
|
403
|
+
resetVectorStore,
|
|
404
|
+
resolveChartRuntimeForRequest,
|
|
405
|
+
runAgentCore,
|
|
406
|
+
runPendingDataDirMigration,
|
|
407
|
+
runSimpleLlmStream,
|
|
408
|
+
saveEmbeddingConfigStore,
|
|
409
|
+
saveRAGConfig,
|
|
410
|
+
searchByFts,
|
|
411
|
+
segment,
|
|
412
|
+
segmentText,
|
|
413
|
+
serializeAssistant,
|
|
414
|
+
serializeChatLabToJsonl,
|
|
415
|
+
session_index_service_exports as sessionIndexService,
|
|
416
|
+
session_service_exports as sessionService,
|
|
417
|
+
setActiveEmbeddingConfig,
|
|
418
|
+
setCache,
|
|
419
|
+
shouldOfferChartCapabilityForAnalyticalMessage,
|
|
420
|
+
shouldUseChartCapabilityForMessage,
|
|
421
|
+
splitIntoSegments,
|
|
422
|
+
streamParseFileInfo,
|
|
423
|
+
streamSimple,
|
|
424
|
+
streamingImport,
|
|
425
|
+
summary_service_exports as summaryService,
|
|
426
|
+
t,
|
|
427
|
+
tokenizeForFts,
|
|
428
|
+
tokenizeQueryForFts,
|
|
429
|
+
truncateFormattedMessages,
|
|
430
|
+
updateEmbeddingConfig,
|
|
431
|
+
updateRAGConfig,
|
|
432
|
+
validateApiKey,
|
|
433
|
+
validateEmbeddingConfig,
|
|
434
|
+
verifyCliDataPath,
|
|
435
|
+
wasElectronUsed,
|
|
436
|
+
wrapWithChartSchemaGate,
|
|
437
|
+
writeParseResultToDb
|
|
438
|
+
};
|
|
439
|
+
//# sourceMappingURL=src-OQN3VE73.mjs.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
analyzeNewImport,
|
|
10
10
|
incrementalImport,
|
|
11
11
|
streamImport
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QKQRV7RV.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-
|
|
20
|
+
} from "./chunk-TMZC3SNX.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-
|
|
34
|
+
//# sourceMappingURL=stream-import-F5QI2HTO.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|