
GlucksbergandClaude Opus 4.5
b56587f26e
fix: address code review findings for plugin command API
Blockers fixed:
- Fix documentation: requireAuth defaults to true (not false)
- Add command name validation (must start with letter, alphanumeric only)
- Add reserved commands list to prevent shadowing built-in commands
- Emit diagnostic errors for invalid/duplicate command registration
Other improvements:
- Return user-friendly message for unauthorized commands (instead of silence)
- Sanitize error messages to avoid leaking internal details
- Document acceptsArgs behavior when arguments are provided
- Add notes about reserved commands and validation rules to docs
Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-24 06:28:22 +00:00
..
2026-01-24 06:24:04 +00:00
2026-01-24 06:28:22 +00:00
2026-01-24 04:41:28 +00:00
2026-01-22 08:48:09 +00:00
2026-01-24 05:49:39 +00:00
2026-01-24 04:53:44 +00:00
2026-01-24 05:49:39 +00:00
2026-01-24 05:49:39 +00:00
2026-01-23 09:06:04 +00:00
2026-01-24 04:36:52 +00:00
2026-01-23 23:34:30 +00:00
2026-01-24 06:28:22 +00:00
2026-01-23 04:01:26 +00:00
2026-01-23 23:34:30 +00:00
2026-01-24 04:53:34 +00:00
2026-01-24 05:06:42 +00:00
2026-01-23 18:39:25 +00:00
2026-01-24 03:46:27 +00:00
2026-01-23 05:47:13 +00:00
2026-01-23 06:38:16 +00:00
2026-01-24 04:53:44 +00:00
2026-01-24 05:49:39 +00:00
2026-01-24 06:28:22 +00:00
2026-01-23 19:53:01 +00:00
2026-01-23 07:23:52 +00:00
2026-01-23 03:16:52 +00:00
2026-01-22 06:03:23 +00:00
2026-01-23 23:34:30 +00:00
2026-01-23 23:34:30 +00:00
2026-01-24 03:39:25 +00:00
2026-01-24 01:18:03 +00:00
2026-01-24 06:28:22 +00:00
2026-01-24 00:15:42 +00:00
2026-01-23 01:23:23 +00:00
2026-01-24 01:18:58 +00:00
2026-01-23 09:07:43 +00:00
2026-01-24 03:24:28 +00:00
2026-01-22 07:02:52 +00:00
2026-01-23 04:01:26 +00:00