-
Notifications
You must be signed in to change notification settings - Fork 315
feat(agent-server): Add file-based settings and secrets persistence #3026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 36 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
6ec0143
feat(agent-server): Add file-based settings and secrets persistence
openhands-agent 6fcf948
feat(settings-router): Add expose_secrets query parameter
openhands-agent 8141f0e
feat(workspace): support local agent-server mode for get_llm/get_secr…
openhands-agent 0ae827d
refactor(workspace): simplify local/cloud mode branching with _fetch_…
openhands-agent c14821d
fix: address security and correctness review comments
openhands-agent f740dfb
fix: correct test assertion for params in get_mcp_config
openhands-agent 9ae7306
refactor(workspace): centralize route paths for local/cloud mode
openhands-agent 412efa8
refactor: move settings methods from OpenHandsCloudWorkspace to Remot…
openhands-agent 3bb15ac
fix: remove local_agent_server_mode from cloud workspace repos tests
openhands-agent d33abde
revert: keep OpenHandsCloudWorkspace settings methods as-is
openhands-agent f939871
refactor: use route constants for settings API paths
openhands-agent 72fa456
feat(persistence): add schema migration support via from_persisted
openhands-agent e9ad0c9
fix cipher
openhands-agent 9a15252
merge settings
openhands-agent b83ffff
Merge branch 'main' into feat/settings-persistence
xingyaoww 38dad02
refactor: Use typed SettingsUpdatePayload for update() method
openhands-agent 357357e
fix: address PR review feedback - OH_PERSISTENCE_DIR and docs
openhands-agent 35276a1
fix: improve validation error message to include model name
openhands-agent a9f458a
style: fix ruff format issue in validation error message
openhands-agent 37de6d6
make creation endpoint args optional
openhands-agent d153501
Merge branch 'feat/settings-persistence' of https://github.com/OpenHa…
openhands-agent f4a1bdb
fix: update test for optional agent schema in StartConversationRequest
openhands-agent 8dfdb82
fix: allow optional agent/workspace in REST API breakage check
openhands-agent b9fbb4e
fix: address code review feedback on security and robustness
openhands-agent 76c328b
fix: update tests and narrow optional property allowlist patterns
openhands-agent 1104f61
style: fix line too long in test
openhands-agent e166cc6
fix: address review comments - security, race conditions, validation
openhands-agent fccfb5c
style: fix line length in store.py docstrings
openhands-agent 8324ecb
fix: address all review comments from PR #3026
openhands-agent 74b6073
fix: address lint errors (missing logger import, line length)
openhands-agent cd86fa1
fix: address pyright type error and ruff lint fixes
openhands-agent d3123d1
fix: add None checks for optional secret.secret field (pyright)
openhands-agent f5286f4
fix: address additional review comments (round 2)
openhands-agent 5250bee
fix: add blank line before fcntl import comment (ruff)
openhands-agent cc98a0d
fix: address PR review comments (round 3)
openhands-agent c44a322
fix: address PR review comments (round 4)
openhands-agent 498ef8f
fix: remove custom 422 responses to preserve FastAPI defaults
openhands-agent a780087
fix: address remaining review comments (round 5)
openhands-agent 7ee8f57
fix: use time-based unique suffix instead of function attribute
openhands-agent 6b08748
fix: address PR review comments (round 6)
openhands-agent 035062a
fix: address pre-commit lint errors (line length, unused imports)
openhands-agent 44e3d53
fix: use X-Expose-Secrets header instead of query param in get_llm
openhands-agent a3905c7
fix: address review feedback - security and correctness improvements
openhands-agent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.