@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.
@@ -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.length > 0 && input.text.includes(`<@${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 = await resolveBotUserIdOrThrow();
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
- slackBotUserIdClient?.report(botUserId);
16282
- var selfIdentityInstruction = `Your own Slack user_id is ${botUserId}. Treat <@${botUserId}> mentions as directed at you, even inside auto_followed threads.`;
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-PNTLQKLO.js";
26
- import "./chunk-ECDTRQLA.js";
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-JUJY46HW.js.map
52
+ //# sourceMappingURL=persistent-session-XJYOPFIP.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-PNTLQKLO.js";
4
- import "./chunk-ECDTRQLA.js";
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-XOEC7J5D.js.map
32
+ //# sourceMappingURL=responsiveness-probe-EWZNGMTX.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.24.6",
3
+ "version": "0.24.7",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {