Commit a4d838e
committed
fix(mothership): terminal predicate import must not pull the session barrel into the client
The #9 dedup pointed use-chat (a 'use client' graph) at the session
BARREL, which reaches ioredis via the buffer — Next resolved 'dns' in a
client bundle and the whole dev server 500ed. Client consumers deep-import
the client-safe contract module; the barrel export stays for the server.
Caught by an end-to-end smoke, not by tsc/vitest/boundary-check — none of
them walk the client bundle graph.
Claude-Session: https://claude.ai/code/session_01CgaxNAaeD3taGdghbXn17w1 parent 244fe66 commit a4d838e
2 files changed
Lines changed: 5 additions & 3 deletions
File tree
- apps/sim
- app/workspace/[workspaceId]/home/hooks
- lib/mothership/chat
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments