@talonic/docs 0.21.79 → 0.21.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -127,8 +127,37 @@ declare function PlatformGuide({ LinkComponent }: {
127
127
  * for @talonic/docs consumers to build sitemaps, JSON-LD, llms.txt, etc.
128
128
  */
129
129
 
130
+ /**
131
+ * API docs navigation: the hand-written groups, then "Endpoint Reference" —
132
+ * one generated page per spec tag for public operations no hand-written
133
+ * section documents (see `content/api/reference-generator.ts`; the group is
134
+ * written to `generated-nav.json` by `npm run reference:nav`).
135
+ */
130
136
  declare const API_NAV_SECTIONS: NavSection[];
137
+ /**
138
+ * Platform Guide navigation, in the docs information architecture
139
+ * (docs-overhaul-plan §1): Start, Guides, Apps, Admin, Changelog. The
140
+ * Agents door is the `mcp` domain, the API door is the `api` domain
141
+ * (conventions first, then resources), the SDK door is `sdk`. See
142
+ * `DOCS_IA` for the door → domain/group map consumers build top-level
143
+ * routes from. Retired and moved pages redirect (`content/redirects.ts`).
144
+ */
131
145
  declare const PLATFORM_NAV_SECTIONS: NavSection[];
146
+ /** One door of the docs home (docs-overhaul-plan §1). */
147
+ interface DocsDoor {
148
+ /** Top-level path segment the website serves the door at, e.g. `start` → `/docs/start`. */
149
+ id: 'start' | 'guides' | 'apps' | 'agents' | 'api' | 'sdk' | 'admin' | 'changelog';
150
+ label: string;
151
+ /** Content domain and nav group(s) that make up the door; `groups` omitted = the whole domain. */
152
+ domain: 'platform' | 'api' | 'sdk' | 'mcp';
153
+ groups?: string[];
154
+ }
155
+ /**
156
+ * The docs information architecture: which domain and nav groups each
157
+ * top-level door shows. Page addresses stay `/docs/<domain>/<slug>`; a
158
+ * consumer may additionally serve a door's landing at `/docs/<door id>`.
159
+ */
160
+ declare const DOCS_IA: DocsDoor[];
132
161
  interface SectionMeta {
133
162
  id: string;
134
163
  title: string;
@@ -141,6 +170,7 @@ declare const API_FAQ: {
141
170
  answer: string;
142
171
  }[];
143
172
  declare const SDK_NAV_SECTIONS: NavSection[];
173
+ /** Agents door (`/docs/mcp`): tasks first, then the tool reference by task. Slugs are synced from talonic-mcp. */
144
174
  declare const MCP_NAV_SECTIONS: NavSection[];
145
175
  declare const SDK_SECTION_META: SectionMeta[];
146
176
  declare const MCP_SECTION_META: SectionMeta[];
@@ -156,7 +186,7 @@ declare const PLATFORM_FAQ: {
156
186
  question: string;
157
187
  answer: string;
158
188
  }[];
159
- declare const LLMS_TXT = "# Talonic\n\n> The data registry for unstructured documents. Agents extract once, query forever. 529 document types, 25+ file formats, per-cell provenance. Co-author of DIN SPEC 91491.\n\n## For Agents\n\n- [MCP Server](https://mcp.talonic.com/mcp): Hosted MCP endpoint \u2014 zero install, native Model Context Protocol\n- [MCP Setup Guide](https://talonic.com/docs/mcp): Claude Desktop, Cursor, Cline, Continue, Cowork configuration\n- [Cost Headers](https://talonic.com/developers#billing): X-Talonic-Cost-Credits and X-Talonic-Balance-Credits on every response\n- [Credit Balance & Runway](https://talonic.com/docs/api/credits-balance): GET /v1/credits/balance \u2014 check remaining budget before calls\n- [Pricing Catalog](https://talonic.com/docs/api/pricing-overview): GET /v1/pricing \u2014 machine-readable credit rates to predict spend\n- [Idempotency-Key](https://talonic.com/docs/idempotency): Safe retries \u2014 pass Idempotency-Key header to deduplicate requests\n- [Auto Top-Up](https://talonic.com/developers#billing): Human-gated credit replenishment \u2014 agents can check, humans approve\n- [Sync/Async Contract](https://talonic.com/docs/api/post-extract): \u22645 pages \u2192 200 sync response; larger \u2192 202 with poll_url\n- [Agent Tasks](https://talonic.com/docs/api/agent-tasks-overview): Claim, heartbeat, and submit pipeline tasks parked for external agents\n\n## Three Modes\n\n- [Mode 1 \u2014 Extract Everything](https://talonic.com/developers#trio): POST /v1/extract with no schema \u2014 discover all fields in any document\n- [Mode 2 \u2014 Extract a Shape](https://talonic.com/developers#trio): POST /v1/extract with a schema \u2014 get exactly the fields you define\n- [Mode 3 \u2014 Query Without Re-extracting](https://talonic.com/docs/api/registry-query): POST /v1/registry/query \u2014 query the Field Registry across previously extracted documents\n\n## API Quickstart\n\n- [Getting Started](https://talonic.com/docs/getting-started): Authentication, first extraction, schema creation\n- [POST /v1/extract](https://talonic.com/docs/api/post-extract): Primary extraction endpoint \u2014 sync, async, and batch modes\n- [POST /v1/run](https://talonic.com/docs/api/run-spec): One call \u2014 ingest documents and run a published Spec end to end\n- [POST /v1/ask](https://talonic.com/docs/api/post-ask): Natural-language questions over the corpus with per-claim citations\n- [Documents](https://talonic.com/docs/api/list-documents): List, retrieve, delete documents and get markdown\n- [Extractions](https://talonic.com/docs/api/list-extractions): Query extraction results and submit corrections\n- [Schemas](https://talonic.com/docs/api/list-schemas): Create, update, list, and delete extraction schemas\n- [Specs & Pipelines](https://talonic.com/docs/api/list-specs): Inspect Specs, run pipelines, poll progress, read governed results\n- [Jobs](https://talonic.com/docs/api/list-jobs): Track async extraction jobs and results\n- [Webhooks](https://talonic.com/docs/api/webhook-events): Event-driven flow \u2014 HMAC-SHA256 signed, exponential backoff retries\n- [Search & Filter](https://talonic.com/docs/api/filter-documents): Omnisearch, document filtering, field autocomplete\n- [Delivery](https://talonic.com/docs/api/list-delivery-destinations): Destinations, bindings, per-destination field exclusions, DLQ\n- [Apps](https://talonic.com/docs/api/apps-overview): Versioned decision apps \u2014 natural-language drafting, runs, verdict matrices, human review\n- [DB Snapshots](https://talonic.com/docs/api/db-snapshot-sources): Point-in-time captures of your reference databases with deltas\n- [Binding Resolutions](https://talonic.com/docs/api/resolve-bindings): Which registry fields supply a target schema, with evidence\n- [OpenAPI 3.1 Spec](https://talonic.com/openapi.json): Machine-readable API specification\n\n## Concepts\n\n- [Field Registry](https://talonic.com/docs/concepts/field-registry): Unified knowledge graph of all extracted fields \u2014 Core/Proven/Candidate maturity, clusters, master instructions\n- [Provenance & Confidence](https://talonic.com/docs/concepts/provenance): Per-cell confidence scores (0.0\u20131.0), resolution types, reasoning traces\n- [Cases & Document Linking](https://talonic.com/docs/concepts/cases): Entity matching, case formation, evidence chains\n- [The Spec & Pipeline Rail](https://talonic.com/docs/platform/spec-pipeline): Source \u2192 Extraction \u2192 Resolution \u2192 Matching \u2192 Agent \u2192 Validation \u2192 Assembly \u2192 Data Product\n- [Document Ontology](https://talonic.com/docs/concepts/ontology): 529-type classification across 10 categories\n- [Schemas](https://talonic.com/docs/concepts/schemas): Generated schemas vs. user templates, field matching, versioning\n\n## SDKs\n\n- [Node SDK](https://talonic.com/docs/sdk): Official Node.js/TypeScript SDK \u2014 extract, documents, schemas, jobs\n- [MCP Server Docs](https://talonic.com/docs/mcp): Agent tools for extraction, search, filtering, schemas, uploads, and balance\n- [Authentication](https://talonic.com/docs/authentication): API key creation, scopes, Bearer token usage\n- [Error Codes](https://talonic.com/docs/errors): Error response format and code reference\n- [Rate Limits](https://talonic.com/docs/rate-limits): Rate limit tiers by plan and headers\n\n## Platform Guide\n\n- [Platform Overview](https://talonic.com/docs/platform): Core concepts, platform flow, supported formats\n- [Pipelines & Specs](https://talonic.com/docs/platform/spec-pipeline): The Spec rail, running pipelines, Review Mode, review queue, assembly\n- [Apps](https://talonic.com/docs/platform/apps-gallery): Decision apps over governed data \u2014 create by describing, audit every run\n- [Field Intelligence](https://talonic.com/docs/platform/tier-system): Field maturity levels, semantic clusters, master instructions\n- [Schemas & Templates](https://talonic.com/docs/platform/generated-schemas): Schema creation, field matching, versioning, dialects\n- [Sources & Documents](https://talonic.com/docs/platform/uploading): Uploading, connectors, document types, access rules\n- [Smart Matching](https://talonic.com/docs/platform/reference-data): Reference data, matching configs, runs, and results\n- [Data Products](https://talonic.com/docs/platform/dataset-templates): Templates, assemblies, shared group-grain products, read contracts\n- [Linking & Cases](https://talonic.com/docs/platform/entity-linking): Entity linking, link keys, cases, anomaly detection\n- [Validation & Quality](https://talonic.com/docs/platform/validation-checks): Validation checks, Review Gates, Field Review, ground truth benchmarks\n- [Delivery](https://talonic.com/docs/platform/destinations): Webhooks, REST, SFTP, email, S3/R2, field mappings, triggers\n- [Enterprise Archive](https://talonic.com/docs/platform/archive-overview): Retention policies, legal holds, review-gated disposition, tamper-evident audit trail\n- [Archive Security Architecture](https://talonic.com/docs/platform/security-architecture): Fixity verification cycles, hash-chain anchoring, write-once encrypted storage, compartments, MFA/step-up, SCIM, export bundles\n\n## Document Types\n\n- [Financial & Tax](https://talonic.com/document-types/financial-tax): Schedule K-1, VAT Returns, Balance Sheets, SWIFT MT103, and 49 more\n- [Procurement & Invoicing](https://talonic.com/document-types/procurement-invoicing): Purchase Orders, Commercial Invoices, RFPs, and 50 more\n- [Trade & Logistics](https://talonic.com/document-types/trade-logistics): Bills of Lading, Air Waybills, Customs Declarations, and 50 more\n- [Legal & Contracts](https://talonic.com/document-types/legal-contracts): NDAs, MSAs, Loan Agreements, DPAs, and 48 more\n- [Corporate & Governance](https://talonic.com/document-types/corporate-governance): KYC Packages, Board Resolutions, ESG Reports, and 50 more\n- [Healthcare & Life Sciences](https://talonic.com/document-types/healthcare-life-sciences): Discharge Summaries, Clinical Trials, 510(k), and 50 more\n- [Manufacturing & Quality](https://talonic.com/document-types/manufacturing-quality): Certificates of Analysis, FMEA, BOM, PPAP, and 49 more\n- [Insurance & Claims](https://talonic.com/document-types/insurance-claims): FNOL Reports, Policy Declarations, Reinsurance, and 50 more\n- [Real Estate & Construction](https://talonic.com/document-types/real-estate-construction): Property Deeds, AIA G702, Lien Waivers, and 50 more\n- [HR & Employee Records](https://talonic.com/document-types/hr-employee-records): I-9 Forms, FMLA Certifications, Payroll Registers, and 49 more\n\n## Company\n\n- [Product](https://talonic.com/product): Full platform walkthrough for technical evaluation\n- [Pricing](https://talonic.com/pricing): Free (5,000 credits/mo), Pro (\u20AC49/mo), Enterprise (custom)\n- [Developers](https://talonic.com/developers): Three Modes, API, SDK, MCP server overview\n- [DIN SPEC 91491](https://talonic.com/din-91491): Europe's first standard for AI-ready data\n- [Security](https://talonic.com/security): GDPR-aligned archive controls (retention, legal hold, erasure, tamper-evident audit), EU data residency\n- [Contact](https://talonic.com/contact): Book a demo or request a schema audit\n\n## Optional\n\n- [Full Documentation for AI Models](https://talonic.com/llms-full.txt): Concatenated full reference \u2014 API, platform, pricing, compliance\n- [Talonic vs Reducto](https://talonic.com/vs/reducto): Schema-first vs. parse-first comparison\n- [Talonic vs Instabase](https://talonic.com/vs/instabase): Platform architecture comparison\n";
160
- declare const LLMS_FULL_TXT_HEADER = "# Talonic \u2014 Full Documentation\n\n> This file contains the complete Talonic documentation for LLM consumption.\n> For a summary, see llms.txt.\n\n";
189
+ declare const LLMS_TXT = "# Talonic\n\n> The data registry for unstructured documents. Agents extract once, query forever. 529 document types, 25+ file formats, per-cell provenance. Co-author of DIN SPEC 91491.\n\n## For Agents\n\n- [MCP Server](https://mcp.talonic.com/mcp): Hosted MCP endpoint \u2014 zero install, native Model Context Protocol\n- [MCP Setup Guide](https://talonic.com/docs/mcp): Claude Desktop, Cursor, Cline, Continue, Cowork configuration\n- [Cost Headers](https://talonic.com/developers#billing): X-Talonic-Cost-Credits and X-Talonic-Balance-Credits on every response\n- [Credit Balance & Runway](https://talonic.com/docs/api/credits-balance): GET /v1/credits/balance \u2014 check remaining budget before calls\n- [Pricing Catalog](https://talonic.com/docs/api/pricing-overview): GET /v1/pricing \u2014 machine-readable credit rates to predict spend\n- [Idempotency-Key](https://talonic.com/docs/idempotency): Safe retries \u2014 pass Idempotency-Key header to deduplicate requests\n- [Auto Top-Up](https://talonic.com/developers#billing): Human-gated credit replenishment \u2014 agents can check, humans approve\n- [Sync/Async Contract](https://talonic.com/docs/api/post-extract): \u22645 pages \u2192 200 sync response; larger \u2192 202 with poll_url\n- [Agent Tasks](https://talonic.com/docs/api/agent-tasks-overview): Claim, heartbeat, and submit tasks Talonic hands to your own agent\n\n## Three Modes\n\n- [Mode 1 \u2014 Extract Everything](https://talonic.com/developers#trio): POST /v1/extract with no schema \u2014 discover all fields in any document\n- [Mode 2 \u2014 Extract a Shape](https://talonic.com/developers#trio): POST /v1/extract with a schema \u2014 get exactly the fields you define\n- [Mode 3 \u2014 Query Without Re-extracting](https://talonic.com/docs/api/registry-query): POST /v1/registry/query \u2014 query values already extracted from your documents\n\n## API Quickstart\n\n- [Getting Started](https://talonic.com/docs/getting-started): Authentication, first extraction, schema creation\n- [POST /v1/extract](https://talonic.com/docs/api/post-extract): Primary extraction endpoint \u2014 sync, async, and batch modes\n- [POST /v1/run](https://talonic.com/docs/api/run-spec): One call \u2014 ingest documents and run a published Spec end to end\n- [POST /v1/ask](https://talonic.com/docs/api/post-ask): Natural-language questions over the corpus with per-claim citations\n- [Documents](https://talonic.com/docs/api/list-documents): List, retrieve, delete documents and get markdown\n- [Extractions](https://talonic.com/docs/api/list-extractions): Query extraction results and submit corrections\n- [Schemas](https://talonic.com/docs/api/list-schemas): Create, update, list, and delete extraction schemas\n- [Specs & Runs](https://talonic.com/docs/api/list-specs): Inspect Specs, run them, poll progress, read governed results\n- [Jobs](https://talonic.com/docs/api/list-jobs): Track async extraction jobs and results\n- [Webhooks](https://talonic.com/docs/api/webhook-events): Event-driven flow \u2014 HMAC-SHA256 signed, exponential backoff retries\n- [Search & Filter](https://talonic.com/docs/api/filter-documents): Omnisearch, document filtering, field autocomplete\n- [Delivery](https://talonic.com/docs/api/list-delivery-destinations): Destinations, field mappings, per-destination field exclusions, failed deliveries\n- [Apps](https://talonic.com/docs/api/apps-overview): Versioned decision apps \u2014 natural-language drafting, runs, verdict matrices, human review\n- [DB Snapshots](https://talonic.com/docs/api/db-snapshot-sources): Point-in-time captures of your reference databases with deltas\n- [Binding Resolutions](https://talonic.com/docs/api/resolve-bindings): Which of your workspace fields fill each field of a Spec, with evidence\n- [OpenAPI 3.1 Spec](https://talonic.com/openapi.json): Machine-readable API specification\n\n## Concepts\n\n- [Core concepts](https://talonic.com/docs/platform/core-concepts): Documents, Sources, Specs, Runs, Results, Review, Apps, Processes, Destinations\n- [Trust every value](https://talonic.com/docs/platform/confidence-provenance): Per-value confidence (0.0\u20131.0) and evidence: the page and passage each value came from\n- [Link documents into cases](https://talonic.com/docs/platform/cases): Cases group the documents that belong together and flag what does not add up\n- [Define what to extract: Specs](https://talonic.com/docs/platform/specs): Create a Spec from a description or a sample, test it, publish it, roll back\n- [Route and organise documents](https://talonic.com/docs/platform/routing-rules): 529 recognised document types, tags, collections, routing rules, access rules\n\n## SDKs\n\n- [Node SDK](https://talonic.com/docs/sdk): Official Node.js/TypeScript SDK \u2014 extract, documents, schemas, jobs\n- [MCP Server Docs](https://talonic.com/docs/mcp): Agent tools for extraction, search, filtering, schemas, uploads, and balance\n- [Authentication](https://talonic.com/docs/authentication): API key creation, scopes, Bearer token usage\n- [Error Codes](https://talonic.com/docs/errors): Error response format and code reference\n- [Rate Limits](https://talonic.com/docs/rate-limits): Rate limit tiers by plan and headers\n\n## Platform Guide\n\n- [Platform Guide](https://talonic.com/docs/platform): Start, Guides, Apps, Admin, Changelog\n- [Quickstart](https://talonic.com/docs/platform/getting-started): First extraction with evidence in five minutes\n- [Going headless](https://talonic.com/docs/platform/going-headless): Everything the app does, from code: polling, webhooks, the event feed, upload links, browser handoffs\n- [Bring documents in](https://talonic.com/docs/platform/uploading): Upload, upload by URL, upload links, formats and limits\n- [Connect a source](https://talonic.com/docs/platform/source-connectors): Gmail, Drive, SharePoint, S3, SQL databases and more: what syncs and how often\n- [Run a Spec and get results](https://talonic.com/docs/platform/run-a-spec): Run, progress, results, re-run, cancel, large batches\n- [Check and validate results](https://talonic.com/docs/platform/validation-checks): Validation rules, approval gates, accuracy against your own answers\n- [Review and correct](https://talonic.com/docs/platform/review-queue): Assign, correct, four-eyes review\n- [Match against your data](https://talonic.com/docs/platform/matching): Reference data, match results, accept or reject\n- [Deliver data](https://talonic.com/docs/platform/deliver-data): Destinations, exports, data products, delivery history\n- [Webhooks and events](https://talonic.com/docs/platform/webhooks): Event catalog, signatures, retries, the /v1/events feed\n- [Ask questions about your documents](https://talonic.com/docs/platform/ask-and-search): Ask, search, filter; answers cite their documents\n- [Automate a process](https://talonic.com/docs/platform/automate-a-process): Build, test and publish a Process from a description or an n8n workflow\n- [Apps](https://talonic.com/docs/platform/apps-gallery): AP, Contracts, Parties, Price Baseline, Submissions and more; build your own\n- [Admin](https://talonic.com/docs/platform/team-management): Team and roles, SSO, API keys, audit trail, retention and legal holds, security, billing\n- [Changelog](https://talonic.com/docs/platform/changelog): Dated changes and deprecation notices\n\n## Document Types\n\n- [Financial & Tax](https://talonic.com/document-types/financial-tax): Schedule K-1, VAT Returns, Balance Sheets, SWIFT MT103, and 49 more\n- [Procurement & Invoicing](https://talonic.com/document-types/procurement-invoicing): Purchase Orders, Commercial Invoices, RFPs, and 50 more\n- [Trade & Logistics](https://talonic.com/document-types/trade-logistics): Bills of Lading, Air Waybills, Customs Declarations, and 50 more\n- [Legal & Contracts](https://talonic.com/document-types/legal-contracts): NDAs, MSAs, Loan Agreements, DPAs, and 48 more\n- [Corporate & Governance](https://talonic.com/document-types/corporate-governance): KYC Packages, Board Resolutions, ESG Reports, and 50 more\n- [Healthcare & Life Sciences](https://talonic.com/document-types/healthcare-life-sciences): Discharge Summaries, Clinical Trials, 510(k), and 50 more\n- [Manufacturing & Quality](https://talonic.com/document-types/manufacturing-quality): Certificates of Analysis, FMEA, BOM, PPAP, and 49 more\n- [Insurance & Claims](https://talonic.com/document-types/insurance-claims): FNOL Reports, Policy Declarations, Reinsurance, and 50 more\n- [Real Estate & Construction](https://talonic.com/document-types/real-estate-construction): Property Deeds, AIA G702, Lien Waivers, and 50 more\n- [HR & Employee Records](https://talonic.com/document-types/hr-employee-records): I-9 Forms, FMLA Certifications, Payroll Registers, and 49 more\n\n## Company\n\n- [Product](https://talonic.com/product): Full platform walkthrough for technical evaluation\n- [Pricing](https://talonic.com/pricing): Free (5,000 credits/mo), Pro (\u20AC49/mo), Enterprise (custom)\n- [Developers](https://talonic.com/developers): Three Modes, API, SDK, MCP server overview\n- [DIN SPEC 91491](https://talonic.com/din-91491): Europe's first standard for AI-ready data\n- [Security](https://talonic.com/security): GDPR-aligned archive controls (retention, legal hold, erasure, tamper-evident audit), EU data residency\n- [Contact](https://talonic.com/contact): Book a demo or request a schema audit\n\n## Optional\n\n- [Full Documentation for AI agents](https://talonic.com/llms-full.txt): Concatenated full reference \u2014 API, platform, pricing, compliance\n- [Talonic vs Reducto](https://talonic.com/vs/reducto): Schema-first vs. parse-first comparison\n- [Talonic vs Instabase](https://talonic.com/vs/instabase): Platform architecture comparison\n";
190
+ declare const LLMS_FULL_TXT_HEADER = "# Talonic \u2014 Full Documentation\n\n> This file contains the complete Talonic documentation for AI agents.\n> For a summary, see llms.txt.\n\n";
161
191
 
162
- export { API_FAQ, API_NAV_SECTIONS, API_SECTION_META, ApiReference, Callout, CellDot, CodeBlock, DownloadMarkdown, EndpointBlock, type HttpMethod, InlineCode, LLMS_FULL_TXT_HEADER, LLMS_TXT, type LinkComponent, MCP_FAQ, MCP_NAV_SECTIONS, MCP_SECTION_META, MethodBadge, MockNavItem, type NavSection, P, PLATFORM_FAQ, PLATFORM_NAV_SECTIONS, PLATFORM_SECTION_META, type Param, ParamTable, PipelineConnector, PipelineStage, PlatformGuide, SDK_FAQ, SDK_NAV_SECTIONS, SDK_SECTION_META, SectionHeading, type SectionMeta, Sidebar, SubHeading, TierBadge, UiExcerpt, highlightJson };
192
+ export { API_FAQ, API_NAV_SECTIONS, API_SECTION_META, ApiReference, Callout, CellDot, CodeBlock, DOCS_IA, type DocsDoor, DownloadMarkdown, EndpointBlock, type HttpMethod, InlineCode, LLMS_FULL_TXT_HEADER, LLMS_TXT, type LinkComponent, MCP_FAQ, MCP_NAV_SECTIONS, MCP_SECTION_META, MethodBadge, MockNavItem, type NavSection, P, PLATFORM_FAQ, PLATFORM_NAV_SECTIONS, PLATFORM_SECTION_META, type Param, ParamTable, PipelineConnector, PipelineStage, PlatformGuide, SDK_FAQ, SDK_NAV_SECTIONS, SDK_SECTION_META, SectionHeading, type SectionMeta, Sidebar, SubHeading, TierBadge, UiExcerpt, highlightJson };