Lintel One manifest, every terminal.

Presets

Suggest a preset · Contribute one yourself

Ready-made rules, so adding one does not start with writing a regex.

A preset is metadata plus a criterion, and the two come from different places on purpose. The name and description are prose, and no manifest has anywhere to put them. The pattern is taken from the manifest rather than copied beside it — a second copy of a regex is a second copy that can drift.

The join is by example: a preset names a string its matcher must claim, and the matcher is selected by running the manifest's own patterns against it. If nothing claims the example, or more than one thing does, the preset is not offered rather than shipping a pattern nobody vouches for. Each entry below shows the pattern that join actually resolved.

Issue keys in output text

jira-issue-keys · jira

Turns a bare issue key printed by a build or a commit message into a hoverable link

claims
ACME-8209
with
\b(?<key>[A-Z][A-Z0-9]{1,9}-\d{1,7})\b

Pull request links link

github-pull-requests · github

GitHub pull request URLs

claims
https://github.com/aylith-labs/lintel/pull/12
with
^https://github\.com/(?<owner>[^/]+)/(?<repo>[^/]+)/(?<ispull>pull)/(?<number>\d+)

Issue links link

github-issues · github

GitHub issue URLs

claims
https://github.com/aylith-labs/lintel/issues/12
with
^https://github\.com/(?<owner>[^/]+)/(?<repo>[^/]+)/(?<isissue>issues)/(?<number>\d+)

Commit links link

github-commits · github

GitHub commit URLs

claims
https://github.com/aylith-labs/lintel/commit/c79ccc1f0a7d4e2b1c3f5a6d8e9b0c1d2e3f4a5b
with
^https://github\.com/(?<owner>[^/]+)/(?<repo>[^/]+)/commit/(?<sha>[0-9a-f]{7,40})

Pull requests and issues as repo#number text

github-repo-number · github

Resolves repo#number through your organizations, pinned ones first, then the most-starred repository of that name

claims
terminal#18920
with
(?<![\w/.-])(?<repo>[A-Za-z0-9_.-]+)#(?<number>\d+)\b

Message links link

slack-messages · slack

Slack permalinks, including a link into a thread

claims
https://myteam.slack.com/archives/C01234ABCD/p1712345678000100
with
^https://(?<workspace>[a-zA-Z0-9_.-]+)\.slack\.com/archives/(?<channel>[A-Z0-9]+)/p(?<tsSeconds>\d{10})(?<tsMicros>\d{6})(?:\?thread_ts=(?<thread>\d+\.\d+))?

Session links link

stith-session-uris · stith

stith:// links to an agent session

claims
stith://session/1a2b3c4d-5e6f
with
^stith://session/(?<id>[A-Za-z0-9-]{4,64})

Agent session ids in output text

stith-session-ids · stith

A bare session id printed with no scheme and no link around it, which is how one usually appears

claims
ce786f3f-6fdc-4165-b9bd-20ff858844db
with
\b(?<id>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})\b

Pane ids in output text

shefrd-pane-ids · shefrd

A multiplexer pane address like w1N:p39; opening one focuses that pane

claims
w1N:p39
with
\b(?<pane>w[123456789ABCDEFGHJKMNPQRSTVWXYZ0]+:p[123456789ABCDEFGHJKMNPQRSTVWXYZ0]+)\b

Git: Commit hashes in output text

git-commit-hashes · standalone

Abbreviated or full hashes printed by git -- hoverable, and a place to hang a custom action

claims
c79ccc1f0a7d4e2b1c3f5a6d8e9b0c1d2e3f4a5b
with
\b(?=[0-9a-f]*[a-f])[0-9a-f]{7,40}\b

Media: Images, audio and video link

media-files · standalone

Links and paths that resolve to a media file

claims
/home/steve/captures/screenshot.png
by

file type — media

Source code files link

source-code-files · standalone

Local paths to a source file

claims
/home/steve/projects/lintel/example.ts
by

file type — sourceCode

Text files link

text-files · standalone

Local text, Markdown, log and configuration files

claims
/home/steve/notes.md
by

extension — txt, md, log, json, yaml, yml, toml, ini, csv, tsv

PDF files link

pdf-files · standalone

Local PDF documents

claims
/home/steve/report.pdf
by

extension — pdf

Office documents link

office-document-files · standalone

Local Word, Excel and PowerPoint content

claims
/home/steve/report.docx
by

extension — docx, xlsx, pptx

Coding task IDs in output text

unblocked-task-ids · unblocked

Open Unblocked Code coding-task details

claims
UNB-123
with
\b(?<task>UNB-\d+)\b
↑↓ to move↵ to openesc to close Matches stay highlighted on the page