Skip to content

Commit 3854a06

Browse files
google-labs-jules[bot]holtskinner
authored andcommitted
Jules was unable to complete the task in time. Please review the work done so far and provide feedback for Jules to continue.
1 parent f63e3cf commit 3854a06

36 files changed

+1619
-3528
lines changed

.github/actions/spelling/allow.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,20 @@ ACard
22
AClient
33
AError
44
AFast
5-
AGrpc
65
ARequest
76
ARun
87
AServer
98
AServers
10-
AService
119
AStarlette
1210
EUR
1311
GBP
1412
INR
1513
JPY
1614
JSONRPCt
1715
Llm
18-
RUF
1916
aconnect
2017
adk
2118
agentic
22-
aio
2319
autouse
2420
cla
2521
cls
@@ -29,22 +25,17 @@ coro
2925
datamodel
3026
dunders
3127
genai
32-
getkwargs
3328
gle
3429
inmemory
3530
kwarg
3631
langgraph
3732
lifecycles
3833
linting
39-
lstrips
4034
oauthoidc
4135
opensource
4236
protoc
43-
pyi
4437
pyversions
4538
socio
4639
sse
4740
tagwords
48-
taskupdate
49-
testuuid
5041
vulnz

.github/actions/spelling/excludes.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
\.zip$
8686
^\.github/actions/spelling/
8787
^\.github/workflows/
88+
^\Qsrc/a2a/auth/__init__.py\E$
89+
^\Qsrc/a2a/server/request_handlers/context.py\E$
8890
CHANGELOG.md
8991
noxfile.py
90-
^src/a2a/grpc/

.github/linters/.jscpd.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"ignore": ["**/.github/**", "**/.git/**", "**/tests/**", "**/src/a2a/grpc/**", "**/.nox/**", "**/.venv/**"],
2+
"ignore": ["**/.github/**", "**/.git/**", "**/tests/**"],
33
"threshold": 3,
44
"reporters": ["html", "markdown"]
55
}

.github/linters/.ruff.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ exclude = [
8282
"venv",
8383
"*/migrations/*",
8484
"noxfile.py",
85-
"src/a2a/grpc/**",
8685
]
8786

8887
[lint.isort]
@@ -138,14 +137,9 @@ inline-quotes = "single"
138137
"SLF001",
139138
]
140139
"types.py" = ["D", "E501", "N815"] # Ignore docstring and annotation issues in types.py
141-
"proto_utils.py" = ["D102", "PLR0911"]
142-
"helpers.py" = ["ANN001", "ANN201", "ANN202"]
143140

144141
[format]
145-
exclude = [
146-
"types.py",
147-
"src/a2a/grpc/**",
148-
]
142+
exclude = ["types.py"]
149143
docstring-code-format = true
150144
docstring-code-line-length = "dynamic" # Or set to 80
151145
quote-style = "single"

.github/workflows/linter.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,4 @@ jobs:
6464
VALIDATE_GIT_COMMITLINT: false
6565
PYTHON_MYPY_CONFIG_FILE: .mypy.ini
6666
FILTER_REGEX_INCLUDE: ".*src/**/*"
67-
FILTER_REGEX_EXCLUDE: ".*src/a2a/grpc/**/*"
6867
PYTHON_RUFF_CONFIG_FILE: .ruff.toml

CHANGELOG.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,5 @@
11
# Changelog
22

