@integrity-labs/agt-cli 0.28.60 → 0.28.61

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-DC2QI6OD.js";
40
+ } from "../chunk-VB5YVGY3.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-BCWB6A4G.js";
67
+ } from "../chunk-BJ26X4HJ.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.60" : "dev";
4780
+ var cliVersion = true ? "0.28.61" : "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.60" : "dev";
5794
+ var cliVersion2 = true ? "0.28.61" : "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) => {
@@ -1128,6 +1128,21 @@ var FLAG_REGISTRY = [
1128
1128
  // flag, not an operator gate). Ships dark (default false).
1129
1129
  public: true,
1130
1130
  defaultValue: false
1131
+ },
1132
+ {
1133
+ key: "platform-maintenance-mode",
1134
+ description: 'Platform-wide maintenance mode (ENG-6506): when on, every agent across every team/org auto-replies to admitted human inbound with a "we are offline for maintenance" notice instead of dispatching to the agent \u2014 for whole-platform downtime such as DB upgrades. Read host-side per inbound from the flags cache (no MCP restart). Boolean gate; ships dark \u2014 when off, channels behave exactly as today. (Proactive "back online" follow-up is the ENG-6508 fast-follow, not this flag.)',
1135
+ flagType: "boolean",
1136
+ // Declared safe value is `false` (normal operation). Fail-safe direction: a
1137
+ // flag-DB read error or absent flag map must never silence the fleet on its
1138
+ // own — agents stay responsive unless an operator deliberately flips this on
1139
+ // from the admin Feature Flags page. No envVar: net-new control, no
1140
+ // pre-flags env gate to migrate.
1141
+ defaultValue: false,
1142
+ // Flipping this takes the ENTIRE fleet offline to end users; a mis-flip is a
1143
+ // platform-wide availability incident, so mutations require explicit
1144
+ // confirmation (the admin flip-reach modal).
1145
+ sensitive: true
1131
1146
  }
1132
1147
  ];
1133
1148
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
@@ -5516,4 +5531,4 @@ export {
5516
5531
  parseEnvIntegrations,
5517
5532
  probeMcpEnvSubstitution
5518
5533
  };
5519
- //# sourceMappingURL=chunk-BCWB6A4G.js.map
5534
+ //# sourceMappingURL=chunk-BJ26X4HJ.js.map