Skip to content

分舟载模,共引一源 · Split runtime from the Small model facade - #34

Merged
eric8810 merged 1 commit into
mainfrom
codex/n2-runtime-workspaces
Jul 22, 2026
Merged

分舟载模,共引一源 · Split runtime from the Small model facade#34
eric8810 merged 1 commit into
mainfrom
codex/n2-runtime-workspaces

Conversation

@eric8810

Copy link
Copy Markdown
Contributor

Summary

  • accept D107 for the N2 runtime/model/meta topology
  • add npm workspaces under packages/* without treating the CMake native tree as a package
  • add a private model-free @arcships/light-ocr-runtime that requires bundlePath
  • add a private Small facade that preserves the current API, shared OcrError, and light-ocr bin
  • keep bindings/node as the unchanged 0.3.x release source until cutover
  • add one lightweight workspace contract step to the existing PR job

Verification

  • npm run typecheck
  • npm run test:workspace (5/5)
  • dry-run packed both workspaces; each tarball contains only its intended source and legal files
  • workspace light-ocr info --version returned npm/core 0.3.4 and the current native model
  • workspace CLI recognized the generated banner through a full-page ROI

Scope

This starts N2 stage 1 only. It does not publish runtime, tiny, medium, or a 0.4.0 facade.

Accept D107 and establish the first npm workspace slice for N2. Add a model-free runtime with an explicit bundlePath contract and a thin Small facade that preserves the current API, error identity, and CLI ownership. Keep the 0.3.x release source unchanged until focused cutover evidence is complete.
@eric8810
eric8810 merged commit 811a53a into main Jul 22, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant