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
Periodic automated cleanup of the codebase. Each commit is a small, behavior-preserving refactor.
Current cleanups
refactor: remove unused AIServiceEvent type and isDefaultContinueMessage alias— Removed the deadAIServiceEventunion type from stream types and the unusedisDefaultContinueMessagealias from message types (no callers remained).refactor: remove unused RUNTIME_MODES_REQUIRING_GIT and hasDevcontainerConfigs— Removed the deadRUNTIME_MODES_REQUIRING_GITconstant andhasDevcontainerConfigsfunction from runtime types (no callers remained after runtime refactoring).refactor: extract useWorkspaceFallbackModel hook— Deduplicate identical model fallback resolution logic from ProjectSidebar and WorkspaceListItem into a shared hook.refactor: remove deprecated WorkspaceMetadataWithPaths type alias— Removed the deadWorkspaceMetadataWithPathstype alias (marked @deprecated, zero consumers, pointed toFrontendWorkspaceMetadata).refactor: use THINKING_LEVELS constant in ThinkingLevelSchema— Replace manually duplicated enum values inThinkingLevelSchema(instream.ts) with an import of theTHINKING_LEVELSconstant fromthinking.ts, eliminating drift risk.refactor: remove dead constants/agents.ts— Deletedsrc/common/constants/agents.tswhich exportedBUILT_IN_SUBAGENT_TYPES,BuiltInSubagentType, andBUILT_IN_SUBAGENTSwith zero consumers (orphaned since the user-defined agents refactor in 🤖 feat: user-defined agents (unify modes + subagents) #1289).Auto-cleanup checkpoint: 3b5e294
Generated with
mux• Model:anthropic:claude-opus-4-6• Thinking:xhigh• Cost:$0