@agentvault/claude-bridge 0.8.12 → 0.8.14

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/bridge.d.ts CHANGED
@@ -211,6 +211,23 @@ export declare function pollApprovalsOnce(arming: ArmingState, dataDir: string,
211
211
  * unmarked turn already reads as a DM, which is what the model assumes.
212
212
  */
213
213
  export declare function roomTurnPrefix(roomId: string, senderName: string, roomName?: string): string;
214
+ /**
215
+ * Does this agent owe a reply to this room message? (#1107)
216
+ *
217
+ * This bridge used to answer with `e.senderIsAgent === false` — "reply to any
218
+ * human". That was a THIRD implementation of the room reply rule, alongside the
219
+ * OpenClaw plugin and hermes, and #1107 shipped to the other two only. Under the
220
+ * old rule this agent would still have answered every un-mentioned message while
221
+ * wren, cortina, smartcode and smartcoder2 stayed quiet: the cascade, half-fixed,
222
+ * in the half most likely to be read as "the protocol doesn't work".
223
+ *
224
+ * Now it defers to the ONE shared implementation exported by
225
+ * `@agentvault/agentvault`. The message is still pushed into the session either
226
+ * way — the agent reads the whole room and only the reply obligation changes.
227
+ */
228
+ export declare function _makeOwesReply(agentName: string | undefined, channel: {
229
+ ownDisplayName?: string;
230
+ }, log: (msg: string) => void): (e: RoomMessage) => boolean;
214
231
  export declare function wireBridge(channel: RoomChannel, session: RoomSession, target: ActiveTarget, opts?: {
215
232
  /**
216
233
  * #1107: this agent's own name, used to recognise its own @mention. Threaded