// A module that is both software and a role: postgres's own tools under its name, and its // implementation of the mesh-store seat's verbs under the seat's (novox/hq ADR 0159, 0160). import { registerModuleTools } from "@novox/mesh-sdk/tools"; registerModuleTools("postgres", () => [ { name: "postgres_create_database", description: "make one", input: {}, run: async () => ({ made: true }) }, { name: "databases", description: "postgres's own listing", input: {}, run: async () => ({ software: "postgres" }) }, ]); registerModuleTools("mesh-store", () => [ { name: "databases", description: "what the store holds", input: {}, run: async () => ({ seat: "mesh-store" }) }, ]);