@integrity-labs/agt-cli 0.24.6 → 0.24.7
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 +4 -4
- package/dist/{chunk-PNTLQKLO.js → chunk-3A2PMQM4.js} +2 -2
- package/dist/{chunk-ECDTRQLA.js → chunk-53TCAGCM.js} +90 -1
- package/dist/chunk-53TCAGCM.js.map +1 -0
- package/dist/{chunk-VMHT2DM7.js → chunk-FK6BJWEC.js} +2 -2
- package/dist/{claude-pair-runtime-ZQAJOQPN.js → claude-pair-runtime-4F53C7RB.js} +2 -2
- package/dist/lib/manager-worker.js +71 -13
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +14 -7
- package/dist/{persistent-session-JUJY46HW.js → persistent-session-XJYOPFIP.js} +3 -3
- package/dist/{responsiveness-probe-XOEC7J5D.js → responsiveness-probe-EWZNGMTX.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-ECDTRQLA.js.map +0 -1
- /package/dist/{chunk-PNTLQKLO.js.map → chunk-3A2PMQM4.js.map} +0 -0
- /package/dist/{chunk-VMHT2DM7.js.map → chunk-FK6BJWEC.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ZQAJOQPN.js.map → claude-pair-runtime-4F53C7RB.js.map} +0 -0
- /package/dist/{persistent-session-JUJY46HW.js.map → persistent-session-XJYOPFIP.js.map} +0 -0
- /package/dist/{responsiveness-probe-XOEC7J5D.js.map → responsiveness-probe-EWZNGMTX.js.map} +0 -0
|
@@ -14224,7 +14224,7 @@ function decideSlackMessageForward(evt) {
|
|
|
14224
14224
|
return { forward: true };
|
|
14225
14225
|
}
|
|
14226
14226
|
function decideSlackEngagement(input) {
|
|
14227
|
-
const isExplicitMention = input.type === "app_mention" || input.botUserId
|
|
14227
|
+
const isExplicitMention = input.type === "app_mention" || !!input.botUserId && input.text.includes(`<@${input.botUserId}>`);
|
|
14228
14228
|
return !(input.isAutoFollowed && !isExplicitMention);
|
|
14229
14229
|
}
|
|
14230
14230
|
function decideSlackAckReaction(input) {
|
|
@@ -16267,10 +16267,7 @@ async function resolveBotUserIdOrThrow() {
|
|
|
16267
16267
|
}
|
|
16268
16268
|
throw new Error("slack-channel: failed to resolve bot user_id via auth.test after 5 attempts");
|
|
16269
16269
|
}
|
|
16270
|
-
var botUserId =
|
|
16271
|
-
var botUserIdForLog = `${botUserId.slice(0, 2)}***${botUserId.slice(-2)}`;
|
|
16272
|
-
process.stderr.write(`slack-channel: Bot user ID resolved (${botUserIdForLog})
|
|
16273
|
-
`);
|
|
16270
|
+
var botUserId = null;
|
|
16274
16271
|
var slackBotUserIdClient = createSlackBotUserIdClient({
|
|
16275
16272
|
agtHost: AGT_HOST,
|
|
16276
16273
|
agtApiKey: AGT_API_KEY,
|
|
@@ -16278,8 +16275,18 @@ var slackBotUserIdClient = createSlackBotUserIdClient({
|
|
|
16278
16275
|
log: (line) => process.stderr.write(`slack-channel: ${line}
|
|
16279
16276
|
`)
|
|
16280
16277
|
});
|
|
16281
|
-
|
|
16282
|
-
|
|
16278
|
+
void resolveBotUserIdOrThrow().then((id) => {
|
|
16279
|
+
botUserId = id;
|
|
16280
|
+
process.stderr.write(`slack-channel: Bot user ID resolved (${id.slice(0, 2)}***${id.slice(-2)})
|
|
16281
|
+
`);
|
|
16282
|
+
slackBotUserIdClient?.report(id);
|
|
16283
|
+
}).catch((err) => {
|
|
16284
|
+
process.stderr.write(
|
|
16285
|
+
`slack-channel: bot user_id resolve failed \u2014 continuing degraded: ${err.message}
|
|
16286
|
+
`
|
|
16287
|
+
);
|
|
16288
|
+
});
|
|
16289
|
+
var selfIdentityInstruction = `Mentions of your own Slack bot user are directed at you, even inside auto_followed threads.`;
|
|
16283
16290
|
var mcp = new Server(
|
|
16284
16291
|
{ name: "slack", version: "0.1.0" },
|
|
16285
16292
|
{
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
stopPersistentSession,
|
|
23
23
|
takeZombieDetection,
|
|
24
24
|
writePersistentClaudeWrapper
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-3A2PMQM4.js";
|
|
26
|
+
import "./chunk-53TCAGCM.js";
|
|
27
27
|
export {
|
|
28
28
|
_internals,
|
|
29
29
|
collectDiagnostics,
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
takeZombieDetection,
|
|
50
50
|
writePersistentClaudeWrapper
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=persistent-session-
|
|
52
|
+
//# sourceMappingURL=persistent-session-XJYOPFIP.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-3A2PMQM4.js";
|
|
4
|
+
import "./chunk-53TCAGCM.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
7
7
|
import { statSync } from "fs";
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
collectResponsivenessProbes,
|
|
30
30
|
getResponsivenessIntervalMs
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
32
|
+
//# sourceMappingURL=responsiveness-probe-EWZNGMTX.js.map
|