@integrity-labs/agt-cli 0.28.1212 → 0.28.1213

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 (24) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-QII2YF5V.js → chunk-4CZE7RP3.js} +5 -5
  3. package/dist/{chunk-POUQ6BY5.js → chunk-BNNSPFLM.js} +2 -2
  4. package/dist/{chunk-PL2SNTAN.js → chunk-HIL72LVG.js} +1 -1
  5. package/dist/{chunk-6YBTIPCB.js → chunk-R5LKV5S3.js} +2 -2
  6. package/dist/{chunk-OFYHF2CU.js → chunk-UNWOF62A.js} +3 -3
  7. package/dist/{claude-code-updater-GCXW25K2.js → claude-code-updater-WKIW4KL7.js} +3 -3
  8. package/dist/{claude-pair-runtime-FZPM6JE6.js → claude-pair-runtime-NPBJS73B.js} +3 -3
  9. package/dist/lib/manager-worker.js +19 -19
  10. package/dist/mcp/index.js +42 -6
  11. package/dist/{persistent-session-65FCCLDW.js → persistent-session-YA4OONJJ.js} +4 -4
  12. package/dist/{responsiveness-probe-6CJCC736.js → responsiveness-probe-Z2V5JZAI.js} +4 -4
  13. package/dist/{session-auth-dead-FWNR2IOO.js → session-auth-dead-M3BMV27A.js} +3 -3
  14. package/package.json +1 -1
  15. /package/dist/{chunk-QII2YF5V.js.map → chunk-4CZE7RP3.js.map} +0 -0
  16. /package/dist/{chunk-POUQ6BY5.js.map → chunk-BNNSPFLM.js.map} +0 -0
  17. /package/dist/{chunk-PL2SNTAN.js.map → chunk-HIL72LVG.js.map} +0 -0
  18. /package/dist/{chunk-6YBTIPCB.js.map → chunk-R5LKV5S3.js.map} +0 -0
  19. /package/dist/{chunk-OFYHF2CU.js.map → chunk-UNWOF62A.js.map} +0 -0
  20. /package/dist/{claude-code-updater-GCXW25K2.js.map → claude-code-updater-WKIW4KL7.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-FZPM6JE6.js.map → claude-pair-runtime-NPBJS73B.js.map} +0 -0
  22. /package/dist/{persistent-session-65FCCLDW.js.map → persistent-session-YA4OONJJ.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-6CJCC736.js.map → responsiveness-probe-Z2V5JZAI.js.map} +0 -0
  24. /package/dist/{session-auth-dead-FWNR2IOO.js.map → session-auth-dead-M3BMV27A.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,17 +40,17 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-QII2YF5V.js";
43
+ } from "../chunk-4CZE7RP3.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-OFYHF2CU.js";
48
+ } from "../chunk-UNWOF62A.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-6YBTIPCB.js";
53
+ } from "../chunk-R5LKV5S3.js";
54
54
  import "../chunk-HYQ7VOC3.js";
55
55
  import "../chunk-6HBXEJHO.js";
56
56
  import "../chunk-XWVM4KPK.js";
@@ -83,7 +83,7 @@ import {
83
83
  requiredMcpWildcard,
84
84
  resolveChannels,
85
85
  serializeManifestForSlackCli
86
- } from "../chunk-PL2SNTAN.js";
86
+ } from "../chunk-HIL72LVG.js";
87
87
  import "../chunk-AIUIMEUS.js";
88
88
  import "../chunk-DGUM43GV.js";
89
89
 
@@ -5200,7 +5200,7 @@ import { execFileSync, execSync } from "child_process";
5200
5200
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5201
5201
  import chalk17 from "chalk";
5202
5202
  import ora15 from "ora";
