Commit graph

80 commits

Author SHA1 Message Date
Brace Sproul
ce3dbe0bff
feat: GPT-5 support (#712)
* feat: GPT-5 support

* cr

* standardize sandbox usage, fix wrapping commands

* cr

* cr

* cr

* cr

* cr

* use uuid instead of math.random
2025-08-07 23:31:43 +00:00
Brace Sproul
df182b676b
fix: bug with checking out the branch during followups (#679)
* fix: bug with checking out the branch during followups

* cr

* cr

* cr

* cr
2025-08-06 16:41:11 +00:00
Palash Shah
0591a907c7
feat: move programmer to local mode, guardrails, remove web interface (#627)
* 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

* openswe cli: add programmer to local modification set

* openswe cli: fix config injection

* openswe cli: add config to take action

* openswe cli: update nodes

* openswe cli: fix edit and view tools

* openswe cli: add safety guardrails

* openswe cli: local mode

* openswe cli: openswe import

* bug: fixing error about root dir is ambiguous

* bug: remove index

* bug: fix lint

* feat: update logging

* fix: update tool name

* fix: update the formatting of approve/deny

* style: update formatting

* fix: update the streaming phase to streaming

* style: update formatting

* fix: update env example

* fix: fix openPR local mode

* fix: remove interrupt messages

* style: formatting changes

* fix: remove web mode

* fix: update formatting

* nit: update the readme

* fix: update lock file

* fix: update lint

* style: eslint

* fix: update functions

* fix: update imports for lint

* fix: remove merge conflicts

* fix: formatting

* fix: remove unneeded files

* fix: adjust type errors

* fix: modify changes based on previous mods

* fix: formatting

* fix: review changes

* fix: update conclusion

* fix: update types

* fix: local mode take review

* fix: never used import

* fix: remove throe

* fix: update formatting

* fix: remove uneeded env example

* fix: random formatting

* fix: unused imports

* fix: formatting changes

* fix: formatting

* fix: small nits

* format: updates to tools

* fix: update spelling of underscore

* omit changes in open pr node

* get abs path not local path

* dont commit in local mode

* cr

* dont commit in local mode

* cr

* cr

---------

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-05 22:52:45 +00:00
Brace Sproul
a7f726df00
feat: Opus 4.1 support, switch default open-swe-max to Opus 4.1 (#678) 2025-08-05 10:34:26 -07:00
Brace Sproul
33ea6409a6
fix: try unescaping newlines? idk (#667) 2025-08-04 17:13:08 -07:00
Brace Sproul
d1a6a78d7d
fix: Replace newlines in generate jwt (#665)
* fix: Replace newlines in generate jwt

* cr
2025-08-04 16:46:33 -07:00
Brace Sproul
1eb315eed9
fix: another JWT fix attempt (#663) 2025-08-04 16:28:15 -07:00
Brace Sproul
d2c9e48c43
fix: more JWT fixes (#662) 2025-08-04 15:27:11 -07:00
Brace Sproul
71e6094421
feat: Tsconfig tool and typescript template (#660)
* feat: Tsconfig tool and typescript template

* cr
2025-08-04 14:59:36 -07:00
Brace Sproul
700bbf20f5
chore: add proper jsonwebtoken deps (#659)
* deps: add proper jsonwebtoken deps

* cr
2025-08-04 13:31:59 -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
6433ed30e0
fix: Improve prompting (#630)
* fix: Improve prompting

* larger refactor

* cr

* tags

* cr

* cr
2025-08-02 00:27:08 +00:00
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
open-swe[bot]
2f561796a5
feat: Implement Request Human Help Tool for Agent-Human Collaboration (#505)
* 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

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* Apply patch

* fix open-swe syntax errors

* fix render text input for human_request_help

* improve UI/UX post response (close input render human msg)

* remove comments

* move request_human_help to its own component file

* format

* update github comment and abstract getopensweurl util

* add username tag in request help comment, rm comments

* cr

* refactor

* cr

---------

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-30 17:48:42 -07: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
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