LEXWEAVEREFERENCE
LEXWEAVEREFERENCE
Engine homePackagesLexposer

Get started

ActivityPlan the next exposureTerminalQuickstart

Architecture

Packages

Specification

FileJson2Bundle specification
Specification

Bundle specification

The portable, versioned artifact produced by one compile.

The suggested extension is .lexweave.json. The media type is UTF-8 JSON and the bundle is validated by parseBookBundle() from @lexweave/core.

{
  "format": "lexweave.bundle",
  "version": 1,
  "producer": "lexweave-cli-anthropic@1",
  "book": {
    "title": "Journey to the West",
    "kind": "novel",
    "sourceLanguage": "zh",
    "targetLanguage": "en"
  },
  "strategy": { "baseDensity": 0.55 },
  "candidates": [],
  "occurrences": [],
  "annotations": []
}

Deliberately excluded

  • The complete book text is not stored in the bundle.
  • Reader memory and reading metrics are not stored in the bundle.
  • Provider credentials and model responses are not required for rendering.

Breaking changes increment version; additive optional fields do not.

Packages

Use the full CLI or embed only the boundary your product needs.

Table of Contents

Deliberately excluded