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.
- package/README.md +2 -1
- package/dist/{chunk-XANARSZG.js → chunk-LXHUIQZI.js} +610 -18
- package/dist/chunk-LXHUIQZI.js.map +1 -0
- package/dist/{dist-WJUBVCLN.js → dist-3Q4YTTEX.js} +2 -2
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/scan-refresh-worker.js +1 -1
- package/dist/search-index-worker.js +1 -1
- package/dist/smart-tag-worker.js +1 -1
- package/dist/web/assets/index-BHmQBGNx.css +2 -0
- package/dist/web/assets/index-CahEAHys.js +111 -0
- package/dist/web/assets/vendor-Da5am_Td.js +40 -0
- package/dist/web/icon/agent/pi.svg +20 -0
- package/dist/web/index.html +3 -3
- package/package.json +3 -2
- package/dist/chunk-XANARSZG.js.map +0 -1
- package/dist/web/assets/index-67i6w_Xd.js +0 -108
- package/dist/web/assets/index-BKpG5jDy.css +0 -2
- package/dist/web/assets/vendor-DWjfsTQM.js +0 -40
- /package/dist/{dist-WJUBVCLN.js.map → dist-3Q4YTTEX.js.map} +0 -0
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
syncSessionSearchIndexChanges,
|
|
80
80
|
upsertBookmark,
|
|
81
81
|
withEstimatedSessionCost
|
|
82
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
2448
|
+
const { clearCache: clear } = await import("./dist-3Q4YTTEX.js");
|
|
2444
2449
|
clear();
|
|
2445
2450
|
appLogger.info("cache.clear");
|
|
2446
2451
|
console.log("Cache cleared.");
|