mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 09:37:33 +00:00
* 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
11 lines
423 B
TypeScript
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
|