@integrity-labs/agt-cli 0.28.673 → 0.28.674

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.
@@ -12,7 +12,7 @@ import {
12
12
  parseEnvFileEntries,
13
13
  parseEnvIntegrations,
14
14
  shellQuote
15
- } from "./chunk-YAVWYI5S.js";
15
+ } from "./chunk-7Y54PSMR.js";
16
16
  import {
17
17
  BIND_FAILURE_QUARANTINE_THRESHOLD,
18
18
  INTEGRATIONS_SECTION_END,
@@ -59,7 +59,7 @@ import {
59
59
  resolveConnectivityProbe,
60
60
  worseConnectivityOutcome,
61
61
  wrapScheduledTaskPrompt
62
- } from "./chunk-YOID6KOQ.js";
62
+ } from "./chunk-AJNES24H.js";
63
63
  import {
64
64
  parsePsRows
65
65
  } from "./chunk-XWVM4KPK.js";
@@ -6292,7 +6292,7 @@ function exchangeFailureKind(err) {
6292
6292
  }
6293
6293
 
6294
6294
  // src/lib/api-client.ts
6295
- var agtCliVersion = true ? "0.28.673" : "dev";
6295
+ var agtCliVersion = true ? "0.28.674" : "dev";
6296
6296
  var lastConfigHash = null;
6297
6297
  function setConfigHash(hash) {
6298
6298
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10033,4 +10033,4 @@ export {
10033
10033
  managerInstallSystemUnitCommand,
10034
10034
  managerUninstallSystemUnitCommand
10035
10035
  };
10036
- //# sourceMappingURL=chunk-RSERKOS7.js.map
10036
+ //# sourceMappingURL=chunk-ZD72DPZT.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-PYAJ4VJW.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-F7JEOWHQ.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-UZ2JB2KY.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-VAU7UXE4.js.map
@@ -54,7 +54,7 @@ import {
54
54
  safeWriteJsonAtomic,
55
55
  setConfigHash,
56
56
  tripClass
57
- } from "../chunk-RSERKOS7.js";
57
+ } from "../chunk-ZD72DPZT.js";
58
58
  import {
59
59
  getProjectDir as getProjectDir2,
60
60
  getReadyTasks,
@@ -112,7 +112,7 @@ import {
112
112
  takeZombieDetection,
113
113
  toOpencodeModel,
114
114
  writeEgressAllowlist
115
- } from "../chunk-YAVWYI5S.js";
115
+ } from "../chunk-7Y54PSMR.js";
116
116
  import {
117
117
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
118
118
  AnchorSessionClient,
@@ -193,7 +193,7 @@ import {
193
193
  subagentActivityAgeSeconds,
194
194
  sumTranscriptUsageInWindow,
195
195
  transcriptActivityAgeSeconds
196
- } from "../chunk-YOID6KOQ.js";
196
+ } from "../chunk-AJNES24H.js";
197
197
  import {
198
198
  reapOrphanChannelMcps
199
199
  } from "../chunk-XWVM4KPK.js";
