@mengine/medeo-client 3.0.1-dsl.4 → 3.1.0
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 +1 -5
- package/dist/{dsl-DgUxcAg3.js → dsl-C0-G8JVT.js} +251 -333
- package/dist/dsl.d.ts +2 -2
- package/dist/dsl.js +2 -2
- package/dist/{index-D1EvUTdG.d.ts → index-BOPcHqIj.d.ts} +48 -30
- package/dist/{index-iEPbMfoP.d.ts → index-C_wwGt5k.d.ts} +3 -7
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -16
- package/dist/testing.d.ts +1 -2
- package/dist/testing.js +14 -35
- package/package.json +6 -8
- package/dist/schemas.d.ts +0 -606
- package/dist/schemas.js +0 -478
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ For explicit synchronization, use `ManualSyncDoc.open({client, peerId})`, then `
|
|
|
47
47
|
- AudioScript: segmented text; segments are inserted, moved and deleted by id, each with its own native Text. A transcript names the transcription file it was read from, and its segments keep the `startMs`/`endMs` that file gave them (`tx.insertSegment(..., time)`); a segment's time is written when it is added and never edited.
|
|
48
48
|
- Caption: independent native Text or a selection of one script segment (whole, or a Cursor run inside it); style and source switching.
|
|
49
49
|
|
|
50
|
-
`resolveDslLayout`, `toVideoDraft`, `fromVideoDraft`, `toAudioScriptViews`, `MedeoDsl` and the model types are exported from the root and `/dsl`. `toAudioScriptViews` (on a session, `projectAudioScripts()`) reads the same snapshot as the VideoDraft and lists every AudioScript with its segments — a transcript's with their `startMs`/`endMs` and a `timelineMs`, the position on the earliest Clip playing the transcribed medium whose window holds that moment — its PhoneticScripts with their digests, the speech Clips saying it (with `applied`) and the Caption Clips showing one of its segments. Projection returns diagnostics; unrepresentable legacy output throws `DslProjectionError`. `MengineHttpClient.fetchDraft()` / `fetchDraftAt(seq)` read the server's content, diagnostics and matching version.
|
|
50
|
+
`resolveDslLayout`, `toVideoDraft`, `fromVideoDraft`, `normalizeLegacyVideoDraft` (the repairs a saved Legacy draft gets before import), `toAudioScriptViews`, `MedeoDsl`, the placeholder media (`BLANK_PLACEHOLDER`, `missingMediaPlaceholder`) and the model types are exported from the root and `/dsl`. `toAudioScriptViews` (on a session, `projectAudioScripts()`) reads the same snapshot as the VideoDraft and lists every AudioScript with its segments — a transcript's with their `startMs`/`endMs` and a `timelineMs`, the position on the earliest Clip playing the transcribed medium whose window holds that moment — its PhoneticScripts with their digests, the speech Clips saying it (with `applied`) and the Caption Clips showing one of its segments. Projection returns diagnostics; unrepresentable legacy output throws `DslProjectionError`. `MengineHttpClient.fetchDraft()` / `fetchDraftAt(seq)` read the server's content, diagnostics and matching version.
|
|
51
51
|
|
|
52
52
|
## The DSL document
|
|
53
53
|
|
|
@@ -163,7 +163,3 @@ Caption text is matched forward in `speech.caption_ids` order. A failed exact ma
|
|
|
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
|
-
|
|
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).
|