@possibleworlds/tender 0.1.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/LICENSE +21 -0
  2. package/NOTICE.md +68 -0
  3. package/assets/builtin-user-guide.md +1206 -0
  4. package/dist/cli.js +6339 -0
  5. package/dist/preview-ui/assets/JetBrainsMono-Bold.woff2 +0 -0
  6. package/dist/preview-ui/assets/JetBrainsMono-Medium.woff2 +0 -0
  7. package/dist/preview-ui/assets/JetBrainsMono-Regular.woff2 +0 -0
  8. package/dist/preview-ui/assets/LibreBaskerville-Bold.woff2 +0 -0
  9. package/dist/preview-ui/assets/LibreBaskerville-Italic.woff2 +0 -0
  10. package/dist/preview-ui/assets/LibreBaskerville-Regular.woff2 +0 -0
  11. package/dist/preview-ui/assets/Reglo-Bold.otf +0 -0
  12. package/dist/preview-ui/assets/index.css +1 -0
  13. package/dist/preview-ui/assets/index.js +4 -0
  14. package/dist/preview-ui/index.html +13 -0
  15. package/package.json +82 -0
  16. package/skill/SKILL.md +442 -0
  17. package/skill/examples/callout.tender +15 -0
  18. package/skill/examples/content-restructure-after.md +13 -0
  19. package/skill/examples/content-restructure-before.md +9 -0
  20. package/skill/examples/row.tender +12 -0
  21. package/skill/examples/synthetic-project/components/callout.tender +15 -0
  22. package/skill/examples/synthetic-project/components/row.tender +12 -0
  23. package/skill/examples/synthetic-project/content.md +15 -0
  24. package/skill/examples/synthetic-project/project.yaml +7 -0
  25. package/skill/examples/synthetic-project/styles.css +14 -0
  26. package/templates/default/components/README.md +32 -0
  27. package/templates/default/content.md +13 -0
  28. package/templates/default/project.yaml +27 -0
  29. package/templates/default/styles.css +39 -0
  30. package/templates/open-circle/assets/images/check.png +0 -0
  31. package/templates/open-circle/assets/images/clock.png +0 -0
  32. package/templates/open-circle/assets/images/pointer.png +0 -0
  33. package/templates/open-circle/assets/images/speaker.png +0 -0
  34. package/templates/open-circle/assets/images/spiral.png +0 -0
  35. package/templates/open-circle/components/ad-lib.tender +8 -0
  36. package/templates/open-circle/components/cover-byline.tender +1 -0
  37. package/templates/open-circle/components/cover-spiral.tender +1 -0
  38. package/templates/open-circle/components/cover-tagline.tender +1 -0
  39. package/templates/open-circle/components/margin-label.tender +5 -0
  40. package/templates/open-circle/components/participant-name.tender +5 -0
  41. package/templates/open-circle/components/row.tender +12 -0
  42. package/templates/open-circle/components/spanning-row.tender +1 -0
  43. package/templates/open-circle/components/speaker-name.tender +5 -0
  44. package/templates/open-circle/components/stage-direction.tender +5 -0
  45. package/templates/open-circle/components/yellow-tag.tender +5 -0
  46. package/templates/open-circle/content.md +157 -0
  47. package/templates/open-circle/project.yaml +40 -0
  48. package/templates/open-circle/styles.css +216 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Possible Worlds
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/NOTICE.md ADDED
@@ -0,0 +1,68 @@
1
+ # Third-party notices
2
+
3
+ `@possibleworlds/tender` is MIT-licensed (see [`LICENSE`](LICENSE)). It bundles or depends on the following third-party software. The package is published as MIT and we make no representation about your obligations under the *upstream* licenses listed below — please consult each project's source for the authoritative terms.
4
+
5
+ ## Bundled in the published tarball
6
+
7
+ These ship inside the `npm install @possibleworlds/tender` payload:
8
+
9
+ ### Fonts (`dist/preview-ui/assets/`)
10
+
11
+ Used by the preview UI chrome (Palette, Help, Export tabs). They are **not** applied to your rendered documents.
12
+
13
+ | Font | License | Source |
14
+ | --- | --- | --- |
15
+ | JetBrains Mono (Regular, Medium, Bold) | SIL Open Font License 1.1 | <https://github.com/JetBrains/JetBrainsMono> |
16
+ | Libre Baskerville (Regular, Italic, Bold) | SIL Open Font License 1.1 | <https://github.com/impallari/Libre-Baskerville> |
17
+ | Reglo (Bold) | Possible Worlds; redistributed with permission | — |
18
+
19
+ SIL OFL 1.1 full text: <https://openfontlicense.org/open-font-license-official-text/>.
20
+
21
+ ### figlet "ANSI Regular"
22
+
23
+ The `tender` wordmark printed by `tender init` and `tender preview` is an ASCII-art string baked into source. It was generated once with the figlet "ANSI Regular" font; the font itself is not a runtime dependency. figlet fonts collection: <http://www.figlet.org/>.
24
+
25
+ ## Runtime dependencies (resolved by npm at install time)
26
+
27
+ These are listed in `package.json` `dependencies` and pulled in when a user installs `@possibleworlds/tender`. All are MIT, ISC, or Apache-2.0.
28
+
29
+ | Package | Version range | License |
30
+ | --- | --- | --- |
31
+ | `chokidar` | ^5.0.0 | MIT |
32
+ | `commander` | ^12.0.0 | MIT |
33
+ | `express` | ^5.2.1 | MIT |
34
+ | `handlebars` | ^4.7.9 | MIT |
35
+ | `htmlparser2` | ^12.0.0 | MIT |
36
+ | `js-yaml` | ^4.1.1 | MIT |
37
+ | `pagedjs` | ^0.4.3 | MIT |
38
+ | `puppeteer` | ^24.43.0 | Apache-2.0 |
39
+ | `rehype-stringify` | ^10.0.1 | MIT |
40
+ | `remark-directive` | ^4.0.0 | MIT |
41
+ | `remark-gfm` | ^4.0.1 | MIT |
42
+ | `remark-parse` | ^11.0.0 | MIT |
43
+ | `remark-rehype` | ^11.1.2 | MIT |
44
+ | `retext` | ^9.0.0 | MIT |
45
+ | `retext-english` | ^5.0.0 | MIT |
46
+ | `retext-smartypants` | ^6.2.0 | MIT |
47
+ | `retext-stringify` | ^4.0.0 | MIT |
48
+ | `unified` | ^11.0.5 | MIT |
49
+ | `unist-util-visit` | ^5.1.0 | MIT |
50
+ | `ws` | ^8.20.1 | MIT |
51
+ | `yaml` | ^2.6.0 | ISC |
52
+ | `zod` | ^4.4.3 | MIT |
53
+
54
+ Transitive dependencies follow their own licenses; `pnpm licenses list` will give the full tree for a given lockfile.
55
+
56
+ ## Chromium (downloaded by puppeteer on install)
57
+
58
+ `puppeteer` triggers a one-time download of a pinned Chromium build into `~/.cache/puppeteer/` (or `PUPPETEER_CACHE_DIR`). Chromium is licensed under the BSD 3-Clause license, plus a long list of third-party licenses for its own dependencies — see Chromium's own `LICENSE` and `LICENSES.chromium.html` files in the downloaded distribution.
59
+
60
+ The downloaded Chromium binary is **not** included in the npm tarball; npm fetches it via puppeteer's `postinstall` script the first time a user installs Tender.
61
+
62
+ ## Paged.js
63
+
64
+ `pagedjs` (MIT) is the in-browser script Tender loads inside Chromium to paginate the rendered HTML for print. The Paged.js bundle is fetched from npm at install time alongside the rest of the runtime deps; nothing about it is repackaged in the Tender tarball.
65
+
66
+ ## Tender itself
67
+
68
+ Tender is © Possible Worlds and licensed under the MIT License (see [`LICENSE`](LICENSE)). The `tender` command, the `@possibleworlds/tender` npm package, the `tender-author` Claude skill source under `claude/skills/`, the project templates under `packages/cli/templates/`, and the worked-example fixtures under `packages/core/test/fixtures/open-circle-tags/` are all covered by that license.