mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
* Upload GitHub images when pasted or dropped Keep image bytes out of issue and review bodies by uploading from the owning composer and inserting hosted attachment URLs. Co-authored-by: lydiassssz <60514233+lydiassssz@users.noreply.github.com> * Preserve GitHub image intake across editor and thread states * Keep image placeholder boundaries and ordinary HTML paste intact * Match the native replace overload in the image projection fixture * Use typed element queries in the image intake fixture * Narrow textarea elements at the fixture boundary * Show failed GitHub draft images as filename links * Keep GitHub draft attachment links current across updates * Supply the repository address in the attachment preview fixture --------- Co-authored-by: lydiassssz <60514233+lydiassssz@users.noreply.github.com>
34 lines
1.6 KiB
TypeScript
34 lines
1.6 KiB
TypeScript
import { GITHUB_IMAGE_ATTACHMENT_CAPABILITY } from './github/image-attachment'
|
|
import { JIRA_AGENT_ACCESS_RUNTIME_CAPABILITY } from './jira/jira-agent-capability'
|
|
import {
|
|
JIRA_CURRENT_SPRINT_RUNTIME_CAPABILITY,
|
|
JIRA_DETAIL_RUNTIME_CAPABILITIES,
|
|
JIRA_TRANSITION_FIELDS_RUNTIME_CAPABILITY
|
|
} from './jira/jira-detail-capabilities'
|
|
import { JIRA_STATUS_FILTER_RUNTIME_CAPABILITY } from './jira/jira-quick-filters'
|
|
import { JIRA_SAVED_FILTER_RUNTIME_CAPABILITY } from './jira/jira-saved-filter-capability'
|
|
|
|
export const TASK_SOURCE_CONTEXT_RUNTIME_CAPABILITY = 'task-source-context.v1' as const
|
|
export const GITHUB_CANONICAL_DETAILS_RUNTIME_CAPABILITY = 'github.canonical-details.v1' as const
|
|
export const GITHUB_EXACT_DETAILS_READ_INTENT_RUNTIME_CAPABILITY =
|
|
'github.exact-details-read-intent.v1' as const
|
|
export const GITHUB_ACCOUNT_EXPECTATION_RUNTIME_CAPABILITY =
|
|
'github.account-expectation.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,
|
|
GITHUB_CANONICAL_DETAILS_RUNTIME_CAPABILITY,
|
|
GITHUB_EXACT_DETAILS_READ_INTENT_RUNTIME_CAPABILITY,
|
|
GITHUB_ACCOUNT_EXPECTATION_RUNTIME_CAPABILITY,
|
|
GITHUB_IMAGE_ATTACHMENT_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
|