Commit Graph
17 Commits
Author SHA1 Message Date
thalladaandClaude Opus 5.5 e733e131bb Panes as a tree of forks: pure operations, with a property test
Each pane may have several children, each continuing its own trail; the
picks from the root give the one focused branch. Open, fork, close (right
of a pane, a fork, one child), pick the fork above or below, prune deleted
panes, make a path the branch, store and load (an old trail loads as one
branch). Unchanged trees are returned as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 22:48:10 -05:00
thalladaandClaude Opus 5.5 2c1ee048a4 Annotate Wikipedia articles with the same keys as nodes
An article's text is drawn from its sanitised HTML as selectable text
(articleText.ts): paragraphs, list items and quotes with their inline
elements; a formula is one unit; tables and preformatted blocks are shown
but carry no offsets. The selection ladder, Tab, Enter, e d y x c :, D and
the rest go through the same store paths as on a node; a note on article
words is a note (Enter steps into it; c, f, u, the editor and history work
on it as on any other) and shows wherever the article is opened, in the
library's own note style. Detached annotations are listed at the top of
their section with a link to the old revision. Keys that only make sense on
a node say why in the status line. Tab on a link now selects its words, so
Esc widens before h leaves, as in a node.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 21:53:00 -05:00
thalladaandClaude Opus 5.5 f63fc10dc0 Article nodes and annotation anchors in the library
A node per annotated Wikipedia article, created with its first annotation
under one container: a section of the library root flagged articles. It is
not a document (sections() and documents() skip it, it has no slug), its
nodes never go stale, the link scanner, the vector index, the title index
and the backlinks index leave it out, and a prompt about an annotation
carries its article's node rather than the whole container.

An annotation is an ordinary note under the article's node whose anchor is
a WikiAnchor (headings, exact words, context either side, revision) instead
of CRDT cursors. reanchor() finds it again in a later revision: its own
section, then anywhere, exactly, then tolerantly, never inside other words;
otherwise it is detached. Two replicas annotating a new article at once keep
both nodes; readers take annotations from all of them and write under the
first, so they read as one. The new fields hash only when set, so old
commits still verify. Property tests for re-anchoring, a convergence test,
and the tasks that write a note from an article's lead and section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 21:53:00 -05:00
thalladaandClaude Opus 5.5 02e044af35 Open a note that also links as its article with the note on top
Words carrying a note and a Wikipedia link (one note with a body and a
target, as the bulk linking pass made by merging links onto glosses, or a
note and a link on the same words) opened only the note: a click toggled
the gloss inline in both views, Enter did the same in the column, and in
panes Enter opened the note's pane with the article folded to its summary.

Now Enter or a click opens one page: the note's text first, then the
article in full (in the column the note is hoisted and h returns to its
words; in panes it is the next pane). A note's target is its own or that of
a link on exactly its words. Node and web targets show their card beneath
the note the same way. Browser tests cover click and keyboard in both views
and the same-span case; the old test only covered the folded panes path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 21:10:19 -05:00
thalladaandClaude Fable 5.2 f86a06fa06 Allow Tailscale host names on the dev server; IE_HOSTS adds more
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 20:50:09 -05:00
thalladaandClaude Fable 5.2 8923ba95f9 Scripts and docs
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 9b5f7776a6 Browser tests
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 1b4642ec35 Unit tests and fixtures
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 2b0f2b1f01 Starter library: twelve documents
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 dbd64aa591 Browser UI
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 dfa08f6e0c Link discovery: local embeddings, scanner, suggestions, background jobs
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 36ad305406 Wikipedia client, sanitiser, routes and mock
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 ca63e54873 Server: storage, sync, op API, model providers and usage
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 75c5762ae7 Model tasks, prompts and the mock model
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 c0b2a2812d Text format, seed document and library operations
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 7130c7e2b3 Core model: CRDT tree, op API, staleness, history and merge
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00
thalladaandClaude Fable 5.2 f67141d055 Project skeleton: package, TypeScript, Vite and Playwright config
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
2026-11-15 14:30:50 -05:00