You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(websets): validate import/scope conflicts and improve CLI help
Add validation to prevent using the same import/webset ID in both
top-level :import and search[:scope] parameters, which causes a 400
error from the API.
Improve CLI help text with:
- JSON format examples for all parameters
- Clear distinction between :import (data loading) and scope (search filtering)
- Warning about the duplicate ID constraint
- Additional examples showing scoped searches and hop searches
Changes:
- Add validate_no_duplicate_ids_in_import_and_scope! to CreateValidator
- Add comprehensive tests for duplicate ID detection
- Update webset-create help with JSON formats and important warnings
- Update webset-search-create help with JSON formats and examples
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments