Home

mweinbach / agent-coworker

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

refactor: remove dead code from connect.ts and providerStatus.ts

8 months ago

ccc49cf
Authored
Claude2/21/2026, 8:50:51 PM
- Remove unreachable block in connectProvider (lines 855-929)
- Remove functions only called from dead block: defaultOauthRunner,
  appendChunkedLines, oauthCredentialCandidates, hasExistingOauthCredentials,
  oauthCredentialSourceCandidates, fileExists, persistOauthCredentials,
  oauthCommandCandidates
- Remove unused OauthCommandRunner type and oauthRunner parameter
- Remove unused CommandRunner type, defaultCommandRunner, and runner
  parameter from getProviderStatuses
- Remove unused spawn and path imports from providerStatus.ts
- ~292 lines removed, zero behavior change

https://claude.ai/code/session_01RtCvoFGGgntzCR9jpsTyuh

Parenta165cfe

3 files changed
  • bun.lock+0−19
  • src/connect.ts+0−237
  • src/providerStatus.ts+0−55