Files
garden-astro/package.json
T
wesandClaude Opus 5 9519c46fe2 Reading map: a 3D hero of everything read, traced by what I highlighted
An orbiting point cloud of all 8,424 indexed passages, with the 262 highlighted
ones lit and threaded in the order they were marked. Data comes from library-rag
(chunks + embeddings) projected to 3D with UMAP; the page never touches Postgres.

Projection is `airy` (n_neighbors=50, min_dist=0.8) and the palette is `frost` --
both chosen by eye against the alternatives. Note that airy shows the underlying
book-territory structure LESS than the tight projection the pre-flight measured,
so the 0.805 k-NN purity figure describes that one, not this.

Page weight: the wrapper adds 321 B gzip to the homepage's blocking load. `three`
(127 KB gz) and the payload (56 KB gz) are a dynamic chunk fetched after render.
It fails closed -- no WebGL, no payload, or a dead fetch leaves a plain page.

The payload is a static snapshot; the 5-minute auto-build rebuilds the site, not
the data. New reading reaches this map only when export.py is re-run.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-13 08:30:45 -04:00

30 lines
717 B
JSON

{
"name": "garden-astro",
"version": "0.1.0",
"type": "module",
"private": true,
"scripts": {
"dev": "astro dev",
"build": "node scripts/copy-assets.mjs && node scripts/copy-notebooks.mjs && astro build",
"preview": "astro preview"
},
"dependencies": {
"@fontsource/jetbrains-mono": "^5.3.0",
"@resvg/resvg-js": "^2.6.2",
"astro": "^5.0.0",
"github-slugger": "^2.0.0",
"katex": "^0.16.10",
"mermaid": "^11.0.0",
"rehype-katex": "^7.0.0",
"remark-math": "^6.0.0",
"satori": "^0.28.2",
"three": "^0.185.1",
"unist-util-visit": "^5.0.0"
},
"allowScripts": {
"esbuild@0.27.7": true,
"esbuild@0.25.12": true,
"sharp@0.34.5": true
}
}