feat: strip all telemetry, phone-home, and default provider tracking#1
Open
feat: strip all telemetry, phone-home, and default provider tracking#1
Conversation
Remove or disable all outbound network calls that are not explicitly user-initiated to prevent any phone-home behavior after installation: - Disable OpenTelemetry experimental_telemetry in LLM stream and agent - Remove x-opencode-* tracking headers and User-Agent from LLM requests - Replace ShareNext with no-op stubs (session sharing to opncd.ai) - Disable auto-update version checking (Installation.latest returns VERSION) - Disable auto-upgrade mechanism (cli/upgrade.ts is now a no-op) - Disable models.dev remote fetching and periodic refresh - Skip remote .well-known/opencode config fetching - Disable Control.token() enterprise phone-home - Disable external skill discovery remote fetching - Remove opencode/anthropic default providers from TUI priority list https://claude.ai/code/session_01U9pmLo7i6uNvmkykqVX3WA
- Fix git commit signing in test fixture by passing -c commit.gpgsign=false (the environment has commit.gpgsign=true configured globally which causes test commits to fail when the signing server returns 400) - Update Discovery.pull tests to expect empty arrays since remote skill fetching has been disabled - Update well-known config test to verify fetch is NOT called since remote config fetching has been stripped - Skip chmod-based readonly tests when running as root (chmod 444 does not prevent writes for the root user) https://claude.ai/code/session_01U9pmLo7i6uNvmkykqVX3WA
Prevent the opencode built-in provider from auto-loading even when models exist in the local snapshot. Only user-configured providers from opencode.json will be available. This ensures the TUI only shows providers the user has explicitly configured. https://claude.ai/code/session_01U9pmLo7i6uNvmkykqVX3WA
Remove the automatic inclusion of `reasoningSummary: "auto"` for OpenAI, Azure, and GitHub Copilot providers. This parameter is not supported by third-party OpenAI-compatible endpoints (e.g. LightLLM, Azure proxies) and causes "unknown parameter reasoningSummary" errors. https://claude.ai/code/session_017AMgq3eK3ZtDkCwveHVgBc
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.
Remove or disable all outbound network calls that are not explicitly user-initiated to prevent any phone-home behavior after installation:
https://claude.ai/code/session_01U9pmLo7i6uNvmkykqVX3WA
Issue for this PR
Closes #
Type of change
What does this PR do?
Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.
If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!
How did you verify your code works?
Screenshots / recordings
If this is a UI change, please include a screenshot or recording.
Checklist
If you do not follow this template your PR will be automatically rejected.