## Summary Extend `packages/shared/src/platforms.ts` with a helper function to safely test platform presence and add corresponding tests. ## Tasks - [ ] add `export function isSupportedPlatform(id: string): boolean` to `platforms.ts` using `PLATFORMS[id] !== undefined`. - [ ] add tests in `packages/shared/src/__tests__/platforms.test.ts` for existing/unknown platform IDs. ## Acceptance Criteria - [ ] helper is exported and tests pass. - [ ] this is low-risk contribution and improves API discoverability.
Summary
Extend
packages/shared/src/platforms.tswith a helper function to safely test platform presence and add corresponding tests.Tasks
export function isSupportedPlatform(id: string): booleantoplatforms.tsusingPLATFORMS[id] !== undefined.packages/shared/src/__tests__/platforms.test.tsfor existing/unknown platform IDs.Acceptance Criteria