@integrity-labs/agt-cli 0.28.486 → 0.28.488

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.
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
100
100
  return { ok: true };
101
101
  } catch {
102
102
  }
103
- const { resolveClaudeBinary } = await import("./persistent-session-CEGPLUHO.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-3LWKJAAP.js");
104
104
  const claudeBin = resolveClaudeBinary();
105
105
  const pairEnv = {
106
106
  ...process.env,
@@ -373,4 +373,4 @@ export {
373
373
  startClaudePair,
374
374
  submitClaudePairCode
375
375
  };
376
- //# sourceMappingURL=claude-pair-runtime-STSHUESG.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-FEVTBAHV.js.map
@@ -44,7 +44,7 @@ import {
44
44
  resolveEffectivePinRaw,
45
45
  safeWriteJsonAtomic,
46
46
  setConfigHash
47
- } from "../chunk-XP53UXQR.js";
47
+ } from "../chunk-PMDCZKFQ.js";
48
48
  import {
49
49
  getProjectDir as getProjectDir2,
50
50
  getReadyTasks,
@@ -162,7 +162,7 @@ import {
162
162
  toOpencodeModel,
163
163
  transcriptActivityAgeSeconds,
164
164
  writeEgressAllowlist
165
- } from "../chunk-SRR5XVWJ.js";
165
+ } from "../chunk-XZI5IHQP.js";
166
166
  import {
167
167
  reapOrphanChannelMcps
168
168
  } from "../chunk-XWVM4KPK.js";
@@ -10079,7 +10079,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
10079
10079
  var lastVersionCheckAt = 0;
10080
10080
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
10081
10081
  var lastResponsivenessProbeAt = 0;
