tighten adapters barrel surface

This commit is contained in:
Eve
2026-05-08 17:15:28 +08:00
parent 9c6afad864
commit c3b95ba3b7
5 changed files with 6 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ test('package root export resolves public package surface only', () => {
}
});
test('adapters subpath export resolves package-owned adapter index plus profile artifact loader helpers', () => {
test('adapters subpath export resolves package-owned adapter entrypoints only', () => {
const root = createFixtureRoot();
try {
installPackageAlias(root);
@@ -104,9 +104,6 @@ test('adapters subpath export resolves package-owned adapter index plus profile
`);
assert.deepEqual(result.adapterKeys, [
'createDeploymentBindingContract',
'createRuntimeBinding',
'loadDeploymentProfileArtifact',
'runBridgeSupervisorAdapter',
'runDispatcherAdapter',
'runOrchestratorAdapter',

View File

@@ -10,7 +10,7 @@ import {
validateDeploymentProfileArtifact,
assertUseTimePathWithinRepoRoot,
} from '../src/storage/profile-artifact.mjs';
import { createRuntimeBinding } from '../src/adapters/index.mjs';
import { createRuntimeBinding } from '../src/adapters/runtime-binding.mjs';
const packageRoot = path.resolve(import.meta.dirname, '..');
const repoRoot = path.resolve(packageRoot, '..', '..');