diff --git a/.vscode/settings.json b/.vscode/settings.json index e6c9453..450f6a0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,10 +1,7 @@ { - "jest.jestCommandLine": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest", - "jest.rootPath": "plugin", "files.exclude": { "**/dist": true, "**/node_modules": true, - "**/.sqlx": true, "**/snapshots": true, } -} +} \ No newline at end of file diff --git a/examples/website/index.html b/examples/website/index.html index fdfc1b2..83bfafb 100644 --- a/examples/website/index.html +++ b/examples/website/index.html @@ -23,39 +23,110 @@
-Use this tool to merge three versions of a text.
-
+ The
+ reconcile
+ solves a fundamental challenge in collaborative editing:
+ what happens when multiple people edit the same text
+ simultaneously?
+ reconcile(parent: str, left: str, right: str) ->
+ str
+ takes conflicting concurrent edits and intelligently merges
+ them into a unified result. Beyond basic conflict
+ resolution, it offers sophisticated merging heuristics,
+ flexible tokenization options, and cursor position tracking.
+
+ The algorithm begins with your chosen tokenizer, then + applies Myers' diff algorithm to compare the original text + with both conflicting versions. These diffs undergo + transformation to preserve meaningful change sequences, + before a final merge strategy—inspired by Operational + Transformation (OT)—reconciles all conflicting modifications + without losing any edits. +
++ For more details, see the + README. +
+