taskchef 7.24.1 → 7.25.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.
- package/.codex-plugin/plugin.json +1 -1
- package/docs/dashboard-lifecycle.md +3 -2
- package/index.js +2 -0
- package/package.json +1 -1
- package/src/dashboard/dist/app.js +34 -34
- package/src/dashboard/dist/app.js.map +1 -1
- package/src/dashboard/dist/styles.css +1 -1
- package/src/dashboard/react/App.tsx +27 -8
- package/src/dashboard/react/components/NotificationCenter.test.tsx +6 -1
- package/src/dashboard/react/components/TaskCard.tsx +8 -4
- package/src/dashboard/react/components/TaskUsageSummary.test.tsx +101 -0
- package/src/dashboard/react/components/TaskUsageSummary.tsx +24 -0
- package/src/dashboard/react/overlay-state.test.ts +31 -0
- package/src/dashboard/react/overlay-state.ts +23 -1
- package/src/dashboard/react/presentation.ts +48 -0
- package/src/dashboard/react/styles.css +7 -0
- package/src/dashboard/react/types.ts +3 -0
- package/src/dashboard.js +244 -15
- package/src/usage.js +3 -3
|
@@ -29,8 +29,9 @@ those benefits without retaining the obsolete per-transport ownership.
|
|
|
29
29
|
|
|
30
30
|
The detail view distinguishes an active turn whose final usage is pending from
|
|
31
31
|
a terminal turn whose usage is being calculated. Available usage keeps both
|
|
32
|
-
the token total and API-equivalent USD estimate
|
|
33
|
-
|
|
32
|
+
the token total and API-equivalent USD estimate. Task cards keep the latest
|
|
33
|
+
cumulative value visible during a newer active turn and label it as updating;
|
|
34
|
+
pending is reserved for tasks that do not have a usage snapshot yet.
|
|
34
35
|
|
|
35
36
|

|
|
36
37
|
|
package/index.js
CHANGED
|
@@ -64,9 +64,11 @@ export {
|
|
|
64
64
|
DASHBOARD_HEALTH_MAX_BYTES,
|
|
65
65
|
DASHBOARD_HEALTH_PATH,
|
|
66
66
|
DashboardMonitor,
|
|
67
|
+
UsageSummaryMonitor,
|
|
67
68
|
createDashboardServer,
|
|
68
69
|
dashboardAuthority,
|
|
69
70
|
sortTasksByMeaningfulUpdate,
|
|
71
|
+
taskListUsageProjection,
|
|
70
72
|
} from "./src/dashboard.js";
|
|
71
73
|
|
|
72
74
|
export {
|