diff --git a/agentic/src/SmithyOpenAIUtil.scala b/agentic/src/SmithyOpenAIUtil.scala index 6c79abf..c575c3f 100644 --- a/agentic/src/SmithyOpenAIUtil.scala +++ b/agentic/src/SmithyOpenAIUtil.scala @@ -1,7 +1,6 @@ package io.github.quafadas.dairect import cats.MonadThrow -import cats.effect.IO import cats.syntax.all.* import smithy4s.* import smithy4s.Document.* diff --git a/build.sc b/build.sc index 6128dc2..e9bae93 100644 --- a/build.sc +++ b/build.sc @@ -47,12 +47,16 @@ trait CommonNative extends ScalaNativeModule { def scalaNativeVersion: mill.T[String] = "0.4.16" } + +val http4s = "0.23.27" + + object api extends CrossPlatform { trait Shared extends CrossPlatformScalaModule with Common with Smithy4sModule { def ivyDeps = Agg( - ivy"com.disneystreaming.smithy4s::smithy4s-http4s::0.18.23", + ivy"com.disneystreaming.smithy4s::smithy4s-http4s::$http4s", ivy"tech.neander::smithy4s-deriving::0.0.3", - ivy"org.http4s::http4s-ember-client::0.23.26", + ivy"org.http4s::http4s-ember-client::$http4s", ivy"is.cir::ciris::3.6.0" ) @@ -79,9 +83,9 @@ object agentic extends Common { override def moduleDeps = Seq(api.jvm) override def ivyDeps = super.ivyDeps() ++ Agg( ivy"software.amazon.smithy:smithy-jsonschema:1.50.0", - ivy"com.lihaoyi::os-lib::0.10.3", + ivy"com.lihaoyi::os-lib::0.10.5", ivy"com.lihaoyi::pprint::0.9.0", - ivy"com.disneystreaming.smithy4s::smithy4s-dynamic::0.18.23" + ivy"com.disneystreaming.smithy4s::smithy4s-dynamic::$http4s" ) @@ -95,7 +99,7 @@ object agentic extends Common { object site extends SiteModule { - def scalaVersion = agentic.scalaVersion + def scalaVersion = agentic.scalaVersion override def scalacOptions: Target[Seq[String]] = agentic.scalacOptions diff --git a/justfile b/justfile index df1ef3f..1f8a7f0 100644 --- a/justfile +++ b/justfile @@ -20,6 +20,9 @@ site: test: mill -j 0 __.test +update: + mill -j 0 mill.scalalib.Dependency/showUpdates + demo: scala-cli run . --main-class io.github.quafadas.dairect.Showcase @@ -27,36 +30,4 @@ demo: # cs launch --contrib sjsls -- --build-tool none --path-to-index-html {{justfile_directory()}}/out/site/live.dest/site serveSite: - mill site.browserSync - -repl: - scala-cli repl . - -test: - scala-cli test . - -scala-cli-test: - scala-cli run . --main-class io.github.quafadas.dairect.ScalaCliTest - -autoCode: - scala-cli run . --main-class io.github.quafadas.dairect.AutoCodeExample - -autoStockPrices: - scala-cli run . --main-class io.github.quafadas.dairect.StockPrices - -initiatives: - scala-cli run . --main-class io.github.quafadas.dairect.TryInitiatives - -showcase: - scala-cli run . --main-class io.github.quafadas.dairect.Showcase - -research: - scala-cli run . --main-class io.github.quafadas.dairect.Researcher - -assist: - scala-cli run . --main-class io.github.quafadas.dairect.Assistant - - -debug: - scala-cli run . --main-class io.github.quafadas.dairect.Showcase --debug - + mill site.browserSync \ No newline at end of file