@integrity-labs/agt-cli 0.28.1208 → 0.28.1210

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 (29) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-Y26MLRXC.js → chunk-6TXC2YC3.js} +2 -2
  3. package/dist/{chunk-OU5XSJJX.js → chunk-EOMFINJP.js} +5 -5
  4. package/dist/{chunk-R4EJS4TN.js → chunk-JM4J6GYJ.js} +18 -1
  5. package/dist/chunk-JM4J6GYJ.js.map +1 -0
  6. package/dist/{chunk-D565LL6O.js → chunk-PTWO2LSN.js} +2 -2
  7. package/dist/{chunk-POD2ZTMG.js → chunk-REX6HMS6.js} +3 -3
  8. package/dist/{claude-code-updater-P6ZC52QN.js → claude-code-updater-RC3TT5TZ.js} +3 -3
  9. package/dist/{claude-pair-runtime-4O5GIY7X.js → claude-pair-runtime-OVWGDMWK.js} +3 -3
  10. package/dist/lib/manager-worker.js +19 -19
  11. package/dist/mcp/direct-chat-channel.js +52 -35
  12. package/dist/mcp/index.js +39 -22
  13. package/dist/mcp/origami.js +39 -22
  14. package/dist/mcp/slack-channel.js +202 -22
  15. package/dist/mcp/telegram-channel.js +39 -22
  16. package/dist/{persistent-session-IXSNL2L3.js → persistent-session-UJBNO5IF.js} +4 -4
  17. package/dist/{responsiveness-probe-6WBSEIIK.js → responsiveness-probe-6BELVQ42.js} +4 -4
  18. package/dist/{session-auth-dead-M6XDFGDM.js → session-auth-dead-RLOWHZ3T.js} +3 -3
  19. package/package.json +1 -1
  20. package/dist/chunk-R4EJS4TN.js.map +0 -1
  21. /package/dist/{chunk-Y26MLRXC.js.map → chunk-6TXC2YC3.js.map} +0 -0
  22. /package/dist/{chunk-OU5XSJJX.js.map → chunk-EOMFINJP.js.map} +0 -0
  23. /package/dist/{chunk-D565LL6O.js.map → chunk-PTWO2LSN.js.map} +0 -0
  24. /package/dist/{chunk-POD2ZTMG.js.map → chunk-REX6HMS6.js.map} +0 -0
  25. /package/dist/{claude-code-updater-P6ZC52QN.js.map → claude-code-updater-RC3TT5TZ.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-4O5GIY7X.js.map → claude-pair-runtime-OVWGDMWK.js.map} +0 -0
  27. /package/dist/{persistent-session-IXSNL2L3.js.map → persistent-session-UJBNO5IF.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-6WBSEIIK.js.map → responsiveness-probe-6BELVQ42.js.map} +0 -0
  29. /package/dist/{session-auth-dead-M6XDFGDM.js.map → session-auth-dead-RLOWHZ3T.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XWVM4KPK.js";
5
5
  import {
6
6
  FORCED_UPDATE_HARD_DEADLINE_MS
7
- } from "./chunk-R4EJS4TN.js";
7
+ } from "./chunk-JM4J6GYJ.js";
8
8
  import {
9
9
  effectiveClaudeJsonPath
10
10
  } from "./chunk-AIUIMEUS.js";
@@ -722,4 +722,4 @@ export {
722
722
  probeClaudeInstalls,
723
723
  maybeUpdateClaudeCode
724
724
  };
725
- //# sourceMappingURL=chunk-D565LL6O.js.map
725
+ //# sourceMappingURL=chunk-PTWO2LSN.js.map
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-Y26MLRXC.js";
7
+ } from "./chunk-6TXC2YC3.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -51,7 +51,7 @@ import {
51
51
  remoteMcpConnectionEnvInfix,
52
52
  remoteMcpConnectionLabel,
53
53
  remoteMcpConnectionScopedEnvVar
54
- } from "./chunk-R4EJS4TN.js";
54
+ } from "./chunk-JM4J6GYJ.js";
55
55
  import {
56
56
  CLAUDE_CONFIG_DIR_ENV,
57
57
  approveApiKeyInClaudeConfig,
@@ -6173,4 +6173,4 @@ export {
6173
6173
  stopAllSessionsAndWait,
6174
6174
  getProjectDir
6175
6175
  };
6176
- //# sourceMappingURL=chunk-POD2ZTMG.js.map
6176
+ //# sourceMappingURL=chunk-REX6HMS6.js.map
@@ -13,9 +13,9 @@ import {
13
13
  probeClaudeInstalls,
14
14
  readsAsNativeInstall,
15
15
  shouldRunClaudeCodeUpdater
16
- } from "./chunk-D565LL6O.js";
16
+ } from "./chunk-PTWO2LSN.js";
17
17
  import "./chunk-XWVM4KPK.js";
18
- import "./chunk-R4EJS4TN.js";
18
+ import "./chunk-JM4J6GYJ.js";
19
19
  import "./chunk-AIUIMEUS.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
@@ -34,4 +34,4 @@ export {
34
34
  readsAsNativeInstall,
35
35
  shouldRunClaudeCodeUpdater
36
36
  };
37
- //# sourceMappingURL=claude-code-updater-P6ZC52QN.js.map
37
+ //# sourceMappingURL=claude-code-updater-RC3TT5TZ.js.map
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  redactPaneFrame,
10
10
  sanitizeTerminalFrame
11
- } from "./chunk-R4EJS4TN.js";
11
+ } from "./chunk-JM4J6GYJ.js";
12
12
  import {
13
13
  CLAUDE_CONFIG_DIR_ENV,
14
14
  claudeConfigDirFor,
@@ -321,7 +321,7 @@ async function spawnPairSession(session) {
321
321
  return { ok: true };
322
322
  } catch {
323
323
  }
324
- const { resolveClaudeBinary } = await import("./persistent-session-IXSNL2L3.js");
324
+ const { resolveClaudeBinary } = await import("./persistent-session-UJBNO5IF.js");
325
325
  const claudeBin = resolveClaudeBinary();
326
326
  const pairEnv = {
327
327
  ...process.env,
@@ -836,4 +836,4 @@ export {
836
836
  startClaudePair,
837
837
  submitClaudePairCode
838
838
  };
839
- //# sourceMappingURL=claude-pair-runtime-4O5GIY7X.js.map
839
+ //# sourceMappingURL=claude-pair-runtime-OVWGDMWK.js.map
@@ -85,7 +85,7 @@ import {
85
85
  tripClass,
86
86
  writeEtcEnvironment,
87
87
  writeProfileDScript
88
- } from "../chunk-OU5XSJJX.js";
88
+ } from "../chunk-EOMFINJP.js";
89
89
  import {
90
90
  CLAUDE_CODE_SECURITY_FLOOR,
91
91
  SELF_UPDATE_TIMEOUTS,
@@ -99,7 +99,7 @@ import {
99
99
  runSafeCleanup,
100
100
  tightestDiskStat,
101
101
  withPackageCacheLock
102
- } from "../chunk-D565LL6O.js";
102
+ } from "../chunk-PTWO2LSN.js";
103
103
  import {
104
104
  rewriteSupervisorApiKey,
105
105
  supervisorChannelsRefusing
@@ -192,7 +192,7 @@ import {
192
192
  webFetchBaselineValue,
193
193
  webFetchRestartNeeded,
194
194
  writeEgressAllowlist
195
- } from "../chunk-POD2ZTMG.js";
195
+ } from "../chunk-REX6HMS6.js";
196
196
  import {
197
197
  isAgentIdle,
198
198
  isStaleForToday,
@@ -202,7 +202,7 @@ import {
202
202
  sessionTranscriptDir,
203
203
  subagentActivityAgeSeconds,
204
204
  transcriptActivityAgeSeconds
205
- } from "../chunk-Y26MLRXC.js";
205
+ } from "../chunk-6TXC2YC3.js";
206
206
  import {
207
207
  classifyUnanswerablePane,
208
208
  focusedConfirmDialogBlock,
@@ -330,7 +330,7 @@ import {
330
330
  stabiliseResetInstant,
331
331
  sumTranscriptUsageInWindow,
332
332
  summarizeTranscriptActivity
333
- } from "../chunk-R4EJS4TN.js";
333
+ } from "../chunk-JM4J6GYJ.js";
334
334
  import {
335
335
  CLAUDE_CONFIG_DIR_ENV,
336
336
  claudeConfigDirFor,
@@ -15650,7 +15650,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
15650
15650
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
15651
15651
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
15652
15652
  async function channelInboundActivityAgeSecondsFor(codeName) {
15653
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-6WBSEIIK.js");
15653
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-6BELVQ42.js");
15654
15654
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
15655
15655
  if (newest === null) return null;
15656
15656
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -16447,7 +16447,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
16447
16447
  var lastVersionCheckAt = 0;
16448
16448
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
16449
16449
  var lastResponsivenessProbeAt = 0;
16450
- var agtCliVersion = true ? "0.28.1208" : "dev";
16450
+ var agtCliVersion = true ? "0.28.1210" : "dev";
16451
16451
  function resolveBrewPath(execFileSync3) {
16452
16452
  try {
16453
16453
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -18351,7 +18351,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
18351
18351
  if (codeNames.length === 0) return;
18352
18352
  void (async () => {
18353
18353
  try {
18354
- const { collectDiagnostics } = await import("../persistent-session-IXSNL2L3.js");
18354
+ const { collectDiagnostics } = await import("../persistent-session-UJBNO5IF.js");
18355
18355
  await api.post("/host/heartbeat", {
18356
18356
  host_id: hostId,
18357
18357
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -18494,7 +18494,7 @@ async function pollCycleInner() {
18494
18494
  }
18495
18495
  try {
18496
18496
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
18497
- const { collectDiagnostics } = await import("../persistent-session-IXSNL2L3.js");
18497
+ const { collectDiagnostics } = await import("../persistent-session-UJBNO5IF.js");
18498
18498
  const diagCodeNames = [...agentState.persistentSessionAgents];
18499
18499
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
18500
18500
  let tailscaleHostname;
@@ -18752,7 +18752,7 @@ async function pollCycleInner() {
18752
18752
  }
18753
18753
  try {
18754
18754
  const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
18755
- const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-P6ZC52QN.js");
18755
+ const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-RC3TT5TZ.js");
18756
18756
  const securityFloor = currentSecurityFloor();
18757
18757
  claudeUpdaterInFlight = true;
18758
18758
  if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
@@ -18787,7 +18787,7 @@ async function pollCycleInner() {
18787
18787
  collectPanelessActivityProbes,
18788
18788
  getResponsivenessIntervalMs,
18789
18789
  occupancyQualificationClassifications
18790
- } = await import("../responsiveness-probe-6WBSEIIK.js");
18790
+ } = await import("../responsiveness-probe-6BELVQ42.js");
18791
18791
  const probeIntervalMs = getResponsivenessIntervalMs();
18792
18792
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
18793
18793
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -18904,7 +18904,7 @@ async function pollCycleInner() {
18904
18904
  collectResponsivenessProbes,
18905
18905
  livePendingInboundOldestAgeSeconds,
18906
18906
  parkPendingInbound
18907
- } = await import("../responsiveness-probe-6WBSEIIK.js");
18907
+ } = await import("../responsiveness-probe-6BELVQ42.js");
18908
18908
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
18909
18909
  const wedgeNow = /* @__PURE__ */ new Date();
18910
18910
  const liveAgents = agentState.persistentSessionAgents;
@@ -19190,7 +19190,7 @@ async function pollCycleInner() {
19190
19190
  }
19191
19191
  }
19192
19192
  );
19193
- const { parkPendingInbound } = await import("../responsiveness-probe-6WBSEIIK.js");
19193
+ const { parkPendingInbound } = await import("../responsiveness-probe-6BELVQ42.js");
19194
19194
  const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
19195
19195
  paneFatalStreak.delete(codeName);
19196
19196
  paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
@@ -19221,7 +19221,7 @@ async function pollCycleInner() {
19221
19221
  TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
19222
19222
  bindSourceEscalations
19223
19223
  } = await import("../transcript-mount-health-OHE6IVJV.js");
19224
- const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-IXSNL2L3.js");
19224
+ const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-UJBNO5IF.js");
19225
19225
  const mountConfig = resolveTranscriptMountConfig();
19226
19226
  const liveAgents = agentState.persistentSessionAgents;
19227
19227
  for (const tracked of [
@@ -19386,7 +19386,7 @@ async function pollCycleInner() {
19386
19386
  }
19387
19387
  try {
19388
19388
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
19389
- const { probeSessionAuth } = await import("../session-auth-dead-M6XDFGDM.js");
19389
+ const { probeSessionAuth } = await import("../session-auth-dead-RLOWHZ3T.js");
19390
19390
  const observations = [];
19391
19391
  const pendingCacheCommits = [];
19392
19392
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -24116,7 +24116,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
24116
24116
  try {
24117
24117
  const freshId = rotateSessionForWedge(codeName);
24118
24118
  consecutiveWedgeCycles.delete(codeName);
24119
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-6WBSEIIK.js");
24119
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-6BELVQ42.js");
24120
24120
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
24121
24121
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
24122
24122
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -24159,7 +24159,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
24159
24159
  void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
24160
24160
  void (async () => {
24161
24161
  try {
24162
- const { collectDiagnostics } = await import("../persistent-session-IXSNL2L3.js");
24162
+ const { collectDiagnostics } = await import("../persistent-session-UJBNO5IF.js");
24163
24163
  await api.post("/host/heartbeat", {
24164
24164
  host_id: hostId,
24165
24165
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -24210,7 +24210,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
24210
24210
  }
24211
24211
  try {
24212
24212
  const hostId = await getHostId();
24213
- const { collectDiagnostics } = await import("../persistent-session-IXSNL2L3.js");
24213
+ const { collectDiagnostics } = await import("../persistent-session-UJBNO5IF.js");
24214
24214
  await api.post("/host/heartbeat", {
24215
24215
  host_id: hostId,
24216
24216
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -24912,7 +24912,7 @@ async function processClaudePairSessions(agents) {
24912
24912
  snapshotPairConfig,
24913
24913
  // ENG-11659: result -> report body + the manager.log line that records it.
24914
24914
  planPairStartReport
24915
- } = await import("../claude-pair-runtime-4O5GIY7X.js");
24915
+ } = await import("../claude-pair-runtime-OVWGDMWK.js");
24916
24916
  const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
24917
24917
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
24918
24918
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
@@ -39214,41 +39214,6 @@ function linkOpenerScript(frameId) {
39214
39214
  }
39215
39215
  var WRAPPER_LINK_OPENER = linkOpenerScript("al-doc");
39216
39216
 
39217
- // ../core/dist/integrations/augmented-live/publisher.js
39218
- var PRESENTER_CHROME_SELECTORS = "#al-download, #al-vis, .al-launcher, .al-stats-btn, .al-edit-btn";
39219
- var presenterChromeCss = `
39220
- /* ENG-9516: presenter mode. */
39221
- ${PRESENTER_CHROME_SELECTORS}{transition:opacity .25s ease,visibility .25s ease}
39222
- html[data-al-chrome="hidden"] :is(${PRESENTER_CHROME_SELECTORS}),
39223
- html[data-al-idle="1"] :is(${PRESENTER_CHROME_SELECTORS}){
39224
- opacity:0;visibility:hidden;pointer-events:none}
39225
- /* A shortcut nobody knows about does not exist (ENG-9516). Shown once per browser,
39226
- on pointer-fine devices only, and dismissed by any use of the key. */
39227
- #al-chrome-hint{position:fixed;left:50%;top:18px;transform:translateX(-50%);
39228
- z-index:2147483646;font-family:system-ui,-apple-system,sans-serif;font-size:12.5px;
39229
- font-weight:600;color:#fff;background:rgba(11,16,32,.86);padding:.4rem .8rem;
39230
- border-radius:999px;box-shadow:0 2px 10px rgba(0,0,0,.25);
39231
- opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}
39232
- #al-chrome-hint[data-show="1"]{opacity:1;visibility:visible}
39233
- #al-chrome-hint kbd{font:inherit;background:rgba(255,255,255,.18);
39234
- border-radius:4px;padding:0 .3rem;margin:0 .1rem}
39235
- @media (prefers-reduced-motion:reduce){
39236
- ${PRESENTER_CHROME_SELECTORS},#al-chrome-hint{transition:none}
39237
- }`;
39238
- var AL_PANEL_WIDTH_PX = 420;
39239
- var AL_MIN_CANVAS_PX = 320;
39240
- var AL_SPLIT_MIN_VIEWPORT_PX = AL_PANEL_WIDTH_PX + AL_MIN_CANVAS_PX;
39241
- var DECK_HUD_BOTTOM_PX = 20;
39242
- var DECK_HUD_HEIGHT_PX = 48;
39243
- var DECK_HUD_TOP_PX = DECK_HUD_BOTTOM_PX + DECK_HUD_HEIGHT_PX;
39244
- var DECK_CHROME_GAP_PX = 8;
39245
- var DECK_ATTRIBUTION_BOTTOM_PX = DECK_HUD_TOP_PX + DECK_CHROME_GAP_PX;
39246
- var DOWNLOAD_BOTTOM_PX = 72;
39247
- var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
39248
- var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
39249
- var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
39250
- var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
39251
-
39252
39217
  // ../core/dist/integrations/augmented-live/asset.js
39253
39218
  var MB = 1024 * 1024;
39254
39219
  var ASSET_TYPES = {
@@ -39286,6 +39251,41 @@ function sniffImageType(bytes) {
39286
39251
  return null;
39287
39252
  }
39288
39253
 
39254
+ // ../core/dist/integrations/augmented-live/publisher.js
39255
+ var PRESENTER_CHROME_SELECTORS = "#al-download, #al-vis, .al-launcher, .al-stats-btn, .al-edit-btn";
39256
+ var presenterChromeCss = `
39257
+ /* ENG-9516: presenter mode. */
39258
+ ${PRESENTER_CHROME_SELECTORS}{transition:opacity .25s ease,visibility .25s ease}
39259
+ html[data-al-chrome="hidden"] :is(${PRESENTER_CHROME_SELECTORS}),
39260
+ html[data-al-idle="1"] :is(${PRESENTER_CHROME_SELECTORS}){
39261
+ opacity:0;visibility:hidden;pointer-events:none}
39262
+ /* A shortcut nobody knows about does not exist (ENG-9516). Shown once per browser,
39263
+ on pointer-fine devices only, and dismissed by any use of the key. */
39264
+ #al-chrome-hint{position:fixed;left:50%;top:18px;transform:translateX(-50%);
39265
+ z-index:2147483646;font-family:system-ui,-apple-system,sans-serif;font-size:12.5px;
39266
+ font-weight:600;color:#fff;background:rgba(11,16,32,.86);padding:.4rem .8rem;
39267
+ border-radius:999px;box-shadow:0 2px 10px rgba(0,0,0,.25);
39268
+ opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}
39269
+ #al-chrome-hint[data-show="1"]{opacity:1;visibility:visible}
39270
+ #al-chrome-hint kbd{font:inherit;background:rgba(255,255,255,.18);
39271
+ border-radius:4px;padding:0 .3rem;margin:0 .1rem}
39272
+ @media (prefers-reduced-motion:reduce){
39273
+ ${PRESENTER_CHROME_SELECTORS},#al-chrome-hint{transition:none}
39274
+ }`;
39275
+ var AL_PANEL_WIDTH_PX = 420;
39276
+ var AL_MIN_CANVAS_PX = 320;
39277
+ var AL_SPLIT_MIN_VIEWPORT_PX = AL_PANEL_WIDTH_PX + AL_MIN_CANVAS_PX;
39278
+ var DECK_HUD_BOTTOM_PX = 20;
39279
+ var DECK_HUD_HEIGHT_PX = 48;
39280
+ var DECK_HUD_TOP_PX = DECK_HUD_BOTTOM_PX + DECK_HUD_HEIGHT_PX;
39281
+ var DECK_CHROME_GAP_PX = 8;
39282
+ var DECK_ATTRIBUTION_BOTTOM_PX = DECK_HUD_TOP_PX + DECK_CHROME_GAP_PX;
39283
+ var DOWNLOAD_BOTTOM_PX = 72;
39284
+ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
39285
+ var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
39286
+ var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
39287
+ var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
39288
+
39289
39289
  // ../core/dist/integrations/augmented-live/codec.js
39290
39290
  var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
39291
39291
  var textEncoder = new TextEncoder();
@@ -44818,6 +44818,23 @@ var FLAG_REGISTRY = [
44818
44818
  // change (ADR-0022 sensitive-flag confirm).
44819
44819
  sensitive: true
44820
44820
  },
44821
+ {
44822
+ key: "ghost-reply-narration-guard",
44823
+ description: "Model-free guard on the SLACK ghost-reply RECOVERY path (CS-1821, CS-1429, ENG-7780); Telegram and Teams recovery do not run it. Recovered end-of-turn text with no second person, question, link or mention, that uses stand-down wording or names the person being answered in the third person, is not published. enforce = keep the marker so the inbound is re-delivered and the agent can answer properly. When re-deliveries run out, stand-down wording closes unposted and a name-only match publishes; with no reply owed, either closes. shadow = log only. off = never runs. A false match usually costs a re-ask; a real reply using stand-down wording every time is lost.",
44824
+ flagType: "enum",
44825
+ allowedValues: ["off", "shadow", "enforce"],
44826
+ // Ships in SHADOW: a free local log line, like every enum flag here, enforce is a
44827
+ // deliberate flip. Read the match log before flipping: a false match usually costs
44828
+ // a re-ask, but one repeated on every re-delivery loses the reply.
44829
+ defaultValue: "shadow",
44830
+ envVar: "AGT_GHOST_REPLY_NARRATION_GUARD_MODE",
44831
+ sensitive: true,
44832
+ // DELIBERATE UNREACHABLE PLACEHOLDER, not a real threshold. The reader is host-side
44833
+ // (the channel MCP), so a host on an older agt-cli ignores this flag. Replace it with
44834
+ // the first published agt-cli carrying the reader before flipping to enforce. Same
44835
+ // convention as `github-broker-credentials`.
44836
+ since: "0.29.0"
44837
+ },
44821
44838
  {
44822
44839
  key: "slack-scheduled-channel-guard",
44823
44840
  description: 'Guard on slack.reply that refuses to let an active scheduled-task destination silently move a reply to a DIFFERENT channel than the agent named (ENG-8137). CS-1505 gave an explicit inbound_id priority over the task destination but left the no-inbound_id case treating "no inbound reference" as "no destination specified" - and `channel` is a REQUIRED argument, so every call names one. The symptom: a question asked in one channel answered in another, and a reply meant as a DM landing in a public channel. Fires only when the marker carries an EXPLICIT target, the named channel differs from it, and neither an inbound_id, an enforce binding, nor an ENG-7542 channel correction is available to arbitrate. off = never runs (today behaviour: silent retarget). shadow = count + log the would-block but STILL route as today, so the false-positive rate is measurable before anyone refuses a send. enforce = block the reply and tell the agent to retry. Read live from the heartbeat flags-cache (or the env override). NOTE: enforce is currently CLAMPED to shadow host-side and setting it here will not take effect - it stays blocked until ENG-8142 teaches the Stop hook to tell a refused reply from a delivered one, because until then a blocked send fails silently (no recovery, no re-prompt, nothing in the channel). Lifting the clamp is a code change, not a flag flip.',
package/dist/mcp/index.js CHANGED
@@ -25325,6 +25325,28 @@ function linkOpenerScript(frameId) {
25325
25325
  }
25326
25326
  var WRAPPER_LINK_OPENER = linkOpenerScript("al-doc");
25327
25327
 
25328
+ // ../core/dist/integrations/augmented-live/asset.js
25329
+ var MB = 1024 * 1024;
25330
+ var ASSET_TYPES = {
25331
+ "image/png": { ext: "png", maxBytes: 5 * MB, enabled: true },
25332
+ "image/jpeg": { ext: "jpg", maxBytes: 5 * MB, enabled: true },
25333
+ "image/webp": { ext: "webp", maxBytes: 5 * MB, enabled: true },
25334
+ "image/gif": { ext: "gif", maxBytes: 10 * MB, enabled: true },
25335
+ // Video (guided-tour narration clips). Inert ISO-BMFF / EBML containers — like
25336
+ // the rasters and mp3 above, not active content — so serving them as top-level
25337
+ // same-origin asset URLs is safe (the SVG/HTML-polyglot risk in the module
25338
+ // header doesn't apply; publish-time magic-byte sniffing enforces it). Uploads
25339
+ // are presigned-PUT straight to S3, and S3+CloudFront serve range requests so
25340
+ // <video> seeking works.
25341
+ "video/mp4": { ext: "mp4", maxBytes: 100 * MB, enabled: true },
25342
+ "video/webm": { ext: "webm", maxBytes: 100 * MB, enabled: true },
25343
+ // ENG-7048: enabled for server-generated ElevenLabs voiceover (text-to-speech).
25344
+ // MP3 is an inert binary container (like the rasters above), so serving it as a
25345
+ // top-level same-origin asset URL is safe — the SVG/HTML-polyglot risk in the
25346
+ // module header does not apply. Embedded as <audio src=...> in the page HTML.
25347
+ "audio/mpeg": { ext: "mp3", maxBytes: 20 * MB, enabled: true }
25348
+ };
25349
+
25328
25350
  // ../core/dist/integrations/augmented-live/publisher.js
25329
25351
  var PRESENTER_CHROME_SELECTORS = "#al-download, #al-vis, .al-launcher, .al-stats-btn, .al-edit-btn";
25330
25352
  var presenterChromeCss = `
@@ -25360,28 +25382,6 @@ var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN
25360
25382
  var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
25361
25383
  var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
25362
25384
 
25363
- // ../core/dist/integrations/augmented-live/asset.js
25364
- var MB = 1024 * 1024;
25365
- var ASSET_TYPES = {
25366
- "image/png": { ext: "png", maxBytes: 5 * MB, enabled: true },
25367
- "image/jpeg": { ext: "jpg", maxBytes: 5 * MB, enabled: true },
25368
- "image/webp": { ext: "webp", maxBytes: 5 * MB, enabled: true },
25369
- "image/gif": { ext: "gif", maxBytes: 10 * MB, enabled: true },
25370
- // Video (guided-tour narration clips). Inert ISO-BMFF / EBML containers — like
25371
- // the rasters and mp3 above, not active content — so serving them as top-level
25372
- // same-origin asset URLs is safe (the SVG/HTML-polyglot risk in the module
25373
- // header doesn't apply; publish-time magic-byte sniffing enforces it). Uploads
25374
- // are presigned-PUT straight to S3, and S3+CloudFront serve range requests so
25375
- // <video> seeking works.
25376
- "video/mp4": { ext: "mp4", maxBytes: 100 * MB, enabled: true },
25377
- "video/webm": { ext: "webm", maxBytes: 100 * MB, enabled: true },
25378
- // ENG-7048: enabled for server-generated ElevenLabs voiceover (text-to-speech).
25379
- // MP3 is an inert binary container (like the rasters above), so serving it as a
25380
- // top-level same-origin asset URL is safe — the SVG/HTML-polyglot risk in the
25381
- // module header does not apply. Embedded as <audio src=...> in the page HTML.
25382
- "audio/mpeg": { ext: "mp3", maxBytes: 20 * MB, enabled: true }
25383
- };
25384
-
25385
25385
  // ../core/dist/integrations/augmented-live/codec.js
25386
25386
  var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
25387
25387
  var textEncoder = new TextEncoder();
@@ -30484,6 +30484,23 @@ var FLAG_REGISTRY = [
30484
30484
  // change (ADR-0022 sensitive-flag confirm).
30485
30485
  sensitive: true
30486
30486
  },
30487
+ {
30488
+ key: "ghost-reply-narration-guard",
30489
+ description: "Model-free guard on the SLACK ghost-reply RECOVERY path (CS-1821, CS-1429, ENG-7780); Telegram and Teams recovery do not run it. Recovered end-of-turn text with no second person, question, link or mention, that uses stand-down wording or names the person being answered in the third person, is not published. enforce = keep the marker so the inbound is re-delivered and the agent can answer properly. When re-deliveries run out, stand-down wording closes unposted and a name-only match publishes; with no reply owed, either closes. shadow = log only. off = never runs. A false match usually costs a re-ask; a real reply using stand-down wording every time is lost.",
30490
+ flagType: "enum",
30491
+ allowedValues: ["off", "shadow", "enforce"],
30492
+ // Ships in SHADOW: a free local log line, like every enum flag here, enforce is a
30493
+ // deliberate flip. Read the match log before flipping: a false match usually costs
30494
+ // a re-ask, but one repeated on every re-delivery loses the reply.
30495
+ defaultValue: "shadow",
30496
+ envVar: "AGT_GHOST_REPLY_NARRATION_GUARD_MODE",
30497
+ sensitive: true,
30498
+ // DELIBERATE UNREACHABLE PLACEHOLDER, not a real threshold. The reader is host-side
30499
+ // (the channel MCP), so a host on an older agt-cli ignores this flag. Replace it with
30500
+ // the first published agt-cli carrying the reader before flipping to enforce. Same
30501
+ // convention as `github-broker-credentials`.
30502
+ since: "0.29.0"
30503
+ },
30487
30504
  {
30488
30505
  key: "slack-scheduled-channel-guard",
30489
30506
  description: 'Guard on slack.reply that refuses to let an active scheduled-task destination silently move a reply to a DIFFERENT channel than the agent named (ENG-8137). CS-1505 gave an explicit inbound_id priority over the task destination but left the no-inbound_id case treating "no inbound reference" as "no destination specified" - and `channel` is a REQUIRED argument, so every call names one. The symptom: a question asked in one channel answered in another, and a reply meant as a DM landing in a public channel. Fires only when the marker carries an EXPLICIT target, the named channel differs from it, and neither an inbound_id, an enforce binding, nor an ENG-7542 channel correction is available to arbitrate. off = never runs (today behaviour: silent retarget). shadow = count + log the would-block but STILL route as today, so the false-positive rate is measurable before anyone refuses a send. enforce = block the reply and tell the agent to retry. Read live from the heartbeat flags-cache (or the env override). NOTE: enforce is currently CLAMPED to shadow host-side and setting it here will not take effect - it stays blocked until ENG-8142 teaches the Stop hook to tell a refused reply from a delivered one, because until then a blocked send fails silently (no recovery, no re-prompt, nothing in the channel). Lifting the clamp is a code change, not a flag flip.',
@@ -39386,6 +39386,28 @@ function linkOpenerScript(frameId) {
39386
39386
  }
39387
39387
  var WRAPPER_LINK_OPENER = linkOpenerScript("al-doc");
39388
39388
 
39389
+ // ../core/dist/integrations/augmented-live/asset.js
39390
+ var MB = 1024 * 1024;
39391
+ var ASSET_TYPES = {
39392
+ "image/png": { ext: "png", maxBytes: 5 * MB, enabled: true },
39393
+ "image/jpeg": { ext: "jpg", maxBytes: 5 * MB, enabled: true },
39394
+ "image/webp": { ext: "webp", maxBytes: 5 * MB, enabled: true },
39395
+ "image/gif": { ext: "gif", maxBytes: 10 * MB, enabled: true },
39396
+ // Video (guided-tour narration clips). Inert ISO-BMFF / EBML containers — like
39397
+ // the rasters and mp3 above, not active content — so serving them as top-level
39398
+ // same-origin asset URLs is safe (the SVG/HTML-polyglot risk in the module
39399
+ // header doesn't apply; publish-time magic-byte sniffing enforces it). Uploads
39400
+ // are presigned-PUT straight to S3, and S3+CloudFront serve range requests so
39401
+ // <video> seeking works.
39402
+ "video/mp4": { ext: "mp4", maxBytes: 100 * MB, enabled: true },
39403
+ "video/webm": { ext: "webm", maxBytes: 100 * MB, enabled: true },
39404
+ // ENG-7048: enabled for server-generated ElevenLabs voiceover (text-to-speech).
39405
+ // MP3 is an inert binary container (like the rasters above), so serving it as a
39406
+ // top-level same-origin asset URL is safe — the SVG/HTML-polyglot risk in the
39407
+ // module header does not apply. Embedded as <audio src=...> in the page HTML.
39408
+ "audio/mpeg": { ext: "mp3", maxBytes: 20 * MB, enabled: true }
39409
+ };
39410
+
39389
39411
  // ../core/dist/integrations/augmented-live/publisher.js
39390
39412
  var PRESENTER_CHROME_SELECTORS = "#al-download, #al-vis, .al-launcher, .al-stats-btn, .al-edit-btn";
39391
39413
  var presenterChromeCss = `
@@ -39421,28 +39443,6 @@ var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN
39421
39443
  var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
39422
39444
  var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
39423
39445
 
39424
- // ../core/dist/integrations/augmented-live/asset.js
39425
- var MB = 1024 * 1024;
39426
- var ASSET_TYPES = {
39427
- "image/png": { ext: "png", maxBytes: 5 * MB, enabled: true },
39428
- "image/jpeg": { ext: "jpg", maxBytes: 5 * MB, enabled: true },
39429
- "image/webp": { ext: "webp", maxBytes: 5 * MB, enabled: true },
39430
- "image/gif": { ext: "gif", maxBytes: 10 * MB, enabled: true },
39431
- // Video (guided-tour narration clips). Inert ISO-BMFF / EBML containers — like
39432
- // the rasters and mp3 above, not active content — so serving them as top-level
39433
- // same-origin asset URLs is safe (the SVG/HTML-polyglot risk in the module
39434
- // header doesn't apply; publish-time magic-byte sniffing enforces it). Uploads
39435
- // are presigned-PUT straight to S3, and S3+CloudFront serve range requests so
39436
- // <video> seeking works.
39437
- "video/mp4": { ext: "mp4", maxBytes: 100 * MB, enabled: true },
39438
- "video/webm": { ext: "webm", maxBytes: 100 * MB, enabled: true },
39439
- // ENG-7048: enabled for server-generated ElevenLabs voiceover (text-to-speech).
39440
- // MP3 is an inert binary container (like the rasters above), so serving it as a
39441
- // top-level same-origin asset URL is safe — the SVG/HTML-polyglot risk in the
39442
- // module header does not apply. Embedded as <audio src=...> in the page HTML.
39443
- "audio/mpeg": { ext: "mp3", maxBytes: 20 * MB, enabled: true }
39444
- };
39445
-
39446
39446
  // ../core/dist/integrations/augmented-live/codec.js
39447
39447
  var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
39448
39448
  var textEncoder = new TextEncoder();
@@ -44324,6 +44324,23 @@ var FLAG_REGISTRY = [
44324
44324
  // change (ADR-0022 sensitive-flag confirm).
44325
44325
  sensitive: true
44326
44326
  },
44327
+ {
44328
+ key: "ghost-reply-narration-guard",
44329
+ description: "Model-free guard on the SLACK ghost-reply RECOVERY path (CS-1821, CS-1429, ENG-7780); Telegram and Teams recovery do not run it. Recovered end-of-turn text with no second person, question, link or mention, that uses stand-down wording or names the person being answered in the third person, is not published. enforce = keep the marker so the inbound is re-delivered and the agent can answer properly. When re-deliveries run out, stand-down wording closes unposted and a name-only match publishes; with no reply owed, either closes. shadow = log only. off = never runs. A false match usually costs a re-ask; a real reply using stand-down wording every time is lost.",
44330
+ flagType: "enum",
44331
+ allowedValues: ["off", "shadow", "enforce"],
44332
+ // Ships in SHADOW: a free local log line, like every enum flag here, enforce is a
44333
+ // deliberate flip. Read the match log before flipping: a false match usually costs
44334
+ // a re-ask, but one repeated on every re-delivery loses the reply.
44335
+ defaultValue: "shadow",
44336
+ envVar: "AGT_GHOST_REPLY_NARRATION_GUARD_MODE",
44337
+ sensitive: true,
44338
+ // DELIBERATE UNREACHABLE PLACEHOLDER, not a real threshold. The reader is host-side
44339
+ // (the channel MCP), so a host on an older agt-cli ignores this flag. Replace it with
44340
+ // the first published agt-cli carrying the reader before flipping to enforce. Same
44341
+ // convention as `github-broker-credentials`.
44342
+ since: "0.29.0"
44343
+ },
44327
44344
  {
44328
44345
  key: "slack-scheduled-channel-guard",
44329
44346
  description: 'Guard on slack.reply that refuses to let an active scheduled-task destination silently move a reply to a DIFFERENT channel than the agent named (ENG-8137). CS-1505 gave an explicit inbound_id priority over the task destination but left the no-inbound_id case treating "no inbound reference" as "no destination specified" - and `channel` is a REQUIRED argument, so every call names one. The symptom: a question asked in one channel answered in another, and a reply meant as a DM landing in a public channel. Fires only when the marker carries an EXPLICIT target, the named channel differs from it, and neither an inbound_id, an enforce binding, nor an ENG-7542 channel correction is available to arbitrate. off = never runs (today behaviour: silent retarget). shadow = count + log the would-block but STILL route as today, so the false-positive rate is measurable before anyone refuses a send. enforce = block the reply and tell the agent to retry. Read live from the heartbeat flags-cache (or the env override). NOTE: enforce is currently CLAMPED to shadow host-side and setting it here will not take effect - it stays blocked until ENG-8142 teaches the Stop hook to tell a refused reply from a delivered one, because until then a blocked send fails silently (no recovery, no re-prompt, nothing in the channel). Lifting the clamp is a code change, not a flag flip.',