Files
orca/src/shared/mobile-runtime-capabilities.ts
T
Brennan Benson c93514db5b refactor(protocol): each area owns its published runtime capability list (#30641)
* refactor(protocol): each area owns its published runtime capability list

RUNTIME_CAPABILITIES now spreads one array per area instead of a flat
hand-appended list, and runtime-capability-constants.ts is split into
the areas that own each constant. The published set is unchanged and
pinned by an exact sorted test.

* test: preserve capability baseline while allowing additions
2026-10-20 17:12:19 -07:00

11 lines
423 B
TypeScript

import { MOBILE_RELAY_RUNTIME_CAPABILITIES } from './mobile-desktop-relay-contract'
// Hosts without this capability have no notifications.registerPush RPC.
export const NOTIFICATIONS_REMOTE_PUSH_RUNTIME_CAPABILITY = 'notifications.remote-push.v1' as const
export const MOBILE_RUNTIME_CAPABILITIES = [
'mobile.tasks.v1',
NOTIFICATIONS_REMOTE_PUSH_RUNTIME_CAPABILITY,
...MOBILE_RELAY_RUNTIME_CAPABILITIES
] as const