@securecoms/agent-bridge 0.31.0 → 0.33.0
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/README.md +58 -0
- package/dist/bin.js +780 -158
- package/dist/bridge-agent.d.ts +112 -1
- package/dist/index.js +763 -141
- package/dist/service/runtime-config-dir.d.ts +8 -2
- package/dist/version.d.ts +1 -1
- package/dist/voice/persona.d.ts +4 -0
- package/dist/voice-channel-binding.d.ts +201 -0
- package/dist/voice-channel-frame.d.ts +22 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -767,6 +767,38 @@ including its key). Each proxied call is metered server-side
|
|
|
767
767
|
`fast_voice_tokens_in`, `fast_voice_tokens_out`), capped at
|
|
768
768
|
`VOICE_FAST_CALLS_PER_MINUTE` (default 60) per agent.
|
|
769
769
|
|
|
770
|
+
### Calling your own provider directly (`route: "direct"`)
|
|
771
|
+
|
|
772
|
+
To keep the fast-path call off the SecureComs proxy entirely, add
|
|
773
|
+
`"route": "direct"` to the credential file's `fast_path` block:
|
|
774
|
+
|
|
775
|
+
```json
|
|
776
|
+
"fast_path": { "enabled": true, "route": "direct", "base_url": "https://api.openai.com/v1",
|
|
777
|
+
"model": "gpt-4o-mini", "api_key_env": "SECURECOMS_VOICE_LLM_KEY" }
|
|
778
|
+
```
|
|
779
|
+
|
|
780
|
+
- With `route: "direct"` the daemon calls `base_url` with the file's own
|
|
781
|
+
`api_key`/`api_key_env`, and never calls `POST /api/v1/voice/fast-complete`,
|
|
782
|
+
even when the settings fetch succeeds. The backend voice settings (persona,
|
|
783
|
+
dials, voice, pace) still apply; only the fast-path provider and key come from
|
|
784
|
+
the file. A later `voice_settings_changed` refetch keeps the direct route.
|
|
785
|
+
- Opt-in lives only in this file. There is no web or backend setting for it,
|
|
786
|
+
and only the exact value `"direct"` counts: a block without `route` (or with
|
|
787
|
+
any other value) behaves as described above, so an old `fast_path` block does
|
|
788
|
+
not switch to direct on upgrade.
|
|
789
|
+
- If the direct provider fails (timeout, HTTP error, bad response), nothing is
|
|
790
|
+
spoken by the fast path and your full agent answers the turn. The daemon never
|
|
791
|
+
retries through the SecureComs proxy.
|
|
792
|
+
- `route: "direct"` without a resolvable key is a configuration error: the
|
|
793
|
+
daemon logs `voice.fast_path_direct_no_key` once at start and runs with no
|
|
794
|
+
fast path (full agent only). It does not fall back to the proxy.
|
|
795
|
+
- The prompt sent to your provider is the same call-scoped prompt the proxy
|
|
796
|
+
would get: the call's own spoken turns only, no typed chat, notes or memory.
|
|
797
|
+
The `x-securecoms-bridge-caps` header is never sent to your provider.
|
|
798
|
+
- Call summaries use the same client: with `route: "direct"` they are also
|
|
799
|
+
generated by your provider, never the SecureComs proxy. With no usable key,
|
|
800
|
+
call summaries are unavailable (as is the fast path).
|
|
801
|
+
|
|
770
802
|
---
|
|
771
803
|
|
|
772
804
|
## Unified memory (0.29.0)
|
|
@@ -931,6 +963,32 @@ copied after the owner's next typed message.
|
|
|
931
963
|
|
|
932
964
|
---
|
|
933
965
|
|
|
966
|
+
## Release notes: 0.33.0
|
|
967
|
+
|
|
968
|
+
<!-- [COPY, approved by Eric 2026-10-21 ("Bridge approved")] -->
|
|
969
|
+
|
|
970
|
+
**Ready for a separate call channel**
|
|
971
|
+
|
|
972
|
+
- The agent can now take part in hosted calls through a separate, hidden call channel that belongs to the conversation. Spoken turns, the agent's spoken replies and the call transcript go to the call channel. Typed messages stay in the conversation.
|
|
973
|
+
- Nothing changes on calls yet. The SecureComs voice service starts to use the call channel in a later update.
|
|
974
|
+
- After this update, the agent tells the SecureComs voice service that it supports the call channel. When the service starts to use it, a call to an agent on an older version will not start, and the app will say the agent needs an update.
|
|
975
|
+
- A message you type in the chat during a call still works as a normal chat message.
|
|
976
|
+
|
|
977
|
+
Upgrade: `npm install -g @securecoms/agent-bridge@0.33.0`, then restart the agent.
|
|
978
|
+
|
|
979
|
+
---
|
|
980
|
+
|
|
981
|
+
## Release notes: 0.32.0
|
|
982
|
+
|
|
983
|
+
<!-- [COPY, approved by Eric 2026-10-20 ("Notes ok")] -->
|
|
984
|
+
|
|
985
|
+
- Privacy: the agent no longer sends its memory file, persona file text or old memory text to the SecureComs server. It sends only the persona file names and sizes. The server already removed the text it had stored.
|
|
986
|
+
- Optional: an agent's quick spoken replies on calls can go straight from the agent's machine to the owner's own model provider, using a key in the agent's credential file (`voice.fast_path.route: "direct"`). It is off unless you turn it on; with it on, call summaries also use your provider, and without a usable key they are not available.
|
|
987
|
+
|
|
988
|
+
Upgrade: `npm install -g @securecoms/agent-bridge@0.32.0`, then restart the agent.
|
|
989
|
+
|
|
990
|
+
---
|
|
991
|
+
|
|
934
992
|
## Release notes: 0.31.0
|
|
935
993
|
|
|
936
994
|
<!-- [COPY, approved by Eric 2026-10-18 (voice-scope release notes)] -->
|