Skip to content

Conversation

edenreich
Copy link
Contributor

Implements the requested artifact download functionality for issue #16.

Features

  • New a2a artifacts download --task-id <task_id> command
  • Optional --artifact-id <artifact_id> flag to download specific artifacts
  • Configurable output directory with --output/-o flag (defaults to ./downloads)
  • Support for text, file, and data artifact part types
  • Proper error handling and user-friendly output messages
  • Comprehensive test coverage

Implementation Details

The command follows existing CLI patterns and architectural conventions, using the A2A ADK client to retrieve task data and extract artifacts for local storage.

Closes #16

Generated with Claude Code

claude bot and others added 2 commits October 6, 2025 14:05
Implements the requested artifact download functionality with the following features:

- New `a2a artifacts download --task-id <task_id>` command
- Optional `--artifact-id <artifact_id>` flag to download specific artifacts
- Configurable output directory with `--output/-o` flag (defaults to ./downloads)
- Support for text, file, and data artifact part types
- Proper error handling and user-friendly output messages
- Comprehensive test coverage with multiple test scenarios
- Follows existing CLI patterns and architectural conventions

The command retrieves task artifacts through the A2A API, processes different
part types appropriately, and organizes downloaded content in structured
directories for easy access.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Eden Reich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Implement artifacts download --task-id <task_id> command

1 participant