Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
Copyright: The Bento/Suite authors → The Bento authors
nyblnet35507395a7b0
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex b1b87d6f..14aae956 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -1,6 +1,6 @@{"name": "bento",- "owner": { "name": "The Bento/Suite authors", "url": "https://bento.page" },+ "owner": { "name": "The Bento authors", "url": "https://bento.page" },"plugins": [{"name": "bento-slides",diff --git a/LICENSE b/LICENSEindex 1b324f5d..9df409d8 100644--- a/LICENSE+++ b/LICENSE@@ -1,6 +1,6 @@MIT License-Copyright (c) 2026 The Bento/Suite authors+Copyright (c) 2026 The Bento authorsPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealdiff --git a/README.md b/README.mdindex 9ba57d84..37230db0 100644--- a/README.md+++ b/README.md@@ -141,7 +141,7 @@ through the signed update channel.## LicenseBento is open source under the [MIT License](LICENSE) — all software here is-MIT, © 2026 The Bento/Suite authors. Bundled runtime components (reveal.js,+MIT, © 2026 The Bento authors. Bundled runtime components (reveal.js,Moveable, Selecto) are MIT; the embedded typefaces (Fraunces, Instrument Sans)are OFL; gallery imagery is public-domain (see`scripts/gallery-photos/SOURCES.md`). Each component keeps its own license.diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.mdindex f2cb8f53..2743ad0f 100644--- a/THIRD_PARTY_NOTICES.md+++ b/THIRD_PARTY_NOTICES.md@@ -1,6 +1,6 @@# Third-party notices-bento/slides is MIT-licensed (© 2026 The Bento/Suite authors; see `LICENSE`).+bento/slides is MIT-licensed (© 2026 The Bento authors; see `LICENSE`).The shippable single-file shell (`Bento_Slides.bento.html`) bundles thefollowing third-party open-source components. Their license terms require thatthese notices accompany copies, so the same text is embedded as a `NOTICE`diff --git a/kernel/src/anim.ts b/kernel/src/anim.tsindex fed25db5..0f364f35 100644--- a/kernel/src/anim.ts+++ b/kernel/src/anim.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Bento's animation engine — the in-house replacement for GSAP, sized to// exactly what the presenter and editor use:// anim.to / anim.fromTo(target, vars) with channels:diff --git a/kernel/src/app.ts b/kernel/src/app.tsindex 251900d3..5fd62633 100644--- a/kernel/src/app.ts+++ b/kernel/src/app.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Per-app identity for the kernel. Every Bento app calls configureApp() once,// first thing at boot, before any kernel module is used.//diff --git a/kernel/src/autosave.ts b/kernel/src/autosave.tsindex 5ad9e117..b194f7cb 100644--- a/kernel/src/autosave.ts+++ b/kernel/src/autosave.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Local auto-save + lightweight version history, backed by IndexedDB.//// Two concerns, one store:diff --git a/kernel/src/charts.ts b/kernel/src/charts.tsindex 3a1c5194..94f96155 100644--- a/kernel/src/charts.ts+++ b/kernel/src/charts.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// charts-lite: Bento's own chart engine (replaces ECharts — see git history).//// A `chart` element stores a plain-JSON option in the ECharts option SHAPE —diff --git a/kernel/src/doc.ts b/kernel/src/doc.tsindex b9b4107f..90f625dd 100644--- a/kernel/src/doc.ts+++ b/kernel/src/doc.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The kernel document envelope — the ONLY doc fields kernel modules may read.// Every app's document model (bento/slides, bento/spaces, …) satisfies this// structurally; the kernel never sees an app's content shape (slides, blocks,diff --git a/kernel/src/i18n.ts b/kernel/src/i18n.tsindex 96f8fc6d..92e0f425 100644--- a/kernel/src/i18n.ts+++ b/kernel/src/i18n.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Internationalization, Bento-sized: a ~1KB t() with English-string-as-key// (gettext philosophy — the source stays readable, fallback is free), catalogs// compiled into the bundle (self-containment: nothing is fetched), and localediff --git a/kernel/src/save.ts b/kernel/src/save.tsindex 1d3561f4..56842d59 100644--- a/kernel/src/save.ts+++ b/kernel/src/save.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Self-saving: a Bento file writes itself back to disk with updated data.//// At boot (before the app mutates the DOM) we deep-clone the document. On savediff --git a/kernel/src/update.ts b/kernel/src/update.tsindex 3bd5ed47..ee433ccd 100644--- a/kernel/src/update.ts+++ b/kernel/src/update.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Self-update: a shipped Bento file asks the release origin whether a newer// app shell exists — automatically at launch (per-browser opt-out in the// About dialog) or on demand — and rebuilds itself as "same document, newerdiff --git a/plugins/bento-slides/.claude-plugin/plugin.json b/plugins/bento-slides/.claude-plugin/plugin.jsonindex 0472df62..bd57c801 100644--- a/plugins/bento-slides/.claude-plugin/plugin.json+++ b/plugins/bento-slides/.claude-plugin/plugin.json@@ -3,7 +3,7 @@"description": "Author Bento presentations — self-contained .bento.html decks with morph transitions, live charts and speaker notes. Starts from nothing: downloads the latest Bento app automatically.","version": "1.0.6","author": {- "name": "The Bento/Suite authors",+ "name": "The Bento authors","url": "https://bento.page"},"homepage": "https://bento.page",diff --git a/scripts/build-404-deck.mjs b/scripts/build-404-deck.mjsindex acfb176d..9e44d0f1 100644--- a/scripts/build-404-deck.mjs+++ b/scripts/build-404-deck.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The 404 page's punchline: a tiny, fully working deck. Spliced from the// built shell like the gallery decks; template:true so every open is fresh.//diff --git a/scripts/build-announcement-deck.mjs b/scripts/build-announcement-deck.mjsindex aac7f9e0..49f5b58a 100644--- a/scripts/build-announcement-deck.mjs+++ b/scripts/build-announcement-deck.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// U1: the launch announcement IS a deck. This file becomes the Show HN link// target and the press kit. PRIVATE until launch — built into working/, not// wired into release.mjs (wire it at T-0, e.g. to site/hello.bento.html).diff --git a/scripts/build-example-decks.mjs b/scripts/build-example-decks.mjsindex 0a7972ab..cc95969e 100644--- a/scripts/build-example-decks.mjs+++ b/scripts/build-example-decks.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The gallery decks — four distinct art directions distilled from// Awwwards Site-of-the-Year style FAMILIES (immersive dark tech,// editorial typography, premium minimal commerce, playful toy-like).diff --git a/scripts/build-guestbook.mjs b/scripts/build-guestbook.mjsindex 1f3b8479..2b30e0e9 100644--- a/scripts/build-guestbook.mjs+++ b/scripts/build-guestbook.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// U2: the public guestbook deck — one live-collab file anyone can open and// sign. Minting fresh credentials IS the reset mechanism ("epochs, not// moderation" — see working/guestbook-design.md). The deck definition livesdiff --git a/scripts/build-landing.mjs b/scripts/build-landing.mjsindex 5cde7f1f..36bff7b1 100644--- a/scripts/build-landing.mjs+++ b/scripts/build-landing.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Assemble the bento.page landing page: inject the deck's embedded typefaces// (Fraunces Black + Instrument Sans, from slides/src/fontdata.ts) into the// template so the page is fully self-contained — no external requests, samediff --git a/scripts/build-qr-page.mjs b/scripts/build-qr-page.mjsindex 7b6af624..b95c2e47 100644--- a/scripts/build-qr-page.mjs+++ b/scripts/build-qr-page.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// "This QR code is a presentation" — builds site/q/index.html from// site-src/q.html: composes a tiny deck, deflates it into a base64url// payload (the QR encodes URL#payload — the deck literally lives in thediff --git a/scripts/guestbook-archive-pull.mjs b/scripts/guestbook-archive-pull.mjsindex 72369f69..278458f8 100644--- a/scripts/guestbook-archive-pull.mjs+++ b/scripts/guestbook-archive-pull.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Pull the daemon's KV archives down to disk so nothing is lost to the 90-cap.//// The daemon prunes KV `archives/` to the newest 90. At the launch 15-min rolldiff --git a/scripts/guestbook-archivist.ts b/scripts/guestbook-archivist.tsindex 3ec6acd8..b094f87e 100644--- a/scripts/guestbook-archivist.ts+++ b/scripts/guestbook-archivist.ts@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Headless guestbook archivist: joins the room READ-ONLY (sends nothing),// replays the encrypted op log through the real CRDT engine, and writes an// archive file containing what people actually signed — not the pristinediff --git a/scripts/guestbook-deck.mjs b/scripts/guestbook-deck.mjsindex 66b4fef0..e115c41a 100644--- a/scripts/guestbook-deck.mjs+++ b/scripts/guestbook-deck.mjs@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The guestbook deck definition, shared by the local builder// (scripts/build-guestbook.mjs) and the Cloudflare daemon// (server/guestbook-daemon/) so epochs look identical wherever they arediff --git a/scripts/guestbook-owner-deck.mjs b/scripts/guestbook-owner-deck.mjsindex 86f03ec7..5e6ed1f0 100644--- a/scripts/guestbook-owner-deck.mjs+++ b/scripts/guestbook-owner-deck.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Build an OWNER deck for the CURRENT live guestbook epoch, on demand — open it// to moderate (People panel → Remove). The daemon mints epochs server-side and// stashes the owner key in KV; this fetches it (admin-gated) and splices it intodiff --git a/scripts/guestbook-roll.mjs b/scripts/guestbook-roll.mjsindex a8088674..2d2e1f88 100644--- a/scripts/guestbook-roll.mjs+++ b/scripts/guestbook-roll.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The guestbook daemon's one command — a COMPLETE, load-hardened epoch roll.//// node scripts/guestbook-roll.mjs --snapshot-onlydiff --git a/scripts/keygen.mjs b/scripts/keygen.mjsindex 33232a5c..1c7023d0 100644--- a/scripts/keygen.mjs+++ b/scripts/keygen.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// One-time: generate the Bento release signing keypair (ECDSA P-256).//// node scripts/keygen.mjs [key-file]diff --git a/scripts/make-og.mjs b/scripts/make-og.mjsindex aadacacb..db04998e 100644--- a/scripts/make-og.mjs+++ b/scripts/make-og.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Compose the social share card (og:image) as a self-contained SVG, using the// SAME embedded typefaces as the deck/landing so it's on-brand. Writes an SVG;// it's rasterised to site-src/og.png in the browser (no CLI rasteriser isdiff --git a/scripts/postbuild-compress.mjs b/scripts/postbuild-compress.mjsindex c6864971..57369e42 100644--- a/scripts/postbuild-compress.mjs+++ b/scripts/postbuild-compress.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Self-extracting shell: compress the built runtime so the file on disk is// ~half the size, with zero feature loss.//diff --git a/scripts/publish-site.mjs b/scripts/publish-site.mjsindex acd2b0f2..61efc2c6 100755--- a/scripts/publish-site.mjs+++ b/scripts/publish-site.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The ONE publish step for bento.page.//// `site/` is the assembled deploy tree: AUTHORED sources (landing, guestbookdiff --git a/scripts/release.mjs b/scripts/release.mjsindex d1951fd9..6e25d45e 100644--- a/scripts/release.mjs+++ b/scripts/release.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Cut a bento/slides release: build the shell, sign the manifest, and// assemble the complete static site for bento.page into ./site/.//diff --git a/scripts/reseed-guestbook.mjs b/scripts/reseed-guestbook.mjsindex b3935392..06ee1f3b 100644--- a/scripts/reseed-guestbook.mjs+++ b/scripts/reseed-guestbook.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Keep the LIVE guestbook daemon on the current shell.//// bento.page/guestbook.bento.html is served by the Cloudflare daemon from itsdiff --git a/scripts/shell-gate.mjs b/scripts/shell-gate.mjsindex d069b6ef..c7e2a82e 100644--- a/scripts/shell-gate.mjs+++ b/scripts/shell-gate.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// CONFORMANCE GATE — old updaters are frozen code; every shell must satisfy// the splice contract they rely on (see postbuild-compress.mjs): plaintext// #bento-doc, regex-extractable, balanced script tags, and a v0.1.0-stylediff --git a/scripts/sign-release.mjs b/scripts/sign-release.mjsindex eda02938..03394da8 100644--- a/scripts/sign-release.mjs+++ b/scripts/sign-release.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Sign a bento/slides release: produce the manifest.json that shipped files// poll (on user request only) to learn about updates.//diff --git a/scripts/test-sync.ts b/scripts/test-sync.tsindex a363c794..993f3f5f 100644--- a/scripts/test-sync.ts+++ b/scripts/test-sync.ts@@ -1,6 +1,6 @@#!/usr/bin/env node// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// bento-sync M0 convergence rig.//// node scripts/test-sync.ts (Node ≥ 23.6 strips types natively)diff --git a/server/guestbook-daemon/src/worker.js b/server/guestbook-daemon/src/worker.jsindex be428443..1e4cb81e 100644--- a/server/guestbook-daemon/src/worker.js+++ b/server/guestbook-daemon/src/worker.js@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// bento-guestbook-daemon — the sustainable home of the public guestbook.// Storage: Workers KV (R2 is not enabled on this account; KV fits — values// are ~500 KB against a 25 MB limit, archives pruned to the newest 90).diff --git a/server/sync-worker/src/worker.js b/server/sync-worker/src/worker.jsindex 27bc6dec..b6a9371a 100644--- a/server/sync-worker/src/worker.js+++ b/server/sync-worker/src/worker.js@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// bento-sync relay — the first (and only) Bento server code. One Durable// Object per docId room. The relay is BLIND by design://diff --git a/site-src/landing.html b/site-src/landing.htmlindex 4174bfe5..5fc1dcf8 100644--- a/site-src/landing.html+++ b/site-src/landing.html@@ -907,7 +907,7 @@ window.bento.loadDoc(json) <span class="c">// write, undoable</span></div><div class="wrap"><div><b>Privacy, precisely:</b> this page loads nothing from anyone. The optional collaboration relay sees ciphertext, connection timing, and a hash of your room key. Never your content, never your name.</div><div>Set in <b>Fraunces</b> & <b>Instrument Sans</b> (OFL), the same faces that travel inside every deck. Built on reveal.js, Moveable, Selecto (MIT) and engines of our own.</div>- <div><b>Open source, MIT.</b> All of Bento's software is MIT-licensed, © 2026 The Bento/Suite authors. Auditable and forkable. · <a href="https://github.com/nyblnet/bento" style="color:var(--peach,#FF9E8A);font-weight:600;text-decoration:none" target="_blank" rel="noopener">GitHub ↗</a></div>+ <div><b>Open source, MIT.</b> All of Bento's software is MIT-licensed, © 2026 The Bento authors. Auditable and forkable. · <a href="https://github.com/nyblnet/bento" style="color:var(--peach,#FF9E8A);font-weight:600;text-decoration:none" target="_blank" rel="noopener">GitHub ↗</a></div><div><a href="/agents.md" style="color:var(--mist);text-decoration:none">agents.md</a> · <a href="/guestbook/" style="color:var(--mist);text-decoration:none">the Guestbook</a></div><div>© 2026 bento.page · <b>Bento/Slides</b> is the first app of Bento/Suite. <b>Bento/Docs</b> and <b>Bento/Sheets</b> are coming soon.</div></div>diff --git a/slides/index.html b/slides/index.htmlindex 9ddb0e40..75f36d72 100644--- a/slides/index.html+++ b/slides/index.html@@ -13,7 +13,7 @@<title>bento/slides</title><!--NOTICE — bento/slides- MIT License — © 2026 The Bento/Suite authors+ MIT License — © 2026 The Bento authorsFull license text: the LICENSE file in the source tree, or https://bento.pageSource & third-party notices: https://bento.pagediff --git a/slides/src/anim.ts b/slides/src/anim.tsindex 0f84bdb1..87958de5 100644--- a/slides/src/anim.ts+++ b/slides/src/anim.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Facade: the animation engine lives in the shared kernel now (kernel/src/// anim.ts). This path stays alive so slides code (and in-flight branches)// keeps importing './anim' unchanged — see docs/PLATFORM.md §9.diff --git a/slides/src/autosave.ts b/slides/src/autosave.tsindex b28fa276..156fd994 100644--- a/slides/src/autosave.ts+++ b/slides/src/autosave.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Facade: the IndexedDB auto-save/version store lives in the shared kernel now// (kernel/src/autosave.ts). This path stays alive so slides code keeps// importing './autosave' unchanged — see docs/PLATFORM.md §9.diff --git a/slides/src/charts.ts b/slides/src/charts.tsindex cbae9cb9..3ed6a422 100644--- a/slides/src/charts.ts+++ b/slides/src/charts.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Facade: the charts-lite engine lives in the shared kernel now// (kernel/src/charts.ts). It reads only {w, h, option}; slides' ChartElement// satisfies that structurally, so call sites are unchanged.diff --git a/slides/src/editor/bezier.ts b/slides/src/editor/bezier.tsindex 00f3c94a..fbe89e13 100644--- a/slides/src/editor/bezier.ts+++ b/slides/src/editor/bezier.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Exact cubic-bezier path model for true pen-tool editing. Unlike the old// Catmull-Rom approach (which SAMPLED the rendered curve back into approximate// anchors and re-smoothed on every edit — lossy, drifting, no real handles),diff --git a/slides/src/editor/beziereditor.ts b/slides/src/editor/beziereditor.tsindex 9933f2da..835e501d 100644--- a/slides/src/editor/beziereditor.ts+++ b/slides/src/editor/beziereditor.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// True pen-tool editing for curve (path) shapes. Each on-curve anchor shows its// in/out control handles; dragging a handle bends the curve exactly (the path// IS the handles — no sampling, no re-smoothing, no drift). Smooth anchorsdiff --git a/slides/src/editor/canvas.ts b/slides/src/editor/canvas.tsindex 0af1b3f4..8c41389a 100644--- a/slides/src/editor/canvas.ts+++ b/slides/src/editor/canvas.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The editing canvas: renders the current slide at fit-to-window scale and// wires Moveable (drag/resize/rotate/snap) + Selecto (click & rubber-band// selection) + contenteditable text editing on top of it.diff --git a/slides/src/editor/clipboard.ts b/slides/src/editor/clipboard.tsindex cc5ab6b4..9f4dccd1 100644--- a/slides/src/editor/clipboard.ts+++ b/slides/src/editor/clipboard.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// System-clipboard copy/paste: external objects (images, text) onto the canvas,// and Bento elements or whole slides between decks (across tabs/windows).//diff --git a/slides/src/editor/comments.ts b/slides/src/editor/comments.tsindex 4e2d5c37..6baf02a3 100644--- a/slides/src/editor/comments.ts+++ b/slides/src/editor/comments.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Review comments. Threads live in Slide.comments (saved with the file,// never rendered in present/print). The editor shows them as small numbered// markers on the canvas — at the anchored element's top-right corner, ordiff --git a/slides/src/editor/editor.ts b/slides/src/editor/editor.tsindex afb72e37..d0b482d1 100644--- a/slides/src/editor/editor.ts+++ b/slides/src/editor/editor.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Editor shell: topbar, slide sidebar, canvas, properties panel, keyboard// shortcuts, save & present wiring.diff --git a/slides/src/editor/lineedit.ts b/slides/src/editor/lineedit.tsindex 492bc771..ac136f51 100644--- a/slides/src/editor/lineedit.ts+++ b/slides/src/editor/lineedit.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Direct on-canvas editing for line / curved-line / connector SHAPES — the// intuitive alternative to resizing a box and rotating it. A selected line// shows two draggable endpoint handles; a curve (path) shows its anchor pointsdiff --git a/slides/src/editor/markdown.ts b/slides/src/editor/markdown.tsindex 202a7911..b39ce849 100644--- a/slides/src/editor/markdown.ts+++ b/slides/src/editor/markdown.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Lightweight markdown affordances for text editing. Two entry points:// - autoformatAtCaret: called on every input; when the text just before the// caret completes an inline pattern (**bold**, *italic*, `code`, ~~strike~~)diff --git a/slides/src/editor/panels.ts b/slides/src/editor/panels.tsindex 198a5547..57c07c18 100644--- a/slides/src/editor/panels.ts+++ b/slides/src/editor/panels.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Right-hand properties panel. Shows slide properties when nothing is// selected, element properties otherwise. Bursts of 'input' events collapse// into a single undo checkpoint.diff --git a/slides/src/editor/patheditor.ts b/slides/src/editor/patheditor.tsindex 805983b0..01b3fe64 100644--- a/slides/src/editor/patheditor.ts+++ b/slides/src/editor/patheditor.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Visual motion-path editing — HYBRID bezier. The path of an fx.loop// 'motion-path' is a set of draggable waypoints. By default a waypoint stays// AUTO: its in/out tangents are auto-computed (Catmull-Rom) so the trajectorydiff --git a/slides/src/fontdata.ts b/slides/src/fontdata.tsindex 78c1470e..0d68bdfd 100644--- a/slides/src/fontdata.ts+++ b/slides/src/fontdata.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Embedded display face for the starter deck: Fraunces Black (latin subset,// 34.6KB woff2). SIL Open Font License 1.1 — free to embed and redistribute;// the face travels inside every saved document via doc.fonts + doc.assets.diff --git a/slides/src/fonts.ts b/slides/src/fonts.tsindex a90ed7b3..f93d515a 100644--- a/slides/src/fonts.ts+++ b/slides/src/fonts.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Font utilities: the curated system-stack choices offered in the editor,// and @font-face injection for fonts embedded in the document's asset table.diff --git a/slides/src/i18n.ts b/slides/src/i18n.tsindex 815edbfa..1eb96348 100644--- a/slides/src/i18n.ts+++ b/slides/src/i18n.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Facade: the i18n ENGINE lives in the shared kernel (kernel/src/i18n.ts);// the CATALOGS are this app's string data and stay here in ./i18n/*.ts.//diff --git a/slides/src/i18n/de.ts b/slides/src/i18n/de.tsindex 099de056..9b00809f 100644--- a/slides/src/i18n/de.ts+++ b/slides/src/i18n/de.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// German — machine-drafted, native review welcomeimport type { Catalog } from '../i18n'diff --git a/slides/src/i18n/es.ts b/slides/src/i18n/es.tsindex b17d22a0..8e7a1c03 100644--- a/slides/src/i18n/es.ts+++ b/slides/src/i18n/es.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Spanish — machine-drafted, native review welcomeimport type { Catalog } from '../i18n'diff --git a/slides/src/i18n/fr.ts b/slides/src/i18n/fr.tsindex 9ee9f26c..51e7f69f 100644--- a/slides/src/i18n/fr.ts+++ b/slides/src/i18n/fr.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// French — machine-drafted, native review welcomeimport type { Catalog } from '../i18n'diff --git a/slides/src/i18n/it.ts b/slides/src/i18n/it.tsindex a8e42a7c..bb8217d0 100644--- a/slides/src/i18n/it.ts+++ b/slides/src/i18n/it.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Italian — machine-drafted, native review welcomeimport type { Catalog } from '../i18n'diff --git a/slides/src/i18n/ja.ts b/slides/src/i18n/ja.tsindex ca617c9d..ca06da6d 100644--- a/slides/src/i18n/ja.ts+++ b/slides/src/i18n/ja.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Japanese — machine-drafted, native review welcomeimport type { Catalog } from '../i18n'diff --git a/slides/src/i18n/zh-Hans.ts b/slides/src/i18n/zh-Hans.tsindex 59ba00a8..b5064c78 100644--- a/slides/src/i18n/zh-Hans.ts+++ b/slides/src/i18n/zh-Hans.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Simplified Chinese — machine-drafted, native review welcomeimport type { Catalog } from '../i18n'diff --git a/slides/src/i18n/zh-Hant.ts b/slides/src/i18n/zh-Hant.tsindex 1d51a687..25f42352 100644--- a/slides/src/i18n/zh-Hant.ts+++ b/slides/src/i18n/zh-Hant.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Traditional Chinese (Taiwan conventions) — machine-drafted, native review welcomeimport type { Catalog } from '../i18n'diff --git a/slides/src/icons.ts b/slides/src/icons.tsindex 61bc2e43..a7c9fe1d 100644--- a/slides/src/icons.ts+++ b/slides/src/icons.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Minimal inline icon set (lucide-style, stroke = currentColor). No deps.const svg = (body: string, viewBox = '0 0 24 24') =>diff --git a/slides/src/main.ts b/slides/src/main.tsindex 73a006bf..bf5039df 100644--- a/slides/src/main.ts+++ b/slides/src/main.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Boot sequence. Order matters: capture the pristine document BEFORE any DOM// mutation — the captured copy is what gets re-serialized on save.diff --git a/slides/src/model.ts b/slides/src/model.tsindex b00bbe90..76ffc1d8 100644--- a/slides/src/model.ts+++ b/slides/src/model.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The bento/slides document model. This JSON is what lives inside the// <script type="application/bento+json"> block of a .bento.html file.diff --git a/slides/src/present.ts b/slides/src/present.tsindex e38aa612..d57bfae6 100644--- a/slides/src/present.ts+++ b/slides/src/present.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Present mode: a fullscreen Reveal.js overlay generated from the model.// Slides marked transition:'morph' use GSAP Flip to animate elements whose// ids match across the two slides (PowerPoint "Morph" behaviour).diff --git a/slides/src/render.ts b/slides/src/render.tsindex 1d90dd0d..490a8bd1 100644--- a/slides/src/render.ts+++ b/slides/src/render.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Shared model → DOM renderer. One code path draws slides everywhere:// editor canvas, sidebar thumbnails, and Reveal.js sections.diff --git a/slides/src/save.ts b/slides/src/save.tsindex ea1d0a50..aa230298 100644--- a/slides/src/save.ts+++ b/slides/src/save.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Facade: self-save + bento/enc encryption live in the shared kernel now// (kernel/src/save.ts). This path stays alive so slides code keeps importing// './save' unchanged — see docs/PLATFORM.md §9.diff --git a/slides/src/screens.ts b/slides/src/screens.tsindex fcf65e3d..7e5af9f2 100644--- a/slides/src/screens.ts+++ b/slides/src/screens.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The speaker-notes window. It outlives any single present session: the editor// opens it (its own user gesture) BEFORE presenting, and present mode adopts it.// Opening the notes and going fullscreen are then two separate gestures, sodiff --git a/slides/src/starterdeck.ts b/slides/src/starterdeck.tsindex 94c82a90..bac9f8db 100644--- a/slides/src/starterdeck.ts+++ b/slides/src/starterdeck.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The starter deck — what a freshly built bento/slides file opens with.//// It is the product demo, the launch asset and the feature tour in one: everydiff --git a/slides/src/store.ts b/slides/src/store.tsindex 4fe537e7..cd8e18be 100644--- a/slides/src/store.ts+++ b/slides/src/store.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authorsimport type { BentoDoc, Slide, SlideElement } from './model'export type StoreEvent =diff --git a/slides/src/sync/crdt.ts b/slides/src/sync/crdt.tsindex 39c1dd42..592e995f 100644--- a/slides/src/sync/crdt.ts+++ b/slides/src/sync/crdt.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// bento-sync M0 — the CRDT engine. Pure data, no DOM, no imports beyond the// model types: the same file runs in the browser session layer and in the// node convergence rig (scripts/test-sync.ts, node --experimental-strip-types).diff --git a/slides/src/sync/online.ts b/slides/src/sync/online.tsindex 0057f725..6e8433c4 100644--- a/slides/src/sync/online.ts+++ b/slides/src/sync/online.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// bento-sync online transport — E2EE WebSocket to the blind relay// (server/sync-worker). Every session frame is AES-GCM encrypted with the// room key from doc.collab.key; the relay sees ciphertext, fan-out routing,diff --git a/slides/src/sync/session.ts b/slides/src/sync/session.tsindex 9e5308c1..9416fdc7 100644--- a/slides/src/sync/session.ts+++ b/slides/src/sync/session.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// bento-sync session — the bridge between the CRDT engine (crdt.ts) and the// running editor. Owns: the differ hook on the store, transports (same-machine// BroadcastChannel always; an online relay transport can be added), presence,diff --git a/slides/src/update.ts b/slides/src/update.tsindex 30e409d9..2db677c2 100644--- a/slides/src/update.ts+++ b/slides/src/update.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Facade: signed self-update lives in the shared kernel now// (kernel/src/update.ts). App identity (manifest url, manifest `app` id) is// supplied by configureApp() in main.ts — see docs/PLATFORM.md §6, §9.diff --git a/spaces/src/i18n.ts b/spaces/src/i18n.tsindex 25f8205c..0ab65a6a 100644--- a/spaces/src/i18n.ts+++ b/spaces/src/i18n.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Facade: the i18n ENGINE lives in the shared kernel; CATALOGS are per-app// string data and live here. This module registers them at import time and// re-exports the engine, so registration is guaranteed to precede the firstdiff --git a/spaces/src/main.ts b/spaces/src/main.tsindex ba3ffe39..bf869ae4 100644--- a/spaces/src/main.ts+++ b/spaces/src/main.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// Boot sequence for bento/spaces. Order matters: configure the app, then// capture the pristine document BEFORE any DOM mutation — the captured copy// is what gets re-serialized on save.diff --git a/spaces/src/model.ts b/spaces/src/model.tsindex e3871bd5..1c766065 100644--- a/spaces/src/model.ts+++ b/spaces/src/model.ts@@ -1,5 +1,5 @@// SPDX-License-Identifier: MIT-// Copyright (c) 2026 The Bento/Suite authors+// Copyright (c) 2026 The Bento authors// The bento/spaces document model. This JSON is what lives inside the// #bento-doc block — the format IS the product (docs/PLATFORM.md §3).//