feat: Linux-first JARVIS with OpenRouter, CalDAV, IMAP, and Auth#1
Merged
Conversation
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Owner
Author
|
Haven't tested this yet. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🎯 Changes
1. Linux-First Platform Support
calendar_access.py, enabling calendar discovery and event fetching on non-macOS platforms.mail_access.pyfor non-macOS, supporting unread counts, message search, and reading.notes_access.pyfor non-macOS, including listing, reading, searching, and creating notes with configurable directories.actions.pyfor Linux terminal and browser opening, andscreen.pyfor Linux window enumeration (wmctrl/xdotool) and screenshot capture..env.example,CLAUDE.md,CONTRIBUTING.md, andREADME.mdupdated to reflect Linux-first approach, CalDAV/IMAP/filesystem notes, andxdg-openusage.2. OpenRouter LLM Integration
llm_client.py, supporting configurable fast/research/vision models.memory.py,planner.py, andserver.pyto use the new OpenRouter client for memory extraction, planning classification, and chat/research/vision flows..env.exampleupdated withOPENROUTER_API_KEYand related settings;requirements.txtremovedanthropicand addedicalendar.frontend/src/settings.tsupdated to use OpenRouter for settings UI and test endpoints.3. API Authentication & Security
server.py, with HTTP middleware enforcing authentication and basic rate limiting.frontend/src/settings.tsnow stores and sends access tokens viaAuthorization: Bearerheader;frontend/src/ws.tsappends the token as a query parameter for WebSocket authentication.server.pytightened defaults (bind to127.0.0.1, restricted CORS origins, optional SSL, dev-mode gating for dangerous endpoints)..env.exampleincludesJARVIS_AUTH_TOKENand allowed origins.4. Deployment & CI Improvements
.github/workflows/ci.yml) to run Python tests and build the frontend on pushes/PRs.systemd --userservice unit (docs/systemd/jarvis.service) for running the server on Linux with SSL.JARVIS_PROJECTS_DIRinactions.pyandserver.py, replacing the hardcoded Desktop path.5. Testing & Development
tests/test_browser_integration.pyadded Playwright binary checks;tests/test_classifier.pyupdated to useOPENROUTER_API_KEYand the new client loader.requirements-dev.txtaddedpytestandpytest-asyncio.💡 Technical Highlights