@integrity-labs/agt-cli 0.28.1283 → 0.28.1284

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 (33) hide show
  1. package/dist/{api-client-34MRJANA.js → api-client-R6RJRYGB.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-5CUCQYZH.js → chunk-ENQZZU7H.js} +2 -2
  4. package/dist/{chunk-FFLU5VIN.js → chunk-MOEUK4YM.js} +12 -1
  5. package/dist/chunk-MOEUK4YM.js.map +1 -0
  6. package/dist/{chunk-QK4R5ZIT.js → chunk-NTSHQA62.js} +2 -2
  7. package/dist/{chunk-L4HODIVN.js → chunk-ORVKG3JD.js} +5 -5
  8. package/dist/{chunk-D5DY5OKR.js → chunk-UTJFYUFS.js} +3 -3
  9. package/dist/{chunk-G3CTTMOE.js → chunk-VVLJQMAS.js} +3 -3
  10. package/dist/{claude-code-updater-BQFWZDEI.js → claude-code-updater-CHQOLPJQ.js} +3 -3
  11. package/dist/{claude-pair-runtime-L6XQTJKV.js → claude-pair-runtime-DULPA33Z.js} +3 -3
  12. package/dist/lib/manager-worker.js +21 -21
  13. package/dist/mcp/direct-chat-channel.js +11 -0
  14. package/dist/mcp/index.js +12 -1
  15. package/dist/mcp/origami.js +11 -0
  16. package/dist/mcp/slack-channel.js +11 -0
  17. package/dist/mcp/telegram-channel.js +11 -0
  18. package/dist/{persistent-session-ISLJXHGH.js → persistent-session-IAMIVRZ3.js} +4 -4
  19. package/dist/{responsiveness-probe-X3SNNEDY.js → responsiveness-probe-CLRUQOE2.js} +4 -4
  20. package/dist/{session-auth-dead-UBNHYRAW.js → session-auth-dead-SH6ZJTOS.js} +3 -3
  21. package/package.json +1 -1
  22. package/dist/chunk-FFLU5VIN.js.map +0 -1
  23. /package/dist/{api-client-34MRJANA.js.map → api-client-R6RJRYGB.js.map} +0 -0
  24. /package/dist/{chunk-5CUCQYZH.js.map → chunk-ENQZZU7H.js.map} +0 -0
  25. /package/dist/{chunk-QK4R5ZIT.js.map → chunk-NTSHQA62.js.map} +0 -0
  26. /package/dist/{chunk-L4HODIVN.js.map → chunk-ORVKG3JD.js.map} +0 -0
  27. /package/dist/{chunk-D5DY5OKR.js.map → chunk-UTJFYUFS.js.map} +0 -0
  28. /package/dist/{chunk-G3CTTMOE.js.map → chunk-VVLJQMAS.js.map} +0 -0
  29. /package/dist/{claude-code-updater-BQFWZDEI.js.map → claude-code-updater-CHQOLPJQ.js.map} +0 -0
  30. /package/dist/{claude-pair-runtime-L6XQTJKV.js.map → claude-pair-runtime-DULPA33Z.js.map} +0 -0
  31. /package/dist/{persistent-session-ISLJXHGH.js.map → persistent-session-IAMIVRZ3.js.map} +0 -0
  32. /package/dist/{responsiveness-probe-X3SNNEDY.js.map → responsiveness-probe-CLRUQOE2.js.map} +0 -0
  33. /package/dist/{session-auth-dead-UBNHYRAW.js.map → session-auth-dead-SH6ZJTOS.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-FFLU5VIN.js";
3
+ } from "./chunk-MOEUK4YM.js";
4
4
 
5
5
  // src/lib/daily-session.ts
6
6
  import { randomUUID } from "crypto";
@@ -244,4 +244,4 @@ export {
244
244
  peekPreviousSession,
245
245
  readDailySessionPin
246
246
  };
247
- //# sourceMappingURL=chunk-QK4R5ZIT.js.map
247
+ //# sourceMappingURL=chunk-NTSHQA62.js.map
@@ -2,7 +2,7 @@ import {
2
2
  exchangeApiKey,
3
3
  getApiKey,
4
4
  getHost
5
- } from "./chunk-G3CTTMOE.js";
5
+ } from "./chunk-VVLJQMAS.js";
6
6
  import {
7
7
  LATE_BOUND_VARS,
8
8
  PLATFORM_DENY_PERMISSIONS,
@@ -26,11 +26,11 @@ import {
26
26
  warnIgnoredIsolationAllowlist,
27
27
  withheldRemoteMcpMessage,
28
28
  withheldRemoteMcpReasonFor
29
- } from "./chunk-D5DY5OKR.js";
29
+ } from "./chunk-UTJFYUFS.js";
30
30
  import {
31
31
  readDailySessionPin,
32
32
  sessionTranscriptDir
33
- } from "./chunk-QK4R5ZIT.js";
33
+ } from "./chunk-NTSHQA62.js";
34
34
  import {
35
35
  classifyUnanswerablePane,
36
36
  isConsumerTermsDialogVisible,
@@ -102,7 +102,7 @@ import {
102
102
  scanConfigForLiteralSecrets,
103
103
  worseConnectivityOutcome,
104
104
  wrapScheduledTaskPrompt
105
- } from "./chunk-FFLU5VIN.js";
105
+ } from "./chunk-MOEUK4YM.js";
106
106
  import {
107
107
  claudeJsonPathFor,
108
108
  effectiveClaudeJsonPath,
@@ -13853,4 +13853,4 @@ export {
13853
13853
  managerInstallSystemUnitCommand,
13854
13854
  managerUninstallSystemUnitCommand
13855
13855
  };
13856
- //# sourceMappingURL=chunk-L4HODIVN.js.map
13856
+ //# sourceMappingURL=chunk-ORVKG3JD.js.map
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-QK4R5ZIT.js";
7
+ } from "./chunk-NTSHQA62.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -54,7 +54,7 @@ import {
54
54
  remoteMcpConnectionEnvInfix,
55
55
  remoteMcpConnectionLabel,
56
56
  remoteMcpConnectionScopedEnvVar
57
- } from "./chunk-FFLU5VIN.js";
57
+ } from "./chunk-MOEUK4YM.js";
58
58
  import {
59
59
  CLAUDE_CONFIG_DIR_ENV,
60
60
  approveApiKeyInClaudeConfig,
@@ -6566,4 +6566,4 @@ export {
6566
6566
  stopAllSessionsAndWait,
6567
6567
  getProjectDir
6568
6568
  };
6569
- //# sourceMappingURL=chunk-D5DY5OKR.js.map
6569
+ //# sourceMappingURL=chunk-UTJFYUFS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOST_ROTATE_KEY_CONFLICT
3
- } from "./chunk-FFLU5VIN.js";
3
+ } from "./chunk-MOEUK4YM.js";
4
4
 
5
5
  // src/lib/config.ts
6
6
  import { readFileSync, writeFileSync, mkdirSync, existsSync } from "fs";
@@ -103,7 +103,7 @@ function exchangeFailureKind(err) {
103
103
  }
104
104
 
105
105
  // src/lib/api-client.ts
106
- var agtCliVersion = true ? "0.28.1283" : "dev";
106
+ var agtCliVersion = true ? "0.28.1284" : "dev";
107
107
  var lastConfigHash = null;
108
108
  function setConfigHash(hash) {
109
109
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -468,4 +468,4 @@ export {
468
468
  api,
469
469
  getHostId
470
470
  };
471
- //# sourceMappingURL=chunk-G3CTTMOE.js.map
471
+ //# sourceMappingURL=chunk-VVLJQMAS.js.map
@@ -13,9 +13,9 @@ import {
13
13
  probeClaudeInstalls,
14
14
  readsAsNativeInstall,
15
15
  shouldRunClaudeCodeUpdater
16
- } from "./chunk-5CUCQYZH.js";
16
+ } from "./chunk-ENQZZU7H.js";
17
17
  import "./chunk-XWVM4KPK.js";
18
- import "./chunk-FFLU5VIN.js";
18
+ import "./chunk-MOEUK4YM.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-BQFWZDEI.js.map
37
+ //# sourceMappingURL=claude-code-updater-CHQOLPJQ.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  redactPaneFrame,
12
12
  sanitizeTerminalFrame
