@integrity-labs/agt-cli 0.27.146 → 0.27.147

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.
@@ -15,10 +15,11 @@ import {
15
15
  provisionAutoKanbanProgressHook,
16
16
  provisionIsolationHook,
17
17
  provisionOrientHook,
18
+ provisionSessionStateHook,
18
19
  provisionStopHook,
19
20
  requireHost,
20
21
  safeWriteJsonAtomic
21
- } from "../chunk-3LRQ45BZ.js";
22
+ } from "../chunk-T4LYV52L.js";
22
23
  import {
23
24
  getProjectDir as getProjectDir2,
24
25
  getReadyTasks,
@@ -4775,7 +4776,7 @@ var cachedMaintenanceWindow = null;
4775
4776
  var lastVersionCheckAt = 0;
4776
4777
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
4777
4778
  var lastResponsivenessProbeAt = 0;
4778
- var agtCliVersion = true ? "0.27.146" : "dev";
4779
+ var agtCliVersion = true ? "0.27.147" : "dev";
4779
4780
  function resolveBrewPath(execFileSync4) {
4780
4781
  try {
4781
4782
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -9113,6 +9114,11 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash3("sha256").
9113
9114
  } catch (err) {
9114
9115
  log(`[persistent-session] Failed to provision auto-progress hook for '${codeName}': ${err.message}`);
9115
9116
  }
9117
+ try {
9118
+ provisionSessionStateHook(codeName);
9119
+ } catch (err) {
9120
+ log(`[persistent-session] Failed to provision session-state hook for '${codeName}': ${err.message}`);
9121
+ }
9116
9122
  const sessionRunResult = await startRun({
9117
9123
  agent_id: agent.agent_id,
9118
9124
  source_type: "system",