@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.
@@ -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}(${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 newSessions = data.sessions ?? [];
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydra-acp/browser",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "Browser-based UI for hydra-acp sessions.",
5
5
  "license": "MIT",
6
6
  "type": "module",