Skip to content

Re-export schema types from nvisy-engine - #337

Merged
martsokha merged 1 commit into
mainfrom
refactor/engine-reexport-schema
Jul 27, 2026
Merged

Re-export schema types from nvisy-engine#337
martsokha merged 1 commit into
mainfrom
refactor/engine-reexport-schema

Conversation

@martsokha

Copy link
Copy Markdown
Member

Summary

  • Fold nvisy_schema's modules into nvisy-engine's public surface so SDK consumers depending only on nvisy-engine can name every type its public API accepts or returns (Entity, Modality markers, Label, Scope, FormatRegistry, etc.).
  • Widen schema::entity, schema::modality, schema::primitive to cover the full elide-core slice callers reach through Entity<M>, RecognizedGroup variants, and Scope.
  • Drop elide-bento's root re-exports of BentoNer/BentoOcr; update the two engine consumers to use the module paths.
  • Unify module-level doc summaries across schema + engine so the rendered first line is a consistent noun phrase.
  • Convert all remaining inline rustdoc [text](path) links to reference form.

Test plan

  • cargo check --workspace --all-features
  • cargo clippy --workspace --all-features --all-targets (no warnings)
  • cargo test --workspace --all-features
  • RUSTDOCFLAGS="--cfg docsrs -D warnings" cargo +nightly doc --workspace --all-features --no-deps
  • cargo deny check

🤖 Generated with Claude Code

Fold nvisy_schema's modules into nvisy-engine's public surface
so SDK consumers depending only on nvisy-engine can name every
type its public API accepts or returns:

- Widen schema's `entity`, `modality`, and `primitive` modules
  to cover the full elide-core slice callers reach through
  Entity<M>, RecognizedGroup variants, and Scope.
- Add `FormatRegistry` at engine's root (leaks through
  Engine::formats).
- Drop elide-bento's root re-exports of BentoNer/BentoOcr; update
  the two engine consumers to use the module paths.
- Unify module-level doc summaries across schema + engine so the
  rendered first line is a consistent noun phrase. Override the
  `policy` re-export's docstring so it no longer picks up the
  target crate's H1.
- Convert all remaining inline rustdoc `[text](path)` links to
  reference form.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@martsokha martsokha added refactor code restructuring without behavior change engine redaction engine, pipeline runtime, orchestration, configuration docs improvements, updates or additions to docs chore maintenance, dependency updates, code cleanup labels Jul 27, 2026
@martsokha martsokha self-assigned this Jul 27, 2026
@martsokha
martsokha merged commit 4e8f32d into main Jul 27, 2026
6 checks passed
@martsokha
martsokha deleted the refactor/engine-reexport-schema branch July 27, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore maintenance, dependency updates, code cleanup docs improvements, updates or additions to docs engine redaction engine, pipeline runtime, orchestration, configuration refactor code restructuring without behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant