@integrity-labs/agt-cli 0.28.908 → 0.28.909

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.
@@ -16,7 +16,7 @@ import {
16
16
  parseEnvIntegrations,
17
17
  shellQuote,
18
18
  summarizeUnanswerablePane
19
- } from "./chunk-I2PUWPUR.js";
19
+ } from "./chunk-4M4POU6Q.js";
20
20
  import {
21
21
  BIND_FAILURE_QUARANTINE_THRESHOLD,
22
22
  INTEGRATIONS_SECTION_END,
@@ -76,7 +76,7 @@ import {
76
76
  sessionTranscriptDir,
77
77
  worseConnectivityOutcome,
78
78
  wrapScheduledTaskPrompt
79
- } from "./chunk-N47GH7MJ.js";
79
+ } from "./chunk-7WKTBFAD.js";
80
80
  import {
81
81
  parsePsRows
82
82
  } from "./chunk-XWVM4KPK.js";
@@ -6841,7 +6841,7 @@ function exchangeFailureKind(err) {
6841
6841
  }
6842
6842
 
6843
6843
  // src/lib/api-client.ts
6844
- var agtCliVersion = true ? "0.28.908" : "dev";
6844
+ var agtCliVersion = true ? "0.28.909" : "dev";
6845
6845
  var lastConfigHash = null;
6846
6846
  function setConfigHash(hash) {
6847
6847
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -11451,4 +11451,4 @@ export {
11451
11451
  managerInstallSystemUnitCommand,
11452
11452
  managerUninstallSystemUnitCommand
11453
11453
  };
11454
- //# sourceMappingURL=chunk-KJ7A7K2S.js.map
11454
+ //# sourceMappingURL=chunk-A2GUODU3.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-ZOEBA7KM.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-A2IB5WGW.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-A36CKF54.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-UYWAQW3F.js.map
@@ -63,7 +63,7 @@ import {
63
63
  safeWriteJsonAtomic,
64
64
  setConfigHash,
65
65
  tripClass
66
- } from "../chunk-KJ7A7K2S.js";
66
+ } from "../chunk-A2GUODU3.js";
67
67
  import {
68
68
  getProjectDir as getProjectDir2,
69
69
  getReadyTasks,
@@ -136,7 +136,7 @@ import {
136
136
  takeZombieDetection,
137
137
  toOpencodeModel,
138
138
  writeEgressAllowlist
139
- } from "../chunk-I2PUWPUR.js";
139
+ } from "../chunk-4M4POU6Q.js";
140
140
  import {
141
141
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
142
142
  AnchorSessionClient,
@@ -231,7 +231,7 @@ import {
231
231
  subagentActivityAgeSeconds,
232
232
  sumTranscriptUsageInWindow,
233
233
  transcriptActivityAgeSeconds
234
- } from "../chunk-N47GH7MJ.js";
234
+ } from "../chunk-7WKTBFAD.js";
235
235
  import {
236
236
  reapOrphanChannelMcps
237
237
  } from "../chunk-XWVM4KPK.js";
@@ -13133,7 +13133,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13133
13133
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13134
13134
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13135
13135
  async function channelInboundActivityAgeSecondsFor(codeName) {
13136
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-BNQIJAFF.js");
13136
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-3M3556MN.js");
13137
13137
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13138
13138
  if (newest === null) return null;
13139
13139
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13818,7 +13818,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13818
13818
  var lastVersionCheckAt = 0;
13819
13819
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13820
13820
  var lastResponsivenessProbeAt = 0;
13821
- var agtCliVersion = true ? "0.28.908" : "dev";
13821
+ var agtCliVersion = true ? "0.28.909" : "dev";
13822
13822
  function resolveBrewPath(execFileSync2) {
13823
13823
  try {
13824
13824
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -15408,7 +15408,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15408
15408
  if (codeNames.length === 0) return;
15409
15409
  void (async () => {
15410
15410
  try {
15411
- const { collectDiagnostics } = await import("../persistent-session-ZOEBA7KM.js");
15411
+ const { collectDiagnostics } = await import("../persistent-session-A2IB5WGW.js");
15412
15412
  await api.post("/host/heartbeat", {
15413
15413
  host_id: hostId,
15414
15414
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15550,7 +15550,7 @@ async function pollCycleInner() {
15550
15550
  }
15551
15551
  try {
15552
15552
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15553
- const { collectDiagnostics } = await import("../persistent-session-ZOEBA7KM.js");
15553
+ const { collectDiagnostics } = await import("../persistent-session-A2IB5WGW.js");
15554
15554
  const diagCodeNames = [...agentState.persistentSessionAgents];
15555
15555
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15556
15556
  let tailscaleHostname;
@@ -15725,7 +15725,7 @@ async function pollCycleInner() {
15725
15725
  collectPanelessActivityProbes,
15726
15726
  getResponsivenessIntervalMs,
15727
15727
  occupancyQualificationClassifications
15728
- } = await import("../responsiveness-probe-BNQIJAFF.js");
15728
+ } = await import("../responsiveness-probe-3M3556MN.js");
15729
15729
  const probeIntervalMs = getResponsivenessIntervalMs();
15730
15730
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15731
15731
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15842,7 +15842,7 @@ async function pollCycleInner() {
15842
15842
  collectResponsivenessProbes,
15843
15843
  livePendingInboundOldestAgeSeconds,
15844
15844
  parkPendingInbound
15845
- } = await import("../responsiveness-probe-BNQIJAFF.js");
15845
+ } = await import("../responsiveness-probe-3M3556MN.js");
15846
15846
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15847
15847
  const wedgeNow = /* @__PURE__ */ new Date();
15848
15848
  const liveAgents = agentState.persistentSessionAgents;
@@ -15998,7 +15998,7 @@ async function pollCycleInner() {
15998
15998
  }
15999
15999
  try {
16000
16000
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
16001
- const { probeSessionAuth } = await import("../session-auth-dead-TAAZTRTD.js");
16001
+ const { probeSessionAuth } = await import("../session-auth-dead-MRZ3A2N5.js");
16002
16002
  const observations = [];
16003
16003
  const pendingCacheCommits = [];
16004
16004
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -20262,7 +20262,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20262
20262
  try {
20263
20263
  const freshId = rotateSessionForWedge(codeName);
20264
20264
  consecutiveWedgeCycles.delete(codeName);
20265
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-BNQIJAFF.js");
20265
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-3M3556MN.js");
20266
20266
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
20267
20267
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
20268
20268
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -20305,7 +20305,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20305
20305
  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}`));
20306
20306
  void (async () => {
20307
20307
  try {
20308
- const { collectDiagnostics } = await import("../persistent-session-ZOEBA7KM.js");
20308
+ const { collectDiagnostics } = await import("../persistent-session-A2IB5WGW.js");
20309
20309
  await api.post("/host/heartbeat", {
20310
20310
  host_id: hostId,
20311
20311
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20356,7 +20356,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
20356
20356
  }
20357
20357
  try {
20358
20358
  const hostId = await getHostId();
20359
- const { collectDiagnostics } = await import("../persistent-session-ZOEBA7KM.js");
20359
+ const { collectDiagnostics } = await import("../persistent-session-A2IB5WGW.js");
20360
20360
  await api.post("/host/heartbeat", {
20361
20361
  host_id: hostId,
20362
20362
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20998,7 +20998,7 @@ async function processClaudePairSessions(agents) {
20998
20998
  killPairSession,
20999
20999
  pairTmuxSession,
21000
21000
  finalizeClaudePairOnboarding
21001
- } = await import("../claude-pair-runtime-A36CKF54.js");
21001
+ } = await import("../claude-pair-runtime-UYWAQW3F.js");
21002
21002
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
21003
21003
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
21004
21004
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -34013,7 +34013,7 @@ var INTEGRATION_REGISTRY = [
34013
34013
  // auth `none` — no end-user OAuth; the host JWT (org_id claim) is the
34014
34014
  // credential. NOT a customer integration; do not promote to `published`.
34015
34015
  id: "augmented-admin",
34016
- name: "Augmented Admin Debug",
34016
+ name: "Ninjafy Admin Debug",
34017
34017
  // ENG-8804: Staff-only cross-org debug surface: never customer-requestable.
34018
34018
  platform_internal: true,
34019
34019
  category: "infrastructure",
@@ -34035,7 +34035,7 @@ var INTEGRATION_REGISTRY = [
34035
34035
  // credential and the org-lock. NOT a customer-selectable integration: it is
34036
34036
  // attached automatically to system_support agents at provisioning.
34037
34037
  id: "augmented-support",
34038
- name: "Augmented Support",
34038
+ name: "Ninjafy Support",
34039
34039
  // ENG-8804: Attached automatically to system_support agents at provisioning.
34040
34040
  platform_internal: true,
34041
34041
  category: "infrastructure",
@@ -34073,7 +34073,7 @@ var INTEGRATION_REGISTRY = [
34073
34073
  // `knowledge_search` / `context_search` read. Keep the two distinct in every
34074
34074
  // surface that names them.
34075
34075
  id: "augmented-help-kb",
34076
- name: "Augmented Help KB",
34076
+ name: "Ninjafy Help KB",
34077
34077
  // ENG-8804: Granted centrally (ENG-8542 auto-grant), never connected by a human.
34078
34078
  platform_internal: true,
34079
34079
  category: "knowledge",
package/dist/mcp/index.js CHANGED
@@ -26587,7 +26587,7 @@ var INTEGRATION_REGISTRY = [
26587
26587
  // auth `none` — no end-user OAuth; the host JWT (org_id claim) is the
26588
26588
  // credential. NOT a customer integration; do not promote to `published`.
26589
26589
  id: "augmented-admin",
26590
- name: "Augmented Admin Debug",
26590
+ name: "Ninjafy Admin Debug",
26591
26591
  // ENG-8804: Staff-only cross-org debug surface: never customer-requestable.
26592
26592
  platform_internal: true,
26593
26593
  category: "infrastructure",
@@ -26609,7 +26609,7 @@ var INTEGRATION_REGISTRY = [
26609
26609
  // credential and the org-lock. NOT a customer-selectable integration: it is
26610
26610
  // attached automatically to system_support agents at provisioning.
26611
26611
  id: "augmented-support",
26612
- name: "Augmented Support",
26612
+ name: "Ninjafy Support",
26613
26613
  // ENG-8804: Attached automatically to system_support agents at provisioning.
26614
26614
  platform_internal: true,
26615
26615
  category: "infrastructure",
@@ -26647,7 +26647,7 @@ var INTEGRATION_REGISTRY = [
26647
26647
  // `knowledge_search` / `context_search` read. Keep the two distinct in every
26648
26648
  // surface that names them.
26649
26649
  id: "augmented-help-kb",
26650
- name: "Augmented Help KB",
26650
+ name: "Ninjafy Help KB",
26651
26651
  // ENG-8804: Granted centrally (ENG-8542 auto-grant), never connected by a human.
26652
26652
  platform_internal: true,
26653
26653
  category: "knowledge",
@@ -40718,7 +40718,7 @@ var INTEGRATION_REGISTRY = [
40718
40718
  // auth `none` — no end-user OAuth; the host JWT (org_id claim) is the
40719
40719
  // credential. NOT a customer integration; do not promote to `published`.
40720
40720
  id: "augmented-admin",
40721
- name: "Augmented Admin Debug",
40721
+ name: "Ninjafy Admin Debug",
40722
40722
  // ENG-8804: Staff-only cross-org debug surface: never customer-requestable.
40723
40723
  platform_internal: true,
40724
40724
  category: "infrastructure",
@@ -40740,7 +40740,7 @@ var INTEGRATION_REGISTRY = [
40740
40740
  // credential and the org-lock. NOT a customer-selectable integration: it is
40741
40741
  // attached automatically to system_support agents at provisioning.
40742
40742
  id: "augmented-support",
40743
- name: "Augmented Support",
40743
+ name: "Ninjafy Support",
40744
40744
  // ENG-8804: Attached automatically to system_support agents at provisioning.
40745
40745
  platform_internal: true,
40746
40746
  category: "infrastructure",
@@ -40778,7 +40778,7 @@ var INTEGRATION_REGISTRY = [
40778
40778
  // `knowledge_search` / `context_search` read. Keep the two distinct in every
40779
40779
  // surface that names them.
40780
40780
  id: "augmented-help-kb",
40781
- name: "Augmented Help KB",
40781
+ name: "Ninjafy Help KB",
40782
40782
  // ENG-8804: Granted centrally (ENG-8542 auto-grant), never connected by a human.
40783
40783
  platform_internal: true,
40784
40784
  category: "knowledge",
@@ -34948,7 +34948,7 @@ var INTEGRATION_REGISTRY = [
34948
34948
  // auth `none` — no end-user OAuth; the host JWT (org_id claim) is the
34949
34949
  // credential. NOT a customer integration; do not promote to `published`.
34950
34950
  id: "augmented-admin",
34951
- name: "Augmented Admin Debug",
34951
+ name: "Ninjafy Admin Debug",
34952
34952
  // ENG-8804: Staff-only cross-org debug surface: never customer-requestable.
34953
34953
  platform_internal: true,
34954
34954
  category: "infrastructure",
@@ -34970,7 +34970,7 @@ var INTEGRATION_REGISTRY = [
34970
34970
  // credential and the org-lock. NOT a customer-selectable integration: it is
34971
34971
  // attached automatically to system_support agents at provisioning.
34972
34972
  id: "augmented-support",
34973
- name: "Augmented Support",
34973
+ name: "Ninjafy Support",
34974
34974
  // ENG-8804: Attached automatically to system_support agents at provisioning.
34975
34975
  platform_internal: true,
34976
34976
  category: "infrastructure",
@@ -35008,7 +35008,7 @@ var INTEGRATION_REGISTRY = [
35008
35008
  // `knowledge_search` / `context_search` read. Keep the two distinct in every
35009
35009
  // surface that names them.
35010
35010
  id: "augmented-help-kb",
35011
- name: "Augmented Help KB",
35011
+ name: "Ninjafy Help KB",
35012
35012
  // ENG-8804: Granted centrally (ENG-8542 auto-grant), never connected by a human.
35013
35013
  platform_internal: true,
35014
35014
  category: "knowledge",
@@ -34998,7 +34998,7 @@ var INTEGRATION_REGISTRY = [
34998
34998
  // auth `none` — no end-user OAuth; the host JWT (org_id claim) is the
34999
34999
  // credential. NOT a customer integration; do not promote to `published`.
35000
35000
  id: "augmented-admin",
35001
- name: "Augmented Admin Debug",
35001
+ name: "Ninjafy Admin Debug",
35002
35002
  // ENG-8804: Staff-only cross-org debug surface: never customer-requestable.
35003
35003
  platform_internal: true,
35004
35004
  category: "infrastructure",
@@ -35020,7 +35020,7 @@ var INTEGRATION_REGISTRY = [
35020
35020
  // credential and the org-lock. NOT a customer-selectable integration: it is
35021
35021
  // attached automatically to system_support agents at provisioning.
35022
35022
  id: "augmented-support",
35023
- name: "Augmented Support",
35023
+ name: "Ninjafy Support",
35024
35024
  // ENG-8804: Attached automatically to system_support agents at provisioning.
35025
35025
  platform_internal: true,
35026
35026
  category: "infrastructure",
@@ -35058,7 +35058,7 @@ var INTEGRATION_REGISTRY = [
35058
35058
  // `knowledge_search` / `context_search` read. Keep the two distinct in every
35059
35059
  // surface that names them.
35060
35060
  id: "augmented-help-kb",
35061
- name: "Augmented Help KB",
35061
+ name: "Ninjafy Help KB",
35062
35062
  // ENG-8804: Granted centrally (ENG-8542 auto-grant), never connected by a human.
35063
35063
  platform_internal: true,
35064
35064
  category: "knowledge",
@@ -62,8 +62,8 @@ import {
62
62
  writeDirectChatSessionState,
63
63
  writeEgressAllowlist,
64
64
  writePersistentClaudeWrapper
65
- } from "./chunk-I2PUWPUR.js";
66
- import "./chunk-N47GH7MJ.js";
65
+ } from "./chunk-4M4POU6Q.js";
66
+ import "./chunk-7WKTBFAD.js";
67
67
  import "./chunk-XWVM4KPK.js";
68
68
  export {
69
69
  CLAUDE_HOST_WIDE,
@@ -130,4 +130,4 @@ export {
130
130
  writeEgressAllowlist,
131
131
  writePersistentClaudeWrapper
132
132
  };
133
- //# sourceMappingURL=persistent-session-ZOEBA7KM.js.map
133
+ //# sourceMappingURL=persistent-session-A2IB5WGW.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-I2PUWPUR.js";
4
- import "./chunk-N47GH7MJ.js";
3
+ } from "./chunk-4M4POU6Q.js";
4
+ import "./chunk-7WKTBFAD.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -799,4 +799,4 @@ export {
799
799
  readAndResetSlackReplyBindingClassifications,
800
800
  readAndResetSlackReplyTargetClassifications
801
801
  };
802
- //# sourceMappingURL=responsiveness-probe-BNQIJAFF.js.map
802
+ //# sourceMappingURL=responsiveness-probe-3M3556MN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-N47GH7MJ.js";
3
+ } from "./chunk-7WKTBFAD.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-TAAZTRTD.js.map
206
+ //# sourceMappingURL=session-auth-dead-MRZ3A2N5.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.908",
3
+ "version": "0.28.909",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {