@epiccontext/mcp 0.1.16 → 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 +180 -134
- 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,57 +364,105 @@ 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 document the application's page hierarchy and
|
|
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
368
|
|
|
369
369
|
#### Purpose
|
|
370
|
-
- Map out the complete site/app structure
|
|
370
|
+
- Map out the complete site/app structure visually
|
|
371
371
|
- Show parent-child relationships between pages
|
|
372
372
|
- Document modals, sections, and components within pages
|
|
373
|
-
- Define
|
|
374
|
-
- Track page types
|
|
373
|
+
- **Define connections/links between pages and components**
|
|
374
|
+
- Track page types with visual differentiation
|
|
375
375
|
|
|
376
|
-
####
|
|
376
|
+
#### Data Structure
|
|
377
377
|
|
|
378
|
-
|
|
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)
|
|
379
388
|
|
|
380
389
|
| Property | Required | Description |
|
|
381
390
|
|----------|----------|-------------|
|
|
382
391
|
| \`id\` | Yes | Unique identifier (use kebab-case, e.g., "user-settings") |
|
|
383
392
|
| \`label\` | Yes | Display name shown in the UI |
|
|
384
|
-
| \`type\` | Yes | Node type
|
|
393
|
+
| \`type\` | Yes | Node type: \`page\`, \`modal\`, \`external\`, or \`node\` |
|
|
385
394
|
| \`url\` | No | Route path for navigable pages (e.g., "/dashboard") |
|
|
386
395
|
| \`description\` | No | Brief description of the page/section purpose |
|
|
387
|
-
| \`
|
|
396
|
+
| \`position\` | Yes | Visual position: \`{ "x": number, "y": number }\` |
|
|
397
|
+
| \`children\` | No | Array of child nodes |
|
|
388
398
|
| \`subNodes\` | No | Sections/components within this page |
|
|
389
|
-
| \`isNew\` | No | Flag to show "
|
|
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)
|
|
390
411
|
|
|
391
|
-
|
|
412
|
+
| Type | Description |
|
|
413
|
+
|------|-------------|
|
|
414
|
+
| \`section\` | A major content section |
|
|
415
|
+
| \`component\` | A reusable UI component |
|
|
416
|
+
| \`widget\` | Interactive widget/feature |
|
|
392
417
|
|
|
393
|
-
|
|
394
|
-
|------|-------|-------------|---------|
|
|
395
|
-
| \`page\` | Square | A navigable route/URL | Dashboard, Settings, Profile |
|
|
396
|
-
| \`modal\` | Rounded | Overlay dialog (no direct URL) | Confirmation dialogs, Preferences popup |
|
|
397
|
-
| \`external\` | Diamond | Link to external site | Documentation, Support portal |
|
|
418
|
+
Sub-nodes appear inside their parent node and can be the source of links to other nodes.
|
|
398
419
|
|
|
399
|
-
####
|
|
420
|
+
#### Link Structure (IALink)
|
|
400
421
|
|
|
401
|
-
|
|
422
|
+
Links define relationships and navigation paths between nodes. **IMPORTANT:** You MUST include the \`links\` array to show connections.
|
|
402
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:**
|
|
403
445
|
\`\`\`json
|
|
404
446
|
{
|
|
405
|
-
"id": "
|
|
406
|
-
"
|
|
407
|
-
"
|
|
408
|
-
"
|
|
409
|
-
"
|
|
410
|
-
{ "id": "metrics-panel", "label": "Metrics Panel", "type": "section" },
|
|
411
|
-
{ "id": "quick-actions", "label": "Quick Actions", "type": "component" }
|
|
412
|
-
],
|
|
413
|
-
"children": []
|
|
447
|
+
"id": "link-home-to-settings",
|
|
448
|
+
"sourceId": "home-page",
|
|
449
|
+
"targetId": "settings-modal",
|
|
450
|
+
"type": "action",
|
|
451
|
+
"label": "Opens settings"
|
|
414
452
|
}
|
|
415
453
|
\`\`\`
|
|
416
454
|
|
|
417
|
-
Sub-
|
|
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
|
+
\`\`\`
|
|
418
466
|
|
|
419
467
|
#### Complete Example
|
|
420
468
|
|
|
@@ -429,109 +477,81 @@ status: draft
|
|
|
429
477
|
|
|
430
478
|
# Application Structure
|
|
431
479
|
|
|
432
|
-
Complete information architecture
|
|
433
|
-
|
|
434
|
-
## Design Principles
|
|
435
|
-
- Maximum 3 levels of navigation depth
|
|
436
|
-
- All key actions accessible within 2 clicks
|
|
437
|
-
- Consistent navigation patterns across sections
|
|
480
|
+
Complete information architecture showing pages, modals, and navigation flows.
|
|
438
481
|
|
|
439
482
|
<!-- sync:data -->
|
|
440
483
|
\\\`\`\`json
|
|
441
484
|
{
|
|
442
|
-
"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
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": [
|
|
448
525
|
{
|
|
449
|
-
"id": "dashboard",
|
|
450
|
-
"
|
|
451
|
-
"
|
|
452
|
-
"
|
|
453
|
-
"
|
|
454
|
-
"
|
|
455
|
-
{ "id": "metrics-overview", "label": "Metrics Overview", "type": "section" },
|
|
456
|
-
{ "id": "recent-activity", "label": "Recent Activity", "type": "section" },
|
|
457
|
-
{ "id": "quick-actions", "label": "Quick Actions", "type": "component" }
|
|
458
|
-
],
|
|
459
|
-
"children": [
|
|
460
|
-
{
|
|
461
|
-
"id": "analytics",
|
|
462
|
-
"label": "Analytics",
|
|
463
|
-
"type": "page",
|
|
464
|
-
"url": "/dashboard/analytics",
|
|
465
|
-
"isNew": true,
|
|
466
|
-
"children": []
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"id": "reports",
|
|
470
|
-
"label": "Reports",
|
|
471
|
-
"type": "page",
|
|
472
|
-
"url": "/dashboard/reports",
|
|
473
|
-
"children": []
|
|
474
|
-
}
|
|
475
|
-
]
|
|
526
|
+
"id": "link-login-form-to-dashboard",
|
|
527
|
+
"sourceId": "login",
|
|
528
|
+
"sourceSubNodeId": "login-form",
|
|
529
|
+
"targetId": "dashboard",
|
|
530
|
+
"type": "action",
|
|
531
|
+
"label": "Successful login"
|
|
476
532
|
},
|
|
477
533
|
{
|
|
478
|
-
"id": "
|
|
479
|
-
"
|
|
480
|
-
"
|
|
481
|
-
"
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
{
|
|
485
|
-
"id": "project-detail",
|
|
486
|
-
"label": "Project Detail",
|
|
487
|
-
"type": "page",
|
|
488
|
-
"url": "/projects/:id",
|
|
489
|
-
"children": []
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"id": "create-project",
|
|
493
|
-
"label": "Create Project",
|
|
494
|
-
"type": "modal",
|
|
495
|
-
"description": "Modal dialog for creating new projects",
|
|
496
|
-
"children": []
|
|
497
|
-
}
|
|
498
|
-
]
|
|
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"
|
|
499
540
|
},
|
|
500
541
|
{
|
|
501
|
-
"id": "
|
|
502
|
-
"
|
|
503
|
-
"
|
|
504
|
-
"
|
|
505
|
-
"
|
|
506
|
-
|
|
507
|
-
"id": "profile",
|
|
508
|
-
"label": "Profile",
|
|
509
|
-
"type": "page",
|
|
510
|
-
"url": "/settings/profile",
|
|
511
|
-
"children": []
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
"id": "preferences",
|
|
515
|
-
"label": "Preferences",
|
|
516
|
-
"type": "modal",
|
|
517
|
-
"children": []
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"id": "billing",
|
|
521
|
-
"label": "Billing",
|
|
522
|
-
"type": "page",
|
|
523
|
-
"url": "/settings/billing",
|
|
524
|
-
"children": []
|
|
525
|
-
}
|
|
526
|
-
]
|
|
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"
|
|
527
548
|
},
|
|
528
549
|
{
|
|
529
|
-
"id": "
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
"
|
|
533
|
-
"
|
|
534
|
-
"children": []
|
|
550
|
+
"id": "link-modal-to-dashboard",
|
|
551
|
+
"sourceId": "new-project",
|
|
552
|
+
"targetId": "dashboard",
|
|
553
|
+
"type": "action",
|
|
554
|
+
"label": "After creation, returns to dashboard"
|
|
535
555
|
}
|
|
536
556
|
]
|
|
537
557
|
}
|
|
@@ -541,34 +561,60 @@ Complete information architecture for our SaaS application, showing all pages, m
|
|
|
541
561
|
|
|
542
562
|
#### Best Practices
|
|
543
563
|
|
|
544
|
-
1. **
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
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
|
|
551
587
|
|
|
552
588
|
#### Common Mistakes
|
|
553
589
|
|
|
554
|
-
WRONG: Missing
|
|
590
|
+
WRONG: Missing links array
|
|
591
|
+
\`\`\`json
|
|
592
|
+
{ "tree": { "id": "root", ... } }
|
|
593
|
+
\`\`\`
|
|
594
|
+
|
|
595
|
+
CORRECT: Always include links (even if empty)
|
|
596
|
+
\`\`\`json
|
|
597
|
+
{ "tree": { "id": "root", ... }, "links": [] }
|
|
598
|
+
\`\`\`
|
|
599
|
+
|
|
600
|
+
WRONG: Missing position for nodes
|
|
555
601
|
\`\`\`json
|
|
556
|
-
{ "id": "
|
|
602
|
+
{ "id": "dashboard", "label": "Dashboard", "type": "page" }
|
|
557
603
|
\`\`\`
|
|
558
604
|
|
|
559
|
-
CORRECT: Always include
|
|
605
|
+
CORRECT: Always include position
|
|
560
606
|
\`\`\`json
|
|
561
|
-
{ "id": "
|
|
607
|
+
{ "id": "dashboard", "label": "Dashboard", "type": "page", "position": { "x": 400, "y": 200 } }
|
|
562
608
|
\`\`\`
|
|
563
609
|
|
|
564
|
-
WRONG:
|
|
610
|
+
WRONG: Link without type
|
|
565
611
|
\`\`\`json
|
|
566
|
-
{ "id": "
|
|
612
|
+
{ "id": "link-1", "sourceId": "a", "targetId": "b" }
|
|
567
613
|
\`\`\`
|
|
568
614
|
|
|
569
|
-
CORRECT:
|
|
615
|
+
CORRECT: Always specify link type
|
|
570
616
|
\`\`\`json
|
|
571
|
-
{ "id": "
|
|
617
|
+
{ "id": "link-1", "sourceId": "a", "targetId": "b", "type": "action" }
|
|
572
618
|
\`\`\`
|
|
573
619
|
|
|
574
620
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