@integrity-labs/agt-cli 0.28.292 → 0.28.294

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-PTJHDSJU.js";
41
+ } from "../chunk-5F23HET3.js";
42
42
  import {
43
43
  CHANNEL_REGISTRY,
44
44
  DEFAULT_FRAMEWORK,
@@ -67,7 +67,7 @@ import {
67
67
  renderTemplate,
68
68
  resolveChannels,
69
69
  serializeManifestForSlackCli
70
- } from "../chunk-BNQPLUUB.js";
70
+ } from "../chunk-IGADZDYT.js";
71
71
  import "../chunk-XWVM4KPK.js";
72
72
 
73
73
  // src/bin/agt.ts
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
4826
4826
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4827
4827
  import chalk18 from "chalk";
4828
4828
  import ora16 from "ora";
4829
- var cliVersion = true ? "0.28.292" : "dev";
4829
+ var cliVersion = true ? "0.28.294" : "dev";
4830
4830
  async function fetchLatestVersion() {
4831
4831
  const host2 = getHost();
4832
4832
  if (!host2) return null;
@@ -5843,7 +5843,7 @@ function handleError(err) {
5843
5843
  }
5844
5844
 
5845
5845
  // src/bin/agt.ts
5846
- var cliVersion2 = true ? "0.28.292" : "dev";
5846
+ var cliVersion2 = true ? "0.28.294" : "dev";
5847
5847
  var program = new Command();
5848
5848
  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");
5849
5849
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -18,7 +18,7 @@ import {
18
18
  resolveConnectivityProbe,
19
19
  worseConnectivityOutcome,
20
20
  wrapScheduledTaskPrompt
21
- } from "./chunk-BNQPLUUB.js";
21
+ } from "./chunk-IGADZDYT.js";
22
22
  import {
23
23
  parsePsRows
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5882,7 +5882,7 @@ function requireHost() {
5882
5882
  }
5883
5883
 
5884
5884
  // src/lib/api-client.ts
5885
- var agtCliVersion = true ? "0.28.292" : "dev";
5885
+ var agtCliVersion = true ? "0.28.294" : "dev";
5886
5886
  var lastConfigHash = null;
5887
5887
  function setConfigHash(hash) {
5888
5888
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8181,4 +8181,4 @@ export {
8181
8181
  managerInstallSystemUnitCommand,
8182
8182
  managerUninstallSystemUnitCommand
8183
8183
  };
8184
- //# sourceMappingURL=chunk-PTJHDSJU.js.map
8184
+ //# sourceMappingURL=chunk-5F23HET3.js.map
@@ -7066,6 +7066,20 @@ var FLAG_REGISTRY = [
7066
7066
  // sensitive.
7067
7067
  public: true
7068
7068
  },
7069
+ {
7070
+ key: "integration-cap-enforcement",
7071
+ description: "Enforce the per-agent integration cap (ENG-7180 / ENG-7639). When ON for an org, adding an integration to an agent already at its plan cap (plans.max_integrations_per_agent, default 10) is refused with a 409 across all three attach paths (POST /integrations, the OAuth callback, and the GitHub App manifest-init), and GET /integrations/agent-cap reports at_limit so the webapp Add control blocks. When OFF (default) the cap is not enforced - an agent can add integrations without limit and agent-cap reports at_limit=false. Evaluated per-org API-side via getEvaluatedFlags; the authoritative BEFORE INSERT DB trigger was removed in ENG-7639, so the flag-gated app-level pre-flights are the sole enforcement point. Boolean gate; ships OFF (enforcement disabled) - flip ON per org from the admin Feature Flags page to re-arm the cap.",
7072
+ flagType: "boolean",
7073
+ // Declared safe value is `false` = NOT enforced. This is both the ENG-7639
7074
+ // intent (disable the cap for now) and the fail-safe direction for the route
7075
+ // read: a flag-DB error degrades to "don't enforce", so a flags outage never
7076
+ // blocks a customer's integration add. Flip on per org to re-arm enforcement.
7077
+ defaultValue: false,
7078
+ // Enforcement gate: leaving it OFF relaxes a plan-capacity control and turning
7079
+ // it ON blocks customer adds - either way it is a deliberate, audited decision,
7080
+ // so mutations require explicit confirmation (ADR-0022 §4).
7081
+ sensitive: true
7082
+ },
7069
7083
  {
7070
7084
  key: "augmented-live-stream-producer",
7071
7085
  description: "Augmented Live live-preview streaming producer (ENG-7210). The receiver (codec, artifact-draft channel, stream route, console Live Preview tab) shipped under ENG-6234 but never engages because nothing writes the working file the manager scanner watches. When ON for an org, a host-side PostToolUse hook mirrors agt-live.publish/editing content to ~/.augmented/{codeName}/artifacts/<slug>/index.html, so the scanner mints a draft and streams a keyframe to the console Live Preview tab. Additive, best-effort. Boolean gate; ships dark. Materialized to the host flags-cache; the bash hook reads it (operator/canary override AGT_LIVE_STREAM_PRODUCER_ENABLED).",
@@ -9416,4 +9430,4 @@ export {
9416
9430
  stopAllSessionsAndWait,
9417
9431
  getProjectDir
9418
9432
  };
9419
- //# sourceMappingURL=chunk-BNQPLUUB.js.map
9433
+ //# sourceMappingURL=chunk-IGADZDYT.js.map