AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Browser paragraph compositor: beam-search line breaking that verifies its own output. audit() returns [] — or it restores the browser's layout.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Better line breaks for web text. Typeset keeps short words like "a",
"the" and "of" from being stranded at line ends, keeps names and numbers
with their words, and avoids one-word last lines, in Chrome, Safari and
Firefox alike. It leaves links, emphasis and React-rendered text exactly as
authored, checks every result after rendering, and keeps the browser's
layout whenever it cannot do better. The engine sets every page of
typeset.us; the argument is at
typeset.us/essay.查看完整 README ↗Better line breaks for web text. Typeset keeps short words like "a", "the" and "of" from being stranded at line ends, keeps names and numbers with their words, and avoids one-word last lines, in Chrome, Safari and Firefox alike. It leaves links, emphasis and React-rendered text exactly as authored, checks every result after rendering, and keeps the browser's layout whenever it cannot do better. The engine sets every page of typeset.us; the argument is at typeset.us/essay.
Use CSS first: text-wrap: balance for headlines, text-wrap: pretty for
paragraphs. Add Typeset for grammar-aware breaks, the same result in Firefox
(which has no pretty), preserved markup, and results your CI can check. It
does not hyphenate or justify.
The current release, pinned with its integrity hash:
<script src="https://typeset.us/[email protected]" integrity="sha384-OPixflfJwk7LTcwv7u1n3T6ratxF6EeTJXn3D/TnLw9bCV2qkIVogco3QFZj6l5D" crossorigin="anonymous" defer></script>
npm i -E [email protected]
Published pins are permanent: their bytes never change and they are never
removed. Every pin and its hash is in public/sri.json.
https://typeset.us/go.js also works for trying it out; it updates itself
within 4.x and will never move to 5.0. What a version number promises:
STABILITY.md.
The package README covers options, outcomes, React, costs and limits: packages/typeset-v4/README.md.
auditJSON(selector) reports errors, items to review, and what happened to
every element. A pass requires a nonempty scope with no hard errors or
unprocessed targets; it is not aesthetic certification. Every outcome is
explained in docs/outcomes.md. Full contract for agents:
typeset.us/for-agents. Read
support, including what is not yet tested,
and migration.
src/lib/v4/: the engine and React adapters.src/app/: the typeset.us website, which runs the same engine.packages/typeset-v4/: the npm package typeset.us.public/[email protected], public/sri.json and
public/releases/: published loaders, hashes and
release archives, written only by npm run release:cut.public/releases/published.json: the
append-only ledger of every published file; npm run verify:ledger fails
if any of them changes.docs/: benchmarks, outcomes, releasing, security advisories.CHANGELOG.md: what changed, including the bugs.npm run dev # site at localhost:3000
npm run build:dist # candidate build from src into output/candidate/; never writes packages/ or public/
npm test # test:v4: builds the candidate, then runs every suite against it (--only, --list)
npm run test:release # the same suites against the committed packages/typeset-v4/dist
npm run bench # benchmark: mount, typesetAll, React, storms, fonts, sizes (docs/BENCHMARKS.md)
npm run release:cut -- --version x.y.z --summary "…" # the only step that writes a release (try --dry-run)
How to contribute, and how to report a bad line break: CONTRIBUTING.md. Releases: docs/RELEASING.md. Security: SECURITY.md.
MIT © Dustin York. The line-break data is Unicode, Inc. (Unicode-3.0).