This is an automated email from the ASF dual-hosted git repository.

wodiwudi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozhera.git


The following commit(s) were added to refs/heads/master by this push:
     new 7adaaeec fix: update intelligence compiler error (#662)
7adaaeec is described below

commit 7adaaeecea7a0714089798c89b3c0222176cd021
Author: EricDing <[email protected]>
AuthorDate: Mon Jun 1 15:27:26 2026 +0800

    fix: update intelligence compiler error (#662)
    
    * refactor: refactor ozhera intelligence
    
    * feat: add coder tool and git mcp
    
    * fix: update codefix agent and tool
    
    * fix: add git suffix
    
    * refactor: add log query tool
    
    * fix: add endTime and update desc
    
    * feat: add git checkout new branch and create MR flow
    
    * fix: update intelligence compiler error
---
 .gitignore                                                  |  1 +
 ozhera-intelligence/README.md                               |  8 ++++++++
 ozhera-intelligence/README_cn.md                            |  8 ++++++++
 .../ozhera/intelligence/agents/config/AgentConfig.java      | 13 ++++++++-----
 4 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index 95dcc294..cf33e958 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,4 @@ nohup*
 
 # Mobile Tools for Java (J2ME)
 .mtj.tmp/
+.sdkmanrc
\ No newline at end of file
diff --git a/ozhera-intelligence/README.md b/ozhera-intelligence/README.md
index e3bc9e9b..3f822159 100644
--- a/ozhera-intelligence/README.md
+++ b/ozhera-intelligence/README.md
@@ -19,6 +19,14 @@
 
 -->
 
+> ⚠️ **Work In Progress**
+>
+> This module (ozhera-intelligence) is still **under construction (Work In 
Progress)**. It has not been fully open-sourced yet and **cannot be compiled or 
run on its own**.
+>
+> At this stage we are only releasing a few of its **most important prompts** 
(the agent role definitions, the vulnerability-fixing workflow, etc. — see 
classes such as `AgentConfig`) so that the community can study and reflect on 
how intelligent operations can be implemented.
+>
+> Some dependencies (such as the MCP tools from Xiaomi's open-source agent 
platform hive/m78) are still being opened up. The complete functionality will 
be filled in gradually in subsequent releases — stay tuned.
+
 # Overview
 + Apache OzHera(incubating) Intelligence Platform is responsible for 
generating intelligent-related functionalities.
 + Currently, features are under development.
diff --git a/ozhera-intelligence/README_cn.md b/ozhera-intelligence/README_cn.md
index e22b3486..946fd0ce 100644
--- a/ozhera-intelligence/README_cn.md
+++ b/ozhera-intelligence/README_cn.md
@@ -19,6 +19,14 @@
 
 -->
 
+> ⚠️ **正在建设中**
+>
+> 本模块(ozhera-intelligence)目前仍处于**建设中(Work In Progress)**阶段,尚未完整开源,**无法独立编译运行**。
+>
+> 当前阶段我们仅把其中**最关键的几个 Prompt**(智能体角色设定、漏洞修复工作流等,见 `AgentConfig` 
等类)发布出来,供社区参考与思考智能化运维的实现思路。
+>
+> 部分依赖(如小米开源 Agent 平台 hive/m78 的相关 MCP 工具)仍在持续开放中,完整功能将在后续版本陆续补齐,敬请期待。
+
 # 概述
 + Apache OzHera(incubating)智能化平台,负责产生智能化相关功能。
 + 目前功能开发中
diff --git 
a/ozhera-intelligence/ozhera-intelligence-service/src/main/java/org/apache/ozhera/intelligence/agents/config/AgentConfig.java
 
b/ozhera-intelligence/ozhera-intelligence-service/src/main/java/org/apache/ozhera/intelligence/agents/config/AgentConfig.java
index f400f177..16702c60 100644
--- 
a/ozhera-intelligence/ozhera-intelligence-service/src/main/java/org/apache/ozhera/intelligence/agents/config/AgentConfig.java
+++ 
b/ozhera-intelligence/ozhera-intelligence-service/src/main/java/org/apache/ozhera/intelligence/agents/config/AgentConfig.java
@@ -28,7 +28,8 @@ import run.mone.hive.mcp.function.ChatFunction;
 import run.mone.hive.mcp.service.RoleMeta;
 import run.mone.hive.roles.tool.*;
 import run.mone.mcp.git.tool.*;
-import run.mone.mcp.hera.analysis.tool.LogQueryTool;
+// TODO: dependency under construction - module not yet open-sourced
+// import run.mone.mcp.hera.analysis.tool.LogQueryTool;
 import run.mone.mcp.miline.tools.GetPipelineDetailTool;
 import run.mone.mcp.miline.tools.RunPipelineTool;
 
@@ -52,8 +53,9 @@ public class AgentConfig {
     private GitCheckoutNewBranchTool gitCheckoutNewBranchTool;
     @Autowired
     private GitCreateMergeRequestTool gitCreateMergeRequestTool;
-    @Autowired
-    private LogQueryTool logQueryTool;
+    // TODO: dependency under construction - module not yet open-sourced
+//    @Autowired
+//    private LogQueryTool logQueryTool;
 
     private boolean isRemoteFile = false;
 
@@ -89,8 +91,9 @@ public class AgentConfig {
                         gitCommitTool,
                         gitPushTool,
                         gitCheckoutNewBranchTool,
-                        gitCreateMergeRequestTool,
-                        logQueryTool
+                        gitCreateMergeRequestTool
+                        // TODO: dependency under construction - module not 
yet open-sourced
+                        // logQueryTool
                 ))
                 //mcp工具
                 .mcpTools(Lists.newArrayList(chat))


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to