@integrity-labs/agt-cli 0.28.991 → 0.28.993

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.
@@ -39084,9 +39084,28 @@ function undeliverableNoticeTextForRepeat(i) {
39084
39084
  }
39085
39085
  return null;
39086
39086
  }
39087
+ function channelInboundGateOpen(readFile = (p2) => readFileSync7(p2, "utf-8")) {
39088
+ const path = process.platform === "darwin" ? "/Library/Application Support/ClaudeCode/managed-settings.json" : "/etc/claude-code/managed-settings.json";
39089
+ let raw;
39090
+ try {
39091
+ raw = readFile(path);
39092
+ } catch {
39093
+ return void 0;
39094
+ }
39095
+ let parsed;
39096
+ try {
39097
+ parsed = JSON.parse(raw);
39098
+ } catch {
39099
+ return void 0;
39100
+ }
39101
+ if (!parsed || typeof parsed !== "object") return void 0;
39102
+ const value = parsed["channelsEnabled"];
39103
+ return typeof value === "boolean" ? value : void 0;
39104
+ }
39087
39105
  function noticePromiseIsHonest(replay) {
39088
39106
  if (replay === void 0) return false;
39089
39107
  if (typeof replay === "boolean") return replay;
39108
+ if (replay.destinationReachable !== true) return false;
39090
39109
  return markerReplayable({
39091
39110
  enabled: replay.enabled ?? channelReplayEnabled(),
39092
39111
  hasPayload: replay.hasPayload,
@@ -41119,7 +41138,11 @@ function directChatSessionReplayFacts(sessionId) {
41119
41138
  return null;
41120
41139
  }
41121
41140
  const facts = combineMarkerReplayFacts(found);
41122
- return facts ? { enabled: channelReplayEnabled(), ...facts } : null;
41141
+ return facts ? {
41142
+ enabled: channelReplayEnabled(),
41143
+ destinationReachable: channelInboundGateOpen(),
41144
+ ...facts
41145
+ } : null;
41123
41146
  }
41124
41147
  function postDirectChatUndeliverableNotice(sessionId) {
41125
41148
  const now = Date.now();
@@ -39579,9 +39579,28 @@ function undeliverableNoticeTextForRepeat(i) {
39579
39579
  }
39580
39580
  return null;
39581
39581
  }
39582
+ function channelInboundGateOpen(readFile = (p2) => readFileSync3(p2, "utf-8")) {
39583
+ const path = process.platform === "darwin" ? "/Library/Application Support/ClaudeCode/managed-settings.json" : "/etc/claude-code/managed-settings.json";
39584
+ let raw;
39585
+ try {
39586
+ raw = readFile(path);
39587
+ } catch {
39588
+ return void 0;
39589
+ }
39590
+ let parsed;
39591
+ try {
39592
+ parsed = JSON.parse(raw);
39593
+ } catch {
39594
+ return void 0;
39595
+ }
39596
+ if (!parsed || typeof parsed !== "object") return void 0;
39597
+ const value = parsed["channelsEnabled"];
39598
+ return typeof value === "boolean" ? value : void 0;
39599
+ }
39582
39600
  function noticePromiseIsHonest(replay) {
39583
39601
  if (replay === void 0) return false;
39584
39602
  if (typeof replay === "boolean") return replay;
39603
+ if (replay.destinationReachable !== true) return false;
39585
39604
  return markerReplayable({
39586
39605
  enabled: replay.enabled ?? channelReplayEnabled(),
39587
39606
  hasPayload: replay.hasPayload,
@@ -45183,7 +45202,11 @@ function slackConversationReplayFacts(channel, threadTs) {
45183
45202
  return null;
45184
45203
  }
45185
45204
  const facts = combineMarkerReplayFacts(found);
45186
- return facts ? { enabled: channelReplayEnabled(), ...facts } : null;
45205
+ return facts ? {
45206
+ enabled: channelReplayEnabled(),
45207
+ destinationReachable: channelInboundGateOpen(),
45208
+ ...facts
45209
+ } : null;
45187
45210
  }
45188
45211
  function sendUndeliverableNotice(channel, threadTs, conversationKey) {
45189
45212
  if (!BOT_TOKEN || !channel) return;
@@ -42236,6 +42236,7 @@ function undeliverableNoticeTextForRepeat(i) {
42236
42236
  function noticePromiseIsHonest(replay) {
42237
42237
  if (replay === void 0) return false;
42238
42238
  if (typeof replay === "boolean") return replay;
42239
+ if (replay.destinationReachable !== true) return false;
42239
42240
  return markerReplayable({
42240
42241
  enabled: replay.enabled ?? channelReplayEnabled(),
42241
42242
  hasPayload: replay.hasPayload,
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  CLAUDE_HOST_WIDE,
3
+ CLAUDE_MANAGED_SETTINGS_DIR,
3
4
  CLAUDE_NULLED_FILES,
4
5
  CLAUDE_PER_AGENT_DIRS,
5
6
  EGRESS_BASELINE_DOMAINS,
@@ -62,12 +63,13 @@ import {
62
63
  writeDirectChatSessionState,
63
64
  writeEgressAllowlist,
64
65
  writePersistentClaudeWrapper
65
- } from "./chunk-DN3KNGP4.js";
66
- import "./chunk-C72SNMP6.js";
66
+ } from "./chunk-ACCF4BLS.js";
67
+ import "./chunk-IM5LTTRM.js";
67
68
  import "./chunk-DHWNVVX4.js";
68
69
  import "./chunk-XWVM4KPK.js";
69
70
  export {
70
71
  CLAUDE_HOST_WIDE,
72
+ CLAUDE_MANAGED_SETTINGS_DIR,
71
73
  CLAUDE_NULLED_FILES,
72
74
  CLAUDE_PER_AGENT_DIRS,
73
75
  EGRESS_BASELINE_DOMAINS,
@@ -131,4 +133,4 @@ export {
131
133
  writeEgressAllowlist,
132
134
  writePersistentClaudeWrapper
133
135
  };
134
- //# sourceMappingURL=persistent-session-5EDOQC2H.js.map
136
+ //# sourceMappingURL=persistent-session-IVDW4O3C.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-DN3KNGP4.js";
4
- import "./chunk-C72SNMP6.js";
3
+ } from "./chunk-ACCF4BLS.js";
4
+ import "./chunk-IM5LTTRM.js";
5
5
  import "./chunk-DHWNVVX4.js";
6
6
  import "./chunk-XWVM4KPK.js";
7
7
 
@@ -800,4 +800,4 @@ export {
800
800
  readAndResetSlackReplyBindingClassifications,
801
801
  readAndResetSlackReplyTargetClassifications
802
802
  };
803
- //# sourceMappingURL=responsiveness-probe-SKX77FST.js.map
803
+ //# sourceMappingURL=responsiveness-probe-GGRTBWWR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-C72SNMP6.js";
3
+ } from "./chunk-IM5LTTRM.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-XTMVOHUX.js.map
206
+ //# sourceMappingURL=session-auth-dead-XPDRV7M5.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.991",
3
+ "version": "0.28.993",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {