@moss-tools/voice-server 1.0.0-beta.2 → 1.0.0-beta.3
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/CHANGELOG.md +6 -0
- package/dist/MossVoiceServer.js +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to @moss-tools/voice-server will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.0.0-beta.3] - 2026-02-21
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- Only set room agent configuration when `agentName` is explicitly provided to `createParticipantToken()`
|
|
9
|
+
- Removed automatic fallback to `voice_agent_name` from credentials, allowing dispatch rules to handle agent joining
|
|
10
|
+
|
|
5
11
|
## [1.0.0-beta.2] - 2026-02-21
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/dist/MossVoiceServer.js
CHANGED
|
@@ -128,10 +128,11 @@ export class MossVoiceServer {
|
|
|
128
128
|
canSubscribe: true,
|
|
129
129
|
};
|
|
130
130
|
at.addGrant(grant);
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
// Only add agent to room config if explicitly provided
|
|
132
|
+
// Don't use fallback to allow dispatch rules to handle agent joining
|
|
133
|
+
if (agentName) {
|
|
133
134
|
at.roomConfig = new RoomConfiguration({
|
|
134
|
-
agents: [{ agentName
|
|
135
|
+
agents: [{ agentName }],
|
|
135
136
|
});
|
|
136
137
|
}
|
|
137
138
|
return at.toJwt();
|