feat(doctor,acp,routes): re-apply remaining medium-priority upstream improvements (#2208)#2258
Merged
alexey-pelykh merged 1 commit intomainfrom Apr 10, 2026
Conversation
…improvements (#2208) Re-apply 5 upstream improvements from v2026.3.1/v2026.3.2 that were lost during PR #2191 wholesale file restoration: - doctor.ts: import + call noteStartupOptimizationHints() - doctor.ts: import + call noteOpenAIOAuthTlsPrerequisites() - routes.ts: conditional loadPlugins for health --json — skip plugin preload when JSON output requested - acp/client.ts: wire resolveAcpClientSpawnInvocation into createAcpClient — enables Windows .cmd shim handling and windowsHide - doctor-legacy-config.ts: replace inline Slack migration messages with shared formatSlackStream*() formatters from discord-preview-streaming.ts Skipped (already present or not in upstream B3/B4 diffs): - config/defaults.ts cacheRetention: "short" — already in current code - sessions.ts CONTROL_UI filter — not present in upstream B3/B4 commits 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
Re-applies 5 medium-priority upstream improvements from v2026.3.1/v2026.3.2 that were lost during PR #2191 wholesale file restoration.
Closes #2208
Applied (5 of 7)
noteStartupOptimizationHints()— startup optimization doctor check (moduledoctor-platform-notes.tsexists)noteOpenAIOAuthTlsPrerequisites()— OpenAI OAuth TLS prerequisites check (moduleoauth-tls-preflight.tsexists)loadPluginsforhealth --json— changes type frombooleantoboolean | function, skips local plugin metadata loading for JSON health checks (consumer atroute.tsalready handles function type)resolveAcpClientSpawnInvocationintocreateAcpClient— function existed but was unused; enables Windows.cmdshim handling andwindowsHideformatSlackStreamModeMigrationMessage()/formatSlackStreamingBooleanMigrationMessage()fromdiscord-preview-streaming.ts(DRY refactor)Skipped (2 of 7)
cacheRetention: "short"— already present in current code (lines 291-324)fdcbc3bd86~1..0241706c9d); the improvement is not attributable to the B3/B4 syncTest plan
🤖 Generated with Claude Code