Robert Brennan
469059eaf8
Update openhands/server/listen.py
2024-11-08 15:30:11 -05:00
openhands
9888184289
Add JWT signing to GitHub auth cookie
...
- Sign GitHub auth cookie with JWT using config.jwt_secret
- Add expiration time to JWT payload
- Validate JWT signature and expiration in middleware
- Maintain backward compatibility with X-GitHub-Token header
2024-11-08 20:28:37 +00:00
openhands
3356753f79
Add cookie-based GitHub authentication caching
...
- Add cookie in /authenticate endpoint with 1-hour expiration
- Check for cookie in attach_session middleware before calling GitHub API
- Support cookie auth in WebSocket endpoint
- Maintain backward compatibility with X-GitHub-Token header
2024-11-08 20:23:07 +00:00
tofarr
932de79154
Fix: Buffering zip downloads to files rather than holding in memory ( #4802 )
2024-11-07 10:24:30 -07:00
Robert Brennan
fa625fed70
Retry on github auth failure ( #4767 )
2024-11-07 16:57:06 +00:00
Engel Nyst
47464a9cfa
Revert "Feature: Add ability to reconnect websockets" ( #4801 )
2024-11-07 01:56:39 +00:00
tofarr
1bd46f3832
Fix - terminal not working ( #4800 )
2024-11-06 20:34:42 +00:00
tofarr
0e5e754420
Feature: Add ability to reconnect websockets ( #4526 )
2024-11-06 18:12:31 +00:00
Robert Brennan
74b3335b7d
Bugfix: fix session close ( #4765 )
2024-11-05 14:11:15 -05:00
Rohit Malhotra
436ecb80a3
Logger fixes for openhands-resolver ( #4710 )
...
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-11-05 16:49:32 +00:00
tofarr
df9e9fca5a
Refactor: Shorter syntax. ( #4753 )
2024-11-05 16:09:14 +00:00
Robert Brennan
98751a3ee2
Refactor of error handling ( #4575 )
...
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev >
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
2024-11-04 23:30:53 +00:00
Xingyao Wang
1d2a616be7
Fix issue #4739 : '[Bug]: The agent doesn'"'"'t know its name' ( #4740 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-11-04 21:24:35 +00:00
Robert Brennan
250fcbe62c
Various async fixes ( #4722 )
2024-11-04 10:08:09 -05:00
Robert Brennan
316fc260f6
Fix list-files async calls ( #4720 )
...
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
2024-11-03 10:52:53 -08:00
Robert Brennan
7b8241e424
fix auth when there are no allow lists ( #4707 )
2024-11-02 16:25:35 +00:00
Robert Brennan
36623a16da
Minor auth fixes ( #4699 )
2024-11-01 18:33:29 -07:00
Robert Brennan
b27fabe504
Add Google Sheets integration for GitHub user verification ( #4671 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-11-01 15:17:15 -07:00
tofarr
6414b1af6e
Fix agent session error in logs ( #4669 )
2024-11-01 10:50:56 +08:00
tofarr
dd55290f4e
Fix : app unresponsive on startup ( #4668 )
2024-10-31 14:30:33 -07:00
tofarr
be77baea31
refactor: remove unused methods and constants from Session class ( #4662 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
2024-10-31 14:55:37 -06:00
Robert Brennan
a812e2b5f1
Add cookie-based authentication to all routes ( #4642 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com >
2024-10-31 12:18:42 -07:00
tofarr
4ebff5aaf3
Fix unawaited ( #4665 )
2024-10-31 19:16:37 +00:00
Engel Nyst
0687608feb
[Arch proposal] ENVIRONMENT event source ( #4584 )
...
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev >
2024-11-01 02:33:13 +08:00
Robert Brennan
e17f7b22a6
Remove hidden commands from feedback ( #4597 )
...
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev >
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-10-31 08:49:47 -07:00
tofarr
05645d1bbd
Refactor CORS middleware and enhance localhost handling ( #4624 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
2024-10-30 08:46:22 -06:00
Robert Brennan
e21abce786
Load GitHub users list at startup for improved authentication performance ( #4567 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
2024-10-30 10:27:25 -04:00
Robert Brennan
997dc80d18
chance default model to 3.5 sonnet new ( #4612 )
...
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev >
2024-10-29 17:43:25 +00:00
Robert Brennan
30eeaa641c
Major logging overhaul ( #4563 )
2024-10-29 07:30:50 +01:00
tofarr
c3da25febc
Fix for docker leak ( #4560 )
2024-10-25 15:53:39 +00:00
Robert Brennan
8d2b2d4318
Refactor runtime to add a connect method ( #4410 )
...
Co-authored-by: Tim O'Farrell <tofarr@gmail.com >
2024-10-25 09:02:19 -04:00
tofarr
60990c128a
Feature: Minor refactor of SessionManager to make it a dataclass ( #4553 )
2024-10-24 14:32:05 -06:00
Robert Brennan
c4c25ea229
Minor fixes for GitHub credential exchange ( #4554 )
2024-10-24 16:29:03 -04:00
tofarr
ee2c2ff2b8
Feat changed "is_confirmed" to "confirmation_state" ( #4508 )
2024-10-24 13:35:14 -06:00
Robert Brennan
8c064fe3df
add catch all route, disable caching ( #4547 )
2024-10-24 15:06:17 -04:00
sp.wack
385cc8f512
[ALL-561] feat(frontend|backend): Display error messages in the chat ( #4509 )
2024-10-23 18:56:00 +04:00
Xingyao Wang
2d5b360505
refactor: re-organize different runtime implementations into an impl folder ( #4346 )
...
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-10-23 10:10:03 +00:00
Xingyao Wang
da548d308c
[agent] LLM-based editing ( #3985 )
...
Co-authored-by: Tim O'Farrell <tofarr@gmail.com >
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
Co-authored-by: Robert Brennan <accounts@rbren.io >
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-10-22 04:51:44 +08:00
Robert Brennan
cc68756b26
fix freeze on zip-files endpoint ( #4487 )
2024-10-18 15:29:07 -04:00
sp.wack
cf793582a7
[ALL-543] feat(frontend): Setup auth route, replace loading spinner, add new route ( #4448 )
2024-10-18 19:32:46 +04:00
sp.wack
642e01b673
fix(frontend): Update build directory and referenced paths ( #4461 )
2024-10-17 23:24:49 +04:00
sp.wack
83c096b974
[ALL-551] chore(frontend): Retrieve APP_MODE from the server ( #4423 )
2024-10-17 18:35:21 +04:00
tofarr
cb58dab82b
Fix loop graceful shutdown ( #4394 )
2024-10-16 08:40:33 -06:00
tofarr
8a93da51be
Fix for lockup - create the runtime in a background thread ( #4412 )
...
Co-authored-by: Robert Brennan <contact@rbren.io >
2024-10-15 23:52:21 +00:00
Robert Brennan
63ff69fd97
Allow attaching to existing sessions without reinitializing the runtime ( #4329 )
...
Co-authored-by: tofarr <tofarr@gmail.com >
2024-10-14 15:24:29 +00:00
tofarr
4c5e2a339f
Feat: Async Goodies for OpenHands ( #4347 )
2024-10-11 15:34:44 -06:00
sp.wack
36e304b3da
chore(backend): Refactor copy_from method to be more generic ( #4278 )
2024-10-10 12:10:35 -04:00
tofarr
f867fda2f9
Fix Graceful cleanup of session manager ( #4306 )
2024-10-10 09:15:29 -06:00
Robert Brennan
45fb4fb9bc
allow reconnecting to a runtime ( #4223 )
2024-10-09 16:37:52 +00:00
tofarr
cdd05a98db
Lockup Resiliency and Asyncio Improvements ( #4221 )
2024-10-08 07:17:37 -06:00