@integrity-labs/agt-cli 0.28.93 → 0.28.95

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
@@ -37,7 +37,7 @@ import {
37
37
  success,
38
38
  table,
39
39
  warn
40
- } from "../chunk-W2VRPZ5M.js";
40
+ } from "../chunk-QQYVNV5N.js";
41
41
  import {
42
42
  CHANNEL_REGISTRY,
43
43
  DEPLOYMENT_TEMPLATES,
@@ -64,7 +64,7 @@ import {
64
64
  renderTemplate,
65
65
  resolveChannels,
66
66
  serializeManifestForSlackCli
67
- } from "../chunk-GLBWCCZD.js";
67
+ } from "../chunk-TRKWWYRN.js";
68
68
 
69
69
  // src/bin/agt.ts
70
70
  import { join as join22 } from "path";
@@ -4777,7 +4777,7 @@ import { execFileSync, execSync } from "child_process";
4777
4777
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4778
4778
  import chalk18 from "chalk";
4779
4779
  import ora16 from "ora";
4780
- var cliVersion = true ? "0.28.93" : "dev";
4780
+ var cliVersion = true ? "0.28.95" : "dev";
4781
4781
  async function fetchLatestVersion() {
4782
4782
  const host2 = getHost();
4783
4783
  if (!host2) return null;
@@ -5791,7 +5791,7 @@ function handleError(err) {
5791
5791
  }
5792
5792
 
5793
5793
  // src/bin/agt.ts
5794
- var cliVersion2 = true ? "0.28.93" : "dev";
5794
+ var cliVersion2 = true ? "0.28.95" : "dev";
5795
5795
  var program = new Command();
5796
5796
  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");
5797
5797
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -3,7 +3,7 @@ import {
3
3
  formatMissingVar,
4
4
  isClaudeFastMode,
5
5
  probeMcpEnvSubstitution
6
- } from "./chunk-GLBWCCZD.js";
6
+ } from "./chunk-TRKWWYRN.js";
7
7
  import {
8
8
  reapOrphanChannelMcps
9
9
  } from "./chunk-XWVM4KPK.js";
@@ -1395,4 +1395,4 @@ export {
1395
1395
  stopAllSessionsAndWait,
1396
1396
  getProjectDir
1397
1397
  };
1398
- //# sourceMappingURL=chunk-CSTDOXOK.js.map
1398
+ //# sourceMappingURL=chunk-JYSWJMXU.js.map
@@ -22,7 +22,7 @@ import {
22
22
  resolveConnectivityProbe,
23
23
  worseConnectivityOutcome,
24
24
  wrapScheduledTaskPrompt
25
- } from "./chunk-GLBWCCZD.js";
25
+ } from "./chunk-TRKWWYRN.js";
26
26
 
27
27
  // ../../packages/core/dist/integrations/registry.js
28
28
  var INTEGRATION_REGISTRY = [
@@ -5718,6 +5718,10 @@ function buildMcpJson(input) {
5718
5718
  // placeholder at MCP-launch time. Same pattern as augmented.
5719
5719
  AGT_RUN_ID: "${AGT_RUN_ID}",
5720
5720
  AGT_API_KEY: "${AGT_API_KEY}",
5721
+ // ENG-6586 (D16): read the verified turn initiator the channel MCP stamps
5722
+ // and forward it on each aws_request_access call (same contract as
5723
+ // xero-broker below).
5724
+ AGT_TURN_INITIATOR_FILE: turnInitiatorFile,
5721
5725
  PATH: process.env["PATH"] ?? "",
5722
5726
  HOME: process.env["HOME"] ?? ""
5723
5727
  }
@@ -6754,6 +6758,10 @@ ${sections}`
6754
6758
  // is missing. Mirror buildMcpJson's entry on incremental sync
6755
6759
  // so an agent that connects AWS post-provision boots cleanly.
6756
6760
  AGT_RUN_ID: "${AGT_RUN_ID}",
6761
+ // ENG-6586 (D16): keep incremental cloud-broker wiring in sync with
6762
+ // buildMcpJson so agents that add cloud-broker post-provision still
6763
+ // forward the per-turn initiator.
6764
+ AGT_TURN_INITIATOR_FILE: join4(getAgentDir(codeName), ".current-turn-initiator.json"),
6757
6765
  PATH: process.env["PATH"] ?? "",
6758
6766
  HOME: process.env["HOME"] ?? ""
6759
6767
  }
@@ -7533,7 +7541,7 @@ function requireHost() {
7533
7541
  }
7534
7542
 
7535
7543
  // src/lib/api-client.ts
7536
- var agtCliVersion = true ? "0.28.93" : "dev";
7544
+ var agtCliVersion = true ? "0.28.95" : "dev";
7537
7545
  var lastConfigHash = null;
7538
7546
  function setConfigHash(hash) {
7539
7547
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8830,4 +8838,4 @@ export {
8830
8838
  managerInstallSystemUnitCommand,
8831
8839
  managerUninstallSystemUnitCommand
8832
8840
  };
8833
- //# sourceMappingURL=chunk-W2VRPZ5M.js.map
8841
+ //# sourceMappingURL=chunk-QQYVNV5N.js.map