@agentvault/claude-bridge 0.8.16 → 0.8.17
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 +3 -6
- package/dist/index.js +99923 -99158
- package/dist/recovery.d.ts +5 -0
- package/dist/router.d.ts +1 -0
- package/dist/session.d.ts +8 -26
- package/dist/worker-queue.d.ts +5 -5
- package/package.json +1 -1
package/dist/bridge.d.ts
CHANGED
|
@@ -6,12 +6,8 @@ export interface RoomMessage {
|
|
|
6
6
|
/** #1223 — the text the sender typed, before any attachment was folded into
|
|
7
7
|
* `plaintext`. The @ gate reads this; absent on emitters < 0.23.42. */
|
|
8
8
|
caption?: string;
|
|
9
|
-
/**
|
|
10
|
-
* room
|
|
11
|
-
* room always expects a reply; agent-authored traffic does not (the agent may
|
|
12
|
-
* stay silent, and it prevents agent↔agent reply loops). Absent on older
|
|
13
|
-
* payloads / tests → treated as "not an agent" is NOT assumed: replyExpected is
|
|
14
|
-
* set only when we affirmatively know the sender is a human (=== false). */
|
|
9
|
+
/** SecureChannel's sender classification. Only an explicit false authorizes
|
|
10
|
+
* room tools; reply eligibility is independently decided by the @ protocol. */
|
|
15
11
|
senderIsAgent?: boolean;
|
|
16
12
|
}
|
|
17
13
|
/** Slice 2 Plan C arming events (SecureChannel re-emits these from the backend). */
|
|
@@ -103,6 +99,7 @@ export interface RoomSession {
|
|
|
103
99
|
push(text: string, reply?: (text: string) => Promise<void>, opts?: {
|
|
104
100
|
autoReplyOnText?: boolean;
|
|
105
101
|
replyExpected?: boolean;
|
|
102
|
+
toolEligibleSender?: boolean;
|
|
106
103
|
armed?: () => boolean;
|
|
107
104
|
}): void;
|
|
108
105
|
}
|