feat: add module runtime lifecycle
CI / verify (push) Successful in 2m14s
CI / infrastructure-smoke (push) Failing after 1m36s

This commit is contained in:
ekklesia
2026-07-12 22:49:51 -05:00
parent 57552a21a4
commit 7b448d8706
28 changed files with 1382 additions and 203 deletions
+11 -5
View File
@@ -1,7 +1,13 @@
export interface ExampleModuleServer {
readonly id: "example";
}
import { defineModuleRuntime } from "@ekklesia/module-sdk";
export const exampleModuleServer: ExampleModuleServer = {
export const recordsCapability = Object.freeze({
kind: "example-records",
});
export default defineModuleRuntime({
id: "example",
};
version: "0.1.0",
register({ capabilities }) {
capabilities.provide("example.records", recordsCapability);
},
});