@fapost/jig-ui 0.3.0-next.44 → 0.3.0-next.45

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.
@@ -213,7 +213,7 @@ const TaskRow = z
213
213
  .object({
214
214
  id: text,
215
215
  class: maybe,
216
- status: z.enum(['active', 'ready', 'consolidated', 'abandoned']),
216
+ status: z.enum(['active', 'ready', 'consolidated', 'abandoned', 'archived']),
217
217
  issue: maybe,
218
218
  goal: maybe,
219
219
  knowledge_consolidated: z.boolean(),
@@ -114,7 +114,7 @@ async function readProject(project) {
114
114
  if (!('list' in read))
115
115
  return { view: read, tasks: read, details: [], specs: read, revision: null };
116
116
  const { status, list, queue, specs, jigVersion } = read;
117
- // Live: active and ready; the rest are finished.
117
+ // Live: active and ready; finished: closed and abandoned. An archived one (Jig 0.37.0) is neither: Jig keeps it out of its lists.
118
118
  const live = list.tasks.filter((t) => t.status === 'active' || t.status === 'ready');
119
119
  const finished = list.tasks.filter((t) => t.status === 'consolidated' || t.status === 'abandoned');
120
120
  const queued = new Map(queue.items.map((q) => [q.id, q]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fapost/jig-ui",
3
- "version": "0.3.0-next.44",
3
+ "version": "0.3.0-next.45",
4
4
  "description": "A local web interface for Jig, the agent SDLC framework.",
5
5
  "license": "MIT",
6
6
  "type": "module",