@hiveforge/hivemind-mcp 2.2.0 → 2.4.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.
- package/README.md +114 -25
- package/dist/cli.js +193 -2
- package/dist/cli.js.map +1 -1
- package/dist/graph/builder.d.ts +7 -3
- package/dist/graph/builder.d.ts.map +1 -1
- package/dist/graph/builder.js +51 -21
- package/dist/graph/builder.js.map +1 -1
- package/dist/mcp/index.d.ts +8 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +8 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/tool-generator.d.ts +110 -0
- package/dist/mcp/tool-generator.d.ts.map +1 -0
- package/dist/mcp/tool-generator.js +281 -0
- package/dist/mcp/tool-generator.js.map +1 -0
- package/dist/parser/markdown.d.ts +9 -0
- package/dist/parser/markdown.d.ts.map +1 -1
- package/dist/parser/markdown.js +13 -2
- package/dist/parser/markdown.js.map +1 -1
- package/dist/search/engine.d.ts +9 -1
- package/dist/search/engine.d.ts.map +1 -1
- package/dist/search/engine.js +16 -4
- package/dist/search/engine.js.map +1 -1
- package/dist/server.d.ts +8 -4
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +66 -199
- package/dist/server.js.map +1 -1
- package/dist/templates/builtin/people-management.d.ts +18 -0
- package/dist/templates/builtin/people-management.d.ts.map +1 -0
- package/dist/templates/builtin/people-management.js +523 -0
- package/dist/templates/builtin/people-management.js.map +1 -0
- package/dist/templates/builtin/research.d.ts +18 -0
- package/dist/templates/builtin/research.d.ts.map +1 -0
- package/dist/templates/builtin/research.js +349 -0
- package/dist/templates/builtin/research.js.map +1 -0
- package/dist/templates/builtin/worldbuilding.d.ts +20 -0
- package/dist/templates/builtin/worldbuilding.d.ts.map +1 -0
- package/dist/templates/builtin/worldbuilding.js +602 -0
- package/dist/templates/builtin/worldbuilding.js.map +1 -0
- package/dist/templates/detector.d.ts +51 -0
- package/dist/templates/detector.d.ts.map +1 -0
- package/dist/templates/detector.js +71 -0
- package/dist/templates/detector.js.map +1 -0
- package/dist/templates/folder-mapper.d.ts +66 -0
- package/dist/templates/folder-mapper.d.ts.map +1 -0
- package/dist/templates/folder-mapper.js +148 -0
- package/dist/templates/folder-mapper.js.map +1 -0
- package/dist/templates/index.d.ts +15 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/templates/index.js +15 -0
- package/dist/templates/index.js.map +1 -0
- package/dist/templates/loader.d.ts +117 -0
- package/dist/templates/loader.d.ts.map +1 -0
- package/dist/templates/loader.js +208 -0
- package/dist/templates/loader.js.map +1 -0
- package/dist/templates/registry.d.ts +127 -0
- package/dist/templates/registry.d.ts.map +1 -0
- package/dist/templates/registry.js +205 -0
- package/dist/templates/registry.js.map +1 -0
- package/dist/templates/schema-factory.d.ts +76 -0
- package/dist/templates/schema-factory.d.ts.map +1 -0
- package/dist/templates/schema-factory.js +171 -0
- package/dist/templates/schema-factory.js.map +1 -0
- package/dist/templates/types.d.ts +40 -0
- package/dist/templates/types.d.ts.map +1 -1
- package/dist/templates/validator.d.ts +310 -0
- package/dist/templates/validator.d.ts.map +1 -0
- package/dist/templates/validator.js +169 -0
- package/dist/templates/validator.js.map +1 -0
- package/dist/types/index.d.ts +57 -21
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +39 -15
- package/dist/types/index.js.map +1 -1
- package/dist/vault/reader.d.ts.map +1 -1
- package/dist/vault/reader.js +15 -1
- package/dist/vault/reader.js.map +1 -1
- package/package.json +7 -4
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Built-in research template.
|
|
3
|
+
*
|
|
4
|
+
* Defines entity types for academic research and knowledge management:
|
|
5
|
+
* - paper: Academic papers, articles, and publications
|
|
6
|
+
* - citation: References and citation relationships between papers
|
|
7
|
+
* - concept: Key ideas, theories, and definitions
|
|
8
|
+
* - note: General research notes and observations
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Research template definition.
|
|
12
|
+
*
|
|
13
|
+
* Designed for academic research, literature reviews, and knowledge management.
|
|
14
|
+
* Supports citation tracking, concept mapping, and research notes.
|
|
15
|
+
*/
|
|
16
|
+
export const researchTemplate = {
|
|
17
|
+
id: 'research',
|
|
18
|
+
name: 'Research',
|
|
19
|
+
version: '1.0.0',
|
|
20
|
+
description: 'Template for academic research with papers, citations, concepts, and notes',
|
|
21
|
+
// Relationship type definitions for the knowledge graph
|
|
22
|
+
relationshipTypes: [
|
|
23
|
+
// Citation relationships
|
|
24
|
+
{
|
|
25
|
+
id: 'cites',
|
|
26
|
+
displayName: 'Cites',
|
|
27
|
+
description: 'Paper cites another paper',
|
|
28
|
+
sourceTypes: ['paper'],
|
|
29
|
+
targetTypes: ['paper'],
|
|
30
|
+
bidirectional: true,
|
|
31
|
+
reverseId: 'cited_by',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: 'cited_by',
|
|
35
|
+
displayName: 'Cited By',
|
|
36
|
+
description: 'Paper is cited by another paper',
|
|
37
|
+
sourceTypes: ['paper'],
|
|
38
|
+
targetTypes: ['paper'],
|
|
39
|
+
bidirectional: false,
|
|
40
|
+
},
|
|
41
|
+
// Concept relationships
|
|
42
|
+
{
|
|
43
|
+
id: 'defines',
|
|
44
|
+
displayName: 'Defines',
|
|
45
|
+
description: 'Paper defines or introduces a concept',
|
|
46
|
+
sourceTypes: ['paper'],
|
|
47
|
+
targetTypes: ['concept'],
|
|
48
|
+
bidirectional: true,
|
|
49
|
+
reverseId: 'defined_in',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: 'defined_in',
|
|
53
|
+
displayName: 'Defined In',
|
|
54
|
+
description: 'Concept is defined in a paper',
|
|
55
|
+
sourceTypes: ['concept'],
|
|
56
|
+
targetTypes: ['paper'],
|
|
57
|
+
bidirectional: false,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: 'related_concept',
|
|
61
|
+
displayName: 'Related Concept',
|
|
62
|
+
description: 'Concepts that are related or connected',
|
|
63
|
+
sourceTypes: ['concept'],
|
|
64
|
+
targetTypes: ['concept'],
|
|
65
|
+
bidirectional: true,
|
|
66
|
+
reverseId: 'related_concept',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: 'extends',
|
|
70
|
+
displayName: 'Extends',
|
|
71
|
+
description: 'Concept extends or builds upon another concept',
|
|
72
|
+
sourceTypes: ['concept'],
|
|
73
|
+
targetTypes: ['concept'],
|
|
74
|
+
bidirectional: true,
|
|
75
|
+
reverseId: 'extended_by',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
id: 'extended_by',
|
|
79
|
+
displayName: 'Extended By',
|
|
80
|
+
description: 'Concept is extended by another concept',
|
|
81
|
+
sourceTypes: ['concept'],
|
|
82
|
+
targetTypes: ['concept'],
|
|
83
|
+
bidirectional: false,
|
|
84
|
+
},
|
|
85
|
+
// Note relationships
|
|
86
|
+
{
|
|
87
|
+
id: 'about',
|
|
88
|
+
displayName: 'About',
|
|
89
|
+
description: 'Note is about a paper or concept',
|
|
90
|
+
sourceTypes: ['note'],
|
|
91
|
+
targetTypes: ['paper', 'concept'],
|
|
92
|
+
bidirectional: true,
|
|
93
|
+
reverseId: 'has_note',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
id: 'has_note',
|
|
97
|
+
displayName: 'Has Note',
|
|
98
|
+
description: 'Paper or concept has associated notes',
|
|
99
|
+
sourceTypes: ['paper', 'concept'],
|
|
100
|
+
targetTypes: ['note'],
|
|
101
|
+
bidirectional: false,
|
|
102
|
+
},
|
|
103
|
+
// Generic fallback
|
|
104
|
+
{
|
|
105
|
+
id: 'related',
|
|
106
|
+
displayName: 'Related',
|
|
107
|
+
description: 'Generic relationship between any entities',
|
|
108
|
+
sourceTypes: 'any',
|
|
109
|
+
targetTypes: 'any',
|
|
110
|
+
bidirectional: true,
|
|
111
|
+
reverseId: 'related',
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
entityTypes: [
|
|
115
|
+
// Paper entity type
|
|
116
|
+
{
|
|
117
|
+
name: 'paper',
|
|
118
|
+
displayName: 'Paper',
|
|
119
|
+
pluralName: 'Papers',
|
|
120
|
+
description: 'Academic papers, articles, and publications',
|
|
121
|
+
icon: 'file-text',
|
|
122
|
+
fields: [
|
|
123
|
+
{
|
|
124
|
+
name: 'title',
|
|
125
|
+
type: 'string',
|
|
126
|
+
required: true,
|
|
127
|
+
description: 'Paper title',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'authors',
|
|
131
|
+
type: 'array',
|
|
132
|
+
arrayItemType: 'string',
|
|
133
|
+
required: true,
|
|
134
|
+
description: 'List of authors',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: 'year',
|
|
138
|
+
type: 'number',
|
|
139
|
+
description: 'Publication year',
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'venue',
|
|
143
|
+
type: 'string',
|
|
144
|
+
description: 'Publication venue (journal, conference, etc.)',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: 'doi',
|
|
148
|
+
type: 'string',
|
|
149
|
+
description: 'Digital Object Identifier',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: 'url',
|
|
153
|
+
type: 'string',
|
|
154
|
+
description: 'URL to paper',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: 'abstract',
|
|
158
|
+
type: 'string',
|
|
159
|
+
description: 'Paper abstract',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: 'keywords',
|
|
163
|
+
type: 'array',
|
|
164
|
+
arrayItemType: 'string',
|
|
165
|
+
description: 'Keywords or topics',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'paperType',
|
|
169
|
+
type: 'enum',
|
|
170
|
+
enumValues: ['journal', 'conference', 'preprint', 'thesis', 'book', 'chapter', 'report', 'other'],
|
|
171
|
+
description: 'Type of publication',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: 'readStatus',
|
|
175
|
+
type: 'enum',
|
|
176
|
+
enumValues: ['unread', 'skimmed', 'read', 'studied'],
|
|
177
|
+
default: 'unread',
|
|
178
|
+
description: 'Reading status',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: 'rating',
|
|
182
|
+
type: 'number',
|
|
183
|
+
description: 'Personal rating (1-5)',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: 'citedPapers',
|
|
187
|
+
type: 'array',
|
|
188
|
+
arrayItemType: 'string',
|
|
189
|
+
description: 'IDs of papers this paper cites',
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: 'concepts',
|
|
193
|
+
type: 'array',
|
|
194
|
+
arrayItemType: 'string',
|
|
195
|
+
description: 'IDs of concepts discussed in this paper',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: 'pdfPath',
|
|
199
|
+
type: 'string',
|
|
200
|
+
description: 'Path to PDF file in vault',
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
// Citation entity type (for explicit citation tracking)
|
|
205
|
+
{
|
|
206
|
+
name: 'citation',
|
|
207
|
+
displayName: 'Citation',
|
|
208
|
+
pluralName: 'Citations',
|
|
209
|
+
description: 'Citation relationships between papers with context',
|
|
210
|
+
icon: 'quote',
|
|
211
|
+
fields: [
|
|
212
|
+
{
|
|
213
|
+
name: 'sourcePaper',
|
|
214
|
+
type: 'string',
|
|
215
|
+
required: true,
|
|
216
|
+
description: 'ID of the citing paper',
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: 'targetPaper',
|
|
220
|
+
type: 'string',
|
|
221
|
+
required: true,
|
|
222
|
+
description: 'ID of the cited paper',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
name: 'context',
|
|
226
|
+
type: 'string',
|
|
227
|
+
description: 'Context or reason for the citation',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'citationType',
|
|
231
|
+
type: 'enum',
|
|
232
|
+
enumValues: ['background', 'method', 'comparison', 'extension', 'critique', 'support', 'other'],
|
|
233
|
+
description: 'Type of citation relationship',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: 'page',
|
|
237
|
+
type: 'string',
|
|
238
|
+
description: 'Page number where citation appears',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: 'quote',
|
|
242
|
+
type: 'string',
|
|
243
|
+
description: 'Direct quote from the citation context',
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
},
|
|
247
|
+
// Concept entity type
|
|
248
|
+
{
|
|
249
|
+
name: 'concept',
|
|
250
|
+
displayName: 'Concept',
|
|
251
|
+
pluralName: 'Concepts',
|
|
252
|
+
description: 'Key ideas, theories, and definitions',
|
|
253
|
+
icon: 'lightbulb',
|
|
254
|
+
fields: [
|
|
255
|
+
{
|
|
256
|
+
name: 'name',
|
|
257
|
+
type: 'string',
|
|
258
|
+
required: true,
|
|
259
|
+
description: 'Concept name',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
name: 'definition',
|
|
263
|
+
type: 'string',
|
|
264
|
+
description: 'Brief definition',
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: 'domain',
|
|
268
|
+
type: 'string',
|
|
269
|
+
description: 'Research domain or field',
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: 'aliases',
|
|
273
|
+
type: 'array',
|
|
274
|
+
arrayItemType: 'string',
|
|
275
|
+
description: 'Alternative names or synonyms',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: 'relatedConcepts',
|
|
279
|
+
type: 'array',
|
|
280
|
+
arrayItemType: 'string',
|
|
281
|
+
description: 'IDs of related concepts',
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
name: 'keyPapers',
|
|
285
|
+
type: 'array',
|
|
286
|
+
arrayItemType: 'string',
|
|
287
|
+
description: 'IDs of papers that define or explain this concept',
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: 'parentConcept',
|
|
291
|
+
type: 'string',
|
|
292
|
+
description: 'ID of parent concept (for hierarchies)',
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'childConcepts',
|
|
296
|
+
type: 'array',
|
|
297
|
+
arrayItemType: 'string',
|
|
298
|
+
description: 'IDs of child concepts',
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
},
|
|
302
|
+
// Note entity type
|
|
303
|
+
{
|
|
304
|
+
name: 'note',
|
|
305
|
+
displayName: 'Note',
|
|
306
|
+
pluralName: 'Notes',
|
|
307
|
+
description: 'General research notes and observations',
|
|
308
|
+
icon: 'sticky-note',
|
|
309
|
+
fields: [
|
|
310
|
+
{
|
|
311
|
+
name: 'title',
|
|
312
|
+
type: 'string',
|
|
313
|
+
required: true,
|
|
314
|
+
description: 'Note title',
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
name: 'noteType',
|
|
318
|
+
type: 'enum',
|
|
319
|
+
enumValues: ['literature', 'idea', 'question', 'summary', 'critique', 'method', 'other'],
|
|
320
|
+
default: 'other',
|
|
321
|
+
description: 'Type of note',
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: 'relatedPapers',
|
|
325
|
+
type: 'array',
|
|
326
|
+
arrayItemType: 'string',
|
|
327
|
+
description: 'IDs of related papers',
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
name: 'relatedConcepts',
|
|
331
|
+
type: 'array',
|
|
332
|
+
arrayItemType: 'string',
|
|
333
|
+
description: 'IDs of related concepts',
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
name: 'project',
|
|
337
|
+
type: 'string',
|
|
338
|
+
description: 'Research project this note belongs to',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
name: 'dateCreated',
|
|
342
|
+
type: 'date',
|
|
343
|
+
description: 'When the note was created',
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
};
|
|
349
|
+
//# sourceMappingURL=research.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"research.js","sourceRoot":"","sources":["../../../src/templates/builtin/research.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAuB;IAClD,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4EAA4E;IAEzF,wDAAwD;IACxD,iBAAiB,EAAE;QACjB,yBAAyB;QACzB;YACE,EAAE,EAAE,OAAO;YACX,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,2BAA2B;YACxC,WAAW,EAAE,CAAC,OAAO,CAAC;YACtB,WAAW,EAAE,CAAC,OAAO,CAAC;YACtB,aAAa,EAAE,IAAI;YACnB,SAAS,EAAE,UAAU;SACtB;QACD;YACE,EAAE,EAAE,UAAU;YACd,WAAW,EAAE,UAAU;YACvB,WAAW,EAAE,iCAAiC;YAC9C,WAAW,EAAE,CAAC,OAAO,CAAC;YACtB,WAAW,EAAE,CAAC,OAAO,CAAC;YACtB,aAAa,EAAE,KAAK;SACrB;QAED,wBAAwB;QACxB;YACE,EAAE,EAAE,SAAS;YACb,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,uCAAuC;YACpD,WAAW,EAAE,CAAC,OAAO,CAAC;YACtB,WAAW,EAAE,CAAC,SAAS,CAAC;YACxB,aAAa,EAAE,IAAI;YACnB,SAAS,EAAE,YAAY;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,+BAA+B;YAC5C,WAAW,EAAE,CAAC,SAAS,CAAC;YACxB,WAAW,EAAE,CAAC,OAAO,CAAC;YACtB,aAAa,EAAE,KAAK;SACrB;QACD;YACE,EAAE,EAAE,iBAA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IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,MAAM;YACnB,UAAU,EAAE,OAAO;YACnB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,aAAa;YACnB,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,IAAI;oBACd,WAAW,EAAE,YAAY;iBAC1B;gBACD;oBACE,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,MAAM;oBACZ,UAAU,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC;oBACxF,OAAO,EAAE,OAAO;oBAChB,WAAW,EAAE,cAAc;iBAC5B;gBACD;oBACE,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,OAAO;oBACb,aAAa,EAAE,QAAQ;oBACvB,WAAW,EAAE,uBAAuB;iBACrC;gBACD;oBACE,IAAI,EAAE,iBAAiB;oBACvB,IAAI,EAAE,OAAO;oBACb,aAAa,EAAE,QAAQ;oBACvB,WAAW,EAAE,yBAAyB;iBACvC;gBACD;oBACE,IAAI,EAAE,SAAS;oBACf,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,uCAAuC;iBACrD;gBACD;oBACE,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,MAAM;oBACZ,WAAW,EAAE,2BAA2B;iBACzC;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Built-in worldbuilding template.
|
|
3
|
+
*
|
|
4
|
+
* Defines entity types for worldbuilding projects:
|
|
5
|
+
* - character: NPCs, player characters, historical figures
|
|
6
|
+
* - location: Places, regions, buildings, rooms
|
|
7
|
+
* - event: Historical events, current events, plot points
|
|
8
|
+
* - faction: Organizations, governments, guilds, houses
|
|
9
|
+
* - lore: Mythology, magic systems, cultural knowledge
|
|
10
|
+
* - asset: Visual and media assets (images, audio, video)
|
|
11
|
+
*/
|
|
12
|
+
import type { TemplateDefinition } from '../types.js';
|
|
13
|
+
/**
|
|
14
|
+
* Worldbuilding template definition.
|
|
15
|
+
*
|
|
16
|
+
* Matches the existing hardcoded schemas in src/types/index.ts to ensure
|
|
17
|
+
* backwards compatibility with existing vaults.
|
|
18
|
+
*/
|
|
19
|
+
export declare const worldbuildingTemplate: TemplateDefinition;
|
|
20
|
+
//# sourceMappingURL=worldbuilding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worldbuilding.d.ts","sourceRoot":"","sources":["../../../src/templates/builtin/worldbuilding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,kBAmlBnC,CAAC"}
|