@integrity-labs/agt-cli 0.28.732 → 0.28.733

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
@@ -41,12 +41,12 @@ import {
41
41
  success,
42
42
  table,
43
43
  warn
44
- } from "../chunk-DGIYNBDG.js";
44
+ } from "../chunk-LT7UGH4O.js";
45
45
  import {
46
46
  getProjectDir,
47
47
  isSessionResumeDisabled,
48
48
  readDirectChatSessionState
49
- } from "../chunk-QB6TIA3Z.js";
49
+ } from "../chunk-7KT2QNXF.js";
50
50
  import {
51
51
  AnchorSessionClient,
52
52
  CHANNEL_REGISTRY,
@@ -79,7 +79,7 @@ import {
79
79
  serializeManifestForSlackCli,
80
80
  sessionFileExists,
81
81
  sessionTranscriptDir
82
- } from "../chunk-BADE2W6M.js";
82
+ } from "../chunk-IBBBIE4K.js";
83
83
  import "../chunk-XWVM4KPK.js";
84
84
 
85
85
  // src/bin/agt.ts
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
5467
5467
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5468
5468
  import chalk18 from "chalk";
5469
5469
  import ora16 from "ora";
5470
- var cliVersion = true ? "0.28.732" : "dev";
5470
+ var cliVersion = true ? "0.28.733" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6654,7 +6654,7 @@ function handleError(err) {
6654
6654
  }
6655
6655
 
6656
6656
  // src/bin/agt.ts
6657
- var cliVersion2 = true ? "0.28.732" : "dev";
6657
+ var cliVersion2 = true ? "0.28.733" : "dev";
6658
6658
  var program = new Command();
6659
6659
  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");
6660
6660
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -17,7 +17,7 @@ import {
17
17
  rotateDailySession,
18
18
  sessionFileExists,
19
19
  todayLocalIso
20
- } from "./chunk-BADE2W6M.js";
20
+ } from "./chunk-IBBBIE4K.js";
21
21
  import {
22
22
  reapOrphanChannelMcps
23
23
  } from "./chunk-XWVM4KPK.js";
@@ -4880,4 +4880,4 @@ export {
4880
4880
  stopAllSessionsAndWait,
4881
4881
  getProjectDir
4882
4882
  };
4883
- //# sourceMappingURL=chunk-QB6TIA3Z.js.map
4883
+ //# sourceMappingURL=chunk-7KT2QNXF.js.map
@@ -5482,7 +5482,22 @@ var FLAG_REGISTRY = [
5482
5482
  // seeding code, so `listNewOrgFlagOverrides()` is the one answer to "which flags
5483
5483
  // does a new org get". `defaultValue` stays false so the ~4 months of orgs already
5484
5484
  // carrying an inert enforce-level email.require_approval row are NOT armed on deploy.
5485
- newOrgOverride: true
5485
+ newOrgOverride: true,
5486
+ // ENG-9630: API-created organizations only, and this is a deliberate,
5487
+ // reviewed asymmetry rather than an oversight.
5488
+ //
5489
+ // Arming this holds EVERY dispatching send for human approval. The hold
5490
+ // itself works fine on a self-serve org — `hitl-approval-routing` has
5491
+ // defaulted to 'on' since ENG-7828, so a real Human Approval card is minted
5492
+ // and it is actionable at /organization/approvals. What a self-serve org
5493
+ // does NOT have is any means of being TOLD: no Slack alert channel is wired
5494
+ // at signup, so the card sits in a console surface nobody has pointed the
5495
+ // user at, and their agent's first email silently waits on it.
5496
+ //
5497
+ // So the blocker is the notification path, not the control. Whoever revisits
5498
+ // this should treat "a self-serve org actually receives the card" as the
5499
+ // prerequisite and then drop this line — do not simply widen it.
5500
+ newOrgOverrideOrigins: ["api"]
5486
5501
  },
5487
5502
  {
5488
5503
  key: "mail-rule-control-enforcement",
@@ -7800,7 +7815,11 @@ var ORG_ROLE_PERMISSIONS = {
7800
7815
  "org.manage_teams",
7801
7816
  "org.manage_guardrails",
7802
7817
  "org.manage_integrations",
7803
- "org.view_audit_log"
7818
+ "org.view_audit_log",
7819
+ // ENG-9486 (ADR-0074). Authoring is owner+admin, matching every other action
7820
+ // that can write a secret or change what an org is billed for.
7821
+ "org.manage_model_policies",
7822
+ "org.assign_model_policies"
7804
7823
  ],
7805
7824
  admin: [
7806
7825
  "org.manage_settings",
@@ -7808,7 +7827,9 @@ var ORG_ROLE_PERMISSIONS = {
7808
7827
  "org.manage_teams",
7809
7828
  "org.manage_guardrails",
7810
7829
  "org.manage_integrations",
7811
- "org.view_audit_log"
7830
+ "org.view_audit_log",
7831
+ "org.manage_model_policies",
7832
+ "org.assign_model_policies"
7812
7833
  ],
7813
7834
  member: [
7814
7835
  "org.manage_teams",
@@ -12995,4 +13016,4 @@ export {
12995
13016
  peekCurrentSession,
12996
13017
  readDailySessionPin
12997
13018
  };
12998
- //# sourceMappingURL=chunk-BADE2W6M.js.map
13019
+ //# sourceMappingURL=chunk-IBBBIE4K.js.map