You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: wait for stream completion before renaming workspace
Address review feedback: the rename() method rejects while a stream is
active, so the async name generation needs to wait for the stream to
complete before attempting the rename.
Added waitForStreamComplete() helper that:
- Returns immediately if no stream is active
- Subscribes to stream-end and stream-abort events
- Resolves when the workspace's stream completes
This ensures the AI-generated name is applied after the first message
stream finishes, rather than being silently rejected.
0 commit comments