@connekz/connekz-agent 1.5.1 → 2.2.1
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 +53 -0
- package/README.md +1 -1
- package/dist/connekz-agent.es.js +2296 -2274
- package/dist/connekz-agent.umd.js +12 -12
- package/package.json +2 -3
- package/types.d.ts +9 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,56 @@
|
|
|
1
|
+
## [2.2.1] - 2026-07-10 (Patch Release)
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
### Security
|
|
10
|
+
|
|
11
|
+
## [2.2.0] - 2026-07-10 (Minor Release)
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
### Security
|
|
20
|
+
|
|
21
|
+
## [2.1.0] - 2026-07-10 (Minor Release)
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
- `setSessionTools` declared in the public TypeScript types (`VoiceAgentAPI`) — it was implemented but missing from `types.d.ts`, breaking TypeScript consumers.
|
|
25
|
+
- `setSessionTools` can now be called before the socket connects — the latest slug set is queued and flushed on connection.
|
|
26
|
+
- `session-tools-updated` server confirmation event is now handled (logged at debug level) instead of warning "Unknown event type".
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
- Broken type references in `types.d.ts`: `VoiceAgentStatus` → `ConnekzAgentStatus`, `ConnekzConversation` → `ConnekzTranscript`.
|
|
30
|
+
- Removed phantom `makeSleep` from the public types (it was never implemented).
|
|
31
|
+
- Removed the stale `./connekz-agent.css` package export — v2 injects styles at runtime and no CSS file ships in `dist/`. Consumers must remove `import '@connekz/connekz-agent/connekz-agent.css'`.
|
|
32
|
+
|
|
33
|
+
## [2.0.0] - 2026-06-23 (Major Release)
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
- Cross redis session support
|
|
37
|
+
- Support for multiple redis instances
|
|
38
|
+
|
|
39
|
+
## [1.5.2] - 2026-06-23 (Patch Release)
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- Minor lint cleanup in `Icon.vue` (quote style).
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- Socket.IO now connects with `withCredentials: true` so the AWS ALB sticky-session cookie (`AWSALBCORS`, `SameSite=None`) is sent on cross-origin requests. Without it, long-polling sessions were routed to different backend instances behind the load balancer and failed with HTTP 400 ("Session ID unknown").
|
|
50
|
+
- `setCurrentConversationId` no longer resets the active audio batch when a repeated `THINKING` status arrives for the same conversation (prevents killing in-flight audio).
|
|
51
|
+
|
|
52
|
+
### Security
|
|
53
|
+
|
|
1
54
|
## [1.5.1] - 2026-04-01 (Patch Release)
|
|
2
55
|
|
|
3
56
|
### Added
|
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ const unsubAgentWave = connekzAgent.subscribe.onAgentWaveformUpdate((volume: num
|
|
|
104
104
|
console.log('Agent volume:', volume);
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
-
const unsubTranscript = connekzAgent.subscribe.onTranscriptUpdate((transcript: readonly
|
|
107
|
+
const unsubTranscript = connekzAgent.subscribe.onTranscriptUpdate((transcript: readonly ConnekzTranscript[]) => {
|
|
108
108
|
console.log('Transcript:', transcript);
|
|
109
109
|
});
|
|
110
110
|
|