@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.
@@ -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,CAonB7D;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"}
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 navigation structure. They 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
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 cross-links between related pages
374
- - Track page types (navigable vs modal vs component)
373
+ - **Define connections/links between pages and components**
374
+ - Track page types with visual differentiation
375
375
 
376
- #### Node Structure
376
+ #### Data Structure
377
377
 
378
- Each node in the IA tree has these properties:
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 (see below) |
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
- | \`children\` | Yes | Array of child nodes (can be empty: \`[]\`) |
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 "New" badge on the node |
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
- #### Node Types
412
+ | Type | Description |
413
+ |------|-------------|
414
+ | \`section\` | A major content section |
415
+ | \`component\` | A reusable UI component |
416
+ | \`widget\` | Interactive widget/feature |
392
417
 
393
- | Type | Shape | Description | Example |
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
- #### Sub-Nodes (Page Sections)
420
+ #### Link Structure (IALink)
400
421
 
401
- Pages can have sub-nodes representing sections or components within them:
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": "dashboard",
406
- "label": "Dashboard",
407
- "type": "page",
408
- "url": "/dashboard",
409
- "subNodes": [
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-node types: \`section\`, \`component\`, \`widget\`
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 for our SaaS application, showing all pages, modals, and their relationships.
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
- "id": "root",
443
- "label": "Home",
444
- "type": "page",
445
- "url": "/",
446
- "description": "Landing page with dashboard overview",
447
- "children": [
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
- "label": "Dashboard",
451
- "type": "page",
452
- "url": "/dashboard",
453
- "description": "Main workspace showing key metrics and recent activity",
454
- "subNodes": [
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": "projects",
479
- "label": "Projects",
480
- "type": "page",
481
- "url": "/projects",
482
- "description": "Project management and collaboration",
483
- "children": [
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": "settings",
502
- "label": "Settings",
503
- "type": "page",
504
- "url": "/settings",
505
- "children": [
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": "help",
530
- "label": "Help Center",
531
- "type": "external",
532
- "url": "https://help.example.com",
533
- "description": "External documentation and support",
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. **Use descriptive IDs**: \`user-profile\` not \`page1\`
545
- 2. **Include URLs for all pages**: Helps developers map routes
546
- 3. **Add descriptions for complex pages**: Clarifies purpose
547
- 4. **Mark new features**: Use \`isNew: true\` for recently added pages
548
- 5. **Group related pages**: Use hierarchy to show logical groupings
549
- 6. **Document modals separately**: Don't nest modals under unrelated pages
550
- 7. **Keep depth shallow**: Aim for max 3-4 levels of nesting
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 children array
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": "page", "label": "Page", "type": "page" }
602
+ { "id": "dashboard", "label": "Dashboard", "type": "page" }
557
603
  \`\`\`
558
604
 
559
- CORRECT: Always include children (even if empty)
605
+ CORRECT: Always include position
560
606
  \`\`\`json
561
- { "id": "page", "label": "Page", "type": "page", "children": [] }
607
+ { "id": "dashboard", "label": "Dashboard", "type": "page", "position": { "x": 400, "y": 200 } }
562
608
  \`\`\`
563
609
 
564
- WRONG: Using generic IDs
610
+ WRONG: Link without type
565
611
  \`\`\`json
566
- { "id": "page1", "label": "Dashboard", "type": "page", "children": [] }
612
+ { "id": "link-1", "sourceId": "a", "targetId": "b" }
567
613
  \`\`\`
568
614
 
569
- CORRECT: Use meaningful kebab-case IDs
615
+ CORRECT: Always specify link type
570
616
  \`\`\`json
571
- { "id": "dashboard", "label": "Dashboard", "type": "page", "children": [] }
617
+ { "id": "link-1", "sourceId": "a", "targetId": "b", "type": "action" }
572
618
  \`\`\`
573
619
 
574
620
  ## Block References
@@ -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,MAA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CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,GAAG,KAAK,CAAC,CAAC;IAC9D,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7B,MAAM,WAAW,GAAG;QAChB,IAAI;WACD,OAAO;OACX,GAAG;QACF,IAAI;;;;EAIV,OAAO,EAAE,CAAC;QACR,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,QAAgB;IAC7C,IAAI,CAAC;QACH,MAAM,KAAK,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QACpC,OAAO,KAAK,CAAC,KAAK,CAAC;IACrB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,UAAU,CAAC,QAAgB;IACzC,OAAO,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AACjC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,UAAU,CAAC,QAAgB;IACzC,IAAI,CAAC;QACH,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epiccontext/mcp",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "MCP server and CLI for syncing EpicContext documentation with local codebases",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",