@integrity-labs/agt-cli 0.28.666 → 0.28.668

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 (24) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-FYZOD3SS.js → chunk-4GA4K2BF.js} +57 -1
  3. package/dist/chunk-4GA4K2BF.js.map +1 -0
  4. package/dist/{chunk-EX5XJEGF.js → chunk-52V5BMBC.js} +2 -2
  5. package/dist/{chunk-P7UIFZQO.js → chunk-EQK5Q7ZL.js} +4 -4
  6. package/dist/{claude-pair-runtime-XSUQMCIQ.js → claude-pair-runtime-SXEBKHYM.js} +2 -2
  7. package/dist/lib/manager-worker.js +234 -24
  8. package/dist/lib/manager-worker.js.map +1 -1
  9. package/dist/mcp/direct-chat-channel.js +56 -0
  10. package/dist/mcp/index.js +56 -0
  11. package/dist/mcp/origami.js +56 -0
  12. package/dist/mcp/slack-channel.js +56 -0
  13. package/dist/mcp/telegram-channel.js +56 -0
  14. package/dist/{persistent-session-SQWO4TKG.js → persistent-session-3OCFA42T.js} +3 -3
  15. package/dist/{responsiveness-probe-RWMERSER.js → responsiveness-probe-ZEKOULXD.js} +3 -3
  16. package/dist/{session-auth-dead-OOWR5BPI.js → session-auth-dead-3QN24ELV.js} +2 -2
  17. package/package.json +1 -1
  18. package/dist/chunk-FYZOD3SS.js.map +0 -1
  19. /package/dist/{chunk-EX5XJEGF.js.map → chunk-52V5BMBC.js.map} +0 -0
  20. /package/dist/{chunk-P7UIFZQO.js.map → chunk-EQK5Q7ZL.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-XSUQMCIQ.js.map → claude-pair-runtime-SXEBKHYM.js.map} +0 -0
  22. /package/dist/{persistent-session-SQWO4TKG.js.map → persistent-session-3OCFA42T.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-RWMERSER.js.map → responsiveness-probe-ZEKOULXD.js.map} +0 -0
  24. /package/dist/{session-auth-dead-OOWR5BPI.js.map → session-auth-dead-3QN24ELV.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-P7UIFZQO.js";
43
+ } from "../chunk-EQK5Q7ZL.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-EX5XJEGF.js";
46
+ } from "../chunk-52V5BMBC.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-FYZOD3SS.js";
76
+ } from "../chunk-4GA4K2BF.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.666" : "dev";
4912
+ var cliVersion = true ? "0.28.668" : "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.666" : "dev";
6092
+ var cliVersion2 = true ? "0.28.668" : "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) => {
@@ -4950,6 +4950,62 @@ var FLAG_REGISTRY = [
4950
4950
  // first the real cut is higher than this and the pin under-reports.
4951
4951
  since: "0.28.570"
4952
4952
  },
4953
+ {
4954
+ key: "memory-file-tombstones",
4955
+ 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.",
4956
+ flagType: "boolean",
4957
+ // Declared safe value is `false` (remove nothing). Fail-safe direction: a
4958
+ // flag-DB read error must never start deleting files on customer-owned
4959
+ // hosts on its own. Note the asymmetry with a read-only gate — the blast
4960
+ // radius here is data on a machine we frequently cannot re-enter, which is
4961
+ // also why the first release MOVES files rather than unlinking them.
4962
+ defaultValue: false,
4963
+ // ADR-0022 §4: mutating this requires an explicit caller confirmation.
4964
+ //
4965
+ // Arming it DELETES FILES on customer-owned hosts. The registry already
4966
+ // marks `id-keyed-layout-migration` sensitive on the narrower basis that it
4967
+ // moves data, and `admin-send-keys` because it writes to a customer host;
4968
+ // this is the stronger case of both at once. Without it the flip is a single
4969
+ // unguarded write, which is the wrong ceremony for an irreversible action on
4970
+ // a machine we frequently cannot re-enter — the same fact the defaultValue
4971
+ // comment above already leans on.
4972
+ sensitive: true,
4973
+ // ADR-0022 operator override, read by the host flag store's env layer.
4974
+ //
4975
+ // ROLLOUT WARNING: an env override needs a manager RESTART to set or clear,
4976
+ // and masks the central flag while set (ENG-7409). So a per-host canary
4977
+ // pinned via env becomes a host the central kill switch cannot reach during
4978
+ // an incident. Canary centrally (per-agent overrides are delivered on the
4979
+ // heartbeat for every boolean flag) rather than with this.
4980
+ //
4981
+ // Note `sensitive` does NOT gate this env var — it guards the control-plane
4982
+ // write path, not a host's local environment file. One more reason not to
4983
+ // canary with it.
4984
+ envVar: "AGT_MEMORY_TOMBSTONES_ENABLED",
4985
+ // Deliberately unreachable placeholder: the reader is not published yet.
4986
+ //
4987
+ // It must be PARSEABLE and unreachable, not omitted and not garbage.
4988
+ // classifyHostReach (packages/core/src/feature-flags/reach.ts) maps an
4989
+ // empty `since` to `honors` for EVERY host including ones with no reader at
4990
+ // all, and maps an unparseable one to `unknown` — which collides with the
4991
+ // "host reports no agt_version" class, so an operator cannot tell "not
4992
+ // shipped yet" from "these hosts are unreadable". '99.99.99' classifies
4993
+ // every host `stale`, which is the honest pre-publication answer.
4994
+ //
4995
+ // Note '0.29.0' is used elsewhere for the same purpose but is weaker: it is
4996
+ // unreachable only by accident of auto-publish patch-bumping 0.28.x, so one
4997
+ // deliberate minor bump would silently reclassify the whole fleet `honors`.
4998
+ //
4999
+ // REPLACE IT AT THE **CLI** MERGE, not the API merge — `since` describes
5000
+ // what the HOST can act on — with the published tarball's version (verify
5001
+ // via `npm pack`; apps/cli/package.json is not the published number). And
5002
+ // it must name the first build where flipping the flag does what this flag
5003
+ // SAYS, not merely the first build with a reader: that means the manifest
5004
+ // gate, the tombstone pass sitting above the download short-circuit, and
5005
+ // the response hash covering the tombstone list. Ship a build missing any
5006
+ // of those and reach reports `honors` for hosts that silently never act.
5007
+ since: "99.99.99"
5008
+ },
4953
5009
  {
4954
5010
  key: "conversation-eval-backend",
4955
5011
  description: "Backend for host-side conversation-success scoring AND memory extraction (ENG-6581), which share one scorer: anthropic-api = Haiku via a direct Anthropic Messages API fetch (no subprocess); claude-p = Haiku via the `claude -p` subprocess (reuses the agent auth, effectively free under Max but a heavy spawn); local = an OpenAI-compatible loopback endpoint (transcript never leaves the host). Auth for the anthropic-api path comes from AGT_CONV_EVAL_ANTHROPIC_API_KEY (falls back to ANTHROPIC_API_KEY); with no key that path fails closed (eval disabled) rather than reverting to claude-p. Enum.",
@@ -12365,4 +12421,4 @@ export {
12365
12421
  minutesSinceLocalMidnight,
12366
12422
  peekCurrentSession
12367
12423
  };
12368
- //# sourceMappingURL=chunk-FYZOD3SS.js.map
12424
+ //# sourceMappingURL=chunk-4GA4K2BF.js.map