5203
- var cliVersion = true ? "0.28.1212" : "dev";
5203
+ var cliVersion = true ? "0.28.1213" : "dev";
5204
5204
  async function fetchLatestVersion() {
5205
5205
  const host2 = getHost();
5206
5206
  if (!host2) return null;
@@ -6460,7 +6460,7 @@ function handleError(err) {
6460
6460
  }
6461
6461
 
6462
6462
  // src/bin/agt.ts
6463
- var cliVersion2 = true ? "0.28.1212" : "dev";
6463
+ var cliVersion2 = true ? "0.28.1213" : "dev";
6464
6464
  var program = new Command();
6465
6465
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
6466
6466
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -16,11 +16,11 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-OFYHF2CU.js";
19
+ } from "./chunk-UNWOF62A.js";
20
20
  import {
21
21
  readDailySessionPin,
22
22
  sessionTranscriptDir
23
- } from "./chunk-6YBTIPCB.js";
23
+ } from "./chunk-R5LKV5S3.js";
24
24
  import {
25
25
  classifyUnanswerablePane,
26
26
  isConsumerTermsDialogVisible,
@@ -92,7 +92,7 @@ import {
92
92
  scanConfigForLiteralSecrets,
93
93
  worseConnectivityOutcome,
94
94
  wrapScheduledTaskPrompt
95
- } from "./chunk-PL2SNTAN.js";
95
+ } from "./chunk-HIL72LVG.js";
96
96
  import {
97
97
  claudeJsonPathFor,
98
98
  effectiveClaudeJsonPath,
@@ -8082,7 +8082,7 @@ function exchangeFailureKind(err) {
8082
8082
  }
8083
8083
 
8084
8084
  // src/lib/api-client.ts
8085
- var agtCliVersion = true ? "0.28.1212" : "dev";
8085
+ var agtCliVersion = true ? "0.28.1213" : "dev";
8086
8086
  var lastConfigHash = null;
8087
8087
  function setConfigHash(hash) {
8088
8088
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -13683,4 +13683,4 @@ export {
13683
13683
  managerInstallSystemUnitCommand,
13684
13684
  managerUninstallSystemUnitCommand
13685
13685
  };
13686
- //# sourceMappingURL=chunk-QII2YF5V.js.map
13686
+ //# sourceMappingURL=chunk-4CZE7RP3.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XWVM4KPK.js";
5
5
  import {
6
6
  FORCED_UPDATE_HARD_DEADLINE_MS
7
- } from "./chunk-PL2SNTAN.js";
7
+ } from "./chunk-HIL72LVG.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-POUQ6BY5.js.map
725
+ //# sourceMappingURL=chunk-BNNSPFLM.js.map
@@ -17899,4 +17899,4 @@ export {
17899
17899
  HOST_ROTATE_KEY_CONFLICT,
17900
17900
  shouldMintReplacementKey
17901
17901
  };
17902
- //# sourceMappingURL=chunk-PL2SNTAN.js.map
17902
+ //# sourceMappingURL=chunk-HIL72LVG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-PL2SNTAN.js";
3
+ } from "./chunk-HIL72LVG.js";
4
4
 
5
5
  // src/lib/daily-session.ts
6
6
  import { randomUUID } from "crypto";
@@ -240,4 +240,4 @@ export {
240
240
  peekPreviousSession,
241
241
  readDailySessionPin
242
242
  };
243
- //# sourceMappingURL=chunk-6YBTIPCB.js.map
243
+ //# sourceMappingURL=chunk-R5LKV5S3.js.map
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-6YBTIPCB.js";
7
+ } from "./chunk-R5LKV5S3.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-PL2SNTAN.js";
54
+ } from "./chunk-HIL72LVG.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-OFYHF2CU.js.map
6176
+ //# sourceMappingURL=chunk-UNWOF62A.js.map
@@ -13,9 +13,9 @@ import {
13
13
  probeClaudeInstalls,
14
14
  readsAsNativeInstall,
15
15
  shouldRunClaudeCodeUpdater
16
- } from "./chunk-POUQ6BY5.js";
16
+ } from "./chunk-BNNSPFLM.js";
17
17
  import "./chunk-XWVM4KPK.js";
