Commit graph

118 commits

Author SHA1 Message Date
Aran Yogesh
5bced68e72
feat: add linear_comment tool, remove auto-comment middleware (#994)
* feat: add linear_comment tool, remove auto-comment middleware

* ⏺ feat: pass triggering user name to linear_comment tool for @mentions

* linting

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* feat: add ticket_id arg to linear_comment tool and
  include it in agent prompt

* Apply suggestions from code review

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-03 14:34:29 -08:00
aran-yogesh
be0e0eb421 feat: add Open SWE Linear team mapping to langchain-ai/open-swe repo 2026-03-03 09:24:50 -08:00
Aran Yogesh
6f487824c9
Merge pull request #999 from langchain-ai/yogesh/auth-logging
chore: improve GitHub auth failure logging with exception type
2026-03-02 14:51:40 -08:00
aran-yogesh
257f08b196 chore:updated logging 2026-03-02 14:49:07 -08:00
aran-yogesh
1241028dc3 chore: improve GitHub auth failure logging with exception type and error value 2026-03-02 14:34:28 -08:00
Brace Sproul
336a163924
feat: Add model utils, move to websockets and responses api, add gpt-5.3-codex (#998)
* feat: Add model utils, move to websockets and responses api, add gpt-5.3-codex

* cr
2026-03-02 12:13:24 -08:00
Aran Yogesh
484465c399
feat: prompt review (#956)
* feat: prompt review

* Prompt changes: simplify system prompt, update timeout and tool docs

Made-with: Cursor
2026-02-28 16:01:13 -08:00
Aran Yogesh
a502191a7f
Merge pull request #982 from langchain-ai/yogesh/linear-comment-user-null
fix: Handle missing Linear comment user in prompt
2026-02-27 10:52:18 -08:00
aran-yogesh
9066b36063 refactor: make github_token keyword-only in _recreate_sandbox and drop redundant repo_dir metadata update 2026-02-26 10:50:13 -08:00
aran-yogesh
bec922b3b1 refactor: extract sandbox recovery logic into _recreate_sandbox util function 2026-02-26 09:52:27 -08:00
aran-yogesh
18f1801005 linting 2026-02-25 18:30:00 -08:00
aran-yogesh
3066b3fc84 fix: recover from sandbox connection failures by recreating sandbox and re-cloning repo 2026-02-25 18:27:22 -08:00
aran-yogesh
41586c2610 fix/Handle missing Linear comment user in prompt 2026-02-25 11:19:30 -08:00
Aran Yogesh
84ae60ad49
Merge pull request #977 from langchain-ai/yogesh/sandbox-id-persist-metadata
feat: persist sandbox_id to thread metadata
2026-02-25 10:15:28 -08:00
aran-yogesh
20f9b734c7 refactor: remove duplicate sandbox_id metadata updates in server.py 2026-02-25 09:48:16 -08:00
aran-yogesh
19cdb32f05 fix: use get_recent_comments() in multimodal fallback and fix NameError 2026-02-24 17:51:29 -08:00
Aran Yogesh
fd992be44e
Merge branch 'open-swe-v3' into yogesh/followup-comments 2026-02-24 17:09:31 -08:00
aran-yogesh
0c59811ee4 feat: persist sandbox_id to thread metadata via client.threads.update 2026-02-24 16:41:33 -08:00
aran-yogesh
4d114d2e29 fix: preserve image url order when deduping 2026-02-24 12:36:44 -08:00
Aran Yogesh
1bdcb6de8d
Merge branch 'open-swe-v3' into yogesh/multimodal-inputs 2026-02-24 12:24:18 -08:00
aran-yogesh
f82408cd61 refactor: use content block helpers and shared url dedupe; run format and lint 2026-02-24 12:16:00 -08:00
Aran Yogesh
fb23ef6c15
Apply suggestion from @bracesproul
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-02-24 11:21:32 -08:00
aran-yogesh
98b886116c fix: apply lint/format updates 2026-02-24 10:58:20 -08:00
aran-yogesh
0e9f830f64 refactor: extract recent comment logic and add tests 2026-02-24 10:44:17 -08:00
Brace Sproul
7972ebf481
refactor: Replace timeout wrapper with tool call arg (#976) 2026-02-24 08:14:31 -08:00
Brace Sproul
ff7c52e649
chore: Open PRs as draft by default (#975) 2026-02-24 07:56:31 -08:00
Brace Sproul
4a851a05ea
ci: Add CI actions (#972)
* ci: Add CI actions

* cr

* cr

* cr
2026-02-23 19:11:41 -08:00
Aran Yogesh
e7ed860114
feat: enforce timeouts on execute tool commands (#955)
* feat: enforce timeouts on execute tool commands

* refactor: dedupe execute-timeout middleware logic

* cr

* move info to debug

---------

Co-authored-by: bracesproul <braceasproul@gmail.com>
2026-02-23 19:09:38 -08:00
aran-yogesh
31adfd0bd4 update error message 2026-02-23 17:16:30 -08:00
aran-yogesh
b8f5b735e2 address review comments on AGENTS.md injection 2026-02-23 16:52:15 -08:00
aran-yogesh
f4b9b525fb fix: collect only comments since last agent response for follow-up triggers 2026-02-23 16:11:23 -08:00
aran-yogesh
69e1eeb36f test: add unit tests for extract_image_urls function 2026-02-23 14:04:39 -08:00
aran-yogesh
66bd62b69b feat: add AGENTS.md support and fix repo cloning 2026-02-23 13:13:54 -08:00
aran-yogesh
2d5da34b3d feat: inject AGENTS.md into system prompt 2026-02-22 22:01:21 -08:00
aran-yogesh
446b659c54 refactor: keep image URLs in text and centralize image auth 2026-02-22 18:57:49 -08:00
aran-yogesh
db05aebc32 fix: replace removed MessageContent import with ContentBlock from langchain_core 2026-02-20 15:20:49 -08:00
Brace Sproul
bbf89ed2d7
fix: move to gpt 5.2 codex and run formatter (#967) 2026-02-20 09:58:07 -08:00
Brace Sproul
ad57a72719
fix: rename gh user to open-swe[bot] (#966) 2026-02-19 18:37:24 -08:00
aran-yogesh
bec99b106e feat: add multimodal image support for Linear comments and queued run 2026-02-19 14:06:06 -08:00
aran-yogesh
7349741179 fix: applied ai mapping to ai-sdr repo 2026-02-19 10:16:54 -08:00
Aran Yogesh
564998c826
Update apps/agent/agent/middleware/open_pr.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-02-17 17:44:13 -08:00
aran-yogesh
ae5b5b6de4 thread_id error 2026-02-17 17:17:42 -08:00
aran-yogesh
b7c17774b3 Merge open-swe-v3: resolve server.py import conflict (keep both sandbox_state and github imports)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 16:55:16 -08:00
aran-yogesh
616730fb1d fix: use config metadata for sandbox state lookups 2026-02-17 16:50:08 -08:00
aran-yogesh
50e02c67ea fix: restore sandbox backend via thread metadata when cache misses 2026-02-17 15:03:20 -08:00
Aran Yogesh
ffabcea6c4
Merge pull request #950 from langchain-ai/yogesh/repo-clone-fix
fix: clone error when repo directory already exists
2026-02-17 14:51:01 -08:00
aran-yogesh
d319553198 comment changes and var reuse 2026-02-17 14:42:31 -08:00
aran-yogesh
e003b0d319 fix: report existing PR instead of failing on follow-ups 2026-02-17 13:21:54 -08:00
aran-yogesh
1a796c1a14 Fix:repo sync auth flow and tighten git utility typing 2026-02-17 11:24:22 -08:00
aran-yogesh
7b1c9bfdca Fix clone error when repo directory already exists 2026-02-13 18:28:41 -08:00