@integrity-labs/agt-cli 0.28.320 → 0.28.322

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-CJSATK6B.js";
41
+ } from "../chunk-FG7ELAP4.js";
42
42
  import {
43
43
  AnchorSessionClient,
44
44
  CHANNEL_REGISTRY,
@@ -68,7 +68,7 @@ import {
68
68
  renderTemplate,
69
69
  resolveChannels,
70
70
  serializeManifestForSlackCli
71
- } from "../chunk-NAS4DZNG.js";
71
+ } from "../chunk-LJT3U3GQ.js";
72
72
  import "../chunk-XWVM4KPK.js";
73
73
 
74
74
  // src/bin/agt.ts
@@ -4827,7 +4827,7 @@ import { execFileSync, execSync } from "child_process";
4827
4827
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4828
4828
  import chalk18 from "chalk";
4829
4829
  import ora16 from "ora";
4830
- var cliVersion = true ? "0.28.320" : "dev";
4830
+ var cliVersion = true ? "0.28.322" : "dev";
4831
4831
  async function fetchLatestVersion() {
4832
4832
  const host2 = getHost();
4833
4833
  if (!host2) return null;
@@ -5931,7 +5931,7 @@ function handleError(err) {
5931
5931
  }
5932
5932
 
5933
5933
  // src/bin/agt.ts
5934
- var cliVersion2 = true ? "0.28.320" : "dev";
5934
+ var cliVersion2 = true ? "0.28.322" : "dev";
5935
5935
  var program = new Command();
5936
5936
  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");
5937
5937
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -19,7 +19,7 @@ import {
19
19
  resolveConnectivityProbe,
20
20
  worseConnectivityOutcome,
21
21
  wrapScheduledTaskPrompt
22
- } from "./chunk-NAS4DZNG.js";
22
+ } from "./chunk-LJT3U3GQ.js";
23
23
  import {
24
24
  parsePsRows
25
25
  } from "./chunk-XWVM4KPK.js";
@@ -6705,7 +6705,7 @@ function requireHost() {
6705
6705
  }
6706
6706
 
6707
6707
  // src/lib/api-client.ts
6708
- var agtCliVersion = true ? "0.28.320" : "dev";
6708
+ var agtCliVersion = true ? "0.28.322" : "dev";
6709
6709
  var lastConfigHash = null;
6710
6710
  function setConfigHash(hash) {
6711
6711
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -9102,4 +9102,4 @@ export {
9102
9102
  managerInstallSystemUnitCommand,
9103
9103
  managerUninstallSystemUnitCommand
9104
9104
  };
9105
- //# sourceMappingURL=chunk-CJSATK6B.js.map
9105
+ //# sourceMappingURL=chunk-FG7ELAP4.js.map
@@ -1418,6 +1418,11 @@ var DEFAULT_SCOPES = [
1418
1418
  "reactions:read",
1419
1419
  "reactions:write",
1420
1420
  "users:read",
1421
+ // ENG-7791: needed so users.info returns the sender's email, the join key that
1422
+ // links an inbound Slack sender to their organization_people record (inbound
1423
+ // identity reconcile). Existing installs without it degrade gracefully - the
1424
+ // reconcile no-ops until the bot is re-authorised with the wider scope set.
1425
+ "users:read.email",
1421
1426
  "users.profile:write"
1422
1427
  ];
1423
1428
  function getDefaultSlackScopes() {
@@ -10027,4 +10032,4 @@ export {
10027
10032
  stopAllSessionsAndWait,
10028
10033
  getProjectDir
10029
10034
  };
10030
- //# sourceMappingURL=chunk-NAS4DZNG.js.map
10035
+ //# sourceMappingURL=chunk-LJT3U3GQ.js.map