a2aproject / a2aproject/a2a-samples

Usage of deprecated `A2AExpressApp` in the JS examples

Open
#427 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.8k
Forks
751
PR merge metrics
No merged PRs in 30d

Description

### What happened?

The `samples/js` samples uses the `A2AExpressApp` which is now deprecated
```
// 4. Create and setup A2AExpressApp
const appBuilder = new A2AExpressApp(requestHandler);
const expressApp = appBuilder.setupRoutes(express());
```

The hint is to use:
```
Deprecated:
Use specific middlewares (jsonRpcHandler, agentCardHandler) directly.
```

TODO:
The examples should be updated to align with the newest package version `v0.3.7`.

### Relevant log output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.