Commit 4edd354
authored
fix(notifications): fix CI and address speech narration review feedback
- Add enqueueSpeech to the cloud-task-update notification test harness deps
so SessionService no longer throws "enqueueSpeech is not a function".
- Allowlist the host-resident ElevenLabs speech service (the API key stays
in the host process, matching secure-store/encryption), fixing the host
boundary check.
- composeUtterance: run the task-prefix guard before greeting injection so
an already-prefixed agent line can't be double-prefixed when addressing by
name; add a regression test.
- Key speakCalls by taskRunId so a session teardown drops any speak calls
still mid-stream instead of leaking them until reset().
Generated-By: PostHog Code
Task-Id: 3553940c-2b6e-41dd-bc02-27f5df786a291 parent 07354dd commit 4edd354
5 files changed
Lines changed: 41 additions & 10 deletions
File tree
- packages/core/src
- sessions
- speech
- scripts
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
560 | 563 | | |
561 | 564 | | |
562 | | - | |
| 565 | + | |
563 | 566 | | |
564 | 567 | | |
565 | 568 | | |
| |||
1680 | 1683 | | |
1681 | 1684 | | |
1682 | 1685 | | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
1683 | 1689 | | |
1684 | 1690 | | |
1685 | 1691 | | |
| |||
2064 | 2070 | | |
2065 | 2071 | | |
2066 | 2072 | | |
| 2073 | + | |
2067 | 2074 | | |
2068 | 2075 | | |
2069 | 2076 | | |
2070 | 2077 | | |
2071 | 2078 | | |
2072 | 2079 | | |
2073 | | - | |
| 2080 | + | |
2074 | 2081 | | |
2075 | | - | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
2076 | 2085 | | |
2077 | | - | |
| 2086 | + | |
| 2087 | + | |
2078 | 2088 | | |
2079 | 2089 | | |
2080 | 2090 | | |
| |||
2085 | 2095 | | |
2086 | 2096 | | |
2087 | 2097 | | |
2088 | | - | |
| 2098 | + | |
2089 | 2099 | | |
2090 | 2100 | | |
2091 | 2101 | | |
2092 | | - | |
| 2102 | + | |
2093 | 2103 | | |
2094 | | - | |
| 2104 | + | |
| 2105 | + | |
2095 | 2106 | | |
2096 | 2107 | | |
2097 | 2108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
79 | 91 | | |
80 | 92 | | |
81 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments