Files
PaperClipAI/packages/shared
DottaandClaude Opus 5.5 aca24c780f fix(issues): answer an empty /swarm request with the documented 422 refusal
A comment request with nativeCommand "swarm" and an empty body failed the
ordinary non-empty body check and got a generic 400, while docs/api/issues.md
documents 422 antigravity_swarm_unavailable for a request with no text. The
route now validates /swarm requests with addIssueSwarmCommentSchema, which
allows an empty body so the swarm refusal answers it; ordinary comments keep
addIssueCommentSchema and its unchanged non-empty check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:01:47 -06:00
..