perf(secrets): narrow channel secret sdk seam

This commit is contained in:
Vincent Koc
2026-04-06 20:39:49 +01:00
parent c0d3743cdb
commit 78639eff76
18 changed files with 73 additions and 16 deletions

View File

@@ -310,6 +310,24 @@ describe("plugin-sdk subpath exports", () => {
});
expectSourceMentions("account-helpers", ["createAccountListHelpers"]);
expectSourceMentions("channel-actions", ["optionalStringEnum", "stringEnum"]);
expectSourceContract("channel-secret-runtime", {
mentions: [
"collectSimpleChannelFieldAssignments",
"collectConditionalChannelFieldAssignments",
"collectSecretInputAssignment",
"getChannelSurface",
"pushAssignment",
"pushInactiveSurfaceWarning",
"ResolverContext",
"SecretTargetRegistryEntry",
],
omits: [
"buildUntrustedChannelMetadata",
"evaluateSupplementalContextVisibility",
"resolvePinnedMainDmOwnerFromAllowlist",
"safeMatchRegex",
],
});
expectSourceMentions("compat", [
"createPluginRuntimeStore",
"createScopedChannelConfigAdapter",