@integrity-labs/agt-cli 0.28.503 → 0.28.505

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-GR375XXG.js";
43
+ } from "../chunk-3SKLJE7C.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -71,7 +71,7 @@ import {
71
71
  requiredMcpWildcard,
72
72
  resolveChannels,
73
73
  serializeManifestForSlackCli
74
- } from "../chunk-GBSMIV4P.js";
74
+ } from "../chunk-3BRI7LJZ.js";
75
75
  import "../chunk-XWVM4KPK.js";
76
76
 
77
77
  // src/bin/agt.ts
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
4830
4830
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4831
4831
  import chalk18 from "chalk";
4832
4832
  import ora16 from "ora";
4833
- var cliVersion = true ? "0.28.503" : "dev";
4833
+ var cliVersion = true ? "0.28.505" : "dev";
4834
4834
  async function fetchLatestVersion() {
4835
4835
  const host2 = getHost();
4836
4836
  if (!host2) return null;
@@ -6002,7 +6002,7 @@ function handleError(err) {
6002
6002
  }
6003
6003
 
6004
6004
  // src/bin/agt.ts
6005
- var cliVersion2 = true ? "0.28.503" : "dev";
6005
+ var cliVersion2 = true ? "0.28.505" : "dev";
6006
6006
  var program = new Command();
6007
6007
  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");
6008
6008
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4977,7 +4977,36 @@ var OAUTH_PROVIDERS = {
4977
4977
  // products/commerce/analytics per CS-1427). Best-effort + idempotent: an
4978
4978
  // unknown/unscoped name is logged and skipped by the proxy, and the
4979
4979
  // toolAllowlist above still caps what is actually callable.
4980
- preEnableToolsets: ["courses", "products", "commerce", "analytics", "pages", "themes"]
4980
+ //
4981
+ // ENG-8392: `contacts` + `emails` were missing, so thirteen allowlisted
4982
+ // tools were unreachable by construction — list_tags, create_tag,
4983
+ // tag_contact, untag_contact, list_segments, create_segment,
4984
+ // update_segment (contacts) and list_broadcasts, get_broadcast,
4985
+ // create_broadcast, list_sequences, get_sequence, create_sequence
4986
+ // (emails). A customer agent was blocked on exactly those.
4987
+ //
4988
+ // These two ids are Kajabi's OWN spelling, not ours: the server names the
4989
+ // toolset in its rejection, e.g. `list_tags` returns
4990
+ // "The 'contacts' toolset is not active. Call enable_toolset with
4991
+ // name: 'contacts' to activate it first."
4992
+ // and `list_sequences` returns the same with 'emails'. Sourced that way
4993
+ // deliberately — a wrong id here is logged and SKIPPED by the proxy, so a
4994
+ // guess would look applied and change nothing.
4995
+ //
4996
+ // Why this went unnoticed for four rounds: `get_contacts_analytics` lives
4997
+ // in the `analytics` group, which we already pre-enable. So the contacts
4998
+ // family read as partly alive (you could see a site's contact count and
4999
+ // growth curve) while every tag and segment call failed.
5000
+ preEnableToolsets: [
5001
+ "courses",
5002
+ "products",
5003
+ "commerce",
5004
+ "analytics",
5005
+ "pages",
5006
+ "themes",
5007
+ "contacts",
5008
+ "emails"
5009
+ ]
4981
5010
  },
4982
5011
  "notion-cli": {
4983
5012
  // Notion's public OAuth app. Tokens are workspace-scoped and long-lived —
@@ -9961,6 +9990,23 @@ var FLAG_REGISTRY = [
9961
9990
  // safety control, so mutations require explicit confirmation.
9962
9991
  sensitive: true
9963
9992
  },
9993
+ {
9994
+ key: "docker-hygiene",
9995
+ description: "Manager-side docker hygiene on Docker-isolated hosts (ENG-8401): off = no-op, reap-superseded = after a successful agt-runtime retag, remove the prior untagged agt-runtime images that retag orphaned (Layer 1), full = reap-superseded plus a daily dangling-only image+builder prune (Layer 2). agt-runtime:latest and the just-pulled image are never removed and -a/--volumes are never used. Read host-side via hostFlagStore (getString); ships dark.",
9996
+ flagType: "enum",
9997
+ allowedValues: ["off", "reap-superseded", "full"],
9998
+ // Declared safe value is `off`: this flag introduces NEW janitorial behaviour
9999
+ // (the pre-flag compiled behaviour is "never reap"), so off preserves fleet
10000
+ // behaviour on rollout. Not `sensitive` — weakening it (full → off) only stops
10001
+ // cleanup; it relaxes no safety/enforcement control. No envVar by design: this
10002
+ // gate is flag-managed only, with no operator env override.
10003
+ defaultValue: "off",
10004
+ // New host-side reader (ENG-8401): its consumer lands in the agt-cli build
10005
+ // this PR publishes (auto-publish patch-bumps from npm's current 0.28.503 →
10006
+ // 0.28.504), so a flip only takes effect on hosts running >= that version.
10007
+ // Best-effort reach estimate only; not part of the schema fingerprint.
10008
+ since: "0.28.504"
10009
+ },
9964
10010
  {
9965
10011
  key: "composio-hitl-mode",
9966
10012
  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.",
@@ -14778,4 +14824,4 @@ export {
14778
14824
  stopAllSessionsAndWait,
14779
14825
  getProjectDir
14780
14826
  };
14781
- //# sourceMappingURL=chunk-GBSMIV4P.js.map
14827
+ //# sourceMappingURL=chunk-3BRI7LJZ.js.map