/** * Linear tracker adapter — projects Linear onto the neutral TrackerAdapter * contract. * ============================================================================ * * Thin wrapper over linear.js. The skill already exposes everything we need as * tools (list_issues / get_issue / get_comments / add_comment / update_state / * link_attachment) and does the fuzzy state resolution internally, so the * adapter is almost entirely the toNeutral mapping + plumbing. * * State mapping: Linear workflow states carry a `type` ∈ * triage | backlog | unstarted | started | completed | canceled * which maps onto the neutral buckets. Linear has no native "blocked" type, so * 'blocked' is only ever derived from a state NAME match (best-effort). * * transition == update_state: Linear has no transition object; you set * issue.stateId to any state in the same team. The skill resolves a target * NAME → the team's matching state id (exact → type-alias → fuzzy). * * linkPullRequest == link_attachment: Linear has native attachments, the * first-class way to hang a PR on an issue. Fall back to a comment if it fails. * * Auth/config is inherited from linear.js (LINEAR_API_KEY / LINEAR_OAUTH_TOKEN). */ export declare const linearAdapter: any; export default linearAdapter;