3-
## [0.2.6](https://github.com/google-a2a/a2a-python/compare/v0.2.5...v0.2.6) (2025-06-09)
4-
5-
6-
### ⚠ BREAKING CHANGES
7-
8-
* Add FastAPI JSONRPC Application ([#104](https://github.com/google-a2a/a2a-python/issues/104))
9-
10-
### Features
11-
12-
* Add FastAPI JSONRPC Application ([#104](https://github.com/google-a2a/a2a-python/issues/104)) ([0e66e1f](https://github.com/google-a2a/a2a-python/commit/0e66e1f81f98d7e2cf50b1c100e35d13ad7149dc))
13-
* Add gRPC server and client support ([#162](https://github.com/google-a2a/a2a-python/issues/162)) ([a981605](https://github.com/google-a2a/a2a-python/commit/a981605dbb32e87bd241b64bf2e9bb52831514d1))
14-
* add reject method to task_updater ([#147](https://github.com/google-a2a/a2a-python/issues/147)) ([2a6ef10](https://github.com/google-a2a/a2a-python/commit/2a6ef109f8b743f8eb53d29090cdec7df143b0b4))
15-
* Add timestamp to `TaskStatus` updates on `TaskUpdater` ([#140](https://github.com/google-a2a/a2a-python/issues/140)) ([0c9df12](https://github.com/google-a2a/a2a-python/commit/0c9df125b740b947b0e4001421256491b5f87920))
16-
* **spec:** Add an optional iconUrl field to the AgentCard 🤖 ([a1025f4](https://github.com/google-a2a/a2a-python/commit/a1025f406acd88e7485a5c0f4dd8a42488c41fa2))
17-
18-
19-
### Bug Fixes
20-
21-
* Correctly adapt starlette BaseUser to A2A User ([#133](https://github.com/google-a2a/a2a-python/issues/133)) ([88d45eb](https://github.com/google-a2a/a2a-python/commit/88d45ebd935724e6c3ad614bf503defae4de5d85))
22-
* Event consumer should stop on input_required ([#167](https://github.com/google-a2a/a2a-python/issues/167)) ([51c2d8a](https://github.com/google-a2a/a2a-python/commit/51c2d8addf9e89a86a6834e16deb9f4ac0e05cc3))
23-
* Fix Release Version ([#161](https://github.com/google-a2a/a2a-python/issues/161)) ([011d632](https://github.com/google-a2a/a2a-python/commit/011d632b27b201193813ce24cf25e28d1335d18e))
24-
* generate StrEnum types for enums ([#134](https://github.com/google-a2a/a2a-python/issues/134)) ([0c49dab](https://github.com/google-a2a/a2a-python/commit/0c49dabcdb9d62de49fda53d7ce5c691b8c1591c))
25-
* library should released as 0.2.6 ([d8187e8](https://github.com/google-a2a/a2a-python/commit/d8187e812d6ac01caedf61d4edaca522e583d7da))
26-
* remove error types from enqueable events ([#138](https://github.com/google-a2a/a2a-python/issues/138)) ([511992f](https://github.com/google-a2a/a2a-python/commit/511992fe585bd15e956921daeab4046dc4a50a0a))
27-
* **stream:** don't block event loop in EventQueue ([#151](https://github.com/google-a2a/a2a-python/issues/151)) ([efd9080](https://github.com/google-a2a/a2a-python/commit/efd9080b917c51d6e945572fd123b07f20974a64))
28-
* **task_updater:** fix potential duplicate artifact_id from default v… ([#156](https://github.com/google-a2a/a2a-python/issues/156)) ([1f0a769](https://github.com/google-a2a/a2a-python/commit/1f0a769c1027797b2f252e4c894352f9f78257ca))
29-
30-
31-
### Documentation
32-
33-
* remove final and metadata fields from docstring ([#66](https://github.com/google-a2a/a2a-python/issues/66)) ([3c50ee1](https://github.com/google-a2a/a2a-python/commit/3c50ee1f64c103a543c8afb6d2ac3a11063b0f43))
34-
* Update Links to Documentation Site ([5e7d418](https://github.com/google-a2a/a2a-python/commit/5e7d4180f7ae0ebeb76d976caa5ef68b4277ce54))
35-
363
## [0.2.5](https://github.com/google-a2a/a2a-python/compare/v0.2.4...v0.2.5) (2025-05-27)
374

385

buf.gen.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ managed:
1919
plugins:
2020
# Generate python protobuf related code
2121
# Generates *_pb2.py files, one for each .proto
22-
- remote: buf.build/protocolbuffers/python:v29.3
22+
- remote: buf.build/protocolbuffers/python
2323
out: src/a2a/grpc
2424
# Generate python service code.
2525
# Generates *_pb2_grpc.py
2626
- remote: buf.build/grpc/python
2727
out: src/a2a/grpc
28-
# Generates *_pb2.pyi files.
29-
- remote: buf.build/protocolbuffers/pyi:v29.3
30-
out: src/a2a/grpc

noxfile.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,14 @@ def format(session) -> None:
103103
}
104104
)
105105

106-
lint_paths_py = [
107-
f for f in changed_files if f.endswith('.py') and 'grpc/' not in f
108-
]
106+
lint_paths_py = [f for f in changed_files if f.endswith('.py')]
109107

110108
if not lint_paths_py:
111109
session.log('No changed Python files to lint.')
112110
return
113111

114112
session.install(
115113
'types-requests',
116-
'types-protobuf',
117114
'pyupgrade',
118115
'autoflake',
119116
'ruff',

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@ dependencies = [
1111
"fastapi>=0.115.12",
1212
"httpx>=0.28.1",
1313
"httpx-sse>=0.4.0",
14-
"google-api-core>=1.26.0",
1514
"opentelemetry-api>=1.33.0",
1615
"opentelemetry-sdk>=1.33.0",
1716
"pydantic>=2.11.3",
1817
"sse-starlette>=2.3.3",
1918
"starlette>=0.46.2",
20-
"grpcio>=1.60",
21-
"grpcio-tools>=1.60",
22-
"grpcio_reflection>=1.7.0",
2319
]
2420

2521
classifiers = [

scripts/grpc_gen_post_processor.py

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)