Repository navigation
v0.9.0
This release is about asking reviewers and answering them. Authors can put questions right in the content with the new Inline add-on; one click on the comment control starts commenting, and selecting words offers a comment outside comment mode; agents' answers can be copied and pasted from a chat and travel with shared copies; a page names its edition; the script line alone starts Pipeup; and the menu says where comments are. Pipeup is 63.3 KB gzip.
Added
-
Inline comments (
@pipeup/inline, a new add-on). Put asks in the content (open, agree, or a choice with Other) that reviewers answer in place, without comment mode; each answer is an ordinary comment, one per reviewer per ask, which they can change or remove, with others' answers counted only after one's own, needed asks counted in the menu, andpipeup readlisting each ask with its answers. A block markeddata-pipeup-inlineshows its comments in place. Pipeup gains two add-on slots for it,place(draw inside an element the author marked) andpost(post what the reviewer sent from the add-on's own box). -
Editions. A page that shows a new edition in the same shell (a daily briefing) can name the edition it shows with
data-pipeup-edition, and set it again when the next one is swapped in. Comments stay with their edition: they never land on another edition's content, the comment control counts this edition's, earlier editions' threads wait folded under Earlier editions in All comments (and still open, with what they were about), and Copy for my agent carries this edition's and says how many earlier ones it left out.Pipeup.comments({ edition: true })reads this edition's. -
Copy for my agent (agents add-on) replaces Copy a prompt for my agent. It copies the page's open comments together with how to answer them, says the comments live in your browser and not in the page's file, and gives the page's document id so an agent can sign its answer.
-
Paste my agent's replies (agents add-on): paste an agent's answer from a chat, see what it found (how many replies, from which agent, signed or not and why, which say addressed, which it will leave out), then add them. Replies an agent the page lists has signed show as that agent's; others show as "pasted by you", and "pasted by" your name to other people.
-
pipeup reply --print --doc <document id>prints a signed replies block to paste, for an agent that can't write next to the page. -
A page's own code can drive Pipeup:
setCommentMode()andcommentMode,setName()andname, andon("change", …), which hears comment mode and the name changing however they changed.mount()rejects with acode("another-copy"or"failed") and words when Pipeup can't start. -
Settings on the script line. Every
data-pipeup-*setting, for Pipeup and its add-ons, can go on the line that loads it instead of<html>, for hosts that write their own<html>such as claude.ai Artifacts.mount()also takesdoc,layout,themeandselect.Pipeup.setting(name)reads a setting wherever the page put it. -
Only in this browser, on a shared page. Each of your comments that isn't in the shared copy (written before the
page was shared, written while Send my comments is off, or kept by choice) is marked "Only in this browser", with
why in its tooltip; the mark goes when the comment is shared. "Keep them on this machine" reads "Keep them in this
browser". Add-ons can mark one comment withsetCommentMark(capabilitycommentmark). -
Where comments go, said in the menu. Its top line reads "Only in this browser until you send them"
unless an add-on reports there (Share's "Shared · up to date", Live's "Live · 2 here"), and the comment box
carries a small browser-window glyph that says the same on hover. Reviewers had expected their comments to
appear on other people's copies.
Changed
- One click on the comment control starts commenting, and another stops it. The menu moved to ⋯ at the end of the control's reach when you point at it; by touch, press and hold the control (the first touch hint says so); from the keyboard, ↑ on the control. All comments is in the menu.
- Selecting words offers a comment outside comment mode too. The comment icon appears beside the selection, and commenting from it leaves comment mode off, so links and the page keep working. A page can keep it to comment mode with
data-pipeup-select="comment-mode". - Shared copies carry a listed agent's answers. While you're sending, the share add-on also passes on the replies, addressed notes and reactions of an agent the page lists (from the replies file, the live link or a signed paste), so everyone who has the page sees them as the agent's. An answer to a comment you haven't shared waits with it.
- A reply named for an agent but not written by a key the page lists shows who pasted it. Before, anyone could post under an agent's name in a shared copy.
- Copy comments › As Markdown reads as a message to a person, for a reviewer pasting it into a reply. It opens with "Comments on" the page's title, how many open comments there are, who wrote them and when they were copied, in words, then the page's address. Each thread's heading says where it is, then come the quoted words or pin and the comments. Its state, its id and the element's
data-pipeup-idmove to its last line, replies carry no ids, and the instruction for an AI assistant moves after the threads.pipeup read,pipeup comments,Pipeup.comments()and Copy for my agent carry the same text; their data is unchanged. - Pipeup's size budget rises from 60 to 63.5 KB gzip for these changes (it is 63.3 KB), the agents add-on's from 5 to 7.5 KB and the share add-on's from 8.5 to 9 KB.
- Website: the home page has a Quick start under the first screen: three steps and the prompt shown in full, with one Copy prompt button for your AI agent. The "Create comment-enabled HTML" prompt now fits a page you already have, and Copy prompt buttons ease back from "Copied".
- Website: one front door again, and the home page fits one screen. Its two buttons become four short steps, from your HTML file to your reviewers and back, with one Copy prompt; the prompt now asks your AI for the whole new file, a reminder to open it in a browser, and a note for reviewers. Two new pages, one click from the steps: What your AI does (the prompt and the note, each with its own Copy) and The details (the two lines to add by hand with the integrity hash, what Pipeup sends, and its licence, version and size, taken from the copy the site carries). The reviewer page becomes help for people who were sent a page; the "Create comment-enabled HTML" page now opens the home page's steps. The showcase holds still while you point at it, focus it or comment, reads one sentence per scene to screen readers, and shows a fingertip on touch screens.
Fixed
-
Dictation in Safari. A refused prompt (the microphone, speech recognition, or macOS's one-time Speech
Recognition alert) left the microphone pressed and dead for the rest of the page; it now works again at once.
Notices name what to change: a refusal needs a reload, and "Safari isn't allowed to use Apple's speech
recognition" replaces "The microphone is blocked" when the microphone is fine. Apple's own reason for stopping
is passed on, and words Safari sends again are written once. The consent sentence no longer claims Safari
always sends your voice to Apple. -
Dictation in Firefox. Firefox up to 159 has no speech engine, so no microphone is drawn; the page now says
so once in the browser console. A language the engine can't do at all is said before anything starts. -
The script line alone starts Pipeup. A page with only
<script src="…/pipeup.min.js"></script>loaded Pipeup but never started it, with no message. Every page now starts itself unlessdata-pipeup-auto="off"; a page withoutdata-pipeup-docis known by its address. -
A name typed in the comment box is kept. Typing a name in the new comment's name field and then clicking into the comment box dropped the name, so the comment was signed with your animal. Leaving the field now saves it, as the menu's name row does; Esc still cancels.
-
Website: every Copy prompt carries a document key of its own, and the prompt and the steps say a key is for one page only. Reusing one prompt for several pages gave them one key, so one page's comments showed on another.
Documentation
- The home page's prompt,
llms.txtand the integrate skill name the agents and inline add-ons, added only when the author asks; the Add-ons page has an Inline card and page. - The integrate skill and
llms.txtsay how a page that shows a new edition in a fixed shell (a daily briefing) names its edition, and, for a page that wants editions wholly apart or an older Pipeup, how to give each edition its own identity instead.
Install
npm i pipeup@0.9.0<script src="https://cdn.jsdelivr.net/npm/pipeup@0.9.0/dist/pipeup.min.js" integrity="sha384-he64G6Vh8XwmF/oABCscK3/I+EN/WWSuKkrcDvEOhoeJvFuanV9f/Qp68/7JxUrG" crossorigin="anonymous"></script>SRI for dist/pipeup.min.js: sha384-he64G6Vh8XwmF/oABCscK3/I+EN/WWSuKkrcDvEOhoeJvFuanV9f/Qp68/7JxUrG
Add-ons
npm i @pipeup/share@0.9.0 @pipeup/voice@0.9.0 @pipeup/live@0.9.0 @pipeup/assist@0.9.0 @pipeup/agents@0.9.0 @pipeup/emoji@0.9.0 @pipeup/github@0.9.0 @pipeup/updates@0.9.0 @pipeup/inbox@0.9.0 @pipeup/identity@0.9.0 @pipeup/inline@0.9.0SRI for @pipeup/share/dist/share.min.js: sha384-Iv18knaI4OXVXr5FnKqan6+Voq4wXHJQEVVqjw8X8yGjnnQmIJDq5Le8SGkaAT22
SRI for @pipeup/share/dist/pipeup+share.min.js: sha384-FBPUMCUzIjvOAkyA5fmu4cdBnCXlPvt4E21ta1h+HIoY965Krnzzh7yuKc+nPWGt
SRI for @pipeup/voice/dist/voice.min.js: sha384-Y7tU5injzCcaZRunW+X89e83ZZP0GndlNqBX2n0x4psJYYEHK+1m/uCbmUyxGWAV
SRI for @pipeup/voice/dist/pipeup+voice.min.js: sha384-zPa6XrZM9lTBUFB8L8G9QG4W+QQ/LF1gNYbNcBvD2a7+YlaVUbR5Ly3av18YuGST
SRI for @pipeup/live/dist/live.min.js: sha384-S6BH6HAroTc5spdAhf/sKucop6NwJrFgcr3A68t0kJDRPks0oM38FAMDtFYpIqGy
SRI for @pipeup/live/dist/pipeup+live.min.js: sha384-PYSGXCtio8JNBD11yquiVd7zRBQJhSwc0O7FXnwSjhlh/1qqfn5ySBvuigksPfjk
SRI for @pipeup/assist/dist/assist.min.js: sha384-Tn760J2DRZcf/t4Wh4uCqOzPDj/UOj4e9j+2O0ipyNPCXSAYcyryEsul26/uMPMK
SRI for @pipeup/assist/dist/pipeup+assist.min.js: sha384-iTkhvQ5WX8PKINNUHwV3OmPTa9+DISAXix/jhoEsPUAMiqBnsMNimTsPoIhvsl+h
SRI for @pipeup/agents/dist/agents.min.js: sha384-XGyYk3WwvxcaMOk/vL/SRy1It8qQROWbKDFaBiB/zppZNkFskQ41lcFGjkZW2PkW
SRI for @pipeup/agents/dist/pipeup+agents.min.js: sha384-FtCy9ePw8fk5gc0/3+rb7IZExUwSMJzoKIw32nmj2msZxEN3aahzDEqax2WqS0tI
SRI for @pipeup/emoji/dist/emoji.min.js: sha384-PabpVVan4/2cFL2D1kKYLRUVAsFtx/I8dCXsmDZHHb3AWgaFyZ8CEGST3n1+YBB4
SRI for @pipeup/emoji/dist/pipeup+emoji.min.js: sha384-Bg2puSY+g5ZwRD4CIPY2aD9U7WCN2Wb1MjvBIZqoridEteZAsyjSu1roQVUz8zrO
SRI for @pipeup/github/dist/github.min.js: sha384-juzqkImsqHDSsplZ/LXAJdXNaiOBVC2p1bbtlmmQiAEcewiDwmfyHEzTmXLZFS/Q
SRI for @pipeup/github/dist/pipeup+github.min.js: sha384-EHU2UiOVNnp1uOdxzTxO8d9qJP1Gl0l7DeGCB6Sp32JEOEDS1VUHWyF7dLBiRFiE
SRI for @pipeup/updates/dist/updates.min.js: sha384-Ywds4XdYUEguFHXGNbwsHUcTQetCnD8wh4N8VkqMgrG2s0ap6L7hnBBMeIjLiioX
SRI for @pipeup/updates/dist/pipeup+updates.min.js: sha384-21rnCuo7YjRA0xngZBCmpL3aTD1ZjxGwG8Y8RGviugWUqouRUirUwnB7TRe3gvhv
SRI for @pipeup/inbox/dist/inbox.min.js: sha384-Z490DtLPVSgn0+BOMNSRocB2BVVtA8CAQtyeAAipcftU/+0+4b21zWYLvbPaOXQH
SRI for @pipeup/inbox/dist/pipeup+inbox.min.js: sha384-rXQMvh3D/OwuU6Xq7PgoPup/iDRwBYw4izf7o6ZNesSRRTZ6F6FAASw4u04TDJNU
SRI for @pipeup/identity/dist/identity.min.js: sha384-Ay3J1FiQokTyK73407sJALq0VMWUjn5iiF+miAA0/HfE4N16wPM59056fbabU+O0
SRI for @pipeup/identity/dist/pipeup+identity.min.js: sha384-IMvq7bgKVzYHJN0z55FCa2lrlFtlp5aG5Z8h1TKnc/7gCuwbvA/tajZJk/8eq7dG
SRI for @pipeup/inline/dist/inline.min.js: sha384-2NGEoJQyDvbPFzGnuwKI2HQm1aOjOEnBTAMV6ovpv+Kh785FftCbyCpFB4eNwAwX
SRI for @pipeup/inline/dist/pipeup+inline.min.js: sha384-w5Eq390ytAiYwFjEQ2pkLcvS7TDcuqTxrIhI0vFJ047cI8vUnM232bKluaIXuc0f