Commit graph

22 commits

Author SHA1 Message Date
Brace Sproul
504be7c563
fix: Rename from open-swe to openswe (#809)
* fix: Rename from open-swe to openswe

* del tmp file, format and lint
2025-08-27 19:33:26 +00:00
open-swe[bot]
d00dde3ada
feat: Issues disabled warning banner (#682)
* Apply patch [skip ci]

* Apply patch [skip ci]

* Apply patch [skip ci]

* Apply patch [skip ci]

* Apply patch [skip ci]

* Empty commit to trigger CI

* cr

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-08-06 10:53:29 -07:00
Brace Sproul
f5e7af5db0
fix: Rename Task to LLMTask and improve api key required message (#652)
* fix: Rename task to llmtask and improve api key required message

* cr

* cr
2025-08-03 20:02:03 +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
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
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
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
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
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
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
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
Dylan Boudro
708a9f6b1a
feat: hookup shell & apply patch tools to client side messages stream (#161)
* add action-step tool component into UI for apply_patch and shell tool calls

* improve types

* update open-swe zod to match web/ zod

* CR: improving action-step implementation

* CR: generating state of action-step

* cr

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-06-17 09:37:52 -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
baab1e989a
fix: Type errors where thread value is undefined (#144) 2025-06-12 20:34:46 +00:00
Brace Sproul
f549d119ab
fix: parallelize thread polling (#143)
* fix: parallelize thread polling

* format
2025-06-12 20:29:20 +00:00
Brace Sproul
76d412275a
refactor: Drop ThreadWithTasks (#142)
* refactor: Drop ThreadWithTasks

* cr
2025-06-12 20:19:18 +00:00
Brace Sproul
a99a02223d
fix: Disconnect GH -> Logout button (#138)
* fix: Disconnect GH -> Logout button

* cr
2025-06-12 11:12:00 -07: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
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
76dadeeb72
feat: Add web package (#34) 2025-05-28 19:26:47 +00:00