Skip to content

Commit

Permalink
Versino udpates
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Sep 4, 2024
1 parent 2908cee commit d9892c3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 39 deletions.
1 change: 0 additions & 1 deletion agentic/src/SmithyOpenAIUtil.scala
Original file line number Diff line number Diff line change
@@ -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.*
Expand Down
14 changes: 9 additions & 5 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -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"


)
Expand All @@ -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

Expand Down
37 changes: 4 additions & 33 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,43 +20,14 @@ 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

# serveSite:
# 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

0 comments on commit d9892c3

Please sign in to comment.