@agimon-ai/po-team 0.0.0-alpha.26 → 0.0.0-alpha.27
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.
|
@@ -297,9 +297,9 @@ function isRecord(value) {
|
|
|
297
297
|
function without(list, runId) {
|
|
298
298
|
return list.filter((id) => id !== runId);
|
|
299
299
|
}
|
|
300
|
-
/** The full Subagents tab's runs minus the ones the reader dismissed. */
|
|
300
|
+
/** The full Subagents tab's runs minus the ones the reader dismissed, live runs first (stable sort keeps presented order within each group). */
|
|
301
301
|
function visibleRuns(session) {
|
|
302
|
-
return session.
|
|
302
|
+
return session.runs.filter((run) => !session.dismissed.includes(run.runId)).sort((a, b) => Number(isTerminalRun(a)) - Number(isTerminalRun(b)));
|
|
303
303
|
}
|
|
304
304
|
/** Only runs that can still be doing work belong in the activity group. */
|
|
305
305
|
function activityRuns(session) {
|