Integrations
Statuses on this page come from the same product facts as linetrail.app, so they always match. Available means it works today; Beta means early access, off by default; Coming soon means not available yet.
AI coding tools
Section titled “AI coding tools”- Claude CodeAvailable
- OpenCodeAvailable
- CodexAvailable
- CursorAvailable
- GitHub CopilotAvailable
- AntigravityAvailable
Attribution is captured on the developer machine, while code is written, by capture hooks that linetrail setup installs with your consent (see Quickstart). Each attested line records the tool and, when the tool reports it, the model.
Tested versions on macOS:
| Tool | Tested with |
|---|---|
| Claude Code | 2.1.289 |
| Codex CLI | 0.161.0 (codex exec) |
| OpenCode | 1.18.34 |
| GitHub Copilot | Copilot CLI 1.0.92; agent mode in VS Code 1.140.0 |
| Cursor | 3.22.12 (IDE agent) |
- Tab completions in Cursor and VS Code are captured only when Tab tracking is turned on.
linetrail setupoffers to turn it on and asks first. - Concurrent sessions: with several agent sessions on one machine, edits made outside any tool call can be credited to an unrelated session.
linetrail doctorreports known hook conflicts. - Code written where capture isn’t running has no attestation and is unknown, never human.
Cloud and remote agents
Section titled “Cloud and remote agents”- Cloud and remote agentsAvailable
Cloud agents commit from machines without capture hooks, so their commits have no capture note. Instead, LineTrail recognises a known agent’s author, committer, trailer or message marker on a commit with no note, and counts those lines as AI in a separate inferred subset, never mixed with captured attribution. See Evidence.
Built-in rules cover the GitHub Copilot coding agent, OpenAI Codex (connector and app bots), Claude Code (web and remote sessions, its GitHub Action and its commit trailers), Cursor cloud agents, Devin, Google Jules, Amazon Q Developer and Kiro.
- A marker is a claim, not proof. Anyone can type a trailer, and the whole commit is credited.
- Not every agent commit can be recognised. Commits made without a marker stay unknown, for example Claude Code with attribution turned off, or a cloud agent committing under the user’s own identity.
- A commit with a capture note is never inferred. The note is the single source for its lines.
- Configurable:
--no-cloud-agent-inferenceturns inference off,--cloud-agent-disable <rule>drops one rule, and--cloud-agent-ruleadds your own. - Only the rule id, marker kind, tool and any stated model are uploaded. Commit message text is never stored.
Editors
Section titled “Editors”- VS CodeAvailable
- JetBrains IDEsAvailable
Both extensions show the same committed attribution as the dashboard, inside the editor. They run the linetrail CLI offline and read-only, and never call the LineTrail API.
| Feature | VS Code | JetBrains |
|---|---|---|
| Line attribution | Gutter marker and hover | Attribution column |
| History | Branch Changes and File History views | File History |
| Inline suggestions | Signals view (see below) | Not observed |
| Tested with | VS Code 1.140.0 | IntelliJ IDEA 2026.2.3 |
- Uncommitted or changed lines show no attribution until they are committed.
- VS Code’s stable API has no event for accepting another extension’s inline suggestion, so the signals view reports that signal as unavailable and those lines stay unknown. Tab completions are captured when Tab tracking is on (see above).
- The extensions aren’t in a marketplace yet. Contact us for the build.
Source control
Section titled “Source control”- GitHub / GitHub EnterpriseAvailable
- GitLabAvailable
- Bitbucket CloudAvailable
- Bitbucket Server / Data CenterAvailable
All four connectors are read-only (HTTP GET only). Pull-request attribution is always computed locally from capture notes over the pull request’s net diff; the source-control platform’s own line counts are never used.
| Platform | Token and permission | Tested |
|---|---|---|
| GitHub / GitHub Enterprise | LINETRAIL_GITHUB_TOKEN: fine-grained token with Pull requests: read (or a classic repo token for private repositories) |
Live on github.com. Enterprise Server 3.9 and later is supported; not yet tested live |
| GitLab | LINETRAIL_GITLAB_TOKEN with read_api |
Live on gitlab.com; self-managed not yet tested |
| Bitbucket Cloud | Atlassian API token or access token with pull request read and repository read | Live on bitbucket.org |
| Bitbucket Server / Data Center | LINETRAIL_BITBUCKET_TOKEN: HTTP access token with REPO_READ |
Built for the 9.6, 10.0 and 10.4 APIs; live on 10.2.8 |
Incremental pull-request sync. linetrail scm test, status and sync work with a connection config per repository. The config never holds a token; tokens come only from environment variables. Run it from cron or CI.
Server-side pull-request sync is available and off by default. When an operator turns it on, the LineTrail server pulls pull-request metadata and review and merge timing itself. Commits, notes and attribution still come from the CLI or CI. Stored tokens are encrypted and write-only. Webhooks are optional and only trigger a sync.
CI templates
Section titled “CI templates”- GitHub ActionsAvailable
- GitLab CIAvailable
- Bitbucket PipelinesAvailable
- Jenkins and BambooAvailable
Ready-made jobs keep the dashboard current. Each run:
- fetches the capture notes into a separate cache ref,
- runs
linetrail syncfor commits, - optionally runs
linetrail scm syncfor pull requests.
They run on every push to the default branch, hourly (to pick up notes pushed late) and on demand.
- You need: a full clone (shallow clones are refused),
LINETRAIL_API_URL, andLINETRAIL_INGEST_TOKEN: an organization token with only theingestscope, ideally limited to that repository. - CI can’t create attribution. It syncs what was captured on developer machines. Token usage and cost are not collected in CI.
- Bitbucket Data Center squash and rebase merges: a re-map job for Jenkins, Bamboo or any shell runner rebuilds attribution for merged commits from the source commits’ notes, as derived evidence shown beside the commit. It needs
REPO_READplus a key that can push notes. - On GitHub and GitLab, a CI step re-maps notes onto squash and rebase merges.
Over your data
Section titled “Over your data”- AI InsightsBeta
- AI ChatBeta
Early access, off by default. See AI insights & chat.
Delivery and quality outcomes
Section titled “Delivery and quality outcomes”- JenkinsComing soon
- SonarQubeComing soon
Jenkins and SonarQube delivery and quality outcomes are coming soon. The Jenkins and Bamboo jobs above sync attribution; they are not outcome integrations.