@integrity-labs/agt-cli 0.24.0 → 0.24.2

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  KANBAN_LOOP_COMMAND
3
- } from "./chunk-HSIESZMZ.js";
3
+ } from "./chunk-ECDTRQLA.js";
4
4
 
5
5
  // src/lib/persistent-session.ts
6
6
  import { spawn, execSync, execFileSync as execFileSync2 } from "child_process";
@@ -246,14 +246,11 @@ function rotateDailySession(codeName, now = /* @__PURE__ */ new Date(), timezone
246
246
  function encodeProjectPath(projectDir) {
247
247
  return "-" + projectDir.replace(/^\//, "").replace(/[/.]/g, "-");
248
248
  }
249
+ function sessionTranscriptDir(projectDir) {
250
+ return join(homedir(), ".claude", "projects", encodeProjectPath(projectDir));
251
+ }
249
252
  function sessionFilePath(projectDir, sessionId) {
250
- return join(
251
- homedir(),
252
- ".claude",
253
- "projects",
254
- encodeProjectPath(projectDir),
255
- `${sessionId}.jsonl`
256
- );
253
+ return join(sessionTranscriptDir(projectDir), `${sessionId}.jsonl`);
257
254
  }
258
255
  function isAgentIdle(projectDir, sessionId, idleSeconds = 60, now = /* @__PURE__ */ new Date()) {
259
256
  const path = sessionFilePath(projectDir, sessionId);
@@ -1140,6 +1137,7 @@ export {
1140
1137
  reapOrphanChannelMcps,
1141
1138
  sanitizeMcpJson,
1142
1139
  buildAllowedTools,
1140
+ sessionTranscriptDir,
1143
1141
  isAgentIdle,
1144
1142
  isStaleForToday,
1145
1143
  peekCurrentSession,
@@ -1167,4 +1165,4 @@ export {
1167
1165
  stopAllSessionsAndWait,
1168
1166
  getProjectDir
1169
1167
  };
1170
- //# sourceMappingURL=chunk-ZKQGDH3T.js.map
1168
+ //# sourceMappingURL=chunk-PNTLQKLO.js.map