@integrity-labs/agt-cli 0.28.88 → 0.28.89

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-OMLGMEGO.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-IODNIQ2L.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-RIVCQTC3.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-UYTK55XK.js.map
@@ -28,7 +28,7 @@ import {
28
28
  requireHost,
29
29
  safeWriteJsonAtomic,
30
30
  setConfigHash
31
- } from "../chunk-ULHJX4A2.js";
31
+ } from "../chunk-Q7HS3VI2.js";
32
32
  import {
33
33
  getProjectDir as getProjectDir2,
34
34
  getReadyTasks,
@@ -66,7 +66,7 @@ import {
66
66
  takeWatchdogGiveUpCount,
67
67
  takeZombieDetection,
68
68
  transcriptActivityAgeSeconds
69
- } from "../chunk-5Z43ORR6.js";
69
+ } from "../chunk-II75Z6KB.js";
70
70
  import {
71
71
  FLAGS_SCHEMA_VERSION,
72
72
  FLAG_REGISTRY,
@@ -80,6 +80,7 @@ import {
80
80
  classifyActor,
81
81
  classifyOutput,
82
82
  coerceOnboardingState,
83
+ describeOnboardingChannel,
83
84
  extractFrontmatter,
84
85
  formatActorId,
85
86
  formatMissingVar,
@@ -100,7 +101,7 @@ import {
100
101
  resolveDmTarget,
101
102
  sumTranscriptUsageInWindow,
102
103
  wrapScheduledTaskPrompt
103
- } from "../chunk-3G2D4VXI.js";
104
+ } from "../chunk-UB2LZXAL.js";
104
105
  import {
105
106
  parsePsRows,
106
107
  reapOrphanChannelMcps
@@ -865,14 +866,11 @@ var AREA_DIRECTIVE = {
865
866
  integrations: "Wire up your tools \u2014 ask your manager which integrations your role uses and request access to the ones they confirm (connecting is a human OAuth step)",
866
867
  reporting: "Agree how you keep your manager posted \u2014 settle on a cadence and channel, then create a recurring report scheduled task for it"
867
868
  };
868
- function channelLabel(channel) {
869
- return channel.kind === "slack" ? "Slack" : "Telegram";
870
- }
871
869
  function buildOnboardingDirective(step, completed = [], opts = {}) {
872
870
  const { channel, reminder = false } = opts;
873
871
  const doneAreas = completed.filter(isOnboardingArea);
874
872
  const alreadyCovered = doneAreas.length > 0 ? `You've already covered ${doneAreas.join(", ")} \u2014 re-orient, don't re-ask about those. ` : "";
875
- const where = channel ? `your manager in ${channelLabel(channel)} (the channel onboarding was triggered from)` : "your manager over your usual channel";
873
+ const where = channel ? `your manager in ${describeOnboardingChannel(channel)} (the channel onboarding was triggered from)` : "your manager over your usual channel";
876
874
  const askAndWait = `Ask ${where} this area's question and WAIT for their reply. Do NOT self-answer, and do NOT call \`onboarding_advance\` until they respond. ${AREA_DIRECTIVE[step]} only once they have. `;
877
875
  if (reminder) {
878
876
  return `\u23F3 Onboarding (${step}): still waiting on your manager's answer for this area. If you haven't asked yet, ask now; otherwise give them a gentle nudge, but don't move on without a reply. ` + askAndWait + `Advance with \`onboarding_advance\` (ADVANCE) once this area is done.`;
@@ -6895,7 +6893,7 @@ var cachedMaintenanceWindow = null;
6895
6893
  var lastVersionCheckAt = 0;
6896
6894
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6897
6895
  var lastResponsivenessProbeAt = 0;
6898
- var agtCliVersion = true ? "0.28.88" : "dev";
6896
+ var agtCliVersion = true ? "0.28.89" : "dev";
6899
6897
  function resolveBrewPath(execFileSync4) {
6900
6898
  try {
6901
6899
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -8006,7 +8004,7 @@ async function pollCycle() {
8006
8004
  }
8007
8005
  try {
8008
8006
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
8009
- const { collectDiagnostics } = await import("../persistent-session-OMLGMEGO.js");
8007
+ const { collectDiagnostics } = await import("../persistent-session-IODNIQ2L.js");
8010
8008
  const diagCodeNames = [...agentState.persistentSessionAgents];
8011
8009
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
8012
8010
  let tailscaleHostname;
@@ -8107,7 +8105,7 @@ async function pollCycle() {
8107
8105
  const {
8108
8106
  collectResponsivenessProbes,
8109
8107
  getResponsivenessIntervalMs
8110
- } = await import("../responsiveness-probe-ANX4EOCH.js");
8108
+ } = await import("../responsiveness-probe-SBJXVSQH.js");
8111
8109
  const probeIntervalMs = getResponsivenessIntervalMs();
8112
8110
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
8113
8111
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -8139,7 +8137,7 @@ async function pollCycle() {
8139
8137
  collectResponsivenessProbes,
8140
8138
  livePendingInboundOldestAgeSeconds,
8141
8139
  parkPendingInbound
8142
- } = await import("../responsiveness-probe-ANX4EOCH.js");
8140
+ } = await import("../responsiveness-probe-SBJXVSQH.js");
8143
8141
  const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
8144
8142
  const wedgeNow = /* @__PURE__ */ new Date();
8145
8143
  const liveAgents = agentState.persistentSessionAgents;
@@ -11613,7 +11611,7 @@ async function processClaudePairSessions(agents) {
11613
11611
  killPairSession,
11614
11612
  pairTmuxSession,
11615
11613
  finalizeClaudePairOnboarding
11616
- } = await import("../claude-pair-runtime-RIVCQTC3.js");
11614
+ } = await import("../claude-pair-runtime-UYTK55XK.js");
11617
11615
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
11618
11616
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
11619
11617
  const killed = await killPairSession(pairTmuxSession(pairId));