@integrity-labs/agt-cli 0.28.290 → 0.28.291

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.
@@ -18,7 +18,7 @@ import {
18
18
  resolveConnectivityProbe,
19
19
  worseConnectivityOutcome,
20
20
  wrapScheduledTaskPrompt
21
- } from "./chunk-GUCYHTCJ.js";
21
+ } from "./chunk-BNQPLUUB.js";
22
22
  import {
23
23
  parsePsRows
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5882,7 +5882,7 @@ function requireHost() {
5882
5882
  }
5883
5883
 
5884
5884
  // src/lib/api-client.ts
5885
- var agtCliVersion = true ? "0.28.290" : "dev";
5885
+ var agtCliVersion = true ? "0.28.291" : "dev";
5886
5886
  var lastConfigHash = null;
5887
5887
  function setConfigHash(hash) {
5888
5888
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8165,4 +8165,4 @@ export {
8165
8165
  managerInstallSystemUnitCommand,
8166
8166
  managerUninstallSystemUnitCommand
8167
8167
  };
8168
- //# sourceMappingURL=chunk-QOEYIFPD.js.map
8168
+ //# sourceMappingURL=chunk-R3VRYIZJ.js.map
@@ -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-C6IIZKQH.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-WVLFEQPW.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-MGU5UP3T.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-DVAUH47F.js.map
@@ -38,7 +38,7 @@ import {
38
38
  requireHost,
39
39
  safeWriteJsonAtomic,
40
40
  setConfigHash
41
- } from "../chunk-QOEYIFPD.js";
41
+ } from "../chunk-R3VRYIZJ.js";
42
42
  import {
43
43
  getProjectDir as getProjectDir2,
44
44
  getReadyTasks,
@@ -125,7 +125,7 @@ import {
125
125
  takeZombieDetection,
126
126
  transcriptActivityAgeSeconds,
127
127
  writeEgressAllowlist
128
- } from "../chunk-GUCYHTCJ.js";
128
+ } from "../chunk-BNQPLUUB.js";
129
129
  import {
130
130
  reapOrphanChannelMcps
131
131
  } from "../chunk-XWVM4KPK.js";
@@ -6897,7 +6897,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6897
6897
  var lastVersionCheckAt = 0;
6898
6898
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6899
6899
  var lastResponsivenessProbeAt = 0;
6900
- var agtCliVersion = true ? "0.28.290" : "dev";
6900
+ var agtCliVersion = true ? "0.28.291" : "dev";
6901
6901
  function resolveBrewPath(execFileSync2) {
6902
6902
  try {
6903
6903
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -7750,7 +7750,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
7750
7750
  if (codeNames.length === 0) return;
7751
7751
  void (async () => {
7752
7752
  try {
7753
- const { collectDiagnostics } = await import("../persistent-session-C6IIZKQH.js");
7753
+ const { collectDiagnostics } = await import("../persistent-session-WVLFEQPW.js");
7754
7754
  await api.post("/host/heartbeat", {
7755
7755
  host_id: hostId,
7756
7756
  agent_diagnostics: collectDiagnostics(codeNames)
@@ -7848,7 +7848,7 @@ async function pollCycle() {
7848
7848
  }
7849
7849
  try {
7850
7850
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
7851
- const { collectDiagnostics } = await import("../persistent-session-C6IIZKQH.js");
7851
+ const { collectDiagnostics } = await import("../persistent-session-WVLFEQPW.js");
7852
7852
  const diagCodeNames = [...agentState.persistentSessionAgents];
7853
7853
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
7854
7854
  let tailscaleHostname;
@@ -7996,7 +7996,7 @@ async function pollCycle() {
7996
7996
  const {
7997
7997
  collectResponsivenessProbes,
7998
7998
  getResponsivenessIntervalMs
7999
- } = await import("../responsiveness-probe-RAHMPI4W.js");
7999
+ } = await import("../responsiveness-probe-VCOYMMIT.js");
8000
8000
  const probeIntervalMs = getResponsivenessIntervalMs();
8001
8001
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
8002
8002
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -8028,7 +8028,7 @@ async function pollCycle() {
8028
8028
  collectResponsivenessProbes,
8029
8029
  livePendingInboundOldestAgeSeconds,
8030
8030
  parkPendingInbound
8031
- } = await import("../responsiveness-probe-RAHMPI4W.js");
8031
+ } = await import("../responsiveness-probe-VCOYMMIT.js");
8032
8032
  const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
8033
8033
  const wedgeNow = /* @__PURE__ */ new Date();
8034
8034
  const liveAgents = agentState.persistentSessionAgents;
@@ -10952,7 +10952,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
10952
10952
  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}`));
10953
10953
  void (async () => {
10954
10954
  try {
10955
- const { collectDiagnostics } = await import("../persistent-session-C6IIZKQH.js");
10955
+ const { collectDiagnostics } = await import("../persistent-session-WVLFEQPW.js");
10956
10956
  await api.post("/host/heartbeat", {
10957
10957
  host_id: hostId,
10958
10958
  agent_diagnostics: collectDiagnostics([codeName])
@@ -11002,7 +11002,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
11002
11002
  }
11003
11003
  try {
11004
11004
  const hostId = await getHostId();
11005
- const { collectDiagnostics } = await import("../persistent-session-C6IIZKQH.js");
11005
+ const { collectDiagnostics } = await import("../persistent-session-WVLFEQPW.js");
11006
11006
  await api.post("/host/heartbeat", {
11007
11007
  host_id: hostId,
11008
11008
  agent_diagnostics: collectDiagnostics([codeName])
@@ -11406,7 +11406,7 @@ async function processClaudePairSessions(agents) {
11406
11406
  killPairSession,
11407
11407
  pairTmuxSession,
11408
11408
  finalizeClaudePairOnboarding
11409
- } = await import("../claude-pair-runtime-MGU5UP3T.js");
11409
+ } = await import("../claude-pair-runtime-DVAUH47F.js");
11410
11410
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
11411
11411
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
11412
11412
  const killed = await killPairSession(pairTmuxSession(pairId));
package/dist/mcp/index.js CHANGED
@@ -21800,7 +21800,10 @@ server.tool(
21800
21800
  waiting_repo: external_exports.string().optional().describe(
21801
21801
  'Only with a pr-* waiting_kind: the "owner/repo" the pull request lives in (e.g. "Integrity-Labs/augmented").'
21802
21802
  ),
21803
- waiting_pr: external_exports.number().int().positive().optional().describe("Only with a pr-* waiting_kind: the pull request number (e.g. 3120).")
21803
+ waiting_pr: external_exports.number().int().positive().optional().describe("Only with a pr-* waiting_kind: the pull request number (e.g. 3120)."),
21804
+ waiting_choices: external_exports.array(external_exports.string()).optional().describe(
21805
+ 'Optional, best with waiting_kind="human": 2-5 short answer options to offer the person as one-click buttons (e.g. ["Ship it", "Hold", "Needs changes"]). Keep them short. They can still add a free-text comment alongside a choice. Omit for an open-ended human wait (they just get a comment box).'
21806
+ )
21804
21807
  } : {}
21805
21808
  },
21806
21809
  async (params) => {
@@ -21834,7 +21837,12 @@ server.tool(
21834
21837
  isError: true
21835
21838
  };
21836
21839
  }
21837
- const waitingContext = isPrKind ? { repo: p.waiting_repo, pr_number: p.waiting_pr } : void 0;
21840
+ let waitingContext;
21841
+ if (isPrKind) {
21842
+ waitingContext = { repo: p.waiting_repo, pr_number: p.waiting_pr };
21843
+ } else if (p.waiting_choices && p.waiting_choices.length > 0) {
21844
+ waitingContext = { choices: p.waiting_choices };
21845
+ }
21838
21846
  const data = await apiPost("/host/kanban", {
21839
21847
  agent_id: AGT_AGENT_ID,
21840
21848
  update: [
@@ -36,7 +36,7 @@ import {
36
36
  writeDirectChatSessionState,
37
37
  writeEgressAllowlist,
38
38
  writePersistentClaudeWrapper
39
- } from "./chunk-GUCYHTCJ.js";
39
+ } from "./chunk-BNQPLUUB.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-C6IIZKQH.js.map
80
+ //# sourceMappingURL=persistent-session-WVLFEQPW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-GUCYHTCJ.js";
3
+ } from "./chunk-BNQPLUUB.js";
4
4
  import "./chunk-XWVM4KPK.js";
5
5
 
6
6
  // src/lib/responsiveness-probe.ts
@@ -418,4 +418,4 @@ export {
418
418
  readAndResetSlackReplyBindingClassifications,
419
419
  readAndResetSlackReplyTargetClassifications
420
420
  };
421
- //# sourceMappingURL=responsiveness-probe-RAHMPI4W.js.map
421
+ //# sourceMappingURL=responsiveness-probe-VCOYMMIT.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.290",
3
+ "version": "0.28.291",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {