<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.jxdinfo.hussar.adp</groupId>
       <artifactId>hussar-agent-platform</artifactId>
        <version>1.1.5</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>engine</artifactId>
    <packaging>jar</packaging>

    <name>engine</name>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>com.jxdinfo.hussar.adp</groupId>
            <artifactId>workflow</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jxdinfo.hussar.adp</groupId>
            <artifactId>biz-workflow</artifactId>
        </dependency>
        <!-- 引入一些nacos相关的包       -->
<!--        <dependency>-->
<!--            <groupId>com.jxdinfo.hussar.adp</groupId>-->
<!--            <artifactId>biz-a2a</artifactId>-->
<!--        </dependency>-->
        <dependency>
            <groupId>com.jxdinfo.hussar.adp</groupId>
            <artifactId>biz-resource</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jxdinfo.hussar.adp</groupId>
            <artifactId>biz-model</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jxdinfo.hussar.adp</groupId>
            <artifactId>biz-agent</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jxdinfo.hussar.adp</groupId>
            <artifactId>biz-evaluation</artifactId>
        </dependency>
        <!--评测执行器跨线程租户上下文（HussarContextHolder）-->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-tenant-api</artifactId>
            <version>9.6.0-release.1</version>
        </dependency>

        <dependency>
            <groupId>com.jxdinfo.hussar.adp</groupId>
            <artifactId>biz-splitting</artifactId>
        </dependency>


        <!--脚本安全: ANTLR4 + Rhino-->
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr4-runtime</artifactId>
            <version>4.13.1</version>
        </dependency>
        <dependency>
            <groupId>org.mozilla</groupId>
            <artifactId>rhino</artifactId>
            <version>1.7.14</version>
        </dependency>

        <!--模型依赖-->
        <dependency>
            <groupId>com.anthropic</groupId>
            <artifactId>anthropic-java</artifactId>
            <version>2.14.0</version>
            <exclusions>
                <exclusion>
                    <groupId>com.squareup.okhttp3</groupId>
                    <artifactId>okhttp</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.openai</groupId>
            <artifactId>openai-java</artifactId>
            <version>4.18.0</version>
            <exclusions>
                <exclusion>
                    <groupId>com.squareup.okhttp3</groupId>
                    <artifactId>okhttp</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.google.genai</groupId>
            <artifactId>google-genai</artifactId>
            <version>1.38.0</version>
            <exclusions>
                <exclusion>
                    <groupId>com.squareup.okhttp3</groupId>
                    <artifactId>okhttp</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!--RAG相关依赖-->
        <dependency>
            <groupId>com.aliyun</groupId>
            <artifactId>bailian20231229</artifactId>
            <version>2.8.1</version>
            <exclusions>
                <exclusion>
                    <groupId>com.squareup.okhttp3</groupId>
                    <artifactId>okhttp</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- Apache Tika 文档解析 -->
        <dependency>
            <groupId>org.apache.tika</groupId>
            <artifactId>tika-core</artifactId>
            <version>2.9.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tika</groupId>
            <artifactId>tika-parsers-standard-package</artifactId>
            <version>2.9.2</version>
        </dependency>
        <!--qdrant-->
        <dependency>
            <groupId>io.qdrant</groupId>
            <artifactId>client</artifactId>
            <version>1.17.0</version>
        </dependency>
        <!--milvus-->
        <dependency>
            <groupId>io.milvus</groupId>
            <artifactId>milvus-sdk-java</artifactId>
            <version>2.6.8</version>
            <exclusions>
                <exclusion>
                    <groupId>com.squareup.okhttp3</groupId>
                    <artifactId>okhttp</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- elasticsearch -->
        <dependency>
            <groupId>org.elasticsearch.client</groupId>
            <artifactId>elasticsearch-rest-client</artifactId>
            <version>8.15.5</version>
        </dependency>
        <!--weaviate-->
        <dependency>
            <groupId>io.weaviate</groupId>
            <artifactId>client</artifactId>
            <version>5.3.0</version>
        </dependency>

        <!-- JGit -->
        <dependency>
            <groupId>org.eclipse.jgit</groupId>
            <artifactId>org.eclipse.jgit</artifactId>
            <version>7.3.0.202506031305-r</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jgit</groupId>
            <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
            <version>7.3.0.202506031305-r</version>
        </dependency>
        <dependency>
            <groupId>com.alibaba.nacos</groupId>
            <artifactId>nacos-client</artifactId>
            <version>3.2.1-2026.03.30</version>
            <scope>compile</scope>
        </dependency>
        <!-- HITL V0 验证用：仅 test scope，版本由父 dependencyManagement 统一管理 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <!-- HITL V0 阶段2：验证暂停态落 MySQL（agentscope 官方 session 扩展，仅 test scope） -->
        <dependency>
            <groupId>io.agentscope</groupId>
            <artifactId>agentscope-extensions-session-mysql</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>