10082
- var agtCliVersion = true ? "0.28.486" : "dev";
10082
+ var agtCliVersion = true ? "0.28.488" : "dev";
10083
10083
  function resolveBrewPath(execFileSync2) {
10084
10084
  try {
10085
10085
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -11242,7 +11242,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
11242
11242
  if (codeNames.length === 0) return;
11243
11243
  void (async () => {
11244
11244
  try {
11245
- const { collectDiagnostics } = await import("../persistent-session-CEGPLUHO.js");
11245
+ const { collectDiagnostics } = await import("../persistent-session-3LWKJAAP.js");
11246
11246
  await api.post("/host/heartbeat", {
11247
11247
  host_id: hostId,
11248
11248
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
@@ -11349,7 +11349,7 @@ async function pollCycle() {
11349
11349
  }
11350
11350
  try {
11351
11351
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
11352
- const { collectDiagnostics } = await import("../persistent-session-CEGPLUHO.js");
11352
+ const { collectDiagnostics } = await import("../persistent-session-3LWKJAAP.js");
11353
11353
  const diagCodeNames = [...agentState.persistentSessionAgents];
11354
11354
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
11355
11355
  let tailscaleHostname;
@@ -11463,7 +11463,7 @@ async function pollCycle() {
11463
11463
  collectResponsivenessProbes,
11464
11464
  collectPanelessActivityProbes,
11465
11465
  getResponsivenessIntervalMs
11466
- } = await import("../responsiveness-probe-RBLOTOHD.js");
11466
+ } = await import("../responsiveness-probe-AAVWTFJN.js");
11467
11467
  const probeIntervalMs = getResponsivenessIntervalMs();
11468
11468
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
11469
11469
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -11527,7 +11527,7 @@ async function pollCycle() {
11527
11527
  collectResponsivenessProbes,
11528
11528
  livePendingInboundOldestAgeSeconds,
11529
11529
  parkPendingInbound
11530
- } = await import("../responsiveness-probe-RBLOTOHD.js");
11530
+ } = await import("../responsiveness-probe-AAVWTFJN.js");
11531
11531
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
11532
11532
  const wedgeNow = /* @__PURE__ */ new Date();
11533
11533
  const liveAgents = agentState.persistentSessionAgents;
@@ -15009,7 +15009,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
15009
15009
  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}`));
15010
15010
  void (async () => {
15011
15011
  try {
15012
- const { collectDiagnostics } = await import("../persistent-session-CEGPLUHO.js");
15012
+ const { collectDiagnostics } = await import("../persistent-session-3LWKJAAP.js");
15013
15013
  await api.post("/host/heartbeat", {
15014
15014
  host_id: hostId,
15015
15015
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -15059,7 +15059,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
15059
15059
  }
15060
15060
  try {
15061
15061
  const hostId = await getHostId();
15062
- const { collectDiagnostics } = await import("../persistent-session-CEGPLUHO.js");
15062
+ const { collectDiagnostics } = await import("../persistent-session-3LWKJAAP.js");
15063
15063
  await api.post("/host/heartbeat", {
15064
15064
  host_id: hostId,
15065
15065
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -15517,7 +15517,7 @@ async function processClaudePairSessions(agents) {
15517
15517
  killPairSession,
15518
15518
  pairTmuxSession,
15519
15519
  finalizeClaudePairOnboarding
15520
- } = await import("../claude-pair-runtime-STSHUESG.js");
15520
+ } = await import("../claude-pair-runtime-FEVTBAHV.js");
15521
15521
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
15522
15522
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
15523
15523
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -34500,6 +34500,17 @@ var FLAG_REGISTRY = [
34500
34500
  defaultValue: false,
34501
34501
  envVar: "AGT_FAST_MCP_RESTART_RESPAWN_ENABLED"
34502
34502
  },
34503
+ {
34504
+ key: "never-spawned-session-metric",
34505
+ description: 'Never-spawned session metric (ENG-8204): when ON, the agent-heartbeat-monitor cron emits a `SessionAliveAgeSeconds` datapoint for an ACTIVE agent that has never had a verified session (`last_session_alive_at` null), aged from `created_at`. Without it those agents emit no datapoint at all, and because the session-stale alarm sets `TreatMissingData: notBreaching`, the one alarm built for "fresh heartbeat but no session" can never fire for the very case it describes \u2014 a newly-onboarded agent whose session never spawned. Observe-first rollout gate: the cron logs the never-spawned count and oldest age EVERY run regardless of this flag, so the backlog is measurable before the alarm is armed. The AUGMENTED_NEVER_SPAWNED_SESSION_METRIC_ENABLED env var is the highest-precedence operator override; precedence is env override > flag value > this default.',
34506
+ flagType: "boolean",
34507
+ defaultValue: false,
34508
+ envVar: "AUGMENTED_NEVER_SPAWNED_SESSION_METRIC_ENABLED",
34509
+ // Enabling this pages on every active agent that has never had a session,
34510
+ // which on first flip may surface an existing backlog all at once. Read the
34511
+ // observe-phase log line before flipping.
34512
+ sensitive: true
34513
+ },
34503
34514
  {
34504
34515
  key: "channel-silent-loss-alarm",
34505
34516
  description: "Channel silent-loss alarm (ENG-6728): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm that pages on a `ChannelDeflections` Cause=replay_orphaned datapoint (a recoverable inbound aged out without delivery). Observe-first rollout gate, flipped stage-wide from the admin Feature Flags page; the underlying metric ships since ENG-6355. The AUGMENTED_CHANNEL_SILENT_LOSS_ALARM_ENABLED env var is retained as the highest-precedence operator override; precedence is env override > flag value > this default.",
@@ -40447,6 +40447,17 @@ var FLAG_REGISTRY = [
40447
40447
  defaultValue: false,
40448
40448
  envVar: "AGT_FAST_MCP_RESTART_RESPAWN_ENABLED"
40449
40449
  },
40450
+ {
40451
+ key: "never-spawned-session-metric",
40452
+ description: 'Never-spawned session metric (ENG-8204): when ON, the agent-heartbeat-monitor cron emits a `SessionAliveAgeSeconds` datapoint for an ACTIVE agent that has never had a verified session (`last_session_alive_at` null), aged from `created_at`. Without it those agents emit no datapoint at all, and because the session-stale alarm sets `TreatMissingData: notBreaching`, the one alarm built for "fresh heartbeat but no session" can never fire for the very case it describes \u2014 a newly-onboarded agent whose session never spawned. Observe-first rollout gate: the cron logs the never-spawned count and oldest age EVERY run regardless of this flag, so the backlog is measurable before the alarm is armed. The AUGMENTED_NEVER_SPAWNED_SESSION_METRIC_ENABLED env var is the highest-precedence operator override; precedence is env override > flag value > this default.',
40453
+ flagType: "boolean",
40454
+ defaultValue: false,
40455
+ envVar: "AUGMENTED_NEVER_SPAWNED_SESSION_METRIC_ENABLED",
40456
+ // Enabling this pages on every active agent that has never had a session,
40457
+ // which on first flip may surface an existing backlog all at once. Read the
40458
+ // observe-phase log line before flipping.
40459
+ sensitive: true
40460
+ },
40450
40461
  {
40451
40462
  key: "channel-silent-loss-alarm",
40452
40463
  description: "Channel silent-loss alarm (ENG-6728): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm that pages on a `ChannelDeflections` Cause=replay_orphaned datapoint (a recoverable inbound aged out without delivery). Observe-first rollout gate, flipped stage-wide from the admin Feature Flags page; the underlying metric ships since ENG-6355. The AUGMENTED_CHANNEL_SILENT_LOSS_ALARM_ENABLED env var is retained as the highest-precedence operator override; precedence is env override > flag value > this default.",
@@ -34725,6 +34725,17 @@ var FLAG_REGISTRY = [
34725
34725
  defaultValue: false,
34726
34726
  envVar: "AGT_FAST_MCP_RESTART_RESPAWN_ENABLED"
34727
34727
  },
34728
+ {
34729
+ key: "never-spawned-session-metric",
34730
+ description: 'Never-spawned session metric (ENG-8204): when ON, the agent-heartbeat-monitor cron emits a `SessionAliveAgeSeconds` datapoint for an ACTIVE agent that has never had a verified session (`last_session_alive_at` null), aged from `created_at`. Without it those agents emit no datapoint at all, and because the session-stale alarm sets `TreatMissingData: notBreaching`, the one alarm built for "fresh heartbeat but no session" can never fire for the very case it describes \u2014 a newly-onboarded agent whose session never spawned. Observe-first rollout gate: the cron logs the never-spawned count and oldest age EVERY run regardless of this flag, so the backlog is measurable before the alarm is armed. The AUGMENTED_NEVER_SPAWNED_SESSION_METRIC_ENABLED env var is the highest-precedence operator override; precedence is env override > flag value > this default.',
34731
+ flagType: "boolean",
34732
+ defaultValue: false,
34733
+ envVar: "AUGMENTED_NEVER_SPAWNED_SESSION_METRIC_ENABLED",
34734
+ // Enabling this pages on every active agent that has never had a session,
34735
+ // which on first flip may surface an existing backlog all at once. Read the
34736
+ // observe-phase log line before flipping.
34737
+ sensitive: true
34738
+ },
34728
34739
  {
34729
34740
  key: "channel-silent-loss-alarm",
34730
34741
  description: "Channel silent-loss alarm (ENG-6728): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm that pages on a `ChannelDeflections` Cause=replay_orphaned datapoint (a recoverable inbound aged out without delivery). Observe-first rollout gate, flipped stage-wide from the admin Feature Flags page; the underlying metric ships since ENG-6355. The AUGMENTED_CHANNEL_SILENT_LOSS_ALARM_ENABLED env var is retained as the highest-precedence operator override; precedence is env override > flag value > this default.",
@@ -35051,6 +35051,17 @@ var FLAG_REGISTRY = [
35051
35051
  defaultValue: false,
35052
35052
  envVar: "AGT_FAST_MCP_RESTART_RESPAWN_ENABLED"
35053
35053
  },
35054
+ {
35055
+ key: "never-spawned-session-metric",
35056
+ description: 'Never-spawned session metric (ENG-8204): when ON, the agent-heartbeat-monitor cron emits a `SessionAliveAgeSeconds` datapoint for an ACTIVE agent that has never had a verified session (`last_session_alive_at` null), aged from `created_at`. Without it those agents emit no datapoint at all, and because the session-stale alarm sets `TreatMissingData: notBreaching`, the one alarm built for "fresh heartbeat but no session" can never fire for the very case it describes \u2014 a newly-onboarded agent whose session never spawned. Observe-first rollout gate: the cron logs the never-spawned count and oldest age EVERY run regardless of this flag, so the backlog is measurable before the alarm is armed. The AUGMENTED_NEVER_SPAWNED_SESSION_METRIC_ENABLED env var is the highest-precedence operator override; precedence is env override > flag value > this default.',
35057
+ flagType: "boolean",
35058
+ defaultValue: false,
35059
+ envVar: "AUGMENTED_NEVER_SPAWNED_SESSION_METRIC_ENABLED",
35060
+ // Enabling this pages on every active agent that has never had a session,
35061
+ // which on first flip may surface an existing backlog all at once. Read the
35062
+ // observe-phase log line before flipping.
35063
+ sensitive: true
35064
+ },
35054
35065
  {
35055
35066
  key: "channel-silent-loss-alarm",
35056
35067
  description: "Channel silent-loss alarm (ENG-6728): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm that pages on a `ChannelDeflections` Cause=replay_orphaned datapoint (a recoverable inbound aged out without delivery). Observe-first rollout gate, flipped stage-wide from the admin Feature Flags page; the underlying metric ships since ENG-6355. The AUGMENTED_CHANNEL_SILENT_LOSS_ALARM_ENABLED env var is retained as the highest-precedence operator override; precedence is env override > flag value > this default.",
@@ -36,7 +36,7 @@ import {
36
36
  writeDirectChatSessionState,
37
37
  writeEgressAllowlist,
38
38
  writePersistentClaudeWrapper
39
- } from "./chunk-SRR5XVWJ.js";
39
+ } from "./chunk-XZI5IHQP.js";
40
40
  import "./chunk-XWVM4KPK.js";
41
41
  export {
42
42
  EGRESS_BASELINE_DOMAINS,
@@ -77,4 +77,4 @@ export {
77
77
  writeEgressAllowlist,
78
78
  writePersistentClaudeWrapper
79
79
  };
80
- //# sourceMappingURL=persistent-session-CEGPLUHO.js.map
80
+ //# sourceMappingURL=persistent-session-3LWKJAAP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-SRR5XVWJ.js";
3
+ } from "./chunk-XZI5IHQP.js";
4
4
  import "./chunk-XWVM4KPK.js";
5
5
 
6
6
  // src/lib/responsiveness-probe.ts
@@ -596,4 +596,4 @@ export {
596
596
  readAndResetSlackReplyBindingClassifications,
597
597
  readAndResetSlackReplyTargetClassifications
598
598
  };
599
- //# sourceMappingURL=responsiveness-probe-RBLOTOHD.js.map
599
+ //# sourceMappingURL=responsiveness-probe-AAVWTFJN.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.486",
3
+ "version": "0.28.488",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {