@integrity-labs/agt-cli 0.28.690 → 0.28.692

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.
Files changed (25) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-2GNXBVWJ.js → chunk-7K2I4LJZ.js} +12 -25
  3. package/dist/chunk-7K2I4LJZ.js.map +1 -0
  4. package/dist/{chunk-KNGLJ5PP.js → chunk-ITB6NEXM.js} +430 -628
  5. package/dist/chunk-ITB6NEXM.js.map +1 -0
  6. package/dist/{chunk-XF2B7JHC.js → chunk-WHW747J3.js} +2 -2
  7. package/dist/{claude-pair-runtime-PDOGREOQ.js → claude-pair-runtime-ENI5O3JA.js} +2 -2
  8. package/dist/lib/manager-worker.js +13 -15
  9. package/dist/lib/manager-worker.js.map +1 -1
  10. package/dist/mcp/direct-chat-channel.js +11 -24
  11. package/dist/mcp/index.js +65 -26
  12. package/dist/mcp/origami.js +11 -24
  13. package/dist/mcp/slack-channel.js +11 -24
  14. package/dist/mcp/telegram-channel.js +11 -24
  15. package/dist/{persistent-session-LVBNKFMF.js → persistent-session-42FL5BEW.js} +3 -3
  16. package/dist/{responsiveness-probe-T52RFYK3.js → responsiveness-probe-RG2SD7HX.js} +3 -3
  17. package/dist/{session-auth-dead-MV6C7TBH.js → session-auth-dead-SHLP7FRQ.js} +2 -2
  18. package/package.json +1 -1
  19. package/dist/chunk-2GNXBVWJ.js.map +0 -1
  20. package/dist/chunk-KNGLJ5PP.js.map +0 -1
  21. /package/dist/{chunk-XF2B7JHC.js.map → chunk-WHW747J3.js.map} +0 -0
  22. /package/dist/{claude-pair-runtime-PDOGREOQ.js.map → claude-pair-runtime-ENI5O3JA.js.map} +0 -0
  23. /package/dist/{persistent-session-LVBNKFMF.js.map → persistent-session-42FL5BEW.js.map} +0 -0
  24. /package/dist/{responsiveness-probe-T52RFYK3.js.map → responsiveness-probe-RG2SD7HX.js.map} +0 -0
  25. /package/dist/{session-auth-dead-MV6C7TBH.js.map → session-auth-dead-SHLP7FRQ.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-KNGLJ5PP.js";
43
+ } from "../chunk-ITB6NEXM.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-XF2B7JHC.js";
46
+ } from "../chunk-WHW747J3.js";
47
47
  import {
48
48
  AnchorSessionClient,
49
49
  CHANNEL_REGISTRY,
@@ -73,7 +73,7 @@ import {
73
73
  requiredMcpWildcard,
74
74
  resolveChannels,
75
75
  serializeManifestForSlackCli
76
- } from "../chunk-2GNXBVWJ.js";
76
+ } from "../chunk-7K2I4LJZ.js";
77
77
  import "../chunk-XWVM4KPK.js";
78
78
 
79
79
  // src/bin/agt.ts
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
4909
4909
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4910
4910
  import chalk18 from "chalk";
4911
4911
  import ora16 from "ora";
