feat: add command table functionality and integrate logic for turn commands

This commit is contained in:
2025-12-30 03:02:25 +00:00
parent 0c1e27ee4a
commit f32f9b10c2
6 changed files with 762 additions and 2 deletions
+9
View File
@@ -19,6 +19,15 @@ const buildContext = (options?: {
worldState: {
findFirst: async () => options?.state ?? null,
},
general: {
findUnique: async () => null,
},
city: {
findUnique: async () => null,
},
nation: {
findUnique: async () => null,
},
};
return {
db,