@integrity-labs/agt-cli 0.28.297 → 0.28.299

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-VTSO7X7P.js";
41
+ } from "../chunk-V23GLSEX.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-QXU5FMXN.js";
70
+ } from "../chunk-KMJHNKPQ.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.297" : "dev";
4829
+ var cliVersion = true ? "0.28.299" : "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.297" : "dev";
5846
+ var cliVersion2 = true ? "0.28.299" : "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) => {
@@ -5064,7 +5064,10 @@ var INTEGRATION_REGISTRY = [
5064
5064
  note: "Billed per second of generated video; the rate depends on the resolution.",
5065
5065
  meters: [
5066
5066
  { event_type: "grok_imagine_video_1_5_480p", unit: "second" },
5067
- { event_type: "grok_imagine_video_1_5_720p", unit: "second" }
5067
+ { event_type: "grok_imagine_video_1_5_720p", unit: "second" },
5068
+ // 1080p is image-to-video only (xAI restriction); metered when the
5069
+ // agent supplies image_url (ENG-7675).
5070
+ { event_type: "grok_imagine_video_1_5_1080p", unit: "second" }
5068
5071
  ]
5069
5072
  }
5070
5073
  },
@@ -7537,6 +7540,41 @@ var FLAG_REGISTRY = [
7537
7540
  // safety control, so mutations require explicit confirmation.
7538
7541
  sensitive: true
7539
7542
  },
7543
+ {
7544
+ key: "composio-hitl-mode",
7545
+ description: "Composio managed-toolkits HITL gate (ENG-6027): off = kill switch, shadow = resolve + audit the tier decision but never block, enforce = block write_high_risk+ calls (routed to approval when hitl-approval-routing is on). Per-org rollout from the admin Feature Flags page; ENG-7672 migrated this off the fleet-wide COMPOSIO_HITL_MODE env var.",
7546
+ flagType: "enum",
7547
+ allowedValues: ["off", "shadow", "enforce"],
7548
+ // Declared safe value is `shadow` (resolve + audit, never block) — NOT `off`.
7549
+ // shadow keeps the control evaluating + producing enforce-flip evidence while
7550
+ // staying non-blocking, and matches the pre-flag compiled default so migrating
7551
+ // onto the flag (ENG-7672) preserves fleet behaviour. A flag-DB read error
7552
+ // degrades here. `enforce` is the deliberate, audited flip.
7553
+ defaultValue: "shadow",
7554
+ // Migration override (ADR-0022): the pre-flags env gate stays the
7555
+ // highest-precedence operator override. It is only injected onto the Lambdas
7556
+ // when an operator explicitly sets it (sst.config.ts) — otherwise this flag governs.
7557
+ envVar: "COMPOSIO_HITL_MODE",
7558
+ // enforce blocks prod tool calls, so weakening it (enforce → shadow/off) drops a
7559
+ // safety control — mutations require explicit confirmation.
7560
+ sensitive: true
7561
+ },
7562
+ {
7563
+ key: "hitl-approval-routing",
7564
+ description: "Routing for HITL-blocked integration calls (ENG-6028): off = blocked calls return the terminal block, on = route them into the approval-core flow (approval_requests row + Slack approval card). Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
7565
+ flagType: "enum",
7566
+ allowedValues: ["off", "on"],
7567
+ // Declared safe value is `off` (terminal block, no new side effects) — the
7568
+ // most-restrictive-known state, matching the pre-flag default. A flag-DB read
7569
+ // error degrades here.
7570
+ defaultValue: "off",
7571
+ // Migration override (ADR-0022): only injected onto the Lambdas when an operator
7572
+ // explicitly sets it (sst.config.ts) — otherwise this flag governs.
7573
+ envVar: "HITL_APPROVAL_ROUTING",
7574
+ // Turning routing on starts minting approval cards / approval_requests rows — an
7575
+ // egress + workflow change worth an explicit confirm.
7576
+ sensitive: true
7577
+ },
7540
7578
  {
7541
7579
  key: "slack-reply-binding",
7542
7580
  description: "Slack reply-target binding (ENG-7396 / WS2, cross-thread reply routing): the model names which inbound it answers (inbound_id) and the server resolves the destination from its own verified record. shadow = classify + count only, routing unchanged; warn = same routing plus a tool-result note so the model self-corrects; enforce = route a bound reply to the registry thread and REJECT a reply whose target matches no inbound this process delivered. The channel server can't evaluate flags, so the manager materializes the resolved value into the AGT_SLACK_REPLY_BINDING spawn env (the operator/canary override, ADR-0022). Ships shadow.",
@@ -9472,4 +9510,4 @@ export {
9472
9510
  stopAllSessionsAndWait,
9473
9511
  getProjectDir
9474
9512
  };
9475
- //# sourceMappingURL=chunk-QXU5FMXN.js.map
9513
+ //# sourceMappingURL=chunk-KMJHNKPQ.js.map