refactor(skills): filter search JSON output to stable CLI fields only#54
Conversation
Transform the skill search schema to expose only stable CLI fields (description, name, packageName, packageVersion, skillDisplayName) and drop server-internal fields (icon, owner, when). - Rename `title` to `skillDisplayName` in JSON output via zod transform - Remove `.passthrough()` to prevent leaking unknown server fields - Add test coverage for `--json` alias and field filtering - Update documentation to describe the stable output contract Signed-off-by: Kevin Cui <bh@bugs.cc>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
Summary by CodeRabbitThe
WalkthroughThe pull request modifies the Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Transform the skill search schema to expose only stable CLI fields (description, name, packageName, packageVersion, skillDisplayName) and drop server-internal fields (icon, owner, when).
titletoskillDisplayNamein JSON output via zod transform.passthrough()to prevent leaking unknown server fields--jsonalias and field filtering