@fdcn/sourcefed 0.2.4 → 0.2.5

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/pi.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  daemonCommand,
4
4
  daemonEnvironment,
5
5
  spawnLocalDaemon
6
- } from "./chunk-SKEBKW2L.js";
6
+ } from "./chunk-5NFCKXDQ.js";
7
7
  import "./chunk-MLKGABMK.js";
8
8
 
9
9
  // adapters/pi/src/index.ts
@@ -206,7 +206,7 @@ async function sourcefedExtension(pi) {
206
206
  const target = { kind: "pi-session", id: ctx.sessionManager.getSessionId() };
207
207
  if (client && !listeners.has(target.id)) {
208
208
  const listener = await client.subscribe(target, async (events) => {
209
- await routeEvents(pi, events, target, client);
209
+ await routeEvents(pi, events);
210
210
  });
211
211
  listeners.set(target.id, listener);
212
212
  }
@@ -235,8 +235,7 @@ async function sourcefedExtension(pi) {
235
235
  }
236
236
  }
237
237
  }
238
- async function routeEvents(pi, events, target, daemon) {
239
- const delivered = [];
238
+ async function routeEvents(pi, events) {
240
239
  for (const queued of events) {
241
240
  await pi.sendMessage({
242
241
  customType: "sourcefed-monitor",
@@ -246,13 +245,6 @@ ${queued.event.body}` : ""}`,
246
245
  display: true,
247
246
  details: { actionable: queued.event.actionable, eventID: queued.id }
248
247
  }, { triggerTurn: queued.event.actionable, deliverAs: "steer" });
249
- delivered.push(queued);
250
- }
251
- if (delivered.length > 0) {
252
- await daemon.request("monitor.ack", {
253
- target,
254
- eventIDs: delivered.map((queued) => queued.id)
255
- });
256
248
  }
257
249
  }
258
250
  function cliEntry() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fdcn/sourcefed",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Live Jira, GitHub, and Slack monitoring for agent hosts: CLI, daemon, MCP server, and host plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",