Skip to content

Conversation

@bokelley
Copy link
Contributor

Summary

Fixes issue #99: get_properties_by_agent() now handles all AdCP v2 authorization types (inline_properties, property_ids, property_tags, publisher_properties) and AuthorizationContext now uses the correct "property_id" schema field.

Changes

  • Extended get_properties_by_agent() to filter top-level properties by ID and tags
  • Fixed AuthorizationContext to use "property_id" instead of incorrect "id" field
  • Added 9 new tests covering all authorization types

Tests

All 70 adagents tests and full suite (387 tests) pass. Code passes linter checks.

Resolves #99 - get_properties_by_agent() now handles all AdCP v2 authorization types:
- inline_properties: Properties defined directly on the agent
- property_ids: Filter top-level properties by property_id
- property_tags: Filter top-level properties by tags
- publisher_properties: Cross-domain property selectors

Also fixes AuthorizationContext to use "property_id" field per AdCP v2 schema
instead of the incorrect "id" field.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 934f437 into main Dec 19, 2025
7 checks passed
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.

2 participants