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 fd7f1cd
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(providers): adapter factories yield their services
Our Effect service conventions take dependencies from the environment,
not as parameters. The provider adapter factories took ProviderHost,
IdAllocator, FileSystem, Crypto, Path, the child process spawner, and
provider runtimes (OpenCode runtime, Cursor SDK runner) as options.
Each factory is now an Effect.fn that yields those services, so its
type shows what it needs: Pi, Muse, OpenCode, Cursor, the shared ACP
adapter, Grok, Antigravity, and the ACP Registry. Options keep only
configuration and deliberate callbacks (settings, environment,
continuation offers, test hooks, runtime factories). ProviderHostShape
becomes ProviderHost["Service"].
Tests provide fakes as services (Effect.provideService) instead of
passing them in; tests that passed the environment's own instances
just drop the arguments.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments