@hydra-acp/browser 0.1.15 → 0.1.17
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/dist/ui/index.html +7 -2
- package/package.json +1 -1
package/dist/ui/index.html
CHANGED
|
@@ -11696,7 +11696,7 @@ pre code { background: transparent; padding: 0; }
|
|
|
11696
11696
|
function agentWithModel(agent, model) {
|
|
11697
11697
|
const a = agent || "?";
|
|
11698
11698
|
const m = shortenModel(model);
|
|
11699
|
-
return m ? `${a}
|
|
11699
|
+
return m ? `${a}\u2022${m}` : a;
|
|
11700
11700
|
}
|
|
11701
11701
|
function formatRelativeAge(iso, now = Date.now()) {
|
|
11702
11702
|
if (!iso) return "?";
|
|
@@ -13192,7 +13192,12 @@ ${recent}`;
|
|
|
13192
13192
|
async function pollSessions() {
|
|
13193
13193
|
try {
|
|
13194
13194
|
const data = await api("/api/sessions");
|
|
13195
|
-
const
|
|
13195
|
+
const rawSessions = data.sessions ?? [];
|
|
13196
|
+
const filtered = rawSessions.filter((s) => {
|
|
13197
|
+
const oc = s.originatingClient;
|
|
13198
|
+
return oc?.name !== "hydra-acp-cat";
|
|
13199
|
+
});
|
|
13200
|
+
const newSessions = filtered;
|
|
13196
13201
|
const hadBanner = state.banner !== null;
|
|
13197
13202
|
const sessionsChanged = !sameValue(state.sessions, newSessions);
|
|
13198
13203
|
state.sessions = newSessions;
|