@securecoms/agent-bridge 0.30.3 → 0.32.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 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,33 @@ copied after the owner's next typed message.
931
963
 
932
964
  ---
933
965
 
966
+ ## Release notes: 0.32.0
967
+
968
+ <!-- [COPY, approved by Eric 2026-10-20 ("Notes ok")] -->
969
+
970
+ - 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.
971
+ - 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.
972
+
973
+ Upgrade: `npm install -g @securecoms/agent-bridge@0.32.0`, then restart the agent.
974
+
975
+ ---
976
+
977
+ ## Release notes: 0.31.0
978
+
979
+ <!-- [COPY, approved by Eric 2026-10-18 (voice-scope release notes)] -->
980
+
981
+ **Agent calls use only what was said on the call**
982
+
983
+ - When you talk to your agent on a hosted call, its quick spoken replies now use only what was said on that call. They no longer use your typed chat history or saved memory facts.
984
+ - The agent's longer answers on a call follow the same rule. Saved notes and recalled items are not used for spoken turns.
985
+ - A message you type in the chat during a call still works as a normal chat message.
986
+ - On spoken turns, the agent can use only two tools: the current time and web search.
987
+ - After this update, the agent tells the SecureComs voice service that it supports this behavior. Older agent versions will stop getting quick spoken replies once the service starts to require it. They still answer, a little more slowly.
988
+
989
+ Upgrade: `npm install -g @securecoms/agent-bridge@0.31.0`, then restart the agent.
990
+
991
+ ---
992
+
934
993
  ## Release notes: 0.30.3
935
994
 
936
995
  <!-- [COPY, approved by Eric 2026-10-17 (search release notes) and 2026-10-16 (held items); adapted to 0.30.3 on 2026-10-18] -->