@integrity-labs/agt-cli 0.28.459 → 0.28.460

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/bin/agt.js CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-PKZMFA2U.js";
43
+ } from "../chunk-EBSFYBRI.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
4830
4830
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4831
4831
  import chalk18 from "chalk";
4832
4832
  import ora16 from "ora";
4833
- var cliVersion = true ? "0.28.459" : "dev";
4833
+ var cliVersion = true ? "0.28.460" : "dev";
4834
4834
  async function fetchLatestVersion() {
4835
4835
  const host2 = getHost();
4836
4836
  if (!host2) return null;
@@ -6002,7 +6002,7 @@ function handleError(err) {
6002
6002
  }
6003
6003
 
6004
6004
  // src/bin/agt.ts
6005
- var cliVersion2 = true ? "0.28.459" : "dev";
6005
+ var cliVersion2 = true ? "0.28.460" : "dev";
6006
6006
  var program = new Command();
6007
6007
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
6008
6008
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4911,7 +4911,7 @@ function requireHost() {
4911
4911
  }
4912
4912
 
4913
4913
  // src/lib/api-client.ts
4914
- var agtCliVersion = true ? "0.28.459" : "dev";
4914
+ var agtCliVersion = true ? "0.28.460" : "dev";
4915
4915
  var lastConfigHash = null;
4916
4916
  function setConfigHash(hash) {
4917
4917
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -7449,4 +7449,4 @@ export {
7449
7449
  managerInstallSystemUnitCommand,
7450
7450
  managerUninstallSystemUnitCommand
7451
7451
  };
7452
- //# sourceMappingURL=chunk-PKZMFA2U.js.map
7452
+ //# sourceMappingURL=chunk-EBSFYBRI.js.map
@@ -42,7 +42,7 @@ import {
42
42
  resolveEffectivePinRaw,
43
43
  safeWriteJsonAtomic,
44
44
  setConfigHash
45
- } from "../chunk-PKZMFA2U.js";
45
+ } from "../chunk-EBSFYBRI.js";
46
46
  import {
47
47
  getProjectDir as getProjectDir2,
48
48
  getReadyTasks,
@@ -7930,7 +7930,27 @@ var DEFAULTS = {
7930
7930
  // static) is still caught by the soft path; only the *producing* path is spared.
7931
7931
  inboundHardWaitSeconds: 0,
7932
7932
  paneStaleSeconds: 120,
7933
- transcriptStaleSeconds: 60,
7933
+ // ENG-8196 INTERIM MITIGATION (was 60). A Claude Code transcript gets one entry
7934
+ // per message, so a single long tool call — a page rebuild, a web fetch, an image
7935
+ // generation, a slow MCP round-trip — writes a `tool_use` entry and then NOTHING
7936
+ // until the `tool_result` returns. Any tool call longer than this threshold looks
7937
+ // identical to a frozen turn, and the detector force-respawned actively-producing
7938
+ // sessions on it (jarvis: transcriptAge=113s while paneAge=0s; don: 202s mid-build).
7939
+ // 900s buys headroom for realistic long tool calls. It is NOT the fix: it only
7940
+ // widens the window, so a sufficiently long tool call still dies and genuine wedge
7941
+ // detection is delayed (worst case ~45min at minCycles=3, up from ~3min). The real
7942
+ // fix is ENG-6238's unimplemented turn-boundary "sharp signal" — has the agent
7943
+ // completed any turn since the inbound queued? — which needs a new WedgeSignals
7944
+ // field and stays open on ENG-8196.
7945
+ // BLAST RADIUS, deliberate: `isSessionProducing` reuses this one knob for
7946
+ // `subagentActivityAgeSeconds` too, so the ENG-6294 background-task exemption
7947
+ // ("a subagent wrote recently ⇒ producing") widens 60s → 900s along with the main
7948
+ // transcript window. That is accepted, not overlooked — ENG-6294 documents the
7949
+ // exemption as self-bounding precisely BECAUSE it lapses at this threshold, so
7950
+ // splitting it onto its own knob would decouple the two windows that comment
7951
+ // relies on being identical. Revisit when the turn-boundary signal lands.
7952
+ // Per-host override: AGT_WEDGE_TRANSCRIPT_STALE_SECONDS (takes precedence).
7953
+ transcriptStaleSeconds: 900,
7934
7954
  minCycles: 3
7935
7955
  };
7936
7956
  function parseMode(raw) {
@@ -9956,7 +9976,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
9956
9976
  var lastVersionCheckAt = 0;
9957
9977
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
9958
9978
  var lastResponsivenessProbeAt = 0;
9959
- var agtCliVersion = true ? "0.28.459" : "dev";
9979
+ var agtCliVersion = true ? "0.28.460" : "dev";
9960
9980
  function resolveBrewPath(execFileSync2) {
9961
9981
  try {
9962
9982
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();