From 3fed39d3d3cd2f031fbe4445ffbc0ad29f5cb59b Mon Sep 17 00:00:00 2001 From: Eden Reich Date: Sat, 18 Oct 2025 19:28:17 +0200 Subject: [PATCH 1/2] chore: Update ADL CLI version and browser configuration - Bump claude-code version from 2.0.11 to 2.0.15 in manifest.toml - Update ADL CLI version from 0.23.7 to 0.23.8 in generated workflow and configuration files - Add headless configuration option to agent.yaml and BrowserConfig struct - Update Go module dependency for inference-gateway/adk from v0.15.1 to v0.15.2 - Add BROWSER_HEADLESS variable to README for browser configuration - Refactor main.go to streamline artifact server creation Signed-off-by: Eden Reich --- .flox/env/manifest.lock | 526 ++++++++++++++++++++------------------ .flox/env/manifest.toml | 2 +- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 2 +- .releaserc.yaml | 2 +- CLAUDE.md | 4 +- README.md | 1 + Taskfile.yml | 2 +- agent.yaml | 1 + config/config.go | 3 +- go.mod | 2 +- go.sum | 4 +- internal/logger/logger.go | 2 +- main.go | 14 +- 14 files changed, 293 insertions(+), 274 deletions(-) diff --git a/.flox/env/manifest.lock b/.flox/env/manifest.lock index 7a3fd5e..78cb32a 100644 --- a/.flox/env/manifest.lock +++ b/.flox/env/manifest.lock @@ -6,7 +6,7 @@ "claude-code": { "pkg-path": "claude-code", "pkg-group": "common", - "version": "2.0.11" + "version": "2.0.15" }, "docker": { "pkg-path": "docker", @@ -39,30 +39,147 @@ "options": {} }, "packages": [ + { + "attr_path": "go", + "broken": false, + "derivation": "/nix/store/s3y2xgs6d01qvf0yhgw455ghiylmn8jy-go-1.25.0.drv", + "description": "Go Programming language", + "install_id": "go", + "license": "BSD-3-Clause", + "locked_url": "https://github.com/flox/nixpkgs?rev=8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", + "name": "go-1.25.0", + "pname": "go", + "rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", + "rev_count": 862643, + "rev_date": "2025-09-16T15:19:26Z", + "scrape_date": "2025-09-19T01:16:42.863718Z", + "stabilities": [ + "unstable" + ], + "unfree": false, + "version": "1.25.0", + "outputs_to_install": [ + "out" + ], + "outputs": { + "out": "/nix/store/cr196bvbbai01r0w11p1inkzkdrqdx6y-go-1.25.0" + }, + "system": "aarch64-darwin", + "group": "toplevel", + "priority": 5 + }, + { + "attr_path": "go", + "broken": false, + "derivation": "/nix/store/i027if1wkdbbk9vmkjf4281iqfdjzwp0-go-1.25.0.drv", + "description": "Go Programming language", + "install_id": "go", + "license": "BSD-3-Clause", + "locked_url": "https://github.com/flox/nixpkgs?rev=8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", + "name": "go-1.25.0", + "pname": "go", + "rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", + "rev_count": 862643, + "rev_date": "2025-09-16T15:19:26Z", + "scrape_date": "2025-09-19T01:49:27.458860Z", + "stabilities": [ + "unstable" + ], + "unfree": false, + "version": "1.25.0", + "outputs_to_install": [ + "out" + ], + "outputs": { + "out": "/nix/store/yhcdwwikp86p2cpq0qr7di91ji63460s-go-1.25.0" + }, + "system": "aarch64-linux", + "group": "toplevel", + "priority": 5 + }, + { + "attr_path": "go", + "broken": false, + "derivation": "/nix/store/n9i0d6pa57wr8f8yl6dymwr5wr9ndfbb-go-1.25.0.drv", + "description": "Go Programming language", + "install_id": "go", + "license": "BSD-3-Clause", + "locked_url": "https://github.com/flox/nixpkgs?rev=8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", + "name": "go-1.25.0", + "pname": "go", + "rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", + "rev_count": 862643, + "rev_date": "2025-09-16T15:19:26Z", + "scrape_date": "2025-09-19T02:01:52.625205Z", + "stabilities": [ + "unstable" + ], + "unfree": false, + "version": "1.25.0", + "outputs_to_install": [ + "out" + ], + "outputs": { + "out": "/nix/store/hz7dfw13v8iff4vf6vbnqnlnd7wh7j5x-go-1.25.0" + }, + "system": "x86_64-darwin", + "group": "toplevel", + "priority": 5 + }, + { + "attr_path": "go", + "broken": false, + "derivation": "/nix/store/pxn4bbdbwd25r02kvp7a1jp3fjykrb65-go-1.25.0.drv", + "description": "Go Programming language", + "install_id": "go", + "license": "BSD-3-Clause", + "locked_url": "https://github.com/flox/nixpkgs?rev=8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", + "name": "go-1.25.0", + "pname": "go", + "rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", + "rev_count": 862643, + "rev_date": "2025-09-16T15:19:26Z", + "scrape_date": "2025-09-19T02:33:33.507261Z", + "stabilities": [ + "unstable" + ], + "unfree": false, + "version": "1.25.0", + "outputs_to_install": [ + "out" + ], + "outputs": { + "out": "/nix/store/3fd683jfggglpshxprz9mi5sz8wd3c9p-go-1.25.0" + }, + "system": "x86_64-linux", + "group": "toplevel", + "priority": 5 + }, { "attr_path": "claude-code", "broken": false, - "derivation": "/nix/store/6r4gi8q1r2542kpymlgn0p4g4377i1qx-claude-code-2.0.11.drv", + "derivation": "/nix/store/pd51551fx0ix5f5hir4jn802fhxz1cfl-claude-code-2.0.15.drv", "description": "Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster", "install_id": "claude-code", "license": "Unfree", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "name": "claude-code-2.0.11", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "name": "claude-code-2.0.15", "pname": "claude-code", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:21:27.075015Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T03:45:06.594306Z", "stabilities": [ + "staging", "unstable" ], "unfree": true, - "version": "2.0.11", + "version": "2.0.15", "outputs_to_install": [ "out" ], "outputs": { - "out": "/nix/store/5cyzg69dpr3978wcflxp2a9ffm1ggjif-claude-code-2.0.11" + "out": "/nix/store/dc5zp9n9rkk51qi9xqw50f88klj44rlq-claude-code-2.0.15" }, "system": "aarch64-darwin", "group": "common", @@ -71,27 +188,28 @@ { "attr_path": "claude-code", "broken": false, - "derivation": "/nix/store/yk1hsvalkq61qb0qm33sb485v5qxickp-claude-code-2.0.11.drv", + "derivation": "/nix/store/06zni3dsqnspxi4xh4lhn35vd4h3kgyi-claude-code-2.0.15.drv", "description": "Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster", "install_id": "claude-code", "license": "Unfree", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "name": "claude-code-2.0.11", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "name": "claude-code-2.0.15", "pname": "claude-code", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:50:54.734691Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:18:54.534446Z", "stabilities": [ + "staging", "unstable" ], "unfree": true, - "version": "2.0.11", + "version": "2.0.15", "outputs_to_install": [ "out" ], "outputs": { - "out": "/nix/store/qii2b5p8sya7nb8k3xfva9x1bnawml5r-claude-code-2.0.11" + "out": "/nix/store/k66r677m4rrydwgn65p8qb3qijz2m76s-claude-code-2.0.15" }, "system": "aarch64-linux", "group": "common", @@ -100,27 +218,28 @@ { "attr_path": "claude-code", "broken": false, - "derivation": "/nix/store/zny03jp8xzh5rxs73dv2i91zagspyly6-claude-code-2.0.11.drv", + "derivation": "/nix/store/i432s597a09xcn577gzxykfsvg21c7kg-claude-code-2.0.15.drv", "description": "Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster", "install_id": "claude-code", "license": "Unfree", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "name": "claude-code-2.0.11", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "name": "claude-code-2.0.15", "pname": "claude-code", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:18:56.896123Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:51:46.487458Z", "stabilities": [ + "staging", "unstable" ], "unfree": true, - "version": "2.0.11", + "version": "2.0.15", "outputs_to_install": [ "out" ], "outputs": { - "out": "/nix/store/rh70shba2mal6k1944gjagbk0ckcv8y3-claude-code-2.0.11" + "out": "/nix/store/ranlrhsnb31x3kvz668irzz7qd19970v-claude-code-2.0.15" }, "system": "x86_64-darwin", "group": "common", @@ -129,27 +248,28 @@ { "attr_path": "claude-code", "broken": false, - "derivation": "/nix/store/43n47dqa9kh0ikhy0yjjwsj9pbyqbnqb-claude-code-2.0.11.drv", + "derivation": "/nix/store/1n2di3bkh0cgknlvf5f34vf85v85ygmq-claude-code-2.0.15.drv", "description": "Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster", "install_id": "claude-code", "license": "Unfree", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "name": "claude-code-2.0.11", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "name": "claude-code-2.0.15", "pname": "claude-code", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:50:01.610874Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T05:27:15.222623Z", "stabilities": [ + "staging", "unstable" ], "unfree": true, - "version": "2.0.11", + "version": "2.0.15", "outputs_to_install": [ "out" ], "outputs": { - "out": "/nix/store/9vq4agfc1d9rs91q5qag97nhvf4rhlzs-claude-code-2.0.11" + "out": "/nix/store/w60f3wy1vnvi93j49xnpskrh0hr5sdfm-claude-code-2.0.15" }, "system": "x86_64-linux", "group": "common", @@ -158,18 +278,19 @@ { "attr_path": "docker", "broken": false, - "derivation": "/nix/store/fwgcm6050dr5db3a6d1c85r6kck35zcj-docker-28.4.0.drv", + "derivation": "/nix/store/kmdjv81nhm68grfrmvwcbbic13c74fr5-docker-28.4.0.drv", "description": "Open source project to pack, ship and run any application as a lightweight container", "install_id": "docker", "license": "Apache-2.0", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "docker-28.4.0", "pname": "docker", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:21:27.324277Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T03:45:06.864897Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -178,7 +299,7 @@ "out" ], "outputs": { - "out": "/nix/store/xyy451lk3xj8dhxvnyd800zysq1ddj5b-docker-28.4.0" + "out": "/nix/store/bnvsfm00pfigq7mfra4ychhpzkixm37g-docker-28.4.0" }, "system": "aarch64-darwin", "group": "common", @@ -187,18 +308,19 @@ { "attr_path": "docker", "broken": false, - "derivation": "/nix/store/dhb6a4yvsasj01p7zcwasryga11gbwpq-docker-28.4.0.drv", + "derivation": "/nix/store/s7fsnbsahz2wnryhdb8nzl096wvgg9xz-docker-28.4.0.drv", "description": "Open source project to pack, ship and run any application as a lightweight container", "install_id": "docker", "license": "Apache-2.0", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "docker-28.4.0", "pname": "docker", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:50:55.104175Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:18:54.929696Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -207,7 +329,7 @@ "out" ], "outputs": { - "out": "/nix/store/a91qym7a627yjqcsicvyb2wzclbdab14-docker-28.4.0" + "out": "/nix/store/6a6jlpi39n13614qkxsrcw7fj8wg2rpf-docker-28.4.0" }, "system": "aarch64-linux", "group": "common", @@ -216,18 +338,19 @@ { "attr_path": "docker", "broken": false, - "derivation": "/nix/store/0in9bn0wha54npyhyhnrnqcsjcwi4xmb-docker-28.4.0.drv", + "derivation": "/nix/store/8lvk4g4n1iz51sspi0hiypiq13z069vy-docker-28.4.0.drv", "description": "Open source project to pack, ship and run any application as a lightweight container", "install_id": "docker", "license": "Apache-2.0", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "docker-28.4.0", "pname": "docker", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:18:57.149335Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:51:46.743709Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -236,7 +359,7 @@ "out" ], "outputs": { - "out": "/nix/store/f8l3ldvsqfw9nmkvwhhvi4aipc8j9faz-docker-28.4.0" + "out": "/nix/store/g1da19zv5n6riyj3dlqp9agjrwh4xnr6-docker-28.4.0" }, "system": "x86_64-darwin", "group": "common", @@ -245,18 +368,19 @@ { "attr_path": "docker", "broken": false, - "derivation": "/nix/store/l41s4z3lc4g42a0nil5wjznk9fl92gvs-docker-28.4.0.drv", + "derivation": "/nix/store/qgf2w3ggq1gm50vl8vmcqk7kvzlza8n1-docker-28.4.0.drv", "description": "Open source project to pack, ship and run any application as a lightweight container", "install_id": "docker", "license": "Apache-2.0", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "docker-28.4.0", "pname": "docker", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:50:02.050980Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T05:27:15.648449Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -265,7 +389,7 @@ "out" ], "outputs": { - "out": "/nix/store/asbv7v4n39zilgcwk6skxzcqp0cdlgmp-docker-28.4.0" + "out": "/nix/store/x0zyq8g4b0d3plfnrf1qh532mnv6z5ql-docker-28.4.0" }, "system": "x86_64-linux", "group": "common", @@ -274,18 +398,19 @@ { "attr_path": "git", "broken": false, - "derivation": "/nix/store/113j7h886mmg1fv58ck36kk1az0frkxm-git-2.51.0.drv", + "derivation": "/nix/store/alarac2z10z2bfr5zx4skss0d38k94n0-git-2.51.0.drv", "description": "Distributed version control system", "install_id": "git", "license": "GPL-2.0", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "git-2.51.0", "pname": "git", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:21:27.799372Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T03:45:07.337410Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -304,18 +429,19 @@ { "attr_path": "git", "broken": false, - "derivation": "/nix/store/82mdrgy5jdmvbc2rcl8aw7xw0harfzxs-git-2.51.0.drv", + "derivation": "/nix/store/ywrhkqhqf8dg3wzfd6335lah1igwg412-git-2.51.0.drv", "description": "Distributed version control system", "install_id": "git", "license": "GPL-2.0", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "git-2.51.0", "pname": "git", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:50:55.851322Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:18:55.711359Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -335,18 +461,19 @@ { "attr_path": "git", "broken": false, - "derivation": "/nix/store/s05kvkqqz9ixgk214jy0ps9xlg9hg7pd-git-2.51.0.drv", + "derivation": "/nix/store/c3w6v28dx8fjlaxh4hjh3zh50227l154-git-2.51.0.drv", "description": "Distributed version control system", "install_id": "git", "license": "GPL-2.0", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "git-2.51.0", "pname": "git", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:18:57.617044Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:51:47.215018Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -365,18 +492,19 @@ { "attr_path": "git", "broken": false, - "derivation": "/nix/store/4s61qmikkq6gzpg7lrrihy1a9fl8yki6-git-2.51.0.drv", + "derivation": "/nix/store/kmf6mkrlzydmibx8gvqvhmfv6xxqqh7f-git-2.51.0.drv", "description": "Distributed version control system", "install_id": "git", "license": "GPL-2.0", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "git-2.51.0", "pname": "git", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:50:02.956662Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T05:27:16.512203Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -396,18 +524,19 @@ { "attr_path": "go-task", "broken": false, - "derivation": "/nix/store/h1d5rfq8yi6k2s5918w8dn86vm62yhwd-go-task-3.45.4.drv", + "derivation": "/nix/store/kw6cdydcp5q7a70dn0p0jmwqbpmhl0lh-go-task-3.45.4.drv", "description": "Task runner / simpler Make alternative written in Go", "install_id": "go-task", "license": "MIT", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "go-task-3.45.4", "pname": "go-task", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:21:28.484042Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T03:45:07.470789Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -425,18 +554,19 @@ { "attr_path": "go-task", "broken": false, - "derivation": "/nix/store/vn3qh9mii3v4cv4f0mncfvy0kdfkf6lz-go-task-3.45.4.drv", + "derivation": "/nix/store/lsmajj2wbailhin4qcma6iyy5ppgrhsj-go-task-3.45.4.drv", "description": "Task runner / simpler Make alternative written in Go", "install_id": "go-task", "license": "MIT", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "go-task-3.45.4", "pname": "go-task", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:50:56.379426Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:18:56.254871Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -454,18 +584,19 @@ { "attr_path": "go-task", "broken": false, - "derivation": "/nix/store/jcr2i65xrvziymns6rzhmnj3ab0z2r20-go-task-3.45.4.drv", + "derivation": "/nix/store/fhrqghvj596dc73dyxx64in2057vmdyw-go-task-3.45.4.drv", "description": "Task runner / simpler Make alternative written in Go", "install_id": "go-task", "license": "MIT", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "go-task-3.45.4", "pname": "go-task", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:18:57.780231Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:51:47.379545Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -483,18 +614,19 @@ { "attr_path": "go-task", "broken": false, - "derivation": "/nix/store/wws6cf383gnl95rfg7cmg0l59kkpvyks-go-task-3.45.4.drv", + "derivation": "/nix/store/w3rmsajxcs67f5m9ka1l7n2fxjlmqzhb-go-task-3.45.4.drv", "description": "Task runner / simpler Make alternative written in Go", "install_id": "go-task", "license": "MIT", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "go-task-3.45.4", "pname": "go-task", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:50:03.550032Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T05:27:17.103274Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -512,18 +644,19 @@ { "attr_path": "golangci-lint", "broken": false, - "derivation": "/nix/store/hxn6gkj7a25z2bjfc12y4s42mp00vlnf-golangci-lint-2.5.0.drv", + "derivation": "/nix/store/lmv1np722c9naz5rs4z5xdirs9bn0rcw-golangci-lint-2.5.0.drv", "description": "Fast linters Runner for Go", "install_id": "golangci-lint", "license": "GPL-3.0-or-later", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "golangci-lint-2.5.0", "pname": "golangci-lint", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:21:28.513062Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T03:45:07.500686Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -541,18 +674,19 @@ { "attr_path": "golangci-lint", "broken": false, - "derivation": "/nix/store/gh5nc3kip60hd3jn9qqrfry16vc2bvbr-golangci-lint-2.5.0.drv", + "derivation": "/nix/store/2c02hpgbfz9fxbygsgjsjk7bzkj0ll4s-golangci-lint-2.5.0.drv", "description": "Fast linters Runner for Go", "install_id": "golangci-lint", "license": "GPL-3.0-or-later", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "golangci-lint-2.5.0", "pname": "golangci-lint", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T01:50:56.436086Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:18:56.312362Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -570,18 +704,19 @@ { "attr_path": "golangci-lint", "broken": false, - "derivation": "/nix/store/1wj7ic62v0pxq01m9gqi5hmr28s2d01x-golangci-lint-2.5.0.drv", + "derivation": "/nix/store/gspax48ywr8m3v55x5k6i5b451brz58v-golangci-lint-2.5.0.drv", "description": "Fast linters Runner for Go", "install_id": "golangci-lint", "license": "GPL-3.0-or-later", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "golangci-lint-2.5.0", "pname": "golangci-lint", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:18:57.810091Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T04:51:47.409339Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -599,18 +734,19 @@ { "attr_path": "golangci-lint", "broken": false, - "derivation": "/nix/store/5kw31k8i7bn4f8ibidmb84z8ds6z6sxs-golangci-lint-2.5.0.drv", + "derivation": "/nix/store/hzcckqldkcd4kpjyx76l5xa5cv8lbxam-golangci-lint-2.5.0.drv", "description": "Fast linters Runner for Go", "install_id": "golangci-lint", "license": "GPL-3.0-or-later", - "locked_url": "https://github.com/flox/nixpkgs?rev=0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "locked_url": "https://github.com/flox/nixpkgs?rev=544961dfcce86422ba200ed9a0b00dd4b1486ec5", "name": "golangci-lint-2.5.0", "pname": "golangci-lint", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", - "rev_count": 875086, - "rev_date": "2025-10-09T19:42:10Z", - "scrape_date": "2025-10-11T02:50:03.609721Z", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", + "rev_count": 878042, + "rev_date": "2025-10-15T10:27:37Z", + "scrape_date": "2025-10-17T05:27:17.163108Z", "stabilities": [ + "staging", "unstable" ], "unfree": false, @@ -624,122 +760,6 @@ "system": "x86_64-linux", "group": "common", "priority": 5 - }, - { - "attr_path": "go", - "broken": false, - "derivation": "/nix/store/s3y2xgs6d01qvf0yhgw455ghiylmn8jy-go-1.25.0.drv", - "description": "Go Programming language", - "install_id": "go", - "license": "BSD-3-Clause", - "locked_url": "https://github.com/flox/nixpkgs?rev=8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", - "name": "go-1.25.0", - "pname": "go", - "rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", - "rev_count": 862643, - "rev_date": "2025-09-16T15:19:26Z", - "scrape_date": "2025-09-19T01:16:42.863718Z", - "stabilities": [ - "unstable" - ], - "unfree": false, - "version": "1.25.0", - "outputs_to_install": [ - "out" - ], - "outputs": { - "out": "/nix/store/cr196bvbbai01r0w11p1inkzkdrqdx6y-go-1.25.0" - }, - "system": "aarch64-darwin", - "group": "toplevel", - "priority": 5 - }, - { - "attr_path": "go", - "broken": false, - "derivation": "/nix/store/i027if1wkdbbk9vmkjf4281iqfdjzwp0-go-1.25.0.drv", - "description": "Go Programming language", - "install_id": "go", - "license": "BSD-3-Clause", - "locked_url": "https://github.com/flox/nixpkgs?rev=8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", - "name": "go-1.25.0", - "pname": "go", - "rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", - "rev_count": 862643, - "rev_date": "2025-09-16T15:19:26Z", - "scrape_date": "2025-09-19T01:49:27.458860Z", - "stabilities": [ - "unstable" - ], - "unfree": false, - "version": "1.25.0", - "outputs_to_install": [ - "out" - ], - "outputs": { - "out": "/nix/store/yhcdwwikp86p2cpq0qr7di91ji63460s-go-1.25.0" - }, - "system": "aarch64-linux", - "group": "toplevel", - "priority": 5 - }, - { - "attr_path": "go", - "broken": false, - "derivation": "/nix/store/n9i0d6pa57wr8f8yl6dymwr5wr9ndfbb-go-1.25.0.drv", - "description": "Go Programming language", - "install_id": "go", - "license": "BSD-3-Clause", - "locked_url": "https://github.com/flox/nixpkgs?rev=8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", - "name": "go-1.25.0", - "pname": "go", - "rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", - "rev_count": 862643, - "rev_date": "2025-09-16T15:19:26Z", - "scrape_date": "2025-09-19T02:01:52.625205Z", - "stabilities": [ - "unstable" - ], - "unfree": false, - "version": "1.25.0", - "outputs_to_install": [ - "out" - ], - "outputs": { - "out": "/nix/store/hz7dfw13v8iff4vf6vbnqnlnd7wh7j5x-go-1.25.0" - }, - "system": "x86_64-darwin", - "group": "toplevel", - "priority": 5 - }, - { - "attr_path": "go", - "broken": false, - "derivation": "/nix/store/pxn4bbdbwd25r02kvp7a1jp3fjykrb65-go-1.25.0.drv", - "description": "Go Programming language", - "install_id": "go", - "license": "BSD-3-Clause", - "locked_url": "https://github.com/flox/nixpkgs?rev=8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", - "name": "go-1.25.0", - "pname": "go", - "rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", - "rev_count": 862643, - "rev_date": "2025-09-16T15:19:26Z", - "scrape_date": "2025-09-19T02:33:33.507261Z", - "stabilities": [ - "unstable" - ], - "unfree": false, - "version": "1.25.0", - "outputs_to_install": [ - "out" - ], - "outputs": { - "out": "/nix/store/3fd683jfggglpshxprz9mi5sz8wd3c9p-go-1.25.0" - }, - "system": "x86_64-linux", - "group": "toplevel", - "priority": 5 } ] } \ No newline at end of file diff --git a/.flox/env/manifest.toml b/.flox/env/manifest.toml index 24ac356..4b9f75e 100644 --- a/.flox/env/manifest.toml +++ b/.flox/env/manifest.toml @@ -22,7 +22,7 @@ docker.pkg-group = "common" claude-code.pkg-path = "claude-code" claude-code.pkg-group = "common" -claude-code.version = "2.0.11" +claude-code.version = "2.0.15" [hook] on-activate = ''' diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 529eb4f..fff038c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,4 +1,4 @@ -# Code generated by ADL CLI v0.23.7. DO NOT EDIT. +# Code generated by ADL CLI v0.23.8. DO NOT EDIT. # This file was automatically generated from an ADL (Agent Definition Language) specification. # Manual changes to this file may be overwritten during regeneration. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcc4dbb..a010280 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# Code generated by ADL CLI v0.23.7. DO NOT EDIT. +# Code generated by ADL CLI v0.23.8. DO NOT EDIT. # This file was automatically generated from an ADL (Agent Definition Language) specification. # Manual changes to this file may be overwritten during regeneration. diff --git a/.releaserc.yaml b/.releaserc.yaml index 3b15f7b..0eafc62 100644 --- a/.releaserc.yaml +++ b/.releaserc.yaml @@ -1,4 +1,4 @@ -# Code generated by ADL CLI v0.23.7. DO NOT EDIT. +# Code generated by ADL CLI v0.23.8. DO NOT EDIT. # This file was automatically generated from an ADL (Agent Definition Language) specification. # Manual changes to this file may be overwritten during regeneration. diff --git a/CLAUDE.md b/CLAUDE.md index b19aaec..e6e538a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -10,7 +10,7 @@ browser-agent is an A2A (Agent-to-Agent) server implementing the [A2A Protocol]( ### ADL-Generated Structure -The codebase is generated using ADL CLI 0.23.7 and follows a strict generation pattern: +The codebase is generated using ADL CLI 0.23.8 and follows a strict generation pattern: - **Generated Files**: Marked with `DO NOT EDIT` headers - manual changes will be overwritten - **Configuration Source**: `agent.yaml` - defines agent capabilities, skills, and metadata - **Server Implementation**: Built on the ADK (Agent Development Kit) framework from `github.com/inference-gateway/adk` @@ -117,7 +117,7 @@ Activate with: `flox activate` (if Flox is installed) - **Generated Files**: Never manually edit files with "DO NOT EDIT" headers - **Configuration Changes**: Always modify `agent.yaml` and regenerate -- **ADL Version**: Ensure ADL CLI 0.23.7 or compatible version for regeneration +- **ADL Version**: Ensure ADL CLI 0.23.8 or compatible version for regeneration - **Port Configuration**: Default 8080, configurable via `A2A_PORT` or `A2A_SERVER_PORT` ## Debugging Tips diff --git a/README.md b/README.md index b7ccaa9..5ee349e 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,7 @@ The following custom configuration variables are available: | **Browser** | `BROWSER_HEADER_CONNECTION` | Header_connection configuration | `keep-alive` | | **Browser** | `BROWSER_HEADER_DNT` | Header_dnt configuration | `1` | | **Browser** | `BROWSER_HEADER_UPGRADE_INSECURE_REQUESTS` | Header_upgrade_insecure_requests configuration | `1` | +| **Browser** | `BROWSER_HEADLESS` | Headless configuration | `true` | | **Browser** | `BROWSER_USER_AGENT` | User_agent configuration | `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36` | | **Browser** | `BROWSER_VIEWPORT_HEIGHT` | Viewport_height configuration | `1080` | | **Browser** | `BROWSER_VIEWPORT_WIDTH` | Viewport_width configuration | `1920` | diff --git a/Taskfile.yml b/Taskfile.yml index 2af2182..20861c6 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1,4 +1,4 @@ -# Code generated by ADL CLI v0.23.7. DO NOT EDIT. +# Code generated by ADL CLI v0.23.8. DO NOT EDIT. # This file was automatically generated from an ADL (Agent Definition Language) specification. # Manual changes to this file may be overwritten during regeneration. diff --git a/agent.yaml b/agent.yaml index 2a6ad85..3f82e53 100644 --- a/agent.yaml +++ b/agent.yaml @@ -11,6 +11,7 @@ spec: stateTransitionHistory: false config: browser: + headless: true user_agent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" viewport_width: 1920 viewport_height: 1080 diff --git a/config/config.go b/config/config.go index 24a21ef..82f40bb 100644 --- a/config/config.go +++ b/config/config.go @@ -1,4 +1,4 @@ -// Code generated by ADL CLI v0.23.7. DO NOT EDIT. +// Code generated by ADL CLI v0.23.8. DO NOT EDIT. // This file was automatically generated from an ADL (Agent Definition Language) specification. // Manual changes to this file may be overwritten during regeneration. @@ -30,6 +30,7 @@ type BrowserConfig struct { HeaderConnection string `env:"HEADER_CONNECTION,default=keep-alive"` HeaderDnt string `env:"HEADER_DNT,default=1"` HeaderUpgradeInsecureRequests string `env:"HEADER_UPGRADE_INSECURE_REQUESTS,default=1"` + Headless bool `env:"HEADLESS,default=true"` UserAgent string `env:"USER_AGENT,default=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"` ViewportHeight string `env:"VIEWPORT_HEIGHT,default=1080"` ViewportWidth string `env:"VIEWPORT_WIDTH,default=1920"` diff --git a/go.mod b/go.mod index f94bcca..fecf410 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/inference-gateway/browser-agent go 1.25 require ( - github.com/inference-gateway/adk v0.15.1 + github.com/inference-gateway/adk v0.15.2 github.com/playwright-community/playwright-go v0.5200.1 github.com/sethvargo/go-envconfig v1.3.0 github.com/stretchr/testify v1.10.0 diff --git a/go.sum b/go.sum index e7b1cf4..5303cfc 100644 --- a/go.sum +++ b/go.sum @@ -65,8 +65,8 @@ github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/inference-gateway/adk v0.15.1 h1:ssJhQU4DTWE3lKrOnQ6HnMSGgUP6jfAi0wdVQe1xUyA= -github.com/inference-gateway/adk v0.15.1/go.mod h1:Eh91HM5d3R0I5OOAh3YNUqZCJBBdGPHrKBALnVL8dl0= +github.com/inference-gateway/adk v0.15.2 h1:DaMiXlXUeY4/LidlhWWO6xWHNIsH+vCxifvi9VM095M= +github.com/inference-gateway/adk v0.15.2/go.mod h1:Eh91HM5d3R0I5OOAh3YNUqZCJBBdGPHrKBALnVL8dl0= github.com/inference-gateway/sdk v1.10.0 h1:88m1XTS5J7Q9+sFaKXKHAPXdDpji6SASXVWz2pe8ZFk= github.com/inference-gateway/sdk v1.10.0/go.mod h1:3TTD7Kbr7FRt+9ZbCPAm3u0tXUIWx7flZuwrRgZgrdk= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= diff --git a/internal/logger/logger.go b/internal/logger/logger.go index 21f1009..cd9f319 100644 --- a/internal/logger/logger.go +++ b/internal/logger/logger.go @@ -1,4 +1,4 @@ -// Code generated by ADL CLI v0.23.7. DO NOT EDIT. +// Code generated by ADL CLI v0.23.8. DO NOT EDIT. // This file was automatically generated from an ADL (Agent Definition Language) specification. // Manual changes to this file may be overwritten during regeneration. diff --git a/main.go b/main.go index f9cfc43..77ec0cb 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -// Code generated by ADL CLI v0.23.7. DO NOT EDIT. +// Code generated by ADL CLI v0.23.8. DO NOT EDIT. // This file was automatically generated from an ADL (Agent Definition Language) specification. // Manual changes to this file may be overwritten during regeneration. @@ -158,6 +158,7 @@ Your automation solutions should be maintainable, efficient, and production-read artifactsServer, err := server. NewArtifactsServerBuilder(&cfg.A2A.ArtifactsConfig, l). + WithArtifactService(artifactService). Build() if err != nil { l.Warn("artifacts server could not be created", zap.Error(err)) @@ -165,20 +166,15 @@ Your automation solutions should be maintainable, efficient, and production-read artifactsServer = nil } - serverBuilder := server.NewA2AServerBuilder(cfg.A2A, l). + a2aServer, err := server.NewA2AServerBuilder(cfg.A2A, l). WithAgent(agent). WithAgentCardFromFile(".well-known/agent-card.json", map[string]any{ "name": AgentName, "version": Version, "description": AgentDescription, "url": cfg.A2A.AgentURL, - }) - - if artifactService != nil { - serverBuilder = serverBuilder.WithArtifactService(artifactService) - } - - a2aServer, err := serverBuilder. + }). + WithArtifactService(artifactService). WithDefaultBackgroundTaskHandler(). WithDefaultStreamingTaskHandler(). Build() From d149a864d4f5df7f3460248c68b9939df4faaebb Mon Sep 17 00:00:00 2001 From: Eden Reich Date: Sat, 18 Oct 2025 19:31:55 +0200 Subject: [PATCH 2/2] fix: Use headless configuration from environment variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix hardcoded headless value in NewBrowserConfigFromConfig function - Now properly reads BROWSER_HEADLESS environment variable - Allows users to disable headless mode for debugging and development - All tests pass successfully 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- internal/playwright/playwright.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/playwright/playwright.go b/internal/playwright/playwright.go index ebcf631..158dacf 100644 --- a/internal/playwright/playwright.go +++ b/internal/playwright/playwright.go @@ -89,7 +89,7 @@ func NewBrowserConfigFromConfig(cfg *config.Config) *BrowserConfig { return &BrowserConfig{ Engine: Chromium, - Headless: true, + Headless: cfg.Browser.Headless, Timeout: 30 * time.Second, ViewportWidth: width, ViewportHeight: height,