mdboard 1.3.0 → 2.0.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.
- package/bin.js +117 -59
- package/index.html +2101 -1594
- package/package.json +7 -5
- package/presets/kanban/api.json +91 -0
- package/presets/kanban/cli.json +69 -0
- package/presets/kanban/docs.json +29 -0
- package/presets/kanban/entities.json +128 -0
- package/presets/kanban/structure.json +15 -0
- package/presets/kanban/ui.json +86 -0
- package/presets/scrum/api.json +98 -0
- package/presets/scrum/cli.json +120 -0
- package/presets/scrum/docs.json +43 -0
- package/presets/scrum/entities.json +268 -0
- package/presets/scrum/structure.json +32 -0
- package/presets/scrum/ui.json +201 -0
- package/presets/shape-up/api.json +40 -0
- package/presets/shape-up/cli.json +44 -0
- package/presets/shape-up/docs.json +32 -0
- package/presets/shape-up/entities.json +140 -0
- package/presets/shape-up/structure.json +28 -0
- package/presets/shape-up/ui.json +114 -0
- package/src/cli/cli.js +186 -210
- package/src/cli/config.js +234 -0
- package/src/cli/init.js +128 -76
- package/src/cli/preset.js +849 -0
- package/src/cli/skill.js +417 -0
- package/src/cli/status.js +126 -96
- package/src/core/config.js +491 -38
- package/src/core/history.js +17 -1
- package/src/core/scanner.js +373 -463
- package/src/core/workspace.js +0 -15
- package/src/server/api.js +464 -741
- package/src/server/server.js +105 -130
- package/build.js +0 -44
- package/defaults.json +0 -43
- package/src/cli/sync.js +0 -194
- package/src/cli/theme.js +0 -142
- package/src/client/app.js +0 -266
- package/src/client/board.js +0 -157
- package/src/client/core.js +0 -331
- package/src/client/editor.js +0 -318
- package/src/client/history.js +0 -137
- package/src/client/metrics.js +0 -38
- package/src/client/milestones.js +0 -77
- package/src/client/notes.js +0 -183
- package/src/client/overview.js +0 -104
- package/src/client/panel.js +0 -637
- package/src/client/styles.css +0 -471
- package/src/client/table.js +0 -111
- package/src/client/template.html +0 -144
- package/src/client/themes.js +0 -261
- package/src/client/workspace.js +0 -164
- package/src/core/agent-scanner.js +0 -260
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": {
|
|
3
|
+
"output": "status.md",
|
|
4
|
+
"header": "Project Status: {{project.name}}",
|
|
5
|
+
"sections": [
|
|
6
|
+
{
|
|
7
|
+
"type": "summary",
|
|
8
|
+
"metrics": [
|
|
9
|
+
{
|
|
10
|
+
"label": "Sprints",
|
|
11
|
+
"compute": "count",
|
|
12
|
+
"entity": "sprint"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"label": "Tasks",
|
|
16
|
+
"compute": "count",
|
|
17
|
+
"entity": "task",
|
|
18
|
+
"detail": "done-ratio"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "entity-list",
|
|
24
|
+
"entity": "sprint",
|
|
25
|
+
"fields": [
|
|
26
|
+
"title",
|
|
27
|
+
"status",
|
|
28
|
+
"progress"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "entity-table",
|
|
33
|
+
"entity": "task",
|
|
34
|
+
"groupBy": "status",
|
|
35
|
+
"fields": [
|
|
36
|
+
"id",
|
|
37
|
+
"title",
|
|
38
|
+
"status"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
{
|
|
2
|
+
"methodology": "scrum",
|
|
3
|
+
"entities": {
|
|
4
|
+
"sprint": {
|
|
5
|
+
"singular": "Sprint",
|
|
6
|
+
"plural": "Sprints",
|
|
7
|
+
"prefix": "SPR",
|
|
8
|
+
"file": "README.md",
|
|
9
|
+
"fields": {
|
|
10
|
+
"status": {
|
|
11
|
+
"type": "enum",
|
|
12
|
+
"values": [
|
|
13
|
+
{
|
|
14
|
+
"key": "planned",
|
|
15
|
+
"label": "Planned",
|
|
16
|
+
"color": "#8B8B93",
|
|
17
|
+
"icon": "dashed-circle"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"key": "active",
|
|
21
|
+
"label": "Active",
|
|
22
|
+
"color": "#5B6EF5",
|
|
23
|
+
"icon": "half-circle"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "completed",
|
|
27
|
+
"label": "Completed",
|
|
28
|
+
"color": "#2EA043",
|
|
29
|
+
"icon": "check-circle"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"default": "planned"
|
|
33
|
+
},
|
|
34
|
+
"goal": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"label": "Goal"
|
|
37
|
+
},
|
|
38
|
+
"start_date": {
|
|
39
|
+
"type": "date",
|
|
40
|
+
"label": "Start"
|
|
41
|
+
},
|
|
42
|
+
"end_date": {
|
|
43
|
+
"type": "date",
|
|
44
|
+
"label": "End"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"story": {
|
|
49
|
+
"singular": "Story",
|
|
50
|
+
"plural": "Stories",
|
|
51
|
+
"prefix": "US",
|
|
52
|
+
"file": "README.md",
|
|
53
|
+
"fields": {
|
|
54
|
+
"status": {
|
|
55
|
+
"type": "enum",
|
|
56
|
+
"values": [
|
|
57
|
+
{
|
|
58
|
+
"key": "backlog",
|
|
59
|
+
"label": "Backlog",
|
|
60
|
+
"color": "#8B8B93",
|
|
61
|
+
"icon": "circle"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"key": "ready",
|
|
65
|
+
"label": "Ready",
|
|
66
|
+
"color": "#06B6D4",
|
|
67
|
+
"icon": "dashed-circle"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"key": "in-progress",
|
|
71
|
+
"label": "In Progress",
|
|
72
|
+
"color": "#D4A72C",
|
|
73
|
+
"icon": "half-circle"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"key": "review",
|
|
77
|
+
"label": "Review",
|
|
78
|
+
"color": "#8B5CF6",
|
|
79
|
+
"icon": "three-quarter-circle"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"key": "done",
|
|
83
|
+
"label": "Done",
|
|
84
|
+
"color": "#2EA043",
|
|
85
|
+
"icon": "check-circle"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"default": "backlog"
|
|
89
|
+
},
|
|
90
|
+
"points": {
|
|
91
|
+
"type": "number",
|
|
92
|
+
"label": "Points"
|
|
93
|
+
},
|
|
94
|
+
"assigned": {
|
|
95
|
+
"type": "list",
|
|
96
|
+
"label": "Assigned"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"task": {
|
|
101
|
+
"singular": "Task",
|
|
102
|
+
"plural": "Tasks",
|
|
103
|
+
"prefix": "TASK",
|
|
104
|
+
"file": "PREFIX-NNN.md",
|
|
105
|
+
"fields": {
|
|
106
|
+
"status": {
|
|
107
|
+
"type": "enum",
|
|
108
|
+
"values": [
|
|
109
|
+
{
|
|
110
|
+
"key": "todo",
|
|
111
|
+
"label": "Todo",
|
|
112
|
+
"color": "#8B8B93",
|
|
113
|
+
"icon": "circle"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "in-progress",
|
|
117
|
+
"label": "In Progress",
|
|
118
|
+
"color": "#D4A72C",
|
|
119
|
+
"icon": "half-circle"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"key": "done",
|
|
123
|
+
"label": "Done",
|
|
124
|
+
"color": "#2EA043",
|
|
125
|
+
"icon": "check-circle"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"default": "todo"
|
|
129
|
+
},
|
|
130
|
+
"assigned": {
|
|
131
|
+
"type": "list",
|
|
132
|
+
"label": "Assigned"
|
|
133
|
+
},
|
|
134
|
+
"points": {
|
|
135
|
+
"type": "number",
|
|
136
|
+
"label": "Points"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"epic": {
|
|
141
|
+
"singular": "Epic",
|
|
142
|
+
"plural": "Epics",
|
|
143
|
+
"prefix": "EPIC",
|
|
144
|
+
"file": "README.md",
|
|
145
|
+
"fields": {
|
|
146
|
+
"status": {
|
|
147
|
+
"type": "enum",
|
|
148
|
+
"values": [
|
|
149
|
+
{
|
|
150
|
+
"key": "open",
|
|
151
|
+
"label": "Open",
|
|
152
|
+
"color": "#5B6EF5",
|
|
153
|
+
"icon": "circle"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"key": "closed",
|
|
157
|
+
"label": "Closed",
|
|
158
|
+
"color": "#2EA043",
|
|
159
|
+
"icon": "check-circle"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"default": "open"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"bug": {
|
|
167
|
+
"singular": "Bug",
|
|
168
|
+
"plural": "Bugs",
|
|
169
|
+
"prefix": "BUG",
|
|
170
|
+
"file": "PREFIX-NNN.md",
|
|
171
|
+
"fields": {
|
|
172
|
+
"status": {
|
|
173
|
+
"type": "enum",
|
|
174
|
+
"values": [
|
|
175
|
+
{
|
|
176
|
+
"key": "open",
|
|
177
|
+
"label": "Open",
|
|
178
|
+
"color": "#DA3633",
|
|
179
|
+
"icon": "circle"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"key": "in-progress",
|
|
183
|
+
"label": "In Progress",
|
|
184
|
+
"color": "#D4A72C",
|
|
185
|
+
"icon": "half-circle"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"key": "fixed",
|
|
189
|
+
"label": "Fixed",
|
|
190
|
+
"color": "#2EA043",
|
|
191
|
+
"icon": "check-circle"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"default": "open"
|
|
195
|
+
},
|
|
196
|
+
"severity": {
|
|
197
|
+
"type": "enum",
|
|
198
|
+
"values": [
|
|
199
|
+
{
|
|
200
|
+
"key": "critical",
|
|
201
|
+
"label": "Critical",
|
|
202
|
+
"color": "#DA3633"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"key": "major",
|
|
206
|
+
"label": "Major",
|
|
207
|
+
"color": "#F97316"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"key": "minor",
|
|
211
|
+
"label": "Minor",
|
|
212
|
+
"color": "#D4A72C"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"default": "major"
|
|
216
|
+
},
|
|
217
|
+
"assigned": {
|
|
218
|
+
"type": "list",
|
|
219
|
+
"label": "Assigned"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"note": {
|
|
224
|
+
"singular": "Note",
|
|
225
|
+
"plural": "Notes",
|
|
226
|
+
"prefix": "NOTE",
|
|
227
|
+
"file": "PREFIX-NNN.md",
|
|
228
|
+
"fields": {
|
|
229
|
+
"updated": {
|
|
230
|
+
"type": "date",
|
|
231
|
+
"label": "Updated"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"priorities": [
|
|
237
|
+
{
|
|
238
|
+
"key": "urgent",
|
|
239
|
+
"label": "Urgent",
|
|
240
|
+
"color": "#F97316",
|
|
241
|
+
"bars": 4
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"key": "high",
|
|
245
|
+
"label": "High",
|
|
246
|
+
"color": "#F97316",
|
|
247
|
+
"bars": 3
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"key": "medium",
|
|
251
|
+
"label": "Medium",
|
|
252
|
+
"color": "#D4A72C",
|
|
253
|
+
"bars": 2
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"key": "low",
|
|
257
|
+
"label": "Low",
|
|
258
|
+
"color": "#5B6EF5",
|
|
259
|
+
"bars": 1
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"completedStatuses": [
|
|
263
|
+
"done",
|
|
264
|
+
"completed",
|
|
265
|
+
"fixed",
|
|
266
|
+
"closed"
|
|
267
|
+
]
|
|
268
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": "project",
|
|
3
|
+
"hierarchy": {
|
|
4
|
+
"sprint": {
|
|
5
|
+
"dir": "sprints",
|
|
6
|
+
"children": {
|
|
7
|
+
"story": {
|
|
8
|
+
"dir": "stories",
|
|
9
|
+
"children": {
|
|
10
|
+
"task": {
|
|
11
|
+
"dir": "tasks"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"standalone": {
|
|
19
|
+
"epic": {
|
|
20
|
+
"dir": "epics"
|
|
21
|
+
},
|
|
22
|
+
"bug": {
|
|
23
|
+
"dir": "bugs"
|
|
24
|
+
},
|
|
25
|
+
"note": {
|
|
26
|
+
"dir": "notes"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"archive": {
|
|
30
|
+
"dir": "archive"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tabs": [
|
|
3
|
+
{
|
|
4
|
+
"id": "tasks",
|
|
5
|
+
"label": "Tasks",
|
|
6
|
+
"description": "Tasks — leaf work items",
|
|
7
|
+
"icon": "check-square",
|
|
8
|
+
"entity": "task",
|
|
9
|
+
"layouts": [
|
|
10
|
+
"board",
|
|
11
|
+
"table",
|
|
12
|
+
"list"
|
|
13
|
+
],
|
|
14
|
+
"defaultLayout": "board",
|
|
15
|
+
"board": {
|
|
16
|
+
"groupBy": "status",
|
|
17
|
+
"cardFields": [
|
|
18
|
+
"id",
|
|
19
|
+
"title",
|
|
20
|
+
"status"
|
|
21
|
+
],
|
|
22
|
+
"dragAction": "update-status"
|
|
23
|
+
},
|
|
24
|
+
"table": {
|
|
25
|
+
"columns": [
|
|
26
|
+
"id",
|
|
27
|
+
"title",
|
|
28
|
+
"story",
|
|
29
|
+
"sprint",
|
|
30
|
+
"status",
|
|
31
|
+
"points",
|
|
32
|
+
"assigned"
|
|
33
|
+
],
|
|
34
|
+
"sortable": true
|
|
35
|
+
},
|
|
36
|
+
"filters": "auto"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "stories",
|
|
40
|
+
"label": "Stories",
|
|
41
|
+
"description": "Stories",
|
|
42
|
+
"icon": "layers",
|
|
43
|
+
"entity": "story",
|
|
44
|
+
"layouts": [
|
|
45
|
+
"cards",
|
|
46
|
+
"list"
|
|
47
|
+
],
|
|
48
|
+
"defaultLayout": "cards",
|
|
49
|
+
"cards": {
|
|
50
|
+
"fields": [
|
|
51
|
+
"title",
|
|
52
|
+
"status"
|
|
53
|
+
],
|
|
54
|
+
"showProgress": true,
|
|
55
|
+
"expandChildren": {
|
|
56
|
+
"entity": "task",
|
|
57
|
+
"fields": [
|
|
58
|
+
"title",
|
|
59
|
+
"status"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"list": {
|
|
64
|
+
"fields": [
|
|
65
|
+
"title",
|
|
66
|
+
"status",
|
|
67
|
+
"progress"
|
|
68
|
+
],
|
|
69
|
+
"expandable": true
|
|
70
|
+
},
|
|
71
|
+
"filters": "auto"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "sprints",
|
|
75
|
+
"label": "Sprints",
|
|
76
|
+
"description": "Sprints",
|
|
77
|
+
"icon": "refresh-cw",
|
|
78
|
+
"entity": "sprint",
|
|
79
|
+
"layouts": [
|
|
80
|
+
"list"
|
|
81
|
+
],
|
|
82
|
+
"defaultLayout": "list",
|
|
83
|
+
"list": {
|
|
84
|
+
"fields": [
|
|
85
|
+
"title",
|
|
86
|
+
"status",
|
|
87
|
+
"start_date",
|
|
88
|
+
"end_date",
|
|
89
|
+
"progress"
|
|
90
|
+
],
|
|
91
|
+
"expandChildren": {
|
|
92
|
+
"entity": "story",
|
|
93
|
+
"fields": [
|
|
94
|
+
"title",
|
|
95
|
+
"status"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"filters": [
|
|
100
|
+
"status"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id": "epics",
|
|
105
|
+
"label": "Epics",
|
|
106
|
+
"description": "Epics",
|
|
107
|
+
"icon": "alert-circle",
|
|
108
|
+
"entity": "epic",
|
|
109
|
+
"layouts": [
|
|
110
|
+
"cards"
|
|
111
|
+
],
|
|
112
|
+
"defaultLayout": "cards",
|
|
113
|
+
"cards": {
|
|
114
|
+
"fields": [
|
|
115
|
+
"title",
|
|
116
|
+
"status"
|
|
117
|
+
],
|
|
118
|
+
"showContent": true
|
|
119
|
+
},
|
|
120
|
+
"filters": [
|
|
121
|
+
"status"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "bugs",
|
|
126
|
+
"label": "Bugs",
|
|
127
|
+
"description": "Bugs",
|
|
128
|
+
"icon": "alert-circle",
|
|
129
|
+
"entity": "bug",
|
|
130
|
+
"layouts": [
|
|
131
|
+
"cards"
|
|
132
|
+
],
|
|
133
|
+
"defaultLayout": "cards",
|
|
134
|
+
"cards": {
|
|
135
|
+
"fields": [
|
|
136
|
+
"title",
|
|
137
|
+
"status"
|
|
138
|
+
],
|
|
139
|
+
"showContent": true
|
|
140
|
+
},
|
|
141
|
+
"filters": [
|
|
142
|
+
"status"
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "notes",
|
|
147
|
+
"label": "Notes",
|
|
148
|
+
"description": "Notes",
|
|
149
|
+
"icon": "file-text",
|
|
150
|
+
"entity": "note",
|
|
151
|
+
"layouts": [
|
|
152
|
+
"editor"
|
|
153
|
+
],
|
|
154
|
+
"defaultLayout": "editor"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"id": "metrics",
|
|
158
|
+
"label": "Metrics",
|
|
159
|
+
"description": "Project progress and health overview",
|
|
160
|
+
"icon": "bar-chart",
|
|
161
|
+
"layouts": [
|
|
162
|
+
"metrics"
|
|
163
|
+
],
|
|
164
|
+
"defaultLayout": "metrics",
|
|
165
|
+
"metrics": {
|
|
166
|
+
"cards": [
|
|
167
|
+
{
|
|
168
|
+
"title": "Sprint Progress",
|
|
169
|
+
"type": "progress-by-parent",
|
|
170
|
+
"parent": "sprint"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"title": "Status Breakdown",
|
|
174
|
+
"type": "status-breakdown",
|
|
175
|
+
"entity": "task"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"title": "Project Health",
|
|
179
|
+
"type": "health"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"panel": {
|
|
186
|
+
"enabled": true,
|
|
187
|
+
"position": "right",
|
|
188
|
+
"editableFields": "auto",
|
|
189
|
+
"sections": [
|
|
190
|
+
"properties",
|
|
191
|
+
"ai",
|
|
192
|
+
"content"
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
"sourceRail": {
|
|
196
|
+
"enabled": true,
|
|
197
|
+
"position": "left",
|
|
198
|
+
"showHome": true,
|
|
199
|
+
"showHistory": true
|
|
200
|
+
}
|
|
201
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"endpoints": {
|
|
3
|
+
"crud": {
|
|
4
|
+
"entities": ["cycle", "bet", "scope", "task", "pitch", "note"],
|
|
5
|
+
"operations": ["list", "get", "create", "update", "delete"],
|
|
6
|
+
"pattern": "/api/:entity",
|
|
7
|
+
"sourceScoped": true,
|
|
8
|
+
"sourcePattern": "/api/sources/:source/:entity"
|
|
9
|
+
},
|
|
10
|
+
"queries": {
|
|
11
|
+
"active": {
|
|
12
|
+
"pattern": "/api/:entity/active",
|
|
13
|
+
"filter": { "status": ["active", "building"] },
|
|
14
|
+
"entities": ["cycle", "bet"]
|
|
15
|
+
},
|
|
16
|
+
"metrics": {
|
|
17
|
+
"pattern": "/api/metrics",
|
|
18
|
+
"computes": ["status-breakdown", "priority-distribution", "progress-by-parent", "hill-chart"]
|
|
19
|
+
},
|
|
20
|
+
"health": {
|
|
21
|
+
"pattern": "/api/health",
|
|
22
|
+
"computes": ["total", "completed", "in-progress", "velocity"]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"system": {
|
|
26
|
+
"config": { "method": "GET", "path": "/api/config" },
|
|
27
|
+
"project": { "method": "GET", "path": "/api/project" },
|
|
28
|
+
"sources": { "method": "GET", "path": "/api/sources" },
|
|
29
|
+
"sync": { "method": "POST", "path": "/api/sources/sync" },
|
|
30
|
+
"history": { "method": "GET", "path": "/api/history" },
|
|
31
|
+
"switch": { "method": "POST", "path": "/api/history/switch" },
|
|
32
|
+
"theme": { "method": "POST", "path": "/api/theme" },
|
|
33
|
+
"events": { "method": "GET", "path": "/api/events", "type": "sse" }
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"filtering": {
|
|
37
|
+
"strategy": "query-params",
|
|
38
|
+
"autoFilters": true
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"create": {
|
|
4
|
+
"entities": ["cycle", "bet", "scope", "task", "pitch", "note"],
|
|
5
|
+
"args": {
|
|
6
|
+
"positional": "title",
|
|
7
|
+
"flags": "auto"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"update": {
|
|
11
|
+
"entities": ["cycle", "bet", "scope", "task", "pitch", "note"],
|
|
12
|
+
"args": {
|
|
13
|
+
"positional": "id",
|
|
14
|
+
"flags": "auto"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"delete": {
|
|
18
|
+
"entities": ["cycle", "bet", "scope", "task", "pitch", "note"],
|
|
19
|
+
"action": "archive"
|
|
20
|
+
},
|
|
21
|
+
"status": {
|
|
22
|
+
"output": "status.md",
|
|
23
|
+
"sections": [
|
|
24
|
+
{ "type": "summary", "metrics": ["total-tasks", "completed", "progress", "points"] },
|
|
25
|
+
{ "type": "entity-list", "entity": "cycle", "nest": "bet" },
|
|
26
|
+
{ "type": "entity-table", "entity": "task", "groupBy": "status" }
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"sync": {
|
|
30
|
+
"checks": ["dangling-refs", "duplicate-ids", "missing-parents", "orphaned-tasks"],
|
|
31
|
+
"fix": true
|
|
32
|
+
},
|
|
33
|
+
"init": {
|
|
34
|
+
"presets": ["shape-up", "scrum", "kanban"],
|
|
35
|
+
"default": "shape-up"
|
|
36
|
+
},
|
|
37
|
+
"theme": {
|
|
38
|
+
"scope": ["global", "project"]
|
|
39
|
+
},
|
|
40
|
+
"cache": {
|
|
41
|
+
"subcommands": ["list", "clean"]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": {
|
|
3
|
+
"output": "status.md",
|
|
4
|
+
"header": "Project Status: {{project.name}}",
|
|
5
|
+
"sections": [
|
|
6
|
+
{
|
|
7
|
+
"type": "summary",
|
|
8
|
+
"metrics": [
|
|
9
|
+
{ "label": "Cycles", "compute": "count", "entity": "cycle" },
|
|
10
|
+
{ "label": "Tasks", "compute": "count", "entity": "task", "detail": "done-ratio" },
|
|
11
|
+
{ "label": "Points", "compute": "sum", "entity": "task", "field": "points", "detail": "done-ratio" },
|
|
12
|
+
{ "label": "Active", "compute": "active", "entity": "cycle" }
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "entity-list",
|
|
17
|
+
"entity": "cycle",
|
|
18
|
+
"fields": ["title", "status", "progress"],
|
|
19
|
+
"nest": {
|
|
20
|
+
"entity": "bet",
|
|
21
|
+
"fields": ["title", "status", "appetite"]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "entity-table",
|
|
26
|
+
"entity": "task",
|
|
27
|
+
"groupBy": "status",
|
|
28
|
+
"fields": ["id", "title", "bet", "scope", "status", "points"]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|