@nebutra/cinema 0.2.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/.turbo/turbo-build.log +17 -0
- package/.turbo/turbo-test.log +14 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +36 -0
- package/LICENSE +676 -0
- package/dist/index.d.ts +138 -0
- package/dist/index.js +137 -0
- package/dist/index.js.map +1 -0
- package/package.json +45 -0
- package/src/__tests__/cinema.test.ts +141 -0
- package/src/best-frame.ts +55 -0
- package/src/camera-tree.ts +103 -0
- package/src/director.ts +50 -0
- package/src/errors.ts +13 -0
- package/src/index.ts +38 -0
- package/src/novel-segment.ts +59 -0
- package/tsconfig.json +10 -0
- package/tsup.config.ts +10 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
> @nebutra/cinema@0.2.0 build /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/ai/cinema
|
|
3
|
+
> tsup
|
|
4
|
+
|
|
5
|
+
[34mCLI[39m Building entry: src/index.ts
|
|
6
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
+
[34mCLI[39m tsup v8.5.1
|
|
8
|
+
[34mCLI[39m Using tsup config: /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/ai/cinema/tsup.config.ts
|
|
9
|
+
[34mCLI[39m Target: es2022
|
|
10
|
+
[34mCLI[39m Cleaning output folder
|
|
11
|
+
[34mESM[39m Build start
|
|
12
|
+
[32mESM[39m [1mdist/index.js [22m[32m4.37 KB[39m
|
|
13
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m12.98 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 46ms
|
|
15
|
+
[34mDTS[39m Build start
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 13319ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m5.90 KB[39m
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
> @nebutra/cinema@0.2.0 test /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/ai/cinema
|
|
3
|
+
> vitest run
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[1m[30m[46m RUN [49m[39m[22m [36mv4.1.4 [39m[90m/home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/ai/cinema[39m
|
|
7
|
+
|
|
8
|
+
[32m✓[39m src/__tests__/cinema.test.ts [2m([22m[2m11 tests[22m[2m)[22m[32m 37[2mms[22m[39m
|
|
9
|
+
|
|
10
|
+
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
11
|
+
[2m Tests [22m [1m[32m11 passed[39m[22m[90m (11)[39m
|
|
12
|
+
[2m Start at [22m 16:51:10
|
|
13
|
+
[2m Duration [22m 1.22s[2m (transform 471ms, setup 0ms, import 585ms, tests 37ms, environment 0ms)[22m
|
|
14
|
+
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @nebutra/cinema
|
|
2
|
+
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`fbff7c8`](https://github.com/Nebutra/Nebutra-Sailor/commit/fbff7c8dd89575ba21abbcaf85f3fea5be703b4a) Thanks [@TsekaLuk](https://github.com/TsekaLuk)! - Capability absorption — codename `cinema` (clean-room; source MIT, no
|
|
8
|
+
license gate).
|
|
9
|
+
|
|
10
|
+
New `@nebutra/cinema`: the differentiated agentic film-production IP from a
|
|
11
|
+
research video pipeline, re-expressed as pure, dependency-injected
|
|
12
|
+
orchestration on Sailor primitives:
|
|
13
|
+
|
|
14
|
+
- `buildCameraTree` / `resolveContinuityChain` — acyclic, root-anchored
|
|
15
|
+
camera-continuity tree (cross-shot temporal continuity); acyclic invariant
|
|
16
|
+
reuses `@nebutra/graph-model` (no re-derived cycle detection).
|
|
17
|
+
- `selectBestFrame` — consistency-ranked best-frame pick; fails loud if the
|
|
18
|
+
injected ranker breaches its candidate contract.
|
|
19
|
+
- `compressNovel` / `extractScenes` — novel→compressed→scene segmentation;
|
|
20
|
+
RAG retrieval injected (pairs with `@nebutra/knowledge-rag`, not a hard dep).
|
|
21
|
+
- `runFilmPipeline` — film-director composition (idea→script→shots→cameras→
|
|
22
|
+
render), every stage injected.
|
|
23
|
+
- `CinemaError` extends `@nebutra/capability-kit` `CapabilityError`.
|
|
24
|
+
|
|
25
|
+
Infrastructure (media DAG, storyboard split, agent loop, generation
|
|
26
|
+
registry, queue, tenancy) is SKIP/WRAP on existing packages — ≥80 % already
|
|
27
|
+
covered (Kill-Criteria honoured). `@nebutra/tts` and `@nebutra/video-compose`
|
|
28
|
+
are scheduled follow-on increments. 11/11 tests, typecheck clean; fully
|
|
29
|
+
unit-testable with no network/model/tenant coupling. See
|
|
30
|
+
docs/capabilities/cinema/.
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [[`d58d691`](https://github.com/Nebutra/Nebutra-Sailor/commit/d58d691f64cda31011f488f75a5a4ae425311704), [`d0b0e62`](https://github.com/Nebutra/Nebutra-Sailor/commit/d0b0e623a322e35f9ce2ae8d117e803b803b5e0b)]:
|
|
35
|
+
- @nebutra/capability-kit@0.2.0
|
|
36
|
+
- @nebutra/graph-model@0.2.0
|