mdboard 1.3.0 → 2.1.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.
Files changed (53) hide show
  1. package/bin.js +117 -59
  2. package/index.html +2161 -1579
  3. package/package.json +7 -5
  4. package/presets/kanban/api.json +91 -0
  5. package/presets/kanban/cli.json +69 -0
  6. package/presets/kanban/docs.json +29 -0
  7. package/presets/kanban/entities.json +128 -0
  8. package/presets/kanban/structure.json +15 -0
  9. package/presets/kanban/ui.json +86 -0
  10. package/presets/scrum/api.json +98 -0
  11. package/presets/scrum/cli.json +120 -0
  12. package/presets/scrum/docs.json +43 -0
  13. package/presets/scrum/entities.json +268 -0
  14. package/presets/scrum/structure.json +32 -0
  15. package/presets/scrum/ui.json +201 -0
  16. package/presets/shape-up/api.json +40 -0
  17. package/presets/shape-up/cli.json +44 -0
  18. package/presets/shape-up/docs.json +32 -0
  19. package/presets/shape-up/entities.json +140 -0
  20. package/presets/shape-up/structure.json +28 -0
  21. package/presets/shape-up/ui.json +114 -0
  22. package/src/cli/cli.js +186 -210
  23. package/src/cli/config.js +234 -0
  24. package/src/cli/init.js +128 -76
  25. package/src/cli/preset.js +849 -0
  26. package/src/cli/skill.js +417 -0
  27. package/src/cli/status.js +126 -96
  28. package/src/core/config.js +491 -38
  29. package/src/core/history.js +17 -1
  30. package/src/core/scanner.js +373 -463
  31. package/src/core/workspace.js +0 -15
  32. package/src/server/api.js +464 -741
  33. package/src/server/server.js +105 -130
  34. package/build.js +0 -44
  35. package/defaults.json +0 -43
  36. package/src/cli/sync.js +0 -194
  37. package/src/cli/theme.js +0 -142
  38. package/src/client/app.js +0 -266
  39. package/src/client/board.js +0 -157
  40. package/src/client/core.js +0 -331
  41. package/src/client/editor.js +0 -318
  42. package/src/client/history.js +0 -137
  43. package/src/client/metrics.js +0 -38
  44. package/src/client/milestones.js +0 -77
  45. package/src/client/notes.js +0 -183
  46. package/src/client/overview.js +0 -104
  47. package/src/client/panel.js +0 -637
  48. package/src/client/styles.css +0 -471
  49. package/src/client/table.js +0 -111
  50. package/src/client/template.html +0 -144
  51. package/src/client/themes.js +0 -261
  52. package/src/client/workspace.js +0 -164
  53. package/src/core/agent-scanner.js +0 -260
@@ -0,0 +1,140 @@
1
+ {
2
+ "methodology": "shape-up",
3
+ "entities": {
4
+ "cycle": {
5
+ "singular": "Cycle",
6
+ "plural": "Cycles",
7
+ "prefix": "CYC",
8
+ "file": "README.md",
9
+ "fields": {
10
+ "status": {
11
+ "type": "enum",
12
+ "values": [
13
+ { "key": "planned", "label": "Planned", "color": "#8B8B93", "icon": "dashed-circle" },
14
+ { "key": "active", "label": "Active", "color": "#5B6EF5", "icon": "half-circle" },
15
+ { "key": "cooldown", "label": "Cooldown", "color": "#D4A72C", "icon": "pause-circle" },
16
+ { "key": "completed", "label": "Completed", "color": "#2EA043", "icon": "check-circle" }
17
+ ],
18
+ "default": "planned"
19
+ },
20
+ "goal": { "type": "string", "label": "Goal" },
21
+ "duration": { "type": "number", "label": "Weeks", "default": 6 },
22
+ "start_date": { "type": "date", "label": "Start" },
23
+ "end_date": { "type": "date", "label": "End" }
24
+ }
25
+ },
26
+ "bet": {
27
+ "singular": "Bet",
28
+ "plural": "Bets",
29
+ "prefix": "BET",
30
+ "file": "README.md",
31
+ "fields": {
32
+ "status": {
33
+ "type": "enum",
34
+ "values": [
35
+ { "key": "shaping", "label": "Shaping", "color": "#8B8B93", "icon": "dashed-circle" },
36
+ { "key": "ready", "label": "Ready", "color": "#06B6D4", "icon": "circle" },
37
+ { "key": "building", "label": "Building", "color": "#D4A72C", "icon": "half-circle" },
38
+ { "key": "shipped", "label": "Shipped", "color": "#2EA043", "icon": "check-circle" },
39
+ { "key": "dropped", "label": "Dropped", "color": "#5A5A63", "icon": "slash-circle" }
40
+ ],
41
+ "default": "shaping"
42
+ },
43
+ "appetite": {
44
+ "type": "enum",
45
+ "values": [
46
+ { "key": "small", "label": "Small Batch", "color": "#06B6D4" },
47
+ { "key": "big", "label": "Big Batch", "color": "#8B5CF6" }
48
+ ],
49
+ "default": "big"
50
+ },
51
+ "problem": { "type": "longtext", "label": "Problem" },
52
+ "solution": { "type": "longtext", "label": "Solution" },
53
+ "no_gos": { "type": "list", "label": "No-gos" }
54
+ }
55
+ },
56
+ "scope": {
57
+ "singular": "Scope",
58
+ "plural": "Scopes",
59
+ "prefix": "SCP",
60
+ "file": "README.md",
61
+ "fields": {
62
+ "hill": {
63
+ "type": "enum",
64
+ "values": [
65
+ { "key": "unknown", "label": "Unknown", "color": "#5A5A63", "icon": "circle" },
66
+ { "key": "figuring-out", "label": "Figuring it out", "color": "#F97316", "icon": "half-circle" },
67
+ { "key": "making-it-happen", "label": "Making it happen", "color": "#5B6EF5", "icon": "three-quarter-circle" },
68
+ { "key": "done", "label": "Done", "color": "#2EA043", "icon": "check-circle" }
69
+ ],
70
+ "default": "unknown"
71
+ }
72
+ }
73
+ },
74
+ "task": {
75
+ "singular": "Task",
76
+ "plural": "Tasks",
77
+ "prefix": "TASK",
78
+ "file": "PREFIX-NNN.md",
79
+ "fields": {
80
+ "status": {
81
+ "type": "enum",
82
+ "values": [
83
+ { "key": "todo", "label": "Todo", "color": "#8B8B93", "icon": "circle" },
84
+ { "key": "in-progress", "label": "In Progress", "color": "#D4A72C", "icon": "half-circle" },
85
+ { "key": "done", "label": "Done", "color": "#2EA043", "icon": "check-circle" }
86
+ ],
87
+ "default": "todo"
88
+ },
89
+ "assigned": { "type": "list", "label": "Assigned" },
90
+ "points": { "type": "number", "label": "Points" },
91
+ "linked": { "type": "ref", "label": "Linked", "entity": "task", "multiple": true }
92
+ }
93
+ },
94
+ "pitch": {
95
+ "singular": "Pitch",
96
+ "plural": "Pitches",
97
+ "prefix": "PITCH",
98
+ "file": "PREFIX-NNN.md",
99
+ "fields": {
100
+ "status": {
101
+ "type": "enum",
102
+ "values": [
103
+ { "key": "draft", "label": "Draft", "color": "#5A5A63", "icon": "dashed-circle" },
104
+ { "key": "ready", "label": "Ready", "color": "#06B6D4", "icon": "circle" },
105
+ { "key": "accepted", "label": "Accepted", "color": "#2EA043", "icon": "check-circle" },
106
+ { "key": "rejected", "label": "Rejected", "color": "#DA3633", "icon": "x-circle" }
107
+ ],
108
+ "default": "draft"
109
+ },
110
+ "appetite": {
111
+ "type": "enum",
112
+ "values": [
113
+ { "key": "small", "label": "Small Batch", "color": "#06B6D4" },
114
+ { "key": "big", "label": "Big Batch", "color": "#8B5CF6" }
115
+ ],
116
+ "default": "big"
117
+ },
118
+ "problem": { "type": "longtext", "label": "Problem" },
119
+ "solution": { "type": "longtext", "label": "Solution" },
120
+ "no_gos": { "type": "list", "label": "No-gos" }
121
+ }
122
+ },
123
+ "note": {
124
+ "singular": "Note",
125
+ "plural": "Notes",
126
+ "prefix": "NOTE",
127
+ "file": "PREFIX-NNN.md",
128
+ "fields": {
129
+ "updated": { "type": "date", "label": "Updated" }
130
+ }
131
+ }
132
+ },
133
+ "priorities": [
134
+ { "key": "urgent", "label": "Urgent", "color": "#F97316", "bars": 4 },
135
+ { "key": "high", "label": "High", "color": "#F97316", "bars": 3 },
136
+ { "key": "medium", "label": "Medium", "color": "#D4A72C", "bars": 2 },
137
+ { "key": "low", "label": "Low", "color": "#5B6EF5", "bars": 1 }
138
+ ],
139
+ "completedStatuses": ["done", "shipped", "completed"]
140
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "root": "project",
3
+ "hierarchy": {
4
+ "cycle": {
5
+ "dir": "cycles",
6
+ "children": {
7
+ "bet": {
8
+ "dir": "bets",
9
+ "children": {
10
+ "scope": {
11
+ "dir": "scopes",
12
+ "children": {
13
+ "task": { "dir": "tasks" }
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ },
21
+ "standalone": {
22
+ "pitch": { "dir": "pitches" },
23
+ "note": { "dir": "notes" }
24
+ },
25
+ "archive": {
26
+ "dir": "archive"
27
+ }
28
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "tabs": [
3
+ {
4
+ "id": "tasks",
5
+ "label": "Tasks",
6
+ "description": "Individual work items to be completed",
7
+ "icon": "check-square",
8
+ "entity": "task",
9
+ "layouts": ["list", "board", "table"],
10
+ "defaultLayout": "board",
11
+ "board": {
12
+ "groupBy": "status",
13
+ "cardFields": ["id", "title", "points", "assigned"],
14
+ "dragAction": "update-status"
15
+ },
16
+ "table": {
17
+ "columns": ["id", "title", "scope", "bet", "cycle", "status", "points", "assigned"],
18
+ "sortable": true
19
+ },
20
+ "filters": "auto"
21
+ },
22
+ {
23
+ "id": "bets",
24
+ "label": "Bets",
25
+ "description": "Shaped projects with a fixed time appetite",
26
+ "icon": "target",
27
+ "entity": "bet",
28
+ "layouts": ["cards", "list"],
29
+ "defaultLayout": "cards",
30
+ "cards": {
31
+ "fields": ["title", "status", "appetite"],
32
+ "showProgress": true,
33
+ "expandChildren": {
34
+ "entity": "scope",
35
+ "fields": ["title", "hill"],
36
+ "showProgress": true
37
+ }
38
+ },
39
+ "list": {
40
+ "fields": ["title", "status", "appetite", "progress"],
41
+ "expandable": true
42
+ },
43
+ "filters": ["cycle", "status", "appetite"]
44
+ },
45
+ {
46
+ "id": "cycles",
47
+ "label": "Cycles",
48
+ "description": "Fixed time periods for betting and building",
49
+ "icon": "refresh-cw",
50
+ "entity": "cycle",
51
+ "layouts": ["list"],
52
+ "defaultLayout": "list",
53
+ "list": {
54
+ "fields": ["title", "status", "duration", "start_date", "end_date", "progress"],
55
+ "expandChildren": {
56
+ "entity": "bet",
57
+ "fields": ["title", "status", "appetite"]
58
+ }
59
+ },
60
+ "filters": ["status"]
61
+ },
62
+ {
63
+ "id": "pitches",
64
+ "label": "Pitches",
65
+ "description": "Ideas shaped into concrete proposals",
66
+ "icon": "lightbulb",
67
+ "entity": "pitch",
68
+ "layouts": ["cards"],
69
+ "defaultLayout": "cards",
70
+ "cards": {
71
+ "fields": ["title", "status", "appetite"],
72
+ "showContent": true
73
+ },
74
+ "filters": ["status", "appetite"]
75
+ },
76
+ {
77
+ "id": "notes",
78
+ "label": "Notes",
79
+ "description": "Freeform notes and documentation",
80
+ "icon": "file-text",
81
+ "entity": "note",
82
+ "layouts": ["editor"],
83
+ "defaultLayout": "editor"
84
+ },
85
+ {
86
+ "id": "metrics",
87
+ "label": "Metrics",
88
+ "description": "Project progress, health, and status overview",
89
+ "icon": "bar-chart",
90
+ "layouts": ["metrics"],
91
+ "defaultLayout": "metrics",
92
+ "metrics": {
93
+ "cards": [
94
+ { "title": "Cycle Progress", "type": "progress-by-parent", "parent": "cycle" },
95
+ { "title": "Hill Chart", "type": "hill-chart", "entity": "scope" },
96
+ { "title": "Status Breakdown", "type": "status-breakdown", "entity": "task" },
97
+ { "title": "Project Health", "type": "health" }
98
+ ]
99
+ }
100
+ }
101
+ ],
102
+ "panel": {
103
+ "enabled": true,
104
+ "position": "right",
105
+ "editableFields": "auto",
106
+ "sections": ["properties", "ai", "content"]
107
+ },
108
+ "sourceRail": {
109
+ "enabled": true,
110
+ "position": "left",
111
+ "showHome": true,
112
+ "showHistory": true
113
+ }
114
+ }