Skip to content

main => Prod#358

Merged
dor-eitan merged 7 commits intoprodfrom
main
Apr 14, 2026
Merged

main => Prod#358
dor-eitan merged 7 commits intoprodfrom
main

Conversation

@dor-eitan
Copy link
Copy Markdown
Contributor

Pull Request Type

🔮 Feature
🐛 BugFix
⚒️ Refactor
🧹 Chore
🔥 HotFix
🚀 Release

Description

Reference Links

dor-eitan and others added 6 commits April 5, 2026 17:00
Aligns the Mixpanel property name with agents-ui convention (agentId,
agentType, agentName) so both SDK and UI events use the same key.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: remove triggersAvailable from SDK

Triggers availability is now computed in agents-ui directly from the
agent object. Remove the unused triggersAvailable flag, related types,
and getIsTriggersAvailable from the agent manager.

* fix: prettier formatting in common.ts
* fix: no-op unpublish when streaming manager is unavailable

During session restart, the SDK already unpublishes streams in its own
disconnect flow. When the UI cleanup effects then call unpublish a
second time, the streaming manager is already deleted, causing an error.
Return early instead of throwing to make the calls idempotent.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* test: update unpublish tests to expect no-op instead of throw

Align tests with the graceful no-op behavior introduced in e4f8a74.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feature: add client tool registration via LiveKit RPC

Add registerClientTool/unregisterClientTool to AgentManager. Each tool
is registered as a per-tool RPC method on the LiveKit room. A Map
provides reconnect safety — tools are re-flushed to new rooms on hard
reconnect.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* test: add unit tests for client tool registration

Cover registerClientTool, unregisterClientTool, pre-connect buffering,
flush on connect, re-registration with latest handler dispatch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dor-eitan dor-eitan requested a review from dariusz-did April 14, 2026 15:33
@dor-eitan dor-eitan merged commit bd8ab2b into prod Apr 14, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants