@integrity-labs/agt-cli 0.27.86 → 0.27.87

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
@@ -28,7 +28,7 @@ import {
28
28
  success,
29
29
  table,
30
30
  warn
31
- } from "../chunk-SXE77YAJ.js";
31
+ } from "../chunk-2E42P2IO.js";
32
32
  import {
33
33
  CHANNEL_REGISTRY,
34
34
  DEPLOYMENT_TEMPLATES,
@@ -4930,7 +4930,7 @@ import { execFileSync, execSync } from "child_process";
4930
4930
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4931
4931
  import chalk18 from "chalk";
4932
4932
  import ora16 from "ora";
4933
- var cliVersion = true ? "0.27.86" : "dev";
4933
+ var cliVersion = true ? "0.27.87" : "dev";
4934
4934
  async function fetchLatestVersion() {
4935
4935
  const host2 = getHost();
4936
4936
  if (!host2) return null;
@@ -5853,7 +5853,7 @@ function handleError(err) {
5853
5853
  }
5854
5854
 
5855
5855
  // src/bin/agt.ts
5856
- var cliVersion2 = true ? "0.27.86" : "dev";
5856
+ var cliVersion2 = true ? "0.27.87" : "dev";
5857
5857
  var program = new Command();
5858
5858
  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");
5859
5859
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -7564,4 +7564,4 @@ export {
7564
7564
  managerInstallSystemUnitCommand,
7565
7565
  managerUninstallSystemUnitCommand
7566
7566
  };
7567
- //# sourceMappingURL=chunk-SXE77YAJ.js.map
7567
+ //# sourceMappingURL=chunk-2E42P2IO.js.map
@@ -502,6 +502,10 @@ function takeWatchdogGiveUpCount(codeName) {
502
502
  giveUpCounts.delete(codeName);
503
503
  return count;
504
504
  }
505
+ function creditWatchdogGiveUpCount(codeName, count) {
506
+ if (count <= 0) return;
507
+ giveUpCounts.set(codeName, (giveUpCounts.get(codeName) ?? 0) + count);
508
+ }
505
509
 
506
510
  // src/lib/persistent-session.ts
507
511
  function syncClaudeCredsToRoot() {
@@ -1433,6 +1437,7 @@ export {
1433
1437
  peekCurrentSession,
1434
1438
  checkChannelInputs,
1435
1439
  takeWatchdogGiveUpCount,
1440
+ creditWatchdogGiveUpCount,
1436
1441
  resolveClaudeBinary,
1437
1442
  writePersistentClaudeWrapper,
1438
1443
  paneLogPath,
@@ -1456,4 +1461,4 @@ export {
1456
1461
  stopAllSessionsAndWait,
1457
1462
  getProjectDir
1458
1463
  };
1459
- //# sourceMappingURL=chunk-4LHN3FAL.js.map
1464
+ //# sourceMappingURL=chunk-7EKFVCGY.js.map