Skip to content

feat(transport): add category tag support to common schema announcements#73

Merged
ContextVM-org merged 1 commit into
masterfrom
feat/cep-15-t-tags
May 19, 2026
Merged

feat(transport): add category tag support to common schema announcements#73
ContextVM-org merged 1 commit into
masterfrom
feat/cep-15-t-tags

Conversation

@ContextVM-org
Copy link
Copy Markdown
Contributor

Add optional categories parameter to CommonToolSchemasOptions that enables including CEP-15 category tags in tools/list event announcements. Categories are normalized (trimmed whitespace) and deduplicated before being appended as 't' tags after the common-schema meta namespace tag. Includes unit and integration tests for the new functionality.

Add optional categories parameter to CommonToolSchemasOptions that enables
including CEP-15 category tags in tools/list event announcements. Categories
are normalized (trimmed whitespace) and deduplicated before being appended
as 't' tags after the common-schema meta namespace tag. Includes unit and
integration tests for the new functionality.
@ContextVM-org ContextVM-org requested a review from abhayguptas May 19, 2026 16:11
Copy link
Copy Markdown
Contributor

@abhayguptas abhayguptas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the implementation and ran the tests locally. The changes look clean and well-structured:

  • The optional categories parameter is fully backwards-compatible.
  • The getAnnouncementCategories helper correctly handles edge cases like trailing whitespace, empty categories, and duplication.
  • The unit and integration tests cover all paths (deduplication, tag emission order, and empty states) and pass cleanly.

Everything is good to merge on my end.

@ContextVM-org ContextVM-org merged commit 188390d into master May 19, 2026
3 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