Move tool allowlist, tool_config, and tooling-context helpers into app/http/tooling_policy.py while keeping route behavior unchanged.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Lock the current Anthropic streaming asymmetry so future refactors do not silently synthesize tool blocks. Align schema and docs with the actual support level to avoid over-promising forced-tool fallback.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Keep app.main.v1_responses as the compatibility entrypoint while moving the Responses wrapper and SSE bridge into a dedicated module. This reduces app/main.py without changing the existing Responses behavior or test patch points.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>