18
- import "./chunk-PL2SNTAN.js";
18
+ import "./chunk-HIL72LVG.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-GCXW25K2.js.map
37
+ //# sourceMappingURL=claude-code-updater-WKIW4KL7.js.map
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  redactPaneFrame,
10
10
  sanitizeTerminalFrame
11
- } from "./chunk-PL2SNTAN.js";
11
+ } from "./chunk-HIL72LVG.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-65FCCLDW.js");
324
+ const { resolveClaudeBinary } = await import("./persistent-session-YA4OONJJ.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-FZPM6JE6.js.map
839
+ //# sourceMappingURL=claude-pair-runtime-NPBJS73B.js.map
@@ -85,7 +85,7 @@ import {
85
85
  tripClass,
86
86
  writeEtcEnvironment,
87
87
  writeProfileDScript
88
- } from "../chunk-QII2YF5V.js";
88
+ } from "../chunk-4CZE7RP3.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-POUQ6BY5.js";
102
+ } from "../chunk-BNNSPFLM.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-OFYHF2CU.js";
195
+ } from "../chunk-UNWOF62A.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-6YBTIPCB.js";
205
+ } from "../chunk-R5LKV5S3.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-PL2SNTAN.js";
333
+ } from "../chunk-HIL72LVG.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-6CJCC736.js");
15653
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-Z2V5JZAI.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.1212" : "dev";
16450
+ var agtCliVersion = true ? "0.28.1213" : "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-65FCCLDW.js");
18354
+ const { collectDiagnostics } = await import("../persistent-session-YA4OONJJ.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-65FCCLDW.js");
18497
+ const { collectDiagnostics } = await import("../persistent-session-YA4OONJJ.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-GCXW25K2.js");
18755
+ const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-WKIW4KL7.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-6CJCC736.js");
18790
+ } = await import("../responsiveness-probe-Z2V5JZAI.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-6CJCC736.js");
18907
+ } = await import("../responsiveness-probe-Z2V5JZAI.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-6CJCC736.js");
19193
+ const { parkPendingInbound } = await import("../responsiveness-probe-Z2V5JZAI.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-65FCCLDW.js");
19224
+ const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-YA4OONJJ.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-FWNR2IOO.js");
19389
+ const { probeSessionAuth } = await import("../session-auth-dead-M3BMV27A.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-6CJCC736.js");
24119
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-Z2V5JZAI.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-65FCCLDW.js");
24162
+ const { collectDiagnostics } = await import("../persistent-session-YA4OONJJ.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-65FCCLDW.js");
24213
+ const { collectDiagnostics } = await import("../persistent-session-YA4OONJJ.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-FZPM6JE6.js");
24915
+ } = await import("../claude-pair-runtime-NPBJS73B.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)}`);
package/dist/mcp/index.js CHANGED
@@ -29018,6 +29018,36 @@ var CONDITIONAL_DELIVERY_BODY = [
29018
29018
  "Your own bookkeeping is not activity: creating, updating, or closing THIS routine's own scheduled-task / status-check card is internal housekeeping and is never, by itself, a reason to deliver."
29019
29019
  ].join("\n");
29020
29020
 
29021
+ // ../core/dist/scheduled-tasks/schedule-at.js
29022
+ function describeScheduleAt(stored, timeZone) {
29023
+ if (!stored)
29024
+ return "no time set";
29025
+ const instantMs = Date.parse(stored);
29026
+ if (Number.isNaN(instantMs))
29027
+ return stored;
29028
+ const instant = new Date(instantMs).toISOString();
29029
+ const zone = timeZone?.trim() || "UTC";
29030
+ try {
29031
+ const parts = new Map(new Intl.DateTimeFormat("en-GB", {
29032
+ timeZone: zone,
29033
+ hourCycle: "h23",
29034
+ weekday: "short",
29035
+ day: "numeric",
29036
+ month: "short",
29037
+ year: "numeric",
29038
+ hour: "2-digit",
29039
+ minute: "2-digit",
29040
+ timeZoneName: "longOffset"
29041
+ }).formatToParts(instantMs).map((p2) => [p2.type, p2.value]));
29042
+ const offsetName = parts.get("timeZoneName") ?? "GMT";
29043
+ const offset = offsetName === "GMT" ? "UTC+00:00" : offsetName.replace("GMT", "UTC");
29044
+ const when = `${parts.get("hour")}:${parts.get("minute")} ${parts.get("weekday")} ${parts.get("day")} ${parts.get("month")} ${parts.get("year")}`;
29045
+ return `${instant} (${when} in ${zone}, ${offset})`;
29046
+ } catch {
29047
+ return `${instant} (timezone "${zone}" is not recognised, so no local time)`;
29048
+ }
29049
+ }
29050
+
29021
29051
  // ../core/dist/liveness/agent-liveness.js
29022
29052
  var FRESH_HEARTBEAT_THRESHOLD_MS = 2 * 60 * 1e3;
29023
29053
 
@@ -52405,7 +52435,7 @@ server.tool(
52405
52435
  return { content: [{ type: "text", text: "No scheduled tasks." }] };
52406
52436
  }
52407
52437
  const lines = data.tasks.map((t) => {
52408
- const schedule = t.schedule_kind === "cron" ? `cron: ${t.schedule_expr}` : t.schedule_kind === "every" ? `every: ${t.schedule_every}` : `at: ${t.schedule_at}`;
52438
+ const schedule = t.schedule_kind === "cron" ? `cron: ${t.schedule_expr}` : t.schedule_kind === "every" ? `every: ${t.schedule_every}` : `at: ${describeScheduleAt(t.schedule_at, t.timezone)}`;
52409
52439
  const status = t.enabled ? "\u2705" : "\u23F8\uFE0F";
52410
52440
  const prompt = params.include_full_prompt ? t.prompt : `${t.prompt.slice(0, 100)}${t.prompt.length > 100 ? "..." : ""}`;
52411
52441
  const truncationHint = !params.include_full_prompt && t.prompt.length > 100 ? " (preview - call again with include_full_prompt: true for the whole thing)" : "";
@@ -52423,8 +52453,8 @@ server.tool(
52423
52453
  schedule_kind: external_exports.enum(["cron", "every", "at"]).describe('Schedule type: cron (cron expression), every (interval like "30m"), at (one-time ISO timestamp)'),
52424
52454
  schedule_expr: external_exports.string().optional().describe('Cron expression (required for cron kind, e.g. "0 9 * * 1-5")'),
52425
52455
  schedule_every: external_exports.string().optional().describe('Interval (required for every kind, e.g. "30m", "2h", "1d")'),
52426
- schedule_at: external_exports.string().optional().describe('ISO 8601 timestamp (required for at kind, e.g. "2026-04-04T14:00:00Z")'),
52427
- timezone: external_exports.string().optional().describe('Timezone (default: UTC, e.g. "Australia/Sydney")'),
52456
+ schedule_at: external_exports.string().optional().describe('ISO 8601 time (required for at kind). With Z or an offset it is that exact instant ("2026-04-04T14:00:00Z"). With no offset it is local time in `timezone` ("2026-04-04T14:00:00"), and is refused if daylight saving skips or repeats it.'),
52457
+ timezone: external_exports.string().optional().describe('IANA timezone (e.g. "Australia/Sydney"). Default: the team timezone, else UTC.'),
52428
52458
  prompt: external_exports.string().describe("What to do when the task fires"),
52429
52459
  delivery_channel: external_exports.string().optional().describe('Channel platform to deliver results to (e.g. "slack", "telegram"). Default: "slack" if available.'),
52430
52460
  delivery_to: DeliveryTargetSchema.optional().describe(
@@ -52467,7 +52497,10 @@ server.tool(
52467
52497
  // twelve-hour hole.
52468
52498
  text: [
52469
52499
  `Created scheduled task "${data.task.name}" [id: ${data.task.id}]`,
52470
- params.schedule_kind === "cron" && params.schedule_expr ? describeCronCoverage(params.schedule_expr, data.task.timezone ?? params.timezone) : null
52500
+ params.schedule_kind === "cron" && params.schedule_expr ? describeCronCoverage(params.schedule_expr, data.task.timezone ?? params.timezone) : null,
52501
+ // CS-1789: say which time was stored, so a wrong reading shows now
52502
+ // rather than when the task fires.
52503
+ params.schedule_kind === "at" ? `Fires at ${describeScheduleAt(data.task.schedule_at, data.task.timezone)}` : null
52471
52504
  ].filter(Boolean).join("\n\n")
52472
52505
  }
52473
52506
  ]
@@ -52514,7 +52547,7 @@ server.tool(
52514
52547
  'Interval string (e.g. "30m", "2h") when schedule_kind is every'
52515
52548
  ),
52516
52549
  schedule_at: external_exports.string().optional().describe(
52517
- "ISO 8601 timestamp when schedule_kind is at (one-off task)"
52550
+ "ISO 8601 time when schedule_kind is at (one-off task). With Z or an offset it is that exact instant. With no offset it is local time in `timezone` if given, else in the task's timezone."
52518
52551
  ),
52519
52552
  timezone: external_exports.string().optional().describe('IANA timezone (e.g. "America/Los_Angeles")'),
52520
52553
  prompt: external_exports.string().optional().describe(
@@ -52576,7 +52609,10 @@ server.tool(
52576
52609
  if (params[key] !== void 0) updatedFields.push(key);
52577
52610
  }
52578
52611
  const summary = `Updated scheduled task ${params.task_id} (${updatedFields.join(", ") || "no changes"})`;
52579
- return { content: [{ type: "text", text: summary }] };
52612
+ const firesAt = data.task?.schedule_kind === "at" && (params.schedule_at !== void 0 || params.timezone !== void 0) ? `
52613
+
52614
+ Fires at ${describeScheduleAt(data.task.schedule_at, data.task.timezone)}` : "";
52615
+ return { content: [{ type: "text", text: `${summary}${firesAt}` }] };
52580
52616
  }
52581
52617
  );
52582
52618
  server.tool(
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-OFYHF2CU.js";
72
- import "./chunk-6YBTIPCB.js";
71
+ } from "./chunk-UNWOF62A.js";
72
+ import "./chunk-R5LKV5S3.js";
73
73
  import "./chunk-HYQ7VOC3.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-PL2SNTAN.js";
76
+ import "./chunk-HIL72LVG.js";
77
77
  import "./chunk-AIUIMEUS.js";
78
78
  import "./chunk-DGUM43GV.js";
79
79
  export {
@@ -147,4 +147,4 @@ export {
147
147
  writeEgressAllowlist,
148
148
  writePersistentClaudeWrapper
149
149
  };
150
- //# sourceMappingURL=persistent-session-65FCCLDW.js.map
150
+ //# sourceMappingURL=persistent-session-YA4OONJJ.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-OFYHF2CU.js";
4
- import "./chunk-6YBTIPCB.js";
3
+ } from "./chunk-UNWOF62A.js";
4
+ import "./chunk-R5LKV5S3.js";
5
5
  import "./chunk-HYQ7VOC3.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-PL2SNTAN.js";
8
+ import "./chunk-HIL72LVG.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-6CJCC736.js.map
807
+ //# sourceMappingURL=responsiveness-probe-Z2V5JZAI.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-6YBTIPCB.js";
4
- import "./chunk-PL2SNTAN.js";
3
+ } from "./chunk-R5LKV5S3.js";
4
+ import "./chunk-HIL72LVG.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-FWNR2IOO.js.map
208
+ //# sourceMappingURL=session-auth-dead-M3BMV27A.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1212",
3
+ "version": "0.28.1213",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {