{
  "markdown": "<p align=\"center\">\n  <img src=\"logo.png\" alt=\"Quire\" width=\"100%\" />\n</p>\n\n# @agent-ix/quire\n\n[![Discord](https://img.shields.io/badge/Discord-Join%20us-5865F2?logo=discord&logoColor=white)](https://discord.gg/6qsdhSPE)\n\n> **quire** _(noun)_ — a gathering of sheets, folded together; from Latin _quaternī_ (four each). In bookbinding, the fundamental unit of structure from which a complete volume is assembled.\n\nStructured document interaction library — Parse, query, and render markdown document sections as typed React components.\n\n## What It Does\n\nQuire takes raw markdown content and provides:\n\n- **Parsing** — split documents into a typed section tree\n- **Querying** — access sections, tables, lists, and diagrams by name\n- **Rich rendering** — render parsed objects as custom React components (badges, icons, interactive tables)\n- **Markdown fallback** — sections without custom renderers display via `markdown-editor` (read-only)\n- **Write-back** — modify sections and serialize back to markdown\n\n## Architecture\n\n```\nLayer 3: React Context     — QuireProvider, SectionCard, SectionTable, AutoSections\nLayer 2: Query API         — section(), tables(), lists(), diagrams(), search()\nLayer 1: Parser            — parseDocument(), extractFrontmatter(), parseBulletList()\n```\n\nLayers 1+2 are pure TypeScript with zero React dependency — usable by agents, scripts, and CLI tools.\n\n## Install\n\nPublished on the public npm registry:\n\n```bash\nnpm install @agent-ix/quire\n```\n\n## Development\n\n### Storybook\n\nRun Storybook locally in Docker (exposed at http://quire.ix):\n\n```bash\nmake storybook\n```\n\nStop Storybook:\n\n```bash\nmake storybook-stop\n```\n\n### Testing\n\n```bash\nmake test\n```\n\n### Build\n\n```bash\nmake build\n```\n",
  "bytes": 1718,
  "sha": "c19522a6f7c0c4cdb9e66226ea6e55ef18d72351d8a404f2d3e3f619b67b34e3",
  "repo_slug": "agent-ix/quire",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/okf_agent_ix_quire_spec_index_md_fb0adbc8/readme"
}