Commit graph

34 commits

Author SHA1 Message Date
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
Brace Sproul
01f0698e02
fix: stream messages properly (#416) 2025-07-15 13:35:37 -07:00
Brace Sproul
3b7dee85f7
feat: Settings page (#357)
* feat: Settings page

* fix build: minor syntax error

* rm old GH page, settings page functionality + dark mode

* Fix build add suspense to settings page

* add no GH installation functionality

* rm comments, add cn utilities

* add plus install new github org button to settings page

* cr

* cr

* cr

* cr

---------

Co-authored-by: Dylan Boudro <121908331+starmorph@users.noreply.github.com>
Co-authored-by: starmorph <dylan@starmorph.com>
2025-07-15 12:52:25 -07:00
Brace Sproul
a1d9b88d69
fix: A handful of small fixes (#408) 2025-07-14 20:01:27 -07:00
Brace Sproul
78f38503e0
feat: Reviewer agent (#320)
* feat: Reviewer agent

* cr

* cr

* hookup graph

* cr

* cr

* cr

* prompt and context improvements

* implement UI

* format

* cr

* cr

* cr

* cr

* prompt and tool updates

* add diagnose err node

* cr

* cr

* cr

* cr

* fix issues

* cr

* cr

* cr

* cr

* cr
2025-07-14 16:39:19 -07:00
Brace Sproul
caf222235f
hack: Subgraph streaming messages support (#394)
* hack: Subgraph streaming messages support

* cr

* cr

* cr
2025-07-11 13:58:10 -07:00
bracesproul
9fb80bbd6a fix: Dont fetch entire thread history 2025-07-10 16:51:30 -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
Brace Sproul
1756575b4c
feat: Generate title for gh issues & better manager responses (#366)
* feat: Generate title for gh issues

* fix a lot

* fix: add proposed plan to gh issue body

* cr

* cr

* cr

* improve prompting

* cr
2025-07-09 21:38:15 +00:00
Dylan Boudro
23f72d0669
Feat: Loading state action list (#360)
* init action-list loading state

* loading state logic

* rm comments

* simplify

* fix loading logic

* CR: DRY loadingActionsCard refactor

* hybrid loading logic; content + stream load

* fix duplicate loading actions text

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-08 19:47:06 +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
open-swe-dev[bot]
19206f0c34
[open-swe] feat: add accepted plan action component for planner interface (#335)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* fix build and accepted-plan-component rendering

* CR

* improve component UI design

* overflow scroll on accepted plan component

* cr

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

* fix: styling

---------

Co-authored-by: open-swe-dev[bot] <open-swe-dev@users.noreply.github.com>
Co-authored-by: starmorph <dylan@starmorph.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-07-03 20:46:11 +00:00
Dylan Boudro
d1d88d6fc4
scroll to bottom ux fix (#344)
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-03 20:26:28 +00:00
Brace Sproul
4ea21855f7
feat: Add auto accept mode (#346)
* feat: Add auto accept mode

* cr
2025-07-03 20:01:52 +00:00
Dylan Boudro
942bc5ca1d
Feat: Diagnose error action component (#325)
* init diagnose-error component

* rm old diagnose error genui v1 component

* diagnose-error schema to shared/tools

* CR

* Update apps/web/src/components/thread/messages/ai.tsx

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-02 17:20:45 +00:00
Dylan Boudro
71a31a3649
fix: managerChat autoscroll (#326)
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-06-30 23:02:14 +00:00
Brace Sproul
ba0690caa0
feat: trigger runs from GH issues (#324)
* feat: trigger runs from GH issues

* cr

* working

* cr

* done

* cr

* cr

* cr

* cr

* diff label for dev vs prod

* cr

* cr

* cr
2025-06-30 16:43:09 -06:00
Brace Sproul
b88db80b26
fix: Refactor manager chat into its own component (#322) 2025-06-27 11:26:53 -06:00
Brace Sproul
9d7a74a976
Staging june24 (#319)
* empty state programmer planner tabs

* add scroll: on pageload, buttonclick, tabswitch

* format

* init step dark mode style

* format

* submit button styling

* improve to use brand variant

* increase to 8x8px and change padding to adjust btn pos

* minor format

* fix light theme repo hover styling

* bump deps

* fix input button styling

* fix styling for scroll to bottom

---------

Co-authored-by: starmorph <dylan@starmorph.com>
Co-authored-by: Dylan Boudro <121908331+starmorph@users.noreply.github.com>
2025-06-26 15:08:16 -06:00
Brace Sproul
64d34aa7bb
feat: Force user auth (#308)
* feat: Force user auth

* cr

* cr
2025-06-24 00:52:55 +00:00
Dylan Boudro
d778021da3
feat: Auth from Stream --> Middleware (#280)
* init auth stream --> middleware

* minor cleanup

* fix build

* fix github token

* minor format

* handle access token + GH install key

* add prompt to install GH app

* fix build

* fix gh install token passing

* remove console logs

* CR

* CR

* move dep, rm private key string replace

* CR minor fixes

* Update apps/web/src/providers/client.ts

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-06-23 17:18:28 -07:00
Brace Sproul
7a281ad4c1
feat: Custom rules (#304) 2025-06-23 15:06:26 -07:00
open-swe[bot]
095c7fb58a
[open-swe] feat: Add copy button to chat messages in v2 thread view (#286)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* cr

* Apply patch

* Apply patch

* Apply patch

* cr

* small styling changes

---------

Co-authored-by: open-swe-dev[bot] <open-swe-dev@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-06-20 13:39:48 -07:00
Brace Sproul
91d5b0b087
chore: Allow chat page to be scrollable, dont show waiting tasks in init sandbox (#283) 2025-06-20 12:57:23 -07:00
Brace Sproul
530c62da40
feat: UI improvements (#265)
* cr

* cr
2025-06-19 12:49:25 -07:00
Brace Sproul
a93614ffa6
feat: Implement a loading and empty state for recent & running threads (#257)
* feat: Implement a loading and empty state for recent & running threads

* cr
2025-06-19 12:28:06 -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
de8d465695
feat: Dark mode (#241)
* feat: Dark mode

* more work

* more dark/light mode, refactor thread card

* fix rest of dark mode

* cr

* cr

* cr
2025-06-18 16:44:41 -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
0546a44d99
fix: Add loading state to initial request submission (#232)
* fix: Add loading state to initial request submission

* cr
2025-06-18 21:00:00 +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
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