Commit graph

29 commits

Author SHA1 Message Date
Brace Sproul
d098048fa7
fix: Initial auth flow (#596) 2025-07-29 14:24:22 -07:00
Brace Sproul
d61965ce6b
feat: Wait on cancel, better UX when canceling (#578) 2025-07-28 16:28:10 -07:00
open-swe[bot]
576d2553e3
fix: Reset branch query param when switching repositories (#519)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* fix: clear branch when switching repos to set correct default branch

* fix branch selector logic

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: Dylan Boudro <121908331+starmorph@users.noreply.github.com>
Co-authored-by: starmorph <dylan@starmorph.com>
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-26 20:52:32 +00:00
Brace Sproul
3d944cc81e
fix: Better component for rendering thread errors (#528)
* fix: Better component for rendering thread errors

* cr
2025-07-25 00:55:23 +00:00
Dylan Boudro
d9feebb89d
feat: filter threads by selected Github org (#502)
* init gh thread filter

* format from main merge and improve filter logic

* fix git diff from main merge format

* refactor: move GH provider to chat layout

* fix cosmetic git diff indentation

* suspense and client component

* update filter mech w metadata install name

* cr

* CR: fix single thread view w disableOrgFilter option

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-24 10:26:26 -07:00
Dylan Boudro
fac83e1a55
feat: Thread title proposed plan (#494)
* init thread title from proposed plan task

* add proposed plan thread title to threadCard component

* remove comments

* refactor

* abstract computeThreadTitle

* self CR, refactor

* self CR, refactor, rm unused import from un-needed memo

* Update apps/web/src/lib/thread.ts

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

* CR: useThreadMetadata remove increased polling speed

* CR: revert inlineMD, rm wrapped <p> pass className to basicMD, import getActiveTask

* CR: revert getActiveTaskPlan to previous first task logic

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-23 20:57:10 +00:00
open-swe[bot]
02d257fa0f
feat: Add API Key Banner for Unauthorized Users (#488)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* cr

* cr

* cr

* cr

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-07-23 19:37:05 +00:00
Dylan Boudro
3967ea0dca
feat: Task plan UI Component: front-end only (#438)
* task plan init FE

* dark theme

* fix build

* new swr-config for frequent polling task plan

* rm dev logs + comments

* CR

* CR: center task progress bar

* add task tracking to thread-card on default-view (homepage)

* progress bar styling, revert cancel button change

* revert onstreamready optional

* implement homepage taskplan via polling instead of React Context for persistence

* rm comment

* Update apps/web/src/components/v2/actions-renderer.tsx

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

* Update apps/web/src/components/v2/thread-card.tsx

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

* Update apps/web/src/components/v2/thread-card.tsx

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

* CR

* /chat/threads page taskplan

* shared utils in progressbar

* fix taskPlan for stream actions-renderer --> thread-view

* cr

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-22 22:43:42 +00:00
Brace Sproul
7e5a5a7947
feat: Better support for pagination in gh branch dropdown (#430)
* feat: Better support for pagination in gh branch dropdown

* cr

* cr
2025-07-16 11:49:46 -07:00
Dylan Boudro
d51af805e2
Feat: Thread Status SWR Polling (#370)
* init swr polling branch

* useThreads types improvement

* minor build fix

* major refactor and simplification of polling system

* remove temp guide file

* refactor, remove errorBoundary, simplify schema

* refactor: unify client<>server status logic

* fix threads/page conflicts + functionality

* Update apps/web/src/components/v2/thread-card.tsx

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

* CR in progress

* CR fix: add cn to thread-card.tsx

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

* CR

* CR

* CR: no threads state, Batch ThreadsStatus for /chat/threads actual logic

* drop req type validation in lg proxy

* optimize thread polling, reduce unnecessary api calls, match implementation spec

* reduce unnecessary api calls, update all threads page

* add thread loading state to threadCard

* utilize threads/search for manager thread info

* improve polling api req efficiency

* rm comments

* post merge format

* fix import

* improve programmer cache logic

* reduce run requests

* remove timeout run requests

* remove run check for completed tasks

* fix: update status dot to support dark mode styles too

* fix session cache and proper typing

* fix: more typing

* code review fixes

* CR

* code review

* fix build

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-15 17:51:12 -07:00
Dylan Boudro
0f5bb868d9
fix repo dropdown selection (#388) 2025-07-11 08:53:55 -07:00
open-swe-dev[bot]
ba38da81c3
feat: Add GitHub installation selector dropdown for multi-org support (#365)
* Apply patch x10

* fix build

* unifying GH org installations [org select, repo select, /github]

* github multi installation management

* clean git diff

* CR: remove HTTP constraint from GH install cookie, rm api endpoint, update hooks

* CR: use octokit types for GH install

* CR: GH loading component, fix org selector icons

* minor github loading fix

* rm un-needed gh install api route

* CR: InstallationCookieOptions

---------

Co-authored-by: open-swe-dev[bot] <open-swe-dev@users.noreply.github.com>
Co-authored-by: starmorph <dylan@starmorph.com>
Co-authored-by: Dylan Boudro <121908331+starmorph@users.noreply.github.com>
2025-07-10 15:45:26 -07:00
Dylan Boudro
6f7c5e1111
Feat: Polling /chat/threads (#337)
* Thread polling on /chat/page (recent)

* polling chat/threads using SWR polling hook

* reinstall swr in web/ package.json

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-08 15:08:42 +00:00
Dylan Boudro
4793ee3d3a
Feat: cancel-run buttons [manager, planner, programmer] (#330)
* cancel run: manager, programmer, planner

* improve error handling + useCancelStream hook abstraction

* cancel stream button

* minor format

* Code review

* CR: remove duplicate stream

* Apply suggestions from code review

* cr

* use cancelStreamButton

* cleanup and fix flash

* cr

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-08 11:04:27 -04:00
open-swe[bot]
0b5ef67527
[open-swe] feat: Add request drafts functionality with auto-save and drafts UI (#351)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* cr

---------

Co-authored-by: open-swe-dev[bot] <open-swe-dev@users.noreply.github.com>
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-07 21:24:07 +00:00
Brace Sproul
42f67464bc
feat: Add loading state to all threads page (#260)
* feat: Implement a loading and empty state for recent & running threads

* cr

* feat: Add loading state to all threads page
2025-06-19 12:37:47 -07:00
Brace Sproul
b752b2326e
feat: Add loading state to threads page (#234)
* feat: Add loading state to threads page

* format

* cr
2025-06-18 22:15:11 +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
76d412275a
refactor: Drop ThreadWithTasks (#142)
* refactor: Drop ThreadWithTasks

* cr
2025-06-12 20:19:18 +00:00
Brace Sproul
0709d9fe98
refactor: Standardize hook file names (#136)
* refactor: Standadize hook file names

* cr
2025-06-12 10:00:52 -07:00
Brace Sproul
38fc7f9cbd
feat: add localStorage persistence for repository selection (#127)
* Apply patch

* Apply patch

* Apply patch

* fix: add getRepository func

* cr

* cr
2025-06-12 01:07:59 +00:00
Brace Sproul
69b15a9f77
feat: add pagination support for GitHub repositories and branches (#122)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* cleanup & fix build

* fix: always get default branch for first page

* cr

* cr

* cr

* cr

* cr

* cr
2025-06-12 00:36:23 +00:00
Dylan Boudro
30881a5d92
Dylan/task sidebar polling (#107)
* fix threadItem task-sidebar onClick bugs

* format + remove thread-utils

* init polling for threadItem updates

* rm Stream update for sidebar

* tasks completed accurate from state while polling

* remove console logs

* CR

* CR: fix types, rm selectedThread, fix active task logic

* fix minor navigation state, update polling animation time

* remove type narrowing / casting CR
2025-06-11 16:40:11 -07: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
Brace Sproul
1c12f6f754
feat: Hookup config store (#99)
* feat: Hookup config store

* cr
2025-06-09 23:41:52 +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
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
70c009ad4b
fix: Pull latest for chat ui (#36)
* fix: Pull latest for chat ui

* cr
2025-05-28 20:06:38 +00:00
Brace Sproul
76dadeeb72
feat: Add web package (#34) 2025-05-28 19:26:47 +00:00