Conversation
…e (e.g., "host:12 345"); log content-type and content-length only on POST; only show stop button if running; added auto-start toggle and functionality; fix showSettingsWindow deprecation and use SettingsLink; made default system prompt a reusable constant; enabled dead-code-stripping as recommended by xcode
pull Bot
pushed a commit
that referenced
this pull request
Apr 2, 2026
Replaces the bearer token authentication with a three-layer security model that requires no user configuration: 1. Loopback-only binding — server unreachable from the network 2. CORS origin allowlist — only localhost and perspectiveintelligence.app 3. Host header validation — prevents DNS rebinding attacks This fixes #2 (Continue extension 401 errors) and addresses #1 with proper CORS protection instead of tokens. Local apps connect freely since they already have full machine access. Adds perspectiveintelligence.app to the CORS allowlist for browser- direct streaming (Basic tier web users). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brief description of what this PR does and why.
Changes
Type of Change
Testing
Describe how you tested your changes:
POST /v1/chat/completionsreturns a valid responseChecklist
Related Issues
Closes #