@integrity-labs/agt-cli 0.28.105 → 0.28.107

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.
@@ -14040,7 +14040,13 @@ function buildDirectChatChannelMeta(input) {
14040
14040
  source: "direct-chat",
14041
14041
  // String flag the agent's channel instructions (and the renderer) read:
14042
14042
  // 'false' = notice (do not reply), 'true' = normal message (reply expected).
14043
- requires_reply: input.isNotice ? "false" : "true"
14043
+ requires_reply: input.isNotice ? "false" : "true",
14044
+ // ENG-6407 / ADR-0024 Slice 1: provenance + reply-obligation as first-class
14045
+ // tag attributes. Direct chat is conversational; a notice owes no reply, so
14046
+ // expects_reply mirrors the existing requires_reply flag. Recorded only - no
14047
+ // consumer gates on these yet (Slice 2).
14048
+ lane: "conversational",
14049
+ expects_reply: input.isNotice ? "false" : "true"
14044
14050
  };
14045
14051
  }
14046
14052
 
@@ -16202,6 +16202,15 @@ function markInboundDelivered(channel, providerId, opts) {
16202
16202
  return false;
16203
16203
  }
16204
16204
 
16205
+ // src/inbound-lanes-runtime.ts
16206
+ var CONVERSATIONAL_LANE = "conversational";
16207
+ function conversationalLaneMeta(expectsReply = true) {
16208
+ return {
16209
+ lane: CONVERSATIONAL_LANE,
16210
+ expects_reply: expectsReply ? "true" : "false"
16211
+ };
16212
+ }
16213
+
16205
16214
  // src/slack-allowlist-source.ts
16206
16215
  function parseAllowedUsersCsv(raw) {
16207
16216
  return new Set(
@@ -20631,6 +20640,13 @@ async function connectSocketMode() {
20631
20640
  // marker-cleanup gate.
20632
20641
  message_ts: ts,
20633
20642
  event_type: evt.type,
20643
+ // ENG-6407 / ADR-0024 Slice 1: provenance + reply-obligation, recorded
20644
+ // at the source. Every Slack inbound is conversational; the obligation
20645
+ // reuses the SAME `shouldEngage` decision already computed above (no
20646
+ // fork) - an auto-followed, un-addressed thread message (discretionary,
20647
+ // !shouldEngage) owes no reply. Additive only; no consumer gates on
20648
+ // these yet (Slice 2).
20649
+ ...conversationalLaneMeta(shouldEngage),
20634
20650
  ...isAutoFollowed ? { auto_followed: "true" } : {},
20635
20651
  // Only set these when we actually have attachments to avoid
20636
20652
  // bloating every notification with empty metadata.
@@ -14271,6 +14271,15 @@ function createInboundContextClient(args) {
14271
14271
  };
14272
14272
  }
14273
14273
 
14274
+ // src/inbound-lanes-runtime.ts
14275
+ var CONVERSATIONAL_LANE = "conversational";
14276
+ function conversationalLaneMeta(expectsReply = true) {
14277
+ return {
14278
+ lane: CONVERSATIONAL_LANE,
14279
+ expects_reply: expectsReply ? "true" : "false"
14280
+ };
14281
+ }
14282
+
14274
14283
  // src/teams-channel-info.ts
14275
14284
  function buildChannelInfoResult(input) {
14276
14285
  if (input.members === null) {
@@ -15043,7 +15052,12 @@ async function emitChannelNotification(activity, flags = {}) {
15043
15052
  conversation_id: activity.conversation.id,
15044
15053
  service_url: activity.serviceUrl,
15045
15054
  activity_id: activity.id ?? "",
15046
- activity_type: activity.type
15055
+ activity_type: activity.type,
15056
+ // ENG-6407 / ADR-0024 Slice 1: Teams inbounds are conversational. A
15057
+ // peer-listen activity is the agent silently observing a thread it was added
15058
+ // to - it owes no reply, so expects_reply is false for it. Recorded only -
15059
+ // no consumer gates on these yet (Slice 2).
15060
+ ...conversationalLaneMeta(!flags.isPeerListen)
15047
15061
  };
15048
15062
  if (activity.from?.id) meta["user"] = activity.from.id;
15049
15063
  if (activity.from?.name) meta["user_name"] = activity.from.name;
@@ -15767,6 +15767,15 @@ function persistOffset(opts) {
15767
15767
  }
15768
15768
  }
15769
15769
 
15770
+ // src/inbound-lanes-runtime.ts
15771
+ var CONVERSATIONAL_LANE = "conversational";
15772
+ function conversationalLaneMeta(expectsReply = true) {
15773
+ return {
15774
+ lane: CONVERSATIONAL_LANE,
15775
+ expects_reply: expectsReply ? "true" : "false"
15776
+ };
15777
+ }
15778
+
15770
15779
  // src/agent-config-state.ts
15771
15780
  import { existsSync as existsSync4, readFileSync as readFileSync5 } from "fs";
15772
15781
  import { join as join3 } from "path";
@@ -19623,6 +19632,10 @@ async function pollLoop() {
19623
19632
  user: userId,
19624
19633
  user_name: userName,
19625
19634
  ts: String(msg.date),
19635
+ // ENG-6407 / ADR-0024 Slice 1: Telegram inbounds are conversational
19636
+ // and reply-expected (no auto-follow / discretionary variant here).
19637
+ // Recorded only - no consumer gates on these yet (Slice 2).
19638
+ ...conversationalLaneMeta(true),
19626
19639
  ...fileMeta.length > 0 ? { files: JSON.stringify(fileMeta) } : {},
19627
19640
  ...imagePath ? { image_path: imagePath } : {},
19628
19641
  // ENG-4902: peer-agent ingress carries distinct framing so the
@@ -34,8 +34,8 @@ import {
34
34
  writeDirectChatSessionState,
35
35
  writeEgressAllowlist,
36
36
  writePersistentClaudeWrapper
37
- } from "./chunk-GBE523G5.js";
38
- import "./chunk-YUTJO6FU.js";
37
+ } from "./chunk-O4OYAFTZ.js";
38
+ import "./chunk-D22IMWAZ.js";
39
39
  import "./chunk-XWVM4KPK.js";
40
40
  export {
41
41
  EGRESS_BASELINE_DOMAINS,
@@ -74,4 +74,4 @@ export {
74
74
  writeEgressAllowlist,
75
75
  writePersistentClaudeWrapper
76
76
  };
77
- //# sourceMappingURL=persistent-session-Q65SZNJ6.js.map
77
+ //# sourceMappingURL=persistent-session-RMRG5HXI.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-GBE523G5.js";
4
- import "./chunk-YUTJO6FU.js";
3
+ } from "./chunk-O4OYAFTZ.js";
4
+ import "./chunk-D22IMWAZ.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -250,4 +250,4 @@ export {
250
250
  parkPendingInbound,
251
251
  readAndResetChannelDeflections
252
252
  };
253
- //# sourceMappingURL=responsiveness-probe-FS3JNFI2.js.map
253
+ //# sourceMappingURL=responsiveness-probe-2KVIALGI.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.105",
3
+ "version": "0.28.107",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {