Add httpOnly option to disable SSE fallback for debugging

- Added httpOnly option to UseMcpOptions to skip SSE fallback
- Updated all HTTP transport failure paths to respect httpOnly flag
- Temporarily enabled httpOnly in chat UI for streamable HTTP debugging
- Updated AGENT.md to require frequent commits after changes
This commit is contained in:
Glen Maddern 2025-06-24 22:28:37 +10:00
commit 03d95e70b7

View file

@ -27,6 +27,10 @@
- Log errors with appropriate levels (debug, info, warn, error)
- Defensive error handling with specific error types when available
## Development Workflow
- **Commit changes frequently** after each logical change or debugging step
- Use descriptive commit messages that explain what was changed and why
### React Patterns
- Use React hooks with useRef for mutable values
- Stable callbacks with useCallback and appropriate dependencies