@integrity-labs/agt-cli 0.28.610 → 0.28.612

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
@@ -40,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-RTZ2VC7V.js";
43
+ } from "../chunk-F2WTBHMD.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-DESCRVVM.js";
46
+ } from "../chunk-DJP4JZGE.js";
47
47
  import {
48
48
  AnchorSessionClient,
49
49
  CHANNEL_REGISTRY,
@@ -73,7 +73,7 @@ import {
73
73
  requiredMcpWildcard,
74
74
  resolveChannels,
75
75
  serializeManifestForSlackCli
76
- } from "../chunk-FF7H4K7I.js";
76
+ } from "../chunk-RQAAW5LL.js";
77
77
  import "../chunk-XWVM4KPK.js";
78
78
 
79
79
  // src/bin/agt.ts
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
4909
4909
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4910
4910
  import chalk18 from "chalk";
4911
4911
  import ora16 from "ora";
4912
- var cliVersion = true ? "0.28.610" : "dev";
4912
+ var cliVersion = true ? "0.28.612" : "dev";
4913
4913
  async function fetchLatestVersion() {
4914
4914
  const host2 = getHost();
4915
4915
  if (!host2) return null;
@@ -6089,7 +6089,7 @@ function handleError(err) {
6089
6089
  }
6090
6090
 
6091
6091
  // src/bin/agt.ts
6092
- var cliVersion2 = true ? "0.28.610" : "dev";
6092
+ var cliVersion2 = true ? "0.28.612" : "dev";
6093
6093
  var program = new Command();
6094
6094
  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");
6095
6095
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -16,7 +16,7 @@ import {
16
16
  rotateDailySession,
17
17
  sessionFileExists,
18
18
  todayLocalIso
19
- } from "./chunk-FF7H4K7I.js";
19
+ } from "./chunk-RQAAW5LL.js";
20
20
  import {
21
21
  reapOrphanChannelMcps
22
22
  } from "./chunk-XWVM4KPK.js";
@@ -4349,4 +4349,4 @@ export {
4349
4349
  stopAllSessionsAndWait,
4350
4350
  getProjectDir
4351
4351
  };
4352
- //# sourceMappingURL=chunk-DESCRVVM.js.map
4352
+ //# sourceMappingURL=chunk-DJP4JZGE.js.map
@@ -7,7 +7,7 @@ import {
7
7
  expandTemplateVars,
8
8
  isolationMode,
9
9
  parseEnvIntegrations
10
- } from "./chunk-DESCRVVM.js";
10
+ } from "./chunk-DJP4JZGE.js";
11
11
  import {
12
12
  BIND_FAILURE_QUARANTINE_THRESHOLD,
13
13
  INTEGRATIONS_SECTION_END,
@@ -48,7 +48,7 @@ import {
48
48
  resolveConnectivityProbe,
49
49
  worseConnectivityOutcome,
50
50
  wrapScheduledTaskPrompt
51
- } from "./chunk-FF7H4K7I.js";
51
+ } from "./chunk-RQAAW5LL.js";
52
52
  import {
53
53
  parsePsRows
54
54
  } from "./chunk-XWVM4KPK.js";
@@ -6030,7 +6030,7 @@ function exchangeFailureKind(err) {
6030
6030
  }
6031
6031
 
6032
6032
  // src/lib/api-client.ts
6033
- var agtCliVersion = true ? "0.28.610" : "dev";
6033
+ var agtCliVersion = true ? "0.28.612" : "dev";
6034
6034
  var lastConfigHash = null;
