feat: kernel based split#37
Open
barelyhuman wants to merge 4 commits intomainfrom
Open
Conversation
- Rewrite runtime/handler.js: API handlers receive Request, return Response - Add nodeRequestToFetch/fetchResponseToNode bridge functions to adex/src/http.js - Remove adexDevServer and adapterMap from vite.js; extract generateServerEntry helper - Add adex-manifest-sidecar plugin to emit adex.manifest.json in server build - Fully rewrite adex-adapter-node: node() factory, createNodeDevServerPlugin, Fetch bridge inlined - Migrate all playground API routes to Fetch API signature - Update test fixtures to use adapter: node() and add adex-adapter-node dep - Add 10 unit tests for HTTP bridge functions and 2 handler integration tests (28 total passing)
…rEntry from core
- Add serverEntry({ islands }) to node() factory — adapter now owns its own
bootstrap template (filesystem reads, port/host, manifest loading)
- Remove generateServerEntry() from adex/src/vite.js entirely
- Remove 'module' field from AdapterConfig; core no longer needs the adapter's
import specifier since the entry string is fully owned by the adapter
- Add ensureAdapter() helper: defaults to adex-adapter-node if no adapter
passed, throws a clear install message if the package is not found
- Add createAdapterDevServerPlugin() proxy: lazily resolves the adapter and
forwards all Vite hooks (config, configResolved, resolveId, configureServer)
with correct 'this' binding so the inner plugin's context is preserved
- virtual:adex:server load hook is now lazy (async) in both dev and build paths
- All 28 tests pass
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.
No description provided.