@spaceflow/core 0.6.0 → 0.8.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/dist/index.js +78 -87
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/config/schema-generator.service.ts +0 -1
- package/src/locales/en/translation.json +3 -1
- package/src/locales/zh-cn/translation.json +3 -1
- package/src/shared/i18n/i18n.ts +58 -57
- package/src/shared/i18n/index.ts +14 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,6 @@ import { jsonrepair } from "jsonrepair";
|
|
|
14
14
|
import "reflect-metadata";
|
|
15
15
|
import json_stringify_pretty_compact from "json-stringify-pretty-compact";
|
|
16
16
|
import { config as external_dotenv_config } from "dotenv";
|
|
17
|
-
import * as __rspack_external_i18next from "i18next";
|
|
18
17
|
var __webpack_modules__ = ({
|
|
19
18
|
421(module) {
|
|
20
19
|
|
|
@@ -183,6 +182,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
183
182
|
t: () => (/* reexport */ i18n_t),
|
|
184
183
|
Zz: () => (/* reexport */ ParallelExecutor),
|
|
185
184
|
Un: () => (/* reexport */ gitProviderConfig),
|
|
185
|
+
ED: () => (/* reexport */ detectLocale),
|
|
186
186
|
vE: () => (/* reexport */ defineExtension),
|
|
187
187
|
xQ: () => (/* reexport */ registerPluginConfig),
|
|
188
188
|
ck: () => (/* reexport */ OpenAIAdapter),
|
|
@@ -193,6 +193,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
193
193
|
PA: () => (/* reexport */ OutputService),
|
|
194
194
|
XB: () => (/* reexport */ runMcpServer),
|
|
195
195
|
_Z: () => (/* reexport */ LlmSessionImpl),
|
|
196
|
+
WY: () => (/* reexport */ setGlobalT),
|
|
196
197
|
Kz: () => (/* reexport */ MCP_TOOL_METADATA),
|
|
197
198
|
zo: () => (/* reexport */ getSupportedEditors),
|
|
198
199
|
NG: () => (/* reexport */ McpTool),
|
|
@@ -217,14 +218,15 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
217
218
|
xx: () => (/* reexport */ LlmProxyService),
|
|
218
219
|
TQ: () => (/* reexport */ ciConfig),
|
|
219
220
|
AZ: () => (/* reexport */ toLogLevel),
|
|
221
|
+
I3: () => (/* reexport */ resetI18n),
|
|
220
222
|
e1: () => (/* reexport */ DEFAULT_EDITOR),
|
|
221
223
|
mO: () => (/* reexport */ registerPluginSchema),
|
|
222
|
-
LE: () => (/* reexport */ initI18n),
|
|
223
224
|
rx: () => (/* reexport */ feishuConfig),
|
|
224
225
|
Lb: () => (/* reexport */ mapGitStatus),
|
|
225
226
|
AD: () => (/* reexport */ OUTPUT_MARKER_START),
|
|
226
227
|
eC: () => (/* reexport */ LLM_ADAPTER),
|
|
227
228
|
ox: () => (/* reexport */ ConfigReader),
|
|
229
|
+
zn: () => (/* reexport */ en_translation_namespaceObject),
|
|
228
230
|
mD: () => (/* reexport */ createStreamLoggerState),
|
|
229
231
|
jl: () => (/* reexport */ defineMcpServer),
|
|
230
232
|
ss: () => (/* reexport */ findConfigFileWithField),
|
|
@@ -257,6 +259,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
257
259
|
x9: () => (/* reexport */ loadEnvFiles),
|
|
258
260
|
CZ: () => (/* reexport */ parseVerbose),
|
|
259
261
|
fH: () => (/* reexport */ parseRepoUrl),
|
|
262
|
+
QE: () => (/* reexport */ setGlobalAddLocaleResources),
|
|
260
263
|
ZA: () => (/* reexport */ configLoaders),
|
|
261
264
|
m8: () => (/* reexport */ isGitUrl),
|
|
262
265
|
hq: () => (/* reexport */ updateDependency),
|
|
@@ -274,6 +277,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
274
277
|
my: () => (/* reexport */ DIFF_SIDE),
|
|
275
278
|
aU: () => (/* reexport */ createPluginConfig),
|
|
276
279
|
xo: () => (/* reexport */ normalizeSource),
|
|
280
|
+
$j: () => (/* reexport */ translation_namespaceObject),
|
|
277
281
|
VT: () => (/* reexport */ getConfigPaths),
|
|
278
282
|
Ld: () => (/* reexport */ MCP_SERVER_METADATA),
|
|
279
283
|
Bt: () => (/* reexport */ LlmJsonPut),
|
|
@@ -5551,7 +5555,67 @@ const SWAGGER_API_MODEL_PROPERTIES_ARRAY = "swagger/apiModelPropertiesArray";
|
|
|
5551
5555
|
console.error(`MCP Server "${serverInfo.name}" started with ${tools.length} tools`);
|
|
5552
5556
|
}
|
|
5553
5557
|
|
|
5554
|
-
;// CONCATENATED MODULE:
|
|
5558
|
+
;// CONCATENATED MODULE: ./src/shared/i18n/i18n.ts
|
|
5559
|
+
/** globalThis 上的 key */ const GLOBAL_T_KEY = "__spaceflow_t__";
|
|
5560
|
+
const GLOBAL_ADD_LOCALE_KEY = "__spaceflow_add_locale__";
|
|
5561
|
+
/**
|
|
5562
|
+
* 设置全局翻译函数
|
|
5563
|
+
* 由 CLI 在启动时调用,将 i18next 的 t 函数挂载到 globalThis
|
|
5564
|
+
*/ function setGlobalT(fn) {
|
|
5565
|
+
globalThis[GLOBAL_T_KEY] = fn;
|
|
5566
|
+
}
|
|
5567
|
+
/**
|
|
5568
|
+
* 设置全局翻译资源注册函数
|
|
5569
|
+
* 由 CLI 在启动时调用
|
|
5570
|
+
*/ function setGlobalAddLocaleResources(fn) {
|
|
5571
|
+
globalThis[GLOBAL_ADD_LOCALE_KEY] = fn;
|
|
5572
|
+
}
|
|
5573
|
+
/**
|
|
5574
|
+
* 获取全局翻译函数
|
|
5575
|
+
*/ function getGlobalT() {
|
|
5576
|
+
return globalThis[GLOBAL_T_KEY];
|
|
5577
|
+
}
|
|
5578
|
+
/**
|
|
5579
|
+
* 简单的模板插值(fallback 用)
|
|
5580
|
+
* 支持 {{key}} 格式
|
|
5581
|
+
*/ function interpolate(template, options) {
|
|
5582
|
+
if (!options) return template;
|
|
5583
|
+
return template.replace(/\{\{(\w+)\}\}/g, (_, k)=>{
|
|
5584
|
+
const val = options[k];
|
|
5585
|
+
return val !== undefined ? String(val) : `{{${k}}}`;
|
|
5586
|
+
});
|
|
5587
|
+
}
|
|
5588
|
+
/**
|
|
5589
|
+
* 翻译函数
|
|
5590
|
+
* 优先使用 CLI 通过 setGlobalT 挂载的翻译函数
|
|
5591
|
+
* 未挂载时回退到返回 key(带插值)
|
|
5592
|
+
* @param key 翻译 key
|
|
5593
|
+
* @param options 插值参数
|
|
5594
|
+
*/ function i18n_t(key, options) {
|
|
5595
|
+
const globalT = getGlobalT();
|
|
5596
|
+
if (globalT) {
|
|
5597
|
+
return globalT(key, options);
|
|
5598
|
+
}
|
|
5599
|
+
// fallback: 直接返回 key(带插值)
|
|
5600
|
+
return interpolate(key, options);
|
|
5601
|
+
}
|
|
5602
|
+
/**
|
|
5603
|
+
* 为外部 Extension 注册语言资源
|
|
5604
|
+
* 委托给 CLI 通过 setGlobalAddLocaleResources 挂载的实际实现
|
|
5605
|
+
* @param ns 命名空间(通常为 Extension name)
|
|
5606
|
+
* @param resources 语言资源,key 为语言代码,值为翻译对象
|
|
5607
|
+
*/ function addLocaleResources(ns, resources) {
|
|
5608
|
+
const fn = globalThis[GLOBAL_ADD_LOCALE_KEY];
|
|
5609
|
+
if (fn) {
|
|
5610
|
+
fn(ns, resources);
|
|
5611
|
+
}
|
|
5612
|
+
}
|
|
5613
|
+
/**
|
|
5614
|
+
* 重置全局翻译函数(仅用于测试)
|
|
5615
|
+
*/ function resetI18n() {
|
|
5616
|
+
globalThis[GLOBAL_T_KEY] = undefined;
|
|
5617
|
+
globalThis[GLOBAL_ADD_LOCALE_KEY] = undefined;
|
|
5618
|
+
}
|
|
5555
5619
|
|
|
5556
5620
|
;// CONCATENATED MODULE: ./src/shared/i18n/locale-detect.ts
|
|
5557
5621
|
|
|
@@ -5678,91 +5742,14 @@ const SWAGGER_API_MODEL_PROPERTIES_ARRAY = "swagger/apiModelPropertiesArray";
|
|
|
5678
5742
|
}
|
|
5679
5743
|
|
|
5680
5744
|
;// CONCATENATED MODULE: ./src/locales/zh-cn/translation.json
|
|
5681
|
-
var translation_namespaceObject = JSON.parse('{"common.executionFailed":"执行失败: {{error}}","common.stackTrace":"\\n堆栈信息:\\n{{stack}}","common.options.dryRun":"仅打印将要执行的操作,不实际执行","common.options.verbose":"显示详细日志 (-v: 基本日志, -vv: 详细日志)","common.options.verboseDebug":"显示详细日志 (-v: 基本日志, -vv: 详细日志, -vvv: 调试日志)","common.options.ci":"是否在 CI 环境中运行","config.parseWarning":"警告: 无法解析配置文件 {{path}}","config.validationFailed":"Spaceflow 配置验证失败:\\n{{errors}}","extensionLoader.loadFailed":"⚠️ 加载 Extension {{name}} 失败: {{error}}"}')
|
|
5745
|
+
var translation_namespaceObject = JSON.parse('{"common.executionFailed":"执行失败: {{error}}","common.stackTrace":"\\n堆栈信息:\\n{{stack}}","common.options.dryRun":"仅打印将要执行的操作,不实际执行","common.options.verbose":"显示详细日志 (-v: 基本日志, -vv: 详细日志)","common.options.verboseDebug":"显示详细日志 (-v: 基本日志, -vv: 详细日志, -vvv: 调试日志)","common.options.ci":"是否在 CI 环境中运行","config.parseWarning":"警告: 无法解析配置文件 {{path}}","config.validationFailed":"Spaceflow 配置验证失败:\\n{{errors}}","extensionLoader.loadFailed":"⚠️ 加载 Extension {{name}} 失败: {{error}}","extensionLoader.autoInstalling":"📦 自动安装缺失的扩展: {{packages}}","extensionLoader.autoInstallFailed":"⚠️ 自动安装扩展失败,请手动执行 spaceflow install"}')
|
|
5682
5746
|
;// CONCATENATED MODULE: ./src/locales/en/translation.json
|
|
5683
|
-
var en_translation_namespaceObject = JSON.parse('{"common.executionFailed":"Execution failed: {{error}}","common.stackTrace":"\\nStack trace:\\n{{stack}}","common.options.dryRun":"Only print actions without executing","common.options.verbose":"Show verbose logs (-v: basic, -vv: detailed)","common.options.verboseDebug":"Show verbose logs (-v: basic, -vv: detailed, -vvv: debug)","common.options.ci":"Run in CI environment","config.parseWarning":"Warning: unable to parse config file {{path}}","config.validationFailed":"Spaceflow config validation failed:\\n{{errors}}","extensionLoader.loadFailed":"⚠️ Failed to load Extension {{name}}: {{error}}"}')
|
|
5684
|
-
;// CONCATENATED MODULE: ./src/shared/i18n/
|
|
5685
|
-
|
|
5686
|
-
// 兼容 CJS/ESM 混合环境
|
|
5687
|
-
const i18next = __rspack_external_i18next["default"] || __rspack_external_i18next;
|
|
5688
|
-
|
|
5747
|
+
var en_translation_namespaceObject = JSON.parse('{"common.executionFailed":"Execution failed: {{error}}","common.stackTrace":"\\nStack trace:\\n{{stack}}","common.options.dryRun":"Only print actions without executing","common.options.verbose":"Show verbose logs (-v: basic, -vv: detailed)","common.options.verboseDebug":"Show verbose logs (-v: basic, -vv: detailed, -vvv: debug)","common.options.ci":"Run in CI environment","config.parseWarning":"Warning: unable to parse config file {{path}}","config.validationFailed":"Spaceflow config validation failed:\\n{{errors}}","extensionLoader.loadFailed":"⚠️ Failed to load Extension {{name}}: {{error}}","extensionLoader.autoInstalling":"📦 Auto-installing missing extensions: {{packages}}","extensionLoader.autoInstallFailed":"⚠️ Auto-install failed, please run spaceflow install manually"}')
|
|
5748
|
+
;// CONCATENATED MODULE: ./src/shared/i18n/index.ts
|
|
5689
5749
|
|
|
5690
5750
|
|
|
5691
|
-
|
|
5692
|
-
/** 是否已初始化 */ let initialized = false;
|
|
5693
|
-
/**
|
|
5694
|
-
* 初始化 i18n
|
|
5695
|
-
* 当提供 resources 且无后端加载器时,i18next.init() 同步完成
|
|
5696
|
-
* @param lang 指定语言,不传则自动检测
|
|
5697
|
-
*/ function initI18n(lang) {
|
|
5698
|
-
if (initialized) return;
|
|
5699
|
-
const lng = lang || detectLocale();
|
|
5700
|
-
// i18next v25+ 移除了 initSync,但提供内联 resources 时 init() 同步完成
|
|
5701
|
-
void i18next.init({
|
|
5702
|
-
lng,
|
|
5703
|
-
fallbackLng: "zh-CN",
|
|
5704
|
-
defaultNS: DEFAULT_NS,
|
|
5705
|
-
ns: [
|
|
5706
|
-
DEFAULT_NS
|
|
5707
|
-
],
|
|
5708
|
-
resources: {
|
|
5709
|
-
"zh-CN": {
|
|
5710
|
-
[DEFAULT_NS]: translation_namespaceObject
|
|
5711
|
-
},
|
|
5712
|
-
en: {
|
|
5713
|
-
[DEFAULT_NS]: en_translation_namespaceObject
|
|
5714
|
-
}
|
|
5715
|
-
},
|
|
5716
|
-
interpolation: {
|
|
5717
|
-
escapeValue: false
|
|
5718
|
-
},
|
|
5719
|
-
returnNull: false,
|
|
5720
|
-
returnEmptyString: false,
|
|
5721
|
-
// 确保 init 同步完成(默认 initImmediate: true 会将加载推到 setTimeout)
|
|
5722
|
-
initImmediate: false,
|
|
5723
|
-
// i18next v25.8+ 会在 init 时输出 locize.com 推广日志
|
|
5724
|
-
showSupportNotice: false
|
|
5725
|
-
});
|
|
5726
|
-
initialized = true;
|
|
5727
|
-
}
|
|
5728
|
-
/**
|
|
5729
|
-
* 重置 i18n 状态(仅用于测试)
|
|
5730
|
-
*/ function resetI18n() {
|
|
5731
|
-
initialized = false;
|
|
5732
|
-
}
|
|
5733
|
-
/**
|
|
5734
|
-
* 翻译函数
|
|
5735
|
-
* 装饰器和运行时均可使用
|
|
5736
|
-
* @param key 翻译 key
|
|
5737
|
-
* @param options 插值参数
|
|
5738
|
-
*/ function i18n_t(key, options) {
|
|
5739
|
-
if (!initialized) {
|
|
5740
|
-
initI18n();
|
|
5741
|
-
}
|
|
5742
|
-
return i18next.t(key, options);
|
|
5743
|
-
}
|
|
5744
|
-
/**
|
|
5745
|
-
* 为外部 Extension 注册语言资源
|
|
5746
|
-
* @param ns 命名空间(通常为 Extension name)
|
|
5747
|
-
* @param resources 语言资源,key 为语言代码,值为翻译对象
|
|
5748
|
-
*/ function addLocaleResources(ns, resources) {
|
|
5749
|
-
if (!initialized) {
|
|
5750
|
-
initI18n();
|
|
5751
|
-
}
|
|
5752
|
-
for (const [lng, translations] of Object.entries(resources)){
|
|
5753
|
-
i18next.addResourceBundle(lng, ns, translations, true, true);
|
|
5754
|
-
}
|
|
5755
|
-
if (!i18next.options.ns) {
|
|
5756
|
-
i18next.options.ns = [
|
|
5757
|
-
DEFAULT_NS,
|
|
5758
|
-
ns
|
|
5759
|
-
];
|
|
5760
|
-
} else if (Array.isArray(i18next.options.ns) && !i18next.options.ns.includes(ns)) {
|
|
5761
|
-
i18next.options.ns.push(ns);
|
|
5762
|
-
}
|
|
5763
|
-
}
|
|
5751
|
+
// 导出 core 基础翻译资源,供 CLI 注册
|
|
5764
5752
|
|
|
5765
|
-
;// CONCATENATED MODULE: ./src/shared/i18n/index.ts
|
|
5766
5753
|
|
|
5767
5754
|
|
|
5768
5755
|
;// CONCATENATED MODULE: ./src/shared/logger/renderers/plain.renderer.ts
|
|
@@ -6068,7 +6055,6 @@ var external_zod_ = __webpack_require__(971);
|
|
|
6068
6055
|
}
|
|
6069
6056
|
// 写入文件
|
|
6070
6057
|
external_fs_.writeFileSync(outputPath, JSON.stringify(fullSchema, null, 2), "utf-8");
|
|
6071
|
-
console.log(`✅ JSON Schema 已生成: ${outputPath}`);
|
|
6072
6058
|
// 自动添加到 .gitignore
|
|
6073
6059
|
this.addToGitignore(dir, external_path_.basename(outputPath));
|
|
6074
6060
|
}
|
|
@@ -6835,6 +6821,8 @@ var __webpack_exports__calculateLineOffsets = __webpack_exports__.lD;
|
|
|
6835
6821
|
var __webpack_exports__calculateNewLineNumber = __webpack_exports__.U3;
|
|
6836
6822
|
var __webpack_exports__ciConfig = __webpack_exports__.TQ;
|
|
6837
6823
|
var __webpack_exports__configLoaders = __webpack_exports__.ZA;
|
|
6824
|
+
var __webpack_exports__coreEn = __webpack_exports__.zn;
|
|
6825
|
+
var __webpack_exports__coreZhCN = __webpack_exports__.$j;
|
|
6838
6826
|
var __webpack_exports__createConfigLoader = __webpack_exports__.s7;
|
|
6839
6827
|
var __webpack_exports__createEnvConfigLoader = __webpack_exports__.pq;
|
|
6840
6828
|
var __webpack_exports__createMultiEntryPluginConfig = __webpack_exports__.HY;
|
|
@@ -6842,6 +6830,7 @@ var __webpack_exports__createPluginConfig = __webpack_exports__.aU;
|
|
|
6842
6830
|
var __webpack_exports__createStreamLoggerState = __webpack_exports__.mD;
|
|
6843
6831
|
var __webpack_exports__defineExtension = __webpack_exports__.vE;
|
|
6844
6832
|
var __webpack_exports__defineMcpServer = __webpack_exports__.jl;
|
|
6833
|
+
var __webpack_exports__detectLocale = __webpack_exports__.ED;
|
|
6845
6834
|
var __webpack_exports__detectPackageManager = __webpack_exports__.Lv;
|
|
6846
6835
|
var __webpack_exports__detectProvider = __webpack_exports__.F1;
|
|
6847
6836
|
var __webpack_exports__dtoToJsonSchema = __webpack_exports__.cg;
|
|
@@ -6867,7 +6856,6 @@ var __webpack_exports__getSpaceflowCoreVersion = __webpack_exports__.A1;
|
|
|
6867
6856
|
var __webpack_exports__getSpaceflowDir = __webpack_exports__.iR;
|
|
6868
6857
|
var __webpack_exports__getSupportedEditors = __webpack_exports__.zo;
|
|
6869
6858
|
var __webpack_exports__gitProviderConfig = __webpack_exports__.Un;
|
|
6870
|
-
var __webpack_exports__initI18n = __webpack_exports__.LE;
|
|
6871
6859
|
var __webpack_exports__isGitUrl = __webpack_exports__.m8;
|
|
6872
6860
|
var __webpack_exports__isLocalPath = __webpack_exports__.Nj;
|
|
6873
6861
|
var __webpack_exports__isMcpServer = __webpack_exports__.IT;
|
|
@@ -6889,8 +6877,11 @@ var __webpack_exports__readConfigSync = __webpack_exports__.gp;
|
|
|
6889
6877
|
var __webpack_exports__registerPluginConfig = __webpack_exports__.xQ;
|
|
6890
6878
|
var __webpack_exports__registerPluginSchema = __webpack_exports__.mO;
|
|
6891
6879
|
var __webpack_exports__removeDependency = __webpack_exports__.cd;
|
|
6880
|
+
var __webpack_exports__resetI18n = __webpack_exports__.I3;
|
|
6892
6881
|
var __webpack_exports__resolveSpaceflowConfig = __webpack_exports__.JC;
|
|
6893
6882
|
var __webpack_exports__runMcpServer = __webpack_exports__.XB;
|
|
6883
|
+
var __webpack_exports__setGlobalAddLocaleResources = __webpack_exports__.QE;
|
|
6884
|
+
var __webpack_exports__setGlobalT = __webpack_exports__.WY;
|
|
6894
6885
|
var __webpack_exports__shouldLog = __webpack_exports__.kj;
|
|
6895
6886
|
var __webpack_exports__spaceflowConfig = __webpack_exports__.R3;
|
|
6896
6887
|
var __webpack_exports__storageConfig = __webpack_exports__.Gy;
|
|
@@ -6899,6 +6890,6 @@ var __webpack_exports__toLogLevel = __webpack_exports__.AZ;
|
|
|
6899
6890
|
var __webpack_exports__updateDependency = __webpack_exports__.hq;
|
|
6900
6891
|
var __webpack_exports__writeConfigSync = __webpack_exports__.$v;
|
|
6901
6892
|
var __webpack_exports__z = __webpack_exports__.z;
|
|
6902
|
-
export { __webpack_exports__CONFIG_FILE_NAME as CONFIG_FILE_NAME, __webpack_exports__ClaudeCodeAdapter as ClaudeCodeAdapter, __webpack_exports__ClaudeSetupService as ClaudeSetupService, __webpack_exports__ConfigReader as ConfigReader, __webpack_exports__ConfigReaderService as ConfigReaderService, __webpack_exports__DEFAULT_EDITOR as DEFAULT_EDITOR, __webpack_exports__DEFAULT_EXTERNALS as DEFAULT_EXTERNALS, __webpack_exports__DEFAULT_SUPPORT_EDITOR as DEFAULT_SUPPORT_EDITOR, __webpack_exports__DEFAULT_TS_RULE as DEFAULT_TS_RULE, __webpack_exports__DIFF_SIDE as DIFF_SIDE, __webpack_exports__EDITOR_DIR_MAPPING as EDITOR_DIR_MAPPING, __webpack_exports__FEISHU_CARD_ACTION_TRIGGER as FEISHU_CARD_ACTION_TRIGGER, __webpack_exports__FEISHU_MODULE_OPTIONS as FEISHU_MODULE_OPTIONS, __webpack_exports__FeishuCardService as FeishuCardService, __webpack_exports__FeishuSdkService as FeishuSdkService, __webpack_exports__FileAdapter as FileAdapter, __webpack_exports__GIT_PROVIDER_MODULE_OPTIONS as GIT_PROVIDER_MODULE_OPTIONS, __webpack_exports__GitProviderService as GitProviderService, __webpack_exports__GitSdkService as GitSdkService, __webpack_exports__GiteaAdapter as GiteaAdapter, __webpack_exports__GithubAdapter as GithubAdapter, __webpack_exports__GitlabAdapter as GitlabAdapter, __webpack_exports__LLM_ADAPTER as LLM_ADAPTER, __webpack_exports__LLM_PROXY_CONFIG as LLM_PROXY_CONFIG, __webpack_exports__LOG_LEVEL_PRIORITY as LOG_LEVEL_PRIORITY, __webpack_exports__LlmJsonPut as LlmJsonPut, __webpack_exports__LlmProxyService as LlmProxyService, __webpack_exports__LlmSessionImpl as LlmSessionImpl, __webpack_exports__Logger as Logger, __webpack_exports__MCP_SERVER_METADATA as MCP_SERVER_METADATA, __webpack_exports__MCP_TOOL_METADATA as MCP_TOOL_METADATA, __webpack_exports__McpServer as McpServer, __webpack_exports__McpTool as McpTool, __webpack_exports__MemoryAdapter as MemoryAdapter, __webpack_exports__OUTPUT_MARKER_END as OUTPUT_MARKER_END, __webpack_exports__OUTPUT_MARKER_START as OUTPUT_MARKER_START, __webpack_exports__OpenAIAdapter as OpenAIAdapter, __webpack_exports__OpenCodeAdapter as OpenCodeAdapter, __webpack_exports__OutputService as OutputService, __webpack_exports__PACKAGE_JSON as PACKAGE_JSON, __webpack_exports__ParallelExecutor as ParallelExecutor, __webpack_exports__RC_FILE_NAME as RC_FILE_NAME, __webpack_exports__REVIEW_STATE as REVIEW_STATE, __webpack_exports__SPACEFLOW_DIR as SPACEFLOW_DIR, __webpack_exports__SchemaGeneratorService as SchemaGeneratorService, __webpack_exports__StorageService as StorageService, __webpack_exports__addLocaleResources as addLocaleResources, __webpack_exports__addSpaceflowToDevDependencies as addSpaceflowToDevDependencies, __webpack_exports__buildGitPackageSpec as buildGitPackageSpec, __webpack_exports__calculateLineOffsets as calculateLineOffsets, __webpack_exports__calculateNewLineNumber as calculateNewLineNumber, __webpack_exports__ciConfig as ciConfig, __webpack_exports__configLoaders as configLoaders, __webpack_exports__createConfigLoader as createConfigLoader, __webpack_exports__createEnvConfigLoader as createEnvConfigLoader, __webpack_exports__createMultiEntryPluginConfig as createMultiEntryPluginConfig, __webpack_exports__createPluginConfig as createPluginConfig, __webpack_exports__createStreamLoggerState as createStreamLoggerState, __webpack_exports__defineExtension as defineExtension, __webpack_exports__defineMcpServer as defineMcpServer, __webpack_exports__detectPackageManager as detectPackageManager, __webpack_exports__detectProvider as detectProvider, __webpack_exports__dtoToJsonSchema as dtoToJsonSchema, __webpack_exports__ensureEditorGitignore as ensureEditorGitignore, __webpack_exports__ensureSpaceflowDir as ensureSpaceflowDir, __webpack_exports__ensureSpaceflowPackageJson as ensureSpaceflowPackageJson, __webpack_exports__extractName as extractName, __webpack_exports__extractNpmPackageName as extractNpmPackageName, __webpack_exports__feishuConfig as feishuConfig, __webpack_exports__findConfigFileWithField as findConfigFileWithField, __webpack_exports__getConfigPath as getConfigPath, __webpack_exports__getConfigPaths as getConfigPaths, __webpack_exports__getDependencies as getDependencies, __webpack_exports__getEditorDirName as getEditorDirName, __webpack_exports__getEnvFilePaths as getEnvFilePaths, __webpack_exports__getMcpServerMetadata as getMcpServerMetadata, __webpack_exports__getMcpTools as getMcpTools, __webpack_exports__getPackageManager as getPackageManager, __webpack_exports__getRegisteredPluginConfig as getRegisteredPluginConfig, __webpack_exports__getRegisteredSchemas as getRegisteredSchemas, __webpack_exports__getSourceType as getSourceType, __webpack_exports__getSpaceflowCoreVersion as getSpaceflowCoreVersion, __webpack_exports__getSpaceflowDir as getSpaceflowDir, __webpack_exports__getSupportedEditors as getSupportedEditors, __webpack_exports__gitProviderConfig as gitProviderConfig,
|
|
6893
|
+
export { __webpack_exports__CONFIG_FILE_NAME as CONFIG_FILE_NAME, __webpack_exports__ClaudeCodeAdapter as ClaudeCodeAdapter, __webpack_exports__ClaudeSetupService as ClaudeSetupService, __webpack_exports__ConfigReader as ConfigReader, __webpack_exports__ConfigReaderService as ConfigReaderService, __webpack_exports__DEFAULT_EDITOR as DEFAULT_EDITOR, __webpack_exports__DEFAULT_EXTERNALS as DEFAULT_EXTERNALS, __webpack_exports__DEFAULT_SUPPORT_EDITOR as DEFAULT_SUPPORT_EDITOR, __webpack_exports__DEFAULT_TS_RULE as DEFAULT_TS_RULE, __webpack_exports__DIFF_SIDE as DIFF_SIDE, __webpack_exports__EDITOR_DIR_MAPPING as EDITOR_DIR_MAPPING, __webpack_exports__FEISHU_CARD_ACTION_TRIGGER as FEISHU_CARD_ACTION_TRIGGER, __webpack_exports__FEISHU_MODULE_OPTIONS as FEISHU_MODULE_OPTIONS, __webpack_exports__FeishuCardService as FeishuCardService, __webpack_exports__FeishuSdkService as FeishuSdkService, __webpack_exports__FileAdapter as FileAdapter, __webpack_exports__GIT_PROVIDER_MODULE_OPTIONS as GIT_PROVIDER_MODULE_OPTIONS, __webpack_exports__GitProviderService as GitProviderService, __webpack_exports__GitSdkService as GitSdkService, __webpack_exports__GiteaAdapter as GiteaAdapter, __webpack_exports__GithubAdapter as GithubAdapter, __webpack_exports__GitlabAdapter as GitlabAdapter, __webpack_exports__LLM_ADAPTER as LLM_ADAPTER, __webpack_exports__LLM_PROXY_CONFIG as LLM_PROXY_CONFIG, __webpack_exports__LOG_LEVEL_PRIORITY as LOG_LEVEL_PRIORITY, __webpack_exports__LlmJsonPut as LlmJsonPut, __webpack_exports__LlmProxyService as LlmProxyService, __webpack_exports__LlmSessionImpl as LlmSessionImpl, __webpack_exports__Logger as Logger, __webpack_exports__MCP_SERVER_METADATA as MCP_SERVER_METADATA, __webpack_exports__MCP_TOOL_METADATA as MCP_TOOL_METADATA, __webpack_exports__McpServer as McpServer, __webpack_exports__McpTool as McpTool, __webpack_exports__MemoryAdapter as MemoryAdapter, __webpack_exports__OUTPUT_MARKER_END as OUTPUT_MARKER_END, __webpack_exports__OUTPUT_MARKER_START as OUTPUT_MARKER_START, __webpack_exports__OpenAIAdapter as OpenAIAdapter, __webpack_exports__OpenCodeAdapter as OpenCodeAdapter, __webpack_exports__OutputService as OutputService, __webpack_exports__PACKAGE_JSON as PACKAGE_JSON, __webpack_exports__ParallelExecutor as ParallelExecutor, __webpack_exports__RC_FILE_NAME as RC_FILE_NAME, __webpack_exports__REVIEW_STATE as REVIEW_STATE, __webpack_exports__SPACEFLOW_DIR as SPACEFLOW_DIR, __webpack_exports__SchemaGeneratorService as SchemaGeneratorService, __webpack_exports__StorageService as StorageService, __webpack_exports__addLocaleResources as addLocaleResources, __webpack_exports__addSpaceflowToDevDependencies as addSpaceflowToDevDependencies, __webpack_exports__buildGitPackageSpec as buildGitPackageSpec, __webpack_exports__calculateLineOffsets as calculateLineOffsets, __webpack_exports__calculateNewLineNumber as calculateNewLineNumber, __webpack_exports__ciConfig as ciConfig, __webpack_exports__configLoaders as configLoaders, __webpack_exports__coreEn as coreEn, __webpack_exports__coreZhCN as coreZhCN, __webpack_exports__createConfigLoader as createConfigLoader, __webpack_exports__createEnvConfigLoader as createEnvConfigLoader, __webpack_exports__createMultiEntryPluginConfig as createMultiEntryPluginConfig, __webpack_exports__createPluginConfig as createPluginConfig, __webpack_exports__createStreamLoggerState as createStreamLoggerState, __webpack_exports__defineExtension as defineExtension, __webpack_exports__defineMcpServer as defineMcpServer, __webpack_exports__detectLocale as detectLocale, __webpack_exports__detectPackageManager as detectPackageManager, __webpack_exports__detectProvider as detectProvider, __webpack_exports__dtoToJsonSchema as dtoToJsonSchema, __webpack_exports__ensureEditorGitignore as ensureEditorGitignore, __webpack_exports__ensureSpaceflowDir as ensureSpaceflowDir, __webpack_exports__ensureSpaceflowPackageJson as ensureSpaceflowPackageJson, __webpack_exports__extractName as extractName, __webpack_exports__extractNpmPackageName as extractNpmPackageName, __webpack_exports__feishuConfig as feishuConfig, __webpack_exports__findConfigFileWithField as findConfigFileWithField, __webpack_exports__getConfigPath as getConfigPath, __webpack_exports__getConfigPaths as getConfigPaths, __webpack_exports__getDependencies as getDependencies, __webpack_exports__getEditorDirName as getEditorDirName, __webpack_exports__getEnvFilePaths as getEnvFilePaths, __webpack_exports__getMcpServerMetadata as getMcpServerMetadata, __webpack_exports__getMcpTools as getMcpTools, __webpack_exports__getPackageManager as getPackageManager, __webpack_exports__getRegisteredPluginConfig as getRegisteredPluginConfig, __webpack_exports__getRegisteredSchemas as getRegisteredSchemas, __webpack_exports__getSourceType as getSourceType, __webpack_exports__getSpaceflowCoreVersion as getSpaceflowCoreVersion, __webpack_exports__getSpaceflowDir as getSpaceflowDir, __webpack_exports__getSupportedEditors as getSupportedEditors, __webpack_exports__gitProviderConfig as gitProviderConfig, __webpack_exports__isGitUrl as isGitUrl, __webpack_exports__isLocalPath as isLocalPath, __webpack_exports__isMcpServer as isMcpServer, __webpack_exports__isPnpmWorkspace as isPnpmWorkspace, __webpack_exports__llmConfig as llmConfig, __webpack_exports__loadEnvFiles as loadEnvFiles, __webpack_exports__loadSpaceflowConfig as loadSpaceflowConfig, __webpack_exports__logStreamEvent as logStreamEvent, __webpack_exports__mapGitStatus as mapGitStatus, __webpack_exports__normalizeSource as normalizeSource, __webpack_exports__normalizeVerbose as normalizeVerbose, __webpack_exports__parallel as parallel, __webpack_exports__parseChangedLinesFromPatch as parseChangedLinesFromPatch, __webpack_exports__parseDiffText as parseDiffText, __webpack_exports__parseHunksFromPatch as parseHunksFromPatch, __webpack_exports__parseRepoUrl as parseRepoUrl, __webpack_exports__parseVerbose as parseVerbose, __webpack_exports__readConfigSync as readConfigSync, __webpack_exports__registerPluginConfig as registerPluginConfig, __webpack_exports__registerPluginSchema as registerPluginSchema, __webpack_exports__removeDependency as removeDependency, __webpack_exports__resetI18n as resetI18n, __webpack_exports__resolveSpaceflowConfig as resolveSpaceflowConfig, __webpack_exports__runMcpServer as runMcpServer, __webpack_exports__setGlobalAddLocaleResources as setGlobalAddLocaleResources, __webpack_exports__setGlobalT as setGlobalT, __webpack_exports__shouldLog as shouldLog, __webpack_exports__spaceflowConfig as spaceflowConfig, __webpack_exports__storageConfig as storageConfig, __webpack_exports__t as t, __webpack_exports__toLogLevel as toLogLevel, __webpack_exports__updateDependency as updateDependency, __webpack_exports__writeConfigSync as writeConfigSync, __webpack_exports__z as z };
|
|
6903
6894
|
|
|
6904
6895
|
//# sourceMappingURL=index.js.map
|