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

Merged
jonas.hanisch merged 2 commits from refactor/132-cleanup-capabilities-ts into main 2026-01-24 12:09:12 +00:00
Owner

Summary

  • Removed 3 unused exports from packages/types/src/capabilities.ts
  • Reduced file from 119 to 72 lines (-46 lines, -39%)

Removed exports:

  • CapabilityConfig (interface)
  • canWorkerHandle (function)
  • getMatchingCapability (function)

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

Closes #132

## Summary - Removed 3 unused exports from `packages/types/src/capabilities.ts` - Reduced file from 119 to 72 lines (-46 lines, -39%) ### Removed exports: - `CapabilityConfig` (interface) - `canWorkerHandle` (function) - `getMatchingCapability` (function) These helper functions for worker capability matching were never adopted - the TaskDispatcher does matching inline. Closes #132
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
5f672981ce
Remove 3 unused exports that were never imported:
- CapabilityConfig (interface)
- canWorkerHandle (function)
- getMatchingCapability (function)

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

Reduces capabilities.ts from 119 to 72 lines (-46 lines, -39%).

Closes #132

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jonas.hanisch force-pushed refactor/132-cleanup-capabilities-ts from 5f672981ce
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 bb015b25fb
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 1m19s
CI / validate-plugin (pull_request) Successful in 1m6s
2026-01-24 10:40:38 +00:00
Compare
Merge branch 'main' into refactor/132-cleanup-capabilities-ts
All checks were successful
CI / build (pull_request) Successful in 44s
e4ac169a84
jonas.hanisch deleted branch refactor/132-cleanup-capabilities-ts 2026-01-24 12:09:12 +00:00
Sign in to join this conversation.
No description provided.