@integrity-labs/agt-cli 0.28.182 → 0.28.184

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-GF5CAKEY.js";
40
+ } from "../chunk-YYIBKSSD.js";
41
41
  import {
42
42
  CHANNEL_REGISTRY,
43
43
  DEFAULT_FRAMEWORK,
@@ -65,7 +65,7 @@ import {
65
65
  renderTemplate,
66
66
  resolveChannels,
67
67
  serializeManifestForSlackCli
68
- } from "../chunk-K362KMGY.js";
68
+ } from "../chunk-K2N44EUC.js";
69
69
 
70
70
  // src/bin/agt.ts
71
71
  import { join as join22 } from "path";
@@ -4749,7 +4749,7 @@ import { execFileSync, execSync } from "child_process";
4749
4749
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4750
4750
  import chalk18 from "chalk";
4751
4751
  import ora16 from "ora";
4752
- var cliVersion = true ? "0.28.182" : "dev";
4752
+ var cliVersion = true ? "0.28.184" : "dev";
4753
4753
  async function fetchLatestVersion() {
4754
4754
  const host2 = getHost();
4755
4755
  if (!host2) return null;
@@ -5763,7 +5763,7 @@ function handleError(err) {
5763
5763
  }
5764
5764
 
5765
5765
  // src/bin/agt.ts
5766
- var cliVersion2 = true ? "0.28.182" : "dev";
5766
+ var cliVersion2 = true ? "0.28.184" : "dev";
5767
5767
  var program = new Command();
5768
5768
  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");
5769
5769
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -1450,6 +1450,15 @@ var FLAG_REGISTRY = [
1450
1450
  // spend control, so mutations require explicit confirmation.
1451
1451
  sensitive: true
1452
1452
  },
1453
+ {
1454
+ key: "team-scoped-visibility",
1455
+ description: "Restrict team-scoped reads to direct team members (ENG-7122). By default the API resolves X-Team-Slug for any org member (org-membership fallback), so a plain org member can read a sibling team they are not on (agents, kanban, run-derived spend) because the service-role API filters only by the org-resolved team_id. When ON for an org, the org-membership fallback is dropped for plain org member/viewer (they may only resolve teams they are a direct team_members of), while org owner/admin keep cross-team reach and the admin-onboarding bypass is preserved. The GET /teams listing is narrowed the same way. Boolean gate; default off (current behaviour).",
1456
+ flagType: "boolean",
1457
+ defaultValue: false,
1458
+ // Tightening control: turning this flag OFF *relaxes* a visibility restriction,
1459
+ // so mutations require explicit confirmation per ADR-0022 §4.
1460
+ sensitive: true
1461
+ },
1453
1462
  {
1454
1463
  key: "channel-busy-ack",
1455
1464
  description: "Busy-but-alive ack notices when an agent is mid-task (ENG-6180). Boolean gate; ships dark.",
@@ -6581,4 +6590,4 @@ export {
6581
6590
  parseEnvIntegrations,
6582
6591
  probeMcpEnvSubstitution
6583
6592
  };
6584
- //# sourceMappingURL=chunk-K362KMGY.js.map
6593
+ //# sourceMappingURL=chunk-K2N44EUC.js.map