@integrity-labs/agt-cli 0.28.668 → 0.28.670

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 (26) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-52V5BMBC.js → chunk-5GDKWIB3.js} +39 -26
  3. package/dist/chunk-5GDKWIB3.js.map +1 -0
  4. package/dist/{chunk-4GA4K2BF.js → chunk-HGVJVYKW.js} +33 -22
  5. package/dist/chunk-HGVJVYKW.js.map +1 -0
  6. package/dist/{chunk-EQK5Q7ZL.js → chunk-Z4O42VGJ.js} +9 -4
  7. package/dist/chunk-Z4O42VGJ.js.map +1 -0
  8. package/dist/{claude-pair-runtime-SXEBKHYM.js → claude-pair-runtime-W6KBVHK4.js} +2 -2
  9. package/dist/lib/manager-worker.js +13 -13
  10. package/dist/lib/manager-worker.js.map +1 -1
  11. package/dist/mcp/direct-chat-channel.js +31 -20
  12. package/dist/mcp/index.js +31 -20
  13. package/dist/mcp/origami.js +31 -20
  14. package/dist/mcp/slack-channel.js +31 -20
  15. package/dist/mcp/telegram-channel.js +31 -20
  16. package/dist/{persistent-session-3OCFA42T.js → persistent-session-RZH67PNC.js} +3 -3
  17. package/dist/{responsiveness-probe-ZEKOULXD.js → responsiveness-probe-NPNMNOFF.js} +3 -3
  18. package/dist/{session-auth-dead-3QN24ELV.js → session-auth-dead-CFAYSZ43.js} +2 -2
  19. package/package.json +1 -1
  20. package/dist/chunk-4GA4K2BF.js.map +0 -1
  21. package/dist/chunk-52V5BMBC.js.map +0 -1
  22. package/dist/chunk-EQK5Q7ZL.js.map +0 -1
  23. /package/dist/{claude-pair-runtime-SXEBKHYM.js.map → claude-pair-runtime-W6KBVHK4.js.map} +0 -0
  24. /package/dist/{persistent-session-3OCFA42T.js.map → persistent-session-RZH67PNC.js.map} +0 -0
  25. /package/dist/{responsiveness-probe-ZEKOULXD.js.map → responsiveness-probe-NPNMNOFF.js.map} +0 -0
  26. /package/dist/{session-auth-dead-3QN24ELV.js.map → session-auth-dead-CFAYSZ43.js.map} +0 -0
@@ -297,7 +297,7 @@ is the failure this rule exists to stop.
297
297
  var ACTIVE_TASKS_MAX_CHARS = 800;
298
298
  var ACTIVE_TASKS_TRUNCATION_SUFFIX = "\u2026 (truncated)\n\n";
299
299
  function sanitizePromptText(value) {
300
- return value.replace(/[-]+/g, " ").replace(/\s+/g, " ").trim();
300
+ return value.replace(/[\u0000-\u001F\u007F]+/g, " ").replace(/\s+/g, " ").trim();
301
301
  }
302
302
  function buildActiveTasksSection(activeTasks) {
303
303
  if (!activeTasks || activeTasks.length === 0)
@@ -4982,29 +4982,40 @@ var FLAG_REGISTRY = [
4982
4982
  // write path, not a host's local environment file. One more reason not to
4983
4983
  // canary with it.
4984
4984
  envVar: "AGT_MEMORY_TOMBSTONES_ENABLED",
4985
- // Deliberately unreachable placeholder: the reader is not published yet.
4985
+ // Pinned to the first PUBLISHED agt-cli whose manager carries a WORKING
4986
+ // reader, verified against the tarball rather than inferred from the merge.
4987
+ // ENG-9229 + ENG-9257 merged as 91a67cb08, but auto-publish patch-bumps
4988
+ // from whatever is on main, so the merge does not name a version: a second
4989
+ // CLI-touching merge landed eight minutes later, and `latest` was already
4990
+ // past our cut by the time anyone looked. What settles it is
4991
+ // `npm pack @integrity-labs/agt-cli@<v>` + grep of
4992
+ // package/dist/lib/manager-worker.js (the manager is the actual reader; the
4993
+ // dist/mcp/* occurrences are bundling artifacts). 0.28.666 carries NONE of
4994
+ // `_memory-retirement`, `memory-file-tombstones`, `applyMemoryTombstones`,
4995
+ // `memory-retirement-report`; 0.28.667 carries all four.
4986
4996
  //
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.
4997
+ // ALL FOUR, because this has to name the first build where flipping the
4998
+ // flag does what the flag SAYS, not merely the first build with a reader:
4999
+ // the write-time manifest gate, the tombstone pass sitting above the
5000
+ // download short-circuit, the response hash covering the tombstone list,
5001
+ // and the report-back. Ship a build missing any of those and reach reports
5002
+ // `honors` for hosts that silently never act. Here they shipped in one
5003
+ // merge so they could not be split across versions - that is a property of
5004
+ // this cut, not a guarantee about the next one.
4994
5005
  //
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`.
5006
+ // MOVE THIS PIN whenever a change alters what arming the flag DOES on a
5007
+ // host, to the first version carrying the CHANGED behaviour, and verify
5008
+ // that one against the tarball too (apps/cli/package.json is not the
5009
+ // published number). See `tool-call-audit` above, where the pin was NOT
5010
+ // moved at such a merge and went stale for a day.
4998
5011
  //
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"
5012
+ // WHY THIS FIELD IS NEVER OMITTED, whatever it is set to. classifyHostReach
5013
+ // (packages/core/src/feature-flags/reach.ts) maps an empty `since` to
5014
+ // `honors` for EVERY host including ones with no reader at all, and maps an
5015
+ // unparseable one to `unknown` - which collides with the "host reports no
5016
+ // agt_version" class, so an operator cannot tell "not shipped yet" from
5017
+ // "these hosts are unreadable". Both outlive this particular version.
5018
+ since: "0.28.667"
5008
5019
  },
5009
5020
  {
5010
5021
  key: "conversation-eval-backend",
@@ -12421,4 +12432,4 @@ export {
12421
12432
  minutesSinceLocalMidnight,
12422
12433
  peekCurrentSession
12423
12434
  };
12424
- //# sourceMappingURL=chunk-4GA4K2BF.js.map
12435
+ //# sourceMappingURL=chunk-HGVJVYKW.js.map