codesesh 0.8.0 → 0.9.0

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.
@@ -79,7 +79,7 @@ import {
79
79
  syncSessionSearchIndexChanges,
80
80
  upsertBookmark,
81
81
  withEstimatedSessionCost
82
- } from "./chunk-XANARSZG.js";
82
+ } from "./chunk-LXHUIQZI.js";
83
83
  export {
84
84
  BaseAgent,
85
85
  BookmarkStorageUnavailableError,
@@ -161,4 +161,4 @@ export {
161
161
  upsertBookmark,
162
162
  withEstimatedSessionCost
163
163
  };
164
- //# sourceMappingURL=dist-WJUBVCLN.js.map
164
+ //# sourceMappingURL=dist-3Q4YTTEX.js.map
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ import {
29
29
  searchFileActivitySessions,
30
30
  searchSessions,
31
31
  upsertBookmark
32
- } from "./chunk-XANARSZG.js";
32
+ } from "./chunk-LXHUIQZI.js";
33
33
 
34
34
  // src/index.ts
35
35
  import { defineCommand, runMain } from "citty";
@@ -458,7 +458,7 @@ function handleGetAgents(c, scanSource, defaults = {}) {
458
458
  filterSessionsByWindow(sessions, from, to).length
459
459
  ])
460
460
  );
461
- const info = getAgentInfoMap(counts);
461
+ const info = getAgentInfoMap(counts).filter((agent) => agent.count > 0);
462
462
  return c.json(info);
463
463
  }
464
464
  function handleGetProjects(c, scanSource, defaults = {}) {
@@ -1285,6 +1285,11 @@ function resolveAgentWatchTargets(agentName) {
1285
1285
  { path: join2(roots.codexRoot, "sessions") },
1286
1286
  { path: join2(roots.codexRoot, "session_index.jsonl") }
1287
1287
  ];
1288
+ case "pi":
1289
+ return [
1290
+ { root: roots.piRoot, path: join2(roots.piRoot, "agent", "sessions") },
1291
+ { root: "data/pi", path: "data/pi" }
1292
+ ];
1288
1293
  case "cursor":
1289
1294
  return cursorDataPath ? [
1290
1295
  {
@@ -2440,7 +2445,7 @@ var main = defineCommand({
2440
2445
  log_path: appLogger.getLogPath()
2441
2446
  });
2442
2447
  if (clearCache) {
2443
- const { clearCache: clear } = await import("./dist-WJUBVCLN.js");
2448
+ const { clearCache: clear } = await import("./dist-3Q4YTTEX.js");
2444
2449
  clear();
2445
2450
  appLogger.info("cache.clear");
2446
2451
  console.log("Cache cleared.");