6035
6035
  function setConfigHash(hash) {
6036
6036
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -9505,4 +9505,4 @@ export {
9505
9505
  managerInstallSystemUnitCommand,
9506
9506
  managerUninstallSystemUnitCommand
9507
9507
  };
9508
- //# sourceMappingURL=chunk-RTZ2VC7V.js.map
9508
+ //# sourceMappingURL=chunk-F2WTBHMD.js.map
@@ -4119,6 +4119,29 @@ var KANBAN_NUDGE_ACTIONABLE_STATUSES = ["todo", "in_progress"];
4119
4119
 
4120
4120
  // ../../packages/core/dist/feature-flags/registry.js
4121
4121
  var FLAG_REGISTRY = [
4122
+ {
4123
+ key: "impersonation-enabled",
4124
+ description: "Kill switch for admin impersonation (ENG-9080), filed during the 18 Aug cross-tenant identity incident. ON (default) = impersonation works as today. OFF = both halves of the flow refuse: the mint route stops issuing redeem URLs, and \u2014 the half that actually matters \u2014 the REDEEM route refuses before it inserts the nonce or calls generateLink, so a URL that was already issued cannot still mint a session. Redeem tokens live REDEEM_TTL_SECONDS = 300, so gating only the mint route would leave five minutes in which new sessions keep appearing after an operator believes they have stopped it. Evaluated as a GLOBAL stage value, read UNCACHED on the redeem path (see readImpersonationEnabled): a kill switch that takes a cache TTL to bite is not a kill switch. Containment only \u2014 it does not fix the underlying defect that redeem writes the target's cookies into whatever browser context opens the URL (ENG-8923 / ENG-9020).",
4125
+ flagType: "boolean",
4126
+ // Declared safe value is `true` = impersonation available, i.e. today's
4127
+ // behaviour, so merging this changes nothing until an operator flips it.
4128
+ //
4129
+ // NOTE the asymmetry with the other gates in this file, and it is
4130
+ // deliberate: their safe direction is "off / don't do the new thing"
4131
+ // because they gate NEW behaviour. This one gates EXISTING behaviour, so
4132
+ // the no-op default is `true`. The READ direction is where the safety lives
4133
+ // instead — an unreachable flag store resolves to DISABLED, not to this
4134
+ // default. See readImpersonationEnabled for that argument.
4135
+ defaultValue: true,
4136
+ // Enforcement gate (ADR-0022 section 4): re-enabling impersonation is
4137
+ // "relaxing a security control", exactly the mutation that must not happen
4138
+ // on a single unguarded write. The emergency direction (turning it OFF)
4139
+ // costs one confirmation, which is the right price.
4140
+ sensitive: true
4141
+ // Deliberately NOT public. A browser has no business evaluating whether
4142
+ // impersonation is available; both consumers are server-side route
4143
+ // handlers.
4144
+ },
4122
4145
  {
4123
4146
  key: "at-rest-v2-writes",
4124
4147
  description: "ADR-0061 A2\u2192arm cutover (ENG-8944, parent ENG-8764). Gates whether the at-rest writer (encryptSecret/encryptAtRest) emits the v2 AAD-bound envelope when a DecryptContext is supplied; OFF (default) = the legacy v1 envelope (pre-ADR-0061 behaviour). Resolved FLEET-WIDE and process-global via setV2WritesArmed at the API + webapp + cron bootstrap seams, so ONLY the stage value applies \u2014 per-org overrides do not (the crypto writer carries no request/org context). Ships dark. Flip on only once every reader parses v2 (fleet-wide since release A1) AND the re-seal engine can re-seal v2 blobs before any AUTH_ENCRYPTION_KEY rotation (slice 5b). Reversible without redeploy: clearing it returns the writer to v1 within the flag cache TTL; already-written v2 blobs stay readable.",
@@ -8164,6 +8187,12 @@ var MARKUP_BRIDGE_SCRIPT = `<script>(function(){
8164
8187
  var AL_PANEL_WIDTH_PX = 420;
8165
8188
  var AL_MIN_CANVAS_PX = 320;
8166
8189
  var AL_SPLIT_MIN_VIEWPORT_PX = AL_PANEL_WIDTH_PX + AL_MIN_CANVAS_PX;
8190
+ var DECK_HUD_BOTTOM_PX = 20;
8191
+ var DECK_HUD_HEIGHT_PX = 48;
8192
+ var DECK_HUD_TOP_PX = DECK_HUD_BOTTOM_PX + DECK_HUD_HEIGHT_PX;
8193
+ var DECK_CHROME_GAP_PX = 8;
8194
+ var DECK_ATTRIBUTION_BOTTOM_PX = DECK_HUD_TOP_PX + DECK_CHROME_GAP_PX;
8195
+ var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = 104 + DECK_CHROME_GAP_PX;
8167
8196
 
8168
8197
  // ../../packages/core/dist/integrations/augmented-live/codec.js
8169
8198
  var CODEC_VERSION = 1;
@@ -11928,4 +11957,4 @@ export {
11928
11957
  minutesSinceLocalMidnight,
11929
11958
  peekCurrentSession
11930
11959
  };
11931
- //# sourceMappingURL=chunk-FF7H4K7I.js.map
11960
+ //# sourceMappingURL=chunk-RQAAW5LL.js.map