refactor(types): remove unused exports from capabilities.ts #172

Merged
jack merged 6 commits from refactor/141-cleanup-capabilities into main 2026-01-24 17:00:49 +00:00
Owner

Summary

Remove 3 unused exports from capabilities.ts:

  • CapabilityConfig interface
  • canWorkerHandle function
  • getMatchingCapability function

These helper functions for worker capability matching were never adopted - the TaskDispatcher does matching inline.

Reduced file from 119 to 72 lines (-47 lines, -39%).

Refs #141

Test Plan

  • pnpm run typecheck passes
  • Verified via grep that none of the removed exports are used anywhere
## Summary Remove 3 unused exports from capabilities.ts: - `CapabilityConfig` interface - `canWorkerHandle` function - `getMatchingCapability` function These helper functions for worker capability matching were never adopted - the TaskDispatcher does matching inline. Reduced file from 119 to 72 lines (-47 lines, -39%). Refs #141 ## Test Plan - [x] `pnpm run typecheck` passes - [x] Verified via grep that none of the removed exports are used anywhere
refactor(types): remove unused exports from capabilities.ts
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 41s
CI / validate-plugin (pull_request) Successful in 35s
ece1327312
Remove 3 unused exports:
- CapabilityConfig interface
- canWorkerHandle function
- getMatchingCapability function

These helper functions for worker capability matching were never
adopted - the TaskDispatcher does matching inline.

Reduced file from 119 to 72 lines (-47 lines, -39%).

Refs #141

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jonas.hanisch force-pushed refactor/141-cleanup-capabilities from ece1327312
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 41s
CI / validate-plugin (pull_request) Successful in 35s
to 95cb0a8f67
All checks were successful
CI / build (pull_request) Successful in 50s
2026-01-24 16:48:45 +00:00
Compare
Merge branch 'main' into refactor/141-cleanup-capabilities
All checks were successful
CI / build (pull_request) Successful in 1m2s
50bb45a45e
Merge branch 'main' into refactor/141-cleanup-capabilities
All checks were successful
CI / build (pull_request) Successful in 1m16s
2c1e22429a
Merge branch 'main' into refactor/141-cleanup-capabilities
All checks were successful
CI / build (pull_request) Successful in 1m16s
cd2c6437a8
Merge branch 'main' into refactor/141-cleanup-capabilities
All checks were successful
CI / build (pull_request) Successful in 1m17s
d59851ee4c
Merge branch 'main' into refactor/141-cleanup-capabilities
All checks were successful
CI / build (pull_request) Successful in 1m13s
48da7a836d
jack merged commit 442fdfa029 into main 2026-01-24 17:00:49 +00:00
Sign in to join this conversation.
No description provided.