Implement typed module contracts and conformance bindings

This commit is contained in:
Timothy J. Aveni
2026-09-22 13:51:32 -07:00
parent 60b44a6637
commit 7173751f37
33 changed files with 2963 additions and 2261 deletions
+4
View File
@@ -46,6 +46,10 @@ pkg.controllers = parseControllerCatalog(
[iface, controllerInterface],
pkg.checkedQueries,
);
const viewRole = compileCapabilityResourceSource(await read("DeviceView.qx"), { source, environment });
assert.ok(viewRole.ok && viewRole.resource.kind === "interface", JSON.stringify(viewRole.diagnostics));
environment.interfaces.set("DeviceView", viewRole.resource.revision);
environment.interfaceClosure.push(viewRole.resource.revision);
const viewer = compileCapabilityResourceSource(await read("Viewer.qx"), {
source: { ...source, repository: "https://example.test/device-viewer.git" },
environment,