fe1aca5770
## File/data Parts (v1.0 unified Part) - file_part(url=, raw=, filename=, media_type=) builds v1.0 file Parts - data_part(data, media_type=) builds v1.0 data Parts - message_with_parts(role, parts, context_id=) builds Messages with mixed Part types - extract_text now renders file/data Parts into the text stream: - File with URL: '[file: name] https://url (mediaType)' - File with raw: '[file: name] N bytes base64-encoded (mediaType)' - Data: '[data (mediaType)]\n{json}' - v0.3 file (file.fileWithUri) and data (kind=data) still accepted - Outbound replies stay text-only (agent produces text) ## Push notification config full CRUD - get_push_config(task_id, config_id) — retrieve by task, optionally by configId - list_push_configs(task_id) — list all configs for a task (max 1 per task) - delete_push_config(task_id, config_id) — remove a config - New JSON-RPC methods: tasks/pushNotificationConfig/get, /list, /delete - New adapter handlers: _rpc_push_config_get, _list, _delete - All return spec-shaped PushNotificationConfig with configId + createdAt ## Tests - 6 new unit tests for Part builders + extract_text with file/data - 13 new unit tests for push config get/list/delete (happy + error paths) - 2 new integration tests over real HTTP: - test_mixed_parts_delivered_to_agent: file URL + data JSON reach agent - test_push_config_crud_over_http: full create→get→list→delete cycle - Old test_extract_text_skips_non_text_parts replaced (now renders, not skips) Total: 151 tests (134 unit + 17 integration), 0 failed. DESIGN.md updated: file/data Parts and push config CRUD removed from out-of-scope list.