Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
License: MIT NOTICE in the shell + SPDX headers on first-party source + THIRD_PARTY_NOTICES
nyblnet6c2066692228
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.mdnew file mode 100644index 00000000..e8e76a16--- /dev/null+++ b/THIRD_PARTY_NOTICES.md@@ -0,0 +1,51 @@+# Third-party notices++Bento Slides is MIT-licensed (© 2026 The Bento/Suite authors; see `LICENSE`).+The shippable single-file shell (`Bento_Slides.bento.html`) bundles the+following third-party open-source components. Their license terms require that+these notices accompany copies, so the same text is embedded as a `NOTICE`+comment near the top of every built shell and every saved Bento document.++## Bundled runtime (ships inside the shell)++### reveal.js+- License: MIT+- Copyright (C) 2011-2024 Hakim El Hattab, http://hakim.se, and reveal.js contributors+- Project: https://revealjs.com / https://github.com/hakimel/reveal.js+- Use: powers the present-mode fullscreen slideshow overlay.++### Moveable+- License: MIT+- Copyright (c) 2019 Daybrush (Younkue Choi)+- Project: https://github.com/daybrush/moveable+- Use: on-canvas element manipulation (drag / resize / rotate handles). Pulls in+ the author's supporting modules (`@daybrush/*`, `@scena/*`, `@egjs/*`,+ `@cfcs/*`), all MIT, © Daybrush.++### Selecto+- License: MIT+- Copyright (c) 2020 Daybrush (Younkue Choi)+- Project: https://github.com/daybrush/selecto+- Use: marquee / rubber-band selection on the editing canvas.++## Bundled fonts (embedded as document assets in decks that use them)++### Fraunces+- License: SIL Open Font License 1.1+- Copyright 2020 The Fraunces Project Authors+- Project: https://github.com/undercasetype/Fraunces++### Instrument Sans+- License: SIL Open Font License 1.1+- Copyright 2022 The Instrument Sans Project Authors+- Project: https://github.com/Instrument/instrument-sans++---++Full MIT license text is reproduced in the shell's `NOTICE` comment and in the+`LICENSE` file. The SIL Open Font License 1.1 text is available at+https://openfontlicense.org.++Dev-only tooling (Vite, TypeScript, `vite-plugin-singlefile`, `qrcode`,+`@types/*`) is used to build Bento but is **not** bundled into the shipped shell+and is therefore not listed here.diff --git a/scripts/build-404-deck.mjs b/scripts/build-404-deck.mjsindex 6efabb39..acfb176d 100644--- a/scripts/build-404-deck.mjs+++ b/scripts/build-404-deck.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 3f102a97..4f75de10 100644--- a/scripts/build-announcement-deck.mjs+++ b/scripts/build-announcement-deck.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 e8ccd6c6..83b294da 100644--- a/scripts/build-example-decks.mjs+++ b/scripts/build-example-decks.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 462971a4..f5ea4ec5 100644--- a/scripts/build-guestbook.mjs+++ b/scripts/build-guestbook.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 e8688806..10fa846f 100644--- a/scripts/build-landing.mjs+++ b/scripts/build-landing.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 3ab5b0c5..7b6af624 100644--- a/scripts/build-qr-page.mjs+++ b/scripts/build-qr-page.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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-archivist.ts b/scripts/guestbook-archivist.tsindex 3942f346..3ec6acd8 100644--- a/scripts/guestbook-archivist.ts+++ b/scripts/guestbook-archivist.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 1865f5e2..66b4fef0 100644--- a/scripts/guestbook-deck.mjs+++ b/scripts/guestbook-deck.mjs@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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-roll.mjs b/scripts/guestbook-roll.mjsindex 829699de..2c5dfe90 100644--- a/scripts/guestbook-roll.mjs+++ b/scripts/guestbook-roll.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite authors// The guestbook daemon's one command. Two modes://// node scripts/guestbook-roll.mjs --snapshot-onlydiff --git a/scripts/keygen.mjs b/scripts/keygen.mjsindex 577c6162..33232a5c 100644--- a/scripts/keygen.mjs+++ b/scripts/keygen.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite authors// One-time: generate the Bento release signing keypair (ECDSA P-256).//// node scripts/keygen.mjs [key-file]diff --git a/scripts/postbuild-compress.mjs b/scripts/postbuild-compress.mjsindex c334053d..5e31375e 100644--- a/scripts/postbuild-compress.mjs+++ b/scripts/postbuild-compress.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 a0e1c040..acd2b0f2 100755--- a/scripts/publish-site.mjs+++ b/scripts/publish-site.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 341d5f1c..35aa3152 100644--- a/scripts/release.mjs+++ b/scripts/release.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 1b2a6157..b3935392 100644--- a/scripts/reseed-guestbook.mjs+++ b/scripts/reseed-guestbook.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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/sign-release.mjs b/scripts/sign-release.mjsindex 2b05c313..3404446c 100644--- a/scripts/sign-release.mjs+++ b/scripts/sign-release.mjs@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 d17042e2..a363c794 100644--- a/scripts/test-sync.ts+++ b/scripts/test-sync.ts@@ -1,4 +1,6 @@#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite authors// bento-sync M0 convergence rig.//// node scripts/test-sync.ts (Node ≥ 23.6 strips types natively)diff --git a/server/sync-worker/src/worker.js b/server/sync-worker/src/worker.jsindex b975eef2..1cd45865 100644--- a/server/sync-worker/src/worker.js+++ b/server/sync-worker/src/worker.js@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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/slides/index.html b/slides/index.htmlindex 3b2ceb3b..fc49e987 100644--- a/slides/index.html+++ b/slides/index.html@@ -7,9 +7,14 @@<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='2' y='2' width='28' height='28' rx='6' fill='%2316273E'/%3E%3Crect x='6' y='6' width='6' height='20' rx='2' fill='%235E7699'/%3E%3Crect x='14' y='6' width='12' height='9' rx='2' fill='%23FF9E8A'/%3E%3Crect x='14' y='17' width='12' height='9' rx='2' fill='%23F0EBE0'/%3E%3C/svg%3E" /><title>Bento Slides</title><!--- NOTICE — bundled open-source components. This file embeds the following- libraries, whose licenses require that these notices accompany copies- (every saved Bento document carries this block):+ NOTICE — Bento Slides+ MIT License — © 2026 The Bento/Suite authors+ Full license text: the LICENSE file in the source tree, or https://bento.page+ Source & third-party notices: https://bento.page++ This file also embeds the following open-source libraries, whose licenses+ require that these notices accompany copies (every saved Bento document+ carries this block):reveal.js — Copyright (C) Hakim El Hattab and contributors — MIT Licensemoveable, selecto and their @daybrush/@scena/@egjs/@cfcs modules —diff --git a/slides/src/anim.ts b/slides/src/anim.tsindex a12392fc..fed25db5 100644--- a/slides/src/anim.ts+++ b/slides/src/anim.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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/slides/src/charts.ts b/slides/src/charts.tsindex ea829d9f..f102c9bf 100644--- a/slides/src/charts.ts+++ b/slides/src/charts.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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/slides/src/editor/canvas.ts b/slides/src/editor/canvas.tsindex ee10480e..056b82c1 100644--- a/slides/src/editor/canvas.ts+++ b/slides/src/editor/canvas.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 7a1c63fb..cc5ab6b4 100644--- a/slides/src/editor/clipboard.ts+++ b/slides/src/editor/clipboard.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 ae5d29c7..4e2d5c37 100644--- a/slides/src/editor/comments.ts+++ b/slides/src/editor/comments.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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/markdown.ts b/slides/src/editor/markdown.tsindex e0c0d5d3..202a7911 100644--- a/slides/src/editor/markdown.ts+++ b/slides/src/editor/markdown.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 53d803a0..19a8d6e3 100644--- a/slides/src/editor/panels.ts+++ b/slides/src/editor/panels.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 6ed39e16..d728cc41 100644--- a/slides/src/editor/patheditor.ts+++ b/slides/src/editor/patheditor.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite authors// Visual motion-path editing. The path of an fx.loop 'motion-path' is edited// as draggable anchor points on the canvas; segments are auto-smoothed// (Catmull-Rom → cubic bezier) so authors never manage control handles.diff --git a/slides/src/fontdata.ts b/slides/src/fontdata.tsindex 472ad664..78c1470e 100644--- a/slides/src/fontdata.ts+++ b/slides/src/fontdata.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 a279fd5f..a90ed7b3 100644--- a/slides/src/fonts.ts+++ b/slides/src/fonts.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 ca5564d5..5806769a 100644--- a/slides/src/i18n.ts+++ b/slides/src/i18n.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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/slides/src/i18n/de.ts b/slides/src/i18n/de.tsindex cbe1c325..ad68fbe1 100644--- a/slides/src/i18n/de.ts+++ b/slides/src/i18n/de.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 7fb86963..469c2927 100644--- a/slides/src/i18n/es.ts+++ b/slides/src/i18n/es.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 616a3d77..95759a8d 100644--- a/slides/src/i18n/fr.ts+++ b/slides/src/i18n/fr.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 51cea13c..cd7656dd 100644--- a/slides/src/i18n/it.ts+++ b/slides/src/i18n/it.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 467a3c09..15e758fb 100644--- a/slides/src/i18n/ja.ts+++ b/slides/src/i18n/ja.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 d64039bb..ea47379e 100644--- a/slides/src/i18n/zh-Hans.ts+++ b/slides/src/i18n/zh-Hans.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 b4b1d912..b97d4dee 100644--- a/slides/src/i18n/zh-Hant.ts+++ b/slides/src/i18n/zh-Hant.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 cea30337..9d853e2f 100644--- a/slides/src/icons.ts+++ b/slides/src/icons.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 e8989f4b..647c3b1b 100644--- a/slides/src/main.ts+++ b/slides/src/main.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 02826e81..b56a9c22 100644--- a/slides/src/model.ts+++ b/slides/src/model.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 652bf7ff..3f71c659 100644--- a/slides/src/present.ts+++ b/slides/src/present.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 b5b38f8b..884de0ad 100644--- a/slides/src/render.ts+++ b/slides/src/render.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 33885a47..e4b10976 100644--- a/slides/src/save.ts+++ b/slides/src/save.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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/slides/src/screens.ts b/slides/src/screens.tsindex a5515ad4..545b4b3c 100644--- a/slides/src/screens.ts+++ b/slides/src/screens.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite authors// Shared Window Management state.//// Granting the browser's "window management" permission needs a DEDICATED userdiff --git a/slides/src/starterdeck.ts b/slides/src/starterdeck.tsindex b8d5c656..93567456 100644--- a/slides/src/starterdeck.ts+++ b/slides/src/starterdeck.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 e0eb396d..f46c1b57 100644--- a/slides/src/store.ts+++ b/slides/src/store.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite authorsimport type { BentoDoc, Slide, SlideElement } from './model'export type StoreEvent =diff --git a/slides/src/sync/crdt.ts b/slides/src/sync/crdt.tsindex 75fde1fd..39c1dd42 100644--- a/slides/src/sync/crdt.ts+++ b/slides/src/sync/crdt.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 643ed6ca..bbd4f4e7 100644--- a/slides/src/sync/online.ts+++ b/slides/src/sync/online.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 e4489718..cd307c7e 100644--- a/slides/src/sync/session.ts+++ b/slides/src/sync/session.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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 f9e09788..e29cc5be 100644--- a/slides/src/update.ts+++ b/slides/src/update.ts@@ -1,3 +1,5 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento/Suite 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, newer