4912
- var cliVersion = true ? "0.28.690" : "dev";
4912
+ var cliVersion = true ? "0.28.692" : "dev";
4913
4913
  async function fetchLatestVersion() {
4914
4914
  const host2 = getHost();
4915
4915
  if (!host2) return null;
@@ -6089,7 +6089,7 @@ function handleError(err) {
6089
6089
  }
6090
6090
 
6091
6091
  // src/bin/agt.ts
6092
- var cliVersion2 = true ? "0.28.690" : "dev";
6092
+ var cliVersion2 = true ? "0.28.692" : "dev";
6093
6093
  var program = new Command();
6094
6094
  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");
6095
6095
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4969,30 +4969,17 @@ var FLAG_REGISTRY = [
4969
4969
  // first the real cut is higher than this and the pin under-reports.
4970
4970
  since: "0.28.570"
4971
4971
  },
4972
- {
4973
- key: "secret-files-tmpfs",
4974
- description: "Host-side RAM-backing of the per-agent .env.integrations secret files (ENG-9348, epic ENG-9347). When on, the manager turns both copies (the agent-dir file and the project/ mirror) into symlinks pointing at a 0700 per-agent directory under tmpfs (/dev/shm, else /run), so plaintext channel/integration tokens live only in RAM: the persistent EBS volume holds a symlink (no token bytes), an EBS snapshot captures nothing, and a host shutdown is a genuine wipe. Every consumer path is unchanged (same file paths). Boolean gate; ships dark. Fail-safe in every direction \u2014 off is byte-for-byte today; a host with no genuine tmpfs root (e.g. macOS dev) silently keeps the persistent files; a symlink-setup error logs and falls back to the persistent path. Reboot clears tmpfs, and the manager re-backs on its next refresh (surviving reboot is not required \u2014 secrets are re-fetched on refresh).",
4975
- flagType: "boolean",
4976
- // Declared safe value is `false` (persistent files, today's behaviour).
4977
- // Fail-safe direction: a flag-DB read error must never, on its own, start
4978
- // relocating where prod secret files physically live. Flip on per-host for a
4979
- // canary, verify no plaintext lands on the persistent volume, then fleet-wide
4980
- // from the admin Feature Flags page.
4981
- defaultValue: false,
4982
- // ADR-0022 operator override, read by the host flag store's env layer (not a
4983
- // hand-written process.env gate) — same posture as memory-extraction /
4984
- // tool-call-audit above. Gives a per-host canary before the DB flag exists.
4985
- envVar: "AGT_SECRET_FILES_TMPFS_ENABLED",
4986
- // The real published build that carries the manager reader + core writer,
4987
- // replacing the deliberately-unreachable `99.0.0` this flag shipped with.
4988
- // Verified against the tarball (`npm pack @integrity-labs/agt-cli@0.28.678`):
4989
- // `setSecretFileTmpfsBacking` is present in package/dist/lib/manager-worker.js
4990
- // and the `secret-files-tmpfs` key ships in the bundle. Auto-publish patch-
4991
- // bumps from main, so if a CLI-touching PR landed between the ENG-9348 merge
4992
- // and this one the real cut is higher than 0.28.678 and reach under-reports;
4993
- // re-verify before flipping the flag on for a canary (ENG-8575/ENG-9350).
4994
- since: "0.28.678"
4995
- },
4972
+ // ENG-9348 RETIRED (2026-08-24): the `secret-files-tmpfs` flag and its whole
4973
+ // tmpfs-backing implementation are removed after TWO prod outages. Symlinking
4974
+ // `.env.integrations` into /dev/shm raced the agent wrapper's `set -e; source
4975
+ // .env.integrations` (a symlink observed before its target existed → crashloop);
4976
+ // the seed-before-symlink fix (PR #4960) proved insufficient (a flag-read flap
4977
+ // let the destructive disable-revert re-open the window). Approach abandoned in
4978
+ // favour of the spawn-env path (ENG-9350, which never writes the file at all)
4979
+ // plus disk shred (ENG-9349). Removing the flag makes a third outage impossible.
4980
+ // Any lingering feature_flag_overrides rows for this key are inert (no reader);
4981
+ // clear them out-of-band if desired.
4982
+ // flag-archive-allow: secret-files-tmpfs retired after two prod outages feature removed, no manager reader remains
4996
4983
  {
4997
4984
  key: "memory-file-tombstones",
4998
4985
  description: "Host-side removal of RETIRED agent memory files (ENG-9257). The control plane sends an explicit tombstone list on /host/memories and the manager moves the matching .md out of the agent's memory directory \u2014 but only when its write-time manifest says the manager itself wrote that exact file and the sha256 still matches, so an agent-edited or hand-authored file is retained and reported instead. Boolean gate; ships dark. Scope is retirement only, never expiry: /host/memories has always withheld expired rows, so an expiry-driven list would make months of accumulated backlog deletable on the first armed tick. This is the ONLY thing that makes retirement visible to the agent, which reads its memory directory straight off disk \u2014 every server-side reader already excludes retired rows, so with this off a retired memory is gone everywhere except the one surface that changes the agent's behaviour.",
@@ -12625,4 +12612,4 @@ export {
12625
12612
  minutesSinceLocalMidnight,
12626
12613
  peekCurrentSession
12627
12614
  };
12628
- //# sourceMappingURL=chunk-2GNXBVWJ.js.map
12615
+ //# sourceMappingURL=chunk-7K2I4LJZ.js.map