(shell)
| 59 | }) |
| 60 | }, |
| 61 | updateShell(shell) { |
| 62 | return Effect.sync(() => { |
| 63 | const index = activeShellIndex(shell.callID) |
| 64 | if (index < 0) return |
| 65 | const current = state.messages[index] |
| 66 | if (current?.type !== "shell") return |
| 67 | state.messages[index] = shell |
| 68 | }) |
| 69 | }, |
| 70 | appendMessage(message) { |
| 71 | return Effect.sync(() => { |
| 72 | state.messages.push(message) |
nothing calls this directly
no test coverage detected