Commit e953b5c
fix(discover): allow proceed when native epoch-cb is available, no 10x required
Closes #15. discover used to refuse with :ns-not-loaded any time
:ten-x-loaded? was false. Since the native epoch-cb path landed
(rf-ybv, re-frame ≥ 1.4), re-frame-pair's runtime can read epochs
without 10x — the panel-based UI is one consumer of the trace stream,
not the only one. discover wasn't aware.
Now: refuse only when both :ten-x-loaded? AND :native-epoch-cb? are
false. With the native cb installed, discover succeeds even on stacks
that don't use 10x (re-frisk, plain dev tools, no panel UI at all).
Hint updated to name both alternatives. 2 new deftests cover the
two new branches: native-cb-true-no-10x → success; both-false →
:ns-not-loaded with the new hint.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5e98434 commit e953b5c
2 files changed
Lines changed: 53 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
1040 | | - | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
1041 | 1046 | | |
1042 | 1047 | | |
1043 | | - | |
| 1048 | + | |
1044 | 1049 | | |
1045 | 1050 | | |
1046 | 1051 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
1207 | 1210 | | |
1208 | 1211 | | |
1209 | 1212 | | |
| |||
1214 | 1217 | | |
1215 | 1218 | | |
1216 | 1219 | | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
1217 | 1263 | | |
1218 | 1264 | | |
1219 | 1265 | | |
| |||
0 commit comments