Commit graph

67 commits

Author SHA1 Message Date
Brace Sproul
5ab7b94be9
feat: Implement rg tool (#278)
* feat: Implement rg tool

* cr

* cr

* test running rg commands

* wrap commands in script

* cr

* cr
2025-06-22 14:04:58 -07:00
bracesproul
ea8427a508 feat: Add task status/summary gen ui component 2025-06-22 12:51:57 -07:00
Brace Sproul
96298ad22b
feat: Parallel tool calling (#282)
* feat: Parallel tool calling

* feat: Support parallel actions

* render parallel tool calling in ui

* new error handling logic

* cr
2025-06-22 19:14:56 +00:00
Brace Sproul
c348d88309
fix: Save overall task summary in gh issue (#287)
* fix: Save overall task summary in gh issue

* cr

* drop unused util
2025-06-20 20:44:21 +00:00
Brace Sproul
f9841ebdb2
fix: Pass stream mode to subagent calls in LG (#279)
* fix: Pass stream mode to subagent calls in LG

* cr
2025-06-20 18:00:49 +00:00
Brace Sproul
e8c742dc71
fix: Improve planner prompt (#276)
* fix: Improve planner prompt

* add pkgs and drop console log

* cr

* cr
2025-06-19 23:04:02 +00:00
open-swe[bot]
4f88413002
[open-swe] feat: Add LangGraph thread and run ID tracking to shared logger (#256)
* Apply patch

* Apply patch

* Apply patch

* formatting

* resuse code

---------

Co-authored-by: open-swe-dev[bot] <open-swe-dev@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-06-19 20:06:16 +00:00
Brace Sproul
c8c19dd5ba
fix: Naming nits to init sandbox (#253)
* fix: Naming nits to init sandbox

* cr
2025-06-19 11:55:05 -07:00
Brace Sproul
23418cab1c
feat: Custom events (#186)
* feat: Custom events

* implementing initialization component synced with initialize node

* handle irrelevant/skipped events

* fix positioning, add collapse, rm comments

* lint format

* fix tsconfig, refactor DRY eventEmit, collapse initialize-step

* auto collapse init-step after completion

* revert yarn lock to main

* formatting

* cr

* enable persisting init steps after stream

* format

* cr

* cr

* cr

---------

Co-authored-by: starmorph <dylan@starmorph.com>
2025-06-19 18:53:56 +00:00
Brace Sproul
3d43abd4a0
feat: Allow manager to support followups (#248)
* feat: Allow manager to support followups

* cr

* cr
2025-06-19 17:56:06 +00:00
Brace Sproul
d3f6045636
fix: Split routing request into two to cleanly render for user (#240)
* fix: Split routing request into two to cleanly render for user

* cr
2025-06-18 23:53:01 +00:00
Brace Sproul
6ef09d7396
fix: Properly join streams on client (#229)
* fix: Properly join streams on client

* format and lint
2025-06-18 13:12:16 -07:00
Brace Sproul
dbc9e00666
fix: Update tag naming from oap to open-swe (#222) 2025-06-18 19:07:43 +00:00
Brace Sproul
38dc6ebdf4
fix: Improve DX for getting port for agent (#221)
* fix: Improve DX for getting port for agent

* docs
2025-06-18 18:58:15 +00:00
Brace Sproul
ac9f6a3986
fix: Get proper langgraph api url from PORT env var in agent (#217) 2025-06-18 18:23:35 +00:00
Brace Sproul
ff8a0f7167
[WIP] feat: New multi agent GitHub based workflow (#175)
* feat: New multi agent GitHub based workflow

* fix: read plan from gh issue in init issue node

* format

* cr

* fix how new planner threads are started, allow for creating new issues

* fix: read tasks from gh issue inside manager when taking any action

* cr

* update planner

* feat: port intrerrupt node to planner

* add interrupt routing in graph

* update programmer nodes and state

* read messages from issue in programmer

* lint fix

* tag issue when opening PR

* better pr title and body generation prompts

* start runs from planner interrupt and update issue with task plan

* fix lg server build issues

* cr

* fix cloning and pushing

* cr

* cr

* feat: v0 copy (#194)

* feat: v0 copy

* cr

* all pages 'working'

* cr

* cr

* cr

* cr
2025-06-18 11:03:39 -07:00
Brace Sproul
1d0a1cce6f
feat: Clone, commit and push as bot, not user (#174) 2025-06-15 13:41:32 -07:00
Brace Sproul
fda6529419
feat(open-swe): encrypt GitHub tokens in proxy route to prevent exposure in LangGraph runs (#160)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* cr

* docs
2025-06-15 12:37:31 -07:00
Brace Sproul
6c23f85eef
feat: add 'open-swe' label to created pull requests (#168)
* Apply patch

* format
2025-06-13 17:52:53 -07:00
Brace Sproul
3314821e19
fix: Improve plan interrupt UI (#167)
* fix: Improve plan interrupt UI

* format

* remove old interrupt code

* cr

* bump dep

* bump deps

* fix deps

* cr

* cr

* cr
2025-06-14 00:08:26 +00:00
Brace Sproul
b25a29f126
refactor: Move tool schemas to shared (#170)
* refactor: Move tool schemas to shared

* cr
2025-06-13 17:07:38 -07:00
Brace Sproul
0bfbf99db9
refactor: Prompt improvements (#148)
* refactor: Prompt improvements

* format n lint

* cleanup
2025-06-13 10:14:33 -07:00
Brace Sproul
e45b961007
chore: Delete unused util (#146) 2025-06-12 20:56:51 +00:00
Brace Sproul
76d412275a
refactor: Drop ThreadWithTasks (#142)
* refactor: Drop ThreadWithTasks

* cr
2025-06-12 20:19:18 +00:00
Brace Sproul
0db1a02d13
feat: Add internal messages state (#141)
* feat: Add internal messages state

* update frontend

* disable parallel tool calls
2025-06-12 20:00:51 +00:00
Brace Sproul
bbe5502b52
fix: Drop org membership constraint (#118) 2025-06-11 22:48:12 +00:00
Brace Sproul
8652faacf4
fix: Add a postinstall hook to agent so it builds deps (#115) 2025-06-11 21:31:16 +00:00
Brace Sproul
cb2027315b
fix: Update workspace deps (#114) 2025-06-11 21:14:15 +00:00
Brace Sproul
bf72e1faf7
feat: GitHub e2e auth (#106)
* feat: GitHub e2e auth

* cr

* reimplement proxy route

* fix github auth

* cr

* cr

* cr

* cr

* cr
2025-06-11 21:00:08 +00:00
open-swe-dev[bot]
41cdd8debe
feat: add baseCommit support for repository initialization (#101)
* Apply patch

* Apply patch

* format

* small logic changes

---------

Co-authored-by: Brace Sproul <46789226+bracesproul@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-06-10 12:58:19 -07:00
Brace Sproul
1736c18a19
feat: Add update plan tool (#98)
* feat: Add update plan tool

* cr
2025-06-09 22:06:20 +00:00
Brace Sproul
8afe1e6803
feat: Update chat UI to be Open SWE specific (#76) (#91)
* init repo-selector

* add branch selector UI, extend GH hook w branch info

* add   reconnectOnMount: true resumeStream, remove repo description from selector, fix styling

* styling repo + branch

* udpate getBranch calls to include targetRepo arg

* format

* add search to repo + branch selectors

* add settings icon link to /github for dev convenience

* add default branch selection

* format

* minor cleanup

* init task list UI demo

* individual task component

* tasks real data

* task visual improvement

* persisting tasks, navigate to thread onClick

* task UI

* TaskSidebar, Navigate to tasks

* org tasks by thread

* group by thread

* improve sidebar, task-list, rm github modal on refresh

* collapse sidebar works when viewing a thread

* remove micro-tasks expansion from threads component, change taskId to taskIndex for persistence + simplicity

* init config sidebar ui

* open and close config sidebar

* add ref for getAllTasks + add graph_id metadata

* format

* create threadItem component

* format

* add threadUtils

* centralize + refactor types

* format

* improve thread status, realtime updates

* fix scroll issue

* remove temperature from config-sidebar

* Change model via sidebar

* fix flashing on updates

* init plan UI

* centralize types

* self CR: refactoring, cleanup, remove comments, add todos

* CR: clean comments + logs, fix repo selector bug

* fix: Update example env file in web (#77)

* disable auto scroll on pageload

* reposelector: use default branch not main master

* remove archived tab temp, default branch listed first in branchSelector dropdown

* auto select first repo

* improve status indicator

* refactor status indicator

* simplify status implementation to use Langgraph

* util moved from provider to thread-utils

* linting, improve task completion logic

* feat: Support followup requests (#60)

* feat: Support followup requests

* cr

* cr

* fix

* account for pr already exists

* remove task provider

* fix: Better prompting and context provided for codebase structure awareness (#85)

* fix: Better prompting and context provided for codebase structure awareness

* cr

* linting + skeleton loader

* fix: branch selector, add github api pagination

* small branch update

* update task completion status realtime

* threadItem stream remove flashing/polling

* feat: Create a shared package (#89)

* feat: Create a shared package

* formatting

* fix: drop passing target repo to getBranchName

* drop docs

* use shared package for config fields in config sidebar

* fix: styling and structure for repo/branch selectors

* fix: use shared types/objects for config fields

* default key for configs

* fix: improved styling for threads

* fix renering num tasks

* disable repo branch selector when chat started

* cr

* cr

* bump deps

* fix: rendering plan in interrupt

* cr

* cr

---------

Co-authored-by: Dylan Boudro <121908331+starmorph@users.noreply.github.com>
2025-06-09 00:29:40 +00:00
Harrison Chase
d985ae4555
fix: throw errors in tools (#75)
* throw errors

* format

---------

Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-06-09 00:19:22 +00:00
Brace Sproul
a0b8aaa075
feat: Create a shared package (#89)
* feat: Create a shared package

* formatting
2025-06-08 12:10:52 -07:00
Brace Sproul
46a74dd0cb
fix: Better prompting and context provided for codebase structure awareness (#85)
* fix: Better prompting and context provided for codebase structure awareness

* cr
2025-06-06 17:44:17 -07:00
Brace Sproul
c599b916a8
feat: Support followup requests (#60)
* feat: Support followup requests

* cr

* cr

* fix

* account for pr already exists
2025-06-07 00:14:15 +00:00
Brace Sproul
887fc030a4
feat(agent-generated): Add github oauth (#63)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* format and lint

* fix ui

* Apply patch (#68)

Co-authored-by: Harrison Chase <11986836+hwchase17@users.noreply.github.com>

* fix: Github auth

* update readme

* cr

* cr

* cr

* cr

---------

Co-authored-by: Harrison Chase <11986836+hwchase17@users.noreply.github.com>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2025-06-02 01:30:29 +00:00
Brace Sproul
7b307e9cc8
fix: Make max tokens configurable, bump default to 10_000 (#64) 2025-05-30 23:07:37 +00:00
Ivan Dagelic
65b68a1a42
feat: daytona sandboxes (#59)
* feat: daytona sandboxes

Signed-off-by: Ivan Dagelic <dagelic.ivan@gmail.com>

* fix: change daytona snapshot namespace

Signed-off-by: Ivan Dagelic <dagelic.ivan@gmail.com>

* update yarn.lock and run formatter

---------

Signed-off-by: Ivan Dagelic <dagelic.ivan@gmail.com>
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-05-30 15:59:14 -07:00
Brace Sproul
c0d312601f
Harrison/patch (#58)
* stash

* Apply suggestions from code review

* Update apps/open-swe/src/utils/load-model.ts

* Update apps/web/src/components/thread/index.tsx

* cr

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2025-05-30 22:18:19 +00:00
Brace Sproul
56d9df7246
chore: Add CI job which runs the dev server (#61)
* chore: Add CI job which runs the dev server

* cr

* cr

* cr
2025-05-30 13:54:44 -07:00
Brace Sproul
b0eff07d22
feat: If session id exists, pull latest changes on branch (#57) 2025-05-30 00:52:32 +00:00
Brace Sproul
01cfde7077
fix: Include apply patch err message in tool result (#54) 2025-05-30 00:12:32 +00:00
Harrison Chase
ff23ea49a8
refactor: move target_repository from configuration to state (#44)
* Apply patch

* Apply patch

* Apply patch

* update frontend to reflect state change

* update scripts

* cr

---------

Co-authored-by: Harrison Chase <11986836+hwchase17@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-05-30 00:07:28 +00:00
Brace Sproul
2795c9d644
feat: Give the agent a tool to request help from the user (#47)
* feat: Give the agent a tool to request help from the user

* fix: open pr if no tool call generated by action node
2025-05-29 23:32:21 +00:00
Harrison Chase
c2ff18bee9
feat: add configurable maxContextActions field for planner context gathering (#52)
* Apply patch

* Apply patch

* formatting

* fix types

---------

Co-authored-by: Harrison Chase <11986836+hwchase17@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-05-29 23:14:41 +00:00
Brace Sproul
7144fbbc22
fix: Only attempt to fix diff if original isnt formatted correctly (#50) 2025-05-29 16:12:21 -07:00
Brace Sproul
3d28198985
chore: Update num cores and memory size in e2b template (#51) 2025-05-29 15:37:48 -07:00
Brace Sproul
e133e06e3c
feat: Set a default env obj for calling shell tool (#45)
* feat: Set a default env obj for calling shell tool

* cr
2025-05-29 01:23:51 +00:00
Brace Sproul
81fa410f03
fix: Handle invalid tool names better (#43)
* fix: Handle invalid tool names better

* cr
2025-05-28 16:13:03 -07:00