feat: define workspace diagnostic contracts

This commit is contained in:
2026-08-03 23:16:23 +02:00
parent 25a85b972e
commit c5685f4962
11 changed files with 249 additions and 7 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ function isSafeSecretFile(path: string, secretRoots: readonly string[]): boolean
}
function requiredSuffixes(
role: InstallationRole,
role: Exclude<InstallationRole, "VECTOR_WRITER">,
transport: DwhTransport | VectorTransport,
): readonly InstallationSuffix[] {
if (role === "EMBEDDING") return EMBEDDING_REQUIRED_SUFFIXES;
@@ -76,7 +76,7 @@ function requiredSuffixes(
*/
export function resolveBinding(
workspace: CanonicalWorkspace,
role: InstallationRole,
role: Exclude<InstallationRole, "VECTOR_WRITER">,
env: NodeJS.ProcessEnv,
secretRoots: readonly string[],
): ResolvedBinding {