Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ballerina-interpreter/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
org = "wso2"
name = "afm_ballerina"
version = "0.1.0"
version = "0.3.0"
distribution = "2201.12.10"

[build-options]
Expand Down
26 changes: 20 additions & 6 deletions ballerina-interpreter/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,28 @@ distribution-version = "2201.12.10"
[[package]]
org = "ballerina"
name = "ai"
version = "1.9.0"
version = "1.11.2"
dependencies = [
{org = "ballerina", name = "cache"},
{org = "ballerina", name = "constraint"},
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "data.jsondata"},
{org = "ballerina", name = "data.xmldata"},
{org = "ballerina", name = "file"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "jwt"},
{org = "ballerina", name = "lang.array"},
{org = "ballerina", name = "lang.regexp"},
{org = "ballerina", name = "lang.runtime"},
{org = "ballerina", name = "lang.string"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "math.vector"},
{org = "ballerina", name = "mcp"},
{org = "ballerina", name = "mime"},
{org = "ballerina", name = "observe"},
{org = "ballerina", name = "random"},
{org = "ballerina", name = "time"},
{org = "ballerina", name = "url"},
{org = "ballerina", name = "uuid"},
Expand Down Expand Up @@ -72,7 +77,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.10.1"
version = "2.11.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
Expand Down Expand Up @@ -124,7 +129,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http"
version = "2.14.9"
version = "2.14.11"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -351,6 +356,15 @@ modules = [
{org = "ballerina", packageName = "os", moduleName = "os"}
]

[[package]]
org = "ballerina"
name = "random"
version = "1.7.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
]

[[package]]
org = "ballerina"
name = "task"
Expand Down Expand Up @@ -474,7 +488,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "ai.anthropic"
version = "1.3.1"
version = "1.3.3"
dependencies = [
{org = "ballerina", name = "ai"},
{org = "ballerina", name = "constraint"},
Expand All @@ -489,7 +503,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "ai.openai"
version = "1.3.1"
version = "1.3.4"
dependencies = [
{org = "ballerina", name = "ai"},
{org = "ballerina", name = "constraint"},
Expand Down Expand Up @@ -532,7 +546,7 @@ dependencies = [
[[package]]
org = "wso2"
name = "afm_ballerina"
version = "0.1.0"
version = "0.3.0"
dependencies = [
{org = "ballerina", name = "ai"},
{org = "ballerina", name = "data.yaml"},
Expand Down
7 changes: 5 additions & 2 deletions ballerina-interpreter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ COPY modules ./modules

RUN bal build

# Runtime stage - slim JRE only
FROM eclipse-temurin:21-jre
FROM eclipse-temurin:21-jre-alpine-3.23

RUN apk add --no-cache gcompat libc6-compat libgcc

ENV LD_PRELOAD=/lib/libgcompat.so.0

WORKDIR /app

Expand Down
1 change: 1 addition & 0 deletions python-interpreter/packages/afm-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dependencies = [
"platformdirs>=4.0",
"packaging>=24.0",
"rich>=14.3.2",
"pyjwt[crypto]>=2.12.1",
]

[project.scripts]
Expand Down
Loading
Loading