Repository navigation
feat: add model-only offline mode #1805
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
Open
anandgupta42
wants to merge
72
commits into
main
Choose a base branch
from
feat/offline-mode
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,743
−66
Open
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
8543a5b
feat: add model-only offline mode
anandgupta42 1fb5527
fix: bypass inherited proxies in offline mode
anandgupta42 b1245bd
fix: gate direct shell entry points in offline mode
anandgupta42 c4d318c
fix: keep offline tool runs out of online daemons
anandgupta42 e749ec6
fix: close offline startup and subprocess gaps
anandgupta42 866ad87
fix: keep offline gating separate from account state
anandgupta42 026d63f
fix: close remaining offline egress paths
anandgupta42 843dc3e
fix: finish offline config, skill, and share guards
anandgupta42 ef47e04
fix: block ripgrep downloads and Git snapshot filters offline
anandgupta42 ff68bba
fix: skip working-tree Git filters offline
anandgupta42 890417a
fix: preserve early MCP stdio startup and refuse offline browser launch
anandgupta42 27c9af2
fix: allow only Git metadata reads in offline mode
anandgupta42 1ed8928
fix: isolate offline gates from sibling changes
anandgupta42 053c129
Keep local analysis tools available in offline mode
anandgupta42 9ee08fd
Tighten offline connection and startup checks
anandgupta42 69e6061
Preserve env interpolation in offline startup detection
anandgupta42 251c176
Address offline transport and local tooling review findings
anandgupta42 e331f02
Address offline provider and workspace review findings
anandgupta42 3d58d96
Keep compatible models and workspace changes working offline
anandgupta42 073cf78
Keep offline background calls on the configured model
anandgupta42 f6e4ca6
Seed the offline DuckDB fixture through the SQL runner
anandgupta42 86d9c6e
Close offline transport gaps and cover local cache behavior
anandgupta42 4e6a6c8
fix: limit offline mode to network egress
anandgupta42 4db67d8
chore: mark offline changes in upstream-shared files
anandgupta42 3a79399
fix: address offline review findings
anandgupta42 34fd556
fix: close remaining offline review gaps
anandgupta42 5f09cb9
fix: refuse offline deletion of shared sessions visibly
anandgupta42 6761808
fix: address offline bot review round
anandgupta42 cea796a
chore: mark offline worktree start command change
anandgupta42 117b1fe
fix: report offline refusals to API clients
anandgupta42 17894fa
fix: restore proxy settings for every language server offline
anandgupta42 c527bfa
fix: type offline session refusals and close dbt gaps
anandgupta42 43607e4
fix: refuse offline sharing before the config check
anandgupta42 4f178f4
fix: declare offline session refusals in the API contract
anandgupta42 a7b56d1
test: cover offline workspace tools and templated dbt roots
anandgupta42 6581848
fix: reset offline worktrees with unpopulated submodules
anandgupta42 c25ebbf
fix: refuse offline unshare in the service and share the libpq list
anandgupta42 7ea362a
fix: keep submodule paths whole in offline worktree reset
anandgupta42 3899993
fix: share offline share messages and match libpq names on Windows
anandgupta42 6886cd5
fix: skip dbt version probes offline
anandgupta42 17c40b6
fix: run offline dbt version probes behind a closed loopback proxy
anandgupta42 93fd3f6
fix: keep offline dbt detection when the version probe fails
anandgupta42 7acb3ad
fix: refuse offline removal of a workspace with a shared session
anandgupta42 7887586
fix: check whole session trees before offline workspace removal
anandgupta42 4749789
fix: restore proxy settings for custom language servers offline
anandgupta42 3f6ecfd
fix: keep the invoking project offline policy for remote attach
anandgupta42 f947dbf
fix: unset the offline model for every user program
anandgupta42 09bbe9f
refactor: share one root session list in workspace removal
anandgupta42 9c40275
refactor: simplify offline mode to one module and remove its cost whe…
anandgupta42 4cff64a
fix: close review gaps in offline mode checks
anandgupta42 f628a31
fix: keep offline worktree reset off the network and tool order uncha…
anandgupta42 8d460fc
fix: narrow offline checks to the cases they can judge
anandgupta42 935f5dd
fix: keep caller redirect choices in the offline fetch guard
anandgupta42 5d1dda4
fix: find dbt on the current PATH in offline data tool detection
anandgupta42 d61a6e0
fix: match fetch redirect rules in the offline guard and refine git a…
anandgupta42 ceeada4
fix: follow only real redirects and drop credentials across origins i…
anandgupta42 612e151
fix: catch an escaped offline key at startup and correct offline docs
anandgupta42 c5fb862
fix: merge both proxy exclusion lists and strip redirect headers like…
anandgupta42 cc57dd5
docs: note remote skill URLs are unavailable offline; fold nested mar…
anandgupta42 f88a960
fix: close cubic findings on offline host, git, submodule and dbt han…
anandgupta42 1b3a0bd
fix: refuse SSH tunnels for file databases and non-HTTP Trino/ClickHo…
anandgupta42 362f7a4
fix: allow only local SQL Server sign-in offline and parse submodule …
anandgupta42 55becda
fix: refuse Oracle TNS aliases and hostless Oracle offline; scope pro…
anandgupta42 bef6160
fix(offline): close review gaps in local operations
anandgupta42 3a17d06
fix(offline): tighten local connection and Git checks
anandgupta42 6bdbc3c
fix: revalidate cached dbt adapters when offline mode activates
anandgupta42 be00b9e
fix(offline): handle local ports, MongoDB options and git flags
anandgupta42 68cfd9f
fix: reopen cached DuckDB when offline mode activates
anandgupta42 db57f08
refactor(offline): simplify local port validation
anandgupta42 0d2646e
test: give the offline MCP auth test a CI-safe timeout
anandgupta42 6e992bc
fix(offline): require startup opt-in
anandgupta42 d0b20db
fix(offline): honor managed config at startup
anandgupta42 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
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
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
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.