markkit 0.3.1__tar.gz → 0.3.2__tar.gz
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.
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/ci.yml +9 -11
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/coverage.yml +2 -2
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/fuzz.yml +2 -2
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/js.yml +9 -3
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/nightly.yml +1 -1
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/public-benchmarks.yml +3 -3
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/publish-js.yml +3 -3
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/publish-python.yml +4 -4
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/publish-wasm.yml +2 -2
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/publish.yml +1 -1
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/python.yml +14 -2
- {markkit-0.3.1 → markkit-0.3.2}/.github/workflows/release.yml +10 -4
- {markkit-0.3.1 → markkit-0.3.2}/CHANGELOG.md +48 -0
- {markkit-0.3.1 → markkit-0.3.2}/Cargo.lock +177 -103
- {markkit-0.3.1 → markkit-0.3.2}/Cargo.toml +7 -7
- markkit-0.3.2/NOTICE +128 -0
- markkit-0.3.2/PKG-INFO +248 -0
- markkit-0.3.2/README.md +394 -0
- markkit-0.3.2/SECURITY.md +89 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/Cargo.toml +34 -0
- markkit-0.3.2/crates/markkit/LICENSE +21 -0
- markkit-0.3.2/crates/markkit/NOTICE +128 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/Cargo.lock +64 -38
- markkit-0.3.2/crates/markkit/fuzz/seeds/html/table-link-title-pipe.html +0 -0
- markkit-0.3.2/crates/markkit/fuzz/seeds/markdown/footnote-reference-colon.md +0 -0
- markkit-0.3.2/crates/markkit/fuzz/seeds/render_ir/inline-wrapper-code +0 -0
- markkit-0.3.2/crates/markkit/src/email.rs +303 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/eml.rs +27 -34
- markkit-0.3.2/crates/markkit/src/lib.rs +236 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/pdf/ocr.rs +3 -1
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/render/escape.rs +5 -3
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/render/markdown.rs +3 -2
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/email_integration.rs +35 -0
- markkit-0.3.2/crates/markkit/tests/fixtures/html/table_link_title.html +1 -0
- markkit-0.3.2/crates/markkit/tests/fixtures/html/table_link_title.md +3 -0
- markkit-0.3.2/crates/markkit/tests/fixtures/ir/footnote-link-code.json +123 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/html_fixtures.rs +5 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/output_safety.rs +136 -7
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-cli/Cargo.toml +1 -1
- markkit-0.3.2/crates/markkit-cli/LICENSE +21 -0
- markkit-0.3.2/crates/markkit-cli/NOTICE +128 -0
- markkit-0.3.2/crates/markkit-js/LICENSE +21 -0
- markkit-0.3.2/crates/markkit-js/NOTICE +128 -0
- markkit-0.3.2/crates/markkit-js/README.md +172 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-js/package.json +4 -2
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-js/src/lib.rs +47 -5
- markkit-0.3.2/crates/markkit-python/README.md +221 -0
- markkit-0.3.2/crates/markkit-python/tests/test_stubs.py +54 -0
- markkit-0.3.2/crates/markkit-wasm/README.md +159 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-wasm/js/index.d.ts +27 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-wasm/package.json +4 -2
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-wasm/scripts/build.sh +1 -0
- markkit-0.3.2/docs/getting-started.md +225 -0
- markkit-0.3.2/docs/pdf.md +156 -0
- markkit-0.3.2/examples/README.md +75 -0
- markkit-0.3.2/examples/convert.rs +55 -0
- markkit-0.3.2/examples/data/generate.py +225 -0
- markkit-0.3.2/examples/data/report.docx +0 -0
- markkit-0.3.2/examples/data/sales.xlsx +0 -0
- markkit-0.3.2/examples/data/sample.pdf +44 -0
- markkit-0.3.2/examples/documents.rs +72 -0
- markkit-0.3.2/examples/email_body.rs +25 -0
- markkit-0.3.2/examples/limits.rs +59 -0
- markkit-0.3.2/examples/main_content.rs +53 -0
- markkit-0.3.2/examples/node/documents.cjs +45 -0
- markkit-0.3.2/examples/node/quickstart.cjs +48 -0
- markkit-0.3.2/examples/python/documents.py +42 -0
- markkit-0.3.2/examples/python/limits.py +35 -0
- markkit-0.3.2/examples/python/quickstart.py +52 -0
- markkit-0.3.2/examples/wasm/quickstart.mjs +49 -0
- {markkit-0.3.1 → markkit-0.3.2}/justfile +1 -8
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/formats/format-support.md +17 -1
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/log.md +16 -0
- markkit-0.3.2/knowledge/operations/documentation.md +60 -0
- markkit-0.3.2/knowledge/operations/examples.md +92 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/operations/release-process.md +12 -4
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/runtimes/node-package.md +4 -1
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/runtimes/python-package.md +15 -2
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/runtimes/wasm-package.md +3 -1
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/security/fuzzing.md +3 -1
- markkit-0.3.2/knowledge/security/native-dependencies.md +138 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/security/threat-model.md +17 -3
- markkit-0.3.2/markkit.pyi +210 -0
- markkit-0.3.2/pyproject.toml +37 -0
- markkit-0.3.2/scripts/run-examples.sh +19 -0
- markkit-0.3.2/scripts/tests/test_licensing.py +99 -0
- markkit-0.3.1/NOTICE +0 -44
- markkit-0.3.1/PKG-INFO +0 -97
- markkit-0.3.1/README.md +0 -429
- markkit-0.3.1/SECURITY.md +0 -46
- markkit-0.3.1/crates/markkit/src/lib.rs +0 -124
- markkit-0.3.1/crates/markkit-js/README.md +0 -88
- markkit-0.3.1/crates/markkit-python/README.md +0 -85
- markkit-0.3.1/crates/markkit-wasm/README.md +0 -91
- markkit-0.3.1/docs/getting-started.md +0 -125
- markkit-0.3.1/knowledge/operations/documentation.md +0 -41
- markkit-0.3.1/knowledge/operations/examples.md +0 -75
- markkit-0.3.1/knowledge/security/native-dependencies.md +0 -78
- markkit-0.3.1/pyproject.toml +0 -16
- {markkit-0.3.1 → markkit-0.3.2}/.agents/skills/maintain/SKILL.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/.agents/skills/process-issues/SKILL.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/.agents/skills/ship/SKILL.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/.claude/commands/maintain.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/.claude/hooks/fix-git-identity.sh +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/.claude/settings.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/.github/dependabot.yml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/.github/pull_request_template.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/.gitignore +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/AGENTS.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/CLAUDE.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/CODE_OF_CONDUCT.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/CONTRIBUTING.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/LICENSE +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/benches/extraction.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/.gitignore +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/Cargo.toml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/csv.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/document.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/docx_xml.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/html.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/markdown.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/ods_xml.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/pdf.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/render_ir.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/xls_biff.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/xlsb_bin.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/fuzz_targets/xlsx_xml.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/markdown/nested-definition-code.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/render_ir/empty-leading-list-item.bin +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/render_ir/footnote-link-adjacency.bin +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/render_ir/heading-link-hard-break.bin +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/render_ir/repeated-bold-inline-block.bin +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/render_ir/task-leading-code.bin +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/xls_biff/seed-basic +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/xls_biff/seed-chart +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/xls_biff/seed-mulrk +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/xls_biff/seed-names +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/seeds/xls_biff/seed-sst +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/fuzz/src/lib.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/archive.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/config.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/csv.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/docx.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/epub.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/error.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/extract.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/fetch.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/format.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/html/metadata.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/html/mod.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/html/nesting.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/html/parser.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/html/readability.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/html/urls.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/ir.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/layout.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/limits.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/markdown.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/notebook.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/odt.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/ooxml.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/pdf/analyze.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/pdf/font.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/pdf/guard.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/pdf/layout.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/pdf/mod.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/pdf/ocr/rust.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/pdf/tags.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/pptx.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/registry.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/render/mod.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/rules.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/spreadsheet/xlsb.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/spreadsheet.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/text.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/tool.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/transform.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/src/xml.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/common/mod.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/csv_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/document_detection.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/document_security.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/docx_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/epub_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/basic_headings.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/basic_headings.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/blockquotes.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/blockquotes.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/code_blocks.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/code_blocks.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/full_article.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/full_article.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/inline_formatting.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/inline_formatting.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/links_and_images.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/links_and_images.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/lists.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/lists.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/malformed.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/malformed.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/news_page.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/news_page.main.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/tables.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/html/tables.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/pptx/README.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/pptx/deck.pptx +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/pptx/make_deck.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/xlsb/README.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/xlsb/date.xlsb +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/fixtures/xlsb/issues.xlsb +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/hidden_content.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/html_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/html_main_content.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/html_metadata.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/html_proptest.proptest-regressions +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/html_proptest.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/html_security.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/html_urls.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/limits.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/notebook_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/odt_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/output_safety.proptest-regressions +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/pdf_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/pdf_layout.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/pdf_ocr.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/pdf_security.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/pdf_structure.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/pptx_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/registry.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/spreadsheet_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/text_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit/tests/url_security.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/Cargo.toml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/README.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/results/bench-pdf-layout-ship-1793241589.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/results/bench-pdf-layout-ship-1793241589.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/results/bench-vm-linux-x86_64-1793057755.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/results/bench-vm-linux-x86_64-1793057755.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/results/bench-vm-linux-x86_64-1793058767.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/results/bench-vm-linux-x86_64-1793058767.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/results/bench-vm-linux-x86_64-1793070312.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/results/bench-vm-linux-x86_64-1793070312.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/src/alloc.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/src/cases.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/src/main.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-bench/src/report.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-cli/src/lib.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-cli/src/main.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-cli/src/mcp.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-cli/tests/cli_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-cli/tests/host.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-cli/tests/mcp_integration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/Cargo.toml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/extract-tasks.jsonl +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/blog_post.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/changelog.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/data_table.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/docs_page.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/forum_thread.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/legacy_layout.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/news_article.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/product_page.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/recipe.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pages/wiki_article.html +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/pdf-layout.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/data/qa-tasks.jsonl +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/hayro-2026-10-29.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/markkit_extract-2026-10-27.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/markkit_extract-2026-10-27.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/markkit_extract-2026-10-28.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/markkit_extract-2026-10-28.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/markkit_qa-2026-10-28.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/markkit_qa-2026-10-28.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/ocrs-2026-10-28.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/pdf-layout-2026-10-28.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/public-dev-2026-10-28.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/public-dev-2026-10-28.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/public-pr-2026-10-28.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/results/public-pr-2026-10-28.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/src/checks.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/src/dataset.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/src/lib.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/src/main.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/src/mira_study.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/src/pdf.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/src/provider.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-eval/src/qa.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-js/Cargo.toml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-js/__test__/options.test.cjs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-js/build.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-python/Cargo.toml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-python/src/lib.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-python/tests/test_documents.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-wasm/.gitignore +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-wasm/Cargo.toml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-wasm/__test__/markkit-wasm.test.mjs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-wasm/__test__/zip.mjs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-wasm/js/index.js +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/crates/markkit-wasm/src/lib.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/deny.toml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/examples/agent_tool.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/examples/basic.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/examples/configuration.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/examples/custom_selectors.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/examples/ir_access.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/examples/transforms.rs +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/formats/html-extraction.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/formats/index.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/foundations/architecture.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/foundations/index.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/foundations/ir.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/index.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/integrations/index.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/integrations/mcp-server.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/integrations/tool-contract.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/knowledge-contract.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/operations/eval.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/operations/index.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/operations/maintenance.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/operations/performance-results.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/operations/testing.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/runtimes/index.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/security/index.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/knowledge/security/security-model.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/mira.toml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/rust-toolchain.toml +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/schema/ir.schema.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/check_okf.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/compare_pdf_ocr.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/init-cloud-env.sh +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/install-wasm-bindgen.sh +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/lib/common.sh +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/ocr_models.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/prepare_ocr_models.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/CORPUS-NOTICE +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/README.md +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/agentdocbench-assets.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/agentdocbench-corpus.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/baseline.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/common.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/install_mira.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/pins.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/prepare.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/requirements.txt +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/run.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/study.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/agentdocbench/LICENSE +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/agentdocbench/score.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/mira/LICENSE +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/mira/__init__.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/mira/_codec.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/mira/_meta.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/mira/_serve.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/mira/_wire.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/mira/scorers.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/mira/trajectory.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/wcxb/LICENSE +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/vendor/wcxb/evaluate.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/public_benchmarks/wcxb-corpus.json +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/tests/test_agent_skills.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/tests/test_check_okf.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/tests/test_compare_pdf_ocr.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/tests/test_prepare_ocr_models.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/scripts/tests/test_public_benchmarks.py +0 -0
- {markkit-0.3.1 → markkit-0.3.2}/supply-chain/config.toml +0 -0
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
name: Lint
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
steps:
|
|
22
|
-
- uses: actions/checkout@
|
|
22
|
+
- uses: actions/checkout@v7
|
|
23
23
|
with:
|
|
24
24
|
persist-credentials: false
|
|
25
25
|
- uses: dtolnay/rust-toolchain@stable
|
|
@@ -50,7 +50,7 @@ jobs:
|
|
|
50
50
|
name: Audit
|
|
51
51
|
runs-on: ubuntu-latest
|
|
52
52
|
steps:
|
|
53
|
-
- uses: actions/checkout@
|
|
53
|
+
- uses: actions/checkout@v7
|
|
54
54
|
with:
|
|
55
55
|
persist-credentials: false
|
|
56
56
|
- uses: dtolnay/rust-toolchain@stable
|
|
@@ -67,7 +67,7 @@ jobs:
|
|
|
67
67
|
name: Test
|
|
68
68
|
runs-on: ubuntu-latest
|
|
69
69
|
steps:
|
|
70
|
-
- uses: actions/checkout@
|
|
70
|
+
- uses: actions/checkout@v7
|
|
71
71
|
with:
|
|
72
72
|
persist-credentials: false
|
|
73
73
|
- uses: dtolnay/rust-toolchain@stable
|
|
@@ -106,11 +106,7 @@ jobs:
|
|
|
106
106
|
exit 1
|
|
107
107
|
fi
|
|
108
108
|
- name: Run examples
|
|
109
|
-
run:
|
|
110
|
-
for ex in basic custom_selectors configuration ir_access transforms; do
|
|
111
|
-
cargo run -q -p markkit --example "$ex"
|
|
112
|
-
done
|
|
113
|
-
cargo run -q -p markkit --features tool --example agent_tool
|
|
109
|
+
run: bash scripts/run-examples.sh
|
|
114
110
|
|
|
115
111
|
wasm:
|
|
116
112
|
# Browser package @everruns/markkit-wasm: build the wasm32-unknown-unknown
|
|
@@ -119,14 +115,14 @@ jobs:
|
|
|
119
115
|
runs-on: ubuntu-latest
|
|
120
116
|
timeout-minutes: 30
|
|
121
117
|
steps:
|
|
122
|
-
- uses: actions/checkout@
|
|
118
|
+
- uses: actions/checkout@v7
|
|
123
119
|
with:
|
|
124
120
|
persist-credentials: false
|
|
125
121
|
- uses: dtolnay/rust-toolchain@stable
|
|
126
122
|
with:
|
|
127
123
|
targets: wasm32-unknown-unknown
|
|
128
124
|
- uses: Swatinem/rust-cache@v2
|
|
129
|
-
- uses: actions/setup-node@
|
|
125
|
+
- uses: actions/setup-node@v7
|
|
130
126
|
with:
|
|
131
127
|
node-version: "24.22.1"
|
|
132
128
|
- name: Check core for wasm32 (no warnings)
|
|
@@ -137,11 +133,13 @@ jobs:
|
|
|
137
133
|
run: bash crates/markkit-wasm/scripts/build.sh release
|
|
138
134
|
- name: Integration tests (headless Node)
|
|
139
135
|
run: node --test crates/markkit-wasm/__test__/*.test.mjs
|
|
136
|
+
- name: Run WASM example
|
|
137
|
+
run: node examples/wasm/quickstart.mjs
|
|
140
138
|
- name: Verify npm archive contents
|
|
141
139
|
run: |
|
|
142
140
|
cd crates/markkit-wasm/pkg
|
|
143
141
|
npm pack --dry-run --json --ignore-scripts > "$RUNNER_TEMP/wasm-pack.json"
|
|
144
|
-
node -e 'const files=new Set(require(process.argv[1])[0].files.map(f=>f.path)); for (const f of ["index.js","index.d.ts","markkit_wasm.js","markkit_wasm_bg.wasm","README.md"]) if(!files.has(f)) throw Error("archive lacks "+f)' "$RUNNER_TEMP/wasm-pack.json"
|
|
142
|
+
node -e 'const files=new Set(require(process.argv[1])[0].files.map(f=>f.path)); for (const f of ["index.js","index.d.ts","markkit_wasm.js","markkit_wasm_bg.wasm","README.md","LICENSE","NOTICE"]) if(!files.has(f)) throw Error("archive lacks "+f)' "$RUNNER_TEMP/wasm-pack.json"
|
|
145
143
|
|
|
146
144
|
check:
|
|
147
145
|
name: Check
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
name: Code Coverage
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
17
|
+
- uses: actions/checkout@v7
|
|
18
18
|
with:
|
|
19
19
|
persist-credentials: false
|
|
20
20
|
- uses: dtolnay/rust-toolchain@stable
|
|
@@ -26,7 +26,7 @@ jobs:
|
|
|
26
26
|
# tokio socket tests (tests/url_security.rs)
|
|
27
27
|
run: cargo tarpaulin --workspace --engine llvm --out xml
|
|
28
28
|
- name: Upload coverage
|
|
29
|
-
uses: codecov/codecov-action@
|
|
29
|
+
uses: codecov/codecov-action@v7
|
|
30
30
|
with:
|
|
31
31
|
file: cobertura.xml
|
|
32
32
|
fail_ci_if_error: false
|
|
@@ -32,7 +32,7 @@ jobs:
|
|
|
32
32
|
matrix:
|
|
33
33
|
target: [html, document, docx_xml, xlsx_xml, xlsb_bin, ods_xml, xls_biff, pdf, markdown, csv, render_ir]
|
|
34
34
|
steps:
|
|
35
|
-
- uses: actions/checkout@
|
|
35
|
+
- uses: actions/checkout@v7
|
|
36
36
|
with:
|
|
37
37
|
persist-credentials: false
|
|
38
38
|
- uses: dtolnay/rust-toolchain@nightly
|
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
- name: Install cargo-fuzz
|
|
43
43
|
run: cargo install cargo-fuzz --locked
|
|
44
44
|
- name: Cache corpus
|
|
45
|
-
uses: actions/cache@
|
|
45
|
+
uses: actions/cache@v6
|
|
46
46
|
with:
|
|
47
47
|
path: crates/markkit/fuzz/corpus/${{ matrix.target }}
|
|
48
48
|
key: fuzz-corpus-${{ matrix.target }}-${{ github.run_id }}
|
|
@@ -6,11 +6,15 @@ on:
|
|
|
6
6
|
paths:
|
|
7
7
|
- "crates/markkit-js/**"
|
|
8
8
|
- "crates/markkit/**"
|
|
9
|
+
- "examples/node/**"
|
|
10
|
+
- "examples/data/**"
|
|
9
11
|
pull_request:
|
|
10
12
|
branches: [main]
|
|
11
13
|
paths:
|
|
12
14
|
- "crates/markkit-js/**"
|
|
13
15
|
- "crates/markkit/**"
|
|
16
|
+
- "examples/node/**"
|
|
17
|
+
- "examples/data/**"
|
|
14
18
|
|
|
15
19
|
permissions:
|
|
16
20
|
contents: read
|
|
@@ -20,11 +24,11 @@ jobs:
|
|
|
20
24
|
name: Build Node.js bindings
|
|
21
25
|
runs-on: ubuntu-latest
|
|
22
26
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
27
|
+
- uses: actions/checkout@v7
|
|
24
28
|
with:
|
|
25
29
|
persist-credentials: false
|
|
26
30
|
- uses: dtolnay/rust-toolchain@stable
|
|
27
|
-
- uses: actions/setup-node@
|
|
31
|
+
- uses: actions/setup-node@v7
|
|
28
32
|
with:
|
|
29
33
|
node-version: "24.22.1"
|
|
30
34
|
- name: Install dependencies
|
|
@@ -35,11 +39,13 @@ jobs:
|
|
|
35
39
|
run: git diff --exit-code -- Cargo.lock
|
|
36
40
|
- name: Binding tests
|
|
37
41
|
run: cd crates/markkit-js && node --test __test__/*.test.cjs
|
|
42
|
+
- name: Run Node.js examples
|
|
43
|
+
run: for ex in examples/node/*.cjs; do echo "── $ex"; MARKKIT_MODULE="$PWD/crates/markkit-js" node "$ex"; done
|
|
38
44
|
- name: Verify installed npm package
|
|
39
45
|
run: |
|
|
40
46
|
cd crates/markkit-js
|
|
41
47
|
npm pack --ignore-scripts --json > "$RUNNER_TEMP/markkit-pack.json"
|
|
42
|
-
node -e 'const p=require(process.argv[1])[0]; const files=p.files.map(f=>f.path); if(!files.includes("index.js") || !files.some(f=>f.endsWith(".node"))) throw Error("npm package must contain its loader and native binary")' "$RUNNER_TEMP/markkit-pack.json"
|
|
48
|
+
node -e 'const p=require(process.argv[1])[0]; const files=p.files.map(f=>f.path); if(!files.includes("index.js") || !files.some(f=>f.endsWith(".node"))) throw Error("npm package must contain its loader and native binary"); for (const f of ["LICENSE","NOTICE"]) if(!files.includes(f)) throw Error("npm package lacks "+f)' "$RUNNER_TEMP/markkit-pack.json"
|
|
43
49
|
TARBALL=$(node -e 'console.log(require(process.argv[1])[0].filename)' "$RUNNER_TEMP/markkit-pack.json")
|
|
44
50
|
npm install --prefix "$RUNNER_TEMP/markkit-npm-smoke" --ignore-scripts --audit=false --fund=false "$PWD/$TARBALL"
|
|
45
51
|
node -e 'const m=require(process.argv[1]); if(m.extractHtmlSync("<h1>Smoke</h1>").trim()!=="# Smoke") throw Error("native extraction smoke failed")' "$RUNNER_TEMP/markkit-npm-smoke/node_modules/@everruns/markkit"
|
|
@@ -31,16 +31,16 @@ jobs:
|
|
|
31
31
|
# Input is data, never shell code; prepare/run additionally validate choices.
|
|
32
32
|
BENCHMARK_SCOPE: ${{ github.event_name == 'schedule' && 'dev' || inputs.scope || 'pr' }}
|
|
33
33
|
steps:
|
|
34
|
-
- uses: actions/checkout@
|
|
34
|
+
- uses: actions/checkout@v7
|
|
35
35
|
with:
|
|
36
36
|
persist-credentials: false
|
|
37
|
-
- uses: actions/setup-python@
|
|
37
|
+
- uses: actions/setup-python@v7
|
|
38
38
|
with:
|
|
39
39
|
python-version: "3.12"
|
|
40
40
|
- uses: dtolnay/rust-toolchain@stable
|
|
41
41
|
- uses: Swatinem/rust-cache@v2
|
|
42
42
|
- name: Cache verified corpora
|
|
43
|
-
uses: actions/cache@
|
|
43
|
+
uses: actions/cache@v6
|
|
44
44
|
with:
|
|
45
45
|
path: |
|
|
46
46
|
target/public-benchmarks/wcxb
|
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
contents: read
|
|
25
25
|
id-token: write # npm trusted publishing + provenance
|
|
26
26
|
steps:
|
|
27
|
-
- uses: actions/checkout@
|
|
27
|
+
- uses: actions/checkout@v7
|
|
28
28
|
with:
|
|
29
29
|
persist-credentials: false
|
|
30
30
|
fetch-depth: 0
|
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
git fetch --no-tags origin main:refs/remotes/origin/main
|
|
34
34
|
git merge-base --is-ancestor "$(git rev-parse HEAD)" origin/main
|
|
35
35
|
- uses: dtolnay/rust-toolchain@stable
|
|
36
|
-
- uses: actions/setup-node@
|
|
36
|
+
- uses: actions/setup-node@v7
|
|
37
37
|
with:
|
|
38
38
|
node-version: "24.22.1"
|
|
39
39
|
registry-url: "https://registry.npmjs.org"
|
|
@@ -61,7 +61,7 @@ jobs:
|
|
|
61
61
|
run: |
|
|
62
62
|
cd crates/markkit-js
|
|
63
63
|
npm pack --ignore-scripts --json > "$RUNNER_TEMP/markkit-pack.json"
|
|
64
|
-
node -e 'const p=require(process.argv[1])[0]; const files=p.files.map(f=>f.path); if(!files.includes("index.js") || !files.some(f=>f.endsWith(".node"))) throw Error("npm package must contain its loader and native binary")' "$RUNNER_TEMP/markkit-pack.json"
|
|
64
|
+
node -e 'const p=require(process.argv[1])[0]; const files=p.files.map(f=>f.path); if(!files.includes("index.js") || !files.some(f=>f.endsWith(".node"))) throw Error("npm package must contain its loader and native binary"); for (const f of ["LICENSE","NOTICE"]) if(!files.includes(f)) throw Error("npm package lacks "+f)' "$RUNNER_TEMP/markkit-pack.json"
|
|
65
65
|
TARBALL=$(node -e 'console.log(require(process.argv[1])[0].filename)' "$RUNNER_TEMP/markkit-pack.json")
|
|
66
66
|
npm install --prefix "$RUNNER_TEMP/markkit-npm-smoke" --ignore-scripts --audit=false --fund=false "$PWD/$TARBALL"
|
|
67
67
|
node -e 'const m=require(process.argv[1]); if(m.extractHtmlSync("<h1>Smoke</h1>").trim()!=="# Smoke") throw Error("native extraction smoke failed")' "$RUNNER_TEMP/markkit-npm-smoke/node_modules/@everruns/markkit"
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
outputs:
|
|
23
23
|
version: ${{ steps.metadata.outputs.version }}
|
|
24
24
|
steps:
|
|
25
|
-
- uses: actions/checkout@
|
|
25
|
+
- uses: actions/checkout@v7
|
|
26
26
|
with:
|
|
27
27
|
ref: ${{ inputs.source_ref || github.ref }}
|
|
28
28
|
persist-credentials: false
|
|
@@ -53,13 +53,13 @@ jobs:
|
|
|
53
53
|
exit 1
|
|
54
54
|
fi
|
|
55
55
|
fi
|
|
56
|
-
- uses: actions/setup-python@
|
|
56
|
+
- uses: actions/setup-python@v7
|
|
57
57
|
with:
|
|
58
58
|
python-version: "3.12"
|
|
59
59
|
- name: Install verification tools
|
|
60
60
|
run: python -m pip install twine==7.0.0
|
|
61
61
|
- name: Build portable distributions
|
|
62
|
-
uses: PyO3/maturin-action@
|
|
62
|
+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
|
|
63
63
|
with:
|
|
64
64
|
target: x86_64
|
|
65
65
|
manylinux: "2014"
|
|
@@ -124,7 +124,7 @@ jobs:
|
|
|
124
124
|
env:
|
|
125
125
|
MARKKIT_VERSION: ${{ needs.build.outputs.version }}
|
|
126
126
|
steps:
|
|
127
|
-
- uses: actions/setup-python@
|
|
127
|
+
- uses: actions/setup-python@v7
|
|
128
128
|
with:
|
|
129
129
|
python-version: "3.12"
|
|
130
130
|
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
contents: read
|
|
29
29
|
id-token: write # npm trusted publishing + provenance
|
|
30
30
|
steps:
|
|
31
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@v7
|
|
32
32
|
with:
|
|
33
33
|
persist-credentials: false
|
|
34
34
|
fetch-depth: 0
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
- uses: dtolnay/rust-toolchain@stable
|
|
40
40
|
with:
|
|
41
41
|
targets: wasm32-unknown-unknown
|
|
42
|
-
- uses: actions/setup-node@
|
|
42
|
+
- uses: actions/setup-node@v7
|
|
43
43
|
with:
|
|
44
44
|
node-version: "24.22.1"
|
|
45
45
|
registry-url: "https://registry.npmjs.org"
|
|
@@ -6,11 +6,19 @@ on:
|
|
|
6
6
|
paths:
|
|
7
7
|
- "crates/markkit-python/**"
|
|
8
8
|
- "crates/markkit/**"
|
|
9
|
+
- "examples/python/**"
|
|
10
|
+
- "examples/data/**"
|
|
11
|
+
- "markkit.pyi"
|
|
12
|
+
- "pyproject.toml"
|
|
9
13
|
pull_request:
|
|
10
14
|
branches: [main]
|
|
11
15
|
paths:
|
|
12
16
|
- "crates/markkit-python/**"
|
|
13
17
|
- "crates/markkit/**"
|
|
18
|
+
- "examples/python/**"
|
|
19
|
+
- "examples/data/**"
|
|
20
|
+
- "markkit.pyi"
|
|
21
|
+
- "pyproject.toml"
|
|
14
22
|
|
|
15
23
|
permissions:
|
|
16
24
|
contents: read
|
|
@@ -20,11 +28,11 @@ jobs:
|
|
|
20
28
|
name: Build Python bindings
|
|
21
29
|
runs-on: ubuntu-latest
|
|
22
30
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@v7
|
|
24
32
|
with:
|
|
25
33
|
persist-credentials: false
|
|
26
34
|
- uses: dtolnay/rust-toolchain@stable
|
|
27
|
-
- uses: actions/setup-python@
|
|
35
|
+
- uses: actions/setup-python@v7
|
|
28
36
|
with:
|
|
29
37
|
python-version: "3.12"
|
|
30
38
|
- name: Install maturin
|
|
@@ -37,3 +45,7 @@ jobs:
|
|
|
37
45
|
python -c 'from importlib.metadata import metadata; import markkit; assert metadata("markkit")["Name"] == "markkit"; assert markkit.extract_html_sync("<h1>Smoke</h1>").strip() == "# Smoke"; print("Distribution and import OK")'
|
|
38
46
|
- name: Test structured documents and PDF layout
|
|
39
47
|
run: python -m unittest discover -s crates/markkit-python/tests -p 'test_*.py'
|
|
48
|
+
- name: Verify type stubs ship in the wheel
|
|
49
|
+
run: python -c 'import pathlib, markkit; d = pathlib.Path(markkit.__file__).parent; assert (d / "__init__.pyi").is_file() and (d / "py.typed").is_file(), "markkit.pyi/py.typed missing from wheel"'
|
|
50
|
+
- name: Run Python examples
|
|
51
|
+
run: for ex in examples/python/*.py; do echo "── $ex"; python "$ex"; done
|
|
@@ -6,6 +6,8 @@ name: Release
|
|
|
6
6
|
# creates the tag in CI, so nobody has to push tags from a local clone.
|
|
7
7
|
# - Releases created with GITHUB_TOKEN do not trigger other workflows, so the
|
|
8
8
|
# crates.io publish is dispatched explicitly against the verified tag.
|
|
9
|
+
# - Every registry ships in sync: crates.io, PyPI, npm native and npm WASM are all
|
|
10
|
+
# dispatched from the same verified tag (real publish, not dry run).
|
|
9
11
|
on:
|
|
10
12
|
push:
|
|
11
13
|
branches:
|
|
@@ -26,7 +28,7 @@ jobs:
|
|
|
26
28
|
steps:
|
|
27
29
|
# Credentials persist so `git push origin "$TAG"` works; this job only runs
|
|
28
30
|
# from main and executes no pull-request code.
|
|
29
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@v7
|
|
30
32
|
with:
|
|
31
33
|
fetch-depth: 0
|
|
32
34
|
|
|
@@ -103,7 +105,7 @@ jobs:
|
|
|
103
105
|
fi
|
|
104
106
|
|
|
105
107
|
- name: Create GitHub Release
|
|
106
|
-
uses: softprops/action-gh-release@
|
|
108
|
+
uses: softprops/action-gh-release@v3
|
|
107
109
|
with:
|
|
108
110
|
tag_name: ${{ steps.version.outputs.tag }}
|
|
109
111
|
name: Release ${{ steps.version.outputs.tag }}
|
|
@@ -111,8 +113,12 @@ jobs:
|
|
|
111
113
|
draft: false
|
|
112
114
|
prerelease: false
|
|
113
115
|
|
|
114
|
-
- name: Trigger crates.io publish
|
|
116
|
+
- name: Trigger crates.io, PyPI and npm publish
|
|
115
117
|
env:
|
|
116
118
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
117
119
|
TAG: ${{ steps.version.outputs.tag }}
|
|
118
|
-
run:
|
|
120
|
+
run: |
|
|
121
|
+
gh workflow run publish.yml --ref "$TAG"
|
|
122
|
+
gh workflow run publish-python.yml --ref "$TAG" -f dry_run=false
|
|
123
|
+
gh workflow run publish-js.yml --ref "$TAG" -f dry_run=false
|
|
124
|
+
gh workflow run publish-wasm.yml --ref "$TAG" -f dry_run=false
|
|
@@ -7,6 +7,54 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.2] - 2026-11-25
|
|
11
|
+
|
|
12
|
+
### Security
|
|
13
|
+
|
|
14
|
+
- Prevent footnote references from becoming unintended link definitions, and
|
|
15
|
+
keep link titles and destinations from exposing raw HTML through code spans.
|
|
16
|
+
|
|
17
|
+
- Require `url` 2.5.9 or later to avoid nested `blob:` URL origin stack overflow
|
|
18
|
+
(RUSTSEC-2026-0592).
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Rust decoded email body extraction with clean/full views, omission spans,
|
|
23
|
+
conservative quote/signature removal and shared extraction budgets.
|
|
24
|
+
|
|
25
|
+
- Runnable examples for every surface, run in CI: Rust `documents`, `convert`
|
|
26
|
+
(DOCX/XLSX/PDF or your own files), `main_content` and `limits`; Python
|
|
27
|
+
`examples/python/`, Node.js `examples/node/` and WASM `examples/wasm/`,
|
|
28
|
+
sharing sample files in `examples/data/`. Index: `examples/README.md`.
|
|
29
|
+
- Python type stubs: the wheel ships `markkit/__init__.pyi` and `py.typed`, with
|
|
30
|
+
typed `Limits` and `Extraction` results; PyPI metadata gains classifiers,
|
|
31
|
+
`requires-python` and project URLs.
|
|
32
|
+
- `docs/pdf.md`: PDF text, tables, layout geometry, OCR and limits in one guide.
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Refresh PDF/OCR, MIME, archive, CLI and native Node dependencies; the optional
|
|
37
|
+
`email` feature now requires Rust 1.98 or later (**Breaking:** MSRV increase
|
|
38
|
+
for email-enabled builds).
|
|
39
|
+
|
|
40
|
+
- Docs overhaul: rewritten root, PyPI, npm and WASM READMEs (API tables,
|
|
41
|
+
result fields, options, limits, errors); getting-started guide rewritten.
|
|
42
|
+
Rust snippets in the README and guides are now compiled as doctests.
|
|
43
|
+
- docs.rs builds with every format, `http_client`, `tool` and `json-schema`
|
|
44
|
+
enabled and shows feature badges; crate docs cover configuration, limits,
|
|
45
|
+
the IR pipeline and features. Node.js `index.d.ts` documents every option and
|
|
46
|
+
result field.
|
|
47
|
+
- Releases now publish PyPI and npm (native + WASM) together with crates.io.
|
|
48
|
+
|
|
49
|
+
### Fixed
|
|
50
|
+
|
|
51
|
+
- Every published package (crates.io crates, PyPI wheel/sdist, `@everruns/markkit`,
|
|
52
|
+
`@everruns/markkit-wasm`) now ships `LICENSE` and `NOTICE`. Python metadata
|
|
53
|
+
declares `License-Expression: MIT`. `NOTICE` reproduces the BSD notices for the
|
|
54
|
+
PDFium/Foxit fonts and Adobe CMaps embedded by PDF rendering (`pdf-ocr`).
|
|
55
|
+
- `SECURITY.md` lists 0.3.x as supported, adds GitHub private vulnerability
|
|
56
|
+
reporting, and covers the WASM package and agent tool.
|
|
57
|
+
|
|
10
58
|
## [0.3.1] - 2026-11-03
|
|
11
59
|
|
|
12
60
|
### Security
|