@integrity-labs/agt-cli 0.28.247 → 0.28.249

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.
@@ -14376,15 +14376,19 @@ function extractForwardedContent(attachments) {
14376
14376
  for (const raw of attachments) {
14377
14377
  if (!raw || typeof raw !== "object") continue;
14378
14378
  const att = raw;
14379
- let body = asTrimmed(att.text) || asTrimmed(att.fallback);
14379
+ const textBody = asTrimmed(att.text);
14380
+ let body = textBody || asTrimmed(att.fallback);
14381
+ const blockSources = [];
14382
+ if (Array.isArray(att.blocks)) blockSources.push(att.blocks);
14380
14383
  if (Array.isArray(att.message_blocks)) {
14381
- for (const mb of att.message_blocks) {
14382
- const rendered = renderSlackBlocks(mb?.message?.blocks);
14383
- const renderedText = rendered.text.trim();
14384
- if (renderedText && (!body || rendered.hadTable)) {
14385
- body = renderedText;
14386
- break;
14387
- }
14384
+ for (const mb of att.message_blocks) blockSources.push(mb?.message?.blocks);
14385
+ }
14386
+ for (const source of blockSources) {
14387
+ const rendered = renderSlackBlocks(source);
14388
+ const renderedText = rendered.text.trim();
14389
+ if (renderedText && (!textBody || rendered.hadTable)) {
14390
+ body = renderedText;
14391
+ break;
14388
14392
  }
14389
14393
  }
14390
14394
  const title = asTrimmed(att.title);
@@ -36,7 +36,7 @@ import {
36
36
  writeDirectChatSessionState,
37
37
  writeEgressAllowlist,
38
38
  writePersistentClaudeWrapper
39
- } from "./chunk-NFO3GOL3.js";
39
+ } from "./chunk-UMXGONVE.js";
40
40
  import "./chunk-XWVM4KPK.js";
41
41
  export {
42
42
  EGRESS_BASELINE_DOMAINS,
@@ -77,4 +77,4 @@ export {
77
77
  writeEgressAllowlist,
78
78
  writePersistentClaudeWrapper
79
79
  };
80
- //# sourceMappingURL=persistent-session-7BQ2OE2R.js.map
80
+ //# sourceMappingURL=persistent-session-CHYTU6HG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-NFO3GOL3.js";
3
+ } from "./chunk-UMXGONVE.js";
4
4
  import "./chunk-XWVM4KPK.js";
5
5
 
6
6
  // src/lib/responsiveness-probe.ts
@@ -418,4 +418,4 @@ export {
418
418
  readAndResetSlackReplyBindingClassifications,
419
419
  readAndResetSlackReplyTargetClassifications
420
420
  };
421
- //# sourceMappingURL=responsiveness-probe-MUY7HOGQ.js.map
421
+ //# sourceMappingURL=responsiveness-probe-D74I4CS6.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.247",
3
+ "version": "0.28.249",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {