run-dmcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +79 -0
  3. package/dist/__tests__/engineVocabulary.test.d.ts +1 -0
  4. package/dist/__tests__/engineVocabulary.test.js +147 -0
  5. package/dist/db/__tests__/connection.test.d.ts +1 -0
  6. package/dist/db/__tests__/connection.test.js +72 -0
  7. package/dist/db/__tests__/testDb.d.ts +33 -0
  8. package/dist/db/__tests__/testDb.js +41 -0
  9. package/dist/db/connection.d.ts +22 -0
  10. package/dist/db/connection.js +107 -0
  11. package/dist/db/schema.d.ts +1 -0
  12. package/dist/db/schema.js +725 -0
  13. package/dist/events/emitter.d.ts +22 -0
  14. package/dist/events/emitter.js +71 -0
  15. package/dist/http/server.d.ts +3 -0
  16. package/dist/http/server.js +649 -0
  17. package/dist/index.d.ts +2 -0
  18. package/dist/index.js +92 -0
  19. package/dist/register/abilities.d.ts +2 -0
  20. package/dist/register/abilities.js +165 -0
  21. package/dist/register/audio.d.ts +2 -0
  22. package/dist/register/audio.js +326 -0
  23. package/dist/register/batch.d.ts +2 -0
  24. package/dist/register/batch.js +343 -0
  25. package/dist/register/character.d.ts +2 -0
  26. package/dist/register/character.js +324 -0
  27. package/dist/register/combat.d.ts +2 -0
  28. package/dist/register/combat.js +207 -0
  29. package/dist/register/core.d.ts +2 -0
  30. package/dist/register/core.js +1040 -0
  31. package/dist/register/display.d.ts +2 -0
  32. package/dist/register/display.js +263 -0
  33. package/dist/register/factions.d.ts +2 -0
  34. package/dist/register/factions.js +186 -0
  35. package/dist/register/images.d.ts +2 -0
  36. package/dist/register/images.js +400 -0
  37. package/dist/register/inventory.d.ts +2 -0
  38. package/dist/register/inventory.js +115 -0
  39. package/dist/register/mcp-prompts.d.ts +2 -0
  40. package/dist/register/mcp-prompts.js +684 -0
  41. package/dist/register/mcp-resources.d.ts +2 -0
  42. package/dist/register/mcp-resources.js +335 -0
  43. package/dist/register/narrative.d.ts +2 -0
  44. package/dist/register/narrative.js +242 -0
  45. package/dist/register/notes.d.ts +2 -0
  46. package/dist/register/notes.js +170 -0
  47. package/dist/register/pause.d.ts +2 -0
  48. package/dist/register/pause.js +580 -0
  49. package/dist/register/quests.d.ts +2 -0
  50. package/dist/register/quests.js +118 -0
  51. package/dist/register/relationships.d.ts +2 -0
  52. package/dist/register/relationships.js +147 -0
  53. package/dist/register/resources.d.ts +2 -0
  54. package/dist/register/resources.js +277 -0
  55. package/dist/register/secrets.d.ts +2 -0
  56. package/dist/register/secrets.js +192 -0
  57. package/dist/register/status.d.ts +2 -0
  58. package/dist/register/status.js +130 -0
  59. package/dist/register/tables.d.ts +2 -0
  60. package/dist/register/tables.js +146 -0
  61. package/dist/register/tags.d.ts +2 -0
  62. package/dist/register/tags.js +114 -0
  63. package/dist/register/time.d.ts +2 -0
  64. package/dist/register/time.js +281 -0
  65. package/dist/register/world.d.ts +2 -0
  66. package/dist/register/world.js +127 -0
  67. package/dist/schemas/index.d.ts +921 -0
  68. package/dist/schemas/index.js +121 -0
  69. package/dist/test-setup.d.ts +1 -0
  70. package/dist/test-setup.js +13 -0
  71. package/dist/tools/__tests__/audio.test.d.ts +1 -0
  72. package/dist/tools/__tests__/audio.test.js +59 -0
  73. package/dist/tools/__tests__/conserved.test.d.ts +1 -0
  74. package/dist/tools/__tests__/conserved.test.js +488 -0
  75. package/dist/tools/__tests__/constraint.test.d.ts +1 -0
  76. package/dist/tools/__tests__/constraint.test.js +212 -0
  77. package/dist/tools/__tests__/expiry-consequences.test.d.ts +1 -0
  78. package/dist/tools/__tests__/expiry-consequences.test.js +110 -0
  79. package/dist/tools/__tests__/images.test.d.ts +1 -0
  80. package/dist/tools/__tests__/images.test.js +59 -0
  81. package/dist/tools/__tests__/relationship.test.d.ts +1 -0
  82. package/dist/tools/__tests__/relationship.test.js +132 -0
  83. package/dist/tools/__tests__/resource-constraints.test.d.ts +1 -0
  84. package/dist/tools/__tests__/resource-constraints.test.js +131 -0
  85. package/dist/tools/__tests__/resource.test.d.ts +1 -0
  86. package/dist/tools/__tests__/resource.test.js +190 -0
  87. package/dist/tools/__tests__/time.test.d.ts +1 -0
  88. package/dist/tools/__tests__/time.test.js +404 -0
  89. package/dist/tools/__tests__/timers.test.d.ts +1 -0
  90. package/dist/tools/__tests__/timers.test.js +426 -0
  91. package/dist/tools/__tests__/world.test.d.ts +1 -0
  92. package/dist/tools/__tests__/world.test.js +70 -0
  93. package/dist/tools/ability.d.ts +48 -0
  94. package/dist/tools/ability.js +238 -0
  95. package/dist/tools/audio.d.ts +24 -0
  96. package/dist/tools/audio.js +365 -0
  97. package/dist/tools/character.d.ts +70 -0
  98. package/dist/tools/character.js +309 -0
  99. package/dist/tools/combat.d.ts +13 -0
  100. package/dist/tools/combat.js +195 -0
  101. package/dist/tools/constraint.d.ts +132 -0
  102. package/dist/tools/constraint.js +269 -0
  103. package/dist/tools/dice.d.ts +23 -0
  104. package/dist/tools/dice.js +111 -0
  105. package/dist/tools/display.d.ts +120 -0
  106. package/dist/tools/display.js +528 -0
  107. package/dist/tools/faction.d.ts +61 -0
  108. package/dist/tools/faction.js +269 -0
  109. package/dist/tools/game.d.ts +96 -0
  110. package/dist/tools/game.js +526 -0
  111. package/dist/tools/image-prompt.d.ts +49 -0
  112. package/dist/tools/image-prompt.js +479 -0
  113. package/dist/tools/images.d.ts +47 -0
  114. package/dist/tools/images.js +449 -0
  115. package/dist/tools/inventory.d.ts +20 -0
  116. package/dist/tools/inventory.js +145 -0
  117. package/dist/tools/narrative.d.ts +58 -0
  118. package/dist/tools/narrative.js +237 -0
  119. package/dist/tools/notes.d.ts +41 -0
  120. package/dist/tools/notes.js +220 -0
  121. package/dist/tools/pause.d.ts +110 -0
  122. package/dist/tools/pause.js +1254 -0
  123. package/dist/tools/quest.d.ts +34 -0
  124. package/dist/tools/quest.js +164 -0
  125. package/dist/tools/relationship.d.ts +74 -0
  126. package/dist/tools/relationship.js +324 -0
  127. package/dist/tools/resource.d.ts +93 -0
  128. package/dist/tools/resource.js +374 -0
  129. package/dist/tools/rules.d.ts +4 -0
  130. package/dist/tools/rules.js +30 -0
  131. package/dist/tools/secrets.d.ts +49 -0
  132. package/dist/tools/secrets.js +195 -0
  133. package/dist/tools/status.d.ts +36 -0
  134. package/dist/tools/status.js +218 -0
  135. package/dist/tools/tables.d.ts +33 -0
  136. package/dist/tools/tables.js +209 -0
  137. package/dist/tools/tags.d.ts +52 -0
  138. package/dist/tools/tags.js +176 -0
  139. package/dist/tools/time.d.ts +33 -0
  140. package/dist/tools/time.js +276 -0
  141. package/dist/tools/timers.d.ts +41 -0
  142. package/dist/tools/timers.js +215 -0
  143. package/dist/tools/world.d.ts +78 -0
  144. package/dist/tools/world.js +331 -0
  145. package/dist/types/index.d.ts +969 -0
  146. package/dist/types/index.js +1 -0
  147. package/dist/utils/__tests__/json.test.d.ts +1 -0
  148. package/dist/utils/__tests__/json.test.js +55 -0
  149. package/dist/utils/__tests__/validation.test.d.ts +1 -0
  150. package/dist/utils/__tests__/validation.test.js +90 -0
  151. package/dist/utils/errors.d.ts +44 -0
  152. package/dist/utils/errors.js +121 -0
  153. package/dist/utils/json.d.ts +9 -0
  154. package/dist/utils/json.js +23 -0
  155. package/dist/utils/logger.d.ts +7 -0
  156. package/dist/utils/logger.js +50 -0
  157. package/dist/utils/output-schemas.d.ts +594 -0
  158. package/dist/utils/output-schemas.js +331 -0
  159. package/dist/utils/tool-annotations.d.ts +147 -0
  160. package/dist/utils/tool-annotations.js +98 -0
  161. package/dist/utils/validation.d.ts +34 -0
  162. package/dist/utils/validation.js +52 -0
  163. package/dist/utils/verbosity.d.ts +57 -0
  164. package/dist/utils/verbosity.js +67 -0
  165. package/dist/utils/webui.d.ts +20 -0
  166. package/dist/utils/webui.js +35 -0
  167. package/package.json +75 -0
@@ -0,0 +1,594 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Shared output schemas for MCP tools.
4
+ * These enable clients to validate structured outputs from tools.
5
+ */
6
+ /** Simple success/failure response */
7
+ export declare const successResponseSchema: {
8
+ success: z.ZodBoolean;
9
+ message: z.ZodOptional<z.ZodString>;
10
+ };
11
+ /** Simple text result */
12
+ export declare const textResultSchema: {
13
+ result: z.ZodString;
14
+ };
15
+ /** Entity deleted response */
16
+ export declare const deletedResponseSchema: {
17
+ deleted: z.ZodBoolean;
18
+ id: z.ZodOptional<z.ZodString>;
19
+ };
20
+ /** List response with count */
21
+ export declare const listResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => {
22
+ items: z.ZodArray<T, "many">;
23
+ count: z.ZodNumber;
24
+ };
25
+ export declare const gameOutputSchema: {
26
+ id: z.ZodString;
27
+ name: z.ZodString;
28
+ setting: z.ZodString;
29
+ style: z.ZodString;
30
+ createdAt: z.ZodString;
31
+ updatedAt: z.ZodString;
32
+ webUi: z.ZodOptional<z.ZodObject<{
33
+ url: z.ZodString;
34
+ message: z.ZodString;
35
+ }, "strip", z.ZodTypeAny, {
36
+ url: string;
37
+ message: string;
38
+ }, {
39
+ url: string;
40
+ message: string;
41
+ }>>;
42
+ };
43
+ export declare const gameStateOutputSchema: {
44
+ game: z.ZodObject<{
45
+ id: z.ZodString;
46
+ name: z.ZodString;
47
+ setting: z.ZodString;
48
+ style: z.ZodString;
49
+ }, "strip", z.ZodTypeAny, {
50
+ setting: string;
51
+ id: string;
52
+ name: string;
53
+ style: string;
54
+ }, {
55
+ setting: string;
56
+ id: string;
57
+ name: string;
58
+ style: string;
59
+ }>;
60
+ characterCount: z.ZodNumber;
61
+ locationCount: z.ZodNumber;
62
+ activeQuests: z.ZodNumber;
63
+ activeCombat: z.ZodBoolean;
64
+ };
65
+ export declare const gameMenuOutputSchema: {
66
+ hasExistingGames: z.ZodBoolean;
67
+ games: z.ZodArray<z.ZodObject<{
68
+ id: z.ZodString;
69
+ name: z.ZodString;
70
+ setting: z.ZodString;
71
+ style: z.ZodString;
72
+ createdAt: z.ZodString;
73
+ updatedAt: z.ZodString;
74
+ webUiUrl: z.ZodOptional<z.ZodString>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ setting: string;
77
+ id: string;
78
+ name: string;
79
+ style: string;
80
+ updatedAt: string;
81
+ createdAt: string;
82
+ webUiUrl?: string | undefined;
83
+ }, {
84
+ setting: string;
85
+ id: string;
86
+ name: string;
87
+ style: string;
88
+ updatedAt: string;
89
+ createdAt: string;
90
+ webUiUrl?: string | undefined;
91
+ }>, "many">;
92
+ instruction: z.ZodString;
93
+ webUi: z.ZodOptional<z.ZodObject<{
94
+ baseUrl: z.ZodString;
95
+ message: z.ZodString;
96
+ }, "strip", z.ZodTypeAny, {
97
+ message: string;
98
+ baseUrl: string;
99
+ }, {
100
+ message: string;
101
+ baseUrl: string;
102
+ }>>;
103
+ };
104
+ export declare const characterStatusSchema: z.ZodObject<{
105
+ health: z.ZodNumber;
106
+ maxHealth: z.ZodNumber;
107
+ conditions: z.ZodArray<z.ZodString, "many">;
108
+ experience: z.ZodNumber;
109
+ level: z.ZodNumber;
110
+ }, "strip", z.ZodTypeAny, {
111
+ health: number;
112
+ maxHealth: number;
113
+ conditions: string[];
114
+ experience: number;
115
+ level: number;
116
+ }, {
117
+ health: number;
118
+ maxHealth: number;
119
+ conditions: string[];
120
+ experience: number;
121
+ level: number;
122
+ }>;
123
+ export declare const characterOutputSchema: {
124
+ id: z.ZodString;
125
+ gameId: z.ZodString;
126
+ name: z.ZodString;
127
+ isPlayer: z.ZodBoolean;
128
+ attributes: z.ZodRecord<z.ZodString, z.ZodNumber>;
129
+ skills: z.ZodRecord<z.ZodString, z.ZodNumber>;
130
+ status: z.ZodObject<{
131
+ health: z.ZodNumber;
132
+ maxHealth: z.ZodNumber;
133
+ conditions: z.ZodArray<z.ZodString, "many">;
134
+ experience: z.ZodNumber;
135
+ level: z.ZodNumber;
136
+ }, "strip", z.ZodTypeAny, {
137
+ health: number;
138
+ maxHealth: number;
139
+ conditions: string[];
140
+ experience: number;
141
+ level: number;
142
+ }, {
143
+ health: number;
144
+ maxHealth: number;
145
+ conditions: string[];
146
+ experience: number;
147
+ level: number;
148
+ }>;
149
+ locationId: z.ZodNullable<z.ZodString>;
150
+ notes: z.ZodString;
151
+ createdAt: z.ZodString;
152
+ };
153
+ export declare const characterListOutputSchema: {
154
+ characters: z.ZodArray<z.ZodObject<{
155
+ id: z.ZodString;
156
+ name: z.ZodString;
157
+ isPlayer: z.ZodBoolean;
158
+ status: z.ZodObject<{
159
+ health: z.ZodNumber;
160
+ maxHealth: z.ZodNumber;
161
+ conditions: z.ZodArray<z.ZodString, "many">;
162
+ experience: z.ZodNumber;
163
+ level: z.ZodNumber;
164
+ }, "strip", z.ZodTypeAny, {
165
+ health: number;
166
+ maxHealth: number;
167
+ conditions: string[];
168
+ experience: number;
169
+ level: number;
170
+ }, {
171
+ health: number;
172
+ maxHealth: number;
173
+ conditions: string[];
174
+ experience: number;
175
+ level: number;
176
+ }>;
177
+ locationId: z.ZodNullable<z.ZodString>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ id: string;
180
+ name: string;
181
+ status: {
182
+ health: number;
183
+ maxHealth: number;
184
+ conditions: string[];
185
+ experience: number;
186
+ level: number;
187
+ };
188
+ isPlayer: boolean;
189
+ locationId: string | null;
190
+ }, {
191
+ id: string;
192
+ name: string;
193
+ status: {
194
+ health: number;
195
+ maxHealth: number;
196
+ conditions: string[];
197
+ experience: number;
198
+ level: number;
199
+ };
200
+ isPlayer: boolean;
201
+ locationId: string | null;
202
+ }>, "many">;
203
+ count: z.ZodNumber;
204
+ };
205
+ export declare const exitSchema: z.ZodObject<{
206
+ direction: z.ZodString;
207
+ destinationId: z.ZodString;
208
+ description: z.ZodOptional<z.ZodString>;
209
+ locked: z.ZodOptional<z.ZodBoolean>;
210
+ hidden: z.ZodOptional<z.ZodBoolean>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ direction: string;
213
+ destinationId: string;
214
+ description?: string | undefined;
215
+ hidden?: boolean | undefined;
216
+ locked?: boolean | undefined;
217
+ }, {
218
+ direction: string;
219
+ destinationId: string;
220
+ description?: string | undefined;
221
+ hidden?: boolean | undefined;
222
+ locked?: boolean | undefined;
223
+ }>;
224
+ export declare const locationOutputSchema: {
225
+ id: z.ZodString;
226
+ gameId: z.ZodString;
227
+ name: z.ZodString;
228
+ description: z.ZodString;
229
+ properties: z.ZodObject<{
230
+ exits: z.ZodArray<z.ZodObject<{
231
+ direction: z.ZodString;
232
+ destinationId: z.ZodString;
233
+ description: z.ZodOptional<z.ZodString>;
234
+ locked: z.ZodOptional<z.ZodBoolean>;
235
+ hidden: z.ZodOptional<z.ZodBoolean>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ direction: string;
238
+ destinationId: string;
239
+ description?: string | undefined;
240
+ hidden?: boolean | undefined;
241
+ locked?: boolean | undefined;
242
+ }, {
243
+ direction: string;
244
+ destinationId: string;
245
+ description?: string | undefined;
246
+ hidden?: boolean | undefined;
247
+ locked?: boolean | undefined;
248
+ }>, "many">;
249
+ features: z.ZodArray<z.ZodString, "many">;
250
+ atmosphere: z.ZodString;
251
+ }, "strip", z.ZodTypeAny, {
252
+ exits: {
253
+ direction: string;
254
+ destinationId: string;
255
+ description?: string | undefined;
256
+ hidden?: boolean | undefined;
257
+ locked?: boolean | undefined;
258
+ }[];
259
+ features: string[];
260
+ atmosphere: string;
261
+ }, {
262
+ exits: {
263
+ direction: string;
264
+ destinationId: string;
265
+ description?: string | undefined;
266
+ hidden?: boolean | undefined;
267
+ locked?: boolean | undefined;
268
+ }[];
269
+ features: string[];
270
+ atmosphere: string;
271
+ }>;
272
+ };
273
+ export declare const locationListOutputSchema: {
274
+ locations: z.ZodArray<z.ZodObject<{
275
+ id: z.ZodString;
276
+ name: z.ZodString;
277
+ description: z.ZodString;
278
+ }, "strip", z.ZodTypeAny, {
279
+ description: string;
280
+ id: string;
281
+ name: string;
282
+ }, {
283
+ description: string;
284
+ id: string;
285
+ name: string;
286
+ }>, "many">;
287
+ count: z.ZodNumber;
288
+ };
289
+ export declare const questObjectiveSchema: z.ZodObject<{
290
+ id: z.ZodString;
291
+ description: z.ZodString;
292
+ completed: z.ZodBoolean;
293
+ optional: z.ZodOptional<z.ZodBoolean>;
294
+ }, "strip", z.ZodTypeAny, {
295
+ description: string;
296
+ completed: boolean;
297
+ id: string;
298
+ optional?: boolean | undefined;
299
+ }, {
300
+ description: string;
301
+ completed: boolean;
302
+ id: string;
303
+ optional?: boolean | undefined;
304
+ }>;
305
+ export declare const questOutputSchema: {
306
+ id: z.ZodString;
307
+ gameId: z.ZodString;
308
+ name: z.ZodString;
309
+ description: z.ZodString;
310
+ objectives: z.ZodArray<z.ZodObject<{
311
+ id: z.ZodString;
312
+ description: z.ZodString;
313
+ completed: z.ZodBoolean;
314
+ optional: z.ZodOptional<z.ZodBoolean>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ description: string;
317
+ completed: boolean;
318
+ id: string;
319
+ optional?: boolean | undefined;
320
+ }, {
321
+ description: string;
322
+ completed: boolean;
323
+ id: string;
324
+ optional?: boolean | undefined;
325
+ }>, "many">;
326
+ status: z.ZodEnum<["active", "completed", "failed", "abandoned"]>;
327
+ rewards: z.ZodOptional<z.ZodString>;
328
+ };
329
+ export declare const combatParticipantSchema: z.ZodObject<{
330
+ characterId: z.ZodString;
331
+ initiative: z.ZodNumber;
332
+ isActive: z.ZodBoolean;
333
+ }, "strip", z.ZodTypeAny, {
334
+ characterId: string;
335
+ initiative: number;
336
+ isActive: boolean;
337
+ }, {
338
+ characterId: string;
339
+ initiative: number;
340
+ isActive: boolean;
341
+ }>;
342
+ export declare const combatOutputSchema: {
343
+ id: z.ZodString;
344
+ gameId: z.ZodString;
345
+ locationId: z.ZodString;
346
+ participants: z.ZodArray<z.ZodObject<{
347
+ characterId: z.ZodString;
348
+ initiative: z.ZodNumber;
349
+ isActive: z.ZodBoolean;
350
+ }, "strip", z.ZodTypeAny, {
351
+ characterId: string;
352
+ initiative: number;
353
+ isActive: boolean;
354
+ }, {
355
+ characterId: string;
356
+ initiative: number;
357
+ isActive: boolean;
358
+ }>, "many">;
359
+ currentTurn: z.ZodNumber;
360
+ round: z.ZodNumber;
361
+ status: z.ZodEnum<["active", "resolved"]>;
362
+ log: z.ZodArray<z.ZodString, "many">;
363
+ };
364
+ export declare const diceRollOutputSchema: {
365
+ expression: z.ZodString;
366
+ rolls: z.ZodArray<z.ZodNumber, "many">;
367
+ modifier: z.ZodNumber;
368
+ total: z.ZodNumber;
369
+ };
370
+ export declare const checkResultOutputSchema: {
371
+ roll: z.ZodObject<{
372
+ expression: z.ZodString;
373
+ rolls: z.ZodArray<z.ZodNumber, "many">;
374
+ modifier: z.ZodNumber;
375
+ total: z.ZodNumber;
376
+ }, "strip", z.ZodTypeAny, {
377
+ expression: string;
378
+ rolls: number[];
379
+ modifier: number;
380
+ total: number;
381
+ }, {
382
+ expression: string;
383
+ rolls: number[];
384
+ modifier: number;
385
+ total: number;
386
+ }>;
387
+ modifier: z.ZodNumber;
388
+ total: z.ZodNumber;
389
+ difficulty: z.ZodNumber;
390
+ success: z.ZodBoolean;
391
+ criticalSuccess: z.ZodBoolean;
392
+ criticalFailure: z.ZodBoolean;
393
+ margin: z.ZodNumber;
394
+ };
395
+ export declare const itemOutputSchema: {
396
+ id: z.ZodString;
397
+ gameId: z.ZodString;
398
+ ownerId: z.ZodString;
399
+ ownerType: z.ZodEnum<["character", "location"]>;
400
+ name: z.ZodString;
401
+ properties: z.ZodObject<{
402
+ description: z.ZodString;
403
+ type: z.ZodString;
404
+ weight: z.ZodOptional<z.ZodNumber>;
405
+ value: z.ZodOptional<z.ZodNumber>;
406
+ effects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ description: string;
409
+ type: string;
410
+ weight?: number | undefined;
411
+ value?: number | undefined;
412
+ effects?: string[] | undefined;
413
+ }, {
414
+ description: string;
415
+ type: string;
416
+ weight?: number | undefined;
417
+ value?: number | undefined;
418
+ effects?: string[] | undefined;
419
+ }>;
420
+ };
421
+ export declare const inventoryOutputSchema: {
422
+ ownerId: z.ZodString;
423
+ ownerType: z.ZodEnum<["character", "location"]>;
424
+ items: z.ZodArray<z.ZodObject<{
425
+ id: z.ZodString;
426
+ name: z.ZodString;
427
+ properties: z.ZodObject<{
428
+ description: z.ZodString;
429
+ type: z.ZodString;
430
+ }, "strip", z.ZodTypeAny, {
431
+ description: string;
432
+ type: string;
433
+ }, {
434
+ description: string;
435
+ type: string;
436
+ }>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ id: string;
439
+ name: string;
440
+ properties: {
441
+ description: string;
442
+ type: string;
443
+ };
444
+ }, {
445
+ id: string;
446
+ name: string;
447
+ properties: {
448
+ description: string;
449
+ type: string;
450
+ };
451
+ }>, "many">;
452
+ count: z.ZodNumber;
453
+ };
454
+ export declare const narrativeEventOutputSchema: {
455
+ id: z.ZodString;
456
+ gameId: z.ZodString;
457
+ eventType: z.ZodString;
458
+ content: z.ZodString;
459
+ timestamp: z.ZodString;
460
+ };
461
+ export declare const narrativeSummaryOutputSchema: {
462
+ totalEvents: z.ZodNumber;
463
+ firstEvent: z.ZodNullable<z.ZodString>;
464
+ lastEvent: z.ZodNullable<z.ZodString>;
465
+ eventTypes: z.ZodRecord<z.ZodString, z.ZodNumber>;
466
+ recentEvents: z.ZodArray<z.ZodObject<{
467
+ id: z.ZodString;
468
+ eventType: z.ZodString;
469
+ content: z.ZodString;
470
+ timestamp: z.ZodString;
471
+ }, "strip", z.ZodTypeAny, {
472
+ id: string;
473
+ content: string;
474
+ timestamp: string;
475
+ eventType: string;
476
+ }, {
477
+ id: string;
478
+ content: string;
479
+ timestamp: string;
480
+ eventType: string;
481
+ }>, "many">;
482
+ };
483
+ export declare const mapOutputSchema: {
484
+ nodes: z.ZodArray<z.ZodObject<{
485
+ id: z.ZodString;
486
+ name: z.ZodString;
487
+ hasPlayer: z.ZodBoolean;
488
+ exits: z.ZodArray<z.ZodObject<{
489
+ direction: z.ZodString;
490
+ destinationId: z.ZodString;
491
+ }, "strip", z.ZodTypeAny, {
492
+ direction: string;
493
+ destinationId: string;
494
+ }, {
495
+ direction: string;
496
+ destinationId: string;
497
+ }>, "many">;
498
+ }, "strip", z.ZodTypeAny, {
499
+ exits: {
500
+ direction: string;
501
+ destinationId: string;
502
+ }[];
503
+ id: string;
504
+ name: string;
505
+ hasPlayer: boolean;
506
+ }, {
507
+ exits: {
508
+ direction: string;
509
+ destinationId: string;
510
+ }[];
511
+ id: string;
512
+ name: string;
513
+ hasPlayer: boolean;
514
+ }>, "many">;
515
+ connections: z.ZodArray<z.ZodObject<{
516
+ from: z.ZodString;
517
+ to: z.ZodString;
518
+ direction: z.ZodString;
519
+ }, "strip", z.ZodTypeAny, {
520
+ direction: string;
521
+ from: string;
522
+ to: string;
523
+ }, {
524
+ direction: string;
525
+ from: string;
526
+ to: string;
527
+ }>, "many">;
528
+ bounds: z.ZodObject<{
529
+ minX: z.ZodNumber;
530
+ maxX: z.ZodNumber;
531
+ minY: z.ZodNumber;
532
+ maxY: z.ZodNumber;
533
+ }, "strip", z.ZodTypeAny, {
534
+ minX: number;
535
+ maxX: number;
536
+ minY: number;
537
+ maxY: number;
538
+ }, {
539
+ minX: number;
540
+ maxX: number;
541
+ minY: number;
542
+ maxY: number;
543
+ }>;
544
+ playerLocation: z.ZodOptional<z.ZodString>;
545
+ };
546
+ export declare const resourceOutputSchema: {
547
+ id: z.ZodString;
548
+ gameId: z.ZodString;
549
+ ownerId: z.ZodNullable<z.ZodString>;
550
+ ownerType: z.ZodEnum<["game", "character"]>;
551
+ name: z.ZodString;
552
+ description: z.ZodString;
553
+ category: z.ZodNullable<z.ZodString>;
554
+ value: z.ZodNumber;
555
+ minValue: z.ZodNullable<z.ZodNumber>;
556
+ maxValue: z.ZodNullable<z.ZodNumber>;
557
+ };
558
+ export declare const conditionModifyOutputSchema: {
559
+ characterId: z.ZodString;
560
+ characterName: z.ZodString;
561
+ conditions: z.ZodArray<z.ZodString, "many">;
562
+ action: z.ZodEnum<["added", "removed", "modified"]>;
563
+ added: z.ZodArray<z.ZodString, "many">;
564
+ removed: z.ZodArray<z.ZodString, "many">;
565
+ };
566
+ export declare const statusEffectOutputSchema: {
567
+ id: z.ZodString;
568
+ targetId: z.ZodString;
569
+ name: z.ZodString;
570
+ description: z.ZodString;
571
+ effectType: z.ZodNullable<z.ZodEnum<["buff", "debuff", "neutral"]>>;
572
+ duration: z.ZodNullable<z.ZodNumber>;
573
+ stacks: z.ZodNumber;
574
+ };
575
+ export declare const tagModifyOutputSchema: {
576
+ entityId: z.ZodString;
577
+ entityType: z.ZodString;
578
+ tags: z.ZodArray<z.ZodString, "many">;
579
+ action: z.ZodEnum<["added", "removed"]>;
580
+ tag: z.ZodString;
581
+ };
582
+ export declare const storedImageOutputSchema: {
583
+ id: z.ZodString;
584
+ gameId: z.ZodString;
585
+ entityId: z.ZodString;
586
+ entityType: z.ZodString;
587
+ fileSize: z.ZodNumber;
588
+ mimeType: z.ZodString;
589
+ width: z.ZodNullable<z.ZodNumber>;
590
+ height: z.ZodNullable<z.ZodNumber>;
591
+ label: z.ZodNullable<z.ZodString>;
592
+ isPrimary: z.ZodBoolean;
593
+ createdAt: z.ZodString;
594
+ };