You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bad2dd3
Browse filesBrowse the repository at this point in the historyBrowse files
refactor: home directory comes from a HostProcessHomeDirectory reference
Add HostProcessHomeDirectory to @t3tools/shared/hostProcess (default
NodeOS.homedir()) and yield it wherever Effect code used to call
NodeOS.homedir() directly, so the dependency is visible and swappable in
tests.
- expandHomePath(value, home) takes the home directory explicitly.
- mergeProviderInstanceEnvironment is an Effect.fn that yields the
reference; callers yield* it.
- Plain helpers reached from Effect code (worktree directory resolution,
terminal spawn env, Antigravity user home, ACP stderr sanitizing, Grok
plan path host, desktop snapshot config paths) take the home from
their Effect caller.
- Tests that mocked os.homedir provide the reference instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: apps/desktop/src/app/DesktopPreReadyPlatform.ts
+14-12Lines changed: 14 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,12 @@
1
1
// @effect-diagnostics nodeBuiltinImport:off - pre-ready Electron setup reads settings and prepares the Linux desktop entry synchronously before app services are available.
0 commit comments