Files
orca/src/shared/task-source-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

24 lines
1010 B
TypeScript

import { JIRA_AGENT_ACCESS_RUNTIME_CAPABILITY } from './jira-agent-capability'
import {
JIRA_CURRENT_SPRINT_RUNTIME_CAPABILITY,
JIRA_DETAIL_RUNTIME_CAPABILITIES,
JIRA_TRANSITION_FIELDS_RUNTIME_CAPABILITY
} from './jira-detail-capabilities'
import { JIRA_STATUS_FILTER_RUNTIME_CAPABILITY } from './jira-quick-filters'
import { JIRA_SAVED_FILTER_RUNTIME_CAPABILITY } from './jira-saved-filter-capability'
export const TASK_SOURCE_CONTEXT_RUNTIME_CAPABILITY = 'task-source-context.v1' as const
export const LINEAR_ISSUE_ATTRIBUTE_FILTER_RUNTIME_CAPABILITY =
'linear.issue-attribute-filter.v1' as const
export const TASK_SOURCE_RUNTIME_CAPABILITIES = [
TASK_SOURCE_CONTEXT_RUNTIME_CAPABILITY,
LINEAR_ISSUE_ATTRIBUTE_FILTER_RUNTIME_CAPABILITY,
JIRA_TRANSITION_FIELDS_RUNTIME_CAPABILITY,
JIRA_AGENT_ACCESS_RUNTIME_CAPABILITY,
JIRA_CURRENT_SPRINT_RUNTIME_CAPABILITY,
...JIRA_DETAIL_RUNTIME_CAPABILITIES,
JIRA_SAVED_FILTER_RUNTIME_CAPABILITY,
JIRA_STATUS_FILTER_RUNTIME_CAPABILITY
] as const