Commit graph

66 commits

Author SHA1 Message Date
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
840a7fc852
feat: Add section for custom PR formatting rules (#580) 2025-07-29 01:19:40 +00:00
open-swe[bot]
88d1b8e734
feat: Add provider-specific tool support for FallbackRunnable (#560)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* support custom system prompts

* cr

* cr

* cr

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-07-28 23:14:41 +00:00
open-swe[bot]
3dafec6cdc
feat: Add Anthropic Built-in Text Editor Tool for Claude 4 (#543)
* 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

* fix porting search to grep

* cr

* revert default model back to sonnet

* standalone view tool

* cr

* cr

* cr

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-28 11:23:28 -07:00
open-swe[bot]
fb4523539d
fix: update tokenData structure to support multiple LLMs (#555)
* 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

* fix backend

* fix frontend

* cr

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-07-27 23:56:50 +00:00
Brace Sproul
ff5af2b93b
feat: Improved reviewer prompt and tools (#513)
* feat: Improved reviewer prompt and tools

* consolidate around scratchpad

* fix build

* cr

* cr
2025-07-25 16:28:39 -07:00
Brace Sproul
3ec90ef6e6
fix: Default model selection (#533)
* fix: Default model selection

* cr
2025-07-25 19:05:27 +00:00
Brace Sproul
4490393494
fix: Open draft PRs after first commit (#521)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* format

* cr

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
2025-07-24 16:01:14 -07:00
Brace Sproul
aec3a8fc1b
chore: Set upstream branch when cloning repo (#522) 2025-07-24 13:21:43 -07:00
Brace Sproul
bd30857fbb
fix: add ads2280 to allowed users (#520) 2025-07-24 12:43:16 -07:00
Aliyan Ishfaq
c0e557cdb7
feat: Document TOC Generation and Search Tool for Large Documentation (#500)
* feat: toc generation of page contents

* feat: added webpage query with summarization

* chore: code cleaning

* chore: code cleaning

* feat: page content caching and code formatting

* fix: uuid fix

* fix: graph update
2025-07-23 17:55:59 -07:00
Brace Sproul
6ac4deacd6
fix: Handle expired tokens (#506)
* fix: Handle expired tokens

* cr
2025-07-23 23:15:57 +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
open-swe[bot]
984fc68556
[open-swe] feat: Implement 4-Tier Prompt Caching Strategy (#439)
* 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

* cleanup

* cr

* cr

* add caching to planner

* total coverage on token caching, cache reviewer messages

* cr

* 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-22 00:39:58 +00:00
open-swe[bot]
6a140027f2
docs: Update sub-README files to match root README convention (#466)
* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply suggestion from @bracesproul

* Apply suggestion from @bracesproul

* Apply suggestion from @bracesproul

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-07-21 21:52:21 +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
9e5f042c0e
fix: Bump core dep to latest (#447) 2025-07-17 14:25:03 -07:00
Brace Sproul
f847e6b443
fix: Drop [open-swe] prefix to PR titles (#442) 2025-07-17 13:58:58 -07:00
Brace Sproul
ed85a4c884
fix: Better prompt handling of followups (#434)
* fix: Better prompt handling of followups

* cr

* cr

* cr

* cr
2025-07-16 18:17:07 -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
Brace Sproul
2b1f301848
fix: Better filtering of invalid messages (#417)
* fix: Better filtering of invalid messages

* cr

* cr
2025-07-15 16:14:33 -07:00
Brace Sproul
73e7ba5295
feat: Set max num of times reviewer can run (#418)
* feat: Set max num of times reviewer can run

* cr
2025-07-15 14:38:18 -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
0baea2350e
fix: Simplify configurable model groups (#415)
* fix: Simplify configurable model groups

* cr
2025-07-15 11:21:05 -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
Aliyan Ishfaq
1801fe7023
feat: Evaluations to test open-swe's langGraph py ability (#385) 2025-07-14 09:08:36 -07:00
Brace Sproul
72a129f691
feat: New algo for when and how to summarize conversation history (#396)
* feat: New algo for when and how to summarize conversation history

* remove summarize task steps node

* cr

* cr

* cr

* cr

* feat: add convo summary component to ui

* cr
2025-07-13 13:26:56 -07:00
Brace Sproul
d769983483
feat: Add component for write technical notes tool call (#395)
* feat: Add component for write technical notes tool call

* cr
2025-07-11 15:34:02 -07:00
Brace Sproul
abc984409f
refactor: Proxy req utils, rename GITHUB_TOKEN_ENCRYPTION_KEY to SECRETS_ENCRYPTION_KEY (#391)
* refactor: Proxy req utils, rename GITHUB_TOKEN_ENCRYPTION_KEY to SECRETS_ENCRYPTION_KEY

* cr
2025-07-11 10:48:14 -07:00
bracesproul
9fb80bbd6a fix: Dont fetch entire thread history 2025-07-10 16:51:30 -07:00
open-swe[bot]
77fe0e9a05
[open-swe] feat: Add find_instances_of tool for comprehensive string search (#350)
* 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

* fix

* cr

---------

Co-authored-by: open-swe-dev[bot] <open-swe-dev@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
2025-07-09 02:25:38 +00: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
9082b86799
feat: Add tool to get contents of URL (#340) 2025-07-08 15:14:55 +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
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
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
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
6cb5dcfe04
fix: Cleaner output of rg commands for LLM readability (#328) 2025-06-27 16:12:09 -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
96479f6984
feat: Planner notes (#305)
* feat: Planner notes

* update frontend

* cr
2025-06-23 17:48:08 -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
7a281ad4c1
feat: Custom rules (#304) 2025-06-23 15:06:26 -07:00
Brace Sproul
2ee04861be
feat: Add opened PR tool (#292)
* feat: Add opened PR tool

* cr
2025-06-22 23:35:25 +00:00
Brace Sproul
08a0945a0e
feat: Add install dependencies tool (#291)
* feat: Add install dependencies tool

* cr

* hookup prompt

* frontend

* add prompt saying deps installed
2025-06-22 22:47:29 +00:00
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
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
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