Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

3.0 KB
Raw Blame

Typst, as a Harness agent

Harness agent package for Typst: describe a document in the chat pane, watch the PDF take shape in the Doc Viewer pane as Typst compiles it on every save. Runs on Claude Code.

The pane also holds an exact draft for review. Select words or pin an area, leave Change / Keep / Question notes, and keep the PDF with its feedback as a portable packet. Compare a later compile without losing the draft you reviewed; quoted notes can follow unchanged words onto another page. Ask the agent to read .harness/doc-reviews/<id>/review.md and carry those decisions into the next Typst revision. How document review works.

  • harness.json — the manifest: engine, template, skill, toolchain, viewer.use: autonomous/doc-viewer.
  • skills/typst/ — the Typst skill (ours): the language, the commands, the rules.
  • toolchain/setup.sh downloads the pinned Typst release binary into bin/ (see TYPST_VERSION); doctor.sh; init-workspace.sh compiles the template; verdict.py turns Typst's diagnostics into the pane header.
  • template/ — a fresh workspace: main.typ, assets/, out/.

Windows setup

Windows x64 is supported through Git Bash (MINGW/MSYS), with curl, sha256sum and unzip on PATH. Setup installs the official ZIP's typst-x86_64-pc-windows-msvc/typst.exe as bin/typst.exe; Git Bash and native Windows Python also resolve the manifest's bin/typst path. A working python3 is required for the verdict (the Microsoft Store alias alone is insufficient). Linux and macOS continue to use their pinned .tar.xz releases.

The Windows v0.15.1 ZIP's SHA-256 is 19ce3551153c2fe7ee9fa2f95208310c8f4d3209fedb699e0333faf8913f6736, verified against the digest field in the official release API and the downloaded archive.

Credit and stewardship

Typst is Typst GmbH's — Laurenz Mädje and Martin Haug — typst/typst, Apache-2.0 (LICENSE-typst). Nothing of it is changed here; the compiler is downloaded as they release it. This folder is the Harness wrapper — the manifest, a skill, the template, the toolchain and the verdict — written by Autonomous to bring Typst into Harness. We did that work on the project's behalf, to bootstrap the catalogue.

If you maintain Typst and want to own its Harness package, it is yours: open an issue on OpenHarness and we move this folder into a repository of yours and point the registry entry at it. Until then: bugs in Typst belong upstream, bugs in the wrapper belong here, and a newer Typst is a bump of TYPST_VERSION.

harness dsh check .                                # conformance
harness dsh install "$PWD" --link                  # this checkout as the installed agent
python3 -m unittest toolchain/test_verdict.py      # the verdict, without typst