@epiccontext/mcp 0.1.11 → 0.1.12
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/dist/cli/files.d.ts.map +1 -1
- package/dist/cli/files.js +292 -2
- package/dist/cli/files.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/files.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/cli/files.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,QAAQ,EAAE,CAmCjE;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,QAAQ,EAAE,EACjB,OAAO,GAAE,YAAiB,GACzB;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAA;CAAE,CAsC9D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/cli/files.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,QAAQ,EAAE,CAmCjE;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,QAAQ,EAAE,EACjB,OAAO,GAAE,YAAiB,GACzB;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAA;CAAE,CAsC9D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAoV7D;AA4BD;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAO5D;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAOpD"}
|
package/dist/cli/files.js
CHANGED
|
@@ -106,6 +106,22 @@ export function ensureContextFolder(contextPath) {
|
|
|
106
106
|
|
|
107
107
|
This folder contains product context documentation synced with EpicContext.
|
|
108
108
|
|
|
109
|
+
## IMPORTANT: File Format
|
|
110
|
+
|
|
111
|
+
**All markdown files MUST have YAML frontmatter with these required fields:**
|
|
112
|
+
|
|
113
|
+
\`\`\`yaml
|
|
114
|
+
---
|
|
115
|
+
type: text # Block type (text, persona, feature, decision, etc.)
|
|
116
|
+
section: brand # Section name (must match folder name)
|
|
117
|
+
key: unique-key # Unique identifier (use kebab-case)
|
|
118
|
+
name: Display Name # Human-readable name
|
|
119
|
+
status: draft # Status: draft, complete, or empty
|
|
120
|
+
---
|
|
121
|
+
\`\`\`
|
|
122
|
+
|
|
123
|
+
See \`AI-GUIDE.md\` for detailed format instructions.
|
|
124
|
+
|
|
109
125
|
## Structure
|
|
110
126
|
|
|
111
127
|
Each folder represents a section of your product documentation:
|
|
@@ -127,16 +143,290 @@ This folder is synced with your EpicContext project using the MCP server.
|
|
|
127
143
|
|
|
128
144
|
To sync changes:
|
|
129
145
|
\`\`\`bash
|
|
130
|
-
|
|
146
|
+
epicontext sync
|
|
131
147
|
\`\`\`
|
|
132
148
|
|
|
133
149
|
To watch for changes and auto-sync:
|
|
134
150
|
\`\`\`bash
|
|
135
|
-
|
|
151
|
+
epicontext watch
|
|
136
152
|
\`\`\`
|
|
137
153
|
`;
|
|
138
154
|
fs.writeFileSync(readmePath, readme, "utf-8");
|
|
139
155
|
}
|
|
156
|
+
// Create AI-GUIDE.md with detailed format instructions
|
|
157
|
+
const aiGuidePath = path.join(contextPath, "AI-GUIDE.md");
|
|
158
|
+
if (!fs.existsSync(aiGuidePath)) {
|
|
159
|
+
const aiGuide = `# AI Agent Guide for EpicContext
|
|
160
|
+
|
|
161
|
+
This file contains instructions for AI agents (Claude, Cursor, etc.) on how to create and edit documentation files in this CONTEXT folder.
|
|
162
|
+
|
|
163
|
+
## CRITICAL: Required YAML Frontmatter
|
|
164
|
+
|
|
165
|
+
Every markdown file in this folder **MUST** have YAML frontmatter with these required fields:
|
|
166
|
+
|
|
167
|
+
\`\`\`yaml
|
|
168
|
+
---
|
|
169
|
+
type: text # REQUIRED: Block type (see list below)
|
|
170
|
+
section: brand # REQUIRED: Section name (must match folder name)
|
|
171
|
+
key: my-unique-key # REQUIRED: Unique identifier within section (use kebab-case)
|
|
172
|
+
name: My Display Name # REQUIRED: Human-readable display name
|
|
173
|
+
status: draft # REQUIRED: One of: draft, complete, empty
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
Your content goes here after the frontmatter...
|
|
177
|
+
\`\`\`
|
|
178
|
+
|
|
179
|
+
## Block Types by Section
|
|
180
|
+
|
|
181
|
+
### constitution/
|
|
182
|
+
- \`text\` - General text content (principles, rules, guidelines)
|
|
183
|
+
|
|
184
|
+
### brand/
|
|
185
|
+
- \`text\` - Voice, identity, values
|
|
186
|
+
- \`color\` - Color definitions
|
|
187
|
+
- \`font\` - Typography definitions
|
|
188
|
+
|
|
189
|
+
### product/
|
|
190
|
+
- \`text\` - Vision, overview, strategy
|
|
191
|
+
- \`feature\` - Feature definitions
|
|
192
|
+
|
|
193
|
+
### users/
|
|
194
|
+
- \`persona\` - User personas
|
|
195
|
+
- \`jtbd\` - Jobs to be done
|
|
196
|
+
- \`text\` - General user research
|
|
197
|
+
|
|
198
|
+
### research/
|
|
199
|
+
- \`competitor\` - Competitor analysis
|
|
200
|
+
- \`text\` - Market research, insights
|
|
201
|
+
|
|
202
|
+
### technical/
|
|
203
|
+
- \`text\` - Architecture, stack overview
|
|
204
|
+
- \`integration\` - Third-party integrations
|
|
205
|
+
- \`constraint\` - Technical constraints
|
|
206
|
+
|
|
207
|
+
### design-system/
|
|
208
|
+
- \`text\` - Component documentation, patterns
|
|
209
|
+
|
|
210
|
+
### journeys/
|
|
211
|
+
- \`journey_map\` - User journey maps
|
|
212
|
+
- \`text\` - Journey descriptions
|
|
213
|
+
|
|
214
|
+
### decisions/
|
|
215
|
+
- \`decision\` - Architecture Decision Records (ADRs)
|
|
216
|
+
- \`text\` - General decisions
|
|
217
|
+
|
|
218
|
+
### development/
|
|
219
|
+
- \`epic\` - Epics
|
|
220
|
+
- \`user_story\` - User stories
|
|
221
|
+
- \`text\` - Development notes
|
|
222
|
+
|
|
223
|
+
## Example Files
|
|
224
|
+
|
|
225
|
+
### Simple Text Block
|
|
226
|
+
\`\`\`markdown
|
|
227
|
+
---
|
|
228
|
+
type: text
|
|
229
|
+
section: brand
|
|
230
|
+
key: voice
|
|
231
|
+
name: Brand Voice
|
|
232
|
+
status: draft
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
# Brand Voice
|
|
236
|
+
|
|
237
|
+
Our brand voice is professional yet approachable...
|
|
238
|
+
\`\`\`
|
|
239
|
+
|
|
240
|
+
### Persona Block
|
|
241
|
+
\`\`\`markdown
|
|
242
|
+
---
|
|
243
|
+
type: persona
|
|
244
|
+
section: users
|
|
245
|
+
key: primary-user
|
|
246
|
+
name: Primary User Persona
|
|
247
|
+
status: draft
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
# Sarah - Product Manager
|
|
251
|
+
|
|
252
|
+
> "I need tools that help me stay organized without adding overhead."
|
|
253
|
+
|
|
254
|
+
**Role:** Product Manager
|
|
255
|
+
**Age:** 28-35
|
|
256
|
+
**Tech Comfort:** Advanced
|
|
257
|
+
|
|
258
|
+
### Goals
|
|
259
|
+
- Ship features faster
|
|
260
|
+
- Keep stakeholders informed
|
|
261
|
+
|
|
262
|
+
### Frustrations
|
|
263
|
+
- Too many disconnected tools
|
|
264
|
+
- Context switching overhead
|
|
265
|
+
\`\`\`
|
|
266
|
+
|
|
267
|
+
### Decision Block (ADR)
|
|
268
|
+
\`\`\`markdown
|
|
269
|
+
---
|
|
270
|
+
type: decision
|
|
271
|
+
section: decisions
|
|
272
|
+
key: database-choice
|
|
273
|
+
name: Database Technology Choice
|
|
274
|
+
status: complete
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
# ADR-001: Database Technology Choice
|
|
278
|
+
|
|
279
|
+
**Date:** 2024-01-15
|
|
280
|
+
**Status:** Accepted
|
|
281
|
+
|
|
282
|
+
### Context
|
|
283
|
+
We need to choose a database for our application...
|
|
284
|
+
|
|
285
|
+
### Decision
|
|
286
|
+
We will use PostgreSQL with Supabase...
|
|
287
|
+
|
|
288
|
+
### Rationale
|
|
289
|
+
PostgreSQL offers the best balance of features...
|
|
290
|
+
|
|
291
|
+
### Consequences
|
|
292
|
+
- Need to set up Supabase project
|
|
293
|
+
- Team needs PostgreSQL knowledge
|
|
294
|
+
\`\`\`
|
|
295
|
+
|
|
296
|
+
### Feature Block
|
|
297
|
+
\`\`\`markdown
|
|
298
|
+
---
|
|
299
|
+
type: feature
|
|
300
|
+
section: product
|
|
301
|
+
key: user-auth
|
|
302
|
+
name: User Authentication
|
|
303
|
+
status: draft
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
# User Authentication
|
|
307
|
+
|
|
308
|
+
Enable users to create accounts and sign in securely.
|
|
309
|
+
|
|
310
|
+
**Priority:** Must Have
|
|
311
|
+
**Status:** Planned
|
|
312
|
+
|
|
313
|
+
### User Story
|
|
314
|
+
As a user, I want to create an account so that I can save my preferences.
|
|
315
|
+
|
|
316
|
+
### Acceptance Criteria
|
|
317
|
+
- Users can sign up with email
|
|
318
|
+
- Users can sign in with password
|
|
319
|
+
- Password reset flow works
|
|
320
|
+
\`\`\`
|
|
321
|
+
|
|
322
|
+
## Important Rules
|
|
323
|
+
|
|
324
|
+
1. **Always include all 5 frontmatter fields** (type, section, key, name, status)
|
|
325
|
+
2. **The \`section\` field must match the folder name** (e.g., files in \`brand/\` must have \`section: brand\`)
|
|
326
|
+
3. **The \`key\` must be unique within the section** (use kebab-case, no spaces)
|
|
327
|
+
4. **Use \`type: text\` for general content** when no specific type applies
|
|
328
|
+
5. **Set \`status: draft\` for new content** and \`status: complete\` when finalized
|
|
329
|
+
|
|
330
|
+
## Common Mistakes to Avoid
|
|
331
|
+
|
|
332
|
+
WRONG: Using \`title\` and \`description\` instead of proper frontmatter
|
|
333
|
+
\`\`\`yaml
|
|
334
|
+
---
|
|
335
|
+
title: My Document # WRONG - not recognized
|
|
336
|
+
description: About this # WRONG - not recognized
|
|
337
|
+
---
|
|
338
|
+
\`\`\`
|
|
339
|
+
|
|
340
|
+
CORRECT: Using the required frontmatter fields
|
|
341
|
+
\`\`\`yaml
|
|
342
|
+
---
|
|
343
|
+
type: text
|
|
344
|
+
section: brand
|
|
345
|
+
key: my-document
|
|
346
|
+
name: My Document
|
|
347
|
+
status: draft
|
|
348
|
+
---
|
|
349
|
+
\`\`\`
|
|
350
|
+
|
|
351
|
+
WRONG: Missing required fields
|
|
352
|
+
\`\`\`yaml
|
|
353
|
+
---
|
|
354
|
+
type: text
|
|
355
|
+
name: My Document
|
|
356
|
+
# Missing: section, key, status
|
|
357
|
+
---
|
|
358
|
+
\`\`\`
|
|
359
|
+
|
|
360
|
+
CORRECT: All required fields present
|
|
361
|
+
\`\`\`yaml
|
|
362
|
+
---
|
|
363
|
+
type: text
|
|
364
|
+
section: brand
|
|
365
|
+
key: my-document
|
|
366
|
+
name: My Document
|
|
367
|
+
status: draft
|
|
368
|
+
---
|
|
369
|
+
\`\`\`
|
|
370
|
+
`;
|
|
371
|
+
fs.writeFileSync(aiGuidePath, aiGuide, "utf-8");
|
|
372
|
+
}
|
|
373
|
+
// Create sample files in each section with correct frontmatter
|
|
374
|
+
createSampleFile(contextPath, "constitution", "principles", "text", "Core Principles", `# Core Principles
|
|
375
|
+
|
|
376
|
+
These are the non-negotiable principles that guide all our work.
|
|
377
|
+
|
|
378
|
+
## Principle 1: User First
|
|
379
|
+
Always prioritize user needs over internal convenience.
|
|
380
|
+
|
|
381
|
+
## Principle 2: Simplicity
|
|
382
|
+
Choose the simplest solution that solves the problem.
|
|
383
|
+
|
|
384
|
+
## Principle 3: Quality
|
|
385
|
+
Never compromise on quality for speed.
|
|
386
|
+
`);
|
|
387
|
+
createSampleFile(contextPath, "brand", "voice", "text", "Brand Voice", `# Brand Voice
|
|
388
|
+
|
|
389
|
+
Our brand voice defines how we communicate with users.
|
|
390
|
+
|
|
391
|
+
## Tone
|
|
392
|
+
Professional but approachable. We speak with authority but never talk down to users.
|
|
393
|
+
|
|
394
|
+
## Personality
|
|
395
|
+
- Helpful and encouraging
|
|
396
|
+
- Clear and concise
|
|
397
|
+
- Confident but humble
|
|
398
|
+
`);
|
|
399
|
+
createSampleFile(contextPath, "product", "vision", "text", "Product Vision", `# Product Vision
|
|
400
|
+
|
|
401
|
+
Define your product vision and strategy here.
|
|
402
|
+
|
|
403
|
+
## Mission
|
|
404
|
+
What problem are we solving and for whom?
|
|
405
|
+
|
|
406
|
+
## Vision
|
|
407
|
+
Where do we want to be in 3-5 years?
|
|
408
|
+
|
|
409
|
+
## Key Differentiators
|
|
410
|
+
What makes our solution unique?
|
|
411
|
+
`);
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Create a sample file with correct frontmatter if it doesn't exist
|
|
415
|
+
*/
|
|
416
|
+
function createSampleFile(contextPath, section, key, type, name, content) {
|
|
417
|
+
const filePath = path.join(contextPath, section, `${key}.md`);
|
|
418
|
+
if (!fs.existsSync(filePath)) {
|
|
419
|
+
const fileContent = `---
|
|
420
|
+
type: ${type}
|
|
421
|
+
section: ${section}
|
|
422
|
+
key: ${key}
|
|
423
|
+
name: ${name}
|
|
424
|
+
status: draft
|
|
425
|
+
---
|
|
426
|
+
|
|
427
|
+
${content}`;
|
|
428
|
+
fs.writeFileSync(filePath, fileContent, "utf-8");
|
|
429
|
+
}
|
|
140
430
|
}
|
|
141
431
|
/**
|
|
142
432
|
* Get file modification time
|
package/dist/cli/files.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/cli/files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAG7B;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,WAAmB;IACnD,MAAM,KAAK,GAAe,EAAE,CAAC;IAE7B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;QAChC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,SAAS,OAAO,CAAC,GAAW,EAAE,UAAkB;QAC9C,MAAM,OAAO,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;QAE7D,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;YAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;YAC5C,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YAEzD,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,CAAC;gBACxB,2CAA2C;gBAC3C,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,IAAI,KAAK,cAAc,EAAE,CAA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