@senseihq/emaki-cli 0.1.3 → 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/LICENSE +1 -1
- package/README.md +1 -1
- package/package.json +4 -4
- package/plugin/.claude-plugin/plugin.json +2 -2
- package/src/publish.js +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -67,4 +67,4 @@ Needs Node 20.10+, ffmpeg, and Playwright with Chromium for `sheet`, `render` an
|
|
|
67
67
|
functions from `@senseihq/emaki-cli` (`project`, `validate`, `voice`, `voiceWeb`, `fit`, `render`, `build`, `stage`, `publish`,
|
|
68
68
|
`youtube`, `instagram`, `carousel`, `campaignStatus`, …); every network call takes an injectable `fetch`.
|
|
69
69
|
|
|
70
|
-
MIT ©
|
|
70
|
+
MIT © sensei-hq
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@senseihq/emaki-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "The motion stories command line: set a project up, install the Claude plugin (skills, agents, playbook), run the production steps (validate, sheet, voice, fit, render, build) per film and locale, then stage, publish and run a campaign.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"author": "
|
|
7
|
+
"author": "sensei-hq",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/sensei-hq/emaki.git",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"postpublish": "rm -f LICENSE"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@senseihq/emaki": "0.
|
|
32
|
-
"@senseihq/emaki-posting": "0.
|
|
31
|
+
"@senseihq/emaki": "0.2.0",
|
|
32
|
+
"@senseihq/emaki-posting": "0.2.0",
|
|
33
33
|
"sade": "^1.8.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emaki",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Build a multilingual site of motion stories (articles, story player and narrated videos from one set of JSON scenes) through a guided, gated program: interview, outline, item cards, pilot, automated batches, review loop.",
|
|
5
5
|
"author": {
|
|
6
|
-
"name": "
|
|
6
|
+
"name": "sensei-hq"
|
|
7
7
|
},
|
|
8
8
|
"keywords": [
|
|
9
9
|
"learning",
|
package/src/publish.js
CHANGED
|
@@ -102,7 +102,7 @@ async function reelUrls(p, slug, f, { videoUrl, coverUrl, env, fetch, now }) {
|
|
|
102
102
|
const desk = deskClient(p, { env, fetch }), urls = []
|
|
103
103
|
for (const [key, file, type] of [[`${slug}/${basename(f.tall)}`, f.tall, 'video/mp4'], [`${slug}/instagram-${basename(f.coverTall)}`, f.coverTall, 'image/jpeg']]) {
|
|
104
104
|
await desk.putMedia(key.toLowerCase(), readFileSync(file), type)
|
|
105
|
-
urls.push(await signMedia(key.toLowerCase(), env.MEDIA_URL_SECRET, desk.origin,
|
|
105
|
+
urls.push(await signMedia(key.toLowerCase(), env.MEDIA_URL_SECRET, { origin: desk.origin, now: now(), path: env.MEDIA_PATH || '/m' }))
|
|
106
106
|
}
|
|
107
107
|
return urls
|
|
108
108
|
}
|