@integrity-labs/agt-cli 0.28.47 → 0.28.49

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-FON5YIFK.js";
40
+ } from "../chunk-UVKKX46F.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-ONG7KSRP.js";
67
+ } from "../chunk-MJKGJXKV.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.47" : "dev";
4780
+ var cliVersion = true ? "0.28.49" : "dev";
4781
4781
  async function fetchLatestVersion() {
4782
4782
  const host2 = getHost();
4783
4783
  if (!host2) return null;
@@ -5787,7 +5787,7 @@ function handleError(err) {
5787
5787
  }
5788
5788
 
5789
5789
  // src/bin/agt.ts
5790
- var cliVersion2 = true ? "0.28.47" : "dev";
5790
+ var cliVersion2 = true ? "0.28.49" : "dev";
5791
5791
  var program = new Command();
5792
5792
  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");
5793
5793
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -970,6 +970,16 @@ var FLAG_REGISTRY = [
970
970
  defaultValue: false,
971
971
  envVar: "AGT_CHANNEL_SKIP_REACTION_ENABLED"
972
972
  },
973
+ {
974
+ key: "channel-block-turn-end",
975
+ description: 'Block-turn-end / composed-but-unsent detector (ENG-6467, ADR-0024 Slice 2.5): closes the D1 silent-loss class where the agent composes a channel reply as plain turn text and ends the turn without calling the reply tool. When ON, the ghost-reply Stop hook returns {"decision":"block"} for an inbound it owes a reply to (a non-discretionary, non-undeliverable pending marker for the last channel tag, with no matching reply tool_use this turn) so the MODEL sends the reply itself \u2014 right thread, right content, no recovery mis-correlation (D2). Capped to one block per inbound via a per-marker ledger (NOT stop_hook_active, which is unverified across --resume); after one block it falls through to the existing recovery-outbox. Boolean gate; ships dark \u2014 canary per host (agt-aws-1) before any fleet flip. When OFF the hook behaves exactly as today (recovery only).',
976
+ flagType: "boolean",
977
+ defaultValue: false,
978
+ envVar: "AGT_CHANNEL_BLOCK_TURN_END_ENABLED",
979
+ // Gating turn-completion fleet-wide is a high-blast-radius capability change;
980
+ // flipping it (esp. beyond the canary host) is worth an explicit confirm.
981
+ sensitive: true
982
+ },
973
983
  {
974
984
  key: "agent-restart-approval",
975
985
  description: "Route an agent's self-restart request (ENG-6373) through HITL approval to its Manager instead of the local-confirm + flag fast path. Idle requests auto-approve + notify; requests with active in-flight work page the Manager. Boolean gate; ships dark. When OFF the request_restart tool falls back to the legacy local-flag behaviour.",
@@ -1010,6 +1020,20 @@ var FLAG_REGISTRY = [
1010
1020
  // AGT_RESUME_RECONCILER_ENABLED set keeps that value until the env is retired.
1011
1021
  envVar: "AGT_RESUME_RECONCILER_ENABLED"
1012
1022
  },
1023
+ {
1024
+ key: "memory-extraction",
1025
+ description: "Host-side durable-memory extraction (ENG-6200): the manager extracts candidate memories from completed conversations and POSTs them to /host/memories/candidates, which writes dream_log via promoteCandidates. Post persistent-session cutover this is the ONLY live consolidation path. Boolean gate; ships dark \u2014 when off the manager runs no extraction, so 0 dream_log rows fleet-wide is the expected steady state until it is armed.",
1026
+ flagType: "boolean",
1027
+ // Declared safe value is `false` (no extraction). Fail-safe direction: a
1028
+ // flag-DB read error must never start sending candidate memories across the
1029
+ // host→control-plane boundary on its own. Flip on per-host for the canary,
1030
+ // then fleet-wide from the admin Feature Flags page.
1031
+ defaultValue: false,
1032
+ // Migration override (ADR-0022): the pre-flags env gate stays the
1033
+ // highest-precedence operator override so a host already running with
1034
+ // AGT_MEMORY_EXTRACTION_ENABLED set keeps that value until the env is retired.
1035
+ envVar: "AGT_MEMORY_EXTRACTION_ENABLED"
1036
+ },
1013
1037
  {
1014
1038
  key: "channel-quarantine-mode",
1015
1039
  description: "Optional-channel quarantine (ENG-5932): off = disabled, shadow = log matches only, enforce = quarantine.",
@@ -5446,4 +5470,4 @@ export {
5446
5470
  parseEnvIntegrations,
5447
5471
  probeMcpEnvSubstitution
5448
5472
  };
5449
- //# sourceMappingURL=chunk-ONG7KSRP.js.map
5473
+ //# sourceMappingURL=chunk-MJKGJXKV.js.map