@telepath-computer/television 1.5.9 → 1.6.0
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.
- package/dist/THIRD-PARTY-NOTICES.txt +701 -0
- package/dist/cli.cjs +9035 -596
- package/dist/onboarding/tv-guide/welcome.html +14 -4
- package/dist/skills/television/SKILL.md +39 -33
- package/dist/skills/television/resources.md +4 -4
- package/dist/skills/television/templates.md +77 -0
- package/dist/skills/television/theming.md +31 -17
- package/dist/templates/calendar/README.md +17 -0
- package/dist/{skills/tv-tasks → templates/calendar}/THIRD-PARTY-NOTICES.txt +22 -22
- package/dist/templates/calendar/calendar-attendees.js +131 -0
- package/dist/templates/calendar/calendar-event.js +22 -0
- package/dist/templates/calendar/calendar-motion.js +273 -0
- package/dist/templates/calendar/calendar-page.js +403 -0
- package/dist/templates/calendar/calendar-time-axis.js +32 -0
- package/dist/templates/calendar/calendar-week.js +711 -0
- package/dist/templates/calendar/data.json +3 -0
- package/dist/templates/calendar/icon.svg +1 -0
- package/dist/templates/calendar/index.html +27 -0
- package/dist/templates/calendar/manifest.json +148 -0
- package/dist/templates/calendar/styles.css +771 -0
- package/dist/templates/checklist/README.md +45 -0
- package/dist/templates/checklist/THIRD-PARTY-NOTICES.txt +29 -0
- package/dist/templates/checklist/data.json +1 -0
- package/dist/templates/checklist/icon.svg +8 -0
- package/dist/templates/checklist/icons.css +61 -0
- package/dist/templates/checklist/index.html +47 -0
- package/dist/templates/checklist/manifest.json +49 -0
- package/dist/templates/checklist/model.d.ts +30 -0
- package/dist/templates/checklist/model.js +60 -0
- package/dist/templates/checklist/page.js +425 -0
- package/dist/templates/checklist/styles.css +206 -0
- package/dist/templates/document/README.md +55 -0
- package/dist/templates/document/THIRD-PARTY-NOTICES.txt +1080 -0
- package/dist/templates/document/data.json +3 -0
- package/dist/templates/document/editor.css +1 -0
- package/dist/templates/document/editor.js +37 -0
- package/dist/templates/document/icon.svg +6 -0
- package/dist/templates/document/index.html +29 -0
- package/dist/templates/document/manifest.json +22 -0
- package/dist/templates/document/page.js +190 -0
- package/dist/templates/document/styles.css +76 -0
- package/dist/templates/map/README.md +85 -0
- package/dist/templates/map/THIRD-PARTY-NOTICES.txt +84 -0
- package/dist/templates/map/data.json +1 -0
- package/dist/templates/map/icon.svg +8 -0
- package/dist/templates/map/icons.svg +43 -0
- package/dist/templates/map/index.html +95 -0
- package/dist/templates/map/manifest.json +227 -0
- package/dist/templates/map/map-model.js +18 -0
- package/dist/templates/map/map.css +202 -0
- package/dist/templates/map/map.js +728 -0
- package/dist/templates/map/vendor/LICENSE +26 -0
- package/dist/templates/map/vendor/README.md +11 -0
- package/dist/templates/map/vendor/leaflet.css +661 -0
- package/dist/templates/map/vendor/leaflet.js +6 -0
- package/dist/templates/map/vendor/lucide/LICENSE +43 -0
- package/dist/templates/map/vendor/lucide/README.md +46 -0
- package/dist/templates/map/vendor/lucide/icons.js +832 -0
- package/dist/templates/map/vendor/lucide/svg/airport.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/bar.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/beach.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/bridge.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/bus.svg +21 -0
- package/dist/templates/map/vendor/lucide/svg/church.svg +19 -0
- package/dist/templates/map/vendor/lucide/svg/coffee.svg +18 -0
- package/dist/templates/map/vendor/lucide/svg/ferry.svg +19 -0
- package/dist/templates/map/vendor/lucide/svg/flag.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/heart.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/home.svg +16 -0
- package/dist/templates/map/vendor/lucide/svg/hospital.svg +19 -0
- package/dist/templates/map/vendor/lucide/svg/hotel.svg +24 -0
- package/dist/templates/map/vendor/lucide/svg/info.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/landmark.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/mountain.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/museum.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/music.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/park.svg +18 -0
- package/dist/templates/map/vendor/lucide/svg/parking.svg +16 -0
- package/dist/templates/map/vendor/lucide/svg/pin.svg +16 -0
- package/dist/templates/map/vendor/lucide/svg/restaurant.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/school.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/shop.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/sports.svg +19 -0
- package/dist/templates/map/vendor/lucide/svg/star.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/theatre.svg +23 -0
- package/dist/templates/map/vendor/lucide/svg/train.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/viewpoint.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/work.svg +18 -0
- package/dist/templates/sticky-note/Caveat-Medium.woff2 +0 -0
- package/dist/templates/sticky-note/README.md +47 -0
- package/dist/templates/sticky-note/THIRD-PARTY-NOTICES.txt +127 -0
- package/dist/templates/sticky-note/data.json +1 -0
- package/dist/templates/sticky-note/icon.svg +16 -0
- package/dist/templates/sticky-note/icons.css +61 -0
- package/dist/templates/sticky-note/index.html +31 -0
- package/dist/templates/sticky-note/manifest.json +27 -0
- package/dist/templates/sticky-note/model.d.ts +33 -0
- package/dist/templates/sticky-note/model.js +152 -0
- package/dist/templates/sticky-note/page.js +84 -0
- package/dist/templates/sticky-note/styles.css +140 -0
- package/dist/templates/table/README.md +107 -0
- package/dist/templates/table/data.json +4 -0
- package/dist/templates/table/icon.svg +6 -0
- package/dist/templates/table/index.html +15 -0
- package/dist/templates/table/manifest.json +70 -0
- package/dist/templates/table/model.d.ts +164 -0
- package/dist/templates/table/model.js +395 -0
- package/dist/templates/table/page.js +1045 -0
- package/dist/templates/table/selection-model.d.ts +67 -0
- package/dist/templates/table/selection-model.js +163 -0
- package/dist/templates/table/styles.css +522 -0
- package/dist/views/markdown/THIRD-PARTY-NOTICES.txt +408 -0
- package/dist/views/markdown/index.html +21 -21
- package/dist/web/assets/main-CRSNodQt.js +864 -0
- package/dist/web/assets/main-DnvQkpg4.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/skills/tv-calendar/SKILL.md +0 -100
- package/dist/skills/tv-calendar/calendar.css +0 -1
- package/dist/skills/tv-calendar/calendar.js +0 -400
- package/dist/skills/tv-table/SKILL.md +0 -95
- package/dist/skills/tv-tasks/SKILL.md +0 -269
- package/dist/skills/tv-tasks/task.css +0 -180
- package/dist/skills/tv-tasks/task.js +0 -304
- package/dist/web/assets/calendar-DToAnkzj.png +0 -0
- package/dist/web/assets/main-CPopSWec.js +0 -848
- package/dist/web/assets/main-CunC2_Nx.css +0 -1
- package/dist/web/assets/markdown-DdDrJuVK.png +0 -0
- package/dist/web/assets/table-oeG9uAN1.png +0 -0
- package/dist/web/assets/tasks-D4xqXFPl.png +0 -0
|
@@ -27,6 +27,14 @@ tv-icon {
|
|
|
27
27
|
color: var(--color-text-muted);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/* Option and Control keys, drawn like the tv-icons beside them (Phosphor regular). */
|
|
31
|
+
.key-icon {
|
|
32
|
+
width: 14px;
|
|
33
|
+
height: 14px;
|
|
34
|
+
vertical-align: -1px;
|
|
35
|
+
color: var(--color-text-muted);
|
|
36
|
+
}
|
|
37
|
+
|
|
30
38
|
.logo {
|
|
31
39
|
width: 22px;
|
|
32
40
|
height: 22px;
|
|
@@ -157,9 +165,9 @@ h1 {
|
|
|
157
165
|
<h1>Your <svg class="logo" viewBox="0 0 55 55" aria-hidden="true"><defs><linearGradient id="tv-logo-shell" x1="27.5" y1="1.45" x2="27.5" y2="53.55" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#262626"/></linearGradient><clipPath id="tv-logo-screen"><path d="M14.2 7.7h26.6c3.15 0 5.7 2.66 5.7 5.94v27.72c0 3.28-2.55 5.94-5.7 5.94H14.2c-3.15 0-5.7-2.66-5.7-5.94V13.64c0-3.28 2.55-5.94 5.7-5.94Z"/></clipPath></defs><path fill="url(#tv-logo-shell)" d="M12.5 1.45h30c5.47 0 10.48 4.46 10.89 9.98.73 10.7.73 21.44 0 32.13-.41 5.52-5.42 9.98-10.89 9.98h-30c-5.47 0-10.48-4.46-10.89-9.98-.73-10.7-.73-21.44 0-32.13C2.02 5.91 7.03 1.45 12.5 1.45Z"/><g clip-path="url(#tv-logo-screen)"><rect fill="#fff" x="8.5" y="7.7" width="38" height="39.6" rx="5.7"/><path fill="#38c428" d="M27.5 48.78V6.71h-9.98v42.07h9.98Z"/><path fill="#ff01d0" d="M27.5 6.71v42.07h9.97V6.71H27.5Z"/><path fill="#40d2b3" d="M22.75 48.29c-3.8-18.22-1.58-34.98 0-41.08H10.87v41.08c3.96.33 11.88.79 11.88 0Z"/><path fill="#d24043" d="M32.25 7.21c3.8 18.22 1.58 34.98 0 41.08h11.88V7.21c-3.96-.33-11.88-.79-11.88 0Z"/><path fill="#ffcd27" d="M15.62 47.3c-5.7-17.42-2.38-33.66 0-39.6H7.07v39.6s9.03.49 8.55 0Z"/><path fill="#0015ff" d="M38.92 6.93c5.69 17.76 2.37 34.31 0 40.36h8.53V6.93s-9.01-.5-8.53 0Z"/></g><path fill="none" stroke="#fff" stroke-width="3" d="M14.2 8.74h26.6c2.56 0 5.25 2.06 5.8 4.64 1.89 9.31 1.89 18.91 0 28.23-.55 2.58-3.25 4.64-5.8 4.64H14.2c-2.56 0-5.25-2.06-5.8-4.64-1.89-9.31-1.89-18.91 0-28.23.55-2.58 3.25-4.64 5.8-4.64Z"/></svg> Television is on!</h1>
|
|
158
166
|
|
|
159
167
|
<p class="lede">Television is the missing GUI for your personal agent, created by the team at Telepath. We’re glad you’re here.</p>
|
|
160
|
-
<p>Your TV is organized into <strong>Channels</strong>, which are listed in the sidebar. We put you on "TV Guide" to start. Click <tv-icon name="expand"></tv-icon> to rename a channel or pin it to the top. Use <tv-icon name="add"></tv-icon> to add a new channel.</p>
|
|
161
|
-
<p>Channels hold <tv-icon name="artifact"></tv-icon> <strong>Artifacts</strong>, like this one. They're live surfaces your agent can create, edit, and update. Artifacts can be notes, editable documents, dashboards, web pages, reports, or custom web apps.
|
|
162
|
-
<p>To create or change an artifact, simply tell your agent what you want to see
|
|
168
|
+
<p>Your TV is organized into <tv-icon name="television"></tv-icon> <strong>Channels</strong>, which are listed in the sidebar. We put you on "TV Guide" to start. Click <tv-icon name="expand"></tv-icon> to rename a channel or pin it to the top. Use <tv-icon name="add"></tv-icon> to add a new channel.</p>
|
|
169
|
+
<p>Channels hold <tv-icon name="artifact"></tv-icon> <strong>Artifacts</strong>, like this one. They're live surfaces your agent can create, edit, and update. Artifacts can be notes, editable documents, dashboards, web pages, reports, or custom web apps. Double-click a tab to zoom, or switch tabs with <svg class="key-icon" viewBox="0 0 256 256" fill="currentColor" role="img" aria-label="Option"><path d="M232,192a8,8,0,0,1-8,8H160.94a15.92,15.92,0,0,1-14.31-8.84L95.06,88H32a8,8,0,0,1,0-16H95.06a15.92,15.92,0,0,1,14.31,8.84L160.94,184H224A8,8,0,0,1,232,192ZM152,88h72a8,8,0,0,0,0-16H152a8,8,0,0,0,0,16Z"/></svg> + arrows (<svg class="key-icon" viewBox="0 0 256 256" fill="currentColor" role="img" aria-label="Control"><path d="M205.66,125.66a8,8,0,0,1-11.32,0L128,59.31,61.66,125.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,125.66Z"/></svg> + arrows on Windows and Linux).</p>
|
|
170
|
+
<p>To create or change an artifact, simply tell your agent what you want to see. Try asking…</p>
|
|
163
171
|
|
|
164
172
|
<div class="prompts">
|
|
165
173
|
<p class="prompt"><svg class="weather-icon" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M139.84 84.41a68.22 68.22 0 0 0-41.65 46 44.08 44.08 0 0 0-38.54 5 48 48 0 1 1 80.19-50.94Z" opacity=".2"/><path d="M164 72a76.2 76.2 0 0 0-20.26 2.73A55.63 55.63 0 0 0 134.33 63l9.51-13.57a8 8 0 1 0-13.11-9.18L121.22 54A55.9 55.9 0 0 0 96 48l-1.74.03-2.89-16.32a8 8 0 1 0-15.75 2.77l2.88 16.34A56.1 56.1 0 0 0 55.23 65.67l-13.62-9.53a8 8 0 1 0-9.17 13.11L46 78.77A55.55 55.55 0 0 0 40 104l.03 1.72-16.32 2.88a8 8 0 0 0 2.77 15.76l16.32-2.88a55.74 55.74 0 0 0 5.86 12.42A52 52 0 0 0 84 224h80a76 76 0 0 0 0-152ZM56 104a40 40 0 0 1 72.54-23.24 76.26 76.26 0 0 0-35.62 40 52.14 52.14 0 0 0-31 4.17A40 40 0 0 1 56 104Zm108 104H84a36 36 0 1 1 4.78-71.69c-.37 2.37-.63 4.79-.77 7.23a8 8 0 0 0 16 .92 58.91 58.91 0 0 1 1.88-11.81l.12-.48A60.06 60.06 0 1 1 164 208Z"/></svg><span>What’s the 3-day weather forecast for New York City? Include a nice icon for each day’s weather. Update it twice a day.</span></p>
|
|
@@ -167,7 +175,9 @@ h1 {
|
|
|
167
175
|
<p class="prompt"><svg class="food-icon" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M208 40v128h-56S152 64 208 40Z" opacity=".2"/><path d="M72 88V40a8 8 0 0 1 16 0v48a8 8 0 0 1-16 0Zm144-48v184a8 8 0 0 1-16 0v-48h-48a8 8 0 0 1-8-8 268.75 268.75 0 0 1 7.22-56.88c9.78-40.49 28.32-67.63 53.63-78.47A8 8 0 0 1 216 40Zm-16 13.9c-32.17 24.57-38.47 84.42-39.7 106.1H200V53.9Zm-80.11-15.21a8 8 0 1 0-15.78 2.63L112 88.63a32 32 0 0 1-64 0l7.88-47.31a8 8 0 1 0-15.78-2.63l-8 48A8.17 8.17 0 0 0 32 88a48.07 48.07 0 0 0 40 47.32V224a8 8 0 0 0 16 0v-88.68A48.07 48.07 0 0 0 128 88a8.17 8.17 0 0 0-.11-1.31Z"/></svg><span>Research the best Thai restaurants in San Francisco and give me a report on the top three. Include photos.</span></p>
|
|
168
176
|
</div>
|
|
169
177
|
|
|
170
|
-
<p>
|
|
178
|
+
<p>You can also click <tv-icon name="skills"></tv-icon> <strong>Templates</strong> to start from a built-in template, like a calendar or a checklist. To make your own, ask your agent to save an artifact as a template.</p>
|
|
179
|
+
|
|
180
|
+
<p>If your agent replies in chat and you want an artifact, just say: “put that on my TV.”</p>
|
|
171
181
|
|
|
172
182
|
<section class="callout">
|
|
173
183
|
<h2><svg class="callout-icon" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M208 104a79.86 79.86 0 0 1-30.59 62.92A24.29 24.29 0 0 0 168 186v6a8 8 0 0 1-8 8H96a8 8 0 0 1-8-8v-6a24.11 24.11 0 0 0-9.3-19A79.87 79.87 0 0 1 48 104.45C47.76 61.09 82.72 25 126.07 24A80 80 0 0 1 208 104Z" opacity=".2"/><path d="M176 232a8 8 0 0 1-8 8H88a8 8 0 0 1 0-16h80a8 8 0 0 1 8 8Zm40-128a87.55 87.55 0 0 1-33.64 69.21A16.24 16.24 0 0 0 176 186v6a16 16 0 0 1-16 16H96a16 16 0 0 1-16-16v-6a16 16 0 0 0-6.23-12.66A87.59 87.59 0 0 1 40 104.49C39.74 56.83 78.26 17.14 125.88 16A88 88 0 0 1 216 104Zm-16 0a72 72 0 0 0-73.74-72C87.26 32.92 55.79 65.39 56 104.39a71.65 71.65 0 0 0 27.64 56.3A32 32 0 0 1 96 186v6h64v-6a32.15 32.15 0 0 1 12.47-25.35A71.65 71.65 0 0 0 200 104Zm-16.11-9.34a57.6 57.6 0 0 0-46.56-46.55 8 8 0 0 0-2.66 15.78c16.57 2.79 30.63 16.85 33.44 33.45A8 8 0 0 0 176 104a9 9 0 0 0 1.35-.11 8 8 0 0 0 6.54-9.23Z"/></svg>More examples</h2>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: television
|
|
3
|
-
description: Mental model, when to create artifacts,
|
|
3
|
+
description: Mental model, when to create artifacts, where to find template, resource, and theme guidance, and where the admin guide lives. Read for channel, artifact, and CLI work, and before installing, upgrading, or reconfiguring Television.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
|
|
@@ -12,7 +12,13 @@ Load this skill when you need to create, update, inspect, focus, delete, or othe
|
|
|
12
12
|
|
|
13
13
|
Read the [theming guidance](./theming.md) when creating, revising, or bringing an installed theme up to date.
|
|
14
14
|
|
|
15
|
-
An artifact
|
|
15
|
+
An artifact template describes a reusable artifact. A folder template copies its page files into each artifact created from it, with optional starting data and a separate store. A URL template supplies a web address. When a person asks for an artifact, check `tv templates list` and consider whether an available template fits, including a request described as a “macro” or “stock artifact.” Run `tv templates show <id>` to inspect any `dataSchema` before preparing or writing data. Use `tv create-artifact --template` to create an artifact from the chosen template.
|
|
16
|
+
|
|
17
|
+
Edit the copied page files directly to change one artifact. Editing an installed template changes only artifacts created afterwards. `tv templates path` locates the installed folders. Read the [template guidance](./templates.md) for using, creating, changing, or fixing templates, including adding an artifact to the toolbox as a snapshot.
|
|
18
|
+
|
|
19
|
+
When the request calls for particular display settings, pass `--width`, `--height`, `--full-screen`, `--no-full-screen`, `--transparent`, or `--no-transparent` to `tv create-artifact` for any source. The transparency flags enable or turn off artifact transparency.
|
|
20
|
+
|
|
21
|
+
An artifact can keep data in a *JSON store*, a small database that Television keeps on its server, inspired by Firebase's Realtime Database. It keeps the data durably, shares it live with every client viewing the artifact, and lets you read and write it through the `tv` CLI. `localStorage`, cookies and IndexedDB do not work in artifacts, because artifacts run under the CSP sandbox. Touching them, or `sessionStorage`, throws `SecurityError`, so code that cannot avoid touching them, such as a library, has to catch the exception. Television offers no storage that stays in one browser. A Markdown file artifact can also act as shared, synchronized, editable state, but only within Television: through a share link it is read-only, unlike a JSON store. The bundled Document template instead keeps its Markdown text in its JSON store and follows that store's access. A Markdown file artifact lacks the presentational flexibility and interactivity of HTML. An artifact's state can also live in a third-party API or another external service it integrates with. Which fits depends on the artifact's design, its use and the person, so you decide; for a to-do list, the standard choice is a JSON store. Read the [resource guidance](./resources.md) when an artifact needs to keep state, or when the person mentions JSON stores or resources.
|
|
16
22
|
|
|
17
23
|
Re-read this skill only if it is not already in your context or you know it changed.
|
|
18
24
|
|
|
@@ -61,7 +67,7 @@ Television artifacts point to one of three shapes:
|
|
|
61
67
|
- **Directory** — a folder with `index.html` plus sibling assets.
|
|
62
68
|
- **URL** — an external `http(s)://` page or local web app URL.
|
|
63
69
|
|
|
64
|
-
Register files and directories with `tv create-path
|
|
70
|
+
Register files and directories with `tv create-artifact --path`; register URLs with `tv create-artifact --url`. See `artifact-workflow.md` for choosing a shape and authoring the underlying content.
|
|
65
71
|
|
|
66
72
|
### User-facing framing
|
|
67
73
|
|
|
@@ -94,13 +100,11 @@ Television's npm releases collect anonymous, content-free telemetry by default t
|
|
|
94
100
|
|
|
95
101
|
If the user wants to opt out, you turn telemetry off for them by running `tv telemetry disable` against the running server (`tv telemetry enable` turns it back on); `tv status` reports the current telemetry state. The command needs a live server. Television also honors the standard `DO_NOT_TRACK` environment variable when it is set, but `tv telemetry disable` is the intended way to opt out. Install- and upgrade-time telemetry duties — the disclosure to give the user and the server's `installedByAgent` setting — are covered in the admin guide (see the Administration section above).
|
|
96
102
|
|
|
97
|
-
##
|
|
103
|
+
## Installing this skill
|
|
98
104
|
|
|
99
|
-
|
|
105
|
+
The bundled agent skill is `television`. It covers channels, focus, artifact decisions, and the `tv` CLI, with linked guidance for themes, templates, and resources. Keep it available; re-read it when it has changed or is missing from your context.
|
|
100
106
|
|
|
101
|
-
|
|
102
|
-
- Install the bundled Television skills into the agent harness skills folder with `tv skills install <path>` (for example `~/.openclaw/skills`, `~/.hermes/skills`, or `~/.agents/skills`) or use `tv skills install -i` before artifact authoring work.
|
|
103
|
-
- For specialized HTML work, load the matching skill such as `tv-calendar` or `tv-table`.
|
|
107
|
+
Install it into the agent harness skills folder with `tv skills install <path>` (for example `~/.openclaw/skills`, `~/.hermes/skills`, or `~/.agents/skills`) or use `tv skills install -i` before artifact authoring work.
|
|
104
108
|
|
|
105
109
|
`markdown editor UI recovery` remains out of scope for the current Television workflow.
|
|
106
110
|
|
|
@@ -113,14 +117,7 @@ Use this document when you need to reason about what the `tv` CLI can do, which
|
|
|
113
117
|
|
|
114
118
|
The `television` skill is the primary guidance surface for Television channels, focus, and artifact work. Keep that guidance available; re-read it only if it is not already in context or you know it changed.
|
|
115
119
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
tv skills install ~/.openclaw/skills
|
|
120
|
-
tv skills install ~/.hermes/skills
|
|
121
|
-
tv skills install ~/.agents/skills
|
|
122
|
-
tv skills install -i
|
|
123
|
-
```
|
|
120
|
+
For installation, follow [Installing this skill](./SKILL.md#installing-this-skill).
|
|
124
121
|
|
|
125
122
|
`tv help` is normal CLI help plus routing pointers.
|
|
126
123
|
|
|
@@ -138,17 +135,23 @@ tv help <command>
|
|
|
138
135
|
Commands group into four intents:
|
|
139
136
|
|
|
140
137
|
- **Channel and display commands** — create, inspect, rename, remove, or switch channels, or change the active display theme (`create-channel`, `list-channels`, `get-channel`, `update-channel`, `remove-channel`, `focus-channel`, `focus-status`, `set-theme`).
|
|
141
|
-
- **Artifact creation commands** — register path or URL
|
|
138
|
+
- **Artifact creation and template commands** — register a path or URL, or use a template with `create-artifact`; choose templates with `templates list`, inspect their full validated records with `templates show <id>`, and find installed folders with `templates path`.
|
|
142
139
|
- **Artifact management commands** — inspect, retitle, repoint, focus, list, arrange, move, or delete existing artifacts (`delete-artifact`, `get-artifact`, `list-artifacts`, `update-artifact`, `reposition-artifact`, `move-artifact`, `focus-artifact`).
|
|
143
140
|
- **Server and environment commands** — operate on the Television server and its home (`serve`, `status`, `stop`, `config`, `themes-path`, `telemetry`, `skills install`).
|
|
144
141
|
|
|
145
142
|
When the CLI rejects a command, follow the directive it prints rather than guessing flags.
|
|
146
143
|
|
|
144
|
+
With `create-artifact --template`, folder templates copy their page files and use optional template starting data. Each artifact has a separate store. URL templates create URL artifacts without stores.
|
|
145
|
+
|
|
146
|
+
`templates list` returns only `id`, `name`, `description`, and optional `url`; `url` identifies a URL template. Read `templates show <id>` for the installed folder `path`, version, and optional display options, icons, or `dataSchema` before editing or preparing data. Both commands always scan again; app cache fields such as `hasIcon` are omitted.
|
|
147
|
+
|
|
148
|
+
Edit the copied page files directly to change one artifact. Editing an installed template changes only artifacts created afterwards. The [template guidance](./templates.md) covers starting data, manifest `dataSchema`, icons, and adding an artifact to the toolbox as a snapshot. Caller data, including explicit `null`, replaces template starting data entirely.
|
|
149
|
+
|
|
147
150
|
### Server operation notes
|
|
148
151
|
|
|
149
152
|
Each `tv` command works with one Television home, the directory that holds an installation's config file, token, channels, artifacts, themes, and logs. A command uses the home given with `--home <path>`, otherwise the path written in `~/.tv-home`, otherwise `~/.television`. `--home` applies only to the command that receives it, so when you work with a home other than the default, pass the same `--home` to every command. The server and commands share the settings in the home's optional `config.json`; `tv config show` prints the selected home and its effective settings.
|
|
150
153
|
|
|
151
|
-
`tv status` reports the selected home, server health, and, when supported, system service status. Commands that contact the server connect to `localhost` on the config file's port, with the token from `<home>/state/token`; there is no `--server` option. They take `--port <number>` only when the config file sets port `0`, and then require it, using the port from the server's startup URL. `tv themes-path` prints the
|
|
154
|
+
`tv status` reports the selected home, server health, and, when supported, system service status. Commands that contact the server connect to `localhost` on the config file's port, with the token from `<home>/state/token`; there is no `--server` option. They take `--port <number>` only when the config file sets port `0`, and then require it, using the port from the server's startup URL. `tv themes-path` prints the themes directory and `tv templates path` prints the artifact templates directory without contacting the server.
|
|
152
155
|
|
|
153
156
|
Starting, installing, upgrading, or reconfiguring the server — `tv serve`, `tv config set`, listeners, auth and tokens, ports, the persistent service (`--persist`), stopping and uninstalling (`tv stop`) — is administrator work covered by the deployed admin guide, not this skill. Before doing any of it, fetch the full raw guide as described in the Administration section of this skill; do not work from the command names alone or from a summary.
|
|
154
157
|
|
|
@@ -183,7 +186,7 @@ Important consequence: creating something does not by itself answer whether the
|
|
|
183
186
|
Create commands require an explicit focus decision.
|
|
184
187
|
|
|
185
188
|
- `tv create-channel` requires exactly one of `--focus-channel` or `--no-focus`
|
|
186
|
-
- `tv create-
|
|
189
|
+
- `tv create-artifact`, whether given `--path`, `--url`, or `--template`, requires exactly one of `--focus-artifact` or `--no-focus`
|
|
187
190
|
|
|
188
191
|
If you omit that decision, the CLI rejects the command. Dedicated `focus-channel` and `focus-artifact` commands can also move attention later as separate steps.
|
|
189
192
|
|
|
@@ -220,7 +223,7 @@ These are illustrative, not exhaustive. When the language is ambiguous or unusua
|
|
|
220
223
|
|
|
221
224
|
## Channel placement
|
|
222
225
|
|
|
223
|
-
Artifact creation commands require `--channel` because new artifacts need immediate channel membership. `tv move-artifact --id <id> --channel <target> (--focus-artifact|--no-focus)` moves an existing artifact to another channel. It stays the same artifact, so its ID, its store, and its share link keep working, and it keeps the size and full-screen state it had. Creating a second artifact with the same `--path` or `--url` on the other channel instead shows the content in both places
|
|
226
|
+
Artifact creation commands require `--channel` because new artifacts need immediate channel membership. `tv move-artifact --id <id> --channel <target> (--focus-artifact|--no-focus)` moves an existing artifact to another channel. It stays the same artifact, so its ID, its store, and its share link keep working, and it keeps the size and full-screen state it had. Creating a second artifact with the same `--path` or `--url` on the other channel instead shows the content in both places as two artifacts. Path artifacts have separate stores; URL artifacts have none on this server.
|
|
224
227
|
|
|
225
228
|
A created or moved artifact goes at the end of the channel's order unless you name a neighbour: `--before <artifact-id>` puts it immediately to the left of that artifact, and `--after <artifact-id>` immediately to its right. Use at most one of the two. The named artifact must already be on that channel; otherwise nothing changes and the command reports an error. Moving an artifact to the channel it is already on changes nothing unless you give `--before` or `--after`; then it moves beside the artifact you name.
|
|
226
229
|
|
|
@@ -275,9 +278,9 @@ Default to placing things on an existing channel unless one of those conditions
|
|
|
275
278
|
|
|
276
279
|
Read this document for Television artifact work: creating files, registering path or URL artifacts, arranging and moving artifacts, deleting, and updating titles.
|
|
277
280
|
|
|
278
|
-
If you need bundled
|
|
281
|
+
If you need the bundled `television` skill installed first, follow [Installing this skill](./SKILL.md#installing-this-skill).
|
|
279
282
|
|
|
280
|
-
|
|
283
|
+
For artifact templates, read the [template guidance](./templates.md).
|
|
281
284
|
|
|
282
285
|
## Choosing the artifact kind
|
|
283
286
|
|
|
@@ -287,7 +290,7 @@ Television has three artifact shapes. Pick the one that fits the result:
|
|
|
287
290
|
- **Directory** — a folder on disk containing `index.html` plus sibling assets (CSS, JS, images, additional pages). Use when the artifact needs richer structure: custom stylesheets, scripts, images, or multi-page navigation.
|
|
288
291
|
- **URL** — an external `http(s)://` web page or web app, or a locally running web server (e.g. `http://localhost:3000`). Use for remote pages, local web apps the agent does not manage, or any live web resource. Do not use URL artifacts for content Television should manage the lifecycle of — use a path artifact instead.
|
|
289
292
|
|
|
290
|
-
Single files and directories are both registered with `tv create-path
|
|
293
|
+
Single files and directories are both registered with `tv create-artifact --path`. URL artifacts use `tv create-artifact --url`.
|
|
291
294
|
|
|
292
295
|
Within path artifacts, choose the content shape:
|
|
293
296
|
|
|
@@ -318,7 +321,7 @@ Always tell the user where you put the file.
|
|
|
318
321
|
|
|
319
322
|
## Accepted path targets
|
|
320
323
|
|
|
321
|
-
`tv create-path
|
|
324
|
+
`tv create-artifact --path` accepts three path shapes:
|
|
322
325
|
|
|
323
326
|
- **Single markdown file** ending in `.md` or `.markdown`
|
|
324
327
|
- **Single HTML file** ending in `.htm` or `.html`
|
|
@@ -373,7 +376,7 @@ Avoid:
|
|
|
373
376
|
|
|
374
377
|
- multi-paragraph progress reports or long retrospective narration during execution
|
|
375
378
|
- verbose bullet lists for routine workflow steps (use bullets only when the user explicitly asks)
|
|
376
|
-
- workflow jargon ("calling create-
|
|
379
|
+
- workflow jargon ("calling create-artifact", "registering the path artifact") unless the user is debugging Television itself
|
|
377
380
|
|
|
378
381
|
## Markdown path artifacts
|
|
379
382
|
|
|
@@ -381,7 +384,7 @@ Avoid:
|
|
|
381
384
|
2. Register it:
|
|
382
385
|
|
|
383
386
|
```bash
|
|
384
|
-
tv create-
|
|
387
|
+
tv create-artifact --channel "<channel-id>" --title "Artifact title" --path /absolute/path/to/file.md --focus-artifact
|
|
385
388
|
```
|
|
386
389
|
|
|
387
390
|
Rules:
|
|
@@ -397,13 +400,13 @@ HTML can be a single file or a directory bundle.
|
|
|
397
400
|
Single-file example:
|
|
398
401
|
|
|
399
402
|
```bash
|
|
400
|
-
tv create-
|
|
403
|
+
tv create-artifact --channel "<channel-id>" --title "Artifact title" --path /absolute/path/to/report.html --focus-artifact
|
|
401
404
|
```
|
|
402
405
|
|
|
403
406
|
Directory example (trailing slash optional):
|
|
404
407
|
|
|
405
408
|
```bash
|
|
406
|
-
tv create-
|
|
409
|
+
tv create-artifact --channel "<channel-id>" --title "Artifact title" --path /absolute/path/to/dashboard --focus-artifact
|
|
407
410
|
```
|
|
408
411
|
|
|
409
412
|
A directory artifact needs root `index.html` or `index.htm`. Keep sibling assets relative so they resolve through the artifact proxy:
|
|
@@ -487,7 +490,7 @@ tv delete-artifact --id "<artifact-id>"
|
|
|
487
490
|
URL artifacts point at external `http(s)://` pages.
|
|
488
491
|
|
|
489
492
|
```bash
|
|
490
|
-
tv create-
|
|
493
|
+
tv create-artifact --channel "<channel-id>" --title "Artifact title" --url https://example.com --no-focus
|
|
491
494
|
```
|
|
492
495
|
|
|
493
496
|
Rules:
|
|
@@ -517,9 +520,9 @@ Choose the line whose host the recipient can actually reach:
|
|
|
517
520
|
- Never emit a loopback host (`127.0.0.1` or `localhost`) for sharing; that points at the recipient's own machine.
|
|
518
521
|
- If no line has a host the recipient can reach, tell the user so instead of inventing a share link.
|
|
519
522
|
|
|
520
|
-
The recipient adds the link with `tv create-url
|
|
523
|
+
The recipient adds the link with `tv create-artifact --url`; Television recognizes the `/artifact/<id>/...` shape, renders it inline, and reloads it from the producer when the producer content changes.
|
|
521
524
|
|
|
522
|
-
Markdown artifacts shared this way render as read-only HTML. Anyone with the share link can read the artifact's content with no token at all, because the share ID alone authorizes the read.
|
|
525
|
+
Markdown file artifacts shared this way render as read-only HTML. Documents created from the bundled Document template are HTML folder artifacts and follow their store's share level. Anyone with the share link can read the artifact's content with no token at all, because the share ID alone authorizes the read.
|
|
523
526
|
|
|
524
527
|
A URL artifact has no share link. To "share" one, pass along the underlying URL and let the recipient create their own URL artifact.
|
|
525
528
|
|
|
@@ -578,8 +581,11 @@ body {
|
|
|
578
581
|
|
|
579
582
|
## Canonical tokens
|
|
580
583
|
|
|
581
|
-
Use these public custom properties in artifact-authored CSS.
|
|
582
|
-
|
|
584
|
+
Use these public custom properties in artifact-authored CSS. The tokens are what
|
|
585
|
+
make an artifact follow the person's theme and their light or dark appearance: a
|
|
586
|
+
literal color for text, a background or a border stays fixed whatever theme is
|
|
587
|
+
active. Include a literal fallback when the artifact should remain readable
|
|
588
|
+
without the canonical sheet:
|
|
583
589
|
|
|
584
590
|
```css
|
|
585
591
|
.panel {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A *JSON store* is a small database that Television keeps on its server, inspired by Firebase's Realtime Database. It keeps an artifact's data durably, shares it live with every client viewing the artifact, and lets you read and write it through the `tv` CLI while the person uses the page.
|
|
4
4
|
|
|
5
|
-
An artifact's state can live elsewhere too. `localStorage`, cookies and IndexedDB do not work in artifacts, because artifacts run under the CSP sandbox. Touching them, or `sessionStorage`, throws `SecurityError`, so code that cannot avoid touching them, such as a library, has to catch the exception. Television offers no storage that stays in one browser. A Markdown artifact can also act as shared, synchronized, editable state, which the person edits in Television and you edit on disk, but it is editable only within Television: shared through a share link, it is read-only, unlike a JSON store.
|
|
5
|
+
An artifact's state can live elsewhere too. `localStorage`, cookies and IndexedDB do not work in artifacts, because artifacts run under the CSP sandbox. Touching them, or `sessionStorage`, throws `SecurityError`, so code that cannot avoid touching them, such as a library, has to catch the exception. Television offers no storage that stays in one browser. A Markdown file artifact can also act as shared, synchronized, editable state, which the person edits in Television and you edit on disk, but it is editable only within Television: shared through a share link, it is read-only, unlike a JSON store. The bundled Document template instead keeps its Markdown text in its JSON store and follows that store's access. A Markdown file artifact also lacks the presentational flexibility and interactivity of an HTML page. State can also live in a third-party API or another external service the artifact integrates with. Which fits depends on the artifact's design, its use and the person, so you decide; for a to-do list, the standard choice is a JSON store.
|
|
6
6
|
|
|
7
7
|
A JSON store is Television's first type of *resource*: data the server keeps for artifacts. Every HTML artifact has its own JSON store, which its page uses from the resource SDK and you use from the shell with `tv resource json`.
|
|
8
8
|
|
|
@@ -36,7 +36,7 @@ Use `push` for lists that several clients edit, so additions never collide.
|
|
|
36
36
|
|
|
37
37
|
## A complete example
|
|
38
38
|
|
|
39
|
-
A chores list that the people at 14 Maple Street and their agent share, on its artifact's own store. It renders the list live, adds chores with `push`, saves checkboxes with `set`, clears done chores in a transaction, shows a saving state, says when it is disconnected and disables its controls until the connection returns, and turns read-only when it is opened through a `read` share link.
|
|
39
|
+
A chores list that the people at 14 Maple Street and their agent share, on its artifact's own store. It renders the list live, adds chores with `push`, saves checkboxes with `set`, clears done chores in a transaction, shows a saving state, says when it is disconnected and disables its controls until the connection returns, and turns read-only when it is opened through a `read` share link.
|
|
40
40
|
|
|
41
41
|
```html
|
|
42
42
|
<!doctype html>
|
|
@@ -186,7 +186,7 @@ tv resource json push --artifact <artifact-id> items '{"title":"Take out the rec
|
|
|
186
186
|
tv resource json set --artifact <artifact-id> items/<key>/done true
|
|
187
187
|
```
|
|
188
188
|
|
|
189
|
-
`<artifact-id>` is the ID that `tv create-
|
|
189
|
+
`<artifact-id>` is the ID that `tv create-artifact` printed; `tv list-artifacts` lists them. `push` prints the new chore's key as `{"key":"<key>"}`, and the second command marks that chore done. Values from the shell are plain JSON, so a chore you add has no `createdAt`; the page sets it only for the chores it adds.
|
|
190
190
|
|
|
191
191
|
## Read and change the store from the shell
|
|
192
192
|
|
|
@@ -277,7 +277,7 @@ tv share-artifact --id <artifact-id> --access read-write
|
|
|
277
277
|
tv unshare-artifact --id <artifact-id>
|
|
278
278
|
```
|
|
279
279
|
|
|
280
|
-
`tv share-artifact` creates the artifact's share link and prints it once for each address the server can be reached at, each of the machine's addresses when it listens on every interface, in the form `http://<host>:<port>/artifact/<share-id>/`; give the person the one whose host the people they share with can reach. A page opened through the link reaches the artifact's store at the link's level. Without `--access` the link is `read`, so share at `read-write` only when the person wants the people they share with to change the data. A Markdown artifact is shared only at `read`: its shared page is a static rendered page that no one can edit through the link, so `--access read-write` is refused for it. Running the command again with the other level changes the link's level without changing the link, and pages already open through it hear the change. Leaving out `--access` never changes a link's level: when the link is already `read-write`, the command refuses, and you give `--access read-write` to keep it or `--access read` to make it read-only. `tv unshare-artifact` revokes the link: it stops working for everyone who holds it, the pages open through it lose their access, and sharing again later gives a different link. Only artifacts this server serves from its own files can be shared, and only while the server requires its auth token.
|
|
280
|
+
`tv share-artifact` creates the artifact's share link and prints it once for each address the server can be reached at, each of the machine's addresses when it listens on every interface, in the form `http://<host>:<port>/artifact/<share-id>/`; give the person the one whose host the people they share with can reach. A page opened through the link reaches the artifact's store at the link's level. Without `--access` the link is `read`, so share at `read-write` only when the person wants the people they share with to change the data. A Markdown file artifact is shared only at `read`: its shared page is a static rendered page that no one can edit through the link, so `--access read-write` is refused for it. A document created from the bundled Document template is an HTML folder artifact instead and follows its store's share level. Running the command again with the other level changes the link's level without changing the link, and pages already open through it hear the change. Leaving out `--access` never changes a link's level: when the link is already `read-write`, the command refuses, and you give `--access read-write` to keep it or `--access read` to make it read-only. `tv unshare-artifact` revokes the link: it stops working for everyone who holds it, the pages open through it lose their access, and sharing again later gives a different link. Only artifacts this server serves from its own files can be shared, and only while the server requires its auth token.
|
|
281
281
|
|
|
282
282
|
The link never reveals the artifact's ID, as long as the artifact does not reveal it either. Keep the artifact's own links relative, such as `href="notes.html"` or `href="sub/"`, so that its ID never appears in what a share viewer receives; an absolute link to `/artifact/<artifact-id>/…` would hand it to them.
|
|
283
283
|
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Artifact templates
|
|
2
|
+
|
|
3
|
+
A folder template supplies page files and optional starting data. Using one copies its page and supporting files into a fresh folder under `<home>/artifacts/` and creates an ordinary path artifact with its own JSON store. A URL template supplies a web address and creates an ordinary URL artifact, without a store on this server.
|
|
4
|
+
|
|
5
|
+
Run `tv templates list` to choose a template. Its compact JSON contains summaries with only `id`, `name`, `description`, and optional `url`; the presence of `url` identifies a URL template. Invalid folders are listed with their errors. Before preparing or writing data, run `tv templates show <id>` to read the full validated record: the summary fields, `version`, the installed folder `path` for either type of template, and any `display`, usable `icons`, or `dataSchema`. App metadata such as `hasIcon` is omitted from both commands. Both commands rescan the installed folders immediately, so a preceding edit is visible without waiting for the watcher. The app keeps its own watched list and icons so Toolbox opens immediately. Run `tv templates path` to find those folders. If you select a home with `--home`, use the same absolute `--home` for all later commands.
|
|
6
|
+
|
|
7
|
+
## Use a template
|
|
8
|
+
|
|
9
|
+
Create with `tv create-artifact --template <id> --channel <channel-id> --focus-artifact`, or choose `--no-focus` to leave attention where it is. The title defaults to the template name; `--title` overrides it.
|
|
10
|
+
|
|
11
|
+
The root `manifest.json` and `data.json` stay with the installed template. The copy includes the README and supporting files, including icons a page may use. Edit the copied page files directly to change one artifact. Editing the page files or `data.json` in an installed template changes only artifacts created afterwards.
|
|
12
|
+
|
|
13
|
+
## Supply data
|
|
14
|
+
|
|
15
|
+
After inspecting `tv templates show <id>`, read `data.json` from the folder `path` reported by show to see any template starting data; list and show omit that value. Use `--data '<json>'` to supply a value or `--data-file <path>` to read it from a file; `-` reads standard input. Choose one. Caller data, including explicit `null`, replaces the template starting value entirely, with no merging. Otherwise creation uses `data.json` when present. With neither source, the store starts unwritten.
|
|
16
|
+
|
|
17
|
+
The CLI checks JSON syntax and the 1 MiB compact-JSON size limit. The server checks starting data against the store rules and optional `dataSchema` before creating anything. Schema errors name the failing field and direct you to `tv templates show <id>`.
|
|
18
|
+
|
|
19
|
+
Starting data is written by the server within the creation request. Success means creation and any starting write completed. A failed request may leave copied files or an artifact: its error names the target, gives the generated artifact ID whenever registration was attempted, and says which step could not be confirmed. Inspect what remains before retrying. Later writes with `tv resource json` do not enforce the template schema; keep writing data the page can use. The [resource guidance](./resources.md) covers store reads and writes.
|
|
20
|
+
|
|
21
|
+
URL templates reject data options, `data.json`, and `dataSchema`. They retain the usual limits on displaying external pages in a browser.
|
|
22
|
+
|
|
23
|
+
## Add an artifact to the toolbox
|
|
24
|
+
|
|
25
|
+
Take a snapshot of the artifact so it can be reused. Inspect `tv get-artifact --id <id>` to find its files or URL, then create a new folder under the templates folder reported by `tv templates path`. The folder name becomes the template ID. Write `manifest.json` with a name, description, and version as described below.
|
|
26
|
+
|
|
27
|
+
For a folder artifact, copy its page and supporting files into that folder. For a single-file HTML artifact, save the page as `index.html` and include its supporting files. Read the current artifact store through the [resource guidance](./resources.md) and save its value as `data.json`, including `null`; omit the file when the store has no value. A URL artifact becomes a URL template using its URL, with no `data.json` or `dataSchema`.
|
|
28
|
+
|
|
29
|
+
Leave the original artifact as it is. Run `tv templates list` to check the snapshot before using it.
|
|
30
|
+
|
|
31
|
+
## Author a template
|
|
32
|
+
|
|
33
|
+
Put each template in a separate folder directly inside the directory from `tv templates path`. Follow the Artifact workflow naming guidance in `SKILL.md`; the folder name is the exact template ID. Required fields in `manifest.json` are non-empty `name` and `description` strings and a Semantic Version `version` string. The Toolbox lists names and icons and searches names; descriptions remain required for agents. The manifest name is also the default artifact title.
|
|
34
|
+
|
|
35
|
+
For a folder template, include a readable root `index.html` and any supporting files. Optional `data.json` supplies a starting store value; the scan checks its JSON, store limits including 1 MiB, and any manifest schema. This is an HTML artifact page, so follow the Artifact workflow and HTML artifact style sections of `SKILL.md`. Alternatively, manifest `url` supplies an absolute HTTP or HTTPS address: `index.html` is then unnecessary. Use the field `url`, not Web App Manifest `start_url`.
|
|
36
|
+
|
|
37
|
+
Add an optional `display` object when the default starting size, full-screen state, or opaque frame does not suit the template. Optional `width` and `height` are finite positive numbers of reference pixels; `fullScreen` and `transparent` are optional booleans. `transparent: true` enables artifact transparency; false or omission defaults to opaque. Each `tv create-artifact` display option overrides its corresponding manifest value, including `--no-transparent` overriding true. These values are chosen at creation; later edits to manifest `display` leave existing artifacts unchanged.
|
|
38
|
+
|
|
39
|
+
Write a `README.md` when an agent needs context about the data or adapting the page. Describe field types and which values the page and agents write, and point to manifest `dataSchema` when present. Copies include the README with supporting files.
|
|
40
|
+
|
|
41
|
+
### Start from a blank store
|
|
42
|
+
|
|
43
|
+
Toolbox uses template starting data. A folder template without `data.json` must be usable from an unwritten store.
|
|
44
|
+
|
|
45
|
+
For a template people fill in, let them add content from the page. Write to the store only when they act. If content comes from an agent, show that nothing is there yet and suggest asking the agent.
|
|
46
|
+
|
|
47
|
+
Treat a missing store value as the empty state and render defaults for missing fields in partial data. **Do not write defaults on load:** such a write can race with an agent write or fail for a read-only share viewer.
|
|
48
|
+
|
|
49
|
+
### Fix templates with errors
|
|
50
|
+
|
|
51
|
+
The Toolbox does not offer a folder that fails validation. It shows a summary instead, such as “3 templates had errors”, and asks the person to have you fix them. When asked:
|
|
52
|
+
|
|
53
|
+
1. Run `tv templates list`. Each entry in `errors` names a folder and every problem found in it.
|
|
54
|
+
2. Fix each folder in place. Do not delete a folder to clear its error unless the person asks.
|
|
55
|
+
3. Run `tv templates list` again, and repeat until `errors` is empty or only holds folders the person has told you to leave.
|
|
56
|
+
4. Tell the person which templates are fixed and which are not, and why.
|
|
57
|
+
|
|
58
|
+
### Icons
|
|
59
|
+
|
|
60
|
+
Optional manifest `icons` uses [W3C Web App Manifest form](https://www.w3.org/TR/appmanifest/#icons-member). Each entry has `src` and optional `sizes`, `type`, and `purpose`, for example:
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
"icons": [
|
|
64
|
+
{ "src": "assets/calendar.svg", "sizes": "any", "type": "image/svg+xml" },
|
|
65
|
+
{ "src": "assets/calendar-48.png", "sizes": "48x48", "type": "image/png" }
|
|
66
|
+
]
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Use paths relative to the template folder. A file must remain inside that folder after symbolic links are followed. SVG and PNG are supported; unusable entries, including missing files and paths outside the folder, are ignored. There is no required icon filename. For the 28px Toolbox slot, Television prefers SVG or `sizes: "any"`, then the smallest PNG at least 56px on both axes, then the largest available. It draws the image as-is, with no circle or background. A missing or failed icon displays the uppercase first character of the name, white in a filled circle with a colour determined by the template ID.
|
|
70
|
+
|
|
71
|
+
When creating a URL template, fetch the best site icon once. Look for an SVG or large PNG declared by `<link rel="icon">`, `apple-touch-icon`, or the web app manifest linked by the page. Resolve relative icon URLs against the page or manifest that declares them. If none is available, fetch `/favicon.ico` from the site origin and convert it to PNG. Save the chosen SVG or PNG inside the template folder and list that local file in `icons`. The server and app never fetch site favicons.
|
|
72
|
+
|
|
73
|
+
### Store schema
|
|
74
|
+
|
|
75
|
+
Optional manifest `dataSchema` embeds a JSON Schema Draft 2020-12 schema describing the store value. It is a schema object or boolean, not a file path. References must resolve within that embedded schema; external references are not loaded. An invalid `dataSchema` makes the template invalid. The server validates caller-supplied starting data against it before creation, without deriving values from `default` annotations. Later store writes do not enforce it, so keep the page and agent guidance consistent with the schema.
|
|
76
|
+
|
|
77
|
+
Television preserves a valid installed bundled template at or above its minimum version on later boots, even when the bundled source has a newer version. An invalid or older folder is backed up and replaced at the same path. An interrupted replacement can leave that path absent until the next serving boot restores it. Run `tv templates list` after editing to check validity. Deleting or moving an installed folder leaves existing artifacts intact.
|
|
@@ -730,7 +730,7 @@ An artifact frame belongs to the application document. The document inside its i
|
|
|
730
730
|
<div id="foreground-overlay" inert aria-hidden="true"></div>
|
|
731
731
|
```
|
|
732
732
|
|
|
733
|
-
`#app` owns the application layout and suppresses ordinary text selection in its contents; readable regions can explicitly restore selection. `.app-sidebar` holds the channel list. The sidebar defaults to 260 pixels wide, resizes between 160 and 350 pixels, and remembers the chosen width per browser; it can also collapse entirely, the navbar then opening with an expand control and
|
|
733
|
+
`#app` owns the application layout and suppresses ordinary text selection in its contents; readable regions can explicitly restore selection. `.app-sidebar` holds the channel list. The sidebar defaults to 260 pixels wide, resizes between 160 and 350 pixels, and remembers the chosen width per browser; it can also collapse entirely, the navbar then opening with an expand control and channel-switcher popover, with the collapsed state remembered per browser. `.app-main` holds the wallpaper, navbar and stage. `.app-main > .top-bar` supplies the horizontal control inset; stage padding is separate. Preserve the shell width constraints so overflowing tabs and pages scroll inside their regions without widening the document. `#app:focus` suppresses a ring on the container itself. The wallpaper region establishes a backdrop boundary so overlay blur samples the wallpaper rather than adjacent content, while fixed popovers retain viewport positioning.
|
|
734
734
|
|
|
735
735
|
While Television cannot use its server, one connection dialog is shown. Disconnected and unreachable states keep an established shell and its artifact documents mounted; first connection, authorization and upgrade-gate states have no shell behind them. Three failed unreachable reconnects change Disconnected to Can’t connect with server; the displayed upgrade gate stays until reload.
|
|
736
736
|
|
|
@@ -808,7 +808,7 @@ Channel context menus use `tv-menu`, `tv-menu-item`, `hr`, and `tv-menu-item[int
|
|
|
808
808
|
|
|
809
809
|
`.top-bar` centers `.top-bar > .tab-strip` while tabs fit and keeps `.top-bar-controls` at the trailing edge. With `.tab-strip[data-overflow]`, the strip scrolls within the remaining space. The layout retains an 8-pixel gap before the strip and 48 pixels of draggable ground before the trailing controls; tabs and their edge fades stay clear of both control groups. Both child bands exclude native window dragging; empty bar ground remains available for it. The navbar and sidebar titlebar share the application bar height, with their controls vertically centered.
|
|
810
810
|
|
|
811
|
-
`.top-bar-lead` appears only while the channel sidebar is collapsed: `.sidebar-expand` reopens it, and
|
|
811
|
+
`.top-bar-lead` appears only while the channel sidebar is collapsed: `.sidebar-expand` reopens it, and `.channel-switcher` (with `.channel-switcher-name` truncating the label) opens `.channel-switcher-pop`, a `tv-popover` composing the channel list over a pinned `.channel-switcher-pop-footer` create bar, its scrolling body `.channel-switcher-pop-body`. While the lead group is present the leading flank refuses to shrink below it, so a long name pushes the strip off-centre rather than clipping.
|
|
812
812
|
|
|
813
813
|
The popover retains channel row spacing, type and shape, but assigns its colors locally from ordinary panel and option roles. Sidebar-specific color overrides therefore do not set its colors. `.channel-switcher-pop .channel[aria-selected="true"]` keeps primary selection colors. Unselected rows use a neutral highlight for hover, keyboard focus or an open context menu; `.channel-switcher-pop .channel:focus-visible` has no outline. While keyboard focus is visible, a stationary pointer does not highlight a second row. Preserve these distinctions when styling the popover.
|
|
814
814
|
|
|
@@ -825,7 +825,7 @@ Ordinary controls in both groups — `.top-bar :is(.top-bar-controls, .top-bar-l
|
|
|
825
825
|
<div class="filmstrip">
|
|
826
826
|
<div class="filmstrip-inner">
|
|
827
827
|
<div class="page" selected><div class="artifact-frame">…</div></div>
|
|
828
|
-
<div class="page"><div class="artifact-frame">…</div></div>
|
|
828
|
+
<div class="page"><div class="artifact-frame artifact-frame-transparent">…</div></div>
|
|
829
829
|
</div>
|
|
830
830
|
</div>
|
|
831
831
|
</section>
|
|
@@ -833,7 +833,7 @@ Ordinary controls in both groups — `.top-bar :is(.top-bar-controls, .top-bar-l
|
|
|
833
833
|
|
|
834
834
|
`.stage` provides the clipping and size-container boundary. `body > .stage` fills a standalone stage; the app composition uses the flex region instead. `.filmstrip` is the viewport and `.filmstrip-inner` arranges pages. `.filmstrip-inner::before` and `::after` provide the end room needed for centering. `.page` receives its stored dimensions, and `.page[full-screen]` takes the available page box. `.page > .artifact-frame` fills that width.
|
|
835
835
|
|
|
836
|
-
`.page:not([selected])` scales the background page and blurs the wallpaper behind it; its direct `.artifact-frame` child controls content opacity and content blur separately
|
|
836
|
+
`.page:not([selected])` scales the background page and blurs the wallpaper behind it; its direct `.artifact-frame` child controls content opacity and content blur separately. A background page with a transparent frame leaves the wallpaper unblurred, but still scales the page and fades and blurs its artifact content. `.page:has(~ .page[selected])` and `.page[selected] ~ .page` set the corresponding transform origins. `.page[selected]` keeps the selected page above neighbors during reordering. `.page:not([selected]) .artifact-frame` takes no pointer input: a press selects the page without activating its document or frame controls. Reduced-motion styling removes page and artifact-frame transitions. Preserve selection, clipping and size behavior when changing the appearance.
|
|
837
837
|
|
|
838
838
|
An empty channel adds `.stage-empty`, containing an artifact `tv-icon` and a paragraph in a compact, rounded box centered over the stage. It shares the wallpaper-overlay background, border, outline and blur, and has no shadow. Its text uses `--wallpaper-overlay-text-color`. `.stage-empty p` styles its supporting line. During an armed fullscreen snap, `.snap-outline[aria-hidden="true"]` overlays the page box without taking input. The outline and the tab/channel placeholders express transient drop or resize state, not persisted selection.
|
|
839
839
|
|
|
@@ -857,7 +857,15 @@ An empty channel adds `.stage-empty`, containing an artifact `tv-icon` and a par
|
|
|
857
857
|
</div>
|
|
858
858
|
```
|
|
859
859
|
|
|
860
|
-
`.artifact-frame` owns the border, curve, surface and broad shadow. Its `::before` paints the sharp rim and its `::after` paints a pointer-transparent masked inner highlight over document and titlebar.
|
|
860
|
+
In the opaque state, `.artifact-frame` owns the border, curve, surface and broad shadow. Its `::before` paints the sharp rim and its `::after` paints a pointer-transparent masked inner highlight over document and titlebar. Opaque background pages suppress the broad shadow while retaining the exterior rim. `.artifact-frame-clip > :is(iframe, webview)` fills the document area through the one-pixel padding track. `.artifact-frame-clip` clips the document and titlebar while the outer frame lets both shadows extend outward. `.artifact-title-bar` paints the lower band, `.artifact-title-bar .artifact-title` takes the remaining width and truncates, and `.artifact-bar-divider` separates navigation from the menu trigger. The two direction buttons use `disabled` to show unavailable history. In browser demo mode, the frame of an external web page wraps its artifact `tv-icon` in `button.artifact-return` (`icon`, ghost, `sm`) and shows no direction controls. The opaque document repeats the top clipping radius where required for composited iframe/webview rendering. A frame can also hold static `.artifact-frame-content` in place of a document and omit its menu when it has no artifact to act on. That content fills the clipping region above the title bar.
|
|
861
|
+
|
|
862
|
+
`.artifact-frame.artifact-frame-transparent` removes the frame surface, shadow and outline. Its native border and both edge paints remain hidden in every state. The clip allows square document corners, and the document host has a transparent background. The artifact still paints its own content. The title bar overlays the bottom of the document, preserving the full document height as the bar appears and disappears.
|
|
863
|
+
|
|
864
|
+
The stage sets `data-resize-active` on the artifact frame while the pointer is on a page handle, including its outer band, or a resize drag runs wherever the pointer goes. After release or cancellation, the marker remains while the pointer is on a handle; it is removed only when neither condition holds. The marker reveals the same frost and title bar as frame hover.
|
|
865
|
+
|
|
866
|
+
`.artifact-frame-transparent:is(:hover, [data-resize-active], :has(tv-menu[open]))` reveals the clip frost and title bar. `.artifact-frame-clip::before` paints the clip frost, with opacity fading over 300ms with ease timing. `.artifact-title-bar::before` paints the bar frost beneath the controls; the bar opacity uses the same fade. Keep these transitions on the clip pseudo-element and bar so the stage can animate frame opacity and blur independently. At rest the bar becomes hidden after the fade, so its controls leave keyboard navigation. An open descendant `tv-menu[open]` keeps the hovered appearance after the pointer leaves. Reduced motion makes both changes immediate.
|
|
867
|
+
|
|
868
|
+
Keep backdrop filtering on these paint layers: a filtered menu ancestor becomes the containing block for the fixed-position menu, moving it away from its trigger. Avoid adding a stacking context that traps the menu beneath stage handles. Each frost layer precedes positioned content, which paints above it in tree order; the menu keeps its own fixed position beside the trigger.
|
|
861
869
|
|
|
862
870
|
The artifact menu uses the same shared menu elements and placement as channel menus. Deletion uses the shared dialog outline below.
|
|
863
871
|
|
|
@@ -887,24 +895,30 @@ The artifact menu uses the same shared menu elements and placement as channel me
|
|
|
887
895
|
|
|
888
896
|
An executable active theme adds `.settings-javascript-consent`, with `.settings-javascript-disclosure` and `label.settings-javascript-toggle`. The label contains a native checkbox carrying `role="switch"` and `name="theme-javascript-consent"`. `.settings-javascript-toggle input`, `input::before`, `input:checked`, `input:checked::before`, and `input:focus-visible` define its track, knob, enabled state and focus ring. `.settings-status[role="status"]`, `.settings-failure[role="alert"]`, and `.settings-errors` show loading, failure and registry diagnostics; `.settings-errors p` and `.settings-errors strong` separate the message and folder emphasis.
|
|
889
897
|
|
|
890
|
-
###
|
|
898
|
+
### Toolbox, update notice and copy confirmation
|
|
891
899
|
|
|
892
900
|
```html
|
|
893
|
-
<button class="
|
|
894
|
-
<tv-popover class="
|
|
895
|
-
<
|
|
896
|
-
<div class="
|
|
897
|
-
<
|
|
898
|
-
<div class="
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
901
|
+
<button class="toolbox-trigger" id="toolbox-trigger" icon variant="ghost" aria-label="Templates" title="Templates">…</button>
|
|
902
|
+
<tv-popover class="toolbox-popover" trigger="toolbox-trigger" role="region" aria-label="Templates">
|
|
903
|
+
<label class="toolbox-search"><tv-icon name="search"></tv-icon><input role="combobox" aria-label="Search templates" placeholder="Search templates…" aria-haspopup="grid" aria-autocomplete="list" aria-expanded="true" aria-controls="toolbox-grid" aria-activedescendant="…"></label>
|
|
904
|
+
<div class="toolbox-body">
|
|
905
|
+
<div class="toolbox-scroll-content">
|
|
906
|
+
<div class="toolbox-grid" id="toolbox-grid" role="grid" aria-label="Templates">
|
|
907
|
+
<div class="toolbox-grid-row" role="row">
|
|
908
|
+
<div class="toolbox-tile" role="gridcell" aria-selected="true" data-highlighted>
|
|
909
|
+
<img class="toolbox-icon" alt="" draggable="false"><span class="toolbox-name">…</span>
|
|
910
|
+
</div>
|
|
911
|
+
</div>
|
|
912
|
+
</div>
|
|
913
|
+
<hr class="toolbox-divider">
|
|
914
|
+
<div class="toolbox-invalid" role="note"><tv-icon name="warning" size="sm"></tv-icon><span class="toolbox-error-text"><span class="toolbox-error-folder">…</span><span>…</span></span></div>
|
|
915
|
+
</div>
|
|
916
|
+
<p class="toolbox-footer">Add to this list by asking your agent to save an artifact as a template.</p>
|
|
903
917
|
</div>
|
|
904
918
|
</tv-popover>
|
|
905
919
|
```
|
|
906
920
|
|
|
907
|
-
`.
|
|
921
|
+
`.toolbox-popover` is 272px wide and at most 480px high. It holds search above the scrolling `.toolbox-body`; `.toolbox-scroll-content` is blank before the first template list arrives. Later updates retain the prior list until it is replaced. `.toolbox-grid-row` lays `.toolbox-tile` elements out in three equal columns. Each tile stacks a 28px icon over a centred, medium-weight name at `--text-sm`; the name may occupy two lines, and long words wrap within the tile. `.toolbox-tile[data-highlighted]` and `.toolbox-tile[data-pressed]` use the shared option tints. `.toolbox-icon` fits a supplied image without cropping or an added background. When no icon is available, `span.toolbox-icon.toolbox-letter` holds a 13px white initial in a filled circle. The translucent, blurred `.toolbox-footer` is the sticky last child of `.toolbox-body`; it floats over the grid, takes pointer input without covering the scroll bar, and passes wheel scrolling to the body. `.toolbox-empty` replaces the grid when nothing is available or matches, and `.toolbox-folder-error` replaces it when the directory cannot be read. `.toolbox-invalid` shows one error count and repair instruction, without folder names. `.toolbox-divider` separates that summary from any grid or message above it. The summary and `.toolbox-folder-error` have no box or background. The search field has a muted background, no border, and no focus ring; there is no heading or introduction.
|
|
908
922
|
|
|
909
923
|
The update control is `button.update-bell#update-bell[icon][intent="alert"]` paired with `tv-popover.update-popover[manual][trigger="update-bell"][role="status"]`. `.update-popover` contains readable notice text and `.update-actions` with `button.update-later` and an optional primary copy action. The desktop self-update notice has `button.update-restart[size="sm"][intent="primary"]` in place of the copy action; it carries `[disabled]` while the app restarts. The manual panel stays open until the composing surface closes it.
|
|
910
924
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Calendar artifact
|
|
2
|
+
|
|
3
|
+
This page shows the events in this artifact's JSON store in a calendar of one to seven days. Its JavaScript modules and `styles.css` started from Television's tv-calendar component and run without a build step.
|
|
4
|
+
|
|
5
|
+
## The store
|
|
6
|
+
|
|
7
|
+
The store starts with an empty `events` object. Set `days` to an integer from 1 to 7, or leave it out for seven days. Set `startDate` to the first day shown, as `YYYY-MM-DD`, or leave it out. Without `startDate`, a seven-day calendar starts on Monday of the current local week, and a shorter one starts today. Set `visibleHours` to the hours that should fill the view, such as `{"start": 9, "end": 18}` for 9 AM to 6 PM: `start` is a whole hour from 0 to 23, and `end` a whole hour from 1 to 24, later than `start`. Leave it out for hours of the usual height. A `startDate`, `days` or `visibleHours` the page cannot read is treated as absent.
|
|
8
|
+
|
|
9
|
+
Add each event under `events/<key>` with a string `title`, `start`, and `end`. The key identifies the event but is not shown. Timed events use local `YYYY-MM-DDTHH:MM` values and end on the day they start. All-day events use `YYYY-MM-DD`, set `allDay` to true, and use the day after the last day as `end`. Optional fields are `detail` (one line of text), `attendees` (an array of names), `color` (`red`, `orange`, `yellow`, `green`, `blue`, or `purple`; blue when absent), and `highlight` (a boolean). An event whose fields break these rules, or one outside the days shown, is not displayed. If the value as a whole breaks them, because it is not an object or `events` is missing or not an object, or the store has no value, the page shows an error page instead of the calendar until the value is fixed.
|
|
10
|
+
|
|
11
|
+
Write one event with `tv resource json set --artifact <id> events/review '<json-object>'`. Set `events/review/highlight` to `true` to raise an existing event, and to `false` to settle it. The page follows changes live and never writes to the store.
|
|
12
|
+
|
|
13
|
+
## The page
|
|
14
|
+
|
|
15
|
+
The page fills its frame and looks like a calendar app: the month and year at the top, a header for each day, a band for all-day events when there are any, and an hour grid that scrolls. It always shows all 24 hours. Without `visibleHours`, it first scrolls to an hour before the earliest event. With `visibleHours`, the hours grow or shrink so that range fills the height below the day headers and all-day band, at least 16 pixels an hour, and the page scrolls to its start; the range keeps filling the frame when it is resized. Overlapping timed events sit side by side. Days share the width equally down to 100 pixels each; below that the days scroll sideways and the hour labels stay in place. An event's attendees show after a person icon, as many names as fit and a count of the rest. Colours, fonts and corner radii come from the active Television theme, so the calendar follows theme and light or dark changes without edits.
|
|
16
|
+
|
|
17
|
+
A store write changes only the affected event's block; the rest of the page is not redrawn, and the scroll position stays where it is unless `visibleHours` changes. Each change moves into place: events fade in, fade out or glide to their new time, a new `startDate` slides the days sideways, a new `days` glides the days to their new columns, and a new `visibleHours` grows or shrinks the hours. Nothing moves when the viewer has asked their system for reduced motion.
|
|
@@ -2,28 +2,28 @@ TELEVISION THIRD-PARTY LICENSING NOTICES
|
|
|
2
2
|
|
|
3
3
|
This file contains the license terms and attribution notices for third-party software and materials included in Television.
|
|
4
4
|
================================================================================
|
|
5
|
-
@
|
|
5
|
+
@phosphor-icons/core@2.1.1
|
|
6
6
|
Licensed under MIT.
|
|
7
7
|
--------------------------------------------------------------------------------
|
|
8
|
-
MIT License
|
|
9
|
-
|
|
10
|
-
Copyright (c)
|
|
11
|
-
|
|
12
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
-
in the Software without restriction, including without limitation the rights
|
|
15
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
-
furnished to do so, subject to the following conditions:
|
|
18
|
-
|
|
19
|
-
The above copyright notice and this permission notice shall be included in all
|
|
20
|
-
copies or substantial portions of the Software.
|
|
21
|
-
|
|
22
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
-
SOFTWARE.
|
|
8
|
+
MIT License
|
|
9
|
+
|
|
10
|
+
Copyright (c) 2023 Phosphor Icons
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
|
29
29
|
|