13
- } from "./chunk-FFLU5VIN.js";
13
+ } from "./chunk-MOEUK4YM.js";
14
14
  import {
15
15
  CLAUDE_CONFIG_DIR_ENV,
16
16
  claudeConfigDirFor,
@@ -323,7 +323,7 @@ async function spawnPairSession(session) {
323
323
  return { ok: true };
324
324
  } catch {
325
325
  }
326
- const { resolveClaudeBinary } = await import("./persistent-session-ISLJXHGH.js");
326
+ const { resolveClaudeBinary } = await import("./persistent-session-IAMIVRZ3.js");
327
327
  const claudeBin = resolveClaudeBinary();
328
328
  const pairEnv = {
329
329
  ...process.env,
@@ -838,4 +838,4 @@ export {
838
838
  startClaudePair,
839
839
  submitClaudePairCode
840
840
  };
841
- //# sourceMappingURL=claude-pair-runtime-L6XQTJKV.js.map
841
+ //# sourceMappingURL=claude-pair-runtime-DULPA33Z.js.map
@@ -70,7 +70,7 @@ import {
70
70
  tripClass,
71
71
  writeEtcEnvironment,
72
72
  writeProfileDScript
73
- } from "../chunk-L4HODIVN.js";
73
+ } from "../chunk-ORVKG3JD.js";
74
74
  import {
75
75
  ApiError,
76
76
  adoptHostKeyInProcess,
@@ -88,7 +88,7 @@ import {
88
88
  probeHostKey,
89
89
  requireHost,
90
90
  setConfigHash
91
- } from "../chunk-G3CTTMOE.js";
91
+ } from "../chunk-VVLJQMAS.js";
92
92
  import {
93
93
  BLOCKED_ON_PROMPT_DECISION,
94
94
  CHANNEL_SECRET_ENV_KEYS,
@@ -180,7 +180,7 @@ import {
180
180
  webFetchBaselineValue,
181
181
  webFetchRestartNeeded,
182
182
  writeEgressAllowlist
183
- } from "../chunk-D5DY5OKR.js";
183
+ } from "../chunk-UTJFYUFS.js";
184
184
  import {
185
185
  isAgentIdle,
186
186
  isStaleForToday,
@@ -191,7 +191,7 @@ import {
191
191
  subagentActivityAgeSeconds,
192
192
  subagentTranscriptDir,
193
193
  transcriptActivityAgeSeconds
194
- } from "../chunk-QK4R5ZIT.js";
194
+ } from "../chunk-NTSHQA62.js";
195
195
  import {
196
196
  classifyUnanswerablePane,
197
197
  focusedConfirmDialogBlock,
@@ -217,7 +217,7 @@ import {
217
217
  runSafeCleanup,
218
218
  tightestDiskStat,
219
219
  withPackageCacheLock
220
- } from "../chunk-5CUCQYZH.js";
220
+ } from "../chunk-ENQZZU7H.js";
221
221
  import {
222
222
  parsePsRows,
223
223
  reapOrphanChannelMcps
@@ -346,7 +346,7 @@ import {
346
346
  stabiliseResetInstant,
347
347
  sumTranscriptUsageInWindow,
348
348
  summarizeTranscriptActivity
349
- } from "../chunk-FFLU5VIN.js";
349
+ } from "../chunk-MOEUK4YM.js";
350
350
  import {
351
351
  CLAUDE_CONFIG_DIR_ENV,
352
352
  claudeConfigDirFor,
@@ -15444,7 +15444,7 @@ function createFileMigrationReportIO(codeName, log2) {
15444
15444
  };
15445
15445
  }
15446
15446
  var managerHostPost = async (path, body) => {
15447
- const { api: api2, ApiError: ApiError3 } = await import("../api-client-34MRJANA.js");
15447
+ const { api: api2, ApiError: ApiError3 } = await import("../api-client-R6RJRYGB.js");
15448
15448
  try {
15449
15449
  const json = await api2.post(path, body);
15450
15450
  return { status: 200, json };
@@ -17499,7 +17499,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
17499
17499
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
17500
17500
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
17501
17501
  async function channelInboundActivityAgeSecondsFor(codeName) {
17502
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-X3SNNEDY.js");
17502
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-CLRUQOE2.js");
17503
17503
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
17504
17504
  if (newest === null) return null;
17505
17505
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -18380,7 +18380,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
18380
18380
  var lastVersionCheckAt = 0;
18381
18381
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
18382
18382
  var lastResponsivenessProbeAt = 0;
18383
- var agtCliVersion = true ? "0.28.1283" : "dev";
18383
+ var agtCliVersion = true ? "0.28.1284" : "dev";
18384
18384
  function resolveBrewPath(execFileSync5) {
18385
18385
  try {
18386
18386
  const out = execFileSync5("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -20491,7 +20491,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
20491
20491
  if (codeNames.length === 0) return;
20492
20492
  void (async () => {
20493
20493
  try {
20494
- const { collectDiagnostics } = await import("../persistent-session-ISLJXHGH.js");
20494
+ const { collectDiagnostics } = await import("../persistent-session-IAMIVRZ3.js");
20495
20495
  await api.post("/host/heartbeat", {
20496
20496
  host_id: hostId,
20497
20497
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -20634,7 +20634,7 @@ async function pollCycleInner() {
20634
20634
  }
20635
20635
  try {
20636
20636
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
20637
- const { collectDiagnostics } = await import("../persistent-session-ISLJXHGH.js");
20637
+ const { collectDiagnostics } = await import("../persistent-session-IAMIVRZ3.js");
20638
20638
  const diagCodeNames = [...agentState.persistentSessionAgents];
20639
20639
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
20640
20640
  let tailscaleHostname;
@@ -20933,7 +20933,7 @@ async function pollCycleInner() {
20933
20933
  }
20934
20934
  try {
20935
20935
  const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
20936
- const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-BQFWZDEI.js");
20936
+ const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-CHQOLPJQ.js");
20937
20937
  const securityFloor = currentSecurityFloor();
20938
20938
  claudeUpdaterInFlight = true;
20939
20939
  if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
@@ -20968,7 +20968,7 @@ async function pollCycleInner() {
20968
20968
  collectPanelessActivityProbes,
20969
20969
  getResponsivenessIntervalMs,
20970
20970
  occupancyQualificationClassifications
20971
- } = await import("../responsiveness-probe-X3SNNEDY.js");
20971
+ } = await import("../responsiveness-probe-CLRUQOE2.js");
20972
20972
  const probeIntervalMs = getResponsivenessIntervalMs();
20973
20973
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
20974
20974
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -21085,7 +21085,7 @@ async function pollCycleInner() {
21085
21085
  collectResponsivenessProbes,
21086
21086
  livePendingInboundOldestAgeSeconds,
21087
21087
  parkPendingInbound
21088
- } = await import("../responsiveness-probe-X3SNNEDY.js");
21088
+ } = await import("../responsiveness-probe-CLRUQOE2.js");
21089
21089
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
21090
21090
  const wedgeNow = /* @__PURE__ */ new Date();
21091
21091
  const liveAgents = agentState.persistentSessionAgents;
@@ -21371,7 +21371,7 @@ async function pollCycleInner() {
21371
21371
  }
21372
21372
  }
21373
21373
  );
21374
- const { parkPendingInbound } = await import("../responsiveness-probe-X3SNNEDY.js");
21374
+ const { parkPendingInbound } = await import("../responsiveness-probe-CLRUQOE2.js");
21375
21375
  const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
21376
21376
  paneFatalStreak.delete(codeName);
21377
21377
  paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
@@ -21402,7 +21402,7 @@ async function pollCycleInner() {
21402
21402
  TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
21403
21403
  bindSourceEscalations
21404
21404
  } = await import("../transcript-mount-health-OHE6IVJV.js");
21405
- const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-ISLJXHGH.js");
21405
+ const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-IAMIVRZ3.js");
21406
21406
  const mountConfig = resolveTranscriptMountConfig();
21407
21407
  const liveAgents = agentState.persistentSessionAgents;
21408
21408
  for (const tracked of [
@@ -21567,7 +21567,7 @@ async function pollCycleInner() {
21567
21567
  }
21568
21568
  try {
21569
21569
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
21570
- const { probeSessionAuth } = await import("../session-auth-dead-UBNHYRAW.js");
21570
+ const { probeSessionAuth } = await import("../session-auth-dead-SH6ZJTOS.js");
21571
21571
  const observations = [];
21572
21572
  const pendingCacheCommits = [];
21573
21573
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -26678,7 +26678,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
26678
26678
  if (!refreshData) return;
26679
26679
  const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
26680
26680
  const hostId = await getHostId();
26681
- const parkForRestart = await import("../responsiveness-probe-X3SNNEDY.js").then(
26681
+ const parkForRestart = await import("../responsiveness-probe-CLRUQOE2.js").then(
26682
26682
  (m) => m.parkPendingInbound,
26683
26683
  (err) => err
26684
26684
  );
@@ -26755,7 +26755,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
26755
26755
  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}`));
26756
26756
  void (async () => {
26757
26757
  try {
26758
- const { collectDiagnostics } = await import("../persistent-session-ISLJXHGH.js");
26758
+ const { collectDiagnostics } = await import("../persistent-session-IAMIVRZ3.js");
26759
26759
  await api.post("/host/heartbeat", {
26760
26760
  host_id: hostId,
26761
26761
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -26808,7 +26808,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
26808
26808
  }
26809
26809
  try {
26810
26810
  const hostId = await getHostId();
26811
- const { collectDiagnostics } = await import("../persistent-session-ISLJXHGH.js");
26811
+ const { collectDiagnostics } = await import("../persistent-session-IAMIVRZ3.js");
26812
26812
  await api.post("/host/heartbeat", {
26813
26813
  host_id: hostId,
26814
26814
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -27547,7 +27547,7 @@ async function processClaudePairSessions(agents) {
27547
27547
  snapshotPairConfig,
27548
27548
  // ENG-11659: result -> report body + the manager.log line that records it.
27549
27549
  planPairStartReport
27550
- } = await import("../claude-pair-runtime-L6XQTJKV.js");
27550
+ } = await import("../claude-pair-runtime-DULPA33Z.js");
27551
27551
  const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
27552
27552
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
27553
27553
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
@@ -44183,6 +44183,17 @@ var WAITING_KIND_SET = new Set(WAITING_KINDS);
44183
44183
  var HUMAN_ONLY_WAIT_REASONS = "approvals, credentials, customer contact, merges, deploys, access and spend";
44184
44184
  var MANAGER_AGENT_WAIT_GUIDANCE = `If you report to a manager AGENT, a scope, design or engineering decision (picking between options, settling what to build) goes to it: waiting_kind="agent" with waiting_on_agent=<your manager's code_name>, not "human". Keep waiting_kind="human" for ${HUMAN_ONLY_WAIT_REASONS}.`;
44185
44185
 
44186
+ // ../core/dist/kanban/board-truncation.js
44187
+ var BOARD_TERMINAL_STATUSES = ["done", "failed", "cancelled"];
44188
+ var BOARD_TERMINAL_STATUS_INLIST = `(${BOARD_TERMINAL_STATUSES.join(",")})`;
44189
+
44190
+ // ../core/dist/kanban/board-window.js
44191
+ var WINDOW_MS = {
44192
+ "24h": 24 * 60 * 60 * 1e3,
44193
+ "7d": 7 * 24 * 60 * 60 * 1e3,
44194
+ "30d": 30 * 24 * 60 * 60 * 1e3
44195
+ };
44196
+
44186
44197
  // ../core/dist/alerts/age.js
44187
44198
  var MINUTE_MS = 6e4;
44188
44199
  var HOUR_MS = 60 * MINUTE_MS;
package/dist/mcp/index.js CHANGED
@@ -29761,6 +29761,17 @@ function managerAgentDecisionHint(managerCodeName) {
29761
29761
  return `You report to a manager agent, @${managerCodeName}. If this is a scope, design or engineering decision, park it on them instead: kanban_move with waiting_kind="agent" and waiting_on_agent="${managerCodeName}". Keep waiting_kind="human" for ${HUMAN_ONLY_WAIT_REASONS}. The card is parked as you asked.`;
29762
29762
  }
29763
29763
 
29764
+ // ../core/dist/kanban/board-truncation.js
29765
+ var BOARD_TERMINAL_STATUSES = ["done", "failed", "cancelled"];
29766
+ var BOARD_TERMINAL_STATUS_INLIST = `(${BOARD_TERMINAL_STATUSES.join(",")})`;
29767
+
29768
+ // ../core/dist/kanban/board-window.js
29769
+ var WINDOW_MS = {
29770
+ "24h": 24 * 60 * 60 * 1e3,
29771
+ "7d": 7 * 24 * 60 * 60 * 1e3,
29772
+ "30d": 30 * 24 * 60 * 60 * 1e3
29773
+ };
29774
+
29764
29775
  // ../core/dist/directory/reports-to.js
29765
29776
  var MAX_REPORTS_TO_HOPS = 8;
29766
29777
  function describeReportsToOutcome(resolved) {
@@ -51143,7 +51154,7 @@ server.tool(
51143
51154
  var KANBAN_SEARCH_DESCRIPTION_MAX_CHARS = 300;
51144
51155
  server.tool(
51145
51156
  "kanban_search",
51146
- `Search your FULL kanban history by keyword \u2014 including done cards older than 24h that kanban_list omits. Use this BEFORE telling anyone you have "no record" of work they say you did: the board only shows the last 24h of completed cards, so "it's not on my board" does NOT mean you never did it. Each hit includes the card's result (the actual deliverable), so you can recite what you produced. An empty query returns your most recent cards across all statuses.`,
51157
+ `Search your FULL kanban history by keyword \u2014 including done cards older than 24h that kanban_list omits. Use this BEFORE telling anyone you have "no record" of work they say you did: the board only shows the last 24h of completed cards, so "it's not on my board" does NOT mean you never did it. Each hit includes the card's result (the actual deliverable), so you can recite what you produced. Open cards (anything not done, failed or cancelled, so needs_attention too) come first, newest first, then finished ones, most recently completed first; an empty query returns that view across all statuses.`,
51147
51158
  {
51148
51159
  query: external_exports.string().optional().describe('Keyword to match across title, description, result, deliverable and notes (e.g. "carousels", "Caribbean Park"). Omit to get your most recent cards.'),
51149
51160
  status: external_exports.enum(KANBAN_SEARCH_STATUSES).optional().describe('Restrict to one status. Default "all" searches every status \u2014 leave it unset to reach old done/failed work.'),
@@ -43584,6 +43584,17 @@ var WAITING_KIND_SET = new Set(WAITING_KINDS);
43584
43584
  var HUMAN_ONLY_WAIT_REASONS = "approvals, credentials, customer contact, merges, deploys, access and spend";
43585
43585
  var MANAGER_AGENT_WAIT_GUIDANCE = `If you report to a manager AGENT, a scope, design or engineering decision (picking between options, settling what to build) goes to it: waiting_kind="agent" with waiting_on_agent=<your manager's code_name>, not "human". Keep waiting_kind="human" for ${HUMAN_ONLY_WAIT_REASONS}.`;
43586
43586
 
43587
+ // ../core/dist/kanban/board-truncation.js
43588
+ var BOARD_TERMINAL_STATUSES = ["done", "failed", "cancelled"];
43589
+ var BOARD_TERMINAL_STATUS_INLIST = `(${BOARD_TERMINAL_STATUSES.join(",")})`;
43590
+
43591
+ // ../core/dist/kanban/board-window.js
43592
+ var WINDOW_MS = {
43593
+ "24h": 24 * 60 * 60 * 1e3,
43594
+ "7d": 7 * 24 * 60 * 60 * 1e3,
43595
+ "30d": 30 * 24 * 60 * 60 * 1e3
43596
+ };
43597
+
43587
43598
  // ../core/dist/alerts/age.js
43588
43599
  var MINUTE_MS = 6e4;
43589
43600
  var HOUR_MS = 60 * MINUTE_MS;
@@ -38436,6 +38436,17 @@ var WAITING_KIND_SET = new Set(WAITING_KINDS);
38436
38436
  var HUMAN_ONLY_WAIT_REASONS = "approvals, credentials, customer contact, merges, deploys, access and spend";
38437
38437
  var MANAGER_AGENT_WAIT_GUIDANCE = `If you report to a manager AGENT, a scope, design or engineering decision (picking between options, settling what to build) goes to it: waiting_kind="agent" with waiting_on_agent=<your manager's code_name>, not "human". Keep waiting_kind="human" for ${HUMAN_ONLY_WAIT_REASONS}.`;
38438
38438
 
38439
+ // ../core/dist/kanban/board-truncation.js
38440
+ var BOARD_TERMINAL_STATUSES = ["done", "failed", "cancelled"];
38441
+ var BOARD_TERMINAL_STATUS_INLIST = `(${BOARD_TERMINAL_STATUSES.join(",")})`;
38442
+
38443
+ // ../core/dist/kanban/board-window.js
38444
+ var WINDOW_MS = {
38445
+ "24h": 24 * 60 * 60 * 1e3,
38446
+ "7d": 7 * 24 * 60 * 60 * 1e3,
38447
+ "30d": 30 * 24 * 60 * 60 * 1e3
38448
+ };
38449
+
38439
38450
  // ../core/dist/alerts/index.js
38440
38451
  init_snooze();
38441
38452
 
@@ -38902,6 +38902,17 @@ var WAITING_KIND_SET = new Set(WAITING_KINDS);
38902
38902
  var HUMAN_ONLY_WAIT_REASONS = "approvals, credentials, customer contact, merges, deploys, access and spend";
38903
38903
  var MANAGER_AGENT_WAIT_GUIDANCE = `If you report to a manager AGENT, a scope, design or engineering decision (picking between options, settling what to build) goes to it: waiting_kind="agent" with waiting_on_agent=<your manager's code_name>, not "human". Keep waiting_kind="human" for ${HUMAN_ONLY_WAIT_REASONS}.`;
38904
38904
 
38905
+ // ../core/dist/kanban/board-truncation.js
38906
+ var BOARD_TERMINAL_STATUSES = ["done", "failed", "cancelled"];
38907
+ var BOARD_TERMINAL_STATUS_INLIST = `(${BOARD_TERMINAL_STATUSES.join(",")})`;
38908
+
38909
+ // ../core/dist/kanban/board-window.js
38910
+ var WINDOW_MS = {
38911
+ "24h": 24 * 60 * 60 * 1e3,
38912
+ "7d": 7 * 24 * 60 * 60 * 1e3,
38913
+ "30d": 30 * 24 * 60 * 60 * 1e3
38914
+ };
38915
+
38905
38916
  // ../core/dist/alerts/index.js
38906
38917
  init_snooze();
38907
38918
 
@@ -84,12 +84,12 @@ import {
84
84
  writeDirectChatSessionState,
85
85
  writeEgressAllowlist,
86
86
  writePersistentClaudeWrapper
87
- } from "./chunk-D5DY5OKR.js";
88
- import "./chunk-QK4R5ZIT.js";
87
+ } from "./chunk-UTJFYUFS.js";
88
+ import "./chunk-NTSHQA62.js";
89
89
  import "./chunk-XL2HPM67.js";
90
90
  import "./chunk-6HBXEJHO.js";
91
91
  import "./chunk-XWVM4KPK.js";
92
- import "./chunk-FFLU5VIN.js";
92
+ import "./chunk-MOEUK4YM.js";
93
93
  import "./chunk-AIUIMEUS.js";
94
94
  import "./chunk-DGUM43GV.js";
95
95
  export {
@@ -179,4 +179,4 @@ export {
179
179
  writeEgressAllowlist,
180
180
  writePersistentClaudeWrapper
181
181
  };
182
- //# sourceMappingURL=persistent-session-ISLJXHGH.js.map
182
+ //# sourceMappingURL=persistent-session-IAMIVRZ3.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-D5DY5OKR.js";
4
- import "./chunk-QK4R5ZIT.js";
3
+ } from "./chunk-UTJFYUFS.js";
4
+ import "./chunk-NTSHQA62.js";
5
5
  import "./chunk-XL2HPM67.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-FFLU5VIN.js";
8
+ import "./chunk-MOEUK4YM.js";
9
9
  import "./chunk-AIUIMEUS.js";
10
10
  import "./chunk-DGUM43GV.js";
11
11
 
@@ -804,4 +804,4 @@ export {
804
804
  readAndResetSlackReplyBindingClassifications,
805
805
  readAndResetSlackReplyTargetClassifications
806
806
  };
807
- //# sourceMappingURL=responsiveness-probe-X3SNNEDY.js.map
807
+ //# sourceMappingURL=responsiveness-probe-CLRUQOE2.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-QK4R5ZIT.js";
4
- import "./chunk-FFLU5VIN.js";
3
+ } from "./chunk-NTSHQA62.js";
4
+ import "./chunk-MOEUK4YM.js";
5
5
  import "./chunk-DGUM43GV.js";
6
6
 
7
7
  // src/lib/session-auth-dead.ts
@@ -205,4 +205,4 @@ export {
205
205
  decideSessionAuthState,
206
206
  probeSessionAuth
207
207
  };
208
- //# sourceMappingURL=session-auth-dead-UBNHYRAW.js.map
208
+ //# sourceMappingURL=session-auth-dead-SH6ZJTOS.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1283",
3
+ "version": "0.28.1284",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {