@spaceflow/core 0.17.0 → 0.19.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 CHANGED
@@ -254,6 +254,7 @@ __webpack_require__.d(__webpack_exports__, {
254
254
  cg: () => (/* reexport */ dtoToJsonSchema),
255
255
  oc: () => (/* reexport */ extractNpmPackageName),
256
256
  fy: () => (/* reexport */ GIT_PROVIDER_MODULE_OPTIONS),
257
+ W8: () => (/* reexport */ SpaceflowConfigSchema),
257
258
  uB: () => (/* reexport */ getSourceType),
258
259
  wv: () => (/* reexport */ FeishuSdkService),
259
260
  cQ: () => (/* reexport */ normalizeVerbose),
@@ -1075,8 +1076,30 @@ function parseDiffText(diffText) {
1075
1076
  async deletePullReviewComment(owner, repo, commentId) {
1076
1077
  await this.request("DELETE", `/repos/${owner}/${repo}/pulls/comments/${commentId}`);
1077
1078
  }
1078
- async listResolvedThreads() {
1079
- return [];
1079
+ async listResolvedThreads(owner, repo, index) {
1080
+ const result = [];
1081
+ try {
1082
+ const reviews = await this.listPullReviews(owner, repo, index);
1083
+ for (const review of reviews){
1084
+ if (!review.id) continue;
1085
+ const comments = await this.listPullReviewComments(owner, repo, index, review.id);
1086
+ for (const comment of comments){
1087
+ if (!comment.resolver) continue;
1088
+ result.push({
1089
+ path: comment.path,
1090
+ line: comment.position,
1091
+ resolvedBy: {
1092
+ id: comment.resolver.id,
1093
+ login: comment.resolver.login
1094
+ },
1095
+ body: comment.body
1096
+ });
1097
+ }
1098
+ }
1099
+ } catch {
1100
+ // 获取失败时返回空数组,不影响主流程
1101
+ }
1102
+ return result;
1080
1103
  }
1081
1104
  // ============ Reaction 操作 ============
1082
1105
  async getIssueCommentReactions(owner, repo, commentId) {
@@ -1664,13 +1687,15 @@ function parseDiffText(diffText) {
1664
1687
  const result = [];
1665
1688
  for (const thread of threads){
1666
1689
  if (!thread.isResolved) continue;
1690
+ const firstComment = thread.comments.nodes[0];
1667
1691
  result.push({
1668
1692
  path: thread.path ?? undefined,
1669
1693
  line: thread.line ?? undefined,
1670
1694
  resolvedBy: thread.resolvedBy ? {
1671
1695
  id: thread.resolvedBy.databaseId,
1672
1696
  login: thread.resolvedBy.login
1673
- } : null
1697
+ } : null,
1698
+ body: firstComment?.body
1674
1699
  });
1675
1700
  }
1676
1701
  return result;
@@ -1689,7 +1714,7 @@ function parseDiffText(diffText) {
1689
1714
  path
1690
1715
  line
1691
1716
  comments(first: 1) {
1692
- nodes { databaseId }
1717
+ nodes { databaseId body }
1693
1718
  }
1694
1719
  }
1695
1720
  }
@@ -5889,111 +5914,9 @@ const i18next = __rspack_external_i18next["default"] || __rspack_external_i18nex
5889
5914
 
5890
5915
  // EXTERNAL MODULE: external "zod"
5891
5916
  var external_zod_ = __webpack_require__(971);
5892
- ;// CONCATENATED MODULE: ./src/config/schema-generator.service.ts
5893
-
5894
-
5895
-
5896
- /** 全局 schema 注册表 */ const schemaRegistry = new Map();
5897
- /**
5898
- * 注册插件配置 schema(由插件加载器调用)
5899
- */ function registerPluginSchema(registry) {
5900
- schemaRegistry.set(registry.configKey, registry);
5901
- }
5902
- /**
5903
- * 获取所有已注册的 schema
5904
- */ function getRegisteredSchemas() {
5905
- return schemaRegistry;
5906
- }
5907
- /**
5908
- * Schema 生成服务
5909
- * 用于生成 JSON Schema 文件
5910
- */ class SchemaGeneratorService {
5911
- /**
5912
- * 生成完整的 spaceflow.json 的 JSON Schema
5913
- * @param outputPath 输出路径
5914
- */ generateJsonSchema(outputPath) {
5915
- const properties = {
5916
- dependencies: {
5917
- type: "object",
5918
- description: "已安装的技能包注册表",
5919
- additionalProperties: {
5920
- type: "string"
5921
- }
5922
- },
5923
- support: {
5924
- type: "array",
5925
- description: "支持的编辑器列表",
5926
- items: {
5927
- type: "string"
5928
- }
5929
- }
5930
- };
5931
- // 添加所有插件的 schema
5932
- for (const [configKey, registry] of schemaRegistry){
5933
- try {
5934
- const schema = registry.schemaFactory();
5935
- const jsonSchema = external_zod_.z.toJSONSchema(schema, {
5936
- target: "draft-07"
5937
- });
5938
- properties[configKey] = {
5939
- ...jsonSchema,
5940
- description: registry.description || `${configKey} 插件配置`
5941
- };
5942
- } catch (error) {
5943
- console.warn(`⚠️ 无法转换 ${configKey} 的 schema:`, error);
5944
- }
5945
- }
5946
- const fullSchema = {
5947
- $schema: "http://json-schema.org/draft-07/schema#",
5948
- title: "Spaceflow Configuration",
5949
- description: "Spaceflow 配置文件 schema",
5950
- type: "object",
5951
- properties,
5952
- additionalProperties: true
5953
- };
5954
- // 确保目录存在
5955
- const dir = external_path_.dirname(outputPath);
5956
- if (!existsSync(dir)) {
5957
- mkdirSync(dir, {
5958
- recursive: true
5959
- });
5960
- }
5961
- // 写入文件
5962
- writeFileSync(outputPath, JSON.stringify(fullSchema, null, 2), "utf-8");
5963
- // 自动添加到 .gitignore
5964
- this.addToGitignore(dir, external_path_.basename(outputPath));
5965
- }
5966
- /**
5967
- * 生成 JSON Schema 到默认路径 (.spaceflow/config-schema.json)
5968
- */ generate() {
5969
- const outputPath = external_path_.join(process.cwd(), ".spaceflow", "config-schema.json");
5970
- this.generateJsonSchema(outputPath);
5971
- }
5972
- /**
5973
- * 将文件添加到 .gitignore(如果不存在)
5974
- */ addToGitignore(dir, filename) {
5975
- const gitignorePath = external_path_.join(dir, ".gitignore");
5976
- let content = "";
5977
- if (existsSync(gitignorePath)) {
5978
- content = readFileSync(gitignorePath, "utf-8");
5979
- // 检查是否已存在
5980
- const lines = content.split("\n").map((line)=>line.trim());
5981
- if (lines.includes(filename)) {
5982
- return;
5983
- }
5984
- } else {
5985
- content = "# 自动生成的 .gitignore\n";
5986
- }
5987
- // 追加文件名
5988
- const newContent = content.endsWith("\n") ? `${content}${filename}\n` : `${content}\n${filename}\n`;
5989
- writeFileSync(gitignorePath, newContent, "utf-8");
5990
- }
5991
- }
5992
-
5993
5917
  ;// CONCATENATED MODULE: ./src/config/spaceflow.config.ts
5994
5918
 
5995
5919
 
5996
-
5997
5920
  // 从 @spaceflow/shared 重导出配置工具函数
5998
5921
 
5999
5922
 
@@ -6076,12 +5999,6 @@ var external_zod_ = __webpack_require__(971);
6076
5999
  /** 飞书配置 */ feishu: external_zod_.z.preprocess((v)=>v ?? {}, FeishuConfigSchema).describe("飞书 SDK 配置"),
6077
6000
  /** Storage 配置 */ storage: external_zod_.z.preprocess((v)=>v ?? {}, StorageConfigSchema).describe("存储服务配置")
6078
6001
  });
6079
- // 注册完整 schema(供 JSON Schema 生成使用)
6080
- registerPluginSchema({
6081
- configKey: "spaceflow",
6082
- schemaFactory: ()=>SpaceflowConfigSchema,
6083
- description: "Spaceflow 配置"
6084
- });
6085
6002
  // ============ 配置加载 ============
6086
6003
  /**
6087
6004
  * 加载 spaceflow.json 配置
@@ -6106,6 +6023,99 @@ registerPluginSchema({
6106
6023
  return loadSpaceflowConfig();
6107
6024
  }
6108
6025
 
6026
+ ;// CONCATENATED MODULE: ./src/config/schema-generator.service.ts
6027
+
6028
+
6029
+
6030
+
6031
+ /** 全局 schema 注册表 */ const schemaRegistry = new Map();
6032
+ /**
6033
+ * 注册插件配置 schema(由插件加载器调用)
6034
+ */ function registerPluginSchema(registry) {
6035
+ schemaRegistry.set(registry.configKey, registry);
6036
+ }
6037
+ /**
6038
+ * 获取所有已注册的 schema
6039
+ */ function getRegisteredSchemas() {
6040
+ return schemaRegistry;
6041
+ }
6042
+ /**
6043
+ * Schema 生成服务
6044
+ * 用于生成 JSON Schema 文件
6045
+ */ class SchemaGeneratorService {
6046
+ /**
6047
+ * 生成完整的 spaceflow.json 的 JSON Schema
6048
+ * @param outputPath 输出路径
6049
+ */ generateJsonSchema(outputPath) {
6050
+ // 从 SpaceflowConfigSchema 生成基础 JSON Schema
6051
+ const baseSchema = external_zod_.z.toJSONSchema(SpaceflowConfigSchema, {
6052
+ target: "draft-07"
6053
+ });
6054
+ const properties = {
6055
+ ...baseSchema.properties || {}
6056
+ };
6057
+ // 添加所有插件的 schema(扩展插件配置)
6058
+ for (const [configKey, registry] of schemaRegistry){
6059
+ try {
6060
+ const schema = registry.schemaFactory();
6061
+ const jsonSchema = external_zod_.z.toJSONSchema(schema, {
6062
+ target: "draft-07"
6063
+ });
6064
+ properties[configKey] = {
6065
+ ...jsonSchema,
6066
+ description: registry.description || `${configKey} 插件配置`
6067
+ };
6068
+ } catch (error) {
6069
+ console.warn(`⚠️ 无法转换 ${configKey} 的 schema:`, error);
6070
+ }
6071
+ }
6072
+ const fullSchema = {
6073
+ $schema: "http://json-schema.org/draft-07/schema#",
6074
+ title: "Spaceflow Configuration",
6075
+ description: "Spaceflow 配置文件 schema",
6076
+ type: "object",
6077
+ properties,
6078
+ additionalProperties: true
6079
+ };
6080
+ // 确保目录存在
6081
+ const dir = external_path_.dirname(outputPath);
6082
+ if (!existsSync(dir)) {
6083
+ mkdirSync(dir, {
6084
+ recursive: true
6085
+ });
6086
+ }
6087
+ // 写入文件
6088
+ writeFileSync(outputPath, JSON.stringify(fullSchema, null, 2), "utf-8");
6089
+ // 自动添加到 .gitignore
6090
+ this.addToGitignore(dir, external_path_.basename(outputPath));
6091
+ }
6092
+ /**
6093
+ * 生成 JSON Schema 到默认路径 (.spaceflow/config-schema.json)
6094
+ */ generate() {
6095
+ const outputPath = external_path_.join(process.cwd(), ".spaceflow", "config-schema.json");
6096
+ this.generateJsonSchema(outputPath);
6097
+ }
6098
+ /**
6099
+ * 将文件添加到 .gitignore(如果不存在)
6100
+ */ addToGitignore(dir, filename) {
6101
+ const gitignorePath = external_path_.join(dir, ".gitignore");
6102
+ let content = "";
6103
+ if (existsSync(gitignorePath)) {
6104
+ content = readFileSync(gitignorePath, "utf-8");
6105
+ // 检查是否已存在
6106
+ const lines = content.split("\n").map((line)=>line.trim());
6107
+ if (lines.includes(filename)) {
6108
+ return;
6109
+ }
6110
+ } else {
6111
+ content = "# 自动生成的 .gitignore\n";
6112
+ }
6113
+ // 追加文件名
6114
+ const newContent = content.endsWith("\n") ? `${content}${filename}\n` : `${content}\n${filename}\n`;
6115
+ writeFileSync(gitignorePath, newContent, "utf-8");
6116
+ }
6117
+ }
6118
+
6109
6119
  ;// CONCATENATED MODULE: ./src/config/index.ts
6110
6120
 
6111
6121
 
@@ -11424,7 +11434,7 @@ async function exec(extensions = [], options = {}) {
11424
11434
  // 6. 创建 CLI 程序
11425
11435
  const program = new Command();
11426
11436
  const cliVersion = options.cliVersion || "0.0.0";
11427
- const coreVersion = true ? "0.17.0" : 0;
11437
+ const coreVersion = true ? "0.19.0" : 0;
11428
11438
  const versionOutput = `spaceflow/${cliVersion} core/${coreVersion}`;
11429
11439
  program.name("spaceflow").description("Spaceflow CLI").version(versionOutput, "-V, --version", "显示版本信息");
11430
11440
  // 定义全局 verbose 选项(支持计数:-v, -vv, -vvv)
@@ -11598,6 +11608,7 @@ var __webpack_exports__REVIEW_STATE = __webpack_exports__.fS;
11598
11608
  var __webpack_exports__SPACEFLOW_DIR = __webpack_exports__.xC;
11599
11609
  var __webpack_exports__SchemaGeneratorService = __webpack_exports__.go;
11600
11610
  var __webpack_exports__ServiceContainer = __webpack_exports__.TU;
11611
+ var __webpack_exports__SpaceflowConfigSchema = __webpack_exports__.W8;
11601
11612
  var __webpack_exports__StorageService = __webpack_exports__.n$;
11602
11613
  var __webpack_exports__addI18nextResources = __webpack_exports__.sx;
11603
11614
  var __webpack_exports__addLocaleResources = __webpack_exports__.LK;
@@ -11671,6 +11682,6 @@ var __webpack_exports__toLogLevel = __webpack_exports__.AZ;
11671
11682
  var __webpack_exports__updateDependency = __webpack_exports__.hq;
11672
11683
  var __webpack_exports__writeConfigSync = __webpack_exports__.$v;
11673
11684
  var __webpack_exports__z = __webpack_exports__.z;
11674
- export { __webpack_exports__CONFIG_FILE_NAME as CONFIG_FILE_NAME, __webpack_exports__ClaudeCodeAdapter as ClaudeCodeAdapter, __webpack_exports__ClaudeSetupService as ClaudeSetupService, __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__ExtensionLoader as ExtensionLoader, __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__ServiceContainer as ServiceContainer, __webpack_exports__StorageService as StorageService, __webpack_exports__addI18nextResources as addI18nextResources, __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__coreEn as coreEn, __webpack_exports__coreZhCN as coreZhCN, __webpack_exports__createMultiEntryPluginConfig as createMultiEntryPluginConfig, __webpack_exports__createPluginConfig as createPluginConfig, __webpack_exports__createStreamLoggerState as createStreamLoggerState, __webpack_exports__deepMerge as deepMerge, __webpack_exports__defineExtension as defineExtension, __webpack_exports__detectLocale as detectLocale, __webpack_exports__detectPackageManager as detectPackageManager, __webpack_exports__detectProvider as detectProvider, __webpack_exports__dtoToJsonSchema as dtoToJsonSchema, __webpack_exports__ensureDependencies as ensureDependencies, __webpack_exports__ensureEditorGitignore as ensureEditorGitignore, __webpack_exports__ensureSpaceflowDir as ensureSpaceflowDir, __webpack_exports__ensureSpaceflowPackageJson as ensureSpaceflowPackageJson, __webpack_exports__exec as exec, __webpack_exports__extractName as extractName, __webpack_exports__extractNpmPackageName as extractNpmPackageName, __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__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__initCliI18n as initCliI18n, __webpack_exports__internalExtensions as internalExtensions, __webpack_exports__isGitUrl as isGitUrl, __webpack_exports__isLocalPath as isLocalPath, __webpack_exports__isMcpServer as isMcpServer, __webpack_exports__isPnpmWorkspace as isPnpmWorkspace, __webpack_exports__loadEnvFiles as loadEnvFiles, __webpack_exports__loadExtensionsFromDir as loadExtensionsFromDir, __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__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__t as t, __webpack_exports__toLogLevel as toLogLevel, __webpack_exports__updateDependency as updateDependency, __webpack_exports__writeConfigSync as writeConfigSync, __webpack_exports__z as z };
11685
+ export { __webpack_exports__CONFIG_FILE_NAME as CONFIG_FILE_NAME, __webpack_exports__ClaudeCodeAdapter as ClaudeCodeAdapter, __webpack_exports__ClaudeSetupService as ClaudeSetupService, __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__ExtensionLoader as ExtensionLoader, __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__ServiceContainer as ServiceContainer, __webpack_exports__SpaceflowConfigSchema as SpaceflowConfigSchema, __webpack_exports__StorageService as StorageService, __webpack_exports__addI18nextResources as addI18nextResources, __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__coreEn as coreEn, __webpack_exports__coreZhCN as coreZhCN, __webpack_exports__createMultiEntryPluginConfig as createMultiEntryPluginConfig, __webpack_exports__createPluginConfig as createPluginConfig, __webpack_exports__createStreamLoggerState as createStreamLoggerState, __webpack_exports__deepMerge as deepMerge, __webpack_exports__defineExtension as defineExtension, __webpack_exports__detectLocale as detectLocale, __webpack_exports__detectPackageManager as detectPackageManager, __webpack_exports__detectProvider as detectProvider, __webpack_exports__dtoToJsonSchema as dtoToJsonSchema, __webpack_exports__ensureDependencies as ensureDependencies, __webpack_exports__ensureEditorGitignore as ensureEditorGitignore, __webpack_exports__ensureSpaceflowDir as ensureSpaceflowDir, __webpack_exports__ensureSpaceflowPackageJson as ensureSpaceflowPackageJson, __webpack_exports__exec as exec, __webpack_exports__extractName as extractName, __webpack_exports__extractNpmPackageName as extractNpmPackageName, __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__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__initCliI18n as initCliI18n, __webpack_exports__internalExtensions as internalExtensions, __webpack_exports__isGitUrl as isGitUrl, __webpack_exports__isLocalPath as isLocalPath, __webpack_exports__isMcpServer as isMcpServer, __webpack_exports__isPnpmWorkspace as isPnpmWorkspace, __webpack_exports__loadEnvFiles as loadEnvFiles, __webpack_exports__loadExtensionsFromDir as loadExtensionsFromDir, __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__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__t as t, __webpack_exports__toLogLevel as toLogLevel, __webpack_exports__updateDependency as updateDependency, __webpack_exports__writeConfigSync as writeConfigSync, __webpack_exports__z as z };
11675
11686
 
11676
11687
  //# sourceMappingURL=index.js.map