@openspecui/server 3.11.6 → 4.0.1

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 (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -5215,7 +5215,7 @@ async function loadDashboardOverview(ctx, reason = "dashboard-refresh") {
5215
5215
  const requirements = allSpecifications.reduce((sum, spec) => sum + spec.requirements, 0);
5216
5216
  const tasksTotal = allActiveChanges.reduce((sum, change) => sum + change.progress.total, 0);
5217
5217
  const tasksCompleted = allActiveChanges.reduce((sum, change) => sum + change.progress.completed, 0);
5218
- const archivedTasksCompleted = 0;
5218
+ const archivedTasksCompleted = archiveMetas.reduce((sum, archive) => sum + archive.progress.completed, 0);
5219
5219
  const taskCompletionPercent = tasksTotal > 0 ? Math.round(tasksCompleted / tasksTotal * 100) : null;
5220
5220
  const inProgressChanges = allActiveChanges.filter((change) => change.progress.total > 0 && change.progress.completed < change.progress.total).length;
5221
5221
  const specificationTrendEvents = specMetas.flatMap((spec) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openspecui/server",
3
- "version": "3.11.6",
3
+ "version": "4.0.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.mjs",
6
6
  "exports": {
@@ -24,8 +24,8 @@
24
24
  "@hono/node-server": "^1.14.1",
25
25
  "@huggingface/hub": "^2.12.0",
26
26
  "@lydell/node-pty": "^1.1.0",
27
- "@openspecui/core": "3.11.6",
28
- "@openspecui/search": "3.11.6",
27
+ "@openspecui/core": "4.0.1",
28
+ "@openspecui/search": "4.0.1",
29
29
  "@trpc/server": "^11.0.0",
30
30
  "better-sqlite3": "^12.5.0",
31
31
  "hono": "^4.7.3",