@sixb/core 0.2.7 → 0.2.8
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/dist/actions/index.js +52 -49
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/request.d.ts.map +1 -1
- package/dist/actions/run/context.d.ts.map +1 -1
- package/dist/actions/run/execute.d.ts +3 -0
- package/dist/actions/run/execute.d.ts.map +1 -1
- package/dist/actions/run/executor.d.ts +3 -0
- package/dist/actions/run/executor.d.ts.map +1 -1
- package/dist/actions/run/normalize.d.ts.map +1 -1
- package/dist/actions/run/types.d.ts +6 -0
- package/dist/actions/run/types.d.ts.map +1 -1
- package/dist/actions/types/context.d.ts +7 -0
- package/dist/actions/types/context.d.ts.map +1 -1
- package/dist/agents/context/entries.d.ts +17 -0
- package/dist/agents/context/entries.d.ts.map +1 -1
- package/dist/agents/context/index.js +3 -2
- package/dist/agents/context/index.js.map +1 -1
- package/dist/agents/context-model.d.ts.map +1 -1
- package/dist/agents/context-resolution.d.ts.map +1 -1
- package/dist/agents/execution.d.ts +7 -0
- package/dist/agents/execution.d.ts.map +1 -1
- package/dist/agents/index.js +57 -54
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/model-call-retry.d.ts +28 -0
- package/dist/agents/model-call-retry.d.ts.map +1 -0
- package/dist/agents/model-loop.d.ts +4 -2
- package/dist/agents/model-loop.d.ts.map +1 -1
- package/dist/agents/run-artifacts.d.ts +2 -0
- package/dist/agents/run-artifacts.d.ts.map +1 -1
- package/dist/agents/run-plan.d.ts +1 -1
- package/dist/agents/run-plan.d.ts.map +1 -1
- package/dist/agents/run-session-http.d.ts.map +1 -1
- package/dist/agents/run-session-serve.d.ts.map +1 -1
- package/dist/agents/run-session-wire.d.ts +6 -0
- package/dist/agents/run-session-wire.d.ts.map +1 -1
- package/dist/agents/thread-access.d.ts +13 -0
- package/dist/agents/thread-access.d.ts.map +1 -1
- package/dist/agents/tool-files.d.ts.map +1 -1
- package/dist/artifacts/caller.d.ts +10 -0
- package/dist/artifacts/caller.d.ts.map +1 -0
- package/dist/artifacts/comment-place.d.ts +26 -0
- package/dist/artifacts/comment-place.d.ts.map +1 -0
- package/dist/artifacts/comment-text.d.ts +12 -4
- package/dist/artifacts/comment-text.d.ts.map +1 -1
- package/dist/artifacts/comments.d.ts +8 -2
- package/dist/artifacts/comments.d.ts.map +1 -1
- package/dist/artifacts/errors.d.ts +1 -1
- package/dist/artifacts/errors.d.ts.map +1 -1
- package/dist/artifacts/execution.d.ts +73 -5
- package/dist/artifacts/execution.d.ts.map +1 -1
- package/dist/artifacts/frames/assets.d.ts +27 -7
- package/dist/artifacts/frames/assets.d.ts.map +1 -1
- package/dist/artifacts/frames/entries.d.ts +5 -4
- package/dist/artifacts/frames/entries.d.ts.map +1 -1
- package/dist/artifacts/frames/hyperframes.d.ts +12 -0
- package/dist/artifacts/frames/hyperframes.d.ts.map +1 -0
- package/dist/artifacts/frames/index.d.ts +3 -1
- package/dist/artifacts/frames/index.d.ts.map +1 -1
- package/dist/artifacts/frames/index.js +20 -6
- package/dist/artifacts/frames/index.js.map +3 -3
- package/dist/artifacts/frames/kit.d.ts.map +1 -1
- package/dist/artifacts/frames/protocol.d.ts +33 -0
- package/dist/artifacts/frames/protocol.d.ts.map +1 -1
- package/dist/artifacts/frames/video-runtime.d.ts +21 -0
- package/dist/artifacts/frames/video-runtime.d.ts.map +1 -0
- package/dist/artifacts/html.d.ts +23 -0
- package/dist/artifacts/html.d.ts.map +1 -1
- package/dist/artifacts/index.d.ts +5 -3
- package/dist/artifacts/index.d.ts.map +1 -1
- package/dist/artifacts/index.js +71 -10
- package/dist/artifacts/index.js.map +4 -4
- package/dist/artifacts/kinds.d.ts +1 -1
- package/dist/artifacts/kinds.d.ts.map +1 -1
- package/dist/artifacts/limits.d.ts +37 -0
- package/dist/artifacts/limits.d.ts.map +1 -1
- package/dist/artifacts/live/document.d.ts.map +1 -1
- package/dist/artifacts/live/index.d.ts +6 -2
- package/dist/artifacts/live/index.d.ts.map +1 -1
- package/dist/artifacts/live/index.js +3432 -13
- package/dist/artifacts/live/index.js.map +6 -3
- package/dist/artifacts/live/presence.d.ts +7 -5
- package/dist/artifacts/live/presence.d.ts.map +1 -1
- package/dist/artifacts/live/protocol.d.ts +4 -2
- package/dist/artifacts/live/protocol.d.ts.map +1 -1
- package/dist/artifacts/live/server.d.ts +1 -1
- package/dist/artifacts/live/server.d.ts.map +1 -1
- package/dist/artifacts/live/server.js +36 -31
- package/dist/artifacts/live/server.js.map +1 -1
- package/dist/artifacts/live/state.d.ts +2 -2
- package/dist/artifacts/media/media.d.ts +96 -0
- package/dist/artifacts/media/media.d.ts.map +1 -0
- package/dist/artifacts/media/transcriber.d.ts +29 -0
- package/dist/artifacts/media/transcriber.d.ts.map +1 -0
- package/dist/artifacts/outline.d.ts +26 -1
- package/dist/artifacts/outline.d.ts.map +1 -1
- package/dist/artifacts/publish/files.d.ts +5 -2
- package/dist/artifacts/publish/files.d.ts.map +1 -1
- package/dist/artifacts/publish/index.d.ts +11 -2
- package/dist/artifacts/publish/index.d.ts.map +1 -1
- package/dist/artifacts/publish/index.js +110 -33
- package/dist/artifacts/publish/index.js.map +1 -1
- package/dist/artifacts/publish/pdf.d.ts.map +1 -1
- package/dist/artifacts/publish/previews.d.ts +7 -2
- package/dist/artifacts/publish/previews.d.ts.map +1 -1
- package/dist/artifacts/publish/publish.d.ts.map +1 -1
- package/dist/artifacts/publish/validate/html.d.ts +5 -4
- package/dist/artifacts/publish/validate/html.d.ts.map +1 -1
- package/dist/artifacts/publish/validate/video.d.ts +36 -0
- package/dist/artifacts/publish/validate/video.d.ts.map +1 -0
- package/dist/artifacts/publish/video.d.ts +79 -0
- package/dist/artifacts/publish/video.d.ts.map +1 -0
- package/dist/artifacts/resolve.d.ts +9 -0
- package/dist/artifacts/resolve.d.ts.map +1 -1
- package/dist/artifacts/video/composition.d.ts +183 -0
- package/dist/artifacts/video/composition.d.ts.map +1 -0
- package/dist/artifacts/video/edit.d.ts +298 -0
- package/dist/artifacts/video/edit.d.ts.map +1 -0
- package/dist/artifacts/video/export.d.ts +142 -0
- package/dist/artifacts/video/export.d.ts.map +1 -0
- package/dist/artifacts/video/looks.d.ts +133 -0
- package/dist/artifacts/video/looks.d.ts.map +1 -0
- package/dist/artifacts/video/project.d.ts +74 -0
- package/dist/artifacts/video/project.d.ts.map +1 -0
- package/dist/artifacts/video/stills.d.ts +65 -0
- package/dist/artifacts/video/stills.d.ts.map +1 -0
- package/dist/artifacts/video/timeline.d.ts +153 -0
- package/dist/artifacts/video/timeline.d.ts.map +1 -0
- package/dist/auth/index.js +9 -8
- package/dist/auth/index.js.map +1 -1
- package/dist/authorization/index.js +5 -4
- package/dist/authorization/index.js.map +1 -1
- package/dist/blob-storage/browser.d.ts +1 -1
- package/dist/blob-storage/browser.d.ts.map +1 -1
- package/dist/blob-storage/browser.js +8 -4
- package/dist/blob-storage/browser.js.map +1 -1
- package/dist/blob-storage/constants.d.ts +8 -3
- package/dist/blob-storage/constants.d.ts.map +1 -1
- package/dist/blob-storage/download-urls.d.ts +2 -2
- package/dist/blob-storage/download-urls.d.ts.map +1 -1
- package/dist/blob-storage/index.d.ts +1 -1
- package/dist/blob-storage/index.d.ts.map +1 -1
- package/dist/blob-storage/index.js +9 -5
- package/dist/blob-storage/index.js.map +1 -1
- package/dist/blob-storage/internal.d.ts +2 -2
- package/dist/blob-storage/internal.d.ts.map +1 -1
- package/dist/blob-storage/internal.js +10 -4
- package/dist/blob-storage/internal.js.map +1 -1
- package/dist/blob-storage/media-type.d.ts +12 -3
- package/dist/blob-storage/media-type.d.ts.map +1 -1
- package/dist/bootstrap/index.js +61 -58
- package/dist/bootstrap/index.js.map +2 -2
- package/dist/{chunk-az95tsh3.js → chunk-0fjryajn.js} +3 -2
- package/dist/chunk-0fjryajn.js.map +11 -0
- package/dist/{chunk-9tpmfh3n.js → chunk-0mk8qqp9.js} +3 -3
- package/dist/{chunk-9tpmfh3n.js.map → chunk-0mk8qqp9.js.map} +3 -3
- package/dist/{chunk-88xeh6zx.js → chunk-1g4me5f2.js} +182 -7
- package/dist/{chunk-88xeh6zx.js.map → chunk-1g4me5f2.js.map} +3 -3
- package/dist/{chunk-7mhbs9yy.js → chunk-1z8ccj53.js} +1 -1
- package/dist/{chunk-wkv3h3q7.js → chunk-2138b0ng.js} +115 -8
- package/dist/chunk-2138b0ng.js.map +12 -0
- package/dist/chunk-23eaayw4.js +3757 -0
- package/dist/chunk-23eaayw4.js.map +22 -0
- package/dist/{chunk-m1cwncee.js → chunk-2mxq1yd9.js} +45 -40
- package/dist/{chunk-m1cwncee.js.map → chunk-2mxq1yd9.js.map} +3 -3
- package/dist/{chunk-dmnd9ea6.js → chunk-30a0ftnm.js} +2 -2
- package/dist/chunk-389ybvw9.js.map +2 -2
- package/dist/{chunk-qbd282aa.js → chunk-39q9ybav.js} +2 -2
- package/dist/{chunk-06kpaqg4.js → chunk-3d9w8t4n.js} +110 -22
- package/dist/{chunk-06kpaqg4.js.map → chunk-3d9w8t4n.js.map} +5 -5
- package/dist/chunk-3dvcdn9w.js +8 -0
- package/dist/chunk-3dvcdn9w.js.map +10 -0
- package/dist/{chunk-fdk0ks9p.js → chunk-3x902cja.js} +3 -3
- package/dist/{chunk-c4nrycdy.js → chunk-4q4a5a96.js} +1 -1
- package/dist/{chunk-9cyq87qa.js → chunk-4tdm3fsj.js} +95 -32
- package/dist/{chunk-9cyq87qa.js.map → chunk-4tdm3fsj.js.map} +9 -9
- package/dist/{chunk-cpy282b8.js → chunk-4w8qzy9w.js} +6 -6
- package/dist/{chunk-c29729me.js → chunk-4z9xtxke.js} +8 -7
- package/dist/chunk-4z9xtxke.js.map +12 -0
- package/dist/chunk-5278qwax.js +270 -0
- package/dist/chunk-5278qwax.js.map +11 -0
- package/dist/{chunk-k1g14kk3.js → chunk-6a4hp405.js} +4 -5
- package/dist/{chunk-k1g14kk3.js.map → chunk-6a4hp405.js.map} +3 -3
- package/dist/{chunk-xavet0qs.js → chunk-6whr25gw.js} +2 -2
- package/dist/{chunk-mbwsgjn7.js → chunk-7zygtcqq.js} +14 -2
- package/dist/chunk-7zygtcqq.js.map +11 -0
- package/dist/chunk-88s9z5pf.js +3 -0
- package/dist/{chunk-de5sfbc3.js.map → chunk-88s9z5pf.js.map} +1 -1
- package/dist/{chunk-ygvay56w.js → chunk-896te58g.js} +2 -2
- package/dist/{chunk-pfdq1ga6.js → chunk-8eqqqc1h.js} +3 -3
- package/dist/{chunk-yyj009tv.js → chunk-8tefbhdx.js} +14 -14
- package/dist/{chunk-yyj009tv.js.map → chunk-8tefbhdx.js.map} +1 -1
- package/dist/{chunk-jka26v8c.js → chunk-8x1bsp68.js} +1 -1
- package/dist/{chunk-wzcjhv54.js → chunk-93e4w7te.js} +113 -1
- package/dist/chunk-93e4w7te.js.map +11 -0
- package/dist/{chunk-phs5fbff.js → chunk-990a5bkc.js} +424 -76
- package/dist/chunk-990a5bkc.js.map +21 -0
- package/dist/{chunk-6md802cc.js → chunk-9az7kjv4.js} +6 -6
- package/dist/{chunk-95ps0k5q.js → chunk-9e5t53z0.js} +1 -1
- package/dist/{chunk-js9e6487.js → chunk-9p7kyeqz.js} +4 -4
- package/dist/chunk-a68zz4r0.js +537 -0
- package/dist/chunk-a68zz4r0.js.map +11 -0
- package/dist/{chunk-d7vyc7k6.js → chunk-a700gjc8.js} +10 -2
- package/dist/chunk-a700gjc8.js.map +10 -0
- package/dist/{chunk-gfdh9kqa.js → chunk-a9qzjaz2.js} +2 -5
- package/dist/chunk-a9qzjaz2.js.map +10 -0
- package/dist/{chunk-8qmp9fpa.js → chunk-as94vcty.js} +619 -482
- package/dist/{chunk-8qmp9fpa.js.map → chunk-as94vcty.js.map} +19 -19
- package/dist/{chunk-brybqw5k.js → chunk-bkxm2dzx.js} +1 -1
- package/dist/{chunk-ppxf7gw2.js → chunk-d7t9jnym.js} +3 -3
- package/dist/{chunk-tapdssb5.js → chunk-e3b1r4d2.js} +8 -7
- package/dist/{chunk-tapdssb5.js.map → chunk-e3b1r4d2.js.map} +4 -4
- package/dist/{chunk-cg7cygfj.js → chunk-fdmvaz7x.js} +1 -1
- package/dist/{chunk-191jz8a6.js → chunk-ff0qdk7z.js} +1 -1
- package/dist/{chunk-9vsc919v.js → chunk-fgxvrxx4.js} +22 -2
- package/dist/chunk-fgxvrxx4.js.map +10 -0
- package/dist/{chunk-wx7smkn2.js → chunk-fq8drkp0.js} +1 -1
- package/dist/{chunk-60662fyv.js → chunk-fqms1a8c.js} +132 -4
- package/dist/{chunk-60662fyv.js.map → chunk-fqms1a8c.js.map} +8 -6
- package/dist/{chunk-v8a1qjzp.js → chunk-hpswfrjj.js} +1 -1
- package/dist/{chunk-qttqe1ah.js → chunk-jbg905hn.js} +80 -13
- package/dist/chunk-jbg905hn.js.map +25 -0
- package/dist/{chunk-bz5bnjjt.js → chunk-jjte0h4p.js} +1 -1
- package/dist/{chunk-hvq8xs66.js → chunk-jwjwvzj1.js} +797 -51
- package/dist/chunk-jwjwvzj1.js.map +38 -0
- package/dist/{chunk-k29rdc3h.js → chunk-k3vd2vyz.js} +6 -2
- package/dist/chunk-k3vd2vyz.js.map +10 -0
- package/dist/chunk-kcqpk9w1.js.map +2 -2
- package/dist/chunk-mvz89age.js.map +2 -2
- package/dist/{chunk-xrmbhap8.js → chunk-mwg0nwkb.js} +1 -1
- package/dist/{chunk-a3faa34j.js → chunk-nfjt8k8j.js} +1 -1
- package/dist/{chunk-394zjzjs.js → chunk-nhgqz3g3.js} +3 -3
- package/dist/{chunk-bqr703h4.js → chunk-p0c5kkhn.js} +23 -6
- package/dist/{chunk-bqr703h4.js.map → chunk-p0c5kkhn.js.map} +3 -3
- package/dist/{chunk-92wrka15.js → chunk-q150fnj9.js} +1 -1
- package/dist/{chunk-w3t94hm6.js → chunk-qk3zq25v.js} +1 -1
- package/dist/chunk-rtkqczbr.js.map +2 -2
- package/dist/{chunk-3qtk0070.js → chunk-ssqbrts1.js} +86 -9
- package/dist/chunk-ssqbrts1.js.map +14 -0
- package/dist/{chunk-5qqmndhm.js → chunk-szzhrn3e.js} +1 -1
- package/dist/{chunk-n1hbwc6y.js → chunk-t6pfch4e.js} +1 -1
- package/dist/{chunk-xtztwpkh.js → chunk-v6h4tc2v.js} +86 -5
- package/dist/chunk-v6h4tc2v.js.map +12 -0
- package/dist/{chunk-brhp9d97.js → chunk-vmqjndb3.js} +2 -2
- package/dist/chunk-vtjzwymr.js.map +2 -2
- package/dist/{chunk-fycac8e9.js → chunk-wpba6hhd.js} +10 -10
- package/dist/{chunk-fycac8e9.js.map → chunk-wpba6hhd.js.map} +1 -1
- package/dist/{chunk-t58sktr5.js → chunk-wrb1x1ss.js} +2 -2
- package/dist/{chunk-5sswe5ej.js → chunk-wsv23wvr.js} +2 -2
- package/dist/{chunk-04r2fdsd.js → chunk-x0hqc54n.js} +4 -4
- package/dist/{chunk-sgx82nnt.js → chunk-xg31er4p.js} +43 -4
- package/dist/chunk-xg31er4p.js.map +10 -0
- package/dist/{chunk-3neam1y5.js → chunk-y3qb965a.js} +2 -2
- package/dist/{chunk-5pz3htbe.js → chunk-y57eawng.js} +3 -3
- package/dist/{chunk-8ncg20rd.js → chunk-yah25st6.js} +5 -5
- package/dist/chunk-yah25st6.js.map +10 -0
- package/dist/{chunk-mrs7jy17.js → chunk-ywvxcmqj.js} +106 -13
- package/dist/{chunk-mrs7jy17.js.map → chunk-ywvxcmqj.js.map} +8 -7
- package/dist/{chunk-44hrfmbk.js → chunk-zmq9xc9s.js} +70 -31
- package/dist/{chunk-44hrfmbk.js.map → chunk-zmq9xc9s.js.map} +4 -3
- package/dist/datasets/write.js +8 -7
- package/dist/datasets/write.js.map +1 -1
- package/dist/errors/catalog.d.ts.map +1 -1
- package/dist/execution/agent.js +52 -49
- package/dist/execution/agent.js.map +1 -1
- package/dist/execution/kernel-operation.d.ts +1 -0
- package/dist/execution/kernel-operation.d.ts.map +1 -1
- package/dist/execution/primitive.js +52 -49
- package/dist/execution/primitive.js.map +1 -1
- package/dist/execution/request.js +53 -50
- package/dist/execution/request.js.map +2 -2
- package/dist/execution/types.d.ts +5 -0
- package/dist/execution/types.d.ts.map +1 -1
- package/dist/http/api-routes.d.ts.map +1 -1
- package/dist/http/index.js +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +69 -65
- package/dist/index.js.map +1 -1
- package/dist/lake-storage/index.js +9 -8
- package/dist/lake-storage/index.js.map +1 -1
- package/dist/maintenance/index.js +9 -8
- package/dist/maintenance/index.js.map +2 -2
- package/dist/materializer/index.js +26 -24
- package/dist/materializer/index.js.map +1 -1
- package/dist/models/audio/runtime.d.ts +3 -1
- package/dist/models/audio/runtime.d.ts.map +1 -1
- package/dist/models/audio/speech.d.ts +2 -2
- package/dist/models/audio/speech.d.ts.map +1 -1
- package/dist/models/audio/types.d.ts +23 -3
- package/dist/models/audio/types.d.ts.map +1 -1
- package/dist/models/calls.d.ts +7 -0
- package/dist/models/calls.d.ts.map +1 -1
- package/dist/models/catalog.d.ts +5 -0
- package/dist/models/catalog.d.ts.map +1 -1
- package/dist/models/definitions.d.ts +3 -2
- package/dist/models/definitions.d.ts.map +1 -1
- package/dist/models/errors.d.ts +5 -3
- package/dist/models/errors.d.ts.map +1 -1
- package/dist/models/events.d.ts +2 -0
- package/dist/models/events.d.ts.map +1 -1
- package/dist/models/execution/index.d.ts +1 -0
- package/dist/models/execution/index.d.ts.map +1 -1
- package/dist/models/execution/index.js +33 -28
- package/dist/models/execution/index.js.map +1 -1
- package/dist/models/execution/model-call-limits.d.ts.map +1 -1
- package/dist/models/execution/model-call-recorder.d.ts +8 -0
- package/dist/models/execution/model-call-recorder.d.ts.map +1 -1
- package/dist/models/execution/session.d.ts +12 -0
- package/dist/models/execution/session.d.ts.map +1 -1
- package/dist/models/execution/usage.d.ts.map +1 -1
- package/dist/models/execution.d.ts +1 -1
- package/dist/models/execution.d.ts.map +1 -1
- package/dist/models/generation-types.d.ts +2 -0
- package/dist/models/generation-types.d.ts.map +1 -1
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +2 -2
- package/dist/models/input-file.d.ts.map +1 -1
- package/dist/models/pricing.d.ts +2 -1
- package/dist/models/pricing.d.ts.map +1 -1
- package/dist/models/rate-card.d.ts +6 -0
- package/dist/models/rate-card.d.ts.map +1 -1
- package/dist/models/tools.d.ts +5 -0
- package/dist/models/tools.d.ts.map +1 -1
- package/dist/models/video/catalog.d.ts +13 -0
- package/dist/models/video/catalog.d.ts.map +1 -0
- package/dist/models/video/check.d.ts +76 -0
- package/dist/models/video/check.d.ts.map +1 -0
- package/dist/models/video/runtime.d.ts +21 -0
- package/dist/models/video/runtime.d.ts.map +1 -0
- package/dist/models/video/types.d.ts +188 -0
- package/dist/models/video/types.d.ts.map +1 -0
- package/dist/objects/execution.d.ts.map +1 -1
- package/dist/objects/index.js +52 -49
- package/dist/objects/index.js.map +1 -1
- package/dist/objects/query/index.js +25 -23
- package/dist/objects/query/index.js.map +1 -1
- package/dist/objects/sdk/object-set.d.ts.map +1 -1
- package/dist/ontology/index.js +4 -4
- package/dist/ontology/internal.js +4 -4
- package/dist/pipelines/index.js +28 -26
- package/dist/pipelines/index.js.map +1 -1
- package/dist/projections/internal.js +26 -24
- package/dist/projections/internal.js.map +1 -1
- package/dist/queues/index.d.ts +1 -1
- package/dist/queues/index.d.ts.map +1 -1
- package/dist/queues/types.d.ts +103 -6
- package/dist/queues/types.d.ts.map +1 -1
- package/dist/runtime/host.d.ts.map +1 -1
- package/dist/runtime/internal.d.ts +3 -1
- package/dist/runtime/internal.d.ts.map +1 -1
- package/dist/runtime/internal.js +49 -43
- package/dist/runtime/internal.js.map +2 -2
- package/dist/runtime/sixb.d.ts.map +1 -1
- package/dist/sandboxes/index.js +6 -6
- package/dist/security/public.d.ts +6 -4
- package/dist/security/public.d.ts.map +1 -1
- package/dist/security/public.js +5 -3
- package/dist/security/public.js.map +1 -1
- package/dist/shares/internal.js +25 -23
- package/dist/shares/internal.js.map +2 -2
- package/dist/storage/agents/in-memory.d.ts +2 -1
- package/dist/storage/agents/in-memory.d.ts.map +1 -1
- package/dist/storage/agents/index.d.ts +1 -1
- package/dist/storage/agents/index.d.ts.map +1 -1
- package/dist/storage/agents/provider.js +4 -4
- package/dist/storage/agents/types.d.ts +13 -0
- package/dist/storage/agents/types.d.ts.map +1 -1
- package/dist/storage/ai-cost/analytics.d.ts +1 -0
- package/dist/storage/ai-cost/analytics.d.ts.map +1 -1
- package/dist/storage/ai-cost/groups.d.ts +2 -0
- package/dist/storage/ai-cost/groups.d.ts.map +1 -1
- package/dist/storage/ai-cost/provider.js +5 -5
- package/dist/storage/ai-cost/types.d.ts +2 -1
- package/dist/storage/ai-cost/types.d.ts.map +1 -1
- package/dist/storage/ai-cost/validation.d.ts.map +1 -1
- package/dist/storage/ai-limits/enforcement.js +3 -3
- package/dist/storage/ai-limits/provider.js +2 -2
- package/dist/storage/ai-usage/in-memory.d.ts +8 -1
- package/dist/storage/ai-usage/in-memory.d.ts.map +1 -1
- package/dist/storage/ai-usage/index.d.ts +2 -2
- package/dist/storage/ai-usage/index.d.ts.map +1 -1
- package/dist/storage/ai-usage/record.d.ts +11 -1
- package/dist/storage/ai-usage/record.d.ts.map +1 -1
- package/dist/storage/ai-usage/types.d.ts +80 -1
- package/dist/storage/ai-usage/types.d.ts.map +1 -1
- package/dist/storage/ai-usage/usage.d.ts +1 -1
- package/dist/storage/ai-usage/usage.d.ts.map +1 -1
- package/dist/storage/artifacts/in-memory.d.ts +25 -2
- package/dist/storage/artifacts/in-memory.d.ts.map +1 -1
- package/dist/storage/artifacts/index.d.ts +1 -1
- package/dist/storage/artifacts/index.d.ts.map +1 -1
- package/dist/storage/artifacts/record.d.ts +12 -1
- package/dist/storage/artifacts/record.d.ts.map +1 -1
- package/dist/storage/artifacts/types.d.ts +198 -6
- package/dist/storage/artifacts/types.d.ts.map +1 -1
- package/dist/storage/executions/provider.js +3 -2
- package/dist/storage/executions/provider.js.map +1 -1
- package/dist/storage/file-upload-sessions/provider.js +10 -9
- package/dist/storage/file-upload-sessions/provider.js.map +1 -1
- package/dist/storage/in-memory/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +4 -4
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +24 -22
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/internal.d.ts +2 -2
- package/dist/storage/internal.d.ts.map +1 -1
- package/dist/storage/internal.js +34 -14
- package/dist/storage/internal.js.map +2 -2
- package/dist/storage/workflow-runs/provider.js +10 -9
- package/dist/storage/workflow-runs/provider.js.map +1 -1
- package/dist/syncs/index.js +29 -27
- package/dist/syncs/index.js.map +1 -1
- package/dist/testing/agent-storage-contract.d.ts.map +1 -1
- package/dist/testing/ai-cost-storage-contract.d.ts.map +1 -1
- package/dist/testing/ai-usage-storage-contract.d.ts.map +1 -1
- package/dist/testing/artifact-storage-contract.d.ts +3 -0
- package/dist/testing/artifact-storage-contract.d.ts.map +1 -1
- package/dist/testing/execution-storage-contract.d.ts.map +1 -1
- package/dist/testing/index.js +619 -72
- package/dist/testing/index.js.map +9 -9
- package/dist/testing/lake-storage-contract.d.ts.map +1 -1
- package/dist/testing/queues-contract.d.ts.map +1 -1
- package/dist/webhooks/internal.js +26 -24
- package/dist/webhooks/internal.js.map +2 -2
- package/dist/workers/index.js +5 -5
- package/dist/workers/index.js.map +1 -1
- package/dist/workflows/index.js +58 -55
- package/dist/workflows/index.js.map +1 -1
- package/package.json +3 -1
- package/src/actions/request.ts +2 -0
- package/src/actions/run/context.ts +1 -0
- package/src/actions/run/execute.ts +5 -1
- package/src/actions/run/executor.ts +4 -0
- package/src/actions/run/normalize.ts +4 -0
- package/src/actions/run/types.ts +6 -0
- package/src/actions/types/context.ts +7 -0
- package/src/agents/README.md +3 -1
- package/src/agents/context/entries.ts +63 -9
- package/src/agents/context-model.ts +9 -0
- package/src/agents/context-resolution.ts +7 -0
- package/src/agents/execution.ts +39 -0
- package/src/agents/model-call-retry.ts +69 -0
- package/src/agents/model-loop.ts +86 -12
- package/src/agents/run-artifacts.ts +10 -5
- package/src/agents/run-plan.ts +2 -1
- package/src/agents/run-session-http.ts +1 -0
- package/src/agents/run-session-serve.ts +23 -2
- package/src/agents/run-session-wire.ts +45 -0
- package/src/agents/thread-access.ts +34 -1
- package/src/agents/tool-files.ts +23 -7
- package/src/artifacts/caller.ts +42 -0
- package/src/artifacts/comment-place.ts +51 -0
- package/src/artifacts/comment-text.ts +50 -7
- package/src/artifacts/comments.ts +132 -34
- package/src/artifacts/errors.ts +1 -0
- package/src/artifacts/execution.ts +249 -5
- package/src/artifacts/frames/assets.ts +93 -15
- package/src/artifacts/frames/entries.ts +7 -4
- package/src/artifacts/frames/generated/hyperframes-notices.txt +290 -0
- package/src/artifacts/frames/generated/hyperframes.txt +1145 -0
- package/src/artifacts/frames/generated.d.ts +5 -0
- package/src/artifacts/frames/hyperframes.ts +14 -0
- package/src/artifacts/frames/index.ts +5 -0
- package/src/artifacts/frames/kit.ts +7 -3
- package/src/artifacts/frames/protocol.ts +56 -0
- package/src/artifacts/frames/video-runtime.ts +165 -0
- package/src/artifacts/html.ts +13 -0
- package/src/artifacts/index.ts +7 -0
- package/src/artifacts/kinds.ts +9 -1
- package/src/artifacts/limits.ts +43 -0
- package/src/artifacts/live/document.ts +27 -3
- package/src/artifacts/live/index.ts +58 -2
- package/src/artifacts/live/presence.ts +17 -5
- package/src/artifacts/live/protocol.ts +4 -2
- package/src/artifacts/live/server.ts +1 -1
- package/src/artifacts/live/state.ts +3 -3
- package/src/artifacts/media/README.md +75 -0
- package/src/artifacts/media/media.ts +316 -0
- package/src/artifacts/media/transcriber.ts +84 -0
- package/src/artifacts/outline.ts +28 -0
- package/src/artifacts/publish/files.ts +19 -6
- package/src/artifacts/publish/index.ts +49 -2
- package/src/artifacts/publish/pdf.ts +3 -1
- package/src/artifacts/publish/previews.ts +22 -8
- package/src/artifacts/publish/publish.ts +4 -1
- package/src/artifacts/publish/validate/html.ts +23 -18
- package/src/artifacts/publish/validate/video.ts +309 -0
- package/src/artifacts/publish/video.ts +235 -0
- package/src/artifacts/resolve.ts +45 -0
- package/src/artifacts/video/README.md +402 -0
- package/src/artifacts/video/composition.ts +898 -0
- package/src/artifacts/video/edit.ts +3967 -0
- package/src/artifacts/video/export.ts +352 -0
- package/src/artifacts/video/looks.ts +694 -0
- package/src/artifacts/video/project.ts +198 -0
- package/src/artifacts/video/stills.ts +168 -0
- package/src/artifacts/video/timeline.ts +658 -0
- package/src/blob-storage/browser.ts +1 -1
- package/src/blob-storage/constants.ts +9 -3
- package/src/blob-storage/download-urls.ts +5 -3
- package/src/blob-storage/index.ts +1 -0
- package/src/blob-storage/internal.ts +13 -2
- package/src/blob-storage/media-type.ts +149 -8
- package/src/errors/catalog.ts +2 -1
- package/src/execution/authorization.ts +2 -2
- package/src/execution/kernel-operation.ts +14 -0
- package/src/execution/types.ts +2 -0
- package/src/http/api-routes.ts +117 -0
- package/src/index.ts +18 -1
- package/src/lake-storage/definition-updates.ts +3 -9
- package/src/models/audio/runtime.ts +48 -3
- package/src/models/audio/speech.ts +2 -2
- package/src/models/audio/types.ts +24 -3
- package/src/models/calls.ts +35 -18
- package/src/models/catalog.ts +9 -2
- package/src/models/definitions.ts +4 -2
- package/src/models/errors.ts +5 -3
- package/src/models/events.ts +2 -0
- package/src/models/execution/README.md +68 -2
- package/src/models/execution/index.ts +1 -0
- package/src/models/execution/model-call-limits.ts +11 -5
- package/src/models/execution/model-call-recorder.ts +14 -0
- package/src/models/execution/session.ts +52 -23
- package/src/models/execution/usage.ts +1 -0
- package/src/models/execution.ts +13 -2
- package/src/models/generation-types.ts +2 -0
- package/src/models/index.ts +20 -1
- package/src/models/input-file.ts +7 -2
- package/src/models/pricing.ts +19 -1
- package/src/models/rate-card.ts +15 -3
- package/src/models/tools.ts +5 -0
- package/src/models/video/catalog.ts +101 -0
- package/src/models/video/check.ts +441 -0
- package/src/models/video/runtime.ts +550 -0
- package/src/models/video/types.ts +194 -0
- package/src/objects/execution.ts +2 -0
- package/src/objects/sdk/object-set.ts +2 -0
- package/src/queues/index.ts +5 -0
- package/src/queues/types.ts +126 -5
- package/src/runtime/host.ts +3 -0
- package/src/runtime/internal.ts +3 -1
- package/src/runtime/sixb.ts +12 -4
- package/src/sandboxes/README.md +3 -2
- package/src/security/public.ts +6 -4
- package/src/storage/agents/in-memory.ts +39 -0
- package/src/storage/agents/index.ts +1 -0
- package/src/storage/agents/types.ts +14 -0
- package/src/storage/ai-cost/analytics.ts +2 -0
- package/src/storage/ai-cost/codec.ts +1 -0
- package/src/storage/ai-cost/groups.ts +7 -0
- package/src/storage/ai-cost/types.ts +2 -0
- package/src/storage/ai-cost/validation.ts +2 -0
- package/src/storage/ai-usage/in-memory.ts +93 -0
- package/src/storage/ai-usage/index.ts +10 -0
- package/src/storage/ai-usage/record.ts +106 -0
- package/src/storage/ai-usage/types.ts +102 -1
- package/src/storage/ai-usage/usage.ts +2 -0
- package/src/storage/artifacts/in-memory.ts +108 -11
- package/src/storage/artifacts/index.ts +14 -0
- package/src/storage/artifacts/record.ts +203 -1
- package/src/storage/artifacts/types.ts +199 -6
- package/src/storage/executions/validation.ts +2 -2
- package/src/storage/in-memory/index.ts +1 -1
- package/src/storage/index.ts +22 -1
- package/src/storage/internal.ts +9 -0
- package/src/testing/agent-storage-contract.ts +108 -0
- package/src/testing/ai-cost-storage-contract.ts +1 -0
- package/src/testing/ai-usage-storage-contract.ts +145 -1
- package/src/testing/artifact-storage-contract.ts +320 -0
- package/src/testing/execution-storage-contract.ts +10 -2
- package/src/testing/lake-storage-contract.ts +27 -0
- package/src/testing/queues-contract.ts +71 -0
- package/dist/chunk-3723kgba.js +0 -29
- package/dist/chunk-3723kgba.js.map +0 -10
- package/dist/chunk-3qtk0070.js.map +0 -14
- package/dist/chunk-8ncg20rd.js.map +0 -10
- package/dist/chunk-9vsc919v.js.map +0 -10
- package/dist/chunk-az95tsh3.js.map +0 -11
- package/dist/chunk-c29729me.js.map +0 -12
- package/dist/chunk-d7vyc7k6.js.map +0 -10
- package/dist/chunk-de5sfbc3.js +0 -3
- package/dist/chunk-gfdh9kqa.js.map +0 -11
- package/dist/chunk-hvq8xs66.js.map +0 -34
- package/dist/chunk-k29rdc3h.js.map +0 -10
- package/dist/chunk-mbwsgjn7.js.map +0 -11
- package/dist/chunk-phs5fbff.js.map +0 -19
- package/dist/chunk-qttqe1ah.js.map +0 -24
- package/dist/chunk-sgx82nnt.js.map +0 -10
- package/dist/chunk-vs2s3p8n.js +0 -2274
- package/dist/chunk-vs2s3p8n.js.map +0 -20
- package/dist/chunk-wkv3h3q7.js.map +0 -12
- package/dist/chunk-wzcjhv54.js.map +0 -11
- package/dist/chunk-xtztwpkh.js.map +0 -12
- /package/dist/{chunk-7mhbs9yy.js.map → chunk-1z8ccj53.js.map} +0 -0
- /package/dist/{chunk-dmnd9ea6.js.map → chunk-30a0ftnm.js.map} +0 -0
- /package/dist/{chunk-qbd282aa.js.map → chunk-39q9ybav.js.map} +0 -0
- /package/dist/{chunk-fdk0ks9p.js.map → chunk-3x902cja.js.map} +0 -0
- /package/dist/{chunk-c4nrycdy.js.map → chunk-4q4a5a96.js.map} +0 -0
- /package/dist/{chunk-cpy282b8.js.map → chunk-4w8qzy9w.js.map} +0 -0
- /package/dist/{chunk-xavet0qs.js.map → chunk-6whr25gw.js.map} +0 -0
- /package/dist/{chunk-ygvay56w.js.map → chunk-896te58g.js.map} +0 -0
- /package/dist/{chunk-pfdq1ga6.js.map → chunk-8eqqqc1h.js.map} +0 -0
- /package/dist/{chunk-jka26v8c.js.map → chunk-8x1bsp68.js.map} +0 -0
- /package/dist/{chunk-6md802cc.js.map → chunk-9az7kjv4.js.map} +0 -0
- /package/dist/{chunk-95ps0k5q.js.map → chunk-9e5t53z0.js.map} +0 -0
- /package/dist/{chunk-js9e6487.js.map → chunk-9p7kyeqz.js.map} +0 -0
- /package/dist/{chunk-brybqw5k.js.map → chunk-bkxm2dzx.js.map} +0 -0
- /package/dist/{chunk-ppxf7gw2.js.map → chunk-d7t9jnym.js.map} +0 -0
- /package/dist/{chunk-cg7cygfj.js.map → chunk-fdmvaz7x.js.map} +0 -0
- /package/dist/{chunk-191jz8a6.js.map → chunk-ff0qdk7z.js.map} +0 -0
- /package/dist/{chunk-wx7smkn2.js.map → chunk-fq8drkp0.js.map} +0 -0
- /package/dist/{chunk-v8a1qjzp.js.map → chunk-hpswfrjj.js.map} +0 -0
- /package/dist/{chunk-bz5bnjjt.js.map → chunk-jjte0h4p.js.map} +0 -0
- /package/dist/{chunk-xrmbhap8.js.map → chunk-mwg0nwkb.js.map} +0 -0
- /package/dist/{chunk-a3faa34j.js.map → chunk-nfjt8k8j.js.map} +0 -0
- /package/dist/{chunk-394zjzjs.js.map → chunk-nhgqz3g3.js.map} +0 -0
- /package/dist/{chunk-92wrka15.js.map → chunk-q150fnj9.js.map} +0 -0
- /package/dist/{chunk-w3t94hm6.js.map → chunk-qk3zq25v.js.map} +0 -0
- /package/dist/{chunk-5qqmndhm.js.map → chunk-szzhrn3e.js.map} +0 -0
- /package/dist/{chunk-n1hbwc6y.js.map → chunk-t6pfch4e.js.map} +0 -0
- /package/dist/{chunk-brhp9d97.js.map → chunk-vmqjndb3.js.map} +0 -0
- /package/dist/{chunk-t58sktr5.js.map → chunk-wrb1x1ss.js.map} +0 -0
- /package/dist/{chunk-5sswe5ej.js.map → chunk-wsv23wvr.js.map} +0 -0
- /package/dist/{chunk-04r2fdsd.js.map → chunk-x0hqc54n.js.map} +0 -0
- /package/dist/{chunk-3neam1y5.js.map → chunk-y3qb965a.js.map} +0 -0
- /package/dist/{chunk-5pz3htbe.js.map → chunk-y57eawng.js.map} +0 -0
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
# A video's composition
|
|
2
|
+
|
|
3
|
+
A `video` artifact's version is a [HyperFrames](https://hyperframes.heygen.com) project, unchanged:
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
index.html the root composition, and one host per scene
|
|
7
|
+
scenes/<id>.html a <template> holding the scene's composition
|
|
8
|
+
media/<name> what the scenes play
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
`composition.ts` reads it the way HyperFrames resolves it. Publishing checks a version with it
|
|
12
|
+
(`publish/validate/video.ts`), and the app's player and editor will read it in the browser, so it
|
|
13
|
+
runs on parse5 alone: no `HTMLRewriter`, no Node or Bun API. `browser-entries.e2e.ts` holds it to
|
|
14
|
+
that.
|
|
15
|
+
|
|
16
|
+
## Reading it
|
|
17
|
+
|
|
18
|
+
1. `parseVideoRoot(index.html)` finds the root composition: the first element with
|
|
19
|
+
`data-composition-id`, or the one with `data-root="true"`. Its hosts are the elements with
|
|
20
|
+
`data-composition-src` whose nearest composition is the root. Each host writes its scene's start
|
|
21
|
+
and length, so the whole timeline resolves here, from `index.html` alone.
|
|
22
|
+
2. `parseVideoScene(file)` reads one scene file: a `<template>` and the composition in it.
|
|
23
|
+
3. `composeVideo` checks that each file holds its host's composition, and adds what each plays.
|
|
24
|
+
|
|
25
|
+
`readVideoComposition` runs the three over a reader of the version's files. Every refusal is a
|
|
26
|
+
sentence naming the file, the scene, and what to write instead.
|
|
27
|
+
|
|
28
|
+
## Where it agrees with HyperFrames
|
|
29
|
+
|
|
30
|
+
Checked against `hyperframes timeline --json` (0.9.68, in the agent image):
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
docker run --rm --network none -v "$PWD":/w sixb-agent:1.4.0 \
|
|
34
|
+
bash -lc 'cd /w && hyperframes timeline --json'
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
- **Starts.** `data-start` is seconds when `Number()` reads it as finite; else a scene's name when
|
|
38
|
+
it matches `[A-Za-z0-9_.:-]+`; else `<name> + n` or `<name> - n`, the number trailing. So
|
|
39
|
+
`intro-2` names a scene, and `intro - 2` is two seconds before `intro` ends.
|
|
40
|
+
- **Names.** HyperFrames finds what `data-start` names by element `id` first, then by
|
|
41
|
+
`data-composition-id`, and so does `resolveStarts`. A host's own `id` may differ, as
|
|
42
|
+
HyperFrames' templates write `id="intro-layer" data-composition-id="intro"`, so a start may name
|
|
43
|
+
the scene either way. A name that could read two ways is refused: two hosts of one `id`, a
|
|
44
|
+
host's `id` that is another scene's id, or another element taking either name. Ids start with a
|
|
45
|
+
letter, so none reads as a number.
|
|
46
|
+
- **A scene's identity** is its `data-composition-id` alone, never its host's `id`: the outline,
|
|
47
|
+
`artifact:…#<scene>` addresses, and comments name it by that.
|
|
48
|
+
- **Lengths.** HyperFrames' timeline reads a scene's length from its host alone, and a host
|
|
49
|
+
without `data-duration` is 0 seconds long there, whatever its file says. Every host needs one.
|
|
50
|
+
- **Refused where HyperFrames would guess.** It clamps a negative start to 0 and plays a cycle of
|
|
51
|
+
starts somehow: both are refusals here.
|
|
52
|
+
- **Files a scene plays.** `videoFilePath` resolves as HyperFrames' compiler rebases a scene's
|
|
53
|
+
paths: `../` climbs from the scene's folder, a path beside the scene is used when the version
|
|
54
|
+
holds it, anything else is read from the project's root. `?query` and `#fragment` are dropped.
|
|
55
|
+
- **Template content** is not in the page until HyperFrames puts it there, so roots, hosts and ids
|
|
56
|
+
are looked for outside templates; the files a template plays still count.
|
|
57
|
+
- `data-label` is HyperFrames' own name for a scene (its runtime's scene list reads it).
|
|
58
|
+
- **Nested compositions.** A scene's composition may host others by `data-composition-src`,
|
|
59
|
+
loaded from the project's root as `index.html`'s scenes are (HyperFrames' lint reports one
|
|
60
|
+
missing there). Publishing reads each, all the way down: its file must exist and hold a
|
|
61
|
+
`<template>`, none may nest itself, and what it plays is the scene's.
|
|
62
|
+
|
|
63
|
+
## Where it is stricter
|
|
64
|
+
|
|
65
|
+
- Frames are at most 3,840 pixels a side, in even numbers, as H.264 encodes them, at 24, 25, 30,
|
|
66
|
+
or 60 fps: the rates HyperFrames renders a range of a film at, as an export renders a scene that
|
|
67
|
+
overlaps another. Both are written in digits alone, which HyperFrames' `parseInt` reads as
|
|
68
|
+
`Number()` does.
|
|
69
|
+
- A root that plays something on its own timeline, a soundtrack or any element with `data-start`,
|
|
70
|
+
writes its own `data-duration`. Without one, HyperFrames plays until the last of them ends, and a
|
|
71
|
+
sound without `data-duration` lasts as long as its file: a length the HTML does not say.
|
|
72
|
+
- A scene ends by the root's `data-duration`, where HyperFrames would cut it, or less than a frame
|
|
73
|
+
after it: a rounded start or length, which cuts nothing a frame shows.
|
|
74
|
+
- A scene host sits in the root composition itself, never in another composition.
|
|
75
|
+
- The root's `data-poster`, which HyperFrames does not read (its lint passes it), is the instant
|
|
76
|
+
that shows the video before it plays, in seconds from 0 to before its end. The app's player
|
|
77
|
+
opens on it, and its card shows it; without one, both show the first scene's still, the middle
|
|
78
|
+
of its segment, where an opening has come in (`videoPosterMs`).
|
|
79
|
+
- A scene file is one `<template>`, nothing beside it.
|
|
80
|
+
|
|
81
|
+
## Source positions
|
|
82
|
+
|
|
83
|
+
Each host, and the root, keeps the span of its whole element, of its start tag, and of every
|
|
84
|
+
attribute it writes, and each file reference the span of its attribute, as offsets into the text it
|
|
85
|
+
was read from. An editor patches a `data-start`, a `data-duration`, or a `src` in place with them,
|
|
86
|
+
so a change stays one small text edit, in the live document and in the Agent's diffs.
|
|
87
|
+
|
|
88
|
+
## Render keys
|
|
89
|
+
|
|
90
|
+
`publish/video.ts` names each scene by `sceneRenderKeys`, a hash of what its frames are made of:
|
|
91
|
+
|
|
92
|
+
- the frame kit;
|
|
93
|
+
- `index.html` without its scene hosts, the root's `data-duration` and `data-poster`, and its
|
|
94
|
+
`<audio>` elements, which show nothing: the frame, the root's styles, and what it shows itself;
|
|
95
|
+
- the scene's host and those of the scenes on screen during its segment, from the frame it starts
|
|
96
|
+
on up to the one the next scene starts on, as one fades into it, with their times resolved and
|
|
97
|
+
their order in `index.html` and their `z-index`, which stack them. A scene that fades in after
|
|
98
|
+
the segment ends shows in none of its frames, and is not in its key;
|
|
99
|
+
- the scene's start in the video, only when the root shows something that moves of its own: a
|
|
100
|
+
timed element, a video, a script that may build a timeline, or CSS that moves;
|
|
101
|
+
- every other file, but four kinds: the other scenes' HTML, the videos neither the root nor a
|
|
102
|
+
scene on screen during the segment plays, the heavy files a version mostly changes, every
|
|
103
|
+
sound, and HyperFrames' own project state in `.hyperframes/`, its edit history, which no frame
|
|
104
|
+
loads. A version published from a folder HyperFrames worked in holds it, and the Agent's next
|
|
105
|
+
publish, which leaves out every dot folder, drops it: kept in the keys, that would render every
|
|
106
|
+
scene again.
|
|
107
|
+
|
|
108
|
+
A segment is pictures alone. The export mixes the whole video's sound once, apart, so a soundtrack
|
|
109
|
+
changed, trimmed or moved renders no scene again (see Export below).
|
|
110
|
+
|
|
111
|
+
`rootTimeline` reads `index.html` alone; publishing then reads what it links. An inline script
|
|
112
|
+
counts, as it may build the root's timeline, and so does a script of the version that registers
|
|
113
|
+
one (`__timelines`); a library, from a CDN or the version, only loads. A stylesheet of the version
|
|
114
|
+
counts when its CSS moves, Google Fonts never, and any other stylesheet from elsewhere always,
|
|
115
|
+
since it cannot be read.
|
|
116
|
+
|
|
117
|
+
A scene's own motion does not count. HyperFrames runs a scene's CSS animations and its registered
|
|
118
|
+
GSAP timeline from the scene's start, wherever it plays. Measured on 0.9.68: one scene, a box
|
|
119
|
+
moved by a 2 s CSS animation, then by a GSAP timeline, placed at 0 s and at 2 s, each range
|
|
120
|
+
rendered with `--crf 0 --workers 1 --start/--end`; the 60 frames' `framemd5` are identical, all 60
|
|
121
|
+
distinct. The control, the same box animated in the root, differs on all 60 frames.
|
|
122
|
+
|
|
123
|
+
So trimming a scene re-renders it and the scene it fades into, and those after it only when the
|
|
124
|
+
root moves on its own, or when the trim moves them by part of a frame, which the editor's cuts
|
|
125
|
+
never do (see Editing). An image, a stylesheet, a font, a script, or a nested composition
|
|
126
|
+
is in every key, whatever loads it: CSS `url()`, `srcset`, or a script. The one blind spot is a
|
|
127
|
+
video or a sound a scene loads by script alone, which no HTML attribute names: changing it keeps
|
|
128
|
+
the scene's segment. So a recording a script plays is named in HTML too, by a `<video>` or an
|
|
129
|
+
`<audio>` it drives, as the Agent's guide asks.
|
|
130
|
+
|
|
131
|
+
The key names no artifact: a segment is the scene's frames, rendered from these files alone, so a
|
|
132
|
+
copy shares it. An `artifact:` file a scene plays is in its HTML as an address, which follows its
|
|
133
|
+
target's latest version, so the key does not cover what it resolves to: the export adds that to
|
|
134
|
+
the key it keeps the segment under (see Export below).
|
|
135
|
+
|
|
136
|
+
## Export
|
|
137
|
+
|
|
138
|
+
A version exports to one MP4 joined from segments kept apart from it under keys that hash what
|
|
139
|
+
each is made of (`export.ts`), in `ArtifactStorage`'s video renders, which no artifact owns:
|
|
140
|
+
|
|
141
|
+
| Segment | Its key holds |
|
|
142
|
+
| --- | --- |
|
|
143
|
+
| A scene's frames, from the frame it starts on up to the one the next scene starts on (the first from frame 0), silent | the scene's render key, where it starts from the scene's start and how many frames, the engine (`VIDEO_ENGINE`), the encoder settings, and what the `artifact:` addresses played by the root and the scenes on screen during it resolve to |
|
|
144
|
+
| The whole video's sound | every file, the frame rate and count, the engine, and what every address resolves to |
|
|
145
|
+
| The MP4 | its segments' keys, in order |
|
|
146
|
+
|
|
147
|
+
So a version that changes one scene renders that scene's segment again, and the segment of the
|
|
148
|
+
scene it fades into, and mixes the sound again, which takes seconds; a copy shares every segment.
|
|
149
|
+
Scenes that start on one frame render in the first one's segment, and its scene's key covers every
|
|
150
|
+
scene on screen during it (`scenesOnScreen`).
|
|
151
|
+
|
|
152
|
+
```text
|
|
153
|
+
sixb.artifacts.video() keys from the outline alone: what is kept, or ask, keeping the ask
|
|
154
|
+
(`render: false` answers idle without one: segments may be another's)
|
|
155
|
+
→ artifact.video.export.requested one job per export, carrying the version as it was asked for
|
|
156
|
+
asks for each missing segment, then for itself again, VIDEO_EXPORT_JOB.recheckMs later
|
|
157
|
+
→ artifact.video.segment.requested one job per segment key, shared by exports
|
|
158
|
+
a scene: `index.html` keeping the scenes on screen during it (project.ts), in a sandbox
|
|
159
|
+
once kept, asks the export that asked for it to look again at once
|
|
160
|
+
the sound: HyperFrames' own mix, through its distributed plan, which captures no frame,
|
|
161
|
+
from the version less the footage no unmuted video plays (`videoSoundProject`)
|
|
162
|
+
→ the export, once every segment is kept: joined without encoding again, the sound muxed
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
- **A scene's project.** `videoSegmentRender` keeps the scenes on screen during the segment
|
|
166
|
+
and moves them earlier by as many whole frames as none of them starts before, up to the
|
|
167
|
+
segment's start, so each keeps its place between frames. When nothing starts before the segment
|
|
168
|
+
and the root does not move, the segment starts at frame 0 of its project, and HyperFrames renders
|
|
169
|
+
it whole, in parallel browsers. Otherwise, a crossfade from the scene before or a root that moves
|
|
170
|
+
on its own, it renders the range `--start`/`--end` of the project, which HyperFrames captures in
|
|
171
|
+
short chunks one after the other, about twice slower.
|
|
172
|
+
- **Joining.** Every segment is H.264 at one quality, `VIDEO_SEGMENT_SETTINGS`, and starts on a
|
|
173
|
+
keyframe, so the MP4 is the segments as they are, with the sound, index first. Its frame count is
|
|
174
|
+
checked against the plan's.
|
|
175
|
+
- **The sound** is one mix of the whole video, so music that crosses a cut never breaks: the
|
|
176
|
+
`audio.m4a` of HyperFrames' distributed plan (`planV2`), the very track its own render muxes,
|
|
177
|
+
bit for bit (measured on 0.9.68). A video with no sound gets silence, so every MP4 has a track.
|
|
178
|
+
No package export reaches the plan: `video.cjs` finds the module of the CLI's `dist` that
|
|
179
|
+
exports `planV2` and the request helpers beside it. That holds only because every key pins
|
|
180
|
+
`VIDEO_ENGINE`, which a sandbox must run: it names `HYPERFRAMES_VERSION`, which a unit test holds
|
|
181
|
+
to the agent image's release. When the module is gone, or its manifest moved, the sound fails at
|
|
182
|
+
once, kept with what changed, and `video-export.e2e.ts`, run against the agent image, fails by
|
|
183
|
+
name on an image that upgrades HyperFrames.
|
|
184
|
+
- **Waiting** is a job, not a worker: the export looks again a few seconds later in a job it asks
|
|
185
|
+
for in its own place, asking for nothing then. Each segment it asked for makes it look at once,
|
|
186
|
+
once kept or failed, carrying the export's payload; the later look is a backstop, for an export
|
|
187
|
+
whose segment another asked for first. A segment job always keeps its file or why not,
|
|
188
|
+
so asking again for a segment never strands an export; a retry forgets the failures and asks
|
|
189
|
+
anew with `replace`, in a job apart from the export's, since a segment that finishes takes the
|
|
190
|
+
export's place with the payload it was asked with, which asks for nothing. A segment found kept
|
|
191
|
+
still makes its export look, so the last look carries the latest ask's `askedAt`.
|
|
192
|
+
- **Failures.** A segment that fails after `VIDEO_SEGMENT_JOB.attempts` fails the export, naming
|
|
193
|
+
the scene by its label, else its id. An export asked for by a Sixb whose keys differ from the
|
|
194
|
+
worker's, as while a deploy rolls out, tries again until its attempts are spent, then keeps why.
|
|
195
|
+
A sandbox without HyperFrames, or with another version than `VIDEO_ENGINE`, keeps why at once,
|
|
196
|
+
with `lacks: "sandbox_tools"`, which the app reads as export not being available rather than
|
|
197
|
+
offering a retry: rendering there would keep frames under a key that does not name what made
|
|
198
|
+
them.
|
|
199
|
+
- **Stills** (`stills.ts`): the middle of each scene's segment, what its chapter plays until the
|
|
200
|
+
next scene starts, snapshotted with `hyperframes snapshot` when a version is published, once it
|
|
201
|
+
rests, and kept under the scene's key. The poster is the instant the root's `data-poster` names,
|
|
202
|
+
else the first scene's still.
|
|
203
|
+
|
|
204
|
+
### What to ask HyperFrames for
|
|
205
|
+
|
|
206
|
+
The scan goes once HyperFrames exports a way to mix a project's sound alone, which its CLI has
|
|
207
|
+
internally (`processCompositionAudio`, run by `planV2` and by every render). Any of these would do:
|
|
208
|
+
|
|
209
|
+
- `hyperframes render --audio-only -o mix.m4a`, the render's own delivery mix, no frame captured;
|
|
210
|
+
- an `audio` mode on `hyperframes/api`: `mixAudio(projectDir, { fps, signal }) → { path, durationMs }`;
|
|
211
|
+
- `planV2` and its request helpers on `hyperframes/api`, with the manifest's layout documented.
|
|
212
|
+
|
|
213
|
+
The first is the one to ask for: a CLI flag keeps the render worker on the same contract as its
|
|
214
|
+
segments, and the sandbox needs nothing else.
|
|
215
|
+
|
|
216
|
+
## Editing
|
|
217
|
+
|
|
218
|
+
The app's editor changes a video in its live document: `index.html` and each scene file are
|
|
219
|
+
`Y.Text`, each recording a reference. It never writes a file whole. `timeline.ts` reads what an
|
|
220
|
+
editor touches, and `edit.ts` turns each operation into changes to the text.
|
|
221
|
+
|
|
222
|
+
- **Clips** (`readSceneTimeline`, `readRootTimeline`): the timed elements of one composition,
|
|
223
|
+
anything with `data-start` and every `<video>` and `<audio>`, with their timing as written and the
|
|
224
|
+
span of each attribute. A clip is named by its `id`, else by its place among the file's clips
|
|
225
|
+
(`#2`). Its track follows from what it is: picture, text, or sound. Words styled inline, such as
|
|
226
|
+
a caption that colours one of them, are still text.
|
|
227
|
+
- **Targets** (`videoTarget`): how the editor names an element in an operation. One without an id
|
|
228
|
+
carries its tag, words and file with its place: someone else's edit in between may shift the
|
|
229
|
+
place, and the operation then takes the one element still alike, or refuses when none or several
|
|
230
|
+
are. It never edits another element than the one the reader chose.
|
|
231
|
+
- **Texts**: the elements holding words alone, timed or not, which an editor types over. A styled
|
|
232
|
+
caption is not one: typing over it would drop its styling.
|
|
233
|
+
- **Operations** take the files as they are and return an edit or a refusal: a scene's length,
|
|
234
|
+
label, place, copy and removal; a clip's timing, trim, move, split, removal, sound and words; an
|
|
235
|
+
import; a range cut from the video, each scene it spans losing its share; stretches of a
|
|
236
|
+
recording cut wherever it plays. Several clips, from any files, move, split or go in one edit
|
|
237
|
+
(`moveClips`, `splitClips`, `removeClips`): each is found before any changes, a move goes no
|
|
238
|
+
further than the first clip to reach the video's start, and a ripple closes a file's gaps as
|
|
239
|
+
one cut.
|
|
240
|
+
- **Sound and files.** A clip's `data-volume` goes up to 4 times as recorded, or stays as loud as
|
|
241
|
+
the Agent made it; footage is muted and heard again as HyperFrames mixes it, `muted` or a
|
|
242
|
+
`data-has-audio` other than "true" never heard, nor a muted sound. Footage imported where a
|
|
243
|
+
scene says something, or a line of the video's own voice-over that belongs to a chapter, B-roll
|
|
244
|
+
over a voice, comes in muted; the video's own music under it all is no reason.
|
|
245
|
+
`replaceClipMedia` plays another file of the same kind in a clip's place, every part of it from
|
|
246
|
+
the new file's start; it and `removeMediaRanges` know a file however a clip names it. An edit
|
|
247
|
+
that takes the last clip playing a recording or a picture takes the file too (`unplayed`), and an
|
|
248
|
+
undo brings both back: only a file an edited file played, and only once no text file of the
|
|
249
|
+
version names it, hosted or not, in a style, a script or a picture's `href`, under any spelling;
|
|
250
|
+
when unsure, it stays.
|
|
251
|
+
- **Chapters** (`videoChapters`): every scene but an overlay, one that holds two others whole, or
|
|
252
|
+
the span of all the others, two at least, as captions laid over the whole video; a short chapter
|
|
253
|
+
in another's crossfade is still one. Placement never puts a clip in an overlay nor goes on in one
|
|
254
|
+
past a chapter's end, and an overlay's own clips stay in it. A reorder chains the chapters alone,
|
|
255
|
+
an overlay keeping where it plays: one that starts after a chapter starts at its time from then.
|
|
256
|
+
- **Placing** (`placeFound`): every edit that puts a scene's clip at a time of the video, a move,
|
|
257
|
+
an end trim without ripple, an import, goes through it. The clip lives in the scene that plays
|
|
258
|
+
where it starts: its own while that holds it, else the one on top there (the later in play
|
|
259
|
+
order, as hosts stack in a crossfade); in a gap, the next scene, from its start. Past that
|
|
260
|
+
scene's end, it goes on in the next one as a copy starting where the first part ends, so a
|
|
261
|
+
crossfade shows nothing twice, its `data-media-start` advanced by what the parts before played;
|
|
262
|
+
the last scene grows, in frame steps, to hold the rest. No other scene changes length. A clip
|
|
263
|
+
without a written length moves but is never split. A move keeps the length its scene shows: an
|
|
264
|
+
overhang never seen stays behind. The video's own clips stay in `index.html`. A move that goes
|
|
265
|
+
nowhere, or a trim to the same length, is no edit.
|
|
266
|
+
- A clip that lands in a file, moved or imported, is a child of its composition itself, never of
|
|
267
|
+
a wrapper whose look would become its own. A picture goes under the words, before the first
|
|
268
|
+
element holding any when that one comes no later than the last holding a picture (a card holding
|
|
269
|
+
both), else after that one; words and sounds after the last element holding their track, else
|
|
270
|
+
over the pictures, else last before the closing `<style>` and `<script>`.
|
|
271
|
+
- **A clip that goes on** (`videoChains`, `timeline.ts`) is one clip: each copy past a scene's end
|
|
272
|
+
writes `data-continues="<the first part's id>"`, and every operation on any part acts on all of
|
|
273
|
+
them, as one span from the first part's start to the last's end: a move or a trim places it
|
|
274
|
+
again, writing each part again where one still lands in its file, a removal takes every part, a
|
|
275
|
+
split makes two clips that each go on, the sound is the same in each (a fade in on the first, out
|
|
276
|
+
on the last), typed words go to every part. A part counts only while it goes on from the one
|
|
277
|
+
before as a placement or a cut wrote it, whatever was done to their scenes since: for a
|
|
278
|
+
recording, a piece starting where the one before ends in the same scene, or a part in the scene
|
|
279
|
+
placement goes on in after the other's (`sceneAfter`), starting no later than its end, so a scene
|
|
280
|
+
made shorter under it, hiding its end, or longer, leaving a gap, keeps the clip whole; anything
|
|
281
|
+
else from where the part before reaches its scene's end. Of two that would go on, the one playing
|
|
282
|
+
the file on from where the last stops, else the piece beside it, so a stale part hides none. A
|
|
283
|
+
head is the one clip of the video with its id. A part edited apart, whose first part is gone, or
|
|
284
|
+
whose scene a copy now follows, is a clip of its own, and loses the attribute once it is placed
|
|
285
|
+
again.
|
|
286
|
+
- A recording that goes on plays its file on from part to part, unless its words were cut there:
|
|
287
|
+
it lasts as long as its parts show, and placed again (`logicalClip`), it plays on across a gap or
|
|
288
|
+
a hidden end, and skips where a part starts elsewhere in its file than the one before stops
|
|
289
|
+
(`MediaJump`), cut again at each skip (`atJumps`) into pieces back to back in a scene: what was
|
|
290
|
+
cut is never heard again. A piece shorter than a frame, a skip that close to a scene's edge, is
|
|
291
|
+
left out, less than a frame of what was kept, and the pieces either side, under a frame apart,
|
|
292
|
+
still go on one from the other. A cut by
|
|
293
|
+
words (`removeMediaRanges`, `keepClipRanges`) takes from every part what it plays of the words,
|
|
294
|
+
so words across a scene's edge go whole, from either file. Whatever an operation cuts, what is
|
|
295
|
+
left of each part goes on from the first piece left (`markCutChains`); a scene moved or removed
|
|
296
|
+
so that two parts play at once places the clip again (`settleChains`), each part where the one
|
|
297
|
+
before ends. Any edit to a file holding parts settles them too: a part two people's edits left
|
|
298
|
+
naming another head goes on from the clip it follows again (`joinStrays`).
|
|
299
|
+
- A part left out of its clip lets go of `data-continues`, so nothing links it again across what
|
|
300
|
+
came between: a copied scene coming between two parts, a removed one leaving a part that no
|
|
301
|
+
longer goes on, or a placement that wrote the clip without it. Past a gap, a recording goes on
|
|
302
|
+
only where it plays its file on; elsewhere in the file, only from a part that reaches its
|
|
303
|
+
scene's end.
|
|
304
|
+
- A clip that leaves its file keeps its id, unless another element of the video has it, and takes
|
|
305
|
+
one of its own when parts go on from it (copies always take new ones); its recording's path is
|
|
306
|
+
rebased for the new folder. What followed it there keeps its time. A clip that holds others, or a
|
|
307
|
+
file two scenes play, stays put: the edit is refused whole.
|
|
308
|
+
- **Its look** (`looks.ts`) goes with it, to reach it alone, as the page computes it: every rule
|
|
309
|
+
that styles the element itself (its tag, id, classes, attributes and states, `:is()`, `:where()`
|
|
310
|
+
and `:not()` read for it), from the linked sheets, then its scene's `<style>`, in that order, each
|
|
311
|
+
inside the `@media`, `@supports`, `@container` or `@layer` it was in. The look is written once
|
|
312
|
+
in the scene it lands in, in a `<style data-look="<key>" data-from="<scene it is from>">`, for
|
|
313
|
+
every clip that carries it by `data-look="<key>"`: the key hashes the look and its scene, so
|
|
314
|
+
clips that look alike, moved together or one after the other, share one style. Each rule reaches
|
|
315
|
+
them by their key as specific as one id more than it was,
|
|
316
|
+
`[data-composition-id="<scene>"] p:is([data-look="<key>"], #sixb-look).caption.big`, so the rules
|
|
317
|
+
keep their cascade among themselves and outrank that scene's own. Keyframes it animates by keep
|
|
318
|
+
their name when the new scene reads none other by it, and take `<name>-2` otherwise; the key
|
|
319
|
+
reads them by their place, so a renamed look keeps it. The scene's own rules never change, so its
|
|
320
|
+
clips keep their look. Moved again, a clip takes its look along by the same key, and drops it
|
|
321
|
+
when it goes home; a style goes once no element carries its key, whatever removed the last, and
|
|
322
|
+
a style written twice, as two people bringing clips at once may leave it, but once. An edit that
|
|
323
|
+
brings a clip whose look the scene writes already writes that look whole again
|
|
324
|
+
(`writeWhole`), so someone taking its last clip out at the same time leaves it. No clip is named
|
|
325
|
+
`sixb-look`. A
|
|
326
|
+
rule that styles what the clip holds through it, `.caption .hot` or `.caption > span`, goes with
|
|
327
|
+
it, its tail as written; escaped class names and attribute operators are read. A rule that may
|
|
328
|
+
style it through a wrapper, by its place among its siblings, or styles its siblings, is not
|
|
329
|
+
carried: `looksMayDiffer` names the clip only where such a rule styles it otherwise where it lands
|
|
330
|
+
(`lookDiffers`), read with what holds it in both places, the video's root, the scene's host and
|
|
331
|
+
composition, and its wrappers: a linked sheet's rule that holds it alike in both says nothing,
|
|
332
|
+
unless a rule it takes along now outranks it on a property; a scene's own, or one it cannot
|
|
333
|
+
read, does. A placement works
|
|
334
|
+
each look out once for the elements alike, and an edit that would grow an HTML file past what
|
|
335
|
+
publishing reads is refused.
|
|
336
|
+
- Its old scene's script cannot follow: `animationsLeft` names each clip that left a script naming
|
|
337
|
+
its `#id` or a class, and `animationsJoined` each that landed where a selector the script writes
|
|
338
|
+
matches it there, as a string or a template of the strings it declares (`${scene} video`); a
|
|
339
|
+
script building its selectors otherwise is read by the clip's classes and tag.
|
|
340
|
+
|
|
341
|
+
How an operation works:
|
|
342
|
+
|
|
343
|
+
1. It changes a working copy step by step, reading the files again between steps, so each step
|
|
344
|
+
finds what the one before left.
|
|
345
|
+
2. A step that moves a scene first gives the root room for any length (`openRoot`), so every
|
|
346
|
+
step in between reads as a video. The last step writes the root's real length, and moves a
|
|
347
|
+
soundtrack that ran to the end, what the root plays during a scene, and the poster, with it
|
|
348
|
+
(`fitRoot`).
|
|
349
|
+
3. The result is read as publishing reads a video (`readVideoComposition`); anything else is
|
|
350
|
+
refused, with the reason.
|
|
351
|
+
4. The edit is the difference from the files it started from: the live layer's line diff, each
|
|
352
|
+
line written again narrowed to the attributes and words that changed. Two people changing
|
|
353
|
+
different values change different text, which Yjs merges, and the Agent's next diff reads as an
|
|
354
|
+
edit. Two writing one attribute at once leave it twice; the first counts, as in a browser, and
|
|
355
|
+
the next write keeps it alone. Its changes are `BoardChange`s, applied to a `Y.Text` by
|
|
356
|
+
`applyBoardEditToText`.
|
|
357
|
+
|
|
358
|
+
What moves with what:
|
|
359
|
+
|
|
360
|
+
- Scenes chained by `data-start` follow as HyperFrames moves them. A scene at a number of seconds
|
|
361
|
+
after the change moves as much. A reorder or a removal chains the scenes whose predecessor
|
|
362
|
+
changed, each keeping its own overlap or gap.
|
|
363
|
+
- A reorder writes starts, never a host's line: Yjs cannot move text, so a line moved is deleted
|
|
364
|
+
and copied, and someone's concurrent edit of it would be left as stray text. HyperFrames paints
|
|
365
|
+
scenes on screen together in `index.html`'s order, unless a `z-index` says otherwise. After a
|
|
366
|
+
reorder, scenes on screen together stack in play order, the later on top, as a crossfade shows
|
|
367
|
+
it: a scene that must sit above one later in the file writes the least `z-index` that puts it
|
|
368
|
+
there, and drops it once the file's order does. What the root paints over the scenes, the
|
|
369
|
+
elements after its first host such as a captions bar, then writes one above the highest scene's,
|
|
370
|
+
and drops it with the last.
|
|
371
|
+
- A ripple trim moves what starts after the edge, the scene's end included. A cut (a ripple
|
|
372
|
+
delete, a marked range, words of a transcript) takes stretches out of a scene: a recording cut
|
|
373
|
+
through is split around them, each part playing on from where its file was cut; any other clip
|
|
374
|
+
is shortened; a clip with nothing left goes; the scene ends as much sooner. A marked range
|
|
375
|
+
across scenes cuts from each its share, from its start up to the next scene's, so a crossfade
|
|
376
|
+
is cut once, and removes a scene it covers whole.
|
|
377
|
+
- A cut and a scene's new length go by frame steps, the shortest stretch that is whole frames and
|
|
378
|
+
whole milliseconds: 100 ms at 30 fps, a frame at 25. Each stretch cut from a scene grows to the
|
|
379
|
+
whole steps that cover it, so nothing marked to go is heard again: into its `room` first, the
|
|
380
|
+
pauses up to the words kept either side of a transcript's cut, then as much on each side. A
|
|
381
|
+
scene's length is the nearest number of steps (`videoSceneLength`), which its field shows. The
|
|
382
|
+
scenes after then move by whole frames, show the same frames, and keep their segments: an
|
|
383
|
+
export renders only the edited scene again. Removing a whole scene moves them by its length,
|
|
384
|
+
whatever it is.
|
|
385
|
+
- A clip whose `data-start` names another clip follows it, and a ripple does not move it. Once
|
|
386
|
+
that clip is split, it follows the last part; once it is removed or cut, it starts at the time
|
|
387
|
+
it did, which the ripple then moves as any other's.
|
|
388
|
+
- A copied scene's elements take new ids, and what names them in the file follows, each by its
|
|
389
|
+
whole name: a chained start, `getElementById`, and `#id` or `[id=…]` where they are selectors (a
|
|
390
|
+
style's preludes, a script's selector strings), never a value such as a colour `#fade`. A part in
|
|
391
|
+
it goes on from nothing.
|
|
392
|
+
- What `index.html` plays during one scene, a line of voice-over at a number of seconds, belongs
|
|
393
|
+
to the scene it plays most during, when it lasts no longer than that scene: it keeps its time
|
|
394
|
+
into the scene as the scene moves, and goes with it. A soundtrack under every scene belongs to
|
|
395
|
+
none. The Agent's guide puts a voice-over in its scene's file, where it moves with no rule.
|
|
396
|
+
- The poster keeps its time into the scene on top at its instant, within that scene's length.
|
|
397
|
+
- A write merged into the live document keeps every recording the merged HTML still plays, even
|
|
398
|
+
one the writer's copy no longer did: someone else may have just added a clip of it.
|
|
399
|
+
|
|
400
|
+
Not covered: motion a scene's script writes (`gsap.timeline` positions) keeps its own times, and a
|
|
401
|
+
recording a script plays without an element is not seen. A clip that leaves its scene leaves its
|
|
402
|
+
wrappers too, and the rules that style it through them (`.frame video`), and `@media` rules.
|