diff --git a/.gitignore b/.gitignore index a7e6b4d..965648d 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,9 @@ __pycache__/ .vscode/ *.swp +# demo +demo/bundle.js + # indexing / analysis artifacts .ckb/ *.scip diff --git a/demo/build.mjs b/demo/build.mjs new file mode 100644 index 0000000..536cb5e --- /dev/null +++ b/demo/build.mjs @@ -0,0 +1,13 @@ +import { build } from 'esbuild'; + +await build({ + entryPoints: ['src/index.ts'], + bundle: true, + format: 'iife', + globalName: 'CCE', + outfile: 'demo/bundle.js', + target: 'es2020', + platform: 'browser', +}); + +console.log('Built demo/bundle.js'); diff --git a/demo/index.html b/demo/index.html new file mode 100644 index 0000000..27c0171 --- /dev/null +++ b/demo/index.html @@ -0,0 +1,1616 @@ + + +
+ + +recencyWindow
+ tokenBudget
+ system. These
+ messages pass through verbatim regardless of position.
+ forceConverge
+ fuzzyDedup
+ 0.85 means 85% of lines must overlap to count as a near-duplicate.
+