@integrity-labs/agt-cli 0.28.241 → 0.28.243

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
@@ -38,7 +38,7 @@ import {
38
38
  success,
39
39
  table,
40
40
  warn
41
- } from "../chunk-ALYKJRFJ.js";
41
+ } from "../chunk-U2WPXD6Q.js";
42
42
  import {
43
43
  CHANNEL_REGISTRY,
44
44
  DEFAULT_FRAMEWORK,
@@ -67,7 +67,7 @@ import {
67
67
  renderTemplate,
68
68
  resolveChannels,
69
69
  serializeManifestForSlackCli
70
- } from "../chunk-LSOXMJYA.js";
70
+ } from "../chunk-ZS2T67OF.js";
71
71
  import "../chunk-XWVM4KPK.js";
72
72
 
73
73
  // src/bin/agt.ts
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
4826
4826
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4827
4827
  import chalk18 from "chalk";
4828
4828
  import ora16 from "ora";
4829
- var cliVersion = true ? "0.28.241" : "dev";
4829
+ var cliVersion = true ? "0.28.243" : "dev";
4830
4830
  async function fetchLatestVersion() {
4831
4831
  const host2 = getHost();
4832
4832
  if (!host2) return null;
@@ -5840,7 +5840,7 @@ function handleError(err) {
5840
5840
  }
5841
5841
 
5842
5842
  // src/bin/agt.ts
5843
- var cliVersion2 = true ? "0.28.241" : "dev";
5843
+ var cliVersion2 = true ? "0.28.243" : "dev";
5844
5844
  var program = new Command();
5845
5845
  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");
5846
5846
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -18,7 +18,7 @@ import {
18
18
  resolveConnectivityProbe,
19
19
  worseConnectivityOutcome,
20
20
  wrapScheduledTaskPrompt
21
- } from "./chunk-LSOXMJYA.js";
21
+ } from "./chunk-ZS2T67OF.js";
22
22
  import {
23
23
  parsePsRows
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5832,7 +5832,7 @@ function requireHost() {
5832
5832
  }
5833
5833
 
5834
5834
  // src/lib/api-client.ts
5835
- var agtCliVersion = true ? "0.28.241" : "dev";
5835
+ var agtCliVersion = true ? "0.28.243" : "dev";
5836
5836
  var lastConfigHash = null;
5837
5837
  function setConfigHash(hash) {
5838
5838
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8102,4 +8102,4 @@ export {
8102
8102
  managerInstallSystemUnitCommand,
8103
8103
  managerUninstallSystemUnitCommand
8104
8104
  };
8105
- //# sourceMappingURL=chunk-ALYKJRFJ.js.map
8105
+ //# sourceMappingURL=chunk-U2WPXD6Q.js.map
@@ -8019,7 +8019,7 @@ function restartEgressSidecar(codeName) {
8019
8019
  }
8020
8020
  }
8021
8021
  function buildDockerRunCommand(args) {
8022
- const { codeName, agentId, wrapperPath, projectDir, homeDir, runId, passApiKey, passOpenRouter, egress } = args;
8022
+ const { codeName, agentId, wrapperPath, projectDir, homeDir, runId, passApiKey, passOpenRouter, egress, forwardSlackReplyBinding, forwardBlockTurnEndAllMarkers } = args;
8023
8023
  const q = (s) => `'${s.replace(/'/g, `'\\''`)}'`;
8024
8024
  const agentDir = join2(homeDir, ".augmented", codeName);
8025
8025
  const agentIdDir = join2(homeDir, ".augmented", agentId);
@@ -8052,6 +8052,8 @@ function buildDockerRunCommand(args) {
8052
8052
  envArgs.push(`-e ${q(`AGT_AGENT_ID=${agentId}`)}`);
8053
8053
  envArgs.push(`-e AGT_DIRECT_CHAT_DOORBELL_ENABLED=true`);
8054
8054
  envArgs.push(`-e AGT_IN_CONTAINER=true`);
8055
+ if (forwardSlackReplyBinding) envArgs.push("-e AGT_SLACK_REPLY_BINDING");
8056
+ if (forwardBlockTurnEndAllMarkers) envArgs.push("-e AGT_BLOCK_TURN_END_ALL_MARKERS_ENABLED");
8055
8057
  const egressImage = process.env.AGT_EGRESS_IMAGE || "agt-squid:latest";
8056
8058
  const internalNet = `agt-net-${codeName}`;
8057
8059
  const squidName = `agt-squid-${codeName}`;
@@ -8393,6 +8395,12 @@ function spawnSession(config, session) {
8393
8395
  } else if (claudeAuthMode === "api_key" && config.anthropicApiKey) {
8394
8396
  tmuxSessionEnvArgs.push("-e", `ANTHROPIC_API_KEY=${config.anthropicApiKey}`);
8395
8397
  }
8398
+ if (config.slackReplyBindingMode && config.slackReplyBindingMode !== "shadow" && !process.env["AGT_SLACK_REPLY_BINDING"]) {
8399
+ tmuxSessionEnvArgs.push("-e", `AGT_SLACK_REPLY_BINDING=${config.slackReplyBindingMode}`);
8400
+ }
8401
+ if (config.blockTurnEndAllMarkers && !process.env["AGT_BLOCK_TURN_END_ALL_MARKERS_ENABLED"]) {
8402
+ tmuxSessionEnvArgs.push("-e", "AGT_BLOCK_TURN_END_ALL_MARKERS_ENABLED=true");
8403
+ }
8396
8404
  const sessionHomeDir = process.env.HOME?.trim() || homedir2();
8397
8405
  let egress;
8398
8406
  if (egressMode(codeName) === "allowlist") {
@@ -8412,7 +8420,12 @@ function spawnSession(config, session) {
8412
8420
  // ENG-7152: forward the OpenRouter ANTHROPIC_* vars (by name) from the
8413
8421
  // session-shell env into the container, same posture as passApiKey.
8414
8422
  passOpenRouter: openRouterMode,
8415
- egress
8423
+ egress,
8424
+ // ENG-6476: forward the reply-routing flag env if it will be present in the
8425
+ // session env (operator-set OR materialized from the flag above).
8426
+ forwardSlackReplyBinding: !!process.env["AGT_SLACK_REPLY_BINDING"] || !!config.slackReplyBindingMode && config.slackReplyBindingMode !== "shadow",
8427
+ forwardBlockTurnEndAllMarkers: !!process.env["AGT_BLOCK_TURN_END_ALL_MARKERS_ENABLED"] || !!config.blockTurnEndAllMarkers
8428
+ // feature-gate-allow: registry-flag envVar operator-override precedence, not a new gate
8416
8429
  }) : JSON.stringify(wrapperPath);
8417
8430
  const tmuxEnv = {
8418
8431
  ...process.env,
@@ -9093,4 +9106,4 @@ export {
9093
9106
  stopAllSessionsAndWait,
9094
9107
  getProjectDir
9095
9108
  };
9096
- //# sourceMappingURL=chunk-LSOXMJYA.js.map
9109
+ //# sourceMappingURL=chunk-ZS2T67OF.js.map