← Files Linea ReaderARCHIVED FILE
README.md
8.29 KB · Nov 30, 2026 · 07:34 UTC
# Linea Reader
This is the separate account-free Reader package for public OpenAI directory
preparation. It does not replace the authenticated `plugins/linea` beta.
The live connector is `https://mcp.lineareads.com/reader`, using Streamable HTTP
without a Linea account for ordinary reading or packaged credentials. Claude's inline connector uses
`https://mcp.lineareads.com/reader/claude`; its directory submission is prepared
separately, rather than adding a second server to this OpenAI package.
The Reader opens public PDFs and web pages, bundled samples, and local files
selected by the user. PDF and Text views share the current document. When the
host supports app context, the user's chat assistant can answer from bounded
extracted text with source locations. Source-linked circles, arrows, highlights
and short notes appear in PDF and Text. The person can edit, move, hide or remove
these drawings. Zooming out past Fit reveals a canvas for notes, margin ink and
research links. This work lasts for the current panel view unless explicitly
saved. Public sources download in the browser, subject to CORS and host origin
restrictions. If a link is blocked, the user can download it and select Open file.
Optional Save to Linea, where available, requires account linking, import review
and an explicit Save action. This import-only flow cannot browse a private
library or automatically sync later panel edits. It is outside the account-free
review cases.
The package includes `skills/co-read/SKILL.md`: guidance for answering from the
open document, preserving the reader's place, making useful source-linked cues,
and respecting the person's drawing edits and removals. Portable clients discover
it in `skills/`; hosts that do not load package skills receive the core guidance
through live tool descriptions and Reader app context. No library skills, app
binding, lifecycle hook, install script, or credentials are included. The icon
is the current 1024 by 1024 pixel Broad nib PNG from
`public/assets/brand/box-shelf/app-icon-light.png`, also used by the iOS app.
The submission builder rejects an icon copy that differs from this canonical asset.
## Active reader and canvas
The active controls operate on the reader already open. After refreshing the
connector's tools and starting a new conversation, a person can ask “Go to page
2” or select text and ask “Circle this passage.” Source-linked circles, arrows,
highlights and short notes appear beside the source in original PDF and Text
views. A mark alone preserves the current view. Remove and clear affect the
panel's assistant marks. When app context reports canvas support, view commands
can reveal the canvas or return to Fit. The person owns freeform canvas notes,
ink, links and placements; the agent receives bounded canvas context and cannot
create or reposition those objects through the reader tools.
This revision has **26 tools**, including twelve model-visible tools:
`linea_read`, `reader_format_complete`, `reader_navigate`, `reader_show_canvas`,
`reader_show_reading`, `reader_circle`, `reader_arrow`, `reader_highlight`,
`reader_note`, `reader_remove_marks`, `reader_clear_marks` and
`reader_control_status`. Each public control tool exposes one operation with
direct arguments. The app-only `reader_control_begin`, `reader_control_poll`
and `reader_control_ack` still operate the panel's existing command mailbox.
Earlier 13-tool and 17-tool QA records remain evidence for those dated catalogs.
Fresh host acceptance of the operation-specific catalog must be recorded separately.
Each reader control uses the latest session binding and target IDs from app context.
Submission queues one command. `reader_control_status` reads its receipt.
Only an applied rendering receipt supports saying
that navigation or a mark appeared; rejection must remain a rejection. A new
source invalidates the old session. The control capability expires after 15
minutes. Linea's temporary mailbox receives control metadata, bounded commands,
generated captions and receipts. The browser resolves the targets and source
text locally; source bytes and page geometry are not sent to that mailbox.
Drawing and annotation require no Linea account. Save to Linea is a separate
user action: capture the document, source drawings and canvas arrangement, connect an account,
review the destination, then confirm Save. The account copy can be opened
on the phone, computer or web. PDFs include their original file (up to 5 MB);
other supported documents save readable text and sections. Captured work is
bounded to 100 marks and a 512 KB reading-and-arrangement payload. Moved drawings,
canvas notes, ink, links, positions and zoom are kept. The web reader and the
iPhone/iPad and Mac Canvas hosts use the shared renderer to restore and edit the
arrangement. Native storage and sync retain its data. LIN-054 records completed
local checks separately from pending full arrangement reopen and physical touch
acceptance. Unsupported artwork produces an error before sign-in rather than
losing work.
The controls do not provide freehand PDF pen input, arbitrary image regions or
figure recognition. Work that is not saved stays in the current panel view.
## Build and complete the materials
From the repository root:
```sh
python3 -m unittest discover -s plugins/distribution -p 'test_reader_submission.py'
python3 plugins/distribution/build_reader_submission.py --output /tmp/linea-reader-preparation.zip
```
The deterministic ZIP and SHA-256 sidecar contain only this plugin. The build
also emits a `.readiness.json` report beside the ZIP. A structurally valid
preparation archive is not submission-ready until its remaining materials and
host checks are complete. The report distinguishes those preparation gaps from
portal setup, verification, scans, and legal attestations.
Unknown publication facts are intentionally omitted from the source manifest.
Supply only confirmed values with a local JSON metadata fragment:
```sh
python3 plugins/distribution/build_reader_submission.py --output /tmp/linea-reader-preparation.zip --metadata-file /path/to/confirmed-metadata.json --evidence-file /path/to/verified-evidence.json
```
`--metadata-file` deep-merges a `plugin.json` fragment while preserving existing
review cases, release notes, prompts, translations, and optional branding.
The fragment may supply `author.name` and
`extensions.com.openai.interface.developerName` with the same intended verified
publisher identity. It may also supply `extensions.com.openai.publication.countries`
with confirmed uppercase ISO country codes; an explicit empty array means all
available countries. Do not use an empty array to stand for an unanswered choice.
Supply `extensions.com.openai.review.commerce` as a boolean, a truthful
`commerce_description`, and the actual HTTPS `demo_recording_url` after recording,
hosting, and verifying playback. The builder rejects changed plugin identity,
server declarations, app bindings, hooks, and credentials.
Metadata supplied to the builder is not automatically verified. The optional
evidence file records independent checks using this shape:
```json
{
"endpoint_verified": false,
"verified_urls": [],
"demo_verified": false,
"tool_annotations_verified": false,
"host_cases": {"positive": [], "negative": []}
}
```
Use the four exact final listing URLs in `verified_urls` only after checking
public access and their actual content. Set `demo_verified` only after playing
the exact recording URL and copy it to `verified_demo_url`. Set
`tool_annotations_verified` only after inspecting the three required boolean
annotations on every live tool. Set `endpoint_verified` only after a successful
unauthenticated MCP initialize and tools/resources discovery. Each host-case
array must contain the ordered outcome strings `Passed`, `Failed`, `Blocked`, or
`Not run` for the five positive and three negative cases. Passing requires
actual host tool calls, panel interaction, and visible results; a direct HTTP
probe alone does not pass a host case. Keep detailed evidence outside the ZIP.
Before submission, inspect the exact archive and imported metadata in the
intended organization's portal. The publisher must complete domain/developer
verification, required scans, and policy attestations. Uploading, submitting
for review, and publishing are separate actions. This builder does none of them.
See [REVIEW.md](REVIEW.md) for the real walkthrough to rehearse and record.
SHA-256: f0cee127efda5c0f531393c50439aa1c9245b3ed715c898fe2f606512415729d