@epiccontext/mcp 0.1.15 → 0.1.17
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 +228 -48
- 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,CAkqB7D;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
|
@@ -364,64 +364,194 @@ A journey map showing how new users get started with our product.
|
|
|
364
364
|
|
|
365
365
|
### Information Architecture Block (ia_tree)
|
|
366
366
|
|
|
367
|
-
IA tree blocks use embedded JSON in a \`sync:data\` block
|
|
367
|
+
IA tree blocks document the application's page hierarchy, navigation structure, and connections between pages. They use embedded JSON in a \`sync:data\` block with a \`tree\` (hierarchy) and \`links\` (connections) structure.
|
|
368
|
+
|
|
369
|
+
#### Purpose
|
|
370
|
+
- Map out the complete site/app structure visually
|
|
371
|
+
- Show parent-child relationships between pages
|
|
372
|
+
- Document modals, sections, and components within pages
|
|
373
|
+
- **Define connections/links between pages and components**
|
|
374
|
+
- Track page types with visual differentiation
|
|
375
|
+
|
|
376
|
+
#### Data Structure
|
|
377
|
+
|
|
378
|
+
The sync:data block contains two top-level properties:
|
|
379
|
+
|
|
380
|
+
\`\`\`json
|
|
381
|
+
{
|
|
382
|
+
"tree": { ... }, // The page/node hierarchy (IATreeNode)
|
|
383
|
+
"links": [ ... ] // Connections between nodes (IALink[])
|
|
384
|
+
}
|
|
385
|
+
\`\`\`
|
|
386
|
+
|
|
387
|
+
#### Node Structure (IATreeNode)
|
|
388
|
+
|
|
389
|
+
| Property | Required | Description |
|
|
390
|
+
|----------|----------|-------------|
|
|
391
|
+
| \`id\` | Yes | Unique identifier (use kebab-case, e.g., "user-settings") |
|
|
392
|
+
| \`label\` | Yes | Display name shown in the UI |
|
|
393
|
+
| \`type\` | Yes | Node type: \`page\`, \`modal\`, \`external\`, or \`node\` |
|
|
394
|
+
| \`url\` | No | Route path for navigable pages (e.g., "/dashboard") |
|
|
395
|
+
| \`description\` | No | Brief description of the page/section purpose |
|
|
396
|
+
| \`position\` | Yes | Visual position: \`{ "x": number, "y": number }\` |
|
|
397
|
+
| \`children\` | No | Array of child nodes |
|
|
398
|
+
| \`subNodes\` | No | Sections/components within this page |
|
|
399
|
+
| \`isNew\` | No | Flag to show "NEW" badge on the node |
|
|
400
|
+
|
|
401
|
+
#### Node Types (Visual Shapes)
|
|
402
|
+
|
|
403
|
+
| Type | Visual | Description |
|
|
404
|
+
|------|--------|-------------|
|
|
405
|
+
| \`page\` | Square (sharp corners) | A routable page/screen |
|
|
406
|
+
| \`modal\` | Rounded (large radius) | Modal/dialog overlay |
|
|
407
|
+
| \`external\` | Dashed border | External link |
|
|
408
|
+
| \`node\` | Rounded corners | Generic structural node |
|
|
409
|
+
|
|
410
|
+
#### Sub-Node Types (Content Areas Within Nodes)
|
|
411
|
+
|
|
412
|
+
| Type | Description |
|
|
413
|
+
|------|-------------|
|
|
414
|
+
| \`section\` | A major content section |
|
|
415
|
+
| \`component\` | A reusable UI component |
|
|
416
|
+
| \`widget\` | Interactive widget/feature |
|
|
417
|
+
|
|
418
|
+
Sub-nodes appear inside their parent node and can be the source of links to other nodes.
|
|
419
|
+
|
|
420
|
+
#### Link Structure (IALink)
|
|
421
|
+
|
|
422
|
+
Links define relationships and navigation paths between nodes. **IMPORTANT:** You MUST include the \`links\` array to show connections.
|
|
423
|
+
|
|
424
|
+
| Property | Required | Description |
|
|
425
|
+
|----------|----------|-------------|
|
|
426
|
+
| \`id\` | Yes | Unique ID for the link (e.g., "link-login-to-dashboard") |
|
|
427
|
+
| \`sourceId\` | Yes | ID of the source node |
|
|
428
|
+
| \`targetId\` | Yes | ID of the target node |
|
|
429
|
+
| \`sourceSubNodeId\` | No | If link starts from a sub-node, its ID |
|
|
430
|
+
| \`type\` | Yes | Link type (see below) |
|
|
431
|
+
| \`label\` | No | Description of the connection |
|
|
432
|
+
|
|
433
|
+
#### Link Types
|
|
434
|
+
|
|
435
|
+
| Type | Color | Style | Use Case |
|
|
436
|
+
|------|-------|-------|----------|
|
|
437
|
+
| \`action\` | Green (#22c55e) | Solid | User action that navigates (clicks, taps) |
|
|
438
|
+
| \`related\` | Purple (#8b5cf6) | Solid | Related content connection |
|
|
439
|
+
| \`parent\` | Blue (#3b82f6) | Solid | Parent-child hierarchy |
|
|
440
|
+
| \`references\` | Amber (#f59e0b) | Dashed | Content reference/link |
|
|
441
|
+
|
|
442
|
+
#### Connection Types
|
|
443
|
+
|
|
444
|
+
**1. Node → Node Connection:**
|
|
445
|
+
\`\`\`json
|
|
446
|
+
{
|
|
447
|
+
"id": "link-home-to-settings",
|
|
448
|
+
"sourceId": "home-page",
|
|
449
|
+
"targetId": "settings-modal",
|
|
450
|
+
"type": "action",
|
|
451
|
+
"label": "Opens settings"
|
|
452
|
+
}
|
|
453
|
+
\`\`\`
|
|
454
|
+
|
|
455
|
+
**2. Sub-Node → Node Connection:**
|
|
456
|
+
\`\`\`json
|
|
457
|
+
{
|
|
458
|
+
"id": "link-cta-to-signup",
|
|
459
|
+
"sourceId": "home-page",
|
|
460
|
+
"sourceSubNodeId": "hero-cta-button",
|
|
461
|
+
"targetId": "signup-page",
|
|
462
|
+
"type": "action",
|
|
463
|
+
"label": "Sign up CTA click"
|
|
464
|
+
}
|
|
465
|
+
\`\`\`
|
|
466
|
+
|
|
467
|
+
#### Complete Example
|
|
368
468
|
|
|
369
469
|
\`\`\`markdown
|
|
370
470
|
---
|
|
371
471
|
type: ia_tree
|
|
372
472
|
section: information-architecture
|
|
373
|
-
key:
|
|
374
|
-
name:
|
|
473
|
+
key: app-structure
|
|
474
|
+
name: Application Structure
|
|
375
475
|
status: draft
|
|
376
476
|
---
|
|
377
477
|
|
|
378
|
-
#
|
|
478
|
+
# Application Structure
|
|
379
479
|
|
|
380
|
-
|
|
480
|
+
Complete information architecture showing pages, modals, and navigation flows.
|
|
381
481
|
|
|
382
482
|
<!-- sync:data -->
|
|
383
483
|
\\\`\`\`json
|
|
384
484
|
{
|
|
385
|
-
"
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
485
|
+
"tree": {
|
|
486
|
+
"id": "app-root",
|
|
487
|
+
"label": "Application",
|
|
488
|
+
"type": "node",
|
|
489
|
+
"description": "Root application node",
|
|
490
|
+
"position": { "x": 50, "y": 50 },
|
|
491
|
+
"children": [
|
|
492
|
+
{
|
|
493
|
+
"id": "login",
|
|
494
|
+
"label": "Login",
|
|
495
|
+
"type": "page",
|
|
496
|
+
"url": "/login",
|
|
497
|
+
"position": { "x": 50, "y": 200 },
|
|
498
|
+
"subNodes": [
|
|
499
|
+
{ "id": "login-form", "name": "Login Form", "type": "component" },
|
|
500
|
+
{ "id": "forgot-link", "name": "Forgot Password Link", "type": "component" }
|
|
501
|
+
]
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"id": "dashboard",
|
|
505
|
+
"label": "Dashboard",
|
|
506
|
+
"type": "page",
|
|
507
|
+
"url": "/dashboard",
|
|
508
|
+
"description": "Main workspace",
|
|
509
|
+
"position": { "x": 400, "y": 200 },
|
|
510
|
+
"subNodes": [
|
|
511
|
+
{ "id": "project-grid", "name": "Project Grid", "type": "section" },
|
|
512
|
+
{ "id": "create-btn", "name": "Create Project Button", "type": "component" }
|
|
513
|
+
]
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"id": "new-project",
|
|
517
|
+
"label": "New Project",
|
|
518
|
+
"type": "modal",
|
|
519
|
+
"description": "Create project dialog",
|
|
520
|
+
"position": { "x": 750, "y": 200 }
|
|
521
|
+
}
|
|
522
|
+
]
|
|
523
|
+
},
|
|
524
|
+
"links": [
|
|
390
525
|
{
|
|
391
|
-
"id": "dashboard",
|
|
392
|
-
"
|
|
393
|
-
"
|
|
394
|
-
"
|
|
395
|
-
"
|
|
396
|
-
|
|
397
|
-
"id": "analytics",
|
|
398
|
-
"label": "Analytics",
|
|
399
|
-
"type": "page",
|
|
400
|
-
"url": "/dashboard/analytics",
|
|
401
|
-
"children": []
|
|
402
|
-
}
|
|
403
|
-
]
|
|
526
|
+
"id": "link-login-form-to-dashboard",
|
|
527
|
+
"sourceId": "login",
|
|
528
|
+
"sourceSubNodeId": "login-form",
|
|
529
|
+
"targetId": "dashboard",
|
|
530
|
+
"type": "action",
|
|
531
|
+
"label": "Successful login"
|
|
404
532
|
},
|
|
405
533
|
{
|
|
406
|
-
"id": "
|
|
407
|
-
"
|
|
408
|
-
"
|
|
409
|
-
"
|
|
410
|
-
"
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
534
|
+
"id": "link-forgot-to-reset",
|
|
535
|
+
"sourceId": "login",
|
|
536
|
+
"sourceSubNodeId": "forgot-link",
|
|
537
|
+
"targetId": "password-reset",
|
|
538
|
+
"type": "action",
|
|
539
|
+
"label": "Forgot password flow"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"id": "link-create-btn-to-modal",
|
|
543
|
+
"sourceId": "dashboard",
|
|
544
|
+
"sourceSubNodeId": "create-btn",
|
|
545
|
+
"targetId": "new-project",
|
|
546
|
+
"type": "action",
|
|
547
|
+
"label": "Opens create dialog"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"id": "link-modal-to-dashboard",
|
|
551
|
+
"sourceId": "new-project",
|
|
552
|
+
"targetId": "dashboard",
|
|
553
|
+
"type": "action",
|
|
554
|
+
"label": "After creation, returns to dashboard"
|
|
425
555
|
}
|
|
426
556
|
]
|
|
427
557
|
}
|
|
@@ -429,13 +559,63 @@ Overview of the application's page hierarchy and navigation structure.
|
|
|
429
559
|
<!-- /sync:data -->
|
|
430
560
|
\`\`\`
|
|
431
561
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
-
|
|
436
|
-
|
|
562
|
+
#### Best Practices
|
|
563
|
+
|
|
564
|
+
1. **Always include positions for nodes:**
|
|
565
|
+
Space nodes ~300-400px apart horizontally, ~150-200px vertically to avoid overlap.
|
|
566
|
+
|
|
567
|
+
2. **Create meaningful connections:**
|
|
568
|
+
- Every sub-node that leads somewhere should have a link
|
|
569
|
+
- Data flows should show input → processing → output
|
|
570
|
+
- User journeys should connect in logical sequence
|
|
571
|
+
|
|
572
|
+
3. **Use descriptive IDs:**
|
|
573
|
+
- Node IDs: \`home-page\`, \`settings-modal\`, \`auth-flow\`
|
|
574
|
+
- Sub-node IDs: \`nav-menu\`, \`hero-cta\`, \`project-list\`
|
|
575
|
+
- Link IDs: \`link-nav-to-dashboard\`, \`link-cta-to-signup\`
|
|
576
|
+
|
|
577
|
+
4. **Group related nodes visually:**
|
|
578
|
+
- Authentication pages together (x: 50-300)
|
|
579
|
+
- Dashboard pages together (x: 400-700)
|
|
580
|
+
- Settings/admin together (x: 800-1100)
|
|
581
|
+
|
|
582
|
+
5. **Choose appropriate link types:**
|
|
583
|
+
- \`action\`: User clicks/taps to navigate
|
|
584
|
+
- \`related\`: Content is related but not direct navigation
|
|
585
|
+
- \`parent\`: Hierarchical relationship
|
|
586
|
+
- \`references\`: One content references another
|
|
587
|
+
|
|
588
|
+
#### Common Mistakes
|
|
589
|
+
|
|
590
|
+
WRONG: Missing links array
|
|
591
|
+
\`\`\`json
|
|
592
|
+
{ "tree": { "id": "root", ... } }
|
|
593
|
+
\`\`\`
|
|
437
594
|
|
|
438
|
-
|
|
595
|
+
CORRECT: Always include links (even if empty)
|
|
596
|
+
\`\`\`json
|
|
597
|
+
{ "tree": { "id": "root", ... }, "links": [] }
|
|
598
|
+
\`\`\`
|
|
599
|
+
|
|
600
|
+
WRONG: Missing position for nodes
|
|
601
|
+
\`\`\`json
|
|
602
|
+
{ "id": "dashboard", "label": "Dashboard", "type": "page" }
|
|
603
|
+
\`\`\`
|
|
604
|
+
|
|
605
|
+
CORRECT: Always include position
|
|
606
|
+
\`\`\`json
|
|
607
|
+
{ "id": "dashboard", "label": "Dashboard", "type": "page", "position": { "x": 400, "y": 200 } }
|
|
608
|
+
\`\`\`
|
|
609
|
+
|
|
610
|
+
WRONG: Link without type
|
|
611
|
+
\`\`\`json
|
|
612
|
+
{ "id": "link-1", "sourceId": "a", "targetId": "b" }
|
|
613
|
+
\`\`\`
|
|
614
|
+
|
|
615
|
+
CORRECT: Always specify link type
|
|
616
|
+
\`\`\`json
|
|
617
|
+
{ "id": "link-1", "sourceId": "a", "targetId": "b", "type": "action" }
|
|
618
|
+
\`\`\`
|
|
439
619
|
|
|
440
620
|
## Block References
|
|
441
621
|
|
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;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