@agentvault/muse-bridge 0.1.27 → 0.1.29
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 +4 -0
- package/dist/index.js +777 -109
- package/package.json +1 -1
package/dist/bridge.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** Muse-owned room/DM wiring. Owner power is two raw booleans from
|
|
2
2
|
* `arming_snapshot` (`=== true` only). Do not copy grok grant-trim.
|
|
3
3
|
* Do not call decideArming, host-trust, or osIsolated. */
|
|
4
|
+
import { type ToolSpanSink } from "@agentvault/agentvault";
|
|
4
5
|
import type { RoomSession } from "./muse-session.js";
|
|
5
6
|
export declare function workAllowed(): boolean;
|
|
6
7
|
export declare function gatesRemoved(): boolean;
|
|
@@ -63,6 +64,9 @@ export type BridgeTarget = {
|
|
|
63
64
|
export interface ReplyChannel {
|
|
64
65
|
sendToRoom(roomId: string, text: string): Promise<void>;
|
|
65
66
|
send(text: string): Promise<void>;
|
|
67
|
+
/** SecureChannel's TelemetryReporter (device JWT, buffered). Optional so
|
|
68
|
+
* fixtures and a channel without telemetry keep working. */
|
|
69
|
+
readonly telemetry?: ToolSpanSink | null;
|
|
66
70
|
/** #1418 — SecureChannel: run `fn` as `conversationId`'s turn, so an
|
|
67
71
|
* untargeted send inside it reaches that conversation's person only. */
|
|
68
72
|
runForConversation?<T>(conversationId: string | undefined, fn: () => Promise<T>, opts?: {
|