@integrity-labs/agt-cli 0.28.357 → 0.28.358

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,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-GAWEPU6C.js";
43
+ } from "../chunk-OUHANHOH.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -70,7 +70,7 @@ import {
70
70
  renderTemplate,
71
71
  resolveChannels,
72
72
  serializeManifestForSlackCli
73
- } from "../chunk-LDIKBFDR.js";
73
+ } from "../chunk-HTBXOXPI.js";
74
74
  import "../chunk-XWVM4KPK.js";
75
75
 
76
76
  // src/bin/agt.ts
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
4829
4829
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4830
4830
  import chalk18 from "chalk";
4831
4831
  import ora16 from "ora";
4832
- var cliVersion = true ? "0.28.357" : "dev";
4832
+ var cliVersion = true ? "0.28.358" : "dev";
4833
4833
  async function fetchLatestVersion() {
4834
4834
  const host2 = getHost();
4835
4835
  if (!host2) return null;
@@ -6001,7 +6001,7 @@ function handleError(err) {
6001
6001
  }
6002
6002
 
6003
6003
  // src/bin/agt.ts
6004
- var cliVersion2 = true ? "0.28.357" : "dev";
6004
+ var cliVersion2 = true ? "0.28.358" : "dev";
6005
6005
  var program = new Command();
6006
6006
  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");
6007
6007
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -8152,7 +8152,7 @@ var FLAG_REGISTRY = [
8152
8152
  },
8153
8153
  {
8154
8154
  key: "composio-hitl-mode",
8155
- 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.",
8155
+ 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 and route them to Human Approval (an Approve/Deny card). Since ENG-7828 enforce ALWAYS routes to a Human Approval card by default; set hitl-approval-routing=off to make enforce a hard block with no approval instead. Per-org rollout from the admin Feature Flags page; ENG-7672 migrated this off the fleet-wide COMPOSIO_HITL_MODE env var.",
8156
8156
  flagType: "enum",
8157
8157
  allowedValues: ["off", "shadow", "enforce"],
8158
8158
  // Declared safe value is `shadow` (resolve + audit, never block) — NOT `off`.
@@ -8171,18 +8171,23 @@ var FLAG_REGISTRY = [
8171
8171
  },
8172
8172
  {
8173
8173
  key: "hitl-approval-routing",
8174
- 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.",
8174
+ description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
8175
8175
  flagType: "enum",
8176
8176
  allowedValues: ["off", "on"],
8177
- // Declared safe value is `off` (terminal block, no new side effects) — the
8178
- // most-restrictive-known state, matching the pre-flag default. A flag-DB read
8179
- // error degrades here.
8180
- defaultValue: "off",
8177
+ // Steady-state default is `on` (ENG-7828): an org at composio-hitl-mode=enforce routes
8178
+ // blocked calls to a Human Approval card rather than dead-ending in prose. `off` is the
8179
+ // explicit operator kill switch (honest hard block, nothing executes) for "never send,
8180
+ // even with approval". NOTE the split from the DB-READ-ERROR fallback:
8181
+ // resolveHitlApprovalRoutingMode still degrades to `off` when it cannot READ the flag
8182
+ // (the conservative direction when the value is unknown), which is distinct from this
8183
+ // absent-override default of `on`. Either way the call is blocked; only card-vs-terminal
8184
+ // differs, so degrading to `off` never leaks a send.
8185
+ defaultValue: "on",
8181
8186
  // Migration override (ADR-0022): only injected onto the Lambdas when an operator
8182
8187
  // explicitly sets it (sst.config.ts) — otherwise this flag governs.
8183
8188
  envVar: "HITL_APPROVAL_ROUTING",
8184
- // Turning routing on starts minting approval cards / approval_requests rows — an
8185
- // egress + workflow change worth an explicit confirm.
8189
+ // Flipping this to `off` disables the Human Approval card for enforce-blocked calls
8190
+ // (hard block instead), a policy change worth an explicit confirm.
8186
8191
  sensitive: true
8187
8192
  },
8188
8193
  {
@@ -10172,4 +10177,4 @@ export {
10172
10177
  stopAllSessionsAndWait,
10173
10178
  getProjectDir
10174
10179
  };
10175
- //# sourceMappingURL=chunk-LDIKBFDR.js.map
10180
+ //# sourceMappingURL=chunk-HTBXOXPI.js.map