@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.
- package/dist/bin/agt.js +5 -5
- package/dist/{chunk-DN3KNGP4.js → chunk-ACCF4BLS.js} +7 -2
- package/dist/chunk-ACCF4BLS.js.map +1 -0
- package/dist/{chunk-C72SNMP6.js → chunk-IM5LTTRM.js} +1 -1
- package/dist/{chunk-RQ3I7GMD.js → chunk-ZHXBC3AZ.js} +4 -4
- package/dist/{claude-pair-runtime-6IA4RPMQ.js → claude-pair-runtime-WYZOO6QU.js} +2 -2
- package/dist/lib/manager-worker.js +16 -15
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +24 -1
- package/dist/mcp/slack-channel.js +24 -1
- package/dist/mcp/telegram-channel.js +1 -0
- package/dist/{persistent-session-5EDOQC2H.js → persistent-session-IVDW4O3C.js} +5 -3
- package/dist/{responsiveness-probe-SKX77FST.js → responsiveness-probe-GGRTBWWR.js} +3 -3
- package/dist/{session-auth-dead-XTMVOHUX.js → session-auth-dead-XPDRV7M5.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-DN3KNGP4.js.map +0 -1
- /package/dist/{chunk-C72SNMP6.js.map → chunk-IM5LTTRM.js.map} +0 -0
- /package/dist/{chunk-RQ3I7GMD.js.map → chunk-ZHXBC3AZ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-6IA4RPMQ.js.map → claude-pair-runtime-WYZOO6QU.js.map} +0 -0
- /package/dist/{persistent-session-5EDOQC2H.js.map → persistent-session-IVDW4O3C.js.map} +0 -0
- /package/dist/{responsiveness-probe-SKX77FST.js.map → responsiveness-probe-GGRTBWWR.js.map} +0 -0
- /package/dist/{session-auth-dead-XTMVOHUX.js.map → session-auth-dead-XPDRV7M5.js.map} +0 -0
|
@@ -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 ? {
|
|
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 ? {
|
|
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-
|
|
66
|
-
import "./chunk-
|
|
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-
|
|
136
|
+
//# sourceMappingURL=persistent-session-IVDW4O3C.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
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-
|
|
803
|
+
//# sourceMappingURL=responsiveness-probe-GGRTBWWR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
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-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-XPDRV7M5.js.map
|