Skip to content

Commit fb1831b

Browse files
fazlefazle
authored andcommitted
Merge upstream/develop into bug/local-memory-provider-error-handling
Resolved conflicts in: - EventHandlerTest.kt: Updated ResponseMetaInfo to include metadata=null field - Documentation files: Updated naming from 'Persistency' to 'Persistence' - Spring Boot auto-configuration files: Accepted upstream changes with new ConditionalOnPropertyNotEmpty annotation - Properties files: Accepted upstream configuration - KoogAutoConfigurationTest.kt: Accepted upstream test changes All conflicts resolved by accepting upstream changes where appropriate.
2 parents 0ac04c5 + 88b9d96 commit fb1831b

File tree

222 files changed

+16852
-732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+16852
-732
lines changed

.github/workflows/a2a-tck-test.yml

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
name: A2A TCK Test
2+
3+
on:
4+
push:
5+
paths:
6+
- 'a2a/**'
7+
pull_request:
8+
paths:
9+
- 'a2a/**'
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
15+
16+
env:
17+
JAVA_VERSION: 17
18+
JAVA_DISTRIBUTION: 'corretto'
19+
20+
jobs:
21+
a2a-tck-test:
22+
runs-on: ubuntu-latest
23+
timeout-minutes: 10
24+
25+
permissions:
26+
contents: read
27+
28+
steps:
29+
- name: Configure Git
30+
run: |
31+
git config --global core.autocrlf input
32+
33+
- uses: actions/checkout@v5
34+
35+
- name: Set up JDK ${{ env.JAVA_VERSION }}
36+
uses: actions/setup-java@v5
37+
with:
38+
java-version: ${{ env.JAVA_VERSION }}
39+
distribution: ${{ env.JAVA_DISTRIBUTION }}
40+
41+
- name: Setup Gradle
42+
uses: gradle/actions/setup-gradle@v4
43+
44+
- name: Set up Python 3.12
45+
uses: actions/setup-python@v6
46+
with:
47+
python-version: '3.12'
48+
49+
- name: Install uv
50+
uses: astral-sh/setup-uv@v6
51+
with:
52+
version: "0.8.15"
53+
enable-cache: true
54+
55+
- name: Setup A2A TCK
56+
working-directory: ./a2a/test-tck
57+
run: ./setup_tck.sh
58+
59+
- name: Build test server
60+
run: ./gradlew :a2a:test-tck:a2a-test-server-tck:assemble
61+
62+
- name: Start test server in background
63+
working-directory: ./a2a/test-tck
64+
run: |
65+
./run_sut.sh > server.log 2>&1 &
66+
SERVER_PID=$!
67+
echo "SERVER_PID=$SERVER_PID" >> $GITHUB_ENV
68+
69+
# Wait for server to start (max 60 seconds)
70+
timeout 60 bash -c '
71+
while ! grep -q "Responding at http://0.0.0.0:9999" server.log 2>/dev/null; do
72+
sleep 1
73+
done
74+
'
75+
76+
echo "Server started successfully"
77+
78+
- name: Run TCK tests - Mandatory
79+
working-directory: ./a2a/test-tck
80+
run: ./run_tck.sh --sut-url http://localhost:9999/a2a --category mandatory --report
81+
82+
- name: Run TCK tests - Capabilities
83+
working-directory: ./a2a/test-tck
84+
run: ./run_tck.sh --sut-url http://localhost:9999/a2a --category capabilities --report
85+
86+
- name: Run TCK tests - Transport Equivalence
87+
working-directory: ./a2a/test-tck
88+
run: ./run_tck.sh --sut-url http://localhost:9999/a2a --category transport-equivalence --report
89+
90+
- name: Run TCK tests - Quality
91+
working-directory: ./a2a/test-tck
92+
run: ./run_tck.sh --sut-url http://localhost:9999/a2a --category quality --report
93+
94+
- name: Run TCK tests - Features
95+
working-directory: ./a2a/test-tck
96+
run: ./run_tck.sh --sut-url http://localhost:9999/a2a --category features --report
97+
98+
- name: Stop test server
99+
if: always()
100+
run: |
101+
if [ ! -z "$SERVER_PID" ]; then
102+
kill $SERVER_PID || true
103+
wait $SERVER_PID 2>/dev/null || true
104+
fi
105+
106+
- name: Upload TCK reports
107+
if: always()
108+
uses: actions/upload-artifact@v4
109+
with:
110+
name: a2a-tck-reports
111+
path: a2a/test-tck/a2a-tck/reports/*.html
112+
if-no-files-found: warn
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Deploy Docs to GitHub Pages
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
deploy-docs-koog-ai:
8+
runs-on: ubuntu-latest
9+
10+
permissions:
11+
contents: write
12+
13+
steps:
14+
- name: Configure Git
15+
run: |
16+
git config --global core.autocrlf input
17+
- uses: actions/checkout@v5
18+
19+
# Using setup-python on CI to install Python might be faster than with uv (official uv recommendation)
20+
- name: Set up Python
21+
uses: actions/setup-python@v6
22+
with:
23+
python-version-file: "./docs/.python-version"
24+
25+
- name: Install uv
26+
uses: astral-sh/setup-uv@v6
27+
with:
28+
version: "0.8.15"
29+
enable-cache: true
30+
31+
- name: Deploy docs
32+
working-directory: ./docs
33+
run: |
34+
uv sync --frozen --all-extras
35+
uv run mkdocs gh-deploy --force

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ local.properties
1010
docs/src/main/kotlin/*.kt
1111
**/.env
1212
.venv
13+
.DS_Store
14+
**/kotlin-js-store

CHANGELOG.md

Lines changed: 169 additions & 30 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Currently, the framework supports the JVM, JS, WasmJS and iOS targets.
8787

8888
```
8989
dependencies {
90-
implementation("ai.koog:koog-agents:0.4.2")
90+
implementation("ai.koog:koog-agents:0.5.0")
9191
}
9292
```
9393
2. Make sure that you have `mavenCentral()` in the list of repositories.
@@ -97,7 +97,7 @@ Currently, the framework supports the JVM, JS, WasmJS and iOS targets.
9797
9898
```
9999
dependencies {
100-
implementation 'ai.koog:koog-agents:0.4.2'
100+
implementation 'ai.koog:koog-agents:0.5.0'
101101
}
102102
```
103103
2. Make sure that you have `mavenCentral()` in the list of repositories.
@@ -109,7 +109,7 @@ Currently, the framework supports the JVM, JS, WasmJS and iOS targets.
109109
<dependency>
110110
<groupId>ai.koog</groupId>
111111
<artifactId>koog-agents-jvm</artifactId>
112-
<version>0.4.2</version>
112+
<version>0.5.0</version>
113113
</dependency>
114114
```
115115
2. Make sure that you have `mavenCentral` in the list of repositories.

0 commit comments

Comments
 (0)