Commit 94e31d0
committed
revert(pdf-server): drop viewAnnotationIds — wrong about source of truth
The viewer's annotationMap is baseline (loadBaselineAnnotations from the
PDF) + diff restored from localStorage + manual edits + model adds.
viewAnnotationIds only tracks the last category, so the warning fires
for any update to an annotation the model didn't itself add — including
the entire restored state.
That's not "best-effort" miss rate, it's structurally wrong about
where the data lives. Model would learn to ignore the warning. The
viewer-side log.error on the silent skip (mcp-app.ts:4251) is the right
layer for this.1 parent bf17628 commit 94e31d0
2 files changed
Lines changed: 1 addition & 84 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
1485 | | - | |
1486 | | - | |
1487 | | - | |
1488 | | - | |
1489 | | - | |
1490 | | - | |
1491 | | - | |
1492 | | - | |
1493 | | - | |
1494 | | - | |
1495 | | - | |
1496 | | - | |
1497 | | - | |
1498 | | - | |
1499 | | - | |
1500 | | - | |
1501 | | - | |
1502 | | - | |
1503 | | - | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
1512 | | - | |
1513 | | - | |
1514 | | - | |
1515 | | - | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
1521 | | - | |
1522 | | - | |
1523 | | - | |
1524 | | - | |
1525 | | - | |
1526 | | - | |
1527 | | - | |
1528 | | - | |
1529 | | - | |
1530 | | - | |
1531 | | - | |
1532 | | - | |
1533 | | - | |
1534 | | - | |
1535 | | - | |
1536 | | - | |
1537 | 1485 | | |
1538 | 1486 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | 337 | | |
346 | 338 | | |
347 | 339 | | |
| |||
384 | 376 | | |
385 | 377 | | |
386 | 378 | | |
387 | | - | |
388 | 379 | | |
389 | 380 | | |
390 | 381 | | |
| |||
1957 | 1948 | | |
1958 | 1949 | | |
1959 | 1950 | | |
1960 | | - | |
1961 | | - | |
1962 | | - | |
1963 | | - | |
1964 | | - | |
1965 | | - | |
1966 | | - | |
1967 | | - | |
1968 | 1951 | | |
1969 | 1952 | | |
1970 | | - | |
| 1953 | + | |
1971 | 1954 | | |
1972 | 1955 | | |
1973 | 1956 | | |
| |||
1978 | 1961 | | |
1979 | 1962 | | |
1980 | 1963 | | |
1981 | | - | |
1982 | | - | |
1983 | | - | |
1984 | | - | |
1985 | | - | |
1986 | | - | |
1987 | | - | |
1988 | | - | |
1989 | | - | |
1990 | | - | |
1991 | 1964 | | |
1992 | 1965 | | |
1993 | 1966 | | |
| |||
1996 | 1969 | | |
1997 | 1970 | | |
1998 | 1971 | | |
1999 | | - | |
2000 | | - | |
2001 | | - | |
2002 | 1972 | | |
2003 | | - | |
2004 | 1973 | | |
2005 | 1974 | | |
2006 | 1975 | | |
| |||
0 commit comments