@integrity-labs/agt-cli 0.28.400 → 0.28.401

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-MZ7EU4V7.js";
43
+ } from "../chunk-24P2BKOV.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -70,7 +70,7 @@ import {
70
70
  renderTemplate,
71
71
  resolveChannels,
72
72
  serializeManifestForSlackCli
73
- } from "../chunk-4LZBDTFJ.js";
73
+ } from "../chunk-V5CRVBVC.js";
74
74
  import "../chunk-XWVM4KPK.js";
75
75
 
76
76
  // src/bin/agt.ts
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
4829
4829
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4830
4830
  import chalk18 from "chalk";
4831
4831
  import ora16 from "ora";
4832
- var cliVersion = true ? "0.28.400" : "dev";
4832
+ var cliVersion = true ? "0.28.401" : "dev";
4833
4833
  async function fetchLatestVersion() {
4834
4834
  const host2 = getHost();
4835
4835
  if (!host2) return null;
@@ -6001,7 +6001,7 @@ function handleError(err) {
6001
6001
  }
6002
6002
 
6003
6003
  // src/bin/agt.ts
6004
- var cliVersion2 = true ? "0.28.400" : "dev";
6004
+ var cliVersion2 = true ? "0.28.401" : "dev";
6005
6005
  var program = new Command();
6006
6006
  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");
6007
6007
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -25,7 +25,7 @@ import {
25
25
  resolveConnectivityProbe,
26
26
  worseConnectivityOutcome,
27
27
  wrapScheduledTaskPrompt
28
- } from "./chunk-4LZBDTFJ.js";
28
+ } from "./chunk-V5CRVBVC.js";
29
29
  import {
30
30
  parsePsRows
31
31
  } from "./chunk-XWVM4KPK.js";
@@ -6213,7 +6213,7 @@ function requireHost() {
6213
6213
  }
6214
6214
 
6215
6215
  // src/lib/api-client.ts
6216
- var agtCliVersion = true ? "0.28.400" : "dev";
6216
+ var agtCliVersion = true ? "0.28.401" : "dev";
6217
6217
  var lastConfigHash = null;
6218
6218
  function setConfigHash(hash) {
6219
6219
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8679,4 +8679,4 @@ export {
8679
8679
  managerInstallSystemUnitCommand,
8680
8680
  managerUninstallSystemUnitCommand
8681
8681
  };
8682
- //# sourceMappingURL=chunk-MZ7EU4V7.js.map
8682
+ //# sourceMappingURL=chunk-24P2BKOV.js.map
@@ -8892,7 +8892,17 @@ function buildOpencodePermission(tools) {
8892
8892
  // by the manager spawning each agent in its own project dir.
8893
8893
  edit: "allow",
8894
8894
  webfetch: denyNetwork ? "deny" : "allow",
8895
- bash
8895
+ bash,
8896
+ // ENG-8058: opencode's `question` permission governs the agent asking the
8897
+ // user (its built-in question/ask tool). Left unset it falls through to a
8898
+ // blocking default and DEADLOCKS the same way `ask` does on a headless
8899
+ // serve - nobody answers, the turn hangs ~180s, produces no reply, and the
8900
+ // agent shows offline (root-caused live on nora). `deny` is a clean
8901
+ // rejection so the model proceeds instead of blocking. This is NOT solved
8902
+ // by skip-permissions/yolo, which bypasses tool APPROVAL, not the agent
8903
+ // ASKING (Claude Code agents can still wedge on AskUserQuestion with
8904
+ // --dangerously-skip-permissions on).
8905
+ question: "deny"
8896
8906
  };
8897
8907
  }
8898
8908
  function buildAugmentedMcpServer(input, mcpBundlePath2) {
@@ -12452,4 +12462,4 @@ export {
12452
12462
  stopAllSessionsAndWait,
12453
12463
  getProjectDir
12454
12464
  };
12455
- //# sourceMappingURL=chunk-4LZBDTFJ.js.map
12465
+ //# sourceMappingURL=chunk-V5CRVBVC.js.map