@integrity-labs/agt-cli 0.28.102 → 0.28.104

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.
@@ -28,7 +28,7 @@ import {
28
28
  requireHost,
29
29
  safeWriteJsonAtomic,
30
30
  setConfigHash
31
- } from "../chunk-25QKPD27.js";
31
+ } from "../chunk-DO6ZJ2SC.js";
32
32
  import {
33
33
  getProjectDir as getProjectDir2,
34
34
  getReadyTasks,
@@ -6961,7 +6961,7 @@ var cachedMaintenanceWindow = null;
6961
6961
  var lastVersionCheckAt = 0;
6962
6962
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6963
6963
  var lastResponsivenessProbeAt = 0;
6964
- var agtCliVersion = true ? "0.28.102" : "dev";
6964
+ var agtCliVersion = true ? "0.28.104" : "dev";
6965
6965
  function resolveBrewPath(execFileSync4) {
6966
6966
  try {
6967
6967
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -14523,6 +14523,15 @@ function decideAckReaction(i) {
14523
14523
  if (!i.hasTarget) return "none";
14524
14524
  return classifyUndeliverableCause(i) !== null ? "undeliverable" : "ack";
14525
14525
  }
14526
+ function normalizeReactionName(emoji2) {
14527
+ return emoji2.trim().replace(/^:+|:+$/g, "").toLowerCase();
14528
+ }
14529
+ function skipReactionShouldRetractAck(emoji2, skipReaction, ackReaction) {
14530
+ const skip = normalizeReactionName(skipReaction);
14531
+ if (!skip) return false;
14532
+ if (normalizeReactionName(emoji2) !== skip) return false;
14533
+ return normalizeReactionName(ackReaction) !== skip;
14534
+ }
14526
14535
  function classifyUndeliverableCause(i) {
14527
14536
  if (!i.hasTarget) return null;
14528
14537
  if (!i.integrationReady) return "integration_down";
@@ -19290,6 +19299,17 @@ mcp.setRequestHandler(CallToolRequestSchema, async (req) => {
19290
19299
  isError: true
19291
19300
  };
19292
19301
  }
19302
+ if (skipReactionShouldRetractAck(emoji2, SLACK_SKIP_REACTION, SLACK_ACK_REACTION)) {
19303
+ fetch("https://slack.com/api/reactions.remove", {
19304
+ method: "POST",
19305
+ headers: {
19306
+ "Content-Type": "application/json",
19307
+ Authorization: `Bearer ${BOT_TOKEN}`
19308
+ },
19309
+ body: JSON.stringify({ channel, timestamp, name: SLACK_ACK_REACTION })
19310
+ }).catch(() => {
19311
+ });
19312
+ }
19293
19313
  return { content: [{ type: "text", text: "reacted" }] };
19294
19314
  } catch (err) {
19295
19315
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.102",
3
+ "version": "0.28.104",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {