@agentvault/grok-bridge 0.4.0 → 0.4.2

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
@@ -9,9 +9,6 @@
9
9
  * Those are Claude-shaped; Grok's gate is the pre_tool_use hook and arrives with
10
10
  * the tools-on posture.
11
11
  */
12
- /** `RoomSession` is declared ONCE in this package, by grok-session.ts. The Claude
13
- * bridge declares its own in its bridge.ts; that declaration was NOT copied.
14
- * Type-only, so this cannot create a runtime import cycle. */
15
12
  import type { RoomSession } from "./grok-session.js";
16
13
  export interface RoomMessage {
17
14
  roomId: string;
@@ -167,6 +164,12 @@ export declare function attachLifecycle(channel: LifecycleChannel, opts?: {
167
164
  */
168
165
  export declare function roomTurnPrefix(roomId: string, senderName: string, roomName?: string): string;
169
166
  export declare function wireBridge(channel: RoomChannel, session: RoomSession, target: ActiveTarget, opts?: {
167
+ /**
168
+ * #1107: this agent's own name, used to recognise its own @mention. Threaded
169
+ * from the bridge config. Without it the agent can only ever answer @all —
170
+ * `_makeOwesReply` warns once, loudly, rather than going quietly deaf.
171
+ */
172
+ agentName?: string;
170
173
  roomFilter?: string;
171
174
  log?: (msg: string) => void;
172
175
  }): void;