@mengine/medeo-client 2.1.1-dsl.25 → 2.1.1-dsl.26
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/README.md +5 -5
- package/dist/{dsl-DrQOG0a6.js → dsl-SmWJTQWV.js} +2117 -4
- package/dist/dsl.d.ts +1 -2
- package/dist/dsl.js +1 -2
- package/dist/{index-CmuDB_Gm.d.ts → index-B1Lqm_Z1.d.ts} +883 -5
- package/dist/{index-BOgr8p8C.d.ts → index-pULoWyd9.d.ts} +199 -2
- package/dist/index.d.ts +2 -4
- package/dist/index.js +803 -4
- package/dist/schemas.d.ts +21 -21
- package/dist/schemas.js +57 -21
- package/dist/testing.d.ts +1 -4
- package/dist/testing.js +27 -40
- package/package.json +5 -6
- package/dist/index-BGEcTwoD.d.ts +0 -202
- package/dist/legacy.d.ts +0 -1044
- package/dist/legacy.js +0 -4349
- package/dist/shared-iWnU2osE.js +0 -39
- package/dist/storage-evqvKS4B.js +0 -805
- package/dist/video-draft-types-DRGBN0we.js +0 -1551
- package/dist/video-draft-types-slnHaNs9.d.ts +0 -882
package/README.md
CHANGED
|
@@ -126,7 +126,7 @@ Each handle owns one long-lived Mirror. Ordinary fields and Tree read from its i
|
|
|
126
126
|
|
|
127
127
|
Mirror 2.3.3 cannot safely move an existing node under a parent created in the same draft. The document transaction rejects this combination before writing. When a business Action actually needs it, implement its scoped native path with one audited commit as specified by [K03](../../docs/projects/medeo-dsl/known-unfixed.md#k03-mirror-同批新建父节点并移入已有节点); that fallback is not implemented yet.
|
|
128
128
|
|
|
129
|
-
Loro 1.16.1 and loro-mirror 2.3.3 are the lockfile baseline. Mirror is pinned with a [workspace dependency patch](../../patches/README.md): its optional `setState(..., {applyNative})` hook runs after the ordinary draft reaches Loro and before one commit. The full native event updates Mirror before DSL subscribers are notified. The hook is internal to the DSL adapter; Actions never receive a native-write callback. It supports non-ephemeral Mirror instances, and must not commit/export/import or await. A registry install of loro-mirror never carries the patch, so the published package bundles the patched Mirror, runtime and declarations; consumers install only the `loro-crdt` peer and configure no patch. Transactions probe the Mirror once and refuse to write when the hook is missing rather than drop native edits. Native writes preserve marks and actual container identities; a plain Mirror string snapshot still does not contain rich-text marks. Tests cover snapshot/update round trips, concurrent moves and replacements, field merging, optional reset, malformed codecs, deletion/recreation, rich text, Cursor ownership, subscriptions and Action failure preflight. The
|
|
129
|
+
Loro 1.16.1 and loro-mirror 2.3.3 are the lockfile baseline. Mirror is pinned with a [workspace dependency patch](../../patches/README.md): its optional `setState(..., {applyNative})` hook runs after the ordinary draft reaches Loro and before one commit. The full native event updates Mirror before DSL subscribers are notified. The hook is internal to the DSL adapter; Actions never receive a native-write callback. It supports non-ephemeral Mirror instances, and must not commit/export/import or await. A registry install of loro-mirror never carries the patch, so the published package bundles the patched Mirror, runtime and declarations; consumers install only the `loro-crdt` peer and configure no patch. Transactions probe the Mirror once and refuse to write when the hook is missing rather than drop native edits. Native writes preserve marks and actual container identities; a plain Mirror string snapshot still does not contain rich-text marks. Tests cover snapshot/update round trips, concurrent moves and replacements, field merging, optional reset, malformed codecs, deletion/recreation, rich text, Cursor ownership, subscriptions and Action failure preflight. The conversion library is implemented; production server/editor/player entry points have not switched.
|
|
130
130
|
|
|
131
131
|
Run the package test/build tasks through `vp run @mengine/medeo-client#test` and `vp run @mengine/medeo-client#build`.
|
|
132
132
|
|
|
@@ -156,14 +156,14 @@ Caption text is matched forward in `speech.caption_ids` order. A failed exact ma
|
|
|
156
156
|
|
|
157
157
|
`richText` is keyed by script segment ID or inline Caption entity ID; `captionText` resolves either content source and `phoneticText` what each PhoneticScript selects. Optional Caption Texts have ordinary identities and are created in the native hook, preserving mergeable style/font while avoiding duplicate text on mergeable-Text deletion Undo. See [RFC 02](../../docs/projects/medeo-dsl/rfc/02-videodraft-projection.md) for layout, import normalization and compatibility limits.
|
|
158
158
|
|
|
159
|
-
##
|
|
159
|
+
## Current entrypoints
|
|
160
160
|
|
|
161
|
-
`SemanticEditor`, `VideoDocument`,
|
|
161
|
+
`SemanticEditor`, `VideoDocument`, `EntityTimelineEditor`, the old entity CRDT and their projections have been removed, along with `/legacy` and the old `/schemas` input contract. The current `ManualSyncDoc` remains the tool's explicit pull/push document handle over `MedeoDsl` and `DslEditor`; its shared transport is retained. The sandbox contract lives in medeo-dsl and is implemented by medeo-tool.
|
|
162
162
|
|
|
163
163
|
`/relay` and `/testing` remain host/test-only entrypoints. The private DSL package is bundled into the client distribution.
|
|
164
164
|
|
|
165
165
|
See [DSL index](../../docs/projects/medeo-dsl/README.md), [capability mapping and cutover](../../docs/projects/medeo-dsl/rfc/03-editor-and-document-cutover.md) and [known limits](../../docs/projects/medeo-dsl/known-unfixed.md). K04 audit segmentation is unchanged; one native commit can contain multiple Changes.
|
|
166
166
|
|
|
167
|
-
### PhoneticScript storage cutover
|
|
168
|
-
|
|
169
167
|
The row-owned atomic binding stores the selection, pronunciation and file facts together. Public Action methods and domain snapshots retain their shape; the native Loro field layout requires matching SDK/server versions. Old field-per-fact DSL documents require explicit migration and are refused by the new reader and relay. See [the cutover contract](../../docs/projects/medeo-dsl/rfc/06-phonetic-binding-cutover.md).
|
|
168
|
+
|
|
169
|
+
The public `/schemas` subpath retains the input contracts used by FE semantic-op dispatch. These live in `src/schemas` and do not expose a retired editor or storage writer (D201).
|