Files
orca/src/shared/workspace-ports-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

10 lines
409 B
TypeScript

// Hosts without this capability have no workspacePorts.scanHost/killHost; their scan and Stop act
// only on the endpoint itself, never on a workspace's SSH host.
export const WORKSPACE_PORTS_HOST_SCOPED_RUNTIME_CAPABILITY =
'workspace-ports.host-scoped.v1' as const
export const WORKSPACE_PORTS_RUNTIME_CAPABILITIES = [
'workspace-ports.v1',
WORKSPACE_PORTS_HOST_SCOPED_RUNTIME_CAPABILITY
] as const