@@ -11617,7 +11617,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
11617
11617
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
11618
11618
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
11619
11619
  async function channelInboundActivityAgeSecondsFor(codeName) {
11620
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-5I2LIVCA.js");
11620
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-7465YNMN.js");
11621
11621
  const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
11622
11622
  if (newest === null) return null;
11623
11623
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -12265,7 +12265,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
12265
12265
  var lastVersionCheckAt = 0;
12266
12266
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
12267
12267
  var lastResponsivenessProbeAt = 0;
12268
- var agtCliVersion = true ? "0.28.673" : "dev";
12268
+ var agtCliVersion = true ? "0.28.674" : "dev";
12269
12269
  function resolveBrewPath(execFileSync3) {
12270
12270
  try {
12271
12271
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -13651,7 +13651,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
13651
13651
  if (codeNames.length === 0) return;
13652
13652
  void (async () => {
13653
13653
  try {
13654
- const { collectDiagnostics } = await import("../persistent-session-PYAJ4VJW.js");
13654
+ const { collectDiagnostics } = await import("../persistent-session-F7JEOWHQ.js");
13655
13655
  await api.post("/host/heartbeat", {
13656
13656
  host_id: hostId,
13657
13657
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -13767,7 +13767,7 @@ async function pollCycleInner() {
13767
13767
  }
13768
13768
  try {
13769
13769
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
13770
- const { collectDiagnostics } = await import("../persistent-session-PYAJ4VJW.js");
13770
+ const { collectDiagnostics } = await import("../persistent-session-F7JEOWHQ.js");
13771
13771
  const diagCodeNames = [...agentState.persistentSessionAgents];
13772
13772
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
13773
13773
  let tailscaleHostname;
@@ -13919,7 +13919,7 @@ async function pollCycleInner() {
13919
13919
  collectPanelessActivityProbes,
13920
13920
  getResponsivenessIntervalMs,
13921
13921
  occupancyQualificationClassifications
13922
- } = await import("../responsiveness-probe-5I2LIVCA.js");
13922
+ } = await import("../responsiveness-probe-7465YNMN.js");
13923
13923
  const probeIntervalMs = getResponsivenessIntervalMs();
13924
13924
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
13925
13925
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -14029,7 +14029,7 @@ async function pollCycleInner() {
14029
14029
  collectResponsivenessProbes,
14030
14030
  livePendingInboundOldestAgeSeconds,
14031
14031
  parkPendingInbound
14032
- } = await import("../responsiveness-probe-5I2LIVCA.js");
14032
+ } = await import("../responsiveness-probe-7465YNMN.js");
14033
14033
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
14034
14034
  const wedgeNow = /* @__PURE__ */ new Date();
14035
14035
  const liveAgents = agentState.persistentSessionAgents;
@@ -14185,7 +14185,7 @@ async function pollCycleInner() {
14185
14185
  }
14186
14186
  try {
14187
14187
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
14188
- const { probeSessionAuth } = await import("../session-auth-dead-NUX643UJ.js");
14188
+ const { probeSessionAuth } = await import("../session-auth-dead-GBC5QPH3.js");
14189
14189
  const observations = [];
14190
14190
  const pendingCacheCommits = [];
14191
14191
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -17945,7 +17945,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
17945
17945
  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}`));
17946
17946
  void (async () => {
17947
17947
  try {
17948
- const { collectDiagnostics } = await import("../persistent-session-PYAJ4VJW.js");
17948
+ const { collectDiagnostics } = await import("../persistent-session-F7JEOWHQ.js");
17949
17949
  await api.post("/host/heartbeat", {
17950
17950
  host_id: hostId,
17951
17951
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -17996,7 +17996,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
17996
17996
  }
17997
17997
  try {
17998
17998
  const hostId = await getHostId();
17999
- const { collectDiagnostics } = await import("../persistent-session-PYAJ4VJW.js");
17999
+ const { collectDiagnostics } = await import("../persistent-session-F7JEOWHQ.js");
18000
18000
  await api.post("/host/heartbeat", {
18001
18001
  host_id: hostId,
18002
18002
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -18627,7 +18627,7 @@ async function processClaudePairSessions(agents) {
18627
18627
  killPairSession,
18628
18628
  pairTmuxSession,
18629
18629
  finalizeClaudePairOnboarding
18630
- } = await import("../claude-pair-runtime-UZ2JB2KY.js");
18630
+ } = await import("../claude-pair-runtime-VAU7UXE4.js");
18631
18631
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
18632
18632
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
18633
18633
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -36468,14 +36468,13 @@ var FLAG_REGISTRY = [
36468
36468
  // (mirrors scheduled-task-nudge-durable). Turning it ON removes plaintext at rest.
36469
36469
  defaultValue: false,
36470
36470
  // ENG-7997 flip-reach estimate: `since` is the first agt-cli build whose
36471
- // dist carries this host-side reader. That build is the one THIS PR's merge
36472
- // auto-publishes — unknown until then, and every already-published version
36473
- // (0.28.x) demonstrably lacks the reader (CodeRabbit npm-pack check). An
36474
- // UNREACHABLE placeholder is the fail-safe: the reach estimate counts zero
36475
- // hosts as honoring the flip (rather than over-claiming that 0.28.x hosts do,
36476
- // while they still write tokens to disk). MUST be updated to the actual
36477
- // published version once the release lands (tracked on ENG-9350).
36478
- since: "99.0.0"
36471
+ // dist carries this host-side reader. The ENG-9350 merge auto-published
36472
+ // 0.28.672, and `npm pack @integrity-labs/agt-cli@0.28.672` confirms its
36473
+ // bundled dist contains `spawn-inject-channel-secrets` (the reader) every
36474
+ // earlier 0.28.x lacks it. So hosts on 0.28.672 honor a flip; older ones
36475
+ // no-op until they self-update. (Replaced the 99.0.0 fail-safe placeholder
36476
+ // the flag shipped with before this build was known.)
36477
+ since: "0.28.672"
36479
36478
  },
36480
36479
  {
36481
36480
  key: "scheduled-task-confirmation-card",
package/dist/mcp/index.js CHANGED
@@ -43407,14 +43407,13 @@ var FLAG_REGISTRY = [
43407
43407
  // (mirrors scheduled-task-nudge-durable). Turning it ON removes plaintext at rest.
43408
43408
  defaultValue: false,
43409
43409
  // ENG-7997 flip-reach estimate: `since` is the first agt-cli build whose
43410
- // dist carries this host-side reader. That build is the one THIS PR's merge
43411
- // auto-publishes — unknown until then, and every already-published version
43412
- // (0.28.x) demonstrably lacks the reader (CodeRabbit npm-pack check). An
43413
- // UNREACHABLE placeholder is the fail-safe: the reach estimate counts zero
43414
- // hosts as honoring the flip (rather than over-claiming that 0.28.x hosts do,
43415
- // while they still write tokens to disk). MUST be updated to the actual
43416
- // published version once the release lands (tracked on ENG-9350).
43417
- since: "99.0.0"
43410
+ // dist carries this host-side reader. The ENG-9350 merge auto-published
43411
+ // 0.28.672, and `npm pack @integrity-labs/agt-cli@0.28.672` confirms its
43412
+ // bundled dist contains `spawn-inject-channel-secrets` (the reader) every
43413
+ // earlier 0.28.x lacks it. So hosts on 0.28.672 honor a flip; older ones
43414
+ // no-op until they self-update. (Replaced the 99.0.0 fail-safe placeholder
43415
+ // the flag shipped with before this build was known.)
43416
+ since: "0.28.672"
43418
43417
  },
43419
43418
  {
43420
43419
  key: "scheduled-task-confirmation-card",
@@ -42218,14 +42218,13 @@ var FLAG_REGISTRY = [
42218
42218
  // (mirrors scheduled-task-nudge-durable). Turning it ON removes plaintext at rest.
42219
42219
  defaultValue: false,
42220
42220
  // ENG-7997 flip-reach estimate: `since` is the first agt-cli build whose
42221
- // dist carries this host-side reader. That build is the one THIS PR's merge
42222
- // auto-publishes — unknown until then, and every already-published version
42223
- // (0.28.x) demonstrably lacks the reader (CodeRabbit npm-pack check). An
42224
- // UNREACHABLE placeholder is the fail-safe: the reach estimate counts zero
42225
- // hosts as honoring the flip (rather than over-claiming that 0.28.x hosts do,
42226
- // while they still write tokens to disk). MUST be updated to the actual
42227
- // published version once the release lands (tracked on ENG-9350).
42228
- since: "99.0.0"
42221
+ // dist carries this host-side reader. The ENG-9350 merge auto-published
42222
+ // 0.28.672, and `npm pack @integrity-labs/agt-cli@0.28.672` confirms its
42223
+ // bundled dist contains `spawn-inject-channel-secrets` (the reader) every
42224
+ // earlier 0.28.x lacks it. So hosts on 0.28.672 honor a flip; older ones
42225
+ // no-op until they self-update. (Replaced the 99.0.0 fail-safe placeholder
42226
+ // the flag shipped with before this build was known.)
42227
+ since: "0.28.672"
42229
42228
  },
42230
42229
  {
42231
42230
  key: "scheduled-task-confirmation-card",
@@ -36701,14 +36701,13 @@ var FLAG_REGISTRY = [
36701
36701
  // (mirrors scheduled-task-nudge-durable). Turning it ON removes plaintext at rest.
36702
36702
  defaultValue: false,
36703
36703
  // ENG-7997 flip-reach estimate: `since` is the first agt-cli build whose
36704
- // dist carries this host-side reader. That build is the one THIS PR's merge
36705
- // auto-publishes — unknown until then, and every already-published version
36706
- // (0.28.x) demonstrably lacks the reader (CodeRabbit npm-pack check). An
36707
- // UNREACHABLE placeholder is the fail-safe: the reach estimate counts zero
36708
- // hosts as honoring the flip (rather than over-claiming that 0.28.x hosts do,
36709
- // while they still write tokens to disk). MUST be updated to the actual
36710
- // published version once the release lands (tracked on ENG-9350).
36711
- since: "99.0.0"
36704
+ // dist carries this host-side reader. The ENG-9350 merge auto-published
36705
+ // 0.28.672, and `npm pack @integrity-labs/agt-cli@0.28.672` confirms its
36706
+ // bundled dist contains `spawn-inject-channel-secrets` (the reader) every
36707
+ // earlier 0.28.x lacks it. So hosts on 0.28.672 honor a flip; older ones
36708
+ // no-op until they self-update. (Replaced the 99.0.0 fail-safe placeholder
36709
+ // the flag shipped with before this build was known.)
36710
+ since: "0.28.672"
36712
36711
  },
36713
36712
  {
36714
36713
  key: "scheduled-task-confirmation-card",
@@ -37871,7 +37870,13 @@ var SECRET_PATTERNS = [
37871
37870
  // AWS access key IDs
37872
37871
  { re: /(?:AKIA|ASIA)[0-9A-Z]{16}/g, label: "aws-key" },
37873
37872
  // GitHub tokens
37874
- { re: /gh[pousr]_[A-Za-z0-9]{20,}/g, label: "github-token" }
37873
+ { re: /gh[pousr]_[A-Za-z0-9]{20,}/g, label: "github-token" },
37874
+ // Telegram bot tokens: <8-10 digit bot id>:<35-char secret> (ENG-9353).
37875
+ { re: /[0-9]{8,10}:[A-Za-z0-9_-]{35}/g, label: "telegram-bot-token" },
37876
+ // Bearer authorization tokens (opaque or JWT); 16+ chars so ordinary
37877
+ // "Bearer authentication" prose is left intact. `[ \t]+` (not `\s+`) so the
37878
+ // match cannot span a newline and swallow the line break (ENG-9353).
37879
+ { re: /[Bb]earer[ \t]+[A-Za-z0-9._-]{16,}/g, label: "bearer-token" }
37875
37880
  ];
37876
37881
  function redactPaneText(text) {
37877
37882
  let out = redactAugmentedPaths(text);
@@ -36845,14 +36845,13 @@ var FLAG_REGISTRY = [
36845
36845
  // (mirrors scheduled-task-nudge-durable). Turning it ON removes plaintext at rest.
36846
36846
  defaultValue: false,
36847
36847
  // ENG-7997 flip-reach estimate: `since` is the first agt-cli build whose
36848
- // dist carries this host-side reader. That build is the one THIS PR's merge
36849
- // auto-publishes — unknown until then, and every already-published version
36850
- // (0.28.x) demonstrably lacks the reader (CodeRabbit npm-pack check). An
36851
- // UNREACHABLE placeholder is the fail-safe: the reach estimate counts zero
36852
- // hosts as honoring the flip (rather than over-claiming that 0.28.x hosts do,
36853
- // while they still write tokens to disk). MUST be updated to the actual
36854
- // published version once the release lands (tracked on ENG-9350).
36855
- since: "99.0.0"
36848
+ // dist carries this host-side reader. The ENG-9350 merge auto-published
36849
+ // 0.28.672, and `npm pack @integrity-labs/agt-cli@0.28.672` confirms its
36850
+ // bundled dist contains `spawn-inject-channel-secrets` (the reader) every
36851
+ // earlier 0.28.x lacks it. So hosts on 0.28.672 honor a flip; older ones
36852
+ // no-op until they self-update. (Replaced the 99.0.0 fail-safe placeholder
36853
+ // the flag shipped with before this build was known.)
36854
+ since: "0.28.672"
36856
36855
  },
36857
36856
  {
36858
36857
  key: "scheduled-task-confirmation-card",
@@ -38238,7 +38237,13 @@ var SECRET_PATTERNS = [
38238
38237
  // AWS access key IDs
38239
38238
  { re: /(?:AKIA|ASIA)[0-9A-Z]{16}/g, label: "aws-key" },
38240
38239
  // GitHub tokens
38241
- { re: /gh[pousr]_[A-Za-z0-9]{20,}/g, label: "github-token" }
38240
+ { re: /gh[pousr]_[A-Za-z0-9]{20,}/g, label: "github-token" },
38241
+ // Telegram bot tokens: <8-10 digit bot id>:<35-char secret> (ENG-9353).
38242
+ { re: /[0-9]{8,10}:[A-Za-z0-9_-]{35}/g, label: "telegram-bot-token" },
38243
+ // Bearer authorization tokens (opaque or JWT); 16+ chars so ordinary
38244
+ // "Bearer authentication" prose is left intact. `[ \t]+` (not `\s+`) so the
38245
+ // match cannot span a newline and swallow the line break (ENG-9353).
38246
+ { re: /[Bb]earer[ \t]+[A-Za-z0-9._-]{16,}/g, label: "bearer-token" }
38242
38247
  ];
38243
38248
  function redactPaneText(text) {
38244
38249
  let out = redactAugmentedPaths(text);
@@ -43,8 +43,8 @@ import {
43
43
  writeDirectChatSessionState,
44
44
  writeEgressAllowlist,
45
45
  writePersistentClaudeWrapper
46
- } from "./chunk-YAVWYI5S.js";
47
- import "./chunk-YOID6KOQ.js";
46
+ } from "./chunk-7Y54PSMR.js";
47
+ import "./chunk-AJNES24H.js";
48
48
  import "./chunk-XWVM4KPK.js";
49
49
  export {
50
50
  EGRESS_BASELINE_DOMAINS,
@@ -92,4 +92,4 @@ export {
92
92
  writeEgressAllowlist,
93
93
  writePersistentClaudeWrapper
94
94
  };
95
- //# sourceMappingURL=persistent-session-PYAJ4VJW.js.map
95
+ //# sourceMappingURL=persistent-session-F7JEOWHQ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-YAVWYI5S.js";
4
- import "./chunk-YOID6KOQ.js";
3
+ } from "./chunk-7Y54PSMR.js";
4
+ import "./chunk-AJNES24H.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -727,4 +727,4 @@ export {
727
727
  readAndResetSlackReplyBindingClassifications,
728
728
  readAndResetSlackReplyTargetClassifications
729
729
  };
730
- //# sourceMappingURL=responsiveness-probe-5I2LIVCA.js.map
730
+ //# sourceMappingURL=responsiveness-probe-7465YNMN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-YOID6KOQ.js";
3
+ } from "./chunk-AJNES24H.js";
4
4
 
5
5
  // src/lib/session-auth-dead.ts
6
6
  import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
@@ -203,4 +203,4 @@ export {
203
203
  decideSessionAuthState,
204
204
  probeSessionAuth
205
205
  };
206
- //# sourceMappingURL=session-auth-dead-NUX643UJ.js.map
206
+ //# sourceMappingURL=session-auth-dead-GBC5QPH3.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.673",
3
+ "version": "0.28.674",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {