@hydra-acp/cli 0.1.55 → 0.1.56

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/cli.js CHANGED
@@ -24638,8 +24638,11 @@ function registerAcpWsEndpoint(app, deps) {
24638
24638
  connection.onRequest("session/list", async (raw) => {
24639
24639
  const params = SessionListParams.parse(raw ?? {});
24640
24640
  const entries = await deps.manager.list({ cwd: params.cwd });
24641
+ const visible = entries.filter(
24642
+ (e) => e.originatingClient?.name !== HYDRA_CAT_CLIENT_NAME
24643
+ );
24641
24644
  const result = {
24642
- sessions: entries.map(sessionListEntryToWire)
24645
+ sessions: visible.map(sessionListEntryToWire)
24643
24646
  };
24644
24647
  return result;
24645
24648
  });
package/dist/index.js CHANGED
@@ -6372,6 +6372,7 @@ function resolveVersion() {
6372
6372
  return "0.0.0";
6373
6373
  }
6374
6374
  var HYDRA_VERSION = resolveVersion();
6375
+ var HYDRA_CAT_CLIENT_NAME = "hydra-acp-cat";
6375
6376
 
6376
6377
  // src/core/history-transcript.ts
6377
6378
  var DEFAULT_MAX_CHARS = 4e5;
@@ -12532,8 +12533,11 @@ function registerAcpWsEndpoint(app, deps) {
12532
12533
  connection.onRequest("session/list", async (raw) => {
12533
12534
  const params = SessionListParams.parse(raw ?? {});
12534
12535
  const entries = await deps.manager.list({ cwd: params.cwd });
12536
+ const visible = entries.filter(
12537
+ (e) => e.originatingClient?.name !== HYDRA_CAT_CLIENT_NAME
12538
+ );
12535
12539
  const result = {
12536
- sessions: entries.map(sessionListEntryToWire)
12540
+ sessions: visible.map(sessionListEntryToWire)
12537
12541
  };
12538
12542
  return result;
12539
12543
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydra-acp/cli",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "description": "Multi-client ACP session daemon: spawn agents, attach over WSS, multiplex sessions across editors.",
5
5
  "license": "MIT",
6
6
  "type": "module",