open-swe/agent/utils
Brace Sproul 46d7ed9d43
feat: extract repo parsing into shared util, add linear comment repo override (#1103)
* feat: extract repo parsing into shared util and add linear comment repo override

Moves the repo extraction regex logic (repo:, repo , GitHub URL) into
agent/utils/repo.py so it can be reused. Updates the Linear webhook
handler to check the comment body for a custom repo first, falling back
to the team/project mapping when none is specified.

* chore: document repo extraction util and default org configuration

* feat: add generic DEFAULT_REPO_OWNER/DEFAULT_REPO_NAME env vars replacing Slack-only defaults

* chore: remove deprecated SLACK_REPO_OWNER/NAME env vars from docs

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
2026-03-20 13:34:00 -07:00
..
agents_md.py chore: Drop monorepo (#1029) 2026-03-06 16:10:34 -08:00
auth.py fix: log all exceptions (#1089) 2026-03-19 10:26:26 -07:00
comments.py chore: Drop monorepo (#1029) 2026-03-06 16:10:34 -08:00
github.py fix: better docs, github auth (#1055) 2026-03-11 22:57:56 -08:00
github_app.py feat: add GitHub PR comment trigger and reply support [closes OPE-1] (#1014) 2026-03-09 17:14:13 -07:00
github_comments.py fix: better docs, github auth (#1055) 2026-03-11 22:57:56 -08:00
github_token.py feat: add GitHub PR comment trigger and reply support [closes OPE-1] (#1014) 2026-03-09 17:14:13 -07:00
github_user_email_map.py email-update (#1048) 2026-03-10 11:28:34 -07:00
langsmith.py feat: send LangSmith trace URL on run trigger from Slack and Linear (#1057) 2026-03-18 12:17:45 -07:00
linear.py feat: send LangSmith trace URL on run trigger from Slack and Linear (#1057) 2026-03-18 12:17:45 -07:00
linear_team_repo_map.py chore: Add langsmith deployments data plane linear project (#1044) 2026-03-09 18:36:00 -07:00
messages.py chore: Drop monorepo (#1029) 2026-03-06 16:10:34 -08:00
model.py chore: Drop monorepo (#1029) 2026-03-06 16:10:34 -08:00
multimodal.py chore: Drop monorepo (#1029) 2026-03-06 16:10:34 -08:00
repo.py feat: extract repo parsing into shared util, add linear comment repo override (#1103) 2026-03-20 13:34:00 -07:00
sandbox.py fix: better custom backend support (#1071) 2026-03-17 11:55:36 -07:00
sandbox_paths.py fix: better custom backend support (#1071) 2026-03-17 11:55:36 -07:00
sandbox_state.py fix: better custom backend support (#1071) 2026-03-17 11:55:36 -07:00
slack.py feat: send LangSmith trace URL on run trigger from Slack and Linear (#1057) 2026-03-18 12:17:45 -07:00