@bivy/bivy 0.8.3-staging.118 → 0.8.3-staging.119

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.
Files changed (2) hide show
  1. package/dist/server.js +7 -0
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -3045,6 +3045,13 @@ const RELAY_COMMANDS = {
3045
3045
  messages: conversationMessages(record),
3046
3046
  cursor: historyCursorFrom(msg),
3047
3047
  }));
3048
+ // A client opening this session after the TUI was already live (a deep link
3049
+ // or reload on another device) missed the original terminal.tui broadcast,
3050
+ // so its composer would render unlocked and every send would be refused
3051
+ // server-side. Re-assert the single-writer lock here so it shows the
3052
+ // "running in the terminal" window instead of an unusable chat.
3053
+ if (record.tuiTermId || record.tuiRefreshing)
3054
+ broadcastTuiState(record.id, Boolean(record.tuiTermId));
3048
3055
  // A reconnecting/opening client missed the one-shot card broadcast; put
3049
3056
  // any still-pending question/approval back so it can be answered.
3050
3057
  replayPendingInteractions(record.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bivy/bivy",
3
- "version": "0.8.3-staging.118",
3
+ "version": "0.8.3-staging.119",
4
4
  "type": "module",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "description": "Run coding agents on machines you own. Source-available, self-hostable agent workspace.",