Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

refactor: keep implementation declarations private

4 weeks ago

fa6e55f
Authored
mweinbach8/27/2026, 11:52:46 PM
Make 112 implementation values and one internal type private without changing their bodies. Record dispositions and evidence for every unused-code candidate, retaining public facades and the dynamically imported IPC test constant.

The complete test suite, typechecks, Biome, and docs checks pass. Audit findings remain advisory; no scanner suppressions were added.

Parent4beb164

67 files changed
  • apps/desktop/electron/services/crashReporting.ts+3−3
  • apps/desktop/electron/services/productAnalytics.ts+1−1
  • apps/desktop/electron/services/windowsSandboxReadiness.ts+1−1
  • apps/desktop/src/app/composerDrafts.ts+1−1
  • apps/desktop/src/app/interactionQueue.ts+2−2
  • apps/desktop/src/app/store.actions/workspaceMemoryDefaults.ts+1−3
  • apps/desktop/src/app/store.helpers/paintScheduling.ts+1−1
  • apps/desktop/src/app/store.helpers/runtimeState.ts+1
−1
  • apps/desktop/src/lib/adaptiveLayout.ts+1−1
  • apps/desktop/src/lib/indexedDbReliableBatchStore.ts+1−1
  • apps/desktop/src/lib/modelChoices.ts+2−2
  • apps/desktop/src/lib/themeBootstrap.ts+1−1
  • apps/desktop/src/lib/webTranscriptDelivery.ts+1−1
  • apps/desktop/src/ui/chat/InteractionCard.tsx+1−1
  • apps/desktop/src/ui/chat/activityGroups.ts+2−2
  • apps/desktop/src/ui/chat/feedMessageParsing.ts+1−1
  • apps/desktop/src/ui/chat/scrollOwnership.ts+1−1
  • apps/desktop/src/ui/chat/toolCards/toolCardFormatting.ts+1−1
  • apps/mobile/src/components/composerShared.tsx+2−2
  • apps/mobile/src/components/pairing/pairing-ios-ui.tsx+1−1
  • apps/mobile/src/features/cowork/activityGroups.ts+1−1
  • apps/mobile/src/features/cowork/mobilePerformanceContracts.ts+1−1
  • apps/mobile/src/features/cowork/sessionBootstrap.ts+1−1
  • apps/mobile/src/features/cowork/threadHomeModel.ts+3−3
  • apps/mobile/src/features/cowork/threadListModel.ts+1−1
  • apps/mobile/src/features/cowork/threadOfflineCache.ts+1−1
  • apps/mobile/src/features/relay/secureTransportClient.ts+1−1
  • docs/unused-code-audit.md+240−0
  • src/coworkRuntime/download.ts+1−1
  • src/coworkRuntime/ensureReady.ts+2−2
  • src/coworkRuntime/install.ts+1−1
  • src/coworkRuntime/integrity.ts+1−1
  • src/coworkRuntime/manifest.ts+1−1
  • src/coworkRuntime/platform.ts+1−1
  • src/coworkRuntime/runtime.ts+1−1
  • src/import/conversations/normalize.ts+3−3
  • src/import/conversations/snapshot.ts+1−1
  • src/models/childModelRouting.ts+1−1
  • src/platform/sandbox/bwrap.ts+1−1
  • src/providers/customModels.ts+1−1
  • src/providers/minimaxShared.ts+1−1
  • src/providers/modelDiscoveryAdapters.ts+5−7
  • src/providers/modelDiscoveryCache.ts+5−7
  • src/runtime/codexAppServer/config.ts+1−1
  • src/runtime/pi/rateLimitRetry.ts+1−1
  • src/server/artifacts/diffUtils.ts+4−4
  • src/server/artifacts/ooxml.ts+9−9
  • src/server/jsonrpc/routes/tasks.ts+1−1
  • src/server/jsonrpc/serverRequestReceipts.ts+2−2
  • src/server/projection/conversationProjectionReasoning.ts+1−1
  • src/server/session/taskLocks.ts+4−6
  • src/server/spreadsheetOoxml.ts+7−7
  • src/server/tasks/TaskCoordinator.ts+2−2
  • src/server/tasks/taskReviewPolicy.ts+1−1
  • src/server/transport/httpJsonRpcConnection.ts+1−1
  • src/shared/agentProfiles.ts+1−1
  • src/shared/attachments.ts+1−1
  • src/shared/reliableBatchQueue.ts+1−1
  • src/shared/toolRetry.ts+2−2
  • src/shared/transcriptBatchProtocol.ts+2−2
  • src/skills/defaultGlobalSkills.ts+2−2
  • src/skills/loadSkillBody.ts+1−1
  • src/telemetry/config.ts+1−1
  • src/telemetry/crashReporting.ts+3−3
  • src/utils/permissions.ts+1−1
  • src/workflows/inputSpill.ts+1−1
  • src/workflows/registry.ts+2−2