Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b669f3b
Introduce the Slack Agent trigger
MaryamZi Apr 28, 2026
59c44e4
Add the Google chat trigger - Take I
MaryamZi Apr 30, 2026
026d114
Refactor chat triggers as platform chat
MaryamZi May 20, 2026
d21c955
Merge branch 'main' of https://github.com/wso2/reference-implementati…
MaryamZi May 20, 2026
dcb7af5
Fix formatting
MaryamZi May 20, 2026
18ad077
Add project number and endpoint url validation
RadCod3 May 19, 2026
ffdae55
Update dependencies
RadCod3 May 19, 2026
9da422e
Fix memory loss in gchat agent
RadCod3 May 20, 2026
2ccb273
Address review comments
RadCod3 May 21, 2026
e73aefd
Merge pull request #26 from RadCod3/add-chat-triggers
MaryamZi May 21, 2026
ddc14aa
Bump version to 0.3.0 and rebuild
MaryamZi May 20, 2026
78550fc
Use Alpine + gcompat for Ballerina runtime image
MaryamZi May 20, 2026
ffa85a1
Fix year in licence headers
MaryamZi May 21, 2026
0d6f50e
Make spec-compliant and add validation
MaryamZi May 25, 2026
b5ee086
Define per-platform supported modes for platformchat
MaryamZi May 25, 2026
1164940
Add telegram support for notification - Take I
MaryamZi May 27, 2026
8a0791a
Add support for telegram polling
MaryamZi Jun 2, 2026
53c1d90
Merge pull request #31 from MaryamZi/add-telegram-support
MaryamZi Jun 17, 2026
6916804
Introduce chat triggers to Ballerina
MaryamZi Jun 17, 2026
18b230e
Merge branch 'add-chat-triggers' of https://github.com/wso2/reference…
MaryamZi Jun 17, 2026
3b23f13
Add platformchat tests
MaryamZi Jun 18, 2026
7dffa40
Address review comments
MaryamZi Jun 19, 2026
b2275f7
Merge pull request #37 from MaryamZi/add-chat-triggers-ballerina
MaryamZi Jun 22, 2026
96abaee
Construct platform handlers per interface
MaryamZi Jun 23, 2026
1cc82a7
Merge pull request #38 from MaryamZi/python-interpreter-fixes
MaryamZi Jun 24, 2026
545b9ad
Resolve conflicts and merge branch 'main' of https://github.com/wso2/…
MaryamZi Jun 24, 2026
d6e800a
Remove unused import
MaryamZi Jun 24, 2026
4d6bf42
Merge pull request #39 from MaryamZi/add-chat-triggers
MaryamZi Jun 24, 2026
52b30ce
Bump Ballerina version in workflows
MaryamZi Jun 24, 2026
01cc3a0
Merge pull request #40 from MaryamZi/add-chat-triggers
MaryamZi Jun 24, 2026
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 .github/workflows/ballerina-interpreter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Ballerina
uses: ballerina-platform/setup-ballerina@v1.1.3
with:
version: 2201.12.10
version: 2201.13.3

- name: Build
run: bal build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-ballerina.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
- name: Set up Ballerina
uses: ballerina-platform/setup-ballerina@v1.1.3
with:
version: 2201.12.10
version: 2201.13.3

