Commit graph

15 commits

Author SHA1 Message Date
Palash Shah
46b435a543
feat: add planner and manager changes (#602)
* openswe cli: add planner and manager changes

* openswe cli: fix programmer config

* openswe cli: formatting

* openswe cli: add config to reviewer

* Potential fix for code scanning alert no. 17: Incomplete string escaping or encoding

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* openswe cli: update code security

* feat: use commander

* fix: debug

* fix: comment

* fix: remove config

* fix: updates

* fix: local mode

* fix: repeated islocalmodes

* fix: update imports

* fix: revert wrap script and commands

* fix: adjust types

* fix: update function signatures

* fix: final shell exec fix

* fix: update tsconfig for test

* fix: add run input type

* fix: update types

* fix: reent user message

* fixes from code review

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-08-01 15:50:40 -04:00
Palash Shah
01a514b1fa
feat: add updates to cli application (#503)
* open swe cli: initial cli updates

* openswe cli: add working authentication

* open swe cli: remove unecessary console log statements

* openswe cli: typescript modifications

* openswe cli: updates to formats

* openswe cli: updates to formatting

* openswe cli: ran prettier

* openswe cli: update urls

* openswe cli: update eslint

* openswe cli: add env example

* openswe cli: add updates

* openswe cli: formatting

* openswe cli: add app installation

* openswe cli: clean up lint and formatting

* temp logs

* l

* working human feedback prompting

* stop the re-renders

* NOT WORKING -- KICKOFF PROGRAMMER

* approve programmer

* detected programmer working

* some sembleance of logging

* some changes

* working logs

* concatenated tool results

* ui improvements

* update ui

* formatting

* simple interrupt working

* working multiple sessions + padding

* working dissapearance of the approve/deny

* TEST PUSH

* cr

* generally working tool calls

* access thread ip properly

* fix naming of env example

* add readme

* formatting

* linting + formatting

* dist updates

* updates to yarn

* no tests for cli

* updates to readme

* format

* update readme

* remove auth print out

* add loading indicators

* formatting changes

* remove shared workspace

* add lock

* add dependency

* update yarn lock

* add back the installation token

* replace with variable constants

* Update apps/cli/src/auth-server.ts

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

* openswe cli: updates

* openswe cli: cleanup lint

* openswe cli: update stream mode

* openswe cli: update stream mode

* openswe cli: streaming service

* openswe cli: create selector for approval

* openswe cli: remove streaming service

* openswe cli: update types to langchain

* openswe cli: update all streamModes

* openswe cli: update formatting

* openswe cli: update stream mode

* openswe cli: notify of in development

* openswe cli: change to istoolmessage

---------

Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-07-29 17:37:13 -04:00
Brace Sproul
6ac4deacd6
fix: Handle expired tokens (#506)
* fix: Handle expired tokens

* cr
2025-07-23 23:15:57 +00:00
Brace Sproul
dda277456a
feat: Require API keys from non langchain users (#448)
* feat: Require API keys from non langchain users

* cr

* cr
2025-07-17 18:10:48 -07:00
Brace Sproul
b128e4ae45
Brace/07 16/fixes (#431)
* fix: General fixes

* cr

* bump langchain core langsmith deps
2025-07-16 13:17:35 -07:00
Aliyan Ishfaq
1801fe7023
feat: Evaluations to test open-swe's langGraph py ability (#385) 2025-07-14 09:08:36 -07:00
Aliyan Ishfaq
2a05332693
[open-swe] feat: integrate MCPDoc Server into planner and programmer (#349)
* feat: added LangGraph's MCP server

* chore: code cleaning

* fix: packages fix

* feat: mcp servers user configurable

* chore: code cleaning

* chore: formatting fixes

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

* fix: types for http streamable mcp

* chore: yarn file updated

* chore: linting errors

* cr

* Update apps/open-swe/src/utils/mcp-client.ts

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-08 19:39:17 +00:00
Brace Sproul
4c53b1a4e3
feat: include installation name in headers (#358)
* feat: include installation id in headers

* drop console logs

* fix req from frontend
2025-07-07 19:27:47 +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
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
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
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
a0b8aaa075
feat: Create a shared package (#89)
* feat: Create a shared package

* formatting
2025-06-08 12:10:52 -07:00
Renamed from apps/open-swe/src/constants.ts (Browse further)