mirror of
https://github.com/morluto/rea.git
synced 2026-11-18 20:53:00 +00:00
refactor(setup): require the platform in client-layer readers and private-profile helpers (#11074)
* refactor(setup): require the platform in client-layer readers and private-profile helpers * refactor(setup): drop the client-layer readers' unused host import
This commit is contained in:
1 parent
ce9bdc526a
commit
97ffa67f84
7 files changed
+23
-17
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import { HOST_PLATFORM } from "../platform/HostPlatform.js";
|
||||
import { err, ok, type Result } from "../domain/result.js";
|
||||
import { RegularFileCleanupFailure } from "../filesystem/OwnedRegularFile.js";
|
||||
import { readRegularFileText } from "./RegularFileRead.js";
|
||||
@@ -295,7 +294,7 @@ export const inlineRegistrationOverride = (
|
||||
client: Pick<SetupClient, "configPath" | "configPaths">,
|
||||
sources: readonly ClientConfigurationSource[],
|
||||
desired: unknown,
|
||||
platform: NodeJS.Platform = HOST_PLATFORM.platform,
|
||||
platform: NodeJS.Platform,
|
||||
): ClientInlineConfiguration["origin"] | undefined => {
|
||||
const name = PRODUCT_IDENTITY.mcpServerKey;
|
||||
const inline = sources.filter(
|
||||
|
||||
Reference in new issue
Block a user