- name: Build and test
run: |
Expand Down
2 changes: 1 addition & 1 deletion ballerina-interpreter/.devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"image": "ballerina/ballerina-devcontainer:2201.12.10",
"image": "ballerina/ballerina-devcontainer:2201.13.3",
"customizations": {
"vscode": {
"extensions": ["WSO2.ballerina"]
Expand Down
2 changes: 1 addition & 1 deletion ballerina-interpreter/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org = "wso2"
name = "afm_ballerina"
version = "0.3.0"
distribution = "2201.12.10"
distribution = "2201.13.3"

[build-options]
observabilityIncluded = true
Expand Down
57 changes: 43 additions & 14 deletions ballerina-interpreter/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.12.10"
distribution-version = "2201.13.3"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -77,11 +77,14 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.11.0"
version = "2.12.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
]
modules = [
{org = "ballerina", packageName = "crypto", moduleName = "crypto"}
]

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -115,7 +118,7 @@ modules = [
[[package]]
org = "ballerina"
name = "file"
version = "1.12.0"
version = "1.13.0"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -129,7 +132,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http"
version = "2.14.11"
version = "2.16.3"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -286,7 +289,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "log"
version = "2.14.0"
version = "2.17.0"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand Down Expand Up @@ -315,7 +318,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "mime"
version = "2.12.1"
version = "2.12.2"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -326,7 +329,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "oauth2"
version = "2.14.1"
version = "2.15.0"
dependencies = [
{org = "ballerina", name = "cache"},
{org = "ballerina", name = "crypto"},
Expand All @@ -339,7 +342,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "observe"
version = "1.6.0"
version = "1.7.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand Down Expand Up @@ -368,7 +371,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "task"
version = "2.11.1"
version = "2.11.2"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"},
Expand All @@ -392,7 +395,7 @@ modules = [
[[package]]
org = "ballerina"
name = "time"
version = "2.8.1"
version = "2.8.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand All @@ -407,6 +410,9 @@ version = "2.6.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
modules = [
{org = "ballerina", packageName = "url", moduleName = "url"}
]

[[package]]
org = "ballerina"
Expand All @@ -422,7 +428,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "websub"
version = "2.14.0"
version = "2.15.0"
dependencies = [
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "http"},
Expand All @@ -442,7 +448,7 @@ modules = [
[[package]]
org = "ballerina"
name = "websubhub"
version = "1.15.2"
version = "1.16.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand Down Expand Up @@ -519,6 +525,26 @@ modules = [
{org = "ballerinax", packageName = "ai.openai", moduleName = "ai.openai"}
]

[[package]]
org = "ballerinax"
name = "googleapis.chat"
version = "0.1.0"
dependencies = [
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "jwt"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "mime"},
{org = "ballerina", name = "time"},
{org = "ballerina", name = "url"},
{org = "ballerinai", name = "observe"}
]
modules = [
{org = "ballerinax", packageName = "googleapis.chat", moduleName = "googleapis.chat"}
]

[[package]]
org = "ballerinax"
name = "openai.chat"
Expand All @@ -535,7 +561,7 @@ dependencies = [
[[package]]
org = "ballerinax"
name = "openai.embeddings"
version = "1.0.5"
version = "1.0.6"
dependencies = [
{org = "ballerina", name = "constraint"},
{org = "ballerina", name = "http"},
Expand All @@ -549,6 +575,7 @@ name = "afm_ballerina"
version = "0.3.0"
dependencies = [
{org = "ballerina", name = "ai"},
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "data.yaml"},
{org = "ballerina", name = "file"},
{org = "ballerina", name = "http"},
Expand All @@ -560,11 +587,13 @@ dependencies = [
{org = "ballerina", name = "os"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "time"},
{org = "ballerina", name = "url"},
{org = "ballerina", name = "websub"},
{org = "ballerina", name = "websubhub"},
{org = "ballerinai", name = "observe"},
{org = "ballerinax", name = "ai.anthropic"},
{org = "ballerinax", name = "ai.openai"}
{org = "ballerinax", name = "ai.openai"},
{org = "ballerinax", name = "googleapis.chat"}
]
modules = [
{org = "wso2", packageName = "afm_ballerina", moduleName = "afm_ballerina"},
Expand Down
2 changes: 1 addition & 1 deletion ballerina-interpreter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build stage (discarded after build)
FROM ballerina/ballerina:2201.12.10 AS builder
FROM ballerina/ballerina:2201.13.3 AS builder

USER root

Expand Down
2 changes: 1 addition & 1 deletion ballerina-interpreter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A Ballerina-based interpreter for [Agent-Flavored Markdown (AFM)](https://github

## Prerequisites

- [Ballerina](https://ballerina.io/) 2201.12.10 or later. Alternatively, use the Docker image.
- [Ballerina](https://ballerina.io/) 2201.13.3 or later. Alternatively, use the Docker image.

## Quick Start

Expand Down
Loading
Loading