Skip to content

Commit 4aa1273

Browse files
authored
refactor: Update ADL CLI version to 0.21.6 and modify agent metadata file references (#8)
* refactor: Update ADL CLI version to 0.21.6 and modify agent metadata file references Signed-off-by: Eden Reich <[email protected]> * refactor: Remove deprecated agent metadata file Signed-off-by: Eden Reich <[email protected]> --------- Signed-off-by: Eden Reich <[email protected]>
1 parent 232adb1 commit 4aa1273

File tree

14 files changed

+21
-21
lines changed

14 files changed

+21
-21
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ k8s/*.yaml linguist-generated=true
2020
k8s/*.yml linguist-generated=true
2121

2222
# Agent capabilities
23-
.well-known/agent.json linguist-generated=true
23+
.well-known/agent-card.json linguist-generated=true
2424

2525
# Documentation (partially generated)
2626
README.md linguist-documentation=true

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.gitignore

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.releaserc.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ This agent provides 2 skills:
8080

8181
The agent exposes the following HTTP endpoints:
8282

83-
- `GET /.well-known/agent.json` - Agent metadata and capabilities
83+
- `GET /.well-known/agent-card.json` - Agent metadata and capabilities
8484
- `POST /skills/{skill_name}` - Execute a specific skill
8585
- `GET /skills/{skill_name}/stream` - Stream skill execution results
8686
- `GET /history` - Retrieve agent state transition history
@@ -125,7 +125,7 @@ The agent implements the A2A protocol and can be communicated with via HTTP requ
125125

126126
```bash
127127
# Get agent information
128-
curl http://localhost:8080/.well-known/agent.json
128+
curl http://localhost:8080/.well-known/agent-card.json
129129

130130

131131

@@ -175,7 +175,7 @@ docker run -p 8080:8080 documentation-agent
175175
│ └── get_library_docs.go # Fetches up-to-date documentation for a library using Context7-compatible library ID
176176
177177
├── .well-known/ # Agent configuration
178-
│ └── agent.json # Agent metadata
178+
│ └── agent-card.json # Agent metadata
179179
├── go.mod # Go module definition
180180
└── README.md # Project documentation
181181
```

CLAUDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ documentation-agent is an A2A (Agent-to-Agent) server implementing the [A2A Prot
1010

1111
### ADL-Generated Structure
1212

13-
The codebase is generated using ADL CLI 0.21.4 and follows a strict generation pattern:
13+
The codebase is generated using ADL CLI 0.21.6 and follows a strict generation pattern:
1414
- **Generated Files**: Marked with `DO NOT EDIT` headers - manual changes will be overwritten
1515
- **Configuration Source**: `agent.yaml` - defines agent capabilities, skills, and metadata
1616
- **Server Implementation**: Built on the ADK (Agent Development Kit) framework from `github.com/inference-gateway/adk`
@@ -23,7 +23,7 @@ The codebase is generated using ADL CLI 0.21.4 and follows a strict generation p
2323
- A2A server with streaming and background task handlers
2424
- Graceful shutdown handling
2525

26-
- **Agent Configuration**: `.well-known/agent.json` - Serves agent metadata at runtime
26+
- **Agent Configuration**: `.well-known/agent-card.json` - Serves agent metadata at runtime
2727
- **Environment Configuration**: Extensive env vars with `A2A_` prefix (see README for full list)
2828

2929
## Development Commands
@@ -111,13 +111,13 @@ Activate with: `flox activate` (if Flox is installed)
111111

112112
- **Generated Files**: Never manually edit files with "DO NOT EDIT" headers
113113
- **Configuration Changes**: Always modify `agent.yaml` and regenerate
114-
- **ADL Version**: Ensure ADL CLI 0.21.4 or compatible version for regeneration
114+
- **ADL Version**: Ensure ADL CLI 0.21.6 or compatible version for regeneration
115115
- **Port Configuration**: Default 8080, configurable via `A2A_PORT` or `A2A_SERVER_PORT`
116116

117117
## Debugging Tips
118118

119119
- Enable debug mode: `A2A_DEBUG=true`
120120
- Check health: `GET /health`
121-
- View agent metadata: `GET /.well-known/agent.json`
121+
- View agent metadata: `GET /.well-known/agent-card.json`
122122
- Monitor streaming updates: Set `A2A_STREAMING_STATUS_UPDATE_INTERVAL`
123123
- Use A2A Debugger container for interactive testing

Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ docker run -p 8080:8080 documentation-agent
3434

3535
## Endpoints
3636

37-
- `GET /.well-known/agent.json` - Agent metadata and capabilities
37+
- `GET /.well-known/agent-card.json` - Agent metadata and capabilities
3838
- `GET /health` - Health check endpoint
3939
- `POST /a2a` - A2A protocol endpoint
4040

@@ -59,7 +59,7 @@ Configure the agent via environment variables:
5959
| **Server** | `A2A_SERVER_WRITE_TIMEOUT` | HTTP server write timeout | `120s` |
6060
| **Server** | `A2A_SERVER_IDLE_TIMEOUT` | HTTP server idle timeout | `120s` |
6161
| **Server** | `A2A_SERVER_DISABLE_HEALTHCHECK_LOG` | Disable logging for health check requests | `true` |
62-
| **Agent Metadata** | `A2A_AGENT_CARD_FILE_PATH` | Path to agent card JSON file | `.well-known/agent.json` |
62+
| **Agent Metadata** | `A2A_AGENT_CARD_FILE_PATH` | Path to agent card JSON file | `.well-known/agent-card.json` |
6363
| **LLM Client** | `A2A_AGENT_CLIENT_PROVIDER` | LLM provider (`openai`, `anthropic`, `azure`, `ollama`, `deepseek`) |`` |
6464
| **LLM Client** | `A2A_AGENT_CLIENT_MODEL` | Model to use |`` |
6565
| **LLM Client** | `A2A_AGENT_CLIENT_API_KEY` | API key for LLM provider | - |

0 commit comments

Comments
 (0)