Skip to content

[codex] Add annotation authoring helpers#113

Closed
meekmachine wants to merge 1 commit into
mainfrom
codex/annotation-authoring-apis
Closed

[codex] Add annotation authoring helpers#113
meekmachine wants to merge 1 commit into
mainfrom
codex/annotation-authoring-apis

Conversation

@meekmachine

Copy link
Copy Markdown
Owner

Closes #109.

Summary

  • add shared annotation authoring helpers for cloning, merging, removing, reordering, resetting, and validating annotation regions
  • make AnnotationRegion support persisted customPosition so the profile-level authoring shape matches the runtime region behavior more closely
  • refactor the preset/profile and character-config extenders to reuse the shared annotation merge logic instead of keeping duplicate implementations
  • document annotationRegions as the canonical authored annotation surface while keeping top-level regions as the current runtime/back-compat shape

Why

The package already had most of the annotation data model and runtime extension path, but downstream apps still had to duplicate annotation merge and validation behavior in app code.

This change gives the SliderDrawer-side annotation editor work a package-level contract to build against and removes duplicate merge logic from the existing Loom3 extension helpers.

Validation

  • npm test
  • npm run typecheck
  • npm run build

@meekmachine
meekmachine force-pushed the codex/annotation-authoring-apis branch from 4c1c383 to 8506e33 Compare April 26, 2026 00:46
@meekmachine

Copy link
Copy Markdown
Owner Author

PR backlog triage — CLOSE (abandoned)

Abandoned draft with no active Embody/Polymer consumer. RuntimeCore/bindings work continues elsewhere; lip-sync planners belong in Polymer.

Plan: meekmachine/Polymer#59

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.

Add canonical annotation authoring APIs for a full SliderDrawer annotations editor

1 participant