plugins {
    id 'java-library'
    id 'org.jetbrains.kotlin.jvm'
    id 'org.jetbrains.kotlin.plugin.serialization'
}

ext {
    ktor_version = '3.0.3'
}

dependencies {
    implementation project(":core:tools")
    implementation project(":core:events")
    implementation project(":core:approvals")
    implementation project(":core:sessions")
    implementation project(":infrastructure:tools:filesystem")
    implementation project(":core:artifacts")
    implementation project(":core:artifacts-store")

    // Web research tools (web_search, web_fetch) + deterministic HTML→markdown extraction.
    implementation 'org.jsoup:jsoup:1.20.1'
    implementation "io.ktor:ktor-client-core:$ktor_version"
    implementation "io.ktor:ktor-client-cio:$ktor_version"

    testImplementation "io.ktor:ktor-client-mock:$ktor_version"
}

tasks.named("koverVerify").configure